(()=>{var oo=Object.defineProperty;var w=(t,e)=>()=>(t&&(e=t(t=0)),e);var io=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ao=(t,e)=>{for(var n in e)oo(t,n,{get:e[n],enumerable:!0})};function bt(t,e){return function(){return t.apply(e,arguments)}}var re=w(()=>{"use strict"});function co(t){return t!==null&&!wt(t)&&t.constructor!==null&&!wt(t.constructor)&&N(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}function lo(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&on(t.buffer),e}function gt(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),it(t))for(r=0,o=t.length;r0;)if(o=n[r],e===o.toLowerCase())return o;return null}function ie(){let{caseless:t}=ln(this)&&this||{},e={},n=(r,o)=>{let a=t&&sn(e,o)||o;Dt(e[a])&&Dt(r)?e[a]=ie(e[a],r):Dt(r)?e[a]=ie({},r):it(r)?e[a]=r.slice():e[a]=r};for(let r=0,o=arguments.length;r{"use strict";re();({toString:so}=Object.prototype),{getPrototypeOf:ae}=Object,Ft=(t=>e=>{let n=so.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),j=t=>(t=t.toLowerCase(),e=>Ft(e)===t),Vt=t=>e=>typeof e===t,{isArray:it}=Array,wt=Vt("undefined");on=j("ArrayBuffer");uo=Vt("string"),N=Vt("function"),an=Vt("number"),Mt=t=>t!==null&&typeof t=="object",fo=t=>t===!0||t===!1,Dt=t=>{if(Ft(t)!=="object")return!1;let e=ae(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},mo=j("Date"),po=j("File"),ho=j("Blob"),yo=j("FileList"),bo=t=>Mt(t)&&N(t.pipe),wo=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||N(t.append)&&((e=Ft(t))==="formdata"||e==="object"&&N(t.toString)&&t.toString()==="[object FormData]"))},go=j("URLSearchParams"),xo=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");cn=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ln=t=>!wt(t)&&t!==cn;vo=(t,e,n,{allOwnKeys:r}={})=>(gt(e,(o,a)=>{n&&N(o)?t[a]=bt(o,n):t[a]=o},{allOwnKeys:r}),t),Ro=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ko=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Eo=(t,e,n,r)=>{let o,a,i,c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)i=o[a],(!r||r(i,t,e))&&!c[i]&&(e[i]=t[i],c[i]=!0);t=n!==!1&&ae(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},_o=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;let r=t.indexOf(e,n);return r!==-1&&r===n},So=t=>{if(!t)return null;if(it(t))return t;let e=t.length;if(!an(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Oo=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ae(Uint8Array)),Io=(t,e)=>{let r=(t&&t[Symbol.iterator]).call(t),o;for(;(o=r.next())&&!o.done;){let a=o.value;e.call(t,a[0],a[1])}},Co=(t,e)=>{let n,r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Po=j("HTMLFormElement"),Ao=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),nn=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Lo=j("RegExp"),un=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),r={};gt(n,(o,a)=>{let i;(i=e(o,a,t))!==!1&&(r[a]=i||o)}),Object.defineProperties(t,r)},To=t=>{un(t,(e,n)=>{if(N(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let r=t[n];if(N(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},No=(t,e)=>{let n={},r=o=>{o.forEach(a=>{n[a]=!0})};return it(t)?r(t):r(String(t).split(e)),n},Do=()=>{},Fo=(t,e)=>(t=+t,Number.isFinite(t)?t:e),oe="abcdefghijklmnopqrstuvwxyz",rn="0123456789",dn={DIGIT:rn,ALPHA:oe,ALPHA_DIGIT:oe+oe.toUpperCase()+rn},Vo=(t=16,e=dn.ALPHA_DIGIT)=>{let n="",{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};jo=t=>{let e=new Array(10),n=(r,o)=>{if(Mt(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;let a=it(r)?[]:{};return gt(r,(i,c)=>{let s=n(i,o+1);!wt(s)&&(a[c]=s)}),e[o]=void 0,a}}return r};return n(t,0)},Uo=j("AsyncFunction"),Bo=t=>t&&(Mt(t)||N(t))&&N(t.then)&&N(t.catch),f={isArray:it,isArrayBuffer:on,isBuffer:co,isFormData:wo,isArrayBufferView:lo,isString:uo,isNumber:an,isBoolean:fo,isObject:Mt,isPlainObject:Dt,isUndefined:wt,isDate:mo,isFile:po,isBlob:ho,isRegExp:Lo,isFunction:N,isStream:bo,isURLSearchParams:go,isTypedArray:Oo,isFileList:yo,forEach:gt,merge:ie,extend:vo,trim:xo,stripBOM:Ro,inherits:ko,toFlatObject:Eo,kindOf:Ft,kindOfTest:j,endsWith:_o,toArray:So,forEachEntry:Io,matchAll:Co,isHTMLForm:Po,hasOwnProperty:nn,hasOwnProp:nn,reduceDescriptors:un,freezeMethods:To,toObjectSet:No,toCamelCase:Ao,noop:Do,toFiniteNumber:Fo,findKey:sn,global:cn,isContextDefined:ln,ALPHABET:dn,generateString:Vo,isSpecCompliantForm:Mo,toJSONObject:jo,isAsyncFn:Uo,isThenable:Bo}});function at(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}var fn,mn,x,B=w(()=>{"use strict";_();f.inherits(at,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:f.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});fn=at.prototype,mn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{mn[t]={value:t}});Object.defineProperties(at,mn);Object.defineProperty(fn,"isAxiosError",{value:!0});at.from=(t,e,n,r,o,a)=>{let i=Object.create(fn);return f.toFlatObject(t,i,function(s){return s!==Error.prototype},c=>c!=="isAxiosError"),at.call(i,t.message,e,n,r,o),i.cause=t,i.name=t.name,a&&Object.assign(i,a),i};x=at});var jt,se=w(()=>{jt=null});function ce(t){return f.isPlainObject(t)||f.isArray(t)}function hn(t){return f.endsWith(t,"[]")?t.slice(0,-2):t}function pn(t,e,n){return t?t.concat(e).map(function(o,a){return o=hn(o),!n&&a?"["+o+"]":o}).join(n?".":""):e}function Ho(t){return f.isArray(t)&&!t.some(ce)}function Go(t,e,n){if(!f.isObject(t))throw new TypeError("target must be an object");e=e||new(jt||FormData),n=f.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!f.isUndefined(b[p])});let r=n.metaTokens,o=n.visitor||u,a=n.dots,i=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&f.isSpecCompliantForm(e);if(!f.isFunction(o))throw new TypeError("visitor must be a function");function d(m){if(m===null)return"";if(f.isDate(m))return m.toISOString();if(!s&&f.isBlob(m))throw new x("Blob is not supported. Use a Buffer instead.");return f.isArrayBuffer(m)||f.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,b){let g=m;if(m&&!b&&typeof m=="object"){if(f.endsWith(p,"{}"))p=r?p:p.slice(0,-2),m=JSON.stringify(m);else if(f.isArray(m)&&Ho(m)||(f.isFileList(m)||f.endsWith(p,"[]"))&&(g=f.toArray(m)))return p=hn(p),g.forEach(function(E,L){!(f.isUndefined(E)||E===null)&&e.append(i===!0?pn([p],L,a):i===null?p:p+"[]",d(E))}),!1}return ce(m)?!0:(e.append(pn(b,p,a),d(m)),!1)}let l=[],h=Object.assign(Wo,{defaultVisitor:u,convertValue:d,isVisitable:ce});function y(m,p){if(!f.isUndefined(m)){if(l.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));l.push(m),f.forEach(m,function(g,R){(!(f.isUndefined(g)||g===null)&&o.call(e,g,f.isString(R)?R.trim():R,p,h))===!0&&y(g,p?p.concat(R):[R])}),l.pop()}}if(!f.isObject(t))throw new TypeError("data must be an object");return y(t),e}var Wo,Y,xt=w(()=>{"use strict";_();B();se();Wo=f.toFlatObject(f,{},null,function(e){return/^is[A-Z]/.test(e)});Y=Go});function yn(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function bn(t,e){this._pairs=[],t&&Y(t,this,e)}var wn,Ut,le=w(()=>{"use strict";xt();wn=bn.prototype;wn.append=function(e,n){this._pairs.push([e,n])};wn.toString=function(e){let n=e?function(r){return e.call(this,r,yn)}:yn;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};Ut=bn});function Zo(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vt(t,e,n){if(!e)return t;let r=n&&n.encode||Zo,o=n&&n.serialize,a;if(o?a=o(e,n):a=f.isURLSearchParams(e)?e.toString():new Ut(e,n).toString(r),a){let i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}var ue=w(()=>{"use strict";_();le()});var de,fe,gn=w(()=>{"use strict";_();de=class{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){f.forEach(this.handlers,function(r){r!==null&&e(r)})}},fe=de});var Bt,me=w(()=>{"use strict";Bt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var xn,vn=w(()=>{"use strict";le();xn=typeof URLSearchParams<"u"?URLSearchParams:Ut});var Rn,kn=w(()=>{"use strict";Rn=typeof FormData<"u"?FormData:null});var En,_n=w(()=>{"use strict";En=typeof Blob<"u"?Blob:null});var Sn,On=w(()=>{vn();kn();_n();Sn={isBrowser:!0,classes:{URLSearchParams:xn,FormData:Rn,Blob:En},protocols:["http","https","file","blob","url","data"]}});var pe={};ao(pe,{hasBrowserEnv:()=>In,hasStandardBrowserEnv:()=>Jo,hasStandardBrowserWebWorkerEnv:()=>zo});var In,Jo,zo,Cn=w(()=>{In=typeof window<"u"&&typeof document<"u",Jo=(t=>In&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),zo=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")()});var C,st=w(()=>{On();Cn();C={...pe,...Sn}});function he(t,e){return Y(t,new C.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return C.isNode&&f.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},e))}var Pn=w(()=>{"use strict";_();xt();st()});function Yo(t){return f.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Xo(t){let e={},n=Object.keys(t),r,o=n.length,a;for(r=0;r=n.length;return i=!i&&f.isArray(o)?o.length:i,s?(f.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!f.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],a)&&f.isArray(o[i])&&(o[i]=Xo(o[i])),!c)}if(f.isFormData(t)&&f.isFunction(t.entries)){let n={};return f.forEachEntry(t,(r,o)=>{e(Yo(r),o,n,0)}),n}return null}var Ht,ye=w(()=>{"use strict";_();Ht=qo});function Ko(t,e,n){if(f.isString(t))try{return(e||JSON.parse)(t),f.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var be,ct,Wt=w(()=>{"use strict";_();B();me();xt();Pn();st();ye();be={transitional:Bt,adapter:["xhr","http"],transformRequest:[function(e,n){let r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=f.isObject(e);if(a&&f.isHTMLForm(e)&&(e=new FormData(e)),f.isFormData(e))return o&&o?JSON.stringify(Ht(e)):e;if(f.isArrayBuffer(e)||f.isBuffer(e)||f.isStream(e)||f.isFile(e)||f.isBlob(e))return e;if(f.isArrayBufferView(e))return e.buffer;if(f.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return he(e,this.formSerializer).toString();if((c=f.isFileList(e))||r.indexOf("multipart/form-data")>-1){let s=this.env&&this.env.FormData;return Y(c?{"files[]":e}:e,s&&new s,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Ko(e)):e}],transformResponse:[function(e){let n=this.transitional||be.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&f.isString(e)&&(r&&!this.responseType||o)){let i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(i)throw c.name==="SyntaxError"?x.from(c,x.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:C.classes.FormData,Blob:C.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};f.forEach(["delete","get","head","post","put","patch"],t=>{be.headers[t]={}});ct=be});var $o,An,Ln=w(()=>{"use strict";_();$o=f.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),An=t=>{let e={},n,r,o;return t&&t.split(` `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||e[n]&&$o[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e}});function Rt(t){return t&&String(t).trim().toLowerCase()}function Gt(t){return t===!1||t==null?t:f.isArray(t)?t.map(Gt):String(t)}function Qo(t){let e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}function we(t,e,n,r,o){if(f.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!f.isString(e)){if(f.isString(r))return e.indexOf(r)!==-1;if(f.isRegExp(r))return r.test(e)}}function ei(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function ni(t,e){let n=f.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,a,i){return this[r].call(this,e,o,a,i)},configurable:!0})})}var Tn,ti,lt,P,et=w(()=>{"use strict";_();Ln();Tn=Symbol("internals");ti=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());lt=class{constructor(e){e&&this.set(e)}set(e,n,r){let o=this;function a(c,s,d){let u=Rt(s);if(!u)throw new Error("header name must be a non-empty string");let l=f.findKey(o,u);(!l||o[l]===void 0||d===!0||d===void 0&&o[l]!==!1)&&(o[l||s]=Gt(c))}let i=(c,s)=>f.forEach(c,(d,u)=>a(d,u,s));return f.isPlainObject(e)||e instanceof this.constructor?i(e,n):f.isString(e)&&(e=e.trim())&&!ti(e)?i(An(e),n):e!=null&&a(n,e,r),this}get(e,n){if(e=Rt(e),e){let r=f.findKey(this,e);if(r){let o=this[r];if(!n)return o;if(n===!0)return Qo(o);if(f.isFunction(n))return n.call(this,o,r);if(f.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Rt(e),e){let r=f.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||we(this,this[r],r,n)))}return!1}delete(e,n){let r=this,o=!1;function a(i){if(i=Rt(i),i){let c=f.findKey(r,i);c&&(!n||we(r,r[c],c,n))&&(delete r[c],o=!0)}}return f.isArray(e)?e.forEach(a):a(e),o}clear(e){let n=Object.keys(this),r=n.length,o=!1;for(;r--;){let a=n[r];(!e||we(this,this[a],a,e,!0))&&(delete this[a],o=!0)}return o}normalize(e){let n=this,r={};return f.forEach(this,(o,a)=>{let i=f.findKey(r,a);if(i){n[i]=Gt(o),delete n[a];return}let c=e?ei(a):String(a).trim();c!==a&&delete n[a],n[c]=Gt(o),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let n=Object.create(null);return f.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&f.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){let r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){let r=(this[Tn]=this[Tn]={accessors:{}}).accessors,o=this.prototype;function a(i){let c=Rt(i);r[c]||(ni(o,i),r[c]=!0)}return f.isArray(e)?e.forEach(a):a(e),this}};lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.reduceDescriptors(lt.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});f.freezeMethods(lt);P=lt});function kt(t,e){let n=this||ct,r=e||n,o=P.from(r.headers),a=r.data;return f.forEach(t,function(c){a=c.call(n,a,o.normalize(),e?e.status:void 0)}),o.normalize(),a}var Nn=w(()=>{"use strict";_();Wt();et()});function Et(t){return!!(t&&t.__CANCEL__)}var ge=w(()=>{"use strict"});function Dn(t,e,n){x.call(this,t??"canceled",x.ERR_CANCELED,e,n),this.name="CanceledError"}var X,_t=w(()=>{"use strict";B();_();f.inherits(Dn,x,{__CANCEL__:!0});X=Dn});function xe(t,e,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new x("Request failed with status code "+n.status,[x.ERR_BAD_REQUEST,x.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var Fn=w(()=>{"use strict";B()});var Vn,Mn=w(()=>{_();st();Vn=C.hasStandardBrowserEnv?{write(t,e,n,r,o,a){let i=[t+"="+encodeURIComponent(e)];f.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),f.isString(r)&&i.push("path="+r),f.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}}});function ve(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}var jn=w(()=>{"use strict"});function Re(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}var Un=w(()=>{"use strict"});function St(t,e){return t&&!ve(e)?Re(t,e):e}var ke=w(()=>{"use strict";jn();Un()});var Bn,Hn=w(()=>{"use strict";_();st();Bn=C.hasStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(a){let i=a;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){let c=f.isString(i)?o(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}()});function Ee(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var Wn=w(()=>{"use strict"});function ri(t,e){t=t||10;let n=new Array(t),r=new Array(t),o=0,a=0,i;return e=e!==void 0?e:1e3,function(s){let d=Date.now(),u=r[a];i||(i=d),n[o]=s,r[o]=d;let l=a,h=0;for(;l!==o;)h+=n[l++],l=l%t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),d-i{"use strict";Gn=ri});function Jn(t,e){let n=0,r=Gn(50,250);return o=>{let a=o.loaded,i=o.lengthComputable?o.total:void 0,c=a-n,s=r(c),d=a<=i;n=a;let u={loaded:a,total:i,progress:i?a/i:void 0,bytes:c,rate:s||void 0,estimated:s&&i&&d?(i-a)/s:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}var oi,zn,Yn=w(()=>{"use strict";_();Fn();Mn();ue();ke();Hn();me();B();_t();Wn();st();et();Zn();oi=typeof XMLHttpRequest<"u",zn=oi&&function(t){return new Promise(function(n,r){let o=t.data,a=P.from(t.headers).normalize(),{responseType:i,withXSRFToken:c}=t,s;function d(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}let u;if(f.isFormData(o)){if(C.hasStandardBrowserEnv||C.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){let[p,...b]=u?u.split(";").map(g=>g.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...b].join("; "))}}let l=new XMLHttpRequest;if(t.auth){let p=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+b))}let h=St(t.baseURL,t.url);l.open(t.method.toUpperCase(),vt(h,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function y(){if(!l)return;let p=P.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),g={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:p,config:t,request:l};xe(function(E){n(E),d()},function(E){r(E),d()},g),l=null}if("onloadend"in l?l.onloadend=y:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(y)},l.onabort=function(){l&&(r(new x("Request aborted",x.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new x("Network Error",x.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let b=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",g=t.transitional||Bt;t.timeoutErrorMessage&&(b=t.timeoutErrorMessage),r(new x(b,g.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,t,l)),l=null},C.hasStandardBrowserEnv&&(c&&f.isFunction(c)&&(c=c(t)),c||c!==!1&&Bn(h))){let p=t.xsrfHeaderName&&t.xsrfCookieName&&Vn.read(t.xsrfCookieName);p&&a.set(t.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in l&&f.forEach(a.toJSON(),function(b,g){l.setRequestHeader(g,b)}),f.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),i&&i!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",Jn(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Jn(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=p=>{l&&(r(!p||p.type?new X(null,t,l):p),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));let m=Ee(h);if(m&&C.protocols.indexOf(m)===-1){r(new x("Unsupported protocol "+m+":",x.ERR_BAD_REQUEST,t));return}l.send(o||null)})}});var _e,Xn,ii,Zt,Se=w(()=>{_();se();Yn();B();_e={http:jt,xhr:zn};f.forEach(_e,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});Xn=t=>`- ${t}`,ii=t=>f.isFunction(t)||t===null||t===!1,Zt={getAdapter:t=>{t=f.isArray(t)?t:[t];let{length:e}=t,n,r,o={};for(let a=0;a`adapter ${c} `+(s===!1?"is not supported by the environment":"is not available in the build")),i=e?a.length>1?`since : `+a.map(Xn).join(` `):" "+Xn(a[0]):"as no adapter specified";throw new x("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:_e}});function Oe(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new X(null,t)}function Jt(t){return Oe(t),t.headers=P.from(t.headers),t.data=kt.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Zt.getAdapter(t.adapter||ct.adapter)(t).then(function(r){return Oe(t),r.data=kt.call(t,t.transformResponse,r),r.headers=P.from(r.headers),r},function(r){return Et(r)||(Oe(t),r&&r.response&&(r.response.data=kt.call(t,t.transformResponse,r.response),r.response.headers=P.from(r.response.headers))),Promise.reject(r)})}var qn=w(()=>{"use strict";Nn();ge();Wt();_t();et();Se()});function H(t,e){e=e||{};let n={};function r(d,u,l){return f.isPlainObject(d)&&f.isPlainObject(u)?f.merge.call({caseless:l},d,u):f.isPlainObject(u)?f.merge({},u):f.isArray(u)?u.slice():u}function o(d,u,l){if(f.isUndefined(u)){if(!f.isUndefined(d))return r(void 0,d,l)}else return r(d,u,l)}function a(d,u){if(!f.isUndefined(u))return r(void 0,u)}function i(d,u){if(f.isUndefined(u)){if(!f.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function c(d,u,l){if(l in e)return r(d,u);if(l in t)return r(void 0,d)}let s={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(d,u)=>o(Kn(d),Kn(u),!0)};return f.forEach(Object.keys(Object.assign({},t,e)),function(u){let l=s[u]||o,h=l(t[u],e[u],u);f.isUndefined(h)&&l!==c||(n[u]=h)}),n}var Kn,Ie=w(()=>{"use strict";_();et();Kn=t=>t instanceof P?t.toJSON():t});var zt,Ce=w(()=>{zt="1.6.2"});function ai(t,e,n){if(typeof t!="object")throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);let r=Object.keys(t),o=r.length;for(;o-- >0;){let a=r[o],i=e[a];if(i){let c=t[a],s=c===void 0||i(c,a,t);if(s!==!0)throw new x("option "+a+" must be "+s,x.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new x("Unknown option "+a,x.ERR_BAD_OPTION)}}var Pe,$n,Yt,Qn=w(()=>{"use strict";Ce();B();Pe={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Pe[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});$n={};Pe.transitional=function(e,n,r){function o(a,i){return"[Axios v"+zt+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,c)=>{if(e===!1)throw new x(o(i," has been removed"+(n?" in "+n:"")),x.ERR_DEPRECATED);return n&&!$n[i]&&($n[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(a,i,c):!0}};Yt={assertOptions:ai,validators:Pe}});var q,ut,Ot,tr=w(()=>{"use strict";_();ue();gn();qn();Ie();ke();Qn();et();q=Yt.validators,ut=class{constructor(e){this.defaults=e,this.interceptors={request:new fe,response:new fe}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=H(this.defaults,n);let{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&Yt.assertOptions(r,{silentJSONParsing:q.transitional(q.boolean),forcedJSONParsing:q.transitional(q.boolean),clarifyTimeoutError:q.transitional(q.boolean)},!1),o!=null&&(f.isFunction(o)?n.paramsSerializer={serialize:o}:Yt.assertOptions(o,{encode:q.function,serialize:q.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&f.merge(a.common,a[n.method]);a&&f.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),n.headers=P.concat(i,a);let c=[],s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,c.unshift(p.fulfilled,p.rejected))});let d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,l=0,h;if(!s){let m=[Jt.bind(this),void 0];for(m.unshift.apply(m,c),m.push.apply(m,d),h=m.length,u=Promise.resolve(n);l{"use strict";_t();It=class{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});let r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a,i=new Promise(c=>{r.subscribe(c),a=c}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},e(function(a,i,c){r.reason||(r.reason=new X(a,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new It(function(o){e=o}),cancel:e}}},er=It});function Ae(t){return function(n){return t.apply(null,n)}}var rr=w(()=>{"use strict"});function Le(t){return f.isObject(t)&&t.isAxiosError===!0}var or=w(()=>{"use strict";_()});var Te,ir,ar=w(()=>{Te={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Te).forEach(([t,e])=>{Te[e]=t});ir=Te});function sr(t){let e=new Ot(t),n=bt(Ot.prototype.request,e);return f.extend(n,Ot.prototype,e,{allOwnKeys:!0}),f.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return sr(H(t,o))},n}var S,dt,cr=w(()=>{"use strict";_();re();tr();Ie();Wt();ye();_t();nr();ge();Ce();xt();B();rr();or();et();Se();ar();S=sr(ct);S.Axios=Ot;S.CanceledError=X;S.CancelToken=er;S.isCancel=Et;S.VERSION=zt;S.toFormData=Y;S.AxiosError=x;S.Cancel=S.CanceledError;S.all=function(e){return Promise.all(e)};S.spread=Ae;S.isAxiosError=Le;S.mergeConfig=H;S.AxiosHeaders=P;S.formToJSON=t=>Ht(f.isHTMLForm(t)?new FormData(t):t);S.getAdapter=Zt.getAdapter;S.HttpStatusCode=ir;S.default=S;dt=S});var Ds,Fs,Vs,Ms,js,Us,Bs,Hs,Ws,Gs,Zs,Js,zs,Ys,Xs,qs,lr=w(()=>{cr();({Axios:Ds,AxiosError:Fs,CanceledError:Vs,isCancel:Ms,CancelToken:js,VERSION:Us,all:Bs,Cancel:Hs,isAxiosError:Ws,spread:Gs,toFormData:Zs,AxiosHeaders:Js,HttpStatusCode:zs,formToJSON:Ys,getAdapter:Xs,mergeConfig:qs}=dt)});var Ne,O,Xt=w(()=>{Ne=class{constructor(e=!1){this.debugMode=e}setDebugMode(e){this.debugMode=e}log(e,...n){this.debugMode&&console.log(`[LOG] ${e}`,...n)}debug(e,...n){this.debugMode&&console.log(`[DEBUG] ${e}`,...n)}info(e,...n){this.debugMode&&console.info(`[INFO] ${e}`,...n)}warn(e,...n){this.debugMode&&console.warn(`[WARN] ${e}`,...n)}error(e,...n){this.debugMode&&console.error(`[ERROR] ${e}`,...n)}},O=new Ne(!1)});function ur(t){qt={...qt,...t},O.setDebugMode(qt?.debug===!0)}function nt(){return qt}var qt,Kt=w(()=>{Xt();qt={api:{},collector:{},dataCapture:{autoCapture:!1,consoleListener:!0,sessionReplay:{enabled:!1}},debug:!1}});var K,$,$t=w(()=>{K=class{constructor(){this.errors=[]}static getInstance(){return K.instance||(K.instance=new K),K.instance}addError(e,n){this.errors.push({message:e,error:n})}getErrors(){return this.errors}},$=K.getInstance()});function De(){if(!Qt&&(Qt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qt(si)}var Qt,si,dr=w(()=>{si=new Uint8Array(16)});function fr(t,e=0){return(I[t[e+0]]+I[t[e+1]]+I[t[e+2]]+I[t[e+3]]+"-"+I[t[e+4]]+I[t[e+5]]+"-"+I[t[e+6]]+I[t[e+7]]+"-"+I[t[e+8]]+I[t[e+9]]+"-"+I[t[e+10]]+I[t[e+11]]+I[t[e+12]]+I[t[e+13]]+I[t[e+14]]+I[t[e+15]]).toLowerCase()}var I,mr=w(()=>{I=[];for(let t=0;t<256;++t)I.push((t+256).toString(16).slice(1))});var ci,Fe,pr=w(()=>{ci=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fe={randomUUID:ci}});function li(t,e,n){if(Fe.randomUUID&&!e&&!t)return Fe.randomUUID();t=t||{};let r=t.random||(t.rng||De)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(let o=0;o<16;++o)e[n+o]=r[o];return e}return fr(r)}var ft,hr=w(()=>{pr();dr();mr();ft=li});var yr=w(()=>{hr()});var Ve,ui,Ct,Me=w(()=>{yr();$t();Ve=class{constructor(e=30){this.requestId=ft();this.ttlInMinutes=e}clearSession(){localStorage.removeItem("session")}initializeSession(){try{let e=localStorage.getItem("session");if(e){let{sessionId:o,requestId:a,timestamp:i,identity:c}=JSON.parse(e),s=new Date().getTime();if(s-i{Pt=function(){return Pt=Object.assign||function(e){for(var n,r=1,o=arguments.length;r0){var r=t[n].toLowerCase();r!==t[n]?e+=" ".concat(r):e+=t[n]}else e+=t[n].toUpperCase();return e}function di(t,e){return function(n,r){return Object.prototype.hasOwnProperty.call(n,r)}(t,e)?t[e]:void 0}function Di(t,e){var n=[];return function(r,o){var a=5,i=(h=r,y=wr([],h,!0),{current:function(){return y[0]},postpone:function(){var p=y.shift();p!==void 0&&y.push(p)},exclude:function(){y.shift()}}),c=(d=100,u=3e3,l=0,function(){return Math.random()*Math.min(u,d*Math.pow(2,l++))}),s=i.current(),d,u,l,h,y;if(s===void 0)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var m=function(p,b){return o(p).catch(function(g){if(b+1>=a)throw g;(function(L){if(!(L instanceof Error))return!1;var U=L.message;return U===je||U===Be})(g)?i.exclude():i.postpone();var R,E=i.current();if(E===void 0)throw g;return(R=c(),new Promise(function(L){return setTimeout(L,R)})).then(function(){return m(E,b+1)})})};return m(s,0)}(t,function(r){var o=new Date,a=function(c){return n.push({url:r,startedAt:o,finishedAt:new Date,error:c})},i=e(r);return i.then(function(){return a()},a),i}).then(function(r){return[r,n]})}function Vi(t){var e;t.scriptUrlPattern;var n=t.token,r=t.apiKey,o=r===void 0?n:r,a=br(t,["scriptUrlPattern","token","apiKey"]),i=(e=di(t,"scriptUrlPattern"))!==null&&e!==void 0?e:Rr,c=function(){var u=[],l=function(){u.push({time:new Date,state:document.visibilityState})},h=function(y,m,p,b){return y.addEventListener(m,p,b),function(){return y.removeEventListener(m,p,b)}}(document,"visibilitychange",l);return l(),[u,h]}(),s=c[0],d=c[1];return Promise.resolve().then(function(){if(!o||typeof o!="string")throw new Error(Ue);var u=function(l,h){return(Array.isArray(l)?l:[l]).map(function(y){return function(m,p){var b=encodeURIComponent;return m.replace(/<[^<>]+>/g,function(g){return g===""?"3":g===""?b(p):g===""?b(Ni):g})}(String(y),h)})}(i,o);return Di(u,Mi)}).catch(function(u){throw d(),function(l){return l instanceof Error&&l.message===Be?new Error(He):l}(u)}).then(function(u){var l=u[0],h=u[1];return d(),l.load(Pt(Pt({},a),{ldi:{attempts:h,visibilityStates:s}}))})}function Mi(t){return function(e,n,r,o){var a,i=document,c="securitypolicyviolation",s=function(u){var l=new URL(e,location.href),h=u.blockedURI;h!==l.href&&h!==l.protocol.slice(0,-1)&&h!==l.origin||(a=u,d())};i.addEventListener(c,s);var d=function(){return i.removeEventListener(c,s)};return o?.then(d,d),Promise.resolve().then(n).then(function(u){return d(),u},function(u){return new Promise(function(l){return setTimeout(l)}).then(function(){if(d(),a)return r(a);throw u})})}(t,function(){return function(e){return new Promise(function(n,r){var o=document.createElement("script"),a=function(){var c;return(c=o.parentNode)===null||c===void 0?void 0:c.removeChild(o)},i=document.head||document.getElementsByTagName("head")[0];o.onload=function(){a(),n()},o.onerror=function(){a(),r(new Error(He))},o.async=!0,o.src=e,i.appendChild(o)})}(t)},function(){throw new Error(je)}).then(ji)}function ji(){var t=window,e="__fpjs_p_l_b",n=t[e];if(function(r,o){var a,i=(a=Object.getOwnPropertyDescriptor)===null||a===void 0?void 0:a.call(Object,r,o);i?.configurable?delete r[o]:i&&!i.writable||(r[o]=void 0)}(t,e),typeof n?.load!="function")throw new Error(Be);return n}var fi,mi,pi,hi,yi,bi,je,wi,gi,xi,vi,Ri,ki,Ei,Ue,xr,vr,_i,Si,Oi,Ii,Ci,Pi,Ai,Li,Ti,Ni,Be,Rr,Fi,He,kr,Er=w(()=>{gr();fi={default:"endpoint"},mi={default:"tlsEndpoint"},pi="Client timeout",hi="Network connection error",yi="Network request aborted",bi="Response cannot be parsed",je="Blocked by CSP",wi="The endpoint parameter is not a valid URL",gi=mt("WrongRegion"),xi=mt("SubscriptionNotActive"),vi=mt("UnsupportedVersion"),Ri=mt("InstallationMethodRestricted"),ki=mt("HostnameRestricted"),Ei=mt("IntegrationFailed"),Ue="API key required",xr="API key not found",vr="API key expired",_i="Request cannot be parsed",Si="Request failed",Oi="Request failed to process",Ii="Too many requests, rate limit exceeded",Ci="Not available for this origin",Pi="Not available with restricted header",Ai=Ue,Li=xr,Ti=vr,Ni="3.8.6",Be="9319";Rr="https://fpnpmcdn.net/v//loader_v.js",Fi=Rr,He="Failed to load the JS script of the agent";kr={load:Vi,defaultScriptUrlPattern:Fi,ERROR_SCRIPT_LOAD_FAIL:He,ERROR_API_KEY_EXPIRED:vr,ERROR_API_KEY_INVALID:xr,ERROR_API_KEY_MISSING:Ue,ERROR_BAD_REQUEST_FORMAT:_i,ERROR_BAD_RESPONSE_FORMAT:bi,ERROR_CLIENT_TIMEOUT:pi,ERROR_CSP_BLOCK:je,ERROR_FORBIDDEN_ENDPOINT:ki,ERROR_FORBIDDEN_HEADER:Pi,ERROR_FORBIDDEN_ORIGIN:Ci,ERROR_GENERAL_SERVER_FAILURE:Si,ERROR_INSTALLATION_METHOD_RESTRICTED:Ri,ERROR_INTEGRATION_FAILURE:Ei,ERROR_INVALID_ENDPOINT:wi,ERROR_NETWORK_ABORT:yi,ERROR_NETWORK_CONNECTION:hi,ERROR_RATE_LIMIT:Ii,ERROR_SERVER_TIMEOUT:Oi,ERROR_SUBSCRIPTION_NOT_ACTIVE:xi,ERROR_TOKEN_EXPIRED:Ti,ERROR_TOKEN_INVALID:Li,ERROR_TOKEN_MISSING:Ai,ERROR_UNSUPPORTED_VERSION:vi,ERROR_WRONG_REGION:gi,defaultEndpoint:fi,defaultTlsEndpoint:mi}});function G(t,e,n,r){return new(n||(n=Promise))(function(o,a){function i(d){try{s(r.next(d))}catch(u){a(u)}}function c(d){try{s(r.throw(d))}catch(u){a(u)}}function s(d){var u;d.done?o(d.value):(u=d.value,u instanceof n?u:new n(function(l){l(u)})).then(i,c)}s((r=r.apply(t,e||[])).next())})}function Z(t,e){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(d){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(o=i.trys,!((o=o.length>0&&o[o.length-1])||u[0]!==6&&u[0]!==2)){i=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=o+n?(o=i,[4,Tt(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++a,[3,1];case 4:return[2,r]}})})}function Lt(t){t.then(void 0,function(){})}function Q(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function D(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function pt(t,e){return(e%=64)===32?[t[1],t[0]]:e<32?[t[0]<>>32-e,t[1]<>>32-e]:(e-=32,[t[1]<>>32-e,t[0]<>>32-e])}function T(t,e){return(e%=64)===0?t:e<32?[t[0]<>>32-e,t[1]<>>1]),t=k(t=D(t,[4283543511,3981806797]),[0,t[0]>>>1]),t=k(t=D(t,[3301882366,444984403]),[0,t[0]>>>1])}function Ui(t,e){e=e||0;var n,r=(t=t||"").length%16,o=t.length-r,a=[0,e],i=[0,e],c=[0,0],s=[0,0],d=[2277735313,289559509],u=[1291169091,658871167];for(n=0;n>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)}function We(t){return parseInt(t)}function F(t){return parseFloat(t)}function W(t,e){return typeof t=="number"&&isNaN(t)?e:t}function V(t){return t.reduce(function(e,n){return e+(n?1:0)},0)}function jr(t,e){if(e===void 0&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function Ir(t){return t&&typeof t=="object"&&"message"in t?t:{message:t}}function Bi(t){return typeof t!="function"}function Hi(t,e,n){var r=Object.keys(t).filter(function(a){return!function(i,c){for(var s=0,d=i.length;s=4}function Wi(){var t=window,e=navigator;return V(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!Ur()}function qe(){var t=window,e=navigator;return V(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,e.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function At(){var t=window,e=navigator;return V(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,e.vendor.indexOf("Apple")===0,"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function Ke(){var t=window;return V(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])>=3}function Gi(){var t,e,n=window;return V(["buildID"in navigator,"MozAppearance"in((e=(t=document.documentElement)===null||t===void 0?void 0:t.style)!==null&&e!==void 0?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Zi(){var t=document;return t.fullscreenElement||t.msFullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||null}function Br(){var t=qe(),e=Gi();if(!t&&!e)return!1;var n=window;return V(["onorientationchange"in n,"orientation"in n,t&&!("SharedWorker"in n),e&&/android/i.test(navigator.appVersion)])>=2}function Cr(t){var e=new Error(t);return e.name=t,e}function Pr(t,e,n){var r,o,a;return n===void 0&&(n=50),G(this,void 0,void 0,function(){var i,c;return Z(this,function(s){switch(s.label){case 0:i=document,s.label=1;case 1:return i.body?[3,3]:[4,Tt(n)];case 2:return s.sent(),[3,1];case 3:c=i.createElement("iframe"),s.label=4;case 4:return s.trys.push([4,,10,11]),[4,new Promise(function(d,u){var l=!1,h=function(){l=!0,d()};c.onload=h,c.onerror=function(p){l=!0,u(p)};var y=c.style;y.setProperty("display","block","important"),y.position="absolute",y.top="0",y.left="0",y.visibility="hidden",e&&"srcdoc"in c?c.srcdoc=e:c.src="about:blank",i.body.appendChild(c);var m=function(){var p,b;l||(((b=(p=c.contentWindow)===null||p===void 0?void 0:p.document)===null||b===void 0?void 0:b.readyState)==="complete"?h():setTimeout(m,10))};m()})];case 5:s.sent(),s.label=6;case 6:return!((o=(r=c.contentWindow)===null||r===void 0?void 0:r.document)===null||o===void 0)&&o.body?[3,8]:[4,Tt(n)];case 7:return s.sent(),[3,6];case 8:return[4,t(c,c.contentWindow)];case 9:return[2,s.sent()];case 10:return(a=c.parentNode)===null||a===void 0||a.removeChild(c),[7];case 11:return[2]}})})}function Ji(t){for(var e=function(d){for(var u,l,h="Unexpected syntax '".concat(d,"'"),y=/^\s*([a-z-]*)(.*)$/i.exec(d),m=y[1]||void 0,p={},b=/([.:#][\w-]+|\[.+?\])/gi,g=function(U,ot){p[U]=p[U]||[],p[U].push(ot)};;){var R=b.exec(y[2]);if(!R)break;var E=R[0];switch(E[0]){case".":g("class",E.slice(1));break;case"#":g("id",E.slice(1));break;case"[":var L=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(E);if(!L)throw new Error(h);g(L[1],(l=(u=L[4])!==null&&u!==void 0?u:L[5])!==null&&l!==void 0?l:"");break;default:throw new Error(h)}}return[m,p]}(t),n=e[0],r=e[1],o=document.createElement(n??"div"),a=0,i=Object.keys(r);a{Xe=function(){return Xe=Object.assign||function(t){for(var e,n=1,r=arguments.length;n.6*u.length})).sort(),[2,a]}var s})})},fontPreferences:function(){return function(t,e){return e===void 0&&(e=4e3),Pr(function(n,r){var o=r.document,a=o.body,i=a.style;i.width="".concat(e,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",qe()?a.style.zoom="".concat(1/r.devicePixelRatio):At()&&(a.style.zoom="reset");var c=o.createElement("div");return c.textContent=Vr([],Array(e/20<<0),!0).map(function(){return"word"}).join(" "),a.appendChild(c),t(o,a)},'')}(function(t,e){for(var n={},r={},o=0,a=Object.keys(Ye);o=3}())return-1;var n=new e(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);var a=function(d){var u=3,l=500,h=500,y=5e3,m=function(){};return[new Promise(function(p,b){var g=!1,R=0,E=0;d.oncomplete=function(ot){return p(ot.renderedBuffer)};var L=function(){setTimeout(function(){return b(Cr("timeout"))},Math.min(h,E+y-Date.now()))},U=function(){try{var ot=d.startRendering();switch(Mr(ot)&&Lt(ot),d.state){case"running":E=Date.now(),g&&L();break;case"suspended":document.hidden||R++,g&&R>=u?b(Cr("suspended")):setTimeout(U,l)}}catch(ro){b(ro)}};U(),m=function(){g||(g=!0,E>0&&L())}}),m]}(n),i=a[0],c=a[1],s=i.then(function(d){return function(u){for(var l=0,h=0;h=3||n.push(e.languages);else if(typeof e.languages=="string"){var o=e.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return W(F(navigator.deviceMemory),void 0)},screenResolution:function(){var t=screen,e=function(r){return W(We(r),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return W(We(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=(t=window.Intl)===null||t===void 0?void 0:t.DateTimeFormat;if(e){var n=new e().resolvedOptions().timeZone;if(n)return n}var r,o=(r=new Date().getFullYear(),-Math.max(F(new Date(r,0,1).getTimezoneOffset()),F(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!Ur()&&!Wi())try{return!!window.indexedDB}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return t==="MacIntel"&&At()&&!Ke()?function(){if(navigator.platform==="iPad")return!0;var e=screen,n=e.width/e.height;return V(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,n>.65&&n<1.53])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n{Kt();Er();Zr();Xt();$t();tt=class{static async get(){try{let e=await tt.getVisitorIdPro(),n=await tt.getVisitorIdV3(),r=n?.visitorId||null,o=n?.components||void 0;return O.info(`Fp: v3=${r}, pro=${e}`),{visitorIdPro:e,visitorIdV3:r,components:o}}catch(e){return O.error("Could not get fp",e),{visitorIdPro:null,visitorIdV3:null,components:void 0}}}static async getVisitorIdPro(){try{let e=nt().collector?.fingerprint?.fingerprintPro;if(e?.key&&e?.enabled)return(await(await kr.load({apiKey:e?.key})).get()).visitorId||null}catch(e){$.addError("Could not get Fingerprint PRO ID",e)}return null}static async getVisitorIdV3(){try{return await(await Gr.load()).get()}catch(e){$.addError("Could not get Fingerprint V3 ID",e)}return{visitorId:null,components:void 0}}}});var ea,ee,$e=w(()=>{ea="0.2.65/df586b19",ee=ea});var J,zr=w(()=>{lr();Kt();$t();Me();Jr();$e();dt.defaults.withCredentials=!0;J=class{static async formatRequest(e,n){return JSON.stringify({type:e,data:n})}static secureEnv(){return Boolean(window.crypto?.subtle)}static async post(e,n,r){try{let o=nt()?.api?.baseUrl;if(!o)throw console.error("Internal honeypot error: missing base url"),new Error("Missing base URL");let a=`${o}${e}`,i={identity:Ct.getIdentity(),identities:Ct.getIdentities()};try{i={...i,...await tt.get()}}catch{}let c=!navigator.geolocation.getCurrentPosition.toString().includes("[native code]")||window?.geoLocationStorage!==void 0,s=[];c&&s.push("blsf");let d={...r,...i,library_version:ee,ctags:s},u=await J.formatRequest(n,d);return(await dt.post(a,u,{headers:{"Content-Type":"application/json;charset=UTF-8"}})).data}catch(o){throw $.addError("Failed to communicate with the backend server"),J.postError(o),o}}static async postError(e){try{let r=nt()?.api?.routes?.errors;if(!r)return;let o=await J.formatRequest("error",{message:e}),a=await dt.post(r,o,{headers:{"Content-Type":"application/json;charset=UTF-8"}})}catch{console.error("error HP10002")}}}});var ne,Qe=w(()=>{ne=(t,e,n,r)=>{let o=0,a=i=>{try{let c=new URLSearchParams(window.location.search).has("hpdebug");(r?.debug===!0||c)&&console.log(`[hp] ${i}`)}catch{}};return{name:"honeypot-enrichment",type:"before",setup:async i=>{try{i.userId&&(r?.trackIdentities?(a(`setting user_id: ${i.userId}`),await n(i.userId)):a(`ignoring user_id since trackIdentities is set to false: ${i.userId}`))}catch{}let c=await e();a(`initialized plugin. honey=${JSON.stringify(c)}`)},execute:async i=>{try{let{user_id:c,event_type:s}=i;try{c&&(r?.trackIdentities?(a(`processing identify event: ${c}`),await n(c)):a(`ignoring identify event since trackIdentities is set to false: ${c}`))}catch{}let u=s.startsWith("[Amplitude] ")?s.replace("[Amplitude] ",""):s;o=o+1;let l=!1;if(r?.excludeEvents?.includes(u)||r?.includeEvents?.length&&!r?.includeEvents.includes(u)){if(r?.enrichEventProperties){let m={ignored:!0};i.event_properties={...i.event_properties,honey:m}}return a(`ignoring event: ${s}`),i}l||(a(`tracking event: ${s}`),await t(s,i.event_properties));let y=await e();return y?.geofenced&&y?.redirect_auto?(a(`dropping event: ${s}`),null):(r?.enrichEventProperties&&(i.event_properties={...i.event_properties,honey:y},a(`enriching event: ${s}. ${JSON.stringify(i.event_properties)}`)),i)}catch{return i}}}}});var tn,na,Yr=w(()=>{Qe();tn=class{constructor(){this.config=null;this.honey=null;this.id=[];this.q=[];this.didInit=!1;this.didLoad=!1;this.callbacks={};this.geofenced=!1}setup(e){this.config=e}amplitudePlugin(e){return ne(this.track.bind(this),this.get.bind(this),this.identify.bind(this),e)}geofence(){window.honeypot?.geofence&&window.honeypot.geofence(),this.geofenced=!0}ensureHoneypot(){window.honeypot||(window.honeypot={q:[],id:[]})}async identify(e,n,r){if(this.ensureHoneypot(),window.honeypot?.identify)window.honeypot.identify(e,n,r);else{let o={id:e,...n?{properties:n}:{},...r?{type:r}:{}};Array.isArray(window.honeypot.id)||(window.honeypot.id=[]),window.honeypot.id.push(o)}}on(e,n){this.ensureHoneypot(),window.honeypot.on?window.honeypot.on(e,n):(window.honeypot.callbacks[e]??=[]).push(n)}async flow(e,n){return this.ensureHoneypot(),new Promise((r,o)=>{let a=Date.now(),i=()=>{window&&window.honeypot&&this.didInit?r(window.honeypot.flow(e,n)):Date.now()-a>=5e3?o(new Error("Flow could not be created. Did you call the load() method first?")):setTimeout(i,100)};i()})}async track(e,n={}){this.ensureHoneypot();try{if(window.honeypot?.track)window.honeypot.track(e,n);else{let r=this.q||[];r.push([e,n]),this.q=r}}catch(r){this.config?.debug&&console.error("Error tracking event:",r)}}async init(){}maybeTime(e,n){if(this.config?.debug){if(n){console.timeEnd(e);return}console.time(e)}}load(e,n,r){return this.didLoad=!0,new Promise(o=>{let a=document.createElement("script");a.async=!0;let i=new URL(e),c=null,s=null;try{c=window.location.href}catch{}try{s=document.title}catch{}i.searchParams.append("url",c||"URL not available"),i.searchParams.append("title",s||"Title not available");try{if(window.honeypot&&Array.isArray(window.honeypot.q)){let l=window.honeypot.q.map(h=>h[0]);i.searchParams.append("events",JSON.stringify(l))}}catch(l){this.config?.debug&&console.error("Error appending event names to the script URL:",l)}try{let l=["hpdebug","hpgeotest"],h=new URLSearchParams(window.location.search);l.forEach(y=>{h.has(y)&&i.searchParams.append(y,h.get(y)||"")})}catch{}n&&(i.searchParams.append("identity",n),r&&i.searchParams.append("type",r));let d=new URLSearchParams(window.location.search).get("georef");d&&i.searchParams.append("georef",d),this.maybeTime("load honeypot");try{let l=window?.honeypot?.id;if(l){let h=null;Array.isArray(l)&&l.length>0?h=l[0]?.id:h=l?.id,h&&i.searchParams.append("identity",h)}}catch{}a.src=i.toString(),document.head.appendChild(a);let u=this.config;a.onload=()=>{this.didInit=!0,this.maybeTime("load honeypot",!0);try{window.honeypot&&(window.honeypot.config=u)}catch{}o(window.honeypot)}})}async get(){if(!this.didLoad&&this.config?.url)try{if(await this.load(this.config.url),window.honeypot)return window.honeypot.get()}catch{throw new Error("Failed to load")}else if(this.didLoad&&!this.didInit)return new Promise((e,n)=>{let r=Date.now(),o=()=>{window.honeypot&&window.honeypot.get?e(window.honeypot.get()):Date.now()-r>=2e3?n(new Error("Timeout: Honeypot SDK did not initialize in time.")):setTimeout(o,50)};o()});return new Promise((e,n)=>{(()=>{if(window.honeypot&&window.honeypot.honey)e(window.honeypot.honey);else{if(window.honeypot?.get)return window.honeypot.get();n(new Error("Honey not found"))}})()})}},na=new tn});var Nt,Xr=w(()=>{Qe();Nt=class{amplitudePlugin(e){return ne(this.track.bind(this),this.get.bind(this),this.identify.bind(this),e)}}});var qr=w(()=>{Yr();Xr()});var M,Kr=w(()=>{M=class{static sleep(e){return new Promise(n=>setTimeout(n,e))}static isConstantLike(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}static getConstantsFromPrototype(e){return Object.keys(e.__proto__).filter(M.isConstantLike)}static recur(e,n=new WeakSet,r=!1){if(n.has(e))return{};try{n.add(e)}catch{}var o=r?[]:{};for(var a in e)try{let i;if(a==="enabledPlugin"||typeof e[a]=="function")continue;Array.isArray(e[a])?typeof e[a][0]=="object"?(i=M.recur(e[a],n,!0),o[a]=i.length?i:e[a]):o[a]=e[a]:typeof e[a]=="object"?(i=M.recur(e[a],n),Object.keys(i).length&&(o[a]=i)):r?o.push(e[a]):o[a]=e[a]}catch{}return o}static isValidUrlOrPath(e){try{if(!e)return!1;if(e.startsWith("/"))return!0;if(e.startsWith("http://")||e.startsWith("https://"))return new URL(e),!0}catch{return!1}return!1}static onRedirectPage(e){if(!M.isValidUrlOrPath(e))return!1;var n=e===window.location.pathname;if(!n)try{n=new URL(e,window.location.origin).href===window.location.href}catch{}return n}}});var $r,Qr=w(()=>{$r=` /* Base styles */ .nicebox { color: black; width: 100%; font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif; font-size: 1.2em; height: 100%; line-height: 2em; top: 0; left: 0; position: fixed; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 1000; } .nicebox a, .nicebox button { color: #74716D; text-decoration: none; outline: none; } .nicebox a:hover, .nicebox a:focus { color: #c94e50; outline: none; } .nicebox__title { font-size: 1.5em; line-height: 2.5em; } .nicebox button { cursor: pointer; font-size: 1.2em; padding: 0.6em 1.2em; outline: none; border: none; color: #fff; background: #c94e50; position:relative; } .nicebox__overlay { position: absolute; z-index: 1; background: rgba(55, 58, 71, 0.9); width: 100%; height: 100%; top: 0; left: 0; opacity: 0; transition: opacity 0.3s ease-in-out; } .nicebox--open .nicebox__overlay { opacity: 1; pointer-events: auto; } .nicebox__content { width: 50%; max-width: 560px; min-width: 290px; background: #fff; padding: 2em 3em; text-align: center; position: relative; z-index: 5; opacity: 0; transform: scale(0.9); transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; } .nicebox--open .nicebox__content { opacity: 1; transform: scale(1); pointer-events: auto; } .nicebox__buttons { cursor: pointer; display: flex; gap: 10px; margin-top: 20px; justify-content: center; } /* fancy animation */ .nicebox.fancy.nicebox--open .nicebox__content, .nicebox.fancy.nicebox--close .nicebox__content { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .nicebox.fancy.nicebox--open .nicebox__content { -webkit-animation-name: fancy-anim-open; animation-name: fancy-anim-open; } .nicebox.fancy.nicebox--close .nicebox__content { -webkit-animation-name: fancy-anim-close; animation-name: fancy-anim-close; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } @-webkit-keyframes fancy-anim-open { 0% { opacity: 0; -webkit-transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 2.083333% { -webkit-transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 4.166667% { -webkit-transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 6.25% { -webkit-transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 8.333333% { -webkit-transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 10.416667% { -webkit-transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 12.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 14.583333% { -webkit-transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 16.666667% { -webkit-transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 18.75% { -webkit-transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 20.833333% { -webkit-transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 22.916667% { -webkit-transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 25% { -webkit-transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 27.083333% { -webkit-transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 29.166667% { -webkit-transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 31.25% { -webkit-transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 33.333333% { -webkit-transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 35.416667% { -webkit-transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 37.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 39.583333% { -webkit-transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 41.666667% { -webkit-transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 43.75% { -webkit-transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 45.833333% { -webkit-transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 47.916667% { -webkit-transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 50% { opacity: 1; -webkit-transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 52.083333% { -webkit-transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 54.166667% { -webkit-transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 56.25% { -webkit-transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 58.333333% { -webkit-transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 60.416667% { -webkit-transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 62.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 64.583333% { -webkit-transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 66.666667% { -webkit-transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 68.75% { -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 70.833333% { -webkit-transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 72.916667% { -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 75% { -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 77.083333% { -webkit-transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 79.166667% { -webkit-transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 81.25% { -webkit-transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 83.333333% { -webkit-transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 85.416667% { -webkit-transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 87.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 89.583333% { -webkit-transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 91.666667% { -webkit-transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 93.75% { -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 95.833333% { -webkit-transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 97.916667% { -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 100% { opacity: 1; -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } } @keyframes fancy-anim-open { 0% { opacity: 0; -webkit-transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 2.083333% { -webkit-transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 4.166667% { -webkit-transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 6.25% { -webkit-transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 8.333333% { -webkit-transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 10.416667% { -webkit-transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 12.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 14.583333% { -webkit-transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 16.666667% { -webkit-transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 18.75% { -webkit-transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 20.833333% { -webkit-transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 22.916667% { -webkit-transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 25% { -webkit-transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 27.083333% { -webkit-transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 29.166667% { -webkit-transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 31.25% { -webkit-transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 33.333333% { -webkit-transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 35.416667% { -webkit-transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 37.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 39.583333% { -webkit-transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 41.666667% { -webkit-transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 43.75% { -webkit-transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 45.833333% { -webkit-transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 47.916667% { -webkit-transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 50% { opacity: 1; -webkit-transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 52.083333% { -webkit-transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 54.166667% { -webkit-transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 56.25% { -webkit-transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 58.333333% { -webkit-transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 60.416667% { -webkit-transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 62.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 64.583333% { -webkit-transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 66.666667% { -webkit-transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 68.75% { -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 70.833333% { -webkit-transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 72.916667% { -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 75% { -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 77.083333% { -webkit-transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 79.166667% { -webkit-transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 81.25% { -webkit-transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 83.333333% { -webkit-transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 85.416667% { -webkit-transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 87.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 89.583333% { -webkit-transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 91.666667% { -webkit-transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 93.75% { -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 95.833333% { -webkit-transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 97.916667% { -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 100% { opacity: 1; -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } } @-webkit-keyframes fancy-anim-close { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: scale3d(0.8, 0.8, 1); } } @keyframes fancy-anim-close { 0% { opacity: 1; } 100% { opacity: 0; -webkit-transform: scale3d(0.8, 0.8, 1); transform: scale3d(0.8, 0.8, 1); } } /* simple animation */ .nicebox.simple.nicebox--open .nicebox__content, .nicebox.simple.nicebox--close .nicebox__content { animation-duration: 0.4s; animation-fill-mode: forwards; } .nicebox.simple.nicebox--open .nicebox__content { animation-name: simple-anim-open; animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1); } .nicebox.simple.nicebox--close .nicebox__content { animation-name: simple-anim-close; } @keyframes simple-anim-open { 0% { opacity: 0; transform: scale3d(0, 0, 1); } 100% { opacity: 1; transform: scale3d(1, 1, 1); } } @keyframes simple-anim-close { 0% { opacity: 1; } 100% { opacity: 0; transform: scale3d(0.5, 0.5, 1); } } /* Annie animation */ .nicebox.annie .nicebox__overlay { -webkit-transition-duration: 0.3s; transition-duration: 0.3s; } .nicebox.annie.nicebox--open .nicebox__content, .nicebox.annie.nicebox--close .nicebox__content { -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .nicebox.annie.nicebox--open .nicebox__content { -webkit-animation-name: annie-anim-open; animation-name: annie-anim-open; } .nicebox.annie.nicebox--close .nicebox__content { -webkit-animation-name: annie-anim-close; animation-name: annie-anim-close; } .nicebox.annie.nicebox--open h2, .nicebox.annie.nicebox--open button { -webkit-animation: annie-anim-elem 0.3s both; animation: annie-anim-elem 0.3s both; } .nicebox.annie.nicebox--open h2 { -webkit-animation-delay: 0.05s; animation-delay: 0.05s; } .nicebox.annie.nicebox--open button { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } @-webkit-keyframes annie-anim-open { 0% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes annie-anim-open { 0% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); transform: translate3d(0, 50px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-webkit-keyframes annie-anim-close { 0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } 100% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); } } @keyframes annie-anim-close { 0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 100% { opacity: 0; -webkit-transform: translate3d(0, 50px, 0); transform: translate3d(0, 50px, 0); } } /* Inner elements animations */ @-webkit-keyframes annie-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, 25px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes annie-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, 25px, 0); transform: translate3d(0, 25px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } /* Cathy animation */ .nicebox.cathy .nicebox__overlay { -webkit-transition-duration: 0.4s; transition-duration: 0.4s; } .nicebox.cathy .nicebox__content { overflow: hidden; } .nicebox.cathy.nicebox--open .nicebox__content, .nicebox.cathy.nicebox--close .nicebox__content { -webkit-animation-duration: 0.4s; animation-duration: 0.4s; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .nicebox.cathy.nicebox--open .nicebox__content { -webkit-animation-name: cathy-anim-open; animation-name: cathy-anim-open; -webkit-animation-timing-function: cubic-bezier(0.7,0,0.3,1); animation-timing-function: cubic-bezier(0.7,0,0.3,1); } .nicebox.cathy.nicebox--close .nicebox__content { -webkit-animation-name: cathy-anim-close; animation-name: cathy-anim-close; } .nicebox.cathy.nicebox--open h2, .nicebox.cathy.nicebox--open p, .nicebox.cathy.nicebox--open input, .nicebox.cathy.nicebox--open button { -webkit-animation: cathy-anim-elem 0.4s both; animation: cathy-anim-elem 0.4s both; } .nicebox.cathy.nicebox--open h2 { -webkit-animation-delay: 0.27s; animation-delay: 0.27s; } .nicebox.cathy.nicebox--open p, .nicebox.cathy.nicebox--open input { -webkit-animation-delay: 0.25s; animation-delay: 0.25s; } .nicebox.cathy.nicebox--open button { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; } @-webkit-keyframes cathy-anim-open { 0% { opacity: 0; -webkit-transform: translate3d(0, -400px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes cathy-anim-open { 0% { opacity: 0; -webkit-transform: translate3d(0, -400px, 0); transform: translate3d(0, -400px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-webkit-keyframes cathy-anim-close { 0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } 100% { opacity: 0; -webkit-transform: translate3d(0, 100px, 0); } } @keyframes cathy-anim-close { 0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 100% { opacity: 0; -webkit-transform: translate3d(0, 100px, 0); transform: translate3d(0, 100px, 0); } } /* Inner elements animations */ @-webkit-keyframes cathy-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes cathy-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); transform: translate3d(0, -100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } /* Ken animation */ .nicebox.ken { -webkit-align-items: flex-start; align-items: flex-start; } .nicebox.ken.nicebox--open .nicebox__content, .nicebox.ken.nicebox--close .nicebox__content { opacity: 1; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .nicebox.ken.nicebox--open .nicebox__content { -webkit-animation-name: ken-anim-open; animation-name: ken-anim-open; } .nicebox.ken.nicebox--close .nicebox__content { -webkit-animation-name: ken-anim-close; animation-name: ken-anim-close; } .nicebox.ken.nicebox--open h2, .nicebox.ken.nicebox--open button { -webkit-animation: ken-anim-elem 0.3s both; animation: anim-elem 0.3s both; } .nicebox.ken.nicebox--open h2 { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; } .nicebox.ken.nicebox--open button { -webkit-animation-delay: 0.05s; animation-delay: 0.05s; } @-webkit-keyframes ken-anim-open { 0% { -webkit-transform: translate3d(0, -100%, 0); } 100% { -webkit-transform: translate3d(0, 0, 0); } } @keyframes ken-anim-open { 0% { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @-webkit-keyframes ken-anim-close { 0% { -webkit-transform: translate3d(0, 0, 0); } 100% { -webkit-transform: translate3d(0, -100%, 0); } } @keyframes ken-anim-close { 0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 100% { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } } /* Inner elements animations */ @-webkit-keyframes ken-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes ken-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); transform: translate3d(0, -100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } /* Alex animation */ .nicebox.alex { -webkit-align-items: flex-end; align-items: flex-end; } .nicebox.alex.nicebox--open .nicebox__content, .nicebox.alex.nicebox--close .nicebox__content { opacity: 1; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } .nicebox.alex.nicebox--open .nicebox__content { -webkit-animation-name: alex-anim-open; animation-name: alex-anim-open; } .nicebox.alex.nicebox--close .nicebox__content { -webkit-animation-name: alex-anim-close; animation-name: alex-anim-close; } .nicebox.alex.nicebox--open h2, .nicebox.alex.nicebox--open button { -webkit-animation: alex-anim-elem 0.3s both; animation: alex-anim-elem 0.3s both; } .nicebox.alex.nicebox--open h2 { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; } .nicebox.alex.nicebox--open button { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } @-webkit-keyframes alex-anim-open { 0% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,90deg); } 100% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,0deg); } } @keyframes alex-anim-open { 0% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,90deg); transform: perspective(1000px) rotate3d(1,0,0,90deg); } 100% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,0deg); transform: perspective(1000px) rotate3d(1,0,0,0deg); } } @-webkit-keyframes alex-anim-close { 0% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,0deg); } 100% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,90deg); } } @keyframes alex-anim-close { 0% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,0deg); transform: perspective(1000px) rotate3d(1,0,0,0deg); } 100% { -webkit-transform: perspective(1000px) rotate3d(1,0,0,90deg); transform: perspective(1000px) rotate3d(1,0,0,90deg); } } /* Inner elements animations */ @-webkit-keyframes alex-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, 100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); } } @keyframes alex-anim-elem { 0% { opacity: 0; -webkit-transform: translate3d(0, 100px, 0); transform: translate3d(0, 100px, 0); } 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } `});var rt,to=w(()=>{Qr();rt=class{static injectCSS(){let e="nicebox-styles";if(!document.getElementById(e)){let n=document.createElement("style");n.id=e,n.textContent=$r,document.head.appendChild(n)}}static cleanup(){this.modalContainer&&(this.modalContainer.classList.remove("nicebox--open"),this.modalContainer.classList.add("nicebox--close"),setTimeout(()=>{this.modalContainer?.remove(),this.modalContainer=null,this.countdownInterval&&(clearInterval(this.countdownInterval),this.countdownInterval=null)},300))}static setLoading(e,n,r){let o=this.modalContainer?.querySelectorAll("button:not([disabled])");if(n){o?.forEach(i=>{i!==e&&(r?i.style.display="none":i.disabled=!0)});let a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("width","24"),a.setAttribute("height","24"),a.setAttribute("viewBox","0 0 24 24"),a.setAttribute("style",` position: absolute; top: -12px; right: -12px; `),a.innerHTML=` `,a.classList.add("loading-spinner"),e.appendChild(a)}else o?.forEach(i=>{r?i.style.display="":i.disabled=!1}),e.querySelector(".loading-spinner")?.remove()}static createModal(e){let n=document.createElement("div");n.className="nicebox";let r=document.createElement("div");r.className="nicebox__overlay",n.appendChild(r);let o=document.createElement("div");o.className="nicebox__content",n.appendChild(o);let a=document.createElement("h2");if(a.textContent=e.title,a.className="nicebox__title",o.appendChild(a),e.description){let i=document.createElement("p");i.textContent=e.description,i.className="nicebox__description",o.appendChild(i)}if(e.timer){let i;e.showTimer&&(i=document.createElement("div"),i.className="nicebox__timer",i.style.position="absolute",i.style.top="10px",i.style.right="10px",o.appendChild(i));let c=()=>{let s=new Date,d=typeof e.timer=="string"?new Date(e.timer):e.timer,u=d?d.getTime()-s.getTime():0;if(u<=0){clearInterval(this.countdownInterval),e.timerExpiryLink?window.location.href=e.timerExpiryLink:this.cleanup();return}let l=Math.floor(u/1e3%60),h=Math.floor(u/(1e3*60)%60),y=Math.floor(u/(1e3*60*60)%24),m=Math.floor(u/(1e3*60*60*24));i&&(i.textContent=m>0?`${m}d ${y}h ${h}m`:y>0?`${y}h ${h}m`:`${h}m ${l}s`)};c(),this.countdownInterval=setInterval(c,1e3)}if(e.buttons?.length){let i=document.createElement("div");i.className="nicebox__buttons",e.buttons.forEach(c=>{let s=document.createElement("button");s.textContent=c.text;let d={setTitle:u=>{let l=this.modalContainer?.querySelector(".nicebox__title");l&&(l.textContent=u)},setDescription:u=>{let l=this.modalContainer?.querySelector(".nicebox__description");l&&(l.textContent=u)}};s.addEventListener("click",async()=>{if(!this.loading){this.loading=!0,this.setLoading(s,!0,c.hideOthersOnClick||!1);try{c?.click?(await c.click(d,c,s),this.cleanup()):c?.link=="close"?this.cleanup():c?.link&&(window.location.href=c?.link)}catch(u){let l=u?.message||"An unexpected error occurred. Please try again.";d.setDescription(l),console.error("Dialog error:",u)}finally{this.setLoading(s,!1,c.hideOthersOnClick||!1),this.loading=!1,s.disabled=!1,s.textContent=c?.text||s.textContent,c?.style&&Object.assign(s.style,c.style)}}}),c.style&&Object.assign(s.style,c.style),c.class&&s.classList.add(c.class),i.appendChild(s)}),o.appendChild(i)}return e.disallowOutsideClick?r.addEventListener("click",i=>i.stopPropagation()):r.addEventListener("click",this.cleanup.bind(this)),n}static fire(e){if(this.modalContainer)return;this.injectCSS(),this.cleanup();let n=this.createModal(e);e.animationClass&&n.classList.add(e.animationClass),document.body.appendChild(n),setTimeout(()=>{n.classList.add("nicebox--open")},0),this.modalContainer=n}};rt.modalContainer=null,rt.loading=!1,rt.countdownInterval=null});var en,ra,z,eo=w(()=>{zr();Kt();Xt();qr();Kr();$e();Me();to();new URLSearchParams(window.location.search).has("hpdebug")&&console.log(`hp${ee}`);en=class extends Nt{constructor(){super(...arguments);this.config=null;this.honey=null;this.id=null;this.q=[];this.didInit=!1;this.callbacks={};this.geofenceResults=null;this.intervalId=null;this.challengeInProgress=!1}setup(n){this.config=n}_setup(n){ur(n),O.setDebugMode(n?.debug===!0);try{this.didInit=!0;let r=window.navigator,o=this.maybeRescreen.bind(this);"connection"in r&&(r.connection||r?.mozConnection||r?.webkitConnection).addEventListener("change",()=>{O.debug("Connection changed"),o()}),n?.dataCapture?.consoleListener&&this.checkConsole()}catch(r){O.error("Could not setup Honeypot"),O.error(r)}}bubble(n){rt.fire(n)}async showChallenge(){if(!this.geofenceResults||this.challengeInProgress)return;let n=this.geofenceResults?.challenge||{};this.challengeInProgress=!0,this.bubble({title:n?.title||"Error",description:n?.description||"You appear to be accessing this website from an unsupported region. To proceed, you'll need to share some more information about your location.",animationClass:n?.animation||"simple",disallowOutsideClick:!0,buttons:[{text:"Share location using browser",hideOthersOnClick:!0,style:{backgroundColor:n?.colors?.button||"white",color:n?.colors?.buttonText||"white",fontSize:"16px"},click:async(r,o,a)=>{try{r.setTitle("Requesting location..."),r.setDescription("Please grant access when prompted");let i=()=>new Promise((h,y)=>{navigator.geolocation.getCurrentPosition(h,async m=>{let p;switch(m.code){case m.PERMISSION_DENIED:p="You denied the request for Geolocation.";break;case m.POSITION_UNAVAILABLE:p="Location information is unavailable.";break;case m.TIMEOUT:p="The request to get your location timed out.";break;default:p="An unknown error occurred while fetching location.";break}await this.track("__confirm",{error:m.code}),y(new Error(p))})}),c=()=>new Promise((h,y)=>{let m=document.createElement("iframe");if(m.setAttribute("sandbox","allow-same-origin"),m.classList.add("hidden"),document.body.appendChild(m),!m.contentWindow){m.remove(),y(new Error("Iframe contentWindow is not available."));return}m.contentWindow.navigator.geolocation.getCurrentPosition(p=>{m.remove(),h(p)},async p=>{await this.track("__confirm",{error:p.code}),m.remove(),y(p)})}),[s,d]=await Promise.allSettled([i(),c()]);if(s.status==="rejected"&&d.status==="rejected")throw new Error("Failed to retrieve geolocation in both contexts.");r.setTitle("Confirming location..."),r.setDescription("Almost done");let u={p1:s.status==="fulfilled"?{latitude:s.value.coords.latitude,longitude:s.value.coords.longitude,accuracy:s.value.coords.accuracy,altitude:s.value.coords.altitude,altitudeAccuracy:s.value.coords.altitudeAccuracy,heading:s.value.coords.heading,speed:s.value.coords.speed}:null,p2:d.status==="fulfilled"?{latitude:d.value.coords.latitude,longitude:d.value.coords.longitude,accuracy:d.value.coords.accuracy,altitude:d.value.coords.altitude,altitudeAccuracy:d.value.coords.altitudeAccuracy,heading:d.value.coords.heading,speed:d.value.coords.speed}:null};(await this.track("__confirm",u))?.geofenced?this.geofence():await new Promise(h=>{setTimeout(()=>{r.setTitle("Success!"),r.setDescription("Your request was processed successfully."),o.text="Done",o.style={backgroundColor:"green"},h("ok")},2e3)})}catch{r.setTitle("Error"),r.setDescription("An unexpected error occurred."),o.text="Redirecting",o.style={backgroundColor:"orange"},setTimeout(()=>{this.geofence()},1e3)}}}]})}async checkConsole(){try{let n=(...o)=>{try{typeof this.track=="function"?this.track.call(this,...o):O.warn("Track method is not defined"),this.challengeInProgress&&(this.track("__confirm",{error:9}),this.geofence())}catch(a){O.error("Error in notify function:",a)}},r="Code inspection";console.debug(Object.defineProperties(new Error,{message:{get(){return n(r),""}},toString:{value(){return new Error().stack?.includes("toString@")&&n(r),""}}}))}catch(n){O.error("Error in listen method:",n)}}async identify(n,r={},o="account"){try{Ct.setIdentity(n,r,o)}catch{}}async track(n,r={}){let o=nt()?.api?.routes?.ping;if(!o)return Promise.reject("Internal honeypot error: no endpoint is configured");try{let i={event:{time:String(Date.now()),type:n,properties:r}};O.info("Payload"),O.info(JSON.stringify(i));let c=await J.post(o,"beacon",i);return this.honey=c?.honey,this.geofenceResults=c?.geofenceResults||null,this.processGeofenceResults(),this.get()}catch(a){return Promise.reject(a)}}async get(){return this.honey?Promise.resolve(this.honey):Promise.reject("Honey not found")}processGeofenceResults(){if(!this.geofenceResults)return;let n=this.geofenceResults;n?.redirectUrl&&n?.challenge?.allow||new URLSearchParams(window.location.search).has("hpdebug-challenge")?this.showChallenge():n?.redirectUrl&&n?.autoRedirect&&this.geofence(),n?.rescreenEnabled&&n?.rescreenFrequencySeconds&&n.rescreenFrequencySeconds>=1?this.startRescreening(n.rescreenFrequencySeconds):this.stopRescreening()}async maybeRescreen(){return this.geofenceResults?.rescreenEnabled?await this.track("__rescreen"):Promise.resolve("skipped")}startRescreening(n){let r=this.maybeRescreen.bind(this);this.intervalId||(this.intervalId=setInterval(async()=>{let o=await r();O.info("Schedule results"),O.info(JSON.stringify(o))},n*1e3))}stopRescreening(){try{this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null)}catch{}}geofence(){try{let n=this.geofenceResults?.redirectUrl;n&&M.isValidUrlOrPath(n)&&!M.onRedirectPage(n)&&window.location.pathname!="/geo-unavailable"&&(window.location.href=n+"?georef="+this.geofenceResults?.ref)}catch{}}},ra=new en,z=ra});var oa=io((rl,no)=>{eo();window&&(window.honeypot&&(z.id=window.honeypot.id||null,z.config=window.honeypot.config||{},z.q=window.honeypot.q||[],z.fq=window.honeypot.fq||[],z.callbacks=window.honeypot.callbacks||{},z.geofenced=window.honeypot.geofenced||!1),window.honeypot=z);no.exports={honeypot:z}});oa();})(); honeypot._setup({"api":{"baseUrl":"https://os1-a9xwj.quill.run","routes":{"ping":"/58sj3ae84cd6"}},"dataCapture":{"consoleListener":true}}) honeypot.honey = {"geofenced":false,"redirect_url":"","redirect_auto":false} honeypot.geofenceResults = {"autoRedirect":false,"redirectUrl":null,"ref":null,"rescreenFrequencySeconds":-1,"v":true,"challenge":{"allow":false,"animation":"simple","title":"","description":"","expiry_minutes":1440,"colors":{"button":"#2081E2"},"enabled":true,"rollout_percent":100}} honeypot.processGeofenceResults()