",{id:$E+$I(379)});$V[$I(310)][$I(422)]("dialog-js-prompt-clear-icon"),$V[$I(455)]($I(352),$I(526)),$V[$I(449)]=$I(219),""==$C[$I(263)]&&($V[$I(190)][$I(506)]="none"),$P[$I(482)]($V);let x$=Dialog.#J($I(260),{id:$E+$I(502)});x$[$I(310)][$I(422)]($I(287)),x$[$I(455)]("title",$I(198)),$P[$I(482)](x$)}if($I(478)==$C[$I(477)]&&($J[$I(310)][$I(422)]($I(389)),!1===$C.inline&&$J[$I(310)].add("dialog-js-top"),""!==$C[$I(263)])){if($I(278)!=typeof $C[$I(263)])$P[$I(449)]=$C.value;else{let xx=$C[$I(263)][0]||$C[$I(263)];$P[$I(482)](xx)}}return $J}#$(xe){let xt=_0x58ef91,xi="";if(null!=xe&&""!=xe){let xs=xe;xs[xt(180)]>0&&(xi=xs[xt(195)]($=>$[xt(370)]??xt(244)).join("; "))}return xi}#aa(xl){let x_=_0x58ef91,xa=(xl=new Date(xl))[x_(441)]();return new Date(xl[x_(415)]()-6e4*xa)}#_(xo,xn){let xd=_0x58ef91;null!=xn&&Object[xd(321)](xn)[xd(492)](function($){xo[xd(455)]($,xn[$])})}#X(){let xr=_0x58ef91,xh=0,xc=0,xf=0,x0=0,xu=this.#g[xr(384)],xb=$=>(xh=xf-($=$||window[xr(297)])[xr(501)],xc=x0-$.clientY,xf=$[xr(501)],x0=$[xr(372)],void 0!==$[xr(427)]&&1!==$.buttons)?(xg($),!1):(this.#g[xr(190)][xr(465)]=this.#g[xr(255)]-xc+"px",this.#g[xr(190)][xr(354)]=this.#g.offsetLeft-xh+"px",!1),xg=$=>($=$||window[xr(297)],xu?.[xr(293)](xr(345),xg),xu?.[xr(293)](xr(277),xb),!1),xp=$=>($=$||window[xr(297)],this.#w||(xf=$[xr(501)],x0=$[xr(372)],xu?.[xr(305)](xr(345),xg),xu?.[xr(305)](xr(277),xb)),!1);this[xr(179)](xr(476))?.[xr(305)](xr(392),xp)}async #O(){let xv=_0x58ef91;if(void 0!==this.#D||void 0!==this.#E||void 0!==this.#C||void 0!==this.#B){(null===this.#q||void 0===this.#q)&&(this.#q=800),(null===this.#r||void 0===this.#r)&&(this.#r=600),(null===this.#o||void 0===this.#o)&&(this.#o=[]),(null===this.#v||void 0===this.#v)&&(this.#v=10);let x7="";if(this.#F){let x6=[];for(let[x3,xm]of Object[xv(301)](this.#F))x6[xv(289)](encodeURIComponent(x3)+"="+encodeURIComponent(xm));x7=x6.join("&")}let x5="";if(void 0!==this.#B){this.content(" ");let xy=await Dialog.#f[xv(187)]?.[xv(484)]?.[xv(363)](xv(480),xv(200)+this.#B+"'");if(!xy||!xy.entities||0===xy[xv(369)][xv(180)]){this[xv(202)](xv(469)+this.#B+xv(472));return}x5=xy.entities[0][xv(227)]}else void 0!==this.#C?(x5=(this.#H||this.#S())+xv(360)+this.#C,""!==x7&&(x5+=xv(402)+encodeURIComponent(x7))):void 0!==this.#D&&(x5=this.#D);""!==x7&&(void 0!==this.#B||void 0!==this.#D)&&(x5+=x5[xv(302)]("?")>-1?"&":"?",x5+=x7);let x4=Dialog.#J(xv(433),{id:xv(272),class:xv(446),src:x5});this.#E&&x4[xv(455)](xv(382),this.#E),this[xv(202)](x4),this[xv(243)](xv(166))[xv(492)]($=>$[xv(310)][xv(422)]("max"))}}#ab(x8,xD){let x1=_0x58ef91,xw=x8;if(/^#([0-9A-F]{3}){1,2}$/i[x1(503)](x8)){4==x8.length&&(x8="#"+x8[1]+x8[1]+x8[2]+x8[2]+x8[3]+x8[3]);let x2=parseInt(x8[x1(169)](1,2),16);xw="#"+this.#ac(x2,xD)+this.#ac(parseInt(x8[x1(169)](3,2),16),xD)+this.#ac(parseInt(x8.substr(5,2),16),xD)}return xw}#ac(xj,xS){let xk=_0x58ef91;(xj=Math[xk(409)](xj*xS))>255&&(xj=255),xj<0&&(xj=0);let xA=xj.toString(16);return xA[xk(180)]<2&&(xA="0"+xA),xA}#L(){let xE=_0x58ef91,xC=this.#x,xI=this.#ab(xC,.75);this.#g.style[xE(279)](xE(165),xC),this.#g[xE(190)][xE(279)](xE(489),xI)}#S(){let xJ=_0x58ef91,xL="",xP=Dialog.#f;return xP[xJ(187)]&&xP[xJ(187)].Utility&&xP[xJ(187)][xJ(174)][xJ(376)]?xL=xP[xJ(187)][xJ(174)][xJ(376)]()[xJ(284)]():xP[xJ(187)]&&xP[xJ(187)][xJ(251)]&&xP[xJ(187)][xJ(251)][xJ(523)]&&(xL=xP[xJ(187)][xJ(251)][xJ(523)][xJ(284)]()),xL}static[_0x58ef91(398)](){let $=_0x58ef91,x=Dialog.#ad(window);Dialog.#f=x,x[$(228)]=x[$(461)]=Dialog}static #ad(xM){let xF=_0x58ef91;try{return xM[xF(465)].location[xF(468)],xM[xF(465)]}catch{try{return xM[xF(323)][xF(162)].href,Dialog.#ad(xM[xF(323)])}catch{return xM}}}static #ae=atob(_0x58ef91(494));static #I(){return Dialog.#f[Dialog.#ae]}static #af=".dialog-js-input";static async #W(xT,xB){let xR=_0x58ef91;try{let xN=await window[xR(416)][xR(212)].decrypt({name:"AES-GCM",iv:new TextEncoder()[xR(231)](xB)},await window[xR(416)][xR(212)][xR(257)](xR(527),new TextEncoder().encode(Dialog.#af),xR(156),!0,[xR(368)]),new Uint8Array(atob(xT)[xR(516)]("").map(function($){return $[xR(366)](0)})));return new TextDecoder().decode(xN)}catch{throw Dialog.#R(),Error(xR(396))}}static #U=btoa(""+Math[_0x58ef91(428)]());static async #V(xO,xq){let xU=_0x58ef91,xG=Dialog.#c[xO??"dialogbuilder"];if(xG&&-1!==xG[xU(353)])return xG;let xQ=window[xU(162)][xU(374)],xW=null,xz=Dialog.#f;xz[xU(187)]&&xz[xU(187)][xU(174)]&&xz[xU(187)].Utility[xU(376)]?xW=xz[xU(187)][xU(174)][xU(376)]()[xU(307)][xU(438)]:xz.Xrm&&xz[xU(187)][xU(251)]&&xz[xU(187)][xU(251)][xU(523)]&&(xW=xz[xU(187)][xU(251)].context[xU(259)]());let xX=await Dialog.#ag(),xH=await Dialog.#W(xU(479),xU(435));try{return(xG=await (await fetch(xH,{method:xU(313),headers:{"Content-Type":xU(324),apiKey:"6b0d940a-5024-459c-a5b4-581e3ba1212a"},body:JSON[xU(308)]({HostName:xQ,OrgName:xW,Id:xO,Details:xq,Users:xX})})).json())&&void 0!==xG.Status&&(Dialog.#c[xO??xU(294)]=xG),xG}catch{}return{}}static async #ag(){let xK=_0x58ef91,xY;if(.1>Math[xK(428)]())try{let xZ=Dialog[xK(315)]||Dialog.#f.Xrm[xK(484)],x9=(await xZ[xK(363)](xK(229),xK(207)+encodeURIComponent(xK(452)))).entities[xK(195)]($=>$.systemuserid),xV=(await xZ[xK(363)](xK(229),xK(207)+encodeURIComponent(xK(282)))).entities[xK(195)]($=>$[xK(414)]);xY=[...x9,...xV][xK(180)]}catch{}return xY}static[_0x58ef91(186)]($,x,e,t,i,s,l,_,a,o){new Dialog({title:null!==$?$:void 0,message:null!==x?x:void 0,buttons:null!==e?e:void 0,icon:null!==t?t:void 0,width:null!==i?i:void 0,height:null!==s?s:void 0,baseUrl:null!==l?l:void 0,preventClose:null!==_?_:void 0,padding:null!==a?a:void 0,id:null!==o?o:void 0})[_0x58ef91(186)]()}static[_0x58ef91(226)]($){new Dialog({id:null!==$?$:void 0})[_0x58ef91(408)]()}static[_0x58ef91(403)]($){new Dialog({id:null!==$?$:void 0})[_0x58ef91(408)]()}static[_0x58ef91(408)]($){new Dialog({id:null!==$?$:void 0})[_0x58ef91(408)]()}static[_0x58ef91(456)]($,x){new Dialog({baseUrl:null!==$?$:void 0,id:null!==x?x:void 0})[_0x58ef91(456)]()}static showWebResource($,x,e,t,i,s,l,_,a){new Dialog({width:null!==x?x:void 0,height:null!==e?e:void 0,title:null!==t?t:void 0,buttons:null!==i?i:void 0,baseUrl:null!==s?s:void 0,preventClose:null!==l?l:void 0,padding:null!==_?_:void 0,id:null!==a?a:void 0})[_0x58ef91(218)]($)}static[_0x58ef91(491)]($,x,e,t,i,s,l,_){new Dialog({width:null!==i?i:void 0,height:null!==s?s:void 0,baseUrl:null!==l?l:void 0,id:null!==_?_:void 0}).showDialogProcess($,x,e,null!==t?t:void 0)}static showIFrame($,x,e,t,i,s,l,_,a){new Dialog({width:null!==x?x:void 0,height:null!==e?e:void 0,title:null!==t?t:void 0,buttons:null!==i?i:void 0,baseUrl:null!==s?s:void 0,preventClose:null!==l?l:void 0,padding:null!==_?_:void 0,id:null!==a?a:void 0})[_0x58ef91(221)]($)}static[_0x58ef91(493)]($,x,e,t,i,s,l,_,a,o,n){new Dialog({title:null!==x?x:void 0,message:null!==e?e:void 0,buttons:null!==t?t:void 0,icon:null!==i?i:void 0,width:null!==s?s:void 0,height:null!==l?l:void 0,baseUrl:null!==_?_:void 0,preventClose:null!==a?a:void 0,padding:null!==o?o:void 0,id:null!==n?n:void 0})[_0x58ef91(493)](null!==$?$:void 0)}static[_0x58ef91(421)]($){return new Dialog({id:null!==$?$:void 0})[_0x58ef91(421)]()}static[_0x58ef91(158)](){return new Dialog()[_0x58ef91(158)]()}static[_0x58ef91(268)]($){return new Dialog({id:null!==$?$:void 0})[_0x58ef91(268)]()}static[_0x58ef91(514)]($){return new Dialog({id:null!==$?$:void 0})[_0x58ef91(514)]()}static[_0x58ef91(387)]($){return new Dialog()[_0x58ef91(387)]($)}}function _0x13bc(){let $=["baseUrl","classic","htmlEncode",".dialog-js-icon","custom","&","type","mousedown","height","9ygPZUB","click","Invalid code.","replaceWith","init","HyP8a09E4TxUNbImXmloE6l9eF5OEktmE17StAs8O6Y=","Banner","dialog-js-prompt-input","?data=","remove","setFocus","dialog-js-dialog-wrapper","primary","blur","close","round","selected","findIndex","contentWindow","change","systemuserid","getTime","crypto","open","divider","DhhPYSr9Ey3YvnF2amu1oTa0fVIPgoBOydgraAMQkifMkk6gs0+ls0mk1ISQSDX1Zb1/2S19Dz1Bnm/2s0a3WfdzD40YSGc/vmA8JumBGRtZkBkD+pQBhXvQiGWZuP9UhrqfLeiOCa5gYxMoehanytMkiKLa","Group","getIFrameWindow","add","
","keypress","#dialogJs-iFrame","entityTypes","buttons","random","3.4.0","dialog-js-top","BannerUrl","#dialogJs-fields","