/* * Project: @gamedistribution.com/html5-sdk * Description: GameDistribution.com HTML5 SDK * Development By: GameDistribution.com * Copyright(c): 2022 * Version: 1.27.12 (26-02-2022 16:01) */ !function n(o,i,a){function s(t,e){if(!i[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=i[t]={exports:{}},o[t][0].call(r.exports,function(e){return s(o[t][1][e]||e)},r,r.exports,n,o,i,a)}return i[t].exports}for(var u="function"==typeof require&&require,e=0;e{let r={};e.forEach((e,t)=>r[e]=t)})(Ir),String.fromCharCode.bind(String)),Lr=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),Tr?e=>btoa(e):Or?e=>nx.from(e,"binary").toString("base64"):t=>{let r,n,o,i,a="";var e=t.length%3;for(let e=0;e>18&63]+Ir[r>>12&63]+Ir[r>>6&63]+Ir[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a}),Pr=Or?e=>nx.from(e).toString("base64"):r=>{let n=[];for(let e=0,t=r.length;e{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Cr(192|t>>>6)+Cr(128|63&t):Cr(224|t>>>12&15)+Cr(128|t>>>6&63)+Cr(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Cr(240|t>>>18&7)+Cr(128|t>>>12&63)+Cr(128|t>>>6&63)+Cr(128|63&t)},Br=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,$r=Or?e=>nx.from(e,"utf8").toString("base64"):Mr?e=>Pr(Mr.encode(e)):e=>Lr((e=>e.replace(Br,jr))(e)),Ur=(e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))($r(e)):$r(e);var g={Rewarded:"rewarded",Interstitial:"interstitial",Preroll:"interstitial",Midroll:"interstitial",Display:"display"};function Nr(e,t){for(var r in t)t.hasOwnProperty(r)&&null!==t[r]&&void 0!==t[r]&&(e[r]=t[r]);return e}function Fr(e,t){t=t||window.location.href,e=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(t);return e?e[1]:null}function Gr(){for(var e,t=/\+/g,r=/([^&=]+)=?([^&]*)/g,n=function(e){return decodeURIComponent(e.toLowerCase().replace(t," "))},o=window.location.search.substring(1),i={};e=r.exec(o);)i[n(e[1])]=n(e[2]);return i}function zr(e){for(;function e(t){return(t=t||"")!==decodeURIComponent(t)}(e);)e=decodeURIComponent(e);return e}function Zr(a,s,u){return new Promise(function(e,t){if(u&&u.exists&&u.exists())e(Wr(null==u?void 0:u.alternates));else{var r=u&&u.alternates&&0\n \n \n \x3c!--\n \n \n --\x3e\n \n \n \n \x3c!--\n \n --\x3e\n \n \n \n \n \n ',e.appendChild(t),document.getElementById("gdsdk__showLeaderboard")),e=document.getElementById("gdsdk__showInterstitial"),t=document.getElementById("gdsdk__showRewarded"),n=document.getElementById("gdsdk__cancel"),o=document.getElementById("gdsdk__demo"),i=document.getElementById("gdsdk__disableMidrollTimer"),a=document.getElementById("gdsdk__hbgdDebug"),s=document.getElementById("gdsdk__hbgdConfig"),u=document.getElementById("gdsdk__closeDebug");Vr("gd_tag")?(o.innerHTML="Revert Vast tag",o.style.background="#ff8c1c"):(o.innerHTML="Demo VAST tag",o.style.background="#44a5ab"),Vr("gd_disable_midroll_timer")?(i.innerHTML="Revert delay",i.style.background="#ff8c1c"):(i.innerHTML="Disable delay",i.style.background="#44a5ab"),Vr("gd_hb_debug")?(a.innerHTML="Revert HB Debug",a.style.background="#ff8c1c"):(a.innerHTML="HB Debug",a.style.background="#44a5ab"),r.addEventListener("click",function(){window.gdsdk.showLeaderBoard().catch(function(e){})}),e.addEventListener("click",function(){window.gdsdk.showAd(g.Interstitial).catch(function(e){})}),t.addEventListener("click",function(){window.gdsdk.showAd(g.Rewarded).catch(function(e){})}),n.addEventListener("click",function(){window.gdsdk.cancelAd().then(function(e){}).catch(function(e){})}),o.addEventListener("click",function(){try{Vr("gd_tag")?qr("gd_tag"):Yr("gd_tag",!0),location.reload()}catch(e){console.log(e)}}),i.addEventListener("click",function(){try{Vr("gd_disable_midroll_timer")?qr("gd_disable_midroll_timer"):Yr("gd_disable_midroll_timer",!0),location.reload()}catch(e){console.log(e)}}),u.addEventListener("click",function(){try{Vr("gd_debug_ex")?qr("gd_debug_ex"):Yr("gd_debug_ex",!0),location.reload()}catch(e){console.log(e)}}),a.addEventListener("click",function(){try{Vr("gd_hb_debug")?qr("gd_hb_debug"):Yr("gd_hb_debug",!0),window.idhb&&window.idhb.debug(!(!Qr||!Vr("gd_hb_debug"))),location.reload()}catch(e){console.log(e)}}),s.addEventListener("click",function(){try{var e=window.idhb.getConfig();console.info(e)}catch(e){console.log(e)}})}}]),hn);function hn(e){if(te(this,hn),fn)return fn;(fn=this).eventBus=new cn,this._sdk=e}function gn(e){te(this,gn),this._config=e||{},this._url=e.url||"https://msgrt.gamedistribution.com/collect",this._topic_counter={},this._ua=(new Dr).getResult(),this._init_layout()}function mn(e){te(this,mn),this.game=e.game,this.bridge=e.bridge}function vn(){if(te(this,vn),un)return un;(un=this).listeners={}}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yn(e){return e&&e.Math==Math&&e}function _n(e){try{return!!e()}catch(e){return!0}}function wn(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function An(e){return jn.call(e).slice(8,-1)}function xn(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function En(e){return Un(Nn(e))}function kn(e){return"object"==typeof e?null!==e:"function"==typeof e}function Sn(e,t){if(!Fn(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!Fn(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!Fn(n=r.call(e)))return n;if(t||"function"!=typeof(r=e.toString)||Fn(n=r.call(e)))throw TypeError("Can't convert object to primitive value");return n}function Rn(e,t){return Gn.call(e,t)}function Dn(e){return Zn?zn.createElement(e):{}}function Tn(e){if(eo(e))return e;throw TypeError(String(e)+" is not an object")}function On(t,r){try{co(uo,t,r)}catch(e){uo[t]=r}return r}var n=yn("object"==typeof globalThis&&globalThis)||yn("object"==typeof window&&window)||yn("object"==typeof self&&self)||yn("object"==typeof $&&$)||Function("return this")(),Mn={},In=!_n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Cn={},Ln={}.propertyIsEnumerable,Pn=Object.getOwnPropertyDescriptor,e=Pn&&!Ln.call({1:2},1),jn=(Cn.f=e?function(e){e=Pn(this,e);return!!e&&e.enumerable}:Ln,{}.toString),Bn=An,$n="".split,t=_n(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==Bn(e)?$n.call(e,""):Object(e)}:Object,Un=t,Nn=xn,Fn=kn,Gn={}.hasOwnProperty,r=kn,zn=n.document,Zn=r(zn)&&r(zn.createElement),Hn=Dn,o=!In&&!_n(function(){return 7!=Object.defineProperty(Hn("div"),"a",{get:function(){return 7}}).a}),Kn=Cn,Wn=wn,Vn=En,qn=Sn,Yn=Rn,Qn=o,Jn=Object.getOwnPropertyDescriptor,Xn=(Mn.f=In?Jn:function(e,t){if(e=Vn(e),t=qn(t,!0),Qn)try{return Jn(e,t)}catch(e){}if(Yn(e,t))return Wn(!Kn.f.call(e,t),e[t])},{}),eo=kn,to=o,ro=Tn,no=Sn,oo=Object.defineProperty,io=(Xn.f=In?oo:function(e,t,r){if(ro(e),t=no(t,!0),ro(r),to)try{return oo(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e},Xn),ao=wn,i=In?function(e,t,r){return io.f(e,t,ao(1,r))}:function(e,t,r){return e[t]=r,e},so={exports:{}},uo=n,co=i,a=On,s="__core-js_shared__",lo=n[s]||a(s,{}),u=lo,fo=Function.toString,c=("function"!=typeof u.inspectSource&&(u.inspectSource=function(e){return fo.call(e)}),u.inspectSource),l=c,po=n.WeakMap,wr="function"==typeof po&&/native code/.test(l(po)),e={exports:{}},ho=lo;(e.exports=function(e,t){return ho[e]||(ho[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});function go(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++jo+Bo).toString(36)}function mo(e){return Uo[e]||(Uo[e]=$o(e))}function vo(e){return"function"==typeof e?e:void 0}function bo(e,t){return arguments.length<2?vo(Qo[e])||vo(Jo[e]):Qo[e]&&Qo[e][t]||Jo[e]&&Jo[e][t]}function yo(e){return isNaN(e=+e)?0:(0o;)!ci(n,r=t[o++])||~di(i,r)||i.push(r);return i}function Eo(e,t){for(var r=yi(t),n=wi.f,o=_i.f,i=0;i"+e+"<\/script>"}function Gi(e){return Ea(Da,e)||(Sa&&Ea(Ta,e)?Da[e]=Ta[e]:Da[e]=Oa("Symbol."+e)),Da[e]}function zi(e){var t=Ma.Symbol||(Ma.Symbol={});Ia(t,e)||La(t,e,{value:Ca.f(e)})}function Zi(e,t,r){e&&!ja(e=r?e:e.prototype,Ba)&&Pa(e,Ba,{configurable:!0,value:t})}function Hi(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}function Ki(n,o,e){if($a(n),void 0===o)return n;switch(e){case 0:return function(){return n.call(o)};case 1:return function(e){return n.call(o,e)};case 2:return function(e,t){return n.call(o,e,t)};case 3:return function(e,t,r){return n.call(o,e,t,r)}}return function(){return n.apply(o,arguments)}}function Wi(e,t){var r;return new(void 0===(r=Na(e)&&("function"==typeof(r=e.constructor)&&(r===Array||Na(r.prototype))||Ua(r)&&null===(r=r[Fa]))?void 0:r)?Array:r)(0===t?0:t)}function Vi(f){var p=1==f,h=2==f,g=3==f,m=4==f,v=6==f,b=5==f||v;return function(e,t,r,n){for(var o,i,a=Za(e),s=za(a),u=Ga(t,r,3),c=Ha(s.length),l=0,t=n||Ka,d=p?t(e,c):h?t(e,0):void 0;ls;)void 0!==(r=o(n,t=i[s++]))&&lu(a,t,r);return a}}),So),du=kn,fu=aa,pu=wo,hu=_o,gu=En,mu=eu,v=Gi,ka=Ps,vu=Cs("slice"),bu=ka("slice",{ACCESSORS:!0,0:0,1:2}),yu=v("species"),_u=[].slice,wu=Math.max,Au=(oa({target:"Array",proto:!0,forced:!vu||!bu},{slice:function(e,t){var r,n,o,i=gu(this),a=hu(i.length),s=pu(e,a),u=pu(void 0===t?a:t,a);if(fu(i)&&((r="function"==typeof(r=i.constructor)&&(r===Array||fu(r.prototype))||du(r)&&null===(r=r[yu])?void 0:r)===Array||void 0===r))return _u.call(i,s,u);for(n=new(void 0===r?Array:r)(wu(u-s,0)),o=0;s=t.length?{value:void 0,done:!0}:(t=Sc(t,r),e.index+=t.length,{value:t,done:!1})}),So),Oc=Rn,Mc=kn,na=Xn.f,Ra=Eo,Ic=n.Symbol,v=(!In||"function"!=typeof Ic||"description"in Ic.prototype&&void 0===Ic().description||(Vu={},Ra(qu=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof qu?new Ic(e):void 0===e?Ic():Ic(e);return""===e&&(Vu[t]=!0),t},Ic),(y=qu.prototype=Ic.prototype).constructor=qu,Yu=y.toString,Qu="Symbol(test)"==String(Ic("test")),Ju=/^Symbol\((.*)\)[^)]+$/,na(y,"description",{configurable:!0,get:function(){var e=Mc(this)?this.valueOf():this,t=Yu.call(e);if(Oc(Vu,e))return"";e=Qu?t.slice(7,-1):t.replace(Ju,"$1");return""===e?void 0:e}}),Gu({global:!0,forced:!0},{Symbol:qu})),zi("iterator"),Ln),oa=Xn,Cc=Gi("unscopables"),Lc=Array.prototype,Pc=(null==Lc[Cc]&&oa.f(Lc,Cc,{configurable:!0,value:v(null)}),En),l=Wu,xa=is,s=u,jc=Ku,Bc="Array Iterator",$c=s.set,Uc=s.getterFor(Bc),ka=jc(Array,"Array",function(e,t){$c(this,{type:Bc,target:Pc(e),index:0,kind:t})},function(){var e=Uc(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),Nc=(xa.Arguments=xa.Array,l("keys"),l("values"),l("entries"),n),Fc=f,Gc=ka,zc=i,b=Gi,Zc=b("iterator"),Hc=b("toStringTag"),Kc=Gc.values;for(Xu in Fc){var Wc=Nc[Xu],Vc=Wc&&Wc.prototype;if(Vc){if(Vc[Zc]!==Kc)try{zc(Vc,Zc,Kc)}catch(m1){Vc[Zc]=Kc}if(Vc[Hc]||zc(Vc,Hc,Xu),Fc[Xu])for(var qc in Gc)if(Vc[qc]!==Gc[qc])try{zc(Vc,qc,Gc[qc])}catch(m1){Vc[qc]=Gc[qc]}}}function Yc(e){var e=el(e),t=tl.f;rl&&e&&!e[nl]&&t(e,nl,{configurable:!0,get:function(){return this}})}function Qc(e,t){this.stopped=e,this.result=t}var Jc=ps,vu=so.exports,ss=(la||vu(Object.prototype,"toString",la?{}.toString:function(){return"[object "+Jc(this)+"]"},{unsafe:!0}),n.Promise),Xc=so.exports,el=bo,tl=Xn,rl=In,nl=Gi("species"),r={exports:{}},ol=Tn,il=ru,al=_o,sl=Ki,ul=nu,cl=tu;(r.exports=function(e,t,r,n,o){var i,a,s,u,c,l,d=sl(t,r,n?2:1);if(o)i=e;else{if("function"!=typeof(t=ul(e)))throw TypeError("Target is not iterable");if(il(t)){for(a=0,s=al(e.length);ao;){var i,a,s,u=m[o++],c=t?u.ok:u.fail,l=u.resolve,d=u.reject,f=u.domain;try{c?(t||(2===h.rejection&&function(e,t){rd.call(Yl,function(){yd?gd.emit("rejectionHandled",e):Ed("rejectionhandled",e,t.value)})}(p,h),h.rejection=1),!0===c?i=e:(f&&f.enter(),i=c(e),f&&(f.exit(),s=!0)),i===u.promise?d(pd("Promise-chain cycle")):(a=Ad(i))?a.call(i,l,d):l(i)):d(e)}catch(e){f&&!s&&f.exit(),d(e)}}h.reactions=[],h.notified=!1,g&&!h.rejection&&(r=p,n=h,rd.call(Yl,function(){var e,t=n.value;if(kd(n)&&(e=id(function(){yd?gd.emit("unhandledRejection",t,r):Ed(wd,r,t)}),n.rejection=yd||kd(n)?2:1,e.error))throw e.value}))}))},Ed=function(e,t,r){var n;_d?((n=hd.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),Yl.dispatchEvent(n)):n={promise:t,reason:r},(t=Yl["on"+e])?t(n):e===wd&&function(e,t){var r=ql.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}("Unhandled promise rejection",r)},kd=function(e){return 1!==e.rejection&&!e.parent},Sd=function(t,r,n,o){return function(e){t(r,n,e,o)}},Rd=function(e,t,r,n){t.done||(t.done=!0,(t=n?n:t).value=r,t.state=2,xd(e,t,!0))},Dd=function(r,n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(r===e)throw pd("Promise can't be resolved itself");var o=Ad(e);o?nd(function(){var t={done:!1};try{o.call(e,Sd(Dd,r,t,n),Sd(Rd,r,t,n))}catch(e){Rd(r,t,e,n)}}):(n.value=e,n.state=1,xd(r,n,!1))}catch(e){Rd(r,{done:!1},e,n)}}},ka=(l&&(fd=function(e){(function(e,t,r){if(e instanceof t)return;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")})(this,fd,ud),Jl(e),Gl.call(this);var t=cd(this);try{e(Sd(Dd,this,t),Sd(Rd,this,t))}catch(e){Rd(this,t,e)}},(Gl=function(e){ld(this,{type:ud,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,r){for(var n in t)Xc(e,n,t[n],r);return e}(fd.prototype,{then:function(e,t){var r=dd(this),n=vd(td(this,fd));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=yd?gd.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&xd(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),zl=function(){var e=new Gl,t=cd(e);this.promise=e,this.resolve=Sd(Dd,e,t),this.reject=Sd(Rd,e,t)},v.f=vd=function(e){return e===fd||e===Zl?new zl:bd(e)},"function"==typeof is&&(Hl=is.prototype.then,s(is.prototype,"then",function(e,t){var r=this;return new fd(function(e,t){Hl.call(r,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof md&&y({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return od(fd,md.apply(Yl,arguments))}}))),y({global:!0,wrap:!0,forced:l},{Promise:fd}),Gu(fd,ud,!1),jc(ud),Zl=Ln(ud),y({target:ud,stat:!0,forced:l},{reject:function(e){var t=vd(this);return t.reject.call(void 0,e),t.promise}}),y({target:ud,stat:!0,forced:l},{resolve:function(e){return od(this,e)}}),y({target:ud,stat:!0,forced:vu},{all:function(e){var s=this,t=vd(s),u=t.resolve,c=t.reject,r=id(function(){var n=Jl(s.resolve),o=[],i=0,a=1;ed(e,function(e){var t=i++,r=!1;o.push(void 0),a++,n.call(s,e).then(function(e){r||(r=!0,o[t]=e,--a||u(o))},c)}),--a||u(o)});return r.error&&c(r.value),t.promise},race:function(e){var r=this,n=vd(r),o=n.reject,t=id(function(){var t=Jl(r.resolve);ed(e,function(e){t.call(r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}}),So),b=_n,Td=aa,Od=kn,Md=Ro,Id=_o,Cd=eu,Ld=Wi,ps=Cs,la=m,Pd=Gi("isConcatSpreadable"),jd=9007199254740991,Bd="Maximum allowed index exceeded",c=51<=la||!b(function(){var e=[];return e[Pd]=!1,e.concat()[0]!==e}),r=ps("concat"),xa=(ka({target:"Array",proto:!0,forced:!c||!r},{concat:function(e){for(var t,r,n,o=Md(this),i=Ld(o,0),a=0,s=-1,u=arguments.length;sjd)throw TypeError(Bd);for(t=0;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(n.dependencies),e.prev=8,o.s();case 10:if((i=o.n()).done){e.next=26;break}if(i=i.value,e.prev=12,a=Wd[i].name,window[a])return e.abrupt("continue",24);e.next=16;break;case 16:return e.next=18,Zd({id:i,src:Wd[i].src});case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(12),a=i.id,s=i.src,console.log("Could not load external script ".concat(a," ").concat(s),e.t0);case 24:e.next=10;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(8),o.e(e.t1);case 31:return e.prev=31,o.f(),e.finish(31);case 34:return e.prev=34,e.next=37,Zd({id:t,src:n.source});case 37:r=window[t],e.next=43;break;case 40:e.prev=40,e.t2=e.catch(34),console.log("Could not load module ".concat(t," ").concat(n.source,"."),e.t2);case 43:return n.isLoading=!1,e.abrupt("return",r);case 45:case"end":return e.stop()}},e,null,[[8,28,31,34],[12,20],[34,40]])})),function(e){return Kd.apply(this,arguments)}),Yd=new function e(){var t,r,n=this;te(this,e),bn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qd("Leaderboard");case 2:n.leaderboard=e.sent;case 3:case"end":return e.stop()}},e)}))),bn(this,"showLeaderboard",(r=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=window.GD_OPTIONS.gameId,n.leaderboard){e.next=4;break}return e.next=4,n.load();case 4:n.leaderboard.showLeaderBoard(r,t);case 5:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)})),bn(this,"addScore",(t=p(h.mark(function e(t){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.leaderboard){e.next=3;break}return e.next=3,n.load();case 3:n.leaderboard.addScore(t);case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})),this.moduleName="Leaderboard",this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/gd-sdk-leaderboard/0.1.43/dist/default/iife/index.js",dependencies:["react","react-dom","redux","react-redux","material-ui-core"]},zd(this.moduleName,this.moduleConfig)},Qd=Tn,Ra={},na=_n;function Jd(e,t){return RegExp(e,t)}Ra.UNSUPPORTED_Y=na(function(){var e=Jd("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Ra.BROKEN_CARET=na(function(){var e=Jd("^r","gy");return e.lastIndex=2,null!=e.exec("str")});function Xd(r,e,t,n){var i,o,a=d0(r),s=!l0(function(){var e={};return e[a]=function(){return 7},7!=""[r](e)}),u=s&&!l0(function(){var e=!1,t=/a/;return"split"===r&&((t={}).constructor={},t.constructor[h0]=function(){return t},t.flags="",t[a]=/./[a]),t.exec=function(){return e=!0,null},t[a](""),!e});s&&u&&("replace"!==r||g0&&m0&&!v0)&&("split"!==r||b0)||(i=/./[a],t=(u=t(a,""[r],function(e,t,r,n,o){return t.exec===f0?s&&!o?{done:!0,value:i.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}},{REPLACE_KEEPS_$0:m0,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:v0}))[0],o=u[1],c0(String.prototype,r,t),c0(RegExp.prototype,a,2==e?function(e,t){return o.call(e,this,t)}:function(e){return o.call(e,this)})),n&&p0(RegExp.prototype[a],"sham",!0)}function e0(e,t,r){return t+(r?y0(e,t).length:1)}function t0(e,t){var r=e.exec;if("function"==typeof r){r=r.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_0(e))throw TypeError("RegExp#exec called on incompatible receiver");return w0.call(e,t)}var r0,n0=Hd,f=Ra,o0=RegExp.prototype.exec,i0=String.prototype.replace,oa=o0,a0=(v=/a/,s=/b*/g,o0.call(v,"a"),o0.call(s,"a"),0!==v.lastIndex||0!==s.lastIndex),s0=f.UNSUPPORTED_Y||f.BROKEN_CARET,u0=void 0!==/()??/.exec("")[1],is=oa=a0||u0||s0?function(e){var t,r,n,o,i=this,a=s0&&i.sticky,s=n0.call(i),u=i.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(i.lastIndex),0")}),m0="$0"==="a".replace(/./,"$0"),Gu=d0("replace"),v0=!!/./[Gu]&&""===/./[Gu]("a","$0"),b0=!l0(function(){var e=/(?:)/,t=e.exec,e=(e.exec=function(){return t.apply(this,arguments)},"ab".split(e));return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),y0=us.charAt,_0=An,w0=is,jc=Xd,A0=Tn,x0=Ro,E0=_o,k0=yo,S0=xn,R0=e0,D0=t0,T0=Math.max,O0=Math.min,M0=Math.floor,I0=/\$([$&'`]|\d\d?|<[^>]*>)/g,C0=/\$([$&'`]|\d\d?)/g,Ln=(jc("replace",2,function(o,_,w,e){var A=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=e.REPLACE_KEEPS_$0,E=A?"$":"$0";return[function(e,t){var r=S0(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):_.call(String(r),e,t)},function(e,t){if(!A&&x||"string"==typeof t&&-1===t.indexOf(E)){var r=w(_,e,this,t);if(r.done)return r.value}var n,o=A0(e),i=String(this),a="function"==typeof t,s=(a||(t=String(t)),o.global);s&&(n=o.unicode,o.lastIndex=0);for(var u=[];;){var c=D0(o,i);if(null===c)break;if(u.push(c),!s)break;""===String(c[0])&&(o.lastIndex=R0(i,E0(o.lastIndex),n))}for(var l,d="",f=0,p=0;p=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||nt.gt)},ka.locales=void 0;var Q0,J0,X0,ef,tf=(r=y.exports)&&r.__esModule?r:{default:r},rf=c,xa=Object.keys(rf.decimal),na=(ka.locales=xa,d=(e=ps).exports,Object.defineProperty(d,"__esModule",{value:!0}),d.default=function(e){return(0,Q0.default)(e)?parseFloat(e):NaN},Q0=ka&&ka.__esModule?ka:{default:ka},e.exports=d.default,e.exports.default=d.default,{exports:{}}),oa=(s=(v=na).exports,Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e,t){return(0,J0.default)(e),parseInt(e,t||10)},J0=(f=y.exports)&&f.__esModule?f:{default:f},v.exports=s.default,v.exports.default=s.default,{exports:{}}),jc=(Gu=(i=oa).exports,Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.default=function(e,t){return(0,X0.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e},X0=(us=y.exports)&&us.__esModule?us:{default:us},i.exports=Gu.default,i.exports.default=Gu.default,{exports:{}}),la=(b=(aa=jc).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e,t){return(0,ef.default)(e),e===t},ef=(m=y.exports)&&m.__esModule?m:{default:m},aa.exports=b.default,aa.exports.default=b.default,{exports:{}}),r={exports:{}};function nf(e){return(nf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=(xa=r).exports,Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return"object"===nf(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},xa.exports=e.default,xa.exports.default=e.default;var of,af,sf,uf,d={exports:{}};function cf(e){return e&&e.__esModule?e:{default:e}}v=(f=d).exports,Object.defineProperty(v,"__esModule",{value:!0}),v.default=function(){var e,t=0$)/g,""),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(t.trim()){if(/[\.";<>]/.test(t)){if(t===e)return;if(t.split('"').length!==t.split('\\"').length)return}return 1}}(r=r.endsWith(" ")?r.substr(0,r.length-1):r))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&254]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,jf.default)(t,Bf)).validate_length&&2083<=e.length)return!1;var r,n=e.split("#");if(1<(n=(e=(n=(e=n.shift()).split("?")).shift()).split("://")).length){if(i=n.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(i))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;n[0]=e.substr(2)}}if(""===(e=n.join("://")))return!1;if(""===(e=(n=e.split("/")).shift())&&!t.require_host)return!0;if(1<(n=e.split("@")).length){if(t.disallow_auth)return!1;if(""===n[0]||":"===n[0].substr(0,1))return!1;if(0<=(i=n.shift()).indexOf(":")&&2e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o=t.min,o=!t.hasOwnProperty("max")||e<=t.max,i=!t.hasOwnProperty("lt")||et.gt;return r.test(e)&&n&&o&&i&&t},cp=(w=y.exports)&&w.__esModule?w:{default:w},lp=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,dp=/^[-+]?[0-9]+$/,_.exports=Bp.default,_.exports.default=Bp.default,_=(w=Pp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,up.default)(e,{min:0,max:65535})},up=(Bp=jp.exports)&&Bp.__esModule?Bp:{default:Bp},w.exports=_.default,w.exports.default=_.default,{exports:{}}),$p=(_=(w=Bp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,fp.default)(e),e===e.toLowerCase()},fp=($p=y.exports)&&$p.__esModule?$p:{default:$p},w.exports=_.default,w.exports.default=_.default,{exports:{}}),Up=(_=(w=$p).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,pp.default)(e),e===e.toUpperCase()},pp=(Up=y.exports)&&Up.__esModule?Up:{default:Up},w.exports=_.default,w.exports.default=_.default,{exports:{}}),Np=(_=(w=Up).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e,t){(0,hp.default)(e);var r=gp;if(!(r=(t=t||{}).allow_hyphens?mp:r).test(e))return!1;e=e.replace(/-/g,"");for(var n=0,o=2,i=0;i<14;i++){var a=e.substring(14-i-1,14-i),a=parseInt(a,10)*o;n+=10<=a?a%10+1:a,1===o?o+=1:--o}return(10-n%10)%10===parseInt(e.substring(14,15),10)},hp=(Np=y.exports)&&Np.__esModule?Np:{default:Np},gp=/^[0-9]{15}$/,mp=/^\d{2}-\d{6}-\d{6}-\d{1}$/,w.exports=_.default,w.exports.default=_.default,{exports:{}}),Fp=(_=(w=Np).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,vp.default)(e),bp.test(e)},vp=(Fp=y.exports)&&Fp.__esModule?Fp:{default:Fp},bp=/^[\x00-\x7F]+$/,w.exports=_.default,w.exports.default=_.default,{}),Gp=(Object.defineProperty(Fp,"__esModule",{value:!0}),Fp.default=function(e){return(0,Gp.default)(e),zp.test(e)},Fp.fullWidth=void 0,(w=y.exports)&&w.__esModule?w:{default:w}),zp=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,_=(Fp.fullWidth=zp,{}),Zp=(Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,Zp.default)(e),Hp.test(e)},_.halfWidth=void 0,(w=y.exports)&&w.__esModule?w:{default:w}),Hp=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,w=(_.halfWidth=Hp,{exports:{}}),Kp=(x=(Vp=w).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,yp.default)(e),_p.fullWidth.test(e)&&wp.halfWidth.test(e)},yp=(Kp=y.exports)&&Kp.__esModule?Kp:{default:Kp},_p=Fp,wp=_,Vp.exports=x.default,Vp.exports.default=x.default,{exports:{}}),Wp=(x=(Vp=Kp).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,Ap.default)(e),xp.test(e)},Ap=(Wp=y.exports)&&Wp.__esModule?Wp:{default:Wp},xp=/[^\x00-\x7F]/,Vp.exports=x.default,Vp.exports.default=x.default,{exports:{}}),Vp={exports:{}};function qp(e){return e&&e.__esModule?e:{default:e}}E=(x=Vp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e,t){e=e.join("");return new RegExp(e,t)},x.exports=E.default,x.exports.default=E.default,E=(x=Wp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return(0,Ep.default)(e),kp.test(e)},Ep=qp(y.exports),kp=(0,qp(Vp.exports).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i"),x.exports=E.default,x.exports.default=E.default;var Yp,Qp,Jp,Xp,eh,th,rh,nh,Vp={exports:{}},oh=(E=(x=Vp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return(0,Yp.default)(e),Qp.test(e)},Yp=(oh=y.exports)&&oh.__esModule?oh:{default:oh},Qp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,x.exports=E.default,x.exports.default=E.default,{exports:{}}),x={exports:{}},E=x,k=x.exports;function ih(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0,k.default=function(e,t){return e.some(function(e){return t===e})},E.exports=k.default,E.exports.default=k.default,k=(E=oh).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){if((0,Xp.default)(e),(t=(0,Jp.default)(t,rh)).locale in th.decimal)return!(0,eh.default)(nh,e.replace(/ /g,""))&&(r=t,new RegExp("^[-+]?([0-9]+)?(\\".concat(th.decimal[r.locale],"[0-9]{").concat(r.decimal_digits,"})").concat(r.force_decimal?"":"?","$")).test(e));var r;throw new Error("Invalid locale '".concat(t.locale,"'"))},Jp=ih(d.exports),Xp=ih(y.exports),eh=ih(x.exports),th=c,rh={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},nh=["","-","+"],E.exports=k.default,E.exports.default=k.default;var ah,sh,uh,ch,lh,dh,c={exports:{}},fh=(k=(E=c).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){return(0,ah.default)(e),sh.test(e)},ah=(fh=y.exports)&&fh.__esModule?fh:{default:fh},sh=/^(0x|0h)?[0-9A-F]+$/i,E.exports=k.default,E.exports.default=k.default,{exports:{}}),ph=(k=(E=fh).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){return(0,uh.default)(e),ch.test(e)},uh=(ph=y.exports)&&ph.__esModule?ph:{default:ph},ch=/^(0o)?[0-7]+$/i,E.exports=k.default,E.exports.default=k.default,{exports:{}});function hh(e){return e&&e.__esModule?e:{default:e}}k=(E=ph).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){return(0,lh.default)(e),(0,dh.default)(e)%parseInt(t,10)==0},lh=hh(y.exports),dh=hh(ps.exports),E.exports=k.default,E.exports.default=k.default;var gh,mh,vh,bh,yh,_h,wh,Ah,xh,Eh,kh,Sh,Rh,Dh,Th,Oh,Mh,Ih,Ch,Lh,Ph,jh,Bh,$h,Uh,Nh,Fh,Gh,E={exports:{}},zh=(S=(k=E).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){return(0,gh.default)(e),mh.test(e)},gh=(zh=y.exports)&&zh.__esModule?zh:{default:zh},mh=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,k.exports=S.default,k.exports.default=S.default,{exports:{}}),Zh=(S=(k=zh).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){var t=!(1new Date)&&n.getFullYear()===t&&n.getMonth()===r-1&&n.getDate()===e}var t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],a=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],s=["1","0","X","9","8","7","6","5","4","3","2"];return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(e=e)&&(15===e.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;r="19".concat(e.substring(6,12));return!!i(r)}:function(e){if(!/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e))return!1;var t=e.substring(0,2);if(!o(t))return!1;var n,t=e.substring(6,14);return!!i(t)&&(n=e,function(){for(var e=n.substring(0,17),t=0,r=0;r<17;r++)t+=parseInt(e.charAt(r),10)*parseInt(a[r],10);return s[t%11]}()===n.charAt(17).toUpperCase())})(e)},"zh-TW":function(e){var o={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},e=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(e)&&Array.from(e).reduce(function(e,t,r){var n;return 0===r?(n=o[t])%10*9+Math.floor(n/10):9===r?(10-e%10-Number(t))%10==0:e+Number(t)*(9-r)},0)}},D.exports=T.default,D.exports.default=T.default,{exports:{}}),nm=(T=(D=rm).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){(0,$g.default)(e);var r,t=Number(e.slice(-1));return Ug.test(e)&&t===((t=10-(r=e).slice(0,-1).split("").map(function(e,t){return Number(e)*(8===(e=r.length)||14===e?t%2==0?3:1:t%2==0?1:3)}).reduce(function(e,t){return e+t},0)%10)<10?t:0)},$g=(nm=y.exports)&&nm.__esModule?nm:{default:nm},Ug=/^(\d{8}|\d{13}|\d{14})$/,D.exports=T.default,D.exports.default=T.default,{exports:{}}),om=(T=(D=nm).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){if((0,Ng.default)(e),!Fg.test(e))return!1;for(var t=!0,r=0,n=e.length-2;0<=n;n--)if("A"<=e[n]&&e[n]<="Z")for(var o=e[n].charCodeAt(0)-55,i=0,a=[o%10,Math.trunc(o/10)];ie.length)&&(t=e.length);for(var r=0,n=new Array(t);ro?"".concat(i-1):"".concat(i)).concat(r);else if(r="".concat(i-1).concat(r),o-parseInt(r,10)<100)return!1}60/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")},wv=(Sv=y.exports)&&Sv.__esModule?Sv:{default:Sv},I.exports=C.default,I.exports.default=C.default,{exports:{}}),Rv=(C=(I=Sv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Av.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")},Av=(Rv=y.exports)&&Rv.__esModule?Rv:{default:Rv},I.exports=C.default,I.exports.default=C.default,{exports:{}}),I={exports:{}};function Dv(e){return e&&e.__esModule?e:{default:e}}Bv=(C=I).exports,Object.defineProperty(Bv,"__esModule",{value:!0}),Bv.default=function(e,t){return(0,kv.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")},kv=(L=y.exports)&&L.__esModule?L:{default:L},C.exports=Bv.default,C.exports.default=Bv.default,C=(L=Rv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,xv.default)(e),(0,Ev.default)(e,t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F")},xv=Dv(y.exports),Ev=Dv(I.exports),L.exports=C.default,L.exports.default=C.default;var Tv,Ov,Mv,Iv,Cv,Lv,Pv,jv,Bv={exports:{}},$v=(C=(L=Bv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,Tv.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")},Tv=($v=y.exports)&&$v.__esModule?$v:{default:$v},L.exports=C.default,L.exports.default=C.default,{exports:{}}),Uv=(C=(L=$v).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){(0,Ov.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0},Ov=(Uv=y.exports)&&Uv.__esModule?Uv:{default:Uv},L.exports=C.default,L.exports.default=C.default,{exports:{}});function Nv(e){return 1=t.minLength&&e.lowercaseCount>=t.minLowercase&&e.uppercaseCount>=t.minUppercase&&e.numberCount>=t.minNumbers&&e.symbolCount>=t.minSymbols},Hv=t1(d.exports),Kv=t1(y.exports),Wv=/^[A-Z]$/,Vv=/^[a-z]$/,qv=/^[0-9]$/,Qv={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!(Yv=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/),pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10},L.exports=C.default,L.exports.default=C.default;var d={},r1=(Object.defineProperty(d,"__esModule",{value:!0}),d.default=function(e,t){if((0,r1.default)(e),(0,r1.default)(t),t in n1)return n1[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},d.vatMatchers=void 0,(L=y.exports)&&L.__esModule?L:{default:L}),n1={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/},C=(d.vatMatchers=n1,Ln),y=Ln.exports;function o1(e){return(o1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var L=P(l.exports),l=P(ps.exports),ps=P(na.exports),na=P(oa.exports),oa=P(jc.exports),la=P(la.exports),i=P(i.exports),xa=P(xa.exports),b=P(b.exports),m=P(m.exports),aa=P(aa.exports),f=P(f.exports),us=P(us.exports),v=P(v.exports),Sp=P(Sp.exports),Rp=P(Rp.exports),Dp=a1(Dp),s=a1(s),Mp=P(Mp.exports),Lp=P(Lp.exports),Pp=P(Pp.exports),Bp=P(Bp.exports),$p=P($p.exports),Up=P(Up.exports),Np=P(Np.exports),Fp=P(Fp),_=P(_),w=P(w.exports),Kp=P(Kp.exports),Wp=P(Wp.exports),Vp=P(Vp.exports),jp=P(jp.exports),ka=a1(ka),oh=P(oh.exports),c=P(c.exports),fh=P(fh.exports),ph=P(ph.exports),E=P(E.exports),zh=P(zh.exports),Zh=P(Zh.exports),Hh=P(Hh.exports),Kh=P(Kh.exports),Wh=P(Wh.exports),Yh=P(Yh.exports),Qh=P(Qh.exports),Jh=P(Jh.exports),R=P(R.exports),cg=P(cg.exports),fg=P(fg.exports),e=P(e.exports),bg=P(bg.exports),yg=P(yg.exports),xg=P(xg.exports),Rg=P(Rg.exports),Mg=P(Mg.exports),r=P(r.exports),tm=P(tm.exports),rm=P(rm.exports),nm=P(nm.exports),om=P(om.exports),im=P(im.exports),am=P(am.exports),D=a1(D),T=P(T.exports),_m=P(_m.exports),ym=P(ym.exports),Lm=P(Lm.exports),Pm=P(Pm.exports),k=P(k),jm=P(jm.exports),iv=P(iv.exports),av=P(av.exports),S=P(S.exports),x=P(x.exports),sv=P(sv.exports),uv=P(uv.exports),cv=P(cv.exports),O=a1(O),M=P(M.exports),bv=P(bv.exports),yv=P(yv.exports),mv=P(mv.exports),Sv=P(Sv.exports),Rv=P(Rv.exports),Bv=P(Bv.exports),I=P(I.exports),$v=P($v.exports),Uv=P(Uv.exports),Jv=P(Jv.exports),Xv=P(Xv.exports),e1=P(e1.exports),d=P(d);function i1(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i1=function(){return e},e}function a1(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o1(e)&&"function"!=typeof e)return{default:e};var t=i1();if(t&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}function P(e){return e&&e.__esModule?e:{default:e}}L={version:"13.6.0",toDate:L.default,toFloat:l.default,toInt:ps.default,toBoolean:na.default,equals:oa.default,contains:la.default,matches:i.default,isEmail:xa.default,isURL:b.default,isMACAddress:m.default,isIP:aa.default,isIPRange:f.default,isFQDN:us.default,isBoolean:Sp.default,isIBAN:Kh.default,isBIC:Wh.default,isAlpha:Dp.default,isAlphaLocales:Dp.locales,isAlphanumeric:s.default,isAlphanumericLocales:s.locales,isNumeric:Mp.default,isPassportNumber:Lp.default,isPort:Pp.default,isLowercase:Bp.default,isUppercase:$p.default,isAscii:Np.default,isFullWidth:Fp.default,isHalfWidth:_.default,isVariableWidth:w.default,isMultibyte:Kp.default,isSemVer:Wp.default,isSurrogatePair:Vp.default,isInt:jp.default,isIMEI:Up.default,isFloat:ka.default,isFloatLocales:ka.locales,isDecimal:oh.default,isHexadecimal:c.default,isOctal:fh.default,isDivisibleBy:ph.default,isHexColor:E.default,isRgbColor:zh.default,isHSL:Zh.default,isISRC:Hh.default,isMD5:Yh.default,isHash:Qh.default,isJWT:Jh.default,isJSON:R.default,isEmpty:cg.default,isLength:fg.default,isLocale:Rp.default,isByteLength:e.default,isUUID:bg.default,isMongoId:yg.default,isAfter:xg.default,isBefore:Rg.default,isIn:Mg.default,isCreditCard:r.default,isIdentityCard:tm.default,isEAN:rm.default,isISIN:nm.default,isISBN:om.default,isISSN:im.default,isMobilePhone:D.default,isMobilePhoneLocales:D.locales,isPostalCode:O.default,isPostalCodeLocales:O.locales,isEthereumAddress:T.default,isCurrency:_m.default,isBtcAddress:ym.default,isISO8601:Lm.default,isRFC3339:Pm.default,isISO31661Alpha2:k.default,isISO31661Alpha3:jm.default,isBase32:iv.default,isBase58:av.default,isBase64:S.default,isDataURI:x.default,isMagnetURI:sv.default,isMimeType:uv.default,isLatLong:cv.default,ltrim:M.default,rtrim:bv.default,trim:yv.default,escape:mv.default,unescape:Sv.default,stripLow:Rv.default,whitelist:Bv.default,blacklist:I.default,isWhitelisted:$v.default,normalizeEmail:Uv.default,toString:toString,isSlug:Jv.default,isStrongPassword:e1.default,isTaxID:am.default,isDate:v.default,isLicensePlate:Xv.default,isVAT:d.default},y.default=L,C.exports=y.default,C.exports.default=y.default;var s1=function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(Ln.exports);const u1=2147483647,c1=36,l1=/^xn--/,d1=/[^\0-\x7E]/,f1=/[\x2E\u3002\uFF0E\uFF61]/g,p1={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h1=Math.floor,g1=String.fromCharCode;function m1(e){throw new RangeError(p1[e])}function v1(e,t){var r=e.split("@");let n="";1>1,e+=h1(e/t);455=o&&m1("invalid-input");const s=(l=n.charCodeAt(r++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:c1;(s>=c1||s>h1((u1-i)/e))&&m1("overflow"),i+=s*e;l=t<=a?1:t>=a+26?26:t-a;if(sh1(u1/l)&&m1("overflow"),e*=l}var c=t.length+1;a=_1(i-u,c,0==u),h1(i/c)>u1-e&&m1("overflow"),e+=h1(i/c),i%=c,t.splice(i++,0,e)}var l;return String.fromCodePoint(...t)}function A1(t){const r=[];let n=(t=b1(t)).length,o=128,i=0,a=72;for(const n of t)n<128&&r.push(g1(n));let s=r.length,u=s;for(s&&r.push("-");u=o&&rh1((u1-i)/c)&&m1("overflow"),i+=(e-o)*c,o=e;for(const n of t)if(nu1&&m1("overflow"),n==o){let t=i;for(let e=c1;;e+=c1){const o=e<=a?1:e>=a+26?26:e-a;if(tString.fromCodePoint(...e),S1={version:"2.1.0",ucs2:{decode:b1,encode:k1},decode:w1,encode:A1,toASCII:E1,toUnicode:x1};const R1=function e(r){if(r.__esModule)return r;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(r).forEach(function(e){var t=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}})}),n}(Object.freeze({__proto__:null,ucs2decode:b1,ucs2encode:k1,decode:w1,encode:A1,toASCII:E1,toUnicode:x1,default:S1})),D1={"com.ac":!0,"net.ac":!0,"gov.ac":!0,"org.ac":!0,"mil.ac":!0,"co.ae":!0,"net.ae":!0,"gov.ae":!0,"ac.ae":!0,"sch.ae":!0,"org.ae":!0,"mil.ae":!0,"pro.ae":!0,"name.ae":!0,"com.af":!0,"edu.af":!0,"gov.af":!0,"net.af":!0,"org.af":!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,"gv.at":!0,"ac.at":!0,"co.at":!0,"or.at":!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"csiro.au":!0,"asn.au":!0,"id.au":!0,"vic.au":!0,"sa.au":!0,"wa.au":!0,"nt.au":!0,"tas.au":!0,"qld.au":!0,"act.au":!0,"conf.au":!0,"oz.au":!0,"org.ba":!0,"net.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"unsa.ba":!0,"untz.ba":!0,"unmo.ba":!0,"unbi.ba":!0,"unze.ba":!0,"co.ba":!0,"com.ba":!0,"rs.ba":!0,"co.bb":!0,"com.bb":!0,"net.bb":!0,"org.bb":!0,"gov.bb":!0,"edu.bb":!0,"info.bb":!0,"store.bb":!0,"tv.bb":!0,"biz.bb":!0,"com.bh":!0,"info.bh":!0,"cc.bh":!0,"edu.bh":!0,"biz.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,"com.bn":!0,"edu.bn":!0,"gov.bn":!0,"net.bn":!0,"org.bn":!0,"com.bo":!0,"net.bo":!0,"org.bo":!0,"tv.bo":!0,"mil.bo":!0,"int.bo":!0,"gob.bo":!0,"gov.bo":!0,"edu.bo":!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"edu.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mus.br":!0,"net.br":!0,"nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,"om.bz":!0,"du.bz":!0,"ov.bz":!0,"et.bz":!0,"rg.bz":!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"co.ck":!0,"org.ck":!0,"edu.ck":!0,"gov.ck":!0,"net.ck":!0,"gen.ck":!0,"biz.ck":!0,"info.ck":!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"mil.cn":!0,"net.cn":!0,"org.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"tw.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"com.co":!0,"org.co":!0,"edu.co":!0,"gov.co":!0,"net.co":!0,"mil.co":!0,"nom.co":!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cr:!0,"ac.cy":!0,"net.cy":!0,"gov.cy":!0,"org.cy":!0,"pro.cy":!0,"name.cy":!0,"ekloges.cy":!0,"tm.cy":!0,"ltd.cy":!0,"biz.cy":!0,"press.cy":!0,"parliament.cy":!0,"com.cy":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"com.do":!0,"sld.do":!0,"org.do":!0,"net.do":!0,"web.do":!0,"mil.do":!0,"art.do":!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"mil.ec":!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"com.er":!0,"edu.er":!0,"gov.er":!0,"mil.er":!0,"net.er":!0,"org.er":!0,"ind.er":!0,"rochest.er":!0,"w.er":!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"net.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,"ac.fj":!0,"biz.fj":!0,"com.fj":!0,"info.fj":!0,"mil.fj":!0,"name.fj":!0,"net.fj":!0,"org.fj":!0,"pro.fj":!0,"co.fk":!0,"org.fk":!0,"gov.fk":!0,"ac.fk":!0,"nom.fk":!0,"net.fk":!0,fr:!0,"tm.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"com.fr":!0,"gouv.fr":!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,"co.gl":!0,"com.gl":!0,"edu.gl":!0,"net.gl":!0,"org.gl":!0,"com.gn":!0,"ac.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,"mil.gr":!0,"com.gt":!0,"edu.gt":!0,"net.gt":!0,"gob.gt":!0,"org.gt":!0,"mil.gt":!0,"ind.gt":!0,"com.gu":!0,"net.gu":!0,"gov.gu":!0,"org.gu":!0,"edu.gu":!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"co.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"info.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"org.hu":!0,"priv.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"sport.hu":!0,"suli.huv":!0,"szex.hu":!0,"tm.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,"ac.id":!0,"co.id":!0,"net.id":!0,"or.id":!0,"web.id":!0,"sch.id":!0,"mil.id":!0,"go.id":!0,"war.net.id":!0,"my.id":!0,"biz.id":!0,"ac.il":!0,"co.il":!0,"org.il":!0,"net.il":!0,"k12.il":!0,"gov.il":!0,"muni.il":!0,"idf.il":!0,in:!0,"4fd.in":!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"ernet.in":!0,"gov.in":!0,"mil.in":!0,"nic.in":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"com.iq":!0,"mil.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"dnssec.ir":!0,"gov.it":!0,"edu.it":!0,"co.je":!0,"net.je":!0,"org.je":!0,"com.jo":!0,"net.jo":!0,"gov.jo":!0,"edu.jo":!0,"org.jo":!0,"mil.jo":!0,"name.jo":!0,"sch.jo":!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"co.ke":!0,"or.ke":!0,"ne.ke":!0,"go.ke":!0,"ac.ke":!0,"sc.ke":!0,"me.ke":!0,"mobi.ke":!0,"info.ke":!0,"per.kh":!0,"com.kh":!0,"edu.kh":!0,"gov.kh":!0,"mil.kh":!0,"net.kh":!0,"org.kh":!0,"com.ki":!0,"biz.ki":!0,"de.ki":!0,"net.ki":!0,"info.ki":!0,"org.ki":!0,"gov.ki":!0,"edu.ki":!0,"mob.ki":!0,"tel.ki":!0,km:!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"nom.km":!0,"presse.km":!0,"tm.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"edu.km":!0,"gouv.km":!0,"mil.km":!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kr:!0,"co.kr":!0,"ne.kr":!0,"or.kr":!0,"re.kr":!0,"pe.kr":!0,"go.kr":!0,"mil.kr":!0,"ac.kr":!0,"hs.kr":!0,"ms.kr":!0,"es.kr":!0,"sc.kr":!0,"kg.kr":!0,"seoul.kr":!0,"busan.kr":!0,"daegu.kr":!0,"incheon.kr":!0,"gwangju.kr":!0,"daejeon.kr":!0,"ulsan.kr":!0,"gyeonggi.kr":!0,"gangwon.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"gyeongbuk.kr":!0,"gyeongnam.kr":!0,"jeju.kr":!0,"edu.kw":!0,"com.kw":!0,"net.kw":!0,"org.kw":!0,"gov.kw":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,"edu.ky":!0,"gov.ky":!0,"com.kz":!0,"edu.kz":!0,"gov.kz":!0,"mil.kz":!0,"net.kz":!0,"org.kz":!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"net.ma":!0,"ac.ma":!0,"org.ma":!0,"gov.ma":!0,"press.ma":!0,"co.ma":!0,"tm.mc":!0,"asso.mc":!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,"pro.mk":!0,"com.ml":!0,"net.ml":!0,"org.ml":!0,"edu.ml":!0,"gov.ml":!0,"presse.ml":!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,"com.mo":!0,"edu.mo":!0,"gov.mo":!0,"net.mo":!0,"org.mo":!0,"com.mt":!0,"org.mt":!0,"net.mt":!0,"edu.mt":!0,"gov.mt":!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,"ac.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,"com.mx":!0,"net.mx":!0,"org.mx":!0,"edu.mx":!0,"gob.mx":!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"sch.my":!0,"mil.my":!0,"name.my":!0,"com.nf":!0,"net.nf":!0,"arts.nf":!0,"store.nf":!0,"web.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"per.nf":!0,"rec.nf":!0,"com.ng":!0,"org.ng":!0,"gov.ng":!0,"edu.ng":!0,"net.ng":!0,"sch.ng":!0,"name.ng":!0,"mobi.ng":!0,"biz.ng":!0,"mil.ng":!0,"gob.ni":!0,"co.ni":!0,"com.ni":!0,"ac.ni":!0,"edu.ni":!0,"org.ni":!0,"nom.ni":!0,"net.ni":!0,"mil.ni":!0,"com.np":!0,"edu.np":!0,"gov.np":!0,"org.np":!0,"mil.np":!0,"net.np":!0,"edu.nr":!0,"gov.nr":!0,"biz.nr":!0,"info.nr":!0,"net.nr":!0,"org.nr":!0,"com.nr":!0,"com.om":!0,"co.om":!0,"edu.om":!0,"ac.om":!0,"sch.om":!0,"gov.om":!0,"net.om":!0,"org.om":!0,"mil.om":!0,"museum.om":!0,"biz.om":!0,"pro.om":!0,"med.om":!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"sld.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"mil.ph":!0,"ngo.ph":!0,"i.ph":!0,"gov.ph":!0,"edu.ph":!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"pwr.pl":!0,"com.pl":!0,"biz.pl":!0,"net.pl":!0,"art.pl":!0,"edu.pl":!0,"org.pl":!0,"ngo.pl":!0,"gov.pl":!0,"info.pl":!0,"mil.pl":!0,"waw.pl":!0,"warszawa.pl":!0,"wroc.pl":!0,"wroclaw.pl":!0,"krakow.pl":!0,"katowice.pl":!0,"poznan.pl":!0,"lodz.pl":!0,"gda.pl":!0,"gdansk.pl":!0,"slupsk.pl":!0,"radom.pl":!0,"szczecin.pl":!0,"lublin.pl":!0,"bialystok.pl":!0,"olsztyn.pl":!0,"torun.pl":!0,"gorzow.pl":!0,"zgora.pl":!0,"biz.pr":!0,"com.pr":!0,"edu.pr":!0,"gov.pr":!0,"info.pr":!0,"isla.pr":!0,"name.pr":!0,"net.pr":!0,"org.pr":!0,"pro.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,"com.ps":!0,"net.ps":!0,"org.ps":!0,"edu.ps":!0,"gov.ps":!0,"plo.ps":!0,"sec.ps":!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,"arts.ro":!0,"com.ro":!0,"firm.ro":!0,"info.ro":!0,"nom.ro":!0,"nt.ro":!0,"org.ro":!0,"rec.ro":!0,"store.ro":!0,"tm.ro":!0,"www.ro":!0,"co.rs":!0,"org.rs":!0,"edu.rs":!0,"ac.rs":!0,"gov.rs":!0,"in.rs":!0,"com.sb":!0,"net.sb":!0,"edu.sb":!0,"org.sb":!0,"gov.sb":!0,"com.sc":!0,"net.sc":!0,"edu.sc":!0,"gov.sc":!0,"org.sc":!0,"co.sh":!0,"com.sh":!0,"org.sh":!0,"gov.sh":!0,"edu.sh":!0,"net.sh":!0,"nom.sh":!0,"com.sl":!0,"net.sl":!0,"org.sl":!0,"edu.sl":!0,"gov.sl":!0,"gov.st":!0,"saotome.st":!0,"principe.st":!0,"consulado.st":!0,"embaixada.st":!0,"org.st":!0,"edu.st":!0,"net.st":!0,"com.st":!0,"store.st":!0,"mil.st":!0,"co.st":!0,"edu.sv":!0,"gob.sv":!0,"com.sv":!0,"org.sv":!0,"red.sv":!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,"com.tr":!0,"gen.tr":!0,"org.tr":!0,"biz.tr":!0,"info.tr":!0,"av.tr":!0,"dr.tr":!0,"pol.tr":!0,"bel.tr":!0,"tsk.tr":!0,"bbs.tr":!0,"k12.tr":!0,"edu.tr":!0,"name.tr":!0,"net.tr":!0,"gov.tr":!0,"web.tr":!0,"tel.tr":!0,"tv.tr":!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"cat.tt":!0,"tel.tt":!0,"name.tt":!0,"mil.tt":!0,"edu.tt":!0,"gov.tt":!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"com.mu":!0,"gov.mu":!0,"net.mu":!0,"org.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,"ac.mz":!0,"co.mz":!0,"edu.mz":!0,"org.mz":!0,"gov.mz":!0,"com.na":!0,"co.na":!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,"abo.pa":!0,"ac.pa":!0,"com.pa":!0,"edu.pa":!0,"gob.pa":!0,"ing.pa":!0,"med.pa":!0,"net.pa":!0,"nom.pa":!0,"org.pa":!0,"sld.pa":!0,"com.pt":!0,"edu.pt":!0,"gov.pt":!0,"int.pt":!0,"net.pt":!0,"nome.pt":!0,"org.pt":!0,"publ.pt":!0,"com.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"net.qa":!0,"org.qa":!0,"asso.re":!0,"com.re":!0,"nom.re":!0,"ac.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"com.ru":!0,"dagestan.ru":!0,"e-burg.ru":!0,"edu.ru":!0,"gov.ru":!0,"grozny.ru":!0,"int.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"kranoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mil.ru":!0,"mordovia.ru":!0,"mosreg.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"net.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"org.ru":!0,"oryol.ru":!0,"penza.ru":!0,"perm.ru":!0,"pp.ru":!0,"pskov.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"ac.rw":!0,"co.rw":!0,"com.rw":!0,"edu.rw":!0,"gouv.rw":!0,"gov.rw":!0,"int.rw":!0,"mil.rw":!0,"net.rw":!0,"com.sa":!0,"edu.sa":!0,"gov.sa":!0,"med.sa":!0,"net.sa":!0,"org.sa":!0,"pub.sa":!0,"sch.sa":!0,"com.sd":!0,"edu.sd":!0,"gov.sd":!0,"info.sd":!0,"med.sd":!0,"net.sd":!0,"org.sd":!0,"tv.sd":!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"l.se":!0,"m.se":!0,"n.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,"com.sg":!0,"edu.sg":!0,"gov.sg":!0,"idn.sg":!0,"net.sg":!0,"org.sg":!0,"per.sg":!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,"com.sy":!0,"edu.sy":!0,"gov.sy":!0,"mil.sy":!0,"net.sy":!0,"news.sy":!0,"org.sy":!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"info.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,"agrinet.tn":!0,"com.tn":!0,"defense.tn":!0,"edunet.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"info.tn":!0,"intl.tn":!0,"mincom.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"perso.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"tourism.tn":!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"ne.tz":!0,"or.tz":!0,"biz.ua":!0,"cherkassy.ua":!0,"chernigov.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"co.ua":!0,"com.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"edu.ua":!0,"gov.ua":!0,"if.ua":!0,"in.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"ks.ua":!0,"kv.ua":!0,"lg.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lviv.ua":!0,"me.ua":!0,"mk.ua":!0,"net.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odessa.ua":!0,"org.ua":!0,"pl.ua":!0,"poltava.ua":!0,"pp.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sebastopol.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vn.ua":!0,"zaporizhzhe.ua":!0,"zhitomir.ua":!0,"zp.ua":!0,"zt.ua":!0,"ac.ug":!0,"co.ug":!0,"go.ug":!0,"ne.ug":!0,"or.ug":!0,"org.ug":!0,"sc.ug":!0,"ac.uk":!0,"bl.uk":!0,"british-library.uk":!0,"co.uk":!0,"cym.uk":!0,"gov.uk":!0,"govt.uk":!0,"icnet.uk":!0,"jet.uk":!0,"lea.uk":!0,"ltd.uk":!0,"me.uk":!0,"mil.uk":!0,"mod.uk":!0,"national-library-scotland.uk":!0,"nel.uk":!0,"net.uk":!0,"nhs.uk":!0,"nic.uk":!0,"nls.uk":!0,"org.uk":!0,"orgn.uk":!0,"parliament.uk":!0,"plc.uk":!0,"police.uk":!0,"sch.uk":!0,"scot.uk":!0,"soc.uk":!0,"4fd.us":!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,"co.ve":!0,"com.ve":!0,"edu.ve":!0,"gob.ve":!0,"info.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"web.ve":!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,"ac.vn":!0,"biz.vn":!0,"com.vn":!0,"edu.vn":!0,"gov.vn":!0,"health.vn":!0,"info.vn":!0,"int.vn":!0,"name.vn":!0,"net.vn":!0,"org.vn":!0,"pro.vn":!0,"co.ye":!0,"com.ye":!0,"gov.ye":!0,"ltd.ye":!0,"me.ye":!0,"net.ye":!0,"org.ye":!0,"plc.ye":!0,"ac.yu":!0,"co.yu":!0,"edu.yu":!0,"gov.yu":!0,"org.yu":!0,"ac.za":!0,"agric.za":!0,"alt.za":!0,"bourse.za":!0,"city.za":!0,"co.za":!0,"cybernet.za":!0,"db.za":!0,"ecape.school.za":!0,"edu.za":!0,"fs.school.za":!0,"gov.za":!0,"gp.school.za":!0,"grondar.za":!0,"iaccess.za":!0,"imt.za":!0,"inca.za":!0,"kzn.school.za":!0,"landesign.za":!0,"law.za":!0,"lp.school.za":!0,"mil.za":!0,"mpm.school.za":!0,"ncape.school.za":!0,"net.za":!0,"ngo.za":!0,"nis.za":!0,"nom.za":!0,"nw.school.za":!0,"olivetti.za":!0,"org.za":!0,"pix.za":!0,"school.za":!0,"tm.za":!0,"wcape.school.za":!0,"web.za":!0,"ac.zm":!0,"co.zm":!0,"com.zm":!0,"edu.zm":!0,"gov.zm":!0,"net.zm":!0,"org.zm":!0,"sch.zm":!0},T1={ad:!0,ae:!0,af:!0,ag:!0,ai:!0,al:!0,am:!0,ao:!0,aq:!0,ar:!0,as:!0,at:!0,au:!0,aw:!0,ax:!0,az:!0,ba:!0,bb:!0,bd:!0,be:!0,bf:!0,bg:!0,bh:!0,bi:!0,bj:!0,bl:!0,bm:!0,bn:!0,bo:!0,bq:!0,br:!0,bs:!0,bt:!0,bv:!0,bw:!0,by:!0,bz:!0,ca:!0,cc:!0,cd:!0,cf:!0,cg:!0,ch:!0,ci:!0,ck:!0,cl:!0,cm:!0,cn:!0,co:!0,cr:!0,cu:!0,cv:!0,cw:!0,cx:!0,cy:!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,do:!0,dz:!0,ec:!0,ee:!0,eg:!0,er:!0,es:!0,et:!0,fi:!0,fj:!0,fk:!0,fm:!0,fo:!0,fr:!0,ga:!0,"gb (.uk)":!0,gd:!0,ge:!0,gf:!0,gg:!0,gh:!0,gi:!0,gl:!0,gm:!0,gn:!0,gp:!0,gq:!0,gr:!0,gs:!0,gt:!0,gu:!0,gw:!0,gy:!0,hk:!0,hm:!0,hn:!0,hr:!0,ht:!0,hu:!0,id:!0,ie:!0,il:!0,im:!0,in:!0,io:!0,iq:!0,ir:!0,is:!0,it:!0,je:!0,jm:!0,jo:!0,jp:!0,ke:!0,kg:!0,kh:!0,ki:!0,km:!0,kn:!0,kp:!0,kr:!0,kw:!0,ky:!0,kz:!0,la:!0,lb:!0,lc:!0,li:!0,lk:!0,lr:!0,ls:!0,lt:!0,lu:!0,lv:!0,ly:!0,ma:!0,mc:!0,md:!0,me:!0,mf:!0,mg:!0,mh:!0,mk:!0,ml:!0,mm:!0,mn:!0,mo:!0,mp:!0,mq:!0,mr:!0,ms:!0,mt:!0,mu:!0,mv:!0,mw:!0,mx:!0,my:!0,mz:!0,na:!0,nc:!0,ne:!0,nf:!0,ng:!0,ni:!0,nl:!0,no:!0,np:!0,nr:!0,nu:!0,nz:!0,om:!0,pa:!0,pe:!0,pf:!0,pg:!0,ph:!0,pk:!0,pl:!0,pm:!0,pn:!0,pr:!0,ps:!0,pt:!0,pw:!0,py:!0,qa:!0,re:!0,ro:!0,rs:!0,ru:!0,rw:!0,sa:!0,sb:!0,sc:!0,sd:!0,se:!0,sg:!0,sh:!0,si:!0,sj:!0,sk:!0,sl:!0,sm:!0,sn:!0,so:!0,sr:!0,ss:!0,st:!0,sv:!0,sx:!0,sy:!0,sz:!0,tc:!0,td:!0,tf:!0,tg:!0,th:!0,tj:!0,tk:!0,tl:!0,tm:!0,tn:!0,to:!0,tr:!0,tt:!0,tv:!0,tw:!0,tz:!0,ua:!0,ug:!0,us:!0,uy:!0,uz:!0,va:!0,vc:!0,ve:!0,vg:!0,vi:!0,vn:!0,vu:!0,wf:!0,ws:!0,ye:!0,yt:!0,za:!0,zm:!0,zw:!0};function O1(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}var M1=function(e,n){if("string"!=typeof e)return!1;if(n instanceof Object||(n={}),(e=e.toLowerCase()).endsWith(".")&&(e=e.slice(0,e.length-1)),253<(e=n.allowUnicode?R1.toASCII(e):e).length)return!1;if(!/^([a-z0-9-._*]+)$/g.test(e))return!1;if(n.topLevel&&T1[e.replace(/\.$/,"")])return!0;const t=e.match(/(.*)\.(([a-z0-9]+)(\.[a-z0-9]+))/);var r=null,o=null;if(t&&2"object"==typeof e&&null!==e||"function"==typeof e,G1=e=>{if(!U1(e))throw new TypeError("Object keys must be strings or symbols");if("__proto__"===e||"constructor"===e||"prototype"===e)throw new Error(`Cannot set unsafe key: "${e}"`)},z1=(t,r,e)=>{n=r?(()=>{if("string"!=typeof t||!r)return t;let e=t+";";return void 0!==r.arrays&&(e+=`arrays=${r.arrays};`),void 0!==r.separator&&(e+=`separator=${r.separator};`),void 0!==r.split&&(e+=`split=${r.split};`),void 0!==r.merge&&(e+=`merge=${r.merge};`),void 0!==r.preservePaths&&(e+=`preservePaths=${r.preservePaths};`),e})():t;var n=Array.isArray(n)?n.flat().map(String).join(","):n,e=(G1(n),H1.cache.get(n)||e());return H1.cache.set(n,e),e},Z1=(s,u)=>u&&"function"==typeof u.split?u.split(s):"symbol"==typeof s?[s]:Array.isArray(s)?s:z1(s,u,()=>{{var[r,e={}]=[s,u];const o=e.separator||".",i="/"!==o&&e.preservePaths;if("string"==typeof r&&!1!==i&&/\//.test(r))return[r];const a=[];let t="";var n=e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?a.push(t):a.push(e)};for(let e=0;e{if(!t||!F1(e))return e;var o=Z1(t,n);let i=e;for(let e=0;e{H1.cache=new Map};var K1=H1;function W1(n){var i=this,l={},a=(null==n?void 0:n._ancestor_origins)||window.location.ancestorOrigins,s=(null==n?void 0:n.self_url)||window.location.href,u=(null==n?void 0:n.self_origin)||window.location.origin,c=(null==n?void 0:n.referrer_url)||document.referrer;function t(e){{var a=l,s=void 0;if(I1(s)||(s={default:s}),!P1(a))return void 0!==s.default?s.default:a;"number"==typeof e&&(e=String(e));var t=Array.isArray(e),r="string"==typeof e,u=s.separator||".",c=s.joinChar||("string"==typeof u?u:".");if(!r&&!t)return a;if(r&&e in a)return L1(e,a,s)?a[e]:s.default;let n=t?e:(r=e,t=u,"function"==typeof(e=s).split?e.split(r):r.split(t)),o=n.length,i=0;do{let r=n[i];for("number"==typeof r&&(r=String(r));r&&"\\"===r.slice(-1);)r=C1([r.slice(0,-1),n[++i]||""],c,s);if(r in a){if(!L1(r,a,s))return s.default;a=a[r]}else{let e=!1,t=i+1;for(;t=e.version?e:void 0}.bind(this),n=function(e){var t=this;if(A(this,a),!Ft(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;oWb;)!function(t){t in Hb||Lb(Hb,t,{configurable:!0,get:function(){return Ub[t]},set:function(e){Ub[t]=e}})}(Kb[Wb++]);(Nb.constructor=Hb).prototype=Nb,Sp(m,"RegExp",Hb)}Wh("RegExp");var Dp=so.exports,Vb=Tn,s=_n,qb=Hd,Mp="toString",Yb=RegExp.prototype,Qb=Yb.toString,Lp=s(function(){return"/a/b"!=Qb.call({source:"a",flags:"b"})}),Pp=Qb.name!=Mp;(Lp||Pp)&&Dp(RegExp.prototype,Mp,function(){var e=Vb(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in Yb)?qb.call(e):r)},{unsafe:!0});function Jb(e){if(ey(e))throw TypeError("The method doesn't accept regular expressions");return e}function Xb(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[ty]=!1,"/./"[t](r)}catch(t){}}return!1}var ey=Q1,ty=Gi("match"),Bp=So,$p=Mn.f,ry=_o,ny=Jb,oy=xn,Np=Xb,iy="".startsWith,ay=Math.min,Fp=Np("startsWith"),sy=(Bp({target:"String",proto:!0,forced:!(!Fp&&((_=$p(String.prototype,"startsWith"))&&!_.writable)||Fp)},{startsWith:function(e){var t=String(oy(this)),r=(ny(e),ry(ay(1>>0;if(0==n)return[];if(void 0===e)return[r];if(!_y(e))return h.call(r,e,n);for(var o,i,a,s=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,c=new RegExp(e.source,t+"g");(o=Ry.call(c,r))&&!((i=c.lastIndex)>u&&(s.push(r.slice(u,o.index)),1=n));)c.lastIndex===o.index&&c.lastIndex++;return u===r.length?!a&&c.test("")||s.push(""):s.push(r.slice(u)),s.length>n?s.slice(0,n):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:h.call(this,e,t)}:h;return[function(e,t){var r=Ay(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):m.call(String(r),e,t)},function(e,t){var r=g(m,e,this,t,m!==h);if(r.done)return r.value;var r=wy(e),n=String(this),e=xy(r,RegExp),o=r.unicode,i=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(My?"y":"g"),a=new e(My?r:"^(?:"+r.source+")",i),s=void 0===t?Oy:t>>>0;if(0==s)return[];if(0===n.length)return null===Sy(a,n)?[n]:[];for(var u=0,c=0,l=[];c".concat(((t=e).promo_url?'\n \n \n GDFP\n \n \n \n \n \n \n \n \n \n \n Rainbow\n \n \n \n \n \n \n \n '):'\n \n \n GDFP\n \n \n \n \n \n ")).trim(),""):'")).trim();var t}const rw="function"==typeof atob,nw="function"==typeof btoa,ow="function"==typeof nx,iw="function"==typeof TextDecoder?new TextDecoder:void 0,aw="function"==typeof TextEncoder?new TextEncoder:void 0,sw=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],uw=(e=>{let r={};return e.forEach((e,t)=>r[e]=t),r})(sw),cw=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,lw=String.fromCharCode.bind(String),dw="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(e,t=e=>e)=>new Uint8Array(Array.prototype.slice.call(e,0).map(t)),fw=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),pw=nw?e=>btoa(e):ow?e=>nx.from(e,"binary").toString("base64"):t=>{let r,n,o,i,a="";var e=t.length%3;for(let e=0;e>18&63]+sw[r>>12&63]+sw[r>>6&63]+sw[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a},hw=ow?e=>nx.from(e).toString("base64"):r=>{let n=[];for(let e=0,t=r.length;e{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?lw(192|t>>>6)+lw(128|63&t):lw(224|t>>>12&15)+lw(128|t>>>6&63)+lw(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return lw(240|t>>>18&7)+lw(128|t>>>12&63)+lw(128|t>>>6&63)+lw(128|63&t)},mw=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,vw=ow?e=>nx.from(e,"utf8").toString("base64"):aw?e=>hw(aw.encode(e)):e=>pw((e=>e.replace(mw,gw))(e)),bw=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,yw=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return lw(55296+(t>>>10))+lw(56320+(1023&t));case 3:return lw((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return lw((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},_w=rw?e=>atob(fw(e)):ow?e=>nx.from(e,"base64").toString("binary"):t=>{if(t=t.replace(/\s+/g,""),!cw.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let r,n,o,i="";for(let e=0;e>16&255):64===o?lw(r>>16&255,r>>8&255):lw(r>>16&255,r>>8&255,255&r);return i},ww=ow?e=>dw(nx.from(e,"base64")):e=>dw(_w(e),e=>e.charCodeAt(0)),Aw=ow?e=>nx.from(e,"base64").toString("utf8"):iw?e=>iw.decode(ww(e)):e=>(e=>e.replace(bw,yw))(_w(e)),xw=(e,t=!1)=>t?(e=>e.replace(/[+\/]/g,e=>"+"==e?"-":"_").replace(/=+$/m,""))(vw(e)):vw(e),Ew=e=>Aw((e=>fw(e.replace(/[-_]/g,e=>"-"==e?"+":"/")))(e));function kw(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function Sw(t){for(var e=1;e\n\n\n \n ').concat(tw({id:v++,adtag_url:b,error_url:null==g?void 0:g.error_url,impression_url:null==g?void 0:g.impression_url}),'\n \n\n\n \n ').concat(tw({id:+v,adtag_url:h,error_url:null==m?void 0:m.error_url,impression_url:null==m?void 0:m.impression_url}),'\n \n \n \n \n\n').trim(),a.adsResponse=r):c&&l.bidFloorApplied?(n=((f=c).promo_url?f.fallback_url?'\n \n \n \n GDFP\n \n \n \n \n \n \n \n \n \n \n ADS\n \n \n \n \n \n \n \n \n \n Rainbow\n \n \n \n \n \n \n \n '):'\n \n \n \n GDFP\n \n \n \n \n \n \n \n \n \n \n Rainbow\n \n \n \n \n \n \n \n '):f.fallback_url?'\n \n \n \n GDFP\n \n \n \n \n \n \n \n \n \n \n ADS\n \n \n \n \n \n \n \n '):'\n \n \n \n GDFP\n \n \n \n \n \n ")).trim(),a.adsResponse=n):c&&c.fallback_url?(o='\n \n \n \n GDFP\n \n \n \n \n \n \n \n \n \n ADS\n \n \n \n \n \n \n \n ').trim(),a.adsResponse=o):a.adTagUrl=s.url,a.linearAdSlotWidth=this.options.width,a.linearAdSlotHeight=this.options.height,a.nonLinearAdSlotWidth=this.options.width,a.nonLinearAdSlotHeight=this.options.height,a.forceNonLinearFullSlot=!0,this.options.vast_load_timeout&&(a.vastLoadTimeout=this.options.vast_load_timeout),a.setAdWillAutoPlay(_.autoplayAllowed),a.setAdWillPlayMuted(_.autoplayRequiresMute),this.adsLoader.requestAds(a,u);try{this.eventBus.broadcast("AD_SDK_REQUEST",{message:u})}catch(e){}e(a)}catch(e){throw new Error(e)}var d,f,p,h,g,m,v,b}.bind(this))}},{key:"cancel",value:function(){var e;!1!==this.requestRunning&&(this.requestRunning=!1,this._resetAdsLoader(),this._hide("cancel"),this.eventBus.broadcast(e="AD_SDK_CANCELED",{name:e,message:"Advertisement has been canceled.",status:"warning",analytics:{category:this.eventCategory,action:e,label:this.gameData.gameId}}))}},{key:"_checkAutoPlay",value:(Ww=p(h.mark(function e(){var o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(r,e){var n=this,t=(A(this,o),navigator.userAgent.toLowerCase());-1=(null==r?void 0:r.start):t}},{key:"_getT4ROptions",value:function(){var e,t;switch(null==(e=this._adrequest_user_context)?void 0:e.tnl_ad_pos){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.t4r;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.t4r;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.t4r}}},{key:"_is_completed",value:function(e){var t=e.getContentType(),e=e.getAdPodInfo();return!(!t.startsWith("image/")&&"text"!==t&&1!==e.getTotalAds())}},{key:"_get_vmap_context",value:function(e){var t=e.adtag,r=e.position,n=e.config,e=e.dp,o=this._createCustomAdVastUrl(null==n?void 0:n.vast_1)||t,t=this._createCustomAdVastUrl(null==n?void 0:n.vast_2)||t,i=null!=n&&n.vast_1?void 0:e,n=null!=n&&n.vast_2?void 0:e;return{adtag_url_1:null==o?void 0:o.url,adtag_url_2:null==t?void 0:t.url,position:r,dp_1:i,dp_2:n}}},{key:"_get_vmap_config",value:function(e){var t;switch(e){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.vmap;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.vmap;default:return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap}}},{key:"_isDP",value:function(e){var t;return!!e&&("preroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.dp)?void 0:t.enabled))||"midroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.dp)?void 0:t.enabled))||"rewarded"===e&&(!0===(null==(t=this.gameData)||null==(e=t.rAds)?void 0:e.dp)||!0===(null==(t=this.gameData)||null==(e=t.rAds)||null==(t=e.dp)?void 0:t.enabled)))}},{key:"_create_dp_display_context",value:function(){var i=this;return new Promise(function(t){var r=this;A(this,i);try{var e={id:this.topDomain||this.parentDomain,au:"display",ty:"display",aid:this.gameData.gameId,pgu:this.parentURL},n=new Iy(this.gameData).checkCustomParams(),o=(n&&(e.cp=n),encodeURIComponent(xw(JSON.stringify(e))));fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(o)).then(function(e){return A(this,r),e.json()}.bind(this)).then(function(e){if(A(this,r),!e||!e.p)return this.msgrt.send("dp.na",{message:"atom"}),t();this.msgrt.send("dp.fp",{message:e.p/100}),t({params:{fp:e.p/100},error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(o),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(o)})}.bind(this)).catch(function(e){A(this,r),this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this))}catch(e){this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}}.bind(this))}},{key:"_create_dp_context",value:function(s,u){var t,c=this;return new Promise((t=p(h.mark(function e(t){var r,n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,c._isDP(s)){e.next=5;break}return c.msgrt.send("dp.na",{message:"rule"}),e.abrupt("return",t());case 5:o={id:c.topDomain||c.parentDomain,au:s||"unknown",ty:"video",aid:c.gameData.gameId,pgu:c.parentURL},(r=new Iy(c.gameData).checkCustomParams())&&(o.cp=r),n=encodeURIComponent(xw(JSON.stringify(o))),o=null==(r=c.gameData.promo)?void 0:r.rainbow,i=(null==o?void 0:o.enabled)&&!0!==(null==u?void 0:u.fallback_adsense),fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(n)).then(function(e){return A(this,a),e.json()}.bind(this)).then(function(e){if(A(this,a),!e||!e.p)return c.msgrt.send("dp.na",{message:"atom"}),t();e=e.p/100;t({id:Date.now(),floor_price:e,error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(n,"&ec=[ERRORCODE]"),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(n),skip_url:"https://tag.atom.gamedistribution.com/v1/skp?ar=".concat(n),promo_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow?ar=".concat(n):void 0,promo_imp_blue_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/blue":void 0,promo_imp_green_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/green":void 0})}.bind(this)).catch(function(e){A(this,a),c.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this)),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),c.msgrt.send("dp.err",{message:(null===e.t0||void 0===e.t0?void 0:e.t0.message)||e.t0}),t();case 18:case"end":return e.stop()}},e,this,[[0,14]])})),function(e){return t.apply(this,arguments)}))}},{key:"_extend_dp_with_adsense",value:function(e,t){if(e&&t)try{var r,n,o=new ee(t.vastUrl,!0);null!=(r=o.query)&&r.cust_params&&((n=U.parse(o.query.cust_params)).tnl_asset_id&&(n.adsense=1,o.query.cust_params=U.stringify(n,!1),e.fallback_url=o.toString(),e.fallback_imp_url="https://tag.atom.gamedistribution.com/v1/rainbow/green"))}catch(e){}}},{key:"_init_hl_script",value:(jw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this._getPrebidScripts(),r=n[0],window.idhb=window.idhb||{},window.idhb.options=window.idhb.options||{},Object.assign(window.idhb.options,{assetId:this.gameData.gameId,configUrl:this.topDomain||this.parentDomain,parentUrl:this.parentURL,pageType:"gd"}),window.idhb.que=window.idhb.que||[],e.next=8,Zr(r,"gdsdk_prebid",{alternates:n,error_prefix:"Blocked:",exists:function(){return A(this,i),window.idhb.requestAds}.bind(this)});case 8:r=Fr("ch",window.location.href),n=Fr("ch_date",window.location.href),o={tnl_content_category:this.category.toLowerCase()},r&&(o.channel=r),n&&(o.ch_date=n),window.idhb.setAdserverTargeting(o),window.idhb.allowPersonalizedAds(!!parseInt(this.userAllowedPersonalizedAds)),window.idhb.addEventListener("slotRenderEnded",function(e){var t=this;A(this,i);try{var r,n=1===(n=e.slotId.split("@")).length?n[0]:n[1];e.isEmpty?(null!=(r=this.atom_display)&&r.error_url&&(fetch(this.atom_display.error_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_ERROR",{message:n,status:"warning"})):(this.atom_display.impression_url&&(fetch(this.atom_display.impression_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_IMPRESSION",{message:n,status:"success"}))}catch(e){}}.bind(this));case 16:case"end":return e.stop()}},e,this)})),function(e){return jw.apply(this,arguments)})},{key:"_init_ima_script",value:(Pw=p(h.mark(function e(t){var r,n,o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=["https://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","https://imasdk.googleapis.com/js/sdkloader/ima3.js","http://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","http://imasdk.googleapis.com/js/sdkloader/ima3.js"],n=this.options.debug?r[0]:r[1],e.next=4,Zr(n,"gdsdk_ima",{alternates:r,error_prefix:"Blocked:",exists:function(){return A(this,o),window.google&&window.google.ima}.bind(this)});case 4:case"end":return e.stop()}},e,this)})),function(e){return Pw.apply(this,arguments)})},{key:"_init_afg_script",value:(Lw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.gameData.afg_disabled)return e.abrupt("return");e.next=3;break;case 3:return(o={crossorigin:"anonymous"})["data-ad-client"]=0<(null==t||null==(r=t.adsense_client)?void 0:r.length)?t.adsense_client:"ca-pub-2316275586951220",o["data-ad-frequency-hint"]="30s",o.allow="autoplay",0<(null==t||null==(r=t.adsense_channel)?void 0:r.length)&&(o["data-ad-channel"]=t.adsense_channel),0<(null==t||null==(n=t.adsense_host)?void 0:n.length)&&(o["data-ad-host"]=t.adsense_host),!0===(null==t?void 0:t.adsense_adbreak_test)&&(o["data-adbreak-test"]="on"),e.next=14,Zr("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","afg",{error_prefix:"Blocked:",exists:function(){return A(this,i),!!window.adsbygoogle}.bind(this),attrs:o});case 14:window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({sound:"on",preloadAdBreaks:"on"});case 16:case"end":return e.stop()}},e,this)})),function(e){return Lw.apply(this,arguments)})},{key:"clearSession",value:function(){this.requestRunning=!1}},{key:"_startAdsensePlacementRewardedAd",value:(Cw=p(h.mark(function e(t){var r,n,o,i,a,s,u=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("gd:adp _startAdsensePlacementRewardedAd"),e.prev=2,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=6;break;case 6:this.requestRunning=!0,this._send_atom_event("sg.ad.rw.requested"),r=function(){A(this,u),console.log("gd:adp rw beforeAd"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,u),console.log("gd:adp rw afterAd"),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(){A(this,u),console.log("gd:adp rw adDismmissed"),this._send_atom_event("sg.ad.rw.dismissed")}.bind(this),i=function(){A(this,u),console.log("gd:adp rw adViewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"}),this._send_atom_event("sg.ad.rw.viewed")}.bind(this),a=function(e){A(this,u),console.log("gd:adp rw beforeReward"),e()}.bind(this),s=function(e){A(this,u),console.log("gd:adp rw adBreakDone"),this.resetForNext(),this.adCounter.rewarded=this.adCounter.rewarded||0,this.adCounter.rewarded++,"viewed"===e.breakStatus?this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),"dismissed"!==e.breakStatus&&this._send_atom_event("sg.dbg.rw",e))}.bind(this),window.adsbygoogle.push({type:"reward",name:"reward-in-game",beforeAd:r,afterAd:n,adDismissed:o,adViewed:i,beforeReward:a,adBreakDone:s}),console.log("gd:adp rw window.adsbygoogle.push(o). tm",window.adsbygoogle),e.next=22;break;case 18:throw e.prev=18,e.t0=e.catch(2),this._onError(e.t0),e.t0;case 22:case"end":return e.stop()}},e,this,[[2,18]])})),function(e){return Cw.apply(this,arguments)})},{key:"_startAdsensePlacementPreroll",value:(Iw=p(h.mark(function e(t){var r,n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(e){A(this,n),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"}),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"preroll",adBreakDone:r}),e.next=16;break;case 12:throw e.prev=12,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 16:case"end":return e.stop()}},e,this,[[1,12]])})),function(e){return Iw.apply(this,arguments)})},{key:"_startAdsensePlacementStart",value:(Mw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"start",name:"start-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return Mw.apply(this,arguments)})},{key:"_startAdsensePlacementNext",value:(Ow=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.mr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.midroll=this.adCounter.midroll||0,this.adCounter.midroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.mr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.mr",e))}.bind(this),window.adsbygoogle.push({type:"next",name:"next-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return Ow.apply(this,arguments)})},{key:"_send",value:function(e,t){try{var r=this.msgrt,n=r._layout,o=r._ua,i={tp:e,ct:0,vrs:this.PackageJSON.version,url:this.parentURL,rfr:document.referrer,tdmn:this.topDomain||this.parentDomain,dpth:0,args:t,ua:{brnm:o.browser.name,brvs:o.browser.version,osnm:o.os.name,osvs:o.os.version,dvmd:o.device.model,w:n.w,h:n.h}};fetch("https://tag.atom.gamedistribution.com/v1/dmp?ar=".concat(encodeURIComponent(xw(JSON.stringify(i)))))}catch(e){}}},{key:"_send_atom_event",value:function(e,t){this._send(e,{gid:this.gameData.slug,md5:this.gameData.gameId,pid:0,pnm:this.gameData.pname,ctry:this.gameData.ctry,lcl:"en",hle:1,ads:1,args:t,href:window.location.href})}},{key:"_isAfgPositionNext",value:function(e){return void 0!==e.adTimestamp}},{key:"_isAfgPositionStart",value:function(e){return void 0===e.adTimestamp&&(this.adCounter.preroll=this.adCounter.preroll||0,0===this.adCounter.preroll)}},{key:"attachAfgPosition",value:function(e){var t=e.params.position;switch(t){case"preroll":case"start":case"pause":case"next":case"browse":case"reward":return}var r=e.adType;r===g.Rewarded?t="reward":r===g.Interstitial&&(this._isAfgPositionStart(e)?t=null==(r=this.gameData.pAds)||!r.enabled||null!=(r=this.gameData.loader)&&r.enabled?"start":"next":this._isAfgPositionNext(e)&&(t="next")),e.params.position=t}}]),eA),Qw={},Jw={},Xw=null;function eA(e,t,r){var n=this;if(te(this,eA),qw)return qw;var o={debug:!1,width:640,height:360,locale:"en"},t=((qw=this).options=t?Nr(o,t):o,this.prefix="gdsdk__",this.adsLoader=null,this.adsManager=null,this.adDisplayContainer=null,this.eventBus=new cn,this.safetyTimer=null,this.containerTransitionSpeed=0,this.adCounter={},this.adPrerollCount=0,this.adMidrollCount=0,this.adRewardedCount=0,this.preloadedAdType=null,this.requestRunning=!1,this.parentDomain=r.parentDomain,this.topDomain=r.topDomain,this.parentURL=r.parentURL,this.adDisplayContainerInitialized=!1,this.IMASampleTags={interstitial:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirectlinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirecterror&correlator="],rewarded:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator="]},this.atom_display,this.adType_="",this.userAllowedPersonalizedAds=0<=document.location.search.indexOf("gdpr-targeting=0")||0<=document.cookie.indexOf("ogdpr_advertisement=0")?"0":"1",this.parentDomain.includes("girlsgogames")&&(this.userAllowedPersonalizedAds=!1),this.thirdPartyContainer=""!==e?document.getElementById(e):null,this.options.width="number"==typeof this.options.width?this.options.width:"100%"===this.options.width?640:this.options.width.replace(/[^0-9]/g,""),this.options.height="number"==typeof this.options.height?this.options.height:"100%"===this.options.height?360:this.options.height.replace(/[^0-9]/g,""),window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth),o=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.options.width=this.thirdPartyContainer?this.thirdPartyContainer.offsetWidth:t,this.options.height=this.thirdPartyContainer?this.thirdPartyContainer.offsetHeight:o,this.category="",this.tags=[],this.eventCategory="AD",this.eventBus.subscribe("LOADED",function(){A(this,n),this._clearSafetyTimer("LOADED"),this._startSafetyTimer(8e3,"LOADED")}.bind(this),"ima"),this.eventBus.subscribe("STARTED",function(){A(this,n),this._clearSafetyTimer("STARTED")}.bind(this),"ima")}function tA(){for(var e,t=window,r=null,n=null;!e;){try{if("function"==typeof t.__tcfapi||"function"==typeof t.__cmp){r="function"==typeof t.__tcfapi?(n=2,t.__tcfapi):(n=1,t.__cmp),e=t;break}}catch(e){}try{if(t.frames.__tcfapiLocator){n=2,e=t;break}}catch(e){}try{if(t.frames.__cmpLocator){n=1,e=t;break}}catch(e){}if(t===window.top)break;t=t.parent}return Qw.version=n,Qw.frame=e,Qw.function=r,Qw.version}function rA(n){var t=this;return Xw=Xw||new Promise(function(r){function e(e,t){if(Tw("Received a response from CMP",e),t){if(!1!==e.gdprApplies)return"tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus?(("boolean"!=typeof(t=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:n.defaultGdprScope)||!0===t&&"string"!=typeof e.tcString)&&r({result:"cmpUnexpectedResponse",cmp:Qw,consentData:e}),void r({result:"ok",consentData:e})):void 0;r({result:"ok",consentData:e})}else r({result:"cmpCallFailed"})}A(this,t),tA(),Qw.frame?2===Qw.version?(Tw("TCF v2 CMP found. Fetching the consent."),Qw.function?(Tw("CMP API is directly accessible, calling it now..."),Qw.function("addEventListener",Qw.version,e)):(Tw("CMP API is outside the current iframe, calling it now..."),function(i,e){var a=this,s="__tcfapi";window[s]=function(e,t,r,n){A(this,a);var o=Math.random()+"",e=bn({},"".concat(s,"Call"),{command:e,parameter:n,callId:o,version:t});Jw[o]=r,i.postMessage(e,"*")}.bind(this),window.addEventListener("message",function e(t){var r="".concat(s,"Return");(t="string"==typeof t.data&&0<=t.data.indexOf(r)?JSON.parse(t.data):t.data)[r]&&t[r].callId&&(t=t[r],void 0!==Jw[t.callId]&&Jw[t.callId](t.returnValue,t.success))},!1),window[s]("addEventListener",Qw.version,e)}(Qw.frame,e))):r({result:"cmpVersionNotV2",cmp:Qw}):r({result:"cmpNotFound"})}.bind(this))}ne(iA,[{key:"checkIfExcluded",value:function(e){try{var t,r;return!(null==(t=e.diagnostic)||null==(r=t.gameDock)||!r.excluded)}catch(e){return console.log("Error on checkIfExclude check",e),!1}}},{key:"track",value:(nA=p(h.mark(function e(t,r){var n,o,i,a;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.checkIfExcluded(r))return e.abrupt("return");e.next=3;break;case 3:if(n=null==t||null==(n=t.visitor)?void 0:n.visitorId){e.next=6;break}return e.abrupt("return");case 6:return o=encodeURIComponent(this.productName),i=encodeURIComponent(n),e.prev=8,a="https://tracker-v4.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=12,fetch(a,{method:"POST"});case 12:e.next=28;break;case 15:return e.prev=15,e.t0=e.catch(8),console.log("GAME_DOCK. fail v4",e.t0),e.prev=18,a="https://tracker.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=22,fetch(a,{method:"POST"});case 22:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(18),console.log("GAME_DOCK. fail v6",e.t1);case 28:case"end":return e.stop()}},e,this,[[8,15],[18,25]])})),function(e,t){return nA.apply(this,arguments)})}]);var nA,oA=new iA;function iA(){te(this,iA),this.productName="Game Distribution"}function aA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(f);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a.key,u=a.value;n.setAttribute(s,u)}}catch(e){i.e(e)}finally{i.f()}}(p=p||document.head).appendChild(n)}catch(e){var c="Error on script load catch, Error: ".concat(d);console.log(c,e),t(c)}}.bind(this))}var uA,cA="140feb72-7952-4420-8ae5-e8978d87bc17",lA=(uA=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,sA({src:"https://cdn.cookielaw.org/consent/tcf.stub.js",attributes:[{key:"id",value:"gd-cookie-pro-tcf-stub"},{key:"charset",value:"UTF-8"}],isAsync:!1});case 3:return e.next=5,sA({src:"https://cookie-cdn.cookiepro.com/consent/".concat(cA,"/OtAutoBlock.js"),attributes:[{key:"id",value:"gd-cookie-pro-autoblock"}],isAsync:!1});case 5:return e.next=7,sA({src:"https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js",attributes:[{key:"id",value:"gd-cookie-pro-stub"},{key:"charset",value:"UTF-8"},{key:"data-domain-script",value:cA}],isAsync:!1});case 7:o=n=void 0,r=(t={inlineScript:"function OptanonWrapper() { }"}).inlineScript,n=t.target,(o=document.createElement("script")).text=r,(n=n||document.head).appendChild(o),console.log("GD: CMP cookie pro loaded successfully."),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("GD: CMP error on load",e.t0);case 14:case"end":return e.stop()}var t,r,n,o},e,null,[[0,11]])})),function(){return uA.apply(this,arguments)}),Jh={exports:{}},R="object"==typeof Reflect?Reflect:null,dA=R&&"function"==typeof R.apply?R.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},fA=R&&"function"==typeof R.ownKeys?R.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},pA=Number.isNaN||function(e){return e!=e};function hA(){hA.init.call(this)}Jh.exports=hA,Jh.exports.once=function(o,i){return new Promise(function(e,t){function r(e){o.removeListener(i,n),t(e)}function n(){"function"==typeof o.removeListener&&o.removeListener("error",r),e([].slice.call(arguments))}xA(o,i,n,{once:!0}),"error"!==i&&"function"==typeof o.on&&xA(o,"error",r,{once:!0})})},(hA.EventEmitter=hA).prototype._events=void 0,hA.prototype._eventsCount=0,hA.prototype._maxListeners=void 0;var gA=10;function mA(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function vA(e){return void 0===e._maxListeners?hA.defaultMaxListeners:e._maxListeners}function bA(e,t,r,n){var o,i;return mA(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener||r),o=e._events),i=o[t]),void 0===i?(i=o[t]=r,++e._eventsCount):("function"==typeof i?i=o[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),0<(o=vA(e))&&i.length>o&&!i.warned&&(i.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=e,n.type=t,n.count=i.length,console&&console.warn&&console.warn(n))),e}function yA(e,t,r){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},t=function e(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(e);return t.listener=r,e.wrapFn=t}function _A(e,t,r){e=e._events;if(void 0===e)return[];e=e[t];{if(void 0===e)return[];if("function"==typeof e)return r?[e.listener||e]:[e];if(r){for(var n=e,o=new Array(n.length),i=0;i(null==(t=r.diagnostic)||null==(t=t.useMidrollIndex)?void 0:t.indexes.length)-1||(n=6e4*(null==(t=r.diagnostic)||null==(t=t.useMidrollIndex)?void 0:t.indexes[this.adInstance.adMidrollCount])):n=r.midroll,e.adType===g.Interstitial&&void 0!==this.adRequestTimer&&Date.now()-this.adRequestTimer ".concat(e)}),(e.startsWith("https://play.google.com")||e.startsWith("https://itunes.apple.com"))&&this.window_open.call(null,e)}.bind(this):window.open=this.window_open)}},{key:"_removeExternalsInHtml",value:function(e){var o=this;!1===e.enabled&&window.document.querySelectorAll("a").forEach(function(e){var t=this,r=(A(this,o),!!(e.innerText.toLowerCase().includes("start")||e.innerText.toLowerCase().includes("play")||e.innerText.toLowerCase().includes("continue"))),n=e.getAttribute("href");e.removeAttribute("href"),r||(e.onclick=function(e){return A(this,t),e.preventDefault(),this.msgrt.send("external",{message:"H> ".concat(n)}),!1}.bind(this))}.bind(this))}},{key:"_getBridgeContext",value:function(){var e=this._isTokenGameURL(),t=this._isMasterGameURL(),r=this._isExtHostedGameURL(),n=(e||r?this._getTokenGameURLConfig():{})||{},o=decodeURIComponent((e||r)&&n.parentURL?n.parentURL:function(){var e=Gr();if(e.gd_sdk_referrer_url)return e.gd_sdk_referrer_url;var t,e=window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer:document.location.href;return-1!==document.referrer.indexOf("gameplayer.io")?(e="https://gamedistribution.com",(t=Fr("ref",document.referrer))&&""!==t&&"{portal%20name}"!==t&&"{spilgames}"!==t&&"{portal name}"!==t&&(e=zr(t).replace(/^(?:https?:\/\/)?(?:\/\/)?/i,""),e="https://".concat(e))):-1!==document.referrer.indexOf("localhost")&&(e="https://gamedistribution.com/"),e}()),i=decodeURIComponent((e||r)&&n.parentDomain?n.parentDomain:(a=((a=Gr()).gd_sdk_referrer_url||(window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer.split("/")[2]:document.location.host)).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0],-1!==document.referrer.indexOf("gameplayer.io")?(a="gamedistribution.com",(i=Fr("ref",document.referrer))&&""!==i&&"{portal%20name}"!==i&&"{spilgames}"!==i&&"{portal name}"!==i&&(a=zr(i).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0])):-1!==document.referrer.indexOf("localhost")&&(a="gamedistribution.com"),a)),a=decodeURIComponent((e||r)&&n.topDomain?n.topDomain:r&&0===Hr()?i:function(){var e=Hr();if(0===e)return location.host.replace(/^www\.(.*)$/i,"$1");if(location.ancestorOrigins&&0=e.version?e:void 0}},{key:"_selectRandomOne",value:function(e){var t=this;if(!Ft(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o>16&255,a[s++]=r>>8&255,a[s++]=255&r;2===o&&(r=c[t.charCodeAt(n)]<<2|c[t.charCodeAt(n+1)]>>4,a[s++]=255&r);1===o&&(r=c[t.charCodeAt(n)]<<10|c[t.charCodeAt(n+1)]<<4|c[t.charCodeAt(n+2)]>>2,a[s++]=r>>8&255,a[s++]=255&r);return a},r.fromByteArray=function e(t){for(var r,n=t.length,o=n%3,i=[],a=0,s=n-o;a>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}(o));return i.join("")}(t,a,s>2]+u[r<<4&63]+"==")):2==o&&(r=(t[n-2]<<8)+t[n-1],i.push(u[r>>10]+u[r>>4&63]+u[r<<2&63]+"="));return i.join("")};for(var u=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o>>1;case"base64":return R(e).length;default:if(o)return n?-1:S(e).length;t=(""+t).toLowerCase(),o=!0}}function r(e,t,r){var n=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((r=void 0===r||r>this.length?this.length:r)<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function e(t,r,n){var o=t.length;(!r||r<0)&&(r=0);(!n||n<0||o=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=f.from(t,n)),f.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a/=i=2,s/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o)for(var c=-1,l=r;l>8,o=o%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o>>10&1023|55296),l=56320|1023&l),n.push(l),o+=d}return function e(t){var r=t.length;if(r<=y)return String.fromCharCode.apply(String,t);var n="",o=0;for(;or&&(t+=" ... "),""},f.prototype.compare=function e(t,r,n,o,i){if(T(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===n&&(n=t?t.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),(r=void 0===r?0:r)<0||n>t.length||o<0||i>this.length)throw new RangeError("out of range index");if(i<=o&&n<=r)return 0;if(i<=o)return-1;if(n<=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(o>>>=0),s=(n>>>=0)-(r>>>=0),u=Math.min(a,s),c=this.slice(o,i),l=t.slice(r,n),d=0;d>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var i=this.length-r;if((void 0===n||ithis.length)throw new RangeError("Attempt to write outside buffer bounds");o=o||"utf8";for(var a=!1;;)switch(o){case"hex":return function e(t,r,n,o){n=Number(n)||0;var i=t.length-n;(!o||i<(o=Number(o)))&&(o=i),(i=r.length)/2e.length)throw new RangeError("Index out of range")}function A(e,t,r,n){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function x(e,t,r,n,o){return t=+t,r>>>=0,o||A(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,o){return t=+t,r>>>=0,o||A(e,0,r,8),i.write(e,t,r,n,52,8),r+8}f.prototype.slice=function e(t,r){var n=this.length,n=((t=~~t)<0?(t+=n)<0&&(t=0):n>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t],i=1,a=0;++a>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t+--r],i=1;0>>=0,r||_(t,1,this.length),this[t]},f.prototype.readUInt16LE=function e(t,r){return t>>>=0,r||_(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function e(t,r){return t>>>=0,r||_(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function e(t,r){return t>>>=0,r||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function e(t,r){return t>>>=0,r||_(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t],i=1,a=0;++a>>=0,r>>>=0,n||_(t,r,this.length);for(var o=r,i=1,a=this[t+--o];0>>=0,r||_(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function e(t,r){t>>>=0,r||_(t,2,this.length);r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function e(t,r){t>>>=0,r||_(t,2,this.length);r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function e(t,r){return t>>>=0,r||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function e(t,r){return t>>>=0,r||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function e(t,r){return t>>>=0,r||_(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function e(t,r){return t>>>=0,r||_(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function e(t,r){return t>>>=0,r||_(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function e(t,r){return t>>>=0,r||_(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function e(t,r,n,o){t=+t,r>>>=0,n>>>=0,o||w(this,t,r,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[r]=255&t;++a>>=0,n>>>=0,o||w(this,t,r,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[r+i]=255&t;0<=--i&&(a*=256);)this[r+i]=t/a&255;return r+n},f.prototype.writeUInt8=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,1,255,0),this[r]=255&t,r+1},f.prototype.writeUInt16LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeUInt16BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeUInt32LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},f.prototype.writeUInt32BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeIntLE=function e(t,r,n,o){t=+t,r>>>=0,o||w(this,t,r,n,(o=Math.pow(2,8*n-1))-1,-o);var i=0,a=1,s=0;for(this[r]=255&t;++i>0)-s&255;return r+n},f.prototype.writeIntBE=function e(t,r,n,o){t=+t,r>>>=0,o||w(this,t,r,n,(o=Math.pow(2,8*n-1))-1,-o);var i=n-1,a=1,s=0;for(this[r+i]=255&t;0<=--i&&(a*=256);)t<0&&0===s&&0!==this[r+i+1]&&(s=1),this[r+i]=(t/a>>0)-s&255;return r+n},f.prototype.writeInt8=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,1,127,-128),this[r]=255&(t=t<0?255+t+1:t),r+1},f.prototype.writeInt16LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeInt16BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeInt32LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},f.prototype.writeInt32BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,2147483647,-2147483648),this[r]=(t=t<0?4294967295+t+1:t)>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeFloatLE=function e(t,r,n){return x(this,t,r,!0,n)},f.prototype.writeFloatBE=function e(t,r,n){return x(this,t,r,!1,n)},f.prototype.writeDoubleLE=function e(t,r,n){return E(this,t,r,!0,n)},f.prototype.writeDoubleBE=function e(t,r,n){return E(this,t,r,!1,n)},f.prototype.copy=function e(t,r,n,o){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n=n||0,o||0===o||(o=this.length),r>=t.length&&(r=t.length),(o=0=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length);var i=(o=t.length-r>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(t=t||0))for(a=r;a>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function R(e){return o.toByteArray(function e(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function D(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function O(e){return e!=e}}.call(this)}.call(this,M("buffer").Buffer)},{"base64-js":2,buffer:3,ieee754:4}],4:[function(e,t,r){r.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<>1,l=-7,d=r?o-1:0,f=r?-1:1,o=e[t+d];for(d+=f,i=o&(1<<-l)-1,o>>=-l,l+=s;0>=-l,l+=n;0>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,p=n?1:-1,i=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(t+=1<=a+l?d/n:d*Math.pow(2,1-l))*n&&(a++,n/=2),c<=a+l?(s=0,a=c):1<=a+l?(s=(t*n-1)*Math.pow(2,o),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,o),a=0));8<=o;e[r+f]=255&s,f+=p,s/=256,o-=8);for(a=a<