-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.min.js
More file actions
10 lines (10 loc) · 407 KB
/
main.min.js
File metadata and controls
10 lines (10 loc) · 407 KB
1
2
3
4
5
6
7
8
9
10
/*
* Project: UNO LION GAMES
NAMA ASLI PEMBUAT : DWI BAKTI N DEVO
INFO : SAYA MEMBUAT GAME INI UNTUK KALIAN DAN TIDAK ADA PENDAPATAN BIAYA SEPESERPUN
* Description: game ini di buat oleh saya dev dan masih banyak bug di dalamnya untuk online kalian masih bisa memainkan dan multiplayer bersama teman kalian jangan khawatir dan jga kalian jangan lupa download game saya ini kalian bisa memakai mod yang bisa kalian cba tetapi ada data yang saya binar kan agar tetap terjaga data keamannan yang saya gunakan project ini jga untuk kalian yang gabut aja yang pasti seru dan ga terlalu gampang banget ini game nya jadi maklum klo terdapat banyak bug di dalamnya
* Development By: DWI BAKTI N DEV
* Copyright(c): 2024 DWI BAKTI N DEV
* Version: 1.27.15 (20-06-2024 08:30)
*/
!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(r9,n9){!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 p(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 A(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}function B(e){return(B="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 U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r9?r9:"undefined"!=typeof self?self:{};var e={exports:{}},t=function(a){var u,e=Object.prototype,c=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function i(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(a){i=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o,i,a,s,t=t&&t.prototype instanceof m?t:m,t=Object.create(t.prototype),n=new E(n||[]);return t._invoke=(o=e,i=r,a=n,s=d,function(e,t){if(s===p)throw new Error("Generator is already running");if(s===h){if("throw"===e)throw t;return R()}for(a.method=e,a.arg=t;;){var r=a.delegate;if(r){r=function e(t,r){var n=t.iterator[r.method];if(n===u){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=u,e(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}n=l(n,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;n=n.arg;return n?n.done?(r[t.resultName]=n.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,g):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}(r,a);if(r){if(r===g)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===d)throw s=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=p;r=l(o,i,a);if("normal"===r.type){if(s=a.done?h:f,r.arg===g)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s=h,a.method="throw",a.arg=r.arg)}}),t}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",g={};function m(){}function v(){}function b(){}var t={},y=(i(t,n,function(){return this}),Object.getPrototypeOf),y=y&&y(y(S([]))),_=(y&&y!==e&&c.call(y,n)&&(t=y),b.prototype=m.prototype=Object.create(t));function w(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function A(a,s){var t;this._invoke=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"==typeof r&&c.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 x(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(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(c.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=u,e.done=!0,e}).next=e}return{next:R}}function R(){return{value:u,done:!0}}return i(_,"constructor",v.prototype=b),i(b,"constructor",v),v.displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,o,"GeneratorFunction")),e.prototype=Object.create(_),e},a.awrap=function(e){return{__await:e}},w(A.prototype),i(A.prototype,r,function(){return this}),a.AsyncIterator=A,a.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var i=new A(s(e,t,r,n),o);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},w(_),i(_,o,"Generator"),i(_,n,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),a.keys=function(r){var e,n=[];for(e in r)n.push(e);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=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=u)},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=u),!!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=c.call(o,"catchLoc"),s=c.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&&c.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,g):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),g},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),k(r),g}},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,k(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=u),g}},a}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}var h=e.exports,$={},N=Object.prototype.hasOwnProperty;function F(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function G(e){try{return encodeURIComponent(e)}catch(e){return null}}$.stringify=function(e,t){var r,n,o=[];for(n in"string"!=typeof(t=t||"")&&(t="?"),e)if(N.call(e,n)){if((r=e[n])||null!=r&&!isNaN(r)||(r=""),n=G(n),r=G(r),null===n||null===r)continue;o.push(n+"="+r)}return o.length?t+o.join("&"):""},$.parse=function(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={};o=t.exec(e);){var n=F(o[1]),o=F(o[2]);null===n||null===o||n in r||(r[n]=o)}return r};function z(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 Z=$,H=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,K=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,W=/^[a-zA-Z]:/,V=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function q(e){return(e||"").toString().replace(V,"")}var Y=[["#","hash"],["?","query"],function(e,t){return Q(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]],X={hash:1,query:1};function J(e){var t,r=("undefined"!=typeof window?window:void 0!==U?U:"undefined"!=typeof self?self:{}).location||{},n={},r=typeof(e=e||r);if("blob:"===e.protocol)n=new te(unescape(e.pathname),{});else if("string"==r)for(t in n=new te(e,{}),X)delete n[t];else if("object"==r){for(t in e)t in X||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=H.test(e.href))}return n}function Q(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function ee(e,t){e=q(e),t=t||{};var r,e=K.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)):Q(n)?r=e[4]:n?o&&(r=r.slice(2)):2<=a&&Q(t.protocol)&&(r=e[4]),{protocol:n,slashes:o||Q(n),slashesCount:a,rest:r}}function te(e,t,r){if(e=q(e),!(this instanceof te))return new te(e,t,r);var n,o,i,a,s,u=Y.slice(),c=typeof t,l=this,d=0;for("object"!=c&&"string"!=c&&(r=t,t=null),r&&"function"!=typeof r&&(r=Z.parse),n=!(c=ee(e||"",t=J(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||W.test(e))||!c.slashes&&(c.protocol||c.slashesCount<2||!Q(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=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)&&Q(l.protocol)&&(l.pathname="/"+l.pathname),z(l.port,l.protocol)||(l.host=l.hostname,l.port=""),l.username=l.password="",l.auth&&(i=l.auth.split(":"),l.username=i[0]||"",l.password=i[1]||""),l.origin="file:"!==l.protocol&&Q(l.protocol)&&l.host?l.protocol+"//"+l.host:"null",l.href=l.toString()}te.prototype={set:function(e,t,r){var n,o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||Z.parse)(t)),o[e]=t;break;case"port":o[e]=t,z(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,/:\d+$/.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!r;break;case"pathname":case"hash":t?(n="pathname"===e?"/":"#",o[e]=t.charAt(0)!==n?n+t:t):o[e]=t;break;default:o[e]=t}for(var i=0;i<Y.length;i++){var a=Y[i];a[4]&&(o[a[1]]=o[a[1]].toLowerCase())}return o.origin="file:"!==o.protocol&&Q(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=Z.stringify);var t=this,r=t.protocol,r=(r&&":"!==r.charAt(r.length-1)&&(r+=":"),r+(t.slashes||Q(t.protocol)?"//":""));return t.username&&(r+=t.username,t.password&&(r+=":"+t.password),r+="@"),r+=t.host+t.pathname,(e="object"==typeof t.query?e(t.query):t.query)&&(r+="?"!==e.charAt(0)?"?"+e:e),t.hash&&(r+=t.hash),r}},te.extractProtocol=ee,te.location=J,te.trimLeft=q,te.qs=Z;var re=te;function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(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,n.key,n)}}function ie(e,t,r){t&&oe(e.prototype,t),r&&oe(e,r)}var ae,se,ue,ce,le,de,fe,pe,he,ge,me,ve,be,ye,_e,we,Ae,xe,ke,Ee,Se,Re,De,Oe,Te,Me,Ie,Ce,Le,Pe,je,Be,Ue,$e,Ne,Fe,Ge,ze,Ze,He,Ke,We,Ve,qe,Ye,Xe,Je,Qe,et,tt,rt,nt,ot,it,at,t={exports:{}};function st(e,t){return e.set(t[0],t[1]),e}function ut(e,t){return e.add(t),e}function ct(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 lt(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function dt(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function ft(t,r){return function(e){return t(r(e))}}function pt(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function ht(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 gt(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 mt(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 vt(e){this.__data__=new gt(e)}function bt(e,t){var r,n,o,i=it(e)||(n=r=e)&&"object"==typeof n&&Ot(n)&&Ne.call(r,"callee")&&(!Ke.call(r,"callee")||Fe.call(r)==ue)?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&&!Ne.call(e,o)||s&&("length"==o||function e(t,r){return(r=null==r?se:r)&&("number"==typeof t||Pe.test(t))&&-1<t&&t%1==0&&t<r}(o,a))||i.push(o);return i}function yt(e,t,r){var n=e[t];Ne.call(e,t)&&Dt(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function _t(e,t){for(var r=e.length;r--;)if(Dt(e[r][0],t))return r;return-1}function wt(u,e,t,r,n,o,i){var a;if(void 0!==(a=r?o?r(u,n,o,i):r(u):a))return a;if(!Mt(u))return u;var s,n=it(u);if(n){if(h=(g=u).length,m=g.constructor(h),h&&"string"==typeof g[0]&&Ne.call(g,"index")&&(m.index=g.index,m.input=g.input),a=m,!e){var c=u;var l=a;var d=-1,f=c.length;for(l=l||Array(f);++d<f;)l[d]=c[d];return l;return}}else{var p=ot(u),h=p==de||p==fe;if(at(u)){var g=u;if(e)return g.slice();var m=new g.constructor(g.length);return g.copy(m),m;return}if(p==ge||p==ue||h&&!o){if(lt(u))return o?u:{};if(a="function"!=typeof(b=h?{}:u).constructor||St(b)?{}:Mt(b=Ze(b))?He(b):{},!e)return b=u,s=(s=a)&&xt(u,It(u),s),xt(b,nt(b),s)}else{if(!je[p])return o?u:{};a=function(e,t,r){var n,o,i,a,s=e.constructor;switch(p){case Ae:return At(e);case ce:case le:return new s(+e);case xe:return i=e,a=r?At(i.buffer):i.buffer,new i.constructor(a,i.byteOffset,i.byteLength);case ke:case Ee:case Se:case Re:case De:case Oe:case Te:case Me:case Ie:return a=e,i=r?At(a.buffer):a.buffer,new a.constructor(i,a.byteOffset,a.length);case pe:return o=e,ct(r?t(dt(o),!0):dt(o),st,new o.constructor);case he:case ye:return new s(e);case ve:return(n=new(o=e).constructor(o.source,Ce.exec(o))).lastIndex=o.lastIndex,n;case be:return n=e,ct(r?t(pt(n),!0):pt(n),ut,new n.constructor);case _e:return rt?Object(rt.call(e)):{}}}(u,wt,e)}}var v,b=(i=i||new vt).get(u);if(b)return b;i.set(u,a);for(var y,_,w=(v=n?v:t?function(){var e=u,t=nt,r=It(e);if(it(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}():It(u))||u,A=-1,x=w?w.length:0;++A<x&&!1!==(y=w[A],_=A,v&&(y=u[_=y]),void yt(a,_,wt(y,e,t,r,_,u,i))););return a}function At(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function xt(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;yt(r,a,void 0===s?e[a]:s)}return r}function kt(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 Et(e,t){e=null==e?void 0:e[t];return function e(t){return Mt(t)&&!(Ue&&Ue in t)&&(Tt(t)||lt(t)?Ge:Le).test(Rt(t))}(e)?e:void 0}function St(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Be)}function Rt(e){if(null!=e){try{return $e.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Dt(e,t){return e===t||e!=e&&t!=t}function Ot(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=se)&&!Tt(e);var t}function Tt(e){e=Mt(e)?Fe.call(e):"";return e==de||e==fe}function Mt(e){var t=typeof e;return e&&("object"==t||"function"==t)}function It(e){return(Ot(e)?bt:function(e){if(!St(e))return Ve(e);var t,r=[];for(t in Object(e))Ne.call(e,t)&&"constructor"!=t&&r.push(t);return r})(e)}n=(e=t).exports,ae="__lodash_hash_undefined__",se=9007199254740991,ce="[object Boolean]",le="[object Date]",de="[object Function]",fe="[object GeneratorFunction]",pe="[object Map]",he="[object Number]",ge="[object Object]",me="[object Promise]",ve="[object RegExp]",be="[object Set]",ye="[object String]",_e="[object Symbol]",we="[object WeakMap]",Ae="[object ArrayBuffer]",xe="[object DataView]",ke="[object Float32Array]",Ee="[object Float64Array]",Se="[object Int8Array]",Re="[object Int16Array]",De="[object Int32Array]",Oe="[object Uint8Array]",Te="[object Uint8ClampedArray]",Me="[object Uint16Array]",Ie="[object Uint32Array]",Ce=/\w*$/,Le=/^\[object .+?Constructor\]$/,Pe=/^(?:0|[1-9]\d*)$/,(je={})[ue="[object Arguments]"]=je["[object Array]"]=je[Ae]=je[xe]=je[ce]=je[le]=je[ke]=je[Ee]=je[Se]=je[Re]=je[De]=je[pe]=je[he]=je[ge]=je[ve]=je[be]=je[ye]=je[_e]=je[Oe]=je[Te]=je[Me]=je[Ie]=!0,je["[object Error]"]=je[de]=je[we]=!1,l="object"==typeof U&&U&&U.Object===Object&&U,Pn="object"==typeof self&&self&&self.Object===Object&&self,l=l||Pn||Function("return this")(),Pn=n&&!n.nodeType&&n,n=(n=Pn&&e&&!e.nodeType&&e)&&n.exports===Pn,Pn=Array.prototype,r=Function.prototype,Be=Object.prototype,f=l["__core-js_shared__"],Ue=(f=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",$e=r.toString,Ne=Be.hasOwnProperty,Fe=Be.toString,Ge=RegExp("^"+$e.call(Ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=n?l.Buffer:void 0,r=l.Symbol,ze=l.Uint8Array,Ze=ft(Object.getPrototypeOf,Object),He=Object.create,Ke=Be.propertyIsEnumerable,We=Pn.splice,n=Object.getOwnPropertySymbols,Pn=f?f.isBuffer:void 0,Ve=ft(Object.keys,Object),f=Et(l,"DataView"),qe=Et(l,"Map"),m=Et(l,"Promise"),d=Et(l,"Set"),l=Et(l,"WeakMap"),Ye=Et(Object,"create"),Xe=Rt(f),Je=Rt(qe),Qe=Rt(m),et=Rt(d),tt=Rt(l),r=r?r.prototype:void 0,rt=r?r.valueOf:void 0,ht.prototype.clear=function(){this.__data__=Ye?Ye(null):{}},ht.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ht.prototype.get=function(e){var t,r=this.__data__;return Ye?(t=r[e])===ae?void 0:t:Ne.call(r,e)?r[e]:void 0},ht.prototype.has=function(e){var t=this.__data__;return Ye?void 0!==t[e]:Ne.call(t,e)},ht.prototype.set=function(e,t){return this.__data__[e]=Ye&&void 0===t?ae:t,this},gt.prototype.clear=function(){this.__data__=[]},gt.prototype.delete=function(e){var t=this.__data__,e=_t(t,e);return!(e<0||(e==t.length-1?t.pop():We.call(t,e,1),0))},gt.prototype.get=function(e){var t=this.__data__,e=_t(t,e);return e<0?void 0:t[e][1]},gt.prototype.has=function(e){return-1<_t(this.__data__,e)},gt.prototype.set=function(e,t){var r=this.__data__,n=_t(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},mt.prototype.clear=function(){this.__data__={hash:new ht,map:new(qe||gt),string:new ht}},mt.prototype.delete=function(e){return kt(this,e).delete(e)},mt.prototype.get=function(e){return kt(this,e).get(e)},mt.prototype.has=function(e){return kt(this,e).has(e)},mt.prototype.set=function(e,t){return kt(this,e).set(e,t),this},vt.prototype.clear=function(){this.__data__=new gt},vt.prototype.delete=function(e){return this.__data__.delete(e)},vt.prototype.get=function(e){return this.__data__.get(e)},vt.prototype.has=function(e){return this.__data__.has(e)},vt.prototype.set=function(e,t){var r=this.__data__;if(r instanceof gt){var n=r.__data__;if(!qe||n.length<199)return n.push([e,t]),this;r=this.__data__=new mt(n)}return r.set(e,t),this},nt=n?ft(n,Object):function(){return[]},ot=function(e){return Fe.call(e)},(f&&ot(new f(new ArrayBuffer(1)))!=xe||qe&&ot(new qe)!=pe||m&&ot(m.resolve())!=me||d&&ot(new d)!=be||l&&ot(new l)!=we)&&(ot=function(e){var t=Fe.call(e),e=t==ge?e.constructor:void 0,e=e?Rt(e):void 0;if(e)switch(e){case Xe:return xe;case Je:return pe;case Qe:return me;case et:return be;case tt:return we}return t}),it=Array.isArray,at=Pn||function(){return!1},e.exports=function(e){return wt(e,!0,!0)};var Ct=t.exports;function Lt(e){return"[object Object]"===Object.prototype.toString.call(e)}function Pt(e){return!1!==Lt(e)&&(void 0===(e=e.constructor)||!1!==Lt(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf"))}function jt(e){var t;if(e)return t=Zt.call(e),"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}var Bt,Ut,$t=String.prototype.valueOf,Nt=Object.prototype.toString,Ft=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;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,Gt=Object.prototype.toString,zt=r||function(e){return!!e&&"[object Array]"==Gt.call(e)},Zt=Object.prototype.toString,Ht="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ht&&Ht,Kt="URLSearchParams"in Ht,Wt="Symbol"in Ht&&"iterator"in Symbol,Vt="FileReader"in Ht&&"Blob"in Ht&&function(){try{return new Blob,!0}catch(e){return!1}}(),qt="FormData"in Ht,Yt="ArrayBuffer"in Ht;function Xt(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 Jt(e){return e="string"!=typeof e?String(e):e}function Qt(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Wt&&(e[Symbol.iterator]=function(){return e}),e}function er(t){this.map={},t instanceof er?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 tr(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function rr(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function nr(e){var t=new FileReader,r=rr(t);return t.readAsArrayBuffer(e),r}function or(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ir(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Vt&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:qt&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Kt&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Yt&&Vt&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=or(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Yt&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ut(e))?this._bodyArrayBuffer=or(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):Kt&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Vt&&(this.blob=function(){var e=tr(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?tr(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(nr)}),this.text=function(){var e,t,r=tr(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=rr(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)},qt&&(this.formData=function(){return this.text().then(ur)}),this.json=function(){return this.text().then(JSON.parse)},this}Yt&&(Bt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Ut=ArrayBuffer.isView||function(e){return e&&-1<Bt.indexOf(Object.prototype.toString.call(e))}),er.prototype.append=function(e,t){e=Xt(e),t=Jt(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},er.prototype.delete=function(e){delete this.map[Xt(e)]},er.prototype.get=function(e){return e=Xt(e),this.has(e)?this.map[e]:null},er.prototype.has=function(e){return this.map.hasOwnProperty(Xt(e))},er.prototype.set=function(e,t){this.map[Xt(e)]=Jt(t)},er.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},er.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Qt(r)},er.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Qt(t)},er.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Qt(r)},Wt&&(er.prototype[Symbol.iterator]=er.prototype.entries);var ar=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function sr(e,t){if(!(this instanceof sr))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 sr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new er(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 er(t.headers)),this.method=(e=t.method||this.method||"GET",r=e.toUpperCase(),-1<ar.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 ur(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 cr(e,t){if(!(this instanceof cr))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 er(t.headers),this.url=t.url||"",this._initBody(e)}sr.prototype.clone=function(){return new sr(this,{body:this._bodyInit})},ir.call(sr.prototype),ir.call(cr.prototype),cr.prototype.clone=function(){return new cr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new er(this.headers),url:this.url})},cr.error=function(){var e=new cr(null,{status:0,statusText:""});return e.type="error",e};var lr=[301,302,303,307,308],dr=(cr.redirect=function(e,t){if(-1===lr.indexOf(t))throw new RangeError("Invalid status code");return new cr(null,{status:t,headers:{location:e}})},Ht.DOMException);try{new dr}catch(j){(dr=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),dr.prototype.constructor=dr}function fr(n,a){return new Promise(function(o,e){var t=new sr(n,a);if(t.signal&&t.signal.aborted)return e(new dr("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 er,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 cr(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 dr("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&Ht.location.href?Ht.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&&(Vt?i.responseType="blob":Yt&&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 er?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,Jt(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)})}fr.polyfill=!0,Ht.fetch||(Ht.fetch=fr,Ht.Headers=er,Ht.Request=sr,Ht.Response=cr);var pr,hr,gr,mr,vr,br,yr,_r,wr,Ar,n={exports:{}};function xr(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t}function kr(e,t){return typeof e===yr&&-1!==_r(t).indexOf(_r(e))}function Er(e,t){if(typeof e===yr)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t==vr?e:e.substring(0,255)}function Sr(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;)if(i=u[l++].exec(e))for(n=0;n<c.length;n++)a=i[++r],typeof(o=c[n])===br&&0<o.length?2===o.length?typeof o[1]==mr?this[o[0]]=o[1].call(this,a):this[o[0]]=o[1]:3===o.length?typeof o[1]!==mr||o[1].exec&&o[1].test?this[o[0]]=a?a.replace(o[1],o[2]):hr:this[o[0]]=a?o[1].call(this,a,o[2]):hr:4===o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):hr):this[o]=a||hr;s+=2}}function Rr(e,t){for(var r in t)if(typeof t[r]===br&&0<t[r].length){for(var n=0;n<t[r].length;n++)if(kr(t[r][n],e))return"?"===r?hr:r}else if(kr(t[r],e))return"?"===r?hr:r;return e}function Dr(e,t){if(typeof e===br&&(t=e,e=hr),!(this instanceof Dr))return new Dr(e,t).getResult();var r=e||(typeof pr!=vr&&pr.navigator&&pr.navigator.userAgent?pr.navigator.userAgent:""),n=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}(wr,t):wr;return this.getBrowser=function(){var e,t={};return t.name=hr,t.version=hr,Sr.call(t,r,n.browser),t.major=typeof(e=t.version)===yr?e.replace(/[^\d\.]/g,"").split(".")[0]:hr,t},this.getCPU=function(){var e={};return e.architecture=hr,Sr.call(e,r,n.cpu),e},this.getDevice=function(){var e={};return e.vendor=hr,e.model=hr,e.type=hr,Sr.call(e,r,n.device),e},this.getEngine=function(){var e={};return e.name=hr,e.version=hr,Sr.call(e,r,n.engine),e},this.getOS=function(){var e={};return e.name=hr,e.version=hr,Sr.call(e,r,n.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 r},this.setUA=function(e){return r=typeof e===yr&&255<e.length?Er(e,255):e,this},this.setUA(r),this}m=(f=n).exports,pr="object"==typeof window?window:U,mr="function",vr="undefined",br="object",yr="string",wr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d="version",[l="name","Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[d,[l,"Opera"]],[/(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|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],d],[/\bfocus\/([\w\.]+)/i],[d,[l,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[d,[l,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[d,[l,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,Pn="Facebook"],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,Rr,{"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],[l,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,"Firefox 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],[l,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[e="architecture","amd64"]],[/(ia32(?=;))/i],[[e,_r=function(e){return e.toLowerCase()}]],[/((?:i[346]|x)86)[;\)]/i],[[e,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[e,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[e,"armhf"]],[/windows (ce|mobile); ppc;/i],[[e,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[e,/ower/,"",_r]],[/(sun4\w)[;\)]/i],[[e,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[e,_r]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t="model",[r="vendor",bo="Samsung"],[i="type",c="tablet"]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[t,[r,bo],[i,s="mobile"]],[/\((ip(?:hone|od)[\w ]*);/i],[t,[r,"Apple"],[i,s]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[r,"Apple"],[i,c]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[t,[r,"Huawei"],[i,c]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[t,[r,"Huawei"],[i,s]],[/\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)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[t,/_/g," "],[r,"Xiaomi"],[i,s]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[t,/_/g," "],[r,"Xiaomi"],[i,c]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[r,"OPPO"],[i,s]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[r,"Vivo"],[i,s]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[t,[r,"Realme"],[i,s]],[/\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],[t,[r,o="Motorola"],[i,s]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[r,o],[i,c]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[r,"LG"],[i,c]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[r,"LG"],[i,s]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[t,[r,"Lenovo"],[i,c]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[t,/_/g," "],[r,"Nokia"],[i,s]],[/(pixel c)\b/i],[t,[r,o="Google"],[i,c]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[r,o],[i,s]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[r,u="Sony"],[i,s]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[r,u],[i,c]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[r,"OnePlus"],[i,s]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[r,Bn="Amazon"],[i,c]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[r,Bn],[i,s]],[/(playbook);[-\w\),; ]+(rim)/i],[t,r,[i,c]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[r,Un="BlackBerry"],[i,s]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[r,"ASUS"],[i,c]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[r,"ASUS"],[i,s]],[/(nexus 9)/i],[t,[r,"HTC"],[i,c]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[r,[t,/_/g," "],[i,s]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[r,"Acer"],[i,c]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[r,"Meizu"],[i,s]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[r,"Sharp"],[i,s]],[/(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],[r,t,[i,s]],[/(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],[r,t,[i,c]],[/(surface duo)/i],[t,[r,lo="Microsoft"],[i,c]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[r,"Fairphone"],[i,s]],[/(u304aa)/i],[t,[r,"AT&T"],[i,s]],[/\bsie-(\w*)/i],[t,[r,"Siemens"],[i,s]],[/\b(rct\w+) b/i],[t,[r,"RCA"],[i,c]],[/\b(venue[\d ]{2,7}) b/i],[t,[r,"Dell"],[i,c]],[/\b(q(?:mv|ta)\w+) b/i],[t,[r,"Verizon"],[i,c]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[r,"Barnes & Noble"],[i,c]],[/\b(tm\d{3}\w+) b/i],[t,[r,"NuVision"],[i,c]],[/\b(k88) b/i],[t,[r,"ZTE"],[i,c]],[/\b(nx\d{3}j) b/i],[t,[r,"ZTE"],[i,s]],[/\b(gen\d{3}) b.+49h/i],[t,[r,"Swiss"],[i,s]],[/\b(zur\d{3}) b/i],[t,[r,"Swiss"],[i,c]],[/\b((zeki)?tb.*\b) b/i],[t,[r,"Zeki"],[i,c]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[r,"Dragon Touch"],t,[i,c]],[/\b(ns-?\w{0,9}) b/i],[t,[r,"Insignia"],[i,c]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[r,"NextBook"],[i,c]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[r,"Voice"],t,[i,s]],[/\b(lvtel\-)?(v1[12]) b/i],[[r,"LvTel"],t,[i,s]],[/\b(ph-1) /i],[t,[r,"Essential"],[i,s]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[r,"Envizen"],[i,c]],[/\b(trio[-\w\. ]+) b/i],[t,[r,"MachSpeed"],[i,c]],[/\btu_(1491) b/i],[t,[r,"Rotor"],[i,c]],[/(shield[\w ]+) b/i],[t,[r,"Nvidia"],[i,c]],[/(sprint) (\w+)/i],[r,t,[i,s]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[r,lo],[i,s]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[r,Ln="Zebra"],[i,c]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[r,Ln],[i,s]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[r,t,[i,a="console"]],[/droid.+; (shield) bui/i],[t,[r,"Nvidia"],[i,a]],[/(playstation [345portablevi]+)/i],[t,[r,u],[i,a]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[r,lo],[i,a]],[/smart-tv.+(samsung)/i],[r,[i,u="smarttv"]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[r,bo],[i,u]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[r,"LG"],[i,u]],[/(apple) ?tv/i],[r,[t,"Apple TV"],[i,u]],[/crkey/i],[[t,"Chromecast"],[r,o],[i,u]],[/droid.+aft(\w)( bui|\))/i],[t,[r,Bn],[i,u]],[/\(dtv[\);].+(aquos)/i],[t,[r,"Sharp"],[i,u]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[r,Er],[t,Er],[i,u]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,u]],[/((pebble))app/i],[r,t,[i,lo="wearable"]],[/droid.+; (glass) \d/i],[t,[r,o],[i,lo]],[/droid.+; (wt63?0{2,3})\)/i],[t,[r,Ln],[i,lo]],[/(quest( 2)?)/i],[t,[r,Pn],[i,lo]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[r,[i,bo="embedded"]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[t,[i,s]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[i,c]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,c]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[i,s]],[/(android[-\w\. ]{0,9});.+buil/i],[t,[r,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[l,"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],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[d,Rr,Bn={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],[[l,"Windows"],[d,Rr,Bn]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,Un]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(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],[l,d],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,d]]},Dr.VERSION="0.7.31",Dr.BROWSER=xr([l,d,"major"]),Dr.CPU=xr([e]),Dr.DEVICE=xr([t,r,i,a,s,u,c,lo,bo]),Dr.ENGINE=Dr.OS=xr([l,d]),(m=f.exports?f.exports=Dr:m).UAParser=Dr,(Ar=typeof pr!=vr&&(pr.jQuery||pr.Zepto))&&!Ar.ua&&(gr=new Dr,Ar.ua=gr.getResult(),Ar.ua.get=function(){return gr.getUA()},Ar.ua.set=function(e){gr.setUA(e);var t,r=gr.getResult();for(t in r)Ar.ua[t]=r[t]});var Or=n.exports;const Tr="function"==typeof atob,Mr="function"==typeof btoa,Ir="function"==typeof n9,Cr="function"==typeof TextDecoder?new TextDecoder:void 0,Lr="function"==typeof TextEncoder?new TextEncoder:void 0,Pr=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),jr=(e=>{let r={};return e.forEach((e,t)=>r[e]=t),r})(Pr),Br=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ur=String.fromCharCode.bind(String),$r="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(e,t=e=>e)=>new Uint8Array(Array.prototype.slice.call(e,0).map(t)),Nr=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Fr=Mr?e=>btoa(e):Ir?e=>n9.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+=Pr[r>>18&63]+Pr[r>>12&63]+Pr[r>>6&63]+Pr[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a},Gr=Ir?e=>n9.from(e).toString("base64"):r=>{let n=[];for(let e=0,t=r.length;e<t;e+=4096)n.push(Ur.apply(null,r.subarray(e,e+4096)));return Fr(n.join(""))},zr=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ur(192|t>>>6)+Ur(128|63&t):Ur(224|t>>>12&15)+Ur(128|t>>>6&63)+Ur(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ur(240|t>>>18&7)+Ur(128|t>>>12&63)+Ur(128|t>>>6&63)+Ur(128|63&t)},Zr=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Hr=Ir?e=>n9.from(e,"utf8").toString("base64"):Lr?e=>Gr(Lr.encode(e)):e=>Fr((e=>e.replace(Zr,zr))(e)),Kr=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Wr=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 Ur(55296+(t>>>10))+Ur(56320+(1023&t));case 3:return Ur((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ur((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Vr=Tr?e=>atob(Nr(e)):Ir?e=>n9.from(e,"base64").toString("binary"):t=>{if(t=t.replace(/\s+/g,""),!Br.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=jr[t.charAt(e++)]<<18|jr[t.charAt(e++)]<<12|(n=jr[t.charAt(e++)])<<6|(o=jr[t.charAt(e++)]),i+=64===n?Ur(r>>16&255):64===o?Ur(r>>16&255,r>>8&255):Ur(r>>16&255,r>>8&255,255&r);return i},qr=Ir?e=>$r(n9.from(e,"base64")):e=>$r(Vr(e),e=>e.charCodeAt(0)),Yr=Ir?e=>n9.from(e,"base64").toString("utf8"):Cr?e=>Cr.decode(qr(e)):e=>(e=>e.replace(Kr,Wr))(Vr(e)),Xr=(e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))(Hr(e)):Hr(e),Jr=e=>Yr((e=>Nr(e.replace(/[-_]/g,e=>"-"==e?"+":"/")))(e));var g={Rewarded:"rewarded",Interstitial:"interstitial",Preroll:"interstitial",Midroll:"interstitial",Display:"display"};function Qr(e,t){for(var r in t)t.hasOwnProperty(r)&&null!==t[r]&&void 0!==t[r]&&(e[r]=t[r]);return e}function en(e,t){t=t||window.location.href,e=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(t);return e?e[1]:null}function tn(){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 rn(e){for(;function e(t){return(t=t||"")!==decodeURIComponent(t)}(e);)e=decodeURIComponent(e);return e}function nn(a,s,u){return new Promise(function(e,t){if(u&&u.exists&&u.exists())e(sn(null==u?void 0:u.alternates));else{var r=u&&u.alternates&&0<u.alternates.length?sn(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 on(){var e=0,t=window;try{for(;t!=t.parent;)e++,t=t.parent}catch(e){}return e}function an(e){if(e)try{return JSON.parse(e)}catch(e){}}function sn(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 un(e,t){return function e(t){return localStorage.getItem(t)}(e)?"true"===(t=localStorage.getItem(e))||!0===t||1===t||"1"===t:t}function cn(e){localStorage.removeItem(e)}function ln(e,t){localStorage.setItem(e,t)}var dn=function(){var e=Date.now();try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}(),fn=Date.now(),pn={console:!1};function hn(e,t,r){try{var n,o;(dn&&un("gd_debug_ex")||pn&&!0===pn.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()-fn)/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 gn(e){pn=e}var mn=["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"],vn=["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"],bn=1010,yn=1020,_n=1100,wn=null,An=(ie(Tn,[{key:"_getListenerIdx",value:function(e,t,r){var n,o=this.listeners[e],i=-1;if(!o||0===o.length)return i;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)}}]),Tn),xn=(ie(On,[{key:"transform",value:function(e,t){e=Ct(e);return this.transformValue(e,t)}},{key:"transformValue",value:function(t,e){if(Pt(t)||zt(t))for(var r in t)t[r]=this.transformValue(t[r],e);else if("string"==typeof(u=t)||"object"==typeof u&&(Ft?function(e){try{return $t.call(e),!0}catch(e){return!1}}(u):"[object String]"===Nt.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&&jt(t.get))return t.get(e)}}}]),On),kn=(ie(Dn,[{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(Xr(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}}]),Dn),En=null,Sn=(ie(Rn,[{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=_n,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");un("gd_tag")?(o.innerHTML="Revert Vast tag",o.style.background="#ff8c1c"):(o.innerHTML="Demo VAST tag",o.style.background="#44a5ab"),un("gd_disable_midroll_timer")?(i.innerHTML="Revert delay",i.style.background="#ff8c1c"):(i.innerHTML="Disable delay",i.style.background="#44a5ab"),un("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{un("gd_tag")?cn("gd_tag"):ln("gd_tag",!0),location.reload()}catch(e){console.log(e)}}),i.addEventListener("click",function(){try{un("gd_disable_midroll_timer")?cn("gd_disable_midroll_timer"):ln("gd_disable_midroll_timer",!0),location.reload()}catch(e){console.log(e)}}),u.addEventListener("click",function(){try{un("gd_debug_ex")?cn("gd_debug_ex"):ln("gd_debug_ex",!0),location.reload()}catch(e){console.log(e)}}),a.addEventListener("click",function(){try{un("gd_hb_debug")?cn("gd_hb_debug"):ln("gd_hb_debug",!0),window.idhb&&window.idhb.debug(!(!dn||!un("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)}})}}]),Rn);function Rn(e){if(ne(this,Rn),En)return En;(En=this).eventBus=new An,this._sdk=e}function Dn(e){ne(this,Dn),this._config=e||{},this._url=e.url||"https://msgrt.gamedistribution.com/collect",this._topic_counter={},this._ua=(new Or).getResult(),this._init_layout()}function On(e){ne(this,On),this.game=e.game,this.bridge=e.bridge}function Tn(){if(ne(this,Tn),wn)return wn;(wn=this).listeners={}}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function In(e){return e&&e.Math==Math&&e}function Cn(e){try{return!!e()}catch(e){return!0}}var o=In("object"==typeof globalThis&&globalThis)||In("object"==typeof window&&window)||In("object"==typeof self&&self)||In("object"==typeof U&&U)||function(){return this}()||Function("return this")(),Ln={},Pn=!Cn(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),jn=Function.prototype.call,Bn=jn.bind?jn.bind(jn):function(){return jn.apply(jn,arguments)},Un={},e={}.propertyIsEnumerable,$n=Object.getOwnPropertyDescriptor,t=$n&&!e.call({1:2},1);Un.f=t?function(e){e=$n(this,e);return!!e&&e.enumerable}:e;function Nn(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Fn(e){return ao(io(e),8,-1)}function Gn(e){if(null==e)throw fo("Can't call method on "+e);return e}function zn(e){return po(ho(e))}function Zn(e){return"function"==typeof e}function Hn(e){return"object"==typeof e?null!==e:go(e)}function Kn(e,t){return arguments.length<2?(r=mo[e],vo(r)?r:void 0):mo[e]&&mo[e][t];var r}function Wn(e){try{return ko(e)}catch(e){return"Object"}}function Vn(e){if(Eo(e))return e;throw Ro(So(e)+" is not a function")}function qn(e,t){return null==(e=e[t])?void 0:Do(e)}function Yn(t,r){try{Lo(Co,t,{value:r,configurable:!0,writable:!0})}catch(e){Co[t]=r}return r}function Xn(e){return Bo(jo(e))}function Jn(e){return"Symbol("+(void 0===e?"":e)+")_"+Go(++No+Fo,36)}function Qn(e){var t;return Ho(Vo,e)&&(Ko||"string"==typeof Vo[e])||(t="Symbol."+e,Ko&&Ho(qo,e)?Vo[e]=qo[e]:Vo[e]=(Wo&&Yo?Yo:Xo)(t)),Vo[e]}function eo(e){return e=function(e,t){if(!Qo(e)||ei(e))return e;var r=ti(e,oi);if(r){if(r=Jo(r,e,t=void 0===t?"default":t),!Qo(r)||ei(r))return r;throw ni("Can't convert object to primitive value")}return ri(e,t=void 0===t?"number":t)}(e,"string"),ii(e)?e:e+""}function to(e){return si?ai.createElement(e):{}}function ro(e){if(vi(e))return e;throw yi(bi(e)+" is not an object")}var r=Function.prototype,i=r.bind,no=r.call,oo=i&&i.bind(no),a=i?function(e){return e&&oo(no,e)}:function(e){return e&&function(){return no.apply(e,arguments)}},s=a,io=s({}.toString),ao=s("".slice),u=a,c=Cn,so=Fn,uo=o.Object,co=u("".split),lo=c(function(){return!uo("z").propertyIsEnumerable(0)})?function(e){return"String"==so(e)?co(e,""):uo(e)}:uo,fo=o.TypeError,po=lo,ho=Gn,go=Zn,mo=o,vo=Zn,bo=a({}.isPrototypeOf),l=Kn("navigator","userAgent")||"",d=l,f=o.process,m=o.Deno,n=f&&f.versions||m&&m.version,t=n&&n.v8,e=Zo=!(Zo=t?0<(zo=t.split("."))[0]&&zo[0]<4?1:+(zo[0]+zo[1]):Zo)&&d&&(!(zo=d.match(/Edge\/(\d+)/))||74<=zo[1])&&(zo=d.match(/Chrome\/(\d+)/))?+zo[1]:Zo,yo=e,r=Cn,i=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&yo&&yo<41}),s=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_o=Kn,wo=Zn,Ao=bo,xo=o.Object,u=s?function(e){return"symbol"==typeof e}:function(e){var t=_o("Symbol");return wo(t)&&Ao(t.prototype,xo(e))},ko=o.String,Eo=Zn,So=Wn,Ro=o.TypeError,Do=Vn,Oo=Bn,To=Zn,Mo=Hn,Io=o.TypeError,c={exports:{}},Co=o,Lo=Object.defineProperty,f=Yn,m="__core-js_shared__",n=o[m]||f(m,{}),Po=n,jo=((c.exports=function(e,t){return Po[e]||(Po[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"}),Gn),Bo=o.Object,Uo=Xn,$o=a({}.hasOwnProperty),t=Object.hasOwn||function(e,t){return $o(Uo(e),t)},d=a,No=0,Fo=Math.random(),Go=d(1..toString),zo=o,Zo=c.exports,Ho=t,r=Jn,Ko=i,Wo=s,Vo=Zo("wks"),qo=zo.Symbol,Yo=qo&&qo.for,Xo=Wo?qo:qo&&qo.withoutSetter||r,Jo=Bn,Qo=Hn,ei=u,ti=qn,ri=function(e,t){var r,n;if("string"===t&&To(r=e.toString)&&!Mo(n=Oo(r,e)))return n;if(To(r=e.valueOf)&&!Mo(n=Oo(r,e)))return n;if("string"!==t&&To(r=e.toString)&&!Mo(n=Oo(r,e)))return n;throw Io("Can't convert object to primitive value")},f=Qn,ni=o.TypeError,oi=f("toPrimitive"),ii=u,m=Hn,ai=o.document,si=m(ai)&&m(ai.createElement),ui=to,d=!Pn&&!Cn(function(){return 7!=Object.defineProperty(ui("div"),"a",{get:function(){return 7}}).a}),ci=Bn,li=Un,di=Nn,fi=zn,pi=eo,hi=t,gi=d,mi=Object.getOwnPropertyDescriptor,s=(Ln.f=Pn?mi:function(e,t){if(e=fi(e),t=pi(t),gi)try{return mi(e,t)}catch(e){}if(hi(e,t))return di(!ci(li.f,e,t),e[t])},{}),vi=Hn,bi=o.String,yi=o.TypeError,_i=d,wi=ro,Ai=eo,xi=o.TypeError,ki=Object.defineProperty,Ei=(s.f=Pn?ki:function(e,t,r){if(wi(e),t=Ai(t),wi(r),_i)try{return ki(e,t,r)}catch(e){}if("get"in r||"set"in r)throw xi("Accessors not supported");return"value"in r&&(e[t]=r.value),e},s),Si=Nn,Zo=Pn?function(e,t,r){return Ei.f(e,t,Si(1,r))}:function(e,t,r){return e[t]=r,e},zo={exports:{}},r=Zn,f=n,Ri=a(Function.toString);r(f.inspectSource)||(f.inspectSource=function(e){return Ri(e)});function Di(e){return Wi[e]||(Wi[e]=Ki(e))}function Oi(e){return(e=+e)!=e||0==e?0:(0<e?pa:fa)(e)}function Ti(e,t){return(e=ha(e))<0?ga(e+t,0):ma(e,t)}function Mi(e){return 0<e?ba(va(e),9007199254740991):0}function Ii(e){return ya(e.length)}function Ci(s){return function(e,t,r){var n,o=_a(e),i=Aa(o),a=wa(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 Li(e,t){var r,n=ka(e),o=0,i=[];for(r in n)!xa(Sa,r)&&xa(n,r)&&Ra(i,r);for(;t.length>o;)!xa(n,r=t[o++])||~Ea(i,r)||Ra(i,r);return i}function Pi(e,t){for(var r=Pa(t),n=Ba.f,o=ja.f,i=0;i<r.length;i++){var a=r[i];La(e,a)||n(e,a,o(t,a))}}function ji(e,t){return(e=Ga[Fa(e)])==Za||e!=za&&($a(t)?Ua(t):!!t)}function Bi(e,t){var r,n,o,i,a=e.target,s=e.global,u=e.stat;if(r=s?Ka:u?Ka[a]||Ya(a,{}):(Ka[a]||{}).prototype)for(n in t){if(o=t[n],i=e.noTargetGet?(i=Wa(r,n))&&i.value:r[n],!Ja(s?n:a+(u?".":"#")+n,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Xa(o,i)}(e.sham||i&&i.sham)&&Va(o,"sham",!0),qa(r,n,o,e)}}var Ui,$i,Ni,Fi,Gi,zi,Zi,Hi,m=f.inspectSource,d=Zn,r=m,f=o.WeakMap,d=d(f)&&/native code/.test(r(f)),r=c.exports,Ki=Jn,Wi=r("keys"),f={},r=a,Vi=Hn,qi=Zo,Yi=t,Xi=Di,Ji=f,Qi="Object already initialized",ea=o.TypeError,ta=o.WeakMap,d=(Zi=d||n.state?(Ui=n.state||(n.state=new ta),$i=r(Ui.get),Ni=r(Ui.has),Fi=r(Ui.set),Gi=function(e,t){if(Ni(Ui,e))throw new ea(Qi);return t.facade=e,Fi(Ui,e,t),t},zi=function(e){return $i(Ui,e)||{}},function(e){return Ni(Ui,e)}):(Ji[Hi=Xi("state")]=!0,Gi=function(e,t){if(Yi(e,Hi))throw new ea(Qi);return t.facade=e,qi(e,Hi,t),t},zi=function(e){return Yi(e,Hi)?e[Hi]:{}},function(e){return Yi(e,Hi)}),{set:Gi,get:zi,has:Zi,enforce:function(e){return Zi(e)?zi(e):Gi(e,{})},getterFor:function(t){return function(e){if(Vi(e)&&(e=zi(e)).type===t)return e;throw ea("Incompatible receiver, "+t+" required")}}}),n=Pn,ta=t,r=Function.prototype,Ji=n&&Object.getOwnPropertyDescriptor,Xi=ta(r,"name"),ta={EXISTS:Xi,PROPER:Xi&&"something"===function(){}.name,CONFIGURABLE:Xi&&(!n||Ji(r,"name").configurable)},ra=o,na=Zn,oa=t,ia=Zo,aa=Yn,sa=m,ua=ta.CONFIGURABLE,ca=d.get,la=d.enforce,da=String(String).split("String"),Xi=((zo.exports=function(e,t,r,n){var o,i=!!n&&!!n.unsafe,a=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet,n=n&&void 0!==n.name?n.name:t;na(r)&&("Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!oa(r,"name")||ua&&r.name!==n)&&ia(r,"name",n),(o=la(r)).source||(o.source=da.join("string"==typeof n?n:""))),e!==ra?(i?!s&&e[t]&&(a=!0):delete e[t],a?e[t]=r:ia(e,t,r)):a?e[t]=r:aa(t,r)})(Function.prototype,"toString",function(){return na(this)&&ca(this).source||sa(this)}),{}),fa=Math.ceil,pa=Math.floor,ha=Oi,ga=Math.max,ma=Math.min,va=Oi,ba=Math.min,ya=Mi,_a=zn,wa=Ti,Aa=Ii,n={includes:Ci(!0),indexOf:Ci(!1)},xa=t,ka=zn,Ea=n.indexOf,Sa=f,Ra=a([].push),Ji=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Da=Li,Oa=Ji.concat("length","prototype"),r=(Xi.f=Object.getOwnPropertyNames||function(e){return Da(e,Oa)},{}),v=(r.f=Object.getOwnPropertySymbols,Kn),Ta=Xi,Ma=r,Ia=ro,Ca=a([].concat),v=v("Reflect","ownKeys")||function(e){var t=Ta.f(Ia(e)),r=Ma.f;return r?Ca(t,r(e)):t},La=t,Pa=v,ja=Ln,Ba=s,Ua=Cn,$a=Zn,Na=/#|\.prototype\./,Fa=ji.normalize=function(e){return String(e).replace(Na,".").toLowerCase()},Ga=ji.data={},za=ji.NATIVE="N",Za=ji.POLYFILL="P",Ha=ji,Ka=o,Wa=Ln.f,Va=Zo,qa=zo.exports,Ya=Yn,Xa=Pi,Ja=Ha,Qa=Li,es=Ji,ts=Object.keys||function(e){return Qa(e,es)},rs=Xn,ns=ts,b=(Bi({target:"Object",stat:!0,forced:Cn(function(){ns(1)})},{keys:function(e){return ns(rs(e))}}),Function.prototype),os=b.apply,is=b.bind,as=b.call,b="object"==typeof Reflect&&Reflect.apply||(is?as.bind(os):function(){return as.apply(os,arguments)}),ss=Fn,is=Array.isArray||function(e){return"Array"==ss(e)},y={};y[Qn("toStringTag")]="z";function us(e){if("Symbol"===$s(e))throw TypeError("Cannot convert a Symbol value to a string");return Ns(e)}function cs(){}function ls(e){e.write(Js("")),e.close();var t=e.parentWindow.Object;return e=null,t}function ds(e){var t=au.Symbol||(au.Symbol={});su(t,e)||cu(t,e,{value:uu.f(e)})}function fs(e,t,r){e&&!du(e=r?e:e.prototype,fu)&&lu(e,fu,{configurable:!0,value:t})}function ps(e,t){return pu(e),void 0===t?e:hu?hu(e,t):function(){return e.apply(t,arguments)}}function hs(){}function gs(e){if(!mu(e))return!1;try{return _u(hs,yu,e),!0}catch(e){return!1}}function ms(e,t){return ku(e=e)&&(r=e.constructor,(Eu(r)&&(r===Du||ku(r.prototype))||Su(r)&&null===(r=r[Ru]))&&(r=void 0)),new(void 0===r?Du:r)(0===t?0:t);var r}function vs(f){var p=1==f,h=2==f,g=3==f,m=4==f,v=6==f,b=7==f,y=5==f||v;return function(e,t,r,n){for(var o,i,a=Mu(e),s=Tu(a),u=Ou(t,r),c=Iu(s),l=0,t=n||Cu,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:Lu(d,o)}else switch(f){case 4:return!1;case 7:Lu(d,o)}return v?-1:g||m?m:d}}function bs(e,t){var r=Rc[e]=tc(yc);return gc(r,{type:hc,tag:e,description:t}),Fu||(r.description=t),r}function ys(e,t,r){return e===vc&&ys(Dc,t,r),qu(e),t=Ju(t),qu(r),zu(Rc,t)?(r.enumerable?(zu(e,pc)&&e[pc][t]&&(e[pc][t]=!1),r=tc(r,{enumerable:ec(0,!1)})):(zu(e,pc)||xc(e,pc,ec(1,{})),e[pc][t]=!0),Ic(e,t,r)):xc(e,t,r)}function _s(t,e){qu(t);var r=Xu(e),e=rc(r).concat(ks(r));return fc(e,function(e){Fu&&!$u(ws,r,e)||ys(t,e,r[e])}),t}function ws(e){var e=Ju(e),t=$u(Ec,this,e);return!(this===vc&&zu(Rc,e)&&!zu(Dc,e))&&(!(t||!zu(this,e)||!zu(Rc,e)||zu(this,pc)&&this[pc][e])||t)}function As(e,t){var r,e=Xu(e),t=Ju(t);if(e!==vc||!zu(Rc,t)||zu(Dc,t))return!(r=Ac(e,t))||!zu(Rc,t)||zu(e,pc)&&e[pc][t]||(r.enumerable=!0),r}function xs(e){var e=kc(Xu(e)),t=[];return fc(e,function(e){zu(Rc,e)||zu(sc,e)||Sc(t,e)}),t}function ks(e){var t=e===vc,e=kc(t?Dc:Xu(e)),r=[];return fc(e,function(e){!zu(Rc,e)||t&&!zu(vc,e)||Sc(r,Rc[e])}),r}function Es(t){return 51<=Lc||!Cc(function(){var e=[];return(e.constructor={})[Pc]=function(){return{foo:1}},1!==e[t](Boolean).foo})}function Ss(t){if(t&&t.forEach!==Gc)try{zc(t,"forEach",Gc)}catch(e){t.forEach=Gc}}var Rs,Ds,Os,Ts,Ms,y="[object z]"===String(y),Is=o,Cs=y,Ls=Zn,Ps=Fn,js=Qn("toStringTag"),Bs=Is.Object,Us="Arguments"==Ps(function(){return arguments}()),Is=Cs?Ps: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=Bs(e),js))?t:Us?Ps(e):"Object"==(t=Ps(e))&&Ls(e.callee)?"Arguments":t},$s=Is,Ns=o.String,Fs=s,Gs=ro,zs=zn,Zs=ts,Cs=Pn?Object.defineProperties:function(e,t){Gs(e);for(var r,n=zs(t),o=Zs(t),i=o.length,a=0;a<i;)Fs.f(e,r=o[a++],n[r]);return e},Hs=Kn("document","documentElement"),Ks=ro,Ws=Cs,Vs=Ji,Cs=f,qs=Hs,Ys=to,Xs=Di("IE_PROTO"),Js=function(e){return"<script>"+e+"<\/script>"},Qs=function(){try{Rs=new ActiveXObject("htmlfile")}catch(e){}var e,t;Qs="undefined"==typeof document||document.domain&&Rs?ls(Rs):((t=Ys("iframe")).style.display="none",qs.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Js("document.F=Object")),e.close(),e.F);for(var r=Vs.length;r--;)delete Qs.prototype[Vs[r]];return Qs()},Ji=(Cs[Xs]=!0,Object.create||function(e,t){var r;return null!==e?(cs.prototype=Ks(e),r=new cs,cs.prototype=null,r[Xs]=e):r=Qs(),void 0===t?r:Ws(r,t)}),Cs={},eu=a([].slice),tu=Fn,ru=zn,nu=Xi.f,ou=eu,iu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_=(Cs.f=function(e){if(!iu||"Window"!=tu(e))return nu(ru(e));var t=e;try{return nu(t)}catch(t){return ou(iu)}},{}),au=(_.f=Qn,o),su=t,uu=_,cu=s.f,lu=s.f,du=t,fu=Qn("toStringTag"),pu=Vn,hu=a(a.bind),w=a,gu=Cn,mu=Zn,vu=Is,bu=m,yu=[],_u=Kn("Reflect","construct"),wu=/^\s*(?:class|function)\b/,Au=w(wu.exec),xu=!wu.exec(hs),w=!_u||gu(function(){var e;return gs(gs.call)||!gs(Object)||!gs(function(){e=!0})||e})?function(e){if(!mu(e))return!1;switch(vu(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return xu||!!Au(wu,bu(e))}:gs,gu=o,ku=is,Eu=w,Su=Hn,Ru=Qn("species"),Du=gu.Array,Ou=ps,Tu=lo,Mu=Xn,Iu=Ii,Cu=ms,Lu=a([].push),gu={forEach:vs(0),map:vs(1),filter:vs(2),some:vs(3),every:vs(4),find:vs(5),findIndex:vs(6),filterReject:vs(7)},Pu=Bi,ju=o,Bu=Kn,Uu=b,$u=Bn,Nu=a,Fu=Pn,Gu=Cn,zu=t,Zu=is,Hu=Zn,Ku=Hn,Wu=bo,Vu=u,qu=ro,Yu=Xn,Xu=zn,Ju=eo,Qu=us,ec=Nn,tc=Ji,rc=ts,u=Xi,nc=r,x=Ln,oc=s,ic=Un,ac=eu,k=zo.exports,E=c.exports,sc=f,uc=Jn,cc=Qn,f=_,lc=ds,_=fs,dc=d,fc=gu.forEach,pc=Di("hidden"),hc="Symbol",S=cc("toPrimitive"),gc=dc.set,mc=dc.getterFor(hc),vc=Object.prototype,bc=ju.Symbol,yc=bc&&bc.prototype,_c=ju.TypeError,dc=ju.QObject,wc=Bu("JSON","stringify"),Ac=x.f,xc=oc.f,kc=Cs.f,Ec=ic.f,Sc=Nu([].push),Rc=E("symbols"),Dc=E("op-symbols"),Oc=E("string-to-symbol-registry"),Tc=E("symbol-to-string-registry"),ju=E("wks"),Mc=!dc||!dc.prototype||!dc.prototype.findChild,Ic=Fu&&Gu(function(){return 7!=tc(xc({},"a",{get:function(){return xc(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=Ac(vc,t);n&&delete vc[t],xc(e,t,r),n&&e!==vc&&xc(vc,t,n)}:xc,Cc=(i||(k(yc=(bc=function(){if(Wu(yc,this))throw _c("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Qu(arguments[0]):void 0,t=uc(e),r=function(e){this===vc&&$u(r,Dc,e),zu(this,pc)&&zu(this[pc],t)&&(this[pc][t]=!1),Ic(this,t,ec(1,e))};return Fu&&Mc&&Ic(vc,t,{configurable:!0,set:r}),bs(t,e)}).prototype,"toString",function(){return mc(this).tag}),k(bc,"withoutSetter",function(e){return bs(uc(e),e)}),ic.f=ws,oc.f=ys,x.f=As,u.f=Cs.f=xs,nc.f=ks,f.f=function(e){return bs(cc(e),e)},Fu&&(xc(yc,"description",{configurable:!0,get:function(){return mc(this).description}}),k(vc,"propertyIsEnumerable",ws,{unsafe:!0}))),Pu({global:!0,wrap:!0,forced:!i,sham:!i},{Symbol:bc}),fc(rc(ju),function(e){lc(e)}),Pu({target:hc,stat:!0,forced:!i},{for:function(e){e=Qu(e);if(zu(Oc,e))return Oc[e];var t=bc(e);return Oc[e]=t,Tc[t]=e,t},keyFor:function(e){if(!Vu(e))throw _c(e+" is not a symbol");if(zu(Tc,e))return Tc[e]},useSetter:function(){Mc=!0},useSimple:function(){Mc=!1}}),Pu({target:"Object",stat:!0,forced:!i,sham:!Fu},{create:function(e,t){return void 0===t?tc(e):_s(tc(e),t)},defineProperty:ys,defineProperties:_s,getOwnPropertyDescriptor:As}),Pu({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:xs,getOwnPropertySymbols:ks}),Pu({target:"Object",stat:!0,forced:Gu(function(){nc.f(1)})},{getOwnPropertySymbols:function(e){return nc.f(Yu(e))}}),wc&&Pu({target:"JSON",stat:!0,forced:!i||Gu(function(){var e=bc();return"[null]"!=wc([e])||"{}"!=wc({a:e})||"{}"!=wc(Object(e))})},{stringify:function(e,t,r){var n=ac(arguments),o=t;if((Ku(t)||void 0!==e)&&!Vu(e))return Zu(t)||(t=function(e,t){if(Hu(o)&&(t=$u(o,this,e,t)),!Vu(t))return t}),n[1]=t,Uu(wc,null,n)}}),yc[S]||(Ds=yc.valueOf,k(yc,S,function(e){return $u(Ds,this)})),_(bc,hc),sc[pc]=!0,Cn),Lc=e,Pc=Qn("species"),jc=gu.filter,Bu=(Bi({target:"Array",proto:!0,forced:!Es("filter")},{filter:function(e){return jc(this,e,1<arguments.length?arguments[1]:void 0)}}),Bi),Nu=Cn,Bc=zn,Uc=Ln.f,E=Pn,dc=Nu(function(){Uc(1)}),ic=(Bu({target:"Object",stat:!0,forced:!E||dc,sham:!E},{getOwnPropertyDescriptor:function(e,t){return Uc(Bc(e),t)}}),{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}),oc=to("span").classList,x=oc&&oc.constructor&&oc.constructor.prototype,u=x===Object.prototype?void 0:x,Cs=Cn,$c=gu.forEach,Nc=o,Fc=ic,f=u,Gc=!!(Ts=[]["forEach"])&&Cs(function(){Ts.call(null,Os||function(){throw 1},1)})?[].forEach:function(e){return $c(this,e,1<arguments.length?arguments[1]:void 0)},zc=Zo;for(Ms in Fc)Fc[Ms]&&Ss(Nc[Ms]&&Nc[Ms].prototype);Ss(f);function Zc(e,t,r){(t=qc(t))in e?Yc.f(e,t,Xc(0,r)):e[t]=r}function Hc(e,t,r){var n,o;hl(e);try{if(!(n=gl(e,"return"))){if("throw"===t)throw r;return r}n=pl(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return hl(n),r}function Kc(e){return void 0!==e&&(bl.Array===e||_l[yl]===e)}function Wc(e){if(null!=e)return Al(e,kl)||Al(e,"@@iterator")||xl[wl(e)]}function Vc(e,t){if(t=arguments.length<2?Ol(e):t,Sl(t))return Rl(El(t,e));throw Tl(Dl(e)+" is not iterable")}var qc=eo,Yc=s,Xc=Nn,Jc=v,Qc=zn,el=Ln,tl=Zc,ju=(Bi({target:"Object",stat:!0,sham:!Pn},{getOwnPropertyDescriptors:function(e){for(var t,r,n=Qc(e),o=el.f,i=Jc(n),a={},s=0;i.length>s;)void 0!==(r=o(n,t=i[s++]))&&tl(a,t,r);return a}}),Bi),Pu=o,rl=is,nl=w,ol=Hn,il=Ti,al=Ii,sl=zn,ul=Zc,i=Qn,cl=eu,Gu=Es("slice"),ll=i("species"),dl=Pu.Array,fl=Math.max,pl=(ju({target:"Array",proto:!0,forced:!Gu},{slice:function(e,t){var r,n,o,i=sl(this),a=al(i),s=il(e,a),u=il(void 0===t?a:t,a);if(rl(i)&&(r=i.constructor,(r=nl(r)&&(r===dl||rl(r.prototype))||ol(r)&&null===(r=r[ll])?void 0:r)===dl||void 0===r))return cl(i,s,u);for(n=new(void 0===r?dl:r)(fl(u-s,0)),o=0;s<u;s++,o++)s in i&&ul(n,o,i[s]);return n.length=o,n}}),Bn),hl=ro,gl=qn,ml=ro,vl=Hc,k={},bl=k,yl=Qn("iterator"),_l=Array.prototype,wl=Is,Al=qn,xl=k,kl=Qn("iterator"),El=Bn,Sl=Vn,Rl=ro,Dl=Wn,Ol=Wc,Tl=o.TypeError,Ml=ps,Il=Bn,Cl=Xn,Ll=Kc,Pl=w,jl=Ii,Bl=Zc,Ul=Vc,$l=Wc,Nl=o.Array,Fl=Qn("iterator"),Gl=!1;try{var zl=0,Zl={next:function(){return{done:!!zl++}},return:function(){Gl=!0}};Zl[Fl]=function(){return this},Array.from(Zl,function(){throw 2})}catch(MA){}function Hl(e,t){if(!t&&!Gl)return!1;var r=!1;try{var n={};n[Fl]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}Bi({target:"Array",stat:!0,forced:!Hl(function(e){Array.from(e)})},{from:function(e){var t=Cl(e),e=Pl(this),r=arguments.length,n=1<r?arguments[1]:void 0,o=void 0!==n;o&&(n=Ml(n,2<r?arguments[2]:void 0));var i,a,s,u,c,l,r=$l(t),d=0;if(!r||this==Nl&&Ll(r))for(i=jl(t),a=e?new this(i):Nl(i);d<i;d++)l=o?n(t[d],d):t[d],Bl(a,d,l);else for(c=(u=Ul(t,r)).next,a=e?new this:[];!(s=Il(c,u)).done;d++)l=o?function(e,t,r,n){try{return n?t(ml(r)[0],r[1]):t(r)}catch(t){vl(e,"throw",t)}}(u,n,[s.value,d],!0):s.value,Bl(a,d,l);return a.length=d,a}});function Kl(o){return function(e,t){var r,e=ql(Yl(e)),t=Vl(t),n=e.length;return t<0||n<=t?o?"":void 0:(r=Jl(e,t))<55296||56319<r||t+1===n||(n=Jl(e,t+1))<56320||57343<n?o?Xl(e,t):r:o?Ql(e,t,t+2):n-56320+(r-55296<<10)+65536}}var Wl,S=a,Vl=Oi,ql=us,Yl=Gn,Xl=S("".charAt),Jl=S("".charCodeAt),Ql=S("".slice),_={codeAt:Kl(!1),charAt:Kl(!0)},Nu=!Cn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Bu=o,ed=t,td=Zn,rd=Xn,dc=Nu,nd=Di("IE_PROTO"),od=Bu.Object,id=od.prototype,E=dc?od.getPrototypeOf:function(e){e=rd(e);if(ed(e,nd))return e[nd];var t=e.constructor;return td(t)&&e instanceof t?t.prototype:e instanceof od?id:null},oc=Cn,x=Zn,Cs=E,f=zo.exports,ad=Qn("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(Pu=Cs(Cs(i)))!==Object.prototype&&(Wl=Pu):v=!0);function sd(){return this}function ud(e,t,r){return t+=" Iterator",e.prototype=xd(Ad,{next:kd(1,r)}),Ed(e,t,!1),Sd[t]=sd,e}function cd(){return this}function ld(e,t,r,n,o,i,a){function s(e){if(e===o&&p)return p;if(!Hd&&e in d)return d[e];switch(e){case"keys":case Wd:case Vd:return function(){return new r(this,e)}}return function(){return new r(this)}}Pd(r,t,n);var u,c,n=t+" Iterator",l=!1,d=e.prototype,f=d[Kd]||d["@@iterator"]||o&&d[o],p=!Hd&&f||s(o),h="Array"==t&&d.entries||f;if(h&&(h=jd(h.call(new e)))!==Object.prototype&&h.next&&(jd(h)!==Zd&&(Bd?Bd(h,Zd):Ld(h[Kd])||Nd(h,Kd,cd)),Ud(h,n,!0)),Gd&&o==Wd&&f&&f.name!==Wd&&(zd?$d(d,"name",Wd):(l=!0,p=function(){return Cd(f,this)})),o)if(u={values:s(Wd),keys:i?p:s("keys"),entries:s(Vd)},a)for(c in u)!Hd&&!l&&c in d||Nd(d,c,u[c]);else Id({target:t,proto:!0,forced:Hd||l},u);return d[Kd]!==p&&Nd(d,Kd,p,{name:o}),Fd[t]=p,u}function dd(){var e=e0(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}function fd(e){E0[k0][e]=!0}function pd(e,t){if(e){if(e[L0]!==j0)try{C0(e,L0,j0)}catch(t){e[L0]=j0}if(e[P0]||C0(e,P0,t),M0[t])for(var r in I0)if(e[r]!==I0[r])try{C0(e,r,I0[r])}catch(t){e[r]=I0[r]}}}x((Wl=null==Wl||oc(function(){var e={};return Wl[ad].call(e)!==e})?{}:Wl)[ad])||f(Wl,ad,function(){return this});var hd,gd,md,vd,bd,yd,_d,wd,ju={IteratorPrototype:Wl,BUGGY_SAFARI_ITERATORS:v},Ad=ju.IteratorPrototype,xd=Ji,kd=Nn,Ed=fs,Sd=k,Rd=Zn,Dd=o.String,Od=o.TypeError,Td=a,Md=ro,Gu=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=Td(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),n=e instanceof Array}catch(r){}return function(e,t){return Md(e),function(e){if("object"==typeof e||Rd(e))return;throw Od("Can't set "+Dd(e)+" as a prototype")}(t),n?r(e,t):e.__proto__=t,e}}():void 0),Id=Bi,Cd=Bn,Ld=Zn,Pd=ud,jd=E,Bd=Gu,Ud=fs,$d=Zo,Nd=zo.exports,Fd=k,Gd=ta.PROPER,zd=ta.CONFIGURABLE,Zd=ju.IteratorPrototype,Hd=ju.BUGGY_SAFARI_ITERATORS,Kd=Qn("iterator"),Wd="values",Vd="entries",qd=_.charAt,Yd=us,Zl=d,S=ld,Xd="String Iterator",Jd=Zl.set,Qd=Zl.getterFor(Xd),e0=(S(String,"String",function(e){Jd(this,{type:Xd,string:Yd(e),index:0})},function(){var e=Qd(this),t=e.string,r=e.index;return r>=t.length?{value:void 0,done:!0}:(t=qd(t,r),e.index+=t.length,{value:t,done:!1})}),ro),Nu={},Bu=Cn,t0=o.RegExp,dc=(Nu.UNSUPPORTED_Y=Bu(function(){var e=t0("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Nu.BROKEN_CARET=Bu(function(){var e=t0("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),Cn),r0=o.RegExp,Cs=dc(function(){var e=r0(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),i=Cn,n0=o.RegExp,Pu=i(function(){var e=n0("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),o0=Bn,x=a,i0=us,a0=dd,oc=Nu,f=c.exports,s0=Ji,u0=d.get,v=Cs,E=Pu,c0=f("native-string-replace",String.prototype.replace),l0=RegExp.prototype.exec,d0=l0,f0=x("".charAt),p0=x("".indexOf),h0=x("".replace),g0=x("".slice),m0=(ju=/b*/g,o0(l0,Zl=/a/,"a"),o0(l0,ju,"a"),0!==Zl.lastIndex||0!==ju.lastIndex),v0=oc.UNSUPPORTED_Y||oc.BROKEN_CARET,b0=void 0!==/()??/.exec("")[1],S=d0=m0||b0||v0||v||E?function(e){var t,r,n,o,i,a,s=this,u=u0(s),e=i0(e),c=u.raw;if(c)return c.lastIndex=s.lastIndex,d=o0(d0,c,e),s.lastIndex=c.lastIndex,d;var l=u.groups,c=v0&&s.sticky,d=o0(a0,s),u=s.source,f=0,p=e;if(c&&(d=h0(d,"y",""),-1===p0(d,"g")&&(d+="g"),p=g0(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==f0(e,s.lastIndex-1))&&(u="(?: "+u+")",p=" "+p,f++),t=new RegExp("^(?:"+u+")",d)),b0&&(t=new RegExp("^"+u+"$(?!\\s)",d)),m0&&(r=s.lastIndex),n=o0(l0,c?t:s,p),c?n?(n.input=g0(n.input,f),n[0]=g0(n[0],f),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:m0&&n&&(s.lastIndex=s.global?n.index+n[0].length:r),b0&&n&&1<n.length&&o0(c0,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=s0(null),o=0;o<l.length;o++)i[(a=l[o])[0]]=n[a[1]];return n}:d0,Bu=(Bi({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S}),Bi),dc=a,y0=t,i=Zn,_0=bo,w0=us,c=s.f,f=Pi,A0=o.Symbol,x0=A0&&A0.prototype,ju=(!Pn||!i(A0)||"description"in x0&&void 0===A0().description||(hd={},f(x=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:w0(arguments[0]),t=_0(x0,this)?new A0(e):void 0===e?A0():A0(e);return""===e&&(hd[t]=!0),t},A0),(x.prototype=x0).constructor=x,gd="Symbol(test)"==String(A0("test")),md=dc(x0.toString),vd=dc(x0.valueOf),bd=/^Symbol\((.*)\)[^)]+$/,yd=dc("".replace),_d=dc("".slice),c(x0,"description",{configurable:!0,get:function(){var e=vd(this),t=md(e);if(y0(hd,e))return"";e=gd?_d(t,7,-1):yd(t,bd,"$1");return""===e?void 0:e}}),Bu({global:!0,forced:!0},{Symbol:x})),ds("iterator"),Ji),oc=s,k0=Qn("unscopables"),E0=Array.prototype,S0=(null==E0[k0]&&oc.f(E0,k0,{configurable:!0,value:ju(null)}),zn),v=fd,E=k,i=d,f=ld,R0="Array Iterator",D0=i.set,O0=i.getterFor(R0),dc=f(Array,"Array",function(e,t){D0(this,{type:R0,target:S0(e),index:0,kind:t})},function(){var e=O0(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),T0=(E.Arguments=E.Array,v("keys"),v("values"),v("entries"),o),M0=ic,c=u,I0=dc,C0=Zo,Bu=Qn,L0=Bu("iterator"),P0=Bu("toStringTag"),j0=I0.values;for(wd in M0)pd(T0[wd]&&T0[wd].prototype,wd);pd(c,"DOMTokenList");var B0=Is,x=zo.exports;y||x(Object.prototype,"toString",y?{}.toString:function(){return"[object "+B0(this)+"]"},{unsafe:!0});function U0(e,t,r){for(var n in t)H0(e,n,t[n],r);return e}function $0(e){var e=K0(e),t=W0.f;V0&&e&&!e[q0]&&t(e,q0,{configurable:!0,get:function(){return this}})}function N0(e,t){if(Y0(t,e))return e;throw X0("Incorrect invocation")}function F0(e,t){this.stopped=e,this.result=t}function G0(e,t){var r,e=hf(e).constructor;if(void 0===e||null==(r=hf(e)[gf]))return t;if(df(e=r))return e;throw pf(ff(e)+" is not a constructor")}var z0,Z0,oc=o.Promise,H0=zo.exports,K0=Kn,W0=s,V0=Pn,q0=Qn("species"),Y0=bo,X0=o.TypeError,J0=ps,Q0=Bn,ef=ro,tf=Wn,rf=Kc,nf=Ii,of=bo,af=Vc,sf=Wc,uf=Hc,cf=o.TypeError,lf=F0.prototype,df=w,ff=Wn,pf=o.TypeError,hf=ro,gf=Qn("species"),ju=/(?:ipad|iphone|ipod).*applewebkit/i.test(l),k="process"==Fn(o.process),mf=o,vf=b,i=ps,bf=Zn,yf=t,f=Cn,_f=Hs,wf=eu,Af=to,E=ju,v=k,ic=mf.setImmediate,u=mf.clearImmediate,xf=mf.process,kf=mf.Dispatch,Ef=mf.Function,dc=mf.MessageChannel,Sf=mf.String,Rf=0,Df={};try{z0=mf.location}catch(MA){}function Of(e){return function(){If(e)}}function Tf(e){If(e.data)}function Mf(e){mf.postMessage(Sf(e),z0.protocol+"//"+z0.host)}var If=function(e){var t;yf(Df,e)&&(t=Df[e],delete Df[e],t())};ic&&u||(ic=function(e){var t=wf(arguments,1);return Df[++Rf]=function(){vf(bf(e)?e:Ef(e),void 0,t)},Z0(Rf),Rf},u=function(e){delete Df[e]},v?Z0=function(e){xf.nextTick(Of(e))}:kf&&kf.now?Z0=function(e){kf.now(Of(e))}:dc&&!E?(c=(Bu=new dc).port2,Bu.port1.onmessage=Tf,Z0=i(c.postMessage,c)):mf.addEventListener&&bf(mf.postMessage)&&!mf.importScripts&&z0&&"file:"!==z0.protocol&&!f(Mf)?(Z0=Mf,mf.addEventListener("message",Tf,!1)):Z0="onreadystatechange"in Af("script")?function(e){_f.appendChild(Af("script")).onreadystatechange=function(){_f.removeChild(this),If(e)}}:function(e){setTimeout(Of(e),0)});function Cf(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=e,n=t}),this.resolve=Zf(r),this.reject=Zf(n)}var Lf,Pf,jf,Bf,Uf,$f,Nf,x={set:ic,clear:u},y=o,w=/ipad|iphone|ipod/i.test(l)&&void 0!==y.Pebble,Hs=/web0s(?!.*chrome)/i.test(l),v=o,E=ps,dc=Ln.f,Ff=x.set,Bu=ju,i=w,c=Hs,Gf=k,f=v.MutationObserver||v.WebKitMutationObserver,ic=v.document,zf=v.process,u=v.Promise,y=dc(v,"queueMicrotask"),l=y&&y.value,w=(l||(Lf=function(){var e,t;for(Gf&&(e=zf.domain)&&e.exit();Pf;){t=Pf.fn,Pf=Pf.next;try{t()}catch(e){throw Pf?Bf():jf=void 0,e}}jf=void 0,e&&e.enter()},Bf=Bu||Gf||c||!f||!ic?!i&&u&&u.resolve?((ju=u.resolve(void 0)).constructor=u,Nf=E(ju.then,ju),function(){Nf(Lf)}):Gf?function(){zf.nextTick(Lf)}:(Ff=E(Ff,v),function(){Ff(Lf)}):(Uf=!0,$f=ic.createTextNode(""),new f(Lf).observe($f,{characterData:!0}),function(){$f.data=Uf=!Uf})),l||function(e){e={fn:e,next:void 0};jf&&(jf.next=e),Pf||(Pf=e,Bf()),jf=e}),Hs={},Zf=Vn;Hs.f=function(e){return new Cf(e)};function Hf(e,t){return Xf(e),Jf(t)&&t.constructor===e?t:((0,(e=Qf.f(e)).resolve)(t),e.promise)}function Kf(e,t,r){function n(e){return i&&uf(i,"normal",e),new F0(!0,e)}function o(e){return f?(ef(e),h?g(e[0],e[1],n):g(e[0],e[1])):h?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_ITERATOR),h=!(!r||!r.INTERRUPTED),g=J0(t,d);if(p)i=e;else{if(!(r=sf(e)))throw cf(tf(e)+" is not iterable");if(rf(r)){for(a=0,s=nf(e);a<s;a++)if((u=o(e[a]))&&of(lf,u))return;return}i=af(e,r)}for(c=i.next;!(l=Q0(c,i)).done;){try{u=o(l.value)}catch(e){uf(i,"throw",e)}if("object"==typeof u&&u&&of(lf,u))return}}var Wf,Vf,qf,Yf,Xf=ro,Jf=Hn,Qf=Hs,ep=o,dc="object"==typeof window,y=Bi,tp=o,Bu=Kn,rp=Bn,c=oc,i=zo.exports,u=U0,ju=Gu,E=fs,v=$0,np=Vn,op=Zn,ip=Hn,ap=N0,sp=m,ic=Hl,up=G0,cp=x.set,lp=w,dp=Hf,f=Hs,fp=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},l=d,m=Ha,pp=dc,hp=k,gp=e,mp=Qn("species"),vp="Promise",bp=l.get,yp=l.set,_p=l.getterFor(vp),x=c&&c.prototype,wp=c,Ap=x,xp=tp.TypeError,kp=tp.document,Ep=tp.process,Sp=f.f,Rp=Sp,Dp=!!(kp&&kp.createEvent&&tp.dispatchEvent),Op=op(tp.PromiseRejectionEvent),Tp="unhandledrejection",Mp=!1,w=m(vp,function(){var e=sp(wp),t=e!==String(wp);if(!t&&66===gp)return!0;if(51<=gp&&/native code/.test(e))return!1;function r(e){e(function(){},function(){})}e=new wp(function(e){e(1)});return(e.constructor={})[mp]=r,!(Mp=e.then(function(){})instanceof r)||!t&&pp&&!Op}),Hs=w||!ic(function(e){wp.all(e).catch(function(){})}),Ip=function(e){var t;return!(!ip(e)||!op(t=e.then))&&t},Cp=function(f,p){var h;f.notified||(f.notified=!0,h=f.reactions,lp(function(){for(var n,e=f.value,t=1==f.state,r=0;h.length>r;){var o,i,a,s=h[r++],u=t?s.ok:s.fail,c=s.resolve,l=s.reject,d=s.domain;try{u?(t||(2===f.rejection&&function(t){rp(cp,tp,function(){var e=t.facade;hp?Ep.emit("rejectionHandled",e):Lp("rejectionhandled",e,t.value)})}(f),f.rejection=1),!0===u?o=e:(d&&d.enter(),o=u(e),d&&(d.exit(),a=!0)),o===s.promise?l(xp("Promise-chain cycle")):(i=Ip(o))?rp(i,o,c,l):c(o)):l(e)}catch(e){d&&!a&&d.exit(),l(e)}}f.reactions=[],f.notified=!1,p&&!f.rejection&&(n=f,rp(cp,tp,function(){var e,t=n.facade,r=n.value;if(Pp(n)&&(e=fp(function(){hp?Ep.emit("unhandledRejection",r,t):Lp(Tp,t,r)}),n.rejection=hp||Pp(n)?2:1,e.error))throw e.value}))}))},Lp=function(e,t,r){var n;Dp?((n=kp.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),tp.dispatchEvent(n)):n={promise:t,reason:r},!Op&&(t=tp["on"+e])?t(n):e===Tp&&function(e,t){var r=ep.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}("Unhandled promise rejection",r)},Pp=function(e){return 1!==e.rejection&&!e.parent},jp=function(t,r,n){return function(e){t(r,e,n)}},Bp=function(e,t,r){e.done||(e.done=!0,(e=r?r:e).value=t,e.state=2,Cp(e,!0))},Up=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw xp("Promise can't be resolved itself");var n=Ip(e);n?lp(function(){var t={done:!1};try{rp(n,e,jp(Up,t,r),jp(Bp,t,r))}catch(e){Bp(t,e,r)}}):(r.value=e,r.state=1,Cp(r,!1))}catch(e){Bp({done:!1},e,r)}}};if(w&&(Ap=(wp=function(e){ap(this,Ap),np(e),rp(Wf,this);var t=bp(this);try{e(jp(Up,t),jp(Bp,t))}catch(e){Bp(t,e)}}).prototype,(Wf=function(e){yp(this,{type:vp,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=u(Ap,{then:function(e,t){var r=_p(this),n=r.reactions,o=Sp(up(this,wp));return o.ok=!op(e)||e,o.fail=op(t)&&t,o.domain=hp?Ep.domain:void 0,r.parent=!0,n[n.length]=o,0!=r.state&&Cp(r,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Vf=function(){var e=new Wf,t=bp(e);this.promise=e,this.resolve=jp(Up,t),this.reject=jp(Bp,t)},f.f=Sp=function(e){return e===wp||e===qf?new Vf:Rp(e)},op(c)&&x!==Object.prototype)){Yf=x.then,Mp||(i(x,"then",function(e,t){var r=this;return new wp(function(e,t){rp(Yf,r,e,t)}).then(e,t)},{unsafe:!0}),i(x,"catch",Ap.catch,{unsafe:!0}));try{delete x.constructor}catch(MA){}ju&&ju(x,Ap)}y({global:!0,wrap:!0,forced:w},{Promise:wp}),E(wp,vp,!1),v(vp),qf=Bu(vp),y({target:vp,stat:!0,forced:w},{reject:function(e){var t=Sp(this);return rp(t.reject,void 0,e),t.promise}}),y({target:vp,stat:!0,forced:w},{resolve:function(e){return dp(this,e)}}),y({target:vp,stat:!0,forced:Hs},{all:function(e){var s=this,t=Sp(s),u=t.resolve,c=t.reject,r=fp(function(){var n=np(s.resolve),o=[],i=0,a=1;Kf(e,function(e){var t=i++,r=!1;a++,rp(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},race:function(e){var r=this,n=Sp(r),o=n.reject,t=fp(function(){var t=np(r.resolve);Kf(e,function(e){rp(t,r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}});var dc=Bi,k=o,l=Cn,$p=is,Np=Hn,Fp=Xn,Gp=Ii,zp=Zc,Zp=ms,m=Es,ic=e,Hp=Qn("isConcatSpreadable"),Kp=9007199254740991,Wp="Maximum allowed index exceeded",Vp=k.TypeError,u=51<=ic||!l(function(){var e=[];return e[Hp]=!1,e.concat()[0]!==e}),f=m("concat"),c=(dc({target:"Array",proto:!0,forced:!u||!f},{concat:function(e){for(var t,r,n,o=Fp(this),i=Zp(o,0),a=0,s=-1,u=arguments.length;s<u;s++)if(function(e){if(!Np(e))return!1;var t=e[Hp];return void 0!==t?!!t:$p(e)}(n=-1===s?o:arguments[s])){if(a+(r=Gp(n))>Kp)throw Vp(Wp);for(t=0;t<r;t++,a++)t in n&&zp(i,a,n[t])}else{if(Kp<=a)throw Vp(Wp);zp(i,a++,n)}return i.length=a,i}}),Pn),i=ta.EXISTS,ju=a,x=s.f,E=Function.prototype,qp=ju(E.toString),Yp=/^\s*function ([^ (]*)/,Xp=ju(Yp.exec);function Jp(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 Qp(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 eh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qp(Object(r),!0).forEach(function(e){Mn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qp(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}c&&!i&&x(E,"name",{configurable:!0,get:function(){try{return Xp(Yp,qp(this))[1]}catch(e){return""}}});function th(e,t){Ah[e]=eh(eh({},t),{},{isLoading:!1})}function rh(e){var n=this,o=e.id,i=e.src;return new Promise(function(e,t){var r;A(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 nh(r,e,t,n){var a,o=Oh(r),s=!Dh(function(){var e={};return e[o]=function(){return 7},7!=""[r](e)}),i=s&&!Dh(function(){var e=!1,t=/a/;return"split"===r&&((t={}).constructor={},t.constructor[Mh]=function(){return t},t.flags="",t[o]=/./[o]),t.exec=function(){return e=!0,null},t[o](""),!e});s&&i&&!t||(a=Eh(/./[o]),i=e(o,""[r],function(e,t,r,n,o){var e=Eh(e),i=t.exec;return i===Rh||i===Ih.exec?s&&!o?{done:!0,value:a(t,r,n)}:{done:!0,value:e(r,t,n)}:{done:!1}}),Sh(String.prototype,r,i[0]),Sh(Ih,o,i[1])),n&&Th(Ih[o],"sham",!0)}function oh(e,t,r){return t+(r?Ch(e,t).length:1)}function ih(e,t){var r=e.exec;if(zh(r))return null!==(r=Fh(r,e,t))&&Gh(r),r;if("RegExp"===Zh(e))return Fh(Hh,e,t);throw Kh("RegExp#exec called on incompatible receiver")}function ah(e,t){var r=e.length,n=hg(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=ah(pg(e,0,n),t),f=ah(pg(e,n),t),p=t,h=d.length,g=f.length,m=0,v=0;m<h||v<g;)l[m+v]=m<h&&v<g?p(d[m],f[v])<=0?d[m++]:f[v++]:m<h?d[m++]:f[v++];return l}function sh(t){try{return $g(t)}catch(e){return t}}function uh(e){return Qg[e]}function ch(e){return Zg(Ng(e),Jg,uh)}function lh(e){this.entries.length=0,em(this.entries,e)}function dh(e,t){if(e<t)throw Ug("Not enough arguments")}function fh(){mg(this,rm);var e,t,r,n,o,i,a,s,u=0<arguments.length?arguments[0]:void 0,c=[];if(Tg(this,{type:Dg,entries:c,updateURL:function(){},updateSearchParams:lh}),void 0!==u)if(wg(u))if(e=Sg(u))for(r=(t=Eg(u,e)).next;!(n=gg(r,t)).done;){if(o=(n=Eg(_g(n.value))).next,(i=gg(o,n)).done||(a=gg(o,n)).done||!gg(o,n).done)throw Ug("Expected sequence with length 2");zg(c,{key:Ag(i.value),value:Ag(a.value)})}else for(s in u)vg(u,s)&&zg(c,{key:s,value:Ag(u[s])});else em(c,"string"==typeof u?"?"===Fg(u,0)?Vg(u,1):u:Ag(u))}function ph(e){var t;return dm(e)&&(void 0!==(t=e[pm])?!!t:"RegExp"==fm(e))}function hh(e){if(hm(e))throw gm("The method doesn't accept regular expressions");return e}function gh(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[mm]=!1,"/./"[t](r)}catch(t){}}return!1}var mh,vh,bh,yh,_h,wh={react:{src:"https://pm.gamedistribution.com/react/16.14.0/umd/react.production.min.js",name:"React"},"react-dom":{src:"https://pm.gamedistribution.com/react-dom/16.14.0/umd/react-dom.production.min.js",name:"ReactDOM"},redux:{src:"https://pm.gamedistribution.com/redux/4.0.5/dist/redux.min.js",name:"Redux"},"react-redux":{src:"https://pm.gamedistribution.com/react-redux/7.2.1/dist/react-redux.min.js",name:"ReactRedux"},"material-ui-core":{src:"https://pm.gamedistribution.com/@material-ui/core/4.11.3/umd/material-ui.production.min.js",name:"MaterialUI"}},Ah={},xh=(mh=p(h.mark(function e(t){var r,n,o,i,a,s;return h.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=Ah[t]).isLoading)return e.abrupt("return");e.next=6;break;case 6:n.isLoading=!0,o=function e(t,r){var n,o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(e){if(e){if("string"==typeof e)return Jp(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Jp(e,void 0):void 0}}(t))||r&&t&&"number"==typeof t.length)return o&&(t=o),n=0,{s:r=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(n.dependencies),e.prev=8,o.s();case 10:if((i=o.n()).done){e.next=26;break}if(i=i.value,e.prev=12,a=wh[i].name,window[a])return e.abrupt("continue",24);e.next=16;break;case 16:return e.next=18,rh({id:i,src:wh[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,rh({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 mh.apply(this,arguments)}),kh=new function e(){var t,r,n=this;ne(this,e),Mn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xh("Leaderboard");case 2:n.leaderboard=e.sent;case 3:case"end":return e.stop()}},e)}))),Mn(this,"showLeaderboard",(r=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=window.GD_OPTIONS.gameId,n.leaderboard){e.next=4;break}return e.next=4,n.load();case 4:n.leaderboard.showLeaderBoard(r,t);case 5:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)})),Mn(this,"addScore",(t=p(h.mark(function e(t){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.leaderboard){e.next=3;break}return e.next=3,n.load();case 3:n.leaderboard.addScore(t);case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})),this.moduleName="Leaderboard",this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/gd-sdk-leaderboard/0.1.43/dist/default/iife/index.js",dependencies:["react","react-dom","redux","react-redux","material-ui-core"]},th(this.moduleName,this.moduleConfig)},Eh=a,Sh=zo.exports,Rh=S,Dh=Cn,Oh=Qn,Th=Zo,Mh=Oh("species"),Ih=RegExp.prototype,Ch=_.charAt,v=a,Lh=Xn,Ph=Math.floor,jh=v("".charAt),Bh=v("".replace),Uh=v("".slice),$h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Nh=/\$([$&'`]|\d{1,2})/g,Fh=Bn,Gh=ro,zh=Zn,Zh=Fn,Hh=S,Kh=o.TypeError,Wh=b,Vh=Bn,Bu=a,w=nh,y=Cn,qh=ro,Yh=Zn,Xh=Oi,Jh=Mi,Qh=us,eg=Gn,tg=oh,rg=qn,ng=ih,og=Qn("replace"),ig=Math.max,ag=Math.min,sg=Bu([].concat),ug=Bu([].push),cg=Bu("".indexOf),lg=Bu("".slice),Hs="$0"==="a".replace(/./,"$0"),dg=!!/./[og]&&""===/./[og]("a","$0"),is=(w("replace",function(e,y,_){var w=dg?"$":"$0";return[function(e,t){var r=eg(this),n=null==e?void 0:rg(e,og);return n?Vh(n,e,r,t):Vh(y,Qh(r),e,t)},function(e,t){var r=qh(this),n=Qh(e);if("string"==typeof t&&-1===cg(t,w)&&-1===cg(t,"$<")){e=_(y,r,n,t);if(e.done)return e.value}var o,i=Yh(t),a=(i||(t=Qh(t)),r.global);a&&(o=r.unicode,r.lastIndex=0);for(var s=[];;){var u=ng(r,n);if(null===u)break;if(ug(s,u),!a)break;""===Qh(u[0])&&(r.lastIndex=tg(n,Jh(r.lastIndex),o))}for(var c,l="",d=0,f=0;f<s.length;f++){for(var p=Qh((u=s[f])[0]),h=ig(ag(Xh(u.index),n.length),0),g=[],m=1;m<u.length;m++)ug(g,void 0===(c=u[m])?c:String(c));var v=u.groups,b=i?(b=sg([p],g,h,n),void 0!==v&&ug(b,v),Qh(Wh(t,void 0,b))):function(i,a,s,u,c,e){var l=s+i.length,d=u.length,t=Nh;return void 0!==c&&(c=Lh(c),t=$h),Bh(e,t,function(e,t){var r;switch(jh(t,0)){case"$":return"$";case"&":return i;case"`":return Uh(a,0,s);case"'":return Uh(a,l);case"<":r=c[Uh(t,1,-1)];break;default:var n,o=+t;if(0==o)return e;if(d<o)return 0!==(n=Ph(o/10))&&n<=d?void 0===u[n-1]?jh(t,1):u[n-1]+jh(t,1):e;r=u[o-1]}return void 0===r?"":r})}(p,n,h,g,v,t);d<=h&&(l+=lg(n,d,h)+b,d=h+p.length)}return l+lg(n,d)}]},!!y(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Hs||dg),Cn),fg=Qn("iterator"),e=!is(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.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[fg]||"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}),pg=eu,hg=Math.floor,k=Bi,ic=o,l=Kn,gg=Bn,m=a,dc=e,u=zo.exports,f=U0,ju=fs,c=ud,i=d,mg=N0,x=Zn,vg=t,bg=ps,yg=Is,_g=ro,wg=Hn,Ag=us,xg=Ji,kg=Nn,Eg=Vc,Sg=Wc,Rg=ah,E=Qn("iterator"),Dg="URLSearchParams",Og="URLSearchParamsIterator",Tg=i.set,Mg=i.getterFor(Dg),Ig=i.getterFor(Og),Cg=l("fetch"),Lg=l("Request"),Pg=l("Headers"),jg=Lg&&Lg.prototype,_=Pg&&Pg.prototype,Bg=ic.RegExp,Ug=ic.TypeError,$g=ic.decodeURIComponent,Ng=ic.encodeURIComponent,Fg=m("".charAt),Gg=m([].join),zg=m([].push),Zg=m("".replace),Hg=m([].shift),Kg=m([].splice),Wg=m("".split),Vg=m("".slice),qg=/\+/g,Yg=Array(4),Xg=function(e){var t,r=Zg(e,qg," "),n=4;try{return $g(r)}catch(e){for(;n;)r=Zg(r,(t=n--,Yg[t-1]||(Yg[t-1]=Bg("((?:%[\\da-f]{2}){"+t+"})","gi"))),sh);return r}},Jg=/[!'()~]|%20/g,Qg={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},em=function(e,t){if(t)for(var r,n=Wg(t,"&"),o=0;o<n.length;)(r=n[o++]).length&&(r=Wg(r,"="),zg(e,{key:Xg(Hg(r)),value:Xg(Gg(r,"="))}))},tm=c(function(e,t){Tg(this,{type:Og,iterator:Eg(Mg(e).entries),kind:t})},"Iterator",function(){var e=Ig(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}),rm=fh.prototype,Bu=(f(rm,{append:function(e,t){dh(arguments.length,2);var r=Mg(this);zg(r.entries,{key:Ag(e),value:Ag(t)}),r.updateURL()},delete:function(e){dh(arguments.length,1);for(var t=Mg(this),r=t.entries,n=Ag(e),o=0;o<r.length;)r[o].key===n?Kg(r,o,1):o++;t.updateURL()},get:function(e){dh(arguments.length,1);for(var t=Mg(this).entries,r=Ag(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){dh(arguments.length,1);for(var t=Mg(this).entries,r=Ag(e),n=[],o=0;o<t.length;o++)t[o].key===r&&zg(n,t[o].value);return n},has:function(e){dh(arguments.length,1);for(var t=Mg(this).entries,r=Ag(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){dh(arguments.length,1);for(var r,n=Mg(this),o=n.entries,i=!1,a=Ag(e),s=Ag(t),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?Kg(o,u--,1):(i=!0,r.value=s));i||zg(o,{key:a,value:s}),n.updateURL()},sort:function(){var e=Mg(this);Rg(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=Mg(this).entries,n=bg(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 tm(this,"keys")},values:function(){return new tm(this,"values")},entries:function(){return new tm(this,"entries")}},{enumerable:!0}),u(rm,E,rm.entries,{name:"entries"}),u(rm,"toString",function(){for(var e,t=Mg(this).entries,r=[],n=0;n<t.length;)e=t[n++],zg(r,ch(e.key)+"="+ch(e.value));return Gg(r,"&")},{enumerable:!0}),ju(fh,Dg),k({global:!0,forced:!dc},{URLSearchParams:fh}),!dc&&x(Pg)&&(vh=m(_.has),bh=m(_.set),yh=function(e){if(wg(e)){var t,r=e.body;if(yg(r)===Dg)return t=e.headers?new Pg(e.headers):new Pg,vh(t,"content-type")||bh(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xg(e,{body:kg(0,Ag(r)),headers:kg(0,t)})}return e},x(Cg)&&k({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Cg(e,1<arguments.length?yh(arguments[1]):{})}}),x(Lg)&&((jg.constructor=v=function(e){return mg(this,jg),new Lg(e,1<arguments.length?yh(arguments[1]):{})}).prototype=jg,k({global:!0,forced:!0},{Request:v}))),Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}),nm=Bn,om=ro,im=Gn,am=Bu,sm=us,um=qn,cm=ih,lm=(nh("search",function(n,o,i){return[function(e){var t=im(this),r=null==e?void 0:um(e,n);return r?nm(r,e,t):new RegExp(e)[n](sm(t))},function(e){var t=om(this),e=sm(e),r=i(o,t,e);if(r.done)return r.value;r=t.lastIndex,am(r,0)||(t.lastIndex=0),e=cm(t,e);return am(t.lastIndex,r)||(t.lastIndex=r),null===e?-1:e.index}]}),n.includes),w=fd,dm=(Bi({target:"Array",proto:!0},{includes:function(e){return lm(this,e,1<arguments.length?arguments[1]:void 0)}}),w("includes"),Hn),fm=Fn,pm=Qn("match"),hm=ph,gm=o.TypeError,mm=Qn("match"),y=Bi,vm=hh,bm=Gn,ym=us,Hs=gh,_m=a("".indexOf),wm=(y({target:"String",proto:!0,forced:!Hs("includes")},{includes:function(e){return!!~_m(ym(bm(this)),ym(vm(e)),1<arguments.length?arguments[1]:void 0)}}),b),Am=Bn,is=a,e=nh,xm=ph,km=ro,Em=Gn,Sm=G0,Rm=oh,Dm=Mi,Om=us,Tm=qn,Mm=eu,Im=ih,Cm=S,Is=Cn,Lm=Nu.UNSUPPORTED_Y,Pm=4294967295,jm=Math.min,Bm=[].push,Um=is(/./.exec),$m=is(Bm),Nm=is("".slice),Ji=(e("split",function(o,h,g){var m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var r=Om(Em(this)),n=void 0===t?Pm:t>>>0;if(0==n)return[];if(void 0===e)return[r];if(!xm(e))return Am(h,r,e,n);for(var o,i,a,s=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,c=new RegExp(e.source,t+"g");(o=Am(Cm,c,r))&&!((i=c.lastIndex)>u&&($m(s,Nm(r,u,o.index)),1<o.length&&o.index<r.length&&wm(Bm,s,Mm(o,1)),a=o[0].length,u=i,n<=s.length));)c.lastIndex===o.index&&c.lastIndex++;return u===r.length?!a&&Um(c,"")||$m(s,""):$m(s,Nm(r,u)),n<s.length?Mm(s,0,n):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:Am(h,this,e,t)}:h;return[function(e,t){var r=Em(this),n=null==e?void 0:Tm(e,o);return n?Am(n,e,r,t):Am(m,Om(r),e,t)},function(e,t){var r=km(this),n=Om(e),e=g(m,r,n,t,m!==h);if(e.done)return e.value;var e=Sm(r,RegExp),o=r.unicode,i=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Lm?"g":"y"),a=new e(Lm?"^(?:"+r.source+")":r,i),s=void 0===t?Pm:t>>>0;if(0==s)return[];if(0===n.length)return null===Im(a,n)?[n]:[];for(var u=0,c=0,l=[];c<n.length;){a.lastIndex=Lm?0:c;var d,f=Im(a,Lm?Nm(n,c):n);if(null===f||(d=jm(Dm(a.lastIndex+(Lm?c:0)),n.length))===u)c=Rm(n,c,o);else{if($m(l,Nm(n,u,c)),l.length===s)return l;for(var p=1;p<=f.length-1;p++)if($m(l,f[p]),l.length===s)return l;c=u=d}}return $m(l,Nm(n,u)),l}]},!!Is(function(){var e=/(?:)/,t=e.exec,e=(e.exec=function(){return t.apply(this,arguments)},"ab".split(e));return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),Lm),{exports:{}}),i={exports:{}},l={exports:{}};function Fm(e){return(Fm="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)}c=(ic=l).exports,Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(e){var t;if(!("string"==typeof e||e instanceof String))throw t=Fm(e),null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))},ic.exports=c.default,ic.exports.default=c.default,E=(f=i).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return(0,_h.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)},_h=(u=l.exports)&&u.__esModule?u:{default:u},f.exports=E.default,f.exports.default=E.default;var ju={exports:{}},dc={},m={},Gm=(Object.defineProperty(m,"__esModule",{value:!0}),m.commaDecimal=m.dotDecimal=m.farsiLocales=m.arabicLocales=m.englishLocales=m.decimal=m.alphanumeric=m.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,"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,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i}),zm=(m.alpha=Gm,{"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,"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,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i}),Zm=(m.alphanumeric=zm,{"en-US":".",ar:"٫"}),Hm=(m.decimal=Zm,["AU","GB","HK","IN","NZ","ZA","ZM"]);m.englishLocales=Hm;for(var Km,Wm=0;Wm<Hm.length;Wm++)Gm[Km="en-".concat(Hm[Wm])]=Gm["en-US"],zm[Km]=zm["en-US"],Zm[Km]=Zm["en-US"];var Vm=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];m.arabicLocales=Vm;for(var qm,Ym=0;Ym<Vm.length;Ym++)Gm[qm="ar-".concat(Vm[Ym])]=Gm.ar,zm[qm]=zm.ar,Zm[qm]=Zm.ar;var Xm=["IR","AF"];m.farsiLocales=Xm;for(var Jm,Qm=0;Qm<Xm.length;Qm++)zm[Jm="fa-".concat(Xm[Qm])]=zm.fa,Zm[Jm]=Zm.ar;var ev=["ar-EG","ar-LB","ar-LY"],tv=(m.dotDecimal=ev,["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","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"]);m.commaDecimal=tv;for(var rv=0;rv<ev.length;rv++)Zm[ev[rv]]=Zm["en-US"];for(var nv=0;nv<tv.length;nv++)Zm[tv[nv]]=",";Gm["fr-CA"]=Gm["fr-FR"],zm["fr-CA"]=zm["fr-FR"],Gm["pt-BR"]=Gm["pt-PT"],zm["pt-BR"]=zm["pt-PT"],Zm["pt-BR"]=Zm["pt-PT"],Gm["pl-Pl"]=Gm["pl-PL"],zm["pl-Pl"]=zm["pl-PL"],Zm["pl-Pl"]=Zm["pl-PL"],Gm["fa-AF"]=Gm.fa,Object.defineProperty(dc,"__esModule",{value:!0}),dc.default=function(e,t){(0,uv.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?cv.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},dc.locales=void 0;var ov,iv,av,sv,uv=(_=l.exports)&&_.__esModule?_:{default:_},cv=m,x=Object.keys(cv.decimal),Bu=(dc.locales=x,v=(k=ju).exports,Object.defineProperty(v,"__esModule",{value:!0}),v.default=function(e){return(0,ov.default)(e)?parseFloat(e):NaN},ov=dc&&dc.__esModule?dc:{default:dc},k.exports=v.default,k.exports.default=v.default,{exports:{}}),Hs=(w=(n=Bu).exports,Object.defineProperty(w,"__esModule",{value:!0}),w.default=function(e,t){return(0,iv.default)(e),parseInt(e,t||10)},iv=(y=l.exports)&&y.__esModule?y:{default:y},n.exports=w.default,n.exports.default=w.default,{exports:{}}),is=(eu=(b=Hs).exports,Object.defineProperty(eu,"__esModule",{value:!0}),eu.default=function(e,t){return(0,av.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e},av=(S=l.exports)&&S.__esModule?S:{default:S},b.exports=eu.default,b.exports.default=eu.default,{exports:{}}),c=(Is=(e=is).exports,Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=function(e,t){return(0,sv.default)(e),e===t},sv=(ic=l.exports)&&ic.__esModule?ic:{default:ic},e.exports=Is.default,e.exports.default=Is.default,{exports:{}}),u={exports:{}};function lv(e){return(lv="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=(f=u).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return"object"===lv(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},f.exports=E.default,f.exports.default=E.default;var dv,fv,pv,hv,_={exports:{}};function gv(e){return e&&e.__esModule?e:{default:e}}k=(x=_).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.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},x.exports=k.default,x.exports.default=k.default,y=(v=c).exports,Object.defineProperty(y,"__esModule",{value:!0}),y.default=function(e,t,r){return(0,dv.default)(e),(r=(0,pv.default)(r,hv)).ignoreCase?e.toLowerCase().split((0,fv.default)(t).toLowerCase()).length>r.minOccurrences:e.split((0,fv.default)(t)).length>r.minOccurrences},dv=gv(l.exports),fv=gv(u.exports),pv=gv(_.exports),hv={ignoreCase:!1,minOccurrences:1},v.exports=y.default,v.exports.default=y.default;var mv,vv,n={exports:{}},eu=(S=(w=n).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e,t,r){return(0,mv.default)(e),(t="[object RegExp]"!==Object.prototype.toString.call(t)?new RegExp(t,r):t).test(e)},mv=(b=l.exports)&&b.__esModule?b:{default:b},w.exports=S.default,w.exports.default=S.default,{exports:{}}),ic={exports:{}};function bv(e){return(bv="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)}Is=(e=ic).exports,Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=function(e,t){(0,vv.default)(e),t="object"===bv(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)},vv=(f=l.exports)&&f.__esModule?f:{default:f},e.exports=Is.default,e.exports.default=Is.default;var yv,_v,wv,E={exports:{}};function Av(e){return e&&e.__esModule?e:{default:e}}k=(x=E).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){(0,yv.default)(e),(t=(0,_v.default)(t,wv)).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(!/^([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||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})},yv=Av(l.exports),_v=Av(_.exports),wv={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1},x.exports=k.default,x.exports.default=k.default;var xv,kv,Ev,Sv,Rv,Dv,Ov,Tv,Mv,Iv,Cv,Lv,Pv,jv,Bv,v={exports:{}};function Uv(e){return e&&e.__esModule?e:{default:e}}b=(y=v).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return(0,Pv.default)(t),(r=String(r))?"4"===r?!!jv.test(t)&&t.split(".").sort(function(e,t){return e-t})[3]<=255:"6"===r&&!!Bv.test(t):e(t,4)||e(t,6)},Pv=(w=l.exports)&&w.__esModule?w:{default:w},w="(".concat(w="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])","[.]){3}").concat(w),jv=new RegExp("^".concat(w,"$")),S="(?:[0-9a-fA-F]{1,4})",Bv=new RegExp("^("+"(?:".concat(S,":){7}(?:").concat(S,"|:)|")+"(?:".concat(S,":){6}(?:").concat(w,"|:").concat(S,"|:)|")+"(?:".concat(S,":){5}(?::").concat(w,"|(:").concat(S,"){1,2}|:)|")+"(?:".concat(S,":){4}(?:(:").concat(S,"){0,1}:").concat(w,"|(:").concat(S,"){1,3}|:)|")+"(?:".concat(S,":){3}(?:(:").concat(S,"){0,2}:").concat(w,"|(:").concat(S,"){1,4}|:)|")+"(?:".concat(S,":){2}(?:(:").concat(S,"){0,3}:").concat(w,"|(:").concat(S,"){1,5}|:)|")+"(?:".concat(S,":){1}(?:(:").concat(S,"){0,4}:").concat(w,"|(:").concat(S,"){1,6}|:)|")+"(?::((?::".concat(S,"){0,5}:").concat(w,"|(?::").concat(S,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$"),y.exports=b.default,y.exports.default=b.default,e=(f=eu).exports,Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,xv.default)(e),(t=(0,kv.default)(t,Dv)).require_display_name||t.allow_display_name){var r=e.match(Ov);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.substr(0,r.length-1):r))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&254<e.length)return!1;var r=e.split("@"),e=r.pop(),n=e.toLowerCase();if(t.host_blacklist.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,Ev.default)(n.replace(/\./g,""),{min:6,max:30}))return!1;for(var o=n.split("."),i=0;i<o.length;i++)if(!Mv.test(o[i]))return!1}if(!(!1!==t.ignore_max_length||(0,Ev.default)(r,{max:64})&&(0,Ev.default)(e,{max:254})))return!1;if(!(0,Sv.default)(e,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,Rv.default)(e)){if(!e.startsWith("[")||!e.endsWith("]"))return!1;n=e.substr(1,e.length-2);if(0===n.length||!(0,Rv.default)(n))return!1}}if('"'===r[0])return r=r.slice(1,r.length-1),(t.allow_utf8_local_part?Lv:Iv).test(r);for(var a=t.allow_utf8_local_part?Cv:Tv,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"))},xv=Uv(l.exports),kv=Uv(_.exports),Ev=Uv(ic.exports),Sv=Uv(E.exports),Rv=Uv(v.exports),Dv={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[]},Ov=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,Tv=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,Mv=/^[a-z\d]+$/,Iv=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,Cv=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,Lv=/^([\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,f.exports=e.default,f.exports.default=e.default;var $v,Nv,Fv,Gv,zv,Zv,Is={exports:{}};function Hv(e){return e&&e.__esModule?e:{default:e}}function Kv(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 Wv(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}k=(x=Is).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){if((0,$v.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,Gv.default)(t,zv)).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.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;o[0]=e.substr(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){if(e){if("string"==typeof e)return Kv(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Kv(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(Zv);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?Wv(n,t.host_whitelist):!!((0,Fv.default)(n)||(0,Nv.default)(n,t)||e&&(0,Fv.default)(e,6))&&(n=n||e,!t.host_blacklist||!Wv(n,t.host_blacklist))},$v=Hv(l.exports),Nv=Hv(E.exports),Fv=Hv(v.exports),Gv=Hv(_.exports),zv={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},Zv=/^\[([^\]]+)\](?::([0-9]+))?$/,x.exports=k.default,x.exports.default=k.default;var Vv,qv,Yv,Xv,Jv,Qv,e1,t1,w={exports:{}},f=(y=(S=w).exports,Object.defineProperty(y,"__esModule",{value:!0}),y.default=function(e,t){return(0,Vv.default)(e),t&&(t.no_colons||t.no_separators)?Yv.test(e):qv.test(e)||Xv.test(e)},Vv=(b=l.exports)&&b.__esModule?b:{default:b},qv=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,Yv=/^([0-9a-fA-F]){12}$/,Xv=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,S.exports=y.default,S.exports.default=y.default,{exports:{}});function r1(e){return e&&e.__esModule?e:{default:e}}x=(e=f).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=((0,Jv.default)(e),e.split("/"));if(2!==r.length)return!1;if(!e1.test(r[1]))return!1;if(1<r[1].length&&r[1].startsWith("0"))return!1;if(!(0,Qv.default)(r[0],t))return!1;var n=null;switch(String(t)){case"4":n=32;break;case"6":n=t1;break;default:n=(0,Qv.default)(r[0],"6")?t1:32}return r[1]<=n&&0<=r[1]},Jv=r1(l.exports),Qv=r1(v.exports),e1=/^\d{1,3}$/,t1=128,e.exports=x.default,e.exports.default=x.default;var n1,o1,k={exports:{}};function i1(e,t){if(e){if("string"==typeof e)return a1(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a1(e,t):void 0}}function a1(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}S=(b=k).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(t,r){if(r="string"==typeof r?(0,n1.default)({format:r},o1):(0,n1.default)(r,o1),"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=i1(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)||i1(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))},n1=(y=_.exports)&&y.__esModule?y:{default:y},o1={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1},b.exports=S.default,b.exports.default=S.default;var s1,u1,c1,l1,d1,f1,p1,h1,g1,m1,v1,b1,y1,_1,w1,A1,x1,k1,E1,S1,R1,D1,O1,T1,M1,I1,C1,L1,P1,e={exports:{}},S=(y=(x=e).exports,Object.defineProperty(y,"__esModule",{value:!0}),y.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u1;return(0,s1.default)(e),t.loose?l1.includes(e.toLowerCase()):c1.includes(e)},s1=(b=l.exports)&&b.__esModule?b:{default:b},u1={loose:!1},c1=["true","false","1","0"],l1=[].concat(c1,["yes","no"]),x.exports=y.default,x.exports.default=y.default,{exports:{}}),y=(x=(b=S).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,d1.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||f1.test(e)},d1=(y=l.exports)&&y.__esModule?y:{default:y},f1=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/,b.exports=x.default,b.exports.default=x.default,{}),j1=(Object.defineProperty(y,"__esModule",{value:!0}),y.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,j1.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 B1.alpha)return B1.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},y.locales=void 0,(b=l.exports)&&b.__esModule?b:{default:b}),B1=m,x=Object.keys(B1.alpha),b=(y.locales=x,{}),U1=(Object.defineProperty(b,"__esModule",{value:!0}),b.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,U1.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 $1.alphanumeric)return $1.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},b.locales=void 0,(x=l.exports)&&x.__esModule?x:{default:x}),$1=m,x=Object.keys($1.alphanumeric),x=(b.locales=x,{exports:{}}),N1=(R=(G1=x).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e,t){return(0,p1.default)(e),(t&&t.no_symbols?g1:new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?h1.decimal[t.locale]:".","])?[0-9]+$"))).test(e)},p1=(N1=l.exports)&&N1.__esModule?N1:{default:N1},h1=m,g1=/^[0-9]+$/,G1.exports=R.default,G1.exports.default=R.default,{exports:{}}),F1=(R=(G1=N1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e,t){(0,m1.default)(e);e=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in v1&&v1[t].test(e)},m1=(F1=l.exports)&&F1.__esModule?F1:{default:F1},v1={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,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}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,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}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,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}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/},G1.exports=R.default,G1.exports.default=R.default,{exports:{}}),G1={exports:{}},z1=(z1=(R=G1).exports,Object.defineProperty(z1,"__esModule",{value:!0}),z1.default=function(e,t){(0,y1.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?_1:w1,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},y1=(J1=l.exports)&&J1.__esModule?J1:{default:J1},_1=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,w1=/^[-+]?[0-9]+$/,R.exports=z1.default,R.exports.default=z1.default,R=(J1=F1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,b1.default)(e,{min:0,max:65535})},b1=(z1=G1.exports)&&z1.__esModule?z1:{default:z1},J1.exports=R.default,J1.exports.default=R.default,{exports:{}}),Z1=(R=(J1=z1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,A1.default)(e),e===e.toLowerCase()},A1=(Z1=l.exports)&&Z1.__esModule?Z1:{default:Z1},J1.exports=R.default,J1.exports.default=R.default,{exports:{}}),H1=(R=(J1=Z1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,x1.default)(e),e===e.toUpperCase()},x1=(H1=l.exports)&&H1.__esModule?H1:{default:H1},J1.exports=R.default,J1.exports.default=R.default,{exports:{}}),K1=(R=(J1=H1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e,t){(0,k1.default)(e);var r=E1;if(!(r=(t=t||{}).allow_hyphens?S1: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)},k1=(K1=l.exports)&&K1.__esModule?K1:{default:K1},E1=/^[0-9]{15}$/,S1=/^\d{2}-\d{6}-\d{6}-\d{1}$/,J1.exports=R.default,J1.exports.default=R.default,{exports:{}}),W1=(R=(J1=K1).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,R1.default)(e),D1.test(e)},R1=(W1=l.exports)&&W1.__esModule?W1:{default:W1},D1=/^[\x00-\x7F]+$/,J1.exports=R.default,J1.exports.default=R.default,{}),V1=(Object.defineProperty(W1,"__esModule",{value:!0}),W1.default=function(e){return(0,V1.default)(e),q1.test(e)},W1.fullWidth=void 0,(J1=l.exports)&&J1.__esModule?J1:{default:J1}),q1=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,R=(W1.fullWidth=q1,{}),Y1=(Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,Y1.default)(e),X1.test(e)},R.halfWidth=void 0,(J1=l.exports)&&J1.__esModule?J1:{default:J1}),X1=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,J1=(R.halfWidth=X1,{exports:{}}),Q1=(fb=(tb=J1).exports,Object.defineProperty(fb,"__esModule",{value:!0}),fb.default=function(e){return(0,O1.default)(e),T1.fullWidth.test(e)&&M1.halfWidth.test(e)},O1=(Q1=l.exports)&&Q1.__esModule?Q1:{default:Q1},T1=W1,M1=R,tb.exports=fb.default,tb.exports.default=fb.default,{exports:{}}),eb=(fb=(tb=Q1).exports,Object.defineProperty(fb,"__esModule",{value:!0}),fb.default=function(e){return(0,I1.default)(e),C1.test(e)},I1=(eb=l.exports)&&eb.__esModule?eb:{default:eb},C1=/[^\x00-\x7F]/,tb.exports=fb.default,tb.exports.default=fb.default,{exports:{}}),tb={exports:{}};function rb(e){return e&&e.__esModule?e:{default:e}}D=(fb=tb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e,t){e=e.join("");return new RegExp(e,t)},fb.exports=D.default,fb.exports.default=D.default,D=(fb=eb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,L1.default)(e),P1.test(e)},L1=rb(l.exports),P1=(0,rb(tb.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"),fb.exports=D.default,fb.exports.default=D.default;var nb,ob,ib,ab,sb,ub,cb,lb,tb={exports:{}},db=(D=(fb=tb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,nb.default)(e),ob.test(e)},nb=(db=l.exports)&&db.__esModule?db:{default:db},ob=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,fb.exports=D.default,fb.exports.default=D.default,{exports:{}}),fb={exports:{}},D=fb,pb=fb.exports;function hb(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(pb,"__esModule",{value:!0}),pb.default=void 0,pb.default=function(e,t){return e.some(function(e){return t===e})},D.exports=pb.default,D.exports.default=pb.default,pb=(D=db).exports,Object.defineProperty(pb,"__esModule",{value:!0}),pb.default=function(e,t){if((0,ab.default)(e),(t=(0,ib.default)(t,cb)).locale in ub.decimal)return!(0,sb.default)(lb,e.replace(/ /g,""))&&(r=t,new RegExp("^[-+]?([0-9]+)?(\\".concat(ub.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,"'"))},ib=hb(_.exports),ab=hb(l.exports),sb=hb(fb.exports),ub=m,cb={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},lb=["","-","+"],D.exports=pb.default,D.exports.default=pb.default;var gb,mb,vb,bb,yb,_b,fb={exports:{}},pb=(D=(m=fb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,gb.default)(e),mb.test(e)},gb=(pb=l.exports)&&pb.__esModule?pb:{default:pb},mb=/^(0x|0h)?[0-9A-F]+$/i,m.exports=D.default,m.exports.default=D.default,{exports:{}}),wb=(D=(m=pb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){return(0,vb.default)(e),bb.test(e)},vb=(wb=l.exports)&&wb.__esModule?wb:{default:wb},bb=/^(0o)?[0-7]+$/i,m.exports=D.default,m.exports.default=D.default,{exports:{}});function Ab(e){return e&&e.__esModule?e:{default:e}}D=(m=wb).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e,t){return(0,yb.default)(e),(0,_b.default)(e)%parseInt(t,10)==0},yb=Ab(l.exports),_b=Ab(ju.exports),m.exports=D.default,m.exports.default=D.default;var xb,kb,Eb,Sb,Rb,Db,Ob,Tb,Mb,Ib,Cb,Lb,Pb,jb,Bb,Ub,$b,Nb,Fb,Gb,zb,Zb,Hb,Kb,Wb,Vb,m={exports:{}},qb=(ty=(D=m).exports,Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=function(e){return(0,xb.default)(e),kb.test(e)},xb=(qb=l.exports)&&qb.__esModule?qb:{default:qb},kb=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,D.exports=ty.default,D.exports.default=ty.default,{exports:{}}),Yb=(ty=(D=qb).exports,Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return(0,Eb.default)(e),t?Sb.test(e)||Rb.test(e)||Db.test(e)||Ob.test(e):Sb.test(e)||Rb.test(e)},Eb=(Yb=l.exports)&&Yb.__esModule?Yb:{default:Yb},Sb=/^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])\)$/,Rb=/^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)?)\)$/,Db=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,Ob=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/,D.exports=ty.default,D.exports.default=ty.default,{exports:{}}),Xb=(ty=(D=Yb).exports,Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=function(e){(0,Tb.default)(e);e=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return(-1!==e.indexOf(",")?Mb:Ib).test(e)},Tb=(Xb=l.exports)&&Xb.__esModule?Xb:{default:Xb},Mb=/^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,Ib=/^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=ty.default,D.exports.default=ty.default,{exports:{}}),Jb=(ty=(D=Xb).exports,Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=function(e){return(0,Cb.default)(e),Lb.test(e)},Cb=(Jb=l.exports)&&Jb.__esModule?Jb:{default:Jb},Lb=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/,D.exports=ty.default,D.exports.default=ty.default,{}),Qb=(Object.defineProperty(Jb,"__esModule",{value:!0}),Jb.default=function(e){return(0,Qb.default)(e),t=e.replace(/[\s\-]+/gi,"").toUpperCase(),(r=t.slice(0,2).toUpperCase())in ey&&ey[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},Jb.locales=void 0,(D=l.exports)&&D.__esModule?D:{default:D}),ey={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}$/},ty=Object.keys(ey),D=(Jb.locales=ty,{exports:{}}),ty={},ry=(Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=function(e){return(0,ry.default)(e),ny.has(e.toUpperCase())},ty.CountryCodes=void 0,(sy=l.exports)&&sy.__esModule?sy:{default:sy}),ny=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"]),oy=(ty.CountryCodes=ny,O=(sy=D).exports,Object.defineProperty(O,"__esModule",{value:!0}),O.default=function(e){return(0,Pb.default)(e),!!jb.CountryCodes.has(e.slice(4,6).toUpperCase())&&Bb.test(e)},Pb=(oy=l.exports)&&oy.__esModule?oy:{default:oy},jb=ty,Bb=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/,sy.exports=O.default,sy.exports.default=O.default,{exports:{}}),iy=(O=(sy=oy).exports,Object.defineProperty(O,"__esModule",{value:!0}),O.default=function(e){return(0,Ub.default)(e),$b.test(e)},Ub=(iy=l.exports)&&iy.__esModule?iy:{default:iy},$b=/^[a-f0-9]{32}$/,sy.exports=O.default,sy.exports.default=O.default,{exports:{}}),ay=(O=(sy=iy).exports,Object.defineProperty(O,"__esModule",{value:!0}),O.default=function(e,t){return(0,Nb.default)(e),new RegExp("^[a-fA-F0-9]{".concat(Fb[t],"}$")).test(e)},Nb=(ay=l.exports)&&ay.__esModule?ay:{default:ay},Fb={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},sy.exports=O.default,sy.exports.default=O.default,{exports:{}}),sy={exports:{}};function uy(e){return e&&e.__esModule?e:{default:e}}function cy(e){return e&&e.__esModule?e:{default:e}}by=(O=sy).exports,Object.defineProperty(by,"__esModule",{value:!0}),by.default=function(e,t){(0,Zb.default)(e),t=(0,Hb.default)(t,Vb);var r=e.length;if(t.urlSafe)return Wb.test(e);if(r%4!=0||Kb.test(e))return!1;t=e.indexOf("=");return-1===t||t===r-1||t===r-2&&"="===e[r-1]},Zb=cy(l.exports),Hb=cy(_.exports),Kb=/[^A-Z0-9+\/=]/i,Vb={urlSafe:!(Wb=/^[A-Z0-9_\-]*$/i)},O.exports=by.default,O.exports.default=by.default,by=(O=ay).exports,Object.defineProperty(by,"__esModule",{value:!0}),by.default=function(e){(0,Gb.default)(e);var e=e.split("."),t=e.length;return!(3<t||t<2)&&e.reduce(function(e,t){return e&&(0,zb.default)(t,{urlSafe:!0})},!0)},Gb=uy(l.exports),zb=uy(sy.exports),O.exports=by.default,O.exports.default=by.default;var ly,dy,fy,O={exports:{}};function py(e){return e&&e.__esModule?e:{default:e}}function hy(e){return(hy="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)}wy=(by=O).exports,Object.defineProperty(wy,"__esModule",{value:!0}),wy.default=function(e,t){(0,ly.default)(e);try{t=(0,dy.default)(t,fy);var r=[],n=(t.allow_primitives&&(r=[null,!1,!0]),JSON.parse(e));return r.includes(n)||!!n&&"object"===hy(n)}catch(e){}return!1},ly=py(l.exports),dy=py(_.exports),fy={allow_primitives:!1},by.exports=wy.default,by.exports.default=wy.default;var gy,my,vy,by={exports:{}};function yy(e){return e&&e.__esModule?e:{default:e}}Iy=(wy=by).exports,Object.defineProperty(Iy,"__esModule",{value:!0}),Iy.default=function(e,t){return(0,gy.default)(e),0===((t=(0,my.default)(t,vy)).ignore_whitespace?e.trim():e).length},gy=yy(l.exports),my=yy(_.exports),vy={ignore_whitespace:!1},wy.exports=Iy.default,wy.exports.default=Iy.default;var _y,wy={exports:{}};function Ay(e){return(Ay="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)}jy=(Iy=wy).exports,Object.defineProperty(jy,"__esModule",{value:!0}),jy.default=function(e,t){(0,_y.default)(e),t="object"===Ay(t)?(r=t.min||0,t.max):(r=t||0,arguments[2]);var r,n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],e=e.length-n.length;return r<=e&&(void 0===t||e<=t)},_y=(Ry=l.exports)&&Ry.__esModule?Ry:{default:Ry},Iy.exports=jy.default,Iy.exports.default=jy.default;var xy,ky,Ey,Sy,Ry={exports:{}},Dy=(jy=(Iy=Ry).exports,Object.defineProperty(jy,"__esModule",{value:!0}),jy.default=function(e,t){(0,xy.default)(e);t=ky[[void 0,null].includes(t)?"all":t];return!!t&&t.test(e)},xy=(Dy=l.exports)&&Dy.__esModule?Dy:{default:Dy},ky={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},Iy.exports=jy.default,Iy.exports.default=jy.default,{exports:{}});function Oy(e){return e&&e.__esModule?e:{default:e}}jy=(Iy=Dy).exports,Object.defineProperty(jy,"__esModule",{value:!0}),jy.default=function(e){return(0,Ey.default)(e),(0,Sy.default)(e)&&24===e.length},Ey=Oy(l.exports),Sy=Oy(fb.exports),Iy.exports=jy.default,Iy.exports.default=jy.default;var Ty,My,Iy={exports:{}};function Cy(e){return e&&e.__esModule?e:{default:e}}Ny=(jy=Iy).exports,Object.defineProperty(Ny,"__esModule",{value:!0}),Ny.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date),t=((0,Ty.default)(e),(0,My.default)(t)),e=(0,My.default)(e);return!!(e&&t&&t<e)},Ty=Cy(l.exports),My=Cy(i.exports),jy.exports=Ny.default,jy.exports.default=Ny.default;var Ly,Py,jy={exports:{}};function By(e){return e&&e.__esModule?e:{default:e}}p_=(Ny=jy).exports,Object.defineProperty(p_,"__esModule",{value:!0}),p_.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date),t=((0,Ly.default)(e),(0,Py.default)(t)),e=(0,Py.default)(e);return!!(e&&t&&e<t)},Ly=By(l.exports),Py=By(i.exports),Ny.exports=p_.default,Ny.exports.default=p_.default;var Uy,$y,Ny={exports:{}};function Fy(e){return e&&e.__esModule?e:{default:e}}function Gy(e){return(Gy="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)}T=(p_=Ny).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){if((0,Uy.default)(e),"[object Array]"!==Object.prototype.toString.call(t))return"object"===Gy(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,$y.default)(t[n]));return 0<=r.indexOf(e)},Uy=Fy(l.exports),$y=Fy(u.exports),p_.exports=T.default,p_.exports.default=T.default;var zy,Zy,Hy,Ky,Wy,u={exports:{}},Vy=(T=(p_=u).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){(0,zy.default)(e);var t=e.replace(/[- ]+/g,"");if(!Zy.test(t))return!1;for(var r,n,o=0,i=t.length-1;0<=i;i--)r=t.substring(i,i+1),r=parseInt(r,10),o+=n&&10<=(r*=2)?r%10+1:r,n=!n;return!(o%10!=0||!t)},zy=(Vy=l.exports)&&Vy.__esModule?Vy:{default:Vy},Zy=/^(?: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}))$/,p_.exports=T.default,p_.exports.default=T.default,{exports:{}});function qy(e){return e&&e.__esModule?e:{default:e}}T=(p_=Vy).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){if((0,Hy.default)(e),t in Wy)return Wy[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in Wy)if(Wy.hasOwnProperty(r)&&(0,Wy[r])(e))return!0;return!1},Hy=qy(l.exports),Ky=qy(G1.exports),Wy={PL:function(e){(0,Hy.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,Ky.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,Hy.default)(e);var t={X:0,Y:1,Z:2},e=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(e))return!1;var r=e.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return t[e]});return 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"][r%23])},FI:function(e){return(0,Hy.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=[[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]],n=[[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();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(e))return!1;var o=0;return e.replace(/\s/g,"").split("").map(Number).reverse().forEach(function(e,t){o=r[o][n[t%8][e]]}),0===o},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).substr(e.length-6),0===parseInt(e.substr(3,6),10))return!1;for(var t=parseInt(e.substr(9,1),10),r=0,n=0;n<9;n++)r+=parseInt(e.substr(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){e=e.trim();if(isNaN(Number(e)))return!1;if(11!==e.length)return!1;if("00000000000"===e)return!1;var e=e.split("").map(Number),t=(11-(3*e[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;return 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 o(e){return t.includes(e)}function i(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 t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],a=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],s=["1","0","X","9","8","7","6","5","4","3","2"];return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(e=e)&&(15===e.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;r="19".concat(e.substring(6,12));return!!i(r)}:function(e){if(!/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e))return!1;var t=e.substring(0,2);if(!o(t))return!1;var n,t=e.substring(6,14);return!!i(t)&&(n=e,function(){for(var e=n.substring(0,17),t=0,r=0;r<17;r++)t+=parseInt(e.charAt(r),10)*parseInt(a[r],10);return s[t%11]}()===n.charAt(17).toUpperCase())})(e)},"zh-TW":function(e){var o={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},e=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(e)&&Array.from(e).reduce(function(e,t,r){var n;return 0===r?(n=o[t])%10*9+Math.floor(n/10):9===r?(10-e%10-Number(t))%10==0:e+Number(t)*(9-r)},0)}},p_.exports=T.default,p_.exports.default=T.default;var Yy,Xy,Jy,Qy,e_,t_,r_,n_,o_,i_,a_,s_,u_,c_,l_,d_,f_,p_={exports:{}},h_=(M_=(T=p_).exports,Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=function(e){(0,Yy.default)(e);var r,t=Number(e.slice(-1));return Xy.test(e)&&t===((t=10-(r=e).slice(0,-1).split("").map(function(e,t){return Number(e)*(8===(e=r.length)||14===e?t%2==0?3:1:t%2==0?1:3)}).reduce(function(e,t){return e+t},0)%10)<10?t:0)},Yy=(h_=l.exports)&&h_.__esModule?h_:{default:h_},Xy=/^(\d{8}|\d{13}|\d{14})$/,T.exports=M_.default,T.exports.default=M_.default,{exports:{}}),g_=(M_=(T=h_).exports,Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=function(e){if((0,Jy.default)(e),!Qy.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},Jy=(g_=l.exports)&&g_.__esModule?g_:{default:g_},Qy=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/,T.exports=M_.default,T.exports.default=M_.default,{exports:{}}),m_=(M_=(T=g_).exports,Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";if((0,e_.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,o=t.replace(/[\s-]+/g,""),i=0;if("10"===r){if(!t_.test(o))return!1;for(n=0;n<9;n++)i+=(n+1)*o.charAt(n);if("X"===o.charAt(9)?i+=100:i+=10*o.charAt(9),i%11==0)return!!o}else if("13"===r){if(!r_.test(o))return!1;for(n=0;n<12;n++)i+=n_[n%2]*o.charAt(n);if(o.charAt(12)-(10-i%10)%10==0)return!!o}return!1},e_=(m_=l.exports)&&m_.__esModule?m_:{default:m_},t_=/^(?:[0-9]{9}X|[0-9]{10})$/,r_=/^(?:[0-9]{13})$/,n_=[1,3],T.exports=M_.default,T.exports.default=M_.default,{exports:{}}),v_=(M_=(T=m_).exports,Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,o_.default)(e),i_),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},o_=(v_=l.exports)&&v_.__esModule?v_:{default:v_},i_="^\\d{4}-?\\d{3}[\\dX]$",T.exports=M_.default,T.exports.default=M_.default,{exports:{}}),T={};function b_(e){return(b_="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 y_(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return y_=function(){return e},e}function __(e){return e&&e.__esModule?e:{default:e}}function w_(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 A_(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(T,"__esModule",{value:!0}),T.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)},T.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},T.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},T.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},T_=(M_=v_).exports,Object.defineProperty(T_,"__esModule",{value:!0}),T_.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",e=((0,a_.default)(e),e.slice(0));if(t in l_)return t in f_&&(e=e.replace(f_[t],"")),!!l_[t].test(e)&&(!(t in d_)||d_[t](e));throw new Error("Invalid locale '".concat(t,"'"))},a_=__(l.exports),s_=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==b_(e)&&"function"!=typeof e)return{default:e};var t=y_();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}(T),u_=__(k.exports),c_={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"]},(l_={"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-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"]=l_["fr-LU"],l_["lt-LT"]=l_["et-EE"],l_["nl-BE"]=l_["fr-BE"],(d_={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10),t=40<r?(r-=40,"20".concat(t)):20<r?(r-=20,"18".concat(t)):"19".concat(t),t=(r<10&&(r="0".concat(r)),"".concat(t,"/").concat(r,"/").concat(e.slice(4,6)));if(!(0,u_.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,u_.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 s_.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 s_.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,u_.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-IE":function(e){var t=s_.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 c_)c_.hasOwnProperty(e)&&t.push.apply(t,function e(t){return function(e){if(Array.isArray(e))return w_(e)}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return w_(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?w_(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.")}()}(c_[e]));return t}().indexOf(e.substr(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,u_.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));if(!(0,u_.default)(r,"YYYY/MM/DD"))return!1;r=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return r<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,u_.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,u_.default)(t,"YYYY/MM/DD")&&!!s_.luhnCheck(e.slice(0,12))&&s_.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return s_.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(!A_(t.slice(0,3)))return!1;if(!A_(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,u_.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,u_.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 s_.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,u_.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-s_.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,u_.default)(r,"YY/MM/DD"))return!1}else if(!(0,u_.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,u_.default)(t,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-s_.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,u_.default)(i,"YY/MM/DD"))return!1}else if(!(0,u_.default)(i,"YYYY/MM/DD"))return!1;return s_.luhnCheck(e.replace(/\W/,""))}})["lb-LU"]=d_["fr-LU"],d_["lt-LT"]=d_["et-EE"],d_["nl-BE"]=d_["fr-BE"],(f_={"de-AT":T=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,"de-DE":/[\/\\]/g,"fr-BE":T})["nl-BE"]=f_["fr-BE"],M_.exports=T_.default,M_.exports.default=T_.default;var x_,k_,E_,S_,R_,T={},D_=(Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(t,e,r){if((0,D_.default)(t),r&&r.strictMode&&!t.startsWith("+"))return!1;if(Array.isArray(e))return e.some(function(e){return!(!O_.hasOwnProperty(e)||!O_[e].test(t))});if(e in O_)return O_[e].test(t);if(e&&"any"!==e)throw new Error("Invalid locale '".concat(e,"'"));for(var n in O_)if(O_.hasOwnProperty(n)&&O_[n].test(t))return!0;return!1},T.locales=void 0,(M_=l.exports)&&M_.__esModule?M_:{default:M_}),O_={"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}$/,"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)(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|3])([0|5][0-45-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]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"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-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{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-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]\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-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|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"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-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})$/,"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)?(5|79)\d{7}$/,"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}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\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}$/,"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[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?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}$/},T_=(O_["en-CA"]=O_["en-US"],O_["fr-CA"]=O_["en-CA"],O_["fr-BE"]=O_["nl-BE"],O_["zh-HK"]=O_["en-HK"],O_["zh-MO"]=O_["en-MO"],O_["ga-IE"]=O_["en-IE"],O_["fr-CH"]=O_["de-CH"],O_["it-CH"]=O_["fr-CH"],Object.keys(O_)),M_=(T.locales=T_,{exports:{}}),I_=(I=(T_=M_).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){return(0,x_.default)(e),k_.test(e)},x_=(I_=l.exports)&&I_.__esModule?I_:{default:I_},k_=/^(0x)[0-9a-f]{40}$/i,T_.exports=I.default,T_.exports.default=I.default,{exports:{}});function C_(e){return e&&e.__esModule?e:{default:e}}I=(T_=I_).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e,t){return(0,S_.default)(e),t=t=(0,E_.default)(t,R_),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},E_=C_(_.exports),S_=C_(l.exports),R_={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},T_.exports=I.default,T_.exports.default=I.default;var L_,P_,j_,B_,U_,$_,N_,F_,G_,z_,Z_,H_,K_,W_,V_,q_,Y_,X_,J_,Q_,ew,tw,rw,nw,ow,iw,aw,sw,uw,cw,lw,dw,T_={exports:{}},fw=(gw=(I=T_).exports,Object.defineProperty(gw,"__esModule",{value:!0}),gw.default=function(e){return(0,L_.default)(e),(e.startsWith("bc1")?P_:j_).test(e)},L_=(fw=l.exports)&&fw.__esModule?fw:{default:fw},P_=/^(bc1)[a-z0-9]{25,39}$/,j_=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/,I.exports=gw.default,I.exports.default=gw.default,{exports:{}}),pw=(gw=(I=fw).exports,Object.defineProperty(gw,"__esModule",{value:!0}),gw.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,B_.default)(e),(t.strictSeparator?$_:U_).test(e));return r&&t.strict?N_(e):r},B_=(pw=l.exports)&&pw.__esModule?pw:{default:pw},U_=/^([\+-]?\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)?)?)?)?$/,$_=/^([\+-]?\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)?)?)?)?$/,N_=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t)return r=Number(t[1]),t=Number(t[2]),r%4==0&&r%100!=0||r%400==0?t<=366:t<=365;var r=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),t=r[1],e=r[2],r=r[3],n=e&&"0".concat(e).slice(-2),o=r&&"0".concat(r).slice(-2),n=new Date("".concat(t,"-").concat(n||"01","-").concat(o||"01"));return!e||!r||n.getUTCFullYear()===t&&n.getUTCMonth()+1===e&&n.getUTCDate()===r},I.exports=gw.default,I.exports.default=gw.default,{exports:{}}),hw=(gw=(I=pw).exports,Object.defineProperty(gw,"__esModule",{value:!0}),gw.default=function(e){return(0,F_.default)(e),G_.test(e)},F_=(M=l.exports)&&M.__esModule?M:{default:M},M=/([01][0-9]|2[0-3])/,bw=/[0-5][0-9]/,hw=new RegExp("[-+]".concat(M.source,":").concat(bw.source)),hw=new RegExp("([zZ]|".concat(hw.source,")")),M=new RegExp("".concat(M.source,":").concat(bw.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),bw=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),M=new RegExp("".concat(M.source).concat(hw.source)),G_=new RegExp("^".concat(bw.source,"[ tT]").concat(M.source,"$")),I.exports=gw.default,I.exports.default=gw.default,{exports:{}}),gw=(M=(bw=hw).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,z_.default)(e),Z_.has(e.toUpperCase())},z_=(I=l.exports)&&I.__esModule?I:{default:I},Z_=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"]),bw.exports=M.default,bw.exports.default=M.default,{}),mw=(Object.defineProperty(gw,"__esModule",{value:!0}),gw.default=function(e){return(0,mw.default)(e),vw.has(e.toUpperCase())},gw.CurrencyCodes=void 0,(I=l.exports)&&I.__esModule?I:{default:I}),vw=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"]),bw=(gw.CurrencyCodes=vw,{exports:{}}),yw=(I=(M=bw).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){return(0,H_.default)(e),!(e.length%8!=0||!K_.test(e))},H_=(yw=l.exports)&&yw.__esModule?yw:{default:yw},K_=/^[A-Z2-7]+=*$/,M.exports=I.default,M.exports.default=I.default,{exports:{}}),_w=(I=(M=yw).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){return(0,W_.default)(e),!!V_.test(e)},W_=(_w=l.exports)&&_w.__esModule?_w:{default:_w},V_=/^[A-HJ-NP-Za-km-z1-9]*$/,M.exports=I.default,M.exports.default=I.default,{exports:{}}),ww=(I=(M=_w).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){(0,q_.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),e=r.shift();if("data:"!==e.substr(0,5))return!1;e=e.substr(5);if(""!==e&&!Y_.test(e))return!1;for(var n=0;n<r.length;n++)if((n!==r.length-1||"base64"!==r[n].toLowerCase())&&!X_.test(r[n]))return!1;for(var o=0;o<t.length;o++)if(!J_.test(t[o]))return!1;return!0},q_=(ww=l.exports)&&ww.__esModule?ww:{default:ww},Y_=/^[a-z]+\/[a-z0-9\-\+]+$/i,X_=/^[a-z\-]+=[a-z0-9\-]+$/i,J_=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i,M.exports=I.default,M.exports.default=I.default,{exports:{}}),Aw=(I=(M=ww).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){return(0,Q_.default)(e),ew.test(e.trim())},Q_=(Aw=l.exports)&&Aw.__esModule?Aw:{default:Aw},ew=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i,M.exports=I.default,M.exports.default=I.default,{exports:{}}),xw=(I=(M=Aw).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e){return(0,tw.default)(e),rw.test(e)||nw.test(e)||ow.test(e)},tw=(xw=l.exports)&&xw.__esModule?xw:{default:xw},rw=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,nw=/^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,ow=/^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,M.exports=I.default,M.exports.default=I.default,{exports:{}});function kw(e){return e&&e.__esModule?e:{default:e}}I=(M=xw).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e,t){if((0,iw.default)(e),t=(0,aw.default)(t,dw),!e.includes(","))return!1;e=e.split(",");return!(e[0].startsWith("(")&&!e[1].endsWith(")")||e[1].endsWith(")")&&!e[0].startsWith("("))&&(t.checkDMS?cw.test(e[0])&&lw.test(e[1]):sw.test(e[0])&&uw.test(e[1]))},iw=kw(l.exports),aw=kw(_.exports),sw=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,uw=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,cw=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,dw={checkDMS:!(lw=/^\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)},M.exports=I.default,M.exports.default=I.default;var Ew,Sw,Rw,Dw,M={},Ow=(Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e,t){if((0,Ow.default)(e),t in Iw)return Iw[t].test(e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in Iw)if(Iw.hasOwnProperty(r)&&Iw[r].test(e))return!0;return!1},M.locales=void 0,(I=l.exports)&&I.__esModule?I:{default:I}),I=/^\d{4}$/,Tw=/^\d{5}$/,Mw=/^\d{6}$/,Iw={AD:/^AD\d{3}$/,AT:I,AU:I,AZ:/^AZ\d{4}$/,BE:I,BG:I,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:I,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:Tw,DK:I,DO:Tw,DZ:Tw,EE:Tw,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:Tw,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:I,ID:Tw,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:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:Tw,JP:/^\d{3}\-\d{4}$/,KE:Tw,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:I,LV:/^LV\-\d{4}$/,LK:Tw,MX:Tw,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:Tw,NL:/^\d{4}\s?[a-z]{2}$/i,NO:I,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:I,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:Mw,RU:Mw,SA:Tw,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:Mw,SI:I,SK:/^\d{3}\s?\d{2}$/,TH:Tw,TN:I,TW:/^\d{3}(\d{2})?$/,UA:Tw,US:/^\d{5}(-\d{4})?$/,ZA:I,ZM:Tw},Mw=Object.keys(Iw),I=(M.locales=Mw,{exports:{}}),Cw=(Mw=(Tw=I).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e,t){(0,Ew.default)(e);t=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(t,"")},Ew=(Cw=l.exports)&&Cw.__esModule?Cw:{default:Cw},Tw.exports=Mw.default,Tw.exports.default=Mw.default,{exports:{}}),Lw=(Mw=(Tw=Cw).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e,t){if((0,Sw.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)},Sw=(Lw=l.exports)&&Lw.__esModule?Lw:{default:Lw},Tw.exports=Mw.default,Tw.exports.default=Mw.default,{exports:{}});function Pw(e){return e&&e.__esModule?e:{default:e}}Mw=(Tw=Lw).exports,Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=function(e,t){return(0,Rw.default)((0,Dw.default)(e,t),t)},Rw=Pw(Cw.exports),Dw=Pw(I.exports),Tw.exports=Mw.default,Tw.exports.default=Mw.default;var jw,Bw,Uw,$w,Nw,Tw={exports:{}},Fw=(C=(Mw=Tw).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,jw.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")},jw=(Fw=l.exports)&&Fw.__esModule?Fw:{default:Fw},Mw.exports=C.default,Mw.exports.default=C.default,{exports:{}}),Gw=(C=(Mw=Fw).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Bw.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")},Bw=(Gw=l.exports)&&Gw.__esModule?Gw:{default:Gw},Mw.exports=C.default,Mw.exports.default=C.default,{exports:{}}),Mw={exports:{}};function zw(e){return e&&e.__esModule?e:{default:e}}Jw=(C=Mw).exports,Object.defineProperty(Jw,"__esModule",{value:!0}),Jw.default=function(e,t){return(0,Nw.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")},Nw=(L=l.exports)&&L.__esModule?L:{default:L},C.exports=Jw.default,C.exports.default=Jw.default,C=(L=Gw).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,Uw.default)(e),(0,$w.default)(e,t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F")},Uw=zw(l.exports),$w=zw(Mw.exports),L.exports=C.default,L.exports.default=C.default;var Zw,Hw,Kw,Ww,Vw,qw,Yw,Xw,Jw={exports:{}},Qw=(C=(L=Jw).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,Zw.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")},Zw=(Qw=l.exports)&&Qw.__esModule?Qw:{default:Qw},L.exports=C.default,L.exports.default=C.default,{exports:{}}),eA=(C=(L=Qw).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){(0,Hw.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0},Hw=(eA=l.exports)&&eA.__esModule?eA:{default:eA},L.exports=C.default,L.exports.default=C.default,{exports:{}});function tA(e){return 1<e.length?e:""}C=(L=eA).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){t=(0,Kw.default)(t,Ww);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,tA)),!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<=Vw.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<=qw.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<=Yw.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<=Xw.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("@")},Kw=(pA=_.exports)&&pA.__esModule?pA:{default:pA},Ww={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},Vw=["icloud.com","me.com"],qw=["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"],Yw=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],Xw=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"],L.exports=C.default,L.exports.default=C.default;var rA,nA,oA,iA,aA,sA,uA,cA,lA,dA,fA,pA={exports:{}},hA=(C=(L=pA).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,rA.default)(e),nA.test(e)},rA=(hA=l.exports)&&hA.__esModule?hA:{default:hA},nA=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/,L.exports=C.default,L.exports.default=C.default,{exports:{}}),gA=(C=(L=hA).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){if((0,oA.default)(e),t in iA)return iA[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in iA)if((0,iA[r])(e))return!0;return!1},oA=(gA=l.exports)&&gA.__esModule?gA:{default:gA},iA={"cs-CZ":function(e){return/^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|ND|NM|NK|NW|NR|NI|NF|DZ|EB|OZ|TG|TO|N|OA|GM|OB|CA|EH|FW|OF|OL|OE|OG|BH|LR|OS|AA|GD|OH|KY|NP|WK|PB|PA|PE|PI|PS|P|PM|PR|RA|RV|RE|R|H|SB|WN|RS|RD|RT|BM|NE|GV|RP|SU|GL|RO|GÜ|RH|EG|RW|PN|SK|MQ|RU|SZ|RI|SL|SM|SC|HR|FZ|VS|SW|SN|CR|SE|SI|SO|LP|SG|NH|SP|IZ|ST|BF|TE|HV|OD|SR|S|AC|DW|ZW|TF|TS|TR|TÜ|UM|PZ|TP|UE|UN|UH|MN|KK|VB|V|AE|PL|RC|VG|GW|PW|VR|VK|KB|WA|WT|BE|WM|WE|AP|MO|WW|FB|WZ|WI|WB|JE|WF|WO|W|WÜ|BL|Z|GC)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(AIC|FDB|ABG|SLN|SAW|KLZ|BUL|ESB|NAB|SUL|WST|ABI|AZE|BTF|KÖT|DKB|FEU|ROT|ALZ|SMÜ|WER|AUR|NOR|DÜW|BRK|HAB|TÖL|WOR|BAD|BAR|BER|BIW|EBS|KEM|MÜB|PEG|BGL|BGD|REI|WIL|BKS|BIR|WAT|BOR|BOH|BOT|BRB|BLK|HHM|NEB|NMB|WSF|LEO|HDL|WMS|WZL|BÜS|CHA|KÖZ|ROD|WÜM|CLP|NEC|COC|ZEL|COE|CUX|DAH|LDS|DEG|DEL|RSL|DLG|DGF|LAN|HEI|MED|DON|KIB|ROK|JÜL|MON|SLE|EBE|EIC|HIG|WBS|BIT|PRÜ|LIB|EMD|WIT|ERH|HÖS|ERZ|ANA|ASZ|MAB|MEK|STL|SZB|FDS|HCH|HOR|WOL|FRG|GRA|WOS|FRI|FFB|GAP|GER|BRL|CLZ|GTH|NOH|HGW|GRZ|LÖB|NOL|WSW|DUD|HMÜ|OHA|KRU|HAL|HAM|HBS|QLB|HVL|NAU|HAS|EBN|GEO|HOH|HDH|ERK|HER|WAN|HEF|ROF|HBN|ALF|HSK|USI|NAI|REH|SAN|KÜN|ÖHR|HOL|WAR|ARN|BRG|GNT|HOG|WOH|KEH|MAI|PAR|RID|ROL|KLE|GEL|KUS|KYF|ART|SDH|LDK|DIL|MAL|VIB|LER|BNA|GHA|GRM|MTL|WUR|LEV|LIF|STE|WEL|LIP|VAI|LUP|HGN|LBZ|LWL|PCH|STB|DAN|MKK|SLÜ|MSP|TBB|MGH|MTK|BIN|MSH|EIL|HET|SGH|BID|MYK|MSE|MST|MÜR|WRN|MEI|GRH|RIE|MZG|MIL|OBB|BED|FLÖ|MOL|FRW|SEE|SRB|AIB|MOS|BCH|ILL|SOB|NMS|NEA|SEF|UFF|NEW|VOH|NDH|TDO|NWM|GDB|GVM|WIS|NOM|EIN|GAN|LAU|HEB|OHV|OSL|SFB|ERB|LOS|BSK|KEL|BSB|MEL|WTL|OAL|FÜS|MOD|OHZ|OPR|BÜR|PAF|PLÖ|CAS|GLA|REG|VIT|ECK|SIM|GOA|EMS|DIZ|GOH|RÜD|SWA|NES|KÖN|MET|LRO|BÜZ|DBR|ROS|TET|HRO|ROW|BRV|HIP|PAN|GRI|SHK|EIS|SRO|SOK|LBS|SCZ|MER|QFT|SLF|SLS|HOM|SLK|ASL|BBG|SBK|SFT|SHG|MGN|MEG|ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([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)},"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)},"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)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)}},L.exports=C.default,L.exports.default=C.default,{exports:{}});function mA(e){return e&&e.__esModule?e:{default:e}}C=(L=gA).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,e=((0,sA.default)(e),function e(r){var t=function(){var t={};return Array.from(r).forEach(function(e){t[e]?t[e]+=1:t[e]=1}),t}(),n={length:r.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach(function(e){uA.test(e)?n.uppercaseCount+=t[e]:cA.test(e)?n.lowercaseCount+=t[e]:lA.test(e)?n.numberCount+=t[e]:dA.test(e)&&(n.symbolCount+=t[e])}),n}(e));return(t=(0,aA.default)(t||{},fA)).returnScore?function e(t,r){var n=0;return n=(n+=t.uniqueChars*r.pointsPerUnique)+(t.length-t.uniqueChars)*r.pointsPerRepeat,0<t.lowercaseCount&&(n+=r.pointsForContainingLower),0<t.uppercaseCount&&(n+=r.pointsForContainingUpper),0<t.numberCount&&(n+=r.pointsForContainingNumber),0<t.symbolCount&&(n+=r.pointsForContainingSymbol),n}(e,t):e.length>=t.minLength&&e.lowercaseCount>=t.minLowercase&&e.uppercaseCount>=t.minUppercase&&e.numberCount>=t.minNumbers&&e.symbolCount>=t.minSymbols},aA=mA(_.exports),sA=mA(l.exports),uA=/^[A-Z]$/,cA=/^[a-z]$/,lA=/^[0-9]$/,fA={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!(dA=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/),pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10},L.exports=C.default,L.exports.default=C.default;var _={},vA=(Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e,t){if((0,vA.default)(e),(0,vA.default)(t),t in bA)return bA[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},_.vatMatchers=void 0,(L=l.exports)&&L.__esModule?L:{default:L}),bA={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/,NL:/^(NL)?[0-9]{9}B[0-9]{2}$/},C=(_.vatMatchers=bA,Ji),l=Ji.exports;function yA(e){return(yA="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(l,"__esModule",{value:!0}),l.default=void 0;var L=P(i.exports),i=P(ju.exports),ju=P(Bu.exports),Bu=P(Hs.exports),Hs=P(is.exports),is=P(c.exports),c=P(n.exports),n=P(eu.exports),eu=P(Is.exports),Is=P(w.exports),w=P(v.exports),v=P(f.exports),f=P(E.exports),E=P(k.exports),k=P(e.exports),e=P(S.exports),S=wA(y),y=wA(b),b=P(x.exports),x=P(N1.exports),N1=P(F1.exports),F1=P(z1.exports),z1=P(Z1.exports),Z1=P(H1.exports),H1=P(K1.exports),K1=P(W1),W1=P(R),R=P(J1.exports),J1=P(Q1.exports),Q1=P(eb.exports),eb=P(tb.exports),tb=P(G1.exports),G1=wA(dc),dc=P(db.exports),db=P(fb.exports),fb=P(pb.exports),pb=P(wb.exports),wb=P(m.exports),m=P(qb.exports),qb=P(Yb.exports),Yb=P(Xb.exports),Xb=wA(Jb),Jb=P(D.exports),D=P(oy.exports),oy=P(iy.exports),iy=P(ay.exports),ay=P(O.exports),O=P(by.exports),by=P(wy.exports),wy=P(ic.exports),ic=P(Ry.exports),Ry=P(Dy.exports),Dy=P(Iy.exports),Iy=P(jy.exports),jy=P(Ny.exports),Ny=P(u.exports),u=P(Vy.exports),Vy=P(p_.exports),p_=P(h_.exports),h_=P(g_.exports),g_=P(m_.exports),m_=P(v_.exports),v_=wA(T),T=P(M_.exports),M_=P(I_.exports),I_=P(T_.exports),T_=P(fw.exports),fw=P(pw.exports),pw=P(ty),ty=P(hw.exports),hw=P(gw),gw=P(bw.exports),bw=P(yw.exports),yw=P(sy.exports),sy=P(_w.exports),_w=P(ww.exports),ww=P(Aw.exports),Aw=P(xw.exports),xw=wA(M),M=P(I.exports),I=P(Cw.exports),Cw=P(Lw.exports),Lw=P(Tw.exports),Tw=P(Fw.exports),Fw=P(Gw.exports),Gw=P(Jw.exports),Jw=P(Mw.exports),Mw=P(Qw.exports),Qw=P(eA.exports),eA=P(pA.exports),pA=P(hA.exports),hA=P(gA.exports),gA=P(_);function _A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _A=function(){return e},e}function wA(e){if(e&&e.__esModule)return e;if(null===e||"object"!==yA(e)&&"function"!=typeof e)return{default:e};var t=_A();if(t&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}function P(e){return e&&e.__esModule?e:{default:e}}L={version:"13.7.0",toDate:L.default,toFloat:i.default,toInt:ju.default,toBoolean:Bu.default,equals:Hs.default,contains:is.default,matches:c.default,isEmail:n.default,isURL:eu.default,isMACAddress:Is.default,isIP:w.default,isIPRange:v.default,isFQDN:f.default,isBoolean:k.default,isIBAN:Xb.default,isBIC:Jb.default,isAlpha:S.default,isAlphaLocales:S.locales,isAlphanumeric:y.default,isAlphanumericLocales:y.locales,isNumeric:b.default,isPassportNumber:x.default,isPort:N1.default,isLowercase:F1.default,isUppercase:z1.default,isAscii:H1.default,isFullWidth:K1.default,isHalfWidth:W1.default,isVariableWidth:R.default,isMultibyte:J1.default,isSemVer:Q1.default,isSurrogatePair:eb.default,isInt:tb.default,isIMEI:Z1.default,isFloat:G1.default,isFloatLocales:G1.locales,isDecimal:dc.default,isHexadecimal:db.default,isOctal:fb.default,isDivisibleBy:pb.default,isHexColor:wb.default,isRgbColor:m.default,isHSL:qb.default,isISRC:Yb.default,isMD5:D.default,isHash:oy.default,isJWT:iy.default,isJSON:ay.default,isEmpty:O.default,isLength:by.default,isLocale:e.default,isByteLength:wy.default,isUUID:ic.default,isMongoId:Ry.default,isAfter:Dy.default,isBefore:Iy.default,isIn:jy.default,isCreditCard:Ny.default,isIdentityCard:u.default,isEAN:Vy.default,isISIN:p_.default,isISBN:h_.default,isISSN:g_.default,isMobilePhone:v_.default,isMobilePhoneLocales:v_.locales,isPostalCode:xw.default,isPostalCodeLocales:xw.locales,isEthereumAddress:T.default,isCurrency:M_.default,isBtcAddress:I_.default,isISO8601:T_.default,isRFC3339:fw.default,isISO31661Alpha2:pw.default,isISO31661Alpha3:ty.default,isISO4217:hw.default,isBase32:gw.default,isBase58:bw.default,isBase64:yw.default,isDataURI:sy.default,isMagnetURI:_w.default,isMimeType:ww.default,isLatLong:Aw.default,ltrim:M.default,rtrim:I.default,trim:Cw.default,escape:Lw.default,unescape:Tw.default,stripLow:Fw.default,whitelist:Gw.default,blacklist:Jw.default,isWhitelisted:Mw.default,normalizeEmail:Qw.default,toString:toString,isSlug:eA.default,isStrongPassword:hA.default,isTaxID:m_.default,isDate:E.default,isLicensePlate:pA.default,isVAT:gA.default,ibanLocales:Xb.locales},l.default=L,C.exports=l.default,C.exports.default=l.default;var AA=function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(Ji.exports);const xA=2147483647,kA=36,EA=/^xn--/,SA=/[^\0-\x7E]/,RA=/[\x2E\u3002\uFF0E\uFF61]/g,DA={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},OA=Math.floor,TA=String.fromCharCode;function MA(e){throw new RangeError(DA[e])}function IA(e,t){var r=e.split("@");let n="";1<r.length&&(n=r[0]+"@",e=r[1]);r=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(RA,".")).split("."),t).join(".");return n+r}function CA(e){const 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 LA(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function PA(e,t,r){let n=0;for(e=r?OA(e/700):e>>1,e+=OA(e/t);455<e;n+=kA)e=OA(e/35);return OA(n+36*e/(e+38))}function jA(n){const 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)&&MA("not-basic"),t.push(n.charCodeAt(e));for(let r=0<s?s+1:0;r<o;){var u=i;for(let e=1,t=kA;;t+=kA){r>=o&&MA("invalid-input");const s=(l=n.charCodeAt(r++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:kA;(s>=kA||s>OA((xA-i)/e))&&MA("overflow"),i+=s*e;l=t<=a?1:t>=a+26?26:t-a;if(s<l)break;l=kA-l;e>OA(xA/l)&&MA("overflow"),e*=l}var c=t.length+1;a=PA(i-u,c,0==u),OA(i/c)>xA-e&&MA("overflow"),e+=OA(i/c),i%=c,t.splice(i++,0,e)}var l;return String.fromCodePoint(...t)}function BA(t){const r=[];let n=(t=CA(t)).length,o=128,i=0,a=72;for(const n of t)n<128&&r.push(TA(n));let s=r.length,u=s;for(s&&r.push("-");u<n;){let e=xA;for(const r of t)r>=o&&r<e&&(e=r);var c=u+1;e-o>OA((xA-i)/c)&&MA("overflow"),i+=(e-o)*c,o=e;for(const n of t)if(n<o&&++i>xA&&MA("overflow"),n==o){let t=i;for(let e=kA;;e+=kA){const o=e<=a?1:e>=a+26?26:e-a;if(t<o)break;const i=t-o,s=kA-o;r.push(TA(LA(o+i%s,0))),t=OA(i/s)}r.push(TA(LA(t,0))),a=PA(i,c,u==s),i=0,++u}++i,++o}return r.join("")}function UA(e){return IA(e,function(e){return EA.test(e)?jA(e.slice(4).toLowerCase()):e})}function $A(e){return IA(e,function(e){return SA.test(e)?"xn--"+BA(e):e})}const NA=e=>String.fromCodePoint(...e),FA={version:"2.1.0",ucs2:{decode:CA,encode:NA},decode:jA,encode:BA,toASCII:$A,toUnicode:UA};const GA=function e(r){if(r.__esModule)return r;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(r).forEach(function(e){var t=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}})}),n}(Object.freeze({__proto__:null,ucs2decode:CA,ucs2encode:NA,decode:jA,encode:BA,toASCII:$A,toUnicode:UA,default:FA})),zA={"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},ZA={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 HA(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}var KA=function(e,n){if("string"!=typeof e)return!1;if(n instanceof Object||(n={}),(e=e.toLowerCase()).endsWith(".")&&(e=e.slice(0,e.length-1)),253<(e=n.allowUnicode?GA.toASCII(e):e).length)return!1;if(!/^([\u0E00-\u0E7Fa-z0-9-._*]+)$/g.test(e))return!1;if(n.topLevel&&ZA[e.replace(/\.$/,"")])return!0;const t=e.match(/(.*)\.(([\u0E00-\u0E7Fa-z0-9]+)(\.[a-z0-9]+))/);var r=null,o=null;if(t&&2<t.length&&zA[t[2]]&&(r=t[2],o=t[1].split(".")),!o){if((o=e.split(".")).length<=1)return!1;if(r=o.pop(),!/^(?:xn--)?(?!^\d+$)[\u0E00-\u0E7Fa-z0-9]+$/gi.test(r))return!1}return!(!1===n.subdomain&&1<o.length)&&o.every(function(e,t){if(n.wildcard&&0===t&&"*"===e&&1<o.length)return!0;let r=/^([\u0E00-\u0E7Fa-zA-Z0-9-_]+)$/g;return t===o.length-1&&(r=/^([\u0E00-\u0E7Fa-zA-Z0-9-]+)$/g),(e.match(/--/g)||[]).length===(e.match(/xn--/g)||[]).length&&(r.test(e)&&e.length<64&&!e.startsWith("-")&&!e.endsWith("-"))})};const WA=HA;function VA(e,t,r){return"function"==typeof r.join?r.join(e):e[0]+t+e[1]}function qA(e,t,r){return"function"!=typeof r.isValid||r.isValid(e,t)}function YA(e){return WA(e)||Array.isArray(e)||"function"==typeof e}var XA=HA;function JA(e){return!0===XA(e)&&"[object Object]"===Object.prototype.toString.call(e)}const QA=Reflect["deleteProperty"],ex=function(e){return"object"==typeof e?null===e:"function"!=typeof e},tx=function(e){return!1!==JA(e)&&"function"==typeof(e=e.constructor)&&!1!==JA(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf")},rx=e=>"object"==typeof e&&null!==e||"function"==typeof e,nx=e=>{if(!ex(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}"`)},ox=(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=(nx(n),ax.cache.get(n)||e());return ax.cache.set(n,e),e},ix=(s,u)=>u&&"function"==typeof u.split?u.split(s):"symbol"==typeof s?[s]:Array.isArray(s)?s:ox(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}}),ax=(e,t,r,n)=>{if(!t||!rx(e))return e;var o=ix(t,n);let i=e;for(let e=0;e<o.length;e++){const t=o[e],l=o[e+1];if(nx(t),void 0===l){c=u=s=a=void 0;var a=i,s=t,u=r,c=n;if(nx(s),void 0===u)QA(a,s);else if(c&&c.merge){const d="function"===c.merge?c.merge:Object.assign;d&&tx(a[s])&&tx(u)?a[s]=d(a[s],u):a[s]=u}else a[s]=u;break}i="number"!=typeof l||Array.isArray(i[t])?(rx(i[t])||(i[t]={}),i[t]):i[t]=[]}return e};ax.split=ix,ax.cache=new Map,ax.clear=()=>{ax.cache=new Map};var sx=ax;function ux(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(WA(s)||(s={default:s}),!YA(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 qA(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=VA([r.slice(0,-1),n[++i]||""],c,s);if(r in a){if(!qA(r,a,s))return s.default;a=a[r]}else{let e=!1,t=i+1;for(;t<o;)if(r=VA([r,n[t++]],c,s),e=r in a){if(!qA(r,a,s))return s.default;a=a[r],i=t-1;break}if(!e)return s.default}}while(++i<o&&YA(a));return i===o?a:s.default}}function d(e,t){sx(l,e,t)}function f(e,t){t=!(1<arguments.length&&void 0!==t)||t;if(e&&""!==e)try{return new re(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),AA.isURL(r)))return r}}}return function(){A(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())?KA(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?KA(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 cx(){var e;return!(null==fx||null==(e=fx.sdkfw)||!e.enabled)}function lx(s){return function(e){for(var t,r=Sx(e),n=Ex(r),o=n.length,i=0,a=[];i<o;)t=n[i++],kx&&!Rx(r,t)||Dx(a,s?[t,r[t]]:r[t]);return a}}function dx(t){return function(e){e=jx(Px(e));return 1&t&&(e=Bx(e,Ux,"")),e=2&t?Bx(e,$x,""):e}}var fx,px,hx,gx,mx={name:"@bygd/gd-sdk-pes",version:"1.27.15",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.3","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"}},vx=function(){var e,t=fx,r=!(null==t||null==(r=t.extsc)||!r.enabled);return{enabled:r,path:r?null==t||null==(e=t.extsc)?void 0:e.path:"",name:r?null==t||null==(e=t.extsc)?void 0:e.name:"",ref:r?null==t||null==(e=t.extsc)?void 0:e.ref:"",loadedFlag:!r||null==t||null==(e=t.extsc)?void 0:e.loadedFlag,loadedFlagCheck:!!r&&!(null==t||null==(e=t.extsc)||!e.loadedFlagCheck)}},bx=(hx=p(h.mark(function e(){var t,r,n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=vx()).enabled){e.next=3;break}return e.abrupt("return");case 3:return r=t.path,n=t.name,o=t.ref,e.prev=4,i={},e.next=8,nn(r,n,{error_prefix:"Blocked:",exists:function(){return A(this,a),!!o&&!!window[o]}.bind(this),attrs:i});case 8:console.log("extsc: after external partner script load",n,r),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(4),console.log("extsc: error on external partner script load",n,e.t0),hn("DEVELOPER_ERROR",e.t0,"warning");case 15:case"end":return e.stop()}},e,this,[[4,11]])})),function(){return hx.apply(this,arguments)}),yx=!1,_x=!1,wx="gd-sdk-frame-handshake-request",Ax="gd-sdk-frame-handshake-response",xx=(px=p(h.mark(function e(n){var o,i,a,s,u,c,l;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(t){var a=this,e=new ux,r=(e.get(),e.get("partner.domain.value")),i=function(){return A(this,a),{gameId:t.gameId,enableAds:!0,preroll:!0,midroll:12e4,rewardedAds:!1,title:"",tags:[],category:"",assets:[],dmain:!0,sdk:{},loader:{},splash:{},promo:{},dAds:{},pAds:{},mAds:{},rAds:{}}}.bind(this),s=function(){A(this,a);var e=n(),e=e?"&mode=".concat(e):"";return"https://game.api.gamedistribution.com/game/v4/get/".concat(t.gameId.replace(/-/g,""),"/?domain=").concat("gamedistribution.com").concat(e,"&v=").concat(mx.version,"&localTime=").concat((new Date).getHours())}.bind(this),n=function(){var r=this,e=(A(this,a),new Proxy(new URLSearchParams(window.location.search),{get:function(e,t){return A(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),u=function(e){A(this,a);e=o("object"===B(e)?e:an(e));return!e||!e.version||mx.version>=e.version?e:void 0}.bind(this),o=function(e){var t=this;if(A(this,a),!zt(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o<e.length;o++){var i=e[o];if(n<(r+=i.weight))return i}}.bind(this);return new Promise(function(r){var n,e,o=this;A(this,a),fx?r(fx):(n=i(),e=s(),fetch(e).then(function(e){return A(this,o),e.json()}.bind(this)).then(function(e){var t;A(this,o),e.success?(t={gameId:(e=e.result.game).gameMd5,slug:e.slug,pname:e.pname,dname:e.dname,status:e.status,description:e.description,enableAds:!0===e.enableAds||!0===(null==(t=e.enableAds)?void 0:t.enabled),preroll:e.preRoll,midroll:6e4*e.timeAds,rewardedAds:e.rewardedAds,title:e.title,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,block_exts:u(e.push_cuda),bloc_gard:u(e.bloc_gard),cookie:u(e.cookie),gdpr:u(e.gdpr),diagnostic:u(e.diagnostic),cmp:u(e.cmp),gft:u(e.gft),sdk:u(e.sdk)||{},sdkfw:u(e.sdkfw)||{},loader:u(e.loader)||{},splash:u(e.splash)||{},promo:u(e.promo)||{},dAds:u(e.dads)||{},pAds:u(e.pads)||{},mAds:u(e.mads)||{},rAds:u(e.rads)||{},lp:u(e.lp)||{},extsc:u(e.extsc)||{},evnts:u(e.evnts)||{}},(e=Qr(Ct(n),t)).afg_disabled=!1===(null==(t=e.sdk)||null==(t=t.afg)?void 0:t.enabled),null!=(t=e.pAds)&&t.enabled&&(e.preroll=!0),r(fx=e)):(n.failed=!0,r(n))}.bind(this)).catch(function(e){A(this,o),console.log("gd:adp failed game data",e),n.failed=!0,r(n)}.bind(this)))}.bind(this))}(n);case 2:return e.next=5,cx();case 5:return o=e.sent,console.log("gd:adp ,isSDKForwardEnable",o),a=!o,e.next=10,function(i){var a=this;return new Promise(function(n,e){var t=this,r=(A(this,a),{type:wx}),o=!1;window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=e.source,t=t.type;t===wx?e.postMessage({type:Ax},r):t===Ax&&(o=!0,n({origin:r,source:e}))}),i?n():(setTimeout(function(){A(this,t),o||n()}.bind(this),200),window.parent!==window?window.parent.postMessage(r,"*"):n())}.bind(this))}(a);case 10:if(i=e.sent,o){e.next=13;break}return e.abrupt("return",!1);case 13:return a=function(){var e=this;return{isMasterGameURL:function(){return A(this,e),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i.test(location.href)}.bind(this),isTokenGameURL:function(){return A(this,e),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i.test(location.href)}.bind(this),isExtHostedGameURL:function(){return A(this,e),/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i.test(location.href)}.bind(this)}}(),s=a.isMasterGameURL,u=a.isTokenGameURL,s=s(),u=u(),t=void 0,r=fx,c=cx()&&!(null==r||null==(t=r.sdkfw)||!t.handshake),l=c?!s&&!!i:!s,console.log("gd:adp: frameCheck result",{_isMasterGameURL:s,_isTokenGameURL:u,isHandshakeEnabled:c,hsResult:i,result:l}),e.abrupt("return",l);case 21:case"end":return e.stop()}var t,r},e)})),function(e){return px.apply(this,arguments)}),kx=Pn,_=a,Ex=ts,Sx=zn,Rx=_(Un.f),Dx=_([].push),Ox=(lx(!0),lx(!1)),i=(Bi({target:"Object",stat:!0},{values:function(e){return Ox(e)}}),Bi),Tx=oc,ju=Cn,Mx=Kn,Ix=Zn,Cx=G0,Lx=Hf,Bu=zo.exports,Px=(i({target:"Promise",proto:!0,real:!0,forced:!!Tx&&ju(function(){Tx.prototype.finally.call({then:function(){}},function(){})})},{finally:function(t){var r=Cx(this,Mx("Promise")),e=Ix(t);return this.then(e?function(e){return Lx(r,t()).then(function(){return e})}:t,e?function(e){return Lx(r,t()).then(function(){throw e})}:t)}}),Ix(Tx)&&(Hs=Mx("Promise").prototype.finally,Tx.prototype.finally!==Hs&&Bu(Tx.prototype,"finally",Hs,{unsafe:!0})),Gn),jx=us,Bx=a("".replace),is="[\t\n\v\f\r \u2028\u2029\ufeff]",Ux=RegExp("^"+is+is+"*"),$x=RegExp(is+is+"*$"),c={start:dx(1),end:dx(2),trim:dx(3)},Nx=ta.PROPER,n=Cn,Fx="\t\n\v\f\r \u2028\u2029\ufeff",Gx=c.trim,zx=(Bi({target:"String",proto:!0,forced:(gx="trim",n(function(){return!!Fx.trim()||"
"!=="
".trim()||Nx&&Fx.trim.name!==gx}))},{trim:function(){return Gx(this)}}),Zn),Zx=Hn,Hx=Gu,eu=Pn,Is=o,w=a,v=Ha,Kx=function(e,t,r){return Hx&&zx(t=t.constructor)&&t!==r&&Zx(t=t.prototype)&&t!==r.prototype&&Hx(e,t),e},Wx=Zo,Vx=s.f,f=Xi.f,qx=bo,Yx=ph,Xx=us,k=dd,Jb=Nu,S=zo.exports,y=Cn,Jx=t,Qx=d.enforce,b=$0,e2=Cs,t2=Pu,r2=Qn("match"),n2=Is.RegExp,o2=n2.prototype,i2=Is.SyntaxError,a2=w(k),s2=w(o2.exec),u2=w("".charAt),c2=w("".replace),l2=w("".indexOf),d2=w("".slice),f2=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,p2=/a/g,h2=/a/g,x=new n2(p2)!==p2,g2=Jb.UNSUPPORTED_Y;if(v("RegExp",eu&&(!x||g2||e2||t2||y(function(){return h2[r2]=!1,n2(p2)!=p2||n2(h2)==h2||"/a/i"!=n2(p2,"i")})))){for(var m2=function(e,t){var r,n,o=qx(o2,this),i=Yx(e),a=void 0===t,s=[],u=e;if(!o&&i&&a&&e.constructor===m2)return e;if((i||qx(o2,e))&&(e=e.source,a&&(t="flags"in u?u.flags:a2(u))),e=void 0===e?"":Xx(e),t=void 0===t?"":Xx(t),u=e,i=t=e2&&"dotAll"in p2&&(r=!!t&&-1<l2(t,"s"))?c2(t,/s/g,""):t,g2&&"sticky"in p2&&(n=!!t&&-1<l2(t,"y"))&&(t=c2(t,/y/g,"")),t2&&(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=u2(e,n)))t+=u2(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:s2(f2,d2(e,n+1))&&(n+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||Jx(a,l))throw new i2("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=Kx(n2(e,t),o?this:o2,m2),(r||n||s.length)&&(t=Qx(a),r&&(t.dotAll=!0,t.raw=m2(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=u2(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+u2(e,++n);return o}(e),i)),n&&(t.sticky=!0),s.length&&(t.groups=s)),e!==u)try{Wx(a,"source",""===u?"(?:)":u)}catch(e){}return a},v2=f(n2),b2=0;v2.length>b2;)!function(t){t in m2||Vx(m2,t,{configurable:!0,get:function(){return n2[t]},set:function(e){n2[t]=e}})}(v2[b2++]);(o2.constructor=m2).prototype=o2,S(Is,"RegExp",m2)}b("RegExp");var N1=a,F1=ta.PROPER,z1=zo.exports,y2=ro,_2=bo,w2=us,H1=Cn,K1="toString",A2=RegExp.prototype,x2=A2.toString,k2=N1(dd),W1=H1(function(){return"/a/b"!=x2.call({source:"a",flags:"b"})}),R=F1&&x2.name!=K1;(W1||R)&&z1(RegExp.prototype,K1,function(){var e=y2(this),t=w2(e.source),r=e.flags;return"/"+t+"/"+w2(void 0!==r||!_2(A2,e)||"flags"in A2?r:k2(e))},{unsafe:!0});var J1=Bi,Q1=a,eb=Ln.f,E2=Mi,S2=us,R2=hh,D2=Gn,tb=gh,O2=Q1("".startsWith),T2=Q1("".slice),M2=Math.min,Z1=tb("startsWith"),dc=(J1({target:"String",proto:!0,forced:!(!Z1&&((G1=eb(String.prototype,"startsWith"))&&!G1.writable)||Z1)},{startsWith:function(e){var t=S2(D2(this)),r=(R2(e),E2(M2(1<arguments.length?arguments[1]:void 0,t.length))),e=S2(e);return O2?O2(t,e,r):T2(t,r,r+e.length)===e}}),Bi),I2=gu.find,db=fd,C2=!0,L2=("find"in[]&&Array(1).find(function(){C2=!1}),dc({target:"Array",proto:!0,forced:C2},{find:function(e){return I2(this,e,1<arguments.length?arguments[1]:void 0)}}),db("find"),Pn),fb=a,P2=Bn,pb=Cn,j2=ts,B2=r,U2=Un,$2=Xn,N2=lo,F2=Object.assign,G2=Object.defineProperty,z2=fb([].concat),wb=!F2||pb(function(){if(L2&&1!==F2({b:1},F2(G2({},"a",{enumerable:!0,get:function(){G2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=F2({},e)[r]||j2(F2({},t)).join("")!=n})?function(e,t){for(var r=$2(e),n=arguments.length,o=1,i=B2.f,a=U2.f;o<n;)for(var s,u=N2(arguments[o++]),c=i?z2(j2(u),i(u)):j2(u),l=c.length,d=0;d<l;)s=c[d++],L2&&!P2(a,u,s)||(r[s]=u[s]);return r}:F2,Z2=(Bi({target:"Object",stat:!0,forced:Object.assign!==wb},{assign:wb}),ie(V2,[{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 re(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 A(this,e),this.customParamKeys.some(function(e){return A(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)}}}]),V2),H2=(ie(W2,[{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(){A(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))}}]),W2),K2=(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 W2(e,t){ne(this,W2),this.adContainer=e,this.onResume=t}function V2(e){ne(this,V2),this.gameData=e,this.customParamKeys=["vid","_1ld","_1lp"]}function q2(e){return Object.assign({muted:!1,timeout:250,inline:!1},e)}function Y2(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 X2,J2,Q2,ek,tk,rk,nk,ok,ik,ak,sk,uk,ck,lk,dk,fk,pk,hk,gk,mk,vk,bk,yk,_k,wk,Ak,xk,kk,Ek,Sk,Rk,Dk,Ok,Tk,Mk,Ik,Ck,Lk,Pk,jk,Bk,Uk,$k=function(e){return Y2(e=q2(e),function(){return{element:document.createElement("video"),source:URL.createObjectURL(K2)}})},m={exports:{}};function Nk(){}function Fk(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 Gk(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 zk(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 Zk(e){e=this.__data__=new Gk(e);this.size=e.size}function Hk(e,t,r){(void 0===r||rE(e[t],r))&&(void 0!==r||t in e)||Wk(e,t,r)}function Kk(e,t){for(var r=e.length;r--;)if(rE(e[r][0],t))return r;return-1}function Wk(e,t,r){"__proto__"==t&&Ak?Ak(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Vk(e){{if(null==e)return void 0===e?"[object Undefined]":"[object Null]";if(wk&&wk in Object(e)){var t=e,r=dk.call(t,wk),n=t[wk];try{var o=!(t[wk]=void 0)}catch(t){}var i=pk.call(t);return o&&(r?t[wk]=n:delete t[wk]),i}return pk.call(e)}}function qk(e){return sE(e)&&Vk(e)==Q2}function Yk(g,m,v,b,y){g!==m&&Dk(m,function(e,t){var r,n,o,i,a,s,u,c,l,d,f,p,h;y=y||new Zk,aE(e)?(h=m,o=v,i=Yk,a=b,s=y,u=tE(r=g,n=t),c=tE(h,n),(p=s.get(c))||(p=a?a(u,c,n+"",r,h,s):void 0,(h=void 0===p)&&(l=!(f=Lk(c))&&Pk(c),d=!f&&!l&&Bk(c),p=c,f||l||d?p=Lk(u)?u:sE(f=u)&&nE(f)?function(e,t){var r=-1,n=e.length;for(t=t||Array(n);++r<n;)t[r]=e[r];return t}(u):l?(h=!1,c.slice()):d?(h=!1,d=new(l=(f=c).buffer).constructor(l.byteLength),new mk(d).set(new mk(l)),new f.constructor(d,f.byteOffset,f.length)):[]:function(e){if(sE(e)&&Vk(e)==tk){e=vk(e);if(null===e)return 1;e=dk.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&lk.call(e)==hk}}(c)||Ck(c)?Ck(p=u)?p=function(){for(var e=u,t=uE(u),r=void 0,n=!r,o=(r=r||{},-1),i=t.length;++o<i;){var a=t[o],s=void 0;(n?Wk:function e(t,r,n){var o=t[r];dk.call(t,r)&&rE(o,n)&&(void 0!==n||r in t)||Wk(t,r,n)})(r,a,s=void 0===s?e[a]:s)}return r}():aE(u)&&!oE(u)||(p="function"!=typeof c.constructor||eE(c)?{}:Rk(vk(c))):h=!1),h&&(s.set(c,p),i(p,c,o,a,s),s.delete(c))),Hk(r,n,p)):(l=b?b(tE(g,t),e,t+"",g,m,y):void 0,Hk(g,t,l=void 0===l?e:l))},uE)}function Xk(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 Jk(e,t){e=null==e?void 0:e[t];return function e(t){return aE(t)&&!(fk&&fk in t)&&(oE(t)?gk:rk).test(function(e){if(null!=e){try{return lk.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(t))}(e)?e:void 0}function Qk(e,t){var r=typeof e;return(t=null==t?J2:t)&&("number"==r||"symbol"!=r&&nk.test(e))&&-1<e&&e%1==0&&e<t}function eE(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ck)}function tE(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function rE(e,t){return e===t||e!=e&&t!=t}function nE(e){return null!=e&&iE(e.length)&&!oE(e)}function oE(e){if(aE(e))return e=Vk(e),e==ek||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function iE(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=J2}function aE(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function sE(e){return null!=e&&"object"==typeof e}function uE(e){return nE(e)?function e(t,r){var n,o=Lk(t),i=!o&&Ck(t),a=!o&&!i&&Pk(t),s=!o&&!i&&!a&&Bk(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&&!dk.call(t,n)||u&&("length"==n||a&&("offset"==n||"parent"==n)||s&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Qk(n,l))||c.push(n);return c}(e,!0):function e(t){if(aE(t)){var r,n=eE(t),o=[];for(r in t)("constructor"!=r||!n&&dk.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 cE(e){return e}Yb=(qb=m).exports,X2="__lodash_hash_undefined__",J2=9007199254740991,Q2="[object Arguments]",ek="[object Function]",tk="[object Object]",rk=/^\[object .+?Constructor\]$/,nk=/^(?:0|[1-9]\d*)$/,(ok={})["[object Float32Array]"]=ok["[object Float64Array]"]=ok["[object Int8Array]"]=ok["[object Int16Array]"]=ok["[object Int32Array]"]=ok["[object Uint8Array]"]=ok["[object Uint8ClampedArray]"]=ok["[object Uint16Array]"]=ok["[object Uint32Array]"]=!0,ok[Q2]=ok["[object Array]"]=ok["[object ArrayBuffer]"]=ok["[object Boolean]"]=ok["[object DataView]"]=ok["[object Date]"]=ok["[object Error]"]=ok[ek]=ok["[object Map]"]=ok["[object Number]"]=ok[tk]=ok["[object RegExp]"]=ok["[object Set]"]=ok["[object String]"]=ok["[object WeakMap]"]=!1,D="object"==typeof U&&U&&U.Object===Object&&U,oy="object"==typeof self&&self&&self.Object===Object&&self,oy=D||oy||Function("return this")(),Yb=Yb&&!Yb.nodeType&&Yb,ik=Yb&&qb&&!qb.nodeType&&qb,Yb=ik&&ik.exports===Yb,ak=Yb&&D.process,D=(D=function(){try{return ik&&ik.require&&ik.require("util").types||ak&&ak.binding&&ak.binding("util")}catch(e){}}())&&D.isTypedArray,iy=Array.prototype,ay=Function.prototype,ck=Object.prototype,O=oy["__core-js_shared__"],lk=ay.toString,dk=ck.hasOwnProperty,fk=(ay=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+ay:"",pk=ck.toString,hk=lk.call(Object),gk=RegExp("^"+lk.call(dk).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=Yb?oy.Buffer:void 0,ay=oy.Symbol,mk=oy.Uint8Array,O&&O.allocUnsafe,sk=Object.getPrototypeOf,uk=Object,vk=function(e){return sk(uk(e))},bk=Object.create,yk=ck.propertyIsEnumerable,_k=iy.splice,wk=ay?ay.toStringTag:void 0,Ak=function(){try{var e=Jk(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Yb=O?O.isBuffer:void 0,xk=Math.max,kk=Date.now,Ek=Jk(oy,"Map"),Sk=Jk(Object,"create"),Rk=function(e){if(!aE(e))return{};if(bk)return bk(e);Nk.prototype=e;e=new Nk;return Nk.prototype=void 0,e},Fk.prototype.clear=function(){this.__data__=Sk?Sk(null):{},this.size=0},Fk.prototype.delete=function(e){e=this.has(e)&&delete this.__data__[e];return this.size-=e?1:0,e},Fk.prototype.get=function(e){var t,r=this.__data__;return Sk?(t=r[e])===X2?void 0:t:dk.call(r,e)?r[e]:void 0},Fk.prototype.has=function(e){var t=this.__data__;return Sk?void 0!==t[e]:dk.call(t,e)},Fk.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Sk&&void 0===t?X2:t,this},Gk.prototype.clear=function(){this.__data__=[],this.size=0},Gk.prototype.delete=function(e){var t=this.__data__,e=Kk(t,e);return!(e<0||(e==t.length-1?t.pop():_k.call(t,e,1),--this.size,0))},Gk.prototype.get=function(e){var t=this.__data__,e=Kk(t,e);return e<0?void 0:t[e][1]},Gk.prototype.has=function(e){return-1<Kk(this.__data__,e)},Gk.prototype.set=function(e,t){var r=this.__data__,n=Kk(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},zk.prototype.clear=function(){this.size=0,this.__data__={hash:new Fk,map:new(Ek||Gk),string:new Fk}},zk.prototype.delete=function(e){e=Xk(this,e).delete(e);return this.size-=e?1:0,e},zk.prototype.get=function(e){return Xk(this,e).get(e)},zk.prototype.has=function(e){return Xk(this,e).has(e)},zk.prototype.set=function(e,t){var r=Xk(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Zk.prototype.clear=function(){this.__data__=new Gk,this.size=0},Zk.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},Zk.prototype.get=function(e){return this.__data__.get(e)},Zk.prototype.has=function(e){return this.__data__.has(e)},Zk.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Gk){var n=r.__data__;if(!Ek||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new zk(n)}return r.set(e,t),this.size=r.size,this},Dk=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},Ok=Ak?function(e,t){return Ak(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:cE,Mk=Tk=0,Ik=function(){var e=kk(),t=16-(e-Mk);if(Mk=e,0<t){if(800<=++Tk)return arguments[0]}else Tk=0;return Ok.apply(void 0,arguments)},Ck=qk(function(){return arguments}())?qk:function(e){return sE(e)&&dk.call(e,"callee")&&!yk.call(e,"callee")},Lk=Array.isArray,Pk=Yb||function(){return!1},Bk=D?(jk=D,function(e){return jk(e)}):function(e){return sE(e)&&iE(e.length)&&!!ok[Vk(e)]},Uk=function(e,t,r){Yk(e,t,r)},iy=function e(t,r){return Ik((i=t,s=cE,a=xk(void 0===(a=r)?i.length-1:a,0),function(){for(var e=arguments,t=-1,r=xk(e.length-a,0),n=Array(r);++t<r;)n[t]=e[a+t];for(var t=-1,o=Array(a+1);++t<a;)o[t]=e[t];return o[a]=s(n),function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}(i,this,o)}),t+"");var i,a,s}(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<Uk.length&&"function"==typeof o?(n--,o):void 0;for(i&&function(e,t,r){var n;if(aE(r))return n=typeof t,("number"==n?nE(r)&&Qk(t,r.length):"string"==n&&t in r)&&rE(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&&Uk(e,a,r)}return e}),qb.exports=iy;var lE=m.exports;function dE(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 fE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dE(Object(r),!0).forEach(function(e){Mn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dE(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function pE(e){return(null!=e&&e.error_url?"<vmap:VASTAdData>".concat(((t=e).promo_url?'<VAST version="3.0">\n <Ad id="'.concat(t.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(t.error_url,"]]></Error>\n <Impression><![CDATA[").concat(t.impression_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="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(t.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.promo_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(t.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(t.error_url,"]]></Error>\n <Impression><![CDATA[").concat(t.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),"</vmap:VASTAdData>"):'<vmap:AdTagURI templateType="vast3"><![CDATA['.concat(null==e?void 0:e.adtag_url,"]]></vmap:AdTagURI>")).trim();var t}function hE(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 gE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hE(Object(r),!0).forEach(function(e){Mn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hE(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function mE(e){var t=this,r=(ne(this,mE),Mn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xh(t.moduleName);case 2:t.module=e.sent;case 3:case"end":return e.stop()}},e)}))),Mn(this,"promo",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.module){e.next=3;break}return e.next=3,t.load();case 3:return e.abrupt("return",t.module[t.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),e.package||"gd-sdk-stone-dynamic"),n=e.package_version||"1.1.1",o=e.template||"puzzle",e=e.dependencies||[];this.moduleName="GDPromoByOrbit",this.moduleDefault=o.charAt(0).toUpperCase()+o.slice(1),this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/".concat(r,"/").concat(n,"/dist/").concat(o.toLowerCase(),"/iife/index.js"),dependencies:e},th(this.moduleName,this.moduleConfig)}function vE(e){var t=this,r=(ne(this,vE),Mn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xh(t.moduleName);case 2:t.module=e.sent;case 3:case"end":return e.stop()}},e)}))),Mn(this,"splash",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.module){e.next=3;break}return e.next=3,t.load();case 3:return e.abrupt("return",t.module[t.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),e.package||"gd-sdk-air-dynamic"),n=e.package_version||"1.2.0",o=e.template||"pluto",e=e.dependencies||[];this.moduleName="GDSplashDynamic",this.moduleDefault=o.charAt(0).toUpperCase()+o.slice(1),this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/".concat(r,"/").concat(n,"/dist/").concat(o.toLowerCase(),"/iife/index.js"),dependencies:e},th(this.moduleName,this.moduleConfig)}function bE(e,t){console.log(e,t)}var yE,_E,wE,AE,xE,kE,EE,SE,RE,DE,OE,TE,ME,IE,CE,LE,PE,jE,BE,UE=null,$E=(ie(zE,[{key:"start",value:(BE=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._init_afg_script({adsense_channel:"4089988593"});case 3:return e.next=5,this._init_hl_script();case 5:return e.next=7,this._init_ima_script();case 7:this._createPlayer(),this._setUpIMA(),e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),new Error(e.t0);case 14:case"end":return e.stop()}},e,this,[[0,11]])})),function(){return BE.apply(this,arguments)})},{key:"_getAdVast",value:function(l,d){var t,f=this;return new Promise((t=p(h.mark(function e(n){var t,r,o,i,a,s,u,c=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(dn&&un("gd_debug_ex")&&un("gd_tag"))return r=f.IMASampleTags[l],t=Math.floor(Math.random()*r.length),r=r[t],n({url:r}),e.abrupt("return");e.next=6;break;case 6:if(void 0===window.idhb.requestAds)throw new Error("Prebid.js wrapper script hit an error or didn't exist!");e.next=8;break;case 8:return e.prev=8,o=f.nextAdPosition(l),f.eventBus.broadcast("AD_REQUEST",{message:o}),i=f.options,"preroll"===o&&Pt(i.preroll)?i=i.preroll:"midroll"===o&&Pt(i.midroll)?i=i.midroll:"rewarded"===o&&Pt(i.rewarded)&&(i=i.rewarded),a="rewarded"===o?"rewardedVideo":"gdbanner"===o?"gd__banner":"midroll"===o?"midroll":"video1",e.next=16,window.idhb.isLoaded();case 16:if(s={tnl_keys:gE(gE({},window.idhb.getAdserverTargetingForAdSlot(a)),{},{tnl_ad_pos:o,tnl_asset_id:f.gameData.gameId})},d&&d.retry_on_success&&Pt(i.retry_on_success)&&Pt(i.retry_on_success.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.retry_on_success.vast,s)));e.next=21;break;case 21:if(d&&d.retry_on_failure&&f.options.retry_on_failure&&Pt(i.retry_on_failure.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.retry_on_failure.vast,s)));e.next=25;break;case 25:if(Pt(i.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.vast,s)));e.next=27;break;case 27:return e.next=29,f._create_dp_context(o,d);case 29:u=e.sent,window.idhb.requestAds({slots:Mn({},a,{bidFloor:null!=u&&u.floor_price?u.floor_price:void 0}),callback:function(e,t){var r=this;A(this,c),!u||null!=t&&t.bidFloorApplied||fetch(u.skip_url).catch(function(e){A(this,r)}.bind(this)),n({tnl_keys:gE(gE({},window.idhb.getAdserverTargetingForAdSlot(a)),{},{tnl_ad_pos:o,tnl_asset_id:f.gameData.gameId}),url:e,dp:u,hl:t})}.bind(this)}),e.next=36;break;case 33:throw e.prev=33,e.t0=e.catch(8),new Error(e.t0);case 36:case"end":return e.stop()}},e,this,[[8,33]])})),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||!0===this.noPreroll||1===this.adPrerollCount)?this.adMidrollCount++:this.adPrerollCount++,e||0<this.adMidrollCount?"midroll":"preroll"):"midroll"}},{key:"getAdPosition",value:function(e){return e===g.Rewarded?"rewarded":e!==g.Interstitial||!1===this.gameData.preroll||!0===this.noPreroll||1===this.adPrerollCount||0<this.adMidrollCount?"midroll":"preroll"}},{key:"_requestAd",value:function(y,_){var w=this;return _=_||{},new Promise(function(e){if(A(this,w),"undefined"==typeof google)throw new Error("Unable to load ad, google IMA SDK not defined.");try{var t,r,n,o,i=null==y||null==(t=y.tnl_keys)?void 0:t.tnl_ad_pos,a=(this.adSuccess=!1,new google.ima.AdsRequest),s=this._transformVast(y,_),u=gE(gE({},_),{},{adTag:s,tnl_ad_pos:i}),c=(this.adCounter[i]=this.adCounter[i]||0,this.adCounter[i]++,y.dp),l=y.hl;c&&(c.adtag_url=s.url,this._extend_dp_with_adsense(c,l,null==y?void 0:y.tnl_keys)),this._isVMAP(i)?(p=this._get_vmap_context({dp:c,adtag:s,position:"preroll"===u.tnl_ad_pos?"preroll":"midroll",config:this._get_vmap_config(i)}),h=p.position||"midroll",g=p.dp_1,m=p.dp_2,v=Date.now(),(b=new re(p.adtag_url_1,!0)).query=fE(fE({},b.query),{},{ad_rule:0,vpos:h,pod:1,ppos:1,lip:!0,correlator:v,output:"xml_vast3"}),b=b.toString(),(p=new re(p.adtag_url_2,!0)).query=fE(fE({},p.query),{},{ad_rule:0,vpos:h,pod:1,correlator:++v,output:"xml_vast3"}),h=p.toString(),v=Date.now(),r='<?xml version="1.0" encoding="UTF-8"?>\n<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">\n<vmap:AdBreak timeOffset="start" breakType="linear,nonlinear" breakId="break-1">\n <vmap:AdSource id="'.concat(v++,'" allowMultipleAds="false" followRedirects="true">\n ').concat(pE({id:v++,adtag_url:b,error_url:null==g?void 0:g.error_url,impression_url:null==g?void 0:g.impression_url}),'\n </vmap:AdSource>\n</vmap:AdBreak>\n<vmap:AdBreak timeOffset="start" breakType="linear,nonlinear" breakId="break-2">\n <vmap:AdSource id="').concat(v++,'" allowMultipleAds="false" followRedirects="true">\n ').concat(pE({id:+v,adtag_url:h,error_url:null==m?void 0:m.error_url,impression_url:null==m?void 0:m.impression_url}),'\n </vmap:AdSource>\n <vmap:Extensions>\n <vmap:Extension type="bumper" suppress_bumper="true"></vmap:Extension>\n </vmap:Extensions>\n</vmap:AdBreak>\n</vmap:VMAP>').trim(),a.adsResponse=r):c&&l.bidFloorApplied?(n=((f=c).promo_url?f.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):f.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.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(f.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),a.adsResponse=n):c&&c.fallback_url?(o='<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat((d=c).id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Impression><![CDATA[').concat(d.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(d.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(d.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(d.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>').trim(),a.adsResponse=o):a.adTagUrl=s.url,a.linearAdSlotWidth=this.options.width,a.linearAdSlotHeight=this.options.height,a.nonLinearAdSlotWidth=this.options.width,a.nonLinearAdSlotHeight=this.options.height,a.forceNonLinearFullSlot=!0,this.options.vast_load_timeout&&(a.vastLoadTimeout=this.options.vast_load_timeout),a.setAdWillAutoPlay(_.autoplayAllowed),a.setAdWillPlayMuted(_.autoplayRequiresMute),this.adsLoader.requestAds(a,u);try{this.eventBus.broadcast("AD_SDK_REQUEST",{message:u})}catch(e){}e(a)}catch(e){throw new Error(e)}var d,f,p,h,g,m,v,b}.bind(this))}},{key:"cancel",value:function(){var e;!1!==this.requestRunning&&(this.requestRunning=!1,this._resetAdsLoader(),this._hide("cancel"),this.eventBus.broadcast(e="AD_SDK_CANCELED",{name:e,message:"Advertisement has been canceled.",status:"warning",analytics:{category:this.eventCategory,action:e,label:this.gameData.gameId}}))}},{key:"_checkAutoPlay",value:(jE=p(h.mark(function e(){var o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(r,e){var n=this,t=(A(this,o),navigator.userAgent.toLowerCase());-1<t.indexOf("safari")&&t.indexOf("chrome")<0?r({autoplayAllowed:!0,autoplayRequiresMute:!0}):$k({inline:!0,muted:!1}).then(function(e){A(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 jE.apply(this,arguments)})},{key:"_initDisplayContainerWithAutoPlay",value:(PE=p(h.mark(function e(){var t;return h.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 PE.apply(this,arguments)})},{key:"startAd",value:(LE=p(h.mark(function e(t){var r,n,o;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.gameData.afg_disabled,n=t.adType,o=t.params,this.adType_=n,console.log("gd:adp startAd afgDisabled",r),n!==g.Interstitial){e.next=24;break}if(r)return e.abrupt("return",this._startInterstitialAd(o));e.next=9;break;case 9:if("preroll"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementPreroll(t));e.next=13;break;case 13:if("start"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementStart(t));e.next=17;break;case 17:if("next"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementNext(t));e.next=21;break;case 21:return e.abrupt("return",this._startInterstitialAd(o));case 22:case 30:e.next=33;break;case 24:if(n!==g.Rewarded){e.next=32;break}if(r)return e.abrupt("return",this._startRewardedAd(o));e.next=29;break;case 29:return e.abrupt("return",this._startAdsensePlacementRewardedAd(t));case 32:throw new Error("Unsupported ad type");case 33:case"end":return e.stop()}},e,this)})),function(e){return LE.apply(this,arguments)})},{key:"preloadAd",value:(CE=p(h.mark(function e(t){return h.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 CE.apply(this,arguments)})},{key:"addAdResume",value:function(){var e=this,t=function(){A(this,e),this.adsManager.resume()}.bind(this);try{this.adResume=new H2(this.adContainer,t),this.adResume.add()}catch(e){console.log("error on adding adResume",e)}}},{key:"loadDisplayAd",value:(IE=p(h.mark(function e(c){var l=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){var n,o,i,a,s,u=this;return h.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(yn,";\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=10,l._create_dp_display_context();case 10:l.atom_display=e.sent,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){A(this,u)}.bind(this)}),t(),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),r(e.t0.message||e.t0);case 21:case"end":return e.stop()}},e,this,[[0,18]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return IE.apply(this,arguments)})},{key:"_startInterstitialAd",value:(ME=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:return this.requestRunning=!0,e.next=7,this._initDisplayContainerWithAutoPlay();case 7:return r=e.sent,e.next=10,this._loadInterstitialAd(gE(gE({},r),t));case 10:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),this._onError(e.t0),e.t0;case 19:case"end":return e.stop()}},e,this,[[0,15]])})),function(e){return ME.apply(this,arguments)})},{key:"_loadInterstitialAd",value:(TE=p(h.mark(function e(t){var r,n,a=this;return h.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:return r=e.t0,delete this.preloadedInterstitialAdVast,e.next=11,this._requestAd(r,gE({adType:g.Interstitial},t));case 11:return n=e.sent,e.next=14,new Promise(function(t,r){var n=this,o=(A(this,a),"videoad.preloadad"),e=(this.eventBus.unsubscribeScope(o),function(e){A(this,n),this.eventBus.unsubscribeScope(o),t(e.message)}.bind(this)),i=function(e){A(this,n),this.eventBus.unsubscribeScope(o),r(e.message)}.bind(this);this.eventBus.subscribe("AD_SDK_MANAGER_READY",e,o),this.eventBus.subscribe("AD_SDK_CANCELED",i,o),this.eventBus.subscribe("AD_ERROR",i,o)}.bind(this));case 14:return e.abrupt("return",n);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 TE.apply(this,arguments)})},{key:"_startRewardedAd",value:(OE=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:return this.requestRunning=!0,e.next=7,this._initDisplayContainerWithAutoPlay();case 7:return r=e.sent,e.next=10,this._loadRewardedAd(gE(gE({},r),t));case 10:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),this._onError(e.t0),e.t0;case 19:case"end":return e.stop()}},e,this,[[0,15]])})),function(e){return OE.apply(this,arguments)})},{key:"_loadRewardedAd",value:(DE=p(h.mark(function e(t){var r,n,a=this;return h.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,gE({adType:g.Rewarded},t));case 11:return n=e.sent,e.next=14,new Promise(function(t,r){var n=this,o=(A(this,a),"videoad.preloadad"),e=(this.eventBus.unsubscribeScope(o),function(e){A(this,n),this.eventBus.unsubscribeScope(o),t(e.message)}.bind(this)),i=function(e){A(this,n),this.eventBus.unsubscribeScope(o),r(e.message)}.bind(this);this.eventBus.subscribe("AD_SDK_MANAGER_READY",e,o),this.eventBus.subscribe("AD_SDK_CANCELED",i,o),this.eventBus.subscribe("AD_ERROR",i,o)}.bind(this));case 14:return e.abrupt("return",n);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 DE.apply(this,arguments)})},{key:"_preloadInterstitialAd",value:(RE=p(h.mark(function e(){return h.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 RE.apply(this,arguments)})},{key:"_preloadRewardedAd",value:(SE=p(h.mark(function e(){return h.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 SE.apply(this,arguments)})},{key:"_onError",value:function(e){this.cancel(),this._clearSafetyTimer("ERROR")}},{key:"_hide",value:function(e){this.video_ad_player.src="",this.activeAdContainer&&(this.activeAdContainer.style.visibility="hidden")}},{key:"_show",value:function(e){var t,r,n=this;this.activeAdContainer&&(this.activeAdContainer.style.visibility="visible",t=null==e?void 0:e.mode,e=this._isT4R(e),r=this._getT4ROptions(),"loaded"===t?(this.activeAdContainer.style.opacity=e?.001:1,e&&this.adsManager.setVolume(0),e&&this.eventBus.broadcast("AD_T4R"),e&&setTimeout(function(){A(this,n),this.activeAdContainer.style.opacity=1,this.adsManager.setVolume(1)}.bind(this),((null==r?void 0:r.min)||1234)+Math.random()*((null==r?void 0:r.max)||3210))):"click"!==t&&"first_quartile"!==t||(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=bn,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,this.thirdPartyContainer?(this.adContainer.appendChild(o),this.thirdPartyContainer.appendChild(this.adContainer),this.activeAdContainer=this.thirdPartyContainer):(this.adContainer.appendChild(o),e.appendChild(this.adContainer)),this.addAdResume(),this.activeAdContainer.style.visibility="hidden",function(){A(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(){A(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.eventBus.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=new Date,o=n.getHours(),i=n.getDate(),a=n.getMonth(),n=n.getFullYear(),s=(t=google.ima.AdEvent.Type,r=e.type,Object.keys(t).find(function(e){return t[e]===r})),u=!1,c=(null==e||null==(c=e.getAd())?void 0:c.getContentType())||"",l=!c.startsWith("image")&&!c.startsWith("text"),d=(this._sendIMAEventsToHB(e),"");switch(e.type){case google.ima.AdEvent.Type.AD_BREAK_READY:d="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:d="Fired when an ads list is loaded.";break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:u=!0,d="Fired when the ads manager is done playing all the ads.";break;case google.ima.AdEvent.Type.CLICK:var d="Fired when the ad is clicked.",f=e.getAd().getContentType();this._show({mode:"click",contentType:f});break;case google.ima.AdEvent.Type.COMPLETE:u=this._is_completed(e.getAd()),d="Fired when the ad completes playing.",this.adType_===g.Rewarded&&this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"});break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:d="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:d="Fired when content should be resumed. This usually happens when an ad finishes or collapses.",u=!0,this._hideAddResume();break;case google.ima.AdEvent.Type.DURATION_CHANGE:d="Fired when the ad's duration changes.";break;case google.ima.AdEvent.Type.FIRST_QUARTILE:d="Fired when the ad playhead crosses first quartile.";f=e.getAd().getContentType();this._show({mode:"first_quartile",contentType:f});break;case google.ima.AdEvent.Type.IMPRESSION:d="Fired when the impression URL has been pinged.";break;case google.ima.AdEvent.Type.INTERACTION:d="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:d="Fired when the displayed ad changes from linear to nonlinear, or vice versa.";break;case google.ima.AdEvent.Type.LOADED:f=e.getAd().getContentType();this._show({mode:"loaded",contentType:d=f});break;case google.ima.AdEvent.Type.LOG:e.getAdData().adError&&(d=e.getAdData());break;case google.ima.AdEvent.Type.MIDPOINT:d="Fired when the ad playhead crosses midpoint.";break;case google.ima.AdEvent.Type.PAUSED:l&&this.adResume.show(),d="Fired when the ad is paused.";break;case google.ima.AdEvent.Type.RESUMED:d="Fired when the ad is resumed.",l&&this.adResume.hide();break;case google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED:d="Fired when the displayed ads skippable state is changed.";break;case google.ima.AdEvent.Type.SKIPPED:u=this._is_completed(e.getAd()),d="Fired when the ad is skipped by the user.";break;case google.ima.AdEvent.Type.STARTED:this._hideAddResume(),d="Fired when the ad starts playing.";break;case google.ima.AdEvent.Type.THIRD_QUARTILE:d="Fired when the ad playhead crosses third quartile.";break;case google.ima.AdEvent.Type.USER_CLOSE:u=this._is_completed(e.getAd()),d="Fired when the ad is closed by the user.";break;case google.ima.AdEvent.Type.VOLUME_CHANGED:d="Fired when the ad volume has changed.";break;case google.ima.AdEvent.Type.VOLUME_MUTED:d="Fired when the ad volume has been muted."}""!==s&&""!==d&&this.eventBus.broadcast(s,{name:s,message:d,status:"success",analytics:{category:s,action:this.parentDomain,label:"h".concat(o," d").concat(i," m").concat(a," y").concat(n)}}),u&&!this.adSuccess&&(this.adSuccess=!0,this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this.resetForNext(e))}},{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);this.eventBus.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{console.log("gd:adp will hide adresume"),this.adResume&&this.adResume.hide(),console.log("gd:adp hiding adresume")}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(){A(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(jt(e.getInnerError)){e=e.getInnerError();if(e)return jt(e.getErrorCode)&&jt(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(A(this,r),t&&t.tnl_keys)return t.tnl_keys[e.toLowerCase()]}.bind(this)});for(n in o.query||{}){var i=o.query[n];Pt(i)&&(o.query[n]=$.stringify(i))}e=new re(o.url,!0);return lE(e.query,o.query||{}),gE({url:e.toString()},t)}}},{key:"_transformVast",value:function(e,t){var r={url:e.url};try{var n,o=new re(e.url,!0),i=this._transformQuery(e,t,o),a=(i&&(r.url=o.toString()),i?o:new re(e.url,!0));a.query.cust_params&&(n=$.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&&Pt(this.options.retry_on_success.vast_query)?o=this.options.retry_on_success.vast_query:e.retry_on_failure&&this.options.retry_on_failure&&Pt(this.options.retry_on_failure.vast_query)&&(o=this.options.retry_on_failure.vast_query),Pt(o=Ct(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=$.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 A(this,n),t.tnl_keys[e.toLowerCase()]}.bind(this)});return i.cust_params=s,lE(i,e),i.cust_params=$.stringify(i.cust_params),!0}}}},{key:"_isT4R",value:function(e){var t,r=null==(r=this._adrequest_user_context)?void 0:r.tnl_ad_pos;return null!=e&&null!=(t=e.contentType)&&t.startsWith("image/")||"text"===(null==e?void 0:e.contentType)?r&&("preroll"===r&&(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.t4r)?void 0:t.enabled)||"midroll"===r&&(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.t4r)?void 0:t.enabled)||"rewarded"===r&&(null==(t=this.gameData)||null==(t=t.rAds)||null==(t=t.t4r)?void 0:t.enabled)):!(null==e||!e.contentType.startsWith("video/"))&&(0<(e="preroll"===r?null==(t=this.gameData)||null==(e=t.pAds)||null==(t=e.t4r)?void 0:t.viper:"midroll"===r?null==(e=this.gameData)||null==(t=e.mAds)||null==(e=t.t4r)?void 0:e.viper:"rewarded"===r?null==(t=this.gameData)||null==(e=t.rAds)||null==(t=e.t4r)?void 0:t.viper:0)&&(t=Math.random()<e,r&&t&&("preroll"===r&&(null==(e=this.gameData)||null==(t=e.pAds)||null==(e=t.t4r)?void 0:e.enabled)||"midroll"===r&&(null==(t=this.gameData)||null==(e=t.mAds)||null==(t=e.t4r)?void 0:t.enabled)||"rewarded"===r&&(null==(e=this.gameData)||null==(t=e.rAds)||null==(r=t.t4r)?void 0:r.enabled))))}},{key:"_isVMAP",value:function(e){if(!e)return!1;var 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));if(!t)return!1;var r=this._get_vmap_config(e),e=this.adCounter[e];return void 0!==(null==r?void 0:r.start)?e>=(null==r?void 0:r.start):t}},{key:"_getT4ROptions",value:function(){var e,t;switch(null==(e=this._adrequest_user_context)?void 0:e.tnl_ad_pos){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.t4r;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.t4r;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.t4r}}},{key:"_is_completed",value:function(e){var t=e.getContentType(),e=e.getAdPodInfo();return!(!t.startsWith("image/")&&"text"!==t&&1!==e.getTotalAds())}},{key:"_get_vmap_context",value:function(e){var t=e.adtag,r=e.position,n=e.config,e=e.dp,o=this._createCustomAdVastUrl(null==n?void 0:n.vast_1)||t,t=this._createCustomAdVastUrl(null==n?void 0:n.vast_2)||t,i=null!=n&&n.vast_1?void 0:e,n=null!=n&&n.vast_2?void 0:e;return{adtag_url_1:null==o?void 0:o.url,adtag_url_2:null==t?void 0:t.url,position:r,dp_1:i,dp_2:n}}},{key:"_get_vmap_config",value:function(e){var t;switch(e){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.vmap;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.vmap;default:return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap}}},{key:"_isDP",value:function(e){var t;return!!e&&("preroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.dp)?void 0:t.enabled))||"midroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.dp)?void 0:t.enabled))||"rewarded"===e&&(!0===(null==(t=this.gameData)||null==(e=t.rAds)?void 0:e.dp)||!0===(null==(t=this.gameData)||null==(e=t.rAds)||null==(t=e.dp)?void 0:t.enabled)))}},{key:"_create_dp_display_context",value:function(){var i=this;return new Promise(function(t){var r=this;A(this,i);try{var e={id:this.topDomain||this.parentDomain,au:"display",ty:"display",aid:this.gameData.gameId,pgu:this.parentURL},n=new Z2(this.gameData).checkCustomParams(),o=(n&&(e.cp=n),encodeURIComponent(Xr(JSON.stringify(e))));fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(o)).then(function(e){return A(this,r),e.json()}.bind(this)).then(function(e){if(A(this,r),!e||!e.p)return this.msgrt.send("dp.na",{message:"atom"}),t();this.msgrt.send("dp.fp",{message:e.p/100}),t({params:{fp:e.p/100},error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(o),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(o)})}.bind(this)).catch(function(e){A(this,r),this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this))}catch(e){this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}}.bind(this))}},{key:"_create_dp_context",value:function(s,u){var t,c=this;return new Promise((t=p(h.mark(function e(t){var r,n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,c._isDP(s)){e.next=5;break}return c.msgrt.send("dp.na",{message:"rule"}),e.abrupt("return",t());case 5:o={id:c.topDomain||c.parentDomain,au:s||"unknown",ty:"video",aid:c.gameData.gameId,pgu:c.parentURL},(r=new Z2(c.gameData).checkCustomParams())&&(o.cp=r),n=encodeURIComponent(Xr(JSON.stringify(o))),o=null==(r=c.gameData.promo)?void 0:r.rainbow,i=(null==o?void 0:o.enabled)&&!0!==(null==u?void 0:u.fallback_adsense),fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(n)).then(function(e){return A(this,a),e.json()}.bind(this)).then(function(e){if(A(this,a),!e||!e.p)return c.msgrt.send("dp.na",{message:"atom"}),t();e=e.p/100;t({id:Date.now(),floor_price:e,error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(n,"&ec=[ERRORCODE]"),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(n),skip_url:"https://tag.atom.gamedistribution.com/v1/skp?ar=".concat(n),promo_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow?ar=".concat(n):void 0,promo_imp_blue_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/blue":void 0,promo_imp_green_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/green":void 0})}.bind(this)).catch(function(e){A(this,a),c.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this)),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),c.msgrt.send("dp.err",{message:(null===e.t0||void 0===e.t0?void 0:e.t0.message)||e.t0}),t();case 18:case"end":return e.stop()}},e,this,[[0,14]])})),function(e){return t.apply(this,arguments)}))}},{key:"_extend_dp_with_adsense",value:function(e,t){if(e&&t)try{var r,n,o=new re(t.vastUrl,!0);null!=(r=o.query)&&r.cust_params&&((n=$.parse(o.query.cust_params)).tnl_asset_id&&(n.adsense=1,o.query.cust_params=$.stringify(n,!1),e.fallback_url=o.toString(),e.fallback_imp_url="https://tag.atom.gamedistribution.com/v1/rainbow/green"))}catch(e){}}},{key:"_init_hl_script",value:(EE=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this._getPrebidScripts(),r=n[0],window.idhb=window.idhb||{},window.idhb.options=window.idhb.options||{},Object.assign(window.idhb.options,{assetId:this.gameData.gameId,configUrl:this.topDomain||this.parentDomain,parentUrl:this.parentURL,pageType:"gd"}),window.idhb.que=window.idhb.que||[],e.next=8,nn(r,"gdsdk_prebid",{alternates:n,error_prefix:"Blocked:",exists:function(){return A(this,i),window.idhb.requestAds}.bind(this)});case 8:r=en("ch",window.location.href),n=en("ch_date",window.location.href),o={tnl_content_category:this.category.toLowerCase()},r&&(o.channel=r),n&&(o.ch_date=n),window.idhb.setAdserverTargeting(o),window.idhb.allowPersonalizedAds(!!parseInt(this.userAllowedPersonalizedAds)),window.idhb.addEventListener("slotRenderEnded",function(e){var t=this;A(this,i);try{var r,n=1===(n=e.slotId.split("@")).length?n[0]:n[1];e.isEmpty?(null!=(r=this.atom_display)&&r.error_url&&(fetch(this.atom_display.error_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_ERROR",{message:n,status:"warning"})):(this.atom_display.impression_url&&(fetch(this.atom_display.impression_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_IMPRESSION",{message:n,status:"success"}))}catch(e){}}.bind(this));case 16:case"end":return e.stop()}},e,this)})),function(e){return EE.apply(this,arguments)})},{key:"_init_ima_script",value:(kE=p(h.mark(function e(t){var r,n,o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=["https://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","https://imasdk.googleapis.com/js/sdkloader/ima3.js","http://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","http://imasdk.googleapis.com/js/sdkloader/ima3.js"],n=this.options.debug?r[0]:r[1],e.next=4,nn(n,"gdsdk_ima",{alternates:r,error_prefix:"Blocked:",exists:function(){return A(this,o),window.google&&window.google.ima}.bind(this)});case 4:case"end":return e.stop()}},e,this)})),function(e){return kE.apply(this,arguments)})},{key:"_init_afg_script",value:(xE=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.gameData.afg_disabled)return e.abrupt("return");e.next=3;break;case 3:return(o={crossorigin:"anonymous"})["data-ad-client"]=0<(null==t||null==(r=t.adsense_client)?void 0:r.length)?t.adsense_client:"ca-pub-2316275586951220",o["data-ad-frequency-hint"]="30s",o.allow="autoplay",0<(null==t||null==(r=t.adsense_channel)?void 0:r.length)&&(o["data-ad-channel"]=t.adsense_channel),0<(null==t||null==(n=t.adsense_host)?void 0:n.length)&&(o["data-ad-host"]=t.adsense_host),!0===(null==t?void 0:t.adsense_adbreak_test)&&(o["data-adbreak-test"]="on"),e.next=14,nn("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","afg",{error_prefix:"Blocked:",exists:function(){return A(this,i),!!window.adsbygoogle}.bind(this),attrs:o});case 14:window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({sound:"on",preloadAdBreaks:"on"});case 16:case"end":return e.stop()}},e,this)})),function(e){return xE.apply(this,arguments)})},{key:"clearSession",value:function(){this.requestRunning=!1}},{key:"_startAdsensePlacementRewardedAd",value:(AE=p(h.mark(function e(t){var r,n,o,i,a,s,u=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("gd:adp _startAdsensePlacementRewardedAd"),e.prev=2,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=6;break;case 6:this.requestRunning=!0,this._send_atom_event("sg.ad.rw.requested"),r=function(){A(this,u),console.log("gd:adp rw beforeAd"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,u),console.log("gd:adp rw afterAd"),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(){A(this,u),console.log("gd:adp rw adDismmissed"),this._send_atom_event("sg.ad.rw.dismissed")}.bind(this),i=function(){A(this,u),console.log("gd:adp rw adViewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"}),this._send_atom_event("sg.ad.rw.viewed")}.bind(this),a=function(e){A(this,u),console.log("gd:adp rw beforeReward"),e()}.bind(this),s=function(e){A(this,u),console.log("gd:adp rw adBreakDone"),this.resetForNext(),this.adCounter.rewarded=this.adCounter.rewarded||0,this.adCounter.rewarded++,"viewed"===e.breakStatus?this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),"dismissed"!==e.breakStatus&&this._send_atom_event("sg.dbg.rw",e))}.bind(this),window.adsbygoogle.push({type:"reward",name:"reward-in-game",beforeAd:r,afterAd:n,adDismissed:o,adViewed:i,beforeReward:a,adBreakDone:s}),console.log("gd:adp rw window.adsbygoogle.push(o). tm",window.adsbygoogle),e.next=22;break;case 18:throw e.prev=18,e.t0=e.catch(2),this._onError(e.t0),e.t0;case 22:case"end":return e.stop()}},e,this,[[2,18]])})),function(e){return AE.apply(this,arguments)})},{key:"_startAdsensePlacementPreroll",value:(wE=p(h.mark(function e(t){var r,n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(e){A(this,n),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"}),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"preroll",adBreakDone:r}),e.next=16;break;case 12:throw e.prev=12,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 16:case"end":return e.stop()}},e,this,[[1,12]])})),function(e){return wE.apply(this,arguments)})},{key:"_startAdsensePlacementStart",value:(_E=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"start",name:"start-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return _E.apply(this,arguments)})},{key:"_startAdsensePlacementNext",value:(yE=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.mr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.midroll=this.adCounter.midroll||0,this.adCounter.midroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.mr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.mr",e))}.bind(this),window.adsbygoogle.push({type:"next",name:"next-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return yE.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(Xr(JSON.stringify(i)))))}catch(e){}}},{key:"_send_atom_event",value:function(e,t){this._send(e,{gid:this.gameData.slug,md5:this.gameData.gameId,pid:0,pnm:this.gameData.pname,ctry:this.gameData.ctry,lcl:"en",hle:1,ads:1,args:t,href:window.location.href})}},{key:"_isAfgPositionNext",value:function(e){return void 0!==e.adTimestamp}},{key:"_isAfgPositionStart",value:function(e){return void 0===e.adTimestamp&&(this.adCounter.preroll=this.adCounter.preroll||0,0===this.adCounter.preroll)}},{key:"attachAfgPosition",value:function(e){var t=e.params.position;switch(t){case"preroll":case"start":case"pause":case"next":case"browse":case"reward":return}var r=e.adType;r===g.Rewarded?t="reward":r===g.Interstitial&&(this._isAfgPositionStart(e)?t=null==(r=this.gameData.pAds)||!r.enabled||null!=(r=this.gameData.loader)&&r.enabled?"start":"next":this._isAfgPositionNext(e)&&(t="next")),e.params.position=t}}]),zE),NE={},FE={},GE=null;function zE(e,t,r){var n=this;if(ne(this,zE),UE)return UE;var o={debug:!1,width:640,height:360,locale:"en"},t=((UE=this).options=t?Qr(o,t):o,this.prefix="gdsdk__",this.adsLoader=null,this.adsManager=null,this.adDisplayContainer=null,this.eventBus=new An,this.safetyTimer=null,this.containerTransitionSpeed=0,this.adCounter={},this.adPrerollCount=0,this.adMidrollCount=0,this.adRewardedCount=0,this.preloadedAdType=null,this.requestRunning=!1,this.parentDomain=r.parentDomain,this.topDomain=r.topDomain,this.parentURL=r.parentURL,this.adDisplayContainerInitialized=!1,this.IMASampleTags={interstitial:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirectlinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirecterror&correlator="],rewarded:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator="]},this.atom_display,this.adType_="",this.userAllowedPersonalizedAds=0<=document.location.search.indexOf("gdpr-targeting=0")||0<=document.cookie.indexOf("ogdpr_advertisement=0")?"0":"1",this.parentDomain.includes("girlsgogames")&&(this.userAllowedPersonalizedAds=!1),this.thirdPartyContainer=""!==e?document.getElementById(e):null,this.options.width="number"==typeof this.options.width?this.options.width:"100%"===this.options.width?640:this.options.width.replace(/[^0-9]/g,""),this.options.height="number"==typeof this.options.height?this.options.height:"100%"===this.options.height?360:this.options.height.replace(/[^0-9]/g,""),window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth),o=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.options.width=this.thirdPartyContainer?this.thirdPartyContainer.offsetWidth:t,this.options.height=this.thirdPartyContainer?this.thirdPartyContainer.offsetHeight:o,this.category="",this.tags=[],this.eventCategory="AD",this.eventBus.subscribe("LOADED",function(){A(this,n),this._clearSafetyTimer("LOADED"),this._startSafetyTimer(8e3,"LOADED")}.bind(this),"ima"),this.eventBus.subscribe("STARTED",function(){A(this,n),this._clearSafetyTimer("STARTED")}.bind(this),"ima")}function ZE(){for(var e,t=window,r=null,n=null;!e;){try{if("function"==typeof t.__tcfapi||"function"==typeof t.__cmp){r="function"==typeof t.__tcfapi?(n=2,t.__tcfapi):(n=1,t.__cmp),e=t;break}}catch(e){}try{if(t.frames.__tcfapiLocator){n=2,e=t;break}}catch(e){}try{if(t.frames.__cmpLocator){n=1,e=t;break}}catch(e){}if(t===window.top)break;t=t.parent}return NE.version=n,NE.frame=e,NE.function=r,NE.version}function HE(n){var t=this;return GE||(GE=new Promise(function(r){function e(e,t){if(bE("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:NE,consentData:e}),void r({result:"ok",consentData:e})):void 0;r({result:"ok",consentData:e})}else r({result:"cmpCallFailed"})}A(this,t),ZE(),NE.frame?2===NE.version?(bE("TCF v2 CMP found. Fetching the consent."),NE.function?(bE("CMP API is directly accessible, calling it now..."),NE.function("addEventListener",NE.version,e)):(bE("CMP API is outside the current iframe, calling it now..."),function(i,e){var a=this,s="__tcfapi";window[s]=function(e,t,r,n){A(this,a);var o=Math.random()+"",e=Mn({},"".concat(s,"Call"),{command:e,parameter:n,callId:o,version:t});FE[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!==FE[t.callId]&&FE[t.callId](t.returnValue,t.success))},!1),window[s]("addEventListener",NE.version,e)}(NE.frame,e))):r({result:"cmpVersionNotV2",cmp:NE}):r({result:"cmpNotFound"})}.bind(this)))}ie(VE,[{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:(KE=p(h.mark(function e(t,r){var n,o,i,a;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.checkIfExcluded(r))return e.abrupt("return");e.next=3;break;case 3:if(n=null==t||null==(n=t.visitor)?void 0:n.visitorId){e.next=6;break}return e.abrupt("return");case 6:return o=encodeURIComponent(this.productName),i=encodeURIComponent(n),e.prev=8,a="https://tracker-v4.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=12,fetch(a,{method:"POST"});case 12:e.next=28;break;case 15:return e.prev=15,e.t0=e.catch(8),console.log("GAME_DOCK. fail v4",e.t0),e.prev=18,a="https://tracker.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=22,fetch(a,{method:"POST"});case 22:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(18),console.log("GAME_DOCK. fail v6",e.t1);case 28:case"end":return e.stop()}},e,this,[[8,15],[18,25]])})),function(e,t){return KE.apply(this,arguments)})}]);var KE,WE=new VE;function VE(){ne(this,VE),this.productName="Game Distribution"}function qE(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 YE(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;A(this,l);try{var n=document.createElement("script");if(n.async=null==h||h,n.type="text/javascript",n.onload=function(){A(this,r),e()}.bind(this),n.onerror=function(){A(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="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(e){if(e){if("string"==typeof e)return qE(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?qE(e,void 0):void 0}}(t))||r&&t&&"number"==typeof t.length)return o&&(t=o),n=0,{s:r=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(f);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a.key,u=a.value;n.setAttribute(s,u)}}catch(e){i.e(e)}finally{i.f()}}(p=p||document.head).appendChild(n)}catch(e){var c="Error on script load catch, Error: ".concat(d);console.log(c,e),t(c)}}.bind(this))}var XE,JE="140feb72-7952-4420-8ae5-e8978d87bc17",QE=(XE=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,YE({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,YE({src:"https://cookie-cdn.cookiepro.com/consent/".concat(JE,"/OtAutoBlock.js"),attributes:[{key:"id",value:"gd-cookie-pro-autoblock"}],isAsync:!1});case 5:return e.next=7,YE({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:JE}],isAsync:!1});case 7:o=n=void 0,r=(t={inlineScript:"function OptanonWrapper() { }"}).inlineScript,n=t.target,(o=document.createElement("script")).text=r,(n=n||document.head).appendChild(o),console.log("GD: CMP cookie pro loaded successfully."),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("GD: CMP error on load",e.t0);case 14:case"end":return e.stop()}var t,r,n,o},e,null,[[0,11]])})),function(){return XE.apply(this,arguments)}),by={exports:{}},e="object"==typeof Reflect?Reflect:null,eS=e&&"function"==typeof e.apply?e.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},tS=e&&"function"==typeof e.ownKeys?e.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},rS=Number.isNaN||function(e){return e!=e};function nS(){nS.init.call(this)}by.exports=nS,by.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))}fS(o,i,n,{once:!0}),"error"!==i&&"function"==typeof o.on&&fS(o,"error",r,{once:!0})})},(nS.EventEmitter=nS).prototype._events=void 0,nS.prototype._eventsCount=0,nS.prototype._maxListeners=void 0;var oS=10;function iS(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function aS(e){return void 0===e._maxListeners?nS.defaultMaxListeners:e._maxListeners}function sS(e,t,r,n){var o,i;return iS(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=aS(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 uS(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 cS(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 dS(e,e.length)}}function lS(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 dS(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function fS(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(nS,"defaultMaxListeners",{enumerable:!0,get:function(){return oS},set:function(e){if("number"!=typeof e||e<0||rS(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");oS=e}}),nS.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},nS.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||rS(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},nS.prototype.getMaxListeners=function(){return aS(this)},nS.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)eS(i,this,t);else for(var a=i.length,s=dS(i,a),r=0;r<a;++r)eS(s[r],this,t);return!0},nS.prototype.on=nS.prototype.addListener=function(e,t){return sS(this,e,t,!1)},nS.prototype.prependListener=function(e,t){return sS(this,e,t,!0)},nS.prototype.once=function(e,t){return iS(t),this.on(e,uS(this,e,t)),this},nS.prototype.prependOnceListener=function(e,t){return iS(t),this.prependListener(e,uS(this,e,t)),this},nS.prototype.off=nS.prototype.removeListener=function(e,t){var r,n,o,i,a;if(iS(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;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},nS.prototype.removeAllListeners=function(e){var t,r;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 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]),this;if(0===arguments.length){for(var n,o=Object.keys(r),i=0;i<o.length;++i)"removeListener"!==(n=o[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}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},nS.prototype.listeners=function(e){return cS(this,e,!0)},nS.prototype.rawListeners=function(e){return cS(this,e,!1)},nS.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):lS.call(e,t)},nS.prototype.listenerCount=lS,nS.prototype.eventNames=function(){return 0<this._eventsCount?tS(this._events):[]};var pS,hS=new by.exports.EventEmitter,gS={"https://games.softgames.com":{"splash-hidden":"splash-hidden"}},mS=(window.addEventListener("message",function(e){var t=this,r=e.data,n=e.origin,e=r.type;!Object.keys(gS).some(function(e){return A(this,t),e===n}.bind(this))||null!=r&&r.__tcfapiCall||(window.parent&&!r.type.startsWith("gd-sdk")&&(window.parent.postMessage(r,"*"),console.log("GD-SDK:pst fw sg event to parent complete",window.parent.location.href,r)),!e)||(e=gS[n][e])&&hS.emit(e,r)},!1),new Uint8Array(16));var vS=/^(?:[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;for(var bS=[],yS=0;yS<256;++yS)bS.push((yS+256).toString(16).substr(1));function _S(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 wS(e){try{var t={gameId:e.game.gameId,target:e.game.evnts.domain,event_name:e.event,timestamp:Date.now()},r=AS(window);r===window.top||null!=r&&r.postMessage(t,"https://html5.gamedistribution.com")}catch(e){}}function AS(t){try{var e,r,n=null==t?void 0:t.parent;if("game"===(null==(e=n.document)||null==(r=e.activeElement)?void 0:r.id))return n;AS(n)}catch(e){return t}}var xS="__msgr",kS=function(e){e=(e={}).random||(e.rng||function e(){if(pS=pS||("undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))return pS(mS);throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")})();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,function(e,t){t=1<arguments.length&&void 0!==t?t:0,e=(bS[e[t+0]]+bS[e[t+1]]+bS[e[t+2]]+bS[e[t+3]]+"-"+bS[e[t+4]]+bS[e[t+5]]+"-"+bS[e[t+6]]+bS[e[t+7]]+"-"+bS[e[t+8]]+bS[e[t+9]]+"-"+bS[e[t+10]]+bS[e[t+11]]+bS[e[t+12]]+bS[e[t+13]]+bS[e[t+14]]+bS[e[t+15]]).toLowerCase();if(function e(t){return"string"==typeof t&&vS.test(t)}(e))return e;throw TypeError("Stringified UUID is invalid")}(e)}(),ES=function(e){window.__msgr.postMessage(e,"https://static.gamedistribution.com")};function SS(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 RS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?SS(Object(r),!0).forEach(function(e){Mn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SS(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function DS(e){try{var t;LS.source&&(t={type:"gd-sdk-on-event",event:e},LS.source.postMessage(t,LS.origin))}catch(e){console.log("gd-sdk forwardEvent err",e)}}function OS(e){t=e.onEvent,e.onEvent=function(e){DS(e),t.apply(this,arguments)};var t,s,e=new CS(e);return s=e,console.log("gd:adp registerForForwarderPosts"),window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=e.source,n=t.type,o=t.method,i=t.options;if("gd-sdk-self"===n)return window.postMessage({type:"gd-sdk",method:o,options:i},"https://html5.gamedistribution.com"),void console.log("gd:adp after self post");if("gd-sdk"===n){if(!LS.source&&"init"===o)return LS={source:(t={source:e,origin:r}).source,origin:t.origin},void PS();var a=s[o];a&&p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(t=a.apply(s,Object.values(i)))&&t.then)return e.next=5,t;e.next=5;break;case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("gd:adp:m:r onFrameMessage error",e.t0);case 10:case"end":return e.stop()}},e,null,[[0,7]])}))()}},!1),e}var TS,MS=null,IS=null,CS=(ie(qS,[{key:"_initUnityHandler",value:function(){var t=this;window.addEventListener("DOMNodeInserted",function(){var e;A(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:"_loadCMP",value:(WS=p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isMasterGameURL()){e.next=8;break}if(t=new ux,t=t.get("depth"),console.log("CMP location.depth",t),0===(null==t?void 0:t.value)&&null!=(t=this._gameData)&&null!=(t=t.cmp)&&t.enabled&&"html5.gamedistribution.com"===this._topDomain)return e.next=7,QE();e.next=8;break;case 7:console.log("CMP loaded");case 8:case"end":return e.stop()}},e,this)})),function(){return WS.apply(this,arguments)})},{key:"testConsent",value:function(){console.log("test-consent. Finding CMP");try{var e=ZE();console.log("CMP found",e),p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,HE({});case 2:t=e.sent,console.log("After lookup IAB consent",t);case 4: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;hS.on("splash-hidden",function(e){A(this,t),console.log("GD-SDK:pst on splash-hidden",e),this._hideCMPButton()}.bind(this))}},{key:"_hideCMPButton",value:function(){console.log(":pst hide cmp button");var e=document.getElementById("ot-sdk-btn-floating");e&&(e.style.display="none")}},{key:"isLoaded",value:function(){var e,t,r;return void 0===this._isLoaded&&(e=this._isTokenGameURL(),t=this._isExtHostedGameURL(),r=this._isMasterGameURL(),this._isLoaded=(e||t&&!r)&&this._gameData.loader.enabled),this._isLoaded}},{key:"setIsLoaded",value:function(e){this._isLoaded=e}},{key:"_sendLoadedEvent",value:function(){if(!this.isLoaded()){this.setIsLoaded(!0);try{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(console.log("in gamedock gameplay",this._gameData.loader.enabled,e),!(this._gameData.loader.enabled&&e||this._gameDockGamePlaySent))try{this._sendGamedockEvent("gameplay"),console.log("gamedock 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||!this._bridge.isCoreSDKMode&&!this._bridge.noMinijuegosSDK&&0<=document.location.search.indexOf("mp_game_id")&&this._loadMiniJuegosGratisTracker()}},{key:"_initializeSDKWithGameData",value:(KS=p(h.mark(function e(t,r){var n,o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this._gameData=this._getGameData(),e.next=4,this._loadCMP();case 4:this._bridge.isCoreSDKMode=!(!0===this._gameData.enableAds||!0===(null==(n=this._gameData.enableAds)?void 0:n.enabled)),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().catch(function(e){return A(this,o),console.error(e.message||e)}.bind(this))),t(this._gameData),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(0),this._sendSDKError(e.t0),this.onResumeGame(e.t0.message,"warning"),r(e.t0);case 19:case"end":return e.stop()}},e,this,[[0,14]])})),function(e,t){return KS.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=Ct(e);this.options=t?Qr(e,t):e,this.options.gameId=this.options.gameId.trim()}},{key:"_setConsoleBanner",value:function(){var e;this._bridge.noConsoleBanner||(e=console.log("%c %c %c GameDistribution.com HTML5 SDK | Version: "+mx.version+" %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&&(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($.stringify(e))).catch(function(e){A(this,t)}.bind(this))}},{key:"_sendAdRequestContext",value:function(e){this.msgrt.send("adctx",{message:e.adTag.bidder})}},{key:"_checkWhitelabelPartner",value:function(){this._whitelabelPartner=!1;var e=tn();e.hasOwnProperty("xanthophyll")&&"true"===e.xanthophyll&&(this._whitelabelPartner=!0,hn("White label publisher","".concat(this._whitelabelPartner),"success"))}},{key:"_checkConsole",value:function(){try{if(!dn)return;"developer.gamedistribution.com"===this._parentDomain?(ln("gd_debug_ex",!0),ln("gd_disable_midroll_timer",!0),ln("gd_tag",!0)):"localhost:3000"===this._parentDomain&&(ln("gd_debug_ex",!0),ln("gd_disable_midroll_timer",!0)),un("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(){var e;this.msgrt=new kn({gameId:this.options.gameId,hours:(new Date).getHours(),topDomain:this._topDomain,domain:this._parentDomain,referrer:this._parentURL,depth:on(),version:mx.version,tracking:this._userDeclinedTracking,whitelabel:this._whitelabelPartner,platform:(e=navigator.userAgent||navigator.vendor||window.opera,/windows phone/i.test(e)?"windows":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":""),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=["https://cdn.gamedock.io/gamedock-web-tracker/4.4.0/script/gamedock-sdk.min.js"];nn(e[0],"GamedockSDK",{alternates:e}).then(function(){var e;A(this,t),IS=this._initGamedockTracker(window.GamedockSDK),this._sendGamedockEvent("pageview"),null!=(e=this._gameData.diagnostic)&&null!=(e=e.gameDock)&&e.adViewEvent&&IS.tracking.enableHeartBeatForPage({pageId:this.options.gameId,pageType:"game"}),WE.track(IS,this._gameData)}.bind(this)).catch(function(e){A(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=IS)&&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"]);nn(e[0],"MinijuegosSDK",{alternates:e}).catch(function(e){A(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_loadGoogleAnalytics",value:function(){var t=this,e=["https://www.google-analytics.com/analytics.js"];nn(e[0],"gdsdk_google_analytics",{alternates:e,error_prefix:"Blocked:",exists:function(){return A(this,t),window.ga}.bind(this)}).then(function(){A(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){A(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_subscribeToEvents",value:function(){var r=this;this.eventBus=new An,mn.forEach(function(e){var t=this;return A(this,r),this.eventBus.subscribe(e,function(e){return A(this,t),this._onEvent(e)}.bind(this),"sdk")}.bind(this)),vn.forEach(function(e){var t=this;return A(this,r),this.eventBus.subscribe(e,function(e){return A(this,t),this._onEvent(e)}.bind(this),"ima")}.bind(this)),this.eventBus.subscribe("COMPLETE",function(){if(A(this,r),"developer.gamedistribution.com"===this._parentDomain||!0===new RegExp("^localhost").test(this._parentDomain)){fetch("https://game.api.gamedistribution.com/game/v2/hasapi/".concat(this.options.gameId,"?timestamp=").concat((new Date).valueOf()));try{var e=JSON.stringify({type:"GD_SDK_IMPLEMENTED",gameID:this.options.gameId});window.location!==window.top.location?window.top.postMessage(e,"*"):null!==window.opener&&window.opener.location!==window.location&&window.opener.postMessage(e,"*")}catch(e){}}}.bind(this),"ima"),this.eventBus.subscribe("CONTENT_PAUSE_REQUESTED",function(){return A(this,r),this.onPauseGame("New advertisements requested and loaded","success")}.bind(this),"ima"),this.eventBus.subscribe("IMPRESSION",function(e){var t;A(this,r),this.msgrt.send("ad.impression"),null!=(t=this._gameData.diagnostic)&&null!=(t=t.gameDock)&&t.adViewEvent&&WE.track(IS,this._gameData)}.bind(this),"ima"),this.eventBus.subscribe("AD_ERROR",function(e){A(this,r),this.msgrt.send("ad.error",{message:e.message,details:e.details})}.bind(this),"ima"),this.eventBus.subscribe("AD_SDK_REQUEST",function(e){A(this,r),this._sendAdRequestContext(e.message)}.bind(this),"sdk"),this.eventBus.subscribe("SDK_ERROR",function(e){A(this,r),e.message.startsWith("Blocked:")?this._bridge.noBlockerEvent||(this.msgrt.send("error",{message:e.message}),this._hasBlocker||(this._hasBlocker=!0,this._sendTunnlEvent(3))):this.msgrt.send("error",{message:e.message})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_EMPTY",function(e){A(this,r),this.msgrt.send("tunnl.keys.empty",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_FALLBACK",function(e){A(this,r),this.msgrt.send("tunnl.keys.fallback",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_T4R",function(e){return A(this,r),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,enableAds:!0,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;return"https://game.api.gamedistribution.com/game/v4/get/".concat(this.options.gameId.replace(/-/g,""),"/?domain=").concat("gamedistribution.com","&v=").concat(mx.version,"&localTime=").concat((new Date).getHours())}},{key:"_checkBlocking",value:(HS=p(h.mark(function e(){var t,r,n=this;return h.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(){A(this,n),window.location.href="https://html5.api.gamedistribution.com/blocked.html?".concat($.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 HS.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(){A(this,e),document.location="https://html5.api.gamedistribution.com/deleted.html"}.bind(this),100))}},{key:"_changeMidrollInDebugMode",value:function(){var e=this._gameData;dn&&un("gd_debug_ex")&&(un("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:(ZS=p(h.mark(function e(){var t;return h.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=Qr(this.options.advertisementSettings,t.sdk)),this.macros=new xn({game:t,bridge:this._bridge}),this.adInstance=new $E(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=mx,this.adInstance._send("gd.location",this._location.get()),e.next=17,this.adInstance.start();case 17:case"end":return e.stop()}},e,this)})),function(){return ZS.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){hn("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){hn("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_onEvent",value:function(e){hn(e.name,e.message,e.status);try{this.options.onEvent({name:e.name,message:e.message,status:e.status})}catch(e){hn("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_getGameData",value:function(){var e=fx;return this._bridge.noPreroll=(!this._getisMobile()||!1!==e.loader.mobile)&&this._bridge.noPreroll,this._bridge.noPreroll&&(this.adRequestTimer=Date.now()),this.msgrt.setGameData(e),gn(e.diagnostic),e}},{key:"_getGameDataOld",value:function(){var t=this;return new Promise(function(r){var n=this,o=(A(this,t),this._getDefaultGameData()),e=this._getGameDataUrl();fetch(e).then(function(e){return A(this,n),e.json()}.bind(this)).then(function(e){var t;A(this,n),e.success?(t={gameId:(e=e.result.game).gameMd5,slug:e.slug,pname:e.pname,dname:e.dname,status:e.status,description:e.description,enableAds:!0===e.enableAds||!0===(null==(t=e.enableAds)?void 0:t.enabled),preroll:e.preRoll,midroll:6e4*e.timeAds,rewardedAds:e.rewardedAds,title:e.title,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,block_exts:this._parseAndSelectRandomOne(e.push_cuda),bloc_gard:this._parseAndSelectRandomOne(e.bloc_gard),cookie:this._parseAndSelectRandomOne(e.cookie),gdpr:this._parseAndSelectRandomOne(e.gdpr),diagnostic:this._parseAndSelectRandomOne(e.diagnostic),cmp:this._parseAndSelectRandomOne(e.cmp),gft:this._parseAndSelectRandomOne(e.gft),sdk:this._parseAndSelectRandomOne(e.sdk)||{},loader:this._parseAndSelectRandomOne(e.loader)||{},splash:this._parseAndSelectRandomOne(e.splash)||{},promo:this._parseAndSelectRandomOne(e.promo)||{},dAds:this._parseAndSelectRandomOne(e.dads)||{},pAds:this._parseAndSelectRandomOne(e.pads)||{},mAds:this._parseAndSelectRandomOne(e.mads)||{},rAds:this._parseAndSelectRandomOne(e.rads)||{},lp:this._parseAndSelectRandomOne(e.lp)||{}},(e=Qr(Ct(o),t)).afg_disabled=!1===(null==(t=e.sdk)||null==(t=t.afg)?void 0:t.enabled),console.log("gd:adp gameData.afgDisabled",e.afg_disabled),null!=(t=e.pAds)&&t.enabled&&(e.preroll=!0),this._bridge.noPreroll=(!this._getisMobile()||!1!==e.loader.mobile)&&this._bridge.noPreroll,this._bridge.noPreroll&&(this.adRequestTimer=Date.now()),this.msgrt.setGameData(e),gn(e.diagnostic),r(e)):(o.failed=!0,r(o))}.bind(this)).catch(function(e){A(this,n),o.failed=!0,r(o)}.bind(this))}.bind(this))}},{key:"_createSplash",value:(zS=p(h.mark(function e(t,r){var n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._getSplashTemplate(t);case 2:o=e.sent,n=new o(RS(RS({},this.options),{},{isConsentDomain:r,version:mx.version}),t,this._parentDomain),o=vx(),i=o.enabled,n.on("playClick",function(){var e,t=this;A(this,a),r&&((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){A(this,t),console.log("extsc: splash error",e),n.hide()}.bind(this)):this.showAd(g.Interstitial,{position:"preroll"}).catch(function(e){A(this,t)}.bind(this))}.bind(this)),this.onPauseGame("Pause the game and wait for a user gesture","success"),this.eventBus.subscribe("SDK_GAME_PAUSE",function(){A(this,a),n.hide()}.bind(this)),this.eventBus.subscribe("SDK_GAME_START",function(){A(this,a),n.hide()}.bind(this));case 9:case"end":return e.stop()}},e,this)})),function(e,t){return zS.apply(this,arguments)})},{key:"_createPromoBeforeSplash",value:(GS=p(h.mark(function e(t,r){var n,o,i=this;return h.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(RS(RS({},this.options),{},{isConsentDomain:r,version:mx.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){A(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 GS.apply(this,arguments)})},{key:"_createPromo",value:(FS=p(h.mark(function e(t,r){var n,o,i=this;return h.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(RS(RS({},this.options),{},{isConsentDomain:r,version:mx.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){A(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 FS.apply(this,arguments)})},{key:"showBanner",value:function(){var e=this;this.showAd(g.Interstitial).catch(function(){A(this,e)}.bind(this))}},{key:"showAd",value:(NS=p(h.mark(function e(l){var d,f=this,t=arguments;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d=1<t.length&&void 0!==t[1]?t[1]:{},console.log("gd:adp, showAd izMaster,izToken",this._isMasterGameURL(),this._isTokenGameURL()),e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(r,n){var t,o,i,a,s,u,c=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={adType:l,params:d,adTimestamp:f.adRequestTimer},e.next=4,f.sdkReady;case 4:return o=e.sent,e.next=7,f.videoAdReady;case 7:return null!=(a=f._gameData.lp)&&a.load||f._sendLoadedEvent(),f._sendGamedockGamePlay(),f._rejectAdIfGameBlocked({gameData:o,adRequest:t}),f._rejectAdIfAdDisabled({gameData:o,adRequest:t}),f._rejectAdIfUnsupportedType({adRequest:t}),f._rejectAdIfRewardedDisabled({gameData:o,adRequest:t}),(null==(a=o.gft)||!a.enabled||null!=(a=o.gft)&&a.enabled&&(null==o||null==(a=o.gft)||null==(a=a.durations[f._giftCount])?void 0:a.after)!==f.adInstance.adMidrollCount)&&f._rejectAdIfAdRateHits({gameData:o,adRequest:t}),f.adInstance.attachAfgPosition(t),f._attachAfgFallback({gameData:o,adRequest:t}),i="main.showad",a=function(e){var t;A(this,c),f.eventBus.unsubscribeScope(i),f.onResumeGame(e.message,"warning"),null!=o&&null!=(t=o.gft)&&t.enabled&&(null==o||null==(t=o.gft)||null==(t=t.durations[f._giftCount])?void 0:t.after)===f.adInstance.adMidrollCount&&f.decideToGiveAGift(),n(e.message)}.bind(this),s=function(e){var t;A(this,c),f.eventBus.unsubscribeScope(i),f.adRequestTimer=Date.now(),f.onResumeGame("Advertisement(s) are done. Start / resume the game.","success"),null!=o&&null!=(t=o.gft)&&t.enabled&&(null==o||null==(t=o.gft)||null==(t=t.durations[f._giftCount])?void 0:t.after)===f.adInstance.adMidrollCount&&f.decideToGiveAGift(),r(e.message)}.bind(this),u=function(e){var t=this;A(this,c),f.eventBus.unsubscribeScope(i),d.fallback_adsense=!1,f.showAd(l,RS(RS({},d),{},{adapter:"adsense"})).then(function(e){A(this,t),r(e)}.bind(this)).catch(function(e){A(this,t),n(e)}.bind(this))}.bind(this),f.eventBus.subscribe("AD_ERROR",null!=d&&d.fallback_adsense?u:a,i),f.eventBus.subscribe("AD_SDK_CANCELED",null!=d&&d.fallback_adsense?u:a,i),f.eventBus.subscribe("AD_SUCCESS",s,i),e.next=25,f.adInstance.startAd(t);case 25:f._post_message({topic:"adrequest.instream"}),e.next=32;break;case 28:e.prev=28,e.t0=e.catch(0),f.onResumeGame(e.t0.message,"warning"),n(e.t0.message);case 32:case"end":return e.stop()}},e,this,[[0,28]])}));return function(e,t){return r.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,this)})),function(e){return NS.apply(this,arguments)})},{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){if(!e.gameData.enableAds||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:($S=p(h.mark(function e(i){var a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){var n,o;return h.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.enableAds||a._whitelabelPartner)throw new Error("Advertisements are disabled.");e.next=10;break;case 10:if(i){e.next=14;break}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:if(i!==g.Rewarded||n.rewardedAds){e.next=18;break}throw new Error("Rewarded ads are disabled.");case 18:return e.next=20,a.adInstance.preloadAd(i);case 20:o=e.sent,t(o),e.next=27;break;case 24:e.prev=24,e.t0=e.catch(0),r(e.t0);case 27:case"end":return e.stop()}},e,null,[[0,24]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return $S.apply(this,arguments)})},{key:"cancelAd",value:(US=p(h.mark(function e(){var n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){return h.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 US.apply(this,arguments)})},{key:"showDisplayAd",value:function(o){var r,i=this;return new Promise((r=p(h.mark(function e(t,r){var n;return h.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){hn("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()||wS({event:"GameStarted",game:this._gameData})}},{key:"onPauseGame",value:function(e,t){this._allowExternals({enabled:!0});try{this.options.pauseGame()}catch(e){hn("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()||wS({event:"GamePaused",game:this._gameData})}},{key:"openConsole",value:function(){try{new Sn(this).start(),ln("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;A(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){A(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:"_removeExternalsInHtml",value:function(e){var o=this;!1===e.enabled&&window.document.querySelectorAll("a").forEach(function(e){var t=this,r=(A(this,o),!!(e.innerText.toLowerCase().includes("start")||e.innerText.toLowerCase().includes("play")||e.innerText.toLowerCase().includes("continue"))),n=e.getAttribute("href");e.removeAttribute("href"),r||(e.onclick=function(e){return A(this,t),e.preventDefault(),this.msgrt.send("external",{message:"H> ".concat(n)}),!1}.bind(this))}.bind(this))}},{key:"_getBridgeContext",value:function(){var e=this._isTokenGameURL(),t=this._isMasterGameURL(),r=this._isExtHostedGameURL(),n=(e||r?this._getTokenGameURLConfig():{})||{},o=decodeURIComponent((e||r)&&n.parentURL?n.parentURL:function(){var e=tn();if(e.gd_sdk_referrer_url)return e.gd_sdk_referrer_url;var t,e=window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer:document.location.href;return-1!==document.referrer.indexOf("gameplayer.io")?(e="https://gamedistribution.com",(t=en("ref",document.referrer))&&""!==t&&"{portal%20name}"!==t&&"{spilgames}"!==t&&"{portal name}"!==t&&(e=rn(t).replace(/^(?:https?:\/\/)?(?:\/\/)?/i,""),e="https://".concat(e))):-1!==document.referrer.indexOf("localhost")&&(e="https://gamedistribution.com/"),e}()),i=decodeURIComponent((e||r)&&n.parentDomain?n.parentDomain:(a=((a=tn()).gd_sdk_referrer_url||(window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer.split("/")[2]:document.location.host)).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0],-1!==document.referrer.indexOf("gameplayer.io")?(a="gamedistribution.com",(i=en("ref",document.referrer))&&""!==i&&"{portal%20name}"!==i&&"{spilgames}"!==i&&"{portal name}"!==i&&(a=rn(i).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0])):-1!==document.referrer.indexOf("localhost")&&(a="gamedistribution.com"),a)),a=decodeURIComponent((e||r)&&n.topDomain?n.topDomain:r&&0===on()?i:function(){var e=on();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 re(e)}catch(e){}}(document.referrer);if(e)return e.host.replace(/^www\.(.*)$/i,"$1")}}()),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,g=(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:g,depth:on(),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 re(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 re(document.referrer,!0);if(!n.query.gd_zone_config)return;e=n.query.gd_zone_config}else{var o=new re(location.href,!0);if(!o.query.gd_zone_config)return;e=o.query.gd_zone_config}return JSON.parse(Jr(decodeURIComponent(e)))}catch(e){}}},{key:"_getSplashTemplate",value:function(e){e=e.splash;return new vE(e).splash()}},{key:"_createPrerollPromoTemplate",value:(BS=p(h.mark(function e(t){var r;return h.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 mE(r),e.abrupt("return",r.promo());case 3:case"end":return e.stop()}},e)})),function(e){return BS.apply(this,arguments)})},{key:"_formatTokenURLSearch",value:function(e){var t="";try{t=encodeURIComponent(Xr(JSON.stringify(e)))}catch(e){}try{var r=new re(location.href,!0);return r.query=r.query||{},r.query.gd_zone_config=t,"?".concat($.stringify(r.query))}catch(e){return"?gd_zone_config=".concat(t)}}},{key:"_extendUrlQuery",value:function(e,t){e=new re(e,!0);return e.query=RS(RS({},e.query),t),e.toString()}},{key:"_base64_encode",value:function(e){return Xr(JSON.stringify(e))}},{key:"_parseAndSelectRandomOne",value:function(e){e=this._selectRandomOne("object"===B(e)?e:an(e));return!e||!e.version||mx.version>=e.version?e:void 0}},{key:"_selectRandomOne",value:function(e){var t=this;if(!zt(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o<e.length;o++){var i=e[o];if(n<(r+=i.weight))return i}}},{key:"session",value:function(){var r,o=this;return new Promise((r=p(h.mark(function e(t,r){var n;return h.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:"_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 A(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(){var r=this;try{var e,t=null==(e=this._gameData)?void 0:e.gft;this.giftInterval=setInterval(p(h.mark(function e(){var t=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.adInstance.requestRunning?console.log("Advertisement already running..."):(r.showAd(g.Interstitial,{position:"midroll"}).catch(function(e){A(this,t)}.bind(this)),clearInterval(r.giftInterval),r.giftInterval=void 0,r._giftCount++);case 1:case"end":return e.stop()}},e,this)})),1e3*t.durations[this._giftCount].wait)}catch(r){console.log("Advertisement Error...")}}}]),qS),LS={},PS=function(){DS({name:"SDK_READY",status:"success",message:"Everything is ready."}),DS({name:"SDK_GAME_START",status:"success",message:"Advertisement(s) are done. Start / resume the game."}),DS({name:"CONTENT_RESUME_REQUESTED",status:"success",message:"Fired when content should be resumed. This usually happens when an ad finishes or collapses."})};jS=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,xx(t);case 3:return r=e.sent,r=(r?function(e){e=function(t){var r=this,e=function(e){return A(this,r),l("showAd",{adType:e})}.bind(this),n=function(e){return A(this,r),l("preloadAd",{adType:e})}.bind(this),o=function(e){return A(this,r),l("showDisplayAd",{options:e})}.bind(this),i=function(){return A(this,r),l("cancelAd")}.bind(this),a=function(){return A(this,r),l("openConsole")}.bind(this),s=function(){return A(this,r),l("showBanner")}.bind(this),u=function(){return A(this,r),l("session")}.bind(this),c=function(){A(this,r),console.log("_sendSDKReady")}.bind(this),l=function(n,o){var i=this;return A(this,r),o=o||{},new Promise(function(t,e){A(this,i);try{var r={type:"gd-sdk",method:n,options:o};window.parent.postMessage(r,"https://html5.gamedistribution.com"),t()}catch(e){console.log("gd:adp:m:s:error",e),t()}}.bind(this))}.bind(this),d=function(){A(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&&(console.log("gd:adp received on-event",t),t&&p(t))},!1)}.bind(this),f=function(){A(this,r),d(),l("init")}.bind(this),p=function(e){A(this,r),t.onEvent&&t.onEvent(e)}.bind(this);return{showBanner:s,showAd:e,preloadAd:n,showDisplayAd:o,cancelAd:i,openConsole:a,getSession:u,onEvent:p,init:f,_sendSDKReady:c}}(e);return e.init(),e}:OS)(t),bx(),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e.catch(0),console.log("gd:adp: sdk adaptor create failed, fallback to default adapter",e.t0),e.abrupt("return",OS(t));case 13:case"end":return e.stop()}},e,null,[[0,9]])}));var jS,BS,US,$S,NS,FS,GS,zS,ZS,HS,KS,WS,VS={create:function(e){return jS.apply(this,arguments)}};function qS(e){var t=this;if(ne(this,qS),MS)return MS;(MS=this)._defaults=this._getDefaultOptions(),this._extendDefaultOptions(this._defaults,e),this._version=e.version||"0.0.0",this._bridge=this._getBridgeContext(),this._location=new ux,this._location.print(),this._parentURL=this._bridge.parentURL,this._parentDomain=this._bridge.parentDomain,this._topDomain=this._bridge.topDomain,this._isFullScreen=!1,this._giftCount=0,this._setConsoleBanner(),this._initializeMessageRouter(),this._checkConsole(),this._subscribeToEvents(),this.sdkReady=new Promise(this._initializeSDKWithGameData.bind(this)),this.sdkReady.then(function(e){A(this,t),this._sdk_ready=!0}.bind(this)).catch(function(e){A(this,t),this._sdk_ready=!1}.bind(this)).finally(function(){var e;A(this,t),!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.__msgr||((t=document.createElement("iframe")).src="https://static.gamedistribution.com/message/index.html",t.style.display="none",t.name=xS,document.body.appendChild(t),window!==window.top&&(r={gameId:e.gameId,target:e.evnts.domain,token:kS,event_name:"TokenGenerated",timestamp:Date.now()},t.onload=function(){ES(r)},setInterval(function(){A(this,n),r.event_name="Heartbeat",ES(r)}.bind(this),1e3*e.evnts.heartbeatDuration))),window.addEventListener("message",function(e){A(this,n);try{var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_S(Object(r),!0).forEach(function(e){Mn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},e.data);if(!t.event_name)return;t.token=kS,ES(t)}catch(e){console.error("GD Messager Error",e.message)}}.bind(this),!1)}(this._gameData)}.bind(this)),this._registerSGBridge()}function YS(){return(YS=p(h.mark(function e(t,r){var n;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(){var u=this;return new Promise(function(e,t){var r=this;if(A(this,u),yx)return e(_x);yx=!0;var n=vx();if(!n.enabled)return e(!1);var o=n.loadedFlag,i=n.loadedFlagCheck;if(i&&!o)return e(!1);if(!i)return e(_x=!0);var a=!0,s=(setTimeout(function(){A(this,r),a&&(console.log("extsc: clearing on wait after timeout"),e(!(yx=!(a=!1))))}.bind(this),5e3),setInterval(function(){A(this,r),a&&i&&window[o]?(console.log("extsc: loaderflag for external script is set!"),_x=yx=!(a=!1),clearInterval(s),e(!0)):a||(console.log("extsc: clearing interval after timeout"),clearInterval(s))}.bind(this),100))}.bind(this))}();case 2:if(n=e.sent,console.log("extsc: should wrapper be called?",n),!n){e.next=8;break}e.t0=window.gdsdk,e.next=11;break;case 8:return e.next=10,JS(t);case 10:e.t0=e.sent;case 11:return n=e.t0,e.abrupt("return",r(n));case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}var XS=!1;function JS(o){var i=this;return new Promise(function(t,e){var r,n=this;if(A(this,i),TS)return t(TS);XS?r=setInterval(function(){A(this,n),TS&&(XS=!1,clearInterval(r),t(TS))}.bind(this),100):(XS=!0,VS.create(o).then(function(e){A(this,n),console.log("sdk created!"),(TS=e)._sendSDKReady(),XS=!1,t(TS)}.bind(this)))}.bind(this))}JS(QS=function(){var e={};try{"object"===("undefined"==typeof GD_OPTIONS?"undefined":B(GD_OPTIONS))&&GD_OPTIONS?e=GD_OPTIONS:window.gdApi&&"object"===B(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 QS,e9={invoke:function(e){return function(){return YS.apply(this,arguments)}(QS,e)}};function t9(){var r,t=this;this.AdType=g,this.preloadAd=function(t){var r=this;return e9.invoke(function(e){return A(this,r),e.preloadAd(t)}.bind(this))},this.showAd=(r=p(h.mark(function e(t,r){var n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",e9.invoke(function(e){return A(this,n),t===g.Display?e.showDisplayAd(r):e.showAd(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 e9.invoke(function(e){return A(this,t),e.cancelAd()}.bind(this))},this.openConsole=function(){var t=this;return e9.invoke(function(e){return A(this,t),e.openConsole()}.bind(this))},this.getSession=function(){var t=this;return e9.invoke(function(e){return A(this,t),e.session()}.bind(this))},this.leaderboard={show:function(){A(this,t),kh.showLeaderboard()}.bind(this),addScore:function(e){A(this,t),kh.addScore(e)}.bind(this)}}t9.prototype=new function(){this.showBanner=function(){var t=this;return e9.invoke(function(e){return A(this,t),e.showBanner()}.bind(this))},this.play=function(){},this.customLog=function(){}},window.gdsdk=new t9,window.gdApi=window.gdsdk}()}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{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(M,e,I){!function(e){!function(){"use strict";var o=M("base64-js"),i=M("ieee754"),t=(I.Buffer=f,I.SlowBuffer=function e(t){+t!=t&&(t=0);return f.alloc(+t)},I.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(O(e,ArrayBuffer)||e&&O(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||T(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)||O(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=T(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:g(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a/=i=2,s/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o)for(var c=-1,l=r;l<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 m(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)o=t.charCodeAt(a),n=o>>8,o=o%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<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&&(l-=65536,n.push(l>>>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)}I.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(O(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),O(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(O(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=I.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(O(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(T(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 m(this,t,r,n);case"latin1":case"binary":return m(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");if(n<=r)return this;var a;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 O(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function T(e){return e!=e}}.call(this)}.call(this,M("buffer").Buffer)},{"base64-js":2,buffer:3,ieee754:4}],4:[function(e,t,r){r.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<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){"use strict";e("@bygd/gd-sdk-pes/dist/default")},{"@bygd/gd-sdk-pes/dist/default":1}]},{},[5]);