-
Notifications
You must be signed in to change notification settings - Fork 1
/
gd_api.js
8 lines (8 loc) · 493 KB
/
gd_api.js
1
2
3
4
5
6
7
8
/*
* Project: @gamedistribution.com/html5-sdk
* Description: GameDistribution.com HTML5 SDK
* Development By: GameDistribution.com
* Copyright(c): 2023
* Version: 1.35.0 (10-07-2023 11:46)
*/
!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<a.length;e++)s(a[e]);return s}({1:[function(e,t,r){!function(QI,e3,t3){!function(){!function(){"use strict";function j(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function d(s){return function(){var e=this,a=arguments;return new Promise(function(t,r){var n=s.apply(e,a);function o(e){j(n,t,r,o,i,"next",e)}function i(e){j(n,t,r,o,i,"throw",e)}o(void 0)})}}function O(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}function U(e){return(U="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)}var $="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e3?e3:"undefined"!=typeof self?self:{};var B,N,F,e={exports:{}},t={exports:{}};function G(){B.exports=function(){return a},B.exports.__esModule=!0,B.exports.default=B.exports;var a={},e=Object.prototype,u=e.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),n=new w(n||[]);return o(t,"_invoke",{value:function e(n,o,i){var a="suspendedStart";return function(e,t){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===e)throw t;return x()}for(i.method=e,i.arg=t;;){var r=i.delegate;if(r){r=function e(t,r){var n=r.method,o=t.iterator[n];if(void 0===o)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=l(o,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,i);if(r){if(r===d)continue;return r}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===a)throw a="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a="executing";r=l(n,o,i);if("normal"===r.type){if(a=i.done?"completed":"suspendedYield",r.arg===d)continue;return{value:r.arg,done:i.done}}"throw"===r.type&&(a="completed",i.method="throw",i.arg=r.arg)}}}(e,r,n)}),t}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=c;var d={};function f(){}function p(){}function h(){}var t={},m=(s(t,n,function(){return this}),Object.getPrototypeOf),m=m&&m(m(A([]))),g=(m&&m!==e&&u.call(m,n)&&(t=m),h.prototype=f.prototype=Object.create(t));function v(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function b(a,s){var t;o(this,"_invoke",{value:function(r,n){function e(){return new s(function(e,t){!function t(e,r,n,o){var i,e=l(a[e],a,r);if("throw"!==e.type)return(r=(i=e.arg).value)&&"object"==N(r)&&u.call(r,"__await")?s.resolve(r.__await).then(function(e){t("next",e,n,o)},function(e){t("throw",e,n,o)}):s.resolve(r).then(function(e){i.value=e,n(i)},function(e){return t("throw",e,n,o)});o(e.arg)}(r,n,e,t)})}return t=t?t.then(e,e):e()}})}function y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function A(t){if(t){var r,e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(e=function e(){for(;++r<t.length;)if(u.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:x}}function x(){return{value:void 0,done:!0}}return o(g,"constructor",{value:p.prototype=h,configurable:!0}),o(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,i,"GeneratorFunction")),e.prototype=Object.create(g),e},a.awrap=function(e){return{__await:e}},v(b.prototype),s(b.prototype,r,function(){return this}),a.AsyncIterator=b,a.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var i=new b(c(e,t,r,n),o);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},v(g),s(g,i,"Generator"),s(g,n,function(){return this}),s(g,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,r=Object(e),n=[];for(t in r)n.push(t);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in r)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=A,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function e(e,t){return i.type="throw",i.arg=r,n.next=e,t&&(n.method="next",n.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r,n,o=this.tryEntries[t];if(o.tryLoc===e)return"throw"===(r=o.completion).type&&(n=r.arg,_(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},a}function z(e){return F.exports=z="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},F.exports.__esModule=!0,F.exports.default=F.exports,z(e)}(F=t).exports=z,F.exports.__esModule=!0,F.exports.default=F.exports,B=e,N=t.exports.default,B.exports=G,B.exports.__esModule=!0,B.exports.default=B.exports;var t=e.exports(),I=t;try{regeneratorRuntime=t}catch(j){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}var Z={},H=Object.prototype.hasOwnProperty;function K(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function q(e){try{return encodeURIComponent(e)}catch(e){return null}}Z.stringify=function(e,t){var r,n,o=[];for(n in"string"!=typeof(t=t||"")&&(t="?"),e)if(H.call(e,n)){if((r=e[n])||null!=r&&!isNaN(r)||(r=""),n=q(n),r=q(r),null===n||null===r)continue;o.push(n+"="+r)}return o.length?t+o.join("&"):""},Z.parse=function(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={};o=t.exec(e);){var n=K(o[1]),o=K(o[2]);null===n||null===o||n in r||(r[n]=o)}return r};function V(e,t){if(t=t.split(":")[0],e=+e){switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return}return 0!==e}}var W=Z,Y=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,J=/[\n\r\t]/g,X=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,Q=/:\d+$/,ee=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,te=/^[a-zA-Z]:/;function re(e){return(e||"").toString().replace(Y,"")}var ne=[["#","hash"],["?","query"],function(e,t){return ae(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],oe={hash:1,query:1};function ie(e){var t,r=("undefined"!=typeof window?window:void 0!==$?$:"undefined"!=typeof self?self:{}).location||{},n={},r=typeof(e=e||r);if("blob:"===e.protocol)n=new ue(unescape(e.pathname),{});else if("string"==r)for(t in n=new ue(e,{}),oe)delete n[t];else if("object"==r){for(t in e)t in oe||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=X.test(e.href))}return n}function ae(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function se(e,t){e=(e=re(e)).replace(J,""),t=t||{};var r,e=ee.exec(e),n=e[1]?e[1].toLowerCase():"",o=!!e[2],i=!!e[3],a=0;return o?a=i?(r=e[2]+e[3]+e[4],e[2].length+e[3].length):(r=e[2]+e[4],e[2].length):i?(r=e[3]+e[4],a=e[3].length):r=e[4],"file:"===n?2<=a&&(r=r.slice(2)):ae(n)?r=e[4]:n?o&&(r=r.slice(2)):2<=a&&ae(t.protocol)&&(r=e[4]),{protocol:n,slashes:o||ae(n),slashesCount:a,rest:r}}function ue(e,t,r){if(e=(e=re(e)).replace(J,""),!(this instanceof ue))return new ue(e,t,r);var n,o,i,a,s,u=ne.slice(),c=typeof t,l=this,d=0;for("object"!=c&&"string"!=c&&(r=t,t=null),r&&"function"!=typeof r&&(r=W.parse),n=!(c=se(e||"",t=ie(t))).protocol&&!c.slashes,l.slashes=c.slashes||n&&t.slashes,l.protocol=c.protocol||t.protocol||"",e=c.rest,("file:"===c.protocol&&(2!==c.slashesCount||te.test(e))||!c.slashes&&(c.protocol||c.slashesCount<2||!ae(l.protocol)))&&(u[3]=[/(.*)/,"pathname"]);d<u.length;d++)"function"!=typeof(i=u[d])?(o=i[0],s=i[1],o!=o?l[s]=e:"string"==typeof o?~(a="@"===o?e.lastIndexOf(o):e.indexOf(o))&&(e="number"==typeof i[2]?(l[s]=e.slice(0,a),e.slice(a+i[2])):(l[s]=e.slice(a),e.slice(0,a))):(a=o.exec(e))&&(l[s]=a[1],e=e.slice(0,a.index)),l[s]=l[s]||n&&i[3]&&t[s]||"",i[4]&&(l[s]=l[s].toLowerCase())):e=i(e,l);r&&(l.query=r(l.query)),n&&t.slashes&&"/"!==l.pathname.charAt(0)&&(""!==l.pathname||""!==t.pathname)&&(l.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,t=r[n-1],o=!1,i=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),i++):i&&(0===n&&(o=!0),r.splice(n,1),i--);return o&&r.unshift(""),"."!==t&&".."!==t||r.push(""),r.join("/")}(l.pathname,t.pathname)),"/"!==l.pathname.charAt(0)&&ae(l.protocol)&&(l.pathname="/"+l.pathname),V(l.port,l.protocol)||(l.host=l.hostname,l.port=""),l.username=l.password="",l.auth&&(~(a=l.auth.indexOf(":"))?(l.username=l.auth.slice(0,a),l.username=encodeURIComponent(decodeURIComponent(l.username)),l.password=l.auth.slice(a+1),l.password=encodeURIComponent(decodeURIComponent(l.password))):l.username=encodeURIComponent(decodeURIComponent(l.auth)),l.auth=l.password?l.username+":"+l.password:l.username),l.origin="file:"!==l.protocol&&ae(l.protocol)&&l.host?l.protocol+"//"+l.host:"null",l.href=l.toString()}ue.prototype={set:function(e,t,r){var n=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||W.parse)(t)),n[e]=t;break;case"port":n[e]=t,V(t,n.protocol)?t&&(n.host=n.hostname+":"+t):(n.host=n.hostname,n[e]="");break;case"hostname":n[e]=t,n.port&&(t+=":"+n.port),n.host=t;break;case"host":n[e]=t,Q.test(t)?(t=t.split(":"),n.port=t.pop(),n.hostname=t.join(":")):(n.hostname=t,n.port="");break;case"protocol":n.protocol=t.toLowerCase(),n.slashes=!r;break;case"pathname":case"hash":t?(o="pathname"===e?"/":"#",n[e]=t.charAt(0)!==o?o+t:t):n[e]=t;break;case"username":case"password":n[e]=encodeURIComponent(t);break;case"auth":var o=t.indexOf(":");~o?(n.username=t.slice(0,o),n.username=encodeURIComponent(decodeURIComponent(n.username)),n.password=t.slice(o+1),n.password=encodeURIComponent(decodeURIComponent(n.password))):n.username=encodeURIComponent(decodeURIComponent(t))}for(var i=0;i<ne.length;i++){var a=ne[i];a[4]&&(n[a[1]]=n[a[1]].toLowerCase())}return n.auth=n.password?n.username+":"+n.password:n.username,n.origin="file:"!==n.protocol&&ae(n.protocol)&&n.host?n.protocol+"//"+n.host:"null",n.href=n.toString(),n},toString:function(e){e&&"function"==typeof e||(e=W.stringify);var t=this,r=t.host,n=t.protocol,n=(n&&":"!==n.charAt(n.length-1)&&(n+=":"),n+(t.protocol&&t.slashes||ae(t.protocol)?"//":""));return t.username?(n+=t.username,t.password&&(n+=":"+t.password),n+="@"):t.password?n=n+(":"+t.password)+"@":"file:"!==t.protocol&&ae(t.protocol)&&!r&&"/"!==t.pathname&&(n+="@"),(":"===r[r.length-1]||Q.test(t.hostname)&&!t.port)&&(r+=":"),n+=r+t.pathname,(r="object"==typeof t.query?e(t.query):t.query)&&(n+="?"!==r.charAt(0)?"?"+r:r),t.hash&&(n+=t.hash),n}},ue.extractProtocol=se,ue.location=ie,ue.trimLeft=re,ue.qs=W;var ce=ue;function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e){e=function(e){if("object"!==U(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==U(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e);return"symbol"===U(e)?e:String(e)}function fe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,de(n.key),n)}}function pe(e,t,r){return t&&fe(e.prototype,t),r&&fe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var he,me,ge,ve,be,ye,_e,we,Ae,xe,ke,Ee,Se,Re,De,Te,Oe,Ie,Ce,Me,Le,Pe,je,Ue,$e,Be,Ne,Fe,Ge,ze,Ze,He,Ke,qe,Ve,We,Ye,Je,Xe,Qe,et,tt,rt,nt,ot,it,at,st,ut,ct,lt,dt,ft,pt,ht,e={exports:{}};function mt(e,t){return e.set(t[0],t[1]),e}function gt(e,t){return e.add(t),e}function vt(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}function bt(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function yt(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function _t(t,r){return function(e){return t(r(e))}}function wt(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function At(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function xt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function kt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Et(e){this.__data__=new xt(e)}function St(e,t){var r,n,o,i=pt(e)||(n=r=e)&&"object"==typeof n&&Ut(n)&&Ve.call(r,"callee")&&(!et.call(r,"callee")||We.call(r)==ge)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],a=i.length,s=!!a;for(o in e)!t&&!Ve.call(e,o)||s&&("length"==o||function e(t,r){return(r=null==r?me:r)&&("number"==typeof t||ze.test(t))&&-1<t&&t%1==0&&t<r}(o,a))||i.push(o);return i}function Rt(e,t,r){var n=e[t];Ve.call(e,t)&&jt(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function Dt(e,t){for(var r=e.length;r--;)if(jt(e[r][0],t))return r;return-1}function Tt(u,e,t,r,n,o,i){var a;if(void 0===(a=r?o?r(u,n,o,i):r(u):a)){if(!Bt(u))return u;var s,c,l,n=pt(u);if(n){if(g=(c=u).length,l=c.constructor(g),g&&"string"==typeof c[0]&&Ve.call(c,"index")&&(l.index=c.index,l.input=c.input),a=l,!e){var d=u;var f=a;var p=-1,h=d.length;for(f=f||Array(h);++p<h;)f[p]=d[p];return f;return}}else{var m=ft(u),g=m==ye||m==_e;if(ht(u))return c=u,e?c.slice():(l=new c.constructor(c.length),c.copy(l),l);if(m==xe||m==ge||g&&!o){if(bt(u))return o?u:{};if(a="function"==typeof(b=g?{}:u).constructor&&!Lt(b)&&Bt(b=Xe(b))?Qe(b):{},!e)return b=u,s=(s=a)&&It(u,Nt(u),s),It(b,dt(b),s)}else{if(!Ze[m])return o?u:{};a=function(e,t,r){var n,o,i,a,s=e.constructor;switch(m){case Oe:return Ot(e);case ve:case be:return new s(+e);case Ie:return i=e,a=r?Ot(i.buffer):i.buffer,new i.constructor(a,i.byteOffset,i.byteLength);case Ce:case Me:case Le:case Pe:case je:case Ue:case $e:case Be:case Ne:return a=e,i=r?Ot(a.buffer):a.buffer,new a.constructor(i,a.byteOffset,a.length);case we:return o=e,vt(r?t(yt(o),!0):yt(o),mt,new o.constructor);case Ae:case Re:return new s(e);case Ee:return(n=new(o=e).constructor(o.source,Fe.exec(o))).lastIndex=o.lastIndex,n;case Se:return n=e,vt(r?t(wt(n),!0):wt(n),gt,new n.constructor);case De:return lt?Object(lt.call(e)):{}}}(u,Tt,e)}}var v,b=(i=i||new Et).get(u);if(b)return b;i.set(u,a);for(var y,_,w=(v=n?v:t?function(){var e=u,t=dt,r=Nt(e);if(pt(e))return r;for(var n=r,o=t(e),i=-1,a=o.length,s=n.length;++i<a;)n[s+i]=o[i];return n}():Nt(u))||u,A=-1,x=w?w.length:0;++A<x&&!1!==(y=w[A],_=A,v&&(y=u[_=y]),void Rt(a,_,Tt(y,e,t,r,_,u,i))););}return a}function Ot(e){var t=new e.constructor(e.byteLength);return new Je(t).set(new Je(e)),t}function It(e,t,r,n){r=r||{};for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n?n(r[a],e[a],a,r,e):void 0;Rt(r,a,void 0===s?e[a]:s)}return r}function Ct(e,t){var r,e=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?e["string"==typeof t?"string":"hash"]:e.map}function Mt(e,t){e=null==e?void 0:e[t];return function e(t){return Bt(t)&&!(Ke&&Ke in t)&&($t(t)||bt(t)?Ye:Ge).test(Pt(t))}(e)?e:void 0}function Lt(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||He)}function Pt(e){if(null!=e){try{return qe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function jt(e,t){return e===t||e!=e&&t!=t}function Ut(e){return null!=e&&"number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=me&&!$t(e);var t}function $t(e){e=Bt(e)?We.call(e):"";return e==ye||e==_e}function Bt(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Nt(e){return(Ut(e)?St:function(e){if(!Lt(e))return rt(e);var t,r=[];for(t in Object(e))Ve.call(e,t)&&"constructor"!=t&&r.push(t);return r})(e)}Mr=(t=e).exports,he="__lodash_hash_undefined__",me=9007199254740991,ye="[object Function]",_e="[object GeneratorFunction]",ke="[object Promise]",Te="[object WeakMap]",Fe=/\w*$/,Ge=/^\[object .+?Constructor\]$/,ze=/^(?:0|[1-9]\d*)$/,(Ze={})[ge="[object Arguments]"]=Ze["[object Array]"]=Ze[Oe="[object ArrayBuffer]"]=Ze[Ie="[object DataView]"]=Ze[ve="[object Boolean]"]=Ze[be="[object Date]"]=Ze[Ce="[object Float32Array]"]=Ze[Me="[object Float64Array]"]=Ze[Le="[object Int8Array]"]=Ze[Pe="[object Int16Array]"]=Ze[je="[object Int32Array]"]=Ze[we="[object Map]"]=Ze[Ae="[object Number]"]=Ze[xe="[object Object]"]=Ze[Ee="[object RegExp]"]=Ze[Se="[object Set]"]=Ze[Re="[object String]"]=Ze[De="[object Symbol]"]=Ze[Ue="[object Uint8Array]"]=Ze[$e="[object Uint8ClampedArray]"]=Ze[Be="[object Uint16Array]"]=Ze[Ne="[object Uint32Array]"]=!0,Ze["[object Error]"]=Ze[ye]=Ze[Te]=!1,n="object"==typeof $&&$&&$.Object===Object&&$,o="object"==typeof self&&self&&self.Object===Object&&self,n=n||o||Function("return this")(),o=Mr&&!Mr.nodeType&&Mr,Mr=(Mr=o&&t&&!t.nodeType&&t)&&Mr.exports===o,o=Array.prototype,r=Function.prototype,He=Object.prototype,i=n["__core-js_shared__"],Ke=(i=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",qe=r.toString,Ve=He.hasOwnProperty,We=He.toString,Ye=RegExp("^"+qe.call(Ve).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),i=Mr?n.Buffer:void 0,r=n.Symbol,Je=n.Uint8Array,Xe=_t(Object.getPrototypeOf,Object),Qe=Object.create,et=He.propertyIsEnumerable,tt=o.splice,Mr=Object.getOwnPropertySymbols,o=i?i.isBuffer:void 0,rt=_t(Object.keys,Object),i=Mt(n,"DataView"),nt=Mt(n,"Map"),Do=Mt(n,"Promise"),go=Mt(n,"Set"),n=Mt(n,"WeakMap"),ot=Mt(Object,"create"),it=Pt(i),at=Pt(nt),st=Pt(Do),ut=Pt(go),ct=Pt(n),r=r?r.prototype:void 0,lt=r?r.valueOf:void 0,At.prototype.clear=function(){this.__data__=ot?ot(null):{}},At.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},At.prototype.get=function(e){var t,r=this.__data__;return ot?(t=r[e])===he?void 0:t:Ve.call(r,e)?r[e]:void 0},At.prototype.has=function(e){var t=this.__data__;return ot?void 0!==t[e]:Ve.call(t,e)},At.prototype.set=function(e,t){return this.__data__[e]=ot&&void 0===t?he:t,this},xt.prototype.clear=function(){this.__data__=[]},xt.prototype.delete=function(e){var t=this.__data__,e=Dt(t,e);return!(e<0||(e==t.length-1?t.pop():tt.call(t,e,1),0))},xt.prototype.get=function(e){var t=this.__data__,e=Dt(t,e);return e<0?void 0:t[e][1]},xt.prototype.has=function(e){return-1<Dt(this.__data__,e)},xt.prototype.set=function(e,t){var r=this.__data__,n=Dt(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},kt.prototype.clear=function(){this.__data__={hash:new At,map:new(nt||xt),string:new At}},kt.prototype.delete=function(e){return Ct(this,e).delete(e)},kt.prototype.get=function(e){return Ct(this,e).get(e)},kt.prototype.has=function(e){return Ct(this,e).has(e)},kt.prototype.set=function(e,t){return Ct(this,e).set(e,t),this},Et.prototype.clear=function(){this.__data__=new xt},Et.prototype.delete=function(e){return this.__data__.delete(e)},Et.prototype.get=function(e){return this.__data__.get(e)},Et.prototype.has=function(e){return this.__data__.has(e)},Et.prototype.set=function(e,t){var r=this.__data__;if(r instanceof xt){var n=r.__data__;if(!nt||n.length<199)return n.push([e,t]),this;r=this.__data__=new kt(n)}return r.set(e,t),this},dt=Mr?_t(Mr,Object):function(){return[]},ft=function(e){return We.call(e)},(i&&ft(new i(new ArrayBuffer(1)))!=Ie||nt&&ft(new nt)!=we||Do&&ft(Do.resolve())!=ke||go&&ft(new go)!=Se||n&&ft(new n)!=Te)&&(ft=function(e){var t=We.call(e),e=t==xe?e.constructor:void 0,e=e?Pt(e):void 0;if(e)switch(e){case it:return Ie;case at:return we;case st:return ke;case ut:return Se;case ct:return Te}return t}),pt=Array.isArray,ht=o||function(){return!1},t.exports=function(e){return Tt(e,!0,!0)};var Ft=e.exports;function Gt(e){return"[object Object]"===Object.prototype.toString.call(e)}function zt(e){return!1!==Gt(e)&&(void 0===(e=e.constructor)||!1!==Gt(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf"))}function Zt(e){var t;return!!e&&("[object Function]"===(t=Xt.call(e))||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt))}var Ht,Kt,qt=String.prototype.valueOf,Vt=Object.prototype.toString,Wt=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"!=typeof Symbol.iterator){var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}}return!0}()&&!!Symbol.toStringTag,r=Array.isArray,Yt=Object.prototype.toString,Jt=r||function(e){return!!e&&"[object Array]"==Yt.call(e)},Xt=Object.prototype.toString,Qt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Qt&&Qt,er="URLSearchParams"in Qt,tr="Symbol"in Qt&&"iterator"in Symbol,rr="FileReader"in Qt&&"Blob"in Qt&&function(){try{return new Blob,!0}catch(e){return!1}}(),nr="FormData"in Qt,or="ArrayBuffer"in Qt;function ir(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ar(e){return e="string"!=typeof e?String(e):e}function sr(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return tr&&(e[Symbol.iterator]=function(){return e}),e}function ur(t){this.map={},t instanceof ur?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function cr(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function lr(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function dr(e){var t=new FileReader,r=lr(t);return t.readAsArrayBuffer(e),r}function fr(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function pr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:rr&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:nr&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:er&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():or&&rr&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=fr(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):or&&(ArrayBuffer.prototype.isPrototypeOf(e)||Kt(e))?this._bodyArrayBuffer=fr(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):er&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},rr&&(this.blob=function(){var e=cr(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?cr(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(dr)}),this.text=function(){var e,t,r=cr(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=lr(e),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},nr&&(this.formData=function(){return this.text().then(gr)}),this.json=function(){return this.text().then(JSON.parse)},this}or&&(Ht=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Kt=ArrayBuffer.isView||function(e){return e&&-1<Ht.indexOf(Object.prototype.toString.call(e))}),ur.prototype.append=function(e,t){e=ir(e),t=ar(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},ur.prototype.delete=function(e){delete this.map[ir(e)]},ur.prototype.get=function(e){return e=ir(e),this.has(e)?this.map[e]:null},ur.prototype.has=function(e){return this.map.hasOwnProperty(ir(e))},ur.prototype.set=function(e,t){this.map[ir(e)]=ar(t)},ur.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},ur.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),sr(r)},ur.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),sr(t)},ur.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),sr(r)},tr&&(ur.prototype[Symbol.iterator]=ur.prototype.entries);var hr=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function mr(e,t){if(!(this instanceof mr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof mr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ur(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ur(t.headers)),this.method=(e=t.method||this.method||"GET",r=e.toUpperCase(),-1<hr.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function gr(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function vr(e,t){if(!(this instanceof vr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ur(t.headers),this.url=t.url||"",this._initBody(e)}mr.prototype.clone=function(){return new mr(this,{body:this._bodyInit})},pr.call(mr.prototype),pr.call(vr.prototype),vr.prototype.clone=function(){return new vr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ur(this.headers),url:this.url})},vr.error=function(){var e=new vr(null,{status:0,statusText:""});return e.type="error",e};var br=[301,302,303,307,308],yr=(vr.redirect=function(e,t){if(-1===br.indexOf(t))throw new RangeError("Invalid status code");return new vr(null,{status:t,headers:{location:e}})},Qt.DOMException);try{new yr}catch(j){(yr=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),yr.prototype.constructor=yr}function _r(n,a){return new Promise(function(o,e){var t=new mr(n,a);if(t.signal&&t.signal.aborted)return e(new yr("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new ur,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},n=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){o(new vr(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new yr("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&Qt.location.href?Qt.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(rr?i.responseType="blob":or&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof ur?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,ar(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}_r.polyfill=!0,Qt.fetch||(Qt.fetch=_r,Qt.Headers=ur,Qt.Request=mr,Qt.Response=vr);var wr,Ar,xr,kr,Er,Sr,Rr,s,u,c,l,f,Dr,p,h,Tr,Or,Ir,Cr,Mr={exports:{}};function Lr(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t}function Pr(e,t){return typeof e===Rr&&-1!==Or(t).indexOf(Or(e))}function jr(e,t){if(typeof e===Rr)return e=e.replace(/^\s\s*/,""),typeof t==Er?e:e.substring(0,350)}function Ur(e,t){for(var r,n,o,i,a,s=0;s<t.length&&!i;){for(var u=t[s],c=t[s+1],l=r=0;l<u.length&&!i&&u[l];)if(i=u[l++].exec(e))for(n=0;n<c.length;n++)a=i[++r],typeof(o=c[n])===Sr&&0<o.length?2===o.length?typeof o[1]==kr?this[o[0]]=o[1].call(this,a):this[o[0]]=o[1]:3===o.length?typeof o[1]!==kr||o[1].exec&&o[1].test?this[o[0]]=a?a.replace(o[1],o[2]):Ar:this[o[0]]=a?o[1].call(this,a,o[2]):Ar:4===o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):Ar):this[o]=a||Ar;s+=2}}function $r(e,t){for(var r in t)if(typeof t[r]===Sr&&0<t[r].length){for(var n=0;n<t[r].length;n++)if(Pr(t[r][n],e))return"?"===r?Ar:r}else if(Pr(t[r],e))return"?"===r?Ar:r;return e}function Br(e,t){var r,n,o,i,a;return typeof e===Sr&&(t=e,e=Ar),this instanceof Br?(r=typeof wr!=Er&&wr.navigator?wr.navigator:Ar,n=e||(r&&r.userAgent?r.userAgent:""),o=r&&r.userAgentData?r.userAgentData:Ar,i=t?function(e,t){var r,n={};for(r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Ir,t):Ir,a=r&&r.userAgent==n,this.getBrowser=function(){var e,t={};return t[u]=Ar,t[f]=Ar,Ur.call(t,n,i.browser),t.major=typeof(e=t[f])===Rr?e.replace(/[^\d\.]/g,"").split(".")[0]:Ar,a&&r&&r.brave&&typeof r.brave.isBrave==kr&&(t[u]="Brave"),t},this.getCPU=function(){var e={};return e[Dr]=Ar,Ur.call(e,n,i.cpu),e},this.getDevice=function(){var e={};return e[l]=Ar,e[s]=Ar,e[c]=Ar,Ur.call(e,n,i.device),a&&!e[c]&&o&&o.mobile&&(e[c]=p),a&&"Macintosh"==e[s]&&r&&typeof r.standalone!=Er&&r.maxTouchPoints&&2<r.maxTouchPoints&&(e[s]="iPad",e[c]=h),e},this.getEngine=function(){var e={};return e[u]=Ar,e[f]=Ar,Ur.call(e,n,i.engine),e},this.getOS=function(){var e={};return e[u]=Ar,e[f]=Ar,Ur.call(e,n,i.os),a&&!e[u]&&o&&"Unknown"!=o.platform&&(e[u]=o.platform.replace(/chrome os/i,Tr).replace(/macos/i,"Mac OS")),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===Rr&&350<e.length?jr(e,350):e,this},this.setUA(n),this):new Br(e,t).getResult()}Do=(i=Mr).exports,wr="object"==typeof window?window:$,kr="function",Er="undefined",Sr="object",Rr="string",Ir={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f="version",[u="name",go="Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,f],[/opios[\/ ]+([\w\.]+)/i],[f,[u,(n="Opera")+" Mini"]],[/\bopr\/([\w\.]+)/i],[f,[u,n]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[u,"UC"+(o="Browser")]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[f,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[f,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+o],f],[/\bfocus\/([\w\.]+)/i],[f,[u,(t="Firefox")+" Focus"]],[/\bopt\/([\w\.]+)/i],[f,[u,n+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[u,n+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[u,"MIUI "+o]],[/fxios\/([-\w\.]+)/i],[f,[u,t]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+o]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+o],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,e="Facebook"],f],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[f,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[u,go+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,go+" WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[u,"Android "+o]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,f],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[f,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[f,$r,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[u,t+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[u,f],[/(cobalt)\/([\w\.]+)/i],[u,[f,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[Dr="architecture","amd64"]],[/(ia32(?=;))/i],[[Dr,Or=function(e){return e.toLowerCase()}]],[/((?:i[346]|x)86)[;\)]/i],[[Dr,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[Dr,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[Dr,"armhf"]],[/windows (ce|mobile); ppc;/i],[[Dr,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[Dr,/ower/,"",Or]],[/(sun4\w)[;\)]/i],[[Dr,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[Dr,Or]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[s="model",[l="vendor",r="Samsung"],[c="type",h="tablet"]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[s,[l,r],[c,p="mobile"]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[s,[l,n="Apple"],[c,p]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[l,n],[c,h]],[/(macintosh);/i],[s,[l,n]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[l,"Sharp"],[c,p]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[s,[l,"Huawei"],[c,h]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[s,[l,"Huawei"],[c,p]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[s,/_/g," "],[l,o="Xiaomi"],[c,p]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[s,/_/g," "],[l,o],[c,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[l,"OPPO"],[c,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[l,"Vivo"],[c,p]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[s,[l,"Realme"],[c,p]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[s,[l,zn="Motorola"],[c,p]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[l,zn],[c,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[l,"LG"],[c,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[l,"LG"],[c,p]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[s,[l,"Lenovo"],[c,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[s,/_/g," "],[l,"Nokia"],[c,p]],[/(pixel c)\b/i],[s,[l,zn="Google"],[c,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[l,zn],[c,p]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[s,[l,Ro="Sony"],[c,p]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[l,Ro],[c,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[l,"OnePlus"],[c,p]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[s,[l,qn="Amazon"],[c,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[l,qn],[c,p]],[/(playbook);[-\w\),; ]+(rim)/i],[s,l,[c,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[s,[l,ho="BlackBerry"],[c,p]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[l,"ASUS"],[c,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[l,"ASUS"],[c,p]],[/(nexus 9)/i],[s,[l,"HTC"],[c,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[l,[s,/_/g," "],[c,p]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[l,"Acer"],[c,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[l,"Meizu"],[c,p]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[l,s,[c,p]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[l,s,[c,h]],[/(surface duo)/i],[s,[l,po="Microsoft"],[c,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[l,"Fairphone"],[c,p]],[/(u304aa)/i],[s,[l,"AT&T"],[c,p]],[/\bsie-(\w*)/i],[s,[l,"Siemens"],[c,p]],[/\b(rct\w+) b/i],[s,[l,"RCA"],[c,h]],[/\b(venue[\d ]{2,7}) b/i],[s,[l,"Dell"],[c,h]],[/\b(q(?:mv|ta)\w+) b/i],[s,[l,"Verizon"],[c,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[l,"Barnes & Noble"],[c,h]],[/\b(tm\d{3}\w+) b/i],[s,[l,"NuVision"],[c,h]],[/\b(k88) b/i],[s,[l,"ZTE"],[c,h]],[/\b(nx\d{3}j) b/i],[s,[l,"ZTE"],[c,p]],[/\b(gen\d{3}) b.+49h/i],[s,[l,"Swiss"],[c,p]],[/\b(zur\d{3}) b/i],[s,[l,"Swiss"],[c,h]],[/\b((zeki)?tb.*\b) b/i],[s,[l,"Zeki"],[c,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[l,"Dragon Touch"],s,[c,h]],[/\b(ns-?\w{0,9}) b/i],[s,[l,"Insignia"],[c,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[l,"NextBook"],[c,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[l,"Voice"],s,[c,p]],[/\b(lvtel\-)?(v1[12]) b/i],[[l,"LvTel"],s,[c,p]],[/\b(ph-1) /i],[s,[l,"Essential"],[c,p]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[l,"Envizen"],[c,h]],[/\b(trio[-\w\. ]+) b/i],[s,[l,"MachSpeed"],[c,h]],[/\btu_(1491) b/i],[s,[l,"Rotor"],[c,h]],[/(shield[\w ]+) b/i],[s,[l,"Nvidia"],[c,h]],[/(sprint) (\w+)/i],[l,s,[c,p]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[l,po],[c,p]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[l,Kn="Zebra"],[c,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[l,Kn],[c,p]],[/smart-tv.+(samsung)/i],[l,[c,xo="smarttv"]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[l,r],[c,xo]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[l,"LG"],[c,xo]],[/(apple) ?tv/i],[l,[s,n+" TV"],[c,xo]],[/crkey/i],[[s,go+"cast"],[l,zn],[c,xo]],[/droid.+aft(\w)( bui|\))/i],[s,[l,qn],[c,xo]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[s,[l,"Sharp"],[c,xo]],[/(bravia[\w ]+)( bui|\))/i],[s,[l,Ro],[c,xo]],[/(mitv-\w{5}) bui/i],[s,[l,o],[c,xo]],[/Hbbtv.*(technisat) (.*);/i],[l,s,[c,xo]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[l,jr],[s,jr],[c,xo]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,xo]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[l,s,[c,r="console"]],[/droid.+; (shield) bui/i],[s,[l,"Nvidia"],[c,r]],[/(playstation [345portablevi]+)/i],[s,[l,Ro],[c,r]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[l,po],[c,r]],[/((pebble))app/i],[l,s,[c,o="wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[s,[l,n],[c,o]],[/droid.+; (glass) \d/i],[s,[l,zn],[c,o]],[/droid.+; (wt63?0{2,3})\)/i],[s,[l,Kn],[c,o]],[/(quest( 2| pro)?)/i],[s,[l,e],[c,o]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[l,[c,Ro="embedded"]],[/(aeobc)\b/i],[s,[l,qn],[c,Ro]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[s,[c,p]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[c,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,h]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,p]],[/(android[-\w\. ]{0,9});.+buil/i],[s,[l,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[f,$r,po={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[f,$r,po]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[f,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,f],[/\(bb(10);/i],[f,[u,ho]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[u,t+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[f,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[f,[u,go+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,Tr="Chromium OS"],f],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,f],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,f]]},Br.VERSION="0.7.35",Br.BROWSER=Lr([u,f,"major"]),Br.CPU=Lr([Dr]),Br.DEVICE=Lr([s,l,c,r,p,xo,h,o,Ro]),Br.ENGINE=Br.OS=Lr([u,f]),(Do=i.exports?i.exports=Br:Do).UAParser=Br,(Cr=typeof wr!=Er&&(wr.jQuery||wr.Zepto))&&!Cr.ua&&(xr=new Br,Cr.ua=xr.getResult(),Cr.ua.get=function(){return xr.getUA()},Cr.ua.set=function(e){xr.setUA(e);var t,r=xr.getResult();for(t in r)Cr.ua[t]=r[t]});var Nr=Mr.exports;const Fr="function"==typeof atob,Gr="function"==typeof btoa,zr="function"==typeof t3,Zr="function"==typeof TextDecoder?new TextDecoder:void 0,Hr="function"==typeof TextEncoder?new TextEncoder:void 0,Kr=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),qr=(e=>{let r={};return e.forEach((e,t)=>r[e]=t),r})(Kr),Vr=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Wr=String.fromCharCode.bind(String),Yr="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Jr=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Xr=Gr?e=>btoa(e):zr?e=>t3.from(e,"binary").toString("base64"):t=>{let r,n,o,i,a="";var e=t.length%3;for(let e=0;e<t.length;){if(255<(n=t.charCodeAt(e++))||255<(o=t.charCodeAt(e++))||255<(i=t.charCodeAt(e++)))throw new TypeError("invalid character found");r=n<<16|o<<8|i,a+=Kr[r>>18&63]+Kr[r>>12&63]+Kr[r>>6&63]+Kr[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a},Qr=zr?e=>t3.from(e).toString("base64"):r=>{var n=[];for(let e=0,t=r.length;e<t;e+=4096)n.push(Wr.apply(null,r.subarray(e,e+4096)));return Xr(n.join(""))},en=e=>{var t;return e.length<2?(t=e.charCodeAt(0))<128?e:t<2048?Wr(192|t>>>6)+Wr(128|63&t):Wr(224|t>>>12&15)+Wr(128|t>>>6&63)+Wr(128|63&t):(t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320),Wr(240|t>>>18&7)+Wr(128|t>>>12&63)+Wr(128|t>>>6&63)+Wr(128|63&t))},tn=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,rn=zr?e=>t3.from(e,"utf8").toString("base64"):Hr?e=>Qr(Hr.encode(e)):e=>{return Xr(e.replace(tn,en))},nn=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,on=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 Wr(55296+(t>>>10))+Wr(56320+(1023&t));case 3:return Wr((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Wr((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},an=Fr?e=>atob(Jr(e)):zr?e=>t3.from(e,"base64").toString("binary"):t=>{if(t=t.replace(/\s+/g,""),!Vr.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let r,n,o,i="";for(let e=0;e<t.length;)r=qr[t.charAt(e++)]<<18|qr[t.charAt(e++)]<<12|(n=qr[t.charAt(e++)])<<6|(o=qr[t.charAt(e++)]),i+=64===n?Wr(r>>16&255):64===o?Wr(r>>16&255,r>>8&255):Wr(r>>16&255,r>>8&255,255&r);return i},sn=zr?e=>Yr(t3.from(e,"base64")):e=>Yr(an(e).split("").map(e=>e.charCodeAt(0))),un=zr?e=>t3.from(e,"base64").toString("utf8"):Zr?e=>Zr.decode(sn(e)):e=>{return an(e).replace(nn,on)},cn=(e,t=!1)=>{return t?rn(e).replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"):rn(e)},ln=e=>{return un((e=e,Jr(e.replace(/[-_]/g,e=>"-"==e?"+":"/"))))};var g={Rewarded:"rewarded",Interstitial:"interstitial",Preroll:"interstitial",Midroll:"interstitial",Display:"display"};function dn(e,t){for(var r in t)t.hasOwnProperty(r)&&null!==t[r]&&void 0!==t[r]&&(e[r]=t[r]);return e}function fn(){var e,t=mn(),t=(t.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];return-1!==document.referrer.indexOf("gameplayer.io")?(t="gamedistribution.com",(e=hn("ref",document.referrer))&&""!==e&&"{portal%20name}"!==e&&"{spilgames}"!==e&&"{portal name}"!==e&&(t=gn(e).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0])):-1!==document.referrer.indexOf("localhost")&&(t="gamedistribution.com"),t}function pn(){var e,t=mn();return t.gd_sdk_referrer_url?(0===yn()&&(t.gd_sdk_referrer_url=document.location.href),t.gd_sdk_referrer_url):(t=window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer:document.location.href,-1!==document.referrer.indexOf("gameplayer.io")?(t="https://gamedistribution.com",(e=hn("ref",document.referrer))&&""!==e&&"{portal%20name}"!==e&&"{spilgames}"!==e&&"{portal name}"!==e&&(t=gn(e).replace(/^(?:https?:\/\/)?(?:\/\/)?/i,""),t="https://".concat(t))):-1!==document.referrer.indexOf("localhost")&&(t="https://gamedistribution.com/"),t)}function hn(e,t){t=t||window.location.href,e=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(t);return e?e[1]:null}function mn(){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 gn(e){for(;function e(t){return(t=t||"")!==decodeURIComponent(t)}(e);)e=decodeURIComponent(e);return e}function vn(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"windows":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":""}function bn(a,s,u){return new Promise(function(e,t){if(u&&u.exists&&u.exists())e(_n(null==u?void 0:u.alternates));else{var r=u&&u.alternates&&0<u.alternates.length?_n(u.alternates):void 0,n=r||document.createElement("script"),o=u&&u.error_prefix?u.error_prefix:"Failed:";if(n.onload=function(){u&&u.exists&&!u.exists()?t("".concat(o," ").concat(a)):e(n)},n.onerror=function(){t("".concat(o," ").concat(a))},!r){if(n.type="text/javascript",!0===u.defer?n.defer=!0:n.async=!0,null!=u&&u.attrs)for(var i in u.attrs)n.setAttribute(i,u.attrs[i]);n.src=a,n.id=s,document.head.appendChild(n)}}})}function yn(){var e=0,t=window;try{for(;t!=t.parent;)e++,t=t.parent}catch(e){}return e}function _n(e){if(e&&e.length){var t=document.querySelectorAll("script");if(t)for(var r in t){r=t[r];if(e.includes(r.src))return r}}}function wn(e){return!!localStorage.getItem(e)}function An(){var e=yn();if(0===e)return location.host.replace(/^www\.(.*)$/i,"$1");if(location.ancestorOrigins&&0<location.ancestorOrigins.length)return location.ancestorOrigins[location.ancestorOrigins.length-1].replace(/^https?:\/\/(www\.)?(.*)$/i,"$2");if(1===e){e=function(e){if(e&&""!==e)try{return new ce(e)}catch(e){}}(document.referrer);if(e)return e.host.replace(/^www\.(.*)$/i,"$1")}}var xn=function(e,t){return wn(e)?"true"===(e=localStorage.getItem(e))||!0===e||1===e||"1"===e:t},kn=function(){var e=Date.now();try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}(),En=function(e){localStorage.removeItem(e)},Sn=function(e,t){localStorage.setItem(e,t)},Rn=Date.now(),Dn={console:!1};function Tn(e,t,r){try{var n,o;(kn&&xn("gd_debug_ex")||Dn&&!0===Dn.console)&&(n="error"===r?"background: #c4161e; color: #fff":"warning"===r?"background: #ff8c1c; color: #fff":"info"===r?"background: #ff0080; color: #fff":"background: #44a5ab; color: #fff",o=console.log("["+(Date.now()-Rn)/1e3+"s]%c %c %c gdsdk %c %c %c "+e+" ","background: #9854d8","background: #6c2ca7","color: #fff; background: #450f78;","background: #6c2ca7","background: #9854d8",n,void 0!==t?t:""),console.log.apply(console,o))}catch(e){console.log(e)}}function On(e){return e&&e.Math==Math&&e}function In(t,r){try{Hn(Zn,t,{value:r,configurable:!0,writable:!0})}catch(e){Zn[t]=r}return r}var Cn=["SDK_READY","SDK_ERROR","SDK_LB_LOGIN","SDK_SHW_LB","SDK_GAME_START","SDK_GAME_PAUSE","SDK_GDPR_TRACKING","SDK_GDPR_TARGETING","SDK_GDPR_THIRD_PARTY","AD_SDK_MANAGER_READY","AD_SDK_CANCELED","AD_IS_ALREADY_RUNNING","SDK_REWARDED_WATCH_COMPLETE"],Mn=["AD_ERROR","AD_BREAK_READY","AD_METADATA","ALL_ADS_COMPLETED","CLICK","COMPLETE","CONTENT_PAUSE_REQUESTED","CONTENT_RESUME_REQUESTED","DURATION_CHANGE","FIRST_QUARTILE","IMPRESSION","INTERACTION","LINEAR_CHANGED","LOADED","LOG","MIDPOINT","PAUSED","RESUMED","SKIPPABLE_STATE_CHANGED","SKIPPED","STARTED","THIRD_QUARTILE","USER_CLOSE","VOLUME_CHANGED","VOLUME_MUTED","DISPLAYAD_IMPRESSION","DISPLAYAD_ERROR"],Ln=1010,Pn=1020,jn=1100,Un=null,$n=(pe(Xn,[{key:"_getListenerIdx",value:function(e,t,r){var n,o=this.listeners[e],i=-1;if(o&&0!==o.length)for(n=0;n<o.length;n++)if(o[n].callback===t&&(!r||r===o[n].scope)){i=n;break}return i}},{key:"subscribe",value:function(e,t,r){if(!e)throw new Error("Event name cannot be null or undefined.");if(!t||"function"!=typeof t)throw new Error("Listener must be of type function.");0<=this._getListenerIdx(e,t,r)?console.log(e,r):(t={callback:t,scope:r},this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t))}},{key:"unsubscribeScope",value:function(e){for(var t=Object.keys(this.listeners),r=0;r<t.length;r++){for(var n=t[r],o=this.listeners[n],i=0;i<o.length;i++)o[i].scope===e&&(o.splice(i,1),i--);0===o.length&&delete this.listeners[n]}}},{key:"broadcast",value:function(e,t){var r=this.listeners[e];e&&this.listeners[e]&&((t=t||{}).name=t.name||e,r.forEach(function(e){e.callback.call(e.scope,t,e.scope)}))}},{key:"printScope",value:function(e){for(var t=Object.keys(this.listeners),r=0;r<t.length;r++)for(var n=t[r],o=this.listeners[n],i=0;i<o.length;i++)o[i].scope===e&&console.log(n,e)}}]),Xn),Bn=(pe(Jn,[{key:"transform",value:function(e,t){e=Ft(e);return this.transformValue(e,t)}},{key:"transformValue",value:function(t,e){if(zt(t)||Jt(t))for(var r in t)t[r]=this.transformValue(t[r],e);else if("string"==typeof(u=t)||"object"==typeof u&&(Wt?function(e){try{return qt.call(e),!0}catch(e){return!1}}(u):"[object String]"===Vt.call(u))){var n,o,i,a=/\{\{(\w+)\}\}/g,s=[];do{}while((n=a.exec(t))&&(n[0],o=n[1],void 0!==(i=this.getMacroKeyValue(o,e)))&&s.push({key:o,value:i}),n);0<s.length&&s.forEach(function(e){t=t.replace(new RegExp("{{"+e.key+"}}","g"),e.value)})}var u;return t}},{key:"getMacroKeyValue",value:function(e,t){switch(e){case"CACHEBUSTER":return Date.now();case"GAME_ID":return this.game.gameId;case"GAME_TITLE":return this.game.title;case"COUNTRY_CODE":return this.game.ctry;case"PAGE_URL":return this.bridge.parentURL;case"PAGE_URL_ESC":return encodeURIComponent(this.bridge.parentURL);case"PAGE_URL_ESC_ESC":return encodeURIComponent(encodeURIComponent(this.bridge.parentURL));case"DOMAIN_MATCHED":return this.bridge.domainMatched?1:0;case"DOMAIN_PARENT":return this.bridge.parentDomain;case"DOMAIN_TOP":return this.bridge.topDomain;case"DEPTH":case"GAME_DEPTH":return this.bridge.depth;default:if(t&&Zt(t.get))return t.get(e)}}}]),Jn),Nn=(pe(Yn,[{key:"_init_layout",value:function(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this._layout={w:e-=e%64,h:t-=t%64}}},{key:"send",value:function(e,t){if(!this._config.isCoreSDKMode){this._size="".concat(this._layout.w," x ").concat(this._layout.h);var r=this._topic_counter[e]||0,r=(this._topic_counter[e]=++r,{gmid:this._config.gameId,tdmn:this._config.topDomain,domn:this._config.domain,rfrr:this._config.referrer,lthr:this._config.hours,ctry:this._config.country,dpth:this._config.depth,vers:this._config.version,trac:this._config.tracking,whlb:this._config.whitelabel,plat:this._config.platform,tpct:r,args:t,ttle:document.title,size:this._size,brnm:this._ua.browser.name,brmj:this._ua.browser.major,osnm:this._ua.os.name,osvr:this._ua.os.version,dvmd:this._ua.device.model,byld:this._config.byloader,bylv:this._config.byloaderVersion,imgu:this._config.isMasterGameURL,iegu:this._config.isExtHostedGameURL,itgu:this._config.isTokenGameURL,cmpe:!1,host:window.location.hostname});"undefined"!=typeof idhb&&void 0!==idhb.iabCmpExists()&&(r.cmpe=idhb.iabCmpExists());try{r=encodeURIComponent(cn(JSON.stringify([r]))),fetch(this._url+"?tp=com.gdsdk.".concat(e,"&ar=").concat(r,"&ts=").concat(Date.now()))}catch(e){}}}},{key:"setGameData",value:function(e){this._gameData=e,this._config.country=e.ctry}}]),Yn),Fn=null,Gn=(pe(Wn,[{key:"start",value:function(){var e="\n #gdsdk__console_container {\n display: flex;\n box-sizing: border-box;\n padding: 3px;\n background: linear-gradient(90deg,#3d1b5d,#5c3997);\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);\n color: #fff;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 8px;\n }\n #gdsdk__console_container button {\n flex: 1;\n background: #44a5ab;\n padding: 3px 10px;\n margin: 2px;\n border: 0;\n border-radius: 3px;\n color: #fff;\n outline: 0;\n cursor: pointer;\n font-size: 8px;\n box-shadow: 0 0 0 transparent;\n text-shadow: 0 0 0 transparent;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n #gdsdk__console_container button:hover {\n background: #4fb3b9;\n }\n #gdsdk__console_container button:active {\n background: #62bbc0;\n }\n ",t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style"),e=(r.type="text/css",r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),t.appendChild(r),document.body||document.getElementsByTagName("body")[0]),t=document.createElement("div"),r=(t.id="gdsdk__console",t.style.position="fixed",t.style.zIndex=jn,t.style.bottom="0",t.style.left="0",t.style.width="100%",t.innerHTML='\n <div id="gdsdk__console_container">\n <button id="gdsdk__hbgdDebug">Activate hbgd debug</button>\n <button id="gdsdk__hbgdConfig">Log idhb config</button>\n \x3c!--\n <button id="gdsdk__resumeGame">Resume</button>\n <button id="gdsdk__pauseGame">Pause</button>\n --\x3e\n <button id="gdsdk__showLeaderboard">LeaderBoard</button>\n <button id="gdsdk__showInterstitial">Interstitial</button>\n <button id="gdsdk__showRewarded">Rewarded</button>\n \x3c!--\n <button id="gdsdk__preloadRewarded">Preload rewarded</button>\n --\x3e\n <button id="gdsdk__cancel">Cancel</button>\n <button id="gdsdk__demo">Demo VAST tag</button>\n <button id="gdsdk__disableMidrollTimer">Disable delay</button>\n <button id="gdsdk__closeDebug">Close</button>\n </div>\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");xn("gd_tag")?(o.innerHTML="Revert Vast tag",o.style.background="#ff8c1c"):(o.innerHTML="Demo VAST tag",o.style.background="#44a5ab"),xn("gd_disable_midroll_timer")?(i.innerHTML="Revert delay",i.style.background="#ff8c1c"):(i.innerHTML="Disable delay",i.style.background="#44a5ab"),xn("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{xn("gd_tag")?En("gd_tag"):Sn("gd_tag",!0),location.reload()}catch(e){console.log(e)}}),i.addEventListener("click",function(){try{xn("gd_disable_midroll_timer")?En("gd_disable_midroll_timer"):Sn("gd_disable_midroll_timer",!0),location.reload()}catch(e){console.log(e)}}),u.addEventListener("click",function(){try{xn("gd_debug_ex")?En("gd_debug_ex"):Sn("gd_debug_ex",!0),location.reload()}catch(e){console.log(e)}}),a.addEventListener("click",function(){try{xn("gd_hb_debug")?En("gd_hb_debug"):Sn("gd_hb_debug",!0),window.idhb&&window.idhb.debug(!(!kn||!xn("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)}})}}]),Wn),n=On("object"==typeof globalThis&&globalThis)||On("object"==typeof window&&window)||On("object"==typeof self&&self)||On("object"==typeof $&&$)||function(){return this}()||Function("return this")(),zn={exports:{}},Zn=n,Hn=Object.defineProperty,Kn=In,e="__core-js_shared__",qn=n[e]||Kn(e,{}),Vn=qn;function Wn(e){if(le(this,Wn),Fn)return Fn;(Fn=this).eventBus=new $n,this._sdk=e}function Yn(e){le(this,Yn),this._config=e||{},this._url=e.url||"https://msgrt.gamedistribution.com/collect",this._topic_counter={},this._ua=(new Nr).getResult(),this._init_layout()}function Jn(e){le(this,Jn),this.game=e.game,this.bridge=e.bridge}function Xn(){if(le(this,Xn),Un)return Un;(Un=this).listeners={}}(zn.exports=function(e,t){return Vn[e]||(Vn[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"});function Qn(e){try{return!!e()}catch(e){return!0}}function eo(e){return null==e}function to(e){if(vo(e))throw bo("Can't call method on "+e);return e}function ro(e){return _o(yo(e))}function no(e){return"Symbol("+(void 0===e?"":e)+")_"+So(++ko+Eo,36)}function oo(e){return Oo(Mo,e)||(Mo[e]=Io&&Oo(Co,e)?Co[e]:Lo("Symbol."+e)),Mo[e]}function io(e){return No?Bo.createElement(e):{}}function ao(e){if(Go(e))return e;throw Zo(zo(e)+" is not an object")}function so(e,t){return arguments.length<2?(r=Ko[e],qo(r)?r:void 0):Ko[e]&&Ko[e][t];var r}function uo(e){try{return Qo(e)}catch(e){return"Object"}}function co(e){if(ei(e))return e;throw ri(ti(e)+" is not a function")}function lo(e,t){return e=e[t],oi(e)?void 0:ni(e)}function fo(e){return e=function(e,t){if(!li(e)||di(e))return e;var r=fi(e,mi);if(r){if(r=ci(r,e,t=void 0===t?"default":t),!li(r)||di(r))return r;throw hi("Can't convert object to primitive value")}return pi(e,t=void 0===t?"number":t)}(e,"string"),gi(e)?e:e+""}var po=!Qn(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ho=po,t=Function.prototype,mo=t.call,go=ho&&t.bind.bind(mo,mo),r=ho?go:function(e){return function(){return mo.apply(e,arguments)}},vo=eo,bo=TypeError,yo=to,_o=Object,wo=ro,Ao=r({}.hasOwnProperty),xo=Object.hasOwn||function(e,t){return Ao(wo(e),t)},o=r,ko=0,Eo=Math.random(),So=o(1..toString),Ro="undefined"!=typeof navigator&&String(navigator.userAgent)||"",i=Ro,Do=n.process,Mr=n.Deno,Kn=Do&&Do.versions||Mr&&Mr.version,e=Kn&&Kn.v8,t=a=!(a=e?0<(Po=e.split("."))[0]&&Po[0]<4?1:+(Po[0]+Po[1]):a)&&i&&(!(Po=i.match(/Edge\/(\d+)/))||74<=Po[1])&&(Po=i.match(/Chrome\/(\d+)/))?+Po[1]:a,To=t,ho=Qn,go=!!Object.getOwnPropertySymbols&&!ho(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&To&&To<41}),o=go&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Do=zn.exports,Oo=xo,Mr=no,Io=go,Kn=o,Co=n.Symbol,Mo=Do("wks"),Lo=Kn?Co.for||Co:Co&&Co.withoutSetter||Mr,e={},i=(e[oo("toStringTag")]="z","[object z]"===String(e)),Po="object"==typeof document&&document.all,a={all:Po,IS_HTMLDDA:void 0===Po&&void 0!==Po},jo=a.all,ho=a.IS_HTMLDDA?function(e){return"function"==typeof e||e===jo}:function(e){return"function"==typeof e},Do={},Kn=!Qn(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Uo=ho,$o=a.all,Mr=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Uo(e)||e===$o}:function(e){return"object"==typeof e?null!==e:Uo(e)},e=Mr,Bo=n.document,No=e(Bo)&&e(Bo.createElement),Fo=io,Po=!Kn&&!Qn(function(){return 7!=Object.defineProperty(Fo("div"),"a",{get:function(){return 7}}).a}),a=Kn&&Qn(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Go=Mr,zo=String,Zo=TypeError,Ho=Function.prototype.call,e=po?Ho.bind(Ho):function(){return Ho.apply(Ho,arguments)},Ko=n,qo=ho,Vo=r({}.isPrototypeOf),Wo=so,Yo=ho,Jo=Vo,Xo=Object,o=o?function(e){return"symbol"==typeof e}:function(e){var t=Wo("Symbol");return Yo(t)&&Jo(t.prototype,Xo(e))},Qo=String,ei=ho,ti=uo,ri=TypeError,ni=co,oi=eo,ii=e,ai=ho,si=Mr,ui=TypeError,ci=e,li=Mr,di=o,fi=lo,pi=function(e,t){var r,n;if("string"===t&&ai(r=e.toString)&&!si(n=ii(r,e)))return n;if(ai(r=e.valueOf)&&!si(n=ii(r,e)))return n;if("string"!==t&&ai(r=e.toString)&&!si(n=ii(r,e)))return n;throw ui("Can't convert object to primitive value")},hi=TypeError,mi=oo("toPrimitive"),gi=o,vi=Po,bi=ao,yi=fo,_i=TypeError,wi=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,xi="enumerable",ki="configurable",Ei="writable",Si=(Do.f=Kn?a?function(e,t,r){var n;return bi(e),t=yi(t),bi(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Ei in r&&!r[Ei]&&(n=Ai(e,t))&&n[Ei]&&(e[t]=r.value,r={configurable:(ki in r?r:n)[ki],enumerable:(xi in r?r:n)[xi],writable:!1}),wi(e,t,r)}:wi:function(e,t,r){if(bi(e),t=yi(t),bi(r),vi)try{return wi(e,t,r)}catch(e){}if("get"in r||"set"in r)throw _i("Accessors not supported");return"value"in r&&(e[t]=r.value),e},{exports:{}}),Ri=Kn,Di=xo,m=Function.prototype,Ti=Ri&&Object.getOwnPropertyDescriptor,Di=Di(m,"name"),Di={EXISTS:Di,PROPER:Di&&"something"===function(){}.name,CONFIGURABLE:Di&&(!Ri||Ti(m,"name").configurable)},Ri=ho,Ti=qn,Oi=r(Function.toString);Ri(Ti.inspectSource)||(Ti.inspectSource=function(e){return Oi(e)});function Ii(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Ci(e){return ta[e]||(ta[e]=ea(e))}function Mi(e,t,r,n){var o=(n=n||{}).enumerable,i=void 0!==n.name?n.name:t;if(Ea(r)&&Ra(r,i,n),n.global)o?e[t]=r:Da(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Sa.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e}function Li(e){return Oa(Ta(e),8,-1)}function Pi(e){if("Function"===Ua(e))return $a(e)}function ji(e,t){return Ba(e),void 0===t?e:Na?Fa(e,t):function(){return e.apply(t,arguments)}}function Ui(e){return(e=+e)!=e||0==e?0:qa(e)}function $i(e){return 0<e?Wa(Va(e),9007199254740991):0}function Bi(e){return Ya(e.length)}function Ni(){}function Fi(e){if(!es(e))return!1;try{return os(Ni,ns,e),!0}catch(e){return!1}}function Gi(e){if(!es(e))return!1;switch(ts(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ss||!!as(is,rs(e))}catch(e){return!0}}function zi(e,t){return new(void 0===(r=us(e=e)&&(r=e.constructor,cs(r)&&(r===fs||us(r.prototype))||ls(r)&&null===(r=r[ds]))?void 0:r)?fs:r)(0===t?0:t);var r}function Zi(f){var p=1==f,h=2==f,m=3==f,g=4==f,v=6==f,b=7==f,y=5==f||v;return function(e,t,r,n){for(var o,i,a=ms(e),s=hs(a),u=ps(t,r),c=gs(s),l=0,t=n||vs,d=p?t(e,c):h||b?t(e,0):void 0;l<c;l++)if((y||l in s)&&(i=u(o=s[l],l,a),f))if(p)d[l]=i;else if(i)switch(f){case 3:return!0;case 5:return o;case 6:return l;case 2:bs(d,o)}else switch(f){case 4:return!1;case 7:bs(d,o)}return v?-1:m||g?g:d}}function Hi(e,t){var r=[][e];return!!r&&ys(function(){r.call(null,t||function(){return 1},1)})}function Ki(t){if(t&&t.forEach!==xs)try{ks(t,"forEach",xs)}catch(e){t.forEach=xs}}var qi,Vi,Wi,Yi,Ji,m=Ti.inspectSource,Ri=ho,Ti=n.WeakMap,Ri=Ri(Ti)&&/native code/.test(String(Ti)),Xi=Do,Qi=Ii,Ti=Kn?function(e,t,r){return Xi.f(e,t,Qi(1,r))}:function(e,t,r){return e[t]=r,e},ea=no,ta=(0,zn.exports)("keys"),v={},ra=Mr,na=Ti,oa=xo,ia=Ci,aa=v,sa="Object already initialized",ua=n.TypeError,ca=n.WeakMap,la=Ri||qn.state?((Wi=qn.state||(qn.state=new ca)).get=Wi.get,Wi.has=Wi.has,Wi.set=Wi.set,qi=function(e,t){if(Wi.has(e))throw ua(sa);return t.facade=e,Wi.set(e,t),t},Vi=function(e){return Wi.get(e)||{}},function(e){return Wi.has(e)}):(aa[Yi=ia("state")]=!0,qi=function(e,t){if(oa(e,Yi))throw ua(sa);return t.facade=e,na(e,Yi,t),t},Vi=function(e){return oa(e,Yi)?e[Yi]:{}},function(e){return oa(e,Yi)}),Ri={set:qi,get:Vi,has:la,enforce:function(e){return la(e)?Vi(e):qi(e,{})},getterFor:function(t){return function(e){if(ra(e)&&(e=Vi(e)).type===t)return e;throw ua("Incompatible receiver, "+t+" required")}}},qn=r,ca=Qn,da=ho,fa=xo,pa=Kn,ha=Di.CONFIGURABLE,ma=m,ga=Ri.enforce,va=Ri.get,ba=String,ya=Object.defineProperty,_a=qn("".slice),wa=qn("".replace),Aa=qn([].join),xa=pa&&!ca(function(){return 8!==ya(function(){},"length",{value:8}).length}),ka=String(String).split("String"),aa=Si.exports=function(e,t,r){"Symbol("===_a(ba(t),0,7)&&(t="["+wa(ba(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!fa(e,"name")||ha&&e.name!==t)&&(pa?ya(e,"name",{value:t,configurable:!0}):e.name=t),xa&&r&&fa(r,"arity")&&e.length!==r.arity&&ya(e,"length",{value:r.arity});try{r&&fa(r,"constructor")&&r.constructor?pa&&ya(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=ga(e);return fa(r,"source")||(r.source=Aa(ka,"string"==typeof t?t:"")),e},Ea=(Function.prototype.toString=aa(function(){return da(this)&&va(this).source||ma(this)},"toString"),ho),Sa=Do,Ra=Si.exports,Da=In,ia=r,Ta=ia({}.toString),Oa=ia("".slice),qn=i,Ia=ho,Ca=Li,Ma=oo("toStringTag"),La=Object,Pa="Arguments"==Ca(function(){return arguments}()),ca=qn?Ca:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=La(e),Ma))?t:Pa?Ca(e):"Object"==(t=Ca(e))&&Ia(e.callee)?"Arguments":t},ja=ca,aa=(i||Mi(Object.prototype,"toString",i?{}.toString:function(){return"[object "+ja(this)+"]"},{unsafe:!0}),{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),ia=io("span").classList,qn=ia&&ia.constructor&&ia.constructor.prototype,i=qn===Object.prototype?void 0:qn,Ua=Li,$a=r,Ba=co,Na=po,Fa=Pi(Pi.bind),ia=Qn,Ga=Li,za=Object,Za=r("".split),qn=ia(function(){return!za("z").propertyIsEnumerable(0)})?function(e){return"String"==Ga(e)?Za(e,""):za(e)}:za,Ha=Math.ceil,Ka=Math.floor,qa=Math.trunc||function(e){e=+e;return(0<e?Ka:Ha)(e)},Va=Ui,Wa=Math.min,Ya=$i,Ja=Li,ia=Array.isArray||function(e){return"Array"==Ja(e)},Xa=r,Qa=Qn,es=ho,ts=ca,rs=m,ns=[],os=so("Reflect","construct"),is=/^\s*(?:class|function)\b/,as=Xa(is.exec),ss=!is.exec(Ni),Xa=(Gi.sham=!0,!os||Qa(function(){var e;return Fi(Fi.call)||!Fi(Object)||!Fi(function(){e=!0})||e})?Gi:Fi),us=ia,cs=Xa,ls=Mr,ds=oo("species"),fs=Array,ps=ji,hs=qn,ms=ro,gs=Bi,vs=zi,bs=r([].push),Qa={forEach:Zi(0),map:Zi(1),filter:Zi(2),some:Zi(3),every:Zi(4),find:Zi(5),findIndex:Zi(6),filterReject:Zi(7)},ys=Qn,_s=Qa.forEach,ws=n,As=aa,b=i,xs=Hi("forEach")?[].forEach:function(e){return _s(this,e,1<arguments.length?arguments[1]:void 0)},ks=Ti;for(Ji in As)As[Ji]&&Ki(ws[Ji]&&ws[Ji].prototype);Ki(b);function Es(e){return Bs(Ns(e))}function Ss(e,t){return(e=Ys(e))<0?Js(e+t,0):Xs(e,t)}function Rs(s){return function(e,t,r){var n,o=Qs(e),i=tu(o),a=eu(r,i);if(s&&t!=t){for(;a<i;)if((n=o[a++])!=n)return!0}else for(;a<i;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}}function Ds(e,t){var r,n=nu(e),o=0,i=[];for(r in n)!ru(iu,r)&&ru(n,r)&&au(i,r);for(;t.length>o;)!ru(n,r=t[o++])||~ou(i,r)||au(i,r);return i}function Ts(e,t,r){for(var n=mu(t),o=vu.f,i=gu.f,a=0;a<n.length;a++){var s=n[a];hu(e,s)||r&&hu(r,s)||o(e,s,i(t,s))}}function Os(e,t){return(e=Au[wu(e)])==ku||e!=xu&&(yu(t)?bu(t):!!t)}function Is(e,t){var r,n,o,i,a=e.target,s=e.global,u=e.stat;if(r=s?Su:u?Su[a]||Ou(a,{}):(Su[a]||{}).prototype)for(n in t){if(o=t[n],i=e.dontCallGetSet?(i=Ru(r,n))&&i.value:r[n],!Cu(s?n:a+(u?".":"#")+n,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Iu(o,i)}(e.sham||i&&i.sham)&&Du(o,"sham",!0),Tu(r,n,o,e)}}function Cs(e){return!(e=Bu("object"===U(e)?e:function(e){if(e)try{return JSON.parse(e)}catch(e){}}(e)))||!e.version||$u.version>=e.version?e:void 0}function Ms(){var e;(e=console).log.apply(e,arguments)}function Ls(){var e;(e=console).log.apply(e,arguments)}var b={},Ps={},js={}.propertyIsEnumerable,Us=Object.getOwnPropertyDescriptor,$s=Us&&!js.call({1:2},1),Bs=(Ps.f=$s?function(e){e=Us(this,e);return!!e&&e.enumerable}:js,qn),Ns=to,Fs=e,Gs=Ps,zs=Ii,Zs=Es,Hs=fo,Ks=xo,Vs=Po,Ws=Object.getOwnPropertyDescriptor,$s=(b.f=Kn?Ws:function(e,t){if(e=Zs(e),t=Hs(t),Vs)try{return Ws(e,t)}catch(e){}if(Ks(e,t))return zs(!Fs(Gs.f,e,t),e[t])},{}),Ys=Ui,Js=Math.max,Xs=Math.min,Qs=Es,eu=Ss,tu=Bi,js={includes:Rs(!0),indexOf:Rs(!1)},ru=xo,nu=Es,ou=js.indexOf,iu=v,au=r([].push),Po=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],su=Ds,uu=Po.concat("length","prototype"),cu=($s.f=Object.getOwnPropertyNames||function(e){return su(e,uu)},{}),y=(cu.f=Object.getOwnPropertySymbols,so),lu=$s,du=cu,fu=ao,pu=r([].concat),y=y("Reflect","ownKeys")||function(e){var t=lu.f(fu(e)),r=du.f;return r?pu(t,r(e)):t},hu=xo,mu=y,gu=b,vu=Do,bu=Qn,yu=ho,_u=/#|\.prototype\./,wu=Os.normalize=function(e){return String(e).replace(_u,".").toLowerCase()},Au=Os.data={},xu=Os.NATIVE="N",ku=Os.POLYFILL="P",Eu=Os,Su=n,Ru=b.f,Du=Ti,Tu=Mi,Ou=In,Iu=Ts,Cu=Eu,Mu=Ds,Lu=Po,Pu=Object.keys||function(e){return Mu(e,Lu)},ju=ro,Uu=Pu,$u=(Is({target:"Object",stat:!0,forced:Qn(function(){Uu(1)})},{keys:function(e){return Uu(ju(e))}}),{name:"@bygd/gd-sdk-pes",version:"1.35.0",files:["dist/*"],scripts:{build:"NODE_ENV=production rollup --config",watch:"rollup --config --watch --sourcemap --environment DEVELOPMENT","deploy-base":"npm install && npm run build && npm publish --access public",deploy:"npm run deploy-base && gdtool pm-upload"},repository:{type:"git",url:"git@gitlab.azerdev.com:gamedistribution/gd-sdk-pes.git"},author:"",license:"ISC",devDependencies:{"@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@rollup/plugin-babel":"^5.2.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^3.0.0",postcss:"^8.3.5",rollup:"^2.52.8","rollup-plugin-analyzer":"^4.0.0","rollup-plugin-browsersync":"^1.3.3","rollup-plugin-delete":"^2.0.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.0","rollup-plugin-terser":"^7.0.2"},dependencies:{"@babel/runtime":"^7.14.6","@bygd/gd-sdk-era":"^0.3.6",axios:"^0.26.1","can-autoplay":"^3.0.2",events:"^3.3.0","get-value":"^3.0.1","is-plain-object":"^5.0.0","is-valid-domain":"^0.1.2","js-base64":"^3.6.1","leaderboard-lib":"0.1.11","lodash.clonedeep":"^4.5.0","lodash.merge":"^4.6.2",querystringify:"^2.2.0","set-value":"^4.1.0","url-parse":"^1.4.7",uuid:"^8.3.2",validator:"^13.6.0"}}),Bu=function(e){var t=this;if(!Jt(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){O(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o<e.length;o++){var i=e[o];if(n<(r+=i.weight))return i}},Nu=(JSON.stringify({adapters:{default:["ima","adsense","ima","adsense"],preroll:["ima","adsense","ima","adsense"],midroll:["ima","adsense","ima","adsense"],rewarded:["ima","adsense","ima","adsense"]}}),JSON.stringify({adapters:{default:["ima","adsense","ima","adsense"],preroll:["ima","adsense","ima"],midroll:["ima","adsense","ima"],rewarded:["ima","adsense","ima","adsense"]}}),{});function Fu(e,t,r){return(t=de(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){if("Symbol"===zu(e))throw TypeError("Cannot convert a Symbol value to a string");return Zu(e)}var zu=ca,Zu=String,Hu={},Ku=Do,qu=ao,Vu=Es,Wu=Pu;Hu.f=Kn&&!a?Object.defineProperties:function(e,t){qu(e);for(var r,n=Vu(t),o=Wu(t),i=o.length,a=0;a<i;)Ku.f(e,r=o[a++],n[r]);return e};function Yu(){}function Ju(e){e.write(Dc("")),e.close();var t=e.parentWindow.Object;return e=null,t}function Xu(e,t,r){(t=Oc(t))in e?Ic.f(e,t,Cc(0,r)):e[t]=r}function Qu(e,t,r){for(var n=Lc(e),o=Mc(t,n),i=Mc(void 0===r?n:r,n),a=jc(Uc(i-o,0)),s=0;o<i;o++,s++)Pc(a,s,e[o]);return a.length=s,a}function ec(e,t,r){return r.get&&zc(r.get,t,{getter:!0}),r.set&&zc(r.set,t,{setter:!0}),Zc.f(e,t,r)}function tc(e){var t=Hc.Symbol||(Hc.Symbol={});Kc(t,e)||Vc(t,e,{value:qc.f(e)})}function rc(e,t,r){(e=e&&!r?e.prototype:e)&&!Qc(e,el)&&Xc(e,el,{configurable:!0,value:t})}function nc(e,t){var r=$l[e]=fl(Il);return Dl(r,{type:Sl,tag:e,description:t}),ol||(r.description=t),r}function oc(e,t,r){return e===Ol&&oc(Bl,t,r),sl(e),t=cl(t),sl(r),(il($l,t)?(r.enumerable?(il(e,El)&&e[El][t]&&(e[El][t]=!1),r=fl(r,{enumerable:dl(0,!1)})):(il(e,El)||Ll(e,El,dl(1,{})),e[El][t]=!0),Fl):Ll)(e,t,r)}function ic(t,e){sl(t);var r=ul(e),e=pl(r).concat(cc(r));return kl(e,function(e){ol&&!nl(ac,r,e)||oc(t,e,r[e])}),t}function ac(e){var e=cl(e),t=nl(jl,this,e);return!(this===Ol&&il($l,e)&&!il(Bl,e))&&(!(t||!il(this,e)||!il($l,e)||il(this,El)&&this[El][e])||t)}function sc(e,t){var r,e=ul(e),t=cl(t);if(e!==Ol||!il($l,t)||il(Bl,t))return!(r=Ml(e,t))||!il($l,t)||il(e,El)&&e[El][t]||(r.enumerable=!0),r}function uc(e){var e=Pl(ul(e)),t=[];return kl(e,function(e){il($l,e)||il(_l,e)||Ul(t,e)}),t}function cc(e){var t=e===Ol,e=Pl(t?Bl:ul(e)),r=[];return kl(e,function(e){!il($l,e)||t&&!il(Ol,e)||Ul(r,$l[e])}),r}function lc(e,t){var r=cd(arguments),n=function(e){if(ed(e))return e;if(Ql(e)){for(var t=e.length,n=[],r=0;r<t;r++){var o=e[r];"string"==typeof o?nd(n,o):"number"!=typeof o&&"Number"!=td(o)&&"String"!=td(o)||nd(n,rd(o))}var i=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(Ql(this))return t;for(var r=0;r<i;r++)if(n[r]===e)return t}}}(t);if(sd(n)||void 0!==e&&!ud(e))return r[1]=function(e,t){if(sd(n)&&(t=ad(n,this,ld(e),t)),!ud(t))return t},id(dd,null,r)}function dc(e,t,r){var n=pd(r,t-1),r=pd(r,t+1);return fd(bd,e)&&!fd(yd,r)||fd(yd,e)&&!fd(bd,n)?"\\u"+gd(hd(e,0),16):e}function fc(t){return 51<=Ed||!kd(function(){var e=[];return(e.constructor={})[Sd]=function(){return{foo:1}},1!==e[t](Boolean).foo})}function pc(e,t,r){var n,o;Kd(e);try{if(!(n=qd(e,"return"))){if("throw"===t)throw r;return r}n=Hd(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Kd(n),r}function hc(e){return void 0!==e&&(Yd.Array===e||Xd[Jd]===e)}function mc(e){if(!t0(e))return e0(e,n0)||e0(e,"@@iterator")||r0[Qd(e)]}function gc(e,t){if(t=arguments.length<2?u0(e):t,i0(t))return a0(o0(t,e));throw c0(s0(e)+" is not iterable")}function vc(e){var t=f0(e),e=h0(this),r=1<(l=arguments.length)?arguments[1]:void 0,n=void 0!==r;n&&(r=l0(r,2<l?arguments[2]:void 0));var o,i,a,s,u,c,l=b0(t),d=0;if(!l||this===y0&&p0(l))for(o=m0(t),i=e?new this(o):y0(o);d<o;d++)c=n?r(t[d],d):t[d],g0(i,d,c);else for(u=(s=v0(t,l)).next,i=e?new this:[];!(a=d0(u,s)).done;d++)c=n?function(e,t,r,n){try{return n?t(Vd(r)[0],r[1]):t(r)}catch(t){Wd(e,"throw",t)}}(s,r,[a.value,d],!0):a.value,g0(i,d,c);return i.length=d,i}var bc,yc,a=so("document","documentElement"),_c=ao,wc=Hu,Ac=Po,Po=v,xc=a,kc=io,Ec="prototype",Sc="script",Rc=Ci("IE_PROTO"),Dc=function(e){return"<"+Sc+">"+e+"</"+Sc+">"},Tc=function(){try{bc=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Tc="undefined"==typeof document||document.domain&&bc?Ju(bc):(t=kc("iframe"),r="java"+Sc+":",t.style.display="none",xc.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Dc("document.F=Object")),e.close(),e.F);for(var n=Ac.length;n--;)delete Tc[Ec][Ac[n]];return Tc()},Po=(Po[Rc]=!0,Object.create||function(e,t){var r;return null!==e?(Yu[Ec]=_c(e),r=new Yu,Yu[Ec]=null,r[Rc]=e):r=Tc(),void 0===t?r:wc.f(r,t)}),_={},Oc=fo,Ic=Do,Cc=Ii,Mc=Ss,Lc=Bi,Pc=Xu,jc=Array,Uc=Math.max,$c=Li,Bc=Es,Nc=$s.f,Fc=Qu,Gc="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zc=(_.f=function(e){if(!Gc||"Window"!=$c(e))return Nc(Bc(e));var t=e;try{return Nc(t)}catch(t){return Fc(Gc)}},Si.exports),Zc=Do,Si={},Hc=(Si.f=oo,n),Kc=xo,qc=Si,Vc=Do.f,Wc=e,Yc=so,w=oo,Jc=Mi,Xc=Do.f,Qc=xo,el=oo("toStringTag"),tl=Is,rl=n,nl=e,A=r,ol=Kn,x=go,k=Qn,il=xo,al=Vo,sl=ao,ul=Es,cl=fo,ll=Gu,dl=Ii,fl=Po,pl=Pu,hl=$s,ml=cu,E=b,S=Do,gl=Ps,vl=Mi,bl=ec,yl=zn.exports,_l=v,wl=no,Al=oo,v=Si,xl=tc,Si=rc,R=Ri,kl=Qa.forEach,El=Ci("hidden"),Sl="Symbol",Rl="prototype",Dl=R.set,Tl=R.getterFor(Sl),Ol=Object[Rl],R=rl.Symbol,Il=R&&R[Rl],Cl=rl.TypeError,rl=rl.QObject,Ml=E.f,Ll=S.f,Pl=_.f,jl=gl.f,Ul=A([].push),$l=yl("symbols"),Bl=yl("op-symbols"),A=yl("wks"),Nl=!rl||!rl[Rl]||!rl[Rl].findChild,Fl=ol&&k(function(){return 7!=fl(Ll({},"a",{get:function(){return Ll(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=Ml(Ol,t);n&&delete Ol[t],Ll(e,t,r),n&&e!==Ol&&Ll(Ol,t,n)}:Ll,k=(x||(vl(Il=(R=function(){if(al(Il,this))throw Cl("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?ll(arguments[0]):void 0,t=wl(e),r=function(e){this===Ol&&nl(r,Bl,e),il(this,El)&&il(this[El],t)&&(this[El][t]=!1),Fl(this,t,dl(1,e))};return ol&&Nl&&Fl(Ol,t,{configurable:!0,set:r}),nc(t,e)})[Rl],"toString",function(){return Tl(this).tag}),vl(R,"withoutSetter",function(e){return nc(wl(e),e)}),gl.f=ac,S.f=oc,Hu.f=ic,E.f=sc,hl.f=_.f=uc,ml.f=cc,v.f=function(e){return nc(Al(e),e)},ol&&(bl(Il,"description",{configurable:!0,get:function(){return Tl(this).description}}),vl(Ol,"propertyIsEnumerable",ac,{unsafe:!0}))),tl({global:!0,constructor:!0,wrap:!0,forced:!x,sham:!x},{Symbol:R}),kl(pl(A),function(e){xl(e)}),tl({target:Sl,stat:!0,forced:!x},{useSetter:function(){Nl=!0},useSimple:function(){Nl=!1}}),tl({target:"Object",stat:!0,forced:!x,sham:!ol},{create:function(e,t){return void 0===t?fl(e):ic(fl(e),t)},defineProperty:oc,defineProperties:ic,getOwnPropertyDescriptor:sc}),tl({target:"Object",stat:!0,forced:!x},{getOwnPropertyNames:uc}),yl=(yl=Yc("Symbol"))&&yl.prototype,yc=yl&&yl.valueOf,rl=w("toPrimitive"),yl&&!yl[rl]&&Jc(yl,rl,function(e){return Wc(yc,this)},{arity:1}),Si(R,Sl),_l[El]=!0,go&&!!Symbol.for&&!!Symbol.keyFor),Rl=Is,Gl=so,zl=xo,Zl=Gu,gl=zn.exports,S=k,Hl=gl("string-to-symbol-registry"),Kl=gl("symbol-to-string-registry"),Hu=(Rl({target:"Symbol",stat:!0,forced:!S},{for:function(e){var t,e=Zl(e);return zl(Hl,e)?Hl[e]:(t=Gl("Symbol")(e),Hl[e]=t,Kl[t]=e,t)}}),Is),ql=xo,Vl=o,Wl=uo,E=k,Yl=(0,zn.exports)("symbol-to-string-registry"),hl=(Hu({target:"Symbol",stat:!0,forced:!E},{keyFor:function(e){if(!Vl(e))throw TypeError(Wl(e)+" is not a symbol");if(ql(Yl,e))return Yl[e]}}),po),_=Function.prototype,Jl=_.apply,Xl=_.call,ml="object"==typeof Reflect&&Reflect.apply||(hl?Xl.bind(Jl):function(){return Xl.apply(Jl,arguments)}),v=r([].slice),Ql=ia,ed=ho,td=Li,rd=Gu,nd=r([].push),bl=Is,od=so,id=ml,ad=e,vl=r,A=Qn,sd=ho,ud=o,cd=v,tl=go,ld=String,dd=od("JSON","stringify"),fd=vl(/./.exec),pd=vl("".charAt),hd=vl("".charCodeAt),md=vl("".replace),gd=vl(1..toString),vd=/[\uD800-\uDFFF]/g,bd=/^[\uD800-\uDBFF]$/,yd=/^[\uDC00-\uDFFF]$/,_d=!tl||A(function(){var e=od("Symbol")();return"[null]"!=dd([e])||"{}"!=dd({a:e})||"{}"!=dd(Object(e))}),wd=A(function(){return'"\\udf06\\ud834"'!==dd("\udf06\ud834")||'"\\udead"'!==dd("\udead")}),Ad=(dd&&bl({target:"JSON",stat:!0,arity:3,forced:_d||wd},{stringify:function(e,t,r){var n=cd(arguments),n=id(_d?lc:dd,null,n);return wd&&"string"==typeof n?md(n,vd,dc):n}}),cu),xd=ro,kd=(Is({target:"Object",stat:!0,forced:!go||Qn(function(){Ad.f(1)})},{getOwnPropertySymbols:function(e){var t=Ad.f;return t?t(xd(e)):[]}}),Qn),Ed=t,Sd=oo("species"),Rd=Qa.filter,x=(Is({target:"Array",proto:!0,forced:!fc("filter")},{filter:function(e){return Rd(this,e,1<arguments.length?arguments[1]:void 0)}}),Is),Yc=Qn,Dd=Es,Td=b.f,w=Kn,Od=(x({target:"Object",stat:!0,forced:!w||Yc(function(){Td(1)}),sham:!w},{getOwnPropertyDescriptor:function(e,t){return Td(Dd(e),t)}}),y),Id=Es,Cd=b,Md=Xu,Jc=(Is({target:"Object",stat:!0,sham:!Kn},{getOwnPropertyDescriptors:function(e){for(var t,r,n=Id(e),o=Cd.f,i=Od(n),a={},s=0;i.length>s;)void 0!==(r=o(n,t=i[s++]))&&Md(a,t,r);return a}}),Is),Ld=ia,Pd=Xa,jd=Mr,Ud=Ss,$d=Bi,Bd=Es,Nd=Xu,yl=oo,Fd=v,rl=fc("slice"),Gd=yl("species"),zd=Array,Zd=Math.max,Hd=(Jc({target:"Array",proto:!0,forced:!rl},{slice:function(e,t){var r,n,o,i=Bd(this),a=$d(i),s=Ud(e,a),u=Ud(void 0===t?a:t,a);if(Ld(i)&&(r=i.constructor,(r=Pd(r)&&(r===zd||Ld(r.prototype))||jd(r)&&null===(r=r[Gd])?void 0:r)===zd||void 0===r))return Fd(i,s,u);for(n=new(void 0===r?zd:r)(Zd(u-s,0)),o=0;s<u;s++,o++)s in i&&Nd(n,o,i[s]);return n.length=o,n}}),e),Kd=ao,qd=lo,Vd=ao,Wd=pc,Si={},Yd=Si,Jd=oo("iterator"),Xd=Array.prototype,Qd=ca,e0=lo,t0=eo,r0=Si,n0=oo("iterator"),o0=e,i0=co,a0=ao,s0=uo,u0=mc,c0=TypeError,l0=ji,d0=e,f0=ro,p0=hc,h0=Xa,m0=Bi,g0=Xu,v0=gc,b0=mc,y0=Array,_0=oo("iterator"),w0=!1;try{var A0=0,x0={next:function(){return{done:!!A0++}},return:function(){w0=!0}};x0[_0]=function(){return this},Array.from(x0,function(){throw 2})}catch(mk){}function k0(e,t){if(t||w0){var r=!1;try{var n={};n[_0]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}}R=vc;Is({target:"Array",stat:!0,forced:!k0(function(e){Array.from(e)})},{from:R});function E0(o){return function(e,t){var r,e=D0(T0(e)),t=R0(t),n=e.length;return t<0||n<=t?o?"":void 0:(r=I0(e,t))<55296||56319<r||t+1===n||(n=I0(e,t+1))<56320||57343<n?o?O0(e,t):r:o?C0(e,t,t+2):n-56320+(r-55296<<10)+65536}}var S0,gl=r,R0=Ui,D0=Gu,T0=to,O0=gl("".charAt),I0=gl("".charCodeAt),C0=gl("".slice),Rl={codeAt:E0(!1),charAt:E0(!0)},S=!Qn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),M0=xo,L0=ho,P0=ro,k=S,j0=Ci("IE_PROTO"),U0=Object,$0=U0.prototype,Hu=k?U0.getPrototypeOf:function(e){var t,e=P0(e);return M0(e,j0)?e[j0]:(t=e.constructor,L0(t)&&e instanceof t?t.prototype:e instanceof U0?$0:null)},E=Qn,po=ho,_=Mr,hl=Hu,o=Mi,B0=oo("iterator"),vl=!1;[].keys&&("next"in(tl=[].keys())?(A=hl(hl(tl)))!==Object.prototype&&(S0=A):vl=!0);function N0(){return this}function F0(e,t,r,n){return t+=" Iterator",e.prototype=tf(ef,{next:rf(+!n,r)}),nf(e,t,!1),of[t]=N0,e}function G0(){return this}function z0(e,t,r,n,o,i,a){function s(e){if(e===o&&p)return p;if(!Ef&&e in d)return d[e];switch(e){case"keys":case Rf:case Df:return function(){return new r(this,e)}}return function(){return new r(this)}}mf(r,t,n);var u,c,n=t+" Iterator",l=!1,d=e.prototype,f=d[Sf]||d["@@iterator"]||o&&d[o],p=!Ef&&f||s(o),h="Array"==t&&d.entries||f;if(h&&(h=gf(h.call(new e)))!==Object.prototype&&h.next&&(gf(h)!==kf&&(vf?vf(h,kf):hf(h[Sf])||_f(h,Sf,G0)),bf(h,n,!0)),Af&&o==Rf&&f&&f.name!==Rf&&(xf?yf(d,"name",Rf):(l=!0,p=function(){return pf(f,this)})),o)if(u={values:s(Rf),keys:i?p:s("keys"),entries:s(Df)},a)for(c in u)!Ef&&!l&&c in d||_f(d,c,u[c]);else ff({target:t,proto:!0,forced:Ef||l},u);return d[Sf]!==p&&_f(d,Sf,p,{name:o}),wf[t]=p,u}function Z0(e,t){return{value:e,done:t}}function H0(){var e=Pf(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}function K0(e){ap[ip][e]=!0}po((S0=!_(S0)||E(function(){var e={};return S0[B0].call(e)!==e})?{}:S0)[B0])||o(S0,B0,function(){return this});var q0,V0,W0,Y0,J0,X0,Q0,bl={IteratorPrototype:S0,BUGGY_SAFARI_ITERATORS:vl},ef=bl.IteratorPrototype,tf=Po,rf=Ii,nf=rc,of=Si,af=r,sf=co,uf=ho,cf=String,lf=TypeError,df=ao,go=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=function(e,t,r){try{return af(sf(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}(Object.prototype,"__proto__","set"))(e,[]),n=e instanceof Array}catch(r){}return function(e,t){return df(e),function(e){if("object"==typeof e||uf(e))return;throw lf("Can't set "+cf(e)+" as a prototype")}(t),n?r(e,t):e.__proto__=t,e}}():void 0),ff=Is,pf=e,hf=ho,mf=F0,gf=Hu,vf=go,bf=rc,yf=Ti,_f=Mi,wf=Si,Af=Di.PROPER,xf=Di.CONFIGURABLE,kf=bl.IteratorPrototype,Ef=bl.BUGGY_SAFARI_ITERATORS,Sf=oo("iterator"),Rf="values",Df="entries",Tf=Rl.charAt,Of=Gu,x=Ri,Yc=z0,If=Z0,Cf="String Iterator",Mf=x.set,Lf=x.getterFor(Cf),Pf=(Yc(String,"String",function(e){Mf(this,{type:Cf,string:Of(e),index:0})},function(){var e=Lf(this),t=e.string,r=e.index;return r>=t.length?If(void 0,!0):(t=Tf(t,r),e.index+=t.length,If(t,!1))}),ao),w=Qn,jf=n.RegExp,y=w(function(){var e=jf("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),yl=y||w(function(){return!jf("a","y").sticky}),Jc={BROKEN_CARET:y||w(function(){var e=jf("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:yl,UNSUPPORTED_Y:y},rl=Qn,Uf=n.RegExp,x0=rl(function(){var e=Uf(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),R=Qn,$f=n.RegExp,gl=R(function(){var e=$f("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Bf=e,S=r,Nf=Gu,Ff=H0,k=Jc,hl=zn.exports,Gf=Po,zf=Ri.get,tl=x0,A=gl,Zf=hl("native-string-replace",String.prototype.replace),Hf=RegExp.prototype.exec,Kf=Hf,qf=S("".charAt),Vf=S("".indexOf),Wf=S("".replace),Yf=S("".slice),Jf=(po=/b*/g,Bf(Hf,_=/a/,"a"),Bf(Hf,po,"a"),0!==_.lastIndex||0!==po.lastIndex),Xf=k.BROKEN_CARET,Qf=void 0!==/()??/.exec("")[1],E=Kf=Jf||Qf||Xf||tl||A?function(e){var t,r,n,o,i,a,s=this,u=zf(s),e=Nf(e),c=u.raw;if(c)return c.lastIndex=s.lastIndex,d=Bf(Kf,c,e),s.lastIndex=c.lastIndex,d;var l=u.groups,c=Xf&&s.sticky,d=Bf(Ff,s),u=s.source,f=0,p=e;if(c&&(d=Wf(d,"y",""),-1===Vf(d,"g")&&(d+="g"),p=Yf(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==qf(e,s.lastIndex-1))&&(u="(?: "+u+")",p=" "+p,f++),t=new RegExp("^(?:"+u+")",d)),Qf&&(t=new RegExp("^"+u+"$(?!\\s)",d)),Jf&&(r=s.lastIndex),n=Bf(Hf,c?t:s,p),c?n?(n.input=Yf(n.input,f),n[0]=Yf(n[0],f),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:Jf&&n&&(s.lastIndex=s.global?n.index+n[0].length:r),Qf&&n&&1<n.length&&Bf(Zf,n[0],t,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n&&l)for(n.groups=i=Gf(null),o=0;o<l.length;o++)i[(a=l[o])[0]]=n[a[1]];return n}:Kf,o=(Is({target:"RegExp",proto:!0,forced:/./.exec!==E},{exec:E}),Is),vl=r,ep=xo,Hu=ho,tp=Vo,rp=Gu,bl=ec,x=Ts,np=n.Symbol,op=np&&np.prototype,w=(!Kn||!Hu(np)||"description"in op&&void 0===np().description||(q0={},x(Yc=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:rp(arguments[0]),t=tp(op,this)?new np(e):void 0===e?np():np(e);return""===e&&(q0[t]=!0),t},np),(Yc.prototype=op).constructor=Yc,V0="Symbol(test)"==String(np("test")),W0=vl(op.valueOf),Y0=vl(op.toString),J0=/^Symbol\((.*)\)[^)]+$/,X0=vl("".replace),Q0=vl("".slice),bl(op,"description",{configurable:!0,get:function(){var e=W0(this);return ep(q0,e)?"":(e=Y0(e),""===(e=V0?Q0(e,7,-1):X0(e,J0,"$1"))?void 0:e)}}),o({global:!0,constructor:!0,forced:!0},{Symbol:Yc})),tc("iterator"),oo),yl=Po,y=Do.f,ip=w("unscopables"),ap=Array.prototype,sp=(null==ap[ip]&&y(ap,ip,{configurable:!0,value:yl(null)}),Es),rl=K0,R=Si,zn=Ri,hl=Do.f,S=z0,up=Z0,_=Kn,cp="Array Iterator",lp=zn.set,dp=zn.getterFor(cp),po=S(Array,"Array",function(e,t){lp(this,{type:cp,target:sp(e),index:0,kind:t})},function(){var e=dp(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,up(void 0,!0)):up("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)},"values"),k=R.Arguments=R.Array;if(rl("keys"),rl("values"),rl("entries"),_&&"values"!==k.name)try{hl(k,"name",{value:"values"})}catch(mk){}function fp(e,t){if(e){if(e[bp]!==_p)try{vp(e,bp,_p)}catch(t){e[bp]=_p}if(e[yp]||vp(e,yp,t),mp[t])for(var r in gp)if(e[r]!==gp[r])try{vp(e,r,gp[r])}catch(t){e[r]=gp[r]}}}var pp,hp=n,mp=aa,tl=i,gp=po,vp=Ti,A=oo,bp=A("iterator"),yp=A("toStringTag"),_p=gp.values;for(pp in mp)fp(hp[pp]&&hp[pp].prototype,pp);fp(tl,"DOMTokenList");function wp(e){e=Ip(e),Mp&&e&&!e[Lp]&&Cp(e,Lp,{configurable:!0,get:function(){return this}})}function Ap(e,t){if(Pp(t,e))return e;throw jp("Incorrect invocation")}function xp(e,t){var r,e=Np(e).constructor;if(void 0===e||Fp(r=Np(e)[Gp]))return t;if(Up(e=r))return e;throw Bp($p(e)+" is not a constructor")}function kp(e,t){if(e<t)throw zp("Not enough arguments");return e}function Ep(e){return function(){ih(e)}}function Sp(e){ih(e.data)}function Rp(e){Zp.postMessage(th(e),Tp.protocol+"//"+Tp.host)}function Dp(){this.head=null,this.tail=null}var Tp,Op,Hu=void 0!==QI&&"process"==Li(QI),Ip=so,Cp=ec,Mp=Kn,Lp=oo("species"),Pp=Vo,jp=TypeError,Up=Xa,$p=uo,Bp=TypeError,Np=ao,Fp=eo,Gp=oo("species"),zp=TypeError,x=/(?:ipad|iphone|ipod).*applewebkit/i.test(Ro),Zp=n,Hp=ml,vl=ji,Kp=ho,qp=xo,bl=Qn,Vp=a,Wp=v,Yp=io,Jp=kp,o=x,Yc=Hu,w=Zp.setImmediate,y=Zp.clearImmediate,Xp=Zp.process,Qp=Zp.Dispatch,eh=Zp.Function,yl=Zp.MessageChannel,th=Zp.String,rh=0,nh={},oh="onreadystatechange",ih=(bl(function(){Tp=Zp.location}),function(e){var t;qp(nh,e)&&(t=nh[e],delete nh[e],t())}),S=(w&&y||(w=function(e){Jp(arguments.length,1);var t=Kp(e)?e:eh(e),r=Wp(arguments,1);return nh[++rh]=function(){Hp(t,void 0,r)},Op(rh),rh},y=function(e){delete nh[e]},Yc?Op=function(e){Xp.nextTick(Ep(e))}:Qp&&Qp.now?Op=function(e){Qp.now(Ep(e))}:yl&&!o?(zn=(Si=new yl).port2,Si.port1.onmessage=Sp,Op=vl(zn.postMessage,zn)):Zp.addEventListener&&Kp(Zp.postMessage)&&!Zp.importScripts&&Tp&&"file:"!==Tp.protocol&&!bl(Rp)?(Op=Rp,Zp.addEventListener("message",Sp,!1)):Op=oh in Yp("script")?function(e){Vp.appendChild(Yp("script"))[oh]=function(){Vp.removeChild(this),ih(e)}}:function(e){setTimeout(Ep(e),0)}),{set:w,clear:y});Dp.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};function ah(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}function sh(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw Sh("Bad Promise constructor");r=e,n=t}),this.resolve=Eh(r),this.reject=Eh(n)}var uh,ch,lh,dh,fh,ph,R=Dp,rl=/ipad|iphone|ipod/i.test(Ro)&&"undefined"!=typeof Pebble,_=/web0s(?!.*chrome)/i.test(Ro),hl=n,k=ji,aa=b.f,hh=S.set,i=R,po=x,A=rl,tl=_,mh=Hu,Xa=hl.MutationObserver||hl.WebKitMutationObserver,a=hl.document,gh=hl.process,v=hl.Promise,Yc=aa(hl,"queueMicrotask"),o=Yc&&Yc.value,Si=(o||(dh=new i,fh=function(){var e,t;for(mh&&(e=gh.domain)&&e.exit();t=dh.get();)try{t()}catch(e){throw dh.head&&ph(),e}e&&e.enter()},ph=po||mh||tl||!Xa||!a?!A&&v&&v.resolve?((yl=v.resolve(void 0)).constructor=v,lh=k(yl.then,yl),function(){lh(fh)}):mh?function(){gh.nextTick(fh)}:(hh=k(hh,hl),function(){hh(fh)}):(uh=!0,ch=a.createTextNode(""),new Xa(fh).observe(ch,{characterData:!0}),function(){ch.data=uh=!uh}),o=function(e){dh.head||ph(),dh.add(e)}),o),vl=n.Promise,zn="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,bl=!zn&&!Hu&&"object"==typeof window&&"object"==typeof document,w=n,vh=vl,y=ho,Ro=Eu,bh=m,x=oo,yh=bl,_h=zn,wh=t,Ah=(vh&&vh.prototype,x("species")),xh=!1,kh=y(w.PromiseRejectionEvent),rl={CONSTRUCTOR:Ro("Promise",function(){var e=bh(vh),t=e!==String(vh);if(!t&&66===wh)return!0;if(!wh||wh<51||!/native code/.test(e)){var e=new vh(function(e){e(1)}),r=function(e){e(function(){},function(){})};if((e.constructor={})[Ah]=r,!(xh=e.then(function(){})instanceof r))return!0}return!t&&(yh||_h)&&!kh}),REJECTION_EVENT:kh,SUBCLASSING:xh},_={},Eh=co,Sh=TypeError;_.f=function(e){return new sh(e)};function Rh(e,t){var r,n,o,i,a=t.value,s=1==t.state,u=s?e.ok:e.fail,c=e.resolve,l=e.reject,d=e.domain;try{u?(s||(2===t.rejection&&(i=t,Mh(Bh,Ch,function(){var e=i.facade;Ih?Jh.emit("rejectionHandled",e):om("rejectionhandled",e,i.value)})),t.rejection=1),!0===u?r=a:(d&&d.enter(),r=u(a),d&&(d.exit(),o=!0)),r===e.promise?l(Wh("Promise-chain cycle")):(n=rm(r))?Mh(n,r,c,l):c(r)):l(a)}catch(e){d&&!o&&d.exit(),l(e)}}var Dh,Th,Oh,aa=Is,Ih=Hu,Ch=n,Mh=e,Yc=Mi,i=go,po=rc,tl=wp,Lh=co,Ph=ho,jh=Mr,Uh=Ap,$h=xp,Bh=S.set,Nh=Si,Fh=ah,Gh=R,A=Ri,v=vl,yl=_,zh="Promise",k=rl.CONSTRUCTOR,Zh=rl.REJECTION_EVENT,hl=rl.SUBCLASSING,Hh=A.getterFor(zh),Kh=A.set,a=v&&v.prototype,qh=v,Vh=a,Wh=Ch.TypeError,Yh=Ch.document,Jh=Ch.process,Xh=yl.f,Qh=Xh,em=!!(Yh&&Yh.createEvent&&Ch.dispatchEvent),tm="unhandledrejection",rm=function(e){var t;return!(!jh(e)||!Ph(t=e.then))&&t},nm=function(r,o){r.notified||(r.notified=!0,Nh(function(){for(var e,n,t=r.reactions;e=t.get();)Rh(e,r);r.notified=!1,o&&!r.rejection&&(n=r,Mh(Bh,Ch,function(){var e,t=n.facade,r=n.value;if(im(n)&&(e=Fh(function(){Ih?Jh.emit("unhandledRejection",r,t):om(tm,t,r)}),n.rejection=Ih||im(n)?2:1,e.error))throw e.value}))}))},om=function(e,t,r){var n;em?((n=Yh.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),Ch.dispatchEvent(n)):n={promise:t,reason:r},!Zh&&(t=Ch["on"+e])?t(n):e===tm&&function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}("Unhandled promise rejection",r)},im=function(e){return 1!==e.rejection&&!e.parent},am=function(t,r,n){return function(e){t(r,e,n)}},sm=function(e,t,r){e.done||(e.done=!0,(e=r?r:e).value=t,e.state=2,nm(e,!0))},um=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw Wh("Promise can't be resolved itself");var n=rm(e);n?Nh(function(){var t={done:!1};try{Mh(n,e,am(um,t,r),am(sm,t,r))}catch(e){sm(t,e,r)}}):(r.value=e,r.state=1,nm(r,!1))}catch(e){sm({done:!1},e,r)}}};if(k&&(Vh=(qh=function(e){Uh(this,Vh),Lh(e),Mh(Dh,this);var t=Hh(this);try{e(am(um,t),am(sm,t))}catch(e){sm(t,e)}}).prototype,(Dh=function(e){Kh(this,{type:zh,done:!1,notified:!1,parent:!1,reactions:new Gh,rejection:!1,state:0,value:void 0})}).prototype=Yc(Vh,"then",function(e,t){var r=Hh(this),n=Xh($h(this,qh));return r.parent=!0,n.ok=!Ph(e)||e,n.fail=Ph(t)&&t,n.domain=Ih?Jh.domain:void 0,0==r.state?r.reactions.add(n):Nh(function(){Rh(n,r)}),n.promise}),Th=function(){var e=new Dh,t=Hh(e);this.promise=e,this.resolve=am(um,t),this.reject=am(sm,t)},yl.f=Xh=function(e){return e===qh||void 0===e?new Th:Qh(e)},Ph(v))&&a!==Object.prototype){Oh=a.then,hl||Yc(a,"then",function(e,t){var r=this;return new qh(function(e,t){Mh(Oh,r,e,t)}).then(e,t)},{unsafe:!0});try{delete a.constructor}catch(mk){}i&&i(a,Vh)}aa({global:!0,constructor:!0,wrap:!0,forced:k},{Promise:qh}),po(qh,zh,!1),tl(zh);function cm(e,t){this.stopped=e,this.result=t}function lm(e,t,r){function n(e){return i&&Am(i,"normal",e),new cm(!0,e)}function o(e){return f?(mm(e),m?g(e[0],e[1],n):g(e[0],e[1])):m?g(e,n):g(e)}var i,a,s,u,c,l,d=r&&r.that,f=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),h=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=pm(t,d);if(p)i=e.iterator;else if(h)i=e;else{if(!(r=wm(e)))throw xm(gm(e)+" is not iterable");if(vm(r)){for(a=0,s=bm(e);a<s;a++)if((u=o(e[a]))&&ym(km,u))return u;return new cm(!1)}i=_m(e,r)}for(c=(p?e:i).next;!(l=hm(c,i)).done;){try{u=o(l.value)}catch(e){Am(i,"throw",e)}if("object"==typeof u&&u&&ym(km,u))return u}return new cm(!1)}function dm(e,t){return $m(e),Bm(t)&&t.constructor===e?t:((0,(e=Nm.f(e)).resolve)(t),e.promise)}function fm(e){if(9007199254740991<e)throw Gm("Maximum allowed index exceeded")}var pm=ji,hm=e,mm=ao,gm=uo,vm=hc,bm=Bi,ym=Vo,_m=gc,wm=mc,Am=pc,xm=TypeError,km=cm.prototype,Em=vl,Xa=rl.CONSTRUCTOR||!k0(function(e){Em.all(e).then(void 0,function(){})}),Sm=e,Rm=co,Dm=_,Tm=ah,Om=lm,o=(Is({target:"Promise",stat:!0,forced:Xa},{all:function(e){var s=this,t=Dm.f(s),u=t.resolve,c=t.reject,r=Tm(function(){var n=Rm(s.resolve),o=[],i=0,a=1;Om(e,function(e){var t=i++,r=!1;a++,Sm(n,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}}),Is),m=vl,bl=so,zn=ho,x=Mi,y=m&&m.prototype,Im=(o({target:"Promise",proto:!0,forced:rl.CONSTRUCTOR,real:!0},{catch:function(e){return this.then(void 0,e)}}),zn(m)&&(w=bl("Promise").prototype.catch,y.catch!==w)&&x(y,"catch",w,{unsafe:!0}),e),Cm=co,Mm=_,Lm=ah,Pm=lm,jm=(Is({target:"Promise",stat:!0,forced:Xa},{race:function(e){var r=this,n=Mm.f(r),o=n.reject,t=Lm(function(){var t=Cm(r.resolve);Pm(e,function(e){Im(t,r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}}),e),Um=_,$m=(Is({target:"Promise",stat:!0,forced:rl.CONSTRUCTOR},{reject:function(e){var t=Um.f(this);return jm(t.reject,void 0,e),t.promise}}),ao),Bm=Mr,Nm=_,Ro=Is,Hu=rl.CONSTRUCTOR,Fm=dm,Gm=(so("Promise"),Ro({target:"Promise",stat:!0,forced:Hu},{resolve:function(e){return Fm(this,e)}}),TypeError),S=Is,Si=Qn,zm=ia,Zm=Mr,Hm=ro,Km=Bi,qm=Xu,Vm=zi,R=fc,A=t,Wm=oo("isConcatSpreadable"),yl=51<=A||!Si(function(){var e=[];return e[Wm]=!1,e.concat()[0]!==e}),v=(S({target:"Array",proto:!0,arity:1,forced:!yl||!R("concat")},{concat:function(e){for(var t,r,n,o,i,a=Hm(this),s=Vm(a,0),u=0,c=-1,l=arguments.length;c<l;c++)if(o=n=-1===c?a:arguments[c],i=void 0,!Zm(o)||(void 0!==(i=o[Wm])?!i:!zm(o)))fm(u+1),qm(s,u++,n);else for(r=Km(n),fm(u+r),t=0;t<r;t++,u++)t in n&&qm(s,u,n[t]);return s.length=u,s}}),Kn),hl=Di.EXISTS,Yc=r,i=ec,a=Function.prototype,Ym=Yc(a.toString),Jm=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Xm=Yc(Jm.exec);function Qm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eg(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 tg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eg(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eg(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}v&&!hl&&i(a,"name",{configurable:!0,get:function(){try{return Xm(Jm,Ym(this))[1]}catch(e){return""}}});function rg(e,t){fg[e]=tg(tg({},t),{},{isLoading:!1})}function ng(e){var n=this,o=e.id,i=e.src;return new Promise(function(e,t){var r;O(this,n),document.getElementById(o)?e():((r=document.createElement("script")).onload=function(){e()},r.id=o,r.setAttribute("crossorigin",!0),r.src=i,document.head.appendChild(r))}.bind(this))}function og(e){var t;return mg(e)&&(void 0!==(t=e[vg])?!!t:"RegExp"==gg(e))}function ig(e){if(bg(e))throw yg("The method doesn't accept regular expressions");return e}function ag(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[_g]=!1,"/./"[t](r)}catch(t){}}return!1}function sg(e){var t=e.flags;return void 0!==t||"flags"in Cg||Tg(e,"flags")||!Og(Cg,e)?t:Dg(Ig,e)}function ug(r,e,t,n){var a,o=Fg(r),s=!Ng(function(){var e={};return e[o]=function(){return 7},7!=""[r](e)}),i=s&&!Ng(function(){var e=!1,t=/a/;return"split"===r&&((t={}).constructor={},t.constructor[zg]=function(){return t},t.flags="",t[o]=/./[o]),t.exec=function(){return e=!0,null},t[o](""),!e});s&&i&&!t||(a=Ug(/./[o]),i=e(o,""[r],function(e,t,r,n,o){var e=Ug(e),i=t.exec;return i===Bg||i===Zg.exec?s&&!o?{done:!0,value:a(t,r,n)}:{done:!0,value:e(r,t,n)}:{done:!1}}),$g(String.prototype,r,i[0]),$g(Zg,o,i[1])),n&&Gg(Zg[o],"sham",!0)}function cg(e,t){var r=e.exec;if(qg(r))return null!==(r=Hg(r,e,t))&&Kg(r),r;if("RegExp"===Vg(e))return Hg(Wg,e,t);throw Yg("RegExp#exec called on incompatible receiver")}var lg,dg={react:{src:"https://pm.azerioncircle.com/react/16.14.0/umd/react.production.min.js",name:"React"},"react-dom":{src:"https://pm.azerioncircle.com/react-dom/16.14.0/umd/react-dom.production.min.js",name:"ReactDOM"},redux:{src:"https://pm.azerioncircle.com/redux/4.0.5/dist/redux.min.js",name:"Redux"},"react-redux":{src:"https://pm.azerioncircle.com/react-redux/7.2.1/dist/react-redux.min.js",name:"ReactRedux"},"material-ui-core":{src:"https://pm.azerioncircle.com/@material-ui/core/4.11.3/umd/material-ui.production.min.js",name:"MaterialUI"}},fg={},pg=(lg=d(I.mark(function e(t){var r,n,o,i,a,s;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=window[t])return e.abrupt("return",r);e.next=3;break;case 3:if((n=fg[t]).isLoading)return e.abrupt("return");e.next=6;break;case 6:n.isLoading=!0,o=function e(t,r){var n,o,i,a,s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(s)return i=!(o=!0),{s:function(){s=s.call(t)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,n=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw n}}};if(Array.isArray(t)||(s=function(e){var t;if(e)return"string"==typeof e?Qm(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Qm(e,void 0):void 0}(t))||r&&t&&"number"==typeof t.length)return s&&(t=s),a=0,{s:r=function(){},n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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.")}(n.dependencies),e.prev=8,o.s();case 10:if((a=o.n()).done)e.next=26;else{if(i=a.value,e.prev=12,a=dg[i].name,window[a])return e.abrupt("continue",24);e.next=16}break;case 16:return e.next=18,ng({id:i,src:dg[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,ng({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 lg.apply(this,arguments)}),hg=new(pe(function e(){var t,r,n=this;le(this,e),Fu(this,"load",d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pg("Leaderboard");case 2:n.leaderboard=e.sent;case 3:case"end":return e.stop()}},e)}))),Fu(this,"showLeaderboard",(r=d(I.mark(function e(t){var r;return I.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)})),Fu(this,"addScore",(t=d(I.mark(function e(t){return I.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.azerioncircle.com/@bygd/gd-sdk-leaderboard/0.1.43/dist/default/iife/index.js",dependencies:["react","react-dom","redux","react-redux","material-ui-core"]},rg(this.moduleName,this.moduleConfig)})),mg=Mr,gg=Li,vg=oo("match"),bg=og,yg=TypeError,_g=oo("match"),aa=Is,k=Pi,po=b.f,wg=$i,Ag=Gu,xg=ig,kg=to,tl=ag,Eg=k("".startsWith),Sg=k("".slice),Rg=Math.min,o=tl("startsWith"),Dg=(aa({target:"String",proto:!0,forced:!(!o&&(zn=po(String.prototype,"startsWith"))&&!zn.writable||o)},{startsWith:function(e){var t=Ag(kg(this)),r=(xg(e),wg(Rg(1<arguments.length?arguments[1]:void 0,t.length))),e=Ag(e);return Eg?Eg(t,e,r):Sg(t,r,r+e.length)===e}}),e),Tg=xo,Og=Vo,Ig=H0,Cg=RegExp.prototype,m=Di.PROPER,bl=Mi,Mg=ao,Lg=Gu,x=Qn,Pg=sg,y="toString",jg=RegExp.prototype[y],w=x(function(){return"/a/b"!=jg.call({source:"a",flags:"b"})}),Xa=m&&jg.name!=y,Ug=((w||Xa)&&bl(RegExp.prototype,y,function(){var e=Mg(this);return"/"+Lg(e.source)+"/"+Lg(Pg(e))},{unsafe:!0}),Pi),$g=Mi,Bg=E,Ng=Qn,Fg=oo,Gg=Ti,zg=Fg("species"),Zg=RegExp.prototype,_=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Hg=e,Kg=ao,qg=ho,Vg=Li,Wg=E,Yg=TypeError,Jg=e,Xg=ao,Qg=eo,ev=to,tv=_,rv=Gu,nv=lo,ov=cg;function iv(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 av(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iv(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iv(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}ug("search",function(n,o,i){return[function(e){var t=ev(this),r=Qg(e)?void 0:nv(e,n);return r?Jg(r,e,t):new RegExp(e)[n](rv(t))},function(e){var t=Xg(this),e=rv(e),r=i(o,t,e);return r.done?r.value:(r=t.lastIndex,tv(r,0)||(t.lastIndex=0),e=ov(t,e),tv(t.lastIndex,r)||(t.lastIndex=r),null===e?-1:e.index)}]});pe(Uv,[{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:pn()),i=decodeURIComponent((e||r)&&n.parentDomain?n.parentDomain:fn()),a=decodeURIComponent((e||r)&&n.topDomain?n.topDomain:r&&0===yn()?i:An()),s=(e||r)&&n.loaderEnabled,u=(e||r)&&n.loaderEnabled,c=(e||r)&&n.loaderEnabled,l=(e||r)&&n.loaderEnabled,d=(e||r)&&n.loaderEnabled,f=(e||r)&&n.loaderEnabled,p=(e||r)&&n.loaderEnabled,h=(console.log("noMinijuegosSDK",p),(e||r)&&n.loaderEnabled),m=(e||r)&&n.loaderEnabled&&n.hasImpression&&"1.1.24"<=n.version;return{isTokenGameURL:e,isMasterGameURL:t,isExtHostedGameURL:r,noConsoleBanner:s,noLoadedEvent:u,noBlockerEvent:c,noPreroll:h,parentURL:o,parentDomain:i,topDomain:a&&a.length?a:i,noGAPageView:l,noLotamePageView:d,noGamedockSDK:f,noMinijuegosSDK:p,version:n.version,pauseGameOnStartup:m,depth:yn(),domainMatched:i===a,exports:{formatTokenURLSearch:this._formatTokenURLSearch.bind(this),extendUrlQuery:this._extendUrlQuery.bind(this),base64Encode:this._base64_encode.bind(this)}}}},{key:"_isMasterGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i;return e.test(location.href)||!this._isTokenGameURL()&&e.test(document.referrer)}},{key:"_isTokenGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_isExtHostedGameURL",value:function(){var e=/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_isLoaderGameURL",value:function(){return/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i.test(location.href)&&location.href.startsWith("https://html5.gamedistribution.com")}},{key:"_getTokenGameURLConfig",value:function(){try{var e,t=/http[s]?:\/\/html5\.gamedistribution\.com\/[A-Za-z0-9]{8}\/[A-Fa-f0-9]{32}\/.*/i;if(t.test(location.href)){var r=new ce(location.href,!0);if(!r.query.gd_zone_config)return;e=r.query.gd_zone_config}else if(t.test(document.referrer)){var n=new ce(document.referrer,!0);if(!n.query.gd_zone_config)return;e=n.query.gd_zone_config}else{var o=new ce(location.href,!0);if(!o.query.gd_zone_config)return;e=o.query.gd_zone_config}return JSON.parse(ln(decodeURIComponent(e)))}catch(e){}}},{key:"_formatTokenURLSearch",value:function(e){var t="";try{t=encodeURIComponent(cn(JSON.stringify(e)))}catch(e){}try{var r=new ce(location.href,!0);return r.query=r.query||{},r.query.gd_zone_config=t,"?".concat(qs.stringify(r.query))}catch(e){return"?gd_zone_config=".concat(t)}}},{key:"_extendUrlQuery",value:function(e,t){e=new ce(e,!0);return e.query=av(av({},e.query),t),e.toString()}},{key:"_base64_encode",value:function(e){return cn(JSON.stringify(e))}}]);var sv=Uv,uv=function(){try{return(new sv).getBridgeContext()}catch(e){return{}}}(),cv={userDeclinedTracking:0<=document.location.search.indexOf("gdpr-tracking=0")||0<=document.cookie.indexOf("ogdpr_tracking=0"),whitelabelPartner:(rl=!1,rl=(Ro=mn()).hasOwnProperty("xanthophyll")&&"true"===Ro.xanthophyll?!0:rl)},lv=Rl.charAt,Hu=r,dv=ro,fv=Math.floor,pv=Hu("".charAt),hv=Hu("".replace),mv=Hu("".slice),gv=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vv=/\$([$&'`]|\d{1,2})/g,bv=ml,yv=e,ia=r,t=ug,A=Qn,_v=ao,wv=ho,Av=eo,xv=Ui,kv=$i,Ev=Gu,Sv=to,Rv=lo,Dv=cg,Tv=oo("replace"),Ov=Math.max,Iv=Math.min,Cv=ia([].concat),Mv=ia([].push),Lv=ia("".indexOf),Pv=ia("".slice),Si="$0"==="a".replace(/./,"$0"),jv=!!/./[Tv]&&""===/./[Tv]("a","$0");function Uv(){le(this,Uv)}t("replace",function(e,w,A){var x=jv?"$":"$0";return[function(e,t){var r=Sv(this),n=Av(e)?void 0:Rv(e,Tv);return n?yv(n,e,r,t):yv(w,Ev(r),e,t)},function(e,t){var r=_v(this),n=Ev(e);if("string"==typeof t&&-1===Lv(t,x)&&-1===Lv(t,"$<")){e=A(w,r,n,t);if(e.done)return e.value}var o,i=wv(t),a=(i||(t=Ev(t)),r.global);a&&(o=r.unicode,r.lastIndex=0);for(var s,u,c=[];;){var l=Dv(r,n);if(null===l)break;if(Mv(c,l),!a)break;""===Ev(l[0])&&(r.lastIndex=(s=n,(u=kv(r.lastIndex))+(o?lv(s,u).length:1)))}for(var d,f="",p=0,h=0;h<c.length;h++){for(var m=Ev((l=c[h])[0]),g=Ov(Iv(xv(l.index),n.length),0),v=[],b=1;b<l.length;b++)Mv(v,void 0===(d=l[b])?d:String(d));var y=l.groups,_=i?(_=Cv([m],v,g,n),void 0!==y&&Mv(_,y),Ev(bv(t,void 0,_))):function(i,a,s,u,c,e){var l=s+i.length,d=u.length,t=vv;return void 0!==c&&(c=dv(c),t=gv),hv(e,t,function(e,t){var r;switch(pv(t,0)){case"$":return"$";case"&":return i;case"`":return mv(a,0,s);case"'":return mv(a,l);case"<":r=c[mv(t,1,-1)];break;default:var n,o=+t;if(0==o)return e;if(d<o)return 0!==(n=fv(o/10))&&n<=d?void 0===u[n-1]?pv(t,1):u[n-1]+pv(t,1):e;r=u[o-1]}return void 0===r?"":r})}(m,n,g,v,y,t);p<=g&&(f+=Pv(n,p,g)+_,p=g+m.length)}return f+Pv(n,p)}]},!!A(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Si||jv);function $v(e,t){var r=e.length,n=eb(r/2);if(r<8){for(var o,i,a=e,s=t,u=a.length,c=1;c<u;){for(o=a[i=c];i&&0<s(a[i-1],o);)a[i]=a[--i];i!==c++&&(a[i]=o)}return a}for(var l=e,d=$v(Qv(e,0,n),t),f=$v(Qv(e,n),t),p=t,h=d.length,m=f.length,g=0,v=0;g<h||v<m;)l[g+v]=g<h&&v<m?p(d[g],f[v])<=0?d[g++]:f[v++]:g<h?d[g++]:f[v++];return l}function Bv(e){var t;return nb?(t=Ab(tb,e))&&t.value:tb[e]}function Nv(t){try{return Tb(t)}catch(e){return t}}function Fv(e){var t,r=Lb(e,Bb," "),n=4;try{return Tb(r)}catch(e){for(;n;)r=Lb(r,(t=n--,Nb[t-1]||(Nb[t-1]=Rb("((?:%[\\da-f]{2}){"+t+"})","gi"))),Nv);return r}}function Gv(e){return Gb[e]}function zv(e){return Lb(Ob(e),Fb,Gv)}function Zv(e){this.entries=[],this.url=null,void 0!==e&&(cb(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Ib(e,0)?$b(e,1):e:lb(e)))}function Hv(){ob(this,Zb);var e=yb(this,new Zv(0<arguments.length?arguments[0]:void 0));nb||(this.length=e.entries.length)}var Kv,qv,Vv,Wv,S=Qn,Yv=Kn,Jv=oo("iterator"),yl=!S(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),r=e.searchParams,n="";return e.pathname="c%20d",r.forEach(function(e,t){r.delete("b"),n+=t+e}),!r.size&&!Yv||!r.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[Jv]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}),Xv=Mi,Qv=Qu,eb=Math.floor,R=Is,tb=n,rb=e,Yc=r,nb=Kn,v=yl,hl=Mi,i=ec,a=rc,b=F0,k=Ri,ob=Ap,tl=ho,ib=xo,ab=ji,sb=ca,ub=ao,cb=Mr,lb=Gu,db=Po,fb=Ii,pb=gc,hb=mc,mb=kp,gb=$v,aa=oo("iterator"),vb="URLSearchParams",bb=vb+"Iterator",yb=k.set,_b=k.getterFor(vb),wb=k.getterFor(bb),Ab=Object.getOwnPropertyDescriptor,xb=Bv("fetch"),kb=Bv("Request"),Eb=Bv("Headers"),Sb=kb&&kb.prototype,po=Eb&&Eb.prototype,Rb=tb.RegExp,Db=tb.TypeError,Tb=tb.decodeURIComponent,Ob=tb.encodeURIComponent,Ib=Yc("".charAt),Cb=Yc([].join),Mb=Yc([].push),Lb=Yc("".replace),Pb=Yc([].shift),jb=Yc([].splice),Ub=Yc("".split),$b=Yc("".slice),Bb=/\+/g,Nb=Array(4),Fb=/[!'()~]|%20/g,Gb={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},zb=b(function(e,t){yb(this,{type:bb,iterator:pb(_b(e).entries),kind:t})},"Iterator",function(){var e=wb(this),t=e.kind,e=e.iterator.next(),r=e.value;return e.done||(e.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),e},!0),Zb=(Zv.prototype={type:vb,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,s=hb(e);if(s)for(r=(t=pb(e,s)).next;!(n=rb(r,t)).done;){if(o=(n=pb(ub(n.value))).next,(i=rb(o,n)).done||(a=rb(o,n)).done||!rb(o,n).done)throw Db("Expected sequence with length 2");Mb(this.entries,{key:lb(i.value),value:lb(a.value)})}else for(var u in e)ib(e,u)&&Mb(this.entries,{key:u,value:lb(e[u])})},parseQuery:function(e){if(e)for(var t,r=Ub(e,"&"),n=0;n<r.length;)(t=r[n++]).length&&(t=Ub(t,"="),Mb(this.entries,{key:Fv(Pb(t)),value:Fv(Cb(t,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Mb(r,zv(e.key)+"="+zv(e.value));return Cb(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}},Hv.prototype),Hb=Zb,Kb={append:function(e,t){mb(arguments.length,2);var r=_b(this);Mb(r.entries,{key:lb(e),value:lb(t)}),nb||this.length++,r.updateURL()},delete:function(e){mb(arguments.length,1);for(var t=_b(this),r=t.entries,n=lb(e),o=0;o<r.length;)r[o].key===n?jb(r,o,1):o++;nb||(this.length=r.length),t.updateURL()},get:function(e){mb(arguments.length,1);for(var t=_b(this).entries,r=lb(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){mb(arguments.length,1);for(var t=_b(this).entries,r=lb(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Mb(n,t[o].value);return n},has:function(e){mb(arguments.length,1);for(var t=_b(this).entries,r=lb(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){mb(arguments.length,1);for(var r,n=_b(this),o=n.entries,i=!1,a=lb(e),s=lb(t),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?jb(o,u--,1):(i=!0,r.value=s));i||Mb(o,{key:a,value:s}),nb||(this.length=o.length),n.updateURL()},sort:function(){var e=_b(this);gb(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=_b(this).entries,n=ab(e,1<arguments.length?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new zb(this,"keys")},values:function(){return new zb(this,"values")},entries:function(){return new zb(this,"entries")}},qb={enumerable:!0};for(Wv in Kb)Xv(Hb,Wv,Kb[Wv],qb);hl(Zb,aa,Zb.entries,{name:"entries"}),hl(Zb,"toString",function(){return _b(this).serialize()},{enumerable:!0}),nb&&i(Zb,"size",{get:function(){return _b(this).entries.length},configurable:!0,enumerable:!0}),a(Hv,vb),R({global:!0,constructor:!0,forced:!v},{URLSearchParams:Hv}),!v&&tl(Eb)&&(Kv=Yc(po.has),qv=Yc(po.set),Vv=function(e){if(cb(e)){var t,r=e.body;if(sb(r)===vb)return t=e.headers?new Eb(e.headers):new Eb,Kv(t,"content-type")||qv(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),db(e,{body:fb(0,lb(r)),headers:fb(0,t)})}return e},tl(xb)&&R({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return xb(e,1<arguments.length?Vv(arguments[1]):{})}}),tl(kb))&&((Sb.constructor=zn=function(e){return ob(this,Sb),new kb(e,1<arguments.length?Vv(arguments[1]):{})}).prototype=Sb,R({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:zn}));var Vb,o={URLSearchParams:Hv,getState:_b},Wb=js.includes,x=K0,m=(Is({target:"Array",proto:!0,forced:Qn(function(){return!Array(1).includes()})},{includes:function(e){return Wb(this,e,1<arguments.length?arguments[1]:void 0)}}),x("includes"),Is),Yb=ig,Jb=to,Xb=Gu,w=ag,Qb=r("".indexOf),Xa=(m({target:"String",proto:!0,forced:!w("includes")},{includes:function(e){return!!~Qb(Xb(Jb(this)),Xb(Yb(e)),1<arguments.length?arguments[1]:void 0)}}),{exports:{}}),bl={exports:{}},y={exports:{}};function e1(e){return(e1="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=y).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){var t;if(!("string"==typeof e||e instanceof String))throw t=e1(e),null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))},E.exports=_.default,E.exports.default=_.default,rl=(Ro=bl).exports,Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=function(e){return(0,Vb.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)},Vb=(Hu=y.exports)&&Hu.__esModule?Hu:{default:Hu},Ro.exports=rl.default,Ro.exports.default=rl.default;var ml={exports:{}},ia={},t={},t1=(Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.bengaliLocales=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0,{"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/}),r1=(t.alpha=t1,{"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/}),n1=(t.alphanumeric=r1,{"en-US":".",ar:"٫"}),o1=(t.decimal=n1,["AU","GB","HK","IN","NZ","ZA","ZM"]);t.englishLocales=o1;for(var i1,a1=0;a1<o1.length;a1++)t1[i1="en-".concat(o1[a1])]=t1["en-US"],r1[i1]=r1["en-US"],n1[i1]=n1["en-US"];var s1=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=s1;for(var u1,c1=0;c1<s1.length;c1++)t1[u1="ar-".concat(s1[c1])]=t1.ar,r1[u1]=r1.ar,n1[u1]=n1.ar;var l1=["IR","AF"];t.farsiLocales=l1;for(var d1,f1=0;f1<l1.length;f1++)r1[d1="fa-".concat(l1[f1])]=r1.fa,n1[d1]=n1.ar;var p1=["BD","IN"];t.bengaliLocales=p1;for(var h1,m1=0;m1<p1.length;m1++)t1[h1="bn-".concat(p1[m1])]=t1.bn,r1[h1]=r1.bn,n1[h1]=n1["en-US"];var g1=["ar-EG","ar-LB","ar-LY"],v1=(t.dotDecimal=g1,["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","si-LK","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"]);t.commaDecimal=v1;for(var b1=0;b1<g1.length;b1++)n1[g1[b1]]=n1["en-US"];for(var y1=0;y1<v1.length;y1++)n1[v1[y1]]=",";t1["fr-CA"]=t1["fr-FR"],r1["fr-CA"]=r1["fr-FR"],t1["pt-BR"]=t1["pt-PT"],r1["pt-BR"]=r1["pt-PT"],n1["pt-BR"]=n1["pt-PT"],t1["pl-Pl"]=t1["pl-PL"],r1["pl-Pl"]=r1["pl-PL"],n1["pl-Pl"]=n1["pl-PL"],t1["fa-AF"]=t1.fa,Object.defineProperty(ia,"__esModule",{value:!0}),ia.default=function(e,t){(0,k1.default)(e),t=t||{};var r,n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?E1.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));return""!==e&&"."!==e&&","!==e&&"-"!==e&&"+"!==e&&(r=parseFloat(e.replace(",",".")),n.test(e))&&(!t.hasOwnProperty("min")||r>=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||r<t.lt)&&(!t.hasOwnProperty("gt")||r>t.gt)},ia.locales=void 0;var _1,w1,A1,x1,k1=(A=y.exports)&&A.__esModule?A:{default:A},E1=t,Si=Object.keys(E1.decimal),Po=(ia.locales=Si,ca=(S=ml).exports,Object.defineProperty(ca,"__esModule",{value:!0}),ca.default=function(e){return(0,_1.default)(e)?parseFloat(e):NaN},_1=ia&&ia.__esModule?ia:{default:ia},S.exports=ca.default,S.exports.default=ca.default,{exports:{}}),hl=(b=(k=Po).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e,t){return(0,w1.default)(e),parseInt(e,t||10)},w1=(aa=y.exports)&&aa.__esModule?aa:{default:aa},k.exports=b.default,k.exports.default=b.default,{exports:{}}),Yc=(a=(i=hl).exports,Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,t){return(0,A1.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e},A1=(v=y.exports)&&v.__esModule?v:{default:v},i.exports=a.default,i.exports.default=a.default,{exports:{}}),zn=(tl=(po=Yc).exports,Object.defineProperty(tl,"__esModule",{value:!0}),tl.default=function(e,t){return(0,x1.default)(e),e===t},x1=(R=y.exports)&&R.__esModule?R:{default:R},po.exports=tl.default,po.exports.default=tl.default,{exports:{}}),js={exports:{}};function S1(e){return(S1="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)}m=(x=js).exports,Object.defineProperty(m,"__esModule",{value:!0}),m.default=function(e){return"object"===S1(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},x.exports=m.default,x.exports.default=m.default;var R1,D1,T1,O1,w={exports:{}};function I1(e){return e&&e.__esModule?e:{default:e}}_=(E=w).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=1<arguments.length?arguments[1]:void 0;for(e in r)void 0===t[e]&&(t[e]=r[e]);return t},E.exports=_.default,E.exports.default=_.default,Ro=(Hu=zn).exports,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=function(e,t,r){return(0,R1.default)(e),(r=(0,T1.default)(r,O1)).ignoreCase?e.toLowerCase().split((0,D1.default)(t).toLowerCase()).length>r.minOccurrences:e.split((0,D1.default)(t)).length>r.minOccurrences},R1=I1(y.exports),D1=I1(js.exports),T1=I1(w.exports),O1={ignoreCase:!1,minOccurrences:1},Hu.exports=Ro.default,Hu.exports.default=Ro.default;var C1,M1,rl={exports:{}},ca=(Si=(A=rl).exports,Object.defineProperty(Si,"__esModule",{value:!0}),Si.default=function(e,t,r){return(0,C1.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r)),!!e.match(t)},C1=(S=y.exports)&&S.__esModule?S:{default:S},A.exports=Si.default,A.exports.default=Si.default,{exports:{}}),aa={exports:{}};function L1(e){return(L1="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)}b=(k=aa).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e,t){(0,M1.default)(e),t="object"===L1(t)?(r=t.min||0,t.max):(r=t,arguments[2]);var r,e=encodeURI(e).split(/%..|./).length-1;return r<=e&&(void 0===t||e<=t)},M1=(v=y.exports)&&v.__esModule?v:{default:v},k.exports=b.default,k.exports.default=b.default;var P1,j1,U1,i={exports:{}};function $1(e){return e&&e.__esModule?e:{default:e}}R=(a=i).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e,t){(0,P1.default)(e),(t=(0,j1.default)(t,U1)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var e=(e=!0===t.allow_wildcard&&0===e.indexOf("*.")?e.substring(2):e).split("."),r=e[e.length-1];if(t.require_tld){if(e.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(r))return!1;if(/\s/.test(r))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(r))&&e.every(function(e){return!(63<e.length&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})},P1=$1(y.exports),j1=$1(w.exports),U1={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1},a.exports=R.default,a.exports.default=R.default;var B1,N1,F1,G1,z1,Z1,H1,K1,q1,V1,W1,Y1,J1,X1,Q1,ey,po={exports:{}};function ty(e){return e&&e.__esModule?e:{default:e}}x=(tl=po).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return(0,X1.default)(t),(r=String(r))?"4"===r?Q1.test(t):"6"===r&&ey.test(t):e(t,4)||e(t,6)},X1=(m=y.exports)&&m.__esModule?m:{default:m},m="(".concat(m="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])","[.]){3}").concat(m),Q1=new RegExp("^".concat(m,"$")),E="(?:[0-9a-fA-F]{1,4})",ey=new RegExp("^("+"(?:".concat(E,":){7}(?:").concat(E,"|:)|")+"(?:".concat(E,":){6}(?:").concat(m,"|:").concat(E,"|:)|")+"(?:".concat(E,":){5}(?::").concat(m,"|(:").concat(E,"){1,2}|:)|")+"(?:".concat(E,":){4}(?:(:").concat(E,"){0,1}:").concat(m,"|(:").concat(E,"){1,3}|:)|")+"(?:".concat(E,":){3}(?:(:").concat(E,"){0,2}:").concat(m,"|(:").concat(E,"){1,4}|:)|")+"(?:".concat(E,":){2}(?:(:").concat(E,"){0,3}:").concat(m,"|(:").concat(E,"){1,5}|:)|")+"(?:".concat(E,":){1}(?:(:").concat(E,"){0,4}:").concat(m,"|(:").concat(E,"){1,6}|:)|")+"(?::((?::".concat(E,"){0,5}:").concat(m,"|(?::").concat(E,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$"),tl.exports=x.default,tl.exports.default=x.default,Hu=(_=ca).exports,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.default=function(e,t){if((0,B1.default)(e),(t=(0,N1.default)(t,Z1)).require_display_name||t.allow_display_name){var r=e.match(H1);if(r){r=r[1];if(e=e.replace(r,"").replace(/(^<|>$)/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.slice(0,-1):r))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>J1)return!1;var r=e.split("@"),e=r.pop(),n=e.toLowerCase();if(t.host_blacklist.includes(n))return!1;if(0<t.host_whitelist.length&&!t.host_whitelist.includes(n))return!1;r=r.join("@");if(t.domain_specific_validation&&("gmail.com"===n||"googlemail.com"===n)){n=(r=r.toLowerCase()).split("+")[0];if(!(0,F1.default)(n.replace(/\./g,""),{min:6,max:30}))return!1;for(var o=n.split("."),i=0;i<o.length;i++)if(!q1.test(o[i]))return!1}if(!(!1!==t.ignore_max_length||(0,F1.default)(r,{max:64})&&(0,F1.default)(e,{max:254})))return!1;if(!(0,G1.default)(e,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length})){if(!t.allow_ip_domain)return!1;if(!(0,z1.default)(e)){if(!e.startsWith("[")||!e.endsWith("]"))return!1;n=e.slice(1,-1);if(0===n.length||!(0,z1.default)(n))return!1}}if('"'===r[0])return r=r.slice(1,r.length-1),(t.allow_utf8_local_part?Y1:V1).test(r);for(var a=t.allow_utf8_local_part?W1:K1,s=r.split("."),u=0;u<s.length;u++)if(!a.test(s[u]))return!1;return!t.blacklisted_chars||-1===r.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))},B1=ty(y.exports),N1=ty(w.exports),F1=ty(aa.exports),G1=ty(i.exports),z1=ty(po.exports),Z1={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},H1=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,K1=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,q1=/^[a-z\d]+$/,V1=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,W1=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,Y1=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,J1=254,_.exports=Hu.default,_.exports.default=Hu.default;var ry,ny,oy,iy,ay,sy,Ro={exports:{}};function uy(e){return e&&e.__esModule?e:{default:e}}function cy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ly(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||function e(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(n)&&n.test(e))return!0}return!1}A=(S=Ro).exports,Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e,t){if((0,ry.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,iy.default)(t,ay)).validate_length&&2083<=e.length)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var r,n,o=e.split("#");if(1<(o=(e=(o=(e=o.shift()).split("?")).shift()).split("://")).length){if(r=o.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;o[0]=e.slice(2)}}if(""===(e=o.join("://")))return!1;if(""===(e=(o=e.split("/")).shift())&&!t.require_host)return!0;if(1<(o=e.split("@")).length){if(t.disallow_auth)return!1;if(""===o[0])return!1;if(0<=(r=o.shift()).indexOf(":")&&2<r.split(":").length)return!1;var e=function(e){if(Array.isArray(e))return e}(e=r.split(":"))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],r=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done)&&(t.push(i.value),2!==t.length);r=!0);}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return t}}(e)||function(e){var t;if(e)return"string"==typeof e?cy(e,2):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cy(e,2):void 0}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=e[0],e=e[1];if(""===i&&""===e)return!1}var a,i=null,e=null,s=(a=o.join("@")).match(sy);if(s?(n="",e=s[1],i=s[2]||null):(n=(o=a.split(":")).shift(),o.length&&(i=o.join(":"))),null!==i&&0<i.length){if(s=parseInt(i,10),!/^[0-9]+$/.test(i)||s<=0||65535<s)return!1}else if(t.require_port)return!1;return t.host_whitelist?ly(n,t.host_whitelist):""===n&&!t.require_host||!!((0,oy.default)(n)||(0,ny.default)(n,t)||e&&(0,oy.default)(e,6))&&(n=n||e,!t.host_blacklist||!ly(n,t.host_blacklist))},ry=uy(y.exports),ny=uy(i.exports),oy=uy(po.exports),iy=uy(w.exports),ay={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},sy=/^\[([^\]]+)\](?::([0-9]+))?$/,S.exports=A.default,S.exports.default=A.default;var dy,fy,py,hy,my,gy,vy,by,yy,_y,wy,Ay,Si={exports:{}},a=(k=(v=Si).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function e(t,r){return(0,dy.default)(t),null!=r&&r.eui&&(r.eui=String(r.eui)),null!=r&&r.no_colons||null!=r&&r.no_separators?"48"===r.eui?py.test(t):"64"!==r.eui&&py.test(t)||gy.test(t):"48"===(null==r?void 0:r.eui)?fy.test(t)||hy.test(t):"64"===(null==r?void 0:r.eui)?my.test(t)||vy.test(t):e(t,{eui:"48"})||e(t,{eui:"64"})},dy=(b=y.exports)&&b.__esModule?b:{default:b},fy=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,py=/^([0-9a-fA-F]){12}$/,hy=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,my=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,gy=/^([0-9a-fA-F]){16}$/,vy=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/,v.exports=k.default,v.exports.default=k.default,{exports:{}});function xy(e){return e&&e.__esModule?e:{default:e}}m=(R=a).exports,Object.defineProperty(m,"__esModule",{value:!0}),m.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=((0,by.default)(e),e.split("/"));if(2!==r.length)return!1;if(!_y.test(r[1]))return!1;if(1<r[1].length&&r[1].startsWith("0"))return!1;if(!(0,yy.default)(r[0],t))return!1;var n=null;switch(String(t)){case"4":n=wy;break;case"6":n=Ay;break;default:n=(0,yy.default)(r[0],"6")?Ay:wy}return r[1]<=n&&0<=r[1]},by=xy(y.exports),yy=xy(po.exports),_y=/^\d{1,3}$/,wy=32,Ay=128,R.exports=m.default,R.exports.default=m.default;var ky,Ey,E={exports:{}};function Sy(e,t){var r;if(e)return"string"==typeof e?Ry(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ry(e,t):void 0}function Ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}x=(tl=E).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(t,r){if(r="string"==typeof r?(0,ky.default)({format:r},Ey):(0,ky.default)(r,Ey),"string"==typeof t&&(n=r.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(n))){var e,n=r.delimiters.find(function(e){return-1!==r.format.indexOf(e)}),o=r.strictMode?n:r.delimiters.find(function(e){return-1!==t.indexOf(e)}),i={},a=function(e){var t,r,n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=Sy(e)))return t&&(e=t),r=0,{s:n=function(){},n:function(){return 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<n;o++)r.push([e[o],t[o]]);return r}(t.split(o),r.format.toLowerCase().split(n)));try{for(a.s();!(e=a.n()).done;){var s=function e(t,r){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(t,r)||Sy(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.value,2),u=s[0],c=s[1];if(u.length!==c.length)return!1;i[c.charAt(0)]=u}}catch(t){a.e(t)}finally{a.f()}return new Date("".concat(i.m,"/").concat(i.d,"/").concat(i.y)).getDate()===+i.d}var n;return!r.strictMode&&"[object Date]"===Object.prototype.toString.call(t)&&isFinite(t)},ky=(_=w.exports)&&_.__esModule?_:{default:_},Ey={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1},tl.exports=x.default,tl.exports.default=x.default;var Dy,Ty,Oy,Iy,Cy,My,Ly,Py,jy,Uy,$y,By,Ny,Fy,Gy,zy,Zy,Hy,Ky,qy,Vy,Wy,Yy,Jy,Xy,Qy,e_,t_,r_,n_,o_,i_,Hu={exports:{}},v=(A=(S=Hu).exports,Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e,t){return t=(0,Dy.default)(t,Ty),"string"==typeof e&&Oy[t.hourFormat][t.mode].test(e)},Dy=(b=w.exports)&&b.__esModule?b:{default:b},Ty={hourFormat:"hour24",mode:"default"},Oy={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}},S.exports=A.default,S.exports.default=A.default,{exports:{}}),_=(R=(k=v).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Cy;return(0,Iy.default)(e),t.loose?Ly.includes(e.toLowerCase()):My.includes(e)},Iy=(m=y.exports)&&m.__esModule?m:{default:m},Cy={loose:!1},My=["true","false","1","0"],Ly=[].concat(My,["yes","no"]),k.exports=R.default,k.exports.default=R.default,{exports:{}}),S=(x=(tl=_).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,Py.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||jy.test(e)},Py=(b=y.exports)&&b.__esModule?b:{default:b},jy=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/,tl.exports=x.default,tl.exports.default=x.default,{}),a_=(Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=((0,a_.default)(e),r.ignore);if(r)if(r instanceof RegExp)e=e.replace(r,"");else{if("string"!=typeof r)throw new Error("ignore should be instance of a String or RegExp");e=e.replace(new RegExp("[".concat(r.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in s_.alpha)return s_.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},S.locales=void 0,(A=y.exports)&&A.__esModule?A:{default:A}),s_=t,m=Object.keys(s_.alpha),k=(S.locales=m,{}),u_=(Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=((0,u_.default)(e),r.ignore);if(r)if(r instanceof RegExp)e=e.replace(r,"");else{if("string"!=typeof r)throw new Error("ignore should be instance of a String or RegExp");e=e.replace(new RegExp("[".concat(r.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in c_.alphanumeric)return c_.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},k.locales=void 0,(R=y.exports)&&R.__esModule?R:{default:R}),c_=t,b=Object.keys(c_.alphanumeric),tl=(k.locales=b,{exports:{}}),R=(A=(x=tl).exports,Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e,t){return(0,Uy.default)(e),(t&&t.no_symbols?By:new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?$y.decimal[t.locale]:".","])?[0-9]+$"))).test(e)},Uy=(m=y.exports)&&m.__esModule?m:{default:m},$y=t,By=/^[0-9]+$/,x.exports=A.default,x.exports.default=A.default,{exports:{}}),A=(m=(b=R).exports,Object.defineProperty(m,"__esModule",{value:!0}),m.default=function(e,t){(0,Ny.default)(e);e=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in Fy&&Fy[t].test(e)},Ny=(x=y.exports)&&x.__esModule?x:{default:x},Fy={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{2,3}\d{7,8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JM:/^[Aa]\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,KZ:/^[a-zA-Z]\d{7}$/,LI:/^[a-zA-Z]\d{5}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,MX:/^\d{10,11}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/},b.exports=m.default,b.exports.default=m.default,{exports:{}}),x={exports:{}},m=(m=(b=x).exports,Object.defineProperty(m,"__esModule",{value:!0}),m.default=function(e,t){(0,zy.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?Zy:Hy,n=!t.hasOwnProperty("min")||e>=t.min,o=!t.hasOwnProperty("max")||e<=t.max,i=!t.hasOwnProperty("lt")||e<t.lt,t=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&o&&i&&t},zy=(b_=y.exports)&&b_.__esModule?b_:{default:b_},Zy=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,Hy=/^[-+]?[0-9]+$/,b.exports=m.default,b.exports.default=m.default,b=(b_=A).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e){return(0,Gy.default)(e,{min:0,max:65535})},Gy=(m=x.exports)&&m.__esModule?m:{default:m},b_.exports=b.default,b_.exports.default=b.default,{exports:{}}),l_=(b=(b_=m).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e){return(0,Ky.default)(e),e===e.toLowerCase()},Ky=(l_=y.exports)&&l_.__esModule?l_:{default:l_},b_.exports=b.default,b_.exports.default=b.default,{exports:{}}),d_=(b=(b_=l_).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e){return(0,qy.default)(e),e===e.toUpperCase()},qy=(d_=y.exports)&&d_.__esModule?d_:{default:d_},b_.exports=b.default,b_.exports.default=b.default,{exports:{}}),f_=(b=(b_=d_).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e,t){(0,Vy.default)(e);var r=Wy;if(!(r=(t=t||{}).allow_hyphens?Yy: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)},Vy=(f_=y.exports)&&f_.__esModule?f_:{default:f_},Wy=/^[0-9]{15}$/,Yy=/^\d{2}-\d{6}-\d{6}-\d{1}$/,b_.exports=b.default,b_.exports.default=b.default,{exports:{}}),p_=(b=(b_=f_).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e){return(0,Jy.default)(e),Xy.test(e)},Jy=(p_=y.exports)&&p_.__esModule?p_:{default:p_},Xy=/^[\x00-\x7F]+$/,b_.exports=b.default,b_.exports.default=b.default,{}),h_=(Object.defineProperty(p_,"__esModule",{value:!0}),p_.default=function(e){return(0,h_.default)(e),m_.test(e)},p_.fullWidth=void 0,(b_=y.exports)&&b_.__esModule?b_:{default:b_}),m_=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,b=(p_.fullWidth=m_,{}),g_=(Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e){return(0,g_.default)(e),v_.test(e)},b.halfWidth=void 0,(b_=y.exports)&&b_.__esModule?b_:{default:b_}),v_=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,b_=(b.halfWidth=v_,{exports:{}}),y_=(C_=(w_=b_).exports,Object.defineProperty(C_,"__esModule",{value:!0}),C_.default=function(e){return(0,Qy.default)(e),e_.fullWidth.test(e)&&t_.halfWidth.test(e)},Qy=(y_=y.exports)&&y_.__esModule?y_:{default:y_},e_=p_,t_=b,w_.exports=C_.default,w_.exports.default=C_.default,{exports:{}}),__=(C_=(w_=y_).exports,Object.defineProperty(C_,"__esModule",{value:!0}),C_.default=function(e){return(0,r_.default)(e),n_.test(e)},r_=(__=y.exports)&&__.__esModule?__:{default:__},n_=/[^\x00-\x7F]/,w_.exports=C_.default,w_.exports.default=C_.default,{exports:{}}),w_={exports:{}};function A_(e){return e&&e.__esModule?e:{default:e}}D=(C_=w_).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e,t){e=e.join("");return new RegExp(e,t)},C_.exports=D.default,C_.exports.default=D.default,D=(C_=__).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,o_.default)(e),i_.test(e)},o_=A_(y.exports),i_=(0,A_(w_.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"),C_.exports=D.default,C_.exports.default=D.default;var x_,k_,E_,S_,R_,D_,T_,O_,w_={exports:{}},I_=(D=(C_=w_).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,x_.default)(e),k_.test(e)},x_=(I_=y.exports)&&I_.__esModule?I_:{default:I_},k_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,C_.exports=D.default,C_.exports.default=D.default,{exports:{}}),C_={exports:{}},D=C_,M_=C_.exports;function L_(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=void 0,M_.default=function(e,t){return e.some(function(e){return t===e})},D.exports=M_.default,D.exports.default=M_.default,M_=(D=I_).exports,Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=function(e,t){if((0,S_.default)(e),(t=(0,E_.default)(t,T_)).locale in D_.decimal)return!(0,R_.default)(O_,e.replace(/ /g,""))&&(r=t,new RegExp("^[-+]?([0-9]+)?(\\".concat(D_.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,"'"))},E_=L_(w.exports),S_=L_(y.exports),R_=L_(C_.exports),D_=t,T_={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},O_=["","-","+"],D.exports=M_.default,D.exports.default=M_.default;var P_,j_,U_,$_,B_,N_,C_={exports:{}},M_=(D=(t=C_).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,P_.default)(e),j_.test(e)},P_=(M_=y.exports)&&M_.__esModule?M_:{default:M_},j_=/^(0x|0h)?[0-9A-F]+$/i,t.exports=D.default,t.exports.default=D.default,{exports:{}}),F_=(D=(t=M_).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,U_.default)(e),$_.test(e)},U_=(F_=y.exports)&&F_.__esModule?F_:{default:F_},$_=/^(0o)?[0-7]+$/i,t.exports=D.default,t.exports.default=D.default,{exports:{}});function G_(e){return e&&e.__esModule?e:{default:e}}D=(t=F_).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e,t){return(0,B_.default)(e),(0,N_.default)(e)%parseInt(t,10)==0},B_=G_(y.exports),N_=G_(ml.exports),t.exports=D.default,t.exports.default=D.default;var z_,Z_,H_,K_,q_,V_,W_,Y_,J_,X_,Q_,ew,tw,rw,nw,ow,iw,aw,sw,uw,cw,lw,dw,fw,pw,hw,t={exports:{}},mw=(ww=(D=t).exports,Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=function(e){return(0,z_.default)(e),Z_.test(e)},z_=(mw=y.exports)&&mw.__esModule?mw:{default:mw},Z_=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,D.exports=ww.default,D.exports.default=ww.default,{exports:{}}),gw=(ww=(D=mw).exports,Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return(0,H_.default)(e),t?K_.test(e)||q_.test(e)||V_.test(e)||W_.test(e):K_.test(e)||q_.test(e)},H_=(gw=y.exports)&&gw.__esModule?gw:{default:gw},K_=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,q_=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,V_=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,W_=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,D.exports=ww.default,D.exports.default=ww.default,{exports:{}}),vw=(ww=(D=gw).exports,Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=function(e){(0,Y_.default)(e);e=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return(-1!==e.indexOf(",")?J_:X_).test(e)},Y_=(vw=y.exports)&&vw.__esModule?vw:{default:vw},J_=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,X_=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i,D.exports=ww.default,D.exports.default=ww.default,{exports:{}}),bw=(ww=(D=vw).exports,Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=function(e){return(0,Q_.default)(e),ew.test(e)},Q_=(bw=y.exports)&&bw.__esModule?bw:{default:bw},ew=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/,D.exports=ww.default,D.exports.default=ww.default,{}),yw=(Object.defineProperty(bw,"__esModule",{value:!0}),bw.default=function(e){return(0,yw.default)(e),t=e.replace(/[\s\-]+/gi,"").toUpperCase(),(r=t.slice(0,2).toUpperCase())in _w&&_w[r].test(t)&&1===((r=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase()).slice(4)+r.slice(0,4)).replace(/[A-Z]/g,function(e){return e.charCodeAt(0)-55}).match(/\d{1,7}/g).reduce(function(e,t){return Number(e+t)%97},"");var t,r},bw.locales=void 0,(D=y.exports)&&D.__esModule?D:{default:D}),_w={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/},ww=Object.keys(_w),D=(bw.locales=ww,{exports:{}}),ww={},Aw=(Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=function(e){return(0,Aw.default)(e),xw.has(e.toUpperCase())},ww.CountryCodes=void 0,(Rw=y.exports)&&Rw.__esModule?Rw:{default:Rw}),xw=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]),kw=(ww.CountryCodes=xw,Mw=(Rw=D).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e){(0,tw.default)(e);var t=e.slice(4,6).toUpperCase();return!(!rw.CountryCodes.has(t)&&"XK"!==t)&&nw.test(e)},tw=(kw=y.exports)&&kw.__esModule?kw:{default:kw},rw=ww,nw=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/,Rw.exports=Mw.default,Rw.exports.default=Mw.default,{exports:{}}),Ew=(Mw=(Rw=kw).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e){return(0,ow.default)(e),iw.test(e)},ow=(Ew=y.exports)&&Ew.__esModule?Ew:{default:Ew},iw=/^[a-f0-9]{32}$/,Rw.exports=Mw.default,Rw.exports.default=Mw.default,{exports:{}}),Sw=(Mw=(Rw=Ew).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e,t){return(0,aw.default)(e),new RegExp("^[a-fA-F0-9]{".concat(sw[t],"}$")).test(e)},aw=(Sw=y.exports)&&Sw.__esModule?Sw:{default:Sw},sw={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8},Rw.exports=Mw.default,Rw.exports.default=Mw.default,{exports:{}}),Rw={exports:{}};function Dw(e){return e&&e.__esModule?e:{default:e}}function Tw(e){return e&&e.__esModule?e:{default:e}}Bw=(Mw=Rw).exports,Object.defineProperty(Bw,"__esModule",{value:!0}),Bw.default=function(e,t){(0,lw.default)(e),t=(0,dw.default)(t,hw);var r=e.length;return t.urlSafe?pw.test(e):r%4==0&&!fw.test(e)&&(-1===(t=e.indexOf("="))||t===r-1||t===r-2&&"="===e[r-1])},lw=Tw(y.exports),dw=Tw(w.exports),fw=/[^A-Z0-9+\/=]/i,hw={urlSafe:!(pw=/^[A-Z0-9_\-]*$/i)},Mw.exports=Bw.default,Mw.exports.default=Bw.default,Bw=(Mw=Sw).exports,Object.defineProperty(Bw,"__esModule",{value:!0}),Bw.default=function(e){(0,uw.default)(e);var e=e.split("."),t=e.length;return!(3<t||t<2)&&e.reduce(function(e,t){return e&&(0,cw.default)(t,{urlSafe:!0})},!0)},uw=Dw(y.exports),cw=Dw(Rw.exports),Mw.exports=Bw.default,Mw.exports.default=Bw.default;var Ow,Iw,Cw,Mw={exports:{}};function Lw(e){return e&&e.__esModule?e:{default:e}}function Pw(e){return(Pw="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)}Gw=(Bw=Mw).exports,Object.defineProperty(Gw,"__esModule",{value:!0}),Gw.default=function(e,t){(0,Ow.default)(e);try{t=(0,Iw.default)(t,Cw);var r=[],n=(t.allow_primitives&&(r=[null,!1,!0]),JSON.parse(e));return r.includes(n)||!!n&&"object"===Pw(n)}catch(e){}return!1},Ow=Lw(y.exports),Iw=Lw(w.exports),Cw={allow_primitives:!1},Bw.exports=Gw.default,Bw.exports.default=Gw.default;var jw,Uw,$w,Bw={exports:{}};function Nw(e){return e&&e.__esModule?e:{default:e}}eA=(Gw=Bw).exports,Object.defineProperty(eA,"__esModule",{value:!0}),eA.default=function(e,t){return(0,jw.default)(e),0===((t=(0,Uw.default)(t,$w)).ignore_whitespace?e.trim():e).length},jw=Nw(y.exports),Uw=Nw(w.exports),$w={ignore_whitespace:!1},Gw.exports=eA.default,Gw.exports.default=eA.default;var Fw,Gw={exports:{}};function zw(e){return(zw="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)}iA=(eA=Gw).exports,Object.defineProperty(iA,"__esModule",{value:!0}),iA.default=function(e,t){(0,Fw.default)(e),t="object"===zw(t)?(r=t.min||0,t.max):(r=t||0,arguments[2]);var r,n=e.match(/(\uFE0F|\uFE0E)/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],e=e.length-n.length-o.length;return r<=e&&(void 0===t||e<=t)},Fw=(Vw=y.exports)&&Vw.__esModule?Vw:{default:Vw},eA.exports=iA.default,eA.exports.default=iA.default;var Zw,Hw,Kw,qw,Vw={exports:{}},Ww=(iA=(eA=Vw).exports,Object.defineProperty(iA,"__esModule",{value:!0}),iA.default=function(e,t){(0,Zw.default)(e);t=Hw[[void 0,null].includes(t)?"all":t];return!!t&&t.test(e)},Zw=(Ww=y.exports)&&Ww.__esModule?Ww:{default:Ww},Hw={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},eA.exports=iA.default,eA.exports.default=iA.default,{exports:{}});function Yw(e){return e&&e.__esModule?e:{default:e}}iA=(eA=Ww).exports,Object.defineProperty(iA,"__esModule",{value:!0}),iA.default=function(e){return(0,Kw.default)(e),(0,qw.default)(e)&&24===e.length},Kw=Yw(y.exports),qw=Yw(C_.exports),eA.exports=iA.default,eA.exports.default=iA.default;var Jw,Xw,Qw,eA={exports:{}},tA=(bA=(iA=eA).exports,Object.defineProperty(bA,"__esModule",{value:!0}),bA.default=function(e,t){t=(null==t?void 0:t.comparisonDate)||t||Date().toString(),t=(0,Jw.default)(t),e=(0,Jw.default)(e);return!!(e&&t&&t<e)},Jw=(tA=bl.exports)&&tA.__esModule?tA:{default:tA},iA.exports=bA.default,iA.exports.default=bA.default,{exports:{}});function rA(e){return e&&e.__esModule?e:{default:e}}bA=(iA=tA).exports,Object.defineProperty(bA,"__esModule",{value:!0}),bA.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date),t=((0,Xw.default)(e),(0,Qw.default)(t)),e=(0,Qw.default)(e);return!!(e&&t&&e<t)},Xw=rA(y.exports),Qw=rA(bl.exports),iA.exports=bA.default,iA.exports.default=bA.default;var nA,oA,iA={exports:{}};function aA(e){return e&&e.__esModule?e:{default:e}}function sA(e){return(sA="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)}BA=(bA=iA).exports,Object.defineProperty(BA,"__esModule",{value:!0}),BA.default=function(e,t){if((0,nA.default)(e),"[object Array]"!==Object.prototype.toString.call(t))return"object"===sA(t)?t.hasOwnProperty(e):!(!t||"function"!=typeof t.indexOf)&&0<=t.indexOf(e);var r=[];for(var n in t)!{}.hasOwnProperty.call(t,n)||(r[n]=(0,oA.default)(t[n]));return 0<=r.indexOf(e)},nA=aA(y.exports),oA=aA(js.exports),bA.exports=BA.default,bA.exports.default=BA.default;var uA,cA,lA,dA,fA,js={exports:{}},pA=(BA=(bA=js).exports,Object.defineProperty(BA,"__esModule",{value:!0}),BA.default=function(e){(0,uA.default)(e);for(var t,r,n=e.replace(/[- ]+/g,""),o=0,i=n.length-1;0<=i;i--)t=n.substring(i,i+1),t=parseInt(t,10),o+=r&&10<=(t*=2)?t%10+1:t,r=!r;return!(o%10!=0||!n)},uA=(pA=y.exports)&&pA.__esModule?pA:{default:pA},bA.exports=BA.default,bA.exports.default=BA.default,{exports:{}});function hA(e){return e&&e.__esModule?e:{default:e}}BA=(bA=pA).exports,Object.defineProperty(BA,"__esModule",{value:!0}),BA.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=((0,cA.default)(e),t.provider),r=e.replace(/[- ]+/g,"");if(t&&t.toLowerCase()in dA){if(!dA[t.toLowerCase()].test(r))return!1}else{if(t&&!(t.toLowerCase()in dA))throw new Error("".concat(t," is not a valid credit card provider."));if(!fA.test(r))return!1}return(0,lA.default)(e)},cA=hA(y.exports),lA=hA(js.exports),dA={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},fA=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/,bA.exports=BA.default,bA.exports.default=BA.default;var mA,gA,vA,bA={exports:{}};function yA(e){return e&&e.__esModule?e:{default:e}}ZA=(BA=bA).exports,Object.defineProperty(ZA,"__esModule",{value:!0}),ZA.default=function(e,t){if((0,mA.default)(e),t in vA)return vA[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in vA)if(vA.hasOwnProperty(r)&&(0,vA[r])(e))return!0;return!1},mA=yA(y.exports),gA=yA(x.exports),vA={PL:function(e){(0,mA.default)(e);var n={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,gA.default)(e,{allow_leading_zeroes:!0})){var t=e.split("").slice(0,-1).reduce(function(e,t,r){return e+Number(t)*n[r+1]},0)%10,e=Number(e.charAt(e.length-1));if(0==t&&0===e||e===10-t)return!0}return!1},ES:function(e){(0,mA.default)(e);var t,r={X:0,Y:1,Z:2},e=e.trim().toUpperCase();return!!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(e)&&(t=e.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return r[e]}),e.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][t%23]))},FI:function(e){return(0,mA.default)(e),11===e.length&&!!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/)&&"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10))%31]===e.slice(10,11)},IN:function(e){var r,n=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],o=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],e=e.trim();return!!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(e)&&(r=0,e.replace(/\s/g,"").split("").map(Number).reverse().forEach(function(e,t){r=n[r][o[t%8][e]]}),0===r)},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).slice(e.length-6),0===parseInt(e.slice(3,9),10))return!1;for(var t=parseInt(e.slice(9,10),10),r=0,n=0;n<9;n++)r+=parseInt(e.slice(n,n+1),10)*(10-n);return(r%=11)<2&&t===r||2<=r&&t===11-r},IT:function(e){return 9===e.length&&"CA00000AA"!==e&&-1<e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)},NO:function(e){var t,r,e=e.trim();return!isNaN(Number(e))&&11===e.length&&"00000000000"!==e&&(t=(11-(3*(e=e.split("").map(Number))[0]+7*e[1]+6*e[2]+ +e[3]+8*e[4]+9*e[5]+4*e[6]+5*e[7]+2*e[8])%11)%11,r=(11-(5*e[0]+4*e[1]+3*e[2]+2*e[3]+7*e[4]+6*e[5]+5*e[6]+4*e[7]+3*e[8]+2*t)%11)%11,t===e[9])&&r===e[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,r=0;r<12;r++)t+=parseInt(e[r],10)*(13-r);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){e=e.trim();if(!/^\d{9}$/.test(e))return!1;for(var t,r=e,n=0,o=0;o<r.length;o++)n+=9<(t=Number(r[o])*(o%2+1))?t-9:t;return n%10==0},"ar-LY":function(e){e=e.trim();return!!/^(1|2)\d{11}$/.test(e)},"ar-TN":function(e){e=e.trim();return!!/^\d{8}$/.test(e)},"zh-CN":function(e){function t(e){return a.includes(e)}function r(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),e=parseInt(e.substring(6),10),n=new Date(t,r-1,e);return!(n>new Date)&&n.getFullYear()===t&&n.getMonth()===r-1&&n.getDate()===e}var n,o,i,a=["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"],s=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],u=["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?/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(o=e)&&(i=o.substring(0,2),t(i))&&(i="19".concat(o.substring(6,12)),r(i)):/^[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(o=e)&&(i=o.substring(0,2),t(i))&&(i=o.substring(6,14),r(i))&&(n=o,function(){for(var e=n.substring(0,17),t=0,r=0;r<17;r++)t+=parseInt(e.charAt(r),10)*parseInt(s[r],10);return u[t%11]}()===n.charAt(17).toUpperCase())))},"zh-HK":function(e){var t=/^[0-9]$/;if(e=(e=e.trim()).toUpperCase(),!/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/.test(e))return!1;8===(e=e.replace(/\[|\]|\(|\)/g,"")).length&&(e="3".concat(e));for(var r=0,n=0;n<=7;n++)r+=(t.test(e[n])?e[n]:(e[n].charCodeAt(0)-55)%11)*(9-n);return(0==(r%=11)?"0":1===r?"A":String(11-r))===e[e.length-1]},"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)}},BA.exports=ZA.default,BA.exports.default=ZA.default;var _A,wA,AA,xA,kA,EA,SA,RA,DA,TA,OA,IA,CA,MA,LA,PA,jA,UA,$A,BA={exports:{}},NA=(ix=(ZA=BA).exports,Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=function(e){(0,_A.default)(e);var r,t=Number(e.slice(-1));return xA.test(e)&&t===((t=10-(r=e).slice(0,-1).split("").map(function(e,t){return Number(e)*((e=r.length)===wA||e===AA?t%2==0?3:1:t%2==0?1:3)}).reduce(function(e,t){return e+t},0)%10)<10?t:0)},_A=(NA=y.exports)&&NA.__esModule?NA:{default:NA},wA=8,AA=14,xA=/^(\d{8}|\d{13}|\d{14})$/,ZA.exports=ix.default,ZA.exports.default=ix.default,{exports:{}}),FA=(ix=(ZA=NA).exports,Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=function(e){if((0,kA.default)(e),!EA.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)];i<a.length;i++){var s=a[i];r+=t?5<=s?1+2*(s-5):2*s:s,t=!t}else{o=e[n].charCodeAt(0)-"0".charCodeAt(0);r+=t?5<=o?1+2*(o-5):2*o:o,t=!t}var u=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]==u},kA=(FA=y.exports)&&FA.__esModule?FA:{default:FA},EA=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/,ZA.exports=ix.default,ZA.exports.default=ix.default,{exports:{}}),GA=(ix=(ZA=FA).exports,Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=function e(t,r){(0,SA.default)(t);var n=String((null==r?void 0:r.version)||r);if(!(null!=r&&r.version||r))return e(t,{version:10})||e(t,{version:13});var o=t.replace(/[\s-]+/g,""),i=0;if("10"===n){if(!RA.test(o))return!1;for(var a=0;a<n-1;a++)i+=(a+1)*o.charAt(a);if("X"===o.charAt(9)?i+=100:i+=10*o.charAt(9),i%11==0)return!0}else if("13"===n){if(!DA.test(o))return!1;for(var s=0;s<12;s++)i+=TA[s%2]*o.charAt(s);if(o.charAt(12)-(10-i%10)%10==0)return!0}return!1},SA=(GA=y.exports)&&GA.__esModule?GA:{default:GA},RA=/^(?:[0-9]{9}X|[0-9]{10})$/,DA=/^(?:[0-9]{13})$/,TA=[1,3],ZA.exports=ix.default,ZA.exports.default=ix.default,{exports:{}}),zA=(ix=(ZA=GA).exports,Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,OA.default)(e),IA),r=t.require_hyphen?r.replace("?",""):r;if(!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),o=0,i=0;i<n.length;i++){var a=n[i];o+=("X"===a?10:+a)*(8-i)}return o%11==0},OA=(zA=y.exports)&&zA.__esModule?zA:{default:zA},IA="^\\d{4}-?\\d{3}[\\dX]$",ZA.exports=ix.default,ZA.exports.default=ix.default,{exports:{}}),ZA={};function HA(e){return(HA="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)}function KA(){var e;return"function"!=typeof WeakMap?null:(e=new WeakMap,KA=function(){return e},e)}function qA(e){return e&&e.__esModule?e:{default:e}}function VA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function WA(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(0<n){if(t&&!r&&!/[AEIOU]/.test(e[n]))return;if(r&&!/X/.test(e[n]))return}return 1}Object.defineProperty(ZA,"__esModule",{value:!0}),ZA.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},ZA.luhnCheck=function(e){for(var t,r=0,n=!1,o=e.length-1;0<=o;o--)r+=n?9<(t=2*parseInt(e[o],10))?t.toString().split("").map(function(e){return parseInt(e,10)}).reduce(function(e,t){return e+t},0):t:parseInt(e[o],10),n=!n;return r%10==0},ZA.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},ZA.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.split("").reverse().join(""),o=0,i=0;i<n.length;i++)o=t[o][r[i%8][parseInt(n[i],10)]];return 0===o},ox=(ix=zA).exports,Object.defineProperty(ox,"__esModule",{value:!0}),ox.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",e=((0,CA.default)(e),e.slice(0));if(t in jA)return t in $A&&(e=e.replace($A[t],"")),!!jA[t].test(e)&&(!(t in UA)||UA[t](e));throw new Error("Invalid locale '".concat(t,"'"))},CA=qA(y.exports),MA=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==HA(e)&&"function"!=typeof e)return{default:e};var t=KA();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}(ZA),LA=qA(E.exports),PA={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]},(jA={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/})["lb-LU"]=jA["fr-LU"],jA["lt-LT"]=jA["et-EE"],jA["nl-BE"]=jA["fr-BE"],jA["fr-CA"]=jA["en-CA"],(UA={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10),t=(40<r?(r-=40,"20"):20<r?(r-=20,"18"):"19").concat(t),t=(r<10&&(r="0".concat(r)),"".concat(t,"/").concat(r,"/").concat(e.slice(4,6)));if(!(0,LA.default)(t,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=[2,4,8,5,10,9,7,3,6],i=0,a=0;a<o.length;a++)i+=n[a]*o[a];return(i=i%11==10?0:i%11)===n[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=(t<54?"20":"19").concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(50<r&&(r-=50),20<r){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));r="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,LA.default)(r,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){r=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10==r))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return MA.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=[],n=0;n<t.length-1;n++){r.push("");for(var o=0;o<t.length-1;o++)t[n]===t[o]&&(r[n]+=o)}if(2!==(r=r.filter(function(e){return 1<e.length})).length&&3!==r.length)return!1;if(3===r[0].length){for(var i=r[0].split("").map(function(e){return parseInt(e,10)}),a=0,s=0;s<i.length-1;s++)i[s]+1===i[s+1]&&(a+=1);if(2===a)return!1}return MA.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=(t<37?"20":"19").concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(58<t))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,LA.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=0,i=4,a=0;a<9;a++)o+=n[a]*i,1==--i&&(i=7);return 1!=(o%=11)&&(0===o?0===n[9]:n[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map(function(e){return parseInt(e,10)}),r=0,n=1;n<t.length;n+=2)r+=t[n];for(var o=0;o<t.length;o+=2)t[o]<2?r+=1-t[o]:(r+=2*(t[o]-2)+5,4<t[o]&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11%10===t[8]},"en-CA":function(e){var e=e.split(""),t=e.filter(function(e,t){return t%2}).map(function(e){return 2*Number(e)}).join("").split("");return e.filter(function(e,t){return!(t%2)}).concat(t).map(function(e){return Number(e)}).reduce(function(e,t){return e+t})%10==0},"en-IE":function(e){var t=MA.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0==(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e,t=[];for(e in PA)PA.hasOwnProperty(e)&&t.push.apply(t,function e(t){return function(e){if(Array.isArray(e))return VA(e)}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e){var t;if(e)return"string"==typeof e?VA(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?VA(e,void 0):void 0}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(PA[e]));return t}().indexOf(e.slice(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&1<t.length){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join(""),e=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][e]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,LA.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=0,i=1,a=0;a<10;a++)o+=n[a]*i,10===(i+=1)&&(i=1);if(o%11==10){for(var o=0,i=3,s=0;s<10;s++)o+=n[s]*i,10===(i+=1)&&(i=1);if(o%11==10)return 0===n[10]}return o%11===n[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));return!!(0,LA.default)(r,"YYYY/MM/DD")&&((r=parseInt(e.slice(0,6)+e.slice(7,10),10)%31)<10?r===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][r-=10]===e.slice(10))},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,LA.default)(t,"YY/MM/DD"))return!1}var t=97-parseInt(e.slice(0,9),10)%97,r=parseInt(e.slice(9,11),10);return t===r||97-parseInt("2".concat(e.slice(0,9)),10)%97===r},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,LA.default)(t,"YYYY/MM/DD")&&!!MA.luhnCheck(e.slice(0,12))&&MA.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return MA.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!WA(t.slice(0,3)))return!1;if(!WA(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},n=0,o=[6,7,9,10,12,13,14];n<o.length;n++){var i=o[n];t[i]in r&&t.splice(i,1,r[t[i]])}var e={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],a=parseInt(t[9]+t[10],10),e=(40<a&&(a-=40),a<10&&(a="0".concat(a)),"".concat(t[6]).concat(t[7],"/").concat(e,"/").concat(a));if(!(0,LA.default)(e,"YY/MM/DD"))return!1;for(var s=0,u=1;u<t.length-1;u+=2){var c=parseInt(t[u],10);s+=c=isNaN(c)?t[u].charCodeAt(0)-65:c}for(var l={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},d=0;d<t.length-1;d+=2){var f,p=0;t[d]in l?p=l[t[d]]:(p=2*(f=parseInt(t[d],10))+1,4<f&&(p+=2)),s+=p}return String.fromCharCode(65+s%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"===t)return!0;if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}t="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,LA.default)(t,"YYYY/MM/DD"))return!1}for(var n=1101,o=[1,6,3,7,9,10,5,8,4,2],i=0;i<e.length-1;i++)n-=parseInt(e[i],10)*o[i];return parseInt(e[10],10)===n%11},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(32e3<r)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return MA.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<t.length;n++)r+=parseInt(e[n],10)*t[n];return 10!=(r%=11)&&r===parseInt(e[9],10)}var o=e.slice(0,2),i=parseInt(e.slice(2,4),10),o=(80<i?(o="18".concat(o),i-=80):60<i?(o="22".concat(o),i-=60):40<i?(o="21".concat(o),i-=40):20<i?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i)),"".concat(o,"/").concat(i,"/").concat(e.slice(4,6)));if(!(0,LA.default)(o,"YYYY/MM/DD"))return!1;for(var a=0,s=1,u=0;u<e.length-1;u++)a+=parseInt(e[u],10)*s%10,10<(s+=2)?s=1:5===s&&(s+=2);return(a=10-a%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t=0;if("11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);if((a=10==(a=10*t%11)?0:a)!==parseInt(e.substring(9,10),10))return!1;t=0;for(var n=1;n<=10;n++)t+=parseInt(e.substring(n-1,n),10)*(12-n);return(a=10==(a=10*t%11)?0:a)===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var o=e.length-2,i=e.substring(0,o),a=e.substring(o),s=0,u=o-7,c=o;1<=c;c--)s+=i.charAt(o-c)*u,--u<2&&(u=9);if((s%11<2?0:11-s%11)!==parseInt(a.charAt(0),10))return!1;for(var i=e.substring(0,o+=1),s=0,u=o-7,l=o;1<=l;l--)s+=i.charAt(o-l)*u,--u<2&&(u=9);return(s%11<2?0:11-s%11)===parseInt(a.charAt(1),10)},"pt-PT":function(e){var t=11-MA.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11;return 9<t?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"===e.slice(0,4))return!0;var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,LA.default)(r,"YY/MM/DD"))return!1}else if(!(0,LA.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,a=0;a<o.length;a++)i+=n[a]*o[a];return i%11==10?1===n[12]:n[12]===i%11},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;if(53<(t=parseInt(e.slice(0,2),10)))return!1;var t=(t<10?"190":"19").concat(t),r=parseInt(e.slice(2,4),10),t=(50<r&&(r-=50),r<10&&(r="0".concat(r)),"".concat(t,"/").concat(r,"/").concat(e.slice(4,6)));if(!(0,LA.default)(t,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-MA.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8)%11;return 10==t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0),r="",n=(t=11<e.length?t.slice(2):t).slice(2,4),t=parseInt(t.slice(4,6),10);if(11<e.length)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&t<60){var o=(new Date).getFullYear().toString(),i=parseInt(o.slice(0,2),10),o=parseInt(o,10);if("-"===e[6])r=(parseInt("".concat(i).concat(r),10)>o?"".concat(i-1):"".concat(i)).concat(r);else if(r="".concat(i-1).concat(r),o-parseInt(r,10)<100)return!1}60<t&&(t-=60),t<10&&(t="0".concat(t));i="".concat(r,"/").concat(n,"/").concat(t);if(8===i.length){if(!(0,LA.default)(i,"YY/MM/DD"))return!1}else if(!(0,LA.default)(i,"YYYY/MM/DD"))return!1;return MA.luhnCheck(e.replace(/\W/,""))}})["lb-LU"]=UA["fr-LU"],UA["lt-LT"]=UA["et-EE"],UA["nl-BE"]=UA["fr-BE"],UA["fr-CA"]=UA["en-CA"],($A={"de-AT":tx=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,"de-DE":/[\/\\]/g,"fr-BE":tx})["nl-BE"]=$A["fr-BE"],ix.exports=ox.default,ix.exports.default=ox.default;var YA,JA,XA,QA,ex,tx={},rx=(Object.defineProperty(tx,"__esModule",{value:!0}),tx.default=function(t,e,r){if((0,rx.default)(t),!r||!r.strictMode||t.startsWith("+")){if(Array.isArray(e))return e.some(function(e){return!(!nx.hasOwnProperty(e)||!nx[e].test(t))});if(e in nx)return nx[e].test(t);if(e&&"any"!==e)throw new Error("Invalid locale '".concat(e,"'"));for(var n in nx)if(nx.hasOwnProperty(n)&&nx[n].test(t))return!0}return!1},tx.locales=void 0,(ix=y.exports)&&ix.__esModule?ix:{default:ix}),nx={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/},ox=(nx["en-CA"]=nx["en-US"],nx["fr-CA"]=nx["en-CA"],nx["fr-BE"]=nx["nl-BE"],nx["zh-HK"]=nx["en-HK"],nx["zh-MO"]=nx["en-MO"],nx["ga-IE"]=nx["en-IE"],nx["fr-CH"]=nx["de-CH"],nx["it-CH"]=nx["fr-CH"],Object.keys(nx)),ix=(tx.locales=ox,{exports:{}}),ax=(T=(ox=ix).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){return(0,YA.default)(e),JA.test(e)},YA=(ax=y.exports)&&ax.__esModule?ax:{default:ax},JA=/^(0x)[0-9a-f]{40}$/i,ox.exports=T.default,ox.exports.default=T.default,{exports:{}});function sx(e){return e&&e.__esModule?e:{default:e}}T=(ox=ax).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){return(0,QA.default)(e),t=t=(0,XA.default)(t,ex),r="\\d{".concat(t.digits_after_decimal[0],"}"),t.digits_after_decimal.forEach(function(e,t){0!==t&&(r="".concat(r,"|\\d{").concat(e,"}"))}),n="(".concat(t.symbol.replace(/\W/,function(e){return"\\".concat(e)}),")").concat(t.require_symbol?"":"?"),o="[1-9]\\d{0,2}(\\".concat(t.thousands_separator,"\\d{3})*"),o="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),i="(\\".concat(t.decimal_separator,"(").concat(r,"))").concat(t.require_decimal?"":"?"),o+=t.allow_decimal||t.require_decimal?i:"",t.allow_negatives&&!t.parens_for_negatives&&(t.negative_sign_after_digits?o+="-?":t.negative_sign_before_digits&&(o="-?"+o)),t.allow_negative_sign_placeholder?o="( (?!\\-))?".concat(o):t.allow_space_after_symbol?o=" ?".concat(o):t.allow_space_after_digits&&(o+="( (?!$))?"),t.symbol_after_digits?o+=n:o=n+o,t.allow_negatives&&(t.parens_for_negatives?o="(\\(".concat(o,"\\)|").concat(o,")"):t.negative_sign_before_digits||t.negative_sign_after_digits||(o="-?"+o)),new RegExp("^(?!-? )(?=.*\\d)".concat(o,"$")).test(e);var r,n,o,i},XA=sx(w.exports),QA=sx(y.exports),ex={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1},ox.exports=T.default,ox.exports.default=T.default;var ux,cx,lx,dx,fx,px,hx,mx,gx,vx,bx,yx,_x,wx,Ax,xx,kx,Ex,ox={exports:{}},Sx=(Ox=(T=ox).exports,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=function(e){return(0,ux.default)(e),cx.test(e)||lx.test(e)},ux=(Sx=y.exports)&&Sx.__esModule?Sx:{default:Sx},cx=/^(bc1)[a-z0-9]{25,39}$/,lx=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/,T.exports=Ox.default,T.exports.default=Ox.default,{exports:{}}),Rx=(Ox=(T=Sx).exports,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=function(e){return(0,dx.default)(e),fx.has(e)},dx=(Rx=y.exports)&&Rx.__esModule?Rx:{default:Rx},fx=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]),T.exports=Ox.default,T.exports.default=Ox.default,{exports:{}}),Dx=(Ox=(T=Rx).exports,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,px.default)(e),(t.strictSeparator?mx:hx).test(e));return r&&t.strict?gx(e):r},px=(Dx=y.exports)&&Dx.__esModule?Dx:{default:Dx},hx=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,mx=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,gx=function(e){var t,r,n,o=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);return o?(t=Number(o[1]),o=Number(o[2]),t%4==0&&t%100!=0||t%400==0?o<=366:o<=365):(o=(t=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number))[1],e=t[2],t=t[3],n=e&&"0".concat(e).slice(-2),r=t&&"0".concat(t).slice(-2),n=new Date("".concat(o,"-").concat(n||"01","-").concat(r||"01")),!e||!t||n.getUTCFullYear()===o&&n.getUTCMonth()+1===e&&n.getUTCDate()===t)},T.exports=Ox.default,T.exports.default=Ox.default,{exports:{}}),Tx=(Ox=(T=Dx).exports,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=function(e){return(0,vx.default)(e),bx.test(e)},vx=(e2=y.exports)&&e2.__esModule?e2:{default:e2},e2=/([01][0-9]|2[0-3])/,Mx=/[0-5][0-9]/,Tx=new RegExp("[-+]".concat(e2.source,":").concat(Mx.source)),Tx=new RegExp("([zZ]|".concat(Tx.source,")")),e2=new RegExp("".concat(e2.source,":").concat(Mx.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),Mx=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),e2=new RegExp("".concat(e2.source).concat(Tx.source)),bx=new RegExp("^".concat(Mx.source,"[ tT]").concat(e2.source,"$")),T.exports=Ox.default,T.exports.default=Ox.default,{exports:{}}),Ox=(e2=(Mx=Tx).exports,Object.defineProperty(e2,"__esModule",{value:!0}),e2.default=function(e){return(0,yx.default)(e),_x.has(e.toUpperCase())},yx=(T=y.exports)&&T.__esModule?T:{default:T},_x=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]),Mx.exports=e2.default,Mx.exports.default=e2.default,{}),Ix=(Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=function(e){return(0,Ix.default)(e),Cx.has(e.toUpperCase())},Ox.CurrencyCodes=void 0,(T=y.exports)&&T.__esModule?T:{default:T}),Cx=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]),Mx=(Ox.CurrencyCodes=Cx,{exports:{}});function Lx(e){return e&&e.__esModule?e:{default:e}}T=(e2=Mx).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){return(0,wx.default)(e),(t=(0,Ax.default)(t,Ex)).crockford?kx.test(e):!(e.length%8!=0||!xx.test(e))},wx=Lx(y.exports),Ax=Lx(w.exports),xx=/^[A-Z2-7]+=*$/,Ex={crockford:!(kx=/^[A-HJKMNP-TV-Z0-9]+$/)},e2.exports=T.default,e2.exports.default=T.default;var Px,jx,Ux,$x,Bx,Nx,Fx,Gx,zx,Zx,Hx,Kx,qx,Vx,Wx,Yx,Jx,Xx,Qx,e2={exports:{}},t2=(C=(T=e2).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Px.default)(e),!!jx.test(e)},Px=(t2=y.exports)&&t2.__esModule?t2:{default:t2},jx=/^[A-HJ-NP-Za-km-z1-9]*$/,T.exports=C.default,T.exports.default=C.default,{exports:{}}),r2=(C=(T=t2).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){(0,Ux.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),e=r.shift();if("data:"!==e.slice(0,5))return!1;e=e.slice(5);if(""!==e&&!$x.test(e))return!1;for(var n=0;n<r.length;n++)if((n!==r.length-1||"base64"!==r[n].toLowerCase())&&!Bx.test(r[n]))return!1;for(var o=0;o<t.length;o++)if(!Nx.test(t[o]))return!1;return!0},Ux=(r2=y.exports)&&r2.__esModule?r2:{default:r2},$x=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,Bx=/^[a-z\-]+=[a-z0-9\-]+$/i,Nx=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i,T.exports=C.default,T.exports.default=C.default,{exports:{}}),n2=(C=(T=r2).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Fx.default)(e),0===e.indexOf("magnet:?")&&Gx.test(e)},Fx=(n2=y.exports)&&n2.__esModule?n2:{default:n2},Gx=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i,T.exports=C.default,T.exports.default=C.default,{exports:{}}),o2=(C=(T=n2).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,zx.default)(e),Zx.test(e)||Hx.test(e)||Kx.test(e)},zx=(o2=y.exports)&&o2.__esModule?o2:{default:o2},Zx=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,Hx=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,Kx=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i,T.exports=C.default,T.exports.default=C.default,{exports:{}});function i2(e){return e&&e.__esModule?e:{default:e}}C=(T=o2).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,qx.default)(e),t=(0,Vx.default)(t,Qx),!!e.includes(",")&&!((e=e.split(","))[0].startsWith("(")&&!e[1].endsWith(")")||e[1].endsWith(")")&&!e[0].startsWith("("))&&(t.checkDMS?Jx.test(e[0])&&Xx.test(e[1]):Wx.test(e[0])&&Yx.test(e[1]))},qx=i2(y.exports),Vx=i2(w.exports),Wx=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,Yx=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,Jx=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,Qx={checkDMS:!(Xx=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i)},T.exports=C.default,T.exports.default=C.default;var a2,s2,u2,c2,T={},l2=(Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){if((0,l2.default)(e),t in p2)return p2[t].test(e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in p2)if(p2.hasOwnProperty(r)&&p2[r].test(e))return!0;return!1},T.locales=void 0,(C=y.exports)&&C.__esModule?C:{default:C}),C=/^\d{3}$/,d2=/^\d{4}$/,M=/^\d{5}$/,f2=/^\d{6}$/,p2={AD:/^AD\d{3}$/,AT:d2,AU:d2,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:d2,BG:d2,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:d2,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:M,DK:d2,DO:M,DZ:M,EE:M,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:M,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:d2,ID:M,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:C,IT:M,JP:/^\d{3}\-\d{4}$/,KE:M,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:d2,LV:/^LV\-\d{4}$/,LK:M,MG:C,MX:M,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:M,NL:/^\d{4}\s?[a-z]{2}$/i,NO:d2,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:d2,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:f2,RU:f2,SA:M,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:f2,SI:d2,SK:/^\d{3}\s?\d{2}$/,TH:M,TN:d2,TW:/^\d{3}(\d{2})?$/,UA:M,US:/^\d{5}(-\d{4})?$/,ZA:d2,ZM:M},C=Object.keys(p2),f2=(T.locales=C,{exports:{}}),C=(M=(d2=f2).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e,t){(0,a2.default)(e);t=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(t,"")},a2=(C=y.exports)&&C.__esModule?C:{default:C},d2.exports=M.default,d2.exports.default=M.default,{exports:{}}),h2=(M=(d2=C).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e,t){if((0,s2.default)(e),t)return t=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"),e.replace(t,"");for(var r=e.length-1;/\s/.test(e.charAt(r));)--r;return e.slice(0,r+1)},s2=(h2=y.exports)&&h2.__esModule?h2:{default:h2},d2.exports=M.default,d2.exports.default=M.default,{exports:{}});function m2(e){return e&&e.__esModule?e:{default:e}}M=(d2=h2).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e,t){return(0,u2.default)((0,c2.default)(e,t),t)},u2=m2(C.exports),c2=m2(f2.exports),d2.exports=M.default,d2.exports.default=M.default;var g2,v2,b2,y2,_2,d2={exports:{}},w2=(L=(M=d2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e){return(0,g2.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")},g2=(w2=y.exports)&&w2.__esModule?w2:{default:w2},M.exports=L.default,M.exports.default=L.default,{exports:{}}),A2=(L=(M=w2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e){return(0,v2.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")},v2=(A2=y.exports)&&A2.__esModule?A2:{default:A2},M.exports=L.default,M.exports.default=L.default,{exports:{}}),M={exports:{}};function x2(e){return e&&e.__esModule?e:{default:e}}C2=(L=M).exports,Object.defineProperty(C2,"__esModule",{value:!0}),C2.default=function(e,t){return(0,_2.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")},_2=(nk=y.exports)&&nk.__esModule?nk:{default:nk},L.exports=C2.default,L.exports.default=C2.default,L=(nk=A2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e,t){return(0,b2.default)(e),(0,y2.default)(e,t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F")},b2=x2(y.exports),y2=x2(M.exports),nk.exports=L.default,nk.exports.default=L.default;var k2,E2,S2,R2,D2,T2,O2,I2,C2={exports:{}},M2=(L=(nk=C2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e,t){return(0,k2.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")},k2=(M2=y.exports)&&M2.__esModule?M2:{default:M2},nk.exports=L.default,nk.exports.default=L.default,{exports:{}}),L2=(L=(nk=M2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e,t){(0,E2.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0},E2=(L2=y.exports)&&L2.__esModule?L2:{default:L2},nk.exports=L.default,nk.exports.default=L.default,{exports:{}});function P2(e){return 1<e.length?e:""}L=(nk=L2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e,t){t=(0,S2.default)(t,R2);var e=e.split("@"),r=e.pop(),e=[e.join("@"),r];if(e[1]=e[1].toLowerCase(),"gmail.com"===e[1]||"googlemail.com"===e[1]){if(t.gmail_remove_subaddress&&(e[0]=e[0].split("+")[0]),t.gmail_remove_dots&&(e[0]=e[0].replace(/\.+/g,P2)),!e[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(e[0]=e[0].toLowerCase()),e[1]=t.gmail_convert_googlemaildotcom?"gmail.com":e[1]}else if(0<=D2.indexOf(e[1])){if(t.icloud_remove_subaddress&&(e[0]=e[0].split("+")[0]),!e[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(e[0]=e[0].toLowerCase())}else if(0<=T2.indexOf(e[1])){if(t.outlookdotcom_remove_subaddress&&(e[0]=e[0].split("+")[0]),!e[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(e[0]=e[0].toLowerCase())}else if(0<=O2.indexOf(e[1])){if(t.yahoo_remove_subaddress&&(r=e[0].split("-"),e[0]=1<r.length?r.slice(0,-1).join("-"):r[0]),!e[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(e[0]=e[0].toLowerCase())}else 0<=I2.indexOf(e[1])?((t.all_lowercase||t.yandex_lowercase)&&(e[0]=e[0].toLowerCase()),e[1]="yandex.ru"):t.all_lowercase&&(e[0]=e[0].toLowerCase());return e.join("@")},S2=(q2=w.exports)&&q2.__esModule?q2:{default:q2},R2={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},D2=["icloud.com","me.com"],T2=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],O2=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],I2=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"],nk.exports=L.default,nk.exports.default=L.default;var j2,U2,$2,B2,N2,F2,G2,z2,Z2,H2,K2,q2={exports:{}},V2=(L=(nk=q2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e){return(0,j2.default)(e),U2.test(e)},j2=(V2=y.exports)&&V2.__esModule?V2:{default:V2},U2=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/,nk.exports=L.default,nk.exports.default=L.default,{exports:{}}),W2=(L=(nk=V2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e,t){if((0,$2.default)(e),t in B2)return B2[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in B2)if((0,B2[r])(e))return!0;return!1},$2=(W2=y.exports)&&W2.__esModule?W2:{default:W2},B2={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|HX|HY|HZ|IK|IL|IN|IZ|J|JE|JL|K|KA|KB|KC|KE|KF|KG|KH|KI|KK|KL|KM|KN|KO|KR|KS|KT|KU|KW|KY|L|LA|LB|LC|LD|LF|LG|LH|LI|LL|LM|LN|LÖ|LP|LR|LU|M|MA|MB|MC|MD|ME|MG|MH|MI|MK|ML|MM|MN|MO|MQ|MR|MS|MÜ|MW|MY|MZ|N|NB|ND|NE|NF|NH|NI|NK|NM|NÖ|NP|NR|NT|NU|NW|NY|NZ|OA|OB|OC|OD|OE|OF|OG|OH|OK|OL|OP|OS|OZ|P|PA|PB|PE|PF|PI|PL|PM|PN|PR|PS|PW|PZ|R|RA|RC|RD|RE|RG|RH|RI|RL|RM|RN|RO|RP|RS|RT|RU|RV|RW|RZ|S|SB|SC|SE|SG|SI|SK|SL|SM|SN|SO|SP|SR|ST|SU|SW|SY|SZ|TE|TF|TG|TO|TP|TR|TS|TT|TÜ|ÜB|UE|UH|UL|UM|UN|V|VB|VG|VK|VR|VS|W|WA|WB|WE|WF|WI|WK|WL|WM|WN|WO|WR|WS|WT|WÜ|WW|WZ|Z|ZE|ZI|ZP|ZR|ZW|ZZ)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(ABG|ABI|AIB|AIC|ALF|ALZ|ANA|ANG|ANK|APD|ARN|ART|ASL|ASZ|AUR|AZE|BAD|BAR|BBG|BCH|BED|BER|BGD|BGL|BID|BIN|BIR|BIT|BIW|BKS|BLB|BLK|BNA|BOG|BOH|BOR|BOT|BRA|BRB|BRG|BRK|BRL|BRV|BSB|BSK|BTF|BÜD|BUL|BÜR|BÜS|BÜZ|CAS|CHA|CLP|CLZ|COC|COE|CUX|DAH|DAN|DAU|DBR|DEG|DEL|DGF|DIL|DIN|DIZ|DKB|DLG|DON|DUD|DÜW|EBE|EBN|EBS|ECK|EIC|EIL|EIN|EIS|EMD|EMS|ERB|ERH|ERK|ERZ|ESB|ESW|FDB|FDS|FEU|FFB|FKB|FLÖ|FOR|FRG|FRI|FRW|FTL|FÜS|GAN|GAP|GDB|GEL|GEO|GER|GHA|GHC|GLA|GMN|GNT|GOA|GOH|GRA|GRH|GRI|GRM|GRZ|GTH|GUB|GUN|GVM|HAB|HAL|HAM|HAS|HBN|HBS|HCH|HDH|HDL|HEB|HEF|HEI|HER|HET|HGN|HGW|HHM|HIG|HIP|HMÜ|HOG|HOH|HOL|HOM|HOR|HÖS|HOT|HRO|HSK|HST|HVL|HWI|IGB|ILL|JÜL|KEH|KEL|KEM|KIB|KLE|KLZ|KÖN|KÖT|KÖZ|KRU|KÜN|KUS|KYF|LAN|LAU|LBS|LBZ|LDK|LDS|LEO|LER|LEV|LIB|LIF|LIP|LÖB|LOS|LRO|LSZ|LÜN|LUP|LWL|MAB|MAI|MAK|MAL|MED|MEG|MEI|MEK|MEL|MER|MET|MGH|MGN|MHL|MIL|MKK|MOD|MOL|MON|MOS|MSE|MSH|MSP|MST|MTK|MTL|MÜB|MÜR|MYK|MZG|NAB|NAI|NAU|NDH|NEA|NEB|NEC|NEN|NES|NEW|NMB|NMS|NOH|NOL|NOM|NOR|NVP|NWM|OAL|OBB|OBG|OCH|OHA|ÖHR|OHV|OHZ|OPR|OSL|OVI|OVL|OVP|PAF|PAN|PAR|PCH|PEG|PIR|PLÖ|PRÜ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"en-IN":function(e){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())}},nk.exports=L.default,nk.exports.default=L.default,{exports:{}});function Y2(e){return e&&e.__esModule?e:{default:e}}L=(nk=W2).exports,Object.defineProperty(L,"__esModule",{value:!0}),L.default=function(e){var t,r,n,o,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,e=((0,F2.default)(e),e=e,t={},Array.from(e).forEach(function(e){t[e]?t[e]+=1:t[e]=1}),r=t,n={length:e.length,uniqueChars:Object.keys(r).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0},Object.keys(r).forEach(function(e){G2.test(e)?n.uppercaseCount+=r[e]:z2.test(e)?n.lowercaseCount+=r[e]:Z2.test(e)?n.numberCount+=r[e]:H2.test(e)&&(n.symbolCount+=r[e])}),n);return(i=(0,N2.default)(i||{},K2)).returnScore?(o=0,o=(o+=e.uniqueChars*i.pointsPerUnique)+(e.length-e.uniqueChars)*i.pointsPerRepeat,0<e.lowercaseCount&&(o+=i.pointsForContainingLower),0<e.uppercaseCount&&(o+=i.pointsForContainingUpper),0<e.numberCount&&(o+=i.pointsForContainingNumber),0<e.symbolCount&&(o+=i.pointsForContainingSymbol),o):e.length>=i.minLength&&e.lowercaseCount>=i.minLowercase&&e.uppercaseCount>=i.minUppercase&&e.numberCount>=i.minNumbers&&e.symbolCount>=i.minSymbols},N2=Y2(w.exports),F2=Y2(y.exports),G2=/^[A-Z]$/,z2=/^[a-z]$/,Z2=/^[0-9]$/,K2={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!(H2=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/),pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10},nk.exports=L.default,nk.exports.default=L.default;w={};function J2(e){return(J2="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(w,"__esModule",{value:!0}),w.default=function(e,t){if((0,X2.default)(e),(0,X2.default)(t),t in tk)return tk[t](e);throw new Error("Invalid country code: '".concat(t,"'"))},w.vatMatchers=void 0;var X2=(nk=y.exports)&&nk.__esModule?nk:{default:nk},Q2=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==J2(e)&&"function"!=typeof e)return{default:e};var t=ek();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}(ZA);function ek(){var e;return"function"!=typeof WeakMap?null:(e=new WeakMap,ek=function(){return e},e)}var tk={AT:function(e){return/^(AT)?U\d{8}$/.test(e)},BE:function(e){return/^(BE)?\d{10}$/.test(e)},BG:function(e){return/^(BG)?\d{9,10}$/.test(e)},HR:function(e){return/^(HR)?\d{11}$/.test(e)},CY:function(e){return/^(CY)?\w{9}$/.test(e)},CZ:function(e){return/^(CZ)?\d{8,10}$/.test(e)},DK:function(e){return/^(DK)?\d{8}$/.test(e)},EE:function(e){return/^(EE)?\d{9}$/.test(e)},FI:function(e){return/^(FI)?\d{8}$/.test(e)},FR:function(e){return/^(FR)?\w{2}\d{9}$/.test(e)},DE:function(e){return/^(DE)?\d{9}$/.test(e)},EL:function(e){return/^(EL)?\d{9}$/.test(e)},HU:function(e){return/^(HU)?\d{8}$/.test(e)},IE:function(e){return/^(IE)?\d{7}\w{1}(W)?$/.test(e)},IT:function(e){return/^(IT)?\d{11}$/.test(e)},LV:function(e){return/^(LV)?\d{11}$/.test(e)},LT:function(e){return/^(LT)?\d{9,12}$/.test(e)},LU:function(e){return/^(LU)?\d{8}$/.test(e)},MT:function(e){return/^(MT)?\d{8}$/.test(e)},NL:function(e){return/^(NL)?\d{9}B\d{2}$/.test(e)},PL:function(e){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(e)},PT:function(e){var t,e=e.match(/^(PT)?(\d{9})$/);return!!e&&(e=e[2],9<(t=11-Q2.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11)?0===parseInt(e[8],10):t===parseInt(e[8],10))},RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){return/^(AU)?\d{11}$/.test(e)},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{9}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:function(e){return/^(CH)?(\d{6}|\d{9}|(\d{3}.\d{3})|(\d{3}.\d{3}.\d{3}))(TVA|MWST|IVA)$/.test(e)},TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^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}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}},L=(w.vatMatchers=tk,Xa),y=Xa.exports;function rk(e){return(rk="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 nk=P(bl.exports),ZA=P(ml.exports),bl=P(Po.exports),ml=P(hl.exports),hl=P(Yc.exports),Yc=P(zn.exports),zn=P(rl.exports),rl=P(ca.exports),ca=P(Ro.exports),Ro=P(Si.exports),Si=P(po.exports),po=P(a.exports),a=P(i.exports),i=P(E.exports),E=P(Hu.exports),Hu=P(v.exports),v=P(_.exports),_=ik(S),S=ik(k),k=P(tl.exports),tl=P(R.exports),R=P(A.exports),A=P(m.exports),m=P(l_.exports),l_=P(d_.exports),d_=P(f_.exports),f_=P(p_),p_=P(b),b=P(b_.exports),b_=P(y_.exports),y_=P(__.exports),__=P(w_.exports),w_=P(x.exports),x=ik(ia),ia=P(I_.exports),I_=P(C_.exports),C_=P(M_.exports),M_=P(F_.exports),F_=P(t.exports),t=P(mw.exports),mw=P(gw.exports),gw=P(vw.exports),vw=ik(bw),bw=P(D.exports),D=P(kw.exports),kw=P(Ew.exports),Ew=P(Sw.exports),Sw=P(Mw.exports),Mw=P(Bw.exports),Bw=P(Gw.exports),Gw=P(aa.exports),aa=P(Vw.exports),Vw=P(Ww.exports),Ww=P(eA.exports),eA=P(tA.exports),tA=P(iA.exports),iA=P(js.exports),js=P(pA.exports),pA=P(bA.exports),bA=P(BA.exports),BA=P(NA.exports),NA=P(FA.exports),FA=P(GA.exports),GA=P(zA.exports),zA=ik(tx),tx=P(ix.exports),ix=P(ax.exports),ax=P(ox.exports),ox=P(Sx.exports),Sx=P(Rx.exports),Rx=P(Dx.exports),Dx=P(ww),ww=P(Tx.exports),Tx=P(Ox),Ox=P(Mx.exports),Mx=P(e2.exports),e2=P(Rw.exports),Rw=P(t2.exports),t2=P(r2.exports),r2=P(n2.exports),n2=P(o2.exports),o2=ik(T),T=P(f2.exports),f2=P(C.exports),C=P(h2.exports),h2=P(d2.exports),d2=P(w2.exports),w2=P(A2.exports),A2=P(C2.exports),C2=P(M.exports),M=P(M2.exports),M2=P(L2.exports),L2=P(q2.exports),q2=P(V2.exports),V2=P(W2.exports),W2=P(w);function ok(){var e;return"function"!=typeof WeakMap?null:(e=new WeakMap,ok=function(){return e},e)}function ik(e){if(e&&e.__esModule)return e;if(null===e||"object"!==rk(e)&&"function"!=typeof e)return{default:e};var t=ok();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}}nk={version:"13.9.0",toDate:nk.default,toFloat:ZA.default,toInt:bl.default,toBoolean:ml.default,equals:hl.default,contains:Yc.default,matches:zn.default,isEmail:rl.default,isURL:ca.default,isMACAddress:Ro.default,isIP:Si.default,isIPRange:po.default,isFQDN:a.default,isBoolean:Hu.default,isIBAN:vw.default,isBIC:bw.default,isAlpha:_.default,isAlphaLocales:_.locales,isAlphanumeric:S.default,isAlphanumericLocales:S.locales,isNumeric:k.default,isPassportNumber:tl.default,isPort:R.default,isLowercase:A.default,isUppercase:m.default,isAscii:d_.default,isFullWidth:f_.default,isHalfWidth:p_.default,isVariableWidth:b.default,isMultibyte:b_.default,isSemVer:y_.default,isSurrogatePair:__.default,isInt:w_.default,isIMEI:l_.default,isFloat:x.default,isFloatLocales:x.locales,isDecimal:ia.default,isHexadecimal:I_.default,isOctal:C_.default,isDivisibleBy:M_.default,isHexColor:F_.default,isRgbColor:t.default,isHSL:mw.default,isISRC:gw.default,isMD5:D.default,isHash:kw.default,isJWT:Ew.default,isJSON:Sw.default,isEmpty:Mw.default,isLength:Bw.default,isLocale:v.default,isByteLength:Gw.default,isUUID:aa.default,isMongoId:Vw.default,isAfter:Ww.default,isBefore:eA.default,isIn:tA.default,isLuhnNumber:iA.default,isCreditCard:js.default,isIdentityCard:pA.default,isEAN:bA.default,isISIN:BA.default,isISBN:NA.default,isISSN:FA.default,isMobilePhone:zA.default,isMobilePhoneLocales:zA.locales,isPostalCode:o2.default,isPostalCodeLocales:o2.locales,isEthereumAddress:tx.default,isCurrency:ix.default,isBtcAddress:ax.default,isISO6391:ox.default,isISO8601:Sx.default,isRFC3339:Rx.default,isISO31661Alpha2:Dx.default,isISO31661Alpha3:ww.default,isISO4217:Tx.default,isBase32:Ox.default,isBase58:Mx.default,isBase64:e2.default,isDataURI:Rw.default,isMagnetURI:t2.default,isMimeType:r2.default,isLatLong:n2.default,ltrim:T.default,rtrim:f2.default,trim:C.default,escape:h2.default,unescape:d2.default,stripLow:w2.default,whitelist:A2.default,blacklist:C2.default,isWhitelisted:M.default,normalizeEmail:M2.default,toString:toString,isSlug:L2.default,isStrongPassword:V2.default,isTaxID:GA.default,isDate:i.default,isTime:E.default,isLicensePlate:q2.default,isVAT:W2.default,ibanLocales:vw.locales},y.default=nk,L.exports=y.default,L.exports.default=y.default;var ak=function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(Xa.exports);const sk=2147483647,uk=36,ck=/^xn--/,lk=/[^\0-\x7F]/,dk=/[\x2E\u3002\uFF0E\uFF61]/g,fk={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pk=Math.floor,hk=String.fromCharCode;function mk(e){throw new RangeError(fk[e])}function gk(e,t){var r=e.split("@");let n="";1<r.length&&(n=r[0]+"@",e=r[1]);r=function(e,t){var r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(dk,".")).split("."),t).join(".");return n+r}function vk(e){var t=[];let r=0;const n=e.length;for(;r<n;){var o=e.charCodeAt(r++);if(55296<=o&&o<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&o)<<10)+(1023&n)+65536):(t.push(o),r--)}else t.push(o)}return t}function bk(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function yk(e,t,r){let n=0;for(e=r?pk(e/700):e>>1,e+=pk(e/t);455<e;n+=uk)e=pk(e/35);return pk(n+36*e/(e+38))}function _k(n){var t=[],o=n.length;let i=0,e=128,a=72,s=n.lastIndexOf("-");s<0&&(s=0);for(let e=0;e<s;++e)128<=n.charCodeAt(e)&&mk("not-basic"),t.push(n.charCodeAt(e));for(let r=0<s?s+1:0;r<o;){const s=i;for(let e=1,t=uk;;t+=uk){r>=o&&mk("invalid-input");const s=48<=(u=n.charCodeAt(r++))&&u<58?u-48+26:65<=u&&u<91?u-65:97<=u&&u<123?u-97:uk;s>=uk&&mk("invalid-input"),s>pk((sk-i)/e)&&mk("overflow"),i+=s*e;var u=t<=a?1:t>=a+26?26:t-a;if(s<u)break;u=uk-u;e>pk(sk/u)&&mk("overflow"),e*=u}var c=t.length+1;a=yk(i-s,c,0==s),pk(i/c)>sk-e&&mk("overflow"),e+=pk(i/c),i%=c,t.splice(i++,0,e)}return String.fromCodePoint(...t)}function wk(t){const r=[],n=(t=vk(t)).length;let o=128,i=0,a=72;for(const n of t)n<128&&r.push(hk(n));const s=r.length;let u=s;for(s&&r.push("-");u<n;){let e=sk;for(const r of t)r>=o&&r<e&&(e=r);var c=u+1;e-o>pk((sk-i)/c)&&mk("overflow"),i+=(e-o)*c,o=e;for(const n of t)if(n<o&&++i>sk&&mk("overflow"),n===o){let t=i;for(let e=uk;;e+=uk){const o=e<=a?1:e>=a+26?26:e-a;if(t<o)break;const i=t-o,s=uk-o;r.push(hk(bk(o+i%s,0))),t=pk(i/s)}r.push(hk(bk(t,0))),a=yk(i,c,u===s),i=0,++u}++i,++o}return r.join("")}function Ak(e){return gk(e,function(e){return ck.test(e)?_k(e.slice(4).toLowerCase()):e})}function xk(e){return gk(e,function(e){return lk.test(e)?"xn--"+wk(e):e})}const kk=e=>String.fromCodePoint(...e),Ek={version:"2.1.0",ucs2:{decode:vk,encode:kk},decode:_k,encode:wk,toASCII:xk,toUnicode:Ak};const Sk=function e(r){var n;return r.__esModule?r:(n=Object.defineProperty({},"__esModule",{value:!0}),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:vk,ucs2encode:kk,decode:_k,encode:wk,toASCII:xk,toUnicode:Ak,default:Ek})),Rk={"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},Dk={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 Tk(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}var Ok=function(e,i){if("string"!=typeof e)return!1;if(i instanceof Object||(i={}),(e=e.toLowerCase()).endsWith(".")&&(e=e.slice(0,e.length-1)),253<(e=i.allowUnicode?Sk.toASCII(e):e).length)return!1;if(!/^([\u0E00-\u0E7Fa-z0-9-._*]+)$/g.test(e))return!1;if(i.topLevel&&Dk[e.replace(/\.$/,"")])return!0;var t=e.match(/(.*)\.(([\u0E00-\u0E7Fa-z0-9]+)(\.[a-z0-9]+))/);let r=null,a=null;if(t&&2<t.length&&Rk[t[2]]&&(r=t[2],a=t[1].split(".")),!a){if((a=e.split(".")).length<=1)return!1;if(r=a.pop(),!/^(?:xn--)?(?!^\d+$)[\u0E00-\u0E7Fa-z0-9]+$/gi.test(r))return!1}return!(!1===i.subdomain&&1<a.length)&&a.every(function(e,t){if(i.wildcard&&0===t&&"*"===e&&1<a.length)return!0;let r=/^([\u0E00-\u0E7Fa-zA-Z0-9-_]+)$/g;t===a.length-1&&(r=/^([\u0E00-\u0E7Fa-zA-Z0-9-]+)$/g);var n=(e.match(/--(--)?/g)||[]).length,o=(e.match(/xn--/g)||[]).length;return(t!==a.length-1||n===o)&&r.test(e)&&e.length<64&&!e.startsWith("-")&&!e.endsWith("-")})};const Ik=Tk;function Ck(e,t,r){return"function"==typeof r.join?r.join(e):e[0]+t+e[1]}function Mk(e,t,r){return"function"!=typeof r.isValid||r.isValid(e,t)}function Lk(e){return Ik(e)||Array.isArray(e)||"function"==typeof e}var Pk=Tk;function jk(e){return!0===Pk(e)&&"[object Object]"===Object.prototype.toString.call(e)}const Uk=Reflect["deleteProperty"],$k=function(e){return"object"==typeof e?null===e:"function"!=typeof e},Bk=function(e){return!1!==jk(e)&&"function"==typeof(e=e.constructor)&&!1!==jk(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf")},Nk=e=>"object"==typeof e&&null!==e||"function"==typeof e,Fk=e=>{if(!$k(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}"`)},Gk=(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=(Fk(n),Zk.cache.get(n)||e());return Zk.cache.set(n,e),e},zk=(s,u)=>u&&"function"==typeof u.split?u.split(s):"symbol"==typeof s?[s]:Array.isArray(s)?s:Gk(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<r.length;e++){const i=r[e];"\\"!==i?i!==o?t+=i:(n(t),t=""):t+=r[++e]}return t&&n(t),a}}),Zk=(e,r,n,o)=>{if(r&&Nk(e)){var i,a,s,u,c=zk(r,o);let t=e;for(let e=0;e<c.length;e++){const r=c[e],l=c[e+1];if(Fk(r),void 0===l){i=t,a=r,s=n,u=o,Fk(a),void 0===s?Uk(i,a):u&&u.merge&&(u="function"===u.merge?u.merge:Object.assign)&&Bk(i[a])&&Bk(s)?i[a]=u(i[a],s):i[a]=s;break}t="number"!=typeof l||Array.isArray(t[r])?(Nk(t[r])||(t[r]={}),t[r]):t[r]=[]}}return e};Zk.split=zk,Zk.cache=new Map,Zk.clear=()=>{Zk.cache=new Map};var Hk,Kk=Zk;function qk(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(Ik(s)||(s={default:s}),!Lk(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 Mk(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=Ck([r.slice(0,-1),n[++i]||""],c,s);if(r in a){if(!Mk(r,a,s))return s.default;a=a[r]}else{let e=!1,t=i+1;for(;t<o;)if(r=Ck([r,n[t++]],c,s),e=r in a){if(!Mk(r,a,s))return s.default;a=a[r],i=t-1;break}if(!e)return s.default}}while(++i<o&&Lk(a));return i===o?a:s.default}}function d(e,t){Kk(l,e,t)}function f(e,t){t=!(1<arguments.length&&void 0!==t)||t;if(e&&""!==e)try{return new ce(e,t)}catch(e){console.log(e)}}function p(){for(var e=(null==n?void 0:n.urls)||[s,c],t=0;t<e.length;t++){var r=f(e[t]);if(r){r=null==(r=r.query)?void 0:r.gd_sdk_referrer_url;if(r&&(r=decodeURIComponent(r),ak.isURL(r)))return r}}}return function(){O(this,i);var e,t,r,n=0,o=window;try{for(;o!=o.parent;)n++,o=o.parent}catch(n){d("depth.error",n.message)}d("depth.value",n),e=a,t=l.depth.value,r=u,d("top.domain.from","fallback"),e&&0<e.length?(r=e[e.length-1],d("top.domain.from","origins")):0===t?(r=u,d("top.domain.from","self-top")):1===t&&(e=f(c))&&(r=e.origin,d("top.domain.from","referrer")),d("top.domain.value",r.replace(/^https?:\/\/(www\.)?(.*)$/i,"$2")),(t=p())?Ok(t)?(d("partner.domain.value",t),d("partner.domain.from","partner-domain")):(t=f(t,!1))?(d("partner.domain.value",t.origin.replace(/^https?:\/\/(www\.)?(.*)$/i,"$2")),d("partner.domain.from","partner-url")):(d("partner.domain.value",l.top.domain.value),d("partner.domain.from","partner-fallback")):(d("partner.domain.value",l.top.domain.value),d("partner.domain.from","fallback")),e=p(),0===l.depth.value?(d("partner.url.value",s),d("partner.url.from","self-top")):e?Ok(e)?(d("partner.url.value",s),d("partner.url.from","partner-domain")):(d("partner.url.value",e),d("partner.url.from","partner-url")):(d("partner.url.value",c),d("partner.url.from","fallback"))}.bind(this)(),{get:t,print:function(e){console.log(t(e))}}}function Vk(e){var t=this;return Hk||(e={gameId:e.gameId,hours:(new Date).getHours(),topDomain:uv.topDomain,domain:uv.parentDomain,referrer:uv.parentURL,depth:yn(),version:$u.version,byloader:uv.isTokenGameURL,isTokenGameURL:uv.isTokenGameURL,isMasterGameURL:uv.isMasterGameURL,isExtHostedGameURL:uv.isExtHostedGameURL,byloaderVersion:uv.version,tracking:cv.userDeclinedTracking,whitelabel:cv.whitelabelPartner,platform:vn()},Hk=new Nn(e)),Hk||{send:function(){O(this,t)}.bind(this)}}var Wk={getGameData:function(e){var t=this;try{var r=e.replace("game.api.gamedistribution.com","game-api.gamedistribution.com");fetch(r).then(function(e){O(this,t)}.bind(this)).catch(function(e){O(this,t)}.bind(this))}catch(e){}},getGameLoaderIndex:function(e){var t=this;try{var r="https://html5-prod-aws.gamedistribution.com/".concat(e,"/");fetch(r).then(function(e){O(this,t)}.bind(this)).catch(function(e){O(this,t)}.bind(this))}catch(e){}}},w={exports:{}},ZA="object"==typeof Reflect?Reflect:null,Yk=ZA&&"function"==typeof ZA.apply?ZA.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},Jk=ZA&&"function"==typeof ZA.ownKeys?ZA.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},Xk=Number.isNaN||function(e){return e!=e};function Qk(){Qk.init.call(this)}w.exports=Qk,w.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))}uE(o,i,n,{once:!0}),"error"!==i&&"function"==typeof o.on&&uE(o,"error",r,{once:!0})})},(Qk.EventEmitter=Qk).prototype._events=void 0,Qk.prototype._eventsCount=0,Qk.prototype._maxListeners=void 0;var eE=10;function tE(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function rE(e){return void 0===e._maxListeners?Qk.defaultMaxListeners:e._maxListeners}function nE(e,t,r,n){var o,i;return tE(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=rE(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 oE(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 iE(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<o.length;++i)o[i]=n[i].listener||n[i];return o}return sE(e,e.length)}}function aE(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function sE(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function uE(r,n,o,i){if("function"==typeof r.on)i.once?r.once(n,o):r.on(n,o);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(n,function e(t){i.once&&r.removeEventListener(n,e),o(t)})}}Object.defineProperty(Qk,"defaultMaxListeners",{enumerable:!0,get:function(){return eE},set:function(e){if("number"!=typeof e||e<0||Xk(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");eE=e}}),Qk.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Qk.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||Xk(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Qk.prototype.getMaxListeners=function(){return rE(this)},Qk.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){if((i=0<t.length?t[0]:i)instanceof Error)throw i;n=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw n.context=i,n}var i=o[e];if(void 0===i)return!1;if("function"==typeof i)Yk(i,this,t);else for(var a=i.length,s=sE(i,a),r=0;r<a;++r)Yk(s[r],this,t);return!0},Qk.prototype.on=Qk.prototype.addListener=function(e,t){return nE(this,e,t,!1)},Qk.prototype.prependListener=function(e,t){return nE(this,e,t,!0)},Qk.prototype.once=function(e,t){return tE(t),this.on(e,oE(this,e,t)),this},Qk.prototype.prependOnceListener=function(e,t){return tE(t),this.prependListener(e,oE(this,e,t)),this},Qk.prototype.off=Qk.prototype.removeListener=function(e,t){var r,n,o,i,a;if(tE(t),void 0!==(n=this._events)&&void 0!==(r=n[e]))if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;0<=i;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;if(0===o)r.shift();else{var s=r;var u=o;for(;u+1<s.length;u++)s[u]=s[u+1];s.pop()}1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},Qk.prototype.removeAllListeners=function(e){var t,r;if(void 0!==(r=this._events))if(void 0===r.removeListener)0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]);else if(0===arguments.length){for(var n,o=Object.keys(r),i=0;i<o.length;++i)"removeListener"!==(n=o[i])&&this.removeAllListeners(n);this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0}else if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;0<=i;i--)this.removeListener(e,t[i]);return this},Qk.prototype.listeners=function(e){return iE(this,e,!0)},Qk.prototype.rawListeners=function(e){return iE(this,e,!1)},Qk.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):aE.call(e,t)},Qk.prototype.listenerCount=aE,Qk.prototype.eventNames=function(){return 0<this._eventsCount?Jk(this._events):[]};function cE(){var t=this,e=lE.acc.some(function(e){return O(this,t),e===(null==(e=window.location.host)?void 0:e.toLowerCase())}.bind(this));return{env:e?"acc":"prod",config:e?fE:dE}}var lE={prod:["html5.gamedistribution.com","revision.gamedistribution.com"],acc:["html5-acc-real-aws.gamedistribution.com","acceptance-revision.gamedistribution.com"]},dE={gameAPI:"game.api.gamedistribution.com"},fE={gameAPI:"game-api-acc-real-aws.gamedistribution.com"};function pE(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 hE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pE(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pE(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function mE(e){DE.push(e)}function gE(t){return function(e){e=KE(HE(e));return 1&t&&(e=qE(e,VE,"")),e=2&t?qE(e,WE,"$1"):e}}var vE,bE,yE,_E,wE,AE,xE,kE,EE,SE,RE=new w.exports.EventEmitter,DE=[],TE=(EE=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(bE){e.next=6;break}return e.next=3,CE(yE);case 3:bE=e.sent,RE.emit("game-data-ready",bE),OE();case 6:return e.abrupt("return",bE);case 7:case"end":return e.stop()}},e)})),function(){return EE.apply(this,arguments)}),OE=function(){var e;null!=(e=bE)&&null!=(e=e.aws_tst)&&e.enabled&&(IE(),null!=(e=bE)&&null!=(e=e.aws_tst)&&null!=(e=e.ep)&&e.api&&null!=(e=bE)&&e.url&&Wk.getGameData(null==(e=bE)?void 0:e.url),setInterval(d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,CE(yE);case 3:bE=e.sent,null!=(t=bE)&&t.aws_tst,e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}},e,null,[[0,7]])})),3e5))},IE=function(){var m=window.fetch;window.fetch=d(I.mark(function e(){var t,r,n,o,i,a,s,u,c,l,d,f,p=this,h=arguments;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(t=h.length,r=new Array(t),n=0;n<t;n++)r[n]=h[n];o=r[0],i=r[1],f=null==(f=bE)||null==(f=f.aws_tst)||null==(f=f.ep)?void 0:f.atm,a=null==(a=bE)||null==(a=a.aws_tst)||null==(a=a.ep)?void 0:a.msgrt,s=function(e,t){var r=this,e=(O(this,p),o.replace(e,t));m(e,i).then(function(){O(this,r)}.bind(this))}.bind(this);try{f&&0<o.indexOf("tag.atom")&&s("tag.atom.gamedistribution.com","atom-tag-prod-aws.gamedistribution.com"),a&&0<o.indexOf("msgrt.gamedistribution.com")&&(null!=(u=bE)&&u.aws_tst,null!=(c=bE)&&null!=(l=c.aws_tst)&&null!=(d=l.ep)&&d.msgrt,s("msgrt.gamedistribution.com","msgrt-prod-aws.gamedistribution.com"))}catch(e){}return e.next=9,m(o,i);case 9:return f=e.sent,e.abrupt("return",f);case 11:case"end":return e.stop()}},e,this)}))},CE=function(r){var s=this,e=(vE.send("gdfw.loading",{message:"loading"}),DE=[],mE("1"),mE("2"),new qk),n=(mE("3"),e.get("partner.domain.value")),u=(mE("4"),function(){return O(this,s),{gameId:r.gameId,disableAds:{},preroll:!0,midroll:12e4,rewardedAds:!1,title:"",tags:[],category:"",assets:[],dmain:!0,sdk:{},loader:{},splash:{},promo:{},dAds:{},pAds:{},mAds:{},rAds:{}}}.bind(this)),c=(mE("5"),function(){O(this,s);var e=o(),e=e?"&mode=".concat(e):"",t=cE().config;return"https://".concat(t.gameAPI,"/game/v4/get/").concat(r.gameId.replace(/-/g,""),"/?domain=").concat(n).concat(e,"&v=").concat($u.version,"&localTime=").concat((new Date).getHours())}.bind(this)),o=(mE("6"),function(){var r=this,e=(O(this,s),new Proxy(new URLSearchParams(window.location.search),{get:function(e,t){return O(this,r),e.get(t)}.bind(this)}));return!e.gd_mode&&window.location.search.includes("gd_mode")?window.location.search.split("gd_mode=")[1]:e.gd_mode}.bind(this));return mE("7"),new Promise(function(n){var t,o=this,i=(O(this,s),mE("7.1"),u());try{mE("7.2");var a=c();mE("7.3"),fetch(a).then((t=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return mE("7.4"),e.prev=1,e.next=4,t.json();case 4:r=e.sent,e.next=13;break;case 7:return e.prev=7,e.t0=e.catch(1),e.t0,e.next=12,function(e){var o=this,i=e.url;return new Promise(function(t,r){O(this,o);var n=new XMLHttpRequest;n.open("GET",i,!0),n.onreadystatechange=function(){var e;4==n.readyState&&(200==n.status?(e=JSON.parse(n.responseText),t(e)):r(Error("Error occured on request: ".concat(n.status,", ").concat(n.statusText))))},n.onerror=function(e){r(e)},n.send()}.bind(this))}({url:a});case 12:r=e.sent;case 13:return e.abrupt("return",r);case 14:case"end":return e.stop()}},e,null,[[1,7]])})),function(e){return t.apply(this,arguments)})).then(function(e){var t,r=this;O(this,o),mE("7.5"),e.success?(e=e.result.game,mE("7.6"),e={gameId:e.gameMd5,slug:e.slug,pname:e.pname,dname:e.dname,status:e.status,description:e.description,disableAds:e.enableAds,preroll:e.preRoll,midroll:6e4*e.timeAds,rewardedAds:e.rewardedAds,title:e.title,publishedAt:e.publishedAt,tags:e.tags,category:e.category,assets:e.assets,disp_2nd_prer:e.disp_2nd_prer,ctry_vst:e.ctry_vst,ctry:e.ctry,crtv:e.crtv,dmain:e.dmain,aws_tst:e.aws_tst,meta:e.meta,__t4r:Cs(e.__t4r)||{},block_exts:Cs(e.push_cuda),bloc_gard:Cs(e.bloc_gard),cookie:Cs(e.cookie),gdpr:Cs(e.gdpr),diagnostic:Cs(e.diagnostic),cmp:Cs(e.cmp),gft:Cs(e.gft)||{},sdk:Cs(e.sdk)||{},sdkfw:Cs(e.sdkfw)||{},loader:Cs(e.loader)||{},splash:Cs(e.splash)||{},promo:Cs(e.promo)||{},dAds:Cs(e.dads)||{},pAds:Cs(e.pads)||{},mAds:Cs(e.mads)||{},rAds:Cs(e.rads)||{},lp:Cs(e.lp)||{},extsc:Cs(e.extsc)||{},evnts:Cs(e.evnts)||{},dp:Cs(e.dp)||{},adflw:Cs(e.adflw)||{},afgszf:Cs(e.afgszf)||{},fllc:Cs(e.fllc)||{},lotm:Cs(e.lotm)||{},t4rc:Cs(e.t4rc)||{},midroll_plus:Cs(e.midroll_plus)||{},gmky:Cs(e.gmky)||{},urlBlockExc:Cs(e.url_blck_exc)||{}},mE("7.7"),t=dn(Ft(i),e),mE("7.8"),t.afg_disabled=!1===(null==(e=t.sdk)||null==(e=e.afg)?void 0:e.enabled),t.url=a,function(){O(this,r),void 0!==Nu.afgEnabled&&(t.afg_disabled=!Nu.afgEnabled),void 0!==Nu.promoEnabled&&(t.promo=t.promo||{},t.promo=hE(hE({},t.promo),{},{rainbow:{enabled:Nu.promoEnabled}}))}.bind(this),mE("7.9"),null!=(e=t.pAds)&&e.enabled&&(t.preroll=!0),mE("7.10"),vE.send("gdfw.success",{message:"success"}),n(t)):(i.failed=!0,e=DE[DE.length-1],vE.send("gdfw.err",{message:"".concat(e,": json error")}),n(i))}.bind(this)).catch(function(e){O(this,o);var t=DE[DE.length-1];vE.send("gdfw.err",{message:"".concat(t,": ").concat(e.message||e)}),i.failed=!0,n(i)}.bind(this))}catch(e){var r=DE[DE.length-1];vE.send("gdfw.err",{message:"".concat(r,": global ").concat(e.message||e)}),i.failed=!0,n(i)}}.bind(this))},ME=(kE=d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,TE();case 2:return t=e.sent,e.abrupt("return",!(null==t||null==(t=t.sdkfw)||!t.enabled));case 4:case"end":return e.stop()}},e)})),function(){return kE.apply(this,arguments)}),LE=(xE=d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,TE();case 2:return t=e.sent,t=null==t||null==(t=t.diagnostic)||!t.close_ga,e.abrupt("return",t);case 5:case"end":return e.stop()}},e)})),function(){return xE.apply(this,arguments)}),PE=(AE=d(I.mark(function e(){var t,r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,TE();case 2:return r=e.sent,e.next=5,ME();case 5:if(e.t0=e.sent,!e.t0){e.next=8;break}e.t0=!(null==r||null==(t=r.sdkfw)||!t.handshake);case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}},e)})),function(){return AE.apply(this,arguments)}),jE=(wE=d(I.mark(function e(){var t,r,n,o;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,TE();case 2:return n=e.sent,o=!(null==n||null==(o=n.extsc)||!o.enabled),e.abrupt("return",{enabled:o,path:o?null==n||null==(t=n.extsc)?void 0:t.path:"",name:o?null==n||null==(t=n.extsc)?void 0:t.name:"",ref:o?null==n||null==(r=n.extsc)?void 0:r.ref:"",loadedFlag:!o||null==n||null==(r=n.extsc)?void 0:r.loadedFlag,loadedFlagCheck:!!o&&!(null==n||null==(n=n.extsc)||!n.loadedFlagCheck)});case 5:case"end":return e.stop()}},e)})),function(){return wE.apply(this,arguments)}),UE=(_E=d(I.mark(function e(){var t,r,n,o,i,a=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,jE();case 2:if((t=e.sent).enabled){e.next=5;break}return e.abrupt("return");case 5:return r=t.path,n=t.name,o=t.ref,e.prev=6,i={},e.next=10,bn(r,n,{error_prefix:"Blocked:",exists:function(){return O(this,a),!!o&&!!window[o]}.bind(this),attrs:i});case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(6),console.log("extsc: error on external partner script load",n,e.t0),Tn("DEVELOPER_ERROR",e.t0,"warning");case 16:case"end":return e.stop()}},e,this,[[6,12]])})),function(){return _E.apply(this,arguments)}),$E=!1,BE=!1,bl=Is,ml=vl,hl=Qn,NE=so,FE=ho,GE=xp,zE=dm,Yc=Mi,ZE=ml&&ml.prototype,rl=(bl({target:"Promise",proto:!0,real:!0,forced:!!ml&&hl(function(){ZE.finally.call({then:function(){}},function(){})})},{finally:function(t){var r=GE(this,NE("Promise")),e=FE(t);return this.then(e?function(e){return zE(r,t()).then(function(){return e})}:t,e?function(e){return zE(r,t()).then(function(){throw e})}:t)}}),FE(ml)&&(zn=NE("Promise").prototype.finally,ZE.finally!==zn)&&Yc(ZE,"finally",zn,{unsafe:!0}),"\t\n\v\f\r \u2028\u2029\ufeff"),HE=to,KE=Gu,ca=rl,qE=r("".replace),VE=RegExp("^["+ca+"]+"),WE=RegExp("(^|[^"+ca+"])["+ca+"]+$"),Ro={start:gE(1),end:gE(2),trim:gE(3)},YE=Di.PROPER,Si=Qn,JE=rl,XE=Ro.trim,po=(Is({target:"String",proto:!0,forced:(SE="trim",Si(function(){return!!JE.trim()||"
"!=="
".trim()||YE&&JE.trim.name!==SE}))},{trim:function(){return XE(this)}}),Is),QE=Qa.find,a=K0,Hu="find",eS=!0,tS=(Hu in[]&&Array(1)[Hu](function(){eS=!1}),po({target:"Array",proto:!0,forced:eS},{find:function(e){return QE(this,e,1<arguments.length?arguments[1]:void 0)}}),a(Hu),ho),rS=Mr,nS=go,oS=Do.f,bw=Kn,_=n,S=r,k=Eu,iS=Ti,tl=$s.f,aS=Vo,sS=og,uS=Gu,cS=sg,R=Jc,A=Mi,m=Qn,lS=xo,dS=Ri.enforce,d_=wp,fS=x0,pS=gl,hS=oo("match"),mS=_.RegExp,gS=mS.prototype,vS=_.SyntaxError,bS=S(gS.exec),yS=S("".charAt),_S=S("".replace),wS=S("".indexOf),AS=S("".slice),xS=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,kS=/a/g,ES=/a/g,f_=new mS(kS)!==kS,SS=R.MISSED_STICKY,RS=R.UNSUPPORTED_Y;if(k("RegExp",bw&&(!f_||SS||fS||pS||m(function(){return ES[hS]=!1,mS(kS)!=kS||mS(ES)==ES||"/a/i"!=mS(kS,"i")})))){for(var DS=function(e,t){var r,n,o=aS(gS,this),i=sS(e),a=void 0===t,s=[],u=e;if(!o&&i&&a&&e.constructor===DS)return e;if((i||aS(gS,e))&&(e=e.source,a)&&(t=cS(u)),e=void 0===e?"":uS(e),t=void 0===t?"":uS(t),u=e,i=t=fS&&"dotAll"in kS&&(r=!!t&&-1<wS(t,"s"))?_S(t,/s/g,""):t,SS&&"sticky"in kS&&(n=!!t&&-1<wS(t,"y"))&&RS&&(t=_S(t,/y/g,"")),pS&&(e=(a=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,u=!1,c=0,l="";n<=r;n++){if("\\"===(t=yS(e,n)))t+=yS(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:bS(xS,AS(e,n+1))&&(n+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||lS(a,l))throw new vS("Invalid capture group name");a[l]=!0,u=!(i[i.length]=[l,c]),l="";continue}u?l+=t:o+=t}return[o,i]}(e))[0],s=a[1]),a=mS(e,t),t=o?this:gS,o=DS,nS&&tS(t=t.constructor)&&t!==o&&rS(t=t.prototype)&&t!==o.prototype&&nS(a,t),o=a,(r||n||s.length)&&(t=dS(o),r&&(t.dotAll=!0,t.raw=DS(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=yS(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+yS(e,++n);return o}(e),i)),n&&(t.sticky=!0),s.length)&&(t.groups=s),e!==u)try{iS(o,"source",""===u?"(?:)":u)}catch(e){}return o},TS=tl(mS),OS=0;TS.length>OS;)!function(e,t,r){r in e||oS(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}(DS,mS,TS[OS++]);(gS.constructor=DS).prototype=gS,A(_,"RegExp",DS,{constructor:!0})}d_("RegExp");var p_=Is,b=qn,IS=Es,b_=Hi,CS=r([].join),MS=(p_({target:"Array",proto:!0,forced:b!=Object||!b_("join",",")},{join:function(e){return CS(IS(this),void 0===e?",":e)}}),Qa.map),LS=(Is({target:"Array",proto:!0,forced:!fc("map")},{map:function(e){return MS(this,e,1<arguments.length?arguments[1]:void 0)}}),Kn),y_=r,PS=e,__=Qn,jS=Pu,US=cu,$S=Ps,BS=ro,NS=qn,FS=Object.assign,GS=Object.defineProperty,zS=y_([].concat),w_=!FS||__(function(){var e,t,r,n;return LS&&1!==FS({b:1},FS(GS({},"a",{enumerable:!0,get:function(){GS(this,"b",{value:3,enumerable:!1})}}),{b:2})).b||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=FS({},e)[r])||jS(FS({},t)).join("")!=n})?function(e,t){for(var r=BS(e),n=arguments.length,o=1,i=US.f,a=$S.f;o<n;)for(var s,u=NS(arguments[o++]),c=i?zS(jS(u),i(u)):jS(u),l=c.length,d=0;d<l;)s=c[d++],LS&&!PS(a,u,s)||(r[s]=u[s]);return r}:FS;Is({target:"Object",stat:!0,arity:2,forced:Object.assign!==w_},{assign:w_});function ZS(e){for(var t,r=[],n=lR(cR(dR(e),eR,"."),"."),o=0;o<n.length;o++)t=n[o],uR(r,nR(QS,t)?"xn--"+function(e){var t,r=[],n=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o,i=aR(e,r++);55296<=i&&i<=56319&&r<n?56320==(64512&(o=aR(e,r++)))?uR(t,((1023&i)<<10)+(1023&o)+65536):(uR(t,i),r--):uR(t,i)}return t}(e)).length,o=128,i=0,a=72;for(l=0;l<e.length;l++)(t=e[l])<128&&uR(r,iR(t));var s=r.length,u=s;for(s&&uR(r,"-");u<n;){for(var c=XS,l=0;l<e.length;l++)(t=e[l])>=o&&t<c&&(c=t);var d=u+1;if(c-o>oR((XS-i)/d))throw rR(tR);for(i+=(c-o)*d,o=c,l=0;l<e.length;l++){if((t=e[l])<o&&++i>XS)throw rR(tR);if(t==o){for(var f=i,p=36;;){var h=p<=a?1:a+26<=p?26:p-a;if(f<h)break;var m=f-h,g=36-h;uR(r,iR(fR(h+m%g))),f=oR(m/g),p+=36}uR(r,iR(fR(f))),a=pR(i,d,u==s),i=0,u++}}i++,o++}return sR(r,"")}(t):t);return sR(r,".")}function HS(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)FR(t,e%256),e=DR(e/256);return CR(t,".")}if("object"!=typeof e)return e;for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(r<o&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return r<o&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o=o&&!1,n===r?(t+=r?":":"::",o=!0):(t+=MR(e[r],16),r<7&&(t+=":")));return"["+t+"]"}function KS(e,t){var r=yR(e,0);return 32<r&&r<127&&!gR(t,e)?e:encodeURIComponent(e)}function qS(e,t){return 2==e.length&&IR(HR,OR(e,0))&&(":"==(e=OR(e,1))||!t&&"|"==e)}function VS(e){return 1<e.length&&qS(BR(e,0,2))&&(2==e.length||"/"===(e=OR(e,2))||"\\"===e||"?"===e||"#"===e)}function WS(e,t,r){var n,o,e=_R(e);if(t){if(o=this.parse(e))throw SR(o);this.searchParams=null}else{if(void 0!==r&&(n=new WS(r,!0)),o=this.parse(e,null,n))throw SR(o);(t=ER(new kR)).bindURL(this),this.searchParams=t}}function YS(e,t){return{get:function(){return xR(this)[e]()},set:t&&function(e){return xR(this)[t](e)},configurable:!0,enumerable:!0}}var JS,l_=r,XS=2147483647,QS=/[^\0-\u007E]/,eR=/[.\u3002\uFF0E\uFF61]/g,tR="Overflow: input needs wider integers to process",rR=RangeError,nR=l_(eR.exec),oR=Math.floor,iR=String.fromCharCode,aR=l_("".charCodeAt),sR=l_([].join),uR=l_([].push),cR=l_("".replace),lR=l_("".split),dR=l_("".toLowerCase),fR=function(e){return e+22+75*(e<26)},pR=function(e,t,r){var n=0;for(e=r?oR(e/700):e>>1,e+=oR(e/t);455<e;)e=oR(e/35),n+=36;return oR(n+36*e/(e+38))},x=Is,hR=Kn,ia=yl,I_=n,C_=ji,M_=r,F_=Mi,t=ec,mR=Ap,gR=xo,mw=w_,vR=vc,bR=Qu,yR=Rl.codeAt,_R=Gu,gw=rc,wR=kp,D=o,kw=Ri,AR=kw.set,xR=kw.getterFor("URL"),kR=D.URLSearchParams,ER=D.getState,Ew=I_.URL,SR=I_.TypeError,RR=I_.parseInt,DR=Math.floor,TR=Math.pow,OR=M_("".charAt),IR=M_(/./.exec),CR=M_([].join),MR=M_(1..toString),LR=M_([].pop),PR=M_([].push),jR=M_("".replace),UR=M_([].shift),$R=M_("".split),BR=M_("".slice),NR=M_("".toLowerCase),FR=M_([].unshift),GR="Invalid scheme",zR="Invalid host",ZR="Invalid port",HR=/[a-z]/i,KR=/[\d+-.a-z]/i,qR=/\d/,VR=/^0x/i,WR=/^[0-7]+$/,YR=/^\d+$/,JR=/^[\da-f]+$/i,XR=/[\0\t\n\r #%/:<>?@[\\\]^|]/,QR=/[\0\t\n\r #/:<>?@[\\\]^|]/,e9=/^[\u0000-\u0020]+/,t9=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,r9=/[\t\n\r]/g,n9={},o9=mw({},n9,{" ":1,'"':1,"<":1,">":1,"`":1}),i9=mw({},o9,{"#":1,"?":1,"{":1,"}":1}),a9=mw({},i9,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),s9={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u9={},c9={},l9={},d9={},f9={},p9={},h9={},m9={},g9={},v9={},b9={},y9={},_9={},w9={},A9={},x9={},k9={},E9={},S9={},R9={},D9={},T9=(WS.prototype={type:"URL",parse:function(e,t,r){var n,o,i,a,s=this,u=t||u9,c=0,l="",d=!1,f=!1,p=!1;for(e=_R(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=jR(e,e9,""),e=jR(e,t9,"$1")),e=jR(e,r9,""),n=vR(e);c<=n.length;){switch(o=n[c],u){case u9:if(!o||!IR(HR,o)){if(t)return GR;u=l9;continue}l+=NR(o),u=c9;break;case c9:if(o&&(IR(KR,o)||"+"==o||"-"==o||"."==o))l+=NR(o);else{if(":"!=o){if(t)return GR;l="",u=l9,c=0;continue}if(t&&(s.isSpecial()!=gR(s9,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&s9[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?u=w9:s.isSpecial()&&r&&r.scheme==s.scheme?u=d9:s.isSpecial()?u=m9:"/"==n[c+1]?(u=f9,c++):(s.cannotBeABaseURL=!0,PR(s.path,""),u=S9)}break;case l9:if(!r||r.cannotBeABaseURL&&"#"!=o)return GR;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=bR(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,u=D9;break}u="file"==r.scheme?w9:p9;continue;case d9:if("/"!=o||"/"!=n[c+1]){u=p9;continue}u=g9,c++;break;case f9:if("/"==o){u=v9;break}u=E9;continue;case p9:if(s.scheme=r.scheme,o==JS)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bR(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())u=h9;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bR(r.path),s.query="",u=R9;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bR(r.path),s.path.length--,u=E9;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=bR(r.path),s.query=r.query,s.fragment="",u=D9}break;case h9:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,u=E9;continue}u=v9}else u=g9;break;case m9:if(u=g9,"/"!=o||"/"!=OR(l,c+1))continue;c++;break;case g9:if("/"==o||"\\"==o)break;u=v9;continue;case v9:if("@"==o){d&&(l="%40"+l);for(var d=!0,h=vR(l),m=0;m<h.length;m++){var g=h[m];":"!=g||p?(g=KS(g,a9),p?s.password+=g:s.username+=g):p=!0}l=""}else if(o==JS||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(d&&""==l)return"Invalid authority";c-=vR(l).length+1,l="",u=b9}else l+=o;break;case b9:case y9:if(t&&"file"==s.scheme){u=x9;continue}if(":"!=o||f){if(o==JS||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==l)return zR;if(t&&""==l&&(s.includesCredentials()||null!==s.port))return;if(i=s.parseHost(l))return i;if(l="",u=k9,t)return;continue}"["==o?f=!0:"]"==o&&(f=!1),l+=o}else{if(""==l)return zR;if(i=s.parseHost(l))return i;if(l="",u=_9,t==y9)return}break;case _9:if(!IR(qR,o)){if(o==JS||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||t){if(""!=l){var v=RR(l,10);if(65535<v)return ZR;s.port=s.isSpecial()&&v===s9[s.scheme]?null:v,l=""}if(t)return;u=k9;continue}return ZR}l+=o;break;case w9:if(s.scheme="file","/"==o||"\\"==o)u=A9;else{if(!r||"file"!=r.scheme){u=E9;continue}if(o==JS)s.host=r.host,s.path=bR(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=bR(r.path),s.query="",u=R9;else{if("#"!=o){VS(CR(bR(n,c),""))||(s.host=r.host,s.path=bR(r.path),s.shortenPath()),u=E9;continue}s.host=r.host,s.path=bR(r.path),s.query=r.query,s.fragment="",u=D9}}break;case A9:if("/"==o||"\\"==o){u=x9;break}r&&"file"==r.scheme&&!VS(CR(bR(n,c),""))&&(qS(r.path[0],!0)?PR(s.path,r.path[0]):s.host=r.host),u=E9;continue;case x9:if(o==JS||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&qS(l))u=E9;else{if(""==l){if(s.host="",t)return}else{if(i=s.parseHost(l))return i;if("localhost"==s.host&&(s.host=""),t)return;l=""}u=k9}continue}l+=o;break;case k9:if(s.isSpecial()){if(u=E9,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=JS&&(u=E9,"/"!=o))continue}else s.fragment="",u=D9;else s.query="",u=R9;break;case E9:if(o==JS||"/"==o||"\\"==o&&s.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(v=NR(l))||"%2e."===v||".%2e"===v||"%2e%2e"===v?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||PR(s.path,"")):"."===(a=l)||"%2e"===NR(a)?"/"==o||"\\"==o&&s.isSpecial()||PR(s.path,""):("file"==s.scheme&&!s.path.length&&qS(l)&&(s.host&&(s.host=""),l=OR(l,0)+":"),PR(s.path,l)),l="","file"==s.scheme&&(o==JS||"?"==o||"#"==o))for(;1<s.path.length&&""===s.path[0];)UR(s.path);"?"==o?(s.query="",u=R9):"#"==o&&(s.fragment="",u=D9)}else l+=KS(o,i9);break;case S9:"?"==o?(s.query="",u=R9):"#"==o?(s.fragment="",u=D9):o!=JS&&(s.path[0]+=KS(o,n9));break;case R9:t||"#"!=o?o!=JS&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":KS(o,n9)):(s.fragment="",u=D9);break;case D9:o!=JS&&(s.fragment+=KS(o,o9))}c++}},parseHost:function(e){var t,r,n;if("["==OR(e,0))return"]"==OR(e,e.length-1)&&(t=function(e){function t(){return OR(e,f)}var r,n,o,i,a,s,u,c=[0,0,0,0,0,0,0,0],l=0,d=null,f=0;if(":"==t()){if(":"!=OR(e,1))return;f+=2,d=++l}for(;t();){if(8==l)return;if(":"!=t()){for(r=n=0;n<4&&IR(JR,t());)r=16*r+RR(t(),16),f++,n++;if("."==t()){if(0==n)return;if(f-=n,6<l)return;for(o=0;t();){if(i=null,0<o){if(!("."==t()&&o<4))return;f++}if(!IR(qR,t()))return;for(;IR(qR,t());){if(a=RR(t(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(255<i)return;f++}c[l]=256*c[l]+i,2!=++o&&4!=o||l++}if(4!=o)return;break}if(":"==t()){if(f++,!t())return}else if(t())return;c[l++]=r}else{if(null!==d)return;f++,d=++l}}if(null!==d)for(s=l-d,l=7;0!=l&&0<s;)u=c[l],c[l--]=c[d+s-1],c[d+--s]=u;else if(8!=l)return;return c}(BR(e,1,-1)))?void(this.host=t):zR;if(this.isSpecial())return e=ZS(e),IR(XR,e)||null===(t=function(e){var t,r,n,o,i,a,s,u=$R(e,".");if(u.length&&""==u[u.length-1]&&u.length--,4<(t=u.length))return e;for(r=[],n=0;n<t;n++){if(""==(o=u[n]))return e;if(i=10,1<o.length&&"0"==OR(o,0)&&(i=IR(VR,o)?16:8,o=BR(o,8==i?1:2)),""===o)a=0;else{if(!IR(10==i?YR:8==i?WR:JR,o))return e;a=RR(o,i)}PR(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=TR(256,5-t))return null}else if(255<a)return null;for(s=LR(r),n=0;n<r.length;n++)s+=r[n]*TR(256,3-n);return s}(e))?zR:void(this.host=t);if(IR(QR,e))return zR;for(t="",r=vR(e),n=0;n<r.length;n++)t+=KS(r[n],n9);this.host=t},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return gR(s9,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&qS(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=HS(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+CR(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){e=this.parse(e);if(e)throw SR(e);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new T9(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+HS(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(_R(e)+":",u9)},getUsername:function(){return this.username},setUsername:function(e){var t=vR(_R(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=KS(t[r],a9)}},getPassword:function(){return this.password},setPassword:function(e){var t=vR(_R(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=KS(t[r],a9)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?HS(e):HS(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,b9)},getHostname:function(){var e=this.host;return null===e?"":HS(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,y9)},getPort:function(){var e=this.port;return null===e?"":_R(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=_R(e))?this.port=null:this.parse(e,_9))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+CR(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,k9))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=_R(e))?this.query=null:("?"==OR(e,0)&&(e=BR(e,1)),this.query="",this.parse(e,R9)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=_R(e))?("#"==OR(e,0)&&(e=BR(e,1)),this.fragment="",this.parse(e,D9)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}},function(e){var t=mR(this,O9),r=1<wR(arguments.length,1)?arguments[1]:void 0,e=AR(t,new WS(e,!1,r));hR||(t.href=e.serialize(),t.origin=e.getOrigin(),t.protocol=e.getProtocol(),t.username=e.getUsername(),t.password=e.getPassword(),t.host=e.getHost(),t.hostname=e.getHostname(),t.port=e.getPort(),t.pathname=e.getPathname(),t.search=e.getSearch(),t.searchParams=e.getSearchParams(),t.hash=e.getHash())}),O9=T9.prototype,I9=(hR&&(t(O9,"href",YS("serialize","setHref")),t(O9,"origin",YS("getOrigin")),t(O9,"protocol",YS("getProtocol","setProtocol")),t(O9,"username",YS("getUsername","setUsername")),t(O9,"password",YS("getPassword","setPassword")),t(O9,"host",YS("getHost","setHost")),t(O9,"hostname",YS("getHostname","setHostname")),t(O9,"port",YS("getPort","setPort")),t(O9,"pathname",YS("getPathname","setPathname")),t(O9,"search",YS("getSearch","setSearch")),t(O9,"searchParams",YS("getSearchParams")),t(O9,"hash",YS("getHash","setHash"))),F_(O9,"toJSON",function(){return xR(this).serialize()},{enumerable:!0}),F_(O9,"toString",function(){return xR(this).serialize()},{enumerable:!0}),Ew&&(Sw=Ew.createObjectURL,Mw=Ew.revokeObjectURL,Sw&&F_(T9,"createObjectURL",C_(Sw,Ew)),Mw)&&F_(T9,"revokeObjectURL",C_(Mw,Ew)),gw(T9,"URL"),x({global:!0,constructor:!0,forced:!ia,sham:!hR},{URL:T9}),pe(F9,[{key:"_getFakeCustomParams",value:function(){var e,t={_vid:["bla_bla1","bla_bla2","bla_bla3"],_1ld:["1ld_1","1ld_2","1ld_3","1ld_4"],_1lp:["1lp_1","1lp_2"]},r={};for(e in t){var n=t[e];r[e]=n[Math.floor(Math.random()*n.length)]}return r}},{key:"checkCustomParams",value:function(){var e=this;try{var t,r={},n=this.gameData.diagnostic&&this.gameData.diagnostic.cp&&this.gameData.diagnostic.cp.enabled,o=new ce(location.href,!0);for(t in o.query)r[t]=o.query[t];return 0<Object.keys(r).filter(function(t){var r=this;return O(this,e),this.customParamKeys.some(function(e){return O(this,r),e===t}.bind(this))}.bind(this)).length||n?(console.log("custom-params",r,n),r):void console.log("custom-params, none")}catch(e){console.log("_checkCustomParams.Error",e)}}}]),F9),C9=(pe(N9,[{key:"show",value:function(){this.adResumeButton.style.display="block",this.adResumeButtonOverlay.style.display="block"}},{key:"hide",value:function(){this.adResumeButton.style.display="none",this.adResumeButtonOverlay.style.display="none"}},{key:"add",value:function(){var e=this;try{var t=document.createElement("div"),r=((this.adResumeButton=t).id="gd__resume__button",t.setAttribute("title","Resume"),this.addStyles(),t.classList.add("gd__resume__button"),t.addEventListener("click",function(){O(this,e),this.onResume()}.bind(this)),this.adContainer.appendChild(t),document.createElement("div"));(this.adResumeButtonOverlay=r).id="gd__resume__button__overlay",r.classList.add("gd__resume__button__overlay"),this.adContainer.appendChild(r)}catch(e){console.log("Resume button add error",e)}}},{key:"addStyles",value:function(){var e=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__resume__button__style",e,'\n .gd__resume__button{\n background-image: url("https://img.gamedistribution.com/play-black.svg");\n background-color:white; \n width: 120px;\n height: 120px;\n position: absolute;\n display: none;\n z-index: 2000;\n cursor: pointer;\n top: calc(50% - 60px);\n left: calc(50% - 60px);\n margin: 0;\n border-radius: 50%;\n border: 2px solid white;\n animation: play-button 1s ease-in-out infinite alternate;\n -webkit-animation: play-button 1s ease-in-out infinite alternate;\n }\n \n .gd__resume__button__overlay {\n position: fixed;\n display: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0,0,0,0.5);\n z-index: 1999;\n cursor: pointer;\n }\n @keyframes play-button {\n 0% {\n transform: scale(1.0);\n -webkit-transform: scale(1.0);\n }\n 100% {\n transform: scale(1.1);\n -webkit-transform: scale(1.1);\n }\n }\n .gd__resume__button:hover{\n filter: invert(100%) sepia(51%) saturate(0%) hue-rotate(346deg) brightness(104%) contrast(100%); \n }\n ')}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).type="text/css",n.id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}}]),N9),M9=(pe(B9,[{key:"show",value:function(){this.rewardLabel.style.display="block"}},{key:"hide",value:function(){this.rewardLabel.style.display="none"}},{key:"add",value:function(){try{var e=document.createElement("div"),t=(this.rewardLabel=e,document.createElement("span"));t.innerText="To receive the reward, please do not skip the ad",this.addStyles(),e.classList.add("gd__reward__label"),t.classList.add("gd__reward__span"),this.rewardLabel.appendChild(t),this.adContainer.appendChild(e)}catch(e){console.log(e)}}},{key:"addStyles",value:function(){var e=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__reward__label__style",e,"\n .gd__reward__label{\n background-color:black; \n width: 160px;\n // height: 35px;\n position: absolute;\n display: none;\n z-index: 2000;\n cursor: pointer;\n bottom: 40px;\n left: 10px;\n margin: 0;\n border-radius: 5px;\n border: .5px solid gray;\n text-align: center;\n }\n .gd__reward__label:hover{\n filter: invert(100%) sepia(51%) saturate(0%) hue-rotate(346deg) brightness(104%) contrast(100%); \n }\n .gd__reward__span{\n color: white;\n font-size: 12px;\n padding-left: 5px;\n font-family: Verdana, Arial, Helvetica, sans-serif;\n text-align: center;\n }\n ")}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).type="text/css",n.id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}}]),B9),L9=(pe($9,[{key:"show",value:function(){this.audioLabel.style.display="block"}},{key:"hide",value:function(){this.audioLabel.style.display="none"}},{key:"mute",value:function(){document.getElementById("game").contentWindow.postMessage("mute","*")}},{key:"unmute",value:function(){document.getElementById("game").contentWindow.postMessage("unmute","*")}},{key:"add",value:function(){try{var e=document.createElement("div"),t=(this.audioLabel=e,document.createElement("span")),r=(t.innerText="Audio Ad is Playing",document.createElement("span"));r.innerHTML="ⓘ",this.addStyles(),e.classList.add("gd__audio__label"),t.classList.add("gd__audio__span"),r.classList.add("gd__audio__span"),this.audioLabel.appendChild(r),this.audioLabel.appendChild(t),this.adContainer.appendChild(e)}catch(e){console.log(e)}}},{key:"addStyles",value:function(){var e=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__audio__label__style",e,"\n .gd__audio__label{\n background-color: #ffca00; \n width: 200px;\n position: relative;\n display: none;\n z-index: 2000;\n cursor: pointer;\n top: 0px;\n margin: 0 auto;\n border-radius: 0px;\n border: 0px;\n text-align: center;\n height: 30px;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n padding: 5px;\n }\n .gd__audio__span{\n color: black;\n font-size: 14px;\n padding-left: 5px;\n font-family: Verdana, Arial, Helvetica, sans-serif;\n text-align: center;\n }\n ")}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).type="text/css",n.id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}}]),$9),P9=(pe(U9,[{key:"show",value:function(){this.t4rButton.style.display="block"}},{key:"hide",value:function(){this.t4rButton.style.display="none"}},{key:"add",value:function(){try{var e=document.createElement("div"),t=document.createElement("p");this.addStyles(),t.innerText="x",e.appendChild(t),e.id="gd__exit__button",e.setAttribute("title","Exit"),e.classList.add("gd__exit__button"),this.t4rButton=e,document.body.appendChild(e)}catch(e){console.log("Exit button add error",e)}}},{key:"addStyles",value:function(){var e=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__exit__button__style",e,"\n .gd__exit__button{\n background-color: transparent; \n width: 50px;\n height: 50px;\n position: absolute;\n pointer-events:none; \n z-index: 2000;\n top: 17px;\n right: 17px;\n margin: 0;\n border-radius: 50px;\n border: 1px solid white;\n text-align: center; \n font-size: 16px;\n line-height: normal;\n font-family: 'Arial';\n font-weight: bolder;\n }\n .gd__exit__button:hover{\n filter: invert(100%) sepia(51%) saturate(0%) hue-rotate(346deg) brightness(104%) contrast(100%); \n }")}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).type="text/css",n.id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}}]),U9),j9=(new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"}),new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"}));function U9(e){le(this,U9),this.adContainer=e}function $9(e){le(this,$9),this.adContainer=e}function B9(e,t){le(this,B9),this.adContainer=e,this.onResume=t}function N9(e,t){le(this,N9),this.adContainer=e,this.onResume=t}function F9(e){le(this,F9),this.gameData=e,this.customParamKeys=["vid","_1ld","_1lp"]}function G9(e){return Object.assign({muted:!1,timeout:250,inline:!1},e)}function z9(e,t){var n,r=e.muted,o=e.timeout,e=e.inline,t=t(),i=t.element,t=t.source,a=void 0,s=void 0;return!0===(i.muted=r)&&i.setAttribute("muted","muted"),!0===e&&i.setAttribute("playsinline","playsinline"),i.src=t,new Promise(function(r){a=i.play(),n=setTimeout(function(){s(!1,new Error("Timeout "+o+" ms has been reached"))},o),s=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;i.remove(),i.srcObject=null,clearTimeout(n),r({result:e,error:t})},void 0!==a?a.then(function(){return s(!0)}).catch(function(e){return s(!1,e)}):s(!0)})}var Z9,H9,K9,q9,V9,W9,Y9,J9,X9,Q9,eD,tD,rD,nD,oD,iD,aD,sD,uD,cD,lD,dD,fD,pD,hD,mD,gD,vD,bD,yD,_D,wD,AD,xD,kD,ED,SD,RD,DD,TD,OD,ID,CD,MD,LD,PD,jD,UD=function(e){return z9(e=G9(e),function(){return{element:document.createElement("video"),source:URL.createObjectURL(j9)}})},Bw={exports:{}};function $D(){}function BD(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ND(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function FD(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function GD(e){e=this.__data__=new ND(e);this.size=e.size}function zD(e,t,r){(void 0===r||eT(e[t],r))&&(void 0!==r||t in e)||HD(e,t,r)}function ZD(e,t){for(var r=e.length;r--;)if(eT(e[r][0],t))return r;return-1}function HD(e,t,r){"__proto__"==t&&_D?_D(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function KD(e){{if(null==e)return void 0===e?tD:X9;if(yD&&yD in Object(e)){var t=e,r=cD.call(t,yD),n=t[yD];try{var o=!(t[yD]=void 0)}catch(t){}var i=dD.call(t);return o&&(r?t[yD]=n:delete t[yD]),i}return dD.call(e)}}function qD(e){return iT(e)&&KD(e)==V9}function VD(m,g,v,b,y){m!==g&&SD(g,function(e,t){var r,n,o,i,a,s,u,c,l,d,f,p,h;y=y||new GD,oT(e)?(n=g,i=v,a=VD,s=b,u=y,f=QD(r=m,o=t),p=QD(n,o),(h=u.get(p))||((n=void 0===(h=s?s(f,p,o+"",r,n,u):void 0))&&(c=!(d=CD(p))&&MD(p),l=!d&&!c&&PD(p),h=p,d||c||l?h=CD(f)?f:iT(d=f)&&tT(d)?function(e,t){var r=-1,n=e.length;for(t=t||Array(n);++r<n;)t[r]=e[r];return t}(f):c?(n=!1,p.slice()):l?(n=!1,l=new(c=(d=p).buffer).constructor(c.byteLength),new hD(l).set(new hD(c)),new d.constructor(l,d.byteOffset,d.length)):[]:function(e){if(iT(e)&&KD(e)==Q9)return null===(e=mD(e))||"function"==typeof(e=cD.call(e,"constructor")&&e.constructor)&&e instanceof e&&uD.call(e)==fD}(p)||ID(p)?ID(h=f)?h=function(){for(var e=f,t=aT(f),r=void 0,n=!r,o=(r=r||{},-1),i=t.length;++o<i;){var a=t[o],s=void 0;(n?HD:function e(t,r,n){var o=t[r];cD.call(t,r)&&eT(o,n)&&(void 0!==n||r in t)||HD(t,r,n)})(r,a,s=void 0===s?e[a]:s)}return r}():oT(f)&&!rT(f)||(h="function"!=typeof p.constructor||XD(p)?{}:ED(mD(p))):n=!1),n&&(u.set(p,h),a(h,p,i,s,u),u.delete(p))),zD(r,o,h)):(c=b?b(QD(m,t),e,t+"",m,g,y):void 0,zD(m,t,c=void 0===c?e:c))},aT)}function WD(e,t){var r,e=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?e["string"==typeof t?"string":"hash"]:e.map}function YD(e,t){e=null==e?void 0:e[t];return function e(t){return oT(t)&&!(lD&&lD in t)&&(rT(t)?pD:rD).test(function(e){if(null!=e){try{return uD.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(t))}(e)?e:void 0}function JD(e,t){var r=typeof e;return(t=null==t?q9:t)&&("number"==r||"symbol"!=r&&nD.test(e))&&-1<e&&e%1==0&&e<t}function XD(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||sD)}function QD(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function eT(e,t){return e===t||e!=e&&t!=t}function tT(e){return null!=e&&nT(e.length)&&!rT(e)}function rT(e){if(oT(e))return(e=KD(e))==Y9||e==J9||e==W9||e==eD}function nT(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=q9}function oT(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function iT(e){return null!=e&&"object"==typeof e}function aT(e){return tT(e)?function e(t,r){var n,o=CD(t),i=!o&&ID(t),a=!o&&!i&&MD(t),s=!o&&!i&&!a&&PD(t),u=o||i||a||s,c=u?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(t.length,String):[],l=c.length;for(n in t)!r&&!cD.call(t,n)||u&&("length"==n||a&&("offset"==n||"parent"==n)||s&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||JD(n,l))||c.push(n);return c}(e,!0):function e(t){if(oT(t)){var r,n=XD(t),o=[];for(r in t)("constructor"!=r||!n&&cD.call(t,r))&&o.push(r);return o}var i=[];if(null!=t)for(var a in Object(t))i.push(a);return i}(e)}function sT(e){return e}Gw=(v=Bw).exports,K9="__lodash_hash_undefined__",q9=9007199254740991,V9="[object Arguments]",W9="[object AsyncFunction]",Y9="[object Function]",J9="[object GeneratorFunction]",X9="[object Null]",Q9="[object Object]",eD="[object Proxy]",tD="[object Undefined]",rD=/^\[object .+?Constructor\]$/,nD=/^(?:0|[1-9]\d*)$/,(oD={})["[object Float32Array]"]=oD["[object Float64Array]"]=oD["[object Int8Array]"]=oD["[object Int16Array]"]=oD["[object Int32Array]"]=oD["[object Uint8Array]"]=oD["[object Uint8ClampedArray]"]=oD["[object Uint16Array]"]=oD["[object Uint32Array]"]=!0,oD[V9]=oD["[object Array]"]=oD["[object ArrayBuffer]"]=oD["[object Boolean]"]=oD["[object DataView]"]=oD["[object Date]"]=oD["[object Error]"]=oD[Y9]=oD["[object Map]"]=oD["[object Number]"]=oD[Q9]=oD["[object RegExp]"]=oD["[object Set]"]=oD["[object String]"]=oD["[object WeakMap]"]=!1,aa="object"==typeof $&&$&&$.Object===Object&&$,Vw="object"==typeof self&&self&&self.Object===Object&&self,Vw=aa||Vw||Function("return this")(),Gw=Gw&&!Gw.nodeType&&Gw,iD=Gw&&v&&!v.nodeType&&v,Gw=iD&&iD.exports===Gw,aD=Gw&&aa.process,aa=(aa=function(){try{return iD&&iD.require&&iD.require("util").types||aD&&aD.binding&&aD.binding("util")}catch(e){}}())&&aa.isTypedArray,Ww=Array.prototype,eA=Function.prototype,sD=Object.prototype,tA=Vw["__core-js_shared__"],uD=eA.toString,cD=sD.hasOwnProperty,lD=(eA=/[^.]+$/.exec(tA&&tA.keys&&tA.keys.IE_PROTO||""))?"Symbol(src)_1."+eA:"",dD=sD.toString,fD=uD.call(Object),pD=RegExp("^"+uD.call(cD).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tA=Gw?Vw.Buffer:void 0,eA=Vw.Symbol,hD=Vw.Uint8Array,tA&&tA.allocUnsafe,Z9=Object.getPrototypeOf,H9=Object,mD=function(e){return Z9(H9(e))},gD=Object.create,vD=sD.propertyIsEnumerable,bD=Ww.splice,yD=eA?eA.toStringTag:void 0,_D=function(){try{var e=YD(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Gw=tA?tA.isBuffer:void 0,wD=Math.max,AD=Date.now,xD=YD(Vw,"Map"),kD=YD(Object,"create"),ED=function(e){if(!oT(e))return{};if(gD)return gD(e);$D.prototype=e;e=new $D;return $D.prototype=void 0,e},BD.prototype.clear=function(){this.__data__=kD?kD(null):{},this.size=0},BD.prototype.delete=function(e){e=this.has(e)&&delete this.__data__[e];return this.size-=e?1:0,e},BD.prototype.get=function(e){var t,r=this.__data__;return kD?(t=r[e])===K9?void 0:t:cD.call(r,e)?r[e]:void 0},BD.prototype.has=function(e){var t=this.__data__;return kD?void 0!==t[e]:cD.call(t,e)},BD.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=kD&&void 0===t?K9:t,this},ND.prototype.clear=function(){this.__data__=[],this.size=0},ND.prototype.delete=function(e){var t=this.__data__,e=ZD(t,e);return!(e<0||(e==t.length-1?t.pop():bD.call(t,e,1),--this.size,0))},ND.prototype.get=function(e){var t=this.__data__,e=ZD(t,e);return e<0?void 0:t[e][1]},ND.prototype.has=function(e){return-1<ZD(this.__data__,e)},ND.prototype.set=function(e,t){var r=this.__data__,n=ZD(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},FD.prototype.clear=function(){this.size=0,this.__data__={hash:new BD,map:new(xD||ND),string:new BD}},FD.prototype.delete=function(e){e=WD(this,e).delete(e);return this.size-=e?1:0,e},FD.prototype.get=function(e){return WD(this,e).get(e)},FD.prototype.has=function(e){return WD(this,e).has(e)},FD.prototype.set=function(e,t){var r=WD(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},GD.prototype.clear=function(){this.__data__=new ND,this.size=0},GD.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},GD.prototype.get=function(e){return this.__data__.get(e)},GD.prototype.has=function(e){return this.__data__.has(e)},GD.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ND){var n=r.__data__;if(!xD||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new FD(n)}return r.set(e,t),this.size=r.size,this},SD=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[++n];if(!1===t(o[s],s,o))break}return e},RD=_D?function(e,t){return _D(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:sT,TD=DD=0,OD=function(){var e=AD(),t=16-(e-TD);if(TD=e,0<t){if(800<=++DD)return arguments[0]}else DD=0;return RD.apply(void 0,arguments)},ID=qD(function(){return arguments}())?qD:function(e){return iT(e)&&cD.call(e,"callee")&&!vD.call(e,"callee")},CD=Array.isArray,MD=Gw||function(){return!1},PD=aa?(LD=aa,function(e){return LD(e)}):function(e){return iT(e)&&nT(e.length)&&!!oD[KD(e)]},jD=function(e,t,r){VD(e,t,r)},Ww=function e(t,r){return OD((u=t,l=sT,c=wD(void 0===r?u.length-1:r,0),function(){for(var e=arguments,t=-1,r=wD(e.length-c,0),n=Array(r);++t<r;)n[t]=e[c+t];for(var t=-1,o=Array(c+1);++t<c;)o[t]=e[t];o[c]=l(n);var i=u,a=this,s=o;switch(s.length){case 0:return i.call(a);case 1:return i.call(a,s[0]);case 2:return i.call(a,s[0],s[1]);case 3:return i.call(a,s[0],s[1],s[2])}return i.apply(a,s)}),t+"");var u,c,l}(function(e,t){var r=-1,n=t.length,o=1<n?t[n-1]:void 0,i=2<n?t[2]:void 0,o=3<jD.length&&"function"==typeof o?(n--,o):void 0;for(i&&function(e,t,r){var n;if(oT(r))return("number"==(n=typeof t)?tT(r)&&JD(t,r.length):"string"==n&&t in r)&&eT(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&jD(e,a,r)}return e}),v.exports=Ww;var uT=Bw.exports;function cT(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 lT(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cT(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function dT(){var e,t=(new qk).get("partner.url.value"),t=new ce(t,!0),r={isRevisionTest:!1,useTestAds:!1,disableMidrolltimer:!1};return r="revision.gamedistribution.com"===t.host?{useTestAds:e="1"===(t=t.query.test)||"2"===t,disableMidrolltimer:t="1"===t,isRevisionTest:t||e}:r}var fT,pT="13998",hT="_cc".concat(pT),mT=["https://tags.crwdcntrl.net/c/".concat(pT,"/cc.js?ns=").concat(hT)],gT=function(){return!!fT&&"function"==typeof fT.bcpf&&"function"==typeof fT.add},vT=function(e,t){try{gT()&&(fT.add(e,t),"lotame add success ".concat(e," ").concat(t))}catch(e){err}},bT=function(e,t){try{gT()&&(fT.bcpw(e,t),"lotame send success ".concat(e," ").concat(t))}catch(e){}},yT=new qk,_T={preroll:"game-start-video",midroll:"mid-level-video",rewarded:"rewarded-video"},wT=(new qk).get("partner.domain.value"),AT=["latimes.com"],xT={exist:function(e){var t=this;return"Softgames-Azerion"===e.dname&&AT.some(function(e){return O(this,t),e===wT}.bind(this))},get:function(e,t){return n=t,{"latimes.com":function(){return function(e,t){var r,n=this,o=(e=e,t=t,r=yT.get("partner.url.value"),t=_T[t],e="".concat("web.latimes/games-puzzles-crossword","/").concat(e,"/").concat(t),{env:"vp",iu:"/".concat("21787098806","/").concat(e),description_url:r,tfcd:0,npa:0,sz:"400x300|480x360|480x361|640x360|640x480",gdfp_req:1,output:"vast",unviewed_position_start:1,impl:"s",correlator:"".concat(Date.now())}),t=Object.keys(o).map(function(e){return O(this,n),"".concat(e,"=").concat(o[e])}.bind(this)).join("&");return"".concat("https://pubads.g.doubleclick.net/gampad/ads","?").concat(t)}(n.slug,r)}}[wT](r=e);var r,n}};function kT(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 ET(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kT(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ST(e,t){console.log(e,t)}var RT,DT,TT,OT,IT,CT,MT,LT,PT,jT,UT,$T,BT,NT,FT,GT,zT,ZT,HT,KT,qT,VT,WT,YT=new w.exports.EventEmitter,JT=null,XT=(pe(oO,[{key:"start",value:(WT=d(I.mark(function e(){var t,r,n,o=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.adSystemInitialize(d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o._init_afg_script({adsense_channel:"4089988593"});case 2:case"end":return e.stop()}},e)})));case 3:return t=e.sent,this.afgInitSuccess=t.success,e.next=7,this.adSystemInitialize(d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o._init_hl_script();case 2:return e.next=4,o._init_ima_script();case 4:o._createPlayer(),o._setUpIMA();case 6:case"end":return e.stop()}},e)})));case 7:if(r=e.sent,this.imaInitSuccess=r.success,n=[],this.afgInitSuccess||n.push(t.error),this.imaInitSuccess||n.push(r.error),0<n.length)throw n[0];e.next=14;break;case 14:window.eventTest=function(e){O(this,o),this._broadcast(e,{message:"",status:"success"})}.bind(this),e.next=21;break;case 17:throw e.prev=17,e.t0=e.catch(0),Ls("gd-adflow error on ads.start",e.t0),new Error(e.t0);case 21:case"end":return e.stop()}},e,this,[[0,17]])})),function(){return WT.apply(this,arguments)})},{key:"adSystemInitialize",value:(VT=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={success:!1},e.prev=1,e.next=4,t();case 4:r.success=!0,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),r.error=e.t0;case 10:return e.abrupt("return",r);case 12:case"end":return e.stop()}},e,null,[[1,7]])})),function(e){return VT.apply(this,arguments)})},{key:"_getDefaultSpilAdapterConfig",value:function(){return{vast:null,url:"https://pubads.g.doubleclick.net/gampad/ads",query:{correlator:"{{CACHEBUSTER}}",description_url:"{{PAGE_URL}}",env:"vp",gdfp_req:1,impl:"s",iu:"/59392726/gd_instream",npa:0,output:"vast",sz:"640x480|400x300",tfcd:0,unviewed_position_start:1}}}},{key:"_getSpilUrl",value:(qT=d(I.mark(function e(t){var r,n,o,i,a;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.adType,o=t.options,e.prev=1,r=null==(r=this.gameData.adflw)||null==(r=r.adapterConfig)?void 0:r.spil,n=this.nextAdPosition(n),e.next=6,this._create_dp_context(n,o);case 6:return o=e.sent,a=r&&(this.gameData,r[n]||r.default)||this._getDefaultSpilAdapterConfig(),i=100*o.floor_price,o.floor_price,a=this._createCustomAdVastUrl(a,{tnl_keys:{floor_price:i}}),i=a.url,a={url:i,dp:o,hl:{bidFloorApplied:!0}},e.abrupt("return",a);case 17:e.prev=17,e.t0=e.catch(1),console.log("spil-adaptor: Error on getting spil",e.t0);case 20:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return qT.apply(this,arguments)})},{key:"_getAdVast",value:function(u,c){var t,l=this;return new Promise((t=d(I.mark(function e(n){var o,t,i,a,r,s=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(kn&&xn("gd_debug_ex")&&xn("gd_tag")||dT().useTestAds)return r=l.IMASampleTags[u],t=Math.floor(Math.random()*r.length),r=r[t],n({url:r}),e.abrupt("return");e.next=6;break;case 6:if("spil"===c.adapter)return e.abrupt("return",n(l._getSpilUrl({adType:u,options:c})));e.next=8;break;case 8:if(void 0===window.idhb.requestAds)throw new Error("Prebid.js wrapper script hit an error or didn't exist!");e.next=10;break;case 10:return e.prev=10,o=l.nextAdPosition(u),l._broadcast("AD_REQUEST",{message:o}),t=l.options,"preroll"===o&&zt(t.preroll)?t=t.preroll:"midroll"===o&&zt(t.midroll)?t=t.midroll:"rewarded"===o&&zt(t.rewarded)&&(t=t.rewarded),i="",i="audio"===c.adapter||"audio"===c.giftType?(l.isAudioAd=!0,"midrollaudio"):(l.isAudioAd=!1,"rewarded"===o?"rewardedVideo":"gdbanner"===o?"gd__banner":"midroll"===o?"midroll":"video1"),e.next=19,window.idhb.isLoaded();case 19:return e.next=21,l._create_dp_context(o,c);case 21:a=e.sent,Ms("gd-adflow, before idhb",o,i),r=window.idhb.getAdserverTargetingForAdSlot(i),window.idhb.setAdserverTargeting(ET(ET({},r),{},{adaptor_order:c.adapterIndex})),window.idhb.getAdserverTargetingForAdSlot(i),window.idhb.requestAds({slots:Fu({},i,{bidFloor:(null==a?void 0:a.floor_price)||void 0}),callback:function(e,t){var r=this,e=(O(this,s),!a||null!=t&&t.bidFloorApplied||fetch(a.skip_url).catch(function(e){O(this,r)}.bind(this)),{src:"hl",tnl_keys:ET(ET({},window.idhb.getAdserverTargetingForAdSlot(i)),{},{tnl_ad_pos:o,tnl_asset_id:l.gameData.gameId}),url:e,dp:a,hl:t});l._extend_hl_url(e),n(e)}.bind(this)}),e.next=33;break;case 30:throw e.prev=30,e.t0=e.catch(10),new Error(e.t0);case 33:case"end":return e.stop()}},e,this,[[10,30]])})),function(e){return t.apply(this,arguments)}))}},{key:"nextAdPosition",value:function(e){return e===g.Rewarded?(this.adRewardedCount++,"rewarded"):e!==g.Interstitial||((e=!1===this.gameData.preroll||1===this.adPrerollCount)?this.adMidrollCount++:this.adPrerollCount++,e)||0<this.adMidrollCount?"midroll":"preroll"}},{key:"getAdPosition",value:function(e){return e===g.Rewarded?"rewarded":e!==g.Interstitial||!1===this.gameData.preroll||1===this.adPrerollCount||0<this.adMidrollCount?"midroll":"preroll"}},{key:"getCurrentAdPosition",value:function(e){return e===g.Interstitial?1===this.adPrerollCount&&0===this.adMidrollCount?"preroll":"midroll":e===g.Rewarded?"rewarded":void 0}},{key:"_requestPromo",value:function(e,t){var r=new google.ima.AdsRequest;return r.adsResponse='<VAST version="3.0"> \n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA['.concat((e=e).promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(e.promo_url,"]]></VASTAdTagURI> \n </Wrapper>\n </Ad>\n </VAST>").trim(),r.linearAdSlotWidth=this.options.width,r.linearAdSlotHeight=this.options.height,r.nonLinearAdSlotWidth=this.options.width,r.nonLinearAdSlotHeight=this.options.height,r.forceNonLinearFullSlot=!0,this.options.vast_load_timeout&&(r.vastLoadTimeout=this.options.vast_load_timeout),r.setAdWillAutoPlay(t.autoplayAllowed),r.setAdWillPlayMuted(t.autoplayRequiresMute),this.adsLoader.requestAds(r),r}},{key:"_requestAd",value:function(v,b){var y=this;return b=b||{},new Promise(function(e){var t,r,n=this;if(O(this,y),"undefined"==typeof google)throw new Error("Unable to load ad, google IMA SDK not defined.");try{var o,i,a,s,u,c=null==v||null==(o=v.tnl_keys)?void 0:o.tnl_ad_pos,l=(this.adSuccess=!1,this.contentPaused=!1,new google.ima.AdsRequest),d=this._transformVast(v,b),f=ET(ET({},b),{},{adTag:d,tnl_ad_pos:c}),p=(this.adCounter[c]=this.adCounter[c]||0,this.adCounter[c]++,v.dp),h=v.hl,m=((this.current_dp=p)&&!d.bidder&&(p.adtag_url=d.url,this._extend_dp_with_adsense(p,h,null==v?void 0:v.tnl_keys)),this._isVMAP(c)),g=(!function(){O(this,n),b.shouldFail&&(p?(p.adtag_url="dp_original_broken",p.fallback_url="dp_fallback_broken"):d.url="original_broken",null!=p&&p.adtag_url,null!=p&&p.fallback_url,d.url)}.bind(this),this._getExternalVast(null==(i=b)?void 0:i.adType));g?l.adTagUrl=g:m?(a=function(e){for(var t=[],r="",n=Date.now(),o={ppos:1,lip:!0,vad_type:"linear"},i=0;i<e.length;i++){var a=new ce(e[i].adtag.url,!0);a.query=lT(lT({},a.query),{},{ad_rule:0,vpos:e[i].positon,pod:1,correlator:0===i?n:++n,output:"xml_vast3"}),0===i&&(a.query=lT(lT({},a.query),o)),t.push(a.toString())}for(var s,u=Date.now(),c=1;c<=t.length;c++)r+='<vmap:AdBreak timeOffset="start" breakType="linear" breakId="break-'.concat(c,'">\n <vmap:AdSource id="').concat(u++,'" allowMultipleAds="false" followRedirects="true">\n ').concat(function e(t){return null!=t&&t.error_url?"<vmap:VASTAdData>".concat(((r=t).promo_url?'<VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(r.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):r.fallback_url?'<VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(r.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),"</vmap:VASTAdData>"):'<vmap:AdTagURI templateType="vast3"><![CDATA['.concat(null==t?void 0:t.adtag_url,"]]></vmap:AdTagURI>");var r}({id:u++,adtag_url:t[c-1],error_url:null==(s=e[c-1].dp)?void 0:s.error_url,impression_url:null==(s=e[c-1].dp)?void 0:s.impression_url,fallback_url:null==(s=e[c-1].dp)?void 0:s.fallback_url,fallback_imp_url:null==(s=e[c-1].dp)?void 0:s.fallback_imp_url}),"</vmap:AdSource>\n </vmap:AdBreak>");return'<?xml version="1.0" encoding="UTF-8"?>\n <vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">\n '.concat(r,"\n </vmap:VMAP>").trim()}(this._get_vmap_context({dp:p,adtag:d,position:"preroll"===f.tnl_ad_pos?"preroll":"midroll",config:this._get_vmap_config(c)})),l.adsResponse=a):p&&h.bidFloorApplied?(p.adtag_url||(p.adtag_url=d.url),s=((r=p).promo_url?r.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(r.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(r.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="2" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(r.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):r.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(r.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(r.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(r.error_url,"]]></Error>\n <Impression><![CDATA[").concat(r.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(r.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),l.adsResponse=s):p&&p.fallback_url?(u='<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat((t=p).id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Impression><![CDATA[').concat(t.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(t.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>').trim(),l.adsResponse=u):l.adTagUrl=d.url,l.linearAdSlotWidth=this.options.width,l.linearAdSlotHeight=this.options.height,l.nonLinearAdSlotWidth=this.options.width,l.nonLinearAdSlotHeight=this.options.height,l.forceNonLinearFullSlot=!0,this.options.vast_load_timeout&&(l.vastLoadTimeout=this.options.vast_load_timeout),l.setAdWillAutoPlay(b.autoplayAllowed),l.setAdWillPlayMuted(b.autoplayRequiresMute),this.adsLoader.requestAds(l,f);try{this._broadcast("AD_SDK_REQUEST",{message:f})}catch(e){}e(l)}catch(e){throw new Error(e)}}.bind(this))}},{key:"_getExternalVast",value:function(e){try{var t=this.getCurrentAdPosition(e),r=xT.exist(this.gameData)&&xT.get(t,this.gameData)}catch(e){console.log("external-vast err",e)}return r}},{key:"cancel",value:function(e){var t;!1!==this.requestRunning&&(this.requestRunning=!1,this._resetAdsLoader(),this._hide("cancel"),e=0<=(null==e||null==(e=e.message)?void 0:e.indexOf("NO_VAST_URL")),this._broadcast(t="AD_SDK_CANCELED",{name:t,message:"Advertisement has been canceled.",status:"warning",noVast:e,analytics:{category:this.eventCategory,action:t,label:this.gameData.gameId}}))}},{key:"_checkAutoPlay",value:(KT=d(I.mark(function e(){var o=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(r,e){var n=this,t=(O(this,o),navigator.userAgent.toLowerCase());-1<t.indexOf("safari")&&t.indexOf("chrome")<0?r({autoplayAllowed:!0,autoplayRequiresMute:!0}):UD({inline:!0,muted:!1}).then(function(e){O(this,n);var t=e.result;e.error,r(!0===t?{autoplayAllowed:!0,autoplayRequiresMute:!1}:{autoplayAllowed:!0,autoplayRequiresMute:!0})}.bind(this))}.bind(this)));case 1:case"end":return e.stop()}},e,this)})),function(){return KT.apply(this,arguments)})},{key:"_initDisplayContainerWithAutoPlay",value:(HT=d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._checkAutoPlay(!1);case 2:return t=e.sent,this._autoplay=t,this.video_ad_player.autoplay=t.autoplayAllowed,this.video_ad_player.volume=t.autoplayRequiresMute?0:1,this.video_ad_player.muted=!!t.autoplayRequiresMute,t.adDisplayContainerInitialized||(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0),e.abrupt("return",t);case 9:case"end":return e.stop()}},e,this)})),function(){return HT.apply(this,arguments)})},{key:"startAd",value:(ZT=d(I.mark(function e(t){var r,n,o=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.adType,n=t.params,this.adType_=r,this.isAudioAd=!1,this.adContext=ET(ET({},n),{},{adType:r}),"promo"===(null==n?void 0:n.adapter))return e.abrupt("return",this._startPromo(n,r));e.next=6;break;case 6:if("adsense"!==(null==n?void 0:n.adapter))e.next=30;else if(r!==g.Interstitial)e.next=23;else{if("preroll"===(null==n?void 0:n.position))return e.abrupt("return",this._startAdsensePlacementPreroll(t));e.next=12}break;case 12:if("start"===(null==n?void 0:n.position))return e.abrupt("return",this._startAdsensePlacementStart(t));e.next=16;break;case 16:if("next"===(null==n?void 0:n.position))return e.abrupt("return",this._startAdsensePlacementNext(t));e.next=20;break;case 20:return e.abrupt("return",this._startAdsensePlacementPreroll(t));case 21:e.next=28;break;case 23:if(r===g.Rewarded)return e.abrupt("return",this._startAdsensePlacementRewardedAd(t));e.next=27;break;case 27:case 40:throw new Error("Unsupported ad type");case 28:e.next=41;break;case 30:if(["ima","spil","audio"].some(function(e){return O(this,o),e===(null==n?void 0:n.adapter)}.bind(this))){if(r===g.Interstitial)return e.abrupt("return",this._startInterstitialAd(n));e.next=36}else e.next=41;break;case 36:if(r===g.Rewarded)return e.abrupt("return",this._startRewardedAd(n));e.next=40;break;case 41:case"end":return e.stop()}},e,this)})),function(e){return ZT.apply(this,arguments)})},{key:"preloadAd",value:(zT=d(I.mark(function e(t){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t===g.Interstitial)return e.abrupt("return","gdsdk://preloaded");e.next=4;break;case 4:if(t===g.Rewarded)return e.abrupt("return","gdsdk://preloaded");e.next=8;break;case 8:throw new Error("Unsupported ad type");case 9:case"end":return e.stop()}},e)})),function(e){return zT.apply(this,arguments)})},{key:"addAdComponents",value:function(){var e=this,t=function(){O(this,e),this.adsManager.resume()}.bind(this);try{this.adResume=new C9(this.adContainer,t),this.adResume.add(),this.rewardedLabel=new M9(this.adContainer,t),this.rewardedLabel.add(),this.audioAdLabel=new L9(window.document.body),this.audioAdLabel.add(),this.audioAdLabel.hide()}catch(e){console.log("error on adding adResume",e)}}},{key:"loadDisplayAd",value:(GT=d(I.mark(function e(c){var l=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=d(I.mark(function e(t,r){var n,o,i,a,s,u=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,(o=c?c.containerId:null)||r("Container id is not specified"),n=document.getElementById(o),document.getElementById(o)||r("No container is found with this id - ".concat(o)),void 0===window.idhb.requestAds&&r("Prebid.js wrapper script hit an error or didn't exist!"),o=c.slotId||"gd__banner@".concat(o),document.getElementById(o)||(a="\n .gd__banner{\n z-index: ".concat(Pn,";\n height: 100%;\n display: flex !important;\n align-items: center;\n justify-content: center;\n }"),document.getElementById("gd__banner__style")||((i=document.createElement("style")).type="text/css",i.id="gd__banner__style",i.styleSheet?i.styleSheet.cssText=a:i.appendChild(document.createTextNode(a)),n.appendChild(i)),(a=document.createElement("div")).id=o,a.classList.add("gd__banner"),n.appendChild(a)),e.next=11,l._create_dp_display_context();case 11:l.atom_display=e.sent,l.atom_display,null!=(i=l.atom_display)&&i.params&&window.idhb.setAdserverTargeting(null==(a=l.atom_display)?void 0:a.params),(s={})[o]={maxSize:[n.offsetWidth,n.offsetHeight]},window.idhb.requestAds({slots:s,callback:function(e){O(this,u),JSON.stringify(e,null,2)}.bind(this)}),t(),e.next=24;break;case 20:e.prev=20,e.t0=e.catch(0),console.log("display_test error",e.t0),r(e.t0.message||e.t0);case 24:case"end":return e.stop()}},e,this,[[0,20]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return GT.apply(this,arguments)})},{key:"_startInterstitialAd",value:(FT=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:!function(){if(O(this,i),Nu.fictionalIMAError)return this._broadcast("AD_ERROR",{message:"fictional IMA error",status:"error",skipForward:!0}),!0}.bind(this),e.next=7;break;case 7:return this.requestRunning=!0,e.next=10,this._initDisplayContainerWithAutoPlay();case 10:return r=e.sent,e.next=13,this._loadInterstitialAd(ET(ET({},r),t));case 13:if(n=e.sent,o=n.success,n.args,o){e.next=18;break}return e.abrupt("return");case 18:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=28;break;case 23:throw e.prev=23,e.t0=e.catch(0),e.t0,this._onError(e.t0),e.t0;case 28:case"end":return e.stop()}},e,this,[[0,23]])})),function(e){return FT.apply(this,arguments)})},{key:"_startPromo",value:(NT=d(I.mark(function e(t,r){var n,o,i;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:return this.requestRunning=!0,this.adSuccess=!1,e.next=8,this._initDisplayContainerWithAutoPlay();case 8:return n=e.sent,e.next=11,this._loadPromo(ET(ET({},n),t),r);case 11:if(o=e.sent,i=o.success,o.args,i){e.next=16;break}return e.abrupt("return");case 16:n.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),this.msgrt.send("promo.adsense",{message:"".concat(t.position," success")}),e.next=27;break;case 22:throw e.prev=22,e.t0=e.catch(0),this.msgrt.send("promo.adsense.err",{message:"".concat(t.position," failure,").concat(e.t0.message||e.t0,", [").concat(this.parentURL,"]")}),this._onError(e.t0),e.t0;case 27:case"end":return e.stop()}},e,this,[[0,22]])})),function(e,t){return NT.apply(this,arguments)})},{key:"_loadPromo",value:(BT=d(I.mark(function e(t,r){var n;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._resetAdsLoader(),e.prev=1,n=this.nextAdPosition(r),n=this._create_promo_context(n),this._requestPromo(n,ET({adType:g.Interstitial},t)),e.next=7,this._waitOnAdLoad();case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(1),new Error(e.t0);case 13:case"end":return e.stop()}},e,this,[[1,10]])})),function(e,t){return BT.apply(this,arguments)})},{key:"_loadInterstitialAd",value:($T=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._resetAdsLoader(),e.prev=1,e.t0=this.preloadedInterstitialAdVast,e.t0){e.next=7;break}return e.next=6,this._getAdVast(g.Interstitial,t);case 6:e.t0=e.sent;case 7:if(r=e.t0,delete this.preloadedInterstitialAdVast,r.url){e.next=12;break}throw new Error("NO_VAST_URL");case 12:return e.next=14,this._requestAd(r,ET({adType:g.Interstitial},t));case 14:return e.sent,e.next=17,this._waitOnAdLoad();case 17:return e.abrupt("return",e.sent);case 20:throw e.prev=20,e.t1=e.catch(1),console.log("VAST_URL error",e.t1),new Error(e.t1);case 24:case"end":return e.stop()}},e,this,[[1,20]])})),function(e){return $T.apply(this,arguments)})},{key:"_waitOnAdLoad",value:function(){var a=this;return new Promise(function(r,e){var n=this,o=(O(this,a),"videoad.preloadad"),t=(this.eventBus.unsubscribeScope(o),function(e){var t=this;O(this,n),setTimeout(function(){O(this,t),this.eventBus.unsubscribeScope(o),r({success:!0,args:e})}.bind(this),1)}.bind(this)),i=function(e){var t=this;O(this,n),setTimeout(function(){O(this,t),this.eventBus.unsubscribeScope(o),r({success:!1,args:e})}.bind(this),1)}.bind(this);this.eventBus.subscribe("AD_SDK_MANAGER_READY",t,o),this.eventBus.subscribe("AD_SDK_CANCELED",i,o),this.eventBus.subscribe("AD_ERROR",i,o)}.bind(this))}},{key:"_startRewardedAd",value:(UT=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:!function(){if(O(this,i),Nu.fictionalIMAError)return this._broadcast("AD_ERROR",{message:"fictional IMA error",status:"error",skipForward:!0}),!0}.bind(this),e.next=7;break;case 7:return this.requestRunning=!0,e.next=10,this._initDisplayContainerWithAutoPlay();case 10:return r=e.sent,e.next=13,this._loadRewardedAd(ET(ET({},r),t));case 13:if(n=e.sent,o=n.success,n.args,o){e.next=18;break}return e.abrupt("return");case 18:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=27;break;case 23:throw e.prev=23,e.t0=e.catch(0),this._onError(e.t0),e.t0;case 27:case"end":return e.stop()}},e,this,[[0,23]])})),function(e){return UT.apply(this,arguments)})},{key:"_loadRewardedAd",value:(jT=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._resetAdsLoader(),e.prev=1,e.t0=this.preloadedRewardedAdVast,e.t0){e.next=7;break}return e.next=6,this._getAdVast(g.Rewarded,t);case 6:e.t0=e.sent;case 7:return r=e.t0,delete this.preloadedRewardedAdVast,e.next=11,this._requestAd(r,ET({adType:g.Rewarded},t));case 11:return e.sent,e.next=14,this._waitOnAdLoad();case 14:return e.abrupt("return",e.sent);case 17:throw e.prev=17,e.t1=e.catch(1),new Error(e.t1);case 20:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return jT.apply(this,arguments)})},{key:"_preloadInterstitialAd",value:(PT=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=this.preloadedInterstitialAdVast,e.t0){e.next=6;break}return e.next=5,this._getAdVast(g.Interstitial);case 5:e.t0=e.sent;case 6:return this.preloadedInterstitialAdVast=e.t0,e.abrupt("return",this.preloadedInterstitialAdVast.url);case 10:throw e.prev=10,e.t1=e.catch(0),new Error(e.t1);case 13:case"end":return e.stop()}},e,this,[[0,10]])})),function(){return PT.apply(this,arguments)})},{key:"_preloadRewardedAd",value:(LT=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=this.preloadedRewardedAdVast,e.t0){e.next=6;break}return e.next=5,this._getAdVast(g.Rewarded);case 5:e.t0=e.sent;case 6:return this.preloadedRewardedAdVast=e.t0,e.abrupt("return",this.preloadedRewardedAdVast.url);case 10:throw e.prev=10,e.t1=e.catch(0),new Error(e.t1);case 13:case"end":return e.stop()}},e,this,[[0,10]])})),function(){return LT.apply(this,arguments)})},{key:"_onError",value:function(e){this.cancel(e),this._clearSafetyTimer("ERROR")}},{key:"_hide",value:function(e){this.video_ad_player&&(this.video_ad_player.src=""),this.activeAdContainer&&(this.activeAdContainer.style.visibility="hidden")}},{key:"_show",value:function(e){var t,r,n,o=this;this.activeAdContainer&&(this.isAudioAd||(this.activeAdContainer.style.visibility="visible"),t=null==e?void 0:e.mode,e.t4r=this.gameData.__t4r,r=this._isT4R(e),n=this._getT4ROptions(e),"loaded"===t?(this.activeAdContainer.style.opacity=r?.001:1,r&&null!=e&&e.contentType.startsWith("video/")&&(this.t4rButton=new P9(this.adContainer),this.t4rButton.add()),r&&this.adsManager.setVolume(0),r&&this._broadcast("AD_T4R"),r&&setTimeout(function(){O(this,o),this.activeAdContainer.style.opacity=1,this.adsManager.setVolume(1),this.t4rButton&&this.t4rButton.hide()}.bind(this),((null==n?void 0:n.min)||1234)+Math.random()*((null==n?void 0:n.max)||3210))):"click"!==t&&"first_quartile"!==t||(r&&"click"===t&&(n=null==(e=this._adrequest_user_context)?void 0:e.tnl_ad_pos,this.clickCount[n]++),this.t4rButton&&this.t4rButton.hide(),this.activeAdContainer.style.opacity=1,this.adsManager.setVolume(1)))}},{key:"_createPlayer",value:function(){var r=this,e=document.body||document.getElementsByTagName("body")[0],n=(this.adContainer=document.createElement("div"),this.adContainer.id="".concat(this.prefix,"advertisement"),this.adContainer.style.position=this.thirdPartyContainer?"absolute":"fixed",this.adContainer.style.zIndex=Ln,this.adContainer.style.top="0",this.adContainer.style.left="0",this.adContainer.style.width="100%",this.adContainer.style.height="100%",this.thirdPartyContainer&&(this.thirdPartyContainer.style.transform=null),document.createElement("video")),o=(n.setAttribute("playsinline",!0),n.setAttribute("webkit-playsinline",!0),n.id="".concat(this.prefix,"advertisement_video"),n.style.position="absolute",n.style.backgroundColor="#000000",n.style.top="0",n.style.left="0",n.style.width=this.options.width+"px",n.style.height=this.options.height+"px",this.video_ad_player=n,this.adContainer.appendChild(n),document.createElement("div")),e=(o.id="".concat(this.prefix,"advertisement_slot"),o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.width=this.options.width+"px",o.style.height=this.options.height+"px",this.adContainerInner=o,this.activeAdContainer=this.adContainer,window.activeAdContainer=this.activeAdContainer,this.thirdPartyContainer?(this.adContainer.appendChild(o),this.thirdPartyContainer.appendChild(this.adContainer),this.activeAdContainer=this.thirdPartyContainer):(this.adContainer.appendChild(o),e.appendChild(this.adContainer)),this.addAdComponents(),this.activeAdContainer.style.visibility="hidden",function(){O(this,r);var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.options.width=this.thirdPartyContainer?this.thirdPartyContainer.offsetWidth:e,this.options.height=this.thirdPartyContainer?this.thirdPartyContainer.offsetHeight:t,o.style.width=this.options.width+"px",o.style.height=this.options.height+"px",n.style.width=this.options.width+"px",n.style.height=this.options.height+"px"}.bind(this));window.addEventListener("resize",e),window.document.addEventListener("DOMContentLoaded",e)}},{key:"_setUpIMA",value:function(){this.adDisplayContainer=new google.ima.AdDisplayContainer(this.adContainerInner,this.video_ad_player),this.adsLoader=new google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),this.adsLoader.getSettings().setLocale(this.options.locale),this.adsLoader.getSettings().setVpaidMode(this._getVPAIDMode()),this.adsLoader.getSettings().setAutoPlayAdBreaks(!0);var e=this.adsLoader.getSettings().getNumRedirects();this.adsLoader.getSettings().setNumRedirects(2*e),this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this._onAdsManagerLoaded,!1,this),this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError,!1,this)}},{key:"_onAdsManagerLoaded",value:function(e){var t=this,r=new google.ima.AdsRenderingSettings,r=(r.autoAlign=!1,r.enablePreloading=!1,r.restoreCustomPlaybackStateOnAdBreakComplete=!0,r.useStyledNonLinearAds=!0,r.uiElements=[google.ima.UiElements.AD_ATTRIBUTION,google.ima.UiElements.COUNTDOWN],this.adsManager=e.getAdsManager(this.video_ad_player,r),this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError.bind(this),!1,this),this.adsManager.addEventListener(google.ima.AdEvent.Type.AD_BREAK_READY,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.AD_METADATA,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CLICK,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.DURATION_CHANGE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.FIRST_QUARTILE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.INTERACTION,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LINEAR_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOADED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOG,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.MIDPOINT,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.PAUSED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.RESUMED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.THIRD_QUARTILE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.USER_CLOSE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,this._onAdEvent.bind(this),this),window.addEventListener("resize",function(){O(this,t),this.adsManager&&this.adsManager.resize(this.options.width,this.options.height,google.ima.ViewMode.NORMAL)}.bind(this)),this.adDisplayContainerInitialized||(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0),new Date),n=r.getHours(),o=r.getDate(),i=r.getMonth(),r=r.getFullYear(),a="AD_SDK_MANAGER_READY";this._broadcast(a,{name:a,message:"AD SDK is ready",status:"success",analytics:{category:a,action:this.parentDomain,label:"h".concat(n," d").concat(o," m").concat(i," y").concat(r)}}),this._adrequest_user_context=e.getUserRequestContext()}},{key:"_onAdEvent",value:function(e){var t,r,n,o=this,i=new Date,a=i.getHours(),s=i.getDate(),u=i.getMonth(),i=i.getFullYear(),c=(t=google.ima.AdEvent.Type,r=e.type,Object.keys(t).find(function(e){return t[e]===r})),l=!1,d=(null==e||null==(d=e.getAd())?void 0:d.getContentType())||"",f=!d.startsWith("image")&&!d.startsWith("text"),p=(this._sendIMAEventsToHB(e),document.getElementById("game")),h="";switch(e.type){case google.ima.AdEvent.Type.AD_BREAK_READY:h="Fired when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks is false.";break;case google.ima.AdEvent.Type.AD_METADATA:h="Fired when an ads list is loaded.";break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.contentPaused&&(l=!0),this.isAudioAd&&(this.audioAdLabel.hide(),this.isAudioAd=!1),h="Fired when the ads manager is done playing all the ads.";break;case google.ima.AdEvent.Type.CLICK:var h="Fired when the ad is clicked.",m=e.getAd().getContentType();this._show({mode:"click",contentType:m}),bT("act","ad click");break;case google.ima.AdEvent.Type.COMPLETE:e.getAd(),l=this._is_completed(e.getAd()),h="Fired when the ad completes playing.",this.adType_===g.Rewarded&&this._broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"});break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.gameData.fllc.enabled&&(p.style.display="none"),this.contentPaused=!0,h="Fired when content should be paused. This usually happens right before an ad is about to cover the content.";break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.gameData.fllc.enabled&&(p.style.display="block"),h="Fired when content should be resumed. This usually happens when an ad finishes or collapses.",this.contentPaused?l=!0:(this.requestRunning=!1,this._broadcast("AD_ERROR",{message:"got resume without pause, possibly with VMAP",status:"error",skipForward:!0})),this._hideAddResume(),this._hideRewardedLabel(),this.t4rButton&&this.t4rButton.hide();break;case google.ima.AdEvent.Type.DURATION_CHANGE:h="Fired when the ad's duration changes.";break;case google.ima.AdEvent.Type.FIRST_QUARTILE:h="Fired when the ad playhead crosses first quartile.";m=e.getAd().getContentType();this._show({mode:"first_quartile",contentType:m});break;case google.ima.AdEvent.Type.IMPRESSION:h="Fired when the impression URL has been pinged.",e.getAd(),console.log("gdsdk: eventname IMPRESSION",this.isAudioAd),this.isAudioAd&&this.audioAdLabel.show();break;case google.ima.AdEvent.Type.INTERACTION:h="Fired when an ad triggers the interaction callback. Ad interactions contain an interaction ID string in the ad data.";break;case google.ima.AdEvent.Type.LINEAR_CHANGED:h="Fired when the displayed ad changes from linear to nonlinear, or vice versa.";break;case google.ima.AdEvent.Type.LOADED:m=e.getAd().getContentType();this._show({mode:"loaded",contentType:h=m});break;case google.ima.AdEvent.Type.LOG:e.getAdData().adError&&(h=e.getAdData());break;case google.ima.AdEvent.Type.MIDPOINT:h="Fired when the ad playhead crosses midpoint.";break;case google.ima.AdEvent.Type.PAUSED:f&&this.adResume.show(),h="Fired when the ad is paused.";break;case google.ima.AdEvent.Type.RESUMED:h="Fired when the ad is resumed.",f&&(this.adResume.hide(),this.rewardedLabel.hide());break;case google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED:h="Fired when the displayed ads skippable state is changed.";break;case google.ima.AdEvent.Type.SKIPPED:l=this._is_completed(e.getAd()),h="Fired when the ad is skipped by the user.",bT("act","ad skipped"),this.t4rButton&&this.t4rButton.hide();break;case google.ima.AdEvent.Type.STARTED:this.adType_===g.Rewarded&&this.rewardedLabel.show(),this._hideAddResume(),h="Fired when the ad starts playing.";break;case google.ima.AdEvent.Type.THIRD_QUARTILE:h="Fired when the ad playhead crosses third quartile.";break;case google.ima.AdEvent.Type.USER_CLOSE:l=this._is_completed(e.getAd()),h="Fired when the ad is closed by the user.";break;case google.ima.AdEvent.Type.VOLUME_CHANGED:h="Fired when the ad volume has changed.";break;case google.ima.AdEvent.Type.VOLUME_MUTED:h="Fired when the ad volume has been muted."}""!==c&&""!==h&&(d=!this.contentPaused&&e.type===google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,n=!this.contentPaused&&e.type===google.ima.AdEvent.Type.ALL_ADS_COMPLETED,d||n||this.isAudioAd||this._broadcast(c,{name:c,message:h,status:"success",analytics:{category:c,action:this.parentDomain,label:"h".concat(a," d").concat(s," m").concat(u," y").concat(i)}})),l&&!this.adSuccess&&(this.adSuccess=!0,n="Rainbow"===(null==(d=e.getAd())?void 0:d.getAdSystem())&&(null==d?void 0:d.getWrapperAdIds().some(function(e){return O(this,o),"promo"===e}.bind(this))),null!=d&&d.getAdSystem(),null!=d&&d.getWrapperAdIds(),this._broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success",isPromoSuccess:n}),this.resetForNext(e))}},{key:"_run_atom_tag_aws_test",value:function(e){var t,r,n,o,i,a,s,u=this;try{null!=(t=this.gameData)&&null!=(r=t.aws_tst)&&r.enabled&&null!=(n=this.gameData)&&null!=(o=n.aws_tst)&&null!=(i=o.ep)&&i.atm&&(a=e.type,s=e.url,"none"!==a)&&s&&(s=s.replace("tag.atom.gamedistribution.com","atom-tag-prod-aws.gamedistribution.com"),fetch(s).then(function(){O(this,u)}.bind(this)))}catch(e){}}},{key:"_findAtomTagUrl",value:function(e,t){var r=this,n={type:"none"};try{var o=this.current_dp,i=o.id,a=o.error_url,s=o.impression_url,u=o.fallback_imp_url,c=o.promo_imp_green_url;if(!e&&!t)return{type:"imp_err",url:a};var l=e.getWrapperAdIds().some(function(e){return O(this,r),e==="".concat(i)}.bind(this)),d=e.getWrapperAdIds().some(function(e){return O(this,r),"fallback"===e}.bind(this)),f=e.getWrapperAdIds().some(function(e){return O(this,r),"promo"===e}.bind(this));l&&t?n={type:"normal_imp",url:s}:l&&!t?n={type:"normal_err",url:a}:f&&t?n={type:"promo_imp",url:c}:d&&t&&(n={type:"fallbacj_imp",url:u})}catch(e){}return n}},{key:"_onAdError",value:function(e){this.requestRunning=!1,this._resetAdsLoader(),this._clearSafetyTimer("ERROR"),this._hide("_onAdError"),this._sendIMAEventsToHB(e);try{var t=e.getError(),r=t.getErrorCode().toString()||t.getVastErrorCode().toString(),n=this._getInnerErrorCode(t);YT.emit("AD_ERROR",r),this._broadcast("AD_ERROR",{message:r,details:n,status:"warning",analytics:{category:"AD_ERROR",action:n,label:r}}),this._hideAddResume()}catch(e){}}},{key:"_hideAddResume",value:function(){try{this.adResume&&this.adResume.hide()}catch(e){console.log("Error on hide adResume",e)}}},{key:"_hideRewardedLabel",value:function(){try{this.adType_===g.Rewarded&&this.rewardedLabel&&this.rewardedLabel.hide()}catch(e){console.log("Error on hide adResume",e)}}},{key:"_sendIMAEventsToHB",value:function(e){if(window.idhb&&"function"==typeof window.idhb.onImaEvent)try{window.idhb.onImaEvent({event:e})}catch(e){}}},{key:"_resetAdsLoader",value:function(){this.adsManager&&(this.adsManager.destroy(),this.adsManager=null,this._adrequest_user_context=null),this.adsLoader&&this.adsLoader.contentComplete()}},{key:"_startSafetyTimer",value:function(e,t){var r=this;this.safetyTimer&&clearTimeout(this.safetyTimer),this.safetyTimer=window.setTimeout(function(){O(this,r),this.cancel(),this._clearSafetyTimer(t)}.bind(this),e)}},{key:"_clearSafetyTimer",value:function(e){void 0!==this.safetyTimer&&null!==this.safetyTimer&&(clearTimeout(this.safetyTimer),this.safetyTimer=void 0)}},{key:"_getVPAIDMode",value:function(){return google.ima.ImaSdkSettings.VpaidMode.ENABLED}},{key:"_getPrebidScripts",value:function(){var e=["https://hb.improvedigital.com/pbw/headerlift.min.js","http://hb.improvedigital.com/pbw/headerlift.min.js"];return this.options.hb_script?[this.options.hb_script].concat(e):e}},{key:"_getInnerErrorCode",value:function(e){if(Zt(e.getInnerError)){e=e.getInnerError();if(e)return Zt(e.getErrorCode)&&Zt(e.getVastErrorCode)?e.getErrorCode().toString()||e.getVastErrorCode().toString():e.message}}},{key:"resetForNext",value:function(){this.requestRunning=!1,this._hide("resetForNext")}},{key:"_createCustomAdVastUrl",value:function(e,t){var r=this;if(e){var n,o=this.macros.transform(e,{get:function(e){if(O(this,r),t&&t.tnl_keys)return t.tnl_keys[e.toLowerCase()]}.bind(this)});for(n in o.query||{}){var i=o.query[n];zt(i)&&(o.query[n]=Z.stringify(i))}e=new ce(o.url,!0);return uT(e.query,o.query||{}),ET({url:e.toString()},t)}}},{key:"_transformVast",value:function(e,t){var r={url:e.url};try{var n,o=new ce(e.url,!0),i=this._transformQuery(e,t,o),a=(i&&(r.url=o.toString()),i?o:new ce(e.url,!0));a.query.cust_params&&(n=Z.parse(a.query.cust_params),r.bidder=n.hb_bidder,r.cust_params=n),r.url_parsed=a}catch(e){r.hasError=!0,r.message=e.message,r.bidder="error",console.log(e.message)}return r}},{key:"_transformQuery",value:function(t,e,r){var n=this;if(t&&e&&t.tnl_keys){var o=this.options.vast_query;if(e.retry_on_success&&this.options.retry_on_success&&zt(this.options.retry_on_success.vast_query)?o=this.options.retry_on_success.vast_query:e.retry_on_failure&&this.options.retry_on_failure&&zt(this.options.retry_on_failure.vast_query)&&(o=this.options.retry_on_failure.vast_query),zt(o=Ft(o))){var i=r.query;if(o.$$remove){for(var a in i)new RegExp(o.$$remove,"i").test(a)&&delete i[a];delete o.$$remove}var s=Z.parse(i.cust_params);if(o.cust_params&&o.cust_params.$$remove){for(var u in s)new RegExp(o.cust_params.$$remove,"i").test(u)&&delete s[u];delete o.cust_params.$$remove}e=this.macros.transform(o,{get:function(e){return O(this,n),t.tnl_keys[e.toLowerCase()]}.bind(this)});return i.cust_params=s,uT(i,e),i.cust_params=Z.stringify(i.cust_params),!0}}}},{key:"_isExcludedBidderForT4R",value:function(){var t=this;try{var e,r,n,o,i=(null==(e=this._adrequest_user_context)||null==(r=e.adTag)?void 0:r.bidder)||"adx",a=(this.msgrt.send("bidder",{message:i}),this._adrequest_user_context,'bidder:"'.concat(i,'"'),(null==(n=this.gameData.t4rc)?void 0:n.bidder_exc)||[]),s=(null==(o=this.gameData.t4rc)?void 0:o.bidder_inc)||[],u=!1;return 0<s.length?u=!s.some(function(e){return O(this,t),e===i}.bind(this)):0<a.length&&(u=a.some(function(e){return O(this,t),e===i}.bind(this))),u}catch(t){console.log("ex_bidder ERR",t)}}},{key:"_isT4R",value:function(e){if(!this.gameData.publishedAt)return!1;var t=new Date(this.gameData.publishedAt);if(((new Date).getTime()-t.getTime())/864e5<=10)return!1;var t=this.gameData.meta,r=e.t4r.meta;if((null==t?void 0:t.ast.c)>=(null==r?void 0:r.ast.c)&&(null==t?void 0:t.sit.c)>=(null==r?void 0:r.sit.c))return!1;if(this._isExcludedBidderForT4R())return this.msgrt.send("bidder.ex",{message:"true"}),!1;this.msgrt.send("bidder.ex",{message:"false"});r=null==(t=this._adrequest_user_context)?void 0:t.tnl_ad_pos;return!(this.clickCount[r]>=(null==(t=e.t4r[r])?void 0:t.count))&&(null!=e&&null!=(t=e.contentType)&&t.startsWith("image/")||"text"===(null==e?void 0:e.contentType)?r&&(null==(t=e.t4r[r])?void 0:t.enabled):!(null==e||!e.contentType.startsWith("video/"))&&0<(t=(null==(t=e.t4r[r])?void 0:t.viper)||0)&&(t=Math.random()<t,r)&&t&&(null==(t=e.t4r[r])?void 0:t.enabled))}},{key:"_isVMAP",value:function(e){var t,r;return!!e&&(t="preroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.vmap)?void 0:t.enabled))||"midroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.vmap)?void 0:t.enabled))||"rewarded"===e&&(!0===(null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.rAds)||null==(t=t.vmap)?void 0:t.enabled)))&&(r=this._get_vmap_config(e),e=this.adCounter[e],void 0!==(null==r?void 0:r.start)?e>=(null==r?void 0:r.start):t)}},{key:"_getT4ROptions",value:function(e){var t,r=null==(t=this._adrequest_user_context)?void 0:t.tnl_ad_pos;switch(r){case"preroll":case"midroll":case"rewarded":return e.t4r[r]}}},{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){for(var t=e.adtag,r=e.position,n=e.config,o=e.dp,i=n.count||2,a=[],s=1;s<=i;s++){var u={};u.adtag=this._createCustomAdVastUrl(n["vast_"+s])||t,u.position=r,u.dp=n["vast_"+s]?void 0:o,a.push(u)}return a}},{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&&!0===(null==(t=this.gameData)||null==(t=t.dp)||null==(t=t[e])?void 0:t.enabled)}},{key:"_create_dp_display_context",value:function(){var i=this;return new Promise(function(t){var r=this;O(this,i);try{var e={id:this.topDomain||this.parentDomain,au:"display",ty:"display",aid:this.gameData.gameId,pgu:this.parentURL},n=new I9(this.gameData).checkCustomParams(),o=(n&&(e.cp=n),encodeURIComponent(cn(JSON.stringify(e))));fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(o)).then(function(e){return O(this,r),e.json()}.bind(this)).then(function(e){if(O(this,r),!e||!e.p)return this.msgrt.send("dp.na",{message:"atom"}),t();e=e.p/100;this.msgrt.send("dp.fp",{message:e}),t({params:{fp:e},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){O(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_promo_context",value:function(e){var t=this,r={id:this.topDomain||this.parentDomain,au:e||"unknown",ty:"video",aid:this.gameData.gameId,pgu:this.parentURL},e=Object.keys(r).map(function(e){return O(this,t),"".concat(e,"=").concat(encodeURIComponent(r[e]))}.bind(this)).join("&"),n=(encodeURIComponent(cn(JSON.stringify(r))),null==(n=this.gameData.promo)?void 0:n.rainbow),n=null==n?void 0:n.enabled,e="https://tag.atom.gamedistribution.com/v1/rainbow/?".concat(e),o=n?e:void 0;return function(){O(this,t),Nu.promoError&&(console.log("promo-test fictional promo error"),o=void 0)}.bind(this),{promo_url:o,promo_imp_blue_url:n?"https://tag.atom.gamedistribution.com/v1/rainbow/blue":void 0,promo_imp_green_url:n?"https://tag.atom.gamedistribution.com/v1/rainbow/green":void 0}}},{key:"_create_dp_context",value:function(a,s){var t,u=this;return new Promise((t=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u._isDP(a)){e.next=5;break}return u.msgrt.send("dp.na",{message:"rule"}),e.abrupt("return",t());case 5:o={id:u.topDomain||u.parentDomain,au:a||"unknown",ty:"video",aid:u.gameData.gameId,pgu:u.parentURL},(r=new I9(u.gameData).checkCustomParams())&&(o.cp=r),n=encodeURIComponent(cn(JSON.stringify(o))),null!=s&&s.adapterIndex,null!=s&&s.isLastAdapter,null!=(o=null==(r=u.gameData.promo)?void 0:r.rainbow)&&o.enabled,null!=s&&s.isLastAdapter,fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(n)).then(function(e){return O(this,i),e.json()}.bind(this)).then(function(e){if(O(this,i),!e||!e.p)return u.msgrt.send("dp.na",{message:"atom"}),t();e=e.p/100;u.msgrt.send("dp.fp",{message:e}),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:void 0,promo_imp_blue_url:void 0,promo_imp_green_url:void 0})}.bind(this)).catch(function(e){O(this,i),u.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this)),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(0),u.msgrt.send("dp.err",{message:(null===e.t0||void 0===e.t0?void 0:e.t0.message)||e.t0}),t();case 20:case"end":return e.stop()}},e,this,[[0,16]])})),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 ce(t.vastUrl,!0);null!=(r=o.query)&&r.cust_params&&(n=Z.parse(o.query.cust_params)).tnl_asset_id&&(n.adsense=1,o.query.cust_params=Z.stringify(n,!1),e.fallback_url=o.toString(),e.fallback_imp_url="https://tag.atom.gamedistribution.com/v1/rainbow/green")}catch(e){}}},{key:"_extend_hl_url",value:function(e){e.dp;var t=e.hl,r=(e.src,e.tnl_keys),n=!0!==(null==t?void 0:t.bidFloorApplied)?0:1;0===n&&null!=r&&r.hasOwnProperty("fp")?n=2:1!==n||null!=r&&r.hasOwnProperty("fp")||(n=3),r.bfa=n;try{var o,i,a=new ce(e.url,!0);null!=(o=a.query)&&o.cust_params&&((i=Z.parse(a.query.cust_params)).bfa=n,i.adsense=0,a.query.cust_params=Z.stringify(i,!1),e.url=a.toString(),t.vastUrl=e.url)}catch(e){}finally{this.msgrt.send("bfa",{message:n})}}},{key:"_init_hl_script",value:(MT=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=this._getPrebidScripts(),n=o[0],r=function(){return O(this,i),!1}.bind(this),window.idhb=window.idhb||{iabCmpExists:r},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"}),"undefined"===window.idhb.options.configUrl&&(window.idhb.options.configUrl=null),window.idhb.que=window.idhb.que||[],(r=new URL(n)).searchParams.append("referer",window.idhb.options.configUrl),n=r.href,e.next=13,bn(n,"gdsdk_prebid",{alternates:o,error_prefix:"Blocked:",exists:function(){return O(this,i),window.idhb.requestAds}.bind(this)});case 13:r=hn("ch",window.location.href),n=hn("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;O(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){O(this,t)}.bind(this)),delete this.atom_display),this._broadcast("DISPLAYAD_ERROR",{message:n,status:"warning"})):(this.atom_display.impression_url&&(fetch(this.atom_display.impression_url).catch(function(e){O(this,t)}.bind(this)),delete this.atom_display),this._broadcast("DISPLAYAD_IMPRESSION",{message:n,status:"success"}))}catch(e){}}.bind(this));case 21:case"end":return e.stop()}},e,this)})),function(e){return MT.apply(this,arguments)})},{key:"_init_ima_script",value:(CT=d(I.mark(function e(t){var r,n,o=this;return I.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,bn(n,"gdsdk_ima",{alternates:r,error_prefix:"Blocked:",exists:function(){return O(this,o),window.google&&window.google.ima}.bind(this)});case 4:case"end":return e.stop()}},e,this)})),function(e){return CT.apply(this,arguments)})},{key:"_init_afg_script",value:(IT=d(I.mark(function e(t){var r,n,o,i=this;return I.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,bn("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","afg",{error_prefix:"Blocked:",exists:function(){return O(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 IT.apply(this,arguments)})},{key:"fixOutOfBounds",value:function(){try{if(this.gameData.afgszf&&this.gameData.afgszf.enabled)for(var e=this.gameData.afgszf,t=e.height,r=e.scrolls,n=t||"120vh",o=r||!0,i=document.getElementsByClassName("adsbygoogle"),a=0;a<i.length;a++){var s,u=i[a],c=u&&(null==(s=u.children[0])?void 0:s.children[0]);c&&"IFRAME"===c.tagName&&c.style.height!==n&&(c.style.height=n,o)&&(c.parentElement.style.overflow="auto")}}catch(e){"out-of-bounds error: ".concat(e.message)}}},{key:"clearSession",value:function(){this.requestRunning=!1}},{key:"_startAdsensePlacementRewardedAd",value:(OT=d(I.mark(function e(t){var r,n,o,i,a,s,u,c,l=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.params,e.prev=1,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:!function(){if(O(this,l),Nu.fictionalAdSenseError||t.params.shouldFail)return this._broadcast("AD_ERROR",{message:"fictional adsense rewarded error",status:"error",skipForward:!0}),!0}.bind(this),e.next=8;break;case 8:this.requestRunning=!0,this._send_atom_event("sg.ad.rw.requested"),r=!1,n=function(){O(this,l),r=!0,this.fixOutOfBounds(),this._broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this._broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),o=function(){O(this,l),r=!0,this._broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),i=function(){O(this,l),r=!0,this._send_atom_event("sg.ad.rw.dismissed")}.bind(this),a=function(){O(this,l),r=!0,this._broadcast("COMPLETE",{message:"",status:"success"}),this._broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"}),this._send_atom_event("sg.ad.rw.viewed")}.bind(this),s=function(e){O(this,l),r=!0,e()}.bind(this),u=function(e){O(this,l),r=!0,this.resetForNext();var t="rewarded";this.adCounter[t]=this.adCounter[t]||0,this.adCounter[t]++,"viewed"===e.breakStatus?this._broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}):(this._broadcast("AD_ERROR",{message:e.breakStatus,status:"error",skipForward:!0}),"dismissed"!==e.breakStatus&&this._send_atom_event("sg.dbg.rw",e))}.bind(this),c=function(e){window.adsbygoogle.push(e)},setTimeout(function(){O(this,l),r||(Ms("gd-adflow adsense.reward timeout happened!"),this.requestRunning=!1,this._broadcast("AD_ERROR",{message:"timeout",status:"error",skipForward:!0}),this._send_atom_event("sg.dbg.rw",{breakStatus:"timeout"}))}.bind(this),1e3),c({type:"reward",name:"reward-in-game",beforeAd:n,afterAd:o,adDismissed:i,adViewed:a,beforeReward:s,adBreakDone:u}),e.next=26;break;case 22:throw e.prev=22,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 26:case"end":return e.stop()}},e,this,[[1,22]])})),function(e){return OT.apply(this,arguments)})},{key:"_startAdsensePlacementPreroll",value:(TT=d(I.mark(function e(t){var r,n=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.params,e.prev=1,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:!function(){if(O(this,n),Nu.fictionalAdSenseError||t.params.shouldFail)return this._broadcast("AD_ERROR",{message:"fictional adsense preroll error",status:"error"}),!0}.bind(this),e.next=8;break;case 8:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(e){O(this,n),this.resetForNext();var t="preroll";this.adCounter[t]=this.adCounter[t]||0,this.adCounter[t]++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this._broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this._broadcast("IMPRESSION",{message:"",status:"success"}),this._broadcast("COMPLETE",{message:"",status:"success"}),this._broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this._broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})):(this._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=19;break;case 15:throw e.prev=15,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 19:case"end":return e.stop()}},e,this,[[1,15]])})),function(e){return TT.apply(this,arguments)})},{key:"_startAdsensePlacementStart",value:(DT=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.params,e.prev=1,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:!function(){if(O(this,i),Nu.fictionalAdSenseError||t.params.shouldFail)return this._broadcast("AD_ERROR",{message:"fictional adsense preroll error 2",status:"error"}),!0}.bind(this),e.next=8;break;case 8:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(){O(this,i),this.fixOutOfBounds(),this._broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this._broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){O(this,i),this._broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){O(this,i),this.resetForNext();var t="preroll";this.adCounter[t]=this.adCounter[t]||0,this.adCounter[t]++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this._broadcast("COMPLETE",{message:"",status:"success"}),this._broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this._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=21;break;case 17:throw e.prev=17,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 21:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return DT.apply(this,arguments)})},{key:"_startAdsensePlacementNext",value:(RT=d(I.mark(function e(t){var r,n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.params,e.prev=1,this.requestRunning)return this._broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:!function(){if(O(this,i),Nu.fictionalAdSenseError||t.params.shouldFail)return this._broadcast("AD_ERROR",{message:"fictional adsense midroll error",status:"error"}),!0}.bind(this),e.next=8;break;case 8:this.requestRunning=!0,this._send_atom_event("sg.ad.mr.requested"),r=function(){O(this,i),this.fixOutOfBounds(),this._broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this._broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){O(this,i),this._broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){O(this,i),this.resetForNext();var t="midroll";this.adCounter[t]=this.adCounter[t]||0,this.adCounter[t]++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.mr.viewed"),this._broadcast("COMPLETE",{message:"",status:"success"}),this._broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this._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=21;break;case 17:throw e.prev=17,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 21:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return RT.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(cn(JSON.stringify(i)))))}catch(e){}}},{key:"_send_atom_event",value:function(e,t){var r={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},n=(new qk).get(),r=ET(ET({},r),n);r=t?ET(ET({},r),t):r,this._send(e,r)}},{key:"_isAfgPositionNext",value:function(e){return void 0!==e.adTimestamp}},{key:"_isAfgPositionStart",value:function(e){return void 0===e.adTimestamp&&(this.adCounter[e="preroll"]=this.adCounter[e]||0,0===this.adCounter[e])}},{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=t||"preroll"}},{key:"_broadcast",value:function(t,e){var r=this,n=!1,o=(["AD_ERROR"].some(function(e){return O(this,r),e===t}.bind(this))&&(n=!this.adContext.isLastAdapter||this.adContext.extraPromoRunOnFail),this.getCurrentAdPosition(this.adContext.adType));this.eventBus.broadcast(t,ET(ET({},e),{},{skipForward:n,adPosition:o}))}}]),oO),QT=pe(function e(t){var r=this,n=(le(this,e),Fu(this,"load",d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pg(r.moduleName);case 2:r.module=e.sent;case 3:case"end":return e.stop()}},e)}))),Fu(this,"promo",d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.module){e.next=3;break}return e.next=3,r.load();case 3:return e.abrupt("return",r.module[r.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),t.package||"gd-sdk-stone-dynamic"),o=t.package_version||"1.1.1",i=t.template||"puzzle",t=t.dependencies||[];this.moduleName="GDPromoByOrbit",this.moduleDefault=i.charAt(0).toUpperCase()+i.slice(1),this.moduleConfig={source:"https://pm.azerioncircle.com/@bygd/".concat(n,"/").concat(o,"/dist/").concat(i.toLowerCase(),"/iife/index.js"),dependencies:t},rg(this.moduleName,this.moduleConfig)}),eO=pe(function e(t){var r=this,n=(le(this,e),Fu(this,"load",d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pg(r.moduleName);case 2:r.module=e.sent;case 3:case"end":return e.stop()}},e)}))),Fu(this,"splash",d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.module){e.next=3;break}return e.next=3,r.load();case 3:return e.abrupt("return",r.module[r.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),t.package||"gd-sdk-air-dynamic"),o=t.package_version||"1.2.0",i=t.template||"pluto",t=t.dependencies||[];this.moduleName="GDSplashDynamic",this.moduleDefault=i.charAt(0).toUpperCase()+i.slice(1),this.moduleConfig={source:"https://pm.azerioncircle.com/@bygd/".concat(n,"/").concat(o,"/dist/").concat(i.toLowerCase(),"/iife/index.js"),dependencies:t},rg(this.moduleName,this.moduleConfig)}),tO={},rO={},nO=null;function oO(e,t,r){var n=this;if(le(this,oO),JT)return JT;var o={debug:!1,width:640,height:360,locale:"en"},t=((JT=this).options=t?dn(o,t):o,this.prefix="gdsdk__",this.adsLoader=null,this.adsManager=null,this.adDisplayContainer=null,this.eventBus=new $n,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.clickCount={midroll:0,preroll:0,rewarded:0},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(){O(this,n),this._clearSafetyTimer("LOADED"),this._startSafetyTimer(8e3,"LOADED")}.bind(this),"ima"),this.eventBus.subscribe("STARTED",function(){O(this,n),this._clearSafetyTimer("STARTED")}.bind(this),"ima")}function iO(){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}tO.version=n,tO.frame=e,tO.function=r}function aO(n){var t=this;return nO||(nO=new Promise(function(r){function e(e,t){if(ST("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:tO,consentData:e}),void r({result:"ok",consentData:e})):void 0;r({result:"ok",consentData:e})}else r({result:"cmpCallFailed"})}O(this,t),iO(),tO.frame?2===tO.version?(ST("TCF v2 CMP found. Fetching the consent."),tO.function?(ST("CMP API is directly accessible, calling it now..."),tO.function("addEventListener",tO.version,e)):(ST("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){O(this,a);var o=Math.random()+"",e=Fu({},"".concat(s,"Call"),{command:e,parameter:n,callId:o,version:t});rO[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!==rO[t.callId])&&rO[t.callId](t.returnValue,t.success)},!1),window[s]("addEventListener",tO.version,e)}(tO.frame,e))):r({result:"cmpVersionNotV2",cmp:tO}):r({result:"cmpNotFound"})}.bind(this)))}pe(cO,[{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:(sO=d(I.mark(function e(t,r){var n,o,i,a;return I.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)||null==(n=n.visitorData)?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.sent,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.sent,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 sO.apply(this,arguments)})}]);var sO,uO=new cO;function cO(){le(this,cO),this.productName="Game Distribution"}function lO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dO(e){var l=this,d=e.src,f=e.attributes,p=e.target,h=e.isAsync;return new Promise(function(e,t){var r=this;O(this,l);try{var n=document.createElement("script");if(n.async=null==h||h,n.type="text/javascript",n.onload=function(){O(this,r),e()}.bind(this),n.onerror=function(){O(this,r);var e="Error on script load, Error: ".concat(d);console.log(e),t(e)}.bind(this),n.src=d,f){var o,i=function e(t,r){var n,o,i,a,s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(s)return i=!(o=!0),{s:function(){s=s.call(t)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,n=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw n}}};if(Array.isArray(t)||(s=function(e){var t;if(e)return"string"==typeof e?lO(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lO(e,void 0):void 0}(t))||r&&t&&"number"==typeof t.length)return s&&(t=s),a=0,{s:r=function(){},n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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.")}(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 fO,pO,hO="140feb72-7952-4420-8ae5-e8978d87bc17",mO=(pO=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,dO({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,dO({src:"https://cookie-cdn.cookiepro.com/consent/".concat(hO,"/OtAutoBlock.js"),attributes:[{key:"id",value:"gd-cookie-pro-autoblock"}],isAsync:!1});case 5:return e.next=7,dO({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:hO}],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),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.log("GD: CMP error on load",e.t0);case 13:case"end":return e.stop()}var t,r,n,o},e,null,[[0,10]])})),function(){return pO.apply(this,arguments)}),gO=new w.exports.EventEmitter,vO={"https://games.softgames.com":{"splash-hidden":"splash-hidden"},"https://sg.gamedistribution.com":{"splash-hidden":"splash-hidden"},"https://html5.gamedistribution.com":{key:"value"}},bO=!1,yO=(window.addEventListener("message",function(r){var n=this,t=r.data,o=r.origin,e=t.type;if(Object.keys(vO).some(function(e){return O(this,n),e===o}.bind(this))&&(null==t||!t.__tcfapiCall)){var i=!t.type||!t.type.startsWith("gd-sdk")&&!("parent-data-response"===t.type)||"sg-game-event"===t.type,a=("gd-sdk-on-event"===(null==t?void 0:t.type)&&"midroll"===(null==t||null==(u=t.event)?void 0:u.adPosition)&&(u="CONTENT_RESUME_REQUESTED"===(null==(u=t.event)?void 0:u.name),"CONTENT_PAUSE_REQUESTED"===(null==(a=t.event)?void 0:a.name)&&(bO=!0),u)&&bO&&(bO=!1,window.parent.postMessage({type:"sg-game-event",eventName:"levelFinish",data:{score:100}},"*")),function(){O(this,n);try{var e,t;return null==r||null==(e=r.source)||null==(t=e.location)?void 0:t.href}catch(e){}}.bind(this));if(window.parent&&i){if("https://html5.gamedistribution.com"===o){var s=a();if(!s)return;var u=s&&["9555f04e1900482aaaef710cd2f8c440"].some(function(e){return O(this,n),0<s.indexOf(e)}.bind(this)),i=["sg-game-event"].some(function(e){return O(this,n),e===(null==t?void 0:t.type)}.bind(this));if(!u&&!i)return}var i=t.eventName,c=t.data;window.mpHelper&&(console.log("SG_EVENTS sending to minijuegos!"),"levelStart"!==i&&"levelFinish"!==i||window.mpHelper.sendStat("level",c.level),"levelFinish"===i)&&window.mpHelper.sendStat("score",c.score),window.parent.postMessage(t,"*")}e&&(i=vO[o][e])&&gO.emit(i,t)}},!1),new Uint8Array(16));for(var _O=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,wO=[],AO=0;AO<256;++AO)wO.push((AO+256).toString(16).substr(1));function xO(e,t,r){var n=(e=e||{}).random||(e.rng||function e(){if(fO=fO||"undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto))return fO(yO);throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")})();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return function e(t,r){if("string"==typeof(t=(wO[t[(r=1<arguments.length&&void 0!==r?r:0)+0]]+wO[t[r+1]]+wO[t[r+2]]+wO[t[r+3]]+"-"+wO[t[r+4]]+wO[t[r+5]]+"-"+wO[t[r+6]]+wO[t[r+7]]+"-"+wO[t[r+8]]+wO[t[r+9]]+"-"+wO[t[r+10]]+wO[t[r+11]]+wO[t[r+12]]+wO[t[r+13]]+wO[t[r+14]]+wO[t[r+15]]).toLowerCase())&&_O.test(t))return t;throw TypeError("Stringified UUID is invalid")}(n)}function kO(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 EO(e){try{var t={gameId:e.game.gameId,target:e.game.evnts.domain,event_name:e.event,timestamp:Date.now()},r=IO(window);r===window.top||null!=r&&r.postMessage(t,"https://html5.gamedistribution.com")}catch(e){}}var SO,RO,DO,TO="__msgr",OO=xO(),IO=function e(t){try{var r,n,o=null==t?void 0:t.parent;if("game"===(null==(r=o.document)||null==(n=r.activeElement)?void 0:n.id))return o;e(o)}catch(e){return t}},CO=function(e){try{window[TO]&&window[TO].postMessage(e,"*")}catch(e){console.log("GD Messager initialization, please wait....")}},MO=(pe(LO,[{key:"run",value:function(e){var r,i=e.duration,a=this;return new Promise((r=d(I.mark(function e(t,r){var n,o=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.add();case 3:n=a.show(),setTimeout(function(){O(this,o);try{a.hide(),t({success:n})}catch(e){r(e)}}.bind(this),1e3*i),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),r(e.t0);case 10:case"end":return e.stop()}},e,this,[[0,7]])})),function(e,t){return r.apply(this,arguments)}))}},{key:"show",value:function(){return this.promo_data.game?(this.adContainer.style.visibility="visible",this.promo.style.display="block",this._onPauseGame("Pause the game for the promo","success"),this._promoShowSuccess=!0):this._onAdError("Promo not found"),this._promoShowSuccess}},{key:"hide",value:function(){var e;this.promo.remove(),this.adContainer.style.visibility="hidden",this._promoShowSuccess&&"reward"===(null==(e=this._adRequest.params)?void 0:e.position)&&this._onRewardedWatchComplete(),this._onResumeGame("Advertisement(s) are done. Start / resume the game.","success")}},{key:"add",value:(DO=d(I.mark(function e(){var r,t,n=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.fetch_promo();case 3:this.promo_data=e.sent,t=document.createElement("div"),this.promo=t,r=this.promo_data,this.promo.addEventListener("click",function(){var t=d(I.mark(function e(t){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.preventDefault(),console.log(r),n.track_click(r.click_tracking),window.open(r.click_through,"_blank");case 4:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()),(t=document.createElement("iframe")).src=this.promo_data.renderer_url,t.setAttribute("frameborder",0),this.addStyles(),this.promo.classList.add("gd__promo"),t.classList.add("gd__promo__iframe"),this.promo.appendChild(t),this.adContainer.appendChild(this.promo),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),console.log(e.t0);case 21:case"end":return e.stop()}},e,this,[[0,18]])})),function(){return DO.apply(this,arguments)})},{key:"addStyles",value:function(){var e="\n .gd__promo{\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: transparent;\n z-index: 1;\n cursor: pointer;\n }\n .gd__promo__iframe{\n position: relative;\n z-index: -1;\n width:".concat(this.adContainerInner.style.width,";\n height:").concat(this.adContainerInner.style.height,";\n }\n "),t=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__promo__style",t,e)}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}},{key:"fetch_promo",value:(RO=d(I.mark(function e(){var t,r=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://tag.atom.gamedistribution.com/v1/rainbow/pick?id=".concat(this._parentDomain,"&aid=").concat(this._gameData.gameId)).then(function(e){return O(this,r),e.json()}.bind(this));case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}},e,this)})),function(){return RO.apply(this,arguments)})},{key:"track_click",value:(SO=d(I.mark(function e(t){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:case"end":return e.stop()}},e)})),function(e){return SO.apply(this,arguments)})}]),LO);function LO(e){le(this,LO),this.adContainer=document.getElementById("gdsdk__advertisement"),this.adContainerInner=document.getElementById("gdsdk__advertisement_slot"),this._adRequest=e.adRequest,this._gameData=e._gameData,this._msgrt=e._msgrt,this._adInstance=e._adInstance,this._eventBus=e._eventBus,this.blockedAdsMap=e._blockedAdsMap,this._parentURL=e._parentURL,this._parentDomain=e._parentDomain,this._onResumeGame=e._onResumeGame.bind(e),this._onPauseGame=e._onPauseGame.bind(e),this._onRewardedWatchComplete=e._onRewardedWatchComplete.bind(e),this._onAdError=e._onAdError.bind(e),this._promoShowSuccess=!1}function PO(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 jO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?PO(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function UO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $O(){var t=this,r=function(){return O(this,t),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i.test(location.href)}.bind(this),n=function(){return O(this,t),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i.test(location.href)}.bind(this),e=function(){return O(this,t),/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i.test(location.href)}.bind(this),o=function(){O(this,t);var e="html5.gamedistribution.com"!==ce(window.location.href).host;return!r()||n()||e?"game-frame":"loader-frame"}.bind(this);return{isMasterGameURL:r,isTokenGameURL:n,isExtHostedGameURL:e,whichFrame:o}}pe(WO,[{key:"runAdFlow",value:(GO=d(I.mark(function e(t){var r,n,o,i,a,s,u,c,l,d,f,p,h,m,g,v,b,y,_,w,A,x,k,E,S,R,D,T=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.adRequest=t,r=this._getAdTypeByAfgPosition(t),t.params.position,l=this._getAdFlow(r),n=this._gameData,u=n.afg_disabled,o=null==(o=t.params)?void 0:o.isGift,null!=(s=t.params)&&s.position,s=null==(s=n.promo)?void 0:s.rainbow,i=(null==s?void 0:s.enabled)&&(null==(i=s.position)?void 0:i[r]),a=null==s?void 0:s.gift,s=i&&null!=s&&s.duration?null==s?void 0:s.duration:5,u=u?l.filter(function(e){return O(this,T),"adsense"!==e}.bind(this)):l,l=this.get_ad_system_init_result(),c=l.afg,l=l.ima,this.adsBlocked=!c||!l,this.adsBlocked?(Ms("gd-adflow adsBlocked so changing the flow"),u=[]):(c||(u=u.filter(function(e){return O(this,T),"adsense"!==e}.bind(this))),l||(u=u.filter(function(e){return O(this,T),"ima"!==e}.bind(this)))),f=d=!1,h=0,m=!(p=[]),g=function e(t,r){var n,o,i,a,s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(s)return i=!(o=!0),{s:function(){s=s.call(t)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,n=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw n}}};if(Array.isArray(t)||(s=function(e){var t;if(e)return"string"==typeof e?UO(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?UO(e,void 0):void 0}(t))||r&&t&&"number"==typeof t.length)return s&&(t=s),a=0,{s:r=function(){},n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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.")}(u),e.prev=26,g.s();case 28:if((v=g.n()).done){e.next=62;break}return v=v.value,t.params.adapter=v,y=h===u.length-1,b=o&&a||!o,b=y&&i&&b,t.params=jO(jO({},t.params),{},{adapterIndex:h,isLastAdapter:y,shouldFail:!1,extraPromoRunOnFail:b}),function(){O(this,T),Nu.firstSuccessOrder&&!isNaN(Nu.firstSuccessOrder)&&(t.params.shouldFail=h<Nu.firstSuccessOrder)}.bind(this),Ms("gd-adflow, before adInvoke",h,v,t.params.shouldFail),e.next=39,this.adInvoke(t);case 39:if(y=e.sent,x=y.success,_=y.args,w=y.isSkipped,A=y.noVast,x)return Ms("gd-adflow, adapter-result-success",h,v,_),d=!0,f=!(null==_||!_.isPromoSuccess),e.abrupt("break",62);e.next=51;break;case 51:if(Ms("gd-adflow, adapter-result-failure",h,v,_.message),h++,p.push(_.message),w)return e.abrupt("break",62);e.next=56;break;case 56:if(A)return this._runAutoResume(),e.abrupt("break",62);e.next=59;break;case 59:m=b;case 60:e.next=28;break;case 62:e.next=67;break;case 64:e.prev=64,e.t0=e.catch(26),g.e(e.t0);case 67:return e.prev=67,g.f(),e.finish(67);case 70:if(m)return e.next=73,new MO(this).run({duration:s});e.next=76;break;case 73:e.sent.success&&(f=!0);case 76:return function(){var e;O(this,T),Nu.disableGift&&null!=(e=n.gft)&&e[r].enabled&&(n.gft[r].enabled=!1)}.bind(this),x=p.join(" /n"),d?(this._setAdRequestTimer(),this._onResumeGame("Advertisement(s) are done. Start / resume the game.","success")):this._onResumeGame(x,"warning"),this._giveGift(r),D="-1",k="none",d?(D="index_".concat(h),k=u[h]):f&&(k=D="promo"),E=this.get_session_id(),this.adsBlocked&&"-1"===D?(S="rewarded"===r?"rewarded":this.blockedAdsMap.preroll?"midroll":"preroll",this.blockedAdsMap[S]=this.blockedAdsMap[S]?this.blockedAdsMap[S]+1:1,JSON.stringify(this.blockedAdsMap),this._msgrt.send("adflow.blocked.pos",{message:"".concat(S)}),this.send_atom_event("gd.adflow",{adBlocker:!0,afgBlocked:!0,imaBlocked:!0,adType:S,sessionId:E,successAdapter:"none",adFlowIndex:D})):(Fu(S={},"adflow.all.index",{message:"".concat(D)}),Fu(S,"adflow.all.success_adapter",{message:"".concat(k)}),Fu(S,"adflow.".concat(r,".index"),{message:"".concat(D)}),Fu(S,"adflow.".concat(r,".success_adapter"),{message:"".concat(k)}),R=S,Object.keys(R).forEach(function(e){O(this,T),this._msgrt.send(e,R[e])}.bind(this)),this.send_atom_event("gd.adflow",{adFlowIndex:D,successAdapter:k,adBlocker:!1,afgBlocked:!c,imaBlocked:!l,adType:r,sessionId:E})),D={adType:r},this.eventBus.broadcast("AD_FLOW_COMPLETE",D),e.abrupt("return",D);case 89:case"end":return e.stop()}},e,this,[[26,64,67,70]])})),function(e){return GO.apply(this,arguments)})},{key:"adInvoke",value:(FO=d(I.mark(function e(s){var u=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=d(I.mark(function e(r,t){var n,o,i,a=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="main.showad.".concat(s.params.adapter,".").concat(s.params.adapterIndex),o=function(e){O(this,a),u._eventBus.unsubscribeScope(n);var t="dismissed"===(null==e?void 0:e.message);r({success:!1,args:e,isSkipped:t,noVast:e.noVast})}.bind(this),i=function(e){O(this,a),u._eventBus.unsubscribeScope(n),r({success:!0,args:e})}.bind(this),u._eventBus.subscribe("AD_ERROR",o,n),u._eventBus.subscribe("AD_SDK_CANCELED",o,n),u._eventBus.subscribe("AD_SUCCESS",i,n),e.prev=6,e.next=9,u._adInstance.startAd(s);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),Ls("gd-adflow startAd error",e.t0),r({success:!1,err:e.t0});case 15:case"end":return e.stop()}},e,this,[[6,11]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return FO.apply(this,arguments)})},{key:"_getAdFlow",value:function(e){var t,r=this,n=(function(){if(O(this,r),Nu.customAdFlow)return JSON.parse(Nu.customAdFlow)}.bind(this),this._gameData.adflw),o=null!=(o=n)&&null!=(o=o.adapters)&&o.default?null==(o=n)||null==(o=o.adapters)?void 0:o.default:["ima","adsense"];return null!=(t=n)&&null!=(t=t.adapters)&&t[e]?null==(t=n)||null==(n=t.adapters)?void 0:n[e]:o}}]);var BO,NO,FO,GO,zO,ZO,HO,KO=WO,qO=(pe(VO,[{key:"load",value:(NO=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pg(this.moduleName);case 3:this.module=e.sent,this.module,e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("aeria module load error",e.t0),this.module=null;case 11:case"end":return e.stop()}},e,this,[[0,7]])})),function(){return NO.apply(this,arguments)})},{key:"runYMenu",value:(BO=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.gameId,this.module){e.next=4;break}return e.next=4,this.load();case 4:(new this.module.Aeria).renderYMenu({gameId:r});case 6:case"end":return e.stop()}},e,this)})),function(e){return BO.apply(this,arguments)})}]),VO),pA={isAeriaDomain:"minigame.aeriagames.jp"===(js=(iA=new qk).get("partner.domain.value")||iA.get("top.domain.value"))||"minigame-stg.aeriagames.jp"===js,isAeriaStagingDomain:"minigame-stg.aeriagames.jp"===js},bA=pA.isAeriaStagingDomain;function VO(){le(this,VO),this.moduleName="GDAeria",this.moduleConfig={source:"https://pm.azerioncircle.com/@bygd/gd-sdk-aeria/1.0.1/dist/default/iife/index.js",dependencies:[]},rg(this.moduleName,this.moduleConfig)}function WO(e){var t=this;le(this,WO),Fu(this,"_getAdTypeByAfgPosition",function(r){var n=this,o=(O(this,t),{preroll:["preroll","start"],midroll:["next"],rewarded:["reward"]});return Object.keys(o).find(function(e){var t=this;return O(this,n),o[e].some(function(e){return O(this,t),e===r.params.position}.bind(this))}.bind(this))||"midroll"}.bind(this)),this._gameData=e._gameData,this._msgrt=e.msgrt,this._adInstance=e.adInstance,this._eventBus=e.eventBus,this.blockedAdsMap=e.blockedAdsMap,this._parentURL=e._parentURL,this._parentDomain=e._parentDomain,this._onResumeGame=e.onResumeGame.bind(e),this._onPauseGame=e.onPauseGame.bind(e),this._onRewardedWatchComplete=e.onRewardedWatchComplete.bind(e),this._onAdError=e.onAdError.bind(e),this._setAdRequestTimer=e._setAdRequestTimer.bind(e),this._giveGift=e._giveGift.bind(e),this._runAutoResume=e._runAutoResume.bind(e),this.send_atom_event=e.send_atom_event.bind(e),this.get_session_id=e.get_session_id.bind(e),this.get_ad_system_init_result=e.get_ad_system_init_result.bind(e),this.eventBus=new $n}pA.isAeriaDomain&&(zO=function(){var e,t="ae-soft-323";try{e=(new qk).get("partner.url.value");var r=new ce(e,!0),n=r.pathname,o=n.split("/"),i=o[o.length-1];Ms("aeria-ylogin:loc",r,n,i),t=i}catch(e){Ls("Error on getting aeria game id",e)}return t}(),ZO={action:"score",data:{gameId:zO,score:100},env:bA?"staging":"production",system:"Softgames"},(new $n).subscribe("AD_FLOW_COMPLETE",function(e){"midroll"===e.adType&&(window.parent||window).postMessage(ZO,"*")}),HO=d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(new qO).runYMenu({gameId:zO});case 2:case"end":return e.stop()}},e)})),BA=function(){return HO.apply(this,arguments)},"game-frame"===(0,$O().whichFrame)())&&BA();var YO,JO=new w.exports.EventEmitter,XO=["https://games.softgames.com","https://sg.gamedistribution.com","https://minigame-stg.aeriagames.jp","https://minigame.aeriagames.jp","https://html5.gamedistribution.com","http://localhost:3005","https://yjgames.gamedistribution.com","https://portal-staging-sgweb.gamedistribution.com/"],QO=(window.addEventListener("message",function(e){var t,r,n=this,o=e.data,i=e.origin,e=e.source;!XO.some(function(e){return O(this,n),e===i}.bind(this))||null!=o&&o.__tcfapiCall||(r=o.system,o.action,t="aeriaExternalHostsConnector"===r,"Softgames"===r?(YO=e,(window.parent||window).postMessage(o,"*"),JO.emit("aeria-event",o)):t&&(YO&&YO.postMessage(o,"*"),r=window.parent||window)&&r.postMessage(o,"*"))},!1),"https://html5.gamedistribution.com"),eI="parent-data-request",tI="parent-data-response";pe(oI,[{key:"init",value:function(t){var r=this;this._registerForDataRequests(t),this._askForParentFrameData().then(function(e){O(this,r),e&&(e=e.adRequestTimer,t.adRequestTimer=e,t.adRequestTimer)}.bind(this))}},{key:"_registerForDataRequests",value:function(o){var i=this;window.addEventListener("message",function(e){O(this,i);var t=e.data,r=e.origin,e=e.source,n=t.type;t.value,r===QO&&n===eI&&(t={adRequestTimer:o.adRequestTimer},e.postMessage({type:tI,value:t}))}.bind(this))}},{key:"_askForParentFrameData",value:(rI=d(I.mark(function e(){var i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(n,e){var t=this,o=(O(this,i),!1),r=(window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=(e.source,t.type),t=t.value;r===QO&&e===tI&&(n(t),o=!0)}),setTimeout(function(){O(this,t),o||n()}.bind(this),1e3),{type:eI});window.parent.postMessage(r,"*")}.bind(this)));case 1:case"end":return e.stop()}},e,this)})),function(){return rI.apply(this,arguments)})}]);var rI,nI=new oI;function oI(){le(this,oI)}function iI(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 aI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iI(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iI(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var sI,uI,cI,lI,dI,fI,pI,hI,mI,gI,vI,bI,yI,_I,wI=xO(),AI=null,xI=null,kI=(pe(EI,[{key:"_initUnityHandler",value:function(){var t=this;window.addEventListener("DOMNodeInserted",function(){var e;O(this,t),this._gameData.block_exts&&this._removeExternalsInHtml({enabled:!1}),document.getElementsByClassName("webgl-content")[0]&&(e=document.getElementsByClassName("webgl-content")[0].getElementsByClassName("footer")[0])&&e.setAttribute("style","display:none")}.bind(this))}},{key:"_send_gametag_data",value:(yI=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this._getGdModeIfExist()&&(r=vn()||"web",this.adInstance._send("tg.created",{gmid:this.options.gameId,dvc:r,qint:t}));case 1:case"end":return e.stop()}},e,this)})),function(e){return yI.apply(this,arguments)})},{key:"_loadCMP",value:(bI=d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._isMasterGameURL())if(t=new qk,0===(null==(t=t.get("depth"))?void 0:t.value)&&null!=(t=this._gameData)&&null!=(t=t.cmp)&&t.enabled&&"html5.gamedistribution.com"===this._topDomain)return e.next=6,mO();e.next=6;break;case 6:case"end":return e.stop()}},e,this)})),function(){return bI.apply(this,arguments)})},{key:"testConsent",value:function(){try{iO(),d(I.mark(function e(){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,aO({});case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()}catch(e){console.log("find CMP error",e)}}},{key:"_sendLoaderDataEvent",value:function(){try{this.options.onLoaderEvent&&this.options.onLoaderEvent({name:"LOADER_DATA",message:{game:this._gameData,bridge:this._bridge},status:this._sdk_ready?"success":"error"})}catch(e){}}},{key:"_registerSGBridge",value:function(){var t=this;gO.on("splash-hidden",function(e){O(this,t),this._hideCMPButton()}.bind(this))}},{key:"_hideCMPButton",value:function(){var e=document.getElementById("ot-sdk-btn-floating");e&&(e.style.display="none")}},{key:"_sendLoadedEvent",value:function(){if(!this._isLoaded&&(this._isLoaded=!0,"loader-frame"===this._whichFrame()))try{this._whichFrame(),this._sendTunnlEvent(1),this.msgrt.send("loaded",{message:this._hasBlocker?"Has Blocker":"No Blocker"})}catch(e){}}},{key:"_sendGamedockGamePlay",value:function(){var e=this._isTokenGameURL();if(!(this._gameData.loader.enabled&&e||this._gameDockGamePlaySent))try{this._sendGamedockEvent("gameplay"),this._gameDockGamePlaySent=!0}catch(e){}}},{key:"_safeInit",value:function(){this._checkUserDeclinedTracking(),this._checkWhitelabelPartner();var e=this._gameData.diagnostic;void 0!==e&&void 0!==e.close_ga&&!1!==e.close_ga||this._bridge.isCoreSDKMode||this._loadGoogleAnalytics(),void 0!==e&&void 0!==e.close_gamedock&&!1!==e.close_gamedock||this._bridge.isCoreSDKMode||this._bridge.noGamedockSDK||this._loadGamedockTracker(),void 0!==e&&void 0!==e.close_minijuegos&&!1!==e.close_minijuegos||(console.log("noMinijuegosSDK",!this._bridge.isCoreSDKMode,!this._bridge.noMinijuegosSDK,0<=document.location.search.indexOf("mp_game_id")),!this._bridge.isCoreSDKMode&&!this._bridge.noMinijuegosSDK&&0<=document.location.search.indexOf("mp_game_id")&&this._loadMiniJuegosGratisTracker())}},{key:"_initializeSDKWithGameData",value:(vI=d(I.mark(function e(t,r){var n,o=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._getGameData();case 3:return this._gameData=e.sent,e.next=6,this._loadCMP();case 6:this._bridge.isCoreSDKMode=(null==(n=this._gameData.disableAds)?void 0:n.default)||!1,this._safeInit(),this._checkGameId(),this._checkGameDeleted(),this._checkBlocking(),this._changeMidrollInDebugMode(),void 0!==this._gameData.diagnostic&&void 0!==this._gameData.diagnostic.close_ads&&!1!==this._gameData.diagnostic.close_ads||(this.videoAdReady=this._initializeVideoAd().then(function(){O(this,o),(this._isMasterGameURL()||this._isExtHostedGameURL())&&(this.msgrt.send("adblocker.flw",{message:"ok"}),this.msgrt.send("adblocker.adapters",{message:"none"}))}.bind(this)).catch(function(e){O(this,o);var t="".concat(e).startsWith("Error: Blocked:"),t=(Ms("gd-adflow adsBlocked",t,e),this.get_ad_system_init_result()),r=t.ima,t=t.afg;this.adsBlocked=!r&&!t,(this._isMasterGameURL()||this._isExtHostedGameURL())&&(this.msgrt.send("adblocker.flw",{message:"".concat(this.adsBlocked?"blocked":"ok")}),this.msgrt.send("adblocker.adapters",{message:"".concat(r||t?r?t?"none":"adsense":"ima":"all")})),console.error(e.message||e)}.bind(this))),t(this._gameData),e.next=21;break;case 16:e.prev=16,e.t0=e.catch(0),this._sendSDKError(e.t0),this.onResumeGame(e.t0.message,"warning"),r(e.t0);case 21:case"end":return e.stop()}},e,this,[[0,16]])})),function(e,t){return vI.apply(this,arguments)})},{key:"_getDefaultOptions",value:function(){return{debug:!1,testing:!1,gameId:"4f3d7d38d24b740c95da2b03dc3a2333",prefix:"gdsdk__",onEvent:function(e){},onLoaderEvent:function(e){},flashSettings:{adContainerId:"",splashContainerId:""},advertisementSettings:{},resumeGame:function(){},pauseGame:function(){},onInit:function(e){},onError:function(e){},loader:{}}}},{key:"_extendDefaultOptions",value:function(e,t){e=Ft(e);this.options=t?dn(e,t):e,this.options.gameId=this.options.gameId.trim()}},{key:"_setConsoleBanner",value:function(){var e;this._bridge.noConsoleBanner||(e=$u.version,e=console.log("%c %c %c GameDistribution.com HTML5 SDK | Version: "+e+" %c %c %c","background: #9854d8","background: #6c2ca7","color: #fff; background: #450f78;","background: #6c2ca7","background: #9854d8","background: #ffffff"),console.log.apply(console,e))}},{key:"_sendTunnlEvent",value:function(e){var t=this,e=(void 0!==this._topDomain&&"undefined"!==this._topDomain||(this._topDomain=void 0),{page_url:this._topDomain||this._parentDomain,game_id:this.options.gameId,eventtype:e,ts:Date.now()});fetch("https://ana.headerlift.com/event?".concat(Z.stringify(e))).catch(function(e){O(this,t)}.bind(this)),this.adInstance._send_atom_event("hl.config",e),this._send_gametag_data("sdk_gameplay")}},{key:"_sendAdRequestContext",value:function(e){this.msgrt.send("adctx",{message:e.adTag.bidder})}},{key:"_checkWhitelabelPartner",value:function(){this._whitelabelPartner=!1;var e=mn();e.hasOwnProperty("xanthophyll")&&"true"===e.xanthophyll&&(this._whitelabelPartner=!0,Tn("White label publisher","".concat(this._whitelabelPartner),"success"))}},{key:"_checkConsole",value:function(){try{kn&&("developer.gamedistribution.com"===this._parentDomain?(Sn("gd_debug_ex",!0),Sn("gd_disable_midroll_timer",!0),Sn("gd_tag",!0)):"localhost:3000"===this._parentDomain&&(Sn("gd_debug_ex",!0),Sn("gd_disable_midroll_timer",!0)),xn("gd_debug_ex"))&&(this.openConsole(),this.msgrt.send("dev.console",{message:this._parentDomain}))}catch(e){}}},{key:"_checkUserDeclinedTracking",value:function(){this._userDeclinedTracking=this._bridge.isCoreSDKMode||0<=document.location.search.indexOf("gdpr-tracking=0")||0<=document.cookie.indexOf("ogdpr_tracking=0")}},{key:"_initializeMessageRouter",value:function(){this.msgrt=new Nn({gameId:this.options.gameId,hours:(new Date).getHours(),topDomain:this._topDomain,domain:this._parentDomain,referrer:this._parentURL,depth:yn(),version:$u.version,tracking:this._userDeclinedTracking,whitelabel:this._whitelabelPartner,platform:vn(),byloader:this._bridge.isTokenGameURL,isTokenGameURL:this._bridge.isTokenGameURL,isMasterGameURL:this._bridge.isMasterGameURL,isExtHostedGameURL:this._bridge.isExtHostedGameURL,byloaderVersion:this._bridge.version})}},{key:"_loadGamedockTracker",value:function(){var t=this;try{var e=[this._gameData.gmky.url];bn(e[0],"GamedockSDK",{alternates:e}).then(function(){var e;O(this,t),xI=this._initGamedockTracker(window.GamedockSDK),this._sendGamedockEvent("pageview"),null!=(e=this._gameData.diagnostic)&&null!=(e=e.gameDock)&&e.adViewEvent&&xI.tracking.enableHeartBeatForPage({pageId:this.options.gameId,pageType:"game"},this._gameData.diagnostic.gameDock.heartbeatConfig),uO.track(xI,this._gameData)}.bind(this)).catch(function(e){O(this,t),this._sendSDKError(e)}.bind(this))}catch(t){}}},{key:"_initGamedockTracker",value:function(e){if(!this._bridge.isCoreSDKMode)return e.initialize("gd",this._parentDomain)}},{key:"_sendGamedockEvent",value:function(e){var t;null!=(t=xI)&&null!=(t=t.tracking)&&t.trackEvent(e,{pageId:this.options.gameId,pageType:"game"})}},{key:"_loadMiniJuegosGratisTracker",value:function(){var t=this,e=(window.mpConfig={game:this.options.gameId,partner:"game-distribution"},["https://ext.minijuegosgratis.com/external-host/main.js"]);console.log("noMinijuegosSDK loading"),bn(e[0],"MinijuegosSDK",{alternates:e}).catch(function(e){O(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_loadLocus",value:(_I=d(I.mark(function e(){var t,r=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,LE();case 2:if(e.sent){e.next=6;break}return console.log("locus-disabled"),e.abrupt("return");case 6:t=["https://pm.azerioncircle.com/p/locus"],console.log("locus loading"),bn(t[0],"locus",{alternates:t}).catch(function(e){O(this,r),this._sendSDKError(e)}.bind(this));case 9:case"end":return e.stop()}},e,this)})),function(){return _I.apply(this,arguments)})},{key:"_loadGoogleAnalytics",value:function(){var t=this,e=["https://www.google-analytics.com/analytics.js"];bn(e[0],"gdsdk_google_analytics",{alternates:e,error_prefix:"Blocked:",exists:function(){return O(this,t),window.ga}.bind(this)}).then(function(){O(this,t),window.ga("create","UA-60359297-49",{name:"gd",cookieExpires:7776e3,sampleRate:5},"auto"),this._bridge.noGAPageView||window.ga("gd.send","pageview"),this._userDeclinedTracking||window.ga("gd.set","anonymizeIp",!0)}.bind(this)).catch(function(e){O(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_subscribeToEvents",value:function(){var n=this;this.eventBus=new $n,Cn.forEach(function(e){var t=this;return O(this,n),this.eventBus.subscribe(e,function(e){return O(this,t),this._onEvent(e)}.bind(this),"sdk")}.bind(this)),Mn.forEach(function(e){var t=this;return O(this,n),this.eventBus.subscribe(e,function(e){return O(this,t),this._onEvent(e)}.bind(this),"ima")}.bind(this)),this.eventBus.subscribe("COMPLETE",function(){O(this,n);var e=this._getDeveloperDomains(),t=e.developerDomain,e=e.gameApiDomain;if(t){fetch("https://".concat(e,"/game/v2/hasapi/").concat(this.options.gameId,"?timestamp=").concat((new Date).valueOf()));try{var r=JSON.stringify({type:"GD_SDK_IMPLEMENTED",gameID:this.options.gameId});window.location!==window.top.location?window.top.postMessage(r,"*"):null!==window.opener&&window.opener.location!==window.location&&window.opener.postMessage(r,"*")}catch(e){}}bT("act","ad complete")}.bind(this),"ima"),this.eventBus.subscribe("CONTENT_PAUSE_REQUESTED",function(){return O(this,n),this.onPauseGame("New advertisements requested and loaded","success")}.bind(this),"ima"),this.eventBus.subscribe("IMPRESSION",function(e){var t;O(this,n),this.msgrt.send("ad.impression"),bT("genp","ad video"),bT("act","ad impression"),null!=(t=this._gameData.diagnostic)&&null!=(t=t.gameDock)&&t.adViewEvent&&uO.track(xI,this._gameData)}.bind(this),"ima"),this.eventBus.subscribe("AD_ERROR",function(e){O(this,n),this.msgrt.send("ad.error",{message:e.message,details:e.details})}.bind(this),"ima"),this.eventBus.subscribe("AD_SDK_REQUEST",function(e){O(this,n),this._sendAdRequestContext(e.message)}.bind(this),"sdk"),this.eventBus.subscribe("SDK_ERROR",function(e){var t;O(this,n),e.message.startsWith("Blocked:")?this._bridge.noBlockerEvent||(this.msgrt.send("error",{message:e.message}),this._hasBlocker)||(this._hasBlocker=!0,t=Math.random()<.25,this.msgrt.send("adblck.src",{message:e.message}),t&&this._sendTunnlEvent(3)):this.msgrt.send("error",{message:e.message})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_EMPTY",function(e){O(this,n),this.msgrt.send("tunnl.keys.empty",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_FALLBACK",function(e){O(this,n),this.msgrt.send("tunnl.keys.fallback",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_T4R",function(e){return O(this,n),this.msgrt.send("adt4r")}.bind(this),"sdk")}},{key:"_checkGameId",value:function(){this.options.gameId===this._defaults.gameId&&this._sendSDKError("Check correctness of your GAME ID. Otherwise, no revenue will be recorded.")}},{key:"_getDefaultGameData",value:function(){return{gameId:this.options.gameId,disableAds:{},preroll:!0,midroll:12e4,rewardedAds:!1,title:"",tags:[],category:"",assets:[],dmain:!0,sdk:{},loader:{},splash:{},promo:{},dAds:{},pAds:{},mAds:{},rAds:{}}}},{key:"_getGameDataUrl",value:function(){var e=void 0!==this._topDomain&&"undefined"!==this._topDomain?this._topDomain:this._parentDomain,t=cE().config;return"https://".concat(t.gameAPI,"/game/v4/get/").concat(this.options.gameId.replace(/-/g,""),"/?domain=").concat(e,"&v=").concat($u.version,"&localTime=").concat((new Date).getHours())}},{key:"_checkBlocking",value:(gI=d(I.mark(function e(){var t,r,n=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=this._gameData,t=void 0===this._gameData.dmain||this._gameData.dmain,(r.bloc_gard&&!0===r.bloc_gard.enabled||!t)&&(this.msgrt.send("blocked"),setTimeout(function(){O(this,n),window.location.href="https://html5.api.gamedistribution.com/blocked.html?".concat(Z.stringify({domain:this._parentDomain,id:r.gameId,img:this._get_game_thumbnail_url(),title:r.title}))}.bind(this),100));case 5:case"end":return e.stop()}},e,this)})),function(){return gI.apply(this,arguments)})},{key:"_checkGameDeleted",value:function(){var e=this;6===this._gameData.status&&(console.log("%c %c %c This game was deleted, please remove it in your website... ","background: #F2181A","background: #F23818","color: #fff; background: #F23818;","background: #F55E60","background: #F55E60","background: #c4161e; color: #fff;"),setTimeout(function(){O(this,e),document.location="https://html5.api.gamedistribution.com/deleted.html"}.bind(this),100))}},{key:"_changeMidrollInDebugMode",value:function(){var e=this._gameData;dT().disableMidrolltimer?e.midroll=0:kn&&xn("gd_debug_ex")&&(xn("gd_disable_midroll_timer")?e.midroll=0:e.midroll=this._getDefaultGameData().midroll)}},{key:"_checkSplashAndPromoScreens",value:function(){this._gameData.loader&&!1===this._gameData.loader.mobile&&this._getisMobile()&&(this._gameData.loader.enabled=!1);var e,t=this._gameData,r=t.gdpr&&!0===t.gdpr.consent,n=t.loader,o=null==(o=t.promo)?void 0:o[null==(o=t.promo)||null==(o=o.template)?void 0:o.preroll];t.preroll||(this.adRequestTimer=Date.now()),this.options.loader.enabled?null!=o&&o.enabled?this._createPromoBeforeSplash(t,r):n.enabled&&!0!==(null==(e=n.splash)?void 0:e.skip)?this._createSplash(t,r):this.onResumeGame("Skipped splash.","success"):n.enabled||this._bridge.isTokenGameURL&&this._bridge.isExtHostedGameURL||(this.options.advertisementSettings.autoplay||r?null!=o&&o.enabled?this._createPromoBeforeSplash(t,r):!1!==n.enabled&&this._createSplash(t,r):null!=o&&o.enabled&&this._createPromo(t,r))}},{key:"_initializeVideoAd",value:(mI=d(I.mark(function e(){var t;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._bridge.isCoreSDKMode)return e.abrupt("return");e.next=2;break;case 2:return(t=this._gameData).sdk.enabled&&(this.options.advertisementSettings=dn(this.options.advertisementSettings,t.sdk)),this.macros=new Bn({game:t,bridge:this._bridge}),this.adInstance=new XT(this.options.flashSettings.adContainerId,this.options.advertisementSettings,{parentURL:this._parentURL,parentDomain:this._parentDomain,topDomain:this._topDomain}),this.adInstance.gameId=t.gameId,this.adInstance.category=t.category,this.adInstance.tags=t.tags,this.adInstance.noPreroll=this._bridge.noPreroll,this.adInstance.macros=this.macros,this.adInstance.gameData=t,this.adInstance.msgrt=this.msgrt,this.adInstance.PackageJSON=$u,this.adInstance._send_atom_event("gd.location"),e.next=17,this.adInstance.start();case 17:case"end":return e.stop()}},e,this)})),function(){return mI.apply(this,arguments)})},{key:"_sendSDKReady",value:function(){var e="Everything is ready.";this.eventBus.broadcast("SDK_READY",{message:e,status:"success"});try{this.options.onInit(e)}catch(e){Tn("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_sendSDKError",value:function(e){e=e.message?e:{message:e},this.eventBus.broadcast("SDK_ERROR",{message:e.message,status:"error"});try{this.options.onError(e)}catch(e){Tn("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_onEvent",value:function(e){Tn(e.name,e.message,e.status);try{this.options.onEvent({name:e.name,message:e.message,status:e.status,skipForward:e.skipForward,adPosition:e.adPosition})}catch(e){Tn("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_getGameData",value:(hI=d(I.mark(function e(){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,TE();case 2:return r=e.sent,this.msgrt.setGameData(r),t=r.diagnostic,Dn=t,e.abrupt("return",r);case 6:case"end":return e.stop()}var t},e,this)})),function(){return hI.apply(this,arguments)})},{key:"_createSplash",value:(pI=d(I.mark(function e(t,n){var o,r,i,a=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._getSplashTemplate(t);case 2:return r=e.sent,o=new r(aI(aI({},this.options),{},{isConsentDomain:n,version:$u.version}),t,this._parentDomain),e.next=6,jE();case 6:r=e.sent,i=r.enabled,o.on("playClick",function(){var e,t,r=this;O(this,a),n&&((e=new Date).setDate(e.getDate()+90),document.cookie="ogdpr_tracking=1; expires=".concat(e.toUTCString(),"; path=/")),this._hideCMPButton(),i?window.gdsdk.showAd(g.Interstitial,{position:"preroll"}).catch(function(e){O(this,r),o.hide()}.bind(this)):(t={position:"preroll"},function(){O(this,r),Nu.firstAdapterModeAdsense&&(console.log("promo-test, set first adapter to adssense 1"),t.adapter="adsense")}.bind(this),this.showAd(g.Interstitial,t).catch(function(e){O(this,r)}.bind(this))),null!=(e=this._gameData)&&null!=(e=e.evnts)&&e.enabled&&(EO({event:"FirstInteraction",game:this._gameData}),this._send_gametag_data("first_interaction"))}.bind(this)),this.onPauseGame("Pause the game and wait for a user gesture","success"),this.eventBus.subscribe("SDK_GAME_PAUSE",function(){O(this,a),o.hide()}.bind(this)),this.eventBus.subscribe("SDK_GAME_START",function(){O(this,a),o.hide()}.bind(this));case 12:case"end":return e.stop()}},e,this)})),function(e,t){return pI.apply(this,arguments)})},{key:"_createPromoBeforeSplash",value:(fI=d(I.mark(function e(t,r){var n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPrerollPromoTemplate(t);case 3:n=e.sent,(o=new n(aI(aI({},this.options),{},{isConsentDomain:r,version:$u.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){O(this,i),o.hide(),this._createSplash(t,r)}.bind(this)),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0),this._createSplash(t,r);case 12:case"end":return e.stop()}},e,this,[[0,8]])})),function(e,t){return fI.apply(this,arguments)})},{key:"_createPromo",value:(dI=d(I.mark(function e(t,r){var n,o,i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPrerollPromoTemplate(t);case 3:n=e.sent,(o=new n(aI(aI({},this.options),{},{isConsentDomain:r,version:$u.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){O(this,i),o.hide(),this.onResumeGame("Resumed after the promo","warning")}.bind(this)),this.onPauseGame("Pause the game for the promo","success"),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),this.onResumeGame("Resumed after the promo","warning");case 12:case"end":return e.stop()}},e,this,[[0,9]])})),function(e,t){return dI.apply(this,arguments)})},{key:"showBanner",value:function(){var e=this;this.showAd(g.Interstitial).catch(function(){O(this,e)}.bind(this))}},{key:"showAd",value:(lI=d(I.mark(function e(a){var s,u=this,t=arguments;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=1<t.length&&void 0!==t[1]?t[1]:{},e.abrupt("return",new Promise(function(){var r=d(I.mark(function e(t,r){var n,o,i;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u._autoResumeIfAdsAreDisabled(a||"interstitial"))return e.abrupt("return",t());e.next=5;break;case 5:return n={adType:a||"interstitial",params:s,adTimestamp:u.adRequestTimer},e.next=9,u.sdkReady;case 9:return o=e.sent,e.next=12,u.videoAdReady;case 12:if(null!=(i=u._gameData.lp)&&i.load||u._sendLoadedEvent(),u._sendGamedockGamePlay(),u._rejectAdIfGameBlocked({gameData:o,adRequest:n}),u._rejectAdIfAdDisabled({gameData:o,adRequest:n}),u._rejectAdIfUnsupportedType({adRequest:n}),"rewarded"===a&&u._setGameRewardedFlag(),null!=s&&s.isGift||u._rejectAdIfAdRateHits({gameData:o,adRequest:n}),u.adInstance.attachAfgPosition(n),u.adFlowRunning)return e.abrupt("return",t());e.next=22;break;case 22:return u.adFlowRunning=!0,i=new KO(u),e.next=26,i.runAdFlow(n);case 26:u.adFlowRunning=!1,t(),u._post_message({topic:"adrequest.instream"}),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),u.adFlowRunning=!1,u.onResumeGame(e.t0.message,"warning"),r(e.t0.message);case 36:case"end":return e.stop()}},e,null,[[0,31]])}));return function(e,t){return r.apply(this,arguments)}}()));case 2:case"end":return e.stop()}},e)})),function(e){return lI.apply(this,arguments)})},{key:"_autoResumeIfAdsAreDisabled",value:function(e){var t=!1,r=this._gameData.diagnostic.close_ads,e=this._gameData.disableAds[e];return this._gameData.diagnostic,this._gameData.disableAds,(r||e)&&(this._runAutoResume(),t=!0),t}},{key:"_runAutoResume",value:function(){var e="CONTENT_PAUSE_REQUESTED",t="CONTENT_RESUME_REQUESTED";this.eventBus.broadcast(e,{name:e,message:"Auto pause when ads are disabled"}),this.eventBus.broadcast(t,{name:t,message:"Auto resume when ads are disabled"}),this.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.","success")}},{key:"_giveGift",value:function(e){var t;switch(e){case"preroll":null!=(t=this._gameData)&&null!=(t=t.gft)&&t[e].enabled&&(null==(t=this._gameData)||null==(t=t.gft)||null==(t=t[e].durations[this._giftCount[e]])?void 0:t.after)===this.adInstance.adPrerollCount&&this.decideToGiveAGift(e);break;case"midroll":null!=(t=this._gameData)&&null!=(t=t.gft)&&t[e].enabled&&(null==(t=this._gameData)||null==(t=t.gft)||null==(t=t[e].durations[this._giftCount[e]])?void 0:t.after)===this.adInstance.adMidrollCount&&this.decideToGiveAGift(e);break;case"rewarded":null!=(t=this._gameData)&&null!=(t=t.gft)&&t[e].enabled&&(null==(t=this._gameData)||null==(t=t.gft)||null==(t=t[e].durations[this._giftCount[e]])?void 0:t.after)===this.adInstance.adRewardedCount&&this.decideToGiveAGift(e)}}},{key:"_setAdRequestTimer",value:function(){this.adRequestTimer=Date.now()}},{key:"clearSession",value:function(){this.adInstance.clearSession()}},{key:"_attachAfgFallback",value:function(e){var t=e.gameData,r=e.adRequest;if(!t.afg_disabled&&!r.params.hasOwnProperty("fallback_adsense"))switch(r.params.position){case"preroll":case"start":case"next":r.params.fallback_adsense=!0}}},{key:"_rejectAdIfGameBlocked",value:function(e){e=e.gameData;if(e.bloc_gard&&!0===e.bloc_gard.enabled)throw new Error("Game or domain is blocked.")}},{key:"_rejectAdIfAdDisabled",value:function(e){var t=e.gameData,e=e.adRequest;if(t.disableAds[e.adType]||this._whitelabelPartner)throw new Error("Advertisements are disabled.")}},{key:"_rejectAdIfUnsupportedType",value:function(e){e=e.adRequest;if(e.adType){if(e.adType!==g.Interstitial&&e.adType!==g.Rewarded)throw new Error("Unsupported an advertisement type: ",e.adType)}else e.adType=g.Interstitial}},{key:"_rejectAdIfRewardedDisabled",value:function(e){var t=e.gameData;if(e.adRequest.adType===g.Rewarded&&!t.rewardedAds)throw new Error("Rewarded ads are disabled.")}},{key:"_rejectAdIfAdRateHits",value:function(e){var t,r=e.gameData,e=e.adRequest,n=null;if(e.adType===g.Interstitial&&null!=(t=r.diagnostic)&&null!=(t=t.useMidrollIndex)&&t.enabled&&this.adInstance.noPreroll?this.adInstance.adMidrollCount>(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<n)throw new Error("The advertisement was requested too soon.")}},{key:"preloadAd",value:(cI=d(I.mark(function e(i){var a=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=d(I.mark(function e(t,r){var n,o;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.sdkReady;case 3:return n=e.sent,e.next=6,a.videoAdReady;case 6:if(n.bloc_gard&&!0===n.bloc_gard.enabled)throw new Error("Game or domain is blocked.");e.next=8;break;case 8:if(n.disableAds[i]||a._whitelabelPartner)throw new Error("Advertisements are disabled for this ad type => ".concat(i,"..."));e.next=10;break;case 10:i?e.next=14:(i=g.Rewarded,e.next=16);break;case 14:if(i!==g.Interstitial&&i!==g.Rewarded)throw new Error("Unsupported an advertisement type:"+i);e.next=16;break;case 16:return e.next=18,a.adInstance.preloadAd(i);case 18:o=e.sent,t(o),e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),r(e.t0);case 25:case"end":return e.stop()}},e,null,[[0,22]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return cI.apply(this,arguments)})},{key:"cancelAd",value:(uI=d(I.mark(function e(){var n=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=d(I.mark(function e(t,r){return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:try{n.adInstance.cancel(),n.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.","success"),r()}catch(e){n.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.","success"),t(e.message)}case 1:case"end":return e.stop()}},e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(){return uI.apply(this,arguments)})},{key:"showDisplayAd",value:function(o){var r,i=this;return new Promise((r=d(I.mark(function e(t,r){var n;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.sdkReady;case 3:return n=e.sent,e.next=6,i.videoAdReady;case 6:if(n.dAds.enabled)return e.next=9,i.adInstance.loadDisplayAd(o);e.next=13;break;case 9:i._post_message({topic:"adrequest.display"}),t(),e.next=14;break;case 13:r("Display-Ads are disabled.");case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(0),r(e.t0.message||e.t0);case 19:case"end":return e.stop()}},e,null,[[0,16]])})),function(e,t){return r.apply(this,arguments)}))}},{key:"onResumeGame",value:function(e,t){this._allowExternals({enabled:!1});try{this.options.resumeGame()}catch(e){console.log("gd-adflow error onResumeGame",e),Tn("DEVELOPER_ERROR",e.message,"warning")}var r="SDK_GAME_START";this.eventBus.broadcast(r,{name:r,message:e,status:t,analytics:{category:"SDK",action:r,label:this.options.gameId+""}}),this.adInstance&&this.adInstance._hideAddResume(),null==(t=this._gameData.evnts)||!t.enabled||this._isMasterGameURL()&&!this._isExtHostedGameURL()||(EO({event:"GameStarted",game:this._gameData}),this._send_gametag_data("game_started"))}},{key:"onPauseGame",value:function(e,t){this._allowExternals({enabled:!0});try{this.options.pauseGame()}catch(e){Tn("DEVELOPER_ERROR",e.message,"warning")}var r="SDK_GAME_PAUSE";this.eventBus.broadcast(r,{name:r,message:e,status:t,analytics:{category:"SDK",action:r,label:this.options.gameId+""}}),null==(t=this._gameData.evnts)||!t.enabled||this._isMasterGameURL()&&!this._isExtHostedGameURL()||(EO({event:"GamePaused",game:this._gameData}),this._send_gametag_data("game_paused"))}},{key:"onRewardedWatchComplete",value:function(){this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"})}},{key:"onAdError",value:function(e){this.eventBus.broadcast("AD_ERROR",{message:e,status:"error"})}},{key:"openConsole",value:function(){try{new Gn(this).start(),Sn("gd_debug_ex",!0)}catch(e){console.log(e)}}},{key:"_initBlockingExternals",value:function(){var e=this._gameData;(e.failed||e.block_exts&&e.block_exts.enabled)&&(this.window_open=window.open,this._allowExternals({enabled:!1}),this._removeExternalsInHtml({enabled:!1}))}},{key:"_checkFullscreen",value:function(){var r=this;try{var e=this._gameData;e.sdk.fullscreen&&"auto"===e.sdk.fullscreen&&document.addEventListener("click",function(){var e,t;O(this,r),this._isFullScreen||((t=(e=document.body).requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen)?t.call(e):void 0!==window.ActiveXObject&&null!==(t=new ActiveXObject("WScript.Shell"))&&t.SendKeys("{F11}"),this._isFullScreen=!0)}.bind(this))}catch(r){console.log("Fullscreen error handled...",r)}}},{key:"_allowExternals",value:function(e){var t=this;void 0!==this.window_open&&(!1===e.enabled?window.open=function(e){O(this,t),this.msgrt.send("external",{message:"C> ".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:"_shouldAllowExternalUrl",value:function(e){var t=this,e=new ce(e),r=e.host;return e.href,((null==(e=this._gameData.urlBlockExc)?void 0:e.hosts)||[]).some(function(e){return O(this,t),e===r}.bind(this))}},{key:"_removeExternalsInHtml",value:function(e){var i=this;!1===e.enabled&&window.document.querySelectorAll("a").forEach(function(e){var t,r=this,n=(O(this,i),!!(e.innerText.toLowerCase().includes("start")||e.innerText.toLowerCase().includes("play")||e.innerText.toLowerCase().includes("continue"))),o=e.getAttribute("href");this._shouldAllowExternalUrl(o)||(t=e.getAttribute("href"),e.removeAttribute("href"),n)||(e.onclick=function(e){return O(this,r),e.preventDefault(),this.msgrt.send("external",{message:"H> ".concat(t)}),!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:pn()),i=decodeURIComponent((e||r)&&n.parentDomain?n.parentDomain:fn()),a=decodeURIComponent((e||r)&&n.topDomain?n.topDomain:r&&0===yn()?i:An()),s=(e||r)&&n.loaderEnabled,u=(e||r)&&n.loaderEnabled,c=(e||r)&&n.loaderEnabled,l=(e||r)&&n.loaderEnabled,d=(e||r)&&n.loaderEnabled,f=(e||r)&&n.loaderEnabled,p=(e||r)&&n.loaderEnabled,h=(e||r)&&n.loaderEnabled,m=(e||r)&&n.loaderEnabled&&n.hasImpression&&"1.1.24"<=n.version;return{isTokenGameURL:e,isMasterGameURL:t,isExtHostedGameURL:r,noConsoleBanner:s,noLoadedEvent:u,noBlockerEvent:c,noPreroll:h,parentURL:o,parentDomain:i,topDomain:a&&a.length?a:i,noGAPageView:l,noLotamePageView:d,noGamedockSDK:f,noMinijuegosSDK:p,version:n.version,pauseGameOnStartup:m,depth:yn(),domainMatched:i===a,exports:{formatTokenURLSearch:this._formatTokenURLSearch.bind(this),extendUrlQuery:this._extendUrlQuery.bind(this),base64Encode:this._base64_encode.bind(this)}}}},{key:"_whichFrame",value:function(){return!this._isMasterGameURL()&&!this._isExtHostedGameURL()||this._isTokenGameURL()?"game-frame":"loader-frame"}},{key:"_isMasterGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i;return e.test(location.href)||!this._isTokenGameURL()&&e.test(document.referrer)}},{key:"_isTokenGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_isExtHostedGameURL",value:function(){var e=/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_isLoaderGameURL",value:function(){return/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i.test(location.href)&&location.href.startsWith("https://html5.gamedistribution.com")}},{key:"_getTokenGameURLConfig",value:function(){try{var e,t=/http[s]?:\/\/html5\.gamedistribution\.com\/[A-Za-z0-9]{8}\/[A-Fa-f0-9]{32}\/.*/i;if(t.test(location.href)){var r=new ce(location.href,!0);if(!r.query.gd_zone_config)return;e=r.query.gd_zone_config}else if(t.test(document.referrer)){var n=new ce(document.referrer,!0);if(!n.query.gd_zone_config)return;e=n.query.gd_zone_config}else{var o=new ce(location.href,!0);if(!o.query.gd_zone_config)return;e=o.query.gd_zone_config}return JSON.parse(ln(decodeURIComponent(e)))}catch(e){}}},{key:"_getSplashTemplate",value:function(e){e=e.splash;return new eO(e).splash()}},{key:"_createPrerollPromoTemplate",value:(sI=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=null==(r=t.promo)?void 0:r[null==(r=t.promo)||null==(r=r.template)?void 0:r.preroll],r=new QT(r),e.abrupt("return",r.promo());case 3:case"end":return e.stop()}},e)})),function(e){return sI.apply(this,arguments)})},{key:"_formatTokenURLSearch",value:function(e){var t="";try{t=encodeURIComponent(cn(JSON.stringify(e)))}catch(e){}try{var r=new ce(location.href,!0);return r.query=r.query||{},r.query.gd_zone_config=t,"?".concat(Z.stringify(r.query))}catch(e){return"?gd_zone_config=".concat(t)}}},{key:"_extendUrlQuery",value:function(e,t){e=new ce(e,!0);return e.query=aI(aI({},e.query),t),e.toString()}},{key:"_base64_encode",value:function(e){return cn(JSON.stringify(e))}},{key:"session",value:function(){var r,o=this;return new Promise((r=d(I.mark(function e(t,r){var n;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.sdkReady;case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:n=o._gameData,t({ads:{display:{enabled:n.dAds.enabled},rewarded:{enabled:n.rewardedAds}},location:{parentDomain:o._bridge.parentDomain,topDomain:o._bridge.topDomain,parentURL:o._bridge.parentURL,depth:o._bridge.depth,loadedByGameZone:o._bridge.isTokenGameURL}});case 9:case"end":return e.stop()}},e,null,[[0,5]])})),function(e,t){return r.apply(this,arguments)}))}},{key:"sendGenericEvent",value:function(e){console.log("Received generic event",e,this._isMasterGameURL());try{var t,r;if("track-milestone"==e.eventName)xI.tracking.trackEvent("milestoneAchieved",{pageId:this.options.gameId,pageType:"game",isAuthorized:null==(t=e.data)?void 0:t.isAuthorized,milestoneDescription:null==(r=e.data)?void 0:r.milestoneDescription});else if("game_event"==e.eventName)return this._gameEventPostMessage(e)}catch(e){console.log(e.message)}}},{key:"_gameEventPostMessage",value:function(e){void 0!==e.data.level&&this._numberValidator(e.data.level)&&void 0!==e.data.score&&this._numberValidator(e.data.score)?(e={type:e.eventName,data:e.data},window.location!==window.top.location&&window.top.postMessage(e,"*")):console.log("Level data type should be number!")}},{key:"_numberValidator",value:function(e){return"number"==typeof e&&/^\d*$/.test(e)}},{key:"_getisMobile",value:function(){var e=!1,t=navigator.userAgent||navigator.vendor||window.opera;return e=!1===(e=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4))?!0:e)&&-1<window.orientation?!0:e}},{key:"_get_game_thumbnail_url",value:function(){var t=this,e=this._gameData,r=(r=e.assets.find(function(e){return O(this,t),e.hasOwnProperty("name")&&512===e.width&&512===e.height}.bind(this)))||(0<e.assets.length?e.assets[0]:{name:"logo.svg"});return"https://img.gamedistribution.com/".concat(r.name)}},{key:"_post_message",value:function(e){var t=e.topic,r=e.data,n=null!=(n=location.ancestorOrigins)&&n.length?location.ancestorOrigins[location.ancestorOrigins.length-1]:"*";try{var o=window.top||window.parent;o&&o.postMessage({source:"gdsdk",topic:t,data:r},n)}catch(e){console.error((null==e?void 0:e.message)||e)}}},{key:"decideToGiveAGift",value:function(r){var n=this;try{var e,t=null==(e=this._gameData)?void 0:e.gft[r],o=setInterval(d(I.mark(function e(){var t=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.adInstance.requestRunning||n.adFlowRunning?console.log("Advertisement already running..."):(n.showAd(g.Interstitial,{position:r,isGift:!0}).catch(function(e){O(this,t)}.bind(this)),clearInterval(o),n._giftCount[r]++);case 1:case"end":return e.stop()}},e,this)})),1e3*t.durations[this._giftCount[r]].wait)}catch(r){console.log("Advertisement Error...")}}},{key:"send_atom_event",value:function(e,t){this.adInstance._send_atom_event(e,t)}},{key:"get_session_id",value:function(){return wI}},{key:"get_ad_system_init_result",value:function(){return{afg:this.adInstance.afgInitSuccess,ima:this.adInstance.imaInitSuccess}}},{key:"_getDeveloperDomains",value:function(){var e,t;return"developer.gamedistribution.com"===this._parentDomain||"developer-acc.gamedistribution.com"===this._parentDomain?e=this._parentDomain:!0===new RegExp("^localhost").test(this._parentDomain)&&(e="localhost"),{developerDomain:e,gameApiDomain:t=e?{"developer-acc.gamedistribution.com":"game-api-acc-real-aws.gamedistribution.com","developer.gamedistribution.com":"game.api.gamedistribution.com",localhost:"game-api-acc-real-aws.gamedistribution.com"}[e]:t}}},{key:"_setGameRewardedFlag",value:function(){try{var e=this._getDeveloperDomains(),t=e.developerDomain,r=e.gameApiDomain;if(t){fetch("https://".concat(r,"/game/v2/hasrewarded/").concat(this.options.gameId,"?timestamp=").concat((new Date).valueOf()));try{var n=JSON.stringify({type:"GD_SDK_REWARDED_SET",gameID:this.options.gameId});window.location!==window.top.location?window.top.postMessage(n,"*"):null!==window.opener&&window.opener.location!==window.location&&window.opener.postMessage(n,"*")}catch(e){}}}catch(e){}}},{key:"_getGdModeIfExist",value:function(){var r=this,e=new Proxy(new URLSearchParams(window.location.search),{get:function(e,t){return O(this,r),e.get(t)}.bind(this)});return!e.gd_mode&&window.location.search.includes("gd_mode")?window.location.search.split("gd_mode=")[1]:e.gd_mode}},{key:"_executeMidrollPlus",value:function(){var e,r,n,o=this;null!=(e=this._gameData.midroll_plus)&&e.enabled&&this.adInstance.adMidrollCount<=0&&(r=this._gameData.midroll_plus.type||"midroll",null!=(e=this._gameData.midroll_plus)&&e.interval?n=setInterval(function(){var e,t=this;O(this,o),this.adFlowRunning||(this.showAd(g.Interstitial,{position:"midroll",giftType:r}).catch(function(e){O(this,t)}.bind(this)),this._mplus_count++,"infinite"!==(null==(e=this._gameData.midroll_plus)?void 0:e.interval)&&this._mplus_count===(null==(e=this._gameData.midroll_plus)?void 0:e.interval)&&clearInterval(n))}.bind(this),6e4*this._gameData.midroll_plus.timer):setTimeout(function(){var t=this;O(this,o),this.showAd(g.Interstitial,{position:"midroll",giftType:r}).catch(function(e){O(this,t)}.bind(this))}.bind(this),this._gameData.midroll))}}]),EI);function EI(e){var r=this;if(le(this,EI),AI)return AI;(AI=this).blockedAdsMap={},this._defaults=this._getDefaultOptions(),this._extendDefaultOptions(this._defaults,e),this._version=e.version||"0.0.0",this._bridge=this._getBridgeContext(),this._location=new qk,this._location.print(),this._parentURL=0===this._bridge.depth?encodeURIComponent(this._bridge.parentURL):this._bridge.parentURL,this._parentDomain=this._bridge.parentDomain,this._topDomain=this._bridge.topDomain,this._isFullScreen=!1,this._giftCount={preroll:0,midroll:0,rewarded:0},this._mplus_count=0,this._setConsoleBanner(),this._initializeMessageRouter(),this._checkConsole(),this._subscribeToEvents(),this.sdkReady=new Promise(this._initializeSDKWithGameData.bind(this)),this.sdkReady.then(function(e){O(this,r),this._sdk_ready=!0}.bind(this)).catch(function(e){O(this,r),this._sdk_ready=!1}.bind(this)).finally(function(){var e,t=this;O(this,r),!0===(null==(e=this._gameData.lp)?void 0:e.load)&&this._sendLoadedEvent(1),this._sendLoaderDataEvent(),this._checkSplashAndPromoScreens(),this._initBlockingExternals(),this._initUnityHandler(),this._checkFullscreen(),null!=(e=this._gameData.evnts)&&e.enabled&&this._isLoaderGameURL()&&(function(e){var t,r,n=this;window[TO]||((t=document.createElement("iframe")).src="https://static.gamedistribution.com/message/index.html",t.style.display="none",t.name=TO,document.body.appendChild(t),window!==window.top&&(r={gameId:e.gameId,target:e.evnts.domain,token:OO,event_name:"TokenGenerated",timestamp:Date.now()},t.onload=function(){CO(r)},setInterval(function(){O(this,n),r.timestamp=Date.now(),r.event_name="Heartbeat",CO(r)}.bind(this),1e3*e.evnts.heartbeatDuration))),window.addEventListener("message",function(e){O(this,n);try{var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kO(Object(r),!0).forEach(function(e){Fu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},e.data);t.event_name&&(t.token=OO,CO(t))}catch(e){console.error("GD Messager Error",e.message)}}.bind(this),!1)}(this._gameData),this._gameData.evnts.gameId===this.options.gameId)&&setInterval(function(){O(this,t),this._send_gametag_data("heartbeat")}.bind(this),1e3*this._gameData.evnts.heartbeatDuration),nI.init(this),this._send_gametag_data("sdk_init"),this._executeMidrollPlus()}.bind(this)),this._registerSGBridge(),this._whichFrame(),this._loadLocus()}function SI(){return(SI=d(I.mark(function e(){var t,r=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,LE();case 2:if(e.sent){e.next=6;break}return console.log("locus-disabled on proxy level"),e.abrupt("return");case 6:t=["https://pm.azerioncircle.com/p/locus"],console.log("locus loading"),bn(t[0],"locus",{alternates:t}).catch(function(e){O(this,r),this._sendSDKError(e)}.bind(this));case 9:case"end":return e.stop()}},e,this)}))).apply(this,arguments)}function RI(e){return(e=function(t){var r=this;!function(){SI.apply(this,arguments)}();var e,n=function(o){var i=this;return O(this,r),new Promise(function(t,e){var r=this,n=(O(this,i),function(e){O(this,r),"SDK_GAME_START"===e.name&&(OI.off("sdk-event",n),t())}.bind(this));OI.on("sdk-event",n),h("showAd",{adType:o})}.bind(this))}.bind(this),o=function(){return O(this,r),e=e||new kI(t)}.bind(this),i=function(e){return O(this,r),n(e)}.bind(this),a=function(e){return O(this,r),"gdsdk://preloaded"}.bind(this),s=function(e){return O(this,r),o().showDisplayAd(e)}.bind(this),u=function(){return O(this,r),h("cancelAd")}.bind(this),c=function(){return O(this,r),h("openConsole")}.bind(this),l=function(){return O(this,r),h("showBanner")}.bind(this),d=function(){return O(this,r),h("session")}.bind(this),f=function(e){return O(this,r),h("sendGenericEvent",{options:e})}.bind(this),p=function(){O(this,r),console.log("_sendSDKReady")}.bind(this),h=function(n,o){var i=this;return O(this,r),o=o||{},new Promise(function(t,e){O(this,i);try{var r={type:"gd-sdk",method:n,options:o};window.parent.postMessage(r,"*"),t()}catch(e){console.log("gd:adp:m:s:error",e),t()}}.bind(this))}.bind(this),m=function(){O(this,r),window.addEventListener("message",function(e){var t=e.data,e=(e.origin,e.source,t.type),t=t.event;"gd-sdk-on-event"===e&&t&&v(t)},!1)}.bind(this),g=function(){O(this,r),m(),h("init")}.bind(this),v=function(e){O(this,r);try{OI.emit("sdk-event",e),t.onEvent&&t.onEvent(e)}catch(e){console.log("DEVELOPER ERROR on forwarder-sdk")}}.bind(this);return{showBanner:l,showAd:i,preloadAd:a,showDisplayAd:s,cancelAd:u,openConsole:c,getSession:d,onEvent:v,init:g,_sendSDKReady:p,sendGenericEvent:f}}(e)).init(),e}function DI(s){return function(e){for(var t,r=jI(e),n=PI(r),o=n.length,i=0,a=[];i<o;)t=n[i++],LI&&!UI(r,t)||$I(a,s?[t,r[t]]:r[t]);return a}}var TI,OI=new w.exports.EventEmitter,II="gd-sdk-frame-handshake-request",CI="gd-sdk-frame-handshake-response",MI=(TI=d(I.mark(function e(){var t,r,n,o,i;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ME();case 2:return t=e.sent,n=!t,e.next=6,function(i){var a=this;return new Promise(function(n,e){var t=this,r=(O(this,a),{type:II}),o=!1;window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=e.source,t=t.type;t===II?e.postMessage({type:CI},r):t===CI&&(o=!0,n({origin:r,source:e}))}),!i&&(setTimeout(function(){O(this,t),o||n()}.bind(this),200),window.parent!==window)?window.parent.postMessage(r,"*"):n()}.bind(this))}(n);case 6:if(r=e.sent,t){e.next=9;break}return e.abrupt("return",!1);case 9:return n=$O(),o=n.isMasterGameURL,n.isTokenGameURL,o=o(),e.next=13,PE();case 13:return i=e.sent,i=i?!o&&!!r:!o,e.abrupt("return",i);case 17:case"end":return e.stop()}},e)})),function(){return TI.apply(this,arguments)}),LI=Kn,NA=r,PI=Pu,jI=Es,UI=NA(Ps.f),$I=NA([].push),BI=(DI(!0),DI(!1));Is({target:"Object",stat:!0},{values:function(e){return BI(e)}});function NI(e){try{var t;e.skipForward||zI.source&&(t={type:"gd-sdk-on-event",event:e},zI.source.postMessage(t,zI.origin))}catch(e){console.log("gd-sdk forwardEvent err",e)}}function FI(e){t=e.onEvent,e.onEvent=function(e){NI(e),t.apply(this,arguments)};var t,s,e=new kI(e);return s=e,window.addEventListener("message",function(e){var n,t=e.data,r=e.origin,e=e.source,o=t.type,i=t.method,a=t.options;"gd-sdk-self"!==o?"gd-sdk"===o&&(zI.source||"init"!==i?(n=s[i])&&d(I.mark(function e(){var t,r=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,function(){O(this,r),"showAd"===i&&Nu.firstAdapterModeAdsense&&"rewarded"!==a.adType&&(console.log("promo-test, set first adapter to adssense 3"),a.params=a.params||{},a.params.adapter="adsense")}.bind(this),(t=n.apply(s,Object.values(a)))&&t.then)return e.next=6,t;e.next=6;break;case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log("gd:adp:m:r onFrameMessage error",e.t0);case 11:case"end":return e.stop()}},e,this,[[0,8]])}))():(zI={source:(t={source:e,origin:r}).source,origin:t.origin},ZI())):window.postMessage({type:"gd-sdk",method:i,options:a},location.origin)},!1),e}var GI,zI={},ZI=function(){NI({name:"SDK_READY",status:"success",message:"Everything is ready."}),NI({name:"SDK_GAME_START",status:"success",message:"Advertisement(s) are done. Start / resume the game."}),NI({name:"CONTENT_RESUME_REQUESTED",status:"success",message:"Fired when content should be resumed. This usually happens when an ad finishes or collapses."})};HI=d(I.mark(function e(n){var o;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0;var t=n;try{var r=Vk(t);t.gameId||r.send("nogameid",{message:"".concat(uv.parentURL)})}catch(t){}return vE=Vk(yE=n),e.next=5,MI();case 5:return o=e.sent,o=(o?RI:FI)(n),UE(),e.abrupt("return",o);case 11:return e.prev=11,e.t0=e.catch(0),console.log("gd:adp: sdk adaptor create failed, fallback to default adapter",e.t0),e.abrupt("return",FI(n));case 15:case"end":return e.stop()}},e,null,[[0,11]])}));var HI,KI={create:function(e){return HI.apply(this,arguments)}};function qI(){return(qI=d(I.mark(function e(t,n){var o;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((r=d(I.mark(function e(t,r){var n,o,i,a,s,u=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if($E)return e.abrupt("return",t(BE));e.next=4;break;case 4:$E=!0;case 5:return e.next=7,jE();case 7:if((n=e.sent).enabled){e.next=10;break}return e.abrupt("return",t(!1));case 10:if(o=n.loadedFlag,(i=n.loadedFlagCheck)&&!o)return e.abrupt("return",t(!1));e.next=13;break;case 13:if(i){e.next=16;break}return BE=!0,e.abrupt("return",t(!0));case 16:a=!0,setTimeout(function(){O(this,u),a&&t(!($E=!(a=!1)))}.bind(this),5e3),s=setInterval(function(){O(this,u),a&&i&&window[o]?(BE=$E=!(a=!1),clearInterval(s),t(!0)):a||clearInterval(s)}.bind(this),100);case 19:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)}));var r;case 2:e.sent?(e.t0=window.gdsdk,e.next=10):e.next=7;break;case 7:return e.next=9,WI(t);case 9:e.t0=e.sent;case 10:return o=e.t0,e.abrupt("return",n(o));case 12:case"end":return e.stop()}},e)}))).apply(this,arguments)}var VI=!1;function WI(o){var i=this;return new Promise(function(t,e){var r,n=this;if(O(this,i),GI)return t(GI);VI?r=setInterval(function(){O(this,n),GI&&(VI=!1,clearInterval(r),t(GI))}.bind(this),100):(VI=!0,KI.create(o).then(function(e){O(this,n),(GI=e)._sendSDKReady(),VI=!1,t(GI)}.bind(this)))}.bind(this))}window.addEventListener("load",function(){var t;RE.once("game-data-ready",(t=d(I.mark(function e(t){var r;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,e.t0=null!=uv&&uv.noLotamePageView,e.t0)return e.next=6,ME();e.next=7;break;case 6:e.t0=e.sent;case 7:if(e.t0)return e.abrupt("return");e.next=10;break;case 10:if(null!=(r=t.lotm)&&r.enabled){e.next=13;break}return e.abrupt("return");case 13:return e.next=16,bn(mT[0],"LOTCC_".concat(pT),{alternates:mT});case 16:"object"===U(window[hT])&&(fT=window[hT]),gT()&&function(e){var t=this;try{vT("act","play"),vT("med","game"),"complete"===document.readyState?fT.bcpf():fT.bcp(),e.tags.forEach(function(e){O(this,t),bT("int","tags : ".concat(e.title.toLowerCase()))}.bind(this)),bT("int","category : ".concat(e.category.toLowerCase()))}catch(e){}}(t),e.next=23;break;case 20:e.prev=20,e.t1=e.catch(1),e.t1;case 23:case"end":return e.stop()}},e,null,[[1,20]])})),function(e){return t.apply(this,arguments)}))});WI(YI=function(){var e={};try{"object"===("undefined"==typeof GD_OPTIONS?"undefined":U(GD_OPTIONS))&&GD_OPTIONS?e=GD_OPTIONS:window.gdApi&&"object"===U(window.gdApi.q[0][0])&&window.gdApi.q[0][0]&&((e=window.gdApi.q[0][0]).hasOwnProperty("advertisementSettings")||(e.advertisementSettings={autoplay:!0}))}catch(e){console.log("_get_developer_sets failed",e)}return e}());var YI,JI={invoke:function(e){return function(){return qI.apply(this,arguments)}(YI,e)}};function XI(){var r,t=this;this.AdType=g,this.preloadAd=function(t){var r=this;return JI.invoke(function(e){return O(this,r),e.preloadAd(t)}.bind(this))},this.showAd=(r=d(I.mark(function e(n,o){var i=this;return I.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",JI.invoke(function(e){var t,r=this;return O(this,i),n===g.Display?e.showDisplayAd(o):(t={},function(){O(this,r),Nu.firstAdapterModeAdsense&&(console.log("promo-test, set first adapter to adssense 2"),t.adapter="adsense")}.bind(this),e.showAd(n,t))}.bind(this)));case 1:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)}),this.cancelAd=function(){var t=this;return JI.invoke(function(e){return O(this,t),e.cancelAd()}.bind(this))},this.openConsole=function(){var t=this;return JI.invoke(function(e){return O(this,t),e.openConsole()}.bind(this))},this.getSession=function(){var t=this;return JI.invoke(function(e){return O(this,t),e.session()}.bind(this))},this.sendEvent=function(t){var r=this;return JI.invoke(function(e){return O(this,r),e.sendGenericEvent(t)}.bind(this))},this.leaderboard={show:function(){O(this,t),hg.showLeaderboard()}.bind(this),addScore:function(e){O(this,t),hg.addScore(e)}.bind(this)}}XI.prototype=new function(){this.showBanner=function(){var t=this;return JI.invoke(function(e){return O(this,t),e.showBanner()}.bind(this))},this.play=function(){},this.customLog=function(){}},window.gdsdk=new XI,window.gdApi=window.gdsdk}()}.call(this)}.call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{_process:5,buffer:3}],2:[function(e,t,r){"use strict";r.byteLength=function e(t){var t=d(t),r=t[0],t=t[1];return 3*(r+t)/4-t},r.toByteArray=function e(t){var r,n,o=d(t),i=o[0],o=o[1],a=new l(function e(t,r,n){return 3*(r+n)/4-n}(0,i,o)),s=0,u=0<o?i-4:i;for(n=0;n<u;n+=4)r=c[t.charCodeAt(n)]<<18|c[t.charCodeAt(n+1)]<<12|c[t.charCodeAt(n+2)]<<6|c[t.charCodeAt(n+3)],a[s++]=r>>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<s;a+=16383)i.push(function e(t,r,n){for(var o,i=[],a=r;a<n;a+=3)o=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),i.push(function e(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}(o));return i.join("")}(t,a,s<a+16383?s:a+16383));1==o?(r=t[n-1],i.push(u[r>>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<i;++o)u[o]=n[o],c[n.charCodeAt(o)]=o;function d(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],3:[function(I,e,C){!function(e){!function(){"use strict";var o=I("base64-js"),i=I("ieee754"),t=(C.Buffer=f,C.SlowBuffer=function e(t){+t!=t&&(t=0);return f.alloc(+t)},C.INSPECT_MAX_BYTES=50,2147483647);function a(e){if(t<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return e.__proto__=f.prototype,e}function f(e,t,r){if("number"!=typeof e)return n(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}function n(e,t,r){if("string"==typeof e)return function e(t,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var n=0|d(t,r),o=a(n),t=o.write(t,r);t!==n&&(o=o.slice(0,t));return o}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer))return function e(t,r,n){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);return t.__proto__=f.prototype,t}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return f.from(n,t,r);n=function e(t){{var r,n;if(f.isBuffer(t))return r=0|l(t.length),0!==(n=a(r)).length&&t.copy(n,0,0,r),n}if(void 0!==t.length)return"number"!=typeof t.length||O(t.length)?a(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(e);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return f.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return s(e),a(e<0?0:0|l(e))}function c(e){for(var t=e.length<0?0:0|l(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e){if(t<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return 0|e}function d(e,t){if(f.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>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<n)&&(n=o);for(var i="",a=r;a<n;++a)i+=function e(t){return t<16?"0"+t.toString(16):t.toString(16)}(t[a]);return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function e(t,r,n){var o="";n=Math.min(t.length,n);for(var i=r;i<n;++i)o+=String.fromCharCode(127&t[i]);return o}(this,t,r);case"latin1":case"binary":return function e(t,r,n){var o="";n=Math.min(t.length,n);for(var i=r;i<n;++i)o+=String.fromCharCode(t[i]);return o}(this,t,r);case"base64":return function e(t,r,n){return 0===r&&n===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(r,n))}(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function e(t,r,n){for(var o=t.slice(r,n),i="",a=0;a<o.length;a+=2)i+=String.fromCharCode(o[a]+256*o[a+1]);return i}(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function h(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),(r=(r=O(r=+r)?o?0:e.length-1:r)<0?e.length+r:r)>=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:m(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):m(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(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<a;l++)if(u(e,l)===u(t,-1===c?0:l-c)){if(l-(c=-1===c?l:c)+1===s)return c*i}else-1!==c&&(l-=l-c),c=-1;else for(l=r=a<r+s?a-s:r;0<=l;l--){for(var d=!0,f=0;f<s;f++)if(u(e,l+f)!==u(t,f)){d=!1;break}if(d)return l}return-1}function g(e,t,r,n){return D(function e(t){for(var r=[],n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}(t),e,r,n)}function v(e,t,r,n){return D(function e(t,r){for(var n,o,i=[],a=0;a<t.length&&!((r-=2)<0);++a)n=t.charCodeAt(a),o=n>>8,i.push(n%256),i.push(o);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<r;){var i,a,s,u,c=e[o],l=null,d=239<c?4:223<c?3:191<c?2:1;if(o+d<=r)switch(d){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&127<(u=(31&c)<<6|63&i)&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&2047<(u=(15&c)<<12|(63&i)<<6|63&a)&&(u<55296||57343<u)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&65535<(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)&&u<1114112&&(l=u)}null===l?(l=65533,d=1):65535<l&&(n.push((l-=65536)>>>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(;o<r;)n+=String.fromCharCode.apply(String,t.slice(o,o+=y));return n}(n)}C.kMaxLength=t,(f.TYPED_ARRAY_SUPPORT=function e(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),f.poolSize=8192,f.from=n,f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,f.alloc=function e(t,r,n){return s(t),!(t<=0)&&void 0!==r?"string"==typeof n?a(t).fill(r,n):a(t).fill(r):a(t)},f.allocUnsafe=u,f.allocUnsafeSlow=u,f.isBuffer=function e(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function e(t,r){if(T(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),T(r,Uint8Array)&&(r=f.from(r,r.offset,r.byteLength)),!f.isBuffer(t)||!f.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,o=r.length,i=0,a=Math.min(n,o);i<a;++i)if(t[i]!==r[i]){n=t[i],o=r[i];break}return n<o?-1:o<n?1:0},f.isEncoding=function e(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function e(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);if(void 0===r)for(i=r=0;i<t.length;++i)r+=t[i].length;for(var n=f.allocUnsafe(r),o=0,i=0;i<t.length;++i){var a=t[i];if(T(a,Uint8Array)&&(a=f.from(a)),!f.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function e(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)p(this,r,r+1);return this},f.prototype.swap32=function e(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)p(this,r,r+3),p(this,r+1,r+2);return this},f.prototype.swap64=function e(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)p(this,r,r+7),p(this,r+1,r+6),p(this,r+2,r+5),p(this,r+3,r+4);return this},f.prototype.toLocaleString=f.prototype.toString=function e(){var t=this.length;return 0===t?"":0===arguments.length?b(this,0,t):r.apply(this,arguments)},f.prototype.equals=function e(t){if(f.isBuffer(t))return this===t||0===f.compare(this,t);throw new TypeError("Argument must be a Buffer")},f.prototype.inspect=function e(){var t="",r=C.INSPECT_MAX_BYTES,t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim();return this.length>r&&(t+=" ... "),"<Buffer "+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<u;++d)if(c[d]!==l[d]){a=c[d],s=l[d];break}return a<s?-1:s<a?1:0},f.prototype.includes=function e(t,r,n){return-1!==this.indexOf(t,r,n)},f.prototype.indexOf=function e(t,r,n){return h(this,t,r,n,!0)},f.prototype.lastIndexOf=function e(t,r,n){return h(this,t,r,n,!1)},f.prototype.write=function e(t,r,n,o){if(void 0===r)o="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)o=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r>>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var i=this.length-r;if((void 0===n||i<n)&&(n=i),0<t.length&&(n<0||r<0)||r>this.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)/2<o&&(o=i/2);for(var a=0;a<o;++a){var s=parseInt(r.substr(2*a,2),16);if(O(s))return a;t[n+a]=s}return a}(this,t,r,n);case"utf8":case"utf-8":return function e(t,r,n,o){return D(S(r,t.length-n),t,n,o)}(this,t,r,n);case"ascii":return g(this,t,r,n);case"latin1":case"binary":return g(this,t,r,n);case"base64":return function e(t,r,n,o){return D(R(r),t,n,o)}(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},f.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var y=4096;function _(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,i){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<t||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.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 k(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<t&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):n<r&&(r=n),r<t&&(r=t),this.subarray(t,r));return n.__proto__=f.prototype,n},f.prototype.readUIntLE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t],i=1,a=0;++a<r&&(i*=256);)o+=this[t+a]*i;return o},f.prototype.readUIntBE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t+--r],i=1;0<r&&(i*=256);)o+=this[t+--r]*i;return o},f.prototype.readUInt8=function e(t,r){return t>>>=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<r&&(i*=256);)o+=this[t+a]*i;return(i*=128)<=o&&(o-=Math.pow(2,8*r)),o},f.prototype.readIntBE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=r,i=1,a=this[t+--o];0<o&&(i*=256);)a+=this[t+--o]*i;return(i*=128)<=a&&(a-=Math.pow(2,8*r)),a},f.prototype.readInt8=function e(t,r){return t>>>=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<n&&(i*=256);)this[r+a]=t/i&255;return r+n},f.prototype.writeUIntBE=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=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<n&&(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.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 k(this,t,r,!0,n)},f.prototype.writeDoubleBE=function e(t,r,n){return k(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<o&&o<n?n:o)===n)return 0;if(0===t.length||0===this.length)return 0;if((r=r||0)<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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<o-n?t.length-r+n:o)-n;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,n,o);else if(this===t&&n<r&&r<o)for(var a=i-1;0<=a;--a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,o),r);return i},f.prototype.fill=function e(t,r,n,o){if("string"==typeof t){if("string"==typeof r?(o=r,r=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!f.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var i;1===t.length&&(i=t.charCodeAt(0),"utf8"===o&&i<128||"latin1"===o)&&(t=i)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");var a;if(!(n<=r))if(r>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(t=t||0))for(a=r;a<n;++a)this[a]=t;else{var s=f.isBuffer(t)?t:f.from(t,o),u=s.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=s[a%u]}return this};var E=/[^+/0-9A-Za-z-_]/g;function S(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if(55295<(r=e.charCodeAt(a))&&r<57344){if(!o){if(56319<r){-1<(t-=3)&&i.push(239,191,189);continue}if(a+1===n){-1<(t-=3)&&i.push(239,191,189);continue}o=r;continue}if(r<56320){-1<(t-=3)&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&-1<(t-=3)&&i.push(239,191,189);if(o=null,r<128){if(--t<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>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(E,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function D(e,t,r,n){for(var o=0;o<n&&!(o+r>=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,I("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<<s)-1,c=u>>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;i=256*i+e[t+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;0<l;a=256*a+e[t+d],d+=f,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(o?-1:1);a+=Math.pow(2,n),i-=c}return(o?-1:1)*a*Math.pow(2,i-n)},r.write=function(e,t,r,n,o,i){var a,s,u=8*i-o-1,c=(1<<u)-1,l=c>>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<<o|s,u+=o;0<u;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*i}},{}],5:[function(e,t,r){var n,o,t=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length)&&p()}function p(){if(!l){for(var e=s(f),t=(l=!0,c.length);t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,!function e(t){if(o===clearTimeout)return clearTimeout(t);if((o===a||!o)&&clearTimeout)return(o=clearTimeout)(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}t.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=m,t.addListener=m,t.once=m,t.off=m,t.removeListener=m,t.removeAllListeners=m,t.emit=m,t.prependListener=m,t.prependOnceListener=m,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},{}],6:[function(e,t,r){"use strict";e("@bygd/gd-sdk-pes/dist/default")},{"@bygd/gd-sdk-pes/dist/default":1}]},{},[6]);