_p3b.js 28 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _p3b(_8fh, _1a8, _3en, d){this.d=d||document;this._eng=_8fh||_olk._8kl(this.constructor);this._1hd=_4qn._k3g(this._eng);_p3b._pq5[this._1hd]=this;if(_1a8){_p3b._dze[_1a8]=this._1hd;}if(_3en){this._gs5=_3en;}if(this._xsc){this.d.body.appendChild(this.d.createElement("DIV")).innerHTML=this._xsc(this._1hd);}this._4le=this._jgn;this._3le=this._bgn;this._4x9=this._6ll;this._bm8=this._9jk;this._lb6=this._wph;this._d0n={};};_p3b.prototype._hpl=false;_p3b.prototype._nx1=0;_p3b.prototype._gs5="dialogs/";_p3b.prototype._xgg=true;_p3b.prototype._vgg=true;_p3b.prototype._nue=false;_p3b._pq5={};_p3b._gfj=true;_p3b._2hg=false;_p3b._6nb=2000;_p3b._zq4=30000;_p3b._jr4=[];_p3b._tnb=[];_p3b._vbd=0;_p3b._wbd=0;_p3b._dze={};_p3b._1x9=false;_p3b._i87=function(_npd){var _169=false;var el=_4qn._n22(_npd);while(!_169){if(el.dlgHtmlId){_169=true;return _p3b._pq5[ el.dlgHtmlId ];}else{el=el.parentNode;}}return null;};_p3b._um3=function(_2a8){var _k9k=this._dze[_2a8];return _k9k?window[_k9k]:null;};_p3b._9u9=function(_t5e){this.prototype._zgd=_t5e;};_p3b._4v3=function(){return _p3b._iu4._xpn();};_p3b._ty3=function(_oyl){var _w5c=_5gm._xf8();_p3b._iu4._4u9(_oyl);_oyl.parentNode.style.zIndex=Math.max(1000, _w5c+1);};_p3b._4l3=function(_b6k){_m0n._8qh(this._jr4, _b6k);};_p3b._442=function(_b6k){_m0n._bqh(this._jr4, _b6k);};_p3b._6n9=function(_b6k){_m0n._8qh(this._tnb, _b6k);};_p3b._396=function(_b6k){_m0n._bqh(this._tnb, _b6k);};_p3b._jqh=function(_8rj){this._gfj=_8rj;};_p3b._gxc=function(_6wg){this._2hg=_6wg;};_p3b._w8d=[];_p3b._fdm=function(){this._qrc();};_p3b._qrc=function(){for(var s in this._pq5){var _e5m=this._pq5[s];if(_e5m){if(_e5m._fdm){_e5m._fdm();}this._2u3(_e5m);if(_e5m._fqn){_e5m._b8f=false;if(_e5m._fqn.parentNode){_e5m._fqn.parentNode.removeChild(_e5m._fqn);}_e5m._fqn=null;_e5m._q04=false;_zpn._142(_e5m._gs5+_e5m._eng+".xml");_zpn._1r1(_e5m._al6);}_e5m._48a=null;}}this._pq5={};};_p3b.prototype._fxh=function(dlgid,_u4c,_obn){_vzm._ozm( "showDialog:" + dlgid + " _obn " + _obn);var div=this.d.getElementById(this._1hd);if(!_u4c){_u4c=this.d.body;}if(this._p46){this._p46(div);}var _aei=div.parentNode.removeChild(div);var _uwg=this.d.getElementById("divHALModelessDlgTemplate");if(!_uwg){_vzm._ozm("writing template html");var _xrj=this.d.body.insertBefore(this.d.createElement("DIV"), this.d.body.firstChild);_xrj.innerHTML=_p3b._ut();_uwg=this.d.getElementById("divHALModelessDlgTemplate");}_uwg.removeAttribute("role");_uwg.removeAttribute("aria-label");_5gm._4n9(_uwg);this._5qb=_uwg.cloneNode(true);this._5qb.id="";this.d.body.insertBefore(this._5qb, this.d.body.firstChild);this._5qb.style.visibility="hidden";var _loc=this._5qb.querySelector("table");_loc.dlgid=dlgid;_loc.dlgHtmlId=this._1hd;_loc._yxk=this._8pk;_loc.className=this._nue?"clsModelessInfoDlg":"clsModelessDlg";_loc.style.borderStyle=this._vgg?"":"none";_loc.style.boxShadow=this._vgg?"":"none";if(_zpn._qsh["hal"]["enableAccessibility"]&&this._eng != "_dqc" ){this._t84="";try{if(_4qn._8f8(this.d)){this._t84=_4qn._a87(_4qn._8f8(this.d));}}catch(e){}}var _z94=_loc.rows.item(0);var _2k3=_loc.rows.item(1);if(!this._xgg){_z94.style.display="none";}else{if(!this._ikm&&(this._ikm!=="")){this._ikm=_aei.getAttribute("HAL_dialogTitle");if(!this._ikm){var _e7c=_aei.getAttribute("HAL_idsDialogTitle");this._ikm=_e7c?_frh._c6j(_e7c):this._zgd;}if(!this._ikm){this._ikm=window["_frh"]?_frh._997( "IDS_HAL_APP_TITLE" ):null;}if(!this._ikm){this._ikm="";}}var _pyl=_z94.cells.item(0).lastChild;_4qn._1je(_pyl, this._ikm);_z94.cells.item(1).firstChild.style.display="none";var btn=_loc.querySelector("BUTTON");btn._e5m=this;btn._1sf="clsXButton";btn.style.visibility=( _aei.getAttribute( "HAL_showX" )=="false" )?"hidden":"";}_4qn._vb7(_2k3.cells.item(0));_2k3.cells.item(0).appendChild(_aei);var _jrf=_aei.getAttribute("HAL_borderStyle");if(_jrf){_loc._jrf=_jrf;switch(_jrf){case "none":_z94.style.display="none";_2k3.cells.item( 0 ).style.padding="0px 0px 0px 0px";break;case "sizable":_loc.rows.item(_loc.rows.length-1).style.display="";var _2bh=this._ysc();_loc.style.height=_2bh.height+"px";_loc.style.width=_2bh.width+"px";this._fqn.style.height=this._g73(_2bh.height)+"px";this._fqn.style.width=this._wv3(_2bh.width)+"px";break;}}var _zdl=this._9oh()||_aei.getAttribute("HAL_dialogIcon");if(_zdl){var _81m=_z94.cells.item(0).firstChild;_81m.src=_zpn._m2g(_zdl);_81m.style.display="";}_aei.style.display="block";if(!this._b8f){_4gm._z3g(_aei);if(window["_frh"]){_frh._gn9(_aei);}this._b8f=true;this._a0a();this._src();}this._uzh=_aei.getAttribute("HAL_isTooltip");this._4t2=Q.when(this._5z2()||true).then(function(){this._4t2=null;this._eeg(dlgid, _loc, _aei);this._bj6(this._ikm);return true;}.bind(this));};_p3b.prototype._eeg=function(dlgid,_loc,_aei){_5gm._8e4(this);this._zm7(_loc);this._47d(_loc);var _3j9=_aei.getAttribute("HAL_initiallyHidden");_p3b._ty3(_loc);if(this._uzh){_p3b._nq3();}else{this._jj6(_aei);}if(_o7g._kdb){_loc[_o7g._ze7?"onpointerdown":"ontouchstart"]=_p3b._mqe;}else{_loc[_o7g._ze7?"onpointerdown":"onmousedown"]=_p3b._4dg;}this._5qb.style.visibility=( _3j9!="true" )?"visible":"hidden";setTimeout(this._ye6.bind(this), 0);};_p3b.prototype._jj6=function(_aei){if(_zpn._qsh["hal"]["iframeUnderlay"]&&_o7g._60n){var _xzk=this.d.body.appendChild(this.d.createElement("IFRAME"));_xzk.src=_zpn._6oh("hal/blank.htm");_xzk.style.position="absolute";_xzk.id=this._1hd+"__IFRAME__";_xzk.frameBorder="no";_xzk.style.border="none";_xzk.style.backgroundColor="white";_p3b._nq3();}};_p3b.prototype._hde=function(){var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;if(tbl!=_p3b._4v3()){_p3b._ty3(tbl);}};_p3b.prototype._njk=function(_mgi,_xyg){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;var _dff=this._un2(_mgi);var _nsd=this._p72(_xyg);this._swc(_dff, _nsd);tbl.style.height=_nsd+"px";tbl.style.width=_dff+"px";this._fqn.style.height=_xyg+"px";this._fqn.style.width=_mgi+"px";};_p3b._nq3=function(){if(_zpn._qsh["hal"]["iframeUnderlay"]&&_o7g._60n){var _90h=_p3b._iu4._46j();for(var i=0;i<_90h;i++){var _loc=_p3b._iu4._spn(i);var _24c=_loc.parentNode;var _xzk=_24c.ownerDocument.getElementById(_loc.dlgHtmlId+"__IFRAME__");_xzk.style.top=_24c.offsetTop+"px";_xzk.style.left=_24c.offsetLeft+"px";_xzk.height=_loc.offsetHeight+"px";_xzk.width=_loc.offsetWidth+"px";}}};_p3b.prototype._1gn=function(){if(this._4t2){this._4t2.done(this._1gn.bind(this));return;}if(!this._hpl){_vzm._ozm( "ERROR: _p3b._1gn - no active dialog to hide." );return;}var doc=this.d;var _loc=null;_loc=this._5qb.querySelector("table");_loc[_o7g._ze7?"onpointerdown":"onmousedown"]=null;_p3b._iu4._op3();this._5qb.querySelector("BUTTON")._e5m=null;this._b65();this._5qb.style.visibility="hidden";if(_zpn._qsh["hal"]["iframeUnderlay"]&&_loc&&_o7g._60n){var _xzk=this.d.getElementById(this._1hd+"__IFRAME__");_xzk.parentNode.removeChild(_xzk);}if(this._fqn){this._fqn.style.display="none";doc.body.appendChild(this._fqn.parentNode.removeChild(this._fqn));}if(this._5qb.parentNode){doc.body.removeChild(this._5qb);}this._5qb=null;if(this._y19){_vzm._ozm('abort resource load');this._y19._7zm();}if(this._uub){this._uub._7zm();}if(_zpn._qsh["hal"]["enableAccessibility"]&&this._eng != "_dqc" ){var _099=this._t84?this.d.getElementById(this._t84):null;this._t84="";if(_099&&_099.focus){if ( _099.style&&((_099.style.display=="none" )||( _099.style.visibility=="hidden" ) ) ){_4qn._lj8(this.d.body);}else{try{_4qn._lj8(_099);}catch(e){}}}_099=null;}this._nk7();this._hpl=false;};_p3b.prototype._nk7=function(){if(this._zca&&this._zca._io9){this._zca._io9(this);}if(_zpn._70d&&_zpn._70d._o46){_zpn._70d._o46(this._eng);}this._o46();_p3b._2u3(this);};_p3b._2u3=function(_e5m){var _5bn=_e5m._d0n;for(var s in _5bn){var v=_5bn[s];if(v&&v._fdm){v._fdm();}}_e5m._d0n={};};_p3b._obj=function(e){for(var el=_4qn._n22(e.target);el;el=el.parentNode){if(_4qn._sb6[el.nodeName]){continue;}if(el.getAttribute("dlgid")){break;}if(el.getAttribute( "isHeader" )=="true" ){return el;}}return null;};_p3b._mqe=function(e){var el=_p3b._obj(e);if(el){if(this!=_p3b._4v3()){_p3b._ty3(this);}e.preventDefault();var tbl=_p3b._4v3();var div=tbl.parentNode;var _dom=div.ownerDocument.body;_p3b._vbd=(_o7g._ze7?e:e.touches[0]).clientX+_dom.scrollLeft-div.offsetLeft;_p3b._wbd=(_o7g._ze7?e:e.touches[0]).clientY+_dom.scrollTop-div.offsetTop;var _ymn=_4qn._m97(div, document.body);_p3b._2we=_ymn.left;_p3b._3we=_ymn.top;_zpn._la6("_nkk");var o={};o.tbl=tbl;o._bxl=_p3b;_nkk._szm(null, _t7g, o, _nkk.eEffectMove, e.button, null, null, null, null);}};_p3b._4dg=function(e){var el=_p3b._obj(e);if(el){if(this!=_p3b._4v3()){_p3b._ty3(this);}if(e.button==_4qn._ll8){var tbl=_p3b._4v3();var div=tbl.parentNode;var _dom=div.ownerDocument.body;_p3b._vbd=e.clientX+_dom.scrollLeft-div.offsetLeft;_p3b._wbd=e.clientY+_dom.scrollTop-div.offsetTop;_zpn._la6("_nkk");var o={};o.tbl=tbl;o._bxl=_p3b;_nkk._szm(null, _t7g, o, _nkk.eEffectMove, e.button, null, null, null, null);}}};_p3b._sp4=function(tbl,_fpj){var nl=tbl.getElementsByTagName("BUTTON");if((nl.length>0)&&(nl.item(0).className.indexOf("clsXButton")!=-1)){var _e5m=this._i87(tbl);var _n6e=_e5m._nue?"clsModelessInfoDlgHeader":"clsModelessDlgHeader";var _bjn=nl.item(0);_bjn.className=_fpj?"clsXButton_active":"clsXButton_inactive";var tr=_bjn.parentNode.parentNode;_5gm._kc7( tr, _fpj?_n6e+"_active":_n6e + "_inactive" );var _l7m=_fpj?"_active":"_inactive";tr.cells.item( 0 ).className=_e5m._nue?_n6e+"Title" + _l7m:_n6e + "Title" + _l7m + " clsModalDlgHeaderTitleFirstCell" + _l7m;tr.cells.item( 1 ).className=_e5m._nue?_n6e+"Title" + _l7m:_n6e + "Title" + _l7m + " clsModalDlgHeaderTitleLastCell" + _l7m;}};_p3b._h4a=function(e,_71m){var tbl=_71m.parentNode.parentNode.parentNode.parentNode;var div=tbl.parentNode;var o={};o.tbl=tbl;o.clientX=(div.offsetTop+div.offsetHeight)-((_o7g._kdb&&!_o7g._ze7)?e.touches[0]:e).clientY;o.clientY=(div.offsetLeft+div.offsetWidth)-((_o7g._kdb&&!_o7g._ze7)?e.touches[0]:e).clientX;o._bxl=_p3b;_zpn._la6("_nkk");_nkk._szm(null, _yb5, o, _nkk.eEffectMove, e.button, null, null, null, null);};_p3b.prototype._fem=function(x,y){_t7g._dbb(x, y, this._5qb);};_p3b.prototype._wj8=function(_jxm,_kvg,_obi,_jv5,_gvg){this._ikm=_jxm;this._xgg=(_kvg!==false);this._nue=(_obi==true);this._vgg=(_gvg!==false);if(this._09b()){var _loc=this._5qb.querySelector("table");_loc.style.borderStyle=this._vgg?"":"none";_loc.style.boxShadow=this._vgg?"":"none";}};_p3b.prototype._jgn=function(_6wa,_val,_u4c,_v94){if(this._4t2){this._4t2.done(this._jgn.bind(this, _6wa, _val, _u4c, _v94));return;}this._hpl=true;this._gqb=_u4c||this.d.body;this._8pk=(_v94&&(_v94!="center")&&(_u4c!=this.d.body));this._zca=_6wa;this._bsk=_val;this._p34=_v94;if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}if(!this._fqn){_zpn._la6("_frh");if(!_p3b._7tk){_p3b._7tk=_frh._997( "IDS_HAL_DLG_LOADING" )||"Loading dialog...";}var _p1m=this._uba?this._53g(this._eng):_frh._53g(this._eng);if(!_p1m){if(this._q04){_zpn._zmh( "Dialog resource not found:" + this._eng );this._8v1();return;}this._q04=true;this._nb3=true;this._iw1(_val);this._6s7=this._6g6(this._zca, this._bsk, this._gqb, this._p34);var _elm=[];_elm.push(this._gs5+this._eng+".xml");this._hd3=new _pc8(this, _elm);this._hd3._ign();return false;}var _8mc=_p1m.getAttribute("progressDelay");var _o35=_p1m.getAttribute("progressCancelDelay");var _ngh=_p1m.getAttribute("idsLoading");var _79n=_7hn._ij8(_p1m, "dialogHtml");if(!_79n){_zpn._zmh( "Dialog [" + this._eng + "] missing required dialogHtml element." );}var div=this.d.body.appendChild(this.d.createElement('DIV'));var _5dn=_79n.text.replace( / HAL_dlgItemId=['"]([^'"]*)['"]/g, ' id="' + this._1hd + '_$1"' );_5dn=_5dn.replace( / HAL_dlgItemFor=['"]([^'"]*)['"]/g, ' for="' + this._1hd + '_$1"' );_5dn=_5dn.replace( / HAL_dlgItemName=['"]([^'"]*)['"]/g, ' name="' + this._eng + '_$1"' );_5dn=_5dn.replace( / HAL_src=['"]([^'"]*)['"]/g,function(s1,s2){ return ' src="' + _zpn._m2g( s2 ) + '"'; } );_5dn=this._1b(_5dn);if(!_p3b._1x9){_5dn=_5dn.replace(/clsToggle/g, "clsCheckbox");}_4qn._cl3(_5dn, this._eng, true);if(_o7g._60n){_5dn=_9l8._cj8(_5dn);}div.innerHTML=_5dn;var _qrj=div.querySelector("DIV");_qrj.id=this._1hd;if(_qrj.className!="clsDialog"){_qrj.className="clsDialog";}var nl=_7hn._x5g( _p1m, "@borderStyle | @idsDialogTitle | @dialogTitle | @dialogIcon | @visualParentRelation | @visualParentOffsetTop | @visualParentOffsetLeft | @startupHeight | @startupWidth | @helpId | @helpUrl | @showX | @initiallyHidden | @isTooltip" );var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _f8n=nl.item(i);_qrj.setAttribute("HAL_"+_f8n.name, _f8n.value);}_5gm._74(_qrj);this._fqn=_qrj;var _xud=_7hn._ij8(_p1m, "inlineScript");if(_xud){_4qn._65j(_xud.text);}var nl=_7hn._x5g( _p1m, "externalScripts/externalScript/@src | externalScripts/externalScript/src" );if(nl.length>0){var _x8i=this._jm4(nl);if(_x8i.length>0){this._iw1(_val, _8mc, _o35, _ngh);if(!this._6s7){this._6s7=this._6g6(this._zca, this._bsk, this._gqb, this._p34);}this._nx1++;_zpn._la6("_236");this._2b1=new _236(this, _x8i, null, _p3b._gfj, _p3b._2hg);this._2b1._ign();}}var nl=_7hn._x5g( _p1m, "externalResources/externalResource/@src | externalResources/externalResource/src" );if(nl.length>0){this._al6=this._jm4(nl);var _x8i=_zpn._q87(this._al6);if(_x8i.length>0){this._iw1(_val, _8mc, _o35, _ngh);if(!this._6s7){this._6s7=this._6g6(this._zca, this._bsk, this._gqb, this._p34);}this._nx1++;this._vu7=new _pc8(this, _elm);this._vu7._ign();}}var nl=_7hn._x5g( _p1m, "externalStringTables/externalStringTable/@src | externalStringTables/externalStringTable/src" );if(nl.length>0){var _x8i=this._jm4(nl);if(_x8i.length>0){this._iw1(_val, _8mc, _o35, _ngh);if(!this._6s7){this._6s7=this._6g6(this._zca, this._bsk, this._gqb, this._p34);}this._nx1++;this._hea=new _24b(this, _x8i);this._hea._ign();}}if(this._nx1>0){return false;}_frh._gn9(this._fqn);}this._fxh(this._eng, _u4c, _val);};_p3b.prototype._3dj=function(_6wa,_val,_u4c,_v94){return _p3b.prototype._jgn.call(this, _6wa, _val, _u4c, _v94);};_p3b.prototype._6g6=function(_6wa,_val,_u4c,_v94){return this._3dj.bind(this, _6wa, _val, _u4c, _v94);};_p3b.prototype._jm4=function(nl){var a=[];for(var i=0;i<nl.length;i++){var n=nl.item(i);a.push((n.nodeType==_8qn._1zc)?this._im5(n):n.value);}return _zpn._q87(a);};_p3b.prototype._im5=function(_zln){var s="";for(var n=_zln.firstChild;n;n=n.nextSibling){if(n.nodeName=="#text"){s+= n.nodeValue;}else if(n.nodeName=="srcParam"){var fn=new Function( "_j9k", "return " + n.getAttribute( "value" ) );s+= fn(this._eng);}}return s;};_p3b.prototype._0t3=function(){if(this._2b1){this._2b1._7zm();}this._2b1=null;if(this._hd3){this._hd3._7zm();}this._hd3=null;if(this._vu7){this._vu7._7zm();}this._vu7=null;if(this._hea){this._hea._7zm();}this._hea=null;this._nx1=0;this._6s7=null;this._q04=false;this._8v1();};_p3b.prototype._zm7=function(_loc){var _ymn=_4qn._m97(this._gqb, this._gqb.ownerDocument.body);if(this._gqb.ownerDocument!=document){var _6rn=this._gqb.ownerDocument.defaultView.frameElement;var _w5k=_4qn._m97(_6rn, _6rn.ownerDocument.body);_ymn.top+= _w5k.top;_ymn.left+= _w5k.left;}var _t88=_4qn._77b(this._gqb);var _hw6=_t88.width;var _yw5=_t88.height;if(this._8pk){switch(this._p34){case "top":_ymn.top=_ymn.top-_loc.offsetHeight;break;case "bottom":_ymn.top=_ymn.top+_yw5;break;case "right":_ymn.left=_ymn.left+_hw6;break;case "left":_ymn.left=_ymn.left-_hw6;break;default:_vzm._8zm("_p3b: Unsupported visual parent relation");break;}if(this._bsk){_ymn.left+= this._bsk.left;_ymn.top+= this._bsk.top;}this._5qb.style.left=_ymn.left+"px";this._5qb.style.top=_ymn.top+"px";}else{if(this._bsk){var _v7n=this._bsk.left;var _kkn=this._bsk.top;this._5qb.style.left=_v7n+"px";this._5qb.style.top=_kkn+"px";}else{this._5qb.style.left=_ymn.left+((_hw6 / 2)-(_loc.offsetWidth / 2))+ "px";this._5qb.style.top=_ymn.top+((_yw5 / 2)-(_loc.offsetHeight / 2))+ "px";}}var _dom=this.d.body;var _56m=_4qn._m97(this._5qb, _dom);if(_56m.left<0){this._5qb.style.left=0;}else if((_56m.left+this._5qb.offsetWidth)>(_dom.clientWidth+_dom.scrollLeft)){if(this._p34=="right"){this._5qb.style.left=(_ymn.left-_loc.offsetWidth - _hw6-(this._bsk?(2*this._bsk.left):0))+"px";}else{this._5qb.style.left=_6hn._iem((_dom.clientWidth+_dom.scrollLeft)-this._5qb.offsetWidth)+ "px";}}if(_56m.top<0){this._5qb.style.top=0;}else if((_56m.top+this._5qb.offsetHeight)>(_dom.clientHeight+_dom.scrollTop)){if(this._p34=="bottom"){this._5qb.style.top=(_ymn.top-_loc.offsetHeight - _yw5-(this._bsk?(2*this._bsk.top):0))+"px";}else{this._5qb.style.top=_6hn._iem((_dom.clientHeight+_dom.scrollTop)-this._5qb.offsetHeight)+ "px";}}};_p3b.prototype._mj6=function(){var _lbf=document.getElementById(this._1hd+"_Cancel");if(_lbf){_lbf.style.visibility="";}};_p3b.prototype._iw1=function(_val,_8mc,_o35,_ngh){setTimeout(this._mj6.bind(this), _p3b._zq4);};_p3b.prototype._47d=function(_loc){if(this._bsk&&this._bsk.width&&this._bsk.height){var _dvj=(this._bsk.width>this.d.body.clientWidth)?_6hn._iem(this.d.body.clientWidth):this._bsk.width;var _jii=(this._bsk.height>this.d.body.clientHeight)?_6hn._iem(this.d.body.clientHeight):this._bsk.height;if(_dvj&&_jii){_loc.style.height=_jii+"px";_loc.style.width=_dvj+"px";if(this._fqn){this._fqn.style.height=this._g73(_jii)+"px";this._fqn.style.width=this._wv3(_dvj)+"px";}this._swc(_dvj, _jii);if(this._fqn){var _id2=false;if(_dvj!=this._bsk.width||_jii!=this._bsk.height){_id2=true;}this._jo9(this._m75(), this._m56(), _id2);}}}};_p3b.prototype._8v1=function(){this._1gn();};_p3b.prototype._996=function(_yal){switch(_yal.constructor){case _236:var _5um=_yal._8ik();if(_5um){_zpn._zmh( "External script file load failed:\r\n\r\n" + _5um._3q9() + "\r\n" + _5um._2q9() );this._mj6();return;}if(!(--this._nx1)){this._j6a();}break;case _24b:var _5um=_yal._8ik();if(_5um){_zpn._zmh( "External string file load failed:\r\n\r\n" + _5um._3q9() + "\r\n" + _5um._2q9() );this._mj6();return;}if(!(--this._nx1)){this._j6a();}break;case _pc8:var _5um=_yal._8ik();if(_5um){_zpn._zmh( "External string file load failed:\r\n\r\n" + _5um._3q9() + "\r\n" + _5um._2q9() );this._mj6();return;}if(this._nb3){this._nb3=false;this._j6a();}else if(!(--this._nx1)){this._j6a();}break;}};_p3b.prototype._j6a=function(){if(this._6s7()!==false){this._6s7=null;}};_p3b.prototype._un2=function(_mgi){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;var td1=tbl.rows.item(1).cells.item(0);var _vv6 =_mgi+parseInt(_4qn._sp9(td1).paddingLeft)+parseInt(_4qn._sp9(td1).paddingRight)+_4qn._p22(tbl)+_4qn._4d4(tbl);return _vv6;};_p3b.prototype._wv3=function(_dff){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;var td1=tbl.rows.item(1).cells.item(0);var _q99 =_6hn._iem(_dff-parseInt(_4qn._sp9(td1).paddingLeft)-parseInt(_4qn._sp9(td1).paddingRight)-_4qn._p22(tbl)-_4qn._4d4(tbl));return _q99;};_p3b.prototype._m56=function(){var _dff=this._ysc().width;return this._wv3(_dff);};_p3b.prototype._1q1=function(){return 0;};_p3b.prototype._p72=function(_xyg){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;var td0=tbl.rows.item(0).cells.item(0);var td1=tbl.rows.item(1).cells.item(0);var td2=tbl.rows.item(2).cells.item(0);var _jw5 =_xyg+_4qn._413(tbl)+_4qn._176(tbl)+td0.offsetHeight+parseInt(_4qn._sp9(td1).paddingTop)+parseInt(_4qn._sp9(td1).paddingBottom)+td2.offsetHeight;return _jw5;};_p3b.prototype._g73=function(_nsd){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var tbl=this._fqn.parentNode.parentNode.parentNode.parentNode;var td0=tbl.rows.item(0).cells.item(0);var td1=tbl.rows.item(1).cells.item(0);var td2=tbl.rows.item(2).cells.item(0);return _6hn._iem(_nsd-_4qn._413(tbl)-_4qn._176(tbl)-td0.offsetHeight-parseInt(_4qn._sp9(td1).paddingTop)-parseInt(_4qn._sp9(td1).paddingBottom)-td2.offsetHeight);};_p3b.prototype._m75=function(){return this._g73(this._ysc().height);};_p3b.prototype._4e1=function(){return 0;};_p3b.prototype._oqh=function(s){this._4tk=s;};_p3b.prototype._9oh=function(){return this._4tk;};_p3b.prototype._src=function(){};_p3b.prototype._fdm=function(){this._5qb=null;if(this._fqn&&this._fqn.parentNode){this._fqn.parentNode.removeChild(this._fqn);}this._fqn=null;_p3b._pq5[this._1hd]=null;};_p3b.prototype._5z2=function(){};_p3b.prototype._uj2=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}var nl=this._fqn.getElementsByTagName("BUTTON");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var btn=nl.item(i);if(btn.getAttribute( "HAL_isDefault" )=="true"&&!btn.disabled ){setTimeout(_4qn._lj8.bind(_4qn, this.d.getElementById(_4qn._a87(btn))), 0);return;}}if(_zpn._qsh["hal"]["enableAccessibility"]){if(!_4qn._ihk(this._fqn, _4qn._8f8(this.d))){var _hbf=_k0d._5tc(this._fqn);if(_hbf){setTimeout(_4qn._lj8.bind(_4qn, _hbf), 0);}}}};_p3b.prototype._ye6=function(){if(!this._09b()){return;}this._wl3();this._uj2();if(_zpn._70d&&_zpn._70d._wl3){_zpn._70d._wl3(this._eng);}};_p3b.prototype._wl3=function(){};_p3b.prototype._b65=function(){};_p3b.prototype._o46=function(){};_p3b.prototype._bgn=function(){if(this._zca&&this._zca._g1g&&(this._zca._g1g(this)==false)){return;}this._1gn();};_p3b.prototype._6ll=function(){if(this._zca&&this._zca._io9){this._zca._io9(this);}};_p3b.prototype._9jk=function(){var _6wa=this._zca;this._zca=null;if(_6wa&&_6wa._ho9){_6wa._ho9(this);}this._1gn();};_p3b.prototype._snh=function(_s8m){if(this._fqn.getAttribute("HAL_helpUrl")){_m0n._ehk( _p3b._tnb, "_se8", this._fqn.getAttribute( "HAL_helpUrl" ) );return;}_m0n._ehk(_p3b._tnb, "_rrc", _s8m||this._16j());};_p3b.prototype._16j=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return this._fqn.getAttribute("HAL_helpId");};_p3b.prototype._8oh=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return this._fqn.getAttribute("HAL_helpUrl");};_p3b.prototype._wph=function(e){if(_zpn._qsh["hal"]["enableAccessibility"]){return;}e.stopPropagation();switch(e.keyCode){case _4qn._x8j:e.preventDefault();var _i6n=this._2oh("btnOK");if(!_i6n||!_i6n.disabled){setTimeout(this._bgn.bind(this), 0);}break;case _4qn._rrh:e.preventDefault();this._9jk(e);break;}};_p3b.prototype._hg7=function(){return false;};_p3b.prototype._a7j=function(e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}switch(e.keyCode){case _4qn._rrh:_4qn._w0g(e);this._9jk(e);break;case _4qn._gml:if(this._hg7()){break;}var _hbf=_k0d._5tc(this._fqn);var _nxg=_k0d._qfe(this._fqn);if(!e.shiftKey&&e.target==_nxg){_4qn._w0g(e);_hbf.focus();if(_hbf.nodeName=="INPUT"&&_hbf.getAttribute( "type" )=="text" ){_hbf.select();}}else if(e.shiftKey&&e.target==_hbf){_4qn._w0g(e);_nxg.focus();if(_nxg.nodeName=="INPUT"&&_nxg.getAttribute( "type" )=="text" ){_nxg.select();}}break;case _4qn._09j:case _4qn._x8j:if(e.target.nodeName!="INPUT"&&e.target.nodeName != "BUTTON"&&e.target.nodeName != "TEXTAREA" ){_4qn._w0g(e);_k0d._6a6(e.target, _4qn._ll8, e.ctrlKey, e.shiftKey);}break;}};_p3b.prototype._jo9=function(_r5c,_zqd,_id2){};_p3b.prototype._ysc=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return new _d4j(this._bsk.height, this._bsk.width);};_p3b.prototype._swc=function(_xqm,_mzl){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}this._bsk=new _l4j(this._bsk.left, this._bsk.top, this._bsk.left+_xqm, this._bsk.top+_mzl);};_p3b.prototype._53g=function(_lsn){return _5gm._53g(this, _lsn);};_p3b.prototype._hc7=function(n){_5gm._hc7(this, n);};_p3b.prototype._pj8=function(_ksn,_zwk,_9wm){_4qn._pf1(this._2oh(_ksn), _zwk, _9wm);};_p3b.prototype._8q3=function(_ksn,_zwk){_4qn._8q3(this._2oh(_ksn), _zwk);};_p3b.prototype._j96=function(_ksn,_zwk){_4qn._j96(this._2oh(_ksn), _zwk);};_p3b.prototype._obb=function(_ksn,_zwk){_4qn._obb(this._2oh(_ksn), _zwk);};_p3b.prototype._cb5=function(_ksn,_zwk){_4qn._cb5(this._2oh(_ksn), _zwk);};_p3b.prototype._2oh=function(_ksn){return this.d.getElementById(this._qf8(_ksn));};_p3b.prototype._qf8=function(_ksn){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return this._1hd+"_" + _ksn;};_p3b.prototype._9fe=function(el){return el.id.substr((this._eng+"_").length);};_p3b.prototype._xp9=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return this._fqn.parentNode.parentNode.parentNode.parentNode.parentNode;};_p3b.prototype._n75=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}return this._fqn;};_p3b.prototype._56b=function(){return !!this._fqn;};_p3b.prototype._3m3=function(){if(!this._fqn){this._fqn=this.d.getElementById(this._1hd);}_5gm._ta7(this._fqn.parentNode.parentNode.parentNode.parentNode);};_p3b.prototype._09b=function(){return this._hpl;};_p3b.prototype._b2g=function(){return this._bkj;};_p3b.prototype._a76=function(_3ha){this._48a=_3ha;};_p3b.prototype._a0a=function(){if(this._48a){for(var i=0; i<this._48a.length;++i){var _atn=this._2oh(this._48a[i]);if(_atn){_atn.style.display="none";}}}};_p3b._ut=function(){return('<div id="divHALModelessDlgTemplate" role="region" aria-label="Modeless Dialog Template" class="clsModelessDlgWin clsModelessDlgNotPopup">' +'<table role="presentation" class="clsModelessDlg" cellspacing="0" cellpadding="0">' +'<tr class="clsModelessDlgHeader_active clsModalDlgRow" isHeader="true">' +'<td class="clsModelessDlgHeaderTitle_active clsModalDlgHeaderTitleFirstCell_active" style="white-space:nowrap;"><img class="clsImg16x16" style="display:none" alt=""/><span style="padding-left:2px">Title</span></td>' +'<td class="clsModelessDlgHeaderTitle_active clsModalDlgHeaderTitleLastCell_active" style="white-space:nowrap; text-align:right; vertical-align:top; padding-left:14px"><span style="vertical-align:middle; font-weight:normal; text-decoration:underline; cursor:pointer" HAL_ids="IDS_HAL_HELP_DLG_LINK" role="link" aria-label="help" onclick="this.nextSibling._e5m._snh()" class="clsHelpLink">Help</span>' +'<button tabIndex="-1" class="clsXButton" role="button" aria-label="close" onfocus="this.blur()" ' + ( ( _o7g._kdb&&!_o7g._ze7 )?'ontouchstart':'onclick' ) + '="this._e5m._9jk(event)" ' + ( _o7g._ze7?"onpointerdown":"onmousedown" ) + '="_4qn._w0g( event )" ' + ( _o7g._ze7?"onpointerup":"onmouseup" ) + '="_4qn._w0g( event )" ' + ( _o7g._ze7?"onpointermove":"onmousemove" ) + '="_4qn._w0g( event )">' +'<svg class="clsXButton"><use xlink:href="#def_hal_close_16x16"/></svg>' +'</button>'+'</td>'+'</tr>'+'<tr class="clsModalDlgRow" style="vertical-align:top; height:100%">' +'<td class="clsModelessDlgBody" colspan="2"></td>' +'</tr>'+'<tr class="clsModalDlgRow" style="display:none">' +'<td colspan="2"><div class="clsDlgResizeHandle" role="toolbar" aria-label="resize" ' + ( ( _o7g._kdb&&!_o7g._ze7 )?'ontouchstart':( _o7g._ze7?'onpointerdown':'onmousedown' ) ) + '="_p3b._h4a( event, this )"></div></td>' +'</tr>'+'</table>'+'</div>');};_p3b.prototype._bj6=function(_zvi){if(!_zpn._qsh["hal"]["enableAccessibility"]){this._fqn.onkeydown=_4qn._yqh;return;}this._fqn.setAttribute("role", "dialog");if(_zvi){this._fqn.setAttribute("aria-label", _zvi);}if(!this._fqn.onkeydown){this._fqn.onkeydown=this._a7j.bind(this);}var nl=this._fqn.querySelectorAll("SPAN,DIV");var _tzl=nl.length;for(var i=0;i<_tzl;i++){_k0d._k9b(nl.item(i));}_k0d._br1(this._fqn);};_p3b.prototype._1b=function(_5dn){if(!_zpn._qsh["hal"]["enableAccessibility"]){return _5dn;}var _85f=_5dn.match(/HAL_aria-labelledby=['"]([^'"]*)['"]/g);if(_85f){for(var i=0;i<_85f.length;i++){var _m27=_85f[i];if(_m27.match(/HAL_aria-labelledby=['"]([^'"]*)['"]/g)){var _3x2=RegExp.$1;var _bga=_3x2.split( " " );var _gya=this._1hd+"_" + _bga[0];for(var j=1;j<_bga.length;j++){_gya += " " + this._1hd + "_" + _bga[j];}_5dn=_5dn.replace( _m27, 'aria-labelledby="' + _gya + '"' );}}}_5dn=_5dn.replace( / HAL_aria-describedby=['"]([^'"]*)['"]/g, ' aria-describedby="' + this._1hd + '_$1"' );return _5dn;};_p3b._t76=function(){var _90h=_p3b._iu4._46j();for(var i=0;i<_90h;i++){_5gm._ta7(_p3b._iu4._spn(i));}_p3b._nq3();};_p3b._xf8=function(){var _3yg=_p3b._iu4._xpn();return _3yg?parseInt(_3yg.parentNode.style.zIndex||_4qn._sp9(_3yg.parentNode).zIndex, 10):1000;};_p3b._iu4={};_p3b._iu4._2te=[];_p3b._iu4._xpn=function(){return _m0n._xpn(this._2te);};_p3b._iu4._46j=function(){return this._2te.length;};_p3b._iu4._spn=function(i){return this._2te[i];};_p3b._iu4._op3=function(){this._2te.pop();if(_m0n._xpn(this._2te)){this._4u9(_m0n._xpn(this._2te));}};_p3b._iu4._xik=function(_ksn){return(_m0n._nr9(this._2te, "dlgid", _ksn)!=-1);};_p3b._iu4._4u9=function(_oyl){if(this._xpn()&&!this._xpn()._yxk){_p3b._sp4(this._xpn(), false);}_m0n._bqh(this._2te, _oyl);this._2te.push(_oyl);if(!_oyl._yxk){_p3b._sp4(_oyl, true);}};