@jolibox/implement 1.1.31 → 1.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var RA=Object.create;var no=Object.defineProperty,OA=Object.defineProperties,NA=Object.getOwnPropertyDescriptor,DA=Object.getOwnPropertyDescriptors,qA=Object.getOwnPropertyNames,ro=Object.getOwnPropertySymbols,LA=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty,Ef=Object.prototype.propertyIsEnumerable;var If=(e,t,r)=>t in e?no(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))Hs.call(t,r)&&If(e,r,t[r]);if(ro)for(var r of ro(t))Ef.call(t,r)&&If(e,r,t[r]);return e},L=(e,t)=>OA(e,DA(t));var gt=(e,t)=>{var r={};for(var n in e)Hs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ro)for(var n of ro(e))t.indexOf(n)<0&&Ef.call(e,n)&&(r[n]=e[n]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xf=(e,t)=>{for(var r in t)no(e,r,{get:t[r],enumerable:!0})},FA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qA(t))!Hs.call(e,i)&&i!==r&&no(e,i,{get:()=>t[i],enumerable:!(n=NA(t,i))||n.enumerable});return e};var se=(e,t,r)=>(r=e!=null?RA(LA(e)):{},FA(t||!e||!e.__esModule?no(r,"default",{value:e,enumerable:!0}):r,e));var I=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});function $A(e){return!!(e!=null&&e.__nativeBuffers__)}function Qs(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(r){return{}}if(typeof e!="object"||e===null)return{};if(!$A(e))return e;let t=e.__nativeBuffers__;if(delete e.__nativeBuffers__,t)for(let r=0;r<t.length;r++){let n=t[r];if(n){let i;n.value?i=n.value:n.base64&&(i=HA(n.base64)),typeof i!="undefined"&&i instanceof ArrayBuffer&&(e[n.key]=i)}}return e}function VA(e={},t=!1){let r=e,n=[];for(let[i,o]of Object.entries(r))if(o!==void 0&&o instanceof ArrayBuffer&&o.byteLength!==void 0){let a=t?{value:o,key:i}:{base64:zA(o),key:i};n.push(a),delete r[i]}return n.length>0&&(r.__nativeBuffers__=n),r}function YA(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Ff(e){return typeof e=="string"}function Lr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Af(e){return typeof e=="number"&&!isNaN(e)}function XA(e){return typeof e=="undefined"}function ZA(e){return XA(e)||e===null}function Mf(e){return typeof e=="function"}function ek(e){return Lr(e)&&Mf(e.then)}function jf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function kn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function sk(e,t,r){let n=e;for(let i of t)if(n&&typeof n=="object")n=n[i];else return r;return n===void 0?r:n}function fk(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function gk(e){return new Promise(t=>Uf(e)(t))}function Uf(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function yk(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Cn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function bk(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)wk(e[n],t[n])}function wk(e,t){if(Ff(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Mf(t)){try{if(e instanceof t)return}catch(r){}if(!ZA(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function Bf(e,t){if(Zs.config[e]){co.warn(`[can i use] ${e} already registered`);return}Zs.config[e]=Dt({},t)}function Pf(e,t){return`[${e}]:${t}`}function kk(e,t){Cf||(Gs=new oo({eventName:"jolibox_invoke",tagNameOrder:["status","method","errNo","errMsg","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),Ws=new oo({eventName:"jolibox_invoke_js2native",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),Ks=new oo({eventName:"jolibox_invoke_native2js",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),t("onJoliboxEnterBackground",()=>{Gs.flush(),Ws.flush(),Ks.flush()}),Cf=!0);function r(i){var o,a;let{method:s,args:l,startTime:c,isForeground:d,errMsg:u=`${s}:fail no errMsg`,errNo:p=0,__timing:f={receiveJSInvoke:0,invokeCallback:0}}=i,{receiveJSInvoke:m,invokeCallback:v}=f,y=(a=(o=u.match(/\S:(\S+)\s?/))==null?void 0:o[1])!=null?a:"fail";Gs.report({status:y,method:n(s,l),errNo:`${p}`,errMsg:u,isForeground:d,duration:Date.now()-c}),c&&m&&v&&(Ws.report({status:y,method:s,isForeground:d,duration:Number((m-c).toFixed(3))}),Ks.report({status:y,method:s,isForeground:d,duration:Number((Date.now()-v).toFixed(3))}))}function n(i,o){return(i==="callHostMethod"||i==="callHostMethodSync")&&o!=null&&o.method?`${i}-${o.method}`:i}return r}function Rk(e,t){let r=0,n=!0,i=Ck.resolveMap,o=kk(e,t);t("onJoliboxEnterBackground",()=>{n=!1}),t("onJoliboxEnterForeground",()=>{n=!0,Ys.forEach(l=>so(this,[l],function*({method:c,args:d,resolve:u}){let p=yield s(c,d);u(p)})),Ys.length=0});let a=(l,c)=>{let d=i.get(Number(l));if(!d)return;let u=Qs(c);d(u),i.delete(Number(l))},s=(l,c)=>{var d,u;let p=Date.now(),f=`${n}`;r+=1;let m=new QA;if(i.set(r,m.resolve),!n&&xk.includes(l))return new Promise(k=>{Ys.push({method:l,args:c,resolve:k})});let v=BA(Dt({},{method:l,startTime:p,args:c,isForeground:f}),{invokeType:"js-bridge"}),y=!Tk&&Ek.includes(l),g=VA(c,y),_=y?g:JSON.stringify(g),w;if(l.endsWith("Sync")||Sk.includes(l)?w=(d=e.call)==null?void 0:d.call(e,l,g,r):typeof _=="string"?w=e.invoke(l,_,r):w=(u=e.call)==null?void 0:u.call(e,l,_,r),w){try{typeof w=="string"&&(w=JSON.parse(w)),w=Qs(w)}catch(k){co.error(k)}return i.delete(r),w.errorCode&&(w.errorCode=Pf(l,w.errorCode)),o(Dt(Dt({},v),w)),w}return l.endsWith("Sync")&&i.delete(r),m.promise.then(k=>(k.errorCode&&(k.errorCode=Pf(l,k.errorCode)),o(Dt(Dt({},v),k)),k))};return{invokeNative:s,applyNative:(l,c)=>{let d=s(l,c);return ek(d)?d.then(u=>Rf(l,u)):Rf(l,d)},invokeHandler:a}}function Rf(e,t){if(!Lr(t)){co.warn(`[Jolibox SDK]${e} no response value`);return}let r=t,{errMsg:n,errNo:i,errorType:o,errorCode:a}=r,s=JA(r,["errMsg","errNo","errorType","errorCode"]);if(n&&n!==`${e}:ok`)throw new ik(n,i,o,a);return s}function Ok(e){if(globalThis[io])return globalThis[io];let t=new rl,r=new rl,n=new oo({eventName:"jolibox_publish",tagNameOrder:["type","event"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}});return t.on("onJoliboxEnterBackground",()=>{n.flush()}),globalThis[io]={onNative:t.on.bind(t),offNative:t.off.bind(t),subscribe:r.on.bind(r),unsubscribe:r.off.bind(r),subscribeHandler(i,o,a){let s=Qs(o),l;if(s.__extra){l=s.params;let{type:c,startTime:d}=s.__extra;n.report({type:c,event:i,duration:Date.now()-d})}else l=s;if(i===$f){l.forEach(c=>{let[d,u]=c;try{r.emit(d.slice(Pn.length),u,a)}catch(p){}});return}if(i.startsWith(Pn)){r.emit(i.slice(Pn.length),l,a);return}t.emit(i,l,a)}},globalThis[io]}function Nk(e){let t=new Map,r;return(n,i,o,a)=>{if(a){let l=o?[o]:"*";e.publish(`${Pn}${n}`,i,l);return}r||(r=Promise.resolve().then(()=>{t.forEach((l,c)=>{try{let d=c?[c]:"*";e.publish($f,l,d)}catch(d){}}),r=void 0,t.clear()}));let s=t.get(o);s||(s=[],t.set(o,s)),s.push([`${Pn}${n}`,i])}}function Dk(e){let{subscribeHandler:t,onNative:r,offNative:n,subscribe:i,unsubscribe:o}=Ok(e),{invokeNative:a,invokeHandler:s,applyNative:l}=Rk(e,r),c=Nk(e);return{invokeHandler:s,subscribeHandler:t,applyNative:l,invokeNative:a,onNative:r,offNative:n,publish:c,subscribe:i,unsubscribe:o}}function Hf(e,t){return{params:e,__extra:{startTime:Date.now(),type:t}}}var MA,jA,UA,ao,Nf,Df,Sf,Dt,BA,JA,so,HA,zA,qf,GA,WA,Lf,KA,QA,tk,rk,lo,nk,ik,ok,zs,co,kf,ak,Xs,lk,Zs,ck,uk,dk,pk,zJ,el,te,hk,mk,Tn,Cn,rl,nl,vk,Vs,_k,VJ,il,Tf,GJ,Jf,Ik,Pn,Ek,xk,Sk,$f,Ak,oo,Cf,Gs,Ws,Ks,Ys,Tk,ol,Pk,Ck,io,al,nt,zf,Vf,qk,Gf,Of,he,F,He,WJ,Lk,Wf,KJ,YJ,Ae=T(()=>{"use strict";MA=Object.defineProperty,jA=Object.defineProperties,UA=Object.getOwnPropertyDescriptors,ao=Object.getOwnPropertySymbols,Nf=Object.prototype.hasOwnProperty,Df=Object.prototype.propertyIsEnumerable,Sf=(e,t,r)=>t in e?MA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dt=(e,t)=>{for(var r in t||(t={}))Nf.call(t,r)&&Sf(e,r,t[r]);if(ao)for(var r of ao(t))Df.call(t,r)&&Sf(e,r,t[r]);return e},BA=(e,t)=>jA(e,UA(t)),JA=(e,t)=>{var r={};for(var n in e)Nf.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ao)for(var n of ao(e))t.indexOf(n)<0&&Df.call(e,n)&&(r[n]=e[n]);return r},so=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});HA=e=>{let t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer};zA=e=>{let t="",r=new Uint8Array(e),n=r.byteLength;for(let i=0;i<n;i++)t+=String.fromCharCode(r[i]);return btoa(t)};qf=Object.defineProperty,GA=Object.getOwnPropertyDescriptor,WA=(e,t)=>{for(var r in t)qf(e,r,{get:t[r],enumerable:!0})},Lf=(e,t,r,n)=>{for(var i=n>1?void 0:n?GA(t,r):t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=(n?a(t,r,i):a(i))||i);return n&&i&&qf(t,r,i),i},KA=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}QA=class{constructor(){this.state="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.state==="pending"&&(this.state="fulfilled",e(r))},this.reject=r=>{this.state==="pending"&&(this.state="rejected",t(r))}})}};tk=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(tk||{}),rk=class extends Error{constructor(e){if(typeof e=="string"){super(e),this.priority="P1";return}super(e.message),this.priority="P1",this.stack=e.stack,this.raw=e}},lo=class extends rk{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},nk=class extends lo{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_NATIVE_ERROR"}},ik=class extends lo{constructor(e,t,r,n){super(e),this.errNo=t,this.name="INTERNAL_APPLY_NATIVE_ERROR",this.errorType=r,this.errorCode=n}},ok=class extends lo{constructor(){super(...arguments),this.name="INTERNAL_JSCORE_ERROR",this.priority="P0"}},zs=class extends lo{constructor(){super(...arguments),this.name="INTERNAL_METRIC_REPORT_ERROR"}};co={log:kn("log"),warn:kn("warn"),info:kn("info"),error:kn("error"),debug:kn("debug")};Object.assign(globalThis,{logger:co});kf=Symbol.for("Jolibox.canIUseMap"),ak={};globalThis[kf]||(globalThis[kf]=ak);Xs=Symbol.for("Jolibox.canIUseMap.native"),lk={};globalThis[Xs]||(globalThis[Xs]=lk);Zs={get config(){return globalThis[Xs]}},ck=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(ck||{}),uk=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(uk||{}),dk=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(dk||{});fk();pk=()=>!!(navigator.userAgent||"").includes("JoliboxPlatformSDK"),zJ={isiOS:navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),iosVersion:()=>{let e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)]},isAndroid:navigator.userAgent.includes("Android"),isMac:navigator.userAgent.includes("Mac"),isFacebook:navigator.userAgent.includes("FB_IAB"),isPC:!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},el=class tl{constructor(t){this.element=t,this.next=tl.Undefined,this.prev=tl.Undefined}};el.Undefined=new el(void 0);te=el,hk=class{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){let e=this._first;for(;e!==te.Undefined;){let t=e.next;e.prev=te.Undefined,e.next=te.Undefined,e=t}this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new te(e);if(this._first===te.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==te.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==te.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==te.Undefined&&e.next!==te.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===te.Undefined&&e.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):e.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):e.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==te.Undefined;)yield e.element,e=e.next}},mk=0,Tn=class{constructor(e){this.value=e,this.id=mk++}},Cn=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof Tn&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){var e;return(e=this._event)!=null||(this._event=(t,r)=>{var n,i,o,a,s,l;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};r&&(t=t.bind(r));let c=new Tn(t);return this._listeners?this._listeners instanceof Tn?this._listeners=[this._listeners,c]:this._listeners.push(c):((i=(n=this.options)==null?void 0:n.onWillAddFirstListener)==null||i.call(n,this),this._listeners=c,(a=(o=this.options)==null?void 0:o.onDidFirstListener)==null||a.call(o,this)),(l=(s=this.options)==null?void 0:s.onDidAddListener)==null||l.call(s,this),this._size++,()=>{var d,u,p,f;if(!this._disposed){if(this._listeners instanceof Tn)this._listeners.id===c.id&&(this._listeners=void 0,this._size=0,(u=(d=this.options)==null?void 0:d.onDidRemoveLastListener)==null||u.call(d));else if(this._listeners){let m=this._listeners.indexOf(c);m>=0&&(this._listeners.splice(m,1),this._size--,this._size===0&&((f=(p=this.options)==null?void 0:p.onDidRemoveLastListener)==null||f.call(p)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof Tn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},rl=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t,r=!0){var n;let i=(n=this.listeners.get(e))!=null?n:new Cn,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e,...t){let r=this.listeners.get(e),n=this.cachedEventQueue.get(e);n||(n=new hk,this.cachedEventQueue.set(e,n)),n.push({args:t}),r&&r.fire({event:e,args:t})}once(e,t){let r=(...n)=>{t(...n),this.off(e,r)};this.on(e,r,!1)}},nl={};WA(nl,{None:()=>vk,filter:()=>yk,once:()=>Uf,toPromise:()=>gk});vk=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Vs=Symbol.for("Jolibox.hostEmitter"),_k=()=>{let e=new rl;return globalThis[Vs]||(globalThis[Vs]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Vs]},VJ=_k();il=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Cn,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(...i){return bk(i,r),n(...i)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};il=Lf([jf],il);Tf=class{constructor(){this._onWillExecuteCommand=new Cn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Cn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new il,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=YA(3e4)),this._starActivation}executeCommand(e,...t){return KA(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),nl.toPromise(nl.filter(this.registry.onDidRegisterCommand,r=>r===e))])]),this._tryExecuteCommand(e,t))})}executeCommandThowErr(e,...t){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let r=this.registry.getCommand(e);this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),n}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e,...t){let r=!1;try{return e(...t)}finally{r=!0}}};Tf=Lf([jf],Tf);GJ=Symbol.for("Jolibox.commands");Bf("requestPaymentSync",{version:1e6,properties:{paymentBody:{appStoreProductId:102e4}}});Bf("requestProductDetailsAsync",{version:102e4});Jf=e=>{function t(n){let[i,...o]=n.split(":");if(!i)return!1;let a=Zs.config[i];if(!a)return!1;let s=a.version;if(typeof s!="number")return!1;let l=e();return typeof l!="number"||l<s?!1:o.length===0?!0:r(a,o,l)||r(a.properties,o,l)}function r(n,i,o){if(!n)return!1;let a=sk(n,i);if(!a)return!1;if(Lr(a)){let s=a.version;return Af(s)?typeof o=="number"&&o>=s:!0}return Af(a)?typeof o=="number"&&o>=a:a===!0}return{canIUseNative:t}};Ik=()=>pk(),Pn="custom_event_",Ek=[],xk=[],Sk=["env","createRequestTask","login"],$f="__batch_event__",Ak=e=>e==="pv"?e:"default",oo=class{constructor(e){this.interval=30,this.lastReportTime=0,this.cache={};let{reporter:t,interval:r=30,eventName:n,tagNameOrder:i,metricName:o,type:a}=e;this.reporter=t,this.interval=r,this.eventName=n,this.tagNameOrder=i,this.metricName=o,this.type=Ak(a)}report(e){this.type==="pv"?this.addPVPoint(e):this.addPoint(e),this.tryReport(!1)}flush(){this.tryReport(!0)}tryReport(e){if(Object.keys(this.cache).length){if(e){this.reporter(this.processPoints(this.cache)),this.clearPoints();return}this.lastReportTime=this.lastReportTime||Date.now(),Date.now()-this.lastReportTime>=this.interval*1e3&&(this.reporter(this.processPoints(this.cache)),this.clearPoints(),this.lastReportTime=Date.now())}}addPoint(e){let t=(r,n,i,o)=>{let a=n.shift();if(a){let s=o[a];r[s]||(r[s]={}),t(r[s],n,i,o)}else r[i]||(r[i]=[]),r[i].push(o[i])};t(this.cache,[...this.tagNameOrder],this.metricName,e)}addPVPoint(e){let t=(n,i,o,a)=>{let s=i.shift();if(!s&&Lr(a))throw new zs(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);if(s){let l=[];if(Lr(a))l.push(...Object.keys(a));else if(Ff(a)){if(i.length>0)throw new zs(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);l.push(a)}else throw new zs(`expected metric value to be a string, but got a(n) ${typeof a}, ${JSON.stringify(r)}`);l.forEach(c=>{n[c]||(n[c]={});let d=Lr(a)?a[c]:a;t(n[c],[...i],o,d)})}else n[o]?n[o]++:n[o]=1},r={point:e,metricName:this.metricName,tagNameOrder:this.tagNameOrder};t(this.cache,[...this.tagNameOrder],this.metricName,e)}processPoints(e){return{eventName:this.eventName,tagNameOrder:this.tagNameOrder,metricName:this.metricName,metricAggregateType:this.type==="pv"?"itoa":"arr",data:e}}clearPoints(){this.cache={}}},Cf=!1;Ys=[],Tk=!1,ol=Symbol.for("Jolibox.invokeResolverInstance"),Pk=new Map;globalThis[ol]||(globalThis[ol]=Pk);Ck={get resolveMap(){return globalThis[ol]}};io=Symbol.for("Jolibox.subscribeInstance");nt={trigger(){},exit(){return Promise.resolve(!1)},backPress(){return Promise.resolve(!1)},onReady(e){nt.trigger=e},onDoExit(e){nt.exit=e},onDoBackPress(e){nt.backPress=e}},zf=e=>{let t=window.prompt("invoke",JSON.stringify({event:"envSync",paramsString:JSON.stringify({})}));if(!t)e.onError(new nk("native env failed"));else{let{data:r}=JSON.parse(t);return r!=null?r:void 0}};if(window.webkit){let e=window.webkit.messageHandlers,t=(i="")=>{nt.trigger(),e.onDocumentReady.postMessage({path:i})},r=i=>so(void 0,null,function*(){let o=yield nt.exit();e.doExit.postMessage({uuid:i,shouldInterrupt:o})});al={onDocumentReady:t,doExit:r,invoke(i,o,a){e.invoke.postMessage({event:i,paramsString:o,callbackId:a})},publish(i,o,a){let s=Hf(o,"joliboxJSCore");window.prompt("publish",JSON.stringify({event:i,paramsString:JSON.stringify(s),webviewIds:a}))},call(i,o,a){let s=window.prompt("invoke",JSON.stringify({event:i,paramsString:JSON.stringify(o),callbackId:a}));if(s)return JSON.parse(s)}};let n={onDocumentReady:t,env:zf,doExit:r};globalThis.joliboxJSCore=Dt({},n)}if(window.JoliAndroidSDKBridge){let e,t=window.JoliAndroidSDKBridge,r=(o="")=>{nt.trigger(),t.onDocumentReady(JSON.stringify({path:o}))},n=o=>so(void 0,null,function*(){let a=yield nt.exit();t.doExit(JSON.stringify({uuid:o,shouldInterrupt:a}))});al={onDocumentReady:r,invoke(o,a,s){t.invoke(JSON.stringify({event:o,paramsString:a,callbackId:s}))},doExit:n,publish(o,a,s){let l=Hf(a,"joliboxJSCore");t.publish({event:o,paramsString:JSON.stringify(l),webviewIds:s})},call(o,a,s){let l=window.prompt("invoke",JSON.stringify({event:o,paramsString:JSON.stringify(a),callbackId:s}));if(l)return JSON.parse(l)},doBackPress(o){return so(this,null,function*(){let a=yield nt.backPress();t.doBackPress(JSON.stringify({uuid:o,shouldInterrupt:a}))})}};let i={onDocumentReady:r,env:zf,doExit:n};globalThis.joliboxJSCore=Dt({},i)}Vf=al;if(!Vf&&Ik())throw new ok("No joliboxJScore is found, native bridge not found.");qk=Dt({},Vf),Gf=Dk(qk),{invokeHandler:Of}=Gf,{applyNative:he,invokeNative:F,onNative:He,offNative:WJ,subscribeHandler:Lk,publish:Wf,subscribe:KJ,unsubscribe:YJ}=Gf;globalThis.joliboxJSBridge={callHandler:Of,invokeHandler:Of,subscribeHandler:Lk}});function $k(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Dn(e){return typeof e=="string"}function gr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function ep(e){return typeof e=="object"&&Array.isArray(e)}function tp(e){return typeof e=="number"&&!isNaN(e)}function qn(e){return e===!0||e===!1}function rp(e){return typeof e=="undefined"}function hl(e){return rp(e)||e===null}function Hk(e){return typeof e=="function"}function np(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function ip(e,t,r){if(typeof r!="function")throw new Error("[Jolibox SDK]Customizer must be a function");function n(i,o){for(let a in o)if(Object.prototype.hasOwnProperty.call(o,a)){let s=i[a],l=o[a],c=r(s,l,a,i,o);c!==void 0?i[a]=c:Qf(l)&&Qf(s)?i[a]=n(Uk({},s),l):Array.isArray(l)&&Array.isArray(s)?i[a]=[...s,...l]:i[a]=l}return i}return n(e,t)}function Qf(e){return e&&typeof e=="object"&&e.constructor===Object}function op(e,t){if(Array.isArray(e))return e.concat(t)}function Ln(e,t,r={}){let n=null,i,o,a,{leading:s=!1,trailing:l=!0}=r,c=()=>(a=e.apply(o,i),i=void 0,o=void 0,a),d=function(...u){i=u,o=this;let p=s&&!n;if(n&&clearTimeout(n),n=setTimeout(()=>{n=null,l&&!p&&c()},t),p)return c()};return d.cancel=()=>{n&&clearTimeout(n),n=null,i=o=void 0},d.flush=()=>{if(n)return clearTimeout(n),n=null,c()},d}function Vk(e,t){return(...r)=>t(e,...r)}function po(e){return t=>Vk(t,function(r,...n){if(typeof r=="function")try{return r.apply(this,n)}catch(i){e(new Fr(`${i}`))}})}function Rn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function bl(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function r1(e){return new Promise(t=>hp(e)(t))}function hp(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function n1(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Nn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function o1(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)a1(e[n],t[n])}function a1(e,t){if(Dn(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Hk(t)){try{if(e instanceof t)return}catch(r){}if(!hl(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function s1(){return typeof globalThis!="undefined"?globalThis[mp]:void 0}function l1(e){typeof globalThis!="undefined"&&(globalThis[mp]=e)}function me(){let e=s1();if(e)return e;let t=new uo,r=new fl,n={registerCommand(i,o,a){t.registerCommand({id:i,handler:o,metadata:a})},executeCommand(i,...o){return r.executeCommand(i,...o)},excuteCommandSync(i,...o){return r.executeCommandThowErr(i,...o)}};return l1(n),n}var pl,Fk,Kf,Mk,jk,Yf,Uk,Bk,Zf,Jk,yt,zk,ml,fo,vl,ap,Fr,sp,lp,cp,up,Fn,gl,_t,ll,Gk,yl,Xf,Wk,Kk,_l,Yk,ho,Mn,Qk,Xk,dp,fp,pp,cl,re,Zk,e1,On,Nn,bt,dl,t1,sl,i1,we,uo,fl,mp,D=T(()=>{"use strict";pl=Object.defineProperty,Fk=Object.getOwnPropertyDescriptor,Kf=Object.getOwnPropertySymbols,Mk=Object.prototype.hasOwnProperty,jk=Object.prototype.propertyIsEnumerable,Yf=(e,t,r)=>t in e?pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Uk=(e,t)=>{for(var r in t||(t={}))Mk.call(t,r)&&Yf(e,r,t[r]);if(Kf)for(var r of Kf(t))jk.call(t,r)&&Yf(e,r,t[r]);return e},Bk=(e,t)=>{for(var r in t)pl(e,r,{get:t[r],enumerable:!0})},Zf=(e,t,r,n)=>{for(var i=n>1?void 0:n?Fk(t,r):t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=(n?a(t,r,i):a(i))||i);return n&&i&&pl(t,r,i),i},Jk=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}yt=class{constructor(){this.state="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.state==="pending"&&(this.state="fulfilled",e(r))},this.reject=r=>{this.state==="pending"&&(this.state="rejected",t(r))}})}};zk=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(zk||{}),ml=class extends Error{constructor(e){if(typeof e=="string"){super(e),this.priority="P1";return}super(e.message),this.priority="P1",this.stack=e.stack,this.raw=e}},fo=class extends ml{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},vl=class extends ml{constructor(){super(...arguments),this.kind="USER_ERROR"}},ap=class extends vl{constructor(){super(...arguments),this.name="USER_VALIDATE_ERROR"}},Fr=class extends vl{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="USER_CUSTOM_ERROR",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},sp=class extends vl{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="USER_PAYMENT_ERROR",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},lp=class extends fo{constructor(){super(...arguments),this.name="INTERNAL_SCHEMA_PARSE_ERROR",this.priority="P0"}},cp=class extends fo{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="INTERNAL_PAYMENT_ERROR",this.priority="P0",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},up=class extends fo{constructor(){super(...arguments),this.name="INTERNAL_GLOBAL_JS_ERROR",this.priority="P1"}},Fn=class extends ml{constructor(e,t,r,n,i){super(e),this.message=e,this.code=t,this.kind="API_ERROR",this.name="API_ERROR",r&&(this.errorType=r),n!==void 0&&(this.stack=n),i&&(this.priority=i)}toJSON(){return{message:this.message,stack:this.stack,name:this.name,code:this.code,errorType:this.errorType}}},gl=class extends fo{constructor(){super(...arguments),this.name="INTERNAL_REPORTER_ERROR"}};_t={log:Rn("log"),warn:Rn("warn"),info:Rn("info"),error:Rn("error"),debug:Rn("debug")};Object.assign(globalThis,{logger:_t});ll=Symbol.for("Jolibox.canIUseMap"),Gk={};globalThis[ll]||(globalThis[ll]=Gk);yl={get config(){return globalThis[ll]}},Xf=Symbol.for("Jolibox.canIUseMap.native"),Wk={};globalThis[Xf]||(globalThis[Xf]=Wk);Kk=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(Kk||{}),_l=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(_l||{}),Yk=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(Yk||{}),ho=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)});bl();Mn={isiOS:navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),iosVersion:()=>{let e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)]},isAndroid:navigator.userAgent.includes("Android"),isMac:navigator.userAgent.includes("Mac"),isFacebook:navigator.userAgent.includes("FB_IAB"),isPC:!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},Qk="device_id",Xk="advertising_id",dp=e=>(window.__joliboxLocalStorage__.getItem(e)||window.__joliboxLocalStorage__.setItem(e,ho()),window.__joliboxLocalStorage__.getItem(e)),fp=()=>new URLSearchParams(window.location.search).get("deviceId")||dp(Qk),pp=()=>new URLSearchParams(window.location.search).get("advertisingId")||dp(Xk),cl=class ul{constructor(t){this.element=t,this.next=ul.Undefined,this.prev=ul.Undefined}};cl.Undefined=new cl(void 0);re=cl,Zk=class{constructor(){this._first=re.Undefined,this._last=re.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===re.Undefined}clear(){let e=this._first;for(;e!==re.Undefined;){let t=e.next;e.prev=re.Undefined,e.next=re.Undefined,e=t}this._first=re.Undefined,this._last=re.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new re(e);if(this._first===re.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==re.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==re.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==re.Undefined&&e.next!==re.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===re.Undefined&&e.next===re.Undefined?(this._first=re.Undefined,this._last=re.Undefined):e.next===re.Undefined?(this._last=this._last.prev,this._last.next=re.Undefined):e.prev===re.Undefined&&(this._first=this._first.next,this._first.prev=re.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==re.Undefined;)yield e.element,e=e.next}},e1=0,On=class{constructor(e){this.value=e,this.id=e1++}},Nn=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof On&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){var e;return(e=this._event)!=null||(this._event=(t,r)=>{var n,i,o,a,s,l;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};r&&(t=t.bind(r));let c=new On(t);return this._listeners?this._listeners instanceof On?this._listeners=[this._listeners,c]:this._listeners.push(c):((i=(n=this.options)==null?void 0:n.onWillAddFirstListener)==null||i.call(n,this),this._listeners=c,(a=(o=this.options)==null?void 0:o.onDidFirstListener)==null||a.call(o,this)),(l=(s=this.options)==null?void 0:s.onDidAddListener)==null||l.call(s,this),this._size++,()=>{var d,u,p,f;if(!this._disposed){if(this._listeners instanceof On)this._listeners.id===c.id&&(this._listeners=void 0,this._size=0,(u=(d=this.options)==null?void 0:d.onDidRemoveLastListener)==null||u.call(d));else if(this._listeners){let m=this._listeners.indexOf(c);m>=0&&(this._listeners.splice(m,1),this._size--,this._size===0&&((f=(p=this.options)==null?void 0:p.onDidRemoveLastListener)==null||f.call(p)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof On?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},bt=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t,r=!0){var n;let i=(n=this.listeners.get(e))!=null?n:new Nn,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e,...t){let r=this.listeners.get(e),n=this.cachedEventQueue.get(e);n||(n=new Zk,this.cachedEventQueue.set(e,n)),n.push({args:t}),r&&r.fire({event:e,args:t})}once(e,t){let r=(...n)=>{t(...n),this.off(e,r)};this.on(e,r,!1)}},dl={};Bk(dl,{None:()=>t1,filter:()=>n1,once:()=>hp,toPromise:()=>r1});t1=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});sl=Symbol.for("Jolibox.hostEmitter"),i1=()=>{let e=new bt;return globalThis[sl]||(globalThis[sl]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[sl]},we=i1();uo=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Nn,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(...i){return o1(i,r),n(...i)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};uo=Zf([np],uo);fl=class{constructor(){this._onWillExecuteCommand=new Nn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Nn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new uo,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=$k(3e4)),this._starActivation}executeCommand(e,...t){return Jk(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),dl.toPromise(dl.filter(this.registry.onDidRegisterCommand,r=>r===e))])]),this._tryExecuteCommand(e,t))})}executeCommandThowErr(e,...t){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let r=this.registry.getCommand(e);this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),n}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e,...t){let r=!1;try{return e(...t)}finally{r=!0}}};fl=Zf([np],fl);mp=Symbol.for("Jolibox.commands")});function ke(e,t={}){wl.emit("ERROR_REPORT",{error:e,options:t})}var wl,yr,st=T(()=>{"use strict";D();D();wl=new bt,yr=new bt;ke.debounce=Ln(ke,50,{leading:!0})});var Il,c1,vp,gp,yp=T(()=>{"use strict";D();st();Il=e=>{let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.length%4===0?"":"=".repeat(4-t.length%4),n=atob(t+r);try{return JSON.parse(n)}catch(i){return{}}},c1=e=>{let t=JSON.stringify(e);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},vp=e=>{var t;try{let i=(t=new URL(e).searchParams.get("joliSource"))==null?void 0:t.split(".");if(i!=null&&i.length){let[o,a,s]=i;return{headerJson:Il(o),payloadJson:Il(a),signature:Il(s)}}else throw"joli_source is missing"}catch(r){return ke(new lp(`${e} not a valid schema: ${r}`)),{headerJson:{},payloadJson:{},signature:{}}}},gp=(e,t)=>{let r=t.split(".");if(r&&r.length===3){let n=r[0],i=c1(e),o=r[2];return`${n}.${i}.${o}`}return t}});var u1,El,_p=T(()=>{"use strict";D();u1="1.1.31",El=()=>u1});function f1(e,t){return(document==null?void 0:document.head.querySelector(`meta[name="${e}"][content="${t}"]`))!==null}var d1,bp,xl,wp,le,p1,x,Q=T(()=>{"use strict";D();yp();_p();D();d1={deviceInfo:{brand:"UnknownBrand",model:"UnknownModel",did:fp(),adId:pp(),pixelRatio:window.devicePixelRatio||1,platform:Mn.isAndroid?"android":Mn.isiOS?"ios":"h5",system:"UnknownSystemVersion",lang:"zh"},sdkInfo:{nativeSDKVersion:"",jssdkVersion:El()},schema:window.location.href,platform:Mn.isAndroid?"android":Mn.isiOS?"ios":"h5"},xl=(bp=globalThis.joliboxJSCore)==null?void 0:bp.env,le=Object.assign({},(wp=xl==null?void 0:xl())!=null?wp:d1);p1=()=>{var f,m,v,y,g,_,w,k,R,C,E;let{payloadJson:e,headerJson:t,signature:r}=le.schema.length?vp(le.schema):{},n=`${le.deviceInfo.did}-${new Date().getTime()}`,o=new URL(le.schema.length?le.schema:window.location.href).searchParams,a=(v=(m=(f=o.get("mpId"))!=null?f:o.get("appId"))!=null?m:o.get("gameId"))!=null?v:"",s=(_=(g=(y=le.clientSessionId)!=null?y:e==null?void 0:e.sessionId)!=null?g:o.get("sessionId"))!=null?_:n,l=!!((k=(w=e==null?void 0:e.testAdsMode)!=null?w:e==null?void 0:e.__testAdsMode)!=null?k:o.get("testAdsMode")==="true"),c=(E=(C=(R=e==null?void 0:e.joliboxEnv)!=null?R:e==null?void 0:e.__joliboxEnv)!=null?C:o.get("joliboxEnv"))!=null?E:"production",d=c==="staging",u=t==null?void 0:t.channel,p=e==null?void 0:e.__shouldInterupt;return{get testMode(){return d},get testAdsMode(){return l},get joliboxEnv(){return c},get joliSource(){var A;return(A=o.get("joliSource"))!=null?A:null},get mpId(){var A;return(A=a!=null?a:e==null?void 0:e.id)!=null?A:""},get mpVersion(){var A;return(A=t==null?void 0:t.ver)!=null?A:El()},get mpType(){var A,H;return(H=(A=t==null?void 0:t.__mpType)!=null?A:e==null?void 0:e.__mpType)!=null?H:"game"},get platform(){var A;return((A=le.platform)!=null?A:le.deviceInfo.platform).toLowerCase()},get deviceInfo(){return le.deviceInfo},get sdkInfo(){return le.sdkInfo},get hostInfo(){return le.hostInfo},get hostUserInfo(){return le.hostUserInfo},get sessionId(){var A,H;return(H=(A=le.clientSessionId)!=null?A:s)!=null?H:n},get channel(){return u},get webviewId(){var A;return(A=le.webviewId)!=null?A:-1},get shouldInterupt(){return p},get from(){return e==null?void 0:e.__from},get baseApiHost(){return d?"https://stg-api.jolibox.com":"https://api.jolibox.com"},get adId(){var A;return(A=le.deviceInfo.adId)!=null?A:le.deviceInfo.did},get language(){return le.deviceInfo.lang},get sdkEnvironment(){return f1("dlightek","jolibox")?"dlightek":"jolibox"},get viewport(){var Be,mt,vt;let A=(Be=le.deviceInfo.pixelRatio)!=null?Be:1,H=(mt=le.deviceInfo.statusBarHeight)!=null?mt:e==null?void 0:e.__androidStatusBarHeight,Ue=(vt=le.deviceInfo.navigationBarHeight)!=null?vt:e==null?void 0:e.__androidNavigationBarHeight;return{statusBarHeight:H!==void 0?H/A:20,navigationBarHeight:Ue!==void 0?Ue/A:10}},onEnvConfigChanged:A=>{ip(le,A,op)},encodeJoliSourceQuery:A=>{var H,Ue;return t&&r?gp(P(P({},e),A),(H=o.get("joliSource"))!=null?H:""):(Ue=o.get("joliSource"))!=null?Ue:""},setDoExitDirectly:()=>{p=!1}}},x=p1()});var Sl,Ep,h1,m1,Ip,v1,xp=T(()=>{"use strict";D();st();Q();D();Sl=!1,Ep=(e,t)=>e==null?!1:t in e,h1=e=>Ep(e,"kind"),m1=e=>{let t=e.toLowerCase().split("_");return t[0]+t.slice(1).map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join("")},Ip=(e,t={},r)=>{var o,a,s;let n={user_id:(a=(o=x.hostUserInfo)==null?void 0:o.uid)!=null?a:"",device_id:(s=x.deviceInfo.did)!=null?s:"",timestamp:Date.now(),tag:m1(e.name)},i=L(P({},n),{env:t.environment,isFromUser:r});r?yr.emit("GLOBAL_USER_ERROR",e,i):yr.emit("GLOBAL_ERROR",e,i)},v1=e=>Ep(e,"kind")&&e.kind==="USER_ERROR";wl.on("ERROR_REPORT",({error:e,options:t})=>{if(Sl)return;Sl=!0;let r=h1(e)&&e.raw?e.raw:e;try{let n=v1(e);Ip(e,t,n)}catch(n){let i=n instanceof Error?n.message:String(n),o=new gl(`${i}, origin error: ${r.message}`);_t.error(o),Ip(new gl(o.message),{environment:t.environment},!1)}finally{Sl=!1}})});var er,Al,Mr=T(()=>{"use strict";st();D();st();er=(e,t)=>{var r,n;return new Fn((n=(r=t==null?void 0:t.errMsg)!=null?r:e.msg)!=null?n:"",e.code,e.type)},Al=e=>new ap(e)});var Sp=T(()=>{"use strict";xp();Mr();D();Ae();yr.on("GLOBAL_ERROR",(e,t)=>{var n;let r={message:e.message,stack:(n=e.stack)!=null?n:"",errorType:e.name,source:0};F("trackAsync",{event:"reportJsError",data:r})});yr.on("GLOBAL_USER_ERROR",(e,t)=>{_t.log("UserError",e,t)})});var kl=T(()=>{"use strict"});function Ap(e,t){let r=(n,i,o)=>{let a=L(P({tag:n},t),{extra:P({},i)});n=="globalJsError"?ke(new up(JSON.stringify(a))):e("systemLog",a,o)};return r.debounce=Ln(r,500,{leading:!0}),r}function kp(e){let t=(r,n,i)=>{var s;let o=(s=i&&JSON.stringify(i))!=null?s:0,a={speed_value_type:r,total_duration:n};o&&Object.assign(a,{extra:o}),e("joliboxSpeedAnalysis",a)};return t.debounce=Ln(t,500,{leading:!0}),t}var Tp=T(()=>{"use strict";D();D();st()});function Pp(e,t){let r=Ap(e,t),n=kp(r);return{track:r,trackPerformance:n}}var Cp=T(()=>{"use strict";Tp()});var Rp=T(()=>{"use strict";Q();D();D()});var Op=T(()=>{"use strict";Cp();kl();Rp()});var mo,Np=T(()=>{"use strict";mo=class{constructor(t,r){this.eventEmitter=t;this.lastReportTime=0;this.visible=!0;this.timer=this.createRAFTimer(t=>{this.reporter({event:"PLAY_GAME",params:{duration:t}}),this.tracker("PlayGame",{duration:t})});this.interval=r!=null?r:5*1e3,t.on("visible",n=>{this.visible=n})}start(t){this.reporter({event:"OPEN_GAME",params:{timestamp:Date.now(),duration:t!=null?t:0}}),this.tracker("OpenGame",{duration:t!=null?t:0}),this.timer.start()}close(t){this.reporter({event:"CLOSE_GAME",params:{timestamp:Date.now(),duration:t}}),this.tracker("CloseGame",{duration:t}),this.timer.stop()}createRAFTimer(t){let r=Date.now(),n,i,o=!1,a=0,s=()=>{if(!o)return;let f=Date.now(),m=f-r;m>=this.interval&&(this.visible&&(a+=Math.min(m,this.interval+1e3),t(a)),r=f),n=requestAnimationFrame(s)},l=()=>{d(),r=Date.now(),i=window.setInterval(()=>{if(!o)return;let f=Date.now();f-r>=this.interval&&(r=f)},this.interval)},c=()=>{u(),r=Date.now(),n=requestAnimationFrame(s)},d=()=>{n&&(cancelAnimationFrame(n),n=0)},u=()=>{i&&(clearInterval(i),i=0)};this.eventEmitter.on("visible",f=>{o&&(console.log("visible",f),f?c():l())});let p=this.visible;return{start(){o||(o=!0,p?c():l())},stop(){o=!1,d(),u()}}}}});function vo(e,t,r){var l,c,d;let n=new Map,i=(l=r==null?void 0:r.baseUrl)!=null?l:"https://api.jolibox.com",o=(c=r==null?void 0:r.type)!=null?c:"public",a=(d=r==null?void 0:r.defaultHeaders)!=null?d:{};return He("onRequestTaskStateChange",u=>{if(typeof u.requestTaskId!="string")return;let p=n.get(u.requestTaskId);if(p)if(u.state==="success"){let f=u,{requestTaskId:v,state:y}=f,g=gt(f,["requestTaskId","state"]);u.statusCode===200?p.resolve(g):p.reject(g),n.delete(v)}else if(u.state==="fail"){let m=u,{requestTaskId:v,state:y}=m,g=gt(m,["requestTaskId","state"]);p.reject(g),n.delete(v)}else _t.warn("onRequestTaskStateChange unknown event",u)}),we.on("onLoginComplete",({isLogin:u,token:p})=>{u&&p&&(a["X-JOLI-TOKEN"]=p)}),(f,...m)=>I(this,[f,...m],function*(u,p={}){let v=Date.now(),y=g1(u,L(P({},p),{baseUrl:i})),{method:g="GET",responseType:_="text",dataType:w="json",timeout:k,enableCache:R=!1,appendHostCookie:C=!0}=p,E=Object.assign({"content-type":"application/json"},a,p.header),A={url:y,method:g,header:E,enableCache:R,responseType:_,appendHostCookie:C};if(g=="POST"||g=="PUT"){let vt=_1(p.data,E["content-type"]);A.data=vt}k&&Object.assign(A,{timeout:k});let{data:{requestTaskId:H}}=F(e,A);if(typeof H!="string")throw er({code:-1,msg:"requestTaskId is not a string"});let{resolve:Ue,reject:Be,promise:mt}=new yt;n.set(H,{resolve:Ue,reject:Be});try{let vt=yield mt,{data:vr}=vt;return w==="json"&&typeof vr=="string"&&(vr=y1(vr)),{url:y,timeout:k,method:g,response:L(P({},vt),{data:vr})}}catch(vt){let vr=vt;if(gr(vr)){let{errMsg:$s,prefetchDetail:JJ,isPrefetch:$J,errNo:CA}=vr;Dn($s)&&ke(er({code:-1,msg:$s},{errNo:CA,errMsg:$s}))}throw vt}})}function y1(e){try{return JSON.parse(e.trim())}catch(t){return e}}function _1(e,t="application/json"){let r=t.toLowerCase();return e===void 0?"":typeof e=="string"||e instanceof ArrayBuffer?e:r.includes("application/x-www-form-urlencoded")||r.includes("application/json")||typeof e=="object"?JSON.stringify(e):String(e)}var g1,Tl=T(()=>{"use strict";D();Ae();st();Mr();g1=(e,t)=>{if(/^https?:\/\//.test(e))return e;let r=t==null?void 0:t.query,i=new URLSearchParams(r).toString();return t!=null&&t.baseUrl?`${t.baseUrl}${e}${i?`?${i}`:""}`:`${e}${i?`?${i}`:""}`}});var Pl,Dp,ne,wt=T(()=>{"use strict";Tl();Q();Pl={};(Dp=x.hostUserInfo)!=null&&Dp.token&&(Pl["x-joli-token"]=x.hostUserInfo.token);x.joliSource&&(Pl["x-joli-source"]=x.joliSource);ne=vo("createRequestTaskSync","operateRequestTaskSync",{type:"inner",baseUrl:x.testMode?"https://stg-api.jolibox.com":"https://api.jolibox.com",defaultHeaders:Pl})});var go,qp=T(()=>{"use strict";Q();Np();wt();Ae();go=class extends mo{constructor(t,r,n){super(r,n),this.gameId=x.mpId,this.sessionId=x.sessionId,this.track=t,this.taskUrl=x.testMode?"https://stg-api.jolibox.com/api/base/app-event":"https://api.jolibox.com/api/base/app-event"}reporter(t){return I(this,null,function*(){let{event:r,params:n}=t,i={eventType:r,gameInfo:P({gameId:this.gameId,sessionId:this.sessionId},n)};yield x.platform==="android"?ne("/api/base/app-event",{method:"POST",data:i}):he("trackAppEventAsync",{url:this.taskUrl,body:JSON.stringify(i)})})}reportToNative(t){return I(this,null,function*(){let{event:r,params:n}=t;yield he("userTrackAsync",{event:r,params:P({},n),gameId:this.gameId})})}tracker(t,r=null){this.track(t,r)}}});var Up={};xf(Up,{nativeTaskEmitter:()=>jn,taskTracker:()=>qt,track:()=>lt,trackPerformance:()=>Mp});var b1,Lp,Fp,lt,Mp,jp,jn,qt,_r=T(()=>{"use strict";Sp();D();kl();Op();Q();qp();Ae();b1=(e,t,r)=>{var a,s,l,c,d;let n=t,i=gr(n.extra)?n.extra:Dn(n.extra)?JSON.parse(n.extra):{},o=L(P({},i),{mp_id:(a=n.mp_id)!=null?a:"",mp_version:(s=n.mp_version)!=null?s:"",session_id:x.sessionId,user_id:(c=(l=x.hostUserInfo)==null?void 0:l.uid)!=null?c:""});F("trackAsync",{event:(d=t.tag)!=null?d:e,data:o,webviewId:r})},{track:lt,trackPerformance:Mp}=Pp(b1,{type:_l.AppSDK,platform:"native",jssdk_version:(Fp=(Lp=x.sdkInfo)==null?void 0:Lp.jssdkVersion)!=null?Fp:"1.0.0",mp_id:x.mpId,mp_version:x.mpVersion}),jp=me();jp.registerCommand("ReportSDK.traceSystemTimeline",({event:e,duration:t,extra:r})=>{Mp(e,t,r)});jp.registerCommand("ReportSDK.traceSystem",({event:e,info:t})=>{lt(e,t)});jn=new bt,qt=new go(lt,jn)});function Bp(){let e=null,t=null,r=window.fetch,n=()=>{t=document.createElement("meta"),t.setAttribute("name","viewport"),t.setAttribute("content","viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"),t.setAttribute("data-jolibox-sdk","viewport-meta"),e=document.createElement("style"),e.setAttribute("data-jolibox-sdk","default-styles");let s=`
1
+ var RA=Object.create;var ro=Object.defineProperty,OA=Object.defineProperties,NA=Object.getOwnPropertyDescriptor,DA=Object.getOwnPropertyDescriptors,qA=Object.getOwnPropertyNames,to=Object.getOwnPropertySymbols,LA=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty,If=Object.prototype.propertyIsEnumerable;var wf=(e,t,r)=>t in e?ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))Hs.call(t,r)&&wf(e,r,t[r]);if(to)for(var r of to(t))If.call(t,r)&&wf(e,r,t[r]);return e},L=(e,t)=>OA(e,DA(t));var vt=(e,t)=>{var r={};for(var n in e)Hs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&to)for(var n of to(e))t.indexOf(n)<0&&If.call(e,n)&&(r[n]=e[n]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ef=(e,t)=>{for(var r in t)ro(e,r,{get:t[r],enumerable:!0})},FA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qA(t))!Hs.call(e,i)&&i!==r&&ro(e,i,{get:()=>t[i],enumerable:!(n=NA(t,i))||n.enumerable});return e};var se=(e,t,r)=>(r=e!=null?RA(LA(e)):{},FA(t||!e||!e.__esModule?ro(r,"default",{value:e,enumerable:!0}):r,e));var I=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});function $A(e){return!!(e!=null&&e.__nativeBuffers__)}function Qs(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(r){return{}}if(typeof e!="object"||e===null)return{};if(!$A(e))return e;let t=e.__nativeBuffers__;if(delete e.__nativeBuffers__,t)for(let r=0;r<t.length;r++){let n=t[r];if(n){let i;n.value?i=n.value:n.base64&&(i=HA(n.base64)),typeof i!="undefined"&&i instanceof ArrayBuffer&&(e[n.key]=i)}}return e}function VA(e={},t=!1){let r=e,n=[];for(let[i,o]of Object.entries(r))if(o!==void 0&&o instanceof ArrayBuffer&&o.byteLength!==void 0){let a=t?{value:o,key:i}:{base64:zA(o),key:i};n.push(a),delete r[i]}return n.length>0&&(r.__nativeBuffers__=n),r}function YA(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Lf(e){return typeof e=="string"}function Dr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Sf(e){return typeof e=="number"&&!isNaN(e)}function XA(e){return typeof e=="undefined"}function ZA(e){return XA(e)||e===null}function Ff(e){return typeof e=="function"}function ek(e){return Dr(e)&&Ff(e.then)}function Mf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function An(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function sk(e,t,r){let n=e;for(let i of t)if(n&&typeof n=="object")n=n[i];else return r;return n===void 0?r:n}function fk(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function gk(e){return new Promise(t=>jf(e)(t))}function jf(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function yk(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Pn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function bk(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)wk(e[n],t[n])}function wk(e,t){if(Lf(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Ff(t)){try{if(e instanceof t)return}catch(r){}if(!ZA(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function Uf(e,t){if(Zs.config[e]){lo.warn(`[can i use] ${e} already registered`);return}Zs.config[e]=Dt({},t)}function Tf(e,t){return`[${e}]:${t}`}function kk(e,t){Pf||(Gs=new io({eventName:"jolibox_invoke",tagNameOrder:["status","method","errNo","errMsg","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),Ws=new io({eventName:"jolibox_invoke_js2native",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),Ks=new io({eventName:"jolibox_invoke_native2js",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),t("onJoliboxEnterBackground",()=>{Gs.flush(),Ws.flush(),Ks.flush()}),Pf=!0);function r(i){var o,a;let{method:s,args:l,startTime:c,isForeground:d,errMsg:u=`${s}:fail no errMsg`,errNo:p=0,__timing:f={receiveJSInvoke:0,invokeCallback:0}}=i,{receiveJSInvoke:m,invokeCallback:v}=f,y=(a=(o=u.match(/\S:(\S+)\s?/))==null?void 0:o[1])!=null?a:"fail";Gs.report({status:y,method:n(s,l),errNo:`${p}`,errMsg:u,isForeground:d,duration:Date.now()-c}),c&&m&&v&&(Ws.report({status:y,method:s,isForeground:d,duration:Number((m-c).toFixed(3))}),Ks.report({status:y,method:s,isForeground:d,duration:Number((Date.now()-v).toFixed(3))}))}function n(i,o){return(i==="callHostMethod"||i==="callHostMethodSync")&&o!=null&&o.method?`${i}-${o.method}`:i}return r}function Rk(e,t){let r=0,n=!0,i=Ck.resolveMap,o=kk(e,t);t("onJoliboxEnterBackground",()=>{n=!1}),t("onJoliboxEnterForeground",()=>{n=!0,Ys.forEach(l=>ao(this,[l],function*({method:c,args:d,resolve:u}){let p=yield s(c,d);u(p)})),Ys.length=0});let a=(l,c)=>{let d=i.get(Number(l));if(!d)return;let u=Qs(c);d(u),i.delete(Number(l))},s=(l,c)=>{var d,u;let p=Date.now(),f=`${n}`;r+=1;let m=new QA;if(i.set(r,m.resolve),!n&&xk.includes(l))return new Promise(k=>{Ys.push({method:l,args:c,resolve:k})});let v=BA(Dt({},{method:l,startTime:p,args:c,isForeground:f}),{invokeType:"js-bridge"}),y=!Tk&&Ek.includes(l),g=VA(c,y),_=y?g:JSON.stringify(g),w;if(l.endsWith("Sync")||Sk.includes(l)?w=(d=e.call)==null?void 0:d.call(e,l,g,r):typeof _=="string"?w=e.invoke(l,_,r):w=(u=e.call)==null?void 0:u.call(e,l,_,r),w){try{typeof w=="string"&&(w=JSON.parse(w)),w=Qs(w)}catch(k){lo.error(k)}return i.delete(r),w.errorCode&&(w.errorCode=Tf(l,w.errorCode)),o(Dt(Dt({},v),w)),w}return l.endsWith("Sync")&&i.delete(r),m.promise.then(k=>(k.errorCode&&(k.errorCode=Tf(l,k.errorCode)),o(Dt(Dt({},v),k)),k))};return{invokeNative:s,applyNative:(l,c)=>{let d=s(l,c);return ek(d)?d.then(u=>Cf(l,u)):Cf(l,d)},invokeHandler:a}}function Cf(e,t){if(!Dr(t)){lo.warn(`[Jolibox SDK]${e} no response value`);return}let r=t,{errMsg:n,errNo:i,errorType:o,errorCode:a}=r,s=JA(r,["errMsg","errNo","errorType","errorCode"]);if(n&&n!==`${e}:ok`)throw new ik(n,i,o,a);return s}function Ok(e){if(globalThis[no])return globalThis[no];let t=new rl,r=new rl,n=new io({eventName:"jolibox_publish",tagNameOrder:["type","event"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}});return t.on("onJoliboxEnterBackground",()=>{n.flush()}),globalThis[no]={onNative:t.on.bind(t),offNative:t.off.bind(t),subscribe:r.on.bind(r),unsubscribe:r.off.bind(r),subscribeHandler(i,o,a){let s=Qs(o),l;if(s.__extra){l=s.params;let{type:c,startTime:d}=s.__extra;n.report({type:c,event:i,duration:Date.now()-d})}else l=s;if(i===Jf){l.forEach(c=>{let[d,u]=c;try{r.emit(d.slice(Tn.length),u,a)}catch(p){}});return}if(i.startsWith(Tn)){r.emit(i.slice(Tn.length),l,a);return}t.emit(i,l,a)}},globalThis[no]}function Nk(e){let t=new Map,r;return(n,i,o,a)=>{if(a){let l=o?[o]:"*";e.publish(`${Tn}${n}`,i,l);return}r||(r=Promise.resolve().then(()=>{t.forEach((l,c)=>{try{let d=c?[c]:"*";e.publish(Jf,l,d)}catch(d){}}),r=void 0,t.clear()}));let s=t.get(o);s||(s=[],t.set(o,s)),s.push([`${Tn}${n}`,i])}}function Dk(e){let{subscribeHandler:t,onNative:r,offNative:n,subscribe:i,unsubscribe:o}=Ok(e),{invokeNative:a,invokeHandler:s,applyNative:l}=Rk(e,r),c=Nk(e);return{invokeHandler:s,subscribeHandler:t,applyNative:l,invokeNative:a,onNative:r,offNative:n,publish:c,subscribe:i,unsubscribe:o}}function $f(e,t){return{params:e,__extra:{startTime:Date.now(),type:t}}}var MA,jA,UA,oo,Of,Nf,xf,Dt,BA,JA,ao,HA,zA,Df,GA,WA,qf,KA,QA,tk,rk,so,nk,ik,ok,zs,lo,Af,ak,Xs,lk,Zs,ck,uk,dk,pk,HJ,el,ee,hk,mk,kn,Pn,rl,nl,vk,Vs,_k,zJ,il,kf,VJ,Bf,Ik,Tn,Ek,xk,Sk,Jf,Ak,io,Pf,Gs,Ws,Ks,Ys,Tk,ol,Pk,Ck,no,al,nt,Hf,zf,qk,Vf,Rf,pe,F,He,GJ,Lk,Gf,WJ,KJ,Ae=T(()=>{"use strict";MA=Object.defineProperty,jA=Object.defineProperties,UA=Object.getOwnPropertyDescriptors,oo=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,Nf=Object.prototype.propertyIsEnumerable,xf=(e,t,r)=>t in e?MA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dt=(e,t)=>{for(var r in t||(t={}))Of.call(t,r)&&xf(e,r,t[r]);if(oo)for(var r of oo(t))Nf.call(t,r)&&xf(e,r,t[r]);return e},BA=(e,t)=>jA(e,UA(t)),JA=(e,t)=>{var r={};for(var n in e)Of.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&oo)for(var n of oo(e))t.indexOf(n)<0&&Nf.call(e,n)&&(r[n]=e[n]);return r},ao=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});HA=e=>{let t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer};zA=e=>{let t="",r=new Uint8Array(e),n=r.byteLength;for(let i=0;i<n;i++)t+=String.fromCharCode(r[i]);return btoa(t)};Df=Object.defineProperty,GA=Object.getOwnPropertyDescriptor,WA=(e,t)=>{for(var r in t)Df(e,r,{get:t[r],enumerable:!0})},qf=(e,t,r,n)=>{for(var i=n>1?void 0:n?GA(t,r):t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=(n?a(t,r,i):a(i))||i);return n&&i&&Df(t,r,i),i},KA=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}QA=class{constructor(){this.state="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.state==="pending"&&(this.state="fulfilled",e(r))},this.reject=r=>{this.state==="pending"&&(this.state="rejected",t(r))}})}};tk=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(tk||{}),rk=class extends Error{constructor(e){if(typeof e=="string"){super(e),this.priority="P1";return}super(e.message),this.priority="P1",this.stack=e.stack,this.raw=e}},so=class extends rk{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},nk=class extends so{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_NATIVE_ERROR"}},ik=class extends so{constructor(e,t,r,n){super(e),this.errNo=t,this.name="INTERNAL_APPLY_NATIVE_ERROR",this.errorType=r,this.errorCode=n}},ok=class extends so{constructor(){super(...arguments),this.name="INTERNAL_JSCORE_ERROR",this.priority="P0"}},zs=class extends so{constructor(){super(...arguments),this.name="INTERNAL_METRIC_REPORT_ERROR"}};lo={log:An("log"),warn:An("warn"),info:An("info"),error:An("error"),debug:An("debug")};Object.assign(globalThis,{logger:lo});Af=Symbol.for("Jolibox.canIUseMap"),ak={};globalThis[Af]||(globalThis[Af]=ak);Xs=Symbol.for("Jolibox.canIUseMap.native"),lk={};globalThis[Xs]||(globalThis[Xs]=lk);Zs={get config(){return globalThis[Xs]}},ck=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(ck||{}),uk=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(uk||{}),dk=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(dk||{});fk();pk=()=>!!(navigator.userAgent||"").includes("JoliboxPlatformSDK"),HJ={isiOS:navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),iosVersion:()=>{let e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)]},isAndroid:navigator.userAgent.includes("Android"),isMac:navigator.userAgent.includes("Mac"),isFacebook:navigator.userAgent.includes("FB_IAB"),isPC:!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},el=class tl{constructor(t){this.element=t,this.next=tl.Undefined,this.prev=tl.Undefined}};el.Undefined=new el(void 0);ee=el,hk=class{constructor(){this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ee.Undefined}clear(){let e=this._first;for(;e!==ee.Undefined;){let t=e.next;e.prev=ee.Undefined,e.next=ee.Undefined,e=t}this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new ee(e);if(this._first===ee.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==ee.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ee.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ee.Undefined&&e.next!==ee.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ee.Undefined&&e.next===ee.Undefined?(this._first=ee.Undefined,this._last=ee.Undefined):e.next===ee.Undefined?(this._last=this._last.prev,this._last.next=ee.Undefined):e.prev===ee.Undefined&&(this._first=this._first.next,this._first.prev=ee.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ee.Undefined;)yield e.element,e=e.next}},mk=0,kn=class{constructor(e){this.value=e,this.id=mk++}},Pn=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof kn&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){var e;return(e=this._event)!=null||(this._event=(t,r)=>{var n,i,o,a,s,l;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};r&&(t=t.bind(r));let c=new kn(t);return this._listeners?this._listeners instanceof kn?this._listeners=[this._listeners,c]:this._listeners.push(c):((i=(n=this.options)==null?void 0:n.onWillAddFirstListener)==null||i.call(n,this),this._listeners=c,(a=(o=this.options)==null?void 0:o.onDidFirstListener)==null||a.call(o,this)),(l=(s=this.options)==null?void 0:s.onDidAddListener)==null||l.call(s,this),this._size++,()=>{var d,u,p,f;if(!this._disposed){if(this._listeners instanceof kn)this._listeners.id===c.id&&(this._listeners=void 0,this._size=0,(u=(d=this.options)==null?void 0:d.onDidRemoveLastListener)==null||u.call(d));else if(this._listeners){let m=this._listeners.indexOf(c);m>=0&&(this._listeners.splice(m,1),this._size--,this._size===0&&((f=(p=this.options)==null?void 0:p.onDidRemoveLastListener)==null||f.call(p)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof kn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},rl=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t,r=!0){var n;let i=(n=this.listeners.get(e))!=null?n:new Pn,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e,...t){let r=this.listeners.get(e),n=this.cachedEventQueue.get(e);n||(n=new hk,this.cachedEventQueue.set(e,n)),n.push({args:t}),r&&r.fire({event:e,args:t})}once(e,t){let r=(...n)=>{t(...n),this.off(e,r)};this.on(e,r,!1)}},nl={};WA(nl,{None:()=>vk,filter:()=>yk,once:()=>jf,toPromise:()=>gk});vk=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Vs=Symbol.for("Jolibox.hostEmitter"),_k=()=>{let e=new rl;return globalThis[Vs]||(globalThis[Vs]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Vs]},zJ=_k();il=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Pn,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(...i){return bk(i,r),n(...i)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};il=qf([Mf],il);kf=class{constructor(){this._onWillExecuteCommand=new Pn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Pn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new il,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=YA(3e4)),this._starActivation}executeCommand(e,...t){return KA(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),nl.toPromise(nl.filter(this.registry.onDidRegisterCommand,r=>r===e))])]),this._tryExecuteCommand(e,t))})}executeCommandThowErr(e,...t){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let r=this.registry.getCommand(e);this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),n}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e,...t){let r=!1;try{return e(...t)}finally{r=!0}}};kf=qf([Mf],kf);VJ=Symbol.for("Jolibox.commands");Uf("requestPaymentSync",{version:1e6,properties:{paymentBody:{appStoreProductId:102e4}}});Uf("requestProductDetailsAsync",{version:102e4});Bf=e=>{function t(n){let[i,...o]=n.split(":");if(!i)return!1;let a=Zs.config[i];if(!a)return!1;let s=a.version;if(typeof s!="number")return!1;let l=e();return typeof l!="number"||l<s?!1:o.length===0?!0:r(a,o,l)||r(a.properties,o,l)}function r(n,i,o){if(!n)return!1;let a=sk(n,i);if(!a)return!1;if(Dr(a)){let s=a.version;return Sf(s)?typeof o=="number"&&o>=s:!0}return Sf(a)?typeof o=="number"&&o>=a:a===!0}return{canIUseNative:t}};Ik=()=>pk(),Tn="custom_event_",Ek=[],xk=[],Sk=["env","createRequestTask","login"],Jf="__batch_event__",Ak=e=>e==="pv"?e:"default",io=class{constructor(e){this.interval=30,this.lastReportTime=0,this.cache={};let{reporter:t,interval:r=30,eventName:n,tagNameOrder:i,metricName:o,type:a}=e;this.reporter=t,this.interval=r,this.eventName=n,this.tagNameOrder=i,this.metricName=o,this.type=Ak(a)}report(e){this.type==="pv"?this.addPVPoint(e):this.addPoint(e),this.tryReport(!1)}flush(){this.tryReport(!0)}tryReport(e){if(Object.keys(this.cache).length){if(e){this.reporter(this.processPoints(this.cache)),this.clearPoints();return}this.lastReportTime=this.lastReportTime||Date.now(),Date.now()-this.lastReportTime>=this.interval*1e3&&(this.reporter(this.processPoints(this.cache)),this.clearPoints(),this.lastReportTime=Date.now())}}addPoint(e){let t=(r,n,i,o)=>{let a=n.shift();if(a){let s=o[a];r[s]||(r[s]={}),t(r[s],n,i,o)}else r[i]||(r[i]=[]),r[i].push(o[i])};t(this.cache,[...this.tagNameOrder],this.metricName,e)}addPVPoint(e){let t=(n,i,o,a)=>{let s=i.shift();if(!s&&Dr(a))throw new zs(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);if(s){let l=[];if(Dr(a))l.push(...Object.keys(a));else if(Lf(a)){if(i.length>0)throw new zs(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);l.push(a)}else throw new zs(`expected metric value to be a string, but got a(n) ${typeof a}, ${JSON.stringify(r)}`);l.forEach(c=>{n[c]||(n[c]={});let d=Dr(a)?a[c]:a;t(n[c],[...i],o,d)})}else n[o]?n[o]++:n[o]=1},r={point:e,metricName:this.metricName,tagNameOrder:this.tagNameOrder};t(this.cache,[...this.tagNameOrder],this.metricName,e)}processPoints(e){return{eventName:this.eventName,tagNameOrder:this.tagNameOrder,metricName:this.metricName,metricAggregateType:this.type==="pv"?"itoa":"arr",data:e}}clearPoints(){this.cache={}}},Pf=!1;Ys=[],Tk=!1,ol=Symbol.for("Jolibox.invokeResolverInstance"),Pk=new Map;globalThis[ol]||(globalThis[ol]=Pk);Ck={get resolveMap(){return globalThis[ol]}};no=Symbol.for("Jolibox.subscribeInstance");nt={trigger(){},exit(){return Promise.resolve(!1)},backPress(){return Promise.resolve(!1)},onReady(e){nt.trigger=e},onDoExit(e){nt.exit=e},onDoBackPress(e){nt.backPress=e}},Hf=e=>{let t=window.prompt("invoke",JSON.stringify({event:"envSync",paramsString:JSON.stringify({})}));if(!t)e.onError(new nk("native env failed"));else{let{data:r}=JSON.parse(t);return r!=null?r:void 0}};if(window.webkit){let e=window.webkit.messageHandlers,t=(i="")=>{nt.trigger(),e.onDocumentReady.postMessage({path:i})},r=i=>ao(void 0,null,function*(){let o=yield nt.exit();e.doExit.postMessage({uuid:i,shouldInterrupt:o})});al={onDocumentReady:t,doExit:r,invoke(i,o,a){e.invoke.postMessage({event:i,paramsString:o,callbackId:a})},publish(i,o,a){let s=$f(o,"joliboxJSCore");window.prompt("publish",JSON.stringify({event:i,paramsString:JSON.stringify(s),webviewIds:a}))},call(i,o,a){let s=window.prompt("invoke",JSON.stringify({event:i,paramsString:JSON.stringify(o),callbackId:a}));if(s)return JSON.parse(s)}};let n={onDocumentReady:t,env:Hf,doExit:r};globalThis.joliboxJSCore=Dt({},n)}if(window.JoliAndroidSDKBridge){let e,t=window.JoliAndroidSDKBridge,r=(o="")=>{nt.trigger(),t.onDocumentReady(JSON.stringify({path:o}))},n=o=>ao(void 0,null,function*(){let a=yield nt.exit();t.doExit(JSON.stringify({uuid:o,shouldInterrupt:a}))});al={onDocumentReady:r,invoke(o,a,s){t.invoke(JSON.stringify({event:o,paramsString:a,callbackId:s}))},doExit:n,publish(o,a,s){let l=$f(a,"joliboxJSCore");t.publish({event:o,paramsString:JSON.stringify(l),webviewIds:s})},call(o,a,s){let l=window.prompt("invoke",JSON.stringify({event:o,paramsString:JSON.stringify(a),callbackId:s}));if(l)return JSON.parse(l)},doBackPress(o){return ao(this,null,function*(){let a=yield nt.backPress();t.doBackPress(JSON.stringify({uuid:o,shouldInterrupt:a}))})}};let i={onDocumentReady:r,env:Hf,doExit:n};globalThis.joliboxJSCore=Dt({},i)}zf=al;if(!zf&&Ik())throw new ok("No joliboxJScore is found, native bridge not found.");qk=Dt({},zf),Vf=Dk(qk),{invokeHandler:Rf}=Vf,{applyNative:pe,invokeNative:F,onNative:He,offNative:GJ,subscribeHandler:Lk,publish:Gf,subscribe:WJ,unsubscribe:KJ}=Vf;globalThis.joliboxJSBridge={callHandler:Rf,invokeHandler:Rf,subscribeHandler:Lk}});function $k(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Nn(e){return typeof e=="string"}function gr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Zf(e){return typeof e=="object"&&Array.isArray(e)}function ep(e){return typeof e=="number"&&!isNaN(e)}function Dn(e){return e===!0||e===!1}function tp(e){return typeof e=="undefined"}function hl(e){return tp(e)||e===null}function Hk(e){return typeof e=="function"}function rp(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function np(e,t,r){if(typeof r!="function")throw new Error("[Jolibox SDK]Customizer must be a function");function n(i,o){for(let a in o)if(Object.prototype.hasOwnProperty.call(o,a)){let s=i[a],l=o[a],c=r(s,l,a,i,o);c!==void 0?i[a]=c:Yf(l)&&Yf(s)?i[a]=n(Uk({},s),l):Array.isArray(l)&&Array.isArray(s)?i[a]=[...s,...l]:i[a]=l}return i}return n(e,t)}function Yf(e){return e&&typeof e=="object"&&e.constructor===Object}function ip(e,t){if(Array.isArray(e))return e.concat(t)}function qn(e,t,r={}){let n=null,i,o,a,{leading:s=!1,trailing:l=!0}=r,c=()=>(a=e.apply(o,i),i=void 0,o=void 0,a),d=function(...u){i=u,o=this;let p=s&&!n;if(n&&clearTimeout(n),n=setTimeout(()=>{n=null,l&&!p&&c()},t),p)return c()};return d.cancel=()=>{n&&clearTimeout(n),n=null,i=o=void 0},d.flush=()=>{if(n)return clearTimeout(n),n=null,c()},d}function Vk(e,t){return(...r)=>t(e,...r)}function fo(e){return t=>Vk(t,function(r,...n){if(typeof r=="function")try{return r.apply(this,n)}catch(i){e(new qr(`${i}`))}})}function Cn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function bl(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function r1(e){return new Promise(t=>pp(e)(t))}function pp(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function n1(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new On(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function o1(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)a1(e[n],t[n])}function a1(e,t){if(Nn(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Hk(t)){try{if(e instanceof t)return}catch(r){}if(!hl(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function s1(){return typeof globalThis!="undefined"?globalThis[hp]:void 0}function l1(e){typeof globalThis!="undefined"&&(globalThis[hp]=e)}function he(){let e=s1();if(e)return e;let t=new co,r=new fl,n={registerCommand(i,o,a){t.registerCommand({id:i,handler:o,metadata:a})},executeCommand(i,...o){return r.executeCommand(i,...o)},excuteCommandSync(i,...o){return r.executeCommandThowErr(i,...o)}};return l1(n),n}var pl,Fk,Wf,Mk,jk,Kf,Uk,Bk,Xf,Jk,gt,zk,ml,uo,vl,op,qr,ap,sp,lp,cp,Ln,gl,yt,ll,Gk,yl,Qf,Wk,Kk,_l,Yk,po,Fn,Qk,Xk,up,dp,fp,cl,te,Zk,e1,Rn,On,_t,dl,t1,sl,i1,we,co,fl,hp,D=T(()=>{"use strict";pl=Object.defineProperty,Fk=Object.getOwnPropertyDescriptor,Wf=Object.getOwnPropertySymbols,Mk=Object.prototype.hasOwnProperty,jk=Object.prototype.propertyIsEnumerable,Kf=(e,t,r)=>t in e?pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Uk=(e,t)=>{for(var r in t||(t={}))Mk.call(t,r)&&Kf(e,r,t[r]);if(Wf)for(var r of Wf(t))jk.call(t,r)&&Kf(e,r,t[r]);return e},Bk=(e,t)=>{for(var r in t)pl(e,r,{get:t[r],enumerable:!0})},Xf=(e,t,r,n)=>{for(var i=n>1?void 0:n?Fk(t,r):t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=(n?a(t,r,i):a(i))||i);return n&&i&&pl(t,r,i),i},Jk=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}gt=class{constructor(){this.state="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.state==="pending"&&(this.state="fulfilled",e(r))},this.reject=r=>{this.state==="pending"&&(this.state="rejected",t(r))}})}};zk=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(zk||{}),ml=class extends Error{constructor(e){if(typeof e=="string"){super(e),this.priority="P1";return}super(e.message),this.priority="P1",this.stack=e.stack,this.raw=e}},uo=class extends ml{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},vl=class extends ml{constructor(){super(...arguments),this.kind="USER_ERROR"}},op=class extends vl{constructor(){super(...arguments),this.name="USER_VALIDATE_ERROR"}},qr=class extends vl{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="USER_CUSTOM_ERROR",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},ap=class extends vl{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="USER_PAYMENT_ERROR",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},sp=class extends uo{constructor(){super(...arguments),this.name="INTERNAL_SCHEMA_PARSE_ERROR",this.priority="P0"}},lp=class extends uo{constructor(e,t,r){super(e),this.message=e,this.errNo=t,this.name="INTERNAL_PAYMENT_ERROR",this.priority="P0",this.errMsg=e,r&&(this.extra=Object.assign({},this.extra,r))}},cp=class extends uo{constructor(){super(...arguments),this.name="INTERNAL_GLOBAL_JS_ERROR",this.priority="P1"}},Ln=class extends ml{constructor(e,t,r,n,i){super(e),this.message=e,this.code=t,this.kind="API_ERROR",this.name="API_ERROR",r&&(this.errorType=r),n!==void 0&&(this.stack=n),i&&(this.priority=i)}toJSON(){return{message:this.message,stack:this.stack,name:this.name,code:this.code,errorType:this.errorType}}},gl=class extends uo{constructor(){super(...arguments),this.name="INTERNAL_REPORTER_ERROR"}};yt={log:Cn("log"),warn:Cn("warn"),info:Cn("info"),error:Cn("error"),debug:Cn("debug")};Object.assign(globalThis,{logger:yt});ll=Symbol.for("Jolibox.canIUseMap"),Gk={};globalThis[ll]||(globalThis[ll]=Gk);yl={get config(){return globalThis[ll]}},Qf=Symbol.for("Jolibox.canIUseMap.native"),Wk={};globalThis[Qf]||(globalThis[Qf]=Wk);Kk=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(Kk||{}),_l=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(_l||{}),Yk=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(Yk||{}),po=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)});bl();Fn={isiOS:navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),iosVersion:()=>{let e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)]},isAndroid:navigator.userAgent.includes("Android"),isMac:navigator.userAgent.includes("Mac"),isFacebook:navigator.userAgent.includes("FB_IAB"),isPC:!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},Qk="device_id",Xk="advertising_id",up=e=>(window.__joliboxLocalStorage__.getItem(e)||window.__joliboxLocalStorage__.setItem(e,po()),window.__joliboxLocalStorage__.getItem(e)),dp=()=>new URLSearchParams(window.location.search).get("deviceId")||up(Qk),fp=()=>new URLSearchParams(window.location.search).get("advertisingId")||up(Xk),cl=class ul{constructor(t){this.element=t,this.next=ul.Undefined,this.prev=ul.Undefined}};cl.Undefined=new cl(void 0);te=cl,Zk=class{constructor(){this._first=te.Undefined,this._last=te.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===te.Undefined}clear(){let e=this._first;for(;e!==te.Undefined;){let t=e.next;e.prev=te.Undefined,e.next=te.Undefined,e=t}this._first=te.Undefined,this._last=te.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new te(e);if(this._first===te.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==te.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==te.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==te.Undefined&&e.next!==te.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===te.Undefined&&e.next===te.Undefined?(this._first=te.Undefined,this._last=te.Undefined):e.next===te.Undefined?(this._last=this._last.prev,this._last.next=te.Undefined):e.prev===te.Undefined&&(this._first=this._first.next,this._first.prev=te.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==te.Undefined;)yield e.element,e=e.next}},e1=0,Rn=class{constructor(e){this.value=e,this.id=e1++}},On=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof Rn&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){var e;return(e=this._event)!=null||(this._event=(t,r)=>{var n,i,o,a,s,l;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};r&&(t=t.bind(r));let c=new Rn(t);return this._listeners?this._listeners instanceof Rn?this._listeners=[this._listeners,c]:this._listeners.push(c):((i=(n=this.options)==null?void 0:n.onWillAddFirstListener)==null||i.call(n,this),this._listeners=c,(a=(o=this.options)==null?void 0:o.onDidFirstListener)==null||a.call(o,this)),(l=(s=this.options)==null?void 0:s.onDidAddListener)==null||l.call(s,this),this._size++,()=>{var d,u,p,f;if(!this._disposed){if(this._listeners instanceof Rn)this._listeners.id===c.id&&(this._listeners=void 0,this._size=0,(u=(d=this.options)==null?void 0:d.onDidRemoveLastListener)==null||u.call(d));else if(this._listeners){let m=this._listeners.indexOf(c);m>=0&&(this._listeners.splice(m,1),this._size--,this._size===0&&((f=(p=this.options)==null?void 0:p.onDidRemoveLastListener)==null||f.call(p)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof Rn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},_t=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t,r=!0){var n;let i=(n=this.listeners.get(e))!=null?n:new On,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e,...t){let r=this.listeners.get(e),n=this.cachedEventQueue.get(e);n||(n=new Zk,this.cachedEventQueue.set(e,n)),n.push({args:t}),r&&r.fire({event:e,args:t})}once(e,t){let r=(...n)=>{t(...n),this.off(e,r)};this.on(e,r,!1)}},dl={};Bk(dl,{None:()=>t1,filter:()=>n1,once:()=>pp,toPromise:()=>r1});t1=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});sl=Symbol.for("Jolibox.hostEmitter"),i1=()=>{let e=new _t;return globalThis[sl]||(globalThis[sl]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[sl]},we=i1();co=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new On,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(...i){return o1(i,r),n(...i)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};co=Xf([rp],co);fl=class{constructor(){this._onWillExecuteCommand=new On,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new On,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new co,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=$k(3e4)),this._starActivation}executeCommand(e,...t){return Jk(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),dl.toPromise(dl.filter(this.registry.onDidRegisterCommand,r=>r===e))])]),this._tryExecuteCommand(e,t))})}executeCommandThowErr(e,...t){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let r=this.registry.getCommand(e);this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),n}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e,...t){let r=!1;try{return e(...t)}finally{r=!0}}};fl=Xf([rp],fl);hp=Symbol.for("Jolibox.commands")});function ke(e,t={}){wl.emit("ERROR_REPORT",{error:e,options:t})}var wl,yr,st=T(()=>{"use strict";D();D();wl=new _t,yr=new _t;ke.debounce=qn(ke,50,{leading:!0})});var Il,c1,mp,vp,gp=T(()=>{"use strict";D();st();Il=e=>{let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t.length%4===0?"":"=".repeat(4-t.length%4),n=atob(t+r);try{return JSON.parse(n)}catch(i){return{}}},c1=e=>{let t=JSON.stringify(e);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},mp=e=>{var t;try{let i=(t=new URL(e).searchParams.get("joliSource"))==null?void 0:t.split(".");if(i!=null&&i.length){let[o,a,s]=i;return{headerJson:Il(o),payloadJson:Il(a),signature:Il(s)}}else throw"joli_source is missing"}catch(r){return ke(new sp(`${e} not a valid schema: ${r}`)),{headerJson:{},payloadJson:{},signature:{}}}},vp=(e,t)=>{let r=t.split(".");if(r&&r.length===3){let n=r[0],i=c1(e),o=r[2];return`${n}.${i}.${o}`}return t}});var u1,El,yp=T(()=>{"use strict";D();u1="1.1.32",El=()=>u1});function f1(e,t){return(document==null?void 0:document.head.querySelector(`meta[name="${e}"][content="${t}"]`))!==null}var d1,_p,xl,bp,le,p1,x,Q=T(()=>{"use strict";D();gp();yp();D();d1={deviceInfo:{brand:"UnknownBrand",model:"UnknownModel",did:dp(),adId:fp(),pixelRatio:window.devicePixelRatio||1,platform:Fn.isAndroid?"android":Fn.isiOS?"ios":"h5",system:"UnknownSystemVersion",lang:"zh"},sdkInfo:{nativeSDKVersion:"",jssdkVersion:El()},schema:window.location.href,platform:Fn.isAndroid?"android":Fn.isiOS?"ios":"h5"},xl=(_p=globalThis.joliboxJSCore)==null?void 0:_p.env,le=Object.assign({},(bp=xl==null?void 0:xl())!=null?bp:d1);p1=()=>{var f,m,v,y,g,_,w,k,R,C,E;let{payloadJson:e,headerJson:t,signature:r}=le.schema.length?mp(le.schema):{},n=`${le.deviceInfo.did}-${new Date().getTime()}`,o=new URL(le.schema.length?le.schema:window.location.href).searchParams,a=(v=(m=(f=o.get("mpId"))!=null?f:o.get("appId"))!=null?m:o.get("gameId"))!=null?v:"",s=(_=(g=(y=le.clientSessionId)!=null?y:e==null?void 0:e.sessionId)!=null?g:o.get("sessionId"))!=null?_:n,l=!!((k=(w=e==null?void 0:e.testAdsMode)!=null?w:e==null?void 0:e.__testAdsMode)!=null?k:o.get("testAdsMode")==="true"),c=(E=(C=(R=e==null?void 0:e.joliboxEnv)!=null?R:e==null?void 0:e.__joliboxEnv)!=null?C:o.get("joliboxEnv"))!=null?E:"production",d=c==="staging",u=t==null?void 0:t.channel,p=e==null?void 0:e.__shouldInterupt;return{get testMode(){return d},get testAdsMode(){return l},get joliboxEnv(){return c},get joliSource(){var A;return(A=o.get("joliSource"))!=null?A:null},get mpId(){var A;return(A=a!=null?a:e==null?void 0:e.id)!=null?A:""},get mpVersion(){var A;return(A=t==null?void 0:t.ver)!=null?A:El()},get mpType(){var A,H;return(H=(A=t==null?void 0:t.__mpType)!=null?A:e==null?void 0:e.__mpType)!=null?H:"game"},get platform(){var A;return((A=le.platform)!=null?A:le.deviceInfo.platform).toLowerCase()},get deviceInfo(){return le.deviceInfo},get sdkInfo(){return le.sdkInfo},get hostInfo(){return le.hostInfo},get hostUserInfo(){return le.hostUserInfo},get sessionId(){var A,H;return(H=(A=le.clientSessionId)!=null?A:s)!=null?H:n},get channel(){return u},get webviewId(){var A;return(A=le.webviewId)!=null?A:-1},get shouldInterupt(){return p},get from(){return e==null?void 0:e.__from},get baseApiHost(){return d?"https://stg-api.jolibox.com":"https://api.jolibox.com"},get adId(){var A;return(A=le.deviceInfo.adId)!=null?A:le.deviceInfo.did},get language(){return le.deviceInfo.lang},get sdkEnvironment(){return f1("dlightek","jolibox")?"dlightek":"jolibox"},get viewport(){var Be,ht,mt;let A=(Be=le.deviceInfo.pixelRatio)!=null?Be:1,H=(ht=le.deviceInfo.statusBarHeight)!=null?ht:e==null?void 0:e.__androidStatusBarHeight,Ue=(mt=le.deviceInfo.navigationBarHeight)!=null?mt:e==null?void 0:e.__androidNavigationBarHeight;return{statusBarHeight:H!==void 0?H/A:20,navigationBarHeight:Ue!==void 0?Ue/A:10}},onEnvConfigChanged:A=>{np(le,A,ip)},encodeJoliSourceQuery:A=>{var H,Ue;return t&&r?vp(P(P({},e),A),(H=o.get("joliSource"))!=null?H:""):(Ue=o.get("joliSource"))!=null?Ue:""},setDoExitDirectly:()=>{p=!1}}},x=p1()});var Sl,Ip,h1,m1,wp,v1,Ep=T(()=>{"use strict";D();st();Q();D();Sl=!1,Ip=(e,t)=>e==null?!1:t in e,h1=e=>Ip(e,"kind"),m1=e=>{let t=e.toLowerCase().split("_");return t[0]+t.slice(1).map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join("")},wp=(e,t={},r)=>{var o,a,s;let n={user_id:(a=(o=x.hostUserInfo)==null?void 0:o.uid)!=null?a:"",device_id:(s=x.deviceInfo.did)!=null?s:"",timestamp:Date.now(),tag:m1(e.name)},i=L(P({},n),{env:t.environment,isFromUser:r});r?yr.emit("GLOBAL_USER_ERROR",e,i):yr.emit("GLOBAL_ERROR",e,i)},v1=e=>Ip(e,"kind")&&e.kind==="USER_ERROR";wl.on("ERROR_REPORT",({error:e,options:t})=>{if(Sl)return;Sl=!0;let r=h1(e)&&e.raw?e.raw:e;try{let n=v1(e);wp(e,t,n)}catch(n){let i=n instanceof Error?n.message:String(n),o=new gl(`${i}, origin error: ${r.message}`);yt.error(o),wp(new gl(o.message),{environment:t.environment},!1)}finally{Sl=!1}})});var er,Al,Lr=T(()=>{"use strict";st();D();st();er=(e,t)=>{var r,n;return new Ln((n=(r=t==null?void 0:t.errMsg)!=null?r:e.msg)!=null?n:"",e.code,e.type)},Al=e=>new op(e)});var xp=T(()=>{"use strict";Ep();Lr();D();Ae();yr.on("GLOBAL_ERROR",(e,t)=>{var n;let r={message:e.message,stack:(n=e.stack)!=null?n:"",errorType:e.name,source:0};F("trackAsync",{event:"reportJsError",data:r})});yr.on("GLOBAL_USER_ERROR",(e,t)=>{yt.log("UserError",e,t)})});var kl=T(()=>{"use strict"});function Sp(e,t){let r=(n,i,o)=>{let a=L(P({tag:n},t),{extra:P({},i)});n=="globalJsError"?ke(new cp(JSON.stringify(a))):e("systemLog",a,o)};return r.debounce=qn(r,500,{leading:!0}),r}function Ap(e){let t=(r,n,i)=>{var s;let o=(s=i&&JSON.stringify(i))!=null?s:0,a={speed_value_type:r,total_duration:n};o&&Object.assign(a,{extra:o}),e("joliboxSpeedAnalysis",a)};return t.debounce=qn(t,500,{leading:!0}),t}var kp=T(()=>{"use strict";D();D();st()});function Tp(e,t){let r=Sp(e,t),n=Ap(r);return{track:r,trackPerformance:n}}var Pp=T(()=>{"use strict";kp()});var Cp=T(()=>{"use strict";Q();D();D()});var Rp=T(()=>{"use strict";Pp();kl();Cp()});var ho,Op=T(()=>{"use strict";ho=class{constructor(t,r){this.eventEmitter=t;this.lastReportTime=0;this.visible=!0;this.timer=this.createRAFTimer(t=>{this.reporter({event:"PLAY_GAME",params:{duration:t}}),this.tracker("PlayGame",{duration:t})});this.interval=r!=null?r:5*1e3,t.on("visible",n=>{this.visible=n})}start(t){this.reporter({event:"OPEN_GAME",params:{timestamp:Date.now(),duration:t!=null?t:0}}),this.tracker("OpenGame",{duration:t!=null?t:0}),this.timer.start()}close(t){this.reporter({event:"CLOSE_GAME",params:{timestamp:Date.now(),duration:t}}),this.tracker("CloseGame",{duration:t}),this.timer.stop()}createRAFTimer(t){let r=Date.now(),n,i,o=!1,a=0,s=()=>{if(!o)return;let f=Date.now(),m=f-r;m>=this.interval&&(this.visible&&(a+=Math.min(m,this.interval+1e3),t(a)),r=f),n=requestAnimationFrame(s)},l=()=>{d(),r=Date.now(),i=window.setInterval(()=>{if(!o)return;let f=Date.now();f-r>=this.interval&&(r=f)},this.interval)},c=()=>{u(),r=Date.now(),n=requestAnimationFrame(s)},d=()=>{n&&(cancelAnimationFrame(n),n=0)},u=()=>{i&&(clearInterval(i),i=0)};this.eventEmitter.on("visible",f=>{o&&(console.log("visible",f),f?c():l())});let p=this.visible;return{start(){o||(o=!0,p?c():l())},stop(){o=!1,d(),u()}}}}});function mo(e,t,r){var l,c,d;let n=new Map,i=(l=r==null?void 0:r.baseUrl)!=null?l:"https://api.jolibox.com",o=(c=r==null?void 0:r.type)!=null?c:"public",a=(d=r==null?void 0:r.defaultHeaders)!=null?d:{};return He("onRequestTaskStateChange",u=>{if(typeof u.requestTaskId!="string")return;let p=n.get(u.requestTaskId);if(p)if(u.state==="success"){let f=u,{requestTaskId:v,state:y}=f,g=vt(f,["requestTaskId","state"]);u.statusCode===200?p.resolve(g):p.reject(g),n.delete(v)}else if(u.state==="fail"){let m=u,{requestTaskId:v,state:y}=m,g=vt(m,["requestTaskId","state"]);p.reject(g),n.delete(v)}else yt.warn("onRequestTaskStateChange unknown event",u)}),we.on("onLoginComplete",({isLogin:u,token:p})=>{u&&p&&(a["X-JOLI-TOKEN"]=p)}),(f,...m)=>I(this,[f,...m],function*(u,p={}){let v=Date.now(),y=g1(u,L(P({},p),{baseUrl:i})),{method:g="GET",responseType:_="text",dataType:w="json",timeout:k,enableCache:R=!1,appendHostCookie:C=!0}=p,E=Object.assign({"content-type":"application/json"},a,p.header),A={url:y,method:g,header:E,enableCache:R,responseType:_,appendHostCookie:C};if(g=="POST"||g=="PUT"){let mt=_1(p.data,E["content-type"]);A.data=mt}k&&Object.assign(A,{timeout:k});let{data:{requestTaskId:H}}=F(e,A);if(typeof H!="string")throw er({code:-1,msg:"requestTaskId is not a string"});let{resolve:Ue,reject:Be,promise:ht}=new gt;n.set(H,{resolve:Ue,reject:Be});try{let mt=yield ht,{data:vr}=mt;return w==="json"&&typeof vr=="string"&&(vr=y1(vr)),{url:y,timeout:k,method:g,response:L(P({},mt),{data:vr})}}catch(mt){let vr=mt;if(gr(vr)){let{errMsg:$s,prefetchDetail:BJ,isPrefetch:JJ,errNo:CA}=vr;Nn($s)&&ke(er({code:-1,msg:$s},{errNo:CA,errMsg:$s}))}throw mt}})}function y1(e){try{return JSON.parse(e.trim())}catch(t){return e}}function _1(e,t="application/json"){let r=t.toLowerCase();return e===void 0?"":typeof e=="string"||e instanceof ArrayBuffer?e:r.includes("application/x-www-form-urlencoded")||r.includes("application/json")||typeof e=="object"?JSON.stringify(e):String(e)}var g1,Tl=T(()=>{"use strict";D();Ae();st();Lr();g1=(e,t)=>{if(/^https?:\/\//.test(e))return e;let r=t==null?void 0:t.query,i=new URLSearchParams(r).toString();return t!=null&&t.baseUrl?`${t.baseUrl}${e}${i?`?${i}`:""}`:`${e}${i?`?${i}`:""}`}});var Pl,Np,re,bt=T(()=>{"use strict";Tl();Q();Pl={};(Np=x.hostUserInfo)!=null&&Np.token&&(Pl["x-joli-token"]=x.hostUserInfo.token);x.joliSource&&(Pl["x-joli-source"]=x.joliSource);re=mo("createRequestTaskSync","operateRequestTaskSync",{type:"inner",baseUrl:x.testMode?"https://stg-api.jolibox.com":"https://api.jolibox.com",defaultHeaders:Pl})});var vo,Dp=T(()=>{"use strict";Q();Op();bt();Ae();vo=class extends ho{constructor(t,r,n){super(r,n),this.gameId=x.mpId,this.sessionId=x.sessionId,this.track=t,this.taskUrl=x.testMode?"https://stg-api.jolibox.com/api/base/app-event":"https://api.jolibox.com/api/base/app-event"}reporter(t){return I(this,null,function*(){let{event:r,params:n}=t,i={eventType:r,gameInfo:P({gameId:this.gameId,sessionId:this.sessionId},n)};yield x.platform==="android"?re("/api/base/app-event",{method:"POST",data:i}):pe("trackAppEventAsync",{url:this.taskUrl,body:JSON.stringify(i)})})}reportToNative(t){return I(this,null,function*(){let{event:r,params:n}=t;yield pe("userTrackAsync",{event:r,params:P({},n),gameId:this.gameId})})}tracker(t,r=null){this.track(t,r)}}});var jp={};Ef(jp,{nativeTaskEmitter:()=>Mn,taskTracker:()=>qt,track:()=>lt,trackPerformance:()=>Fp});var b1,qp,Lp,lt,Fp,Mp,Mn,qt,_r=T(()=>{"use strict";xp();D();kl();Rp();Q();Dp();Ae();b1=(e,t,r)=>{var a,s,l,c,d;let n=t,i=gr(n.extra)?n.extra:Nn(n.extra)?JSON.parse(n.extra):{},o=L(P({},i),{mp_id:(a=n.mp_id)!=null?a:"",mp_version:(s=n.mp_version)!=null?s:"",session_id:x.sessionId,user_id:(c=(l=x.hostUserInfo)==null?void 0:l.uid)!=null?c:""});F("trackAsync",{event:(d=t.tag)!=null?d:e,data:o,webviewId:r})},{track:lt,trackPerformance:Fp}=Tp(b1,{type:_l.AppSDK,platform:"native",jssdk_version:(Lp=(qp=x.sdkInfo)==null?void 0:qp.jssdkVersion)!=null?Lp:"1.0.0",mp_id:x.mpId,mp_version:x.mpVersion}),Mp=he();Mp.registerCommand("ReportSDK.traceSystemTimeline",({event:e,duration:t,extra:r})=>{Fp(e,t,r)});Mp.registerCommand("ReportSDK.traceSystem",({event:e,info:t})=>{lt(e,t)});Mn=new _t,qt=new vo(lt,Mn)});function Up(){let e=null,t=null,r=window.fetch,n=()=>{t=document.createElement("meta"),t.setAttribute("name","viewport"),t.setAttribute("content","viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"),t.setAttribute("data-jolibox-sdk","viewport-meta"),e=document.createElement("style"),e.setAttribute("data-jolibox-sdk","default-styles");let s=`
2
2
  html[data-jolibox-root] {
3
3
  height: 100%;
4
4
  margin: 0;
@@ -16,14 +16,14 @@ var RA=Object.create;var no=Object.defineProperty,OA=Object.defineProperties,NA=
16
16
  min-height: 100dvh;
17
17
  }
18
18
  }
19
- `;e.textContent=s;let l=document.head||document.getElementsByTagName("head")[0];l.insertBefore(t,l.firstChild),l.insertBefore(e,l.firstChild),document.documentElement.setAttribute("data-jolibox-root","")},i=()=>{let{statusBarHeight:s,navigationBarHeight:l}=x.viewport;document.documentElement.style.setProperty("--status-bar-height",`${s}px`),document.documentElement.style.setProperty("--navigation-bar-height",`${l}px`)},o=()=>{function s(c){return I(this,null,function*(){let d=c instanceof URL?c.href:c,u=new Promise((p,f)=>{let m=new XMLHttpRequest;m.open("GET",d),m.responseType="arraybuffer",m.addEventListener("load",()=>p(m.response)),m.addEventListener("error",f),m.send()});try{let p=yield u;return new Response(p,{headers:new Headers([["Content-Type","application/wasm"]])}).clone()}catch(p){throw console.error("Failed to load wasm:",p),p}})}let l=window.fetch;window.fetch=(c,d)=>{let u=c instanceof URL?c.href:c.toString();return u.endsWith(".wasm")?s(u):l(c,d)}},a=()=>{e!=null&&e.parentNode&&(e.parentNode.removeChild(e),e=null),t!=null&&t.parentNode&&(t.parentNode.removeChild(t),t=null),document.documentElement.removeAttribute("data-jolibox-root"),document.documentElement.style.removeProperty("--status-bar-height"),window.fetch=r};return n(),o(),i(),a}var Jp=T(()=>{"use strict";Q()});var $p=T(()=>{"use strict"});var Hp=T(()=>{"use strict";D();bl()});var zp=T(()=>{"use strict";Q()});var yo,Cl=T(()=>{"use strict";$p();Hp();Q();zp();D();yo=new bt});function Lt(e,t){for(var r in t)e[r]=t[r];return e}function Ll(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function De(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?Io.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return bo(e,a,n,i,null)}function bo(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i==null?++Kp:i,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function Ye(e){return e.children}function Ke(e,t){this.props=e,this.context=t}function jr(e,t){if(t==null)return e.__?jr(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?jr(e):null}function th(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return th(e)}}function Nl(e){(!e.__d&&(e.__d=!0)&&br.push(e)&&!wo.__r++||Vp!==O.debounceRendering)&&((Vp=O.debounceRendering)||Yp)(wo)}function wo(){for(var e,t,r,n,i,o,a,s=1;br.length;)br.length>s&&br.sort(Qp),e=br.shift(),s=br.length,e.__d&&(r=void 0,i=(n=(t=e).__v).__e,o=[],a=[],t.__P&&((r=Lt({},n)).__v=n.__v+1,O.vnode&&O.vnode(r),Fl(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,i==null?jr(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,ih(o,r,a),r.__e!=i&&th(r)));wo.__r=0}function rh(e,t,r,n,i,o,a,s,l,c,d){var u,p,f,m,v,y,g=n&&n.__k||eh,_=t.length;for(l=I1(r,t,g,l,_),u=0;u<_;u++)(f=r.__k[u])!=null&&(p=f.__i===-1?Un:g[f.__i]||Un,f.__i=u,y=Fl(e,f,p,i,o,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Ml(p.ref,null,f),d.push(f.ref,f.__c||m,f)),v==null&&m!=null&&(v=m),4&f.__u||p.__k===f.__k?l=nh(f,l,e):typeof f.type=="function"&&y!==void 0?l=y:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=v,l}function I1(e,t,r,n,i){var o,a,s,l,c,d=r.length,u=d,p=0;for(e.__k=new Array(i),o=0;o<i;o++)(a=t[o])!=null&&typeof a!="boolean"&&typeof a!="function"?(l=o+p,(a=e.__k[o]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?bo(null,a,null,null,null):Bn(a)?bo(Ye,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?bo(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,s=null,(c=a.__i=E1(a,r,l,u))!==-1&&(u--,(s=r[c])&&(s.__u|=2)),s==null||s.__v===null?(c==-1&&(i>d?p--:i<d&&p++),typeof a.type!="function"&&(a.__u|=4)):c!=l&&(c==l-1?p--:c==l+1?p++:(c>l?p--:p++,a.__u|=4))):e.__k[o]=null;if(u)for(o=0;o<d;o++)(s=r[o])!=null&&!(2&s.__u)&&(s.__e==n&&(n=jr(s)),ah(s,s));return n}function nh(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=nh(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=jr(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Jn(e,t){return t=t||[],e==null||typeof e=="boolean"||(Bn(e)?e.some(function(r){Jn(r,t)}):t.push(e)),t}function E1(e,t,r,n){var i,o,a=e.key,s=e.type,l=t[r];if(l===null&&e.key==null||l&&a==l.key&&s===l.type&&!(2&l.__u))return r;if(n>(l!=null&&!(2&l.__u)?1:0))for(i=r-1,o=r+1;i>=0||o<t.length;){if(i>=0){if((l=t[i])&&!(2&l.__u)&&a==l.key&&s===l.type)return i;i--}if(o<t.length){if((l=t[o])&&!(2&l.__u)&&a==l.key&&s===l.type)return o;o++}}return-1}function Gp(e,t,r){t[0]=="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||w1.test(t)?r:r+"px"}function _o(e,t,r,n,i){var o;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Gp(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Gp(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(Xp,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.t=n.t:(r.t=ql,e.addEventListener(t,o?Ol:Rl,o)):e.removeEventListener(t,o?Ol:Rl,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r==null?"":r;break e}catch(a){}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Wp(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=ql++;else if(t.u<r.t)return;return r(O.event?O.event(t):t)}}}function Fl(e,t,r,n,i,o,a,s,l,c){var d,u,p,f,m,v,y,g,_,w,k,R,C,E,A,H,Ue,Be=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=O.__b)&&d(t);e:if(typeof Be=="function")try{if(g=t.props,_="prototype"in Be&&Be.prototype.render,w=(d=Be.contextType)&&n[d.__c],k=d?w?w.props.value:d.__:n,r.__c?y=(u=t.__c=r.__c).__=u.__E:(_?t.__c=u=new Be(g,k):(t.__c=u=new Ke(g,k),u.constructor=Be,u.render=S1),w&&w.sub(u),u.props=g,u.state||(u.state={}),u.context=k,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),_&&u.__s==null&&(u.__s=u.state),_&&Be.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Lt({},u.__s)),Lt(u.__s,Be.getDerivedStateFromProps(g,u.__s))),f=u.props,m=u.state,u.__v=t,p)_&&Be.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),_&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(_&&Be.getDerivedStateFromProps==null&&g!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(g,k),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(g,u.__s,k)===!1||t.__v==r.__v)){for(t.__v!=r.__v&&(u.props=g,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(mt){mt&&(mt.__=t)}),R=0;R<u._sb.length;R++)u.__h.push(u._sb[R]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(g,u.__s,k),_&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,m,v)})}if(u.context=k,u.props=g,u.__P=e,u.__e=!1,C=O.__r,E=0,_){for(u.state=u.__s,u.__d=!1,C&&C(t),d=u.render(u.props,u.state,u.context),A=0;A<u._sb.length;A++)u.__h.push(u._sb[A]);u._sb=[]}else do u.__d=!1,C&&C(t),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++E<25);u.state=u.__s,u.getChildContext!=null&&(n=Lt(Lt({},n),u.getChildContext())),_&&!p&&u.getSnapshotBeforeUpdate!=null&&(v=u.getSnapshotBeforeUpdate(f,m)),H=d,d!=null&&d.type===Ye&&d.key==null&&(H=oh(d.props.children)),s=rh(e,Bn(H)?H:[H],t,r,n,i,o,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),y&&(u.__E=u.__=null)}catch(mt){if(t.__v=null,l||o!=null)if(mt.then){for(t.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else for(Ue=o.length;Ue--;)Ll(o[Ue]);else t.__e=r.__e,t.__k=r.__k;O.__e(mt,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=x1(r.__e,t,r,n,i,o,a,l,c);return(d=O.diffed)&&d(t),128&t.__u?void 0:s}function ih(e,t,r){for(var n=0;n<r.length;n++)Ml(r[n],r[++n],r[++n]);O.__c&&O.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){O.__e(o,i.__v)}})}function oh(e){return typeof e!="object"||e==null?e:Bn(e)?e.map(oh):Lt({},e)}function x1(e,t,r,n,i,o,a,s,l){var c,d,u,p,f,m,v,y=r.props,g=t.props,_=t.type;if(_=="svg"?i="http://www.w3.org/2000/svg":_=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!_&&(_?f.localName==_:f.nodeType==3)){e=f,o[c]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(i,_,g.is&&g),s&&(O.__m&&O.__m(t,o),s=!1),o=null}if(_===null)y===g||s&&e.data===g||(e.data=g);else{if(o=o&&Io.call(e.childNodes),y=r.props||Un,!s&&o!=null)for(y={},c=0;c<e.attributes.length;c++)y[(f=e.attributes[c]).name]=f.value;for(c in y)if(f=y[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in g)){if(c=="value"&&"defaultValue"in g||c=="checked"&&"defaultChecked"in g)continue;_o(e,c,null,f,i)}}for(c in g)f=g[c],c=="children"?p=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?m=f:c=="checked"?v=f:s&&typeof f!="function"||y[c]===f||_o(e,c,f,y[c],i);if(d)s||u&&(d.__html===u.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(u&&(e.innerHTML=""),rh(t.type==="template"?e.content:e,Bn(p)?p:[p],t,r,n,_=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:r.__k&&jr(r,0),s,l),o!=null)for(c=o.length;c--;)Ll(o[c]);s||(c="value",_=="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[c]||_=="progress"&&!m||_=="option"&&m!==y[c])&&_o(e,c,m,y[c],i),c="checked",v!==void 0&&v!==e[c]&&_o(e,c,v,y[c],i))}return e}function Ml(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){O.__e(i,r)}}function ah(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ml(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){O.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&ah(n[i],t,r||typeof e.type!="function");r||Ll(e.__e),e.__c=e.__=e.__e=void 0}function S1(e,t,r){return this.constructor(e,r)}function tr(e,t,r){var n,i,o,a;t==document&&(t=document.documentElement),O.__&&O.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],Fl(t,e=(!n&&r||t).__k=De(Ye,null,[e]),i||Un,Un,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?Io.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),ih(o,e,a)}function wr(e){function t(r){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&n.forEach(function(a){a.__e=!0,Nl(a)})},this.sub=function(o){n.add(o);var a=o.componentWillUnmount;o.componentWillUnmount=function(){n&&n.delete(o),a&&a.call(o)}}),r.children}return t.__c="__cC"+Zp++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}var Io,O,Kp,Dl,br,Vp,Yp,Qp,Xp,ql,Rl,Ol,Zp,Un,eh,w1,Bn,Ur=T(()=>{Un={},eh=[],w1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Bn=Array.isArray;Io=eh.slice,O={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},Kp=0,Dl=function(e){return e!=null&&e.constructor==null},Ke.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Lt({},this.state),typeof e=="function"&&(e=e(Lt({},r),this.props)),e&&Lt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Nl(this))},Ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Nl(this))},Ke.prototype.render=Ye,br=[],Yp=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Qp=function(e,t){return e.__v.__b-t.__v.__b},wo.__r=0,Xp=/(PointerCapture)$|Capture$/i,ql=0,Rl=Wp(!1),Ol=Wp(!0),Zp=0});var oe=h((EH,sh)=>{"use strict";sh.exports=function(e){try{return!!e()}catch(t){return!0}}});var Br=h((xH,lh)=>{"use strict";var A1=oe();lh.exports=!A1(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var ve=h((SH,dh)=>{"use strict";var ch=Br(),uh=Function.prototype,jl=uh.call,k1=ch&&uh.bind.bind(jl,jl);dh.exports=ch?k1:function(e){return function(){return jl.apply(e,arguments)}}});var Je=h((AH,fh)=>{"use strict";var T1=ve();fh.exports=T1({}.isPrototypeOf)});var ae=h((Ul,ph)=>{"use strict";var $n=function(e){return e&&e.Math===Math&&e};ph.exports=$n(typeof globalThis=="object"&&globalThis)||$n(typeof window=="object"&&window)||$n(typeof self=="object"&&self)||$n(typeof global=="object"&&global)||$n(typeof Ul=="object"&&Ul)||function(){return this}()||Function("return this")()});var Bl=h((kH,gh)=>{"use strict";var P1=Br(),vh=Function.prototype,hh=vh.apply,mh=vh.call;gh.exports=typeof Reflect=="object"&&Reflect.apply||(P1?mh.bind(hh):function(){return mh.apply(hh,arguments)})});var Ft=h((TH,_h)=>{"use strict";var yh=ve(),C1=yh({}.toString),R1=yh("".slice);_h.exports=function(e){return R1(C1(e),8,-1)}});var Hn=h((PH,bh)=>{"use strict";var O1=Ft(),N1=ve();bh.exports=function(e){if(O1(e)==="Function")return N1(e)}});var Te=h((CH,wh)=>{"use strict";var Jl=typeof document=="object"&&document.all;wh.exports=typeof Jl=="undefined"&&Jl!==void 0?function(e){return typeof e=="function"||e===Jl}:function(e){return typeof e=="function"}});var $e=h((RH,Ih)=>{"use strict";var D1=oe();Ih.exports=!D1(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var ct=h((OH,Eh)=>{"use strict";var q1=Br(),Eo=Function.prototype.call;Eh.exports=q1?Eo.bind(Eo):function(){return Eo.apply(Eo,arguments)}});var $l=h(Ah=>{"use strict";var xh={}.propertyIsEnumerable,Sh=Object.getOwnPropertyDescriptor,L1=Sh&&!xh.call({1:2},1);Ah.f=L1?function(t){var r=Sh(this,t);return!!r&&r.enumerable}:xh});var zn=h((DH,kh)=>{"use strict";kh.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var xo=h((qH,Th)=>{"use strict";var F1=ve(),M1=oe(),j1=Ft(),Hl=Object,U1=F1("".split);Th.exports=M1(function(){return!Hl("z").propertyIsEnumerable(0)})?function(e){return j1(e)==="String"?U1(e,""):Hl(e)}:Hl});var Ir=h((LH,Ph)=>{"use strict";Ph.exports=function(e){return e==null}});var Er=h((FH,Ch)=>{"use strict";var B1=Ir(),J1=TypeError;Ch.exports=function(e){if(B1(e))throw new J1("Can't call method on "+e);return e}});var rr=h((MH,Rh)=>{"use strict";var $1=xo(),H1=Er();Rh.exports=function(e){return $1(H1(e))}});var Ie=h((jH,Oh)=>{"use strict";var z1=Te();Oh.exports=function(e){return typeof e=="object"?e!==null:z1(e)}});var It=h((UH,Nh)=>{"use strict";Nh.exports={}});var Jr=h((BH,qh)=>{"use strict";var zl=It(),Vl=ae(),V1=Te(),Dh=function(e){return V1(e)?e:void 0};qh.exports=function(e,t){return arguments.length<2?Dh(zl[e])||Dh(Vl[e]):zl[e]&&zl[e][t]||Vl[e]&&Vl[e][t]}});var So=h((JH,Mh)=>{"use strict";var G1=ae(),Lh=G1.navigator,Fh=Lh&&Lh.userAgent;Mh.exports=Fh?String(Fh):""});var ko=h(($H,Hh)=>{"use strict";var $h=ae(),Gl=So(),jh=$h.process,Uh=$h.Deno,Bh=jh&&jh.versions||Uh&&Uh.version,Jh=Bh&&Bh.v8,ut,Ao;Jh&&(ut=Jh.split("."),Ao=ut[0]>0&&ut[0]<4?1:+(ut[0]+ut[1]));!Ao&&Gl&&(ut=Gl.match(/Edge\/(\d+)/),(!ut||ut[1]>=74)&&(ut=Gl.match(/Chrome\/(\d+)/),ut&&(Ao=+ut[1])));Hh.exports=Ao});var Wl=h((HH,Vh)=>{"use strict";var zh=ko(),W1=oe(),K1=ae(),Y1=K1.String;Vh.exports=!!Object.getOwnPropertySymbols&&!W1(function(){var e=Symbol("symbol detection");return!Y1(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zh&&zh<41})});var Kl=h((zH,Gh)=>{"use strict";var Q1=Wl();Gh.exports=Q1&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yl=h((VH,Wh)=>{"use strict";var X1=Jr(),Z1=Te(),eT=Je(),tT=Kl(),rT=Object;Wh.exports=tT?function(e){return typeof e=="symbol"}:function(e){var t=X1("Symbol");return Z1(t)&&eT(t.prototype,rT(e))}});var Vn=h((GH,Kh)=>{"use strict";var nT=String;Kh.exports=function(e){try{return nT(e)}catch(t){return"Object"}}});var xr=h((WH,Yh)=>{"use strict";var iT=Te(),oT=Vn(),aT=TypeError;Yh.exports=function(e){if(iT(e))return e;throw new aT(oT(e)+" is not a function")}});var To=h((KH,Qh)=>{"use strict";var sT=xr(),lT=Ir();Qh.exports=function(e,t){var r=e[t];return lT(r)?void 0:sT(r)}});var Zh=h((YH,Xh)=>{"use strict";var Ql=ct(),Xl=Te(),Zl=Ie(),cT=TypeError;Xh.exports=function(e,t){var r,n;if(t==="string"&&Xl(r=e.toString)&&!Zl(n=Ql(r,e))||Xl(r=e.valueOf)&&!Zl(n=Ql(r,e))||t!=="string"&&Xl(r=e.toString)&&!Zl(n=Ql(r,e)))return n;throw new cT("Can't convert object to primitive value")}});var $r=h((QH,em)=>{"use strict";em.exports=!0});var nm=h((XH,rm)=>{"use strict";var tm=ae(),uT=Object.defineProperty;rm.exports=function(e,t){try{uT(tm,e,{value:t,configurable:!0,writable:!0})}catch(r){tm[e]=t}return t}});var Gn=h((ZH,am)=>{"use strict";var dT=$r(),fT=ae(),pT=nm(),im="__core-js_shared__",om=am.exports=fT[im]||pT(im,{});(om.versions||(om.versions=[])).push({version:"3.41.0",mode:dT?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var ec=h((ez,lm)=>{"use strict";var sm=Gn();lm.exports=function(e,t){return sm[e]||(sm[e]=t||{})}});var Hr=h((tz,cm)=>{"use strict";var hT=Er(),mT=Object;cm.exports=function(e){return mT(hT(e))}});var Qe=h((rz,um)=>{"use strict";var vT=ve(),gT=Hr(),yT=vT({}.hasOwnProperty);um.exports=Object.hasOwn||function(t,r){return yT(gT(t),r)}});var Po=h((nz,dm)=>{"use strict";var _T=ve(),bT=0,wT=Math.random(),IT=_T(1 .toString);dm.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+IT(++bT+wT,36)}});var qe=h((iz,pm)=>{"use strict";var ET=ae(),xT=ec(),fm=Qe(),ST=Po(),AT=Wl(),kT=Kl(),zr=ET.Symbol,tc=xT("wks"),TT=kT?zr.for||zr:zr&&zr.withoutSetter||ST;pm.exports=function(e){return fm(tc,e)||(tc[e]=AT&&fm(zr,e)?zr[e]:TT("Symbol."+e)),tc[e]}});var gm=h((oz,vm)=>{"use strict";var PT=ct(),hm=Ie(),mm=Yl(),CT=To(),RT=Zh(),OT=qe(),NT=TypeError,DT=OT("toPrimitive");vm.exports=function(e,t){if(!hm(e)||mm(e))return e;var r=CT(e,DT),n;if(r){if(t===void 0&&(t="default"),n=PT(r,e,t),!hm(n)||mm(n))return n;throw new NT("Can't convert object to primitive value")}return t===void 0&&(t="number"),RT(e,t)}});var rc=h((az,ym)=>{"use strict";var qT=gm(),LT=Yl();ym.exports=function(e){var t=qT(e,"string");return LT(t)?t:t+""}});var ic=h((sz,bm)=>{"use strict";var FT=ae(),_m=Ie(),nc=FT.document,MT=_m(nc)&&_m(nc.createElement);bm.exports=function(e){return MT?nc.createElement(e):{}}});var oc=h((lz,wm)=>{"use strict";var jT=$e(),UT=oe(),BT=ic();wm.exports=!jT&&!UT(function(){return Object.defineProperty(BT("div"),"a",{get:function(){return 7}}).a!==7})});var ac=h(Em=>{"use strict";var JT=$e(),$T=ct(),HT=$l(),zT=zn(),VT=rr(),GT=rc(),WT=Qe(),KT=oc(),Im=Object.getOwnPropertyDescriptor;Em.f=JT?Im:function(t,r){if(t=VT(t),r=GT(r),KT)try{return Im(t,r)}catch(n){}if(WT(t,r))return zT(!$T(HT.f,t,r),t[r])}});var Sm=h((uz,xm)=>{"use strict";var YT=oe(),QT=Te(),XT=/#|\.prototype\./,Wn=function(e,t){var r=eP[ZT(e)];return r===rP?!0:r===tP?!1:QT(t)?YT(t):!!t},ZT=Wn.normalize=function(e){return String(e).replace(XT,".").toLowerCase()},eP=Wn.data={},tP=Wn.NATIVE="N",rP=Wn.POLYFILL="P";xm.exports=Wn});var Kn=h((dz,km)=>{"use strict";var Am=Hn(),nP=xr(),iP=Br(),oP=Am(Am.bind);km.exports=function(e,t){return nP(e),t===void 0?e:iP?oP(e,t):function(){return e.apply(t,arguments)}}});var sc=h((fz,Tm)=>{"use strict";var aP=$e(),sP=oe();Tm.exports=aP&&sP(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Mt=h((pz,Pm)=>{"use strict";var lP=Ie(),cP=String,uP=TypeError;Pm.exports=function(e){if(lP(e))return e;throw new uP(cP(e)+" is not an object")}});var jt=h(Rm=>{"use strict";var dP=$e(),fP=oc(),pP=sc(),Co=Mt(),Cm=rc(),hP=TypeError,lc=Object.defineProperty,mP=Object.getOwnPropertyDescriptor,cc="enumerable",uc="configurable",dc="writable";Rm.f=dP?pP?function(t,r,n){if(Co(t),r=Cm(r),Co(n),typeof t=="function"&&r==="prototype"&&"value"in n&&dc in n&&!n[dc]){var i=mP(t,r);i&&i[dc]&&(t[r]=n.value,n={configurable:uc in n?n[uc]:i[uc],enumerable:cc in n?n[cc]:i[cc],writable:!1})}return lc(t,r,n)}:lc:function(t,r,n){if(Co(t),r=Cm(r),Co(n),fP)try{return lc(t,r,n)}catch(i){}if("get"in n||"set"in n)throw new hP("Accessors not supported");return"value"in n&&(t[r]=n.value),t}});var Sr=h((mz,Om)=>{"use strict";var vP=$e(),gP=jt(),yP=zn();Om.exports=vP?function(e,t,r){return gP.f(e,t,yP(1,r))}:function(e,t,r){return e[t]=r,e}});var V=h((vz,Dm)=>{"use strict";var Yn=ae(),_P=Bl(),bP=Hn(),wP=Te(),IP=ac().f,EP=Sm(),Vr=It(),xP=Kn(),Gr=Sr(),Nm=Qe();Gn();var SP=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return _P(e,this,arguments)};return t.prototype=e.prototype,t};Dm.exports=function(e,t){var r=e.target,n=e.global,i=e.stat,o=e.proto,a=n?Yn:i?Yn[r]:Yn[r]&&Yn[r].prototype,s=n?Vr:Vr[r]||Gr(Vr,r,{})[r],l=s.prototype,c,d,u,p,f,m,v,y,g;for(p in t)c=EP(n?p:r+(i?".":"#")+p,e.forced),d=!c&&a&&Nm(a,p),m=s[p],d&&(e.dontCallGetSet?(g=IP(a,p),v=g&&g.value):v=a[p]),f=d&&v?v:t[p],!(!c&&!o&&typeof m==typeof f)&&(e.bind&&d?y=xP(f,Yn):e.wrap&&d?y=SP(f):o&&wP(f)?y=bP(f):y=f,(e.sham||f&&f.sham||m&&m.sham)&&Gr(y,"sham",!0),Gr(s,p,y),o&&(u=r+"Prototype",Nm(Vr,u)||Gr(Vr,u,{}),Gr(Vr[u],p,f),e.real&&l&&(c||!l[p])&&Gr(l,p,f)))}});var Lm=h((gz,qm)=>{"use strict";var AP=Math.ceil,kP=Math.floor;qm.exports=Math.trunc||function(t){var r=+t;return(r>0?kP:AP)(r)}});var Qn=h((yz,Fm)=>{"use strict";var TP=Lm();Fm.exports=function(e){var t=+e;return t!==t||t===0?0:TP(t)}});var fc=h((_z,Mm)=>{"use strict";var PP=Qn(),CP=Math.min;Mm.exports=function(e){var t=PP(e);return t>0?CP(t,9007199254740991):0}});var Wr=h((bz,jm)=>{"use strict";var RP=fc();jm.exports=function(e){return RP(e.length)}});var Xn=h((wz,Um)=>{"use strict";var OP=Ft();Um.exports=Array.isArray||function(t){return OP(t)==="Array"}});var Ro=h((Iz,Jm)=>{"use strict";var NP=qe(),DP=NP("toStringTag"),Bm={};Bm[DP]="z";Jm.exports=String(Bm)==="[object z]"});var Kr=h((Ez,$m)=>{"use strict";var qP=Ro(),LP=Te(),Oo=Ft(),FP=qe(),MP=FP("toStringTag"),jP=Object,UP=Oo(function(){return arguments}())==="Arguments",BP=function(e,t){try{return e[t]}catch(r){}};$m.exports=qP?Oo:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=BP(t=jP(e),MP))=="string"?r:UP?Oo(t):(n=Oo(t))==="Object"&&LP(t.callee)?"Arguments":n}});var zm=h((xz,Hm)=>{"use strict";var JP=ve(),$P=Te(),pc=Gn(),HP=JP(Function.toString);$P(pc.inspectSource)||(pc.inspectSource=function(e){return HP(e)});Hm.exports=pc.inspectSource});var mc=h((Sz,Ym)=>{"use strict";var zP=ve(),VP=oe(),Vm=Te(),GP=Kr(),WP=Jr(),KP=zm(),Gm=function(){},Wm=WP("Reflect","construct"),hc=/^\s*(?:class|function)\b/,YP=zP(hc.exec),QP=!hc.test(Gm),Zn=function(t){if(!Vm(t))return!1;try{return Wm(Gm,[],t),!0}catch(r){return!1}},Km=function(t){if(!Vm(t))return!1;switch(GP(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return QP||!!YP(hc,KP(t))}catch(r){return!0}};Km.sham=!0;Ym.exports=!Wm||VP(function(){var e;return Zn(Zn.call)||!Zn(Object)||!Zn(function(){e=!0})||e})?Km:Zn});var ev=h((Az,Zm)=>{"use strict";var Qm=Xn(),XP=mc(),ZP=Ie(),eC=qe(),tC=eC("species"),Xm=Array;Zm.exports=function(e){var t;return Qm(e)&&(t=e.constructor,XP(t)&&(t===Xm||Qm(t.prototype))?t=void 0:ZP(t)&&(t=t[tC],t===null&&(t=void 0))),t===void 0?Xm:t}});var vc=h((kz,tv)=>{"use strict";var rC=ev();tv.exports=function(e,t){return new(rC(e))(t===0?0:t)}});var ir=h((Tz,nv)=>{"use strict";var nC=Kn(),iC=ve(),oC=xo(),aC=Hr(),sC=Wr(),lC=vc(),rv=iC([].push),nr=function(e){var t=e===1,r=e===2,n=e===3,i=e===4,o=e===6,a=e===7,s=e===5||o;return function(l,c,d,u){for(var p=aC(l),f=oC(p),m=sC(f),v=nC(c,d),y=0,g=u||lC,_=t?g(l,m):r||a?g(l,0):void 0,w,k;m>y;y++)if((s||y in f)&&(w=f[y],k=v(w,y,p),e))if(t)_[y]=k;else if(k)switch(e){case 3:return!0;case 5:return w;case 6:return y;case 2:rv(_,w)}else switch(e){case 4:return!1;case 7:rv(_,w)}return o?-1:n||i?i:_}};nv.exports={forEach:nr(0),map:nr(1),filter:nr(2),some:nr(3),every:nr(4),find:nr(5),findIndex:nr(6),filterReject:nr(7)}});var ei=h((Pz,iv)=>{"use strict";var cC=oe(),uC=qe(),dC=ko(),fC=uC("species");iv.exports=function(e){return dC>=51||!cC(function(){var t=[],r=t.constructor={};return r[fC]=function(){return{foo:1}},t[e](Boolean).foo!==1})}});var ov=h(()=>{"use strict";var pC=V(),hC=ir().filter,mC=ei(),vC=mC("filter");pC({target:"Array",proto:!0,forced:!vC},{filter:function(t){return hC(this,t,arguments.length>1?arguments[1]:void 0)}})});var it=h((Oz,av)=>{"use strict";var gC=ae(),yC=It();av.exports=function(e,t){var r=yC[e+"Prototype"],n=r&&r[t];if(n)return n;var i=gC[e],o=i&&i.prototype;return o&&o[t]}});var lv=h((Nz,sv)=>{"use strict";ov();var _C=it();sv.exports=_C("Array","filter")});var uv=h((Dz,cv)=>{"use strict";var bC=Je(),wC=lv(),gc=Array.prototype;cv.exports=function(e){var t=e.filter;return e===gc||bC(gc,e)&&t===gc.filter?wC:t}});var fv=h((qz,dv)=>{"use strict";var IC=uv();dv.exports=IC});var hv=h((Lz,pv)=>{pv.exports=fv()});var ti=h((Fz,mv)=>{"use strict";var EC=oe();mv.exports=function(e,t){var r=[][e];return!!r&&EC(function(){r.call(null,t||function(){return 1},1)})}});var vv=h(()=>{"use strict";var xC=V(),SC=ir().every,AC=ti(),kC=AC("every");xC({target:"Array",proto:!0,forced:!kC},{every:function(t){return SC(this,t,arguments.length>1?arguments[1]:void 0)}})});var yv=h((Uz,gv)=>{"use strict";vv();var TC=it();gv.exports=TC("Array","every")});var bv=h((Bz,_v)=>{"use strict";var PC=Je(),CC=yv(),yc=Array.prototype;_v.exports=function(e){var t=e.every;return e===yc||PC(yc,e)&&t===yc.every?CC:t}});var Iv=h((Jz,wv)=>{"use strict";var RC=bv();wv.exports=RC});var xv=h(($z,Ev)=>{Ev.exports=Iv()});var Av=h((Hz,Sv)=>{"use strict";var OC=ir().forEach,NC=ti(),DC=NC("forEach");Sv.exports=DC?[].forEach:function(t){return OC(this,t,arguments.length>1?arguments[1]:void 0)}});var Tv=h(()=>{"use strict";var qC=V(),kv=Av();qC({target:"Array",proto:!0,forced:[].forEach!==kv},{forEach:kv})});var Cv=h((Gz,Pv)=>{"use strict";Tv();var LC=it();Pv.exports=LC("Array","forEach")});var Ov=h((Wz,Rv)=>{"use strict";var FC=Cv();Rv.exports=FC});var Nv=h(()=>{});var qv=h((Qz,Dv)=>{"use strict";var MC=Kr(),jC=Qe(),UC=Je(),BC=Ov();Nv();var _c=Array.prototype,JC={DOMTokenList:!0,NodeList:!0};Dv.exports=function(e){var t=e.forEach;return e===_c||UC(_c,e)&&t===_c.forEach||jC(JC,MC(e))?BC:t}});var Fv=h((Xz,Lv)=>{Lv.exports=qv()});var jv=h((Zz,Mv)=>{"use strict";var $C=TypeError,HC=9007199254740991;Mv.exports=function(e){if(e>HC)throw $C("Maximum allowed index exceeded");return e}});var bc=h((eV,Uv)=>{"use strict";var zC=$e(),VC=jt(),GC=zn();Uv.exports=function(e,t,r){zC?VC.f(e,t,GC(0,r)):e[t]=r}});var Hv=h(()=>{"use strict";var WC=V(),KC=oe(),YC=Xn(),QC=Ie(),XC=Hr(),ZC=Wr(),Bv=jv(),Jv=bc(),eR=vc(),tR=ei(),rR=qe(),nR=ko(),$v=rR("isConcatSpreadable"),iR=nR>=51||!KC(function(){var e=[];return e[$v]=!1,e.concat()[0]!==e}),oR=function(e){if(!QC(e))return!1;var t=e[$v];return t!==void 0?!!t:YC(e)},aR=!iR||!tR("concat");WC({target:"Array",proto:!0,arity:1,forced:aR},{concat:function(t){var r=XC(this),n=eR(r,0),i=0,o,a,s,l,c;for(o=-1,s=arguments.length;o<s;o++)if(c=o===-1?r:arguments[o],oR(c))for(l=ZC(c),Bv(i+l),a=0;a<l;a++,i++)a in c&&Jv(n,i,c[a]);else Bv(i+1),Jv(n,i++,c);return n.length=i,n}})});var Vv=h((nV,zv)=>{"use strict";Hv();var sR=it();zv.exports=sR("Array","concat")});var Wv=h((iV,Gv)=>{"use strict";var lR=Je(),cR=Vv(),wc=Array.prototype;Gv.exports=function(e){var t=e.concat;return e===wc||lR(wc,e)&&t===wc.concat?cR:t}});var Yv=h((oV,Kv)=>{"use strict";var uR=Wv();Kv.exports=uR});var Xv=h((aV,Qv)=>{Qv.exports=Yv()});var Zv=h(()=>{"use strict";var dR=V(),fR=ir().some,pR=ti(),hR=pR("some");dR({target:"Array",proto:!0,forced:!hR},{some:function(t){return fR(this,t,arguments.length>1?arguments[1]:void 0)}})});var tg=h((cV,eg)=>{"use strict";Zv();var mR=it();eg.exports=mR("Array","some")});var ng=h((uV,rg)=>{"use strict";var vR=Je(),gR=tg(),Ic=Array.prototype;rg.exports=function(e){var t=e.some;return e===Ic||vR(Ic,e)&&t===Ic.some?gR:t}});var og=h((dV,ig)=>{"use strict";var yR=ng();ig.exports=yR});var sg=h((fV,ag)=>{ag.exports=og()});var cg=h((pV,lg)=>{"use strict";var ri=ae(),_R=So(),bR=Ft(),No=function(e){return _R.slice(0,e.length)===e};lg.exports=function(){return No("Bun/")?"BUN":No("Cloudflare-Workers")?"CLOUDFLARE":No("Deno/")?"DENO":No("Node.js/")?"NODE":ri.Bun&&typeof Bun.version=="string"?"BUN":ri.Deno&&typeof Deno.version=="object"?"DENO":bR(ri.process)==="process"?"NODE":ri.window&&ri.document?"BROWSER":"REST"}()});var ni=h((hV,ug)=>{"use strict";var wR=ve();ug.exports=wR([].slice)});var fg=h((mV,dg)=>{"use strict";var IR=TypeError;dg.exports=function(e,t){if(e<t)throw new IR("Not enough arguments");return e}});var Ec=h((vV,hg)=>{"use strict";var pg=ae(),ER=Bl(),xR=Te(),SR=cg(),AR=So(),kR=ni(),TR=fg(),PR=pg.Function,CR=/MSIE .\./.test(AR)||SR==="BUN"&&function(){var e=pg.Bun.version.split(".");return e.length<3||e[0]==="0"&&(e[1]<3||e[1]==="3"&&e[2]==="0")}();hg.exports=function(e,t){var r=t?2:1;return CR?function(n,i){var o=TR(arguments.length,1)>r,a=xR(n)?n:PR(n),s=o?kR(arguments,r):[],l=o?function(){ER(a,this,s)}:a;return t?e(l,i):e(l)}:e}});var gg=h(()=>{"use strict";var RR=V(),vg=ae(),OR=Ec(),mg=OR(vg.setInterval,!0);RR({global:!0,bind:!0,forced:vg.setInterval!==mg},{setInterval:mg})});var bg=h(()=>{"use strict";var NR=V(),_g=ae(),DR=Ec(),yg=DR(_g.setTimeout,!0);NR({global:!0,bind:!0,forced:_g.setTimeout!==yg},{setTimeout:yg})});var wg=h(()=>{"use strict";gg();bg()});var Eg=h((EV,Ig)=>{"use strict";wg();var qR=It();Ig.exports=qR.setTimeout});var Sg=h((xV,xg)=>{xg.exports=Eg()});function oi(e,t){ce.__h&&ce.__h(X,e,ii||t),ii=0;var r=X.__H||(X.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function qo(e){return ii=1,qg(Lg,e)}function qg(e,t,r){var n=oi(Ar++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Lg(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=X,!X.__f)){var i=function(s,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,s,l,c);var u=n.__c.props!==s;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(u=!0)}}),o&&o.call(this,s,l,c)||u};X.__f=!0;var o=X.shouldComponentUpdate,a=X.componentWillUpdate;X.componentWillUpdate=function(s,l,c){if(this.__e){var d=o;o=void 0,i(s,l,c),o=d}a&&a.call(this,s,l,c)},X.shouldComponentUpdate=i}return n.__N||n.__}function ai(e,t){var r=oi(Ar++,3);!ce.__s&&Ac(r.__H,t)&&(r.__=e,r.u=t,X.__H.__h.push(r))}function Yr(e,t){var r=oi(Ar++,4);!ce.__s&&Ac(r.__H,t)&&(r.__=e,r.u=t,X.__h.push(r))}function si(e){return ii=5,li(function(){return{current:e}},[])}function li(e,t){var r=oi(Ar++,7);return Ac(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Qr(e,t){return ii=8,li(function(){return e},t)}function Xr(e){var t=X.context[e.__c],r=oi(Ar++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(X)),t.props.value):e.__}function LR(){for(var e;e=Dg.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Do),e.__H.__h.forEach(Sc),e.__H.__h=[]}catch(t){e.__H.__h=[],ce.__e(t,e.__v)}}function FR(e){var t,r=function(){clearTimeout(n),Ng&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Ng&&(t=requestAnimationFrame(r))}function Do(e){var t=X,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),X=t}function Sc(e){var t=X;e.__c=e.__(),X=t}function Ac(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Lg(e,t){return typeof t=="function"?t(e):t}var Ar,X,xc,Ag,ii,Dg,ce,kg,Tg,Pg,Cg,Rg,Og,Ng,kc=T(()=>{Ur();ii=0,Dg=[],ce=O,kg=ce.__b,Tg=ce.__r,Pg=ce.diffed,Cg=ce.__c,Rg=ce.unmount,Og=ce.__;ce.__b=function(e){X=null,kg&&kg(e)},ce.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Og&&Og(e,t)},ce.__r=function(e){Tg&&Tg(e),Ar=0;var t=(X=e.__c).__H;t&&(xc===X?(t.__h=[],X.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Do),t.__h.forEach(Sc),t.__h=[],Ar=0)),xc=X},ce.diffed=function(e){Pg&&Pg(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Dg.push(t)!==1&&Ag===ce.requestAnimationFrame||((Ag=ce.requestAnimationFrame)||FR)(LR)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),xc=X=null},ce.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Do),r.__h=r.__h.filter(function(n){return!n.__||Sc(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],ce.__e(n,r.__v)}}),Cg&&Cg(e,t)},ce.unmount=function(e){Rg&&Rg(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Do(n)}catch(i){t=i}}),r.__H=void 0,t&&ce.__e(t,r.__v))};Ng=typeof requestAnimationFrame=="function"});function Vg(e,t){for(var r in t)e[r]=t[r];return e}function Pc(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Fg(e,t){this.props=e,this.context=t}function Rc(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:Pc(this.props,i)}function n(i){return this.shouldComponentUpdate=r,De(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}function Oc(e){function t(r){var n=Vg({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=MR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function Gg(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Vg({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Gg(n,t,r)})),e}function Wg(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Wg(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Tc(){this.__u=0,this.o=null,this.__b=null}function Kg(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Lo(){this.i=null,this.l=null}function Nc(e,t,r){return t.__k==null&&(t.textContent=""),tr(e,t),typeof r=="function"&&r(),e?e.__c:null}function VR(){}function GR(){return this.cancelBubble}function WR(){return this.defaultPrevented}var Cc,Mg,MR,jR,jg,Ug,UR,BR,JR,$R,HR,zR,Bg,Yg,KR,Jg,$g,Hg,Fo=T(()=>{Ur();Ur();kc();kc();Cc=Yr;(Fg.prototype=new Ke).isPureReactComponent=!0,Fg.prototype.shouldComponentUpdate=function(e,t){return Pc(this.props,e)||Pc(this.state,t)};Mg=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Mg&&Mg(e)};MR=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;jR=O.__e;O.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}jR(e,t,r,n)};jg=O.unmount;O.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),jg&&jg(e)},(Tc.prototype=new Ke).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=Kg(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=Wg(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Tc.prototype.componentWillUnmount=function(){this.o=[]},Tc.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Gg(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&De(Ye,null,e.fallback);return i&&(i.__u&=-33),[De(Ye,null,t.__a?null:e.children),i]};Ug=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};(Lo.prototype=new Ke).__a=function(e){var t=this,r=Kg(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ug(t,e,n)):i()};r?r(o):o()}},Lo.prototype.render=function(e){this.i=null,this.l=new Map;var t=Jn(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},Lo.prototype.componentDidUpdate=Lo.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Ug(e,r,t)})};UR=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,BR=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,JR=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,$R=/[A-Z0-9]/g,HR=typeof document!="undefined",zR=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};Ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});Bg=O.event;O.event=function(e){return Bg&&(e=Bg(e)),e.persist=VR,e.isPropagationStopped=GR,e.isDefaultPrevented=WR,e.nativeEvent=e};KR={enumerable:!1,configurable:!0,get:function(){return this.class}},Jg=O.vnode;O.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var a in r){var s=r[a];if(!(a==="value"&&"defaultValue"in r&&s==null||HR&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||zR(r.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":JR.test(a)&&(a=l):l=a="oninput":o&&BR.test(a)?a=a.replace($R,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&i[a=l]&&(a="oninputCapture"),i[a]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Jn(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Jn(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",KR)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=UR,Jg&&Jg(e)};$g=O.__r;O.__r=function(e){$g&&$g(e),Yg=e.__c};Hg=O.diffed;O.diffed=function(e){Hg&&Hg(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Yg=null}});var qc=h(()=>{"use strict";var QR=V(),Dc=ae();QR({global:!0,forced:Dc.globalThis!==Dc},{globalThis:Dc})});var Qg=h(()=>{"use strict";qc()});var Zg=h((UV,Xg)=>{"use strict";qc();Xg.exports=ae()});var ty=h((BV,ey)=>{"use strict";var XR=Zg();ey.exports=XR});var ny=h((JV,ry)=>{"use strict";var ZR=ty();ry.exports=ZR});var oy=h(($V,iy)=>{"use strict";Qg();var eO=ny();iy.exports=eO});var sy=h((HV,ay)=>{"use strict";ay.exports=oy()});var cy=h((zV,ly)=>{ly.exports=sy()});var uy=h(()=>{"use strict";var tO=V(),rO=Xn();tO({target:"Array",stat:!0},{isArray:rO})});var fy=h((WV,dy)=>{"use strict";uy();var nO=It();dy.exports=nO.Array.isArray});var hy=h((KV,py)=>{"use strict";var iO=fy();py.exports=iO});var vy=h((YV,my)=>{my.exports=hy()});var yy=h((QV,gy)=>{"use strict";gy.exports=function(){}});var kr=h((XV,_y)=>{"use strict";_y.exports={}});var Lc=h((ZV,wy)=>{"use strict";var oO=ae(),aO=Te(),by=oO.WeakMap;wy.exports=aO(by)&&/native code/.test(String(by))});var Mo=h((e9,Ey)=>{"use strict";var sO=ec(),lO=Po(),Iy=sO("keys");Ey.exports=function(e){return Iy[e]||(Iy[e]=lO(e))}});var ci=h((t9,xy)=>{"use strict";xy.exports={}});var Pr=h((r9,ky)=>{"use strict";var cO=Lc(),Ay=ae(),uO=Ie(),dO=Sr(),Fc=Qe(),Mc=Gn(),fO=Mo(),pO=ci(),Sy="Object already initialized",jc=Ay.TypeError,hO=Ay.WeakMap,jo,ui,Uo,mO=function(e){return Uo(e)?ui(e):jo(e,{})},vO=function(e){return function(t){var r;if(!uO(t)||(r=ui(t)).type!==e)throw new jc("Incompatible receiver, "+e+" required");return r}};cO||Mc.state?(dt=Mc.state||(Mc.state=new hO),dt.get=dt.get,dt.has=dt.has,dt.set=dt.set,jo=function(e,t){if(dt.has(e))throw new jc(Sy);return t.facade=e,dt.set(e,t),t},ui=function(e){return dt.get(e)||{}},Uo=function(e){return dt.has(e)}):(Tr=fO("state"),pO[Tr]=!0,jo=function(e,t){if(Fc(e,Tr))throw new jc(Sy);return t.facade=e,dO(e,Tr,t),t},ui=function(e){return Fc(e,Tr)?e[Tr]:{}},Uo=function(e){return Fc(e,Tr)});var dt,Tr;ky.exports={set:jo,get:ui,has:Uo,enforce:mO,getterFor:vO}});var Jc=h((n9,Py)=>{"use strict";var Uc=$e(),gO=Qe(),Ty=Function.prototype,yO=Uc&&Object.getOwnPropertyDescriptor,Bc=gO(Ty,"name"),_O=Bc&&(function(){}).name==="something",bO=Bc&&(!Uc||Uc&&yO(Ty,"name").configurable);Py.exports={EXISTS:Bc,PROPER:_O,CONFIGURABLE:bO}});var $c=h((i9,Cy)=>{"use strict";var wO=Qn(),IO=Math.max,EO=Math.min;Cy.exports=function(e,t){var r=wO(e);return r<0?IO(r+t,0):EO(r,t)}});var Hc=h((o9,Oy)=>{"use strict";var xO=rr(),SO=$c(),AO=Wr(),Ry=function(e){return function(t,r,n){var i=xO(t),o=AO(i);if(o===0)return!e&&-1;var a=SO(n,o),s;if(e&&r!==r){for(;o>a;)if(s=i[a++],s!==s)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===r)return e||a||0;return!e&&-1}};Oy.exports={includes:Ry(!0),indexOf:Ry(!1)}});var Vc=h((a9,Dy)=>{"use strict";var kO=ve(),zc=Qe(),TO=rr(),PO=Hc().indexOf,CO=ci(),Ny=kO([].push);Dy.exports=function(e,t){var r=TO(e),n=0,i=[],o;for(o in r)!zc(CO,o)&&zc(r,o)&&Ny(i,o);for(;t.length>n;)zc(r,o=t[n++])&&(~PO(i,o)||Ny(i,o));return i}});var Bo=h((s9,qy)=>{"use strict";qy.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Gc=h((l9,Ly)=>{"use strict";var RO=Vc(),OO=Bo();Ly.exports=Object.keys||function(t){return RO(t,OO)}});var My=h(Fy=>{"use strict";var NO=$e(),DO=sc(),qO=jt(),LO=Mt(),FO=rr(),MO=Gc();Fy.f=NO&&!DO?Object.defineProperties:function(t,r){LO(t);for(var n=FO(r),i=MO(r),o=i.length,a=0,s;o>a;)qO.f(t,s=i[a++],n[s]);return t}});var Uy=h((u9,jy)=>{"use strict";var jO=Jr();jy.exports=jO("document","documentElement")});var di=h((d9,Gy)=>{"use strict";var UO=Mt(),BO=My(),By=Bo(),JO=ci(),$O=Uy(),HO=ic(),zO=Mo(),Jy=">",$y="<",Kc="prototype",Yc="script",zy=zO("IE_PROTO"),Wc=function(){},Vy=function(e){return $y+Yc+Jy+e+$y+"/"+Yc+Jy},Hy=function(e){e.write(Vy("")),e.close();var t=e.parentWindow.Object;return e=null,t},VO=function(){var e=HO("iframe"),t="java"+Yc+":",r;return e.style.display="none",$O.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(Vy("document.F=Object")),r.close(),r.F},Jo,$o=function(){try{Jo=new ActiveXObject("htmlfile")}catch(t){}$o=typeof document!="undefined"?document.domain&&Jo?Hy(Jo):VO():Hy(Jo);for(var e=By.length;e--;)delete $o[Kc][By[e]];return $o()};JO[zy]=!0;Gy.exports=Object.create||function(t,r){var n;return t!==null?(Wc[Kc]=UO(t),n=new Wc,Wc[Kc]=null,n[zy]=t):n=$o(),r===void 0?n:BO.f(n,r)}});var Ky=h((f9,Wy)=>{"use strict";var GO=oe();Wy.exports=!GO(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Xc=h((p9,Qy)=>{"use strict";var WO=Qe(),KO=Te(),YO=Hr(),QO=Mo(),XO=Ky(),Yy=QO("IE_PROTO"),Qc=Object,ZO=Qc.prototype;Qy.exports=XO?Qc.getPrototypeOf:function(e){var t=YO(e);if(WO(t,Yy))return t[Yy];var r=t.constructor;return KO(r)&&t instanceof r?r.prototype:t instanceof Qc?ZO:null}});var Ho=h((h9,Xy)=>{"use strict";var eN=Sr();Xy.exports=function(e,t,r,n){return n&&n.enumerable?e[t]=r:eN(e,t,r),e}});var ru=h((m9,t_)=>{"use strict";var tN=oe(),rN=Te(),nN=Ie(),iN=di(),Zy=Xc(),oN=Ho(),aN=qe(),sN=$r(),tu=aN("iterator"),e_=!1,Ut,Zc,eu;[].keys&&(eu=[].keys(),"next"in eu?(Zc=Zy(Zy(eu)),Zc!==Object.prototype&&(Ut=Zc)):e_=!0);var lN=!nN(Ut)||tN(function(){var e={};return Ut[tu].call(e)!==e});lN?Ut={}:sN&&(Ut=iN(Ut));rN(Ut[tu])||oN(Ut,tu,function(){return this});t_.exports={IteratorPrototype:Ut,BUGGY_SAFARI_ITERATORS:e_}});var n_=h((v9,r_)=>{"use strict";var cN=Ro(),uN=Kr();r_.exports=cN?{}.toString:function(){return"[object "+uN(this)+"]"}});var fi=h((g9,o_)=>{"use strict";var dN=Ro(),fN=jt().f,pN=Sr(),hN=Qe(),mN=n_(),vN=qe(),i_=vN("toStringTag");o_.exports=function(e,t,r,n){var i=r?e:e&&e.prototype;i&&(hN(i,i_)||fN(i,i_,{configurable:!0,value:t}),n&&!dN&&pN(i,"toString",mN))}});var s_=h((y9,a_)=>{"use strict";var gN=ru().IteratorPrototype,yN=di(),_N=zn(),bN=fi(),wN=kr(),IN=function(){return this};a_.exports=function(e,t,r,n){var i=t+" Iterator";return e.prototype=yN(gN,{next:_N(+!n,r)}),bN(e,i,!1,!0),wN[i]=IN,e}});var c_=h((_9,l_)=>{"use strict";var EN=ve(),xN=xr();l_.exports=function(e,t,r){try{return EN(xN(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}}});var d_=h((b9,u_)=>{"use strict";var SN=Ie();u_.exports=function(e){return SN(e)||e===null}});var p_=h((w9,f_)=>{"use strict";var AN=d_(),kN=String,TN=TypeError;f_.exports=function(e){if(AN(e))return e;throw new TN("Can't set "+kN(e)+" as a prototype")}});var m_=h((I9,h_)=>{"use strict";var PN=c_(),CN=Ie(),RN=Er(),ON=p_();h_.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=PN(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch(n){}return function(i,o){return RN(i),ON(o),CN(i)&&(e?r(i,o):i.__proto__=o),i}}():void 0)});var Go=h((E9,S_)=>{"use strict";var NN=V(),DN=ct(),zo=$r(),E_=Jc(),qN=Te(),LN=s_(),v_=Xc(),g_=m_(),FN=fi(),MN=Sr(),nu=Ho(),jN=qe(),y_=kr(),x_=ru(),UN=E_.PROPER,BN=E_.CONFIGURABLE,__=x_.IteratorPrototype,Vo=x_.BUGGY_SAFARI_ITERATORS,pi=jN("iterator"),b_="keys",hi="values",w_="entries",I_=function(){return this};S_.exports=function(e,t,r,n,i,o,a){LN(r,t,n);var s=function(g){if(g===i&&p)return p;if(!Vo&&g&&g in d)return d[g];switch(g){case b_:return function(){return new r(this,g)};case hi:return function(){return new r(this,g)};case w_:return function(){return new r(this,g)}}return function(){return new r(this)}},l=t+" Iterator",c=!1,d=e.prototype,u=d[pi]||d["@@iterator"]||i&&d[i],p=!Vo&&u||s(i),f=t==="Array"&&d.entries||u,m,v,y;if(f&&(m=v_(f.call(new e)),m!==Object.prototype&&m.next&&(!zo&&v_(m)!==__&&(g_?g_(m,__):qN(m[pi])||nu(m,pi,I_)),FN(m,l,!0,!0),zo&&(y_[l]=I_))),UN&&i===hi&&u&&u.name!==hi&&(!zo&&BN?MN(d,"name",hi):(c=!0,p=function(){return DN(u,this)})),i)if(v={values:s(hi),keys:o?p:s(b_),entries:s(w_)},a)for(y in v)(Vo||c||!(y in d))&&nu(d,y,v[y]);else NN({target:t,proto:!0,forced:Vo||c},v);return(!zo||a)&&d[pi]!==p&&nu(d,pi,p,{name:i}),y_[t]=p,v}});var Wo=h((x9,A_)=>{"use strict";A_.exports=function(e,t){return{value:e,done:t}}});var Yo=h((S9,R_)=>{"use strict";var JN=rr(),iu=yy(),k_=kr(),P_=Pr(),$N=jt().f,HN=Go(),Ko=Wo(),zN=$r(),VN=$e(),C_="Array Iterator",GN=P_.set,WN=P_.getterFor(C_);R_.exports=HN(Array,"Array",function(e,t){GN(this,{type:C_,target:JN(e),index:0,kind:t})},function(){var e=WN(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Ko(void 0,!0);switch(e.kind){case"keys":return Ko(r,!1);case"values":return Ko(t[r],!1)}return Ko([r,t[r]],!1)},"values");var T_=k_.Arguments=k_.Array;iu("keys");iu("values");iu("entries");if(!zN&&VN&&T_.name!=="values")try{$N(T_,"name",{value:"values"})}catch(e){}});var ou=h(()=>{});var au=h((T9,O_)=>{"use strict";var KN=oe();O_.exports=!KN(function(){return Object.isExtensible(Object.preventExtensions({}))})});var Qo=h((P9,N_)=>{"use strict";var YN=Ho();N_.exports=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:YN(e,n,t[n],r);return e}});var su=h(D_=>{"use strict";var QN=Vc(),XN=Bo(),ZN=XN.concat("length","prototype");D_.f=Object.getOwnPropertyNames||function(t){return QN(t,ZN)}});var M_=h((R9,F_)=>{"use strict";var eD=Ft(),tD=rr(),q_=su().f,rD=ni(),L_=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nD=function(e){try{return q_(e)}catch(t){return rD(L_)}};F_.exports.f=function(t){return L_&&eD(t)==="Window"?nD(t):q_(tD(t))}});var U_=h((O9,j_)=>{"use strict";var iD=oe();j_.exports=iD(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})});var $_=h((N9,J_)=>{"use strict";var oD=oe(),aD=Ie(),sD=Ft(),B_=U_(),Xo=Object.isExtensible,lD=oD(function(){Xo(1)});J_.exports=lD||B_?function(t){return!aD(t)||B_&&sD(t)==="ArrayBuffer"?!1:Xo?Xo(t):!0}:Xo});var mi=h((D9,V_)=>{"use strict";var cD=V(),uD=ve(),dD=ci(),fD=Ie(),lu=Qe(),pD=jt().f,H_=su(),hD=M_(),cu=$_(),mD=Po(),vD=au(),z_=!1,Bt=mD("meta"),gD=0,uu=function(e){pD(e,Bt,{value:{objectID:"O"+gD++,weakData:{}}})},yD=function(e,t){if(!fD(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!lu(e,Bt)){if(!cu(e))return"F";if(!t)return"E";uu(e)}return e[Bt].objectID},_D=function(e,t){if(!lu(e,Bt)){if(!cu(e))return!0;if(!t)return!1;uu(e)}return e[Bt].weakData},bD=function(e){return vD&&z_&&cu(e)&&!lu(e,Bt)&&uu(e),e},wD=function(){ID.enable=function(){},z_=!0;var e=H_.f,t=uD([].splice),r={};r[Bt]=1,e(r).length&&(H_.f=function(n){for(var i=e(n),o=0,a=i.length;o<a;o++)if(i[o]===Bt){t(i,o,1);break}return i},cD({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:hD.f}))},ID=V_.exports={enable:wD,fastKey:yD,getWeakData:_D,onFreeze:bD};dD[Bt]=!0});var W_=h((q9,G_)=>{"use strict";var ED=qe(),xD=kr(),SD=ED("iterator"),AD=Array.prototype;G_.exports=function(e){return e!==void 0&&(xD.Array===e||AD[SD]===e)}});var du=h((L9,Y_)=>{"use strict";var kD=Kr(),K_=To(),TD=Ir(),PD=kr(),CD=qe(),RD=CD("iterator");Y_.exports=function(e){if(!TD(e))return K_(e,RD)||K_(e,"@@iterator")||PD[kD(e)]}});var X_=h((F9,Q_)=>{"use strict";var OD=ct(),ND=xr(),DD=Mt(),qD=Vn(),LD=du(),FD=TypeError;Q_.exports=function(e,t){var r=arguments.length<2?LD(e):t;if(ND(r))return DD(OD(r,e));throw new FD(qD(e)+" is not iterable")}});var Zo=h((M9,eb)=>{"use strict";var MD=ct(),Z_=Mt(),jD=To();eb.exports=function(e,t,r){var n,i;Z_(e);try{if(n=jD(e,"return"),!n){if(t==="throw")throw r;return r}n=MD(n,e)}catch(o){i=!0,n=o}if(t==="throw")throw r;if(i)throw n;return Z_(n),r}});var ta=h((j9,ib)=>{"use strict";var UD=Kn(),BD=ct(),JD=Mt(),$D=Vn(),HD=W_(),zD=Wr(),tb=Je(),VD=X_(),GD=du(),rb=Zo(),WD=TypeError,ea=function(e,t){this.stopped=e,this.result=t},nb=ea.prototype;ib.exports=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),o=!!(r&&r.IS_RECORD),a=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),l=UD(t,n),c,d,u,p,f,m,v,y=function(_){return c&&rb(c,"normal",_),new ea(!0,_)},g=function(_){return i?(JD(_),s?l(_[0],_[1],y):l(_[0],_[1])):s?l(_,y):l(_)};if(o)c=e.iterator;else if(a)c=e;else{if(d=GD(e),!d)throw new WD($D(e)+" is not iterable");if(HD(d)){for(u=0,p=zD(e);p>u;u++)if(f=g(e[u]),f&&tb(nb,f))return f;return new ea(!1)}c=VD(e,d)}for(m=o?e.next:c.next;!(v=BD(m,c)).done;){try{f=g(v.value)}catch(_){rb(c,"throw",_)}if(typeof f=="object"&&f&&tb(nb,f))return f}return new ea(!1)}});var ra=h((U9,ob)=>{"use strict";var KD=Je(),YD=TypeError;ob.exports=function(e,t){if(KD(t,e))return e;throw new YD("Incorrect invocation")}});var fu=h((B9,sb)=>{"use strict";var QD=V(),XD=ae(),ZD=mi(),eq=oe(),tq=Sr(),rq=ta(),nq=ra(),iq=Te(),oq=Ie(),aq=Ir(),sq=fi(),lq=jt().f,cq=ir().forEach,uq=$e(),ab=Pr(),dq=ab.set,fq=ab.getterFor;sb.exports=function(e,t,r){var n=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=n?"set":"add",a=XD[e],s=a&&a.prototype,l={},c;if(!uq||!iq(a)||!(i||s.forEach&&!eq(function(){new a().entries().next()})))c=r.getConstructor(t,e,n,o),ZD.enable();else{c=t(function(p,f){dq(nq(p,d),{type:e,collection:new a}),aq(f)||rq(f,p[o],{that:p,AS_ENTRIES:n})});var d=c.prototype,u=fq(e);cq(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(p){var f=p==="add"||p==="set";p in s&&!(i&&p==="clear")&&tq(d,p,function(m,v){var y=u(this).collection;if(!f&&i&&!oq(m))return p==="get"?void 0:!1;var g=y[p](m===0?0:m,v);return f?this:g})}),i||lq(d,"size",{configurable:!0,get:function(){return u(this).collection.size}})}return sq(c,e,!1,!0),l[e]=c,QD({global:!0,forced:!0},l),i||r.setStrong(c,e,n),c}});var hb=h((J9,pb)=>{"use strict";var pq=ve(),lb=Qo(),na=mi().getWeakData,hq=ra(),mq=Mt(),vq=Ir(),pu=Ie(),gq=ta(),ub=ir(),cb=Qe(),db=Pr(),yq=db.set,_q=db.getterFor,bq=ub.find,wq=ub.findIndex,Iq=pq([].splice),Eq=0,ia=function(e){return e.frozen||(e.frozen=new fb)},fb=function(){this.entries=[]},hu=function(e,t){return bq(e.entries,function(r){return r[0]===t})};fb.prototype={get:function(e){var t=hu(this,e);if(t)return t[1]},has:function(e){return!!hu(this,e)},set:function(e,t){var r=hu(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=wq(this.entries,function(r){return r[0]===e});return~t&&Iq(this.entries,t,1),!!~t}};pb.exports={getConstructor:function(e,t,r,n){var i=e(function(l,c){hq(l,o),yq(l,{type:t,id:Eq++,frozen:null}),vq(c)||gq(c,l[n],{that:l,AS_ENTRIES:r})}),o=i.prototype,a=_q(t),s=function(l,c,d){var u=a(l),p=na(mq(c),!0);return p===!0?ia(u).set(c,d):p[u.id]=d,l};return lb(o,{delete:function(l){var c=a(this);if(!pu(l))return!1;var d=na(l);return d===!0?ia(c).delete(l):d&&cb(d,c.id)&&delete d[c.id]},has:function(c){var d=a(this);if(!pu(c))return!1;var u=na(c);return u===!0?ia(d).has(c):u&&cb(u,d.id)}}),lb(o,r?{get:function(c){var d=a(this);if(pu(c)){var u=na(c);if(u===!0)return ia(d).get(c);if(u)return u[d.id]}},set:function(c,d){return s(this,c,d)}}:{add:function(c){return s(this,c,!0)}}),i}}});var Ib=h(()=>{"use strict";var xq=au(),mb=ae(),la=ve(),vb=Qo(),Sq=mi(),Aq=fu(),gb=hb(),oa=Ie(),aa=Pr().enforce,kq=oe(),Tq=Lc(),_i=Object,Pq=Array.isArray,sa=_i.isExtensible,yb=_i.isFrozen,Cq=_i.isSealed,_b=_i.freeze,Rq=_i.seal,Oq=!mb.ActiveXObject&&"ActiveXObject"in mb,gi,bb=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wb=Aq("WeakMap",bb,gb),Zr=wb.prototype,ca=la(Zr.set),Nq=function(){return xq&&kq(function(){var e=_b([]);return ca(new wb,e,1),!yb(e)})};Tq&&(Oq?(gi=gb.getConstructor(bb,"WeakMap",!0),Sq.enable(),mu=la(Zr.delete),yi=la(Zr.has),vu=la(Zr.get),vb(Zr,{delete:function(e){if(oa(e)&&!sa(e)){var t=aa(this);return t.frozen||(t.frozen=new gi),mu(this,e)||t.frozen.delete(e)}return mu(this,e)},has:function(t){if(oa(t)&&!sa(t)){var r=aa(this);return r.frozen||(r.frozen=new gi),yi(this,t)||r.frozen.has(t)}return yi(this,t)},get:function(t){if(oa(t)&&!sa(t)){var r=aa(this);return r.frozen||(r.frozen=new gi),yi(this,t)?vu(this,t):r.frozen.get(t)}return vu(this,t)},set:function(t,r){if(oa(t)&&!sa(t)){var n=aa(this);n.frozen||(n.frozen=new gi),yi(this,t)?ca(this,t,r):n.frozen.set(t,r)}else ca(this,t,r);return this}})):Nq()&&vb(Zr,{set:function(t,r){var n;return Pq(t)&&(yb(t)?n=_b:Cq(t)&&(n=Rq)),ca(this,t,r),n&&n(t),this}}));var mu,yi,vu});var Eb=h(()=>{"use strict";Ib()});var Sb=h((G9,xb)=>{"use strict";Yo();ou();Eb();var Dq=It();xb.exports=Dq.WeakMap});var kb=h((W9,Ab)=>{"use strict";Ab.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var gu=h(()=>{"use strict";Yo();var qq=kb(),Lq=ae(),Fq=fi(),Tb=kr();for(ua in qq)Fq(Lq[ua],ua),Tb[ua]=Tb.Array;var ua});var Cb=h((Q9,Pb)=>{"use strict";var Mq=Sb();gu();Pb.exports=Mq});var Ob=h((X9,Rb)=>{Rb.exports=Cb()});var Db=h(()=>{"use strict";var jq=V(),Uq=Hn(),Bq=Hc().indexOf,Jq=ti(),yu=Uq([].indexOf),Nb=!!yu&&1/yu([1],1,-0)<0,$q=Nb||!Jq("indexOf");jq({target:"Array",proto:!0,forced:$q},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return Nb?yu(this,t,r)||0:Bq(this,t,r)}})});var Lb=h((t6,qb)=>{"use strict";Db();var Hq=it();qb.exports=Hq("Array","indexOf")});var Mb=h((r6,Fb)=>{"use strict";var zq=Je(),Vq=Lb(),_u=Array.prototype;Fb.exports=function(e){var t=e.indexOf;return e===_u||zq(_u,e)&&t===_u.indexOf?Vq:t}});var Ub=h((n6,jb)=>{"use strict";var Gq=Mb();jb.exports=Gq});var Jb=h((i6,Bb)=>{Bb.exports=Ub()});var $b=h(()=>{"use strict";var Wq=V(),Kq=ir().map,Yq=ei(),Qq=Yq("map");Wq({target:"Array",proto:!0,forced:!Qq},{map:function(t){return Kq(this,t,arguments.length>1?arguments[1]:void 0)}})});var zb=h((s6,Hb)=>{"use strict";$b();var Xq=it();Hb.exports=Xq("Array","map")});var Gb=h((l6,Vb)=>{"use strict";var Zq=Je(),eL=zb(),bu=Array.prototype;Vb.exports=function(e){var t=e.map;return e===bu||Zq(bu,e)&&t===bu.map?eL:t}});var Kb=h((c6,Wb)=>{"use strict";var tL=Gb();Wb.exports=tL});var Qb=h((u6,Yb)=>{Yb.exports=Kb()});var Xb=h(()=>{"use strict";var rL=V(),nL=$e(),iL=di();rL({target:"Object",stat:!0,sham:!nL},{create:iL})});var e0=h((p6,Zb)=>{"use strict";Xb();var oL=It(),aL=oL.Object;Zb.exports=function(t,r){return aL.create(t,r)}});var r0=h((h6,t0)=>{"use strict";var sL=e0();t0.exports=sL});var i0=h((m6,n0)=>{n0.exports=r0()});var wu=h((v6,o0)=>{"use strict";var lL=jt();o0.exports=function(e,t,r){return lL.f(e,t,r)}});var l0=h((g6,s0)=>{"use strict";var cL=Jr(),uL=wu(),dL=qe(),fL=$e(),a0=dL("species");s0.exports=function(e){var t=cL(e);fL&&t&&!t[a0]&&uL(t,a0,{configurable:!0,get:function(){return this}})}});var m0=h((y6,h0)=>{"use strict";var c0=di(),pL=wu(),u0=Qo(),hL=Kn(),mL=ra(),vL=Ir(),gL=ta(),yL=Go(),da=Wo(),_L=l0(),bi=$e(),d0=mi().fastKey,p0=Pr(),f0=p0.set,Iu=p0.getterFor;h0.exports={getConstructor:function(e,t,r,n){var i=e(function(c,d){mL(c,o),f0(c,{type:t,index:c0(null),first:null,last:null,size:0}),bi||(c.size=0),vL(d)||gL(d,c[n],{that:c,AS_ENTRIES:r})}),o=i.prototype,a=Iu(t),s=function(c,d,u){var p=a(c),f=l(c,d),m,v;return f?f.value=u:(p.last=f={index:v=d0(d,!0),key:d,value:u,previous:m=p.last,next:null,removed:!1},p.first||(p.first=f),m&&(m.next=f),bi?p.size++:c.size++,v!=="F"&&(p.index[v]=f)),c},l=function(c,d){var u=a(c),p=d0(d),f;if(p!=="F")return u.index[p];for(f=u.first;f;f=f.next)if(f.key===d)return f};return u0(o,{clear:function(){for(var d=this,u=a(d),p=u.first;p;)p.removed=!0,p.previous&&(p.previous=p.previous.next=null),p=p.next;u.first=u.last=null,u.index=c0(null),bi?u.size=0:d.size=0},delete:function(c){var d=this,u=a(d),p=l(d,c);if(p){var f=p.next,m=p.previous;delete u.index[p.index],p.removed=!0,m&&(m.next=f),f&&(f.previous=m),u.first===p&&(u.first=f),u.last===p&&(u.last=m),bi?u.size--:d.size--}return!!p},forEach:function(d){for(var u=a(this),p=hL(d,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:u.first;)for(p(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(d){return!!l(this,d)}}),u0(o,r?{get:function(d){var u=l(this,d);return u&&u.value},set:function(d,u){return s(this,d===0?0:d,u)}}:{add:function(d){return s(this,d=d===0?0:d,d)}}),bi&&pL(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,r){var n=t+" Iterator",i=Iu(t),o=Iu(n);yL(e,t,function(a,s){f0(this,{type:n,target:a,state:i(a),kind:s,last:null})},function(){for(var a=o(this),s=a.kind,l=a.last;l&&l.removed;)l=l.previous;return!a.target||!(a.last=l=l?l.next:a.state.first)?(a.target=null,da(void 0,!0)):da(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),_L(t)}}});var v0=h(()=>{"use strict";var bL=fu(),wL=m0();bL("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wL)});var g0=h(()=>{"use strict";v0()});var or=h((E6,y0)=>{"use strict";var IL=Vn(),EL=TypeError;y0.exports=function(e){if(typeof e=="object"&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw new EL(IL(e)+" is not a set")}});var b0=h((x6,_0)=>{"use strict";_0.exports=function(e,t){return t===1?function(r,n){return r[e](n)}:function(r,n,i){return r[e](n,i)}}});var ar=h((S6,I0)=>{"use strict";var xL=Jr(),Eu=b0(),w0=xL("Set"),SL=w0.prototype;I0.exports={Set:w0,add:Eu("add",1),has:Eu("has",1),remove:Eu("delete",1),proto:SL}});var sr=h((A6,E0)=>{"use strict";var AL=ct();E0.exports=function(e,t,r){for(var n=r?e:e.iterator,i=e.next,o,a;!(o=AL(i,n)).done;)if(a=t(o.value),a!==void 0)return a}});var en=h((k6,x0)=>{"use strict";var kL=sr();x0.exports=function(e,t,r){return r?kL(e.keys(),t,!0):e.forEach(t)}});var fa=h((T6,A0)=>{"use strict";var S0=ar(),TL=en(),PL=S0.Set,CL=S0.add;A0.exports=function(e){var t=new PL;return TL(e,function(r){CL(t,r)}),t}});var tn=h((P6,k0)=>{"use strict";k0.exports=function(e){return e.size}});var P0=h((C6,T0)=>{"use strict";T0.exports=function(e){return{iterator:e,next:e.next,done:!1}}});var lr=h((R6,q0)=>{"use strict";var C0=xr(),N0=Mt(),R0=ct(),RL=Qn(),OL=P0(),O0="Invalid size",NL=RangeError,DL=TypeError,qL=Math.max,D0=function(e,t){this.set=e,this.size=qL(t,0),this.has=C0(e.has),this.keys=C0(e.keys)};D0.prototype={getIterator:function(){return OL(N0(R0(this.keys,this.set)))},includes:function(e){return R0(this.has,this.set,e)}};q0.exports=function(e){N0(e);var t=+e.size;if(t!==t)throw new DL(O0);var r=RL(t);if(r<0)throw new NL(O0);return new D0(e,r)}});var j0=h((O6,M0)=>{"use strict";var LL=or(),F0=ar(),FL=fa(),ML=tn(),jL=lr(),UL=en(),BL=sr(),JL=F0.has,L0=F0.remove;M0.exports=function(t){var r=LL(this),n=jL(t),i=FL(r);return ML(r)<=n.size?UL(r,function(o){n.includes(o)&&L0(i,o)}):BL(n.getIterator(),function(o){JL(r,o)&&L0(i,o)}),i}});var cr=h((N6,U0)=>{"use strict";U0.exports=function(){return!1}});var B0=h(()=>{"use strict";var $L=V(),HL=j0(),zL=cr(),VL=!zL("difference",function(e){return e.size===0});$L({target:"Set",proto:!0,real:!0,forced:VL},{difference:HL})});var H0=h((L6,$0)=>{"use strict";var GL=or(),xu=ar(),WL=tn(),KL=lr(),YL=en(),QL=sr(),XL=xu.Set,J0=xu.add,ZL=xu.has;$0.exports=function(t){var r=GL(this),n=KL(t),i=new XL;return WL(r)>n.size?QL(n.getIterator(),function(o){ZL(r,o)&&J0(i,o)}):YL(r,function(o){n.includes(o)&&J0(i,o)}),i}});var z0=h(()=>{"use strict";var eF=V(),tF=oe(),rF=H0(),nF=cr(),iF=!nF("intersection",function(e){return e.size===2&&e.has(1)&&e.has(2)})||tF(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});eF({target:"Set",proto:!0,real:!0,forced:iF},{intersection:rF})});var G0=h((j6,V0)=>{"use strict";var oF=or(),aF=ar().has,sF=tn(),lF=lr(),cF=en(),uF=sr(),dF=Zo();V0.exports=function(t){var r=oF(this),n=lF(t);if(sF(r)<=n.size)return cF(r,function(o){if(n.includes(o))return!1},!0)!==!1;var i=n.getIterator();return uF(i,function(o){if(aF(r,o))return dF(i,"normal",!1)})!==!1}});var W0=h(()=>{"use strict";var fF=V(),pF=G0(),hF=cr(),mF=!hF("isDisjointFrom",function(e){return!e});fF({target:"Set",proto:!0,real:!0,forced:mF},{isDisjointFrom:pF})});var Y0=h((J6,K0)=>{"use strict";var vF=or(),gF=tn(),yF=en(),_F=lr();K0.exports=function(t){var r=vF(this),n=_F(t);return gF(r)>n.size?!1:yF(r,function(i){if(!n.includes(i))return!1},!0)!==!1}});var Q0=h(()=>{"use strict";var bF=V(),wF=Y0(),IF=cr(),EF=!IF("isSubsetOf",function(e){return e});bF({target:"Set",proto:!0,real:!0,forced:EF},{isSubsetOf:wF})});var Z0=h((z6,X0)=>{"use strict";var xF=or(),SF=ar().has,AF=tn(),kF=lr(),TF=sr(),PF=Zo();X0.exports=function(t){var r=xF(this),n=kF(t);if(AF(r)<n.size)return!1;var i=n.getIterator();return TF(i,function(o){if(!SF(r,o))return PF(i,"normal",!1)})!==!1}});var ew=h(()=>{"use strict";var CF=V(),RF=Z0(),OF=cr(),NF=!OF("isSupersetOf",function(e){return!e});CF({target:"Set",proto:!0,real:!0,forced:NF},{isSupersetOf:RF})});var rw=h((W6,tw)=>{"use strict";var DF=or(),Su=ar(),qF=fa(),LF=lr(),FF=sr(),MF=Su.add,jF=Su.has,UF=Su.remove;tw.exports=function(t){var r=DF(this),n=LF(t).getIterator(),i=qF(r);return FF(n,function(o){jF(r,o)?UF(i,o):MF(i,o)}),i}});var nw=h(()=>{"use strict";var BF=V(),JF=rw(),$F=cr();BF({target:"Set",proto:!0,real:!0,forced:!$F("symmetricDifference")},{symmetricDifference:JF})});var ow=h((Q6,iw)=>{"use strict";var HF=or(),zF=ar().add,VF=fa(),GF=lr(),WF=sr();iw.exports=function(t){var r=HF(this),n=GF(t).getIterator(),i=VF(r);return WF(n,function(o){zF(i,o)}),i}});var aw=h(()=>{"use strict";var KF=V(),YF=ow(),QF=cr();KF({target:"Set",proto:!0,real:!0,forced:!QF("union")},{union:YF})});var wi=h((eG,sw)=>{"use strict";var XF=Kr(),ZF=String;sw.exports=function(e){if(XF(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return ZF(e)}});var dw=h((tG,uw)=>{"use strict";var Au=ve(),eM=Qn(),tM=wi(),rM=Er(),nM=Au("".charAt),lw=Au("".charCodeAt),iM=Au("".slice),cw=function(e){return function(t,r){var n=tM(rM(t)),i=eM(r),o=n.length,a,s;return i<0||i>=o?e?"":void 0:(a=lw(n,i),a<55296||a>56319||i+1===o||(s=lw(n,i+1))<56320||s>57343?e?nM(n,i):a:e?iM(n,i,i+2):(a-55296<<10)+(s-56320)+65536)}};uw.exports={codeAt:cw(!1),charAt:cw(!0)}});var mw=h(()=>{"use strict";var oM=dw().charAt,aM=wi(),pw=Pr(),sM=Go(),fw=Wo(),hw="String Iterator",lM=pw.set,cM=pw.getterFor(hw);sM(String,"String",function(e){lM(this,{type:hw,string:aM(e),index:0})},function(){var t=cM(this),r=t.string,n=t.index,i;return n>=r.length?fw(void 0,!0):(i=oM(r,n),t.index+=i.length,fw(i,!1))})});var gw=h((iG,vw)=>{"use strict";Yo();ou();g0();B0();z0();W0();Q0();ew();nw();aw();mw();var uM=It();vw.exports=uM.Set});var _w=h((oG,yw)=>{"use strict";var dM=gw();gu();yw.exports=dM});var ww=h((aG,bw)=>{bw.exports=_w()});var Ew=h(Iw=>{"use strict";Iw.f=Object.getOwnPropertySymbols});var kw=h((lG,Aw)=>{"use strict";var xw=$e(),fM=ve(),pM=ct(),hM=oe(),ku=Gc(),mM=Ew(),vM=$l(),gM=Hr(),yM=xo(),rn=Object.assign,Sw=Object.defineProperty,_M=fM([].concat);Aw.exports=!rn||hM(function(){if(xw&&rn({b:1},rn(Sw({},"a",{enumerable:!0,get:function(){Sw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),rn({},e)[r]!==7||ku(rn({},t)).join("")!==n})?function(t,r){for(var n=gM(t),i=arguments.length,o=1,a=mM.f,s=vM.f;i>o;)for(var l=yM(arguments[o++]),c=a?_M(ku(l),a(l)):ku(l),d=c.length,u=0,p;d>u;)p=c[u++],(!xw||pM(s,l,p))&&(n[p]=l[p]);return n}:rn});var Pw=h(()=>{"use strict";var bM=V(),Tw=kw();bM({target:"Object",stat:!0,arity:2,forced:Object.assign!==Tw},{assign:Tw})});var Rw=h((dG,Cw)=>{"use strict";Pw();var wM=It();Cw.exports=wM.Object.assign});var Nw=h((fG,Ow)=>{"use strict";var IM=Rw();Ow.exports=IM});var qw=h((pG,Dw)=>{Dw.exports=Nw()});var Tu=h((hG,Lw)=>{"use strict";Lw.exports=`
20
- \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var jw=h((mG,Mw)=>{"use strict";var EM=ve(),xM=Er(),SM=wi(),Cu=Tu(),Fw=EM("".replace),AM=RegExp("^["+Cu+"]+"),kM=RegExp("(^|[^"+Cu+"])["+Cu+"]+$"),Pu=function(e){return function(t){var r=SM(xM(t));return e&1&&(r=Fw(r,AM,"")),e&2&&(r=Fw(r,kM,"$1")),r}};Mw.exports={start:Pu(1),end:Pu(2),trim:Pu(3)}});var $w=h((vG,Jw)=>{"use strict";var TM=Jc().PROPER,PM=oe(),Uw=Tu(),Bw="\u200B\x85\u180E";Jw.exports=function(e){return PM(function(){return!!Uw[e]()||Bw[e]()!==Bw||TM&&Uw[e].name!==e})}});var Hw=h(()=>{"use strict";var CM=V(),RM=jw().trim,OM=$w();CM({target:"String",proto:!0,forced:OM("trim")},{trim:function(){return RM(this)}})});var Vw=h((_G,zw)=>{"use strict";Hw();var NM=it();zw.exports=NM("String","trim")});var Ww=h((bG,Gw)=>{"use strict";var DM=Je(),qM=Vw(),Ru=String.prototype;Gw.exports=function(e){var t=e.trim;return typeof e=="string"||e===Ru||DM(Ru,e)&&t===Ru.trim?qM:t}});var Yw=h((wG,Kw)=>{"use strict";var LM=Ww();Kw.exports=LM});var Xw=h((IG,Qw)=>{Qw.exports=Yw()});var tI=h(()=>{"use strict";var FM=V(),Zw=Xn(),MM=mc(),jM=Ie(),eI=$c(),UM=Wr(),BM=rr(),JM=bc(),$M=qe(),HM=ei(),zM=ni(),VM=HM("slice"),GM=$M("species"),Ou=Array,WM=Math.max;FM({target:"Array",proto:!0,forced:!VM},{slice:function(t,r){var n=BM(this),i=UM(n),o=eI(t,i),a=eI(r===void 0?i:r,i),s,l,c;if(Zw(n)&&(s=n.constructor,MM(s)&&(s===Ou||Zw(s.prototype))?s=void 0:jM(s)&&(s=s[GM],s===null&&(s=void 0)),s===Ou||s===void 0))return zM(n,o,a);for(l=new(s===void 0?Ou:s)(WM(a-o,0)),c=0;o<a;o++,c++)o in n&&JM(l,c,n[o]);return l.length=c,l}})});var nI=h((SG,rI)=>{"use strict";tI();var KM=it();rI.exports=KM("Array","slice")});var oI=h((AG,iI)=>{"use strict";var YM=Je(),QM=nI(),Nu=Array.prototype;iI.exports=function(e){var t=e.slice;return e===Nu||YM(Nu,e)&&t===Nu.slice?QM:t}});var sI=h((kG,aI)=>{"use strict";var XM=oI();aI.exports=XM});var cI=h((TG,lI)=>{lI.exports=sI()});var Du=T(()=>{});var dI=h((CG,uI)=>{"use strict";var ZM=Ie(),ej=Ft(),tj=qe(),rj=tj("match");uI.exports=function(e){var t;return ZM(e)&&((t=e[rj])!==void 0?!!t:ej(e)==="RegExp")}});var pI=h((RG,fI)=>{"use strict";var nj=dI(),ij=TypeError;fI.exports=function(e){if(nj(e))throw new ij("The method doesn't accept regular expressions");return e}});var mI=h((OG,hI)=>{"use strict";var oj=qe(),aj=oj("match");hI.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[aj]=!1,"/./"[e](t)}catch(n){}}return!1}});var yI=h(()=>{"use strict";var sj=V(),lj=Hn(),cj=ac().f,uj=fc(),vI=wi(),dj=pI(),fj=Er(),pj=mI(),hj=$r(),mj=lj("".slice),vj=Math.min,gI=pj("startsWith"),gj=!hj&&!gI&&!!function(){var e=cj(String.prototype,"startsWith");return e&&!e.writable}();sj({target:"String",proto:!0,forced:!gj&&!gI},{startsWith:function(t){var r=vI(fj(this));dj(t);var n=uj(vj(arguments.length>1?arguments[1]:void 0,r.length)),i=vI(t);return mj(r,n,n+i.length)===i}})});var bI=h((qG,_I)=>{"use strict";yI();var yj=it();_I.exports=yj("String","startsWith")});var II=h((LG,wI)=>{"use strict";var _j=Je(),bj=bI(),qu=String.prototype;wI.exports=function(e){var t=e.startsWith;return typeof e=="string"||e===qu||_j(qu,e)&&t===qu.startsWith?bj:t}});var xI=h((FG,EI)=>{"use strict";var wj=II();EI.exports=wj});var AI=h((MG,SI)=>{SI.exports=xI()});var RI=h((jG,CI)=>{"use strict";var TI=ve(),Ij=xr(),Ej=Ie(),xj=Qe(),kI=ni(),Sj=Br(),PI=Function,Aj=TI([].concat),kj=TI([].join),Lu={},Tj=function(e,t,r){if(!xj(Lu,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";Lu[t]=PI("C,a","return new C("+kj(n,",")+")")}return Lu[t](e,r)};CI.exports=Sj?PI.bind:function(t){var r=Ij(this),n=r.prototype,i=kI(arguments,1),o=function(){var s=Aj(i,kI(arguments));return this instanceof o?Tj(r,s.length,s):r.apply(t,s)};return Ej(n)&&(o.prototype=n),o}});var NI=h(()=>{"use strict";var Pj=V(),OI=RI();Pj({target:"Function",proto:!0,forced:Function.bind!==OI},{bind:OI})});var qI=h((JG,DI)=>{"use strict";NI();var Cj=it();DI.exports=Cj("Function","bind")});var FI=h(($G,LI)=>{"use strict";var Rj=Je(),Oj=qI(),Fu=Function.prototype;LI.exports=function(e){var t=e.bind;return e===Fu||Rj(Fu,e)&&t===Fu.bind?Oj:t}});var jI=h((HG,MI)=>{"use strict";var Nj=FI();MI.exports=Nj});var BI=h((zG,UI)=>{UI.exports=jI()});function Di(e,t){de.__h&&de.__h(Z,e,ki||t),ki=0;var r=Z.__H||(Z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ft(e){return ki=1,Dj(AE,e)}function Dj(e,t,r){var n=Di(Or++,2);if(n.t=e,!n.__c&&(n.__=[AE(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=Z,!Z.__f)){var i=function(s,l,c){var d;if(!n.__c.__H)return!0;var u=(0,rd.default)(d=n.__c.__H.__).call(d,function(f){return!!f.__c});if((0,IE.default)(u).call(u,function(f){return!f.__N}))return!o||o.call(this,s,l,c);var p=n.__c.props!==s;return(0,Ee.default)(u).call(u,function(f){if(f.__N){var m=f.__[0];f.__=f.__N,f.__N=void 0,m!==f.__[0]&&(p=!0)}}),o&&o.call(this,s,l,c)||p};Z.__f=!0;var o=Z.shouldComponentUpdate,a=Z.componentWillUpdate;Z.componentWillUpdate=function(s,l,c){if(this.__e){var d=o;o=void 0,i(s,l,c),o=d}a&&a.call(this,s,l,c)},Z.shouldComponentUpdate=i}return n.__N||n.__}function Cr(e,t){var r=Di(Or++,3);!de.__s&&ld(r.__H,t)&&(r.__=e,r.u=t,Z.__H.__h.push(r))}function qj(e,t){var r=Di(Or++,4);!de.__s&&ld(r.__H,t)&&(r.__=e,r.u=t,Z.__h.push(r))}function Rr(e){return ki=5,sd(function(){return{current:e}},[])}function sd(e,t){var r=Di(Or++,7);return ld(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ot(e,t){return ki=8,sd(function(){return e},t)}function Lj(e){var t=Z.context[e.__c],r=Di(Or++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Z)),t.props.value):e.__}function Fj(){for(var e;e=SE.shift();)if(e.__P&&e.__H)try{var t,r;(0,Ee.default)(t=e.__H.__h).call(t,ga),(0,Ee.default)(r=e.__H.__h).call(r,zu),e.__H.__h=[]}catch(n){e.__H.__h=[],de.__e(n,e.__v)}}function Mj(e){var t,r=function(){clearTimeout(n),KI&&cancelAnimationFrame(t),(0,Tt.default)(e)},n=(0,Tt.default)(r,100);KI&&(t=requestAnimationFrame(r))}function ga(e){var t=Z,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Z=t}function zu(e){var t=Z;e.__c=e.__(),Z=t}function ld(e,t){return!e||e.length!==t.length||(0,Sa.default)(t).call(t,function(r,n){return r!==e[n]})}function AE(e,t){return typeof t=="function"?t(e):t}function jj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vu(){throw new Error("setTimeout has not been defined")}function Gu(){throw new Error("clearTimeout has not been defined")}function TE(e){if(Et===Tt.default)return(0,Tt.default)(e,0);if((Et===Vu||!Et)&&Tt.default)return Et=Tt.default,(0,Tt.default)(e,0);try{return Et(e,0)}catch(t){try{return Et.call(null,e,0)}catch(r){return Et.call(this,e,0)}}}function Uj(e){if(xt===clearTimeout)return clearTimeout(e);if((xt===Gu||!xt)&&clearTimeout)return xt=clearTimeout,clearTimeout(e);try{return xt(e)}catch(t){try{return xt.call(null,e)}catch(r){return xt.call(this,e)}}}function Bj(){!on||!ur||(on=!1,ur.length?$t=(0,Ca.default)(ur).call(ur,$t):ya=-1,$t.length&&PE())}function PE(){if(!on){var e=TE(Bj);on=!0;for(var t=$t.length;t;){for(ur=$t,$t=[];++ya<t;)ur&&ur[ya].run();ya=-1,t=$t.length}ur=null,on=!1,Uj(e)}}function CE(e,t){this.fun=e,this.array=t}function zt(){}function Hj(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function zj(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}function Kj(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function NE(e){return(0,od.default)(e).call(e)}function Yj(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,r){return e.replace(t,r)}function Wu(e,t){return(0,Ht.default)(e).call(e,t)}function Pe(e,t){return e.charCodeAt(t)|0}function Ti(e,t,r){return(0,ad.default)(e).call(e,t,r)}function St(e){return e.length}function fd(e){return e.length}function pa(e,t){return t.push(e),e}function Qj(e,t){return(0,Ai.default)(e).call(e,t).join("")}function Na(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Oa,column:ln,length:a,return:""}}function Ii(e,t){return Wj(Na("",null,null,"",null,null,0),e,{length:-e.length},t)}function Xj(){return ge}function Zj(){return ge=ze>0?Pe(un,--ze):0,ln--,ge===10&&(ln=1,Oa--),ge}function Xe(){return ge=ze<DE?Pe(un,ze++):0,ln++,ge===10&&(ln=1,Oa++),ge}function Pt(){return Pe(un,ze)}function _a(){return ze}function qi(e,t){return Ti(un,e,t)}function Pi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qE(e){return Oa=ln=1,DE=St(un=e),ze=0,[]}function LE(e){return un="",e}function ba(e){return NE(qi(ze-1,Ku(e===91?e+2:e===40?e+1:e)))}function eU(e){for(;(ge=Pt())&&ge<33;)Xe();return Pi(e)>2||Pi(ge)>3?"":" "}function tU(e,t){for(;--t&&Xe()&&!(ge<48||ge>102||ge>57&&ge<65||ge>70&&ge<97););return qi(e,_a()+(t<6&&Pt()==32&&Xe()==32))}function Ku(e){for(;Xe();)switch(ge){case e:return ze;case 34:case 39:e!==34&&e!==39&&Ku(ge);break;case 40:e===41&&Ku(e);break;case 92:Xe();break}return ze}function rU(e,t){for(;Xe()&&e+ge!==57&&!(e+ge===84&&Pt()===47););return"/*"+qi(t,ze-1)+"*"+Ra(e===47?e:Xe())}function nU(e){for(;!Pi(Pt());)Xe();return qi(e,ze)}function iU(e){return LE(wa("",null,null,null,[""],e=qE(e),0,[0],e))}function wa(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=Xe()){case 40:if(m!=108&&Pe(E,u-1)==58){Wu(E+=$(ba(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=ba(_);break;case 9:case 10:case 13:case 32:E+=eU(m);break;case 92:E+=tU(_a()-1,7);continue;case 47:switch(Pt()){case 42:case 47:pa(oU(rU(Xe(),_a()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=St(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:f>0&&St(E)-u&&pa(f>32?QI(E+";",n,r,u-1):QI($(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(pa(C=YI(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)wa(E,t,C,C,k,o,u,s,R);else switch(p===99&&Pe(E,3)===110?100:p){case 100:case 109:case 115:wa(e,C,C,n&&pa(YI(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:wa(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+St(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&Zj()==125)continue}switch(E+=Ra(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(St(E)-1)*g,g=1;break;case 64:Pt()===45&&(E+=ba(Xe())),p=Pt(),d=u=St(w=E+=nU(_a())),_++;break;case 45:m===45&&St(E)==2&&(v=0)}}return o}function YI(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=fd(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Ti(e,u+1,u=Gj(v=a[m])),w=e;g<f;++g)(w=NE(v>0?p[g]+" "+_:$(_,/&\f/g,p[g])))&&(l[y++]=w);return Na(e,t,r,i===0?ud:s,l,c,d)}function oU(e,t,r){return Na(e,t,r,cd,Ra(Xj()),Ti(e,2,-2),0)}function QI(e,t,r,n){return Na(e,t,r,dd,Ti(e,0,n),Ti(e,n+1,-1),n)}function an(e,t){for(var r="",n=fd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function aU(e,t,r,n){switch(e.type){case Vj:case dd:return e.return=e.return||e.value;case cd:return"";case OE:return e.return=e.value+"{"+an(e.children,n)+"}";case ud:e.value=e.props.join(",")}return St(r=an(e.children,n))?e.return=e.value+"{"+r+"}":""}function sU(e){var t=fd(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function lU(e){return function(t){t.root||(t=t.return)&&e(t)}}function ME(e,t){switch(Kj(e,t)){case 5103:return M+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+ka+e+Le+e+e;case 6828:case 4268:return M+e+Le+e+e;case 6165:return M+e+Le+"flex-"+e+e;case 5187:return M+e+$(e,/(\w+).+(:[^]+)/,M+"box-$1$2"+Le+"flex-$1$2")+e;case 5443:return M+e+Le+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return M+e+Le+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+Le+$(e,"shrink","negative")+e;case 5292:return M+e+Le+$(e,"basis","preferred-size")+e;case 6060:return M+"box-"+$(e,"-grow","")+M+e+Le+$(e,"grow","positive")+e;case 4554:return M+$(e,/([^-])(transform)/g,"$1"+M+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,M+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(St(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+ka+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Wu(e,"stretch")?ME($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,St(e)-3-(~Wu(e,"!important")&&10))){case 107:return $(e,":",":"+M)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(Pe(e,14)===45?"inline-":"")+"box$3$1"+M+"$2$3$1"+Le+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+Le+e+e}return e}function UE(){if(eE)return ha.exports;eE=1;let e=UE();return ha.exports={default:e},ha.exports.default=e,ha.exports}function Ci(e,t,r){var n,i="";return(0,Ee.default)(n=r.split(" ")).call(n,function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(i+=o+" ")}),i}function IU(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function xU(e){var t=(0,EE.default)(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function Ri(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return At={name:i.name,styles:i.styles,next:At},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)At={name:a.name,styles:a.styles,next:At},a=a.next;var s=o.styles+";";return s}return kU(e,t,r)}case"function":{if(e!==void 0){var l=At,c=r(e);return At=l,Ri(e,t,c)}break}}var d=r;if(t==null)return d;var u=t[d];return u!==void 0?u:d}function kU(e,t,r){var n="";if((0,Si.default)(r))for(var i=0;i<r.length;i++)n+=Ri(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":tE(s)&&(n+=ju(o)+":"+rE(o,s)+";")}else if((0,Si.default)(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)tE(a[l])&&(n+=ju(o)+":"+rE(o,a[l])+";");else{var c=Ri(e,t,a);switch(o){case"animation":case"animationName":{n+=ju(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function dr(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";At=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Ri(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Ri(r,t,e[s]),n){var l=o;i+=l[s]}nE.lastIndex=0;for(var c="",d;(d=nE.exec(i))!==null;)c+="-"+d[1];var u=IU(i)+c;return{name:u,styles:i,next:At}}function N(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return dr(t)}function MU(e,t,r){var n=[],i=Ci(e,n,r);return n.length<2?r:i+t(n)}function b(e,t,r,n,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--BU,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return O.vnode&&O.vnode(c),c}function Li(){let e=()=>typeof window>"u"?"portrait":window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=ft(e());return Cr(()=>{let n=()=>{r(e())};return window.addEventListener("resize",n),"onorientationchange"in window&&window.addEventListener("orientationchange",n),n(),()=>{window.removeEventListener("resize",n),"onorientationchange"in window&&window.removeEventListener("orientationchange",n)}},[]),t}function E2(e){if(!e||e==="none")return"";let t=e.match(/^matrix\(([^)]+)\)$/);if(!t)return"";let r=t[1].split(",").map(Number);if(r.length<6)return"";let[n,i]=r,o=-Math.atan2(i,n)*(180/Math.PI),a=Math.round(o);return a===90?"rotateZ(90deg) translateY(-100vw)":a===-90||a===270?"rotateZ(-90deg) translateX(-100vh)":a===180||a===-180?"rotateZ(180deg) translate(-100vw, -100vh)":`rotateZ(${a}deg)`}function QE(e){let t=window.getComputedStyle(document.body).transform,r="";t&&t!=="none"&&(r=E2(t)),e.style.transform=r,e.style.transformOrigin="0 0"}function x2(e){let t=()=>QE(e);return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),t(),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}}function k2(s){var l=s,{elementTag:e="Image",src:t="",children:r,handleExposure:n,className:i,imgStyle:o}=l,a=gt(l,["elementTag","src","children","handleExposure","className","imgStyle"]);let c=A2(()=>{t&&n()});return e==="Image"?b("div",{className:i,style:{borderRadius:"8px"},children:De("img",L(P({},a),{ref:c,src:t!=null?t:"",style:P({display:"block",width:"100%",height:"auto",objectFit:"cover",maxWidth:"100%",maxHeight:"100%",aspectRatio:"1 / 1",borderRadius:"8px"},o||{})}))}):b("div",L(P({},a),{ref:c,className:i,children:r}))}function T2(e,t){if(!e)return null;let r=Array.isArray(t)?t[0]:t,n=Array.isArray(t)?t[1]:0;return Array.isArray(e)?e.map((i,o)=>i&&typeof i=="object"&&"type"in i?De(i.type,L(P({},i.props),{style:L(P({},i.props.style||{}),{paddingLeft:r>0?`${r/2}px`:void 0,paddingRight:r>0?`${r/2}px`:void 0,paddingTop:n>0?`${n/2}px`:void 0,paddingBottom:n>0?`${n/2}px`:void 0}),key:i.key||o})):i):e&&typeof e=="object"&&"type"in e?De(e.type,L(P({},e.props),{style:L(P({},e.props.style||{}),{paddingLeft:r>0?`${r/2}px`:void 0,paddingRight:r>0?`${r/2}px`:void 0,paddingTop:n>0?`${n/2}px`:void 0,paddingBottom:n>0?`${n/2}px`:void 0})})):e}function N2(e,t){let r=t.split("."),n=e;for(let i of r){if(typeof n!="object"||n===null||!Object.prototype.hasOwnProperty.call(n,i))return;n=n[i]}return n}function vE(e,t,r){return qa.call(t,"css")?b(vd,zE(e,t),r):b(e,t,r)}function j2(e,t,r){return qa.call(t,"css")?b(vd,zE(e,t),r):b(e,t,r)}function Y2(e,t){return Ce(e,0)^45?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}function cx(e){return(0,od.default)(e).call(e)}function Q2(e,t){return(e=t.exec(e))?e[0]:e}function U(e,t,r){return e.replace(t,r)}function ed(e,t){return(0,Ht.default)(e).call(e,t)}function Ce(e,t){return e.charCodeAt(t)|0}function Oi(e,t,r){return(0,ad.default)(e).call(e,t,r)}function kt(e){return e.length}function bd(e){return e.length}function va(e,t){return t.push(e),e}function X2(e,t){return(0,Ai.default)(e).call(e,t).join("")}function Ua(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:ja,column:cn,length:a,return:""}}function Ei(e,t){return K2(Ua("",null,null,"",null,null,0),e,{length:-e.length},t)}function Z2(){return ye}function eB(){return ye=Ve>0?Ce(fn,--Ve):0,cn--,ye===10&&(cn=1,ja--),ye}function Ze(){return ye=Ve<ux?Ce(fn,Ve++):0,cn++,ye===10&&(cn=1,ja++),ye}function Ct(){return Ce(fn,Ve)}function Ia(){return Ve}function Mi(e,t){return Oi(fn,e,t)}function Ni(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dx(e){return ja=cn=1,ux=kt(fn=e),Ve=0,[]}function fx(e){return fn="",e}function Ea(e){return cx(Mi(Ve-1,td(e===91?e+2:e===40?e+1:e)))}function tB(e){for(;(ye=Ct())&&ye<33;)Ze();return Ni(e)>2||Ni(ye)>3?"":" "}function rB(e,t){for(;--t&&Ze()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return Mi(e,Ia()+(t<6&&Ct()==32&&Ze()==32))}function td(e){for(;Ze();)switch(ye){case e:return Ve;case 34:case 39:e!==34&&e!==39&&td(ye);break;case 40:e===41&&td(e);break;case 92:Ze();break}return Ve}function nB(e,t){for(;Ze()&&e+ye!==57&&!(e+ye===84&&Ct()===47););return"/*"+Mi(t,Ve-1)+"*"+Ma(e===47?e:Ze())}function iB(e){for(;!Ni(Ct());)Ze();return Mi(e,Ve)}function oB(e){return fx(xa("",null,null,null,[""],e=dx(e),0,[0],e))}function xa(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=Ze()){case 40:if(m!=108&&Ce(E,u-1)==58){ed(E+=U(Ea(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Ea(_);break;case 9:case 10:case 13:case 32:E+=tB(m);break;case 92:E+=rB(Ia()-1,7);continue;case 47:switch(Ct()){case 42:case 47:va(aB(nB(Ze(),Ia()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=kt(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:g==-1&&(E=U(E,/\f/g,"")),f>0&&kt(E)-u&&va(f>32?yE(E+";",n,r,u-1):yE(U(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(va(C=gE(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)xa(E,t,C,C,k,o,u,s,R);else switch(p===99&&Ce(E,3)===110?100:p){case 100:case 108:case 109:case 115:xa(e,C,C,n&&va(gE(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:xa(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+kt(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&eB()==125)continue}switch(E+=Ma(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(kt(E)-1)*g,g=1;break;case 64:Ct()===45&&(E+=Ea(Ze())),p=Ct(),d=u=kt(w=E+=iB(Ia())),_++;break;case 45:m===45&&kt(E)==2&&(v=0)}}return o}function gE(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=bd(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Oi(e,u+1,u=W2(v=a[m])),w=e;g<f;++g)(w=cx(v>0?p[g]+" "+_:U(_,/&\f/g,p[g])))&&(l[y++]=w);return Ua(e,t,r,i===0?yd:s,l,c,d)}function aB(e,t,r){return Ua(e,t,r,sx,Ma(Z2()),Oi(e,2,-2),0)}function yE(e,t,r,n){return Ua(e,t,r,_d,Oi(e,0,n),Oi(e,n+1,-1),n)}function sn(e,t){for(var r="",n=bd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function sB(e,t,r,n){switch(e.type){case G2:if(e.children.length)break;case V2:case _d:return e.return=e.return||e.value;case sx:return"";case lx:return e.return=e.value+"{"+sn(e.children,n)+"}";case yd:e.value=e.props.join(",")}return kt(r=sn(e.children,n))?e.return=e.value+"{"+r+"}":""}function lB(e){var t=bd(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function cB(e){return function(t){t.root||(t=t.return)&&e(t)}}function px(e,t){switch(Y2(e,t)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+Pa+e+Fe+e+e;case 6828:case 4268:return j+e+Fe+e+e;case 6165:return j+e+Fe+"flex-"+e+e;case 5187:return j+e+U(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return j+e+Fe+"flex-item-"+U(e,/flex-|-self/,"")+e;case 4675:return j+e+Fe+"flex-line-pack"+U(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+Fe+U(e,"shrink","negative")+e;case 5292:return j+e+Fe+U(e,"basis","preferred-size")+e;case 6060:return j+"box-"+U(e,"-grow","")+j+e+Fe+U(e,"grow","positive")+e;case 4554:return j+U(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return U(U(U(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return U(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return U(U(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return U(e,/(.+)-inline(.+)/,j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(kt(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return U(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Pa+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ed(e,"stretch")?px(U(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,kt(e)-3-(~ed(e,"!important")&&10))){case 107:return U(e,":",":"+j)+e;case 101:return U(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(Ce(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+Fe+e+e}return e}function bE(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function $u(e,t,r){var n=[],i=Ci(e,n,r);return n.length<2?r:i+t(n)}function wd(){let e=!1,t=null,r=0,n=new Set,i=a=>I(this,null,function*(){let s=e;if(r++,e=!0,!s)try{let{iframe:l}=yield xi.acquire(),c=l.contentDocument;if(c)t=c.createElement("div"),t.id="loading-root",c.body.appendChild(t),tr(b(SB,{}),t);else throw new Error("Iframe document is not available.")}catch(l){console.error("[LoadingManager] Failed to show loading:",l),r=0,e=!1,xi.release();return}if(a!=null&&a.duration&&typeof a.duration=="number"){let l=setTimeout(()=>{o(),n.delete(l)},a.duration);n.add(l)}}),o=()=>{var a;e&&(r--,r<=0&&(r=0,e=!1,n.forEach(s=>clearTimeout(s)),n.clear(),t&&(tr(null,t),(a=t.parentNode)==null||a.removeChild(t),t=null),xi.release()))};return{show:i,hide:o,get isLoading(){return e}}}var rd,IE,Ee,Ca,Sa,Tt,Aa,Si,nd,Ht,Ai,EE,xE,id,od,ad,YG,Hu,Or,Z,Mu,JI,ki,SE,de,$I,HI,zI,VI,GI,WI,KI,kE,fe,Et,xt,$t,on,ur,ya,Jj,xe,$j,RE,Le,ka,M,cd,ud,dd,Vj,OE,Gj,Ra,Wj,Oa,ln,DE,ze,ge,un,cU,uU,dU,XI,fU,pU,hU,mU,vU,FE,gU,ZI,yU,_U,bU,jE,ha,eE,wU,pd,Da,EU,SU,AU,BE,tE,ju,rE,nE,At,TU,JE,$E,iE,qa,hd,HE,md,La,PU,CU,RU,OU,NU,Yu,Qu,zE,DU,vd,qU,oE,LU,FU,jU,UU,Uu,aE,Bu,Ju,BU,sE,JU,$U,HU,zU,VU,lE,GU,cE,WU,uE,KU,dE,YU,QU,XU,ZU,e2,fE,t2,r2,n2,i2,o2,pE,a2,s2,l2,c2,u2,d2,f2,p2,h2,m2,v2,g2,y2,_2,b2,w2,VE,GE,WE,Xu,I2,KE,YE,Ta,xi,hE,S2,gd,A2,XE,ZE,ex,P2,C2,R2,Zu,O2,tx,dn,Fa,mE,Jt,rx,nn,D2,q2,L2,F2,M2,ma,nx,ue,U2,B2,ix,ox,ax,Fi,J2,$2,H2,z2,Fe,Pa,j,sx,yd,_d,V2,lx,G2,W2,Ma,K2,ja,cn,ux,Ve,ye,fn,uB,dB,fB,_E,pB,hB,mB,vB,gB,yB,_B,bB,wB,IB,EB,ji,wE,xB,SB,QG,Nr=T(()=>{"use strict";Ur();rd=se(hv(),1),IE=se(xv(),1),Ee=se(Fv(),1),Ca=se(Xv(),1),Sa=se(sg(),1),Tt=se(Sg(),1);Fo();Fo();Aa=se(cy(),1),Si=se(vy(),1),nd=se(Ob(),1),Ht=se(Jb(),1),Ai=se(Qb(),1),EE=se(i0(),1),xE=se(ww(),1),id=se(qw(),1),od=se(Xw(),1),ad=se(cI(),1);Du();Du();YG=se(AI(),1),Hu=se(BI(),1),ki=0,SE=[],de=O,$I=de.__b,HI=de.__r,zI=de.diffed,VI=de.__c,GI=de.unmount,WI=de.__;de.__b=function(e){Z=null,$I&&$I(e)},de.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),WI&&WI(e,t)},de.__r=function(e){var t,r,n;HI&&HI(e),Or=0;var i=(Z=e.__c).__H;i&&(Mu===Z?(i.__h=[],Z.__h=[],(0,Ee.default)(t=i.__).call(t,function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):((0,Ee.default)(r=i.__h).call(r,ga),(0,Ee.default)(n=i.__h).call(n,zu),i.__h=[],Or=0)),Mu=Z},de.diffed=function(e){var t;zI&&zI(e);var r=e.__c;r&&r.__H&&(r.__H.__h.length&&(SE.push(r)!==1&&JI===de.requestAnimationFrame||((JI=de.requestAnimationFrame)||Mj)(Fj)),(0,Ee.default)(t=r.__H.__).call(t,function(n){n.u&&(n.__H=n.u),n.u=void 0})),Mu=Z=null},de.__c=function(e,t){(0,Sa.default)(t).call(t,function(r){try{var n,i;(0,Ee.default)(n=r.__h).call(n,ga),r.__h=(0,rd.default)(i=r.__h).call(i,function(o){return!o.__||zu(o)})}catch(o){(0,Sa.default)(t).call(t,function(a){a.__h&&(a.__h=[])}),t=[],de.__e(o,r.__v)}}),VI&&VI(e,t)},de.unmount=function(e){var t;GI&&GI(e);var r,n=e.__c;n&&n.__H&&((0,Ee.default)(t=n.__H.__).call(t,function(i){try{ga(i)}catch(o){r=o}}),n.__H=void 0,r&&de.__e(r,n.__v))};KI=typeof requestAnimationFrame=="function";kE={exports:{}},fe=kE.exports={};(function(){try{typeof Tt.default=="function"?Et=Tt.default:Et=Vu}catch(e){Et=Vu}try{typeof clearTimeout=="function"?xt=clearTimeout:xt=Gu}catch(e){xt=Gu}})();$t=[],on=!1,ya=-1;fe.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];$t.push(new CE(e,t)),$t.length===1&&!on&&TE(PE)};CE.prototype.run=function(){this.fun.apply(null,this.array)};fe.title="browser";fe.browser=!0;fe.env={};fe.argv=[];fe.version="";fe.versions={};fe.on=zt;fe.addListener=zt;fe.once=zt;fe.off=zt;fe.removeListener=zt;fe.removeAllListeners=zt;fe.emit=zt;fe.prependListener=zt;fe.prependOnceListener=zt;fe.listeners=function(e){return[]};fe.binding=function(e){throw new Error("process.binding is not supported")};fe.cwd=function(){return"/"};fe.chdir=function(e){throw new Error("process.chdir is not supported")};fe.umask=function(){return 0};Jj=kE.exports,xe=jj(Jj),$j=Aa.default||void 0||self;RE=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){(0,Ee.default)(r).call(r,this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(zj(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Hj(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){var r;(0,Ee.default)(r=this.tags).call(r,function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Le="-ms-",ka="-moz-",M="-webkit-",cd="comm",ud="rule",dd="decl",Vj="@import",OE="@keyframes",Gj=Math.abs,Ra=String.fromCharCode,Wj=id.default;Oa=1,ln=1,DE=0,ze=0,ge=0,un="";cU=function(e,t,r){for(var n=0,i=0;n=i,i=Pt(),n===38&&i===12&&(t[r]=1),!Pi(i);)Xe();return qi(e,ze)},uU=function(e,t){var r=-1,n=44;do switch(Pi(n)){case 0:n===38&&Pt()===12&&(t[r]=1),e[r]+=cU(ze-1,t,r);break;case 2:e[r]+=ba(n);break;case 4:if(n===44){e[++r]=Pt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ra(n)}while(n=Xe());return e},dU=function(e,t){return LE(uU(qE(e),t))},XI=new nd.default,fU=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!XI.get(r))&&!n){XI.set(e,!0);for(var i=[],o=dU(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},pU=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},hU="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",mU=function(e){var t;return e.type==="comm"&&(0,Ht.default)(t=e.children).call(t,hU)>-1},vU=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=t.parent===n[0],a=o?n[0].children:n,s=a.length-1;s>=0;s--){var l=a[s];if(l.line<t.line)break;if(l.column<t.column){if(mU(l))return;break}}(0,Ee.default)(i).call(i,function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},FE=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},gU=function(e,t){for(var r=e-1;r>=0;r--)if(!FE(t[r]))return!0;return!1},ZI=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},yU=function(e,t,r){FE(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ZI(e)):gU(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ZI(e)))};_U=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case dd:e.return=ME(e.value,e.length);break;case OE:return an([Ii(e,{value:$(e.value,"@","@"+M)})],n);case ud:if(e.length)return Qj(e.props,function(i){switch(Yj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([Ii(e,{props:[$(i,/:(read-\w+)/,":"+ka+"$1")]})],n);case"::placeholder":return an([Ii(e,{props:[$(i,/:(plac\w+)/,":"+M+"input-$1")]}),Ii(e,{props:[$(i,/:(plac\w+)/,":"+ka+"$1")]}),Ii(e,{props:[$(i,/:(plac\w+)/,Le+"input-$1")]})],n)}return""})}},bU=[_U],jE=function(e){var t=e.key;if(xe.env.NODE_ENV!=="production"&&!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
21
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Ee.default)(Array.prototype).call(r,function(m){var v=m.getAttribute("data-emotion");(0,Ht.default)(v).call(v," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||bU;if(xe.env.NODE_ENV!=="production"&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var i={},o,a=[];o=e.container||document.head,(0,Ee.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[fU,pU];xe.env.NODE_ENV!=="production"&&l.push(vU({get compat(){return f.compat}}),yU);{var c,d=[aU,xe.env.NODE_ENV!=="production"?function(m){m.root||(m.return?c.insert(m.return):m.value&&m.type!==cd&&c.insert(m.value+"{}"))}:lU(function(m){c.insert(m)})],u=sU((0,Ca.default)(l).call(l,n,d)),p=function(m){return an(iU(m),u)};s=function(m,v,y,g){c=y,xe.env.NODE_ENV!=="production"&&(0,Ai.default)(v)!==void 0&&(c={insert:function(_){y.insert(_+(0,Ai.default)(v))}}),p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new RE({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f},ha={exports:{}};UE();wU=!0;pd=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||wU===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},Da=function(e,t,r){pd(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};EU={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};SU=/[A-Z]|^ms/g,AU=/_EMO_([^_]+?)_([^]*?)_EMO_/g,BE=function(e){return e.charCodeAt(1)===45},tE=function(e){return e!=null&&typeof e!="boolean"},ju=xU(function(e){return BE(e)?e:e.replace(SU,"-$&").toLowerCase()}),rE=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(AU,function(r,n,i){return At={name:n,styles:i,next:At},n})}return EU[e]!==1&&!BE(e)&&typeof t=="number"&&t!==0?t+"px":t};nE=/label:\s*([^\s;{]+)\s*(;|$)/g;TU=function(e){return e()},JE=Cc?Cc:!1,$E=JE||TU,iE=JE||Yr,qa={}.hasOwnProperty,hd=wr(typeof HTMLElement<"u"?jE({key:"css"}):null);xe.env.NODE_ENV!=="production"&&(hd.displayName="EmotionCacheContext");HE=hd.Provider,md=function(e){return Oc(function(t,r){var n=Xr(hd);return e(t,n,r)})},La=wr({});xe.env.NODE_ENV!=="production"&&(La.displayName="EmotionThemeContext");PU=function(e){var t=e.split(".");return t[t.length-1]},CU=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);if(t||(t=/^([A-Za-z0-9$.]+)@/.exec(e),t))return PU(t[1])},RU=new xE.default(["renderWithHooks","processChild","finishClassComponent","renderToString"]),OU=function(e){return e.replace(/\$/g,"-")},NU=function(e){if(e)for(var t=e.split(`
22
- `),r=0;r<t.length;r++){var n=CU(t[r]);if(n){if(RU.has(n))break;if(/^[A-Z]/.test(n))return OU(n)}}},Yu="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qu="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",zE=function(e,t){var r,n;if(xe.env.NODE_ENV!=="production"&&typeof t.css=="string"&&(0,Ht.default)(r=t.css).call(r,":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var i={};for(var o in t)qa.call(t,o)&&(i[o]=t[o]);if(i[Yu]=e,xe.env.NODE_ENV!=="production"&&t.css&&(typeof t.css!="object"||typeof t.css.name!="string"||(0,Ht.default)(n=t.css.name).call(n,"-")===-1)){var a=NU(new Error().stack);a&&(i[Qu]=a)}return i},DU=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return pd(t,r,n),$E(function(){return Da(t,r,n)}),null},vd=md(function(e,t,r){var n,i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[Yu],a=[i],s="";typeof e.className=="string"?s=Ci(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var l=dr(a,void 0,Xr(La));if(xe.env.NODE_ENV!=="production"&&(0,Ht.default)(n=l.name).call(n,"-")===-1){var c=e[Qu];c&&(l=dr([l,"label:"+c+";"]))}s+=t.key+"-"+l.name;var d={};for(var u in e)qa.call(e,u)&&u!=="css"&&u!==Yu&&(xe.env.NODE_ENV==="production"||u!==Qu)&&(d[u]=e[u]);return d.ref=r,d.className=s,De(Ye,null,De(DU,{cache:t,serialized:l,isStringTag:typeof o=="string"}),De(o,d))});xe.env.NODE_ENV!=="production"&&(vd.displayName="EmotionCssPropInternal");qU={version:"11.10.5"},oE=!1,LU=md(function(e,t){xe.env.NODE_ENV!=="production"&&!oE&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),oE=!0);var r=e.styles,n=dr([r],void 0,Xr(La)),i=si();return iE(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),iE(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Da(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});xe.env.NODE_ENV!=="production"&&(LU.displayName="EmotionGlobal");FU=function e(t){for(var r=t.length,n=0,i="";n<r;n++){var o=t[n];if(o!=null){var a=void 0;switch(typeof o){case"boolean":break;case"object":{if((0,Si.default)(o))a=e(o);else{xe.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var s in o)o[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};jU=function(e){var t=e.cache,r=e.serializedArr;return $E(function(){for(var n=0;n<r.length;n++)Da(t,r[n],!1)}),null},UU=md(function(e,t){var r=!1,n=[],i=function(){if(r&&xe.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var u=dr(c,t.registered);return n.push(u),pd(t,u,!1),t.key+"-"+u.name},o=function(){if(r&&xe.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return MU(t.registered,i,FU(c))},a={css:i,cx:o,theme:Xr(La)},s=e.children(a);return r=!0,De(Ye,null,De(jU,{cache:t,serializedArr:n}),s)});xe.env.NODE_ENV!=="production"&&(UU.displayName="EmotionClassNames");xe.env.NODE_ENV!=="production"&&(Uu=!0,aE=typeof jest<"u"||typeof vi<"u",Uu&&!aE&&(Bu=typeof Aa.default<"u"?Aa.default:Uu?window:$j,Ju="__EMOTION_REACT_"+qU.version.split(".")[0]+"__",Bu[Ju]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Bu[Ju]=!0));BU=0;sE={drawerBackdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"flex-end",zIndex:1e3,overflow:"hidden",touchAction:"none"},drawer:{backgroundColor:"rgb(26, 26, 26)",borderRadius:"16px 16px 0 0",width:"100%",maxWidth:"100%",overflowY:"auto",position:"relative",boxShadow:"0 2px 10px rgba(0, 0, 0, 0.1)",display:"block",margin:"0 auto"}},JU=N`
19
+ `;e.textContent=s;let l=document.head||document.getElementsByTagName("head")[0];l.insertBefore(t,l.firstChild),l.insertBefore(e,l.firstChild),document.documentElement.setAttribute("data-jolibox-root","")},i=()=>{let{statusBarHeight:s,navigationBarHeight:l}=x.viewport;document.documentElement.style.setProperty("--status-bar-height",`${s}px`),document.documentElement.style.setProperty("--navigation-bar-height",`${l}px`)},o=()=>{function s(c){return I(this,null,function*(){let d=c instanceof URL?c.href:c,u=new Promise((p,f)=>{let m=new XMLHttpRequest;m.open("GET",d),m.responseType="arraybuffer",m.addEventListener("load",()=>p(m.response)),m.addEventListener("error",f),m.send()});try{let p=yield u;return new Response(p,{headers:new Headers([["Content-Type","application/wasm"]])}).clone()}catch(p){throw console.error("Failed to load wasm:",p),p}})}let l=window.fetch;window.fetch=(c,d)=>{let u=c instanceof URL?c.href:c.toString();return u.endsWith(".wasm")?s(u):l(c,d)}},a=()=>{e!=null&&e.parentNode&&(e.parentNode.removeChild(e),e=null),t!=null&&t.parentNode&&(t.parentNode.removeChild(t),t=null),document.documentElement.removeAttribute("data-jolibox-root"),document.documentElement.style.removeProperty("--status-bar-height"),window.fetch=r};return n(),o(),i(),a}var Bp=T(()=>{"use strict";Q()});var Jp=T(()=>{"use strict"});var $p=T(()=>{"use strict";D();bl()});var Hp=T(()=>{"use strict";Q()});var go,Cl=T(()=>{"use strict";Jp();$p();Q();Hp();D();go=new _t});function Lt(e,t){for(var r in t)e[r]=t[r];return e}function Ll(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function De(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?wo.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return _o(e,a,n,i,null)}function _o(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i==null?++Wp:i,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function Ye(e){return e.children}function Ke(e,t){this.props=e,this.context=t}function Fr(e,t){if(t==null)return e.__?Fr(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Fr(e):null}function eh(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return eh(e)}}function Nl(e){(!e.__d&&(e.__d=!0)&&br.push(e)&&!bo.__r++||zp!==O.debounceRendering)&&((zp=O.debounceRendering)||Kp)(bo)}function bo(){for(var e,t,r,n,i,o,a,s=1;br.length;)br.length>s&&br.sort(Yp),e=br.shift(),s=br.length,e.__d&&(r=void 0,i=(n=(t=e).__v).__e,o=[],a=[],t.__P&&((r=Lt({},n)).__v=n.__v+1,O.vnode&&O.vnode(r),Fl(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,i==null?Fr(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,nh(o,r,a),r.__e!=i&&eh(r)));bo.__r=0}function th(e,t,r,n,i,o,a,s,l,c,d){var u,p,f,m,v,y,g=n&&n.__k||Zp,_=t.length;for(l=I1(r,t,g,l,_),u=0;u<_;u++)(f=r.__k[u])!=null&&(p=f.__i===-1?jn:g[f.__i]||jn,f.__i=u,y=Fl(e,f,p,i,o,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Ml(p.ref,null,f),d.push(f.ref,f.__c||m,f)),v==null&&m!=null&&(v=m),4&f.__u||p.__k===f.__k?l=rh(f,l,e):typeof f.type=="function"&&y!==void 0?l=y:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=v,l}function I1(e,t,r,n,i){var o,a,s,l,c,d=r.length,u=d,p=0;for(e.__k=new Array(i),o=0;o<i;o++)(a=t[o])!=null&&typeof a!="boolean"&&typeof a!="function"?(l=o+p,(a=e.__k[o]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?_o(null,a,null,null,null):Un(a)?_o(Ye,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?_o(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,s=null,(c=a.__i=E1(a,r,l,u))!==-1&&(u--,(s=r[c])&&(s.__u|=2)),s==null||s.__v===null?(c==-1&&(i>d?p--:i<d&&p++),typeof a.type!="function"&&(a.__u|=4)):c!=l&&(c==l-1?p--:c==l+1?p++:(c>l?p--:p++,a.__u|=4))):e.__k[o]=null;if(u)for(o=0;o<d;o++)(s=r[o])!=null&&!(2&s.__u)&&(s.__e==n&&(n=Fr(s)),oh(s,s));return n}function rh(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=rh(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Fr(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Bn(e,t){return t=t||[],e==null||typeof e=="boolean"||(Un(e)?e.some(function(r){Bn(r,t)}):t.push(e)),t}function E1(e,t,r,n){var i,o,a=e.key,s=e.type,l=t[r];if(l===null&&e.key==null||l&&a==l.key&&s===l.type&&!(2&l.__u))return r;if(n>(l!=null&&!(2&l.__u)?1:0))for(i=r-1,o=r+1;i>=0||o<t.length;){if(i>=0){if((l=t[i])&&!(2&l.__u)&&a==l.key&&s===l.type)return i;i--}if(o<t.length){if((l=t[o])&&!(2&l.__u)&&a==l.key&&s===l.type)return o;o++}}return-1}function Vp(e,t,r){t[0]=="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||w1.test(t)?r:r+"px"}function yo(e,t,r,n,i){var o;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Vp(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Vp(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(Qp,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.t=n.t:(r.t=ql,e.addEventListener(t,o?Ol:Rl,o)):e.removeEventListener(t,o?Ol:Rl,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r==null?"":r;break e}catch(a){}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Gp(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=ql++;else if(t.u<r.t)return;return r(O.event?O.event(t):t)}}}function Fl(e,t,r,n,i,o,a,s,l,c){var d,u,p,f,m,v,y,g,_,w,k,R,C,E,A,H,Ue,Be=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=O.__b)&&d(t);e:if(typeof Be=="function")try{if(g=t.props,_="prototype"in Be&&Be.prototype.render,w=(d=Be.contextType)&&n[d.__c],k=d?w?w.props.value:d.__:n,r.__c?y=(u=t.__c=r.__c).__=u.__E:(_?t.__c=u=new Be(g,k):(t.__c=u=new Ke(g,k),u.constructor=Be,u.render=S1),w&&w.sub(u),u.props=g,u.state||(u.state={}),u.context=k,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),_&&u.__s==null&&(u.__s=u.state),_&&Be.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Lt({},u.__s)),Lt(u.__s,Be.getDerivedStateFromProps(g,u.__s))),f=u.props,m=u.state,u.__v=t,p)_&&Be.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),_&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(_&&Be.getDerivedStateFromProps==null&&g!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(g,k),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(g,u.__s,k)===!1||t.__v==r.__v)){for(t.__v!=r.__v&&(u.props=g,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(ht){ht&&(ht.__=t)}),R=0;R<u._sb.length;R++)u.__h.push(u._sb[R]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(g,u.__s,k),_&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,m,v)})}if(u.context=k,u.props=g,u.__P=e,u.__e=!1,C=O.__r,E=0,_){for(u.state=u.__s,u.__d=!1,C&&C(t),d=u.render(u.props,u.state,u.context),A=0;A<u._sb.length;A++)u.__h.push(u._sb[A]);u._sb=[]}else do u.__d=!1,C&&C(t),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++E<25);u.state=u.__s,u.getChildContext!=null&&(n=Lt(Lt({},n),u.getChildContext())),_&&!p&&u.getSnapshotBeforeUpdate!=null&&(v=u.getSnapshotBeforeUpdate(f,m)),H=d,d!=null&&d.type===Ye&&d.key==null&&(H=ih(d.props.children)),s=th(e,Un(H)?H:[H],t,r,n,i,o,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),y&&(u.__E=u.__=null)}catch(ht){if(t.__v=null,l||o!=null)if(ht.then){for(t.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else for(Ue=o.length;Ue--;)Ll(o[Ue]);else t.__e=r.__e,t.__k=r.__k;O.__e(ht,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=x1(r.__e,t,r,n,i,o,a,l,c);return(d=O.diffed)&&d(t),128&t.__u?void 0:s}function nh(e,t,r){for(var n=0;n<r.length;n++)Ml(r[n],r[++n],r[++n]);O.__c&&O.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){O.__e(o,i.__v)}})}function ih(e){return typeof e!="object"||e==null?e:Un(e)?e.map(ih):Lt({},e)}function x1(e,t,r,n,i,o,a,s,l){var c,d,u,p,f,m,v,y=r.props,g=t.props,_=t.type;if(_=="svg"?i="http://www.w3.org/2000/svg":_=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!_&&(_?f.localName==_:f.nodeType==3)){e=f,o[c]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(i,_,g.is&&g),s&&(O.__m&&O.__m(t,o),s=!1),o=null}if(_===null)y===g||s&&e.data===g||(e.data=g);else{if(o=o&&wo.call(e.childNodes),y=r.props||jn,!s&&o!=null)for(y={},c=0;c<e.attributes.length;c++)y[(f=e.attributes[c]).name]=f.value;for(c in y)if(f=y[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in g)){if(c=="value"&&"defaultValue"in g||c=="checked"&&"defaultChecked"in g)continue;yo(e,c,null,f,i)}}for(c in g)f=g[c],c=="children"?p=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?m=f:c=="checked"?v=f:s&&typeof f!="function"||y[c]===f||yo(e,c,f,y[c],i);if(d)s||u&&(d.__html===u.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(u&&(e.innerHTML=""),th(t.type==="template"?e.content:e,Un(p)?p:[p],t,r,n,_=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:r.__k&&Fr(r,0),s,l),o!=null)for(c=o.length;c--;)Ll(o[c]);s||(c="value",_=="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[c]||_=="progress"&&!m||_=="option"&&m!==y[c])&&yo(e,c,m,y[c],i),c="checked",v!==void 0&&v!==e[c]&&yo(e,c,v,y[c],i))}return e}function Ml(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){O.__e(i,r)}}function oh(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ml(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){O.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&oh(n[i],t,r||typeof e.type!="function");r||Ll(e.__e),e.__c=e.__=e.__e=void 0}function S1(e,t,r){return this.constructor(e,r)}function tr(e,t,r){var n,i,o,a;t==document&&(t=document.documentElement),O.__&&O.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],Fl(t,e=(!n&&r||t).__k=De(Ye,null,[e]),i||jn,jn,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?wo.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),nh(o,e,a)}function wr(e){function t(r){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&n.forEach(function(a){a.__e=!0,Nl(a)})},this.sub=function(o){n.add(o);var a=o.componentWillUnmount;o.componentWillUnmount=function(){n&&n.delete(o),a&&a.call(o)}}),r.children}return t.__c="__cC"+Xp++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}var wo,O,Wp,Dl,br,zp,Kp,Yp,Qp,ql,Rl,Ol,Xp,jn,Zp,w1,Un,Mr=T(()=>{jn={},Zp=[],w1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Un=Array.isArray;wo=Zp.slice,O={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},Wp=0,Dl=function(e){return e!=null&&e.constructor==null},Ke.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Lt({},this.state),typeof e=="function"&&(e=e(Lt({},r),this.props)),e&&Lt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Nl(this))},Ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Nl(this))},Ke.prototype.render=Ye,br=[],Kp=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Yp=function(e,t){return e.__v.__b-t.__v.__b},bo.__r=0,Qp=/(PointerCapture)$|Capture$/i,ql=0,Rl=Gp(!1),Ol=Gp(!0),Xp=0});var oe=h((IH,ah)=>{"use strict";ah.exports=function(e){try{return!!e()}catch(t){return!0}}});var jr=h((EH,sh)=>{"use strict";var A1=oe();sh.exports=!A1(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var me=h((xH,uh)=>{"use strict";var lh=jr(),ch=Function.prototype,jl=ch.call,k1=lh&&ch.bind.bind(jl,jl);uh.exports=lh?k1:function(e){return function(){return jl.apply(e,arguments)}}});var Je=h((SH,dh)=>{"use strict";var T1=me();dh.exports=T1({}.isPrototypeOf)});var ae=h((Ul,fh)=>{"use strict";var Jn=function(e){return e&&e.Math===Math&&e};fh.exports=Jn(typeof globalThis=="object"&&globalThis)||Jn(typeof window=="object"&&window)||Jn(typeof self=="object"&&self)||Jn(typeof global=="object"&&global)||Jn(typeof Ul=="object"&&Ul)||function(){return this}()||Function("return this")()});var Bl=h((AH,vh)=>{"use strict";var P1=jr(),mh=Function.prototype,ph=mh.apply,hh=mh.call;vh.exports=typeof Reflect=="object"&&Reflect.apply||(P1?hh.bind(ph):function(){return hh.apply(ph,arguments)})});var Ft=h((kH,yh)=>{"use strict";var gh=me(),C1=gh({}.toString),R1=gh("".slice);yh.exports=function(e){return R1(C1(e),8,-1)}});var $n=h((TH,_h)=>{"use strict";var O1=Ft(),N1=me();_h.exports=function(e){if(O1(e)==="Function")return N1(e)}});var Te=h((PH,bh)=>{"use strict";var Jl=typeof document=="object"&&document.all;bh.exports=typeof Jl=="undefined"&&Jl!==void 0?function(e){return typeof e=="function"||e===Jl}:function(e){return typeof e=="function"}});var $e=h((CH,wh)=>{"use strict";var D1=oe();wh.exports=!D1(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var ct=h((RH,Ih)=>{"use strict";var q1=jr(),Io=Function.prototype.call;Ih.exports=q1?Io.bind(Io):function(){return Io.apply(Io,arguments)}});var $l=h(Sh=>{"use strict";var Eh={}.propertyIsEnumerable,xh=Object.getOwnPropertyDescriptor,L1=xh&&!Eh.call({1:2},1);Sh.f=L1?function(t){var r=xh(this,t);return!!r&&r.enumerable}:Eh});var Hn=h((NH,Ah)=>{"use strict";Ah.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var Eo=h((DH,kh)=>{"use strict";var F1=me(),M1=oe(),j1=Ft(),Hl=Object,U1=F1("".split);kh.exports=M1(function(){return!Hl("z").propertyIsEnumerable(0)})?function(e){return j1(e)==="String"?U1(e,""):Hl(e)}:Hl});var Ir=h((qH,Th)=>{"use strict";Th.exports=function(e){return e==null}});var Er=h((LH,Ph)=>{"use strict";var B1=Ir(),J1=TypeError;Ph.exports=function(e){if(B1(e))throw new J1("Can't call method on "+e);return e}});var rr=h((FH,Ch)=>{"use strict";var $1=Eo(),H1=Er();Ch.exports=function(e){return $1(H1(e))}});var Ie=h((MH,Rh)=>{"use strict";var z1=Te();Rh.exports=function(e){return typeof e=="object"?e!==null:z1(e)}});var wt=h((jH,Oh)=>{"use strict";Oh.exports={}});var Ur=h((UH,Dh)=>{"use strict";var zl=wt(),Vl=ae(),V1=Te(),Nh=function(e){return V1(e)?e:void 0};Dh.exports=function(e,t){return arguments.length<2?Nh(zl[e])||Nh(Vl[e]):zl[e]&&zl[e][t]||Vl[e]&&Vl[e][t]}});var xo=h((BH,Fh)=>{"use strict";var G1=ae(),qh=G1.navigator,Lh=qh&&qh.userAgent;Fh.exports=Lh?String(Lh):""});var Ao=h((JH,$h)=>{"use strict";var Jh=ae(),Gl=xo(),Mh=Jh.process,jh=Jh.Deno,Uh=Mh&&Mh.versions||jh&&jh.version,Bh=Uh&&Uh.v8,ut,So;Bh&&(ut=Bh.split("."),So=ut[0]>0&&ut[0]<4?1:+(ut[0]+ut[1]));!So&&Gl&&(ut=Gl.match(/Edge\/(\d+)/),(!ut||ut[1]>=74)&&(ut=Gl.match(/Chrome\/(\d+)/),ut&&(So=+ut[1])));$h.exports=So});var Wl=h(($H,zh)=>{"use strict";var Hh=Ao(),W1=oe(),K1=ae(),Y1=K1.String;zh.exports=!!Object.getOwnPropertySymbols&&!W1(function(){var e=Symbol("symbol detection");return!Y1(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Hh&&Hh<41})});var Kl=h((HH,Vh)=>{"use strict";var Q1=Wl();Vh.exports=Q1&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yl=h((zH,Gh)=>{"use strict";var X1=Ur(),Z1=Te(),eT=Je(),tT=Kl(),rT=Object;Gh.exports=tT?function(e){return typeof e=="symbol"}:function(e){var t=X1("Symbol");return Z1(t)&&eT(t.prototype,rT(e))}});var zn=h((VH,Wh)=>{"use strict";var nT=String;Wh.exports=function(e){try{return nT(e)}catch(t){return"Object"}}});var xr=h((GH,Kh)=>{"use strict";var iT=Te(),oT=zn(),aT=TypeError;Kh.exports=function(e){if(iT(e))return e;throw new aT(oT(e)+" is not a function")}});var ko=h((WH,Yh)=>{"use strict";var sT=xr(),lT=Ir();Yh.exports=function(e,t){var r=e[t];return lT(r)?void 0:sT(r)}});var Xh=h((KH,Qh)=>{"use strict";var Ql=ct(),Xl=Te(),Zl=Ie(),cT=TypeError;Qh.exports=function(e,t){var r,n;if(t==="string"&&Xl(r=e.toString)&&!Zl(n=Ql(r,e))||Xl(r=e.valueOf)&&!Zl(n=Ql(r,e))||t!=="string"&&Xl(r=e.toString)&&!Zl(n=Ql(r,e)))return n;throw new cT("Can't convert object to primitive value")}});var Br=h((YH,Zh)=>{"use strict";Zh.exports=!0});var rm=h((QH,tm)=>{"use strict";var em=ae(),uT=Object.defineProperty;tm.exports=function(e,t){try{uT(em,e,{value:t,configurable:!0,writable:!0})}catch(r){em[e]=t}return t}});var Vn=h((XH,om)=>{"use strict";var dT=Br(),fT=ae(),pT=rm(),nm="__core-js_shared__",im=om.exports=fT[nm]||pT(nm,{});(im.versions||(im.versions=[])).push({version:"3.41.0",mode:dT?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var ec=h((ZH,sm)=>{"use strict";var am=Vn();sm.exports=function(e,t){return am[e]||(am[e]=t||{})}});var Jr=h((ez,lm)=>{"use strict";var hT=Er(),mT=Object;lm.exports=function(e){return mT(hT(e))}});var Qe=h((tz,cm)=>{"use strict";var vT=me(),gT=Jr(),yT=vT({}.hasOwnProperty);cm.exports=Object.hasOwn||function(t,r){return yT(gT(t),r)}});var To=h((rz,um)=>{"use strict";var _T=me(),bT=0,wT=Math.random(),IT=_T(1 .toString);um.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+IT(++bT+wT,36)}});var qe=h((nz,fm)=>{"use strict";var ET=ae(),xT=ec(),dm=Qe(),ST=To(),AT=Wl(),kT=Kl(),$r=ET.Symbol,tc=xT("wks"),TT=kT?$r.for||$r:$r&&$r.withoutSetter||ST;fm.exports=function(e){return dm(tc,e)||(tc[e]=AT&&dm($r,e)?$r[e]:TT("Symbol."+e)),tc[e]}});var vm=h((iz,mm)=>{"use strict";var PT=ct(),pm=Ie(),hm=Yl(),CT=ko(),RT=Xh(),OT=qe(),NT=TypeError,DT=OT("toPrimitive");mm.exports=function(e,t){if(!pm(e)||hm(e))return e;var r=CT(e,DT),n;if(r){if(t===void 0&&(t="default"),n=PT(r,e,t),!pm(n)||hm(n))return n;throw new NT("Can't convert object to primitive value")}return t===void 0&&(t="number"),RT(e,t)}});var rc=h((oz,gm)=>{"use strict";var qT=vm(),LT=Yl();gm.exports=function(e){var t=qT(e,"string");return LT(t)?t:t+""}});var ic=h((az,_m)=>{"use strict";var FT=ae(),ym=Ie(),nc=FT.document,MT=ym(nc)&&ym(nc.createElement);_m.exports=function(e){return MT?nc.createElement(e):{}}});var oc=h((sz,bm)=>{"use strict";var jT=$e(),UT=oe(),BT=ic();bm.exports=!jT&&!UT(function(){return Object.defineProperty(BT("div"),"a",{get:function(){return 7}}).a!==7})});var ac=h(Im=>{"use strict";var JT=$e(),$T=ct(),HT=$l(),zT=Hn(),VT=rr(),GT=rc(),WT=Qe(),KT=oc(),wm=Object.getOwnPropertyDescriptor;Im.f=JT?wm:function(t,r){if(t=VT(t),r=GT(r),KT)try{return wm(t,r)}catch(n){}if(WT(t,r))return zT(!$T(HT.f,t,r),t[r])}});var xm=h((cz,Em)=>{"use strict";var YT=oe(),QT=Te(),XT=/#|\.prototype\./,Gn=function(e,t){var r=eP[ZT(e)];return r===rP?!0:r===tP?!1:QT(t)?YT(t):!!t},ZT=Gn.normalize=function(e){return String(e).replace(XT,".").toLowerCase()},eP=Gn.data={},tP=Gn.NATIVE="N",rP=Gn.POLYFILL="P";Em.exports=Gn});var Wn=h((uz,Am)=>{"use strict";var Sm=$n(),nP=xr(),iP=jr(),oP=Sm(Sm.bind);Am.exports=function(e,t){return nP(e),t===void 0?e:iP?oP(e,t):function(){return e.apply(t,arguments)}}});var sc=h((dz,km)=>{"use strict";var aP=$e(),sP=oe();km.exports=aP&&sP(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Mt=h((fz,Tm)=>{"use strict";var lP=Ie(),cP=String,uP=TypeError;Tm.exports=function(e){if(lP(e))return e;throw new uP(cP(e)+" is not an object")}});var jt=h(Cm=>{"use strict";var dP=$e(),fP=oc(),pP=sc(),Po=Mt(),Pm=rc(),hP=TypeError,lc=Object.defineProperty,mP=Object.getOwnPropertyDescriptor,cc="enumerable",uc="configurable",dc="writable";Cm.f=dP?pP?function(t,r,n){if(Po(t),r=Pm(r),Po(n),typeof t=="function"&&r==="prototype"&&"value"in n&&dc in n&&!n[dc]){var i=mP(t,r);i&&i[dc]&&(t[r]=n.value,n={configurable:uc in n?n[uc]:i[uc],enumerable:cc in n?n[cc]:i[cc],writable:!1})}return lc(t,r,n)}:lc:function(t,r,n){if(Po(t),r=Pm(r),Po(n),fP)try{return lc(t,r,n)}catch(i){}if("get"in n||"set"in n)throw new hP("Accessors not supported");return"value"in n&&(t[r]=n.value),t}});var Sr=h((hz,Rm)=>{"use strict";var vP=$e(),gP=jt(),yP=Hn();Rm.exports=vP?function(e,t,r){return gP.f(e,t,yP(1,r))}:function(e,t,r){return e[t]=r,e}});var V=h((mz,Nm)=>{"use strict";var Kn=ae(),_P=Bl(),bP=$n(),wP=Te(),IP=ac().f,EP=xm(),Hr=wt(),xP=Wn(),zr=Sr(),Om=Qe();Vn();var SP=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return _P(e,this,arguments)};return t.prototype=e.prototype,t};Nm.exports=function(e,t){var r=e.target,n=e.global,i=e.stat,o=e.proto,a=n?Kn:i?Kn[r]:Kn[r]&&Kn[r].prototype,s=n?Hr:Hr[r]||zr(Hr,r,{})[r],l=s.prototype,c,d,u,p,f,m,v,y,g;for(p in t)c=EP(n?p:r+(i?".":"#")+p,e.forced),d=!c&&a&&Om(a,p),m=s[p],d&&(e.dontCallGetSet?(g=IP(a,p),v=g&&g.value):v=a[p]),f=d&&v?v:t[p],!(!c&&!o&&typeof m==typeof f)&&(e.bind&&d?y=xP(f,Kn):e.wrap&&d?y=SP(f):o&&wP(f)?y=bP(f):y=f,(e.sham||f&&f.sham||m&&m.sham)&&zr(y,"sham",!0),zr(s,p,y),o&&(u=r+"Prototype",Om(Hr,u)||zr(Hr,u,{}),zr(Hr[u],p,f),e.real&&l&&(c||!l[p])&&zr(l,p,f)))}});var qm=h((vz,Dm)=>{"use strict";var AP=Math.ceil,kP=Math.floor;Dm.exports=Math.trunc||function(t){var r=+t;return(r>0?kP:AP)(r)}});var Yn=h((gz,Lm)=>{"use strict";var TP=qm();Lm.exports=function(e){var t=+e;return t!==t||t===0?0:TP(t)}});var fc=h((yz,Fm)=>{"use strict";var PP=Yn(),CP=Math.min;Fm.exports=function(e){var t=PP(e);return t>0?CP(t,9007199254740991):0}});var Vr=h((_z,Mm)=>{"use strict";var RP=fc();Mm.exports=function(e){return RP(e.length)}});var Qn=h((bz,jm)=>{"use strict";var OP=Ft();jm.exports=Array.isArray||function(t){return OP(t)==="Array"}});var Co=h((wz,Bm)=>{"use strict";var NP=qe(),DP=NP("toStringTag"),Um={};Um[DP]="z";Bm.exports=String(Um)==="[object z]"});var Gr=h((Iz,Jm)=>{"use strict";var qP=Co(),LP=Te(),Ro=Ft(),FP=qe(),MP=FP("toStringTag"),jP=Object,UP=Ro(function(){return arguments}())==="Arguments",BP=function(e,t){try{return e[t]}catch(r){}};Jm.exports=qP?Ro:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=BP(t=jP(e),MP))=="string"?r:UP?Ro(t):(n=Ro(t))==="Object"&&LP(t.callee)?"Arguments":n}});var Hm=h((Ez,$m)=>{"use strict";var JP=me(),$P=Te(),pc=Vn(),HP=JP(Function.toString);$P(pc.inspectSource)||(pc.inspectSource=function(e){return HP(e)});$m.exports=pc.inspectSource});var mc=h((xz,Km)=>{"use strict";var zP=me(),VP=oe(),zm=Te(),GP=Gr(),WP=Ur(),KP=Hm(),Vm=function(){},Gm=WP("Reflect","construct"),hc=/^\s*(?:class|function)\b/,YP=zP(hc.exec),QP=!hc.test(Vm),Xn=function(t){if(!zm(t))return!1;try{return Gm(Vm,[],t),!0}catch(r){return!1}},Wm=function(t){if(!zm(t))return!1;switch(GP(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return QP||!!YP(hc,KP(t))}catch(r){return!0}};Wm.sham=!0;Km.exports=!Gm||VP(function(){var e;return Xn(Xn.call)||!Xn(Object)||!Xn(function(){e=!0})||e})?Wm:Xn});var Zm=h((Sz,Xm)=>{"use strict";var Ym=Qn(),XP=mc(),ZP=Ie(),eC=qe(),tC=eC("species"),Qm=Array;Xm.exports=function(e){var t;return Ym(e)&&(t=e.constructor,XP(t)&&(t===Qm||Ym(t.prototype))?t=void 0:ZP(t)&&(t=t[tC],t===null&&(t=void 0))),t===void 0?Qm:t}});var vc=h((Az,ev)=>{"use strict";var rC=Zm();ev.exports=function(e,t){return new(rC(e))(t===0?0:t)}});var ir=h((kz,rv)=>{"use strict";var nC=Wn(),iC=me(),oC=Eo(),aC=Jr(),sC=Vr(),lC=vc(),tv=iC([].push),nr=function(e){var t=e===1,r=e===2,n=e===3,i=e===4,o=e===6,a=e===7,s=e===5||o;return function(l,c,d,u){for(var p=aC(l),f=oC(p),m=sC(f),v=nC(c,d),y=0,g=u||lC,_=t?g(l,m):r||a?g(l,0):void 0,w,k;m>y;y++)if((s||y in f)&&(w=f[y],k=v(w,y,p),e))if(t)_[y]=k;else if(k)switch(e){case 3:return!0;case 5:return w;case 6:return y;case 2:tv(_,w)}else switch(e){case 4:return!1;case 7:tv(_,w)}return o?-1:n||i?i:_}};rv.exports={forEach:nr(0),map:nr(1),filter:nr(2),some:nr(3),every:nr(4),find:nr(5),findIndex:nr(6),filterReject:nr(7)}});var Zn=h((Tz,nv)=>{"use strict";var cC=oe(),uC=qe(),dC=Ao(),fC=uC("species");nv.exports=function(e){return dC>=51||!cC(function(){var t=[],r=t.constructor={};return r[fC]=function(){return{foo:1}},t[e](Boolean).foo!==1})}});var iv=h(()=>{"use strict";var pC=V(),hC=ir().filter,mC=Zn(),vC=mC("filter");pC({target:"Array",proto:!0,forced:!vC},{filter:function(t){return hC(this,t,arguments.length>1?arguments[1]:void 0)}})});var it=h((Rz,ov)=>{"use strict";var gC=ae(),yC=wt();ov.exports=function(e,t){var r=yC[e+"Prototype"],n=r&&r[t];if(n)return n;var i=gC[e],o=i&&i.prototype;return o&&o[t]}});var sv=h((Oz,av)=>{"use strict";iv();var _C=it();av.exports=_C("Array","filter")});var cv=h((Nz,lv)=>{"use strict";var bC=Je(),wC=sv(),gc=Array.prototype;lv.exports=function(e){var t=e.filter;return e===gc||bC(gc,e)&&t===gc.filter?wC:t}});var dv=h((Dz,uv)=>{"use strict";var IC=cv();uv.exports=IC});var pv=h((qz,fv)=>{fv.exports=dv()});var ei=h((Lz,hv)=>{"use strict";var EC=oe();hv.exports=function(e,t){var r=[][e];return!!r&&EC(function(){r.call(null,t||function(){return 1},1)})}});var mv=h(()=>{"use strict";var xC=V(),SC=ir().every,AC=ei(),kC=AC("every");xC({target:"Array",proto:!0,forced:!kC},{every:function(t){return SC(this,t,arguments.length>1?arguments[1]:void 0)}})});var gv=h((jz,vv)=>{"use strict";mv();var TC=it();vv.exports=TC("Array","every")});var _v=h((Uz,yv)=>{"use strict";var PC=Je(),CC=gv(),yc=Array.prototype;yv.exports=function(e){var t=e.every;return e===yc||PC(yc,e)&&t===yc.every?CC:t}});var wv=h((Bz,bv)=>{"use strict";var RC=_v();bv.exports=RC});var Ev=h((Jz,Iv)=>{Iv.exports=wv()});var Sv=h(($z,xv)=>{"use strict";var OC=ir().forEach,NC=ei(),DC=NC("forEach");xv.exports=DC?[].forEach:function(t){return OC(this,t,arguments.length>1?arguments[1]:void 0)}});var kv=h(()=>{"use strict";var qC=V(),Av=Sv();qC({target:"Array",proto:!0,forced:[].forEach!==Av},{forEach:Av})});var Pv=h((Vz,Tv)=>{"use strict";kv();var LC=it();Tv.exports=LC("Array","forEach")});var Rv=h((Gz,Cv)=>{"use strict";var FC=Pv();Cv.exports=FC});var Ov=h(()=>{});var Dv=h((Yz,Nv)=>{"use strict";var MC=Gr(),jC=Qe(),UC=Je(),BC=Rv();Ov();var _c=Array.prototype,JC={DOMTokenList:!0,NodeList:!0};Nv.exports=function(e){var t=e.forEach;return e===_c||UC(_c,e)&&t===_c.forEach||jC(JC,MC(e))?BC:t}});var Lv=h((Qz,qv)=>{qv.exports=Dv()});var Mv=h((Xz,Fv)=>{"use strict";var $C=TypeError,HC=9007199254740991;Fv.exports=function(e){if(e>HC)throw $C("Maximum allowed index exceeded");return e}});var bc=h((Zz,jv)=>{"use strict";var zC=$e(),VC=jt(),GC=Hn();jv.exports=function(e,t,r){zC?VC.f(e,t,GC(0,r)):e[t]=r}});var $v=h(()=>{"use strict";var WC=V(),KC=oe(),YC=Qn(),QC=Ie(),XC=Jr(),ZC=Vr(),Uv=Mv(),Bv=bc(),eR=vc(),tR=Zn(),rR=qe(),nR=Ao(),Jv=rR("isConcatSpreadable"),iR=nR>=51||!KC(function(){var e=[];return e[Jv]=!1,e.concat()[0]!==e}),oR=function(e){if(!QC(e))return!1;var t=e[Jv];return t!==void 0?!!t:YC(e)},aR=!iR||!tR("concat");WC({target:"Array",proto:!0,arity:1,forced:aR},{concat:function(t){var r=XC(this),n=eR(r,0),i=0,o,a,s,l,c;for(o=-1,s=arguments.length;o<s;o++)if(c=o===-1?r:arguments[o],oR(c))for(l=ZC(c),Uv(i+l),a=0;a<l;a++,i++)a in c&&Bv(n,i,c[a]);else Uv(i+1),Bv(n,i++,c);return n.length=i,n}})});var zv=h((rV,Hv)=>{"use strict";$v();var sR=it();Hv.exports=sR("Array","concat")});var Gv=h((nV,Vv)=>{"use strict";var lR=Je(),cR=zv(),wc=Array.prototype;Vv.exports=function(e){var t=e.concat;return e===wc||lR(wc,e)&&t===wc.concat?cR:t}});var Kv=h((iV,Wv)=>{"use strict";var uR=Gv();Wv.exports=uR});var Qv=h((oV,Yv)=>{Yv.exports=Kv()});var Xv=h(()=>{"use strict";var dR=V(),fR=ir().some,pR=ei(),hR=pR("some");dR({target:"Array",proto:!0,forced:!hR},{some:function(t){return fR(this,t,arguments.length>1?arguments[1]:void 0)}})});var eg=h((lV,Zv)=>{"use strict";Xv();var mR=it();Zv.exports=mR("Array","some")});var rg=h((cV,tg)=>{"use strict";var vR=Je(),gR=eg(),Ic=Array.prototype;tg.exports=function(e){var t=e.some;return e===Ic||vR(Ic,e)&&t===Ic.some?gR:t}});var ig=h((uV,ng)=>{"use strict";var yR=rg();ng.exports=yR});var ag=h((dV,og)=>{og.exports=ig()});var lg=h((fV,sg)=>{"use strict";var ti=ae(),_R=xo(),bR=Ft(),Oo=function(e){return _R.slice(0,e.length)===e};sg.exports=function(){return Oo("Bun/")?"BUN":Oo("Cloudflare-Workers")?"CLOUDFLARE":Oo("Deno/")?"DENO":Oo("Node.js/")?"NODE":ti.Bun&&typeof Bun.version=="string"?"BUN":ti.Deno&&typeof Deno.version=="object"?"DENO":bR(ti.process)==="process"?"NODE":ti.window&&ti.document?"BROWSER":"REST"}()});var ri=h((pV,cg)=>{"use strict";var wR=me();cg.exports=wR([].slice)});var dg=h((hV,ug)=>{"use strict";var IR=TypeError;ug.exports=function(e,t){if(e<t)throw new IR("Not enough arguments");return e}});var Ec=h((mV,pg)=>{"use strict";var fg=ae(),ER=Bl(),xR=Te(),SR=lg(),AR=xo(),kR=ri(),TR=dg(),PR=fg.Function,CR=/MSIE .\./.test(AR)||SR==="BUN"&&function(){var e=fg.Bun.version.split(".");return e.length<3||e[0]==="0"&&(e[1]<3||e[1]==="3"&&e[2]==="0")}();pg.exports=function(e,t){var r=t?2:1;return CR?function(n,i){var o=TR(arguments.length,1)>r,a=xR(n)?n:PR(n),s=o?kR(arguments,r):[],l=o?function(){ER(a,this,s)}:a;return t?e(l,i):e(l)}:e}});var vg=h(()=>{"use strict";var RR=V(),mg=ae(),OR=Ec(),hg=OR(mg.setInterval,!0);RR({global:!0,bind:!0,forced:mg.setInterval!==hg},{setInterval:hg})});var _g=h(()=>{"use strict";var NR=V(),yg=ae(),DR=Ec(),gg=DR(yg.setTimeout,!0);NR({global:!0,bind:!0,forced:yg.setTimeout!==gg},{setTimeout:gg})});var bg=h(()=>{"use strict";vg();_g()});var Ig=h((IV,wg)=>{"use strict";bg();var qR=wt();wg.exports=qR.setTimeout});var xg=h((EV,Eg)=>{Eg.exports=Ig()});function ii(e,t){ce.__h&&ce.__h(X,e,ni||t),ni=0;var r=X.__H||(X.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Do(e){return ni=1,Dg(qg,e)}function Dg(e,t,r){var n=ii(Ar++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):qg(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=X,!X.__f)){var i=function(s,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(p){return!!p.__c});if(d.every(function(p){return!p.__N}))return!o||o.call(this,s,l,c);var u=n.__c.props!==s;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(u=!0)}}),o&&o.call(this,s,l,c)||u};X.__f=!0;var o=X.shouldComponentUpdate,a=X.componentWillUpdate;X.componentWillUpdate=function(s,l,c){if(this.__e){var d=o;o=void 0,i(s,l,c),o=d}a&&a.call(this,s,l,c)},X.shouldComponentUpdate=i}return n.__N||n.__}function oi(e,t){var r=ii(Ar++,3);!ce.__s&&Ac(r.__H,t)&&(r.__=e,r.u=t,X.__H.__h.push(r))}function Wr(e,t){var r=ii(Ar++,4);!ce.__s&&Ac(r.__H,t)&&(r.__=e,r.u=t,X.__h.push(r))}function ai(e){return ni=5,si(function(){return{current:e}},[])}function si(e,t){var r=ii(Ar++,7);return Ac(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Kr(e,t){return ni=8,si(function(){return e},t)}function Yr(e){var t=X.context[e.__c],r=ii(Ar++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(X)),t.props.value):e.__}function LR(){for(var e;e=Ng.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(No),e.__H.__h.forEach(Sc),e.__H.__h=[]}catch(t){e.__H.__h=[],ce.__e(t,e.__v)}}function FR(e){var t,r=function(){clearTimeout(n),Og&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Og&&(t=requestAnimationFrame(r))}function No(e){var t=X,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),X=t}function Sc(e){var t=X;e.__c=e.__(),X=t}function Ac(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function qg(e,t){return typeof t=="function"?t(e):t}var Ar,X,xc,Sg,ni,Ng,ce,Ag,kg,Tg,Pg,Cg,Rg,Og,kc=T(()=>{Mr();ni=0,Ng=[],ce=O,Ag=ce.__b,kg=ce.__r,Tg=ce.diffed,Pg=ce.__c,Cg=ce.unmount,Rg=ce.__;ce.__b=function(e){X=null,Ag&&Ag(e)},ce.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Rg&&Rg(e,t)},ce.__r=function(e){kg&&kg(e),Ar=0;var t=(X=e.__c).__H;t&&(xc===X?(t.__h=[],X.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(No),t.__h.forEach(Sc),t.__h=[],Ar=0)),xc=X},ce.diffed=function(e){Tg&&Tg(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ng.push(t)!==1&&Sg===ce.requestAnimationFrame||((Sg=ce.requestAnimationFrame)||FR)(LR)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),xc=X=null},ce.__c=function(e,t){t.some(function(r){try{r.__h.forEach(No),r.__h=r.__h.filter(function(n){return!n.__||Sc(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],ce.__e(n,r.__v)}}),Pg&&Pg(e,t)},ce.unmount=function(e){Cg&&Cg(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{No(n)}catch(i){t=i}}),r.__H=void 0,t&&ce.__e(t,r.__v))};Og=typeof requestAnimationFrame=="function"});function zg(e,t){for(var r in t)e[r]=t[r];return e}function Pc(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Lg(e,t){this.props=e,this.context=t}function Rc(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:Pc(this.props,i)}function n(i){return this.shouldComponentUpdate=r,De(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}function Oc(e){function t(r){var n=zg({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=MR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function Vg(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zg({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Vg(n,t,r)})),e}function Gg(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Gg(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Tc(){this.__u=0,this.o=null,this.__b=null}function Wg(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function qo(){this.i=null,this.l=null}function Nc(e,t,r){return t.__k==null&&(t.textContent=""),tr(e,t),typeof r=="function"&&r(),e?e.__c:null}function VR(){}function GR(){return this.cancelBubble}function WR(){return this.defaultPrevented}var Cc,Fg,MR,jR,Mg,jg,UR,BR,JR,$R,HR,zR,Ug,Kg,KR,Bg,Jg,$g,Lo=T(()=>{Mr();Mr();kc();kc();Cc=Wr;(Lg.prototype=new Ke).isPureReactComponent=!0,Lg.prototype.shouldComponentUpdate=function(e,t){return Pc(this.props,e)||Pc(this.state,t)};Fg=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Fg&&Fg(e)};MR=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;jR=O.__e;O.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}jR(e,t,r,n)};Mg=O.unmount;O.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Mg&&Mg(e)},(Tc.prototype=new Ke).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=Wg(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=Gg(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Tc.prototype.componentWillUnmount=function(){this.o=[]},Tc.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Vg(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&De(Ye,null,e.fallback);return i&&(i.__u&=-33),[De(Ye,null,t.__a?null:e.children),i]};jg=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};(qo.prototype=new Ke).__a=function(e){var t=this,r=Wg(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),jg(t,e,n)):i()};r?r(o):o()}},qo.prototype.render=function(e){this.i=null,this.l=new Map;var t=Bn(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},qo.prototype.componentDidUpdate=qo.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){jg(e,r,t)})};UR=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,BR=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,JR=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,$R=/[A-Z0-9]/g,HR=typeof document!="undefined",zR=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};Ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});Ug=O.event;O.event=function(e){return Ug&&(e=Ug(e)),e.persist=VR,e.isPropagationStopped=GR,e.isDefaultPrevented=WR,e.nativeEvent=e};KR={enumerable:!1,configurable:!0,get:function(){return this.class}},Bg=O.vnode;O.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var a in r){var s=r[a];if(!(a==="value"&&"defaultValue"in r&&s==null||HR&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||zR(r.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":JR.test(a)&&(a=l):l=a="oninput":o&&BR.test(a)?a=a.replace($R,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&i[a=l]&&(a="oninputCapture"),i[a]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Bn(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Bn(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",KR)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=UR,Bg&&Bg(e)};Jg=O.__r;O.__r=function(e){Jg&&Jg(e),Kg=e.__c};$g=O.diffed;O.diffed=function(e){$g&&$g(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Kg=null}});var qc=h(()=>{"use strict";var QR=V(),Dc=ae();QR({global:!0,forced:Dc.globalThis!==Dc},{globalThis:Dc})});var Yg=h(()=>{"use strict";qc()});var Xg=h((jV,Qg)=>{"use strict";qc();Qg.exports=ae()});var ey=h((UV,Zg)=>{"use strict";var XR=Xg();Zg.exports=XR});var ry=h((BV,ty)=>{"use strict";var ZR=ey();ty.exports=ZR});var iy=h((JV,ny)=>{"use strict";Yg();var eO=ry();ny.exports=eO});var ay=h(($V,oy)=>{"use strict";oy.exports=iy()});var ly=h((HV,sy)=>{sy.exports=ay()});var cy=h(()=>{"use strict";var tO=V(),rO=Qn();tO({target:"Array",stat:!0},{isArray:rO})});var dy=h((GV,uy)=>{"use strict";cy();var nO=wt();uy.exports=nO.Array.isArray});var py=h((WV,fy)=>{"use strict";var iO=dy();fy.exports=iO});var my=h((KV,hy)=>{hy.exports=py()});var gy=h((YV,vy)=>{"use strict";vy.exports=function(){}});var kr=h((QV,yy)=>{"use strict";yy.exports={}});var Lc=h((XV,by)=>{"use strict";var oO=ae(),aO=Te(),_y=oO.WeakMap;by.exports=aO(_y)&&/native code/.test(String(_y))});var Fo=h((ZV,Iy)=>{"use strict";var sO=ec(),lO=To(),wy=sO("keys");Iy.exports=function(e){return wy[e]||(wy[e]=lO(e))}});var li=h((e9,Ey)=>{"use strict";Ey.exports={}});var Pr=h((t9,Ay)=>{"use strict";var cO=Lc(),Sy=ae(),uO=Ie(),dO=Sr(),Fc=Qe(),Mc=Vn(),fO=Fo(),pO=li(),xy="Object already initialized",jc=Sy.TypeError,hO=Sy.WeakMap,Mo,ci,jo,mO=function(e){return jo(e)?ci(e):Mo(e,{})},vO=function(e){return function(t){var r;if(!uO(t)||(r=ci(t)).type!==e)throw new jc("Incompatible receiver, "+e+" required");return r}};cO||Mc.state?(dt=Mc.state||(Mc.state=new hO),dt.get=dt.get,dt.has=dt.has,dt.set=dt.set,Mo=function(e,t){if(dt.has(e))throw new jc(xy);return t.facade=e,dt.set(e,t),t},ci=function(e){return dt.get(e)||{}},jo=function(e){return dt.has(e)}):(Tr=fO("state"),pO[Tr]=!0,Mo=function(e,t){if(Fc(e,Tr))throw new jc(xy);return t.facade=e,dO(e,Tr,t),t},ci=function(e){return Fc(e,Tr)?e[Tr]:{}},jo=function(e){return Fc(e,Tr)});var dt,Tr;Ay.exports={set:Mo,get:ci,has:jo,enforce:mO,getterFor:vO}});var Jc=h((r9,Ty)=>{"use strict";var Uc=$e(),gO=Qe(),ky=Function.prototype,yO=Uc&&Object.getOwnPropertyDescriptor,Bc=gO(ky,"name"),_O=Bc&&(function(){}).name==="something",bO=Bc&&(!Uc||Uc&&yO(ky,"name").configurable);Ty.exports={EXISTS:Bc,PROPER:_O,CONFIGURABLE:bO}});var $c=h((n9,Py)=>{"use strict";var wO=Yn(),IO=Math.max,EO=Math.min;Py.exports=function(e,t){var r=wO(e);return r<0?IO(r+t,0):EO(r,t)}});var Hc=h((i9,Ry)=>{"use strict";var xO=rr(),SO=$c(),AO=Vr(),Cy=function(e){return function(t,r,n){var i=xO(t),o=AO(i);if(o===0)return!e&&-1;var a=SO(n,o),s;if(e&&r!==r){for(;o>a;)if(s=i[a++],s!==s)return!0}else for(;o>a;a++)if((e||a in i)&&i[a]===r)return e||a||0;return!e&&-1}};Ry.exports={includes:Cy(!0),indexOf:Cy(!1)}});var Vc=h((o9,Ny)=>{"use strict";var kO=me(),zc=Qe(),TO=rr(),PO=Hc().indexOf,CO=li(),Oy=kO([].push);Ny.exports=function(e,t){var r=TO(e),n=0,i=[],o;for(o in r)!zc(CO,o)&&zc(r,o)&&Oy(i,o);for(;t.length>n;)zc(r,o=t[n++])&&(~PO(i,o)||Oy(i,o));return i}});var Uo=h((a9,Dy)=>{"use strict";Dy.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Gc=h((s9,qy)=>{"use strict";var RO=Vc(),OO=Uo();qy.exports=Object.keys||function(t){return RO(t,OO)}});var Fy=h(Ly=>{"use strict";var NO=$e(),DO=sc(),qO=jt(),LO=Mt(),FO=rr(),MO=Gc();Ly.f=NO&&!DO?Object.defineProperties:function(t,r){LO(t);for(var n=FO(r),i=MO(r),o=i.length,a=0,s;o>a;)qO.f(t,s=i[a++],n[s]);return t}});var jy=h((c9,My)=>{"use strict";var jO=Ur();My.exports=jO("document","documentElement")});var ui=h((u9,Vy)=>{"use strict";var UO=Mt(),BO=Fy(),Uy=Uo(),JO=li(),$O=jy(),HO=ic(),zO=Fo(),By=">",Jy="<",Kc="prototype",Yc="script",Hy=zO("IE_PROTO"),Wc=function(){},zy=function(e){return Jy+Yc+By+e+Jy+"/"+Yc+By},$y=function(e){e.write(zy("")),e.close();var t=e.parentWindow.Object;return e=null,t},VO=function(){var e=HO("iframe"),t="java"+Yc+":",r;return e.style.display="none",$O.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(zy("document.F=Object")),r.close(),r.F},Bo,Jo=function(){try{Bo=new ActiveXObject("htmlfile")}catch(t){}Jo=typeof document!="undefined"?document.domain&&Bo?$y(Bo):VO():$y(Bo);for(var e=Uy.length;e--;)delete Jo[Kc][Uy[e]];return Jo()};JO[Hy]=!0;Vy.exports=Object.create||function(t,r){var n;return t!==null?(Wc[Kc]=UO(t),n=new Wc,Wc[Kc]=null,n[Hy]=t):n=Jo(),r===void 0?n:BO.f(n,r)}});var Wy=h((d9,Gy)=>{"use strict";var GO=oe();Gy.exports=!GO(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Xc=h((f9,Yy)=>{"use strict";var WO=Qe(),KO=Te(),YO=Jr(),QO=Fo(),XO=Wy(),Ky=QO("IE_PROTO"),Qc=Object,ZO=Qc.prototype;Yy.exports=XO?Qc.getPrototypeOf:function(e){var t=YO(e);if(WO(t,Ky))return t[Ky];var r=t.constructor;return KO(r)&&t instanceof r?r.prototype:t instanceof Qc?ZO:null}});var $o=h((p9,Qy)=>{"use strict";var eN=Sr();Qy.exports=function(e,t,r,n){return n&&n.enumerable?e[t]=r:eN(e,t,r),e}});var ru=h((h9,e_)=>{"use strict";var tN=oe(),rN=Te(),nN=Ie(),iN=ui(),Xy=Xc(),oN=$o(),aN=qe(),sN=Br(),tu=aN("iterator"),Zy=!1,Ut,Zc,eu;[].keys&&(eu=[].keys(),"next"in eu?(Zc=Xy(Xy(eu)),Zc!==Object.prototype&&(Ut=Zc)):Zy=!0);var lN=!nN(Ut)||tN(function(){var e={};return Ut[tu].call(e)!==e});lN?Ut={}:sN&&(Ut=iN(Ut));rN(Ut[tu])||oN(Ut,tu,function(){return this});e_.exports={IteratorPrototype:Ut,BUGGY_SAFARI_ITERATORS:Zy}});var r_=h((m9,t_)=>{"use strict";var cN=Co(),uN=Gr();t_.exports=cN?{}.toString:function(){return"[object "+uN(this)+"]"}});var di=h((v9,i_)=>{"use strict";var dN=Co(),fN=jt().f,pN=Sr(),hN=Qe(),mN=r_(),vN=qe(),n_=vN("toStringTag");i_.exports=function(e,t,r,n){var i=r?e:e&&e.prototype;i&&(hN(i,n_)||fN(i,n_,{configurable:!0,value:t}),n&&!dN&&pN(i,"toString",mN))}});var a_=h((g9,o_)=>{"use strict";var gN=ru().IteratorPrototype,yN=ui(),_N=Hn(),bN=di(),wN=kr(),IN=function(){return this};o_.exports=function(e,t,r,n){var i=t+" Iterator";return e.prototype=yN(gN,{next:_N(+!n,r)}),bN(e,i,!1,!0),wN[i]=IN,e}});var l_=h((y9,s_)=>{"use strict";var EN=me(),xN=xr();s_.exports=function(e,t,r){try{return EN(xN(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}}});var u_=h((_9,c_)=>{"use strict";var SN=Ie();c_.exports=function(e){return SN(e)||e===null}});var f_=h((b9,d_)=>{"use strict";var AN=u_(),kN=String,TN=TypeError;d_.exports=function(e){if(AN(e))return e;throw new TN("Can't set "+kN(e)+" as a prototype")}});var h_=h((w9,p_)=>{"use strict";var PN=l_(),CN=Ie(),RN=Er(),ON=f_();p_.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=PN(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch(n){}return function(i,o){return RN(i),ON(o),CN(i)&&(e?r(i,o):i.__proto__=o),i}}():void 0)});var Vo=h((I9,x_)=>{"use strict";var NN=V(),DN=ct(),Ho=Br(),I_=Jc(),qN=Te(),LN=a_(),m_=Xc(),v_=h_(),FN=di(),MN=Sr(),nu=$o(),jN=qe(),g_=kr(),E_=ru(),UN=I_.PROPER,BN=I_.CONFIGURABLE,y_=E_.IteratorPrototype,zo=E_.BUGGY_SAFARI_ITERATORS,fi=jN("iterator"),__="keys",pi="values",b_="entries",w_=function(){return this};x_.exports=function(e,t,r,n,i,o,a){LN(r,t,n);var s=function(g){if(g===i&&p)return p;if(!zo&&g&&g in d)return d[g];switch(g){case __:return function(){return new r(this,g)};case pi:return function(){return new r(this,g)};case b_:return function(){return new r(this,g)}}return function(){return new r(this)}},l=t+" Iterator",c=!1,d=e.prototype,u=d[fi]||d["@@iterator"]||i&&d[i],p=!zo&&u||s(i),f=t==="Array"&&d.entries||u,m,v,y;if(f&&(m=m_(f.call(new e)),m!==Object.prototype&&m.next&&(!Ho&&m_(m)!==y_&&(v_?v_(m,y_):qN(m[fi])||nu(m,fi,w_)),FN(m,l,!0,!0),Ho&&(g_[l]=w_))),UN&&i===pi&&u&&u.name!==pi&&(!Ho&&BN?MN(d,"name",pi):(c=!0,p=function(){return DN(u,this)})),i)if(v={values:s(pi),keys:o?p:s(__),entries:s(b_)},a)for(y in v)(zo||c||!(y in d))&&nu(d,y,v[y]);else NN({target:t,proto:!0,forced:zo||c},v);return(!Ho||a)&&d[fi]!==p&&nu(d,fi,p,{name:i}),g_[t]=p,v}});var Go=h((E9,S_)=>{"use strict";S_.exports=function(e,t){return{value:e,done:t}}});var Ko=h((x9,C_)=>{"use strict";var JN=rr(),iu=gy(),A_=kr(),T_=Pr(),$N=jt().f,HN=Vo(),Wo=Go(),zN=Br(),VN=$e(),P_="Array Iterator",GN=T_.set,WN=T_.getterFor(P_);C_.exports=HN(Array,"Array",function(e,t){GN(this,{type:P_,target:JN(e),index:0,kind:t})},function(){var e=WN(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Wo(void 0,!0);switch(e.kind){case"keys":return Wo(r,!1);case"values":return Wo(t[r],!1)}return Wo([r,t[r]],!1)},"values");var k_=A_.Arguments=A_.Array;iu("keys");iu("values");iu("entries");if(!zN&&VN&&k_.name!=="values")try{$N(k_,"name",{value:"values"})}catch(e){}});var ou=h(()=>{});var au=h((k9,R_)=>{"use strict";var KN=oe();R_.exports=!KN(function(){return Object.isExtensible(Object.preventExtensions({}))})});var Yo=h((T9,O_)=>{"use strict";var YN=$o();O_.exports=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:YN(e,n,t[n],r);return e}});var su=h(N_=>{"use strict";var QN=Vc(),XN=Uo(),ZN=XN.concat("length","prototype");N_.f=Object.getOwnPropertyNames||function(t){return QN(t,ZN)}});var F_=h((C9,L_)=>{"use strict";var eD=Ft(),tD=rr(),D_=su().f,rD=ri(),q_=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nD=function(e){try{return D_(e)}catch(t){return rD(q_)}};L_.exports.f=function(t){return q_&&eD(t)==="Window"?nD(t):D_(tD(t))}});var j_=h((R9,M_)=>{"use strict";var iD=oe();M_.exports=iD(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})});var J_=h((O9,B_)=>{"use strict";var oD=oe(),aD=Ie(),sD=Ft(),U_=j_(),Qo=Object.isExtensible,lD=oD(function(){Qo(1)});B_.exports=lD||U_?function(t){return!aD(t)||U_&&sD(t)==="ArrayBuffer"?!1:Qo?Qo(t):!0}:Qo});var hi=h((N9,z_)=>{"use strict";var cD=V(),uD=me(),dD=li(),fD=Ie(),lu=Qe(),pD=jt().f,$_=su(),hD=F_(),cu=J_(),mD=To(),vD=au(),H_=!1,Bt=mD("meta"),gD=0,uu=function(e){pD(e,Bt,{value:{objectID:"O"+gD++,weakData:{}}})},yD=function(e,t){if(!fD(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!lu(e,Bt)){if(!cu(e))return"F";if(!t)return"E";uu(e)}return e[Bt].objectID},_D=function(e,t){if(!lu(e,Bt)){if(!cu(e))return!0;if(!t)return!1;uu(e)}return e[Bt].weakData},bD=function(e){return vD&&H_&&cu(e)&&!lu(e,Bt)&&uu(e),e},wD=function(){ID.enable=function(){},H_=!0;var e=$_.f,t=uD([].splice),r={};r[Bt]=1,e(r).length&&($_.f=function(n){for(var i=e(n),o=0,a=i.length;o<a;o++)if(i[o]===Bt){t(i,o,1);break}return i},cD({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:hD.f}))},ID=z_.exports={enable:wD,fastKey:yD,getWeakData:_D,onFreeze:bD};dD[Bt]=!0});var G_=h((D9,V_)=>{"use strict";var ED=qe(),xD=kr(),SD=ED("iterator"),AD=Array.prototype;V_.exports=function(e){return e!==void 0&&(xD.Array===e||AD[SD]===e)}});var du=h((q9,K_)=>{"use strict";var kD=Gr(),W_=ko(),TD=Ir(),PD=kr(),CD=qe(),RD=CD("iterator");K_.exports=function(e){if(!TD(e))return W_(e,RD)||W_(e,"@@iterator")||PD[kD(e)]}});var Q_=h((L9,Y_)=>{"use strict";var OD=ct(),ND=xr(),DD=Mt(),qD=zn(),LD=du(),FD=TypeError;Y_.exports=function(e,t){var r=arguments.length<2?LD(e):t;if(ND(r))return DD(OD(r,e));throw new FD(qD(e)+" is not iterable")}});var Xo=h((F9,Z_)=>{"use strict";var MD=ct(),X_=Mt(),jD=ko();Z_.exports=function(e,t,r){var n,i;X_(e);try{if(n=jD(e,"return"),!n){if(t==="throw")throw r;return r}n=MD(n,e)}catch(o){i=!0,n=o}if(t==="throw")throw r;if(i)throw n;return X_(n),r}});var ea=h((M9,nb)=>{"use strict";var UD=Wn(),BD=ct(),JD=Mt(),$D=zn(),HD=G_(),zD=Vr(),eb=Je(),VD=Q_(),GD=du(),tb=Xo(),WD=TypeError,Zo=function(e,t){this.stopped=e,this.result=t},rb=Zo.prototype;nb.exports=function(e,t,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),o=!!(r&&r.IS_RECORD),a=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),l=UD(t,n),c,d,u,p,f,m,v,y=function(_){return c&&tb(c,"normal",_),new Zo(!0,_)},g=function(_){return i?(JD(_),s?l(_[0],_[1],y):l(_[0],_[1])):s?l(_,y):l(_)};if(o)c=e.iterator;else if(a)c=e;else{if(d=GD(e),!d)throw new WD($D(e)+" is not iterable");if(HD(d)){for(u=0,p=zD(e);p>u;u++)if(f=g(e[u]),f&&eb(rb,f))return f;return new Zo(!1)}c=VD(e,d)}for(m=o?e.next:c.next;!(v=BD(m,c)).done;){try{f=g(v.value)}catch(_){tb(c,"throw",_)}if(typeof f=="object"&&f&&eb(rb,f))return f}return new Zo(!1)}});var ta=h((j9,ib)=>{"use strict";var KD=Je(),YD=TypeError;ib.exports=function(e,t){if(KD(t,e))return e;throw new YD("Incorrect invocation")}});var fu=h((U9,ab)=>{"use strict";var QD=V(),XD=ae(),ZD=hi(),eq=oe(),tq=Sr(),rq=ea(),nq=ta(),iq=Te(),oq=Ie(),aq=Ir(),sq=di(),lq=jt().f,cq=ir().forEach,uq=$e(),ob=Pr(),dq=ob.set,fq=ob.getterFor;ab.exports=function(e,t,r){var n=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=n?"set":"add",a=XD[e],s=a&&a.prototype,l={},c;if(!uq||!iq(a)||!(i||s.forEach&&!eq(function(){new a().entries().next()})))c=r.getConstructor(t,e,n,o),ZD.enable();else{c=t(function(p,f){dq(nq(p,d),{type:e,collection:new a}),aq(f)||rq(f,p[o],{that:p,AS_ENTRIES:n})});var d=c.prototype,u=fq(e);cq(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(p){var f=p==="add"||p==="set";p in s&&!(i&&p==="clear")&&tq(d,p,function(m,v){var y=u(this).collection;if(!f&&i&&!oq(m))return p==="get"?void 0:!1;var g=y[p](m===0?0:m,v);return f?this:g})}),i||lq(d,"size",{configurable:!0,get:function(){return u(this).collection.size}})}return sq(c,e,!1,!0),l[e]=c,QD({global:!0,forced:!0},l),i||r.setStrong(c,e,n),c}});var pb=h((B9,fb)=>{"use strict";var pq=me(),sb=Yo(),ra=hi().getWeakData,hq=ta(),mq=Mt(),vq=Ir(),pu=Ie(),gq=ea(),cb=ir(),lb=Qe(),ub=Pr(),yq=ub.set,_q=ub.getterFor,bq=cb.find,wq=cb.findIndex,Iq=pq([].splice),Eq=0,na=function(e){return e.frozen||(e.frozen=new db)},db=function(){this.entries=[]},hu=function(e,t){return bq(e.entries,function(r){return r[0]===t})};db.prototype={get:function(e){var t=hu(this,e);if(t)return t[1]},has:function(e){return!!hu(this,e)},set:function(e,t){var r=hu(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=wq(this.entries,function(r){return r[0]===e});return~t&&Iq(this.entries,t,1),!!~t}};fb.exports={getConstructor:function(e,t,r,n){var i=e(function(l,c){hq(l,o),yq(l,{type:t,id:Eq++,frozen:null}),vq(c)||gq(c,l[n],{that:l,AS_ENTRIES:r})}),o=i.prototype,a=_q(t),s=function(l,c,d){var u=a(l),p=ra(mq(c),!0);return p===!0?na(u).set(c,d):p[u.id]=d,l};return sb(o,{delete:function(l){var c=a(this);if(!pu(l))return!1;var d=ra(l);return d===!0?na(c).delete(l):d&&lb(d,c.id)&&delete d[c.id]},has:function(c){var d=a(this);if(!pu(c))return!1;var u=ra(c);return u===!0?na(d).has(c):u&&lb(u,d.id)}}),sb(o,r?{get:function(c){var d=a(this);if(pu(c)){var u=ra(c);if(u===!0)return na(d).get(c);if(u)return u[d.id]}},set:function(c,d){return s(this,c,d)}}:{add:function(c){return s(this,c,!0)}}),i}}});var wb=h(()=>{"use strict";var xq=au(),hb=ae(),sa=me(),mb=Yo(),Sq=hi(),Aq=fu(),vb=pb(),ia=Ie(),oa=Pr().enforce,kq=oe(),Tq=Lc(),yi=Object,Pq=Array.isArray,aa=yi.isExtensible,gb=yi.isFrozen,Cq=yi.isSealed,yb=yi.freeze,Rq=yi.seal,Oq=!hb.ActiveXObject&&"ActiveXObject"in hb,mi,_b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},bb=Aq("WeakMap",_b,vb),Qr=bb.prototype,la=sa(Qr.set),Nq=function(){return xq&&kq(function(){var e=yb([]);return la(new bb,e,1),!gb(e)})};Tq&&(Oq?(mi=vb.getConstructor(_b,"WeakMap",!0),Sq.enable(),mu=sa(Qr.delete),gi=sa(Qr.has),vu=sa(Qr.get),mb(Qr,{delete:function(e){if(ia(e)&&!aa(e)){var t=oa(this);return t.frozen||(t.frozen=new mi),mu(this,e)||t.frozen.delete(e)}return mu(this,e)},has:function(t){if(ia(t)&&!aa(t)){var r=oa(this);return r.frozen||(r.frozen=new mi),gi(this,t)||r.frozen.has(t)}return gi(this,t)},get:function(t){if(ia(t)&&!aa(t)){var r=oa(this);return r.frozen||(r.frozen=new mi),gi(this,t)?vu(this,t):r.frozen.get(t)}return vu(this,t)},set:function(t,r){if(ia(t)&&!aa(t)){var n=oa(this);n.frozen||(n.frozen=new mi),gi(this,t)?la(this,t,r):n.frozen.set(t,r)}else la(this,t,r);return this}})):Nq()&&mb(Qr,{set:function(t,r){var n;return Pq(t)&&(gb(t)?n=yb:Cq(t)&&(n=Rq)),la(this,t,r),n&&n(t),this}}));var mu,gi,vu});var Ib=h(()=>{"use strict";wb()});var xb=h((V9,Eb)=>{"use strict";Ko();ou();Ib();var Dq=wt();Eb.exports=Dq.WeakMap});var Ab=h((G9,Sb)=>{"use strict";Sb.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var gu=h(()=>{"use strict";Ko();var qq=Ab(),Lq=ae(),Fq=di(),kb=kr();for(ca in qq)Fq(Lq[ca],ca),kb[ca]=kb.Array;var ca});var Pb=h((Y9,Tb)=>{"use strict";var Mq=xb();gu();Tb.exports=Mq});var Rb=h((Q9,Cb)=>{Cb.exports=Pb()});var Nb=h(()=>{"use strict";var jq=V(),Uq=$n(),Bq=Hc().indexOf,Jq=ei(),yu=Uq([].indexOf),Ob=!!yu&&1/yu([1],1,-0)<0,$q=Ob||!Jq("indexOf");jq({target:"Array",proto:!0,forced:$q},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return Ob?yu(this,t,r)||0:Bq(this,t,r)}})});var qb=h((e6,Db)=>{"use strict";Nb();var Hq=it();Db.exports=Hq("Array","indexOf")});var Fb=h((t6,Lb)=>{"use strict";var zq=Je(),Vq=qb(),_u=Array.prototype;Lb.exports=function(e){var t=e.indexOf;return e===_u||zq(_u,e)&&t===_u.indexOf?Vq:t}});var jb=h((r6,Mb)=>{"use strict";var Gq=Fb();Mb.exports=Gq});var Bb=h((n6,Ub)=>{Ub.exports=jb()});var Jb=h(()=>{"use strict";var Wq=V(),Kq=ir().map,Yq=Zn(),Qq=Yq("map");Wq({target:"Array",proto:!0,forced:!Qq},{map:function(t){return Kq(this,t,arguments.length>1?arguments[1]:void 0)}})});var Hb=h((a6,$b)=>{"use strict";Jb();var Xq=it();$b.exports=Xq("Array","map")});var Vb=h((s6,zb)=>{"use strict";var Zq=Je(),eL=Hb(),bu=Array.prototype;zb.exports=function(e){var t=e.map;return e===bu||Zq(bu,e)&&t===bu.map?eL:t}});var Wb=h((l6,Gb)=>{"use strict";var tL=Vb();Gb.exports=tL});var Yb=h((c6,Kb)=>{Kb.exports=Wb()});var Qb=h(()=>{"use strict";var rL=V(),nL=$e(),iL=ui();rL({target:"Object",stat:!0,sham:!nL},{create:iL})});var Zb=h((f6,Xb)=>{"use strict";Qb();var oL=wt(),aL=oL.Object;Xb.exports=function(t,r){return aL.create(t,r)}});var t0=h((p6,e0)=>{"use strict";var sL=Zb();e0.exports=sL});var n0=h((h6,r0)=>{r0.exports=t0()});var wu=h((m6,i0)=>{"use strict";var lL=jt();i0.exports=function(e,t,r){return lL.f(e,t,r)}});var s0=h((v6,a0)=>{"use strict";var cL=Ur(),uL=wu(),dL=qe(),fL=$e(),o0=dL("species");a0.exports=function(e){var t=cL(e);fL&&t&&!t[o0]&&uL(t,o0,{configurable:!0,get:function(){return this}})}});var h0=h((g6,p0)=>{"use strict";var l0=ui(),pL=wu(),c0=Yo(),hL=Wn(),mL=ta(),vL=Ir(),gL=ea(),yL=Vo(),ua=Go(),_L=s0(),_i=$e(),u0=hi().fastKey,f0=Pr(),d0=f0.set,Iu=f0.getterFor;p0.exports={getConstructor:function(e,t,r,n){var i=e(function(c,d){mL(c,o),d0(c,{type:t,index:l0(null),first:null,last:null,size:0}),_i||(c.size=0),vL(d)||gL(d,c[n],{that:c,AS_ENTRIES:r})}),o=i.prototype,a=Iu(t),s=function(c,d,u){var p=a(c),f=l(c,d),m,v;return f?f.value=u:(p.last=f={index:v=u0(d,!0),key:d,value:u,previous:m=p.last,next:null,removed:!1},p.first||(p.first=f),m&&(m.next=f),_i?p.size++:c.size++,v!=="F"&&(p.index[v]=f)),c},l=function(c,d){var u=a(c),p=u0(d),f;if(p!=="F")return u.index[p];for(f=u.first;f;f=f.next)if(f.key===d)return f};return c0(o,{clear:function(){for(var d=this,u=a(d),p=u.first;p;)p.removed=!0,p.previous&&(p.previous=p.previous.next=null),p=p.next;u.first=u.last=null,u.index=l0(null),_i?u.size=0:d.size=0},delete:function(c){var d=this,u=a(d),p=l(d,c);if(p){var f=p.next,m=p.previous;delete u.index[p.index],p.removed=!0,m&&(m.next=f),f&&(f.previous=m),u.first===p&&(u.first=f),u.last===p&&(u.last=m),_i?u.size--:d.size--}return!!p},forEach:function(d){for(var u=a(this),p=hL(d,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:u.first;)for(p(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(d){return!!l(this,d)}}),c0(o,r?{get:function(d){var u=l(this,d);return u&&u.value},set:function(d,u){return s(this,d===0?0:d,u)}}:{add:function(d){return s(this,d=d===0?0:d,d)}}),_i&&pL(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,r){var n=t+" Iterator",i=Iu(t),o=Iu(n);yL(e,t,function(a,s){d0(this,{type:n,target:a,state:i(a),kind:s,last:null})},function(){for(var a=o(this),s=a.kind,l=a.last;l&&l.removed;)l=l.previous;return!a.target||!(a.last=l=l?l.next:a.state.first)?(a.target=null,ua(void 0,!0)):ua(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),_L(t)}}});var m0=h(()=>{"use strict";var bL=fu(),wL=h0();bL("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wL)});var v0=h(()=>{"use strict";m0()});var or=h((I6,g0)=>{"use strict";var IL=zn(),EL=TypeError;g0.exports=function(e){if(typeof e=="object"&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw new EL(IL(e)+" is not a set")}});var _0=h((E6,y0)=>{"use strict";y0.exports=function(e,t){return t===1?function(r,n){return r[e](n)}:function(r,n,i){return r[e](n,i)}}});var ar=h((x6,w0)=>{"use strict";var xL=Ur(),Eu=_0(),b0=xL("Set"),SL=b0.prototype;w0.exports={Set:b0,add:Eu("add",1),has:Eu("has",1),remove:Eu("delete",1),proto:SL}});var sr=h((S6,I0)=>{"use strict";var AL=ct();I0.exports=function(e,t,r){for(var n=r?e:e.iterator,i=e.next,o,a;!(o=AL(i,n)).done;)if(a=t(o.value),a!==void 0)return a}});var Xr=h((A6,E0)=>{"use strict";var kL=sr();E0.exports=function(e,t,r){return r?kL(e.keys(),t,!0):e.forEach(t)}});var da=h((k6,S0)=>{"use strict";var x0=ar(),TL=Xr(),PL=x0.Set,CL=x0.add;S0.exports=function(e){var t=new PL;return TL(e,function(r){CL(t,r)}),t}});var Zr=h((T6,A0)=>{"use strict";A0.exports=function(e){return e.size}});var T0=h((P6,k0)=>{"use strict";k0.exports=function(e){return{iterator:e,next:e.next,done:!1}}});var lr=h((C6,D0)=>{"use strict";var P0=xr(),O0=Mt(),C0=ct(),RL=Yn(),OL=T0(),R0="Invalid size",NL=RangeError,DL=TypeError,qL=Math.max,N0=function(e,t){this.set=e,this.size=qL(t,0),this.has=P0(e.has),this.keys=P0(e.keys)};N0.prototype={getIterator:function(){return OL(O0(C0(this.keys,this.set)))},includes:function(e){return C0(this.has,this.set,e)}};D0.exports=function(e){O0(e);var t=+e.size;if(t!==t)throw new DL(R0);var r=RL(t);if(r<0)throw new NL(R0);return new N0(e,r)}});var M0=h((R6,F0)=>{"use strict";var LL=or(),L0=ar(),FL=da(),ML=Zr(),jL=lr(),UL=Xr(),BL=sr(),JL=L0.has,q0=L0.remove;F0.exports=function(t){var r=LL(this),n=jL(t),i=FL(r);return ML(r)<=n.size?UL(r,function(o){n.includes(o)&&q0(i,o)}):BL(n.getIterator(),function(o){JL(r,o)&&q0(i,o)}),i}});var cr=h((O6,j0)=>{"use strict";j0.exports=function(){return!1}});var U0=h(()=>{"use strict";var $L=V(),HL=M0(),zL=cr(),VL=!zL("difference",function(e){return e.size===0});$L({target:"Set",proto:!0,real:!0,forced:VL},{difference:HL})});var $0=h((q6,J0)=>{"use strict";var GL=or(),xu=ar(),WL=Zr(),KL=lr(),YL=Xr(),QL=sr(),XL=xu.Set,B0=xu.add,ZL=xu.has;J0.exports=function(t){var r=GL(this),n=KL(t),i=new XL;return WL(r)>n.size?QL(n.getIterator(),function(o){ZL(r,o)&&B0(i,o)}):YL(r,function(o){n.includes(o)&&B0(i,o)}),i}});var H0=h(()=>{"use strict";var eF=V(),tF=oe(),rF=$0(),nF=cr(),iF=!nF("intersection",function(e){return e.size===2&&e.has(1)&&e.has(2)})||tF(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});eF({target:"Set",proto:!0,real:!0,forced:iF},{intersection:rF})});var V0=h((M6,z0)=>{"use strict";var oF=or(),aF=ar().has,sF=Zr(),lF=lr(),cF=Xr(),uF=sr(),dF=Xo();z0.exports=function(t){var r=oF(this),n=lF(t);if(sF(r)<=n.size)return cF(r,function(o){if(n.includes(o))return!1},!0)!==!1;var i=n.getIterator();return uF(i,function(o){if(aF(r,o))return dF(i,"normal",!1)})!==!1}});var G0=h(()=>{"use strict";var fF=V(),pF=V0(),hF=cr(),mF=!hF("isDisjointFrom",function(e){return!e});fF({target:"Set",proto:!0,real:!0,forced:mF},{isDisjointFrom:pF})});var K0=h((B6,W0)=>{"use strict";var vF=or(),gF=Zr(),yF=Xr(),_F=lr();W0.exports=function(t){var r=vF(this),n=_F(t);return gF(r)>n.size?!1:yF(r,function(i){if(!n.includes(i))return!1},!0)!==!1}});var Y0=h(()=>{"use strict";var bF=V(),wF=K0(),IF=cr(),EF=!IF("isSubsetOf",function(e){return e});bF({target:"Set",proto:!0,real:!0,forced:EF},{isSubsetOf:wF})});var X0=h((H6,Q0)=>{"use strict";var xF=or(),SF=ar().has,AF=Zr(),kF=lr(),TF=sr(),PF=Xo();Q0.exports=function(t){var r=xF(this),n=kF(t);if(AF(r)<n.size)return!1;var i=n.getIterator();return TF(i,function(o){if(!SF(r,o))return PF(i,"normal",!1)})!==!1}});var Z0=h(()=>{"use strict";var CF=V(),RF=X0(),OF=cr(),NF=!OF("isSupersetOf",function(e){return!e});CF({target:"Set",proto:!0,real:!0,forced:NF},{isSupersetOf:RF})});var tw=h((G6,ew)=>{"use strict";var DF=or(),Su=ar(),qF=da(),LF=lr(),FF=sr(),MF=Su.add,jF=Su.has,UF=Su.remove;ew.exports=function(t){var r=DF(this),n=LF(t).getIterator(),i=qF(r);return FF(n,function(o){jF(r,o)?UF(i,o):MF(i,o)}),i}});var rw=h(()=>{"use strict";var BF=V(),JF=tw(),$F=cr();BF({target:"Set",proto:!0,real:!0,forced:!$F("symmetricDifference")},{symmetricDifference:JF})});var iw=h((Y6,nw)=>{"use strict";var HF=or(),zF=ar().add,VF=da(),GF=lr(),WF=sr();nw.exports=function(t){var r=HF(this),n=GF(t).getIterator(),i=VF(r);return WF(n,function(o){zF(i,o)}),i}});var ow=h(()=>{"use strict";var KF=V(),YF=iw(),QF=cr();KF({target:"Set",proto:!0,real:!0,forced:!QF("union")},{union:YF})});var bi=h((Z6,aw)=>{"use strict";var XF=Gr(),ZF=String;aw.exports=function(e){if(XF(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return ZF(e)}});var uw=h((eG,cw)=>{"use strict";var Au=me(),eM=Yn(),tM=bi(),rM=Er(),nM=Au("".charAt),sw=Au("".charCodeAt),iM=Au("".slice),lw=function(e){return function(t,r){var n=tM(rM(t)),i=eM(r),o=n.length,a,s;return i<0||i>=o?e?"":void 0:(a=sw(n,i),a<55296||a>56319||i+1===o||(s=sw(n,i+1))<56320||s>57343?e?nM(n,i):a:e?iM(n,i,i+2):(a-55296<<10)+(s-56320)+65536)}};cw.exports={codeAt:lw(!1),charAt:lw(!0)}});var hw=h(()=>{"use strict";var oM=uw().charAt,aM=bi(),fw=Pr(),sM=Vo(),dw=Go(),pw="String Iterator",lM=fw.set,cM=fw.getterFor(pw);sM(String,"String",function(e){lM(this,{type:pw,string:aM(e),index:0})},function(){var t=cM(this),r=t.string,n=t.index,i;return n>=r.length?dw(void 0,!0):(i=oM(r,n),t.index+=i.length,dw(i,!1))})});var vw=h((nG,mw)=>{"use strict";Ko();ou();v0();U0();H0();G0();Y0();Z0();rw();ow();hw();var uM=wt();mw.exports=uM.Set});var yw=h((iG,gw)=>{"use strict";var dM=vw();gu();gw.exports=dM});var bw=h((oG,_w)=>{_w.exports=yw()});var Iw=h(ww=>{"use strict";ww.f=Object.getOwnPropertySymbols});var Aw=h((sG,Sw)=>{"use strict";var Ew=$e(),fM=me(),pM=ct(),hM=oe(),ku=Gc(),mM=Iw(),vM=$l(),gM=Jr(),yM=Eo(),en=Object.assign,xw=Object.defineProperty,_M=fM([].concat);Sw.exports=!en||hM(function(){if(Ew&&en({b:1},en(xw({},"a",{enumerable:!0,get:function(){xw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(i){t[i]=i}),en({},e)[r]!==7||ku(en({},t)).join("")!==n})?function(t,r){for(var n=gM(t),i=arguments.length,o=1,a=mM.f,s=vM.f;i>o;)for(var l=yM(arguments[o++]),c=a?_M(ku(l),a(l)):ku(l),d=c.length,u=0,p;d>u;)p=c[u++],(!Ew||pM(s,l,p))&&(n[p]=l[p]);return n}:en});var Tw=h(()=>{"use strict";var bM=V(),kw=Aw();bM({target:"Object",stat:!0,arity:2,forced:Object.assign!==kw},{assign:kw})});var Cw=h((uG,Pw)=>{"use strict";Tw();var wM=wt();Pw.exports=wM.Object.assign});var Ow=h((dG,Rw)=>{"use strict";var IM=Cw();Rw.exports=IM});var Dw=h((fG,Nw)=>{Nw.exports=Ow()});var Tu=h((pG,qw)=>{"use strict";qw.exports=`
20
+ \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Mw=h((hG,Fw)=>{"use strict";var EM=me(),xM=Er(),SM=bi(),Cu=Tu(),Lw=EM("".replace),AM=RegExp("^["+Cu+"]+"),kM=RegExp("(^|[^"+Cu+"])["+Cu+"]+$"),Pu=function(e){return function(t){var r=SM(xM(t));return e&1&&(r=Lw(r,AM,"")),e&2&&(r=Lw(r,kM,"$1")),r}};Fw.exports={start:Pu(1),end:Pu(2),trim:Pu(3)}});var Jw=h((mG,Bw)=>{"use strict";var TM=Jc().PROPER,PM=oe(),jw=Tu(),Uw="\u200B\x85\u180E";Bw.exports=function(e){return PM(function(){return!!jw[e]()||Uw[e]()!==Uw||TM&&jw[e].name!==e})}});var $w=h(()=>{"use strict";var CM=V(),RM=Mw().trim,OM=Jw();CM({target:"String",proto:!0,forced:OM("trim")},{trim:function(){return RM(this)}})});var zw=h((yG,Hw)=>{"use strict";$w();var NM=it();Hw.exports=NM("String","trim")});var Gw=h((_G,Vw)=>{"use strict";var DM=Je(),qM=zw(),Ru=String.prototype;Vw.exports=function(e){var t=e.trim;return typeof e=="string"||e===Ru||DM(Ru,e)&&t===Ru.trim?qM:t}});var Kw=h((bG,Ww)=>{"use strict";var LM=Gw();Ww.exports=LM});var Qw=h((wG,Yw)=>{Yw.exports=Kw()});var eI=h(()=>{"use strict";var FM=V(),Xw=Qn(),MM=mc(),jM=Ie(),Zw=$c(),UM=Vr(),BM=rr(),JM=bc(),$M=qe(),HM=Zn(),zM=ri(),VM=HM("slice"),GM=$M("species"),Ou=Array,WM=Math.max;FM({target:"Array",proto:!0,forced:!VM},{slice:function(t,r){var n=BM(this),i=UM(n),o=Zw(t,i),a=Zw(r===void 0?i:r,i),s,l,c;if(Xw(n)&&(s=n.constructor,MM(s)&&(s===Ou||Xw(s.prototype))?s=void 0:jM(s)&&(s=s[GM],s===null&&(s=void 0)),s===Ou||s===void 0))return zM(n,o,a);for(l=new(s===void 0?Ou:s)(WM(a-o,0)),c=0;o<a;o++,c++)o in n&&JM(l,c,n[o]);return l.length=c,l}})});var rI=h((xG,tI)=>{"use strict";eI();var KM=it();tI.exports=KM("Array","slice")});var iI=h((SG,nI)=>{"use strict";var YM=Je(),QM=rI(),Nu=Array.prototype;nI.exports=function(e){var t=e.slice;return e===Nu||YM(Nu,e)&&t===Nu.slice?QM:t}});var aI=h((AG,oI)=>{"use strict";var XM=iI();oI.exports=XM});var lI=h((kG,sI)=>{sI.exports=aI()});var Du=T(()=>{});var uI=h((PG,cI)=>{"use strict";var ZM=Ie(),ej=Ft(),tj=qe(),rj=tj("match");cI.exports=function(e){var t;return ZM(e)&&((t=e[rj])!==void 0?!!t:ej(e)==="RegExp")}});var fI=h((CG,dI)=>{"use strict";var nj=uI(),ij=TypeError;dI.exports=function(e){if(nj(e))throw new ij("The method doesn't accept regular expressions");return e}});var hI=h((RG,pI)=>{"use strict";var oj=qe(),aj=oj("match");pI.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[aj]=!1,"/./"[e](t)}catch(n){}}return!1}});var gI=h(()=>{"use strict";var sj=V(),lj=$n(),cj=ac().f,uj=fc(),mI=bi(),dj=fI(),fj=Er(),pj=hI(),hj=Br(),mj=lj("".slice),vj=Math.min,vI=pj("startsWith"),gj=!hj&&!vI&&!!function(){var e=cj(String.prototype,"startsWith");return e&&!e.writable}();sj({target:"String",proto:!0,forced:!gj&&!vI},{startsWith:function(t){var r=mI(fj(this));dj(t);var n=uj(vj(arguments.length>1?arguments[1]:void 0,r.length)),i=mI(t);return mj(r,n,n+i.length)===i}})});var _I=h((DG,yI)=>{"use strict";gI();var yj=it();yI.exports=yj("String","startsWith")});var wI=h((qG,bI)=>{"use strict";var _j=Je(),bj=_I(),qu=String.prototype;bI.exports=function(e){var t=e.startsWith;return typeof e=="string"||e===qu||_j(qu,e)&&t===qu.startsWith?bj:t}});var EI=h((LG,II)=>{"use strict";var wj=wI();II.exports=wj});var SI=h((FG,xI)=>{xI.exports=EI()});var CI=h((MG,PI)=>{"use strict";var kI=me(),Ij=xr(),Ej=Ie(),xj=Qe(),AI=ri(),Sj=jr(),TI=Function,Aj=kI([].concat),kj=kI([].join),Lu={},Tj=function(e,t,r){if(!xj(Lu,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";Lu[t]=TI("C,a","return new C("+kj(n,",")+")")}return Lu[t](e,r)};PI.exports=Sj?TI.bind:function(t){var r=Ij(this),n=r.prototype,i=AI(arguments,1),o=function(){var s=Aj(i,AI(arguments));return this instanceof o?Tj(r,s.length,s):r.apply(t,s)};return Ej(n)&&(o.prototype=n),o}});var OI=h(()=>{"use strict";var Pj=V(),RI=CI();Pj({target:"Function",proto:!0,forced:Function.bind!==RI},{bind:RI})});var DI=h((BG,NI)=>{"use strict";OI();var Cj=it();NI.exports=Cj("Function","bind")});var LI=h((JG,qI)=>{"use strict";var Rj=Je(),Oj=DI(),Fu=Function.prototype;qI.exports=function(e){var t=e.bind;return e===Fu||Rj(Fu,e)&&t===Fu.bind?Oj:t}});var MI=h(($G,FI)=>{"use strict";var Nj=LI();FI.exports=Nj});var UI=h((HG,jI)=>{jI.exports=MI()});function Ca(e,t){ve.__h&&ve.__h(ne,e,ki||t),ki=0;var r=ne.__H||(ne.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Tt(e){return ki=1,Dj(AE,e)}function Dj(e,t,r){var n=Ca(an++,2);if(n.t=e,!n.__c&&(n.__=[AE(void 0,t),function(s){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,s);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=ne,!ne.__f)){var i=function(s,l,c){var d;if(!n.__c.__H)return!0;var u=(0,rd.default)(d=n.__c.__H.__).call(d,function(f){return!!f.__c});if((0,wE.default)(u).call(u,function(f){return!f.__N}))return!o||o.call(this,s,l,c);var p=n.__c.props!==s;return(0,Ee.default)(u).call(u,function(f){if(f.__N){var m=f.__[0];f.__=f.__N,f.__N=void 0,m!==f.__[0]&&(p=!0)}}),o&&o.call(this,s,l,c)||p};ne.__f=!0;var o=ne.shouldComponentUpdate,a=ne.componentWillUpdate;ne.componentWillUpdate=function(s,l,c){if(this.__e){var d=o;o=void 0,i(s,l,c),o=d}a&&a.call(this,s,l,c)},ne.shouldComponentUpdate=i}return n.__N||n.__}function Cr(e,t){var r=Ca(an++,3);!ve.__s&&SE(r.__H,t)&&(r.__=e,r.u=t,ne.__H.__h.push(r))}function Ei(e){return ki=5,sd(function(){return{current:e}},[])}function sd(e,t){var r=Ca(an++,7);return SE(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ot(e,t){return ki=8,sd(function(){return e},t)}function qj(e){var t=ne.context[e.__c],r=Ca(an++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(ne)),t.props.value):e.__}function Lj(){for(var e;e=xE.shift();)if(e.__P&&e.__H)try{var t,r;(0,Ee.default)(t=e.__H.__h).call(t,va),(0,Ee.default)(r=e.__H.__h).call(r,zu),e.__H.__h=[]}catch(n){e.__H.__h=[],ve.__e(n,e.__v)}}function Fj(e){var t,r=function(){clearTimeout(n),WI&&cancelAnimationFrame(t),(0,kt.default)(e)},n=(0,kt.default)(r,100);WI&&(t=requestAnimationFrame(r))}function va(e){var t=ne,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),ne=t}function zu(e){var t=ne;e.__c=e.__(),ne=t}function SE(e,t){return!e||e.length!==t.length||(0,xa.default)(t).call(t,function(r,n){return r!==e[n]})}function AE(e,t){return typeof t=="function"?t(e):t}function Mj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vu(){throw new Error("setTimeout has not been defined")}function Gu(){throw new Error("clearTimeout has not been defined")}function TE(e){if(It===kt.default)return(0,kt.default)(e,0);if((It===Vu||!It)&&kt.default)return It=kt.default,(0,kt.default)(e,0);try{return It(e,0)}catch(t){try{return It.call(null,e,0)}catch(r){return It.call(this,e,0)}}}function jj(e){if(Et===clearTimeout)return clearTimeout(e);if((Et===Gu||!Et)&&clearTimeout)return Et=clearTimeout,clearTimeout(e);try{return Et(e)}catch(t){try{return Et.call(null,e)}catch(r){return Et.call(this,e)}}}function Uj(){!rn||!ur||(rn=!1,ur.length?$t=(0,Pa.default)(ur).call(ur,$t):ga=-1,$t.length&&PE())}function PE(){if(!rn){var e=TE(Uj);rn=!0;for(var t=$t.length;t;){for(ur=$t,$t=[];++ga<t;)ur&&ur[ga].run();ga=-1,t=$t.length}ur=null,rn=!1,jj(e)}}function CE(e,t){this.fun=e,this.array=t}function zt(){}function $j(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Hj(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}function Wj(e,t){return Pe(e,0)^45?(((t<<2^Pe(e,0))<<2^Pe(e,1))<<2^Pe(e,2))<<2^Pe(e,3):0}function NE(e){return(0,od.default)(e).call(e)}function Kj(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,r){return e.replace(t,r)}function Wu(e,t){return(0,Ht.default)(e).call(e,t)}function Pe(e,t){return e.charCodeAt(t)|0}function Ti(e,t,r){return(0,ad.default)(e).call(e,t,r)}function xt(e){return e.length}function dd(e){return e.length}function fa(e,t){return t.push(e),e}function Yj(e,t){return(0,Ai.default)(e).call(e,t).join("")}function Na(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Oa,column:sn,length:a,return:""}}function wi(e,t){return Gj(Na("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qj(){return ge}function Xj(){return ge=ze>0?Pe(cn,--ze):0,sn--,ge===10&&(sn=1,Oa--),ge}function Xe(){return ge=ze<DE?Pe(cn,ze++):0,sn++,ge===10&&(sn=1,Oa++),ge}function Pt(){return Pe(cn,ze)}function ya(){return ze}function Di(e,t){return Ti(cn,e,t)}function Pi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qE(e){return Oa=sn=1,DE=xt(cn=e),ze=0,[]}function LE(e){return cn="",e}function _a(e){return NE(Di(ze-1,Ku(e===91?e+2:e===40?e+1:e)))}function Zj(e){for(;(ge=Pt())&&ge<33;)Xe();return Pi(e)>2||Pi(ge)>3?"":" "}function eU(e,t){for(;--t&&Xe()&&!(ge<48||ge>102||ge>57&&ge<65||ge>70&&ge<97););return Di(e,ya()+(t<6&&Pt()==32&&Xe()==32))}function Ku(e){for(;Xe();)switch(ge){case e:return ze;case 34:case 39:e!==34&&e!==39&&Ku(ge);break;case 40:e===41&&Ku(e);break;case 92:Xe();break}return ze}function tU(e,t){for(;Xe()&&e+ge!==57&&!(e+ge===84&&Pt()===47););return"/*"+Di(t,ze-1)+"*"+Ra(e===47?e:Xe())}function rU(e){for(;!Pi(Pt());)Xe();return Di(e,ze)}function nU(e){return LE(ba("",null,null,null,[""],e=qE(e),0,[0],e))}function ba(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=Xe()){case 40:if(m!=108&&Pe(E,u-1)==58){Wu(E+=$(_a(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=_a(_);break;case 9:case 10:case 13:case 32:E+=Zj(m);break;case 92:E+=eU(ya()-1,7);continue;case 47:switch(Pt()){case 42:case 47:fa(iU(tU(Xe(),ya()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=xt(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:f>0&&xt(E)-u&&fa(f>32?YI(E+";",n,r,u-1):YI($(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(fa(C=KI(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)ba(E,t,C,C,k,o,u,s,R);else switch(p===99&&Pe(E,3)===110?100:p){case 100:case 109:case 115:ba(e,C,C,n&&fa(KI(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:ba(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+xt(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&Xj()==125)continue}switch(E+=Ra(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(xt(E)-1)*g,g=1;break;case 64:Pt()===45&&(E+=_a(Xe())),p=Pt(),d=u=xt(w=E+=rU(ya())),_++;break;case 45:m===45&&xt(E)==2&&(v=0)}}return o}function KI(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=dd(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Ti(e,u+1,u=Vj(v=a[m])),w=e;g<f;++g)(w=NE(v>0?p[g]+" "+_:$(_,/&\f/g,p[g])))&&(l[y++]=w);return Na(e,t,r,i===0?cd:s,l,c,d)}function iU(e,t,r){return Na(e,t,r,ld,Ra(Qj()),Ti(e,2,-2),0)}function YI(e,t,r,n){return Na(e,t,r,ud,Ti(e,0,n),Ti(e,n+1,-1),n)}function nn(e,t){for(var r="",n=dd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function oU(e,t,r,n){switch(e.type){case zj:case ud:return e.return=e.return||e.value;case ld:return"";case OE:return e.return=e.value+"{"+nn(e.children,n)+"}";case cd:e.value=e.props.join(",")}return xt(r=nn(e.children,n))?e.return=e.value+"{"+r+"}":""}function aU(e){var t=dd(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function sU(e){return function(t){t.root||(t=t.return)&&e(t)}}function ME(e,t){switch(Wj(e,t)){case 5103:return M+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+Aa+e+Le+e+e;case 6828:case 4268:return M+e+Le+e+e;case 6165:return M+e+Le+"flex-"+e+e;case 5187:return M+e+$(e,/(\w+).+(:[^]+)/,M+"box-$1$2"+Le+"flex-$1$2")+e;case 5443:return M+e+Le+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return M+e+Le+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+Le+$(e,"shrink","negative")+e;case 5292:return M+e+Le+$(e,"basis","preferred-size")+e;case 6060:return M+"box-"+$(e,"-grow","")+M+e+Le+$(e,"grow","positive")+e;case 4554:return M+$(e,/([^-])(transform)/g,"$1"+M+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,M+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xt(e)-1-t>6)switch(Pe(e,t+1)){case 109:if(Pe(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+Aa+(Pe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Wu(e,"stretch")?ME($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pe(e,t+1)!==115)break;case 6444:switch(Pe(e,xt(e)-3-(~Wu(e,"!important")&&10))){case 107:return $(e,":",":"+M)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(Pe(e,14)===45?"inline-":"")+"box$3$1"+M+"$2$3$1"+Le+"$2box$3")+e}break;case 5936:switch(Pe(e,t+11)){case 114:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+Le+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+Le+e+e}return e}function UE(){if(ZI)return pa.exports;ZI=1;let e=UE();return pa.exports={default:e},pa.exports.default=e,pa.exports}function Ci(e,t,r){var n,i="";return(0,Ee.default)(n=r.split(" ")).call(n,function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(i+=o+" ")}),i}function wU(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function EU(e){var t=(0,IE.default)(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function Ri(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return St={name:i.name,styles:i.styles,next:St},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)St={name:a.name,styles:a.styles,next:St},a=a.next;var s=o.styles+";";return s}return AU(e,t,r)}case"function":{if(e!==void 0){var l=St,c=r(e);return St=l,Ri(e,t,c)}break}}var d=r;if(t==null)return d;var u=t[d];return u!==void 0?u:d}function AU(e,t,r){var n="";if((0,Si.default)(r))for(var i=0;i<r.length;i++)n+=Ri(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":eE(s)&&(n+=ju(o)+":"+tE(o,s)+";")}else if((0,Si.default)(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)eE(a[l])&&(n+=ju(o)+":"+tE(o,a[l])+";");else{var c=Ri(e,t,a);switch(o){case"animation":case"animationName":{n+=ju(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function dr(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";St=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Ri(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Ri(r,t,e[s]),n){var l=o;i+=l[s]}rE.lastIndex=0;for(var c="",d;(d=rE.exec(i))!==null;)c+="-"+d[1];var u=wU(i)+c;return{name:u,styles:i,next:St}}function N(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return dr(t)}function FU(e,t,r){var n=[],i=Ci(e,n,r);return n.length<2?r:i+t(n)}function b(e,t,r,n,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--UU,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return O.vnode&&O.vnode(c),c}function qi(){let e=()=>typeof window>"u"?"portrait":window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=Tt(e());return Cr(()=>{let n=()=>{r(e())};return window.addEventListener("resize",n),"onorientationchange"in window&&window.addEventListener("orientationchange",n),n(),()=>{window.removeEventListener("resize",n),"onorientationchange"in window&&window.removeEventListener("orientationchange",n)}},[]),t}function I2(e){if(!e||e==="none")return"";let t=e.match(/^matrix\(([^)]+)\)$/);if(!t)return"";let r=t[1].split(",").map(Number);if(r.length<6)return"";let[n,i]=r,o=-Math.atan2(i,n)*(180/Math.PI),a=Math.round(o);return a===90?"rotateZ(90deg) translateY(-100vw)":a===-90||a===270?"rotateZ(-90deg) translateX(-100vh)":a===180||a===-180?"rotateZ(180deg) translate(-100vw, -100vh)":`rotateZ(${a}deg)`}function QE(e){let t=window.getComputedStyle(document.body).transform,r="";t&&t!=="none"&&(r=I2(t)),e.style.transform=r,e.style.transformOrigin="0 0"}function E2(e){let t=()=>QE(e);return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),t(),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}}function A2(s){var l=s,{elementTag:e="Image",src:t="",children:r,handleExposure:n,className:i,imgStyle:o}=l,a=vt(l,["elementTag","src","children","handleExposure","className","imgStyle"]);let c=S2(()=>{t&&n()});return e==="Image"?b("div",{className:i,style:{borderRadius:"8px"},children:De("img",L(P({},a),{ref:c,src:t!=null?t:"",style:P({display:"block",width:"100%",height:"auto",objectFit:"cover",maxWidth:"100%",maxHeight:"100%",aspectRatio:"1 / 1",borderRadius:"8px"},o||{})}))}):b("div",L(P({},a),{ref:c,className:i,children:r}))}function k2(e,t){if(!e)return null;let r=Array.isArray(t)?t[0]:t,n=Array.isArray(t)?t[1]:0;return Array.isArray(e)?e.map((i,o)=>i&&typeof i=="object"&&"type"in i?De(i.type,L(P({},i.props),{style:L(P({},i.props.style||{}),{paddingLeft:r>0?`${r/2}px`:void 0,paddingRight:r>0?`${r/2}px`:void 0,paddingTop:n>0?`${n/2}px`:void 0,paddingBottom:n>0?`${n/2}px`:void 0}),key:i.key||o})):i):e&&typeof e=="object"&&"type"in e?De(e.type,L(P({},e.props),{style:L(P({},e.props.style||{}),{paddingLeft:r>0?`${r/2}px`:void 0,paddingRight:r>0?`${r/2}px`:void 0,paddingTop:n>0?`${n/2}px`:void 0,paddingBottom:n>0?`${n/2}px`:void 0})})):e}function O2(e,t){let r=t.split("."),n=e;for(let i of r){if(typeof n!="object"||n===null||!Object.prototype.hasOwnProperty.call(n,i))return;n=n[i]}return n}function mE(e,t,r){return qa.call(t,"css")?b(md,zE(e,t),r):b(e,t,r)}function M2(e,t,r){return qa.call(t,"css")?b(md,zE(e,t),r):b(e,t,r)}function K2(e,t){return Ce(e,0)^45?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}function cx(e){return(0,od.default)(e).call(e)}function Y2(e,t){return(e=t.exec(e))?e[0]:e}function U(e,t,r){return e.replace(t,r)}function ed(e,t){return(0,Ht.default)(e).call(e,t)}function Ce(e,t){return e.charCodeAt(t)|0}function Oi(e,t,r){return(0,ad.default)(e).call(e,t,r)}function At(e){return e.length}function _d(e){return e.length}function ma(e,t){return t.push(e),e}function Q2(e,t){return(0,Ai.default)(e).call(e,t).join("")}function Ua(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:ja,column:ln,length:a,return:""}}function Ii(e,t){return W2(Ua("",null,null,"",null,null,0),e,{length:-e.length},t)}function X2(){return ye}function Z2(){return ye=Ve>0?Ce(dn,--Ve):0,ln--,ye===10&&(ln=1,ja--),ye}function Ze(){return ye=Ve<ux?Ce(dn,Ve++):0,ln++,ye===10&&(ln=1,ja++),ye}function Ct(){return Ce(dn,Ve)}function wa(){return Ve}function Fi(e,t){return Oi(dn,e,t)}function Ni(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dx(e){return ja=ln=1,ux=At(dn=e),Ve=0,[]}function fx(e){return dn="",e}function Ia(e){return cx(Fi(Ve-1,td(e===91?e+2:e===40?e+1:e)))}function eB(e){for(;(ye=Ct())&&ye<33;)Ze();return Ni(e)>2||Ni(ye)>3?"":" "}function tB(e,t){for(;--t&&Ze()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return Fi(e,wa()+(t<6&&Ct()==32&&Ze()==32))}function td(e){for(;Ze();)switch(ye){case e:return Ve;case 34:case 39:e!==34&&e!==39&&td(ye);break;case 40:e===41&&td(e);break;case 92:Ze();break}return Ve}function rB(e,t){for(;Ze()&&e+ye!==57&&!(e+ye===84&&Ct()===47););return"/*"+Fi(t,Ve-1)+"*"+Ma(e===47?e:Ze())}function nB(e){for(;!Ni(Ct());)Ze();return Fi(e,Ve)}function iB(e){return fx(Ea("",null,null,null,[""],e=dx(e),0,[0],e))}function Ea(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=Ze()){case 40:if(m!=108&&Ce(E,u-1)==58){ed(E+=U(Ia(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Ia(_);break;case 9:case 10:case 13:case 32:E+=eB(m);break;case 92:E+=tB(wa()-1,7);continue;case 47:switch(Ct()){case 42:case 47:ma(oB(rB(Ze(),wa()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=At(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:g==-1&&(E=U(E,/\f/g,"")),f>0&&At(E)-u&&ma(f>32?gE(E+";",n,r,u-1):gE(U(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(ma(C=vE(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)Ea(E,t,C,C,k,o,u,s,R);else switch(p===99&&Ce(E,3)===110?100:p){case 100:case 108:case 109:case 115:Ea(e,C,C,n&&ma(vE(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:Ea(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+At(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&Z2()==125)continue}switch(E+=Ma(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(At(E)-1)*g,g=1;break;case 64:Ct()===45&&(E+=Ia(Ze())),p=Ct(),d=u=At(w=E+=nB(wa())),_++;break;case 45:m===45&&At(E)==2&&(v=0)}}return o}function vE(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=_d(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Oi(e,u+1,u=G2(v=a[m])),w=e;g<f;++g)(w=cx(v>0?p[g]+" "+_:U(_,/&\f/g,p[g])))&&(l[y++]=w);return Ua(e,t,r,i===0?gd:s,l,c,d)}function oB(e,t,r){return Ua(e,t,r,sx,Ma(X2()),Oi(e,2,-2),0)}function gE(e,t,r,n){return Ua(e,t,r,yd,Oi(e,0,n),Oi(e,n+1,-1),n)}function on(e,t){for(var r="",n=_d(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function aB(e,t,r,n){switch(e.type){case V2:if(e.children.length)break;case z2:case yd:return e.return=e.return||e.value;case sx:return"";case lx:return e.return=e.value+"{"+on(e.children,n)+"}";case gd:e.value=e.props.join(",")}return At(r=on(e.children,n))?e.return=e.value+"{"+r+"}":""}function sB(e){var t=_d(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function lB(e){return function(t){t.root||(t=t.return)&&e(t)}}function px(e,t){switch(K2(e,t)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+Ta+e+Fe+e+e;case 6828:case 4268:return j+e+Fe+e+e;case 6165:return j+e+Fe+"flex-"+e+e;case 5187:return j+e+U(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return j+e+Fe+"flex-item-"+U(e,/flex-|-self/,"")+e;case 4675:return j+e+Fe+"flex-line-pack"+U(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+Fe+U(e,"shrink","negative")+e;case 5292:return j+e+Fe+U(e,"basis","preferred-size")+e;case 6060:return j+"box-"+U(e,"-grow","")+j+e+Fe+U(e,"grow","positive")+e;case 4554:return j+U(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return U(U(U(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return U(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return U(U(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return U(e,/(.+)-inline(.+)/,j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(At(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return U(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Ta+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ed(e,"stretch")?px(U(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,At(e)-3-(~ed(e,"!important")&&10))){case 107:return U(e,":",":"+j)+e;case 101:return U(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(Ce(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+Fe+U(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+Fe+e+e}return e}function _E(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function $u(e,t,r){var n=[],i=Ci(e,n,r);return n.length<2?r:i+t(n)}function bd(){let e=!1,t=null,r=0,n=new Set,i=a=>I(this,null,function*(){let s=e;if(r++,e=!0,!s)try{let{iframe:l}=yield xi.acquire(),c=l.contentDocument;if(c)t=c.createElement("div"),t.id="loading-root",c.body.appendChild(t),tr(b(xB,{}),t);else throw new Error("Iframe document is not available.")}catch(l){console.error("[LoadingManager] Failed to show loading:",l),r=0,e=!1,xi.release();return}if(a!=null&&a.duration&&typeof a.duration=="number"){let l=setTimeout(()=>{o(),n.delete(l)},a.duration);n.add(l)}}),o=()=>{var a;e&&(r--,r<=0&&(r=0,e=!1,n.forEach(s=>clearTimeout(s)),n.clear(),t&&(tr(null,t),(a=t.parentNode)==null||a.removeChild(t),t=null),xi.release()))};return{show:i,hide:o,get isLoading(){return e}}}var rd,wE,Ee,Pa,xa,kt,Sa,Si,nd,Ht,Ai,IE,EE,id,od,ad,KG,Hu,an,ne,Mu,BI,ki,xE,ve,JI,$I,HI,zI,VI,GI,WI,kE,de,It,Et,$t,rn,ur,ga,Bj,xe,Jj,RE,Le,Aa,M,ld,cd,ud,zj,OE,Vj,Ra,Gj,Oa,sn,DE,ze,ge,cn,lU,cU,uU,QI,dU,fU,pU,hU,mU,FE,vU,XI,gU,yU,_U,jE,pa,ZI,bU,fd,Da,IU,xU,SU,BE,eE,ju,tE,rE,St,kU,JE,$E,nE,qa,pd,HE,hd,La,TU,PU,CU,RU,OU,Yu,Qu,zE,NU,md,DU,iE,qU,LU,MU,jU,Uu,oE,Bu,Ju,UU,aE,BU,JU,$U,HU,zU,sE,VU,lE,GU,cE,WU,uE,KU,YU,QU,XU,ZU,dE,e2,t2,r2,n2,i2,fE,o2,a2,s2,l2,c2,u2,d2,f2,p2,h2,m2,v2,g2,y2,_2,b2,VE,GE,WE,Xu,w2,KE,YE,ka,xi,pE,x2,vd,S2,XE,ZE,ex,T2,P2,C2,Zu,R2,tx,un,Fa,hE,Jt,rx,tn,N2,D2,q2,L2,F2,ha,nx,ue,j2,U2,ix,ox,ax,Li,B2,J2,$2,H2,Fe,Ta,j,sx,gd,yd,z2,lx,V2,G2,Ma,W2,ja,ln,ux,Ve,ye,dn,cB,uB,dB,yE,fB,pB,hB,mB,vB,gB,yB,_B,bB,wB,IB,Mi,bE,EB,xB,YG,Rr=T(()=>{"use strict";Mr();rd=se(pv(),1),wE=se(Ev(),1),Ee=se(Lv(),1),Pa=se(Qv(),1),xa=se(ag(),1),kt=se(xg(),1);Lo();Lo();Sa=se(ly(),1),Si=se(my(),1),nd=se(Rb(),1),Ht=se(Bb(),1),Ai=se(Yb(),1),IE=se(n0(),1),EE=se(bw(),1),id=se(Dw(),1),od=se(Qw(),1),ad=se(lI(),1);Du();Du();KG=se(SI(),1),Hu=se(UI(),1),ki=0,xE=[],ve=O,JI=ve.__b,$I=ve.__r,HI=ve.diffed,zI=ve.__c,VI=ve.unmount,GI=ve.__;ve.__b=function(e){ne=null,JI&&JI(e)},ve.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),GI&&GI(e,t)},ve.__r=function(e){var t,r,n;$I&&$I(e),an=0;var i=(ne=e.__c).__H;i&&(Mu===ne?(i.__h=[],ne.__h=[],(0,Ee.default)(t=i.__).call(t,function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):((0,Ee.default)(r=i.__h).call(r,va),(0,Ee.default)(n=i.__h).call(n,zu),i.__h=[],an=0)),Mu=ne},ve.diffed=function(e){var t;HI&&HI(e);var r=e.__c;r&&r.__H&&(r.__H.__h.length&&(xE.push(r)!==1&&BI===ve.requestAnimationFrame||((BI=ve.requestAnimationFrame)||Fj)(Lj)),(0,Ee.default)(t=r.__H.__).call(t,function(n){n.u&&(n.__H=n.u),n.u=void 0})),Mu=ne=null},ve.__c=function(e,t){(0,xa.default)(t).call(t,function(r){try{var n,i;(0,Ee.default)(n=r.__h).call(n,va),r.__h=(0,rd.default)(i=r.__h).call(i,function(o){return!o.__||zu(o)})}catch(o){(0,xa.default)(t).call(t,function(a){a.__h&&(a.__h=[])}),t=[],ve.__e(o,r.__v)}}),zI&&zI(e,t)},ve.unmount=function(e){var t;VI&&VI(e);var r,n=e.__c;n&&n.__H&&((0,Ee.default)(t=n.__H.__).call(t,function(i){try{va(i)}catch(o){r=o}}),n.__H=void 0,r&&ve.__e(r,n.__v))};WI=typeof requestAnimationFrame=="function";kE={exports:{}},de=kE.exports={};(function(){try{typeof kt.default=="function"?It=kt.default:It=Vu}catch(e){It=Vu}try{typeof clearTimeout=="function"?Et=clearTimeout:Et=Gu}catch(e){Et=Gu}})();$t=[],rn=!1,ga=-1;de.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];$t.push(new CE(e,t)),$t.length===1&&!rn&&TE(PE)};CE.prototype.run=function(){this.fun.apply(null,this.array)};de.title="browser";de.browser=!0;de.env={};de.argv=[];de.version="";de.versions={};de.on=zt;de.addListener=zt;de.once=zt;de.off=zt;de.removeListener=zt;de.removeAllListeners=zt;de.emit=zt;de.prependListener=zt;de.prependOnceListener=zt;de.listeners=function(e){return[]};de.binding=function(e){throw new Error("process.binding is not supported")};de.cwd=function(){return"/"};de.chdir=function(e){throw new Error("process.chdir is not supported")};de.umask=function(){return 0};Bj=kE.exports,xe=Mj(Bj),Jj=Sa.default||void 0||self;RE=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){(0,Ee.default)(r).call(r,this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Hj(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=$j(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){var r;(0,Ee.default)(r=this.tags).call(r,function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Le="-ms-",Aa="-moz-",M="-webkit-",ld="comm",cd="rule",ud="decl",zj="@import",OE="@keyframes",Vj=Math.abs,Ra=String.fromCharCode,Gj=id.default;Oa=1,sn=1,DE=0,ze=0,ge=0,cn="";lU=function(e,t,r){for(var n=0,i=0;n=i,i=Pt(),n===38&&i===12&&(t[r]=1),!Pi(i);)Xe();return Di(e,ze)},cU=function(e,t){var r=-1,n=44;do switch(Pi(n)){case 0:n===38&&Pt()===12&&(t[r]=1),e[r]+=lU(ze-1,t,r);break;case 2:e[r]+=_a(n);break;case 4:if(n===44){e[++r]=Pt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ra(n)}while(n=Xe());return e},uU=function(e,t){return LE(cU(qE(e),t))},QI=new nd.default,dU=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!QI.get(r))&&!n){QI.set(e,!0);for(var i=[],o=uU(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},fU=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},pU="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",hU=function(e){var t;return e.type==="comm"&&(0,Ht.default)(t=e.children).call(t,pU)>-1},mU=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=t.parent===n[0],a=o?n[0].children:n,s=a.length-1;s>=0;s--){var l=a[s];if(l.line<t.line)break;if(l.column<t.column){if(hU(l))return;break}}(0,Ee.default)(i).call(i,function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},FE=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},vU=function(e,t){for(var r=e-1;r>=0;r--)if(!FE(t[r]))return!0;return!1},XI=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},gU=function(e,t,r){FE(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),XI(e)):vU(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),XI(e)))};yU=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ud:e.return=ME(e.value,e.length);break;case OE:return nn([wi(e,{value:$(e.value,"@","@"+M)})],n);case cd:if(e.length)return Yj(e.props,function(i){switch(Kj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nn([wi(e,{props:[$(i,/:(read-\w+)/,":"+Aa+"$1")]})],n);case"::placeholder":return nn([wi(e,{props:[$(i,/:(plac\w+)/,":"+M+"input-$1")]}),wi(e,{props:[$(i,/:(plac\w+)/,":"+Aa+"$1")]}),wi(e,{props:[$(i,/:(plac\w+)/,Le+"input-$1")]})],n)}return""})}},_U=[yU],jE=function(e){var t=e.key;if(xe.env.NODE_ENV!=="production"&&!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
21
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Ee.default)(Array.prototype).call(r,function(m){var v=m.getAttribute("data-emotion");(0,Ht.default)(v).call(v," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||_U;if(xe.env.NODE_ENV!=="production"&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var i={},o,a=[];o=e.container||document.head,(0,Ee.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[dU,fU];xe.env.NODE_ENV!=="production"&&l.push(mU({get compat(){return f.compat}}),gU);{var c,d=[oU,xe.env.NODE_ENV!=="production"?function(m){m.root||(m.return?c.insert(m.return):m.value&&m.type!==ld&&c.insert(m.value+"{}"))}:sU(function(m){c.insert(m)})],u=aU((0,Pa.default)(l).call(l,n,d)),p=function(m){return nn(nU(m),u)};s=function(m,v,y,g){c=y,xe.env.NODE_ENV!=="production"&&(0,Ai.default)(v)!==void 0&&(c={insert:function(_){y.insert(_+(0,Ai.default)(v))}}),p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new RE({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f},pa={exports:{}};UE();bU=!0;fd=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||bU===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},Da=function(e,t,r){fd(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};IU={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};xU=/[A-Z]|^ms/g,SU=/_EMO_([^_]+?)_([^]*?)_EMO_/g,BE=function(e){return e.charCodeAt(1)===45},eE=function(e){return e!=null&&typeof e!="boolean"},ju=EU(function(e){return BE(e)?e:e.replace(xU,"-$&").toLowerCase()}),tE=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(SU,function(r,n,i){return St={name:n,styles:i,next:St},n})}return IU[e]!==1&&!BE(e)&&typeof t=="number"&&t!==0?t+"px":t};rE=/label:\s*([^\s;{]+)\s*(;|$)/g;kU=function(e){return e()},JE=Cc?Cc:!1,$E=JE||kU,nE=JE||Wr,qa={}.hasOwnProperty,pd=wr(typeof HTMLElement<"u"?jE({key:"css"}):null);xe.env.NODE_ENV!=="production"&&(pd.displayName="EmotionCacheContext");HE=pd.Provider,hd=function(e){return Oc(function(t,r){var n=Yr(pd);return e(t,n,r)})},La=wr({});xe.env.NODE_ENV!=="production"&&(La.displayName="EmotionThemeContext");TU=function(e){var t=e.split(".");return t[t.length-1]},PU=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);if(t||(t=/^([A-Za-z0-9$.]+)@/.exec(e),t))return TU(t[1])},CU=new EE.default(["renderWithHooks","processChild","finishClassComponent","renderToString"]),RU=function(e){return e.replace(/\$/g,"-")},OU=function(e){if(e)for(var t=e.split(`
22
+ `),r=0;r<t.length;r++){var n=PU(t[r]);if(n){if(CU.has(n))break;if(/^[A-Z]/.test(n))return RU(n)}}},Yu="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qu="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",zE=function(e,t){var r,n;if(xe.env.NODE_ENV!=="production"&&typeof t.css=="string"&&(0,Ht.default)(r=t.css).call(r,":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var i={};for(var o in t)qa.call(t,o)&&(i[o]=t[o]);if(i[Yu]=e,xe.env.NODE_ENV!=="production"&&t.css&&(typeof t.css!="object"||typeof t.css.name!="string"||(0,Ht.default)(n=t.css.name).call(n,"-")===-1)){var a=OU(new Error().stack);a&&(i[Qu]=a)}return i},NU=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return fd(t,r,n),$E(function(){return Da(t,r,n)}),null},md=hd(function(e,t,r){var n,i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[Yu],a=[i],s="";typeof e.className=="string"?s=Ci(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var l=dr(a,void 0,Yr(La));if(xe.env.NODE_ENV!=="production"&&(0,Ht.default)(n=l.name).call(n,"-")===-1){var c=e[Qu];c&&(l=dr([l,"label:"+c+";"]))}s+=t.key+"-"+l.name;var d={};for(var u in e)qa.call(e,u)&&u!=="css"&&u!==Yu&&(xe.env.NODE_ENV==="production"||u!==Qu)&&(d[u]=e[u]);return d.ref=r,d.className=s,De(Ye,null,De(NU,{cache:t,serialized:l,isStringTag:typeof o=="string"}),De(o,d))});xe.env.NODE_ENV!=="production"&&(md.displayName="EmotionCssPropInternal");DU={version:"11.10.5"},iE=!1,qU=hd(function(e,t){xe.env.NODE_ENV!=="production"&&!iE&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),iE=!0);var r=e.styles,n=dr([r],void 0,Yr(La)),i=ai();return nE(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),nE(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Da(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});xe.env.NODE_ENV!=="production"&&(qU.displayName="EmotionGlobal");LU=function e(t){for(var r=t.length,n=0,i="";n<r;n++){var o=t[n];if(o!=null){var a=void 0;switch(typeof o){case"boolean":break;case"object":{if((0,Si.default)(o))a=e(o);else{xe.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var s in o)o[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};MU=function(e){var t=e.cache,r=e.serializedArr;return $E(function(){for(var n=0;n<r.length;n++)Da(t,r[n],!1)}),null},jU=hd(function(e,t){var r=!1,n=[],i=function(){if(r&&xe.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];var u=dr(c,t.registered);return n.push(u),fd(t,u,!1),t.key+"-"+u.name},o=function(){if(r&&xe.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return FU(t.registered,i,LU(c))},a={css:i,cx:o,theme:Yr(La)},s=e.children(a);return r=!0,De(Ye,null,De(MU,{cache:t,serializedArr:n}),s)});xe.env.NODE_ENV!=="production"&&(jU.displayName="EmotionClassNames");xe.env.NODE_ENV!=="production"&&(Uu=!0,oE=typeof jest<"u"||typeof vi<"u",Uu&&!oE&&(Bu=typeof Sa.default<"u"?Sa.default:Uu?window:Jj,Ju="__EMOTION_REACT_"+DU.version.split(".")[0]+"__",Bu[Ju]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Bu[Ju]=!0));UU=0;aE={drawerBackdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"flex-end",zIndex:1e3,overflow:"hidden",touchAction:"none"},drawer:{backgroundColor:"rgb(26, 26, 26)",borderRadius:"16px 16px 0 0",width:"100%",maxWidth:"100%",overflowY:"auto",position:"relative",boxShadow:"0 2px 10px rgba(0, 0, 0, 0.1)",display:"block",margin:"0 auto"}},BU=N`
23
23
  width: 100%;
24
24
  overflow: auto;
25
25
  margin: 0 auto;
26
- `,$U=`
26
+ `,JU=`
27
27
  @keyframes fadeIn {
28
28
  from { opacity: 0; }
29
29
  to { opacity: 1; }
@@ -59,7 +59,7 @@ If multiple caches share the same key they might "fight" for each other's style
59
59
  .drawer-leave {
60
60
  animation: slideDown 0.3s ease forwards;
61
61
  }
62
- `,HU=({children:e,isOpen:t=!1,onClose:r,className:n=""},i)=>{let[o,a]=ft(!1),[s,l]=ft(null),[c,d]=ft(!1),u=Rr(null),p=Rr(null),f=Rr(!1);Cr(()=>{if(o&&u.current){let A=u.current.ownerDocument,H=A.createElement("style");H.innerHTML=$U,A.head.appendChild(H);let Ue={overflow:A.body.style.overflow,position:A.body.style.position,width:A.body.style.width};return A.body.style.overflow="hidden",A.body.style.position="fixed",A.body.style.width="100%",()=>{A.head.contains(H)&&A.head.removeChild(H),A.body.style.overflow=Ue.overflow,A.body.style.position=Ue.position,A.body.style.width=Ue.width}}},[o]),Cr(()=>{t?!o&&!f.current&&(a(!0),requestAnimationFrame(()=>{setTimeout(()=>l("enter"),0)})):o&&(f.current=!0,l("leave"),d(!1))},[t]);let m=ot(A=>{A.target===p.current&&(s==="leave"?(l(null),a(!1),f.current=!1,r&&r()):s==="enter"&&(l(null),d(!0)))},[s,r]),v=ot(()=>{o&&!f.current&&(f.current=!0,l("leave"),d(!1))},[o]),y=ot(A=>{A.preventDefault(),A.stopPropagation(),v()},[v]),g=ot(()=>{!f.current&&!o&&(a(!0),requestAnimationFrame(()=>{setTimeout(()=>l("enter"),0)}))},[o]),_=ot(()=>o&&!f.current,[o]);if(Cr(()=>{if(i){let A={show:g,hide:v,isOpen:_};typeof i=="function"?i(A):i&&(i.current=A)}},[g,v,_,i]),!o)return null;let w=L(P({},sE.drawerBackdrop),{backgroundColor:"transparent",pointerEvents:"none"}),k={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.1)",pointerEvents:"auto"},R=L(P({},sE.drawer),{height:"auto",pointerEvents:"auto"});o&&!c&&!s&&(R.transform="translateY(100%)");let C=s?`drawer-${s}`:"",E=s?`backdrop-${s}`:"";return b("div",{ref:u,style:w,children:[b("div",{style:k,className:E,onClick:y}),b("div",{ref:p,style:R,className:`${C} ${n}`,onAnimationEnd:m,onClick:A=>A.stopPropagation(),children:b("div",{style:JU.styles,children:e})})]})},zU=Oc(HU);VU={unlockNeeds:"Unlock needs",unlockWithJolicoin:"Unlock with Jolicoin for a better experience",unlockWithJolicoinDescription:"Deduct Jolicoin automatically for digital items",useJolicoin:"Use Jolicoin",payAndUnlock:"Pay and unlock",noWatchAds:"No, watch ads",noThanks:"No thanks",balance:"Balance",coinUsed:"Jolicoin used",unlockSuccess:"Unlock successful",unlockFailed:"Unlock failed",unlockFailedNotLogin:"Please log in to continue",unlockFailedPaying:"Payment is already in progress. Please do not retry",unlockFailedProductIdNotFound:"Product has expired. Please choose another product",unlockFailedProductInvalid:"Failed to retrieve product info. Please retry or choose another product",unlockFailedLaunch:"Unable to start payment. Please try again later",unlockFailedTransaction:"Payment failed. Please try again",unlockFaileVerify:"Order verification failed. If you\u2019ve been charged, please contact support",transactionPending:"Payment confirmation failed. Please contact your payment provider for support"},lE={jolicoin:VU},GU={unlockNeeds:"\u89E3\u9501\u9700\u6C42",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9501\u83B7\u5F97\u66F4\u597D\u4F53\u9A8C",unlockWithJolicoinDescription:"\u81EA\u52A8\u6263\u9664 Jolicoin \u7528\u4E8E\u6570\u5B57\u5546\u54C1",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u770B\u5E7F\u544A",noThanks:"\u4E0D\u7528\u4E86",balance:"\u4F59\u989D",coinUsed:"\u5DF2\u4F7F\u7528\u7684 Jolicoin",unlockSuccess:"\u89E3\u9501\u6210\u529F",unlockFailed:"\u89E3\u9501\u5931\u8D25",unlockFailedNotLogin:"\u8BF7\u5148\u767B\u5F55\u540E\u5B8C\u6210\u89E3\u9501",unlockFailedPaying:"\u652F\u4ED8\u6B63\u5728\u8FDB\u884C\u4E2D\uFF0C\u8BF7\u52FF\u91CD\u590D\u64CD\u4F5C",unlockFailedProductIdNotFound:"\u5546\u54C1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u9009\u62E9\u5176\u4ED6\u5546\u54C1",unlockFailedProductInvalid:"\u83B7\u53D6\u5546\u54C1\u4FE1\u606F\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u9009\u62E9\u5176\u4ED6\u5546\u54C1",unlockFailedLaunch:"\u65E0\u6CD5\u542F\u52A8\u652F\u4ED8\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",unlockFailedTransaction:"\u652F\u4ED8\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",unlockFaileVerify:"\u8BA2\u5355\u9A8C\u8BC1\u5931\u8D25\uFF0C\u5982\u5DF2\u6263\u8D39\u8BF7\u8054\u7CFB\u5BA2\u670D",transactionPending:"\u652F\u4ED8\u786E\u8BA4\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u652F\u4ED8\u670D\u52A1\u5546\u83B7\u53D6\u652F\u6301"},cE={jolicoin:GU},WU={unlockNeeds:"Perlu dibuka",unlockWithJolicoin:"Buka dengan Jolicoin untuk pengalaman yang lebih baik",unlockWithJolicoinDescription:"Otomatis mengurangi Jolicoin untuk item digital",useJolicoin:"Gunakan Jolicoin",payAndUnlock:"Bayar dan buka",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",balance:"Saldo",coinUsed:"Jolicoin yang digunakan",unlockSuccess:"Berhasil dibuka",unlockFailed:"Gagal membuka",unlockFailedNotLogin:"Silakan masuk untuk melanjutkan",unlockFailedPaying:"Pembayaran sedang diproses. Mohon jangan coba lagi",unlockFailedProductIdNotFound:"Produk telah kedaluwarsa. Silakan pilih produk lain",unlockFailedProductInvalid:"Gagal mendapatkan informasi produk. Silakan coba lagi atau pilih produk lain",unlockFailedLaunch:"Tidak dapat memulai pembayaran. Silakan coba lagi nanti",unlockFailedTransaction:"Pembayaran gagal. Silakan coba lagi",unlockFaileVerify:"Verifikasi pesanan gagal. Jika Anda telah dikenakan biaya, silakan hubungi dukungan",transactionPending:"Konfirmasi pembayaran gagal. Silakan hubungi penyedia pembayaran Anda untuk dukungan"},uE={jolicoin:WU},KU={unlockNeeds:"Perlu dibuka",unlockWithJolicoin:"Buka dengan Jolicoin untuk pengalaman yang lebih baik",unlockWithJolicoinDescription:"Potongan automatik Jolicoin untuk item digital",useJolicoin:"Gunakan Jolicoin",payAndUnlock:"Bayar dan buka",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",balance:"Baki",coinUsed:"Jolicoin yang digunakan",unlockSuccess:"Berjaya dibuka",unlockFailed:"Gagal membuka",unlockFailedNotLogin:"Sila log masuk untuk meneruskan",unlockFailedPaying:"Pembayaran sedang diproses. Sila jangan cuba lagi",unlockFailedProductIdNotFound:"Produk telah tamat tempoh. Sila pilih produk lain",unlockFailedProductInvalid:"Gagal mendapatkan maklumat produk. Sila cuba lagi atau pilih produk lain",unlockFailedLaunch:"Tidak dapat memulakan pembayaran. Sila cuba lagi kemudian",unlockFailedTransaction:"Pembayaran gagal. Sila cuba lagi",unlockFaileVerify:"Pengesahan pesanan gagal. Jika anda telah dikenakan caj, sila hubungi sokongan",transactionPending:"Pengesahan pembayaran gagal. Sila hubungi pembekal pembayaran anda untuk sokongan"},dE={jolicoin:KU},YU={unlockNeeds:"\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",unlockWithJolicoin:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E30\u0E2A\u0E1A\u0E01\u0E32\u0E23\u0E13\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E01\u0E27\u0E48\u0E32",unlockWithJolicoinDescription:"\u0E2B\u0E31\u0E01 Jolicoin \u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E14\u0E34\u0E08\u0E34\u0E17\u0E31\u0E25",useJolicoin:"\u0E43\u0E0A\u0E49 Jolicoin",payAndUnlock:"\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E41\u0E25\u0E30\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",noWatchAds:"\u0E44\u0E21\u0E48 \u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",noThanks:"\u0E44\u0E21\u0E48 \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13",balance:"\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D",coinUsed:"Jolicoin \u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E41\u0E25\u0E49\u0E27",unlockSuccess:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",unlockFailed:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",unlockFailedNotLogin:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D",unlockFailedPaying:"\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E01\u0E33\u0E25\u0E31\u0E07\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E22\u0E39\u0E48 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E2D\u0E22\u0E48\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01",unlockFailedProductIdNotFound:"\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2B\u0E21\u0E14\u0E2D\u0E32\u0E22\u0E38\u0E41\u0E25\u0E49\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2D\u0E37\u0E48\u0E19",unlockFailedProductInvalid:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E14\u0E36\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E44\u0E14\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2D\u0E37\u0E48\u0E19",unlockFailedLaunch:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E23\u0E34\u0E48\u0E21\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E44\u0E14\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E43\u0E19\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07",unlockFailedTransaction:"\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",unlockFaileVerify:"\u0E01\u0E32\u0E23\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E0B\u0E37\u0E49\u0E2D\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E16\u0E39\u0E01\u0E40\u0E23\u0E35\u0E22\u0E01\u0E40\u0E01\u0E47\u0E1A\u0E40\u0E07\u0E34\u0E19\u0E41\u0E25\u0E49\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1D\u0E48\u0E32\u0E22\u0E2A\u0E19\u0E31\u0E1A\u0E2A\u0E19\u0E38\u0E19",transactionPending:"\u0E01\u0E32\u0E23\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D"},QU={jolicoin:YU},XU={unlockNeeds:"Y\xEAu c\u1EA7u m\u1EDF kh\xF3a",unlockWithJolicoin:"M\u1EDF kh\xF3a b\u1EB1ng Jolicoin \u0111\u1EC3 c\xF3 tr\u1EA3i nghi\u1EC7m t\u1ED1t h\u01A1n",unlockWithJolicoinDescription:"T\u1EF1 \u0111\u1ED9ng tr\u1EEB Jolicoin cho c\xE1c m\u1EB7t h\xE0ng k\u1EF9 thu\u1EADt s\u1ED1",useJolicoin:"S\u1EED d\u1EE5ng Jolicoin",payAndUnlock:"Thanh to\xE1n v\xE0 m\u1EDF kh\xF3a",noWatchAds:"Kh\xF4ng, xem qu\u1EA3ng c\xE1o",noThanks:"Kh\xF4ng, c\u1EA3m \u01A1n",balance:"S\u1ED1 d\u01B0",coinUsed:"Jolicoin \u0111\xE3 s\u1EED d\u1EE5ng",unlockSuccess:"M\u1EDF kh\xF3a th\xE0nh c\xF4ng",unlockFailed:"M\u1EDF kh\xF3a th\u1EA5t b\u1EA1i",unlockFailedNotLogin:"Vui l\xF2ng \u0111\u0103ng nh\u1EADp \u0111\u1EC3 ti\u1EBFp t\u1EE5c",unlockFailedPaying:"Thanh to\xE1n \u0111ang \u0111\u01B0\u1EE3c x\u1EED l\xFD. Vui l\xF2ng kh\xF4ng th\u1EED l\u1EA1i",unlockFailedProductIdNotFound:"S\u1EA3n ph\u1EA9m \u0111\xE3 h\u1EBFt h\u1EA1n. Vui l\xF2ng ch\u1ECDn s\u1EA3n ph\u1EA9m kh\xE1c",unlockFailedProductInvalid:"Kh\xF4ng th\u1EC3 l\u1EA5y th\xF4ng tin s\u1EA3n ph\u1EA9m. Vui l\xF2ng th\u1EED l\u1EA1i ho\u1EB7c ch\u1ECDn s\u1EA3n ph\u1EA9m kh\xE1c",unlockFailedLaunch:"Kh\xF4ng th\u1EC3 b\u1EAFt \u0111\u1EA7u thanh to\xE1n. Vui l\xF2ng th\u1EED l\u1EA1i sau",unlockFailedTransaction:"Thanh to\xE1n th\u1EA5t b\u1EA1i. Vui l\xF2ng th\u1EED l\u1EA1i",unlockFaileVerify:"X\xE1c minh \u0111\u01A1n h\xE0ng th\u1EA5t b\u1EA1i. N\u1EBFu b\u1EA1n \u0111\xE3 b\u1ECB t\xEDnh ph\xED, vui l\xF2ng li\xEAn h\u1EC7 h\u1ED7 tr\u1EE3",transactionPending:"X\xE1c nh\u1EADn thanh to\xE1n th\u1EA5t b\u1EA1i. Vui l\xF2ng li\xEAn h\u1EC7 nh\xE0 cung c\u1EA5p thanh to\xE1n c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3"},ZU={jolicoin:XU},e2={unlockNeeds:"Kailangan i-unlock",unlockWithJolicoin:"I-unlock gamit ang Jolicoin para sa mas magandang karanasan",unlockWithJolicoinDescription:"Awtomatikong bawas ng Jolicoin para sa mga digital na item",useJolicoin:"Gamitin ang Jolicoin",payAndUnlock:"Magbayad at i-unlock",noWatchAds:"Hindi, manood ng ads",noThanks:"Hindi na, salamat",balance:"Balanse",coinUsed:"Ginamit na Jolicoin",unlockSuccess:"Matagumpay na na-unlock",unlockFailed:"Hindi matagumpay ang pag-unlock",unlockFailedNotLogin:"Mangyaring mag-login para magpatuloy",unlockFailedPaying:"Ang pagbabayad ay nasa proseso na. Huwag subukang muli",unlockFailedProductIdNotFound:"Ang produkto ay nag-expire na. Mangyaring pumili ng ibang produkto",unlockFailedProductInvalid:"Hindi makuha ang impormasyon ng produkto. Subukang muli o pumili ng ibang produkto",unlockFailedLaunch:"Hindi maumpisahan ang pagbabayad. Subukang muli sa ibang pagkakataon",unlockFailedTransaction:"Hindi matagumpay ang pagbabayad. Subukang muli",unlockFaileVerify:"Hindi matagumpay ang pag-verify ng order. Kung na-charge ka na, mangyaring makipag-ugnayan sa suporta",transactionPending:"Hindi matagumpay ang kumpirmasyon ng pagbabayad. Mangyaring makipag-ugnayan sa iyong payment provider para sa suporta"},fE={jolicoin:e2},t2={unlockNeeds:"Necesario desbloquear",unlockWithJolicoin:"Desbloquea con Jolicoin para una mejor experiencia",unlockWithJolicoinDescription:"Deduce Jolicoin autom\xE1ticamente para art\xEDculos digitales",useJolicoin:"Usar Jolicoin",payAndUnlock:"Pagar y desbloquear",noWatchAds:"No, ver anuncios",noThanks:"No, gracias",balance:"Saldo",coinUsed:"Jolicoin usado",unlockSuccess:"Desbloqueo exitoso",unlockFailed:"Error al desbloquear",unlockFailedNotLogin:"Inicia sesi\xF3n para continuar",unlockFailedPaying:"El pago ya est\xE1 en proceso. Por favor, no intente de nuevo",unlockFailedProductIdNotFound:"El producto ha expirado. Por favor, elija otro producto",unlockFailedProductInvalid:"Error al obtener informaci\xF3n del producto. Int\xE9ntelo de nuevo o elija otro producto",unlockFailedLaunch:"No se puede iniciar el pago. Int\xE9ntelo de nuevo m\xE1s tarde",unlockFailedTransaction:"Error en el pago. Int\xE9ntelo de nuevo",unlockFaileVerify:"Error en la verificaci\xF3n del pedido. Si se le ha cobrado, contacte con soporte",transactionPending:"Error en la confirmaci\xF3n del pago. Contacte con su proveedor de pago para obtener ayuda"},r2={jolicoin:t2},n2={unlockNeeds:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5FC5\u8981",unlockWithJolicoin:"\u3088\u308A\u826F\u3044\u4F53\u9A13\u306E\u305F\u3081\u306BJolicoin\u3067\u30A2\u30F3\u30ED\u30C3\u30AF",unlockWithJolicoinDescription:"\u30C7\u30B8\u30BF\u30EB\u30A2\u30A4\u30C6\u30E0\u306BJolicoin\u3092\u81EA\u52D5\u7684\u306B\u5DEE\u3057\u5F15\u304F",useJolicoin:"Jolicoin\u3092\u4F7F\u7528",payAndUnlock:"\u652F\u6255\u3044\u3068\u30A2\u30F3\u30ED\u30C3\u30AF",noWatchAds:"\u3044\u3044\u3048\u3001\u5E83\u544A\u3092\u898B\u308B",noThanks:"\u3044\u3044\u3048\u3001\u7D50\u69CB\u3067\u3059",balance:"\u6B8B\u9AD8",coinUsed:"\u4F7F\u7528\u6E08\u307FJolicoin",unlockSuccess:"\u30A2\u30F3\u30ED\u30C3\u30AF\u6210\u529F",unlockFailed:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5931\u6557",unlockFailedNotLogin:"\u7D9A\u884C\u3059\u308B\u306B\u306F\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedPaying:"\u652F\u6255\u3044\u51E6\u7406\u4E2D\u3067\u3059\u3002\u518D\u8A66\u884C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044",unlockFailedProductIdNotFound:"\u5546\u54C1\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u3066\u3044\u307E\u3059\u3002\u4ED6\u306E\u5546\u54C1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedProductInvalid:"\u5546\u54C1\u60C5\u5831\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3059\u308B\u304B\u3001\u4ED6\u306E\u5546\u54C1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedLaunch:"\u652F\u6255\u3044\u3092\u958B\u59CB\u3067\u304D\u307E\u305B\u3093\u3002\u5F8C\u3067\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044",unlockFailedTransaction:"\u652F\u6255\u3044\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044",unlockFaileVerify:"\u6CE8\u6587\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u6599\u91D1\u304C\u8ACB\u6C42\u3055\u308C\u305F\u5834\u5408\u306F\u3001\u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044",transactionPending:"\u652F\u6255\u3044\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u652F\u6255\u3044\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044"},i2={jolicoin:n2},o2={unlockNeeds:"Necess\xE1rio desbloquear",unlockWithJolicoin:"Desbloqueie com Jolicoin para uma melhor experi\xEAncia",unlockWithJolicoinDescription:"Deduz Jolicoin automaticamente para itens digitais",useJolicoin:"Usar Jolicoin",payAndUnlock:"Pagar e desbloquear",noWatchAds:"N\xE3o, assistir an\xFAncios",noThanks:"N\xE3o, obrigado",balance:"Saldo",coinUsed:"Jolicoin usado",unlockSuccess:"Desbloqueio bem-sucedido",unlockFailed:"Falha no desbloqueio",unlockFailedNotLogin:"Fa\xE7a login para continuar",unlockFailedPaying:"O pagamento j\xE1 est\xE1 em andamento. Por favor, n\xE3o tente novamente",unlockFailedProductIdNotFound:"O produto expirou. Por favor, escolha outro produto",unlockFailedProductInvalid:"Falha ao recuperar informa\xE7\xF5es do produto. Tente novamente ou escolha outro produto",unlockFailedLaunch:"N\xE3o foi poss\xEDvel iniciar o pagamento. Tente novamente mais tarde",unlockFailedTransaction:"Falha no pagamento. Tente novamente",unlockFaileVerify:"Falha na verifica\xE7\xE3o do pedido. Se voc\xEA foi cobrado, entre em contato com o suporte",transactionPending:"Falha na confirma\xE7\xE3o do pagamento. Entre em contato com seu provedor de pagamento para suporte"},pE={jolicoin:o2},a2={unlockNeeds:"\uC7A0\uAE08 \uD574\uC81C \uD544\uC694",unlockWithJolicoin:"\uB354 \uB098\uC740 \uACBD\uD5D8\uC744 \uC704\uD574 Jolicoin\uC73C\uB85C \uC7A0\uAE08 \uD574\uC81C",unlockWithJolicoinDescription:"\uB514\uC9C0\uD138 \uC544\uC774\uD15C\uC5D0 Jolicoin \uC790\uB3D9 \uCC28\uAC10",useJolicoin:"Jolicoin \uC0AC\uC6A9",payAndUnlock:"\uACB0\uC81C \uBC0F \uC7A0\uAE08 \uD574\uC81C",noWatchAds:"\uC544\uB2C8\uC694, \uAD11\uACE0 \uC2DC\uCCAD",noThanks:"\uAD1C\uCC2E\uC2B5\uB2C8\uB2E4",balance:"\uC794\uC561",coinUsed:"\uC0AC\uC6A9\uB41C Jolicoin",unlockSuccess:"\uC7A0\uAE08 \uD574\uC81C \uC131\uACF5",unlockFailed:"\uC7A0\uAE08 \uD574\uC81C \uC2E4\uD328",unlockFailedNotLogin:"\uC7A0\uAE08 \uD574\uC81C\uB97C \uC704\uD574 \uBA3C\uC800 \uB85C\uADF8\uC778\uD574\uC8FC\uC138\uC694",unlockFailedPaying:"\uACB0\uC81C\uAC00 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC9C0 \uB9C8\uC138\uC694",unlockFailedProductIdNotFound:"\uC0C1\uD488\uC774 \uB9CC\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uC0C1\uD488\uC744 \uC120\uD0DD\uD574\uC8FC\uC138\uC694",unlockFailedProductInvalid:"\uC0C1\uD488 \uC815\uBCF4\uB97C \uAC00\uC838\uC624\uB294\uB370 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uAC70\uB098 \uB2E4\uB978 \uC0C1\uD488\uC744 \uC120\uD0DD\uD574\uC8FC\uC138\uC694",unlockFailedLaunch:"\uACB0\uC81C\uB97C \uC2DC\uC791\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB098\uC911\uC5D0 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",unlockFailedTransaction:"\uACB0\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",unlockFaileVerify:"\uC8FC\uBB38 \uD655\uC778\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC694\uAE08\uC774 \uCCAD\uAD6C\uB41C \uACBD\uC6B0 \uACE0\uAC1D \uC9C0\uC6D0\uD300\uC5D0 \uBB38\uC758\uD574\uC8FC\uC138\uC694",transactionPending:"\uACB0\uC81C \uD655\uC778\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uACB0\uC81C \uC11C\uBE44\uC2A4 \uC81C\uACF5\uC5C5\uCCB4\uC5D0 \uBB38\uC758\uD574\uC8FC\uC138\uC694"},s2={jolicoin:a2},l2={unlockNeeds:"\u89E3\u9396\u9700\u6C42",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9396\u7372\u5F97\u66F4\u597D\u9AD4\u9A57",unlockWithJolicoinDescription:"\u81EA\u52D5\u6263\u9664 Jolicoin \u7528\u65BC\u6578\u5B57\u5546\u54C1",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u770B\u5EE3\u544A",noThanks:"\u4E0D\u7528\u4E86",balance:"\u9918\u984D",coinUsed:"\u5DF2\u4F7F\u7528\u7684 Jolicoin",unlockSuccess:"\u89E3\u9396\u6210\u529F",unlockFailed:"\u89E3\u9396\u5931\u6557",unlockFailedNotLogin:"\u8ACB\u5148\u767B\u5165\u5F8C\u5B8C\u6210\u89E3\u9396",unlockFailedPaying:"\u652F\u4ED8\u6B63\u5728\u9032\u884C\u4E2D\uFF0C\u8ACB\u52FF\u91CD\u8907\u64CD\u4F5C",unlockFailedProductIdNotFound:"\u5546\u54C1\u5DF2\u904E\u671F\uFF0C\u8ACB\u9078\u64C7\u5176\u4ED6\u5546\u54C1",unlockFailedProductInvalid:"\u7372\u53D6\u5546\u54C1\u4FE1\u606F\u5931\u6557\uFF0C\u8ACB\u91CD\u8A66\u6216\u9078\u64C7\u5176\u4ED6\u5546\u54C1",unlockFailedLaunch:"\u7121\u6CD5\u555F\u52D5\u652F\u4ED8\uFF0C\u8ACB\u7A0D\u5F8C\u91CD\u8A66",unlockFailedTransaction:"\u652F\u4ED8\u5931\u6557\uFF0C\u8ACB\u91CD\u8A66",unlockFaileVerify:"\u8A02\u55AE\u9A57\u8B49\u5931\u6557\uFF0C\u5982\u5DF2\u6263\u8CBB\u8ACB\u806F\u7E6B\u5BA2\u670D",transactionPending:"\u652F\u4ED8\u78BA\u8A8D\u5931\u6557\uFF0C\u8ACB\u806F\u7E6B\u652F\u4ED8\u670D\u52D9\u5546\u7372\u53D6\u652F\u6301"},c2={jolicoin:l2},u2={unlockNeeds:"Entsperren erforderlich",unlockWithJolicoin:"Mit Jolicoin entsperren f\xFCr ein besseres Erlebnis",unlockWithJolicoinDescription:"Automatischer Abzug von Jolicoin f\xFCr digitale Artikel",useJolicoin:"Jolicoin verwenden",payAndUnlock:"Bezahlen und entsperren",noWatchAds:"Nein, Werbung ansehen",noThanks:"Nein danke",balance:"Guthaben",coinUsed:"Verwendete Jolicoin",unlockSuccess:"Erfolgreich entsperrt",unlockFailed:"Entsperren fehlgeschlagen",unlockFailedNotLogin:"Bitte melden Sie sich an, um fortzufahren",unlockFailedPaying:"Zahlung l\xE4uft bereits. Bitte nicht erneut versuchen",unlockFailedProductIdNotFound:"Produkt ist abgelaufen. Bitte w\xE4hlen Sie ein anderes Produkt",unlockFailedProductInvalid:"Produktinformationen konnten nicht abgerufen werden. Bitte versuchen Sie es erneut oder w\xE4hlen Sie ein anderes Produkt",unlockFailedLaunch:"Zahlung konnte nicht gestartet werden. Bitte versuchen Sie es sp\xE4ter erneut",unlockFailedTransaction:"Zahlung fehlgeschlagen. Bitte versuchen Sie es erneut",unlockFaileVerify:"Bestellbest\xE4tigung fehlgeschlagen. Falls Ihnen bereits etwas berechnet wurde, kontaktieren Sie bitte den Support",transactionPending:"Zahlungsbest\xE4tigung fehlgeschlagen. Bitte kontaktieren Sie Ihren Zahlungsanbieter f\xFCr Unterst\xFCtzung"},d2={jolicoin:u2},f2={unlockNeeds:"D\xE9verrouillage n\xE9cessaire",unlockWithJolicoin:"D\xE9verrouillez avec Jolicoin pour une meilleure exp\xE9rience",unlockWithJolicoinDescription:"D\xE9duit automatiquement Jolicoin pour les articles num\xE9riques",useJolicoin:"Utiliser Jolicoin",payAndUnlock:"Payer et d\xE9verrouiller",noWatchAds:"Non, regarder des publicit\xE9s",noThanks:"Non merci",balance:"Solde",coinUsed:"Jolicoin utilis\xE9",unlockSuccess:"D\xE9verrouillage r\xE9ussi",unlockFailed:"\xC9chec du d\xE9verrouillage",unlockFailedNotLogin:"Connectez-vous pour continuer",unlockFailedPaying:"Le paiement est d\xE9j\xE0 en cours. Veuillez ne pas r\xE9essayer",unlockFailedProductIdNotFound:"Le produit a expir\xE9. Veuillez choisir un autre produit",unlockFailedProductInvalid:"\xC9chec de la r\xE9cup\xE9ration des informations du produit. Veuillez r\xE9essayer ou choisir un autre produit",unlockFailedLaunch:"Impossible de lancer le paiement. Veuillez r\xE9essayer plus tard",unlockFailedTransaction:"\xC9chec du paiement. Veuillez r\xE9essayer",unlockFaileVerify:"\xC9chec de la v\xE9rification de la commande. Si vous avez \xE9t\xE9 factur\xE9, veuillez contacter le support",transactionPending:"\xC9chec de la confirmation du paiement. Veuillez contacter votre fournisseur de paiement pour obtenir de l'aide"},p2={jolicoin:f2},h2={unlockNeeds:"\u0905\u0928\u0932\u0949\u0915 \u0906\u0935\u0936\u094D\u092F\u0915",unlockWithJolicoin:"\u092C\u0947\u0939\u0924\u0930 \u0905\u0928\u0941\u092D\u0935 \u0915\u0947 \u0932\u093F\u090F Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",unlockWithJolicoinDescription:"\u0921\u093F\u091C\u093F\u091F\u0932 \u0906\u0907\u091F\u092E \u0915\u0947 \u0932\u093F\u090F \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 Jolicoin \u0915\u093E\u091F\u093E \u091C\u093E\u090F\u0917\u093E",useJolicoin:"Jolicoin \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902",payAndUnlock:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0914\u0930 \u0905\u0928\u0932\u0949\u0915",noWatchAds:"\u0928\u0939\u0940\u0902, \u0935\u093F\u091C\u094D\u091E\u093E\u092A\u0928 \u0926\u0947\u0916\u0947\u0902",noThanks:"\u0928\u0939\u0940\u0902, \u0927\u0928\u094D\u092F\u0935\u093E\u0926",balance:"\u0936\u0947\u0937 \u0930\u093E\u0936\u093F",coinUsed:"\u0909\u092A\u092F\u094B\u0917 \u0915\u093F\u092F\u093E \u0917\u092F\u093E Jolicoin",unlockSuccess:"\u0905\u0928\u0932\u0949\u0915 \u0938\u092B\u0932",unlockFailed:"\u0905\u0928\u0932\u0949\u0915 \u0935\u093F\u092B\u0932",unlockFailedNotLogin:"\u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0932\u0949\u0917\u093F\u0928 \u0915\u0930\u0947\u0902",unlockFailedPaying:"\u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u0939\u0932\u0947 \u0938\u0947 \u0939\u0940 \u092A\u094D\u0930\u0917\u0924\u093F \u092A\u0930 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0928 \u0915\u0930\u0947\u0902",unlockFailedProductIdNotFound:"\u0909\u0924\u094D\u092A\u093E\u0926 \u0915\u0940 \u0938\u092E\u092F \u0938\u0940\u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u094B \u0917\u0908 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E \u0926\u0942\u0938\u0930\u093E \u0909\u0924\u094D\u092A\u093E\u0926 \u091A\u0941\u0928\u0947\u0902",unlockFailedProductInvalid:"\u0909\u0924\u094D\u092A\u093E\u0926 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0928\u0947 \u092E\u0947\u0902 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0926\u0942\u0938\u0930\u093E \u0909\u0924\u094D\u092A\u093E\u0926 \u091A\u0941\u0928\u0947\u0902",unlockFailedLaunch:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0936\u0941\u0930\u0942 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u091C\u093E \u0938\u0915\u0924\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092C\u093E\u0926 \u092E\u0947\u0902 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",unlockFailedTransaction:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",unlockFaileVerify:"\u0911\u0930\u094D\u0921\u0930 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0935\u093F\u092B\u0932\u0964 \u092F\u0926\u093F \u0906\u092A\u0938\u0947 \u0936\u0941\u0932\u094D\u0915 \u0932\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948, \u0924\u094B \u0915\u0943\u092A\u092F\u093E \u0938\u0939\u093E\u092F\u0924\u093E \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902",transactionPending:"\u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u0941\u0937\u094D\u091F\u093F\u0915\u0930\u0923 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u0938\u0939\u093E\u092F\u0924\u093E \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0947 \u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u094D\u0930\u0926\u093E\u0924\u093E \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902"},m2={jolicoin:h2},v2={unlockNeeds:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430",unlockWithJolicoin:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin \u0434\u043B\u044F \u043B\u0443\u0447\u0448\u0435\u0433\u043E \u043E\u043F\u044B\u0442\u0430",unlockWithJolicoinDescription:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435 Jolicoin \u0437\u0430 \u0446\u0438\u0444\u0440\u043E\u0432\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u044B",useJolicoin:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C Jolicoin",payAndUnlock:"\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C \u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C",noWatchAds:"\u041D\u0435\u0442, \u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",noThanks:"\u041D\u0435\u0442, \u0441\u043F\u0430\u0441\u0438\u0431\u043E",balance:"\u0411\u0430\u043B\u0430\u043D\u0441",coinUsed:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E Jolicoin",unlockSuccess:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0443\u0441\u043F\u0435\u0448\u043D\u0430",unlockFailed:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438",unlockFailedNotLogin:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C",unlockFailedPaying:"\u041E\u043F\u043B\u0430\u0442\u0430 \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043D\u0435 \u043F\u044B\u0442\u0430\u0439\u0442\u0435\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",unlockFailedProductIdNotFound:"\u0421\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u0430 \u0438\u0441\u0442\u0435\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0442\u043E\u0432\u0430\u0440",unlockFailedProductInvalid:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u0442\u043E\u0432\u0430\u0440\u0435. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u0438\u043B\u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0442\u043E\u0432\u0430\u0440",unlockFailedLaunch:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0447\u0430\u0442\u044C \u043E\u043F\u043B\u0430\u0442\u0443. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435",unlockFailedTransaction:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u043F\u043B\u0430\u0442\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443",unlockFaileVerify:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0437\u0430\u043A\u0430\u0437\u0430. \u0415\u0441\u043B\u0438 \u0441 \u0432\u0430\u0441 \u0431\u044B\u043B\u0430 \u0441\u043F\u0438\u0441\u0430\u043D\u0430 \u043F\u043B\u0430\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u0441\u043B\u0443\u0436\u0431\u0443 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",transactionPending:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u043E\u043F\u043B\u0430\u0442\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0432\u0430\u0448\u0435\u043C\u0443 \u043F\u043B\u0430\u0442\u0435\u0436\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0443 \u0437\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439"},g2={jolicoin:v2},y2={unlockNeeds:"\u0986\u09A8\u09B2\u0995 \u09AA\u09CD\u09B0\u09AF\u09BC\u09CB\u099C\u09A8",unlockWithJolicoin:"\u09AD\u09BE\u09B2 \u0985\u09AD\u09BF\u099C\u09CD\u099E\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",unlockWithJolicoinDescription:"\u09A1\u09BF\u099C\u09BF\u099F\u09BE\u09B2 \u0986\u0987\u099F\u09C7\u09AE\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09B8\u09CD\u09AC\u09AF\u09BC\u0982\u0995\u09CD\u09B0\u09BF\u09AF\u09BC\u09AD\u09BE\u09AC\u09C7 Jolicoin \u0995\u09BE\u099F\u09BE",useJolicoin:"Jolicoin \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C1\u09A8",payAndUnlock:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u098F\u09AC\u0982 \u0986\u09A8\u09B2\u0995",noWatchAds:"\u09A8\u09BE, \u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09C1\u09A8",noThanks:"\u09A8\u09BE, \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6",balance:"\u09AC\u09CD\u09AF\u09BE\u09B2\u09C7\u09A8\u09CD\u09B8",coinUsed:"\u09AC\u09CD\u09AF\u09AC\u09B9\u09C3\u09A4 Jolicoin",unlockSuccess:"\u0986\u09A8\u09B2\u0995 \u09B8\u09AB\u09B2",unlockFailed:"\u0986\u09A8\u09B2\u0995 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5",unlockFailedNotLogin:"\u099A\u09BE\u09B2\u09BF\u09AF\u09BC\u09C7 \u09AF\u09C7\u09A4\u09C7 \u09B2\u0997\u0987\u09A8 \u0995\u09B0\u09C1\u09A8",unlockFailedPaying:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u0987\u09A4\u09BF\u09AE\u09A7\u09CD\u09AF\u09C7 \u099A\u09B2\u099B\u09C7\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE",unlockFailedProductIdNotFound:"\u09AA\u09A3\u09CD\u09AF\u09C7\u09B0 \u09AE\u09C7\u09AF\u09BC\u09BE\u09A6 \u09B6\u09C7\u09B7 \u09B9\u09AF\u09BC\u09C7 \u0997\u09C7\u099B\u09C7\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0985\u09A8\u09CD\u09AF \u09AA\u09A3\u09CD\u09AF \u09AC\u09C7\u099B\u09C7 \u09A8\u09BF\u09A8",unlockFailedProductInvalid:"\u09AA\u09A3\u09CD\u09AF\u09C7\u09B0 \u09A4\u09A5\u09CD\u09AF \u09AA\u09C1\u09A8\u09B0\u09C1\u09A6\u09CD\u09A7\u09BE\u09B0 \u0995\u09B0\u09A4\u09C7 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8 \u09AC\u09BE \u0985\u09A8\u09CD\u09AF \u09AA\u09A3\u09CD\u09AF \u09AC\u09C7\u099B\u09C7 \u09A8\u09BF\u09A8",unlockFailedLaunch:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09A4\u09C7 \u0985\u0995\u09CD\u09B7\u09AE\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09AA\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8",unlockFailedTransaction:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8",unlockFaileVerify:"\u0985\u09B0\u09CD\u09A1\u09BE\u09B0 \u09AF\u09BE\u099A\u09BE\u0987 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u09AF\u09A6\u09BF \u0986\u09AA\u09A8\u09BE\u0995\u09C7 \u099A\u09BE\u09B0\u09CD\u099C \u0995\u09B0\u09BE \u09B9\u09AF\u09BC\u09C7 \u09A5\u09BE\u0995\u09C7, \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09B8\u09B9\u09BE\u09AF\u09BC\u09A4\u09BE\u09B0 \u09B8\u09BE\u09A5\u09C7 \u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8",transactionPending:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4\u0995\u09B0\u09A3 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09B8\u09B9\u09BE\u09AF\u09BC\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09AA\u09CD\u09B0\u09A6\u09BE\u09A8\u0995\u09BE\u09B0\u09C0\u09B0 \u09B8\u09BE\u09A5\u09C7 \u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8"},_2={jolicoin:y2},b2={unlockNeeds:"Kilidi a\xE7mak gerekli",unlockWithJolicoin:"Daha iyi bir deneyim i\xE7in Jolicoin ile kilidi a\xE7\u0131n",unlockWithJolicoinDescription:"Dijital \xF6\u011Feler i\xE7in otomatik olarak Jolicoin d\xFC\u015F\xFCl\xFCr",useJolicoin:"Jolicoin kullan",payAndUnlock:"\xD6de ve kilidi a\xE7",noWatchAds:"Hay\u0131r, reklamlar\u0131 izle",noThanks:"Hay\u0131r, te\u015Fekk\xFCrler",balance:"Bakiye",coinUsed:"Kullan\u0131lan Jolicoin",unlockSuccess:"Kilidi a\xE7ma ba\u015Far\u0131l\u0131",unlockFailed:"Kilidi a\xE7ma ba\u015Far\u0131s\u0131z",unlockFailedNotLogin:"Devam etmek i\xE7in l\xFCtfen giri\u015F yap\u0131n",unlockFailedPaying:"\xD6deme zaten devam ediyor. L\xFCtfen tekrar denemeyin",unlockFailedProductIdNotFound:"\xDCr\xFCn\xFCn s\xFCresi dolmu\u015F. L\xFCtfen ba\u015Fka bir \xFCr\xFCn se\xE7in",unlockFailedProductInvalid:"\xDCr\xFCn bilgileri al\u0131namad\u0131. L\xFCtfen tekrar deneyin veya ba\u015Fka bir \xFCr\xFCn se\xE7in",unlockFailedLaunch:"\xD6deme ba\u015Flat\u0131lamad\u0131. L\xFCtfen daha sonra tekrar deneyin",unlockFailedTransaction:"\xD6deme ba\u015Far\u0131s\u0131z. L\xFCtfen tekrar deneyin",unlockFaileVerify:"Sipari\u015F do\u011Frulamas\u0131 ba\u015Far\u0131s\u0131z. \xDCcretlendirildiyseniz, l\xFCtfen destek ile ileti\u015Fime ge\xE7in",transactionPending:"\xD6deme onay\u0131 ba\u015Far\u0131s\u0131z. L\xFCtfen destek i\xE7in \xF6deme sa\u011Flay\u0131c\u0131n\u0131zla ileti\u015Fime ge\xE7in"},w2={jolicoin:b2},VE={en:{translations:lE},en_GB:{translations:lE},zh:{translations:cE},"zh-Hans":{translations:cE},"zh-Hant":{translations:c2},id:{translations:uE},in:{translations:uE},ms:{translations:dE},my:{translations:dE},th:{translations:QU},vi:{translations:ZU},fil:{translations:fE},tl:{translations:fE},es:{translations:r2},ja:{translations:i2},pt:{translations:pE},pt_PT:{translations:pE},ko:{translations:s2},de:{translations:d2},fr:{translations:p2},hi:{translations:m2},ru:{translations:g2},bn:{translations:_2},tr:{translations:w2}},GE=wr(void 0),WE=({definition:e,children:t})=>{let r={translations:e};return b(GE.Provider,{value:r,children:t})},Xu=null,I2={zh:"zh","zh-CN":"zh","zh-TW":"zh-Hant","zh-Hans":"zh",zh_Hans:"zh","zh-Hant":"zh-Hant",zh_Hant:"zh-Hant",id:"id",in:"id",ms:"ms",my:"ms",th:"th",vi:"vi",fil:"tl",tl:"tl",es:"es",ja:"ja",pt:"pt",pt_PT:"pt","pt-PT":"pt",ko:"ko",de:"de",fr:"fr",hi:"hi",ru:"ru",ar:"ar",tr:"tr"},KE=e=>{Xu=e},YE=()=>{var e;if(typeof Xu!="function")return console.warn("Language handler is not registered or is not a function. Defaulting to 'en'."),"en";try{let t=Xu();return(e=I2[t])!=null?e:"en"}catch(t){return console.error("Error executing registered language handler:",t),"en"}};Ta=class{constructor(t,r){this.zIndex=t,this.pointerEvents=r,this.persistentIframe=null,this.iframeEmotionCache=null,this.iframeLoadPromise=null,this.iframeLoadResolver=null,this.removeGlobalTransformSync=null,this.referenceCount=0}create(){typeof window>"u"||this.persistentIframe&&document.body.contains(this.persistentIframe)||(this.persistentIframe=document.createElement("iframe"),this.persistentIframe.style.position="fixed",this.persistentIframe.style.left="0",this.persistentIframe.style.top="0",this.persistentIframe.style.width="100vw",this.persistentIframe.style.height="100vh",this.persistentIframe.style.zIndex=String(this.zIndex),this.persistentIframe.style.pointerEvents=this.pointerEvents,this.persistentIframe.style.border="none",this.persistentIframe.style.background="transparent",this.persistentIframe.setAttribute("allowtransparency","true"),this.persistentIframe.style.display="none",document.body.appendChild(this.persistentIframe),this.iframeLoadPromise=new Promise(t=>{this.iframeLoadResolver=t}),this.persistentIframe.onload=()=>{var r,n,i;if(!((n=(r=this.persistentIframe)==null?void 0:r.contentDocument)!=null&&n.head)){console.error("[SingletonIframe] Iframe loaded, but document or head is not available.");return}console.log("[SingletonIframe] Iframe content loaded."),this.iframeEmotionCache=jE({key:"iframe-css",container:this.persistentIframe.contentDocument.head,prepend:!0}),this.removeGlobalTransformSync&&this.removeGlobalTransformSync(),this.removeGlobalTransformSync=x2(this.persistentIframe);let t=this.persistentIframe.contentDocument;t&&["--status-bar-height","--navigation-bar-height"].forEach(o=>{let a=document.documentElement.style.getPropertyValue(o);a&&t.body.style.setProperty(o,a)}),(i=this.iframeLoadResolver)==null||i.call(this),this.iframeLoadResolver=null},this.persistentIframe.onerror=()=>{console.error("[SingletonIframe] Iframe failed to load.")},this.persistentIframe.src="about:blank")}acquire(){return I(this,null,function*(){if(this.create(),yield this.iframeLoadPromise,!this.persistentIframe||!this.iframeEmotionCache)throw new Error("[SingletonIframe] Iframe or cache not available after load.");return this.referenceCount++,this.persistentIframe.style.display==="none"&&(QE(this.persistentIframe),this.persistentIframe.style.display="block"),{iframe:this.persistentIframe,emotionCache:this.iframeEmotionCache}})}release(){this.referenceCount--,this.referenceCount<=0&&(this.referenceCount=0,this.persistentIframe&&(this.persistentIframe.style.display="none"))}},xi=new Ta(99999998,"auto"),hE=new Ta(99999999,"none"),S2=({title:e,content:t,noHeader:r,height:n,padding:i="16px",footerButtons:o,onClose:a})=>{let s=Li(),l={container:N`
62
+ `,$U=({children:e,isOpen:t=!1,onClose:r,className:n=""},i)=>{let[o,a]=Tt(!1),[s,l]=Tt(null),[c,d]=Tt(!1),u=Ei(null),p=Ei(null),f=Ei(!1);Cr(()=>{if(o&&u.current){let A=u.current.ownerDocument,H=A.createElement("style");H.innerHTML=JU,A.head.appendChild(H);let Ue={overflow:A.body.style.overflow,position:A.body.style.position,width:A.body.style.width};return A.body.style.overflow="hidden",A.body.style.position="fixed",A.body.style.width="100%",()=>{A.head.contains(H)&&A.head.removeChild(H),A.body.style.overflow=Ue.overflow,A.body.style.position=Ue.position,A.body.style.width=Ue.width}}},[o]),Cr(()=>{t?!o&&!f.current&&(a(!0),requestAnimationFrame(()=>{setTimeout(()=>l("enter"),0)})):o&&(f.current=!0,l("leave"),d(!1))},[t]);let m=ot(A=>{A.target===p.current&&(s==="leave"?(l(null),a(!1),f.current=!1,r&&r()):s==="enter"&&(l(null),d(!0)))},[s,r]),v=ot(()=>{o&&!f.current&&(f.current=!0,l("leave"),d(!1))},[o]),y=ot(A=>{A.preventDefault(),A.stopPropagation(),v()},[v]),g=ot(()=>{!f.current&&!o&&(a(!0),requestAnimationFrame(()=>{setTimeout(()=>l("enter"),0)}))},[o]),_=ot(()=>o&&!f.current,[o]);if(Cr(()=>{if(i){let A={show:g,hide:v,isOpen:_};typeof i=="function"?i(A):i&&(i.current=A)}},[g,v,_,i]),!o)return null;let w=L(P({},aE.drawerBackdrop),{backgroundColor:"transparent",pointerEvents:"none"}),k={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.1)",pointerEvents:"auto"},R=L(P({},aE.drawer),{height:"auto",pointerEvents:"auto"});o&&!c&&!s&&(R.transform="translateY(100%)");let C=s?`drawer-${s}`:"",E=s?`backdrop-${s}`:"";return b("div",{ref:u,style:w,children:[b("div",{style:k,className:E,onClick:y}),b("div",{ref:p,style:R,className:`${C} ${n}`,onAnimationEnd:m,onClick:A=>A.stopPropagation(),children:b("div",{style:BU.styles,children:e})})]})},HU=Oc($U);zU={unlockNeeds:"Unlock needs",unlockWithJolicoin:"Unlock with Jolicoin for a better experience",unlockWithJolicoinDescription:"Deduct Jolicoin automatically for digital items",useJolicoin:"Use Jolicoin",payAndUnlock:"Pay and unlock",noWatchAds:"No, watch ads",noThanks:"No thanks",balance:"Balance",coinUsed:"Jolicoin used",unlockSuccess:"Unlock successful",unlockFailed:"Unlock failed",unlockFailedNotLogin:"Please log in to continue",unlockFailedPaying:"Payment is already in progress. Please do not retry",unlockFailedProductIdNotFound:"Product has expired. Please choose another product",unlockFailedProductInvalid:"Failed to retrieve product info. Please retry or choose another product",unlockFailedLaunch:"Unable to start payment. Please try again later",unlockFailedTransaction:"Payment failed. Please try again",unlockFaileVerify:"Order verification failed. If you\u2019ve been charged, please contact support",transactionPending:"Payment confirmation failed. Please contact your payment provider for support"},sE={jolicoin:zU},VU={unlockNeeds:"\u89E3\u9501\u9700\u6C42",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9501\u83B7\u5F97\u66F4\u597D\u4F53\u9A8C",unlockWithJolicoinDescription:"\u81EA\u52A8\u6263\u9664 Jolicoin \u7528\u4E8E\u6570\u5B57\u5546\u54C1",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u770B\u5E7F\u544A",noThanks:"\u4E0D\u7528\u4E86",balance:"\u4F59\u989D",coinUsed:"\u5DF2\u4F7F\u7528\u7684 Jolicoin",unlockSuccess:"\u89E3\u9501\u6210\u529F",unlockFailed:"\u89E3\u9501\u5931\u8D25",unlockFailedNotLogin:"\u8BF7\u5148\u767B\u5F55\u540E\u5B8C\u6210\u89E3\u9501",unlockFailedPaying:"\u652F\u4ED8\u6B63\u5728\u8FDB\u884C\u4E2D\uFF0C\u8BF7\u52FF\u91CD\u590D\u64CD\u4F5C",unlockFailedProductIdNotFound:"\u5546\u54C1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u9009\u62E9\u5176\u4ED6\u5546\u54C1",unlockFailedProductInvalid:"\u83B7\u53D6\u5546\u54C1\u4FE1\u606F\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u9009\u62E9\u5176\u4ED6\u5546\u54C1",unlockFailedLaunch:"\u65E0\u6CD5\u542F\u52A8\u652F\u4ED8\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",unlockFailedTransaction:"\u652F\u4ED8\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",unlockFaileVerify:"\u8BA2\u5355\u9A8C\u8BC1\u5931\u8D25\uFF0C\u5982\u5DF2\u6263\u8D39\u8BF7\u8054\u7CFB\u5BA2\u670D",transactionPending:"\u652F\u4ED8\u786E\u8BA4\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u652F\u4ED8\u670D\u52A1\u5546\u83B7\u53D6\u652F\u6301"},lE={jolicoin:VU},GU={unlockNeeds:"Perlu dibuka",unlockWithJolicoin:"Buka dengan Jolicoin untuk pengalaman yang lebih baik",unlockWithJolicoinDescription:"Otomatis mengurangi Jolicoin untuk item digital",useJolicoin:"Gunakan Jolicoin",payAndUnlock:"Bayar dan buka",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",balance:"Saldo",coinUsed:"Jolicoin yang digunakan",unlockSuccess:"Berhasil dibuka",unlockFailed:"Gagal membuka",unlockFailedNotLogin:"Silakan masuk untuk melanjutkan",unlockFailedPaying:"Pembayaran sedang diproses. Mohon jangan coba lagi",unlockFailedProductIdNotFound:"Produk telah kedaluwarsa. Silakan pilih produk lain",unlockFailedProductInvalid:"Gagal mendapatkan informasi produk. Silakan coba lagi atau pilih produk lain",unlockFailedLaunch:"Tidak dapat memulai pembayaran. Silakan coba lagi nanti",unlockFailedTransaction:"Pembayaran gagal. Silakan coba lagi",unlockFaileVerify:"Verifikasi pesanan gagal. Jika Anda telah dikenakan biaya, silakan hubungi dukungan",transactionPending:"Konfirmasi pembayaran gagal. Silakan hubungi penyedia pembayaran Anda untuk dukungan"},cE={jolicoin:GU},WU={unlockNeeds:"Perlu dibuka",unlockWithJolicoin:"Buka dengan Jolicoin untuk pengalaman yang lebih baik",unlockWithJolicoinDescription:"Potongan automatik Jolicoin untuk item digital",useJolicoin:"Gunakan Jolicoin",payAndUnlock:"Bayar dan buka",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",balance:"Baki",coinUsed:"Jolicoin yang digunakan",unlockSuccess:"Berjaya dibuka",unlockFailed:"Gagal membuka",unlockFailedNotLogin:"Sila log masuk untuk meneruskan",unlockFailedPaying:"Pembayaran sedang diproses. Sila jangan cuba lagi",unlockFailedProductIdNotFound:"Produk telah tamat tempoh. Sila pilih produk lain",unlockFailedProductInvalid:"Gagal mendapatkan maklumat produk. Sila cuba lagi atau pilih produk lain",unlockFailedLaunch:"Tidak dapat memulakan pembayaran. Sila cuba lagi kemudian",unlockFailedTransaction:"Pembayaran gagal. Sila cuba lagi",unlockFaileVerify:"Pengesahan pesanan gagal. Jika anda telah dikenakan caj, sila hubungi sokongan",transactionPending:"Pengesahan pembayaran gagal. Sila hubungi pembekal pembayaran anda untuk sokongan"},uE={jolicoin:WU},KU={unlockNeeds:"\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",unlockWithJolicoin:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E30\u0E2A\u0E1A\u0E01\u0E32\u0E23\u0E13\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E01\u0E27\u0E48\u0E32",unlockWithJolicoinDescription:"\u0E2B\u0E31\u0E01 Jolicoin \u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E14\u0E34\u0E08\u0E34\u0E17\u0E31\u0E25",useJolicoin:"\u0E43\u0E0A\u0E49 Jolicoin",payAndUnlock:"\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E41\u0E25\u0E30\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",noWatchAds:"\u0E44\u0E21\u0E48 \u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",noThanks:"\u0E44\u0E21\u0E48 \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13",balance:"\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D",coinUsed:"Jolicoin \u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E41\u0E25\u0E49\u0E27",unlockSuccess:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",unlockFailed:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",unlockFailedNotLogin:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D",unlockFailedPaying:"\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E01\u0E33\u0E25\u0E31\u0E07\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E22\u0E39\u0E48 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E2D\u0E22\u0E48\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01",unlockFailedProductIdNotFound:"\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2B\u0E21\u0E14\u0E2D\u0E32\u0E22\u0E38\u0E41\u0E25\u0E49\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2D\u0E37\u0E48\u0E19",unlockFailedProductInvalid:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E14\u0E36\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E44\u0E14\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2D\u0E37\u0E48\u0E19",unlockFailedLaunch:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E23\u0E34\u0E48\u0E21\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E44\u0E14\u0E49 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E43\u0E19\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07",unlockFailedTransaction:"\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",unlockFaileVerify:"\u0E01\u0E32\u0E23\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E0B\u0E37\u0E49\u0E2D\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E16\u0E39\u0E01\u0E40\u0E23\u0E35\u0E22\u0E01\u0E40\u0E01\u0E47\u0E1A\u0E40\u0E07\u0E34\u0E19\u0E41\u0E25\u0E49\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1D\u0E48\u0E32\u0E22\u0E2A\u0E19\u0E31\u0E1A\u0E2A\u0E19\u0E38\u0E19",transactionPending:"\u0E01\u0E32\u0E23\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D"},YU={jolicoin:KU},QU={unlockNeeds:"Y\xEAu c\u1EA7u m\u1EDF kh\xF3a",unlockWithJolicoin:"M\u1EDF kh\xF3a b\u1EB1ng Jolicoin \u0111\u1EC3 c\xF3 tr\u1EA3i nghi\u1EC7m t\u1ED1t h\u01A1n",unlockWithJolicoinDescription:"T\u1EF1 \u0111\u1ED9ng tr\u1EEB Jolicoin cho c\xE1c m\u1EB7t h\xE0ng k\u1EF9 thu\u1EADt s\u1ED1",useJolicoin:"S\u1EED d\u1EE5ng Jolicoin",payAndUnlock:"Thanh to\xE1n v\xE0 m\u1EDF kh\xF3a",noWatchAds:"Kh\xF4ng, xem qu\u1EA3ng c\xE1o",noThanks:"Kh\xF4ng, c\u1EA3m \u01A1n",balance:"S\u1ED1 d\u01B0",coinUsed:"Jolicoin \u0111\xE3 s\u1EED d\u1EE5ng",unlockSuccess:"M\u1EDF kh\xF3a th\xE0nh c\xF4ng",unlockFailed:"M\u1EDF kh\xF3a th\u1EA5t b\u1EA1i",unlockFailedNotLogin:"Vui l\xF2ng \u0111\u0103ng nh\u1EADp \u0111\u1EC3 ti\u1EBFp t\u1EE5c",unlockFailedPaying:"Thanh to\xE1n \u0111ang \u0111\u01B0\u1EE3c x\u1EED l\xFD. Vui l\xF2ng kh\xF4ng th\u1EED l\u1EA1i",unlockFailedProductIdNotFound:"S\u1EA3n ph\u1EA9m \u0111\xE3 h\u1EBFt h\u1EA1n. Vui l\xF2ng ch\u1ECDn s\u1EA3n ph\u1EA9m kh\xE1c",unlockFailedProductInvalid:"Kh\xF4ng th\u1EC3 l\u1EA5y th\xF4ng tin s\u1EA3n ph\u1EA9m. Vui l\xF2ng th\u1EED l\u1EA1i ho\u1EB7c ch\u1ECDn s\u1EA3n ph\u1EA9m kh\xE1c",unlockFailedLaunch:"Kh\xF4ng th\u1EC3 b\u1EAFt \u0111\u1EA7u thanh to\xE1n. Vui l\xF2ng th\u1EED l\u1EA1i sau",unlockFailedTransaction:"Thanh to\xE1n th\u1EA5t b\u1EA1i. Vui l\xF2ng th\u1EED l\u1EA1i",unlockFaileVerify:"X\xE1c minh \u0111\u01A1n h\xE0ng th\u1EA5t b\u1EA1i. N\u1EBFu b\u1EA1n \u0111\xE3 b\u1ECB t\xEDnh ph\xED, vui l\xF2ng li\xEAn h\u1EC7 h\u1ED7 tr\u1EE3",transactionPending:"X\xE1c nh\u1EADn thanh to\xE1n th\u1EA5t b\u1EA1i. Vui l\xF2ng li\xEAn h\u1EC7 nh\xE0 cung c\u1EA5p thanh to\xE1n c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3"},XU={jolicoin:QU},ZU={unlockNeeds:"Kailangan i-unlock",unlockWithJolicoin:"I-unlock gamit ang Jolicoin para sa mas magandang karanasan",unlockWithJolicoinDescription:"Awtomatikong bawas ng Jolicoin para sa mga digital na item",useJolicoin:"Gamitin ang Jolicoin",payAndUnlock:"Magbayad at i-unlock",noWatchAds:"Hindi, manood ng ads",noThanks:"Hindi na, salamat",balance:"Balanse",coinUsed:"Ginamit na Jolicoin",unlockSuccess:"Matagumpay na na-unlock",unlockFailed:"Hindi matagumpay ang pag-unlock",unlockFailedNotLogin:"Mangyaring mag-login para magpatuloy",unlockFailedPaying:"Ang pagbabayad ay nasa proseso na. Huwag subukang muli",unlockFailedProductIdNotFound:"Ang produkto ay nag-expire na. Mangyaring pumili ng ibang produkto",unlockFailedProductInvalid:"Hindi makuha ang impormasyon ng produkto. Subukang muli o pumili ng ibang produkto",unlockFailedLaunch:"Hindi maumpisahan ang pagbabayad. Subukang muli sa ibang pagkakataon",unlockFailedTransaction:"Hindi matagumpay ang pagbabayad. Subukang muli",unlockFaileVerify:"Hindi matagumpay ang pag-verify ng order. Kung na-charge ka na, mangyaring makipag-ugnayan sa suporta",transactionPending:"Hindi matagumpay ang kumpirmasyon ng pagbabayad. Mangyaring makipag-ugnayan sa iyong payment provider para sa suporta"},dE={jolicoin:ZU},e2={unlockNeeds:"Necesario desbloquear",unlockWithJolicoin:"Desbloquea con Jolicoin para una mejor experiencia",unlockWithJolicoinDescription:"Deduce Jolicoin autom\xE1ticamente para art\xEDculos digitales",useJolicoin:"Usar Jolicoin",payAndUnlock:"Pagar y desbloquear",noWatchAds:"No, ver anuncios",noThanks:"No, gracias",balance:"Saldo",coinUsed:"Jolicoin usado",unlockSuccess:"Desbloqueo exitoso",unlockFailed:"Error al desbloquear",unlockFailedNotLogin:"Inicia sesi\xF3n para continuar",unlockFailedPaying:"El pago ya est\xE1 en proceso. Por favor, no intente de nuevo",unlockFailedProductIdNotFound:"El producto ha expirado. Por favor, elija otro producto",unlockFailedProductInvalid:"Error al obtener informaci\xF3n del producto. Int\xE9ntelo de nuevo o elija otro producto",unlockFailedLaunch:"No se puede iniciar el pago. Int\xE9ntelo de nuevo m\xE1s tarde",unlockFailedTransaction:"Error en el pago. Int\xE9ntelo de nuevo",unlockFaileVerify:"Error en la verificaci\xF3n del pedido. Si se le ha cobrado, contacte con soporte",transactionPending:"Error en la confirmaci\xF3n del pago. Contacte con su proveedor de pago para obtener ayuda"},t2={jolicoin:e2},r2={unlockNeeds:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5FC5\u8981",unlockWithJolicoin:"\u3088\u308A\u826F\u3044\u4F53\u9A13\u306E\u305F\u3081\u306BJolicoin\u3067\u30A2\u30F3\u30ED\u30C3\u30AF",unlockWithJolicoinDescription:"\u30C7\u30B8\u30BF\u30EB\u30A2\u30A4\u30C6\u30E0\u306BJolicoin\u3092\u81EA\u52D5\u7684\u306B\u5DEE\u3057\u5F15\u304F",useJolicoin:"Jolicoin\u3092\u4F7F\u7528",payAndUnlock:"\u652F\u6255\u3044\u3068\u30A2\u30F3\u30ED\u30C3\u30AF",noWatchAds:"\u3044\u3044\u3048\u3001\u5E83\u544A\u3092\u898B\u308B",noThanks:"\u3044\u3044\u3048\u3001\u7D50\u69CB\u3067\u3059",balance:"\u6B8B\u9AD8",coinUsed:"\u4F7F\u7528\u6E08\u307FJolicoin",unlockSuccess:"\u30A2\u30F3\u30ED\u30C3\u30AF\u6210\u529F",unlockFailed:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5931\u6557",unlockFailedNotLogin:"\u7D9A\u884C\u3059\u308B\u306B\u306F\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedPaying:"\u652F\u6255\u3044\u51E6\u7406\u4E2D\u3067\u3059\u3002\u518D\u8A66\u884C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044",unlockFailedProductIdNotFound:"\u5546\u54C1\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u3066\u3044\u307E\u3059\u3002\u4ED6\u306E\u5546\u54C1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedProductInvalid:"\u5546\u54C1\u60C5\u5831\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3059\u308B\u304B\u3001\u4ED6\u306E\u5546\u54C1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedLaunch:"\u652F\u6255\u3044\u3092\u958B\u59CB\u3067\u304D\u307E\u305B\u3093\u3002\u5F8C\u3067\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044",unlockFailedTransaction:"\u652F\u6255\u3044\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044",unlockFaileVerify:"\u6CE8\u6587\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u6599\u91D1\u304C\u8ACB\u6C42\u3055\u308C\u305F\u5834\u5408\u306F\u3001\u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044",transactionPending:"\u652F\u6255\u3044\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u652F\u6255\u3044\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044"},n2={jolicoin:r2},i2={unlockNeeds:"Necess\xE1rio desbloquear",unlockWithJolicoin:"Desbloqueie com Jolicoin para uma melhor experi\xEAncia",unlockWithJolicoinDescription:"Deduz Jolicoin automaticamente para itens digitais",useJolicoin:"Usar Jolicoin",payAndUnlock:"Pagar e desbloquear",noWatchAds:"N\xE3o, assistir an\xFAncios",noThanks:"N\xE3o, obrigado",balance:"Saldo",coinUsed:"Jolicoin usado",unlockSuccess:"Desbloqueio bem-sucedido",unlockFailed:"Falha no desbloqueio",unlockFailedNotLogin:"Fa\xE7a login para continuar",unlockFailedPaying:"O pagamento j\xE1 est\xE1 em andamento. Por favor, n\xE3o tente novamente",unlockFailedProductIdNotFound:"O produto expirou. Por favor, escolha outro produto",unlockFailedProductInvalid:"Falha ao recuperar informa\xE7\xF5es do produto. Tente novamente ou escolha outro produto",unlockFailedLaunch:"N\xE3o foi poss\xEDvel iniciar o pagamento. Tente novamente mais tarde",unlockFailedTransaction:"Falha no pagamento. Tente novamente",unlockFaileVerify:"Falha na verifica\xE7\xE3o do pedido. Se voc\xEA foi cobrado, entre em contato com o suporte",transactionPending:"Falha na confirma\xE7\xE3o do pagamento. Entre em contato com seu provedor de pagamento para suporte"},fE={jolicoin:i2},o2={unlockNeeds:"\uC7A0\uAE08 \uD574\uC81C \uD544\uC694",unlockWithJolicoin:"\uB354 \uB098\uC740 \uACBD\uD5D8\uC744 \uC704\uD574 Jolicoin\uC73C\uB85C \uC7A0\uAE08 \uD574\uC81C",unlockWithJolicoinDescription:"\uB514\uC9C0\uD138 \uC544\uC774\uD15C\uC5D0 Jolicoin \uC790\uB3D9 \uCC28\uAC10",useJolicoin:"Jolicoin \uC0AC\uC6A9",payAndUnlock:"\uACB0\uC81C \uBC0F \uC7A0\uAE08 \uD574\uC81C",noWatchAds:"\uC544\uB2C8\uC694, \uAD11\uACE0 \uC2DC\uCCAD",noThanks:"\uAD1C\uCC2E\uC2B5\uB2C8\uB2E4",balance:"\uC794\uC561",coinUsed:"\uC0AC\uC6A9\uB41C Jolicoin",unlockSuccess:"\uC7A0\uAE08 \uD574\uC81C \uC131\uACF5",unlockFailed:"\uC7A0\uAE08 \uD574\uC81C \uC2E4\uD328",unlockFailedNotLogin:"\uC7A0\uAE08 \uD574\uC81C\uB97C \uC704\uD574 \uBA3C\uC800 \uB85C\uADF8\uC778\uD574\uC8FC\uC138\uC694",unlockFailedPaying:"\uACB0\uC81C\uAC00 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC9C0 \uB9C8\uC138\uC694",unlockFailedProductIdNotFound:"\uC0C1\uD488\uC774 \uB9CC\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uC0C1\uD488\uC744 \uC120\uD0DD\uD574\uC8FC\uC138\uC694",unlockFailedProductInvalid:"\uC0C1\uD488 \uC815\uBCF4\uB97C \uAC00\uC838\uC624\uB294\uB370 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uAC70\uB098 \uB2E4\uB978 \uC0C1\uD488\uC744 \uC120\uD0DD\uD574\uC8FC\uC138\uC694",unlockFailedLaunch:"\uACB0\uC81C\uB97C \uC2DC\uC791\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB098\uC911\uC5D0 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",unlockFailedTransaction:"\uACB0\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",unlockFaileVerify:"\uC8FC\uBB38 \uD655\uC778\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC694\uAE08\uC774 \uCCAD\uAD6C\uB41C \uACBD\uC6B0 \uACE0\uAC1D \uC9C0\uC6D0\uD300\uC5D0 \uBB38\uC758\uD574\uC8FC\uC138\uC694",transactionPending:"\uACB0\uC81C \uD655\uC778\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uACB0\uC81C \uC11C\uBE44\uC2A4 \uC81C\uACF5\uC5C5\uCCB4\uC5D0 \uBB38\uC758\uD574\uC8FC\uC138\uC694"},a2={jolicoin:o2},s2={unlockNeeds:"\u89E3\u9396\u9700\u6C42",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9396\u7372\u5F97\u66F4\u597D\u9AD4\u9A57",unlockWithJolicoinDescription:"\u81EA\u52D5\u6263\u9664 Jolicoin \u7528\u65BC\u6578\u5B57\u5546\u54C1",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u770B\u5EE3\u544A",noThanks:"\u4E0D\u7528\u4E86",balance:"\u9918\u984D",coinUsed:"\u5DF2\u4F7F\u7528\u7684 Jolicoin",unlockSuccess:"\u89E3\u9396\u6210\u529F",unlockFailed:"\u89E3\u9396\u5931\u6557",unlockFailedNotLogin:"\u8ACB\u5148\u767B\u5165\u5F8C\u5B8C\u6210\u89E3\u9396",unlockFailedPaying:"\u652F\u4ED8\u6B63\u5728\u9032\u884C\u4E2D\uFF0C\u8ACB\u52FF\u91CD\u8907\u64CD\u4F5C",unlockFailedProductIdNotFound:"\u5546\u54C1\u5DF2\u904E\u671F\uFF0C\u8ACB\u9078\u64C7\u5176\u4ED6\u5546\u54C1",unlockFailedProductInvalid:"\u7372\u53D6\u5546\u54C1\u4FE1\u606F\u5931\u6557\uFF0C\u8ACB\u91CD\u8A66\u6216\u9078\u64C7\u5176\u4ED6\u5546\u54C1",unlockFailedLaunch:"\u7121\u6CD5\u555F\u52D5\u652F\u4ED8\uFF0C\u8ACB\u7A0D\u5F8C\u91CD\u8A66",unlockFailedTransaction:"\u652F\u4ED8\u5931\u6557\uFF0C\u8ACB\u91CD\u8A66",unlockFaileVerify:"\u8A02\u55AE\u9A57\u8B49\u5931\u6557\uFF0C\u5982\u5DF2\u6263\u8CBB\u8ACB\u806F\u7E6B\u5BA2\u670D",transactionPending:"\u652F\u4ED8\u78BA\u8A8D\u5931\u6557\uFF0C\u8ACB\u806F\u7E6B\u652F\u4ED8\u670D\u52D9\u5546\u7372\u53D6\u652F\u6301"},l2={jolicoin:s2},c2={unlockNeeds:"Entsperren erforderlich",unlockWithJolicoin:"Mit Jolicoin entsperren f\xFCr ein besseres Erlebnis",unlockWithJolicoinDescription:"Automatischer Abzug von Jolicoin f\xFCr digitale Artikel",useJolicoin:"Jolicoin verwenden",payAndUnlock:"Bezahlen und entsperren",noWatchAds:"Nein, Werbung ansehen",noThanks:"Nein danke",balance:"Guthaben",coinUsed:"Verwendete Jolicoin",unlockSuccess:"Erfolgreich entsperrt",unlockFailed:"Entsperren fehlgeschlagen",unlockFailedNotLogin:"Bitte melden Sie sich an, um fortzufahren",unlockFailedPaying:"Zahlung l\xE4uft bereits. Bitte nicht erneut versuchen",unlockFailedProductIdNotFound:"Produkt ist abgelaufen. Bitte w\xE4hlen Sie ein anderes Produkt",unlockFailedProductInvalid:"Produktinformationen konnten nicht abgerufen werden. Bitte versuchen Sie es erneut oder w\xE4hlen Sie ein anderes Produkt",unlockFailedLaunch:"Zahlung konnte nicht gestartet werden. Bitte versuchen Sie es sp\xE4ter erneut",unlockFailedTransaction:"Zahlung fehlgeschlagen. Bitte versuchen Sie es erneut",unlockFaileVerify:"Bestellbest\xE4tigung fehlgeschlagen. Falls Ihnen bereits etwas berechnet wurde, kontaktieren Sie bitte den Support",transactionPending:"Zahlungsbest\xE4tigung fehlgeschlagen. Bitte kontaktieren Sie Ihren Zahlungsanbieter f\xFCr Unterst\xFCtzung"},u2={jolicoin:c2},d2={unlockNeeds:"D\xE9verrouillage n\xE9cessaire",unlockWithJolicoin:"D\xE9verrouillez avec Jolicoin pour une meilleure exp\xE9rience",unlockWithJolicoinDescription:"D\xE9duit automatiquement Jolicoin pour les articles num\xE9riques",useJolicoin:"Utiliser Jolicoin",payAndUnlock:"Payer et d\xE9verrouiller",noWatchAds:"Non, regarder des publicit\xE9s",noThanks:"Non merci",balance:"Solde",coinUsed:"Jolicoin utilis\xE9",unlockSuccess:"D\xE9verrouillage r\xE9ussi",unlockFailed:"\xC9chec du d\xE9verrouillage",unlockFailedNotLogin:"Connectez-vous pour continuer",unlockFailedPaying:"Le paiement est d\xE9j\xE0 en cours. Veuillez ne pas r\xE9essayer",unlockFailedProductIdNotFound:"Le produit a expir\xE9. Veuillez choisir un autre produit",unlockFailedProductInvalid:"\xC9chec de la r\xE9cup\xE9ration des informations du produit. Veuillez r\xE9essayer ou choisir un autre produit",unlockFailedLaunch:"Impossible de lancer le paiement. Veuillez r\xE9essayer plus tard",unlockFailedTransaction:"\xC9chec du paiement. Veuillez r\xE9essayer",unlockFaileVerify:"\xC9chec de la v\xE9rification de la commande. Si vous avez \xE9t\xE9 factur\xE9, veuillez contacter le support",transactionPending:"\xC9chec de la confirmation du paiement. Veuillez contacter votre fournisseur de paiement pour obtenir de l'aide"},f2={jolicoin:d2},p2={unlockNeeds:"\u0905\u0928\u0932\u0949\u0915 \u0906\u0935\u0936\u094D\u092F\u0915",unlockWithJolicoin:"\u092C\u0947\u0939\u0924\u0930 \u0905\u0928\u0941\u092D\u0935 \u0915\u0947 \u0932\u093F\u090F Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",unlockWithJolicoinDescription:"\u0921\u093F\u091C\u093F\u091F\u0932 \u0906\u0907\u091F\u092E \u0915\u0947 \u0932\u093F\u090F \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 Jolicoin \u0915\u093E\u091F\u093E \u091C\u093E\u090F\u0917\u093E",useJolicoin:"Jolicoin \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902",payAndUnlock:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0914\u0930 \u0905\u0928\u0932\u0949\u0915",noWatchAds:"\u0928\u0939\u0940\u0902, \u0935\u093F\u091C\u094D\u091E\u093E\u092A\u0928 \u0926\u0947\u0916\u0947\u0902",noThanks:"\u0928\u0939\u0940\u0902, \u0927\u0928\u094D\u092F\u0935\u093E\u0926",balance:"\u0936\u0947\u0937 \u0930\u093E\u0936\u093F",coinUsed:"\u0909\u092A\u092F\u094B\u0917 \u0915\u093F\u092F\u093E \u0917\u092F\u093E Jolicoin",unlockSuccess:"\u0905\u0928\u0932\u0949\u0915 \u0938\u092B\u0932",unlockFailed:"\u0905\u0928\u0932\u0949\u0915 \u0935\u093F\u092B\u0932",unlockFailedNotLogin:"\u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0932\u0949\u0917\u093F\u0928 \u0915\u0930\u0947\u0902",unlockFailedPaying:"\u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u0939\u0932\u0947 \u0938\u0947 \u0939\u0940 \u092A\u094D\u0930\u0917\u0924\u093F \u092A\u0930 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0928 \u0915\u0930\u0947\u0902",unlockFailedProductIdNotFound:"\u0909\u0924\u094D\u092A\u093E\u0926 \u0915\u0940 \u0938\u092E\u092F \u0938\u0940\u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u094B \u0917\u0908 \u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E \u0926\u0942\u0938\u0930\u093E \u0909\u0924\u094D\u092A\u093E\u0926 \u091A\u0941\u0928\u0947\u0902",unlockFailedProductInvalid:"\u0909\u0924\u094D\u092A\u093E\u0926 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0928\u0947 \u092E\u0947\u0902 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902 \u092F\u093E \u0926\u0942\u0938\u0930\u093E \u0909\u0924\u094D\u092A\u093E\u0926 \u091A\u0941\u0928\u0947\u0902",unlockFailedLaunch:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0936\u0941\u0930\u0942 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u091C\u093E \u0938\u0915\u0924\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092C\u093E\u0926 \u092E\u0947\u0902 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",unlockFailedTransaction:"\u092D\u0941\u0917\u0924\u093E\u0928 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",unlockFaileVerify:"\u0911\u0930\u094D\u0921\u0930 \u0938\u0924\u094D\u092F\u093E\u092A\u0928 \u0935\u093F\u092B\u0932\u0964 \u092F\u0926\u093F \u0906\u092A\u0938\u0947 \u0936\u0941\u0932\u094D\u0915 \u0932\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948, \u0924\u094B \u0915\u0943\u092A\u092F\u093E \u0938\u0939\u093E\u092F\u0924\u093E \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902",transactionPending:"\u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u0941\u0937\u094D\u091F\u093F\u0915\u0930\u0923 \u0935\u093F\u092B\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u0938\u0939\u093E\u092F\u0924\u093E \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0947 \u092D\u0941\u0917\u0924\u093E\u0928 \u092A\u094D\u0930\u0926\u093E\u0924\u093E \u0938\u0947 \u0938\u0902\u092A\u0930\u094D\u0915 \u0915\u0930\u0947\u0902"},h2={jolicoin:p2},m2={unlockNeeds:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430",unlockWithJolicoin:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin \u0434\u043B\u044F \u043B\u0443\u0447\u0448\u0435\u0433\u043E \u043E\u043F\u044B\u0442\u0430",unlockWithJolicoinDescription:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435 Jolicoin \u0437\u0430 \u0446\u0438\u0444\u0440\u043E\u0432\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u044B",useJolicoin:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C Jolicoin",payAndUnlock:"\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C \u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C",noWatchAds:"\u041D\u0435\u0442, \u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",noThanks:"\u041D\u0435\u0442, \u0441\u043F\u0430\u0441\u0438\u0431\u043E",balance:"\u0411\u0430\u043B\u0430\u043D\u0441",coinUsed:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E Jolicoin",unlockSuccess:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0443\u0441\u043F\u0435\u0448\u043D\u0430",unlockFailed:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438",unlockFailedNotLogin:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u043E\u0439\u0434\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C",unlockFailedPaying:"\u041E\u043F\u043B\u0430\u0442\u0430 \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043D\u0435 \u043F\u044B\u0442\u0430\u0439\u0442\u0435\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",unlockFailedProductIdNotFound:"\u0421\u0440\u043E\u043A \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u0430 \u0438\u0441\u0442\u0435\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0442\u043E\u0432\u0430\u0440",unlockFailedProductInvalid:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u0442\u043E\u0432\u0430\u0440\u0435. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u0438\u043B\u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0442\u043E\u0432\u0430\u0440",unlockFailedLaunch:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0447\u0430\u0442\u044C \u043E\u043F\u043B\u0430\u0442\u0443. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435",unlockFailedTransaction:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u043F\u043B\u0430\u0442\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443",unlockFaileVerify:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0437\u0430\u043A\u0430\u0437\u0430. \u0415\u0441\u043B\u0438 \u0441 \u0432\u0430\u0441 \u0431\u044B\u043B\u0430 \u0441\u043F\u0438\u0441\u0430\u043D\u0430 \u043F\u043B\u0430\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u0441\u043B\u0443\u0436\u0431\u0443 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",transactionPending:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u043E\u043F\u043B\u0430\u0442\u044B. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0432\u0430\u0448\u0435\u043C\u0443 \u043F\u043B\u0430\u0442\u0435\u0436\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0443 \u0437\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439"},v2={jolicoin:m2},g2={unlockNeeds:"\u0986\u09A8\u09B2\u0995 \u09AA\u09CD\u09B0\u09AF\u09BC\u09CB\u099C\u09A8",unlockWithJolicoin:"\u09AD\u09BE\u09B2 \u0985\u09AD\u09BF\u099C\u09CD\u099E\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",unlockWithJolicoinDescription:"\u09A1\u09BF\u099C\u09BF\u099F\u09BE\u09B2 \u0986\u0987\u099F\u09C7\u09AE\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09B8\u09CD\u09AC\u09AF\u09BC\u0982\u0995\u09CD\u09B0\u09BF\u09AF\u09BC\u09AD\u09BE\u09AC\u09C7 Jolicoin \u0995\u09BE\u099F\u09BE",useJolicoin:"Jolicoin \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C1\u09A8",payAndUnlock:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u098F\u09AC\u0982 \u0986\u09A8\u09B2\u0995",noWatchAds:"\u09A8\u09BE, \u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09C1\u09A8",noThanks:"\u09A8\u09BE, \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6",balance:"\u09AC\u09CD\u09AF\u09BE\u09B2\u09C7\u09A8\u09CD\u09B8",coinUsed:"\u09AC\u09CD\u09AF\u09AC\u09B9\u09C3\u09A4 Jolicoin",unlockSuccess:"\u0986\u09A8\u09B2\u0995 \u09B8\u09AB\u09B2",unlockFailed:"\u0986\u09A8\u09B2\u0995 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5",unlockFailedNotLogin:"\u099A\u09BE\u09B2\u09BF\u09AF\u09BC\u09C7 \u09AF\u09C7\u09A4\u09C7 \u09B2\u0997\u0987\u09A8 \u0995\u09B0\u09C1\u09A8",unlockFailedPaying:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u0987\u09A4\u09BF\u09AE\u09A7\u09CD\u09AF\u09C7 \u099A\u09B2\u099B\u09C7\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE",unlockFailedProductIdNotFound:"\u09AA\u09A3\u09CD\u09AF\u09C7\u09B0 \u09AE\u09C7\u09AF\u09BC\u09BE\u09A6 \u09B6\u09C7\u09B7 \u09B9\u09AF\u09BC\u09C7 \u0997\u09C7\u099B\u09C7\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0985\u09A8\u09CD\u09AF \u09AA\u09A3\u09CD\u09AF \u09AC\u09C7\u099B\u09C7 \u09A8\u09BF\u09A8",unlockFailedProductInvalid:"\u09AA\u09A3\u09CD\u09AF\u09C7\u09B0 \u09A4\u09A5\u09CD\u09AF \u09AA\u09C1\u09A8\u09B0\u09C1\u09A6\u09CD\u09A7\u09BE\u09B0 \u0995\u09B0\u09A4\u09C7 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8 \u09AC\u09BE \u0985\u09A8\u09CD\u09AF \u09AA\u09A3\u09CD\u09AF \u09AC\u09C7\u099B\u09C7 \u09A8\u09BF\u09A8",unlockFailedLaunch:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09A4\u09C7 \u0985\u0995\u09CD\u09B7\u09AE\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09AA\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8",unlockFailedTransaction:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8",unlockFaileVerify:"\u0985\u09B0\u09CD\u09A1\u09BE\u09B0 \u09AF\u09BE\u099A\u09BE\u0987 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u09AF\u09A6\u09BF \u0986\u09AA\u09A8\u09BE\u0995\u09C7 \u099A\u09BE\u09B0\u09CD\u099C \u0995\u09B0\u09BE \u09B9\u09AF\u09BC\u09C7 \u09A5\u09BE\u0995\u09C7, \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09B8\u09B9\u09BE\u09AF\u09BC\u09A4\u09BE\u09B0 \u09B8\u09BE\u09A5\u09C7 \u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8",transactionPending:"\u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4\u0995\u09B0\u09A3 \u09AC\u09CD\u09AF\u09B0\u09CD\u09A5\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09B8\u09B9\u09BE\u09AF\u09BC\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u09C7\u09AE\u09C7\u09A8\u09CD\u099F \u09AA\u09CD\u09B0\u09A6\u09BE\u09A8\u0995\u09BE\u09B0\u09C0\u09B0 \u09B8\u09BE\u09A5\u09C7 \u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8"},y2={jolicoin:g2},_2={unlockNeeds:"Kilidi a\xE7mak gerekli",unlockWithJolicoin:"Daha iyi bir deneyim i\xE7in Jolicoin ile kilidi a\xE7\u0131n",unlockWithJolicoinDescription:"Dijital \xF6\u011Feler i\xE7in otomatik olarak Jolicoin d\xFC\u015F\xFCl\xFCr",useJolicoin:"Jolicoin kullan",payAndUnlock:"\xD6de ve kilidi a\xE7",noWatchAds:"Hay\u0131r, reklamlar\u0131 izle",noThanks:"Hay\u0131r, te\u015Fekk\xFCrler",balance:"Bakiye",coinUsed:"Kullan\u0131lan Jolicoin",unlockSuccess:"Kilidi a\xE7ma ba\u015Far\u0131l\u0131",unlockFailed:"Kilidi a\xE7ma ba\u015Far\u0131s\u0131z",unlockFailedNotLogin:"Devam etmek i\xE7in l\xFCtfen giri\u015F yap\u0131n",unlockFailedPaying:"\xD6deme zaten devam ediyor. L\xFCtfen tekrar denemeyin",unlockFailedProductIdNotFound:"\xDCr\xFCn\xFCn s\xFCresi dolmu\u015F. L\xFCtfen ba\u015Fka bir \xFCr\xFCn se\xE7in",unlockFailedProductInvalid:"\xDCr\xFCn bilgileri al\u0131namad\u0131. L\xFCtfen tekrar deneyin veya ba\u015Fka bir \xFCr\xFCn se\xE7in",unlockFailedLaunch:"\xD6deme ba\u015Flat\u0131lamad\u0131. L\xFCtfen daha sonra tekrar deneyin",unlockFailedTransaction:"\xD6deme ba\u015Far\u0131s\u0131z. L\xFCtfen tekrar deneyin",unlockFaileVerify:"Sipari\u015F do\u011Frulamas\u0131 ba\u015Far\u0131s\u0131z. \xDCcretlendirildiyseniz, l\xFCtfen destek ile ileti\u015Fime ge\xE7in",transactionPending:"\xD6deme onay\u0131 ba\u015Far\u0131s\u0131z. L\xFCtfen destek i\xE7in \xF6deme sa\u011Flay\u0131c\u0131n\u0131zla ileti\u015Fime ge\xE7in"},b2={jolicoin:_2},VE={en:{translations:sE},en_GB:{translations:sE},zh:{translations:lE},"zh-Hans":{translations:lE},"zh-Hant":{translations:l2},id:{translations:cE},in:{translations:cE},ms:{translations:uE},my:{translations:uE},th:{translations:YU},vi:{translations:XU},fil:{translations:dE},tl:{translations:dE},es:{translations:t2},ja:{translations:n2},pt:{translations:fE},pt_PT:{translations:fE},ko:{translations:a2},de:{translations:u2},fr:{translations:f2},hi:{translations:h2},ru:{translations:v2},bn:{translations:y2},tr:{translations:b2}},GE=wr(void 0),WE=({definition:e,children:t})=>{let r={translations:e};return b(GE.Provider,{value:r,children:t})},Xu=null,w2={zh:"zh","zh-CN":"zh","zh-TW":"zh-Hant","zh-Hans":"zh",zh_Hans:"zh","zh-Hant":"zh-Hant",zh_Hant:"zh-Hant",id:"id",in:"id",ms:"ms",my:"ms",th:"th",vi:"vi",fil:"tl",tl:"tl",es:"es",ja:"ja",pt:"pt",pt_PT:"pt","pt-PT":"pt",ko:"ko",de:"de",fr:"fr",hi:"hi",ru:"ru",ar:"ar",tr:"tr"},KE=e=>{Xu=e},YE=()=>{var e;if(typeof Xu!="function")return console.warn("Language handler is not registered or is not a function. Defaulting to 'en'."),"en";try{let t=Xu();return(e=w2[t])!=null?e:"en"}catch(t){return console.error("Error executing registered language handler:",t),"en"}};ka=class{constructor(t,r){this.zIndex=t,this.pointerEvents=r,this.persistentIframe=null,this.iframeEmotionCache=null,this.iframeLoadPromise=null,this.iframeLoadResolver=null,this.removeGlobalTransformSync=null,this.referenceCount=0}create(){typeof window>"u"||this.persistentIframe&&document.body.contains(this.persistentIframe)||(this.persistentIframe=document.createElement("iframe"),this.persistentIframe.style.position="fixed",this.persistentIframe.style.left="0",this.persistentIframe.style.top="0",this.persistentIframe.style.width="100vw",this.persistentIframe.style.height="100vh",this.persistentIframe.style.zIndex=String(this.zIndex),this.persistentIframe.style.pointerEvents=this.pointerEvents,this.persistentIframe.style.border="none",this.persistentIframe.style.background="transparent",this.persistentIframe.setAttribute("allowtransparency","true"),this.persistentIframe.style.display="none",document.body.appendChild(this.persistentIframe),this.iframeLoadPromise=new Promise(t=>{this.iframeLoadResolver=t}),this.persistentIframe.onload=()=>{var r,n,i;if(!((n=(r=this.persistentIframe)==null?void 0:r.contentDocument)!=null&&n.head)){console.error("[SingletonIframe] Iframe loaded, but document or head is not available.");return}console.log("[SingletonIframe] Iframe content loaded."),this.iframeEmotionCache=jE({key:"iframe-css",container:this.persistentIframe.contentDocument.head,prepend:!0}),this.removeGlobalTransformSync&&this.removeGlobalTransformSync(),this.removeGlobalTransformSync=E2(this.persistentIframe);let t=this.persistentIframe.contentDocument;t&&["--status-bar-height","--navigation-bar-height"].forEach(o=>{let a=document.documentElement.style.getPropertyValue(o);a&&t.body.style.setProperty(o,a)}),(i=this.iframeLoadResolver)==null||i.call(this),this.iframeLoadResolver=null},this.persistentIframe.onerror=()=>{console.error("[SingletonIframe] Iframe failed to load.")},this.persistentIframe.src="about:blank")}acquire(){return I(this,null,function*(){if(this.create(),yield this.iframeLoadPromise,!this.persistentIframe||!this.iframeEmotionCache)throw new Error("[SingletonIframe] Iframe or cache not available after load.");return this.referenceCount++,this.persistentIframe.style.display==="none"&&(QE(this.persistentIframe),this.persistentIframe.style.display="block"),{iframe:this.persistentIframe,emotionCache:this.iframeEmotionCache}})}release(){this.referenceCount--,this.referenceCount<=0&&(this.referenceCount=0,this.persistentIframe&&(this.persistentIframe.style.display="none"))}},xi=new ka(99999998,"auto"),pE=new ka(99999999,"none"),x2=({title:e,content:t,noHeader:r,height:n,padding:i="16px",footerButtons:o,onClose:a})=>{let s=qi(),l={container:N`
63
63
  display: flex;
64
64
  flex-direction: column;
65
65
  height: 100%;
@@ -96,7 +96,7 @@ If multiple caches share the same key they might "fight" for each other's style
96
96
  ${l.button}
97
97
  background-color: ${c.variant==="primary"?"#1677ff":"#fff"};
98
98
  color: ${c.variant==="primary"?"#fff":"#333"};
99
- `.name,onClick:u=>{var p;return(p=c.onClick)==null?void 0:p.call(c,u,{hide:a})},children:c.text},d))})]})},gd=e=>{let t=!1,r=YE(),n=VE[r].translations,i=`drawer-container-${Math.random().toString(36).slice(2,10)}`,o=null,a=null,s=null;function l(p){if(!o||!a){console.error("[Modal] Iframe or emotion cache not ready for rendering Drawer.");return}s=o.contentDocument.getElementById(i),s||(s=o.contentDocument.createElement("div"),s.id=i,o.contentDocument.body.appendChild(s)),tr(b(HE,{value:a,children:b(WE,{definition:n,children:b(zU,{ref:f=>{},isOpen:p,onClose:c,backdropColor:e.backdropColor,children:b(S2,L(P({},e),{onClose:u}))})})}),s)}function c(){var p,f;if(t){if(t=!1,o==null?void 0:o.contentDocument){let m=o.contentDocument.getElementById(i);m&&((p=m.parentNode)==null||p.removeChild(m))}xi.release(),(f=e.onClose)==null||f.call(e)}}function d(){return I(this,null,function*(){let p=yield xi.acquire();o=p.iframe,a=p.emotionCache,t=!0,l(!0),setTimeout(()=>{var f;(f=e.onOpen)==null||f.call(e)},50)})}function u(){t&&l(!1)}return{show:()=>{t||d()},hide:()=>{t&&u()},isOpen:()=>t,destroy:()=>{t&&u(),o=null,a=null,s=null,console.log("[Modal] Instance destroyed.")}}},A2=(e,t={threshold:.6})=>{let r=Rr(null),n=Rr(!1),i=ot(o=>{let[a]=o;a.isIntersecting&&!n.current?(n.current=!0,e()):a.isIntersecting||(n.current=!1)},[e]);return Cr(()=>{if(r.current){let o=new IntersectionObserver(i,t);return o.observe(r.current),()=>{r.current&&o.unobserve(r.current)}}},[i,t]),r};XE=o=>{var a=o,{children:e,fluid:t=!1,className:r="",style:n={}}=a,i=gt(a,["children","fluid","className","style"]);let s=P({width:"100%",marginLeft:"auto",marginRight:"auto",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box",maxWidth:t?"100%":void 0},n);return b("div",L(P({className:r,style:s},i),{children:e}))},ZE=s=>{var l=s,{children:e,gutter:t=0,justify:r="start",align:n="top",className:i="",style:o={}}=l,a=gt(l,["children","gutter","justify","align","className","style"]);let c={start:"flex-start",end:"flex-end",center:"center","space-around":"space-around","space-between":"space-between"},d={top:"flex-start",middle:"center",bottom:"flex-end"},u=P({display:"flex",flexWrap:"wrap",boxSizing:"border-box",justifyContent:c[r],alignItems:d[n]},o);if(t){let f=Array.isArray(t)?t[0]:t,m=Array.isArray(t)?t[1]:0;f>0&&(u.marginLeft=`-${f/2}px`,u.marginRight=`-${f/2}px`),m>0&&(u.marginTop=`-${m/2}px`,u.marginBottom=`-${m/2}px`)}let p=t?T2(e,t):e;return b("div",L(P({className:i,style:u},a),{children:p}))};ex=u=>{var p=u,{children:e,span:t,offset:r,xs:n,sm:i,md:o,lg:a,xl:s,className:l="",style:c={}}=p,d=gt(p,["children","span","offset","xs","sm","md","lg","xl","className","style"]);let f=P({position:"relative",width:"100%",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box"},c);if(t!==void 0){let m=t/24*100;f.flex=`0 0 ${m}%`,f.maxWidth=`${m}%`}return r!==void 0&&(f.marginLeft=`${r/24*100}%`),b("div",L(P({className:l,style:f},d),{children:e}))},P2=({game:e,layerName:t,orientation:r,routeMode:n,onGameClick:i})=>{var s,l;let o=Qr(c=>{c.preventDefault(),i==null||i(e)},[i,e]),a=Qr(()=>{},[e,t]);return b(ex,{span:r==="landscape"?4:8,className:"relative px-[4px] box-border mb-[8px]",style:{marginBottom:r==="landscape"?"8px":"16px",paddingLeft:"8px",paddingRight:"8px"},onClick:o,role:"button",tabIndex:0,onTouchEnd:o,children:[b("div",{className:"relative w-full mb-[2px] ion-no-margin",children:b(k2,{src:(l=(s=e.logo)!=null?s:e.cover)!=null?l:"",className:"w-full h-full absolute top-0 left-0 aspect-square rounded-[8px] object-cover",style:{display:"block",objectFit:"cover"},handleExposure:a})}),b("div",{className:"block text-white max-w-full text-[15px] leading-[1.2] overflow-hidden whitespace-nowrap text-ellipsis font-normal break-words",style:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-word",color:"white",maxWidth:"100%",fontSize:r==="landscape"?"13px":"15px",lineHeight:1.2,fontWeight:"normal",marginTop:"6px",fontFamily:"PingFangSC-Regular"},children:e.name})]},e.gameId)},C2=a=>{var s=a,{list:e,routeMode:t,layerName:r,onGameClick:n,orientation:i}=s,o=gt(s,["list","routeMode","layerName","onGameClick","orientation"]);return b(XE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{maxWidth:i==="landscape"?"100%":"440px",minHeight:"1px"},children:b(ZE,{gutter:8,style:{display:"flex",flexWrap:i==="landscape"?"nowrap":"wrap",overflowX:i==="landscape"?"auto":"visible",paddingBottom:i==="landscape"?"10px":"0",justifyContent:i==="landscape"?"flex-start":"center"},children:e==null?void 0:e.map(l=>b(P2,{orientation:i,game:l,routeMode:t,layerName:r,onGameClick:n},l.gameId))})})},R2=Rc(C2),Zu=(e=>(e.Dismiss="DISMISS",e.Quit="QUIT",e))(Zu||{}),O2=e=>{let{games:t,title:r,buttons:n,onClose:i}=e,[o,a]=ft(null),s=ot(u=>{i==null||i({type:u.type===Zu.Quit?"quit":"dismiss"})},[i]),l=ot(u=>{i==null||i({type:"navigate",data:{game:u}})},[i]),c=Li();if(!t.length)return b(Ye,{});let d=ot(u=>{if(u!==null&&!u.shadowRoot){let p=u.attachShadow({mode:"open"}),f=document.createElement("style");f.textContent=`
99
+ `.name,onClick:u=>{var p;return(p=c.onClick)==null?void 0:p.call(c,u,{hide:a})},children:c.text},d))})]})},vd=e=>{let t=!1,r=YE(),n=VE[r].translations,i=`drawer-container-${Math.random().toString(36).slice(2,10)}`,o=null,a=null,s=null;function l(p){if(!o||!a){console.error("[Modal] Iframe or emotion cache not ready for rendering Drawer.");return}s=o.contentDocument.getElementById(i),s||(s=o.contentDocument.createElement("div"),s.id=i,o.contentDocument.body.appendChild(s)),tr(b(HE,{value:a,children:b(WE,{definition:n,children:b(HU,{ref:f=>{},isOpen:p,onClose:c,backdropColor:e.backdropColor,children:b(x2,L(P({},e),{onClose:u}))})})}),s)}function c(){var p,f;if(t){if(t=!1,o==null?void 0:o.contentDocument){let m=o.contentDocument.getElementById(i);m&&((p=m.parentNode)==null||p.removeChild(m))}xi.release(),(f=e.onClose)==null||f.call(e)}}function d(){return I(this,null,function*(){let p=yield xi.acquire();o=p.iframe,a=p.emotionCache,t=!0,l(!0),setTimeout(()=>{var f;(f=e.onOpen)==null||f.call(e)},50)})}function u(){t&&l(!1)}return{show:()=>{t||d()},hide:()=>{t&&u()},isOpen:()=>t,destroy:()=>{t&&u(),o=null,a=null,s=null,console.log("[Modal] Instance destroyed.")}}},S2=(e,t={threshold:.6})=>{let r=Ei(null),n=Ei(!1),i=ot(o=>{let[a]=o;a.isIntersecting&&!n.current?(n.current=!0,e()):a.isIntersecting||(n.current=!1)},[e]);return Cr(()=>{if(r.current){let o=new IntersectionObserver(i,t);return o.observe(r.current),()=>{r.current&&o.unobserve(r.current)}}},[i,t]),r};XE=o=>{var a=o,{children:e,fluid:t=!1,className:r="",style:n={}}=a,i=vt(a,["children","fluid","className","style"]);let s=P({width:"100%",marginLeft:"auto",marginRight:"auto",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box",maxWidth:t?"100%":void 0},n);return b("div",L(P({className:r,style:s},i),{children:e}))},ZE=s=>{var l=s,{children:e,gutter:t=0,justify:r="start",align:n="top",className:i="",style:o={}}=l,a=vt(l,["children","gutter","justify","align","className","style"]);let c={start:"flex-start",end:"flex-end",center:"center","space-around":"space-around","space-between":"space-between"},d={top:"flex-start",middle:"center",bottom:"flex-end"},u=P({display:"flex",flexWrap:"wrap",boxSizing:"border-box",justifyContent:c[r],alignItems:d[n]},o);if(t){let f=Array.isArray(t)?t[0]:t,m=Array.isArray(t)?t[1]:0;f>0&&(u.marginLeft=`-${f/2}px`,u.marginRight=`-${f/2}px`),m>0&&(u.marginTop=`-${m/2}px`,u.marginBottom=`-${m/2}px`)}let p=t?k2(e,t):e;return b("div",L(P({className:i,style:u},a),{children:p}))};ex=u=>{var p=u,{children:e,span:t,offset:r,xs:n,sm:i,md:o,lg:a,xl:s,className:l="",style:c={}}=p,d=vt(p,["children","span","offset","xs","sm","md","lg","xl","className","style"]);let f=P({position:"relative",width:"100%",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box"},c);if(t!==void 0){let m=t/24*100;f.flex=`0 0 ${m}%`,f.maxWidth=`${m}%`}return r!==void 0&&(f.marginLeft=`${r/24*100}%`),b("div",L(P({className:l,style:f},d),{children:e}))},T2=({game:e,layerName:t,orientation:r,routeMode:n,onGameClick:i})=>{var s,l;let o=Kr(c=>{c.preventDefault(),i==null||i(e)},[i,e]),a=Kr(()=>{},[e,t]);return b(ex,{span:r==="landscape"?4:8,className:"relative px-[4px] box-border mb-[8px]",style:{marginBottom:r==="landscape"?"8px":"16px",paddingLeft:"8px",paddingRight:"8px"},onClick:o,role:"button",tabIndex:0,onTouchEnd:o,children:[b("div",{className:"relative w-full mb-[2px] ion-no-margin",children:b(A2,{src:(l=(s=e.logo)!=null?s:e.cover)!=null?l:"",className:"w-full h-full absolute top-0 left-0 aspect-square rounded-[8px] object-cover",style:{display:"block",objectFit:"cover"},handleExposure:a})}),b("div",{className:"block text-white max-w-full text-[15px] leading-[1.2] overflow-hidden whitespace-nowrap text-ellipsis font-normal break-words",style:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"break-word",color:"white",maxWidth:"100%",fontSize:r==="landscape"?"13px":"15px",lineHeight:1.2,fontWeight:"normal",marginTop:"6px",fontFamily:"PingFangSC-Regular"},children:e.name})]},e.gameId)},P2=a=>{var s=a,{list:e,routeMode:t,layerName:r,onGameClick:n,orientation:i}=s,o=vt(s,["list","routeMode","layerName","onGameClick","orientation"]);return b(XE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{maxWidth:i==="landscape"?"100%":"440px",minHeight:"1px"},children:b(ZE,{gutter:8,style:{display:"flex",flexWrap:i==="landscape"?"nowrap":"wrap",overflowX:i==="landscape"?"auto":"visible",paddingBottom:i==="landscape"?"10px":"0",justifyContent:i==="landscape"?"flex-start":"center"},children:e==null?void 0:e.map(l=>b(T2,{orientation:i,game:l,routeMode:t,layerName:r,onGameClick:n},l.gameId))})})},C2=Rc(P2),Zu=(e=>(e.Dismiss="DISMISS",e.Quit="QUIT",e))(Zu||{}),R2=e=>{let{games:t,title:r,buttons:n,onClose:i}=e,[o,a]=Tt(null),s=ot(u=>{i==null||i({type:u.type===Zu.Quit?"quit":"dismiss"})},[i]),l=ot(u=>{i==null||i({type:"navigate",data:{game:u}})},[i]),c=qi();if(!t.length)return b(Ye,{});let d=ot(u=>{if(u!==null&&!u.shadowRoot){let p=u.attachShadow({mode:"open"}),f=document.createElement("style");f.textContent=`
100
100
  .recommend-panel {
101
101
  display: flex;
102
102
  flex-direction: column;
@@ -218,10 +218,9 @@ If multiple caches share the same key they might "fight" for each other's style
218
218
  background-color: #7817FF;
219
219
  color: #fff;
220
220
  }
221
- `;let m=document.createElement("div");m.id="recommend-panel-content",p.appendChild(f),p.appendChild(m),a(p)}},[]);return Cr(()=>{if(o){let u=o.getElementById("recommend-panel-content");u&&tr(b("div",{className:"recommend-panel",children:b("div",{className:"container",children:[b("p",{className:"title",children:r}),b("div",{className:"games-container",children:b(R2,{list:t||[],routeMode:"REDIRECT",layerName:"RecommendedGuide",onGameClick:l,orientation:c})}),b("div",{className:"buttons-container",children:(n!=null?n:[]).map((p,f)=>b("div",{className:"button-wrapper",children:b("button",{className:`button ${p.type===Zu.Quit?"quit-button":"action-button"}`,onClick:()=>s(p),children:b("span",{className:"button-text-ellipsis",children:p.text})})},f))})]})}),u)}},[o,t,r,n,s,l]),b("div",{ref:d})},tx=e=>{let t=gd({title:e.title,content:b(O2,{games:e.games,title:e.title,buttons:e.buttons,onClose:e.onClose}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"450px",onClose:()=>{var r;(r=e.onClose)==null||r.call(e,{type:"back"})},onOpen:e.onOpen});return t.show(),t},dn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUNSURBVHgBfVRZbFRlFP7+e+/cmc5MO22ntGALLZUWhoZFqBgaNUYJMUYehBgwJLw0wRd9MJr4AokvJibG6JtLoompkhgNBoNbERQqVEQLtdu0dN9nptPOcvft98xU3Kje5Cb3vzn/d77zfeccYO1HaG9vr0xlZz+ZvZXJ955TeO8XKh+5oPPRzrR29Uz8fbwCoRC31mW2FuB8PD3HRH/N2Od5NnDLQlmlH9x1sZhU4CvT0XpfEyyf4/GqTOqRp+tr6Y77X6BsfHz8QHip5ht3SBDKDwiYHbQQLpOQHxfBZA5XNFBRK8BeAT58bxg1tTvRtMPlXek32k69fOqnu0B7+3sfb9m+7bx+1hOVqAl3yYcQcei6MIW6xghEDvR0p7Dl3iiEsAxFtTD0M0PN1nUQxGXPt6N7z+HDh3v/DirM3VBc55KDymN+5PtcDAzE8djx3XCzXlE4z2LwvMILXO25DTvZBCE4jdR4GOLmEASW4kdfbBAplBdAhZFLWmLg41TVpr0yMotBhFsW0bprM7jDiyG8AOYUkAFSsnieT2ZIZwm2yjCbTmDDjgYEfcmRpoc3biu6l9fNyn2H6jC27IfujGJPbDOSoyZuXluEp5KGGgETU9ddBeREtyZajuu/TkLnLuoq6sCSDi686TbvPblXYjMzM+96c5UnHVPAwqCKfY9WgOc8pKYNhJqDEKW/1P/t8gx2xkhoKoARHRYETGaB2wJk2YNBMSNfxl+XskOR45lrHkp2SwhIGsxUhKI5bINDDgGDXy9CEFYZlkBG3/AcYg21xSSFfKGN1BkhAT7dh2Alw9Jk2QnJy/lDuXwWK/E8ttaFYemFeBGGSZnzHpqbN8AwXALlxI6kiLq48tU09u/ftCrFBCWv4bDggAUEuitVS4oKqNxACQsjq5oIqqVgzINJcuiaAEnhxUScSvZJDEYYUHQLhu5B9gRqJwZlhr6DHD5iHAoxJhTa5PbCFKrqXSTTBlRFgKLQiJDTjEpU6VujxJrGoVGCPJ0tGzDIQEsDsgs2cssckiPDyJFptUEIkai+MpdLY2XGT2DlyOXpIhnlwY9vO4Yhl7sINJqQa03och66IlEXEGPLo0TUOUmRxPJhflQl5jI+PZ9YYmN9I+8MXYk8m56S4VAvVkU8lAZLCwZT03P0x+NY11QB26YhIOrD8TEcanuoOAQyja2VJMbkvEjv8KSB7qvZV9nBgwdDR9o+U3p+nMATR6sR7wqhdbefSmZ/DpxEujHGV0eP9BbpHPSTniRVzpeCoMtY5AHc6Erwt75rEIXOzk7t0Ak+8dSx9ei+GMa2+1V0/7JEa0eH4VAHkLia5cIkpjZVYpMHkuRBT3m4nUlDTwcQ8PlQKjmIrlevFxMXZvWexsiWvFXGo5V9uPy9g/rmABYWJCgJEs01yWEKpHaSRAvqgo7pcR0TpgJTlxCRAmAxGRNZlZ/+qOXBAt6dJetVxfr2BNe1eEeeCSE1S5O0IYNl0tRwbFgKga3k4IvYsAMGFnUBAY+qipZAaKUBcDRvaPDMxjt79R9LuqPj7K6y/JM3t8dclpnIwsuEyXWvKENqDAhUu3Amy4uxWTuLTW1+XP9B8+T6K43PvXRkCv+z+cXBc4nemepALBD2CzHLQSBMeiYljI66uNjnoIbkMSYs9M+b/W93VO9EcRusvfnv+p9L5V6Dydt7LktRTSFzdMFzBCWRdCc/eP6FB07/Ecv/ffl3auuKkJv2jm0AAAAASUVORK5CYII=";Fa=()=>{let e=Lj(GE);if(!e)throw new Error("useTranslations must be used within a LightIntlProvider");let{translations:t}=e;return{t:(r,n)=>{let i=N2(t,r);if(typeof i=="string"){let o=i;if(n)for(let a in n)o=o.replace(new RegExp(`{{${a}}}`,"g"),String(n[a]));return o}return console.warn(`Translation key "${r}" not found or not a string.`),`[${r}]`},translations:t}},mE=({text:e,initialFontSize:t,minFontSize:r=8,maxWidthPx:n,styles:i})=>{let[o,a]=ft(t),s=Rr(null),l=Rr(null);return qj(()=>{let c=s.current,d=l.current;if(!c||!d)return;n&&n>0?c.style.maxWidth=`${n}px`:c.style.maxWidth="";let u=t;c.style.fontSize=`${u}px`;let p=requestAnimationFrame(()=>{if(d.clientWidth>0)for(;c.scrollWidth>d.clientWidth&&u>r;)u-=1,c.style.fontSize=`${u}px`;a(u)});return()=>cancelAnimationFrame(p)},[e,t,r,n]),b("span",{ref:l,style:i,children:b("span",{ref:s,style:{fontSize:`${o}px`,display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"middle",maxWidth:"100%"},children:e})})},Jt={coinInfo:N`
221
+ `;let m=document.createElement("div");m.id="recommend-panel-content",p.appendChild(f),p.appendChild(m),a(p)}},[]);return Cr(()=>{if(o){let u=o.getElementById("recommend-panel-content");u&&tr(b("div",{className:"recommend-panel",children:b("div",{className:"container",children:[b("p",{className:"title",children:r}),b("div",{className:"games-container",children:b(C2,{list:t||[],routeMode:"REDIRECT",layerName:"RecommendedGuide",onGameClick:l,orientation:c})}),b("div",{className:"buttons-container",children:(n!=null?n:[]).map((p,f)=>b("div",{className:"button-wrapper",children:b("button",{className:`button ${p.type===Zu.Quit?"quit-button":"action-button"}`,onClick:()=>s(p),children:b("span",{className:"button-text-ellipsis",children:p.text})})},f))})]})}),u)}},[o,t,r,n,s,l]),b("div",{ref:d})},tx=e=>{let t=vd({title:e.title,content:b(R2,{games:e.games,title:e.title,buttons:e.buttons,onClose:e.onClose}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"450px",onClose:()=>{var r;(r=e.onClose)==null||r.call(e,{type:"back"})},onOpen:e.onOpen});return t.show(),t},un="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUNSURBVHgBfVRZbFRlFP7+e+/cmc5MO22ntGALLZUWhoZFqBgaNUYJMUYehBgwJLw0wRd9MJr4AokvJibG6JtLoompkhgNBoNbERQqVEQLtdu0dN9nptPOcvft98xU3Kje5Cb3vzn/d77zfeccYO1HaG9vr0xlZz+ZvZXJ955TeO8XKh+5oPPRzrR29Uz8fbwCoRC31mW2FuB8PD3HRH/N2Od5NnDLQlmlH9x1sZhU4CvT0XpfEyyf4/GqTOqRp+tr6Y77X6BsfHz8QHip5ht3SBDKDwiYHbQQLpOQHxfBZA5XNFBRK8BeAT58bxg1tTvRtMPlXek32k69fOqnu0B7+3sfb9m+7bx+1hOVqAl3yYcQcei6MIW6xghEDvR0p7Dl3iiEsAxFtTD0M0PN1nUQxGXPt6N7z+HDh3v/DirM3VBc55KDymN+5PtcDAzE8djx3XCzXlE4z2LwvMILXO25DTvZBCE4jdR4GOLmEASW4kdfbBAplBdAhZFLWmLg41TVpr0yMotBhFsW0bprM7jDiyG8AOYUkAFSsnieT2ZIZwm2yjCbTmDDjgYEfcmRpoc3biu6l9fNyn2H6jC27IfujGJPbDOSoyZuXluEp5KGGgETU9ddBeREtyZajuu/TkLnLuoq6sCSDi686TbvPblXYjMzM+96c5UnHVPAwqCKfY9WgOc8pKYNhJqDEKW/1P/t8gx2xkhoKoARHRYETGaB2wJk2YNBMSNfxl+XskOR45lrHkp2SwhIGsxUhKI5bINDDgGDXy9CEFYZlkBG3/AcYg21xSSFfKGN1BkhAT7dh2Alw9Jk2QnJy/lDuXwWK/E8ttaFYemFeBGGSZnzHpqbN8AwXALlxI6kiLq48tU09u/ftCrFBCWv4bDggAUEuitVS4oKqNxACQsjq5oIqqVgzINJcuiaAEnhxUScSvZJDEYYUHQLhu5B9gRqJwZlhr6DHD5iHAoxJhTa5PbCFKrqXSTTBlRFgKLQiJDTjEpU6VujxJrGoVGCPJ0tGzDIQEsDsgs2cssckiPDyJFptUEIkai+MpdLY2XGT2DlyOXpIhnlwY9vO4Yhl7sINJqQa03och66IlEXEGPLo0TUOUmRxPJhflQl5jI+PZ9YYmN9I+8MXYk8m56S4VAvVkU8lAZLCwZT03P0x+NY11QB26YhIOrD8TEcanuoOAQyja2VJMbkvEjv8KSB7qvZV9nBgwdDR9o+U3p+nMATR6sR7wqhdbefSmZ/DpxEujHGV0eP9BbpHPSTniRVzpeCoMtY5AHc6Erwt75rEIXOzk7t0Ak+8dSx9ei+GMa2+1V0/7JEa0eH4VAHkLia5cIkpjZVYpMHkuRBT3m4nUlDTwcQ8PlQKjmIrlevFxMXZvWexsiWvFXGo5V9uPy9g/rmABYWJCgJEs01yWEKpHaSRAvqgo7pcR0TpgJTlxCRAmAxGRNZlZ/+qOXBAt6dJetVxfr2BNe1eEeeCSE1S5O0IYNl0tRwbFgKga3k4IvYsAMGFnUBAY+qipZAaKUBcDRvaPDMxjt79R9LuqPj7K6y/JM3t8dclpnIwsuEyXWvKENqDAhUu3Amy4uxWTuLTW1+XP9B8+T6K43PvXRkCv+z+cXBc4nemepALBD2CzHLQSBMeiYljI66uNjnoIbkMSYs9M+b/W93VO9EcRusvfnv+p9L5V6Dydt7LktRTSFzdMFzBCWRdCc/eP6FB07/Ecv/ffl3auuKkJv2jm0AAAAASUVORK5CYII=";Fa=()=>{let e=qj(GE);if(!e)throw new Error("useTranslations must be used within a LightIntlProvider");let{translations:t}=e;return{t:(r,n)=>{let i=O2(t,r);if(typeof i=="string"){let o=i;if(n)for(let a in n)o=o.replace(new RegExp(`{{${a}}}`,"g"),String(n[a]));return o}return console.warn(`Translation key "${r}" not found or not a string.`),`[${r}]`},translations:t}},hE=({text:e,initialFontSize:t,styles:r})=>b("span",{style:r,children:b("span",{style:{fontSize:`${t}px`,display:"-webkit-box",textAlign:"left",WebkitBoxOrient:"vertical",WebkitLineClamp:2,width:"auto",whiteSpace:"normal",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},children:e})}),Jt={coinInfo:N`
222
222
  display: flex;
223
- gap: 24px;
224
- width: 100%;
223
+ width: calc(100% - 40px);
225
224
  max-width: 720px;
226
225
  justify-content: space-between;
227
226
  `,coinAmount:N`
@@ -231,6 +230,14 @@ If multiple caches share the same key they might "fight" for each other's style
231
230
  align-items: center;
232
231
  flex: 1;
233
232
  min-width: 0;
233
+ `,coinAmountBalance:N`
234
+ display: flex;
235
+ flex-direction: row;
236
+ gap: 4px;
237
+ align-items: center;
238
+ justify-content: flex-end;
239
+ flex: 1;
240
+ min-width: 0;
234
241
  `,coinLabelContainer:N`
235
242
  font-weight: 700;
236
243
  text-align: center;
@@ -248,7 +255,18 @@ If multiple caches share the same key they might "fight" for each other's style
248
255
  `,coinIcon:N`
249
256
  width: 16px;
250
257
  height: 16px;
251
- `},rx=({unlockNeedsAmount:e=0,balanceAmount:t=0,coinImage:r=dn,formatter:n=a=>a>999?`${a}+`:`${a}`,hideNeeds:i=!1,hideBalance:o=!1})=>{let a=n(t),{t:s}=Fa(),l=13;return b("div",{style:Jt.coinInfo.styles,children:[!i&&b("div",{style:Jt.coinAmount.styles,children:[b(mE,{text:s("jolicoin.unlockNeeds"),initialFontSize:l,minFontSize:8,styles:Jt.coinLabelContainer.styles,maxWidthPx:140}),b("div",{style:Jt.coinValue.styles,children:[b("img",{src:r,alt:"Jolicoin",style:Jt.coinIcon.styles}),b("span",{children:e})]})]}),!o&&b("div",{style:Jt.coinAmount.styles,children:[b(mE,{text:s("jolicoin.balance"),initialFontSize:l,minFontSize:8,styles:Jt.coinLabelContainer.styles,maxWidthPx:140}),b("div",{style:Jt.coinValue.styles,children:[b("img",{src:r,alt:"Jolicoin",style:Jt.coinIcon.styles}),b("span",{children:a})]})]})]})},nn={card:N`
258
+ `,autoExpandLabel:N`
259
+ font-weight: 700;
260
+ text-align: center;
261
+ flex-shrink: 1;
262
+ flex-grow: 0;
263
+ min-width: 30px;
264
+ overflow: hidden;
265
+ width: auto;
266
+ max-width: 70vw;
267
+ display: inline-block;
268
+ vertical-align: middle;
269
+ `},rx=({unlockNeedsAmount:e=0,balanceAmount:t=0,coinImage:r=un,formatter:n=a=>a>999?"999+":`${a}`,hideNeeds:i=!1,hideBalance:o=!1})=>{let a=n(t),{t:s}=Fa(),l=13;return b("div",{style:Jt.coinInfo.styles,children:[!i&&b("div",{style:Jt.coinAmount.styles,children:[b(hE,{text:s("jolicoin.unlockNeeds"),initialFontSize:l,styles:Jt.coinLabelContainer.styles}),b("div",{style:Jt.coinValue.styles,children:[b("img",{src:r,alt:"Jolicoin",style:Jt.coinIcon.styles}),b("span",{children:e})]})]}),!o&&b("div",{style:Jt.coinAmountBalance.styles,children:[b(hE,{text:s("jolicoin.balance"),initialFontSize:l,styles:Jt.coinLabelContainer.styles}),b("div",{style:Jt.coinValue.styles,children:[b("img",{src:r,alt:"Jolicoin",style:Jt.coinIcon.styles}),b("span",{children:a})]})]})]})},tn={card:N`
252
270
  display: flex;
253
271
  flex-direction: column;
254
272
  align-items: center;
@@ -273,26 +291,26 @@ If multiple caches share the same key they might "fight" for each other's style
273
291
  height: 21px;
274
292
  margin-right: 4px;
275
293
  `,coinValue:N`
276
- font-size: 24px;
294
+ font-size: 20px;
277
295
  font-weight: bold;
278
296
  color: white;
279
297
  `,price:N`
280
298
  font-size: 16px;
281
299
  color: #a88aff;
282
300
  font-weight: bold;
283
- `},D2=N`
301
+ `},N2=N`
284
302
  padding: 5px;
285
303
  box-sizing: border-box;
286
304
  height: 100%;
287
305
  width: 100%;
288
- `,q2=N`
306
+ `,D2=N`
289
307
  aspect-ratio: 1/1.1; // 强制 1:1 的宽高比
290
308
  height: 100%;
291
309
  display: flex;
292
310
  flex-direction: column;
293
311
  justify-content: center;
294
312
  -webkit-tap-highlight-color: transparent;
295
- `,L2=e=>b("div",{style:D2.styles,children:b("div",{style:q2.styles,children:b("div",{style:`${nn.card.styles} ${e.option.id===e.selectedId?nn.selectedCard.styles:""}`,onClick:()=>e.handleSelect(e.option),children:[b("div",{style:nn.coinContainer.styles,children:[b("img",{src:dn,alt:"Coin",style:nn.coinIcon.styles}),b("span",{style:nn.coinValue.styles,children:e.option.coins})]}),b("div",{style:nn.price.styles,children:e.option.price})]})})}),F2=({options:e,defaultSelectedId:t,onSelect:r})=>{let[n,i]=ft(t!=null?t:""),o=Li(),a=s=>{i(s.id),r==null||r(s)};return b(XE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{padding:"0px"},children:b(ZE,{gutter:[10,10],style:{display:"flex","flex-wrap":"wrap"},children:e.map(s=>b(ex,{span:o==="landscape"?4:8,children:b(L2,{option:s,selectedId:n,coinImageSrc:dn,handleSelect:a})},s.id))})})},M2=Rc(F2);ma={toggleSwitch:N`
313
+ `,q2=e=>b("div",{style:N2.styles,children:b("div",{style:D2.styles,children:b("div",{style:`${tn.card.styles} ${e.option.id===e.selectedId?tn.selectedCard.styles:""}`,onClick:()=>e.handleSelect(e.option),children:[b("div",{style:tn.coinContainer.styles,children:[b("img",{src:un,alt:"Coin",style:tn.coinIcon.styles}),b("span",{style:tn.coinValue.styles,children:e.option.coins.toLocaleString()})]}),b("div",{style:tn.price.styles,children:e.option.price})]})})}),L2=({options:e,defaultSelectedId:t,onSelect:r})=>{let[n,i]=Tt(t!=null?t:""),o=qi(),a=s=>{i(s.id),r==null||r(s)};return b(XE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{padding:"0px"},children:b(ZE,{gutter:[10,10],style:{display:"flex","flex-wrap":"wrap"},children:e.map(s=>b(ex,{span:o==="landscape"?4:8,children:b(q2,{option:s,selectedId:n,coinImageSrc:un,handleSelect:a})},s.id))})})},F2=Rc(L2);ha={toggleSwitch:N`
296
314
  position: relative;
297
315
  display: inline-block;
298
316
  width: 33px;
@@ -329,7 +347,7 @@ If multiple caches share the same key they might "fight" for each other's style
329
347
  &:before {
330
348
  transform: translateX(18px);
331
349
  }
332
- `},nx=({enableAutoDeduct:e,toggleEnableAutoDeduct:t})=>j2("label",{css:ma.toggleSwitch,children:[vE("input",{css:ma.toggleInput,type:"checkbox",checked:e,onChange:t}),vE("span",{css:[ma.toggleSlider,e&&ma.toggleSliderActive]})]}),ue={modal:N`
350
+ `},nx=({enableAutoDeduct:e,toggleEnableAutoDeduct:t})=>M2("label",{css:ha.toggleSwitch,children:[mE("input",{css:ha.toggleInput,type:"checkbox",checked:e,onChange:t}),mE("span",{css:[ha.toggleSlider,e&&ha.toggleSliderActive]})]}),ue={modal:N`
333
351
  font-family: PingFangSC-Regular;
334
352
  background-color: #1a1a1a;
335
353
  color: white;
@@ -409,17 +427,17 @@ If multiple caches share the same key they might "fight" for each other's style
409
427
  background-color: rgba(255, 255, 255, 0.3);
410
428
  border-radius: 2px;
411
429
  margin: 0 auto;
412
- `},U2=({unlockNeedsAmount:e=10,balanceAmount:t=999,defaultEnableAutoDeduct:r=!1,onConfirm:n,onClose:i,onEnableDeductChanged:o,confirmButtonKey:a,cancelButtonKey:s})=>{let[l,c]=ft(r),d=Li(),{t:u}=Fa(),p=()=>{n(l)},f=ot(()=>{c(!l),o(!l)},[l]);return b("div",{style:`${ue.modal.styles} ${d==="portrait"?"max-width: 440px":"max-width: 75%"}`,children:[b("div",{style:ue.header.styles,children:[b(rx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:dn}),b("button",{style:ue.closeButton.styles,onClick:i.bind(null,{type:"CANCEL"}),children:b("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M18 6L6 18M6 6L18 18",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),b("div",{style:ue.content.styles,children:[b("h2",{style:ue.title.styles,children:u("jolicoin.unlockWithJolicoin")}),!r&&b("div",{style:ue.autoDeductOption.styles,children:[b("span",{style:N`
430
+ `},j2=({unlockNeedsAmount:e=10,balanceAmount:t=999,defaultEnableAutoDeduct:r=!1,onConfirm:n,onClose:i,onEnableDeductChanged:o,confirmButtonKey:a,cancelButtonKey:s})=>{let[l,c]=Tt(r),d=qi(),{t:u}=Fa(),p=()=>{n(l)},f=ot(()=>{c(!l),o(!l)},[l]);return b("div",{style:`${ue.modal.styles} ${d==="portrait"?"max-width: 440px":"max-width: 75%"}`,children:[b("div",{style:ue.header.styles,children:[b(rx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:un}),b("button",{style:ue.closeButton.styles,onClick:i.bind(null,{type:"CANCEL"}),children:b("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M18 6L6 18M6 6L18 18",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),b("div",{style:ue.content.styles,children:[b("h2",{style:ue.title.styles,children:u("jolicoin.unlockWithJolicoin")}),!r&&b("div",{style:ue.autoDeductOption.styles,children:[b("span",{style:N`
413
431
  font-size: 14px;
414
432
  font-weight: 400;
415
433
  line-height: 1.2;
416
- `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),b(nx,{enableAutoDeduct:l,toggleEnableAutoDeduct:f})]}),b("section",{style:`${ue.buttonContainer.styles} ${d==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[b("button",{style:`${ue.confirmButton.styles} ${ue.buttonFlex.styles}`,onClick:p,children:u(a)}),b("button",{style:`${ue.cancelButton.styles} ${ue.buttonFlex.styles}`,onClick:i.bind(null,{type:"FAILED"}),children:u(s)})]})]})]})},B2=({unlockNeedsAmount:e=1,balanceAmount:t=0,defaultEnableAutoDeduct:r=!1,paymentChoices:n=[],onConfirm:i,onClose:o,onEnableDeductChanged:a,confirmButtonKey:s,cancelButtonKey:l})=>{var _,w;let[c,d]=ft(r),{t:u}=Fa(),[p,f]=ft((_=n==null?void 0:n[0])==null?void 0:_.productId),m=Li(),v=()=>{i(p)},y=ot(k=>{console.log(k),f(k)},[]),g=ot(()=>{d(!c),a(!c)},[c]);return b("div",{style:ue.modal.styles,children:[b("div",{style:ue.header.styles,children:[b(rx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:dn}),b("button",{style:ue.closeButton.styles,onClick:o.bind(null,{type:"CANCEL"}),children:b("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M18 6L6 18M6 6L18 18",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),b("div",{style:ue.content.styles,children:[b("div",{style:N`
434
+ `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),b(nx,{enableAutoDeduct:l,toggleEnableAutoDeduct:f})]}),b("section",{style:`${ue.buttonContainer.styles} ${d==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[b("button",{style:`${ue.confirmButton.styles} ${ue.buttonFlex.styles}`,onClick:p,children:u(a)}),b("button",{style:`${ue.cancelButton.styles} ${ue.buttonFlex.styles}`,onClick:i.bind(null,{type:"FAILED"}),children:u(s)})]})]})]})},U2=({unlockNeedsAmount:e=1,balanceAmount:t=0,defaultEnableAutoDeduct:r=!1,paymentChoices:n=[],onConfirm:i,onClose:o,onEnableDeductChanged:a,confirmButtonKey:s,cancelButtonKey:l})=>{var _,w;let[c,d]=Tt(r),{t:u}=Fa(),[p,f]=Tt((_=n==null?void 0:n[0])==null?void 0:_.productId),m=qi(),v=()=>{i(p)},y=ot(k=>{console.log(k),f(k)},[]),g=ot(()=>{d(!c),a(!c)},[c]);return b("div",{style:ue.modal.styles,children:[b("div",{style:ue.header.styles,children:[b(rx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:un}),b("button",{style:ue.closeButton.styles,onClick:o.bind(null,{type:"CANCEL"}),children:b("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b("path",{d:"M18 6L6 18M6 6L18 18",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),b("div",{style:ue.content.styles,children:[b("div",{style:N`
417
435
  padding: 0px;
418
- `.styles,children:b(M2,{options:n.map(k=>({id:k.productId,coins:k.quantity,price:k.totalAmountStr})),defaultSelectedId:(w=n==null?void 0:n[0])==null?void 0:w.productId,onSelect:k=>y(k.id)})}),!r&&b("div",{style:ue.autoDeductOption.styles,children:[b("span",{style:N`
436
+ `.styles,children:b(F2,{options:n.map(k=>({id:k.productId,coins:k.quantity,price:k.totalAmountStr})),defaultSelectedId:(w=n==null?void 0:n[0])==null?void 0:w.productId,onSelect:k=>y(k.id)})}),!r&&b("div",{style:ue.autoDeductOption.styles,children:[b("span",{style:N`
419
437
  font-size: 14px;
420
438
  font-weight: 400;
421
439
  line-height: 1.2;
422
- `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),b(nx,{enableAutoDeduct:c,toggleEnableAutoDeduct:g})]}),b("section",{style:`${ue.buttonContainer.styles} ${m==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[b("button",{style:`${ue.confirmButton.styles} ${ue.buttonFlex.styles}`,onClick:v,children:u(s)}),b("button",{style:`${ue.cancelButton.styles} ${ue.buttonFlex.styles}`,onClick:o.bind(null,{type:"FAILED"}),children:u(l)})]})]})]})},ix=e=>{let t=gd({title:"",content:b(U2,{balanceAmount:e.data.userJolicoin.balance,unlockNeedsAmount:e.data.joliCoinQuantity,defaultEnableAutoDeduct:e.data.enableAutoDeduct,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress,onEnableDeductChanged:e.buttons.onEnableDeductChanged}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"316px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},ox=e=>{let t=gd({title:"",content:b(B2,{balanceAmount:e.data.userJolicoin.balance,unlockNeedsAmount:e.data.joliCoinQuantity,defaultEnableAutoDeduct:e.data.enableAutoDeduct,paymentChoices:e.data.paymentChoices,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress,onEnableDeductChanged:e.buttons.onEnableDeductChanged}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"520px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},ax=new Map,Fi=(e,t)=>{ax.set(e,t)};Fi(/^\{slot-checkmark\}/,(e,t)=>{var n,i;let r=(i=(n=t==null?void 0:t.customStyle)==null?void 0:n.mark)!=null?i:{};return b("div",{style:r,children:b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",style:{height:"24px",verticalAlign:"middle"},children:[b("g",{clipPath:"url(#clip0_2247_16523)",children:b("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM9.29 16.29L5.7 12.7C5.31 12.31 5.31 11.68 5.7 11.29C6.09 10.9 6.72 10.9 7.11 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.7 16.29C10.32 16.68 9.68 16.68 9.29 16.29Z",fill:"white"})}),b("defs",{children:b("clipPath",{id:"clip0_2247_16523",children:b("rect",{width:"24",height:"24",fill:"white"})})})]})})});Fi(/^\{slot-coin\}/,(e,t)=>{var n;let r=(n=t==null?void 0:t.coinImage)!=null?n:dn;return b("img",{src:r,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}})});J2=/^\{slot-i18n-(.+?)\}/,$2=({i18nKey:e,i18nParams:t,fallbackText:r})=>{let{t:n}=Fa(),i=n(e,t);return b("span",{children:i||r})};Fi(J2,(e,t)=>{var n;let r=e[1];return r?b($2,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,fallbackText:`[${r}]`}):(console.warn("No i18n key extracted from slot pattern:",e[0]),b("span",{children:(n=t==null?void 0:t.text)!=null?n:""}))});H2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8yMjk0XzQwODkpIi8+CjxwYXRoIGQ9Ik0xNC4yOTUgMjUuOTIyN0MxNC4yOTUgMjUuOTIyNyAxNy45MTI1IDIxLjY0MzYgMjEuNzc1OSAxOC4wOTg0QzI0Ljc1NzQgMTUuMzYyMSAyOC4yMTUxIDEzLjE0NzQgMjguMjE1MSAxMy4xNDc0TDI3Ljk2OTUgMTEuNDEzOEMyNy45Njk1IDExLjQxMzggMjQuMDk4NyAxMi45NzYzIDIwLjc1NzUgMTUuMTk0N0MxNy4zNjUzIDE3LjQ0NTQgMTQuNTAzMyAyMC4zNTc3IDE0LjUwMzMgMjAuMzU3N0wxMS4xMzkgMTUuNjQyOEw5LjAzOTk2IDE3LjA1MjJMMTQuMjk1IDI1LjkyMjdMMTQuMjk1IDI1LjkyMjdaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzIyOTRfNDA4OSIgeDE9IjExLjczNDEiIHkxPSIzLjE3NTQxIiB4Mj0iMTgiIHkyPSIzNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjOTc1QkZGIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzc4MTdGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=";Fi(/^\{slot-success\}/,(e,t)=>b("img",{src:H2,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));z2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4xNDIxIDIwQzE1LjY2NSAyMCAyMC4xNDIxIDE1LjUyMjggMjAuMTQyMSAxMEMyMC4xNDIxIDQuNDc3MTUgMTUuNjY1IDEuNzM2OThlLTA3IDEwLjE0MjEgMS43MzY5OGUtMDdDNC42MTkyOSAxLjczNjk4ZS0wNyAwLjE0MjEzNiA0LjQ3NzE1IDAuMTQyMTM1IDEwQzAuMTQyMTM2IDE1LjUyMjggNC42MTkyOSAyMCAxMC4xNDIxIDIwWk02LjUwNTk4IDUuMDQ5OTdDNi4xMTU0NiA0LjY1OTQ1IDUuNDgyMjkgNC42NTk0NSA1LjA5MTc3IDUuMDQ5OTdDNC43MDEyNCA1LjQ0MDUgNC43MDEyNCA2LjA3MzY2IDUuMDkxNzcgNi40NjQxOUw4LjYyNzMgOS45OTk3Mkw1LjA5MTc3IDEzLjUzNTNDNC43MDEyNCAxMy45MjU4IDQuNzAxMjQgMTQuNTU4OSA1LjA5MTc3IDE0Ljk0OTVDNS40ODIyOSAxNS4zNCA2LjExNTQ2IDE1LjM0IDYuNTA1OTggMTQuOTQ5NUwxMC4wNDE1IDExLjQxMzlMMTMuNTc3IDE0Ljk0OTVDMTMuOTY3NiAxNS4zNCAxNC42MDA3IDE1LjM0IDE0Ljk5MTMgMTQuOTQ5NUMxNS4zODE4IDE0LjU1ODkgMTUuMzgxOCAxMy45MjU4IDE0Ljk5MTMgMTMuNTM1M0wxMS40NTU3IDkuOTk5NzJMMTQuOTkxMyA2LjQ2NDE5QzE1LjM4MTggNi4wNzM2NiAxNS4zODE4IDUuNDQwNSAxNC45OTEzIDUuMDQ5OTdDMTQuNjAwNyA0LjY1OTQ1IDEzLjk2NzYgNC42NTk0NSAxMy41NzcgNS4wNDk5N0wxMC4wNDE1IDguNTg1NTFMNi41MDU5OCA1LjA0OTk3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";Fi(/^\{slot-error\}/,(e,t)=>b("img",{src:z2,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));Fe="-ms-",Pa="-moz-",j="-webkit-",sx="comm",yd="rule",_d="decl",V2="@import",lx="@keyframes",G2="@layer",W2=Math.abs,Ma=String.fromCharCode,K2=id.default;ja=1,cn=1,ux=0,Ve=0,ye=0,fn="";uB=function(e,t,r){for(var n=0,i=0;n=i,i=Ct(),n===38&&i===12&&(t[r]=1),!Ni(i);)Ze();return Mi(e,Ve)},dB=function(e,t){var r=-1,n=44;do switch(Ni(n)){case 0:n===38&&Ct()===12&&(t[r]=1),e[r]+=uB(Ve-1,t,r);break;case 2:e[r]+=Ea(n);break;case 4:if(n===44){e[++r]=Ct()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ma(n)}while(n=Ze());return e},fB=function(e,t){return fx(dB(dx(e),t))},_E=new nd.default,pB=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!_E.get(r))&&!n){_E.set(e,!0);for(var i=[],o=fB(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},hB=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};mB=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _d:e.return=px(e.value,e.length);break;case lx:return sn([Ei(e,{value:U(e.value,"@","@"+j)})],n);case yd:if(e.length)return X2(e.props,function(i){switch(Q2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sn([Ei(e,{props:[U(i,/:(read-\w+)/,":"+Pa+"$1")]})],n);case"::placeholder":return sn([Ei(e,{props:[U(i,/:(plac\w+)/,":"+j+"input-$1")]}),Ei(e,{props:[U(i,/:(plac\w+)/,":"+Pa+"$1")]}),Ei(e,{props:[U(i,/:(plac\w+)/,Fe+"input-$1")]})],n)}return""})}},vB=[mB],gB=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Ee.default)(Array.prototype).call(r,function(m){var v=m.getAttribute("data-emotion");(0,Ht.default)(v).call(v," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||vB,i={},o,a=[];o=e.container||document.head,(0,Ee.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[pB,hB];{var c,d=[sB,cB(function(m){c.insert(m)})],u=lB((0,Ca.default)(l).call(l,n,d)),p=function(m){return sn(oB(m),u)};s=function(m,v,y,g){c=y,p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new RE({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f};yB=function(e){var t=gB(e);t.sheet.speedy=function(a){this.isSpeedy=a},t.compat=!0;var r=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered,void 0);return Da(t,c,!1),t.key+"-"+c.name},n=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered),d="animation-"+c.name;return bE(t,{name:c.name,styles:"@keyframes "+d+"{"+c.styles+"}"}),d},i=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered);bE(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return $u(t.registered,r,_B(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){(0,Ee.default)(a).call(a,function(s){t.inserted[s]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:(0,Hu.default)(Ci).call(Ci,null,t.registered),merge:(0,Hu.default)($u).call($u,null,t.registered,r)}},_B=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if((0,Si.default)(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},bB=yB({key:"css"}),wB=bB.css,IB=(e,t)=>{if(!e.includes("{slot-"))return e;let r=[],n=0;for(;n<e.length;){let o=null,a=1/0,s=null;for(let[l,c]of ax.entries()){let d=l.source.startsWith("^")?l.source.slice(1):l.source,u=new RegExp(d,"g");u.lastIndex=n;let p=u.exec(e);p&&p.index<a&&(o=p,a=p.index,s=c)}if(o&&s)a>n&&r.push(e.substring(n,a)),r.push(s(o,t)),n=a+o[0].length;else{r.push(e.substring(n));break}}let i=wB`
440
+ `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),b(nx,{enableAutoDeduct:c,toggleEnableAutoDeduct:g})]}),b("section",{style:`${ue.buttonContainer.styles} ${m==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[b("button",{style:`${ue.confirmButton.styles} ${ue.buttonFlex.styles}`,onClick:v,children:u(s)}),b("button",{style:`${ue.cancelButton.styles} ${ue.buttonFlex.styles}`,onClick:o.bind(null,{type:"FAILED"}),children:u(l)})]})]})]})},ix=e=>{let t=vd({title:"",content:b(j2,{balanceAmount:e.data.userJolicoin.balance,unlockNeedsAmount:e.data.joliCoinQuantity,defaultEnableAutoDeduct:e.data.enableAutoDeduct,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress,onEnableDeductChanged:e.buttons.onEnableDeductChanged}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"316px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},ox=e=>{let t=vd({title:"",content:b(U2,{balanceAmount:e.data.userJolicoin.balance,unlockNeedsAmount:e.data.joliCoinQuantity,defaultEnableAutoDeduct:e.data.enableAutoDeduct,paymentChoices:e.data.paymentChoices,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress,onEnableDeductChanged:e.buttons.onEnableDeductChanged}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"520px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},ax=new Map,Li=(e,t)=>{ax.set(e,t)};Li(/^\{slot-checkmark\}/,(e,t)=>{var n,i;let r=(i=(n=t==null?void 0:t.customStyle)==null?void 0:n.mark)!=null?i:{};return b("div",{style:r,children:b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",style:{height:"24px",verticalAlign:"middle"},children:[b("g",{clipPath:"url(#clip0_2247_16523)",children:b("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM9.29 16.29L5.7 12.7C5.31 12.31 5.31 11.68 5.7 11.29C6.09 10.9 6.72 10.9 7.11 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.7 16.29C10.32 16.68 9.68 16.68 9.29 16.29Z",fill:"white"})}),b("defs",{children:b("clipPath",{id:"clip0_2247_16523",children:b("rect",{width:"24",height:"24",fill:"white"})})})]})})});Li(/^\{slot-coin\}/,(e,t)=>{var n;let r=(n=t==null?void 0:t.coinImage)!=null?n:un;return b("img",{src:r,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}})});B2=/^\{slot-i18n-(.+?)\}/,J2=({i18nKey:e,i18nParams:t,fallbackText:r})=>{let{t:n}=Fa(),i=n(e,t);return b("span",{children:i||r})};Li(B2,(e,t)=>{var n;let r=e[1];return r?b(J2,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,fallbackText:`[${r}]`}):(console.warn("No i18n key extracted from slot pattern:",e[0]),b("span",{children:(n=t==null?void 0:t.text)!=null?n:""}))});$2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8yMjk0XzQwODkpIi8+CjxwYXRoIGQ9Ik0xNC4yOTUgMjUuOTIyN0MxNC4yOTUgMjUuOTIyNyAxNy45MTI1IDIxLjY0MzYgMjEuNzc1OSAxOC4wOTg0QzI0Ljc1NzQgMTUuMzYyMSAyOC4yMTUxIDEzLjE0NzQgMjguMjE1MSAxMy4xNDc0TDI3Ljk2OTUgMTEuNDEzOEMyNy45Njk1IDExLjQxMzggMjQuMDk4NyAxMi45NzYzIDIwLjc1NzUgMTUuMTk0N0MxNy4zNjUzIDE3LjQ0NTQgMTQuNTAzMyAyMC4zNTc3IDE0LjUwMzMgMjAuMzU3N0wxMS4xMzkgMTUuNjQyOEw5LjAzOTk2IDE3LjA1MjJMMTQuMjk1IDI1LjkyMjdMMTQuMjk1IDI1LjkyMjdaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzIyOTRfNDA4OSIgeDE9IjExLjczNDEiIHkxPSIzLjE3NTQxIiB4Mj0iMTgiIHkyPSIzNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjOTc1QkZGIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzc4MTdGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=";Li(/^\{slot-success\}/,(e,t)=>b("img",{src:$2,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));H2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4xNDIxIDIwQzE1LjY2NSAyMCAyMC4xNDIxIDE1LjUyMjggMjAuMTQyMSAxMEMyMC4xNDIxIDQuNDc3MTUgMTUuNjY1IDEuNzM2OThlLTA3IDEwLjE0MjEgMS43MzY5OGUtMDdDNC42MTkyOSAxLjczNjk4ZS0wNyAwLjE0MjEzNiA0LjQ3NzE1IDAuMTQyMTM1IDEwQzAuMTQyMTM2IDE1LjUyMjggNC42MTkyOSAyMCAxMC4xNDIxIDIwWk02LjUwNTk4IDUuMDQ5OTdDNi4xMTU0NiA0LjY1OTQ1IDUuNDgyMjkgNC42NTk0NSA1LjA5MTc3IDUuMDQ5OTdDNC43MDEyNCA1LjQ0MDUgNC43MDEyNCA2LjA3MzY2IDUuMDkxNzcgNi40NjQxOUw4LjYyNzMgOS45OTk3Mkw1LjA5MTc3IDEzLjUzNTNDNC43MDEyNCAxMy45MjU4IDQuNzAxMjQgMTQuNTU4OSA1LjA5MTc3IDE0Ljk0OTVDNS40ODIyOSAxNS4zNCA2LjExNTQ2IDE1LjM0IDYuNTA1OTggMTQuOTQ5NUwxMC4wNDE1IDExLjQxMzlMMTMuNTc3IDE0Ljk0OTVDMTMuOTY3NiAxNS4zNCAxNC42MDA3IDE1LjM0IDE0Ljk5MTMgMTQuOTQ5NUMxNS4zODE4IDE0LjU1ODkgMTUuMzgxOCAxMy45MjU4IDE0Ljk5MTMgMTMuNTM1M0wxMS40NTU3IDkuOTk5NzJMMTQuOTkxMyA2LjQ2NDE5QzE1LjM4MTggNi4wNzM2NiAxNS4zODE4IDUuNDQwNSAxNC45OTEzIDUuMDQ5OTdDMTQuNjAwNyA0LjY1OTQ1IDEzLjk2NzYgNC42NTk0NSAxMy41NzcgNS4wNDk5N0wxMC4wNDE1IDguNTg1NTFMNi41MDU5OCA1LjA0OTk3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";Li(/^\{slot-error\}/,(e,t)=>b("img",{src:H2,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));Fe="-ms-",Ta="-moz-",j="-webkit-",sx="comm",gd="rule",yd="decl",z2="@import",lx="@keyframes",V2="@layer",G2=Math.abs,Ma=String.fromCharCode,W2=id.default;ja=1,ln=1,ux=0,Ve=0,ye=0,dn="";cB=function(e,t,r){for(var n=0,i=0;n=i,i=Ct(),n===38&&i===12&&(t[r]=1),!Ni(i);)Ze();return Fi(e,Ve)},uB=function(e,t){var r=-1,n=44;do switch(Ni(n)){case 0:n===38&&Ct()===12&&(t[r]=1),e[r]+=cB(Ve-1,t,r);break;case 2:e[r]+=Ia(n);break;case 4:if(n===44){e[++r]=Ct()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ma(n)}while(n=Ze());return e},dB=function(e,t){return fx(uB(dx(e),t))},yE=new nd.default,fB=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!yE.get(r))&&!n){yE.set(e,!0);for(var i=[],o=dB(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},pB=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};hB=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case yd:e.return=px(e.value,e.length);break;case lx:return on([Ii(e,{value:U(e.value,"@","@"+j)})],n);case gd:if(e.length)return Q2(e.props,function(i){switch(Y2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Ii(e,{props:[U(i,/:(read-\w+)/,":"+Ta+"$1")]})],n);case"::placeholder":return on([Ii(e,{props:[U(i,/:(plac\w+)/,":"+j+"input-$1")]}),Ii(e,{props:[U(i,/:(plac\w+)/,":"+Ta+"$1")]}),Ii(e,{props:[U(i,/:(plac\w+)/,Fe+"input-$1")]})],n)}return""})}},mB=[hB],vB=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Ee.default)(Array.prototype).call(r,function(m){var v=m.getAttribute("data-emotion");(0,Ht.default)(v).call(v," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||mB,i={},o,a=[];o=e.container||document.head,(0,Ee.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[fB,pB];{var c,d=[aB,lB(function(m){c.insert(m)})],u=sB((0,Pa.default)(l).call(l,n,d)),p=function(m){return on(iB(m),u)};s=function(m,v,y,g){c=y,p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new RE({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f};gB=function(e){var t=vB(e);t.sheet.speedy=function(a){this.isSpeedy=a},t.compat=!0;var r=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered,void 0);return Da(t,c,!1),t.key+"-"+c.name},n=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered),d="animation-"+c.name;return _E(t,{name:c.name,styles:"@keyframes "+d+"{"+c.styles+"}"}),d},i=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=dr(s,t.registered);_E(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return $u(t.registered,r,yB(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){(0,Ee.default)(a).call(a,function(s){t.inserted[s]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:(0,Hu.default)(Ci).call(Ci,null,t.registered),merge:(0,Hu.default)($u).call($u,null,t.registered,r)}},yB=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if((0,Si.default)(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},_B=gB({key:"css"}),bB=_B.css,wB=(e,t)=>{if(!e.includes("{slot-"))return e;let r=[],n=0;for(;n<e.length;){let o=null,a=1/0,s=null;for(let[l,c]of ax.entries()){let d=l.source.startsWith("^")?l.source.slice(1):l.source,u=new RegExp(d,"g");u.lastIndex=n;let p=u.exec(e);p&&p.index<a&&(o=p,a=p.index,s=c)}if(o&&s)a>n&&r.push(e.substring(n,a)),r.push(s(o,t)),n=a+o[0].length;else{r.push(e.substring(n));break}}let i=bB`
423
441
  display: 'flex',
424
442
  alignItems: 'flex-start',
425
443
  gap: '4px',
@@ -430,7 +448,7 @@ If multiple caches share the same key they might "fight" for each other's style
430
448
  fontWeight: 600,
431
449
  lineHeight: '18px',
432
450
  width: 'max-content'
433
- `;return r.length===1?r[0]:b("div",{className:i,children:r})},EB=({message:e,type:t="info",duration:r=3e3,onClose:n,position:i="top"})=>{let[o,a]=ft(!0);Cr(()=>{let c=setTimeout(()=>{a(!1),setTimeout(()=>{n==null||n()},300)},r);return()=>clearTimeout(c)},[r,n]);let s=sd(()=>{let c=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10);return Math.max(20,c)},[]),l=N`
451
+ `;return r.length===1?r[0]:b("div",{className:i,children:r})},IB=({message:e,type:t="info",duration:r=3e3,onClose:n,position:i="top"})=>{let[o,a]=Tt(!0);Cr(()=>{let c=setTimeout(()=>{a(!1),setTimeout(()=>{n==null||n()},300)},r);return()=>clearTimeout(c)},[r,n]);let s=sd(()=>{let c=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10);return Math.max(20,c)},[]),l=N`
434
452
  position: fixed;
435
453
  left: 50%;
436
454
  padding: 10px 16px;
@@ -472,7 +490,7 @@ If multiple caches share the same key they might "fight" for each other's style
472
490
  opacity: 1;
473
491
  transform: translate(-50%, -50%) scale(1);
474
492
  `}
475
- `;return b("div",{className:`toast toast-${t}`,style:l.styles,children:e})},ji=(e,t)=>I(void 0,null,function*(){let{iframe:r,emotionCache:n}=yield hE.acquire(),i=r.contentDocument;if(!i)return;let o=i.createElement("div");i.body.appendChild(o);let a=()=>{i.body.removeChild(o),hE.release()},s=IB(e,t),l=YE(),c=VE[l].translations;tr(b(HE,{value:n,children:b(WE,{definition:c,children:b(EB,{message:s,type:t==null?void 0:t.type,position:t==null?void 0:t.position,duration:t==null?void 0:t.duration,onClose:a})})}),o)}),wE={container:{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"transparent",zIndex:"10000"},spinner:{width:"36px",height:"36px",border:"3px solid transparent",borderTopColor:"#A86FF7",borderLeftColor:"#A86FF7",borderRadius:"50%",animation:"spin 1s linear infinite"}},xB=`
493
+ `;return b("div",{className:`toast toast-${t}`,style:l.styles,children:e})},Mi=(e,t)=>I(void 0,null,function*(){let{iframe:r,emotionCache:n}=yield pE.acquire(),i=r.contentDocument;if(!i)return;let o=i.createElement("div");i.body.appendChild(o);let a=()=>{i.body.removeChild(o),pE.release()},s=wB(e,t),l=YE(),c=VE[l].translations;tr(b(HE,{value:n,children:b(WE,{definition:c,children:b(IB,{message:s,type:t==null?void 0:t.type,position:t==null?void 0:t.position,duration:t==null?void 0:t.duration,onClose:a})})}),o)}),bE={container:{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"transparent",zIndex:"10000"},spinner:{width:"36px",height:"36px",border:"3px solid transparent",borderTopColor:"#A86FF7",borderLeftColor:"#A86FF7",borderRadius:"50%",animation:"spin 1s linear infinite"}},EB=`
476
494
  @keyframes spin {
477
495
  0% {
478
496
  transform: rotate(0deg);
@@ -481,9 +499,9 @@ If multiple caches share the same key they might "fight" for each other's style
481
499
  transform: rotate(360deg);
482
500
  }
483
501
  }
484
- `,SB=()=>b("div",{style:wE.container,children:[b("style",{children:xB}),b("div",{style:wE.spinner})]});QG=wd()});function hx(){return I(this,null,function*(){if(Id)return Id;let t=`${x.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com"}/api/user-retention/exit-recommendations?objectId=${x.mpId}&from=GAME_DETAIL`,{response:{data:r}}=yield ne(t);return Id=r,r})}function mx(){return I(this,null,function*(){let e=new yt;if(x.mpType!=="game")return e.resolve(!1),e.promise;if(Ed)return e.resolve(!0),e.promise;let t=yield hx();if(t.code!=="SUCCESS")return e.resolve(!1),e.promise;let{gameListInfo:r,title:n,buttons:i}=t.data;Ed=!0;let o=tx({games:r.games,title:n,buttons:i,onClose:a=>{var s;switch(Ed=!1,a.type){case"quit":e.resolve(!1);break;case"dismiss":e.resolve(!0),o.destroy();break;case"navigate":if((s=a.data)!=null&&s.game){let l=a.data.game;AB(l),setTimeout(()=>{e.resolve(!1)},0)}else e.resolve(!0);o.destroy();break;default:e.resolve(!0);break}}});return e.promise})}var Id,AB,Ed,vx=T(()=>{"use strict";Q();Ae();D();Nr();wt();Id=null;hx();AB=e=>{var a;let{data:t}=F("envSync"),r=new URL(t.schema),n=new URLSearchParams(r.search);n.set("gameId",e.gameId),n.set("joliSource",x.encodeJoliSourceQuery({__mpType:"game",__orientation:(a=e.orientation)!=null?a:"VERTICAL"}));let o=`${`https://${e.gameId}.content.jolibox.com/`}index.html?${n.toString()}`;F("openSchemaSync",{schema:o})},Ed=!1});function TB(e){let t=P(P({},kB),e),{url:r,height:n,showCloseButton:i,enableDragClose:o,useAnimation:a,onClose:s,onLoad:l}=t,c=0,d=0,u=!1,p=()=>a?{overlayTransition:"opacity 0.3s ease",containerTransition:"transform 0.3s ease",iframeTransition:"opacity 0.3s ease"}:{overlayTransition:"none",containerTransition:"none",iframeTransition:"none"},f=()=>a?300:0;function m(){let{overlayTransition:_,containerTransition:w,iframeTransition:k}=p();ee=document.createElement("div"),ee.id="jolibox-modal-overlay",ee.style.cssText=`position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:1000; display:flex; justify-content:center; align-items:flex-end; transition:${_}; opacity:0; visibility:hidden;`,z=document.createElement("div"),z.id="jolibox-modal-container",z.style.cssText=`width:100%; height:${n}; background:white; border-radius:12px 12px 0 0; overflow:hidden; box-shadow:0 -2px 10px rgba(0,0,0,0.2); transform:translateY(100%); transition:${w};`;let R=document.createElement("div");R.id="jolibox-modal-loading",R.style.cssText="position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); width:40px; height:40px; border:4px solid #f3f3f3; border-top:4px solid #3498db; border-radius:50%; animation:spin 1s linear infinite;";let C=document.createElement("style");C.textContent="@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }",document.head.appendChild(C);let E=document.createElement("div");if(E.style.cssText="width:100%; height:100%; display:flex; flex-direction:column; padding-bottom:env(safe-area-inset-bottom, 0); position:relative;",at=document.createElement("iframe"),at.style.cssText=`width:100%; flex:1; border:none; opacity:0; transition:${k};`,at.src=r,at.onload=()=>{R.parentNode&&R.parentNode.removeChild(R),at.style.opacity="1",v(),l==null||l(),we.emit("onModalIframeLoaded",{url:r})},E.appendChild(at),E.appendChild(R),z.appendChild(E),i){let A=document.createElement("div");A.style.cssText="position:absolute; top:10px; right:10px; width:30px; height:30px; background:rgba(0,0,0,0.1); border-radius:15px; display:flex; justify-content:center; align-items:center; cursor:pointer; z-index:10;",A.innerHTML="\u2715",A.onclick=g,z.appendChild(A)}ee.appendChild(z),document.body.appendChild(ee),ee.addEventListener("click",function(A){A.target===ee&&g()}),o&&y()}function v(){!ee||!z||u||(ee.style.visibility="visible",a?requestAnimationFrame(()=>{ee&&(ee.style.opacity="1"),z&&(z.style.transform="translateY(0)"),u=!0}):(ee&&(ee.style.opacity="1"),z&&(z.style.transform="translateY(0)"),u=!0),F("updateContainerConfigSync",{displayCapsuleButton:!1,webviewId:x.webviewId}))}function y(){if(!z)return;let _=R=>{c=R.touches[0].clientY},w=R=>{if(!u)return;d=R.touches[0].clientY;let C=d-c;C>0&&(z&&(z.style.transition="none",z.style.transform=`translateY(${C}px)`),R.preventDefault())},k=()=>{!u||!z||(z.style.transition=a?"transform 0.3s ease":"none",d-c>80?g():z.style.transform="translateY(0)")};z.addEventListener("touchstart",_),z.addEventListener("touchmove",w),z.addEventListener("touchend",k)}function g(){!ee||!z||!u||(a?(z.style.transform="translateY(100%)",ee.style.opacity="0"):ee.style.visibility="hidden",u=!1,F("updateContainerConfigSync",{displayCapsuleButton:!0,webviewId:x.webviewId}),setTimeout(()=>{ee&&(ee.remove(),ee=null,z=null,at=null,s==null||s(),we.emit("onModalIframeClosed",{url:r}))},f()))}return m(),{close:g}}function gx(){return window.joliboxUI=L(P({},window.joliboxUI),{createIframeModal:TB}),()=>{window.joliboxUI=void 0,ee&&ee.parentNode&&ee.parentNode.removeChild(ee),z&&z.parentNode&&z.parentNode.removeChild(z),at&&at.parentNode&&at.parentNode.removeChild(at),ee=null,z=null,at=null}}var kB,ee,z,at,yx=T(()=>{"use strict";Ae();Q();D();kB={height:"50%",showCloseButton:!0,enableDragClose:!0,useAnimation:!0},ee=null,z=null,at=null});var bx={};xf(bx,{config:()=>jB});function CB(){yo.on("isAdShowing",e=>{$a=e,qn($a)&&F("updateContainerConfigSync",{displayCapsuleButton:!$a,webviewId:x.webviewId})})}function RB(){we.on("onInterceptSystemExit",({intercept:e})=>{_x=e})}function OB(){we.on("onInterceptBackPress",({intercept:e})=>{PB=e}),He("onBeforeBackPress",({uuid:e})=>{var t,r;we.emit("onBackPress",{}),(r=(t=globalThis.joliboxJSCore)==null?void 0:t.doBackPress)==null||r.call(t,e)})}function NB(){we.on("onDocumentReady",()=>{var e;(e=globalThis.joliboxJSCore)==null||e.onDocumentReady(window.location.href),lt("onDocumentReady",{start_timestamp:za,timestamp:Date.now()})})}function DB(){He("onI18nChanged",({language:e})=>{we.emit("onI18nChanged",{i18n:e})})}function qB(e){x.mpType==="game"&&qt.start(e)}function LB(){He("onJoliboxServiceReady",({runtimeInfo:e,loadDuration:t})=>{e&&x.onEnvConfigChanged({hostUserInfo:e}),we.emit("LifecycleEvent.onReady",P({},x.hostUserInfo?x.hostUserInfo:{isLogin:!1})),lt("joliboxServiceReady",{start_timestamp:za,timestamp:Date.now()}),qB(t),KE(()=>x.language)}),He("onBeforeExit",({uuid:e})=>{var t;(t=globalThis.joliboxJSCore)==null||t.doExit(e)})}function FB(){let e=()=>{lt("onBeforeExit",{timestamp:Date.now()}),Ba==null||Ba(),Ja==null||Ja(),qt.close(Date.now()-za)},t=()=>$a||_x;nt.onDoExit(()=>I(this,null,function*(){return t()?!0:qn(x.shouldInterupt)?(x.shouldInterupt||e(),x.shouldInterupt):Ha!=null&&Ha.canShowRecommended&&(yield mx())?!0:(e(),!1)})),nt.onDoBackPress(()=>I(this,null,function*(){return!!t()}))}function MB(){return I(this,null,function*(){let e=`${x.baseApiHost}/api/fe-configs/js-sdk/basic-meta`,{response:{data:t}}=yield ne(e);t&&(Ha=t)})}function jB(){za=Date.now(),LB(),CB(),RB(),OB(),FB(),NB(),DB(),MB(),Ja=gx(),Ba=Bp()}var Ba,Ja,za,$a,Ha,_x,PB,wx=T(()=>{"use strict";Ae();Q();D();_r();Jp();Cl();vx();wt();Nr();yx();$a=!1,Ha=null,_x=!1,PB=!1;nt.onReady(()=>{})});function Ix(e){let t=yl.config[e];return t||(t={},yl.config[e]=t),(r,n)=>{if(t[r]){_t.warn(`[can i use] ${r} already registered`);return}t[r]=P({},n)}}var Ex=T(()=>{"use strict";D()});function xd(e){xx=e}function Va(e){return e===null||typeof e!="object"?e:Array.isArray(e)?e.map(t=>Va(t)):Object.keys(e).reduce((t,r)=>(t[r]=Va(e[r]),t),{})}function Vt(e){return typeof e=="number"}function Sd(e){let t=Ad(e);switch(t){case"string":return`"${e}"`;case"number":case"boolean":case"null":case"undefined":return String(e);default:return`a(n) ${t}`}}function Ad(e){return typeof e=="function"?"function":Object.prototype.toString.call(e).slice(8).slice(0,-1).toLowerCase()}var xx,_e,Ga,Wa,Ka,Ya,pn,Qa,Xa,Za,es,ts,rs,ns,is,os,as,ss,ls,kd=T(()=>{"use strict";xx=!1;_e=class{constructor(){this.errors=[];this.hasFallback=!1;this.hasDefault=!1;this._optional=!1}fail(t){if(xx)if(typeof t=="string")this.errors.push(t);else{let r=`${this.path} should be ${t.expect}`;this._optional&&t.expect!=="undefined"?r+=" or undefined, ":r+=", ",r+=`but got ${Sd(t.actual)}`,this.errors.push(r)}return!1}fallback(t){return this.hasFallback=!0,this._fallback=t,this}get fallbackValue(){return Va(this._fallback)}default(t){return this.hasDefault=!0,this._default=t,this}get defaultValue(){return typeof this._default=="function"?this._default:Va(this._default)}optional(){return this._optional=!0,this}};Ga=class extends _e{validate(t){return this._optional&&t===void 0?!0:Vt(t)?Vt(this._min)&&t<this._min?this.fail(`the value of ${this.path} should be greater than or equal to ${this._min}`):Vt(this._max)&&t>this._max?this.fail(`the value of ${this.path} should be less than or equal to ${this._max}`):Vt(this._greater)&&t<=this._greater?this.fail(`the value of ${this.path} should be greater than ${this._greater}`):this._isInt&&t!==Math.floor(t)?this.fail(`the value of ${this.path} should be integer but got ${t}`):!0:this.fail({expect:"number",actual:t})}min(t){return this._min=t,this}max(t){return this._max=t,this}isInt(t){return this._isInt=t,this}greater(t){return this._greater=t,this}},Wa=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="boolean"?this.fail({expect:"boolean",actual:t}):!0}},Ka=class extends _e{validate(t){if(this._optional&&t===void 0)return!0;if(typeof t!="string")return this.fail({expect:"string",actual:t});if(Vt(this._maxLength)&&t.length>this._maxLength)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxLength}`);if(Vt(this._minLength)&&t.length<this._minLength)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minLength}`);if(typeof this._pattern=="string"){if(!new RegExp(this._pattern).test(t))return this.fail(`${this.path} should match pattern "${this._pattern}"`)}else if(this._pattern&&!this._pattern.test(t))return this.fail(`${this.path} should match pattern "${this._pattern.toString()}"`);return!0}minLength(t){return this._minLength=t,this}maxLength(t){return this._maxLength=t,this}pattern(t){return this._pattern=t,this}},Ya=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="symbol"?this.fail({expect:"symbol",actual:t}):!0}},pn=class extends _e{validate(t){return!0}},Qa=class extends _e{validate(t){return t!==void 0?this.fail({expect:"undefined",actual:t}):!0}},Xa=class extends _e{validate(t){return this._optional&&t===void 0?!0:t!==null?this.fail({expect:"null",actual:t}):!0}},Za=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="function"?this.fail({expect:"function",actual:t}):!0}},es=class extends _e{constructor(...t){super(),this._items=t}validate(t){if(this._optional&&t===void 0)return!0;if(!this._items.includes(t)){let r=this._items.map(n=>JSON.stringify(n)).join(", ");return this.fail(`expect ${this.path} to be one of ${r}, but got ${Sd(t)}`)}return!0}},ts=class extends _e{constructor(r){super();this._item=r}validate(r){if(this._optional&&r===void 0)return!0;if(!Array.isArray(r))return this.fail({expect:"array",actual:r});if(Vt(this._minItems)&&r.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);if(Vt(this._maxItems)&&r.length>this._maxItems)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxItems}`);if(Vt(this._length)&&r.length!==this._length)return this.fail(`the length of ${this.path} should be equal to ${this._length}`);let n=this._item;if(!n)return!0;let i=!0;if(r.forEach((o,a)=>{if(n.path=`${this.path}[${a}]`,n.errors=this.errors,o===void 0&&n.hasDefault){r[a]=n.defaultValue;return}n.validate(o)||(n.hasFallback?r[a]=n.fallbackValue:i=!1)}),this._uniqueItems){let o=new Map;for(let a in r)o.has(r[a])?i=this.fail(`${this.path} should NOT have duplicate items (${this.path}[${o.get(r[a])}] and ${this.path}[${a}] are identical)`):o.set(r[a],a)}return i}minItems(r){return this._minItems=r,this}maxItems(r){return this._maxItems=r,this}uniqueItems(){return this._uniqueItems=!0,this}length(r){return this._length=r,this}},rs=class extends _e{constructor(r){super();this._value=r}validate(r){if(this._optional&&r===void 0)return!0;if(Ad(r)!=="object")return this.fail({expect:"object",actual:r});let i=r,o=this._value;o.errors=this.errors;let a=!0;for(let s in i){let l=i[s];if(/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/.test(s)?o.path=`${this.path}.${s}`:o.path=`${this.path}["${s}"]`,!(l===void 0&&o._optional)){if(l===void 0&&o.hasDefault){i[s]=o.defaultValue;continue}o.validate(l)||(o.hasFallback?i[s]=o.fallbackValue:a=!1)}}return a}},ns=class extends _e{constructor(r={}){super();this._object=r}validate(r){if(this._optional&&r===void 0)return!0;if(Ad(r)!=="object")return this.fail({expect:"object",actual:r});let n=r,i=!0;for(let o in this._object){let a=n[o],s=this._object[o];if(s.errors=this.errors,/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/.test(o)?s.path=`${this.path}.${o}`:s.path=`${this.path}["${o}"]`,!(s._optional&&a===void 0)){if(a===void 0&&s.hasDefault){n[o]=s.defaultValue;continue}s.validate(a)||(s.hasFallback?n[o]=s.fallbackValue:i=!1)}}return i}},is=class extends _e{constructor(r){super();this.value=r}validate(r){return r===void 0&&this._optional?!0:r!==this.value?this.fail({expect:Sd(this.value),actual:r}):!0}},os=class extends _e{constructor(...t){super(),this._items=t}validate(t){if(t===void 0&&this._optional)return!0;let r=[],n=!1,i=this._items.length;for(let o=0;o<i;o++){let a=this._items[o];if(a.errors=[],a.path=this.path,!a.validate(t))r.push(a.errors.join("; "));else if(!n){n=!0;break}}if(!n){let o=r.join(`
485
- or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super(),this._items=t;let r=0,n=t.length-1;for(;n>=0;n--){let i=t[n];if(i._optional||i.hasDefault)r+=1;else break}this._minItems=t.length-r}validate(t){if(t===void 0&&this._optional)return!0;if(!Array.isArray(t))return this.fail({expect:"array",actual:t});if(t.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);let r=!0;return this._items.forEach((n,i)=>{if(n.path=`${this.path}[${i}]`,n.errors=this.errors,t[i]===void 0&&n.hasDefault){t[i]=n.defaultValue;return}n.validate(t[i])||(n.hasFallback?t[i]=n._fallback:r=!1)}),r}},ss=class extends _e{validate(t){return t===void 0&&this._optional||t instanceof ArrayBuffer?!0:this.fail({expect:"arraybuffer",actual:t})}},ls=class extends _e{constructor(t){super(),this._ctor=t}validate(t){return t===void 0&&this._optional||t instanceof this._ctor?!0:this.fail({expect:`typedarray of ${this._ctor.name}`,actual:t})}}});function Td(e,t,r="param"){if(e.errors=[],e.path=r,xd(!0),!e.validate(t)){let n=e.errors.join(`
486
- `);throw e.errors.length=0,xd(!1),new TypeError(n)}}var S,Pd=T(()=>{"use strict";kd();kd();S={object(e){return new ns(e)},array(e){return new ts(e)},tuple(...e){return new as(...e)},literal(e){return new is(e)},or(...e){return new os(...e)},symbol(){return new Ya},record(e){return new rs(e)},function(){return new Za},boolean(){return new Wa},string(){return new Ka},number(){return new Ga},undefined(){return new Qa},null(){return new Xa},unknown(){return new pn},any(){return new pn},as(){return new pn},arraybuffer(){return new ss},enum(...e){return new es(...e)},typedarray(e){return new ls(e)}}});var cs,Sx,Ax=T(()=>{"use strict";D();st();Pd();Mr();cs=1,Sx=e=>{function t(n,i){return(...o)=>{var u,p,f,m;let a=Date.now(),s={method:n,trace_id:cs};cs+=1;let l="SUCCESS",c=`${n}:ok`,d=0;try{if(i.paramsSchema)try{Td(i.paramsSchema,o,"params")}catch(_){throw Al(`${n}:fail ${_.message}`)}let v=i.implement(...o),y=v,g=`${n}:ok`;if(v&&"code"in v){let{code:_,data:w,message:k}=v;l=_,y=w,g=k}return{code:l,message:g,data:y}}catch(v){let y=v;d=(p=(u=y.code)!=null?u:y.errNo)!=null?p:2e3,l="FAILURE";let g=(m=(f=y.message)!=null?f:y.errMsg)!=null?m:`${v}`;return c=`${n}:${l} ${g.replace(/^\S+:(fail|cancel)\s?/,"")}`,ke(new Fn(c,d)),{code:l,message:c}}finally{let v=Date.now()-a;e("apiInvoked",L(P({},s),{duration:v,status:l}))}}}function r(n,i){return(...o)=>I(this,null,function*(){var p,f,m,v;let a=ep(o)?o:[o],s=Date.now(),l={method:n,trace_id:cs};cs+=1;let c=`${n}:ok`,d="SUCCESS",u={code:d,message:c};try{if(i.paramsSchema)try{Td(i.paramsSchema,a,"params")}catch(_){throw Al(_.message)}let g=yield i.implement(...a);if(g&&"code"in g){let{code:_,data:w,message:k}=g;d=_,c=k,g=w}return Object.assign(u,{code:d,message:c,data:g}),u}catch(y){let g=y,_=(f=(p=g.code)!=null?p:g.errNo)!=null?f:2e3;d="FAILURE";let w=(v=(m=g.message)!=null?m:g.errMsg)!=null?v:`${y}`,k=`${n}:${d} ${w.replace(/^\S+:(fail|cancel)\s?/,"")}`;return Object.assign(u,{code:d,message:k}),ke(new Fn(k,_)),u}finally{let y=Date.now()-s;e("apiInvoked",L(P({},l),{duration:y,status:d}))}})}return{createAPI:r,createSyncAPI:t}}});var Re,K,q,kx,pt=T(()=>{"use strict";Ex();_r();Ax();Pd();Ae();Q();({createAPI:Re,createSyncAPI:K}=Sx(lt)),q=Ix("native"),{canIUseNative:kx}=Jf(()=>x.sdkInfo.nativeSDKVersionCode)});var Tx,BB,JB,$B,HB,Px=T(()=>{"use strict";D();pt();Ae();Tx=me(),BB="env",JB="getSystemInfoSync",$B=K(JB,{implement:()=>{var r;let e=F("envSync"),{data:t}=e;return{system:t.deviceInfo.system,platform:t.deviceInfo.platform.toLowerCase(),version:t.sdkInfo.jssdkVersion,pixelRatio:t.deviceInfo.pixelRatio,language:t.deviceInfo.lang,brand:t.deviceInfo.brand,appName:(r=t.hostInfo)==null?void 0:r.appName,SDKVersion:t.sdkInfo.jssdkVersion}}}),HB=K(BB,{implement:()=>{var t;let e=F("envSync");return(t=e==null?void 0:e.data)!=null?t:void 0}});Tx.registerCommand("API.getSystemInfoSync",$B);Tx.registerCommand("API.env",HB);q("env",{version:"1.0.0"});q("getSystemInfoSync",{version:"1.0.0"})});var Cx=h(Cd=>{"use strict";D();pt();st();Ae();_r();Q();var zB="exitGame",VB="onReady",GB="onJoliboxShow",WB="onJoliboxHide",us=me(),ds=po(ke),KB=Re(zB,{paramsSchema:S.tuple(S.function(),S.boolean().optional().default(!1)),implement:(e,t=!1)=>I(Cd,null,function*(){ds(e).call(Cd),qn(x.shouldInterupt)&&!x.shouldInterupt&&x.from&&Wf("onRetentionResult",{shouldStay:t},x.from,!0),t||x.setDoExitDirectly(),yield he("exitAppAsync")})}),YB=K(GB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);He("onJoliboxEnterForeground",()=>{t.call(this),jn.emit("visible",!0)})}}),QB=K(WB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);He("onJoliboxEnterBackground",()=>{t.call(this),jn.emit("visible",!1)})}}),XB=K(VB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);we.on("LifecycleEvent.onReady",r=>{t(r)})}});us.registerCommand("LifecycleSDK.exit",KB);us.registerCommand("LifecycleSDK.onReady",XB);us.registerCommand("LifecycleSDK.onJoliboxShow",YB);us.registerCommand("LifecycleSDK.onJoliboxHide",QB);q("lifeCycle.exit",{version:"1.0.0"});q("lifeCycle.onReady",{version:"1.0.0"});q("lifeCycle.onJoliboxShow",{version:"1.0.0"});q("lifeCycle.onJoliboxHide",{version:"1.0.0"})});function Rx(e){let t={};if(!gr(e))return t;for(let[r,n]of Object.entries(e)){let i=r.toLocaleLowerCase();n?typeof n=="object"?t[i]=Object.prototype.toString.call(n):t[i]=String(n):t[i]=""}return t}function Ox(e="GET"){if(e==="")return"POST";let t=e.toUpperCase();return["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"].includes(t)?t:"GET"}function Nx(e,t=!1){if(e)return t||e>0&&e<=6e4?Math.ceil(e):6e4}function Dx(e,t,r){if(["POST","PUT","PATCH"].includes(t)||!gr(r))return e;let[n,i=""]=e.split("?"),o=new URLSearchParams(i);for(let[s,l]of Object.entries(r))l!=null&&o.append(s,String(l));let a=o.toString();return a?`${n}?${a}`:n}var qx=T(()=>{"use strict";D()});var ZB,e5,Rd,Od,Lx,t5,r5,n5,Fx=T(()=>{"use strict";Mr();Tl();pt();qx();D();st();Q();ZB=15,e5=vo("createRequestTaskSync","operateRequestTaskSync",{type:"public",baseUrl:x.baseApiHost}),Rd=0,Od=[],Lx=po(ke),t5=(e,t)=>{let r=e.filter(t),n=e.filter(i=>!t(i));return e.length=0,e.push(...n),r},r5=e=>{let t=new yt,r=()=>{};return K("request",{paramsSchema:S.tuple(S.object({url:S.string(),method:S.string(),headers:S.object().optional(),data:S.object().optional(),query:S.object().optional(),dataType:S.string().default("json"),responseType:S.string().default("text"),enableCache:S.boolean().default(!1),appendHostCookie:S.boolean().default(!0),timeout:S.number().default(3e4),success:S.function(),fail:S.function()})),implement(i){let o=()=>I(this,null,function*(){var s,l,c;let a=Lx(i.fail);try{if(Rd+=1,t.state!=="pending")return;let{data:d,dataType:u,responseType:p,enableCache:f,appendHostCookie:m}=i,v=Rx((s=i.headers)!=null?s:{}),y=Ox(i.method),g=Nx(i.timeout),_=Dx(i.url,y,d),w=Lx(i.success),k=Object.assign({},i,{method:y,header:m?void 0:v,data:y==="GET"||y==="HEAD"?void 0:d,enableCache:f,query:(l=i.query)!=null?l:{},dataType:u,responseType:p,appendHostCookie:m});g&&(k.timeout=g);let R=e5(_,k);{let{response:C}=yield R,{code:E,data:A,message:H}=C;if(A&&typeof A=="object"&&"status"in A&&A.status!==200)throw er({code:A.status||-1,msg:`request:fail status ${A.status}`});t.resolve({code:E!=null?E:"SUCCESS",data:A,message:H!=null?H:"request:ok"}),w({code:"SUCCESS",message:"request:ok",data:A})}}catch(d){t.reject(d),a({code:"FAILURE",message:"httpRequst: failed"})}finally{Rd-=1,(c=Od.shift())==null||c()}});return Rd>=ZB?(r=()=>{t5(Od,a=>a===o)},Od.push(o)):o(),t.promise}})(e),{abort(){t.reject(er({code:-1,msg:"request:fail abort"})),r()}}},n5=me();n5.registerCommand("HttpSDK.request",r5);q("request",{version:"1.0.0"})});function Mx(e){let t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0].toLocaleLowerCase();return t==="array"&&(t="object"),l5.includes(t)?t:""}function jx(e,t){try{switch(t){case"string":return e;case"object":return JSON.parse(e);case"number":return parseFloat(e);case"boolean":return e==="true";default:return""}}catch(r){return""}}function Ux(e,t){try{switch(t){case"string":case"number":case"boolean":return`${e}`;case"object":return JSON.stringify(e);default:return""}}catch(r){return""}}var fs,i5,o5,a5,s5,x8,S8,l5,Ui,Nd,Dd=T(()=>{"use strict";pt();Ae();D();wt();Q();fs=me(),i5=Re("getLocalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){let{response:t}=yield ne(`/api/games/user-storage/${x.mpId}`,{method:"GET",responseType:"json",appendHostCookie:!0,query:{key:e}}),{data:{code:r,message:n,data:i}}=yield t;if(r==="SUCCESS")return{code:r,message:n,data:i==null?void 0:i.value};try{let{data:{data:o,dataType:a}}=yield he("getLocalStorageAsync",{key:e}),s=jx(o,a);return{code:r,message:`${n}. fallback to native`,data:s}}catch(o){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get local storage failed",data:null}}})}});fs.registerCommand("StorageSDK.getItem",i5);q("storage.getItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});o5=Re("setStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number())),implement(e,t){return I(this,null,function*(){let r=x.mpId,n=typeof t=="string"?t:String(t),{response:i}=yield ne(`/api/games/user-storage/${r}`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e,value:n}}),{data:{code:o,message:a}}=i,s=Mx(t),l=Ux(t,s);return yield he("setLocalStorageAsync",{key:e,data:l,dataType:s}),o=="SUCCESS"?{code:o,message:a}:{code:o,message:`${a}. fallback to native`}})}});fs.registerCommand("StorageSDK.setItem",o5);q("storage.setItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});a5=Re("removeStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){let t=x.mpId,{response:r}=yield ne(`/api/games/user-storage/${t}/remove`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e}}),{data:{code:n,message:i}}=r;return yield he("removeLocalStorageAsync",{key:e}),n==="SUCCESS"?{code:n,message:i}:{code:n,message:"[Jolibox SDK] remove item succ"}})}});fs.registerCommand("StorageSDK.removeItem",a5);q("storage.removeItem",{version:"1.0.0",properties:{key:"1.0.0"}});s5=Re("clearStorage",{implement(){return I(this,null,function*(){let e=x.mpId,{response:t}=yield ne(`/api/games/user-storage/${e}/clear`,{method:"POST",appendHostCookie:!0});he("clearLocalStorageAsync");let{data:{code:r,message:n}}=t;return r==="SUCCESS"?{code:r,message:n}:{code:r,message:`${n}.fallback to native`}})}});fs.registerCommand("StorageSDK.clear",s5);q("storage.clear",{version:"1.0.0"});x8=Re("getStorageInfo",{implement(){return I(this,null,function*(){let{data:e}=yield he("getStorageInfoAsync");return e})}});q("getStorageInfo",{version:"1.0.0",success:{keys:"1.0.0",currentSize:"1.0.0",limitSize:"1.0.0"}});S8=K("getStorageInfoSync",{implement(){return F("getStorageInfoSync")}}),l5=["string","number","boolean","object",""];Ui=Re("getGlobalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){try{let{data:{data:t,dataType:r}}=yield he("getGlobalStorageAsync",{key:e});return{code:"SUCCESS",message:"success",data:jx(t,r)}}catch(t){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get global storage failed",data:null}}})}}),Nd=Re("setGlobalStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number(),S.array())),implement(e,t){return I(this,null,function*(){try{let r=Mx(t),n=Ux(t,r);return yield he("setGlobalStorageAsync",{key:e,data:n,dataType:r}),{code:"SUCCESS",message:"success"}}catch(r){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] set global storage failed"}}})}})});var c5,u5,d5,qd,Bx=T(()=>{"use strict";D();Ae();pt();c5=K("showKeyboard",{paramsSchema:S.tuple(S.object({defaultValue:S.string().optional().default(""),multiple:S.boolean().optional().default(!1),maxLength:S.unknown().optional().default(1e5)})),implement(e){var n;let t=Math.floor((n=Number(e.maxLength))!=null?n:1e5),{defaultValue:r}=e;r&&t&&(r=r.slice(0,t)),F("showKeyboardSync",L(P({},e),{defaultValue:r,maxLength:t}))}});q("keyboard.showKeyboard",{version:"1.0.0",properties:{params:{defaultValue:"1.0.0",multiple:"1.0.0",confirmHold:"1.0.0",confirmType:"1.0.0",maxLength:"1.0.0"}},success:{errMsg:"1.0.0"}});u5=K("updateKeyboard",{paramsSchema:S.tuple(S.object({value:S.string()})),implement(e){F("updateKeyboardSync",e)}});q("keyboard.updateKeyboard",{version:"1.0.0",properties:{params:{value:"1.0.0"}}});d5=K("hideKeyboard",{implement(){F("hideKeyboardSync")}});q("keyboard.hideKeyboard",{version:"1.0.0"});qd=me();qd.registerCommand("KeyboardSDK.showKeyboard",c5);qd.registerCommand("KeyboardSDK.updateKeyboard",u5);qd.registerCommand("KeyboardSDK.hideKeyboard",d5)});var Jx=h(ps=>{"use strict";D();pt();_r();var Ld=me(),f5=Re("levelFinished",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),duration:S.number().optional(),rating:S.number().optional(),score:S.number().optional()})),implement:e=>I(ps,null,function*(){let{levelId:t,duration:r,rating:n,score:i}=e,o=[];o.push(qt.tracker("LevelFinished",{levelId:t,duration:r,rating:n,score:i})),o.push(qt.reporter({event:"COMPLETE_GAME_LEVEL"})),yield Promise.all(o)})}),p5=Re("gamePlayEnded",{paramsSchema:S.tuple(S.object({duration:S.number().optional(),rating:S.number().optional(),score:S.number()})),implement:e=>I(ps,null,function*(){let{duration:t,rating:r,score:n}=e;return qt.tracker("GamePlayEnded",{duration:t,rating:r,score:n})})}),h5=Re("levelUpgrade",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),name:S.string().optional()})),implement:r=>I(ps,[r],function*({levelId:e,name:t}){let n=[];n.push(qt.tracker("LevelUpgrade",{name:t,levelId:e})),yield Promise.all(n)})});Ld.registerCommand("TaskTrackerSDK.levelFinished",f5);Ld.registerCommand("TaskTrackerSDK.gamePlayEnded",p5);Ld.registerCommand("TaskTrackerSDK.levelUpgrade",h5);q("TaskTrackerSDK.onLevelFinished",{version:"1.1.25",properties:{params:{levelId:"1.1.25",duration:"1.1.25",rating:"1.1.25",score:"1.1.25"}}});q("TaskTrackerSDK.onGamePlayEnded",{version:"1.1.25",properties:{params:{duration:"1.1.25",rating:"1.1.25",score:"1.1.25"}}});q("TaskTrackerSDK.onLevelUpgrade",{version:"1.1.25",properties:{params:{levelId:"1.1.25",name:"1.1.25"}}})});var Fd,m5,$x,Md=T(()=>{"use strict";Q();Ae();pt();D();Mr();q("login",{version:"1.0.0",properties:{force:"1.0.0"},success:{errMsg:"1.0.0",code:"1.0.0",token:"1.0.0",isLogin:"1.0.0"}});q("checkSession",{version:"1.0.0",success:{errMsg:"1.0.0"}});Fd=Re("login",{implement(){return I(this,null,function*(){var a;let{data:{isLogin:e}}=yield he("checkLoginAsync");if(e)return{isLogin:!0,token:(a=x.hostUserInfo)==null?void 0:a.token};let t=F("loginSync"),{data:{uuid:r}}=t;if(!r)throw er({code:-1,msg:"login failed"});He("onLoginStateChange",({isLogin:s,token:l,uuid:c})=>{c==r&&i({isLogin:s,token:l})});let{promise:n,resolve:i}=new yt,o=yield n;return x.onEnvConfigChanged({hostUserInfo:o}),we.emit("onLoginComplete",o),o})}}),m5=Re("checkSession",{implement(){return I(this,null,function*(){let{data:{isLogin:e}}=yield he("checkLoginAsync");return{isLogin:e}})}}),$x=me();$x.registerCommand("API.login",Fd);$x.registerCommand("API.checkSession",m5)});var mn,hs,ht,ms,vn,vs,hn,v5,G,gn,Dr=T(()=>{"use strict";D();mn="UNLOCK_OPTIONS_CHANGED",hs="INVOKE_PAYMENT",ht="ON_PAYMENT_RESULT",ms="ON_USE_MODAL_EVENT",vn="ON_USE_MODAL_RESULT",vs="ON_USE_MODAL_FREQUENCY",hn=new bt,v5=()=>({on:hn.on.bind(hn),off:hn.off.bind(hn),emit:hn.emit.bind(hn)}),G=v5(),gn={charge:{dailyMaxPopUps:2,minInterval:8*60*60*1e3},useJolicoin:{dailyMaxPopUps:2,minInterval:8*60*60*1e3}}});function Gt(e,t){let r=null,n=null,i=null,o=()=>{if(i){r=Promise.resolve(i);return}r=new Promise(a=>{n=a})};return o(),e.on(t,(...a)=>{let s=a[0];i=s,n&&(n(s),n=null)}),{getData:()=>(r||o(),r),getCachedData:()=>i,clearCache:()=>{i=null,r=null},getFreshData:()=>(i=null,r=null,o(),r)}}var Bi=T(()=>{"use strict"});var jd,Hx=T(()=>{"use strict";jd=e=>{let t=new Date,r=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),n=r+24*60*60*1e3;return e.filter(i=>i>=r&&i<n)}});var gs,zx,Vx,Gx,Wx,Kx=T(()=>{"use strict";Dd();Hx();gs=e=>{let t;try{t=JSON.parse(e)}catch(r){t=[]}return t},zx=e=>I(void 0,null,function*(){let{dailyMaxPopUps:t,minInterval:r}=e,n=yield Ui("joli_coin_use_modal_frequency");if(console.log("checkUseModalFrequency",n.data),!n.data)return!0;let i=gs(n.data),o=jd(i);return!(o.length>=t||Date.now()-o[o.length-1]<r)}),Vx=()=>I(void 0,null,function*(){var n;let e=Date.now(),t=yield Ui("joli_coin_use_modal_frequency"),r=gs((n=t.data)!=null?n:"[]");r.push(e),r.sort((i,o)=>o-i).splice(8),yield Nd("joli_coin_use_modal_frequency",JSON.stringify(r))}),Gx=e=>I(void 0,null,function*(){let{dailyMaxPopUps:t,minInterval:r}=e,n=yield Ui("joli_coin_payment_frequency");if(console.log("checkPaymentFrequency",n.data),!n.data)return!0;let i=gs(n.data),o=jd(i);return!(o.length>=t||Date.now()-o[o.length-1]<r)}),Wx=()=>I(void 0,null,function*(){var n;let e=Date.now(),t=yield Ui("joli_coin_payment_frequency"),r=gs((n=t.data)!=null?n:"[]");r.push(e),r.sort((i,o)=>o-i).splice(8),yield Nd("joli_coin_payment_frequency",JSON.stringify(r))})});function Yx(){let e=new Map;return{registerPaymentHandler(r,n){e.set(r,n)},invokePayment(r,...n){return I(this,null,function*(){let i=e.get(r);if(!i)return{code:"FAILED",message:`[joliboxSDK]: ${r} payment not supported in this platform`};try{return yield i(...n)}catch(o){return ke(o),{code:"FAILED",message:`[joliboxSDK]: paymenterror ${o}`}}})}}}var Qx=T(()=>{"use strict";st()});var ys=T(()=>{"use strict"});var g5,yn,fr,y5,qr,Ud=T(()=>{"use strict";ys();D();Q();wt();g5=()=>{let[e,t]=[sp,cp].map(r=>(n,i,o)=>new r(n,i,o));return{createPaymentError:e,createPaymentInternalError:t}},{createPaymentError:yn,createPaymentInternalError:fr}=g5(),y5=x.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com",qr=class{constructor(){this._orderId=null;this._orderStatus="INIT";this.startPayment=t=>I(this,null,function*(){this._orderId&&(yield this.cancelOrder(this.orderId));let{code:r,message:n}=yield this.placeOrder(t);if(r!=="SUCCESS")throw yn(n,1001);return yield this.pay()});this.cancelOrder=t=>I(this,null,function*(){var n,i;let{response:r}=yield ne(`/api/orders/${t}/cancel`,{method:"POST",data:{}});if(r.code!=="SUCCCESS")throw yn((i=(n=r.message)!=null?n:r.errMsg)!=null?i:"",1003)});this.generateCallbackUrl=()=>{let t=new URLSearchParams("");return t.set("utm_source",x.deviceInfo.platform),t.set("joliSource",x.encodeJoliSourceQuery(P({},this.generatePaymentContext()))),`${y5}//payment/callback?${t.toString()}`}}get orderId(){return this._orderId}get status(){return this._orderStatus}}});var Bd,Zx,eS=T(()=>{"use strict";wt();Ud();ys();Bd=class extends qr{constructor(r){super();this.productId=r;this.generatePaymentContext=()=>({type:"JOLI_COIN_ORDER_CONTEXT",state:"TO_VALIDATE",productId:this.productId,orderId:this.orderId});this.pay=()=>I(this,null,function*(){let r=this.generateCallbackUrl();return console.info("callbackUrl",r),{code:"SUCCESS",message:"jolicoin payment success"}})}placeOrder(r){return I(this,null,function*(){var n,i,o,a;try{let{response:s}=yield ne("/api/orders/checkout/joli-coin",{method:"POST",data:{productId:r.productId}});if(s.code!=="SUCCESS")throw yn((i=(n=s.errMsg)!=null?n:s.message)!=null?i:"",1002);return{code:"SUCCESS",message:(o=s.message)!=null?o:"placeorder jolicoin success",data:s.data}}catch(s){throw console.info("[JoliboxSDK] placeorder failed",s),fr((a=JSON.stringify(s))!=null?a:"jolicoin placeorder failed",1002)}})}},Zx=()=>{let e=new Map;return t=>I(void 0,null,function*(){let r=e.get(t);return r||(r=new Bd(t),e.set(t,r)),yield r.startPayment({productId:t}),{code:"SUCCESS",message:"jolicoin payment success"}})}});var tS,rS=T(()=>{"use strict";tS={SUCCESS:"unlockSuccess",FAIL_NOT_LOGIN:"unlockFailedNotLogin",FAIL_PAYING:"unlockFailedPaying",FAIL_PRODUCT_EMPTY:"unlockFailedProductIdNotFound",FAIL_GET_PRODUCT_INFO:"unlockFailedProductInvalid",FAIL_LAUNCH_BILLING:"unlockFailedLaunch",FAIL_TRANSACTION:"unlockFailedTransaction",FAIL_VERIFY:"unlockFaileVerify",TRANSACTION_PENDING:"transactionPending",FAILED:"unlockFailed"}});var Jd,nS,$d,Hd,_5,iS,oS=T(()=>{"use strict";wt();Ud();ys();Ae();D();Q();Nr();rS();Jd=new Map;He("onPaymentStateChange",e=>{var a;console.info("onPaymentStateChange",e);let{orderUUID:t,status:r,totalAmount:n,orderResponse:i}=e,o=Jd.get(t);if(o){if(r==="SUCCESS")ji("{slot-success} {slot-i18n-jolicoin.unlockSuccess}",{position:"center",duration:3e3}),o.resolve({code:"SUCCESS",message:"jolicoin payment success",data:{totalAmount:n}});else{if(r==="FAILED"&&tp(i==null?void 0:i.errNo)&&(i==null?void 0:i.errNo)!==0)throw fr(`jolicoin payment failed: ${i==null?void 0:i.errMsg}`,1002);let s=(a=tS[r])!=null?a:"unlockFailed";ji(`{slot-error} {slot-i18n-jolicoin.${s}}`,{position:"center",duration:3e3}),o.resolve({code:"FAILED",message:"jolicoin payment failed"})}Jd.delete(t)}});nS=e=>I(void 0,null,function*(){var n,i;let t=new yt,r;try{let o=yield he("requestPaymentSync",{paymentBody:{appStoreProductId:e.appStoreProductId,appAccountToken:e.appAccountToken}});if(r=(n=o.data)==null?void 0:n.orderUUID,console.info("---payInApp---",o),!r)throw fr("orderUUID is null",1002);Jd.set(r,t)}catch(o){throw fr((i=JSON.stringify(o))!=null?i:"jolicoin payment failed",1002)}return t.promise}),$d=class extends qr{constructor(r,n){super();this.productId=r;this.appStoreProductId=n;this.generatePaymentContext=()=>({type:"JOLI_COIN_IAP_CONTEXT",state:"TO_VALIDATE",productId:this.productId,appStoreProductId:this.appStoreProductId});this.pay=()=>I(this,null,function*(){return yield nS({appStoreProductId:this.appStoreProductId})})}placeOrder(r){return I(this,null,function*(){return{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},Hd=class extends qr{constructor(r,n){super();this.productId=r;this.appStoreProductId=n;this.generatePaymentContext=()=>({type:"JOLI_COIN_IAP_CONTEXT",state:"TO_VALIDATE",productId:this.productId,appStoreProductId:this.appStoreProductId});this.pay=()=>I(this,null,function*(){return yield nS({appStoreProductId:this.appStoreProductId,appAccountToken:this.appAccountToken})})}placeOrder(r){return I(this,null,function*(){var a;console.log("----start place order for ios----");let{response:n}=yield ne("/api/orders/iap-init",{method:"GET",appendHostCookie:!0}),{data:i,code:o}=n!=null?n:{};if(console.log("----iap init----",i,o),i.code!=="SUCCESS")throw fr("iap-init failed",1002);return this.appAccountToken=(a=i==null?void 0:i.data)==null?void 0:a.iapToken,{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},_5={android:$d,ios:Hd},iS=()=>{let e=new Map;return t=>I(void 0,null,function*(){let{productId:r,appStoreProductId:n}=t,i=e.get(r);if(!i){let s=_5[x.platform];if(!s)throw fr("platform not supported",1002);i=new s(r,n),e.set(r,i)}let{code:o,message:a}=yield i.startPayment({productId:r,appStoreProductId:n});if(o!=="SUCCESS")throw yn(a,1002);return{code:"SUCCESS",message:"jolicoin payment success"}})}});var _s,aS=T(()=>{"use strict";Qx();eS();oS();_s=Yx();_s.registerPaymentHandler("JOLI_COIN",Zx());_s.registerPaymentHandler("JOLI_COIN_IAP",iS())});var cS=h(Wt=>{"use strict";Dr();Nr();wt();Q();Md();Bi();Kx();aS();Nr();pt();Ae();D();var Vd=Gt(G,vs);Vd.getData();var pr=wd(),zd=Promise.resolve(),lS=e=>I(Wt,null,function*(){zd=zd.then(()=>I(Wt,null,function*(){yield ne("/api/joli-coin/user-config",{method:"POST",appendHostCookie:!0,data:{enableAutoDeduct:e}})})),yield zd});G.on(ms,(e,t)=>I(Wt,null,function*(){if(e==="ADS-JOLI_COIN"){yield pr.show({duration:3e3});let n=yield Vd.getData(),i=yield zx(n.joliCoinUseAndCharge.useJolicoin);if(console.log("use modal show by frequency",i),pr.hide(),!i){G.emit(vn,{useModalResult:"CONFIRM"});return}}let r=ix({data:{enableAutoDeduct:t.enableAutoDeduct,userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>{G.emit(vn,{useModalResult:"CONFIRM"}),r.destroy()}},cancel:{text:t.cancelButtonText,onPress:({type:n})=>{G.emit(vn,{useModalResult:(n!=null?n:"")==="CANCEL"?"CANCEL":"FAILED"}),r.destroy()}},onEnableDeductChanged:n=>I(Wt,null,function*(){yield lS(n)})}});yield Vx()}));G.on(hs,(e,t)=>I(Wt,null,function*(){var r,n;try{if(!kx("requestPaymentSync:paymentBody:appStoreProductId")){console.info("requestPaymentSync:paymentBody:appStoreProductId not supported"),setTimeout(()=>{G.emit(ht,{paymentResult:"FAILED"})},0);return}if(e==="ADS-JOLI_COIN"){yield pr.show({duration:3e3});let a=yield Vd.getData(),s=yield Gx(a.joliCoinUseAndCharge.charge);if(console.log("use payment show by frequency",s),pr.hide(),!s){G.emit(ht,{paymentResult:"SUCCESS"});return}console.log("show by frequency")}yield pr.show({duration:3e3});let i=yield sS();if(pr.hide(),!i){G.emit(ht,{paymentResult:"FAILED"});return}let o=ox({data:{userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity,paymentChoices:(n=(r=i.paymentChoices)==null?void 0:r.map(a=>{var s;return L(P({},a),{totalAmountStr:(s=a.totalAmountStr)!=null?s:""})}))!=null?n:[],enableAutoDeduct:i.enableAutoDeduct},buttons:{confirm:{text:t.confirmButtonText,onPress:a=>I(Wt,null,function*(){var c,d,u,p;if(!((c=x.hostUserInfo)!=null&&c.isLogin)){let{data:f}=yield Fd();if(!(f!=null&&f.isLogin)){console.log("login failed");return}let m=yield sS();if(((d=m==null?void 0:m.balance)!=null?d:0)>=t.joliCoinQuantity){G.emit(ht,{paymentResult:"SUCCESS"}),o.destroy();return}}console.log("invokeNativePayment",a);let s=(p=(u=i==null?void 0:i.paymentChoices)==null?void 0:u.find(f=>f.productId===a))==null?void 0:p.appStoreProductId;if(!s){G.emit(ht,{paymentResult:"FAILED"}),o.destroy();return}yield pr.show({duration:3e3});let{code:l}=yield _s.invokePayment("JOLI_COIN_IAP",{productId:a,appStoreProductId:s});if(pr.hide(),l!=="SUCCESS"){console.info("[JoliboxSDK] payment failed in payment.invokePaymet");return}G.emit(ht,{paymentResult:"SUCCESS"}),o.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:a})=>{G.emit(ht,{paymentResult:(a!=null?a:"")==="CANCEL"?"CANCEL":"FAILED"}),o.destroy()}},onEnableDeductChanged:a=>I(Wt,null,function*(){yield lS(a)})}});yield Wx()}catch(i){console.info("payment failed",i),G.emit(ht,{paymentResult:"FAILED"})}}));var b5=(e,t)=>{Object.keys(t).forEach(r=>{let n=e.paymentChoices.find(i=>i.appStoreProductId===r);n&&(n.totalAmountStr=t[r].price)}),e.paymentChoices=e.paymentChoices.filter(r=>!hl(r.totalAmountStr)),console.info("----mergeResponseData-----",e.paymentChoices)},sS=()=>I(Wt,null,function*(){var r,n,i,o,a,s,l,c;let{response:e}=yield ne("/api/joli-coin/balance-detail",{method:"GET",appendHostCookie:!0,responseType:"json"});console.info("getBalenceDetails",e);let{data:t}=yield he("requestProductDetailsAsync",{appStoreProductIds:(o=(i=(n=(r=e.data)==null?void 0:r.data)==null?void 0:n.paymentChoices)==null?void 0:i.filter(d=>typeof d.appStoreProductId=="string").map(d=>d.appStoreProductId))!=null?o:[]});return(a=e.data)!=null&&a.data&&t&&b5((s=e.data)==null?void 0:s.data,t),console.info("productDetails",(l=e.data)==null?void 0:l.data),(c=e.data)==null?void 0:c.data})});function et(e,t,r){return(t=x5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x5(e){var t=S5(e,"string");return typeof t=="symbol"?t:t+""}function S5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bs(e,t,r){return(t=A5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A5(e){var t=k5(e,"string");return typeof t=="symbol"?t:t+""}function k5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function L5(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function F5(e){return typeof e=="string"}function M5(e){return typeof e=="undefined"}function j5(e){return M5(e)||e===null}function U5(e){return typeof e=="function"}function LS(e){let t=e,r=null,n=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r||(r=new t(...o)),r};return n.prototype=t.prototype,n}function Ji(e){return function(){var t,r;((r=(t=globalThis.VConsole)==null?void 0:t[e])!=null?r:globalThis.console[e])(...arguments)}}function Es(e,t){return t.map(r=>{if(r==="params"&&e[r]){let n=e[r];return Object.keys(n).reduce((i,o)=>(i[o]=String(n[o]),i),{})}return e[r]})}function G5(e){let t=e.location?Es(e.location,mS):null,r=e.target?Es(e.target,mS):null;return Es(N5(O5({},e),{location:t,target:r}),z5)}function W5(e){let t=e.events.map(n=>G5(n)),r=Es(e.device,V5);return[e.protocolVersion,t,r,e.project]}function K5(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function e3(e){return new Promise(t=>US(e)(t))}function US(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function t3(e,t){return(r=>{let n={onWillAddFirstListener(){r(i.fire,i)}},i=new Gi(n);return i.event})(function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e(i=>t(i)&&r.call(n,i),null)})}function n3(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)i3(e[n],t[n])}function i3(e,t){if(F5(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(U5(t)){try{if(e instanceof t)return}catch(r){}if(!j5(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function Wd(e,t,r){return(t=o3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o3(e){var t=a3(e,"string");return typeof t=="symbol"?t:t+""}function a3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ws(e,t,r){return(t=s3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s3(e){var t=l3(e,"string");return typeof t=="symbol"?t:t+""}function l3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kt(e,t,r){return(t=c3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c3(e){var t=u3(e,"string");return typeof t=="symbol"?t:t+""}function u3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d3(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function f3(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}function y3(e,t){return Oe(e,0)^45?(((t<<2^Oe(e,0))<<2^Oe(e,1))<<2^Oe(e,2))<<2^Oe(e,3):0}function $S(e){return e.trim()}function _3(e,t){return(e=t.exec(e))?e[0]:e}function J(e,t,r){return e.replace(t,r)}function cf(e,t){return e.indexOf(t)}function Oe(e,t){return e.charCodeAt(t)|0}function Wi(e,t,r){return e.slice(t,r)}function Ot(e){return e.length}function bf(e){return e.length}function Is(e,t){return t.push(e),e}function b3(e,t){return e.map(t).join("")}function Ls(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:qs,column:In,length:a,return:""}}function Hi(e,t){return g3(Ls("",null,null,"",null,null,0),e,{length:-e.length},t)}function w3(){return be}function I3(){return be=We>0?Oe(En,--We):0,In--,be===10&&(In=1,qs--),be}function rt(){return be=We<HS?Oe(En,We++):0,In++,be===10&&(In=1,qs++),be}function Nt(){return Oe(En,We)}function xs(){return We}function Yi(e,t){return Wi(En,e,t)}function Ki(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zS(e){return qs=In=1,HS=Ot(En=e),We=0,[]}function VS(e){return En="",e}function Ss(e){return $S(Yi(We-1,uf(e===91?e+2:e===40?e+1:e)))}function E3(e){for(;(be=Nt())&&be<33;)rt();return Ki(e)>2||Ki(be)>3?"":" "}function x3(e,t){for(;--t&&rt()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Yi(e,xs()+(t<6&&Nt()==32&&rt()==32))}function uf(e){for(;rt();)switch(be){case e:return We;case 34:case 39:e!==34&&e!==39&&uf(be);break;case 40:e===41&&uf(e);break;case 92:rt();break}return We}function S3(e,t){for(;rt()&&e+be!==57&&!(e+be===84&&Nt()===47););return"/*"+Yi(t,We-1)+"*"+Ds(e===47?e:rt())}function A3(e){for(;!Ki(Nt());)rt();return Yi(e,We)}function k3(e){return VS(As("",null,null,null,[""],e=zS(e),0,[0],e))}function As(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=rt()){case 40:if(m!=108&&Oe(E,u-1)==58){cf(E+=J(Ss(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Ss(_);break;case 9:case 10:case 13:case 32:E+=E3(m);break;case 92:E+=x3(xs()-1,7);continue;case 47:switch(Nt()){case 42:case 47:Is(T3(S3(rt(),xs()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=Ot(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:g==-1&&(E=J(E,/\f/g,"")),f>0&&Ot(E)-u&&Is(f>32?yS(E+";",n,r,u-1):yS(J(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(Is(C=gS(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)As(E,t,C,C,k,o,u,s,R);else switch(p===99&&Oe(E,3)===110?100:p){case 100:case 108:case 109:case 115:As(e,C,C,n&&Is(gS(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:As(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+Ot(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&I3()==125)continue}switch(E+=Ds(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(Ot(E)-1)*g,g=1;break;case 64:Nt()===45&&(E+=Ss(rt())),p=Nt(),d=u=Ot(w=E+=A3(xs())),_++;break;case 45:m===45&&Ot(E)==2&&(v=0)}}return o}function gS(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=bf(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Wi(e,u+1,u=v3(v=a[m])),w=e;g<f;++g)(w=$S(v>0?p[g]+" "+_:J(_,/&\f/g,p[g])))&&(l[y++]=w);return Ls(e,t,r,i===0?yf:s,l,c,d)}function T3(e,t,r){return Ls(e,t,r,BS,Ds(w3()),Wi(e,2,-2),0)}function yS(e,t,r,n){return Ls(e,t,r,_f,Wi(e,0,n),Wi(e,n+1,-1),n)}function wn(e,t){for(var r="",n=bf(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function P3(e,t,r,n){switch(e.type){case m3:if(e.children.length)break;case h3:case _f:return e.return=e.return||e.value;case BS:return"";case JS:return e.return=e.value+"{"+wn(e.children,n)+"}";case yf:e.value=e.props.join(",")}return Ot(r=wn(e.children,n))?e.return=e.value+"{"+r+"}":""}function C3(e){var t=bf(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function R3(e){return function(t){t.root||(t=t.return)&&e(t)}}function O3(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function GS(e,t){switch(y3(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+Ps+e+Me+e+e;case 6828:case 4268:return B+e+Me+e+e;case 6165:return B+e+Me+"flex-"+e+e;case 5187:return B+e+J(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+Me+"flex-$1$2")+e;case 5443:return B+e+Me+"flex-item-"+J(e,/flex-|-self/,"")+e;case 4675:return B+e+Me+"flex-line-pack"+J(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+Me+J(e,"shrink","negative")+e;case 5292:return B+e+Me+J(e,"basis","preferred-size")+e;case 6060:return B+"box-"+J(e,"-grow","")+B+e+Me+J(e,"grow","positive")+e;case 4554:return B+J(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+Me+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ot(e)-1-t>6)switch(Oe(e,t+1)){case 109:if(Oe(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+Ps+(Oe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cf(e,"stretch")?GS(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Oe(e,t+1)!==115)break;case 6444:switch(Oe(e,Ot(e)-3-(~cf(e,"!important")&&10))){case 107:return J(e,":",":"+B)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(Oe(e,14)===45?"inline-":"")+"box$3$1"+B+"$2$3$1"+Me+"$2box$3")+e}break;case 5936:switch(Oe(e,t+11)){case 114:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+Me+e+e}return e}function B3(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Cs(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return hr={name:i.name,styles:i.styles,next:hr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)hr={name:a.name,styles:a.styles,next:hr},a=a.next;var s=o.styles+";";return s}return z3(e,t,r)}}var l=r;if(t==null)return l;var c=t[l];return c!==void 0?c:l}function z3(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Cs(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":bS(s)&&(n+=Kd(o)+":"+wS(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)bS(a[l])&&(n+=Kd(o)+":"+wS(o,a[l])+";");else{var c=Cs(e,t,a);switch(o){case"animation":case"animationName":{n+=Kd(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function Yd(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";hr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Cs(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Cs(r,t,e[s]),n){var l=o;i+=l[s]}IS.lastIndex=0;for(var c="",d;(d=IS.exec(i))!==null;)c+="-"+d[1];var u=B3(i)+c;return{name:u,styles:i,next:hr}}function KS(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}function ES(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function xS(e,t,r){var n=[],i=KS(e,n,r);return n.length<2?r:i+t(n)}function Q3(e,t){Se.__h&&Se.__h(tt,e,AS||t),AS=0;var r=tt.__H||(tt.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function QS(e,t){var r=Q3(df++,7);return eJ(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function X3(){for(var e;e=YS.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ks),e.__H.__h.forEach(ff),e.__H.__h=[]}catch(t){e.__H.__h=[],Se.__e(t,e.__v)}}function Z3(e){var t,r=function(){clearTimeout(n),NS&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);NS&&(t=requestAnimationFrame(r))}function ks(e){var t=tt,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),tt=t}function ff(e){var t=tt;e.__c=e.__(),tt=t}function eJ(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Fs(){if(mr>1)mr--;else{for(var e,t=!1;zi!==void 0;){var r=zi;for(zi=void 0,pf++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&ZS(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if(pf=0,mr--,t)throw e}}function Ge(e){if(mr>0)return e();mr++;try{return e()}finally{Fs()}}function XS(e){if(W!==void 0){var t=e.n;if(t===void 0||t.t!==W)return t={i:0,S:e,p:W.s,n:void 0,t:W,e:void 0,x:void 0,r:t},W.s!==void 0&&(W.s.n=t),W.s=t,e.n=t,32&W.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=W.s,t.n=void 0,W.s.n=t,W.s=t),t}}function Ne(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function Y(e){return new Ne(e)}function ZS(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function eA(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function tA(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Sn(e){Ne.call(this,void 0),this.x=e,this.s=void 0,this.g=Rs-1,this.f=4}function Vi(e){return new Sn(e)}function rA(e){var t=e.u;if(e.u=void 0,typeof t=="function"){mr++;var r=W;W=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,wf(e),n}finally{W=r,Fs()}}}function wf(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,rA(e)}function rJ(e){if(W!==this)throw new Error("Out-of-order effect");tA(this),W=e,this.f&=-2,8&this.f&&wf(this),Fs()}function Qi(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Xi(e){var t=new Qi(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}function An(e,t){O[e]=t.bind(null,O[e]||function(){})}function Os(e){Xd&&Xd(),Xd=e&&e.S()}function oA(e){var t=this,r=e.data,n=aA(r);n.value=r;var i=QS(function(){for(var s=t,l=t.__v;l=l.__;)if(l.__c){l.__c.__$f|=4;break}var c=Vi(function(){var f=n.value.value;return f===0?0:f===!0?"":f||""}),d=Vi(function(){return!Array.isArray(c.value)&&!Dl(c.value)}),u=Xi(function(){if(this.N=sA,d.value){var f=c.value;s.__v&&s.__v.__e&&s.__v.__e.nodeType===3&&(s.__v.__e.data=f)}}),p=t.__$u.d;return t.__$u.d=function(){u(),p.call(this)},[d,c]},[]),o=i[0],a=i[1];return o.value?a.peek():a.value}function nJ(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=Y(r);return{o:function(a,s){o.value=a,n=s},d:Xi(function(){this.N=sA;var a=o.value.value;n[t]!==a&&(n[t]=a,i?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}function aA(e){return QS(function(){return Y(e)},[])}function oJ(){Ge(function(){for(var e;e=iA.shift();)nA.call(e)})}function sA(){iA.push(this)===1&&(O.requestAnimationFrame||iJ)(oJ)}function aJ(e,t){let r=si(e);Yr(()=>{r.current=e},[e]),ai(()=>{if(t===null)return;let n=setInterval(()=>{r.current()},t);return()=>{clearInterval(n)}},[t])}function pe(e,t,r,n,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--sJ,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return O.vnode&&O.vnode(c),c}function Yt(e,t,r){return(t=_J(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _J(e){var t=bJ(e,"string");return typeof t=="symbol"?t:t+""}function bJ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qt(e,t,r){return(t=xJ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xJ(e){var t=SJ(e,"string");return typeof t=="symbol"?t:t+""}function SJ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rt(e,t,r){return(t=AJ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AJ(e){var t=kJ(e,"string");return typeof t=="symbol"?t:t+""}function kJ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uS,w5,I5,E5,Zd,ef,DS,T5,P5,dS,C5,R5,fS,O5,N5,D5,qS,q5,B5,J5,pS,$5,hS,H5,FS,MS,jS,mS,z5,V5,tf,ie,Y5,Q5,$i,Gi,X5,nf,Z5,Gd,r3,of,vS,af,sf,lf,p3,Me,Ps,B,BS,yf,_f,h3,JS,m3,v3,Ds,g3,qs,In,HS,We,be,En,N3,D3,q3,_S,L3,F3,M3,j3,U3,J3,$3,H3,WS,bS,Kd,wS,IS,hr,V3,G3,W3,K3,Y3,xn,df,tt,Qd,SS,AS,YS,Se,kS,TS,PS,CS,RS,OS,NS,tJ,W,zi,mr,pf,Rs,nA,Xd,iA,iJ,je,sJ,lJ,Xt,hf,mf,Ts,cJ,uJ,dJ,fJ,pJ,hJ,mJ,vJ,gJ,yJ,vf,bn,_n,wJ,IJ,EJ,gf,Ns,e7,lA=T(()=>{"use strict";Ur();Fo();uS=Object.getOwnPropertySymbols,w5=Object.prototype.hasOwnProperty,I5=Object.prototype.propertyIsEnumerable,E5=(e,t)=>{var r={};for(var n in e)w5.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&uS)for(var n of uS(e))t.indexOf(n)<0&&I5.call(e,n)&&(r[n]=e[n]);return r};Zd=class{constructor(t){et(this,"context",void 0),et(this,"continueCallback",void 0),et(this,"adIsShowingCallback",void 0),et(this,"isBeforeAdCalled",!1),et(this,"isBeforeRewardCalled",!1),et(this,"isAdDismissedCalled",!1),et(this,"isAdViewedCalled",!1),et(this,"isAfterAdCalled",!1),et(this,"currentProvider",void 0),et(this,"currentClientParams",void 0),et(this,"adsHasResponse",!1),et(this,"videoChecker",window.document.createElement("video")),et(this,"wrapShowAdFn",r=>()=>{var n;this.adsHasResponse=!0;let i=!1;this.videoChecker.play().catch(()=>{i=!1}),i=!this.videoChecker.paused,this.videoChecker.pause(),this.context.track("CallShowAdFn",Object.assign({},{userEvent:i},this.paramsToTrack)),(n=this.adIsShowingCallback)==null||n.call(this,!0),r()}),this.context=t}get paramsToTrack(){var t,r,n,i,o,a;return{provider:(r=(t=this.currentProvider)==null?void 0:t.name)!=null?r:null,type:(n=this.currentClientParams)==null?void 0:n.type,name:((i=this.currentClientParams)==null?void 0:i.type)==="preroll"?null:(a=(o=this.currentClientParams)==null?void 0:o.name)!=null?a:""}}wrapBeforeAd(t){return()=>{var r,n;this.adsHasResponse=!0,this.context.track("CallBeforeAd",this.paramsToTrack),this.isBeforeAdCalled||(this.isBeforeAdCalled=!0,t==null||t(),((r=this.currentClientParams)==null?void 0:r.type)!=="reward"&&((n=this.adIsShowingCallback)==null||n.call(this,!0)))}}wrapBeforeReward(t){return r=>{this.adsHasResponse=!0,this.isBeforeRewardCalled?this.wrapShowAdFn(r)():(this.isBeforeRewardCalled=!0,t==null||t(this.wrapShowAdFn(r)))}}wrapAdDismissed(t){return()=>{this.adsHasResponse=!0,this.isAdDismissedCalled||(this.isAdDismissedCalled=!0,t==null||t())}}wrapAdViewed(t){return()=>{this.adsHasResponse=!0,this.isAdViewedCalled||(this.isAdViewedCalled=!0,t==null||t())}}wrapAfterAd(t){return()=>{this.adsHasResponse=!0,this.context.track("CallAfterAd",this.paramsToTrack),this.isAfterAdCalled||(this.isAfterAdCalled=!0,t==null||t())}}wrapAdBreakDone(t){return r=>{var n,i,o,a,s,l;switch(this.adsHasResponse=!0,this.context.track("CallAdBreakDone",{provider:(i=(n=this.currentProvider)==null?void 0:n.name)!=null?i:null,breakType:r.breakType,breakName:(o=r.breakName)!=null?o:"",breakFormat:r.breakFormat,breakStatus:r.breakStatus}),r.breakStatus){case"viewed":case"ignored":case"dismissed":case"error":{t==null||t(r),(a=this.adIsShowingCallback)==null||a.call(this,!1),(s=this.continueCallback)==null||s.call(this,[!1,r]);break}default:{(l=this.continueCallback)==null||l.call(this,[!0,r]);break}}}}callAdBreakAndContinue(t,r,n,i){return I(this,null,function*(){return this.currentProvider=t,this.currentClientParams=r,this.adsHasResponse=!1,new Promise(o=>{this.continueCallback=o,this.adIsShowingCallback=i;let a;switch(r.type){case"preroll":{a={type:r.type,adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}case"reward":{a={name:r.name,type:r.type,beforeAd:this.wrapBeforeAd(r.beforeAd),beforeReward:this.wrapBeforeReward(r.beforeReward),adDismissed:this.wrapAdDismissed(r.adDismissed),adViewed:this.wrapAdViewed(r.adViewed),afterAd:this.wrapAfterAd(r.afterAd),adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}default:{a={name:r.name,type:r.type,beforeAd:this.wrapBeforeAd(r.beforeAd),afterAd:this.wrapAfterAd(r.afterAd),adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}}window.setTimeout(()=>{var s,l,c,d,u;this.adsHasResponse||(this.context.track("CallAdBreakTimeout",{type:r.type,provider:(l=(s=this.currentProvider)==null?void 0:s.name)!=null?l:null}),(d=this.continueCallback)==null||d.call(this,[!0,{breakType:r.type,breakName:r.type==="preroll"?"":(c=r.name)!=null?c:"",breakFormat:r.type==="reward"?"reward":"interstitial",breakStatus:"timeout"}]),(u=this.adIsShowingCallback)==null||u.call(this,!1))},5e3),this.context.track("CallAdBreak",this.paramsToTrack),t.adBreak(a,n),window.JoliTesterBridge&&console.log("joli-fullscreen-ad-show")})})}};ef=class{constructor(t){bs(this,"context",void 0),bs(this,"adBreakIsShowing",!1),bs(this,"reportPageJumpOut",()=>{this.context.track("AdBreakJumpOut",{context:"AdsActionDetection"})}),bs(this,"reportPageHide",()=>{this.context.track("AdBreakHide",{context:"AdsActionDetection"})}),this.context=t,window.addEventListener("visibilitychange",()=>{document.hidden&&this.adBreakIsShowing&&this.reportPageHide()}),window.addEventListener("beforeunload",r=>{this.adBreakIsShowing&&this.reportPageJumpOut()})}},DS=Object.defineProperty,T5=Object.defineProperties,P5=Object.getOwnPropertyDescriptors,dS=Object.getOwnPropertySymbols,C5=Object.prototype.hasOwnProperty,R5=Object.prototype.propertyIsEnumerable,fS=(e,t,r)=>t in e?DS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O5=(e,t)=>{for(var r in t||(t={}))C5.call(t,r)&&fS(e,r,t[r]);if(dS)for(var r of dS(t))R5.call(t,r)&&fS(e,r,t[r]);return e},N5=(e,t)=>T5(e,P5(t)),D5=(e,t)=>{for(var r in t)DS(e,r,{get:t[r],enumerable:!0})},qS=(e,t,r,n)=>{for(var i=t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=a(i)||i);return i},q5=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}B5=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(B5||{});J5={log:Ji("log"),warn:Ji("warn"),info:Ji("info"),error:Ji("error"),debug:Ji("debug")};Object.assign(globalThis,{logger:J5});pS=Symbol.for("Jolibox.canIUseMap"),$5={};globalThis[pS]||(globalThis[pS]=$5);hS=Symbol.for("Jolibox.canIUseMap.native"),H5={};globalThis[hS]||(globalThis[hS]=H5);FS=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(FS||{}),MS=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(MS||{}),jS=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(jS||{}),mS=["name","params"],z5=["name","type","location","target","extra","timestamp","userId"],V5=["platform","os","appVersion","appId","model","brand","uuid","jsSdkVersion","extra"];K5();navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),navigator.userAgent.includes("Android"),navigator.userAgent.includes("Mac"),navigator.userAgent.includes("FB_IAB"),!navigator.userAgent.includes("iPhone")&&navigator.userAgent.includes("Android");tf=class rf{constructor(t){this.element=t,this.next=rf.Undefined,this.prev=rf.Undefined}};tf.Undefined=new tf(void 0);ie=tf,Y5=class{constructor(){this._first=ie.Undefined,this._last=ie.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ie.Undefined}clear(){let e=this._first;for(;e!==ie.Undefined;){let t=e.next;e.prev=ie.Undefined,e.next=ie.Undefined,e=t}this._first=ie.Undefined,this._last=ie.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new ie(e);if(this._first===ie.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==ie.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ie.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ie.Undefined&&e.next!==ie.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ie.Undefined&&e.next===ie.Undefined?(this._first=ie.Undefined,this._last=ie.Undefined):e.next===ie.Undefined?(this._last=this._last.prev,this._last.next=ie.Undefined):e.prev===ie.Undefined&&(this._first=this._first.next,this._first.prev=ie.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ie.Undefined;)yield e.element,e=e.next}},Q5=0,$i=class{constructor(e){this.value=e,this.id=Q5++}},Gi=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof $i&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){return this._event!=null||(this._event=(e,t)=>{var r,n,i,o,a,s;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};t&&(e=e.bind(t));let l=new $i(e);return this._listeners?this._listeners instanceof $i?this._listeners=[this._listeners,l]:this._listeners.push(l):((n=(r=this.options)==null?void 0:r.onWillAddFirstListener)==null||n.call(r,this),this._listeners=l,(o=(i=this.options)==null?void 0:i.onDidFirstListener)==null||o.call(i,this)),(s=(a=this.options)==null?void 0:a.onDidAddListener)==null||s.call(a,this),this._size++,()=>{var c,d,u,p;if(!this._disposed){if(this._listeners instanceof $i)this._listeners.id===l.id&&(this._listeners=void 0,this._size=0,(d=(c=this.options)==null?void 0:c.onDidRemoveLastListener)==null||d.call(c));else if(this._listeners){let f=this._listeners.indexOf(l);f>=0&&(this._listeners.splice(f,1),this._size--,this._size===0&&((p=(u=this.options)==null?void 0:u.onDidRemoveLastListener)==null||p.call(u)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof $i?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},X5=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;var n;let i=(n=this.listeners.get(e))!=null?n:new Gi,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e){let t=this.listeners.get(e),r=this.cachedEventQueue.get(e);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r||(r=new Y5,this.cachedEventQueue.set(e,r)),r.push({args:i}),t&&t.fire({event:e,args:i})}once(e,t){var r=this;let n=function(){t(...arguments),r.off(e,n)};this.on(e,n,!1)}},nf={};D5(nf,{None:()=>Z5,filter:()=>t3,once:()=>US,toPromise:()=>e3});Z5=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Gd=Symbol.for("Jolibox.hostEmitter"),r3=()=>{let e=new X5;return globalThis[Gd]||(globalThis[Gd]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Gd]};r3();of=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Gi,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n3(o,r),n(...o)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};of=qS([LS],of);vS=class{constructor(){this._onWillExecuteCommand=new Gi,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Gi,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new of,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=L5(3e4)),this._starActivation}executeCommand(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return q5(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,r):(yield Promise.all([Promise.race([this._activateStar(),nf.toPromise(nf.filter(this.registry.onDidRegisterCommand,i=>i===e))])]),this._tryExecuteCommand(e,r))})}executeCommandThowErr(e){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let t=this.registry.getCommand(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this._onWillExecuteCommand.fire({commandId:e,args:n});let o=this.invokeFunction(t.handler,...n);return this._onDidExecuteCommand.fire({commandId:e,args:n}),o}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e(...r)}finally{}}};vS=qS([LS],vS);af=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GAME";Wd(this,"context",void 0),Wd(this,"placement","GAME"),Wd(this,"contextInfo",void 0),this.context=t,this.placement=r,this.contextInfo=this.context.getContextInfo()}getLocation(){let t=new URLSearchParams(window.location.search),r={};return t.forEach((n,i)=>{r[i]=n}),{name:this.placement==="GAME"?"GamePage":"DramaPage",params:r}}getDevice(){var t,r,n,i;return{platform:(t=this.contextInfo.platform)!=null?t:jS.WebSDK,os:this.contextInfo.osType+"_"+this.contextInfo.runtimeType,appVersion:"1.0.0",appId:(r=this.contextInfo.hostAppId)!=null?r:"1",model:(n=this.contextInfo.deviceModel)!=null?n:"UnknownModel",brand:(i=this.contextInfo.deviceBrand)!=null?i:"UnknownBrand",uuid:this.contextInfo.deviceId,jsSdkVersion:"1.0.0",extra:{}}}serialize(t,r){var n;let i={protocolVersion:"1.0.0",events:[{name:t,type:FS.System,location:this.getLocation(),target:null,extra:r,timestamp:Date.now(),userId:(n=this.contextInfo.userId)!=null?n:null}],device:this.getDevice(),project:MS.WebSDK};return W5(i)}};sf=class{constructor(t){ws(this,"configs",null),ws(this,"firstRun",!0),ws(this,"context",void 0),ws(this,"contextInfo",void 0),this.context=t,this.contextInfo=this.context.getContextInfo(),this.init()}init(){return I(this,null,function*(){try{this.configs=yield this.context.httpClient.get("/api/fe-configs/js-sdk/ads-channel-config",{})}catch(t){}})}shouldBypassCallingInterstitial(){var t,r;let n;if(!this.configs)this.init(),n=!this.firstRun;else{let i=(t=this.contextInfo.channel)!=null?t:"",o=this.configs[i],a=(r=o==null?void 0:o.interstitialRate)!=null?r:1;n=Math.random()<a}return this.firstRun=!1,n}};lf=class{constructor(t,r){Kt(this,"name","ADSENSE"),Kt(this,"context",void 0),Kt(this,"contextInfo",void 0),Kt(this,"configured",!1),Kt(this,"initParams",void 0),Kt(this,"push",function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};window.adsbygoogle.push(n)}),Kt(this,"adConfig",n=>{let i=n,{onReady:o}=i,a=E5(i,["onReady"]);this.context.track("CallAdConfig",a),this.configured?console.warn("Ad config already set, skipping"):(this.configured=!0,this.push(n))}),Kt(this,"adBreak",n=>{if(!this.contextInfo.objectId){console.warn("Game ID is not set, skip calling adBreak");return}this.push(n)}),Kt(this,"adUnit",n=>I(this,null,function*(){var i,o,a,s;if(this.context.track("CallAdUnit",{adFormat:(o=(i=n.adFormat)==null?void 0:i.toString())!=null?o:null,fullWidthResponsive:(a=n.fullWidthResponsive)!=null?a:null}),document.querySelector("#jolibox-ads")){console.warn("Ad unit already set, skipping");return}let{el:l,slot:c,adFormat:d,fullWidthResponsive:u,style:p}=n,f;if(!l)throw new Error("targeting element is required");if(typeof l=="string"?f=document.querySelector(l):f=l,!f)throw new Error("targeting element not found");let m=c;if(m||(m=this.initParams.unitId),!m)throw new Error("slot is required");let v=typeof d=="object"&&Array.isArray(d)?d.join(", "):d,y=document.createElement("ins");if(y.className="adsbygoogle",y.id="jolibox-ads",y.style.display="block",y.setAttribute("data-ad-client",this.initParams.clientId),y.setAttribute("data-ad-slot",m),v&&y.setAttribute("data-ad-format",v),u&&y.setAttribute("data-full-width-responsive",u),p&&y.setAttribute("style",p),(s=this.contextInfo.testAdsMode)!=null?s:!1){let g=document.createElement("div");g.style.position="absolute",g.style.top="0",g.style.left="0",g.style.width="100%",g.style.height="100%",g.style.display="flex",g.style.justifyContent="center",g.style.alignItems="center",g.style.backgroundColor="rgba(0, 0, 0, 0.5)",g.style.color="white",g.innerHTML="Test Ad",y.style.position="relative",f.appendChild(y),y.appendChild(g)}else f.appendChild(y),new MutationObserver(g=>{g.forEach(_=>{if(_.type==="attributes"&&_.attributeName==="data-ad-status"){let w=y.getAttribute("data-ad-status");this.context.track("AdSenseUnitStatusChanged",{status:w!=null?w:"null"})}})}).observe(y,{attributes:!0,attributeFilter:["data-ad-status"]}),this.push({})})),this.context=t,this.contextInfo=this.context.getContextInfo(),this.initParams=r,window.adsbygoogle=window.adsbygoogle||[]}init(){return I(this,null,function*(){var t;if(this.context.track("CallAdsInit",{provider:this.name}),typeof window=="undefined")return;let r="google-adsense",n=(t=this.contextInfo.testAdsMode)!=null?t:!1;if(!document.getElementById(r)&&this.initParams.clientId){let i=document.createElement("script");i.id=r,i.async=!0,i.crossOrigin="anonymous",i.src=`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${this.initParams.clientId}`,n&&i.setAttribute("data-adbreak-test","on"),this.initParams.channelId&&i.setAttribute("data-ad-channel",this.initParams.channelId),this.initParams.admobInterstitialSlot&&this.initParams.admobRewardedSlot&&(i.setAttribute("data-admob-interstitial-slot",this.initParams.admobInterstitialSlot),i.setAttribute("data-admob-rewarded-slot",this.initParams.admobRewardedSlot),this.initParams.admobOnly&&i.setAttribute("data-admob-ads-only","on")),document.head.appendChild(i),this.context.track("LoadAdsenseCompleted",null)}})}};p3=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(f3(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=d3(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Me="-ms-",Ps="-moz-",B="-webkit-",BS="comm",yf="rule",_f="decl",h3="@import",JS="@keyframes",m3="@layer",v3=Math.abs,Ds=String.fromCharCode,g3=Object.assign;qs=1,In=1,HS=0,We=0,be=0,En="";N3=function(e,t,r){for(var n=0,i=0;n=i,i=Nt(),n===38&&i===12&&(t[r]=1),!Ki(i);)rt();return Yi(e,We)},D3=function(e,t){var r=-1,n=44;do switch(Ki(n)){case 0:n===38&&Nt()===12&&(t[r]=1),e[r]+=N3(We-1,t,r);break;case 2:e[r]+=Ss(n);break;case 4:if(n===44){e[++r]=Nt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ds(n)}while(n=rt());return e},q3=function(e,t){return VS(D3(zS(e),t))},_S=new WeakMap,L3=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!_S.get(r))&&!n){_S.set(e,!0);for(var i=[],o=q3(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},F3=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};M3=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _f:e.return=GS(e.value,e.length);break;case JS:return wn([Hi(e,{value:J(e.value,"@","@"+B)})],n);case yf:if(e.length)return b3(e.props,function(i){switch(_3(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wn([Hi(e,{props:[J(i,/:(read-\w+)/,":"+Ps+"$1")]})],n);case"::placeholder":return wn([Hi(e,{props:[J(i,/:(plac\w+)/,":"+B+"input-$1")]}),Hi(e,{props:[J(i,/:(plac\w+)/,":"+Ps+"$1")]}),Hi(e,{props:[J(i,/:(plac\w+)/,Me+"input-$1")]})],n)}return""})}},j3=[M3],U3=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||j3,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[L3,F3];{var c,d=[P3,R3(function(m){c.insert(m)})],u=C3(l.concat(n,d)),p=function(m){return wn(k3(m),u)};s=function(m,v,y,g){c=y,p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new p3({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f};J3={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$3=/[A-Z]|^ms/g,H3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,WS=function(e){return e.charCodeAt(1)===45},bS=function(e){return e!=null&&typeof e!="boolean"},Kd=O3(function(e){return WS(e)?e:e.replace($3,"-$&").toLowerCase()}),wS=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(H3,function(r,n,i){return hr={name:n,styles:i,next:hr},n})}return J3[e]!==1&&!WS(e)&&typeof t=="number"&&t!==0?t+"px":t};IS=/label:\s*([^\s;{]+)\s*(;|$)/g;V3=function(e,t,r){var n=e.key+"-"+t.name;e.registered[n]===void 0&&(e.registered[n]=t.styles)},G3=function(e,t,r){V3(e,t);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};W3=function(e){var t=U3(e);t.sheet.speedy=function(a){this.isSpeedy=a},t.compat=!0;var r=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Yd(s,t.registered,void 0);return G3(t,c),t.key+"-"+c.name},n=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Yd(s,t.registered),d="animation-"+c.name;return ES(t,{name:c.name,styles:"@keyframes "+d+"{"+c.styles+"}"}),d},i=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Yd(s,t.registered);ES(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return xS(t.registered,r,K3(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){a.forEach(function(s){t.inserted[s]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:KS.bind(null,t.registered),merge:xS.bind(null,t.registered,r)}},K3=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},Y3=W3({key:"css"}),xn=Y3.css,AS=0,YS=[],Se=O,kS=Se.__b,TS=Se.__r,PS=Se.diffed,CS=Se.__c,RS=Se.unmount,OS=Se.__;Se.__b=function(e){tt=null,kS&&kS(e)},Se.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),OS&&OS(e,t)},Se.__r=function(e){TS&&TS(e),df=0;var t=(tt=e.__c).__H;t&&(Qd===tt?(t.__h=[],tt.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(ks),t.__h.forEach(ff),t.__h=[],df=0)),Qd=tt},Se.diffed=function(e){PS&&PS(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(YS.push(t)!==1&&SS===Se.requestAnimationFrame||((SS=Se.requestAnimationFrame)||Z3)(X3)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Qd=tt=null},Se.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ks),r.__h=r.__h.filter(function(n){return!n.__||ff(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Se.__e(n,r.__v)}}),CS&&CS(e,t)},Se.unmount=function(e){RS&&RS(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ks(n)}catch(i){t=i}}),r.__H=void 0,t&&Se.__e(t,r.__v))};NS=typeof requestAnimationFrame=="function";tJ=Symbol.for("preact-signals");W=void 0,zi=void 0,mr=0,pf=0,Rs=0;Ne.prototype.brand=tJ;Ne.prototype.h=function(){return!0};Ne.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};Ne.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};Ne.prototype.subscribe=function(e){var t=this;return Xi(function(){var r=t.value,n=W;W=void 0;try{e(r)}finally{W=n}})};Ne.prototype.valueOf=function(){return this.value};Ne.prototype.toString=function(){return this.value+""};Ne.prototype.toJSON=function(){return this.value};Ne.prototype.peek=function(){var e=W;W=void 0;try{return this.value}finally{W=e}};Object.defineProperty(Ne.prototype,"value",{get:function(){var e=XS(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(pf>100)throw new Error("Cycle detected");this.v=e,this.i++,Rs++,mr++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Fs()}}}});(Sn.prototype=new Ne).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Rs))return!0;if(this.g=Rs,this.f|=1,this.i>0&&!ZS(this))return this.f&=-2,!0;var e=W;try{eA(this),W=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return W=e,tA(this),this.f&=-2,!0};Sn.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Ne.prototype.S.call(this,e)};Sn.prototype.U=function(e){if(this.t!==void 0&&(Ne.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Sn.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Sn.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=XS(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});Qi.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Qi.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,rA(this),eA(this),mr++;var e=W;return W=this,rJ.bind(this,e)};Qi.prototype.N=function(){2&this.f||(this.f|=2,this.o=zi,zi=this)};Qi.prototype.d=function(){this.f|=8,1&this.f||wf(this)};iA=[];Xi(function(){nA=this.N})();oA.displayName="_st";Object.defineProperties(Ne.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:oA},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});An("__b",function(e,t){if(typeof t.type=="string"){var r,n=t.props;for(var i in n)if(i!=="children"){var o=n[i];o instanceof Ne&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});An("__r",function(e,t){Os();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=function(i){var o;return Xi(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o}())),Os(r),e(t)});An("__e",function(e,t,r,n){Os(),e(t,r,n)});An("diffed",function(e,t){Os();var r;if(typeof t.type=="string"&&(r=t.__e)){var n=t.__np,i=t.props;if(n){var o=r.U;if(o)for(var a in o){var s=o[a];s!==void 0&&!(a in n)&&(s.d(),o[a]=void 0)}else o={},r.U=o;for(var l in n){var c=o[l],d=n[l];c===void 0?(c=nJ(r,l,d,i),o[l]=c):c.o(d,i)}}}e(t)});An("unmount",function(e,t){if(typeof t.type=="string"){var r=t.__e;if(r){var n=r.U;if(n){r.U=void 0;for(var i in n){var o=n[i];o&&o.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)});An("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});Ke.prototype.shouldComponentUpdate=function(e,t){var r=this.__$u,n=r&&r.s!==void 0;for(var i in t)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var o=2&this.__$f;if(!(n||o||4&this.__$f)||1&this.__$f)return!0}else if(!(n||4&this.__$f)||3&this.__$f)return!0;for(var a in e)if(a!=="__source"&&e[a]!==this.props[a])return!0;for(var s in this.props)if(!(s in e))return!0;return!1};iJ=function(e){queueMicrotask(function(){queueMicrotask(e)})};je=xn`
502
+ `,xB=()=>b("div",{style:bE.container,children:[b("style",{children:EB}),b("div",{style:bE.spinner})]});YG=bd()});function hx(){return I(this,null,function*(){if(wd)return wd;let t=`${x.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com"}/api/user-retention/exit-recommendations?objectId=${x.mpId}&from=GAME_DETAIL`,{response:{data:r}}=yield re(t);return wd=r,r})}function mx(){return I(this,null,function*(){let e=new gt;if(x.mpType!=="game")return e.resolve(!1),e.promise;if(Id)return e.resolve(!0),e.promise;let t=yield hx();if(t.code!=="SUCCESS")return e.resolve(!1),e.promise;let{gameListInfo:r,title:n,buttons:i}=t.data;Id=!0;let o=tx({games:r.games,title:n,buttons:i,onClose:a=>{var s;switch(Id=!1,a.type){case"quit":e.resolve(!1);break;case"dismiss":e.resolve(!0),o.destroy();break;case"navigate":if((s=a.data)!=null&&s.game){let l=a.data.game;SB(l),setTimeout(()=>{e.resolve(!1)},0)}else e.resolve(!0);o.destroy();break;default:e.resolve(!0);break}}});return e.promise})}var wd,SB,Id,vx=T(()=>{"use strict";Q();Ae();D();Rr();bt();wd=null;hx();SB=e=>{var a;let{data:t}=F("envSync"),r=new URL(t.schema),n=new URLSearchParams(r.search);n.set("gameId",e.gameId),n.set("joliSource",x.encodeJoliSourceQuery({__mpType:"game",__orientation:(a=e.orientation)!=null?a:"VERTICAL"}));let o=`${`https://${e.gameId}.content.jolibox.com/`}index.html?${n.toString()}`;F("openSchemaSync",{schema:o})},Id=!1});function kB(e){let t=P(P({},AB),e),{url:r,height:n,showCloseButton:i,enableDragClose:o,useAnimation:a,onClose:s,onLoad:l}=t,c=0,d=0,u=!1,p=()=>a?{overlayTransition:"opacity 0.3s ease",containerTransition:"transform 0.3s ease",iframeTransition:"opacity 0.3s ease"}:{overlayTransition:"none",containerTransition:"none",iframeTransition:"none"},f=()=>a?300:0;function m(){let{overlayTransition:_,containerTransition:w,iframeTransition:k}=p();Z=document.createElement("div"),Z.id="jolibox-modal-overlay",Z.style.cssText=`position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:1000; display:flex; justify-content:center; align-items:flex-end; transition:${_}; opacity:0; visibility:hidden;`,z=document.createElement("div"),z.id="jolibox-modal-container",z.style.cssText=`width:100%; height:${n}; background:white; border-radius:12px 12px 0 0; overflow:hidden; box-shadow:0 -2px 10px rgba(0,0,0,0.2); transform:translateY(100%); transition:${w};`;let R=document.createElement("div");R.id="jolibox-modal-loading",R.style.cssText="position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); width:40px; height:40px; border:4px solid #f3f3f3; border-top:4px solid #3498db; border-radius:50%; animation:spin 1s linear infinite;";let C=document.createElement("style");C.textContent="@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }",document.head.appendChild(C);let E=document.createElement("div");if(E.style.cssText="width:100%; height:100%; display:flex; flex-direction:column; padding-bottom:env(safe-area-inset-bottom, 0); position:relative;",at=document.createElement("iframe"),at.style.cssText=`width:100%; flex:1; border:none; opacity:0; transition:${k};`,at.src=r,at.onload=()=>{R.parentNode&&R.parentNode.removeChild(R),at.style.opacity="1",v(),l==null||l(),we.emit("onModalIframeLoaded",{url:r})},E.appendChild(at),E.appendChild(R),z.appendChild(E),i){let A=document.createElement("div");A.style.cssText="position:absolute; top:10px; right:10px; width:30px; height:30px; background:rgba(0,0,0,0.1); border-radius:15px; display:flex; justify-content:center; align-items:center; cursor:pointer; z-index:10;",A.innerHTML="\u2715",A.onclick=g,z.appendChild(A)}Z.appendChild(z),document.body.appendChild(Z),Z.addEventListener("click",function(A){A.target===Z&&g()}),o&&y()}function v(){!Z||!z||u||(Z.style.visibility="visible",a?requestAnimationFrame(()=>{Z&&(Z.style.opacity="1"),z&&(z.style.transform="translateY(0)"),u=!0}):(Z&&(Z.style.opacity="1"),z&&(z.style.transform="translateY(0)"),u=!0),F("updateContainerConfigSync",{displayCapsuleButton:!1,webviewId:x.webviewId}))}function y(){if(!z)return;let _=R=>{c=R.touches[0].clientY},w=R=>{if(!u)return;d=R.touches[0].clientY;let C=d-c;C>0&&(z&&(z.style.transition="none",z.style.transform=`translateY(${C}px)`),R.preventDefault())},k=()=>{!u||!z||(z.style.transition=a?"transform 0.3s ease":"none",d-c>80?g():z.style.transform="translateY(0)")};z.addEventListener("touchstart",_),z.addEventListener("touchmove",w),z.addEventListener("touchend",k)}function g(){!Z||!z||!u||(a?(z.style.transform="translateY(100%)",Z.style.opacity="0"):Z.style.visibility="hidden",u=!1,F("updateContainerConfigSync",{displayCapsuleButton:!0,webviewId:x.webviewId}),setTimeout(()=>{Z&&(Z.remove(),Z=null,z=null,at=null,s==null||s(),we.emit("onModalIframeClosed",{url:r}))},f()))}return m(),{close:g}}function gx(){return window.joliboxUI=L(P({},window.joliboxUI),{createIframeModal:kB}),()=>{window.joliboxUI=void 0,Z&&Z.parentNode&&Z.parentNode.removeChild(Z),z&&z.parentNode&&z.parentNode.removeChild(z),at&&at.parentNode&&at.parentNode.removeChild(at),Z=null,z=null,at=null}}var AB,Z,z,at,yx=T(()=>{"use strict";Ae();Q();D();AB={height:"50%",showCloseButton:!0,enableDragClose:!0,useAnimation:!0},Z=null,z=null,at=null});var bx={};Ef(bx,{config:()=>MB});function PB(){go.on("isAdShowing",e=>{$a=e,Dn($a)&&F("updateContainerConfigSync",{displayCapsuleButton:!$a,webviewId:x.webviewId})})}function CB(){we.on("onInterceptSystemExit",({intercept:e})=>{_x=e})}function RB(){we.on("onInterceptBackPress",({intercept:e})=>{TB=e}),He("onBeforeBackPress",({uuid:e})=>{var t,r;we.emit("onBackPress",{}),(r=(t=globalThis.joliboxJSCore)==null?void 0:t.doBackPress)==null||r.call(t,e)})}function OB(){we.on("onDocumentReady",()=>{var e;(e=globalThis.joliboxJSCore)==null||e.onDocumentReady(window.location.href),lt("onDocumentReady",{start_timestamp:za,timestamp:Date.now()})})}function NB(){He("onI18nChanged",({language:e})=>{we.emit("onI18nChanged",{i18n:e})})}function DB(e){x.mpType==="game"&&qt.start(e)}function qB(){He("onJoliboxServiceReady",({runtimeInfo:e,loadDuration:t})=>{e&&x.onEnvConfigChanged({hostUserInfo:e}),we.emit("LifecycleEvent.onReady",P({},x.hostUserInfo?x.hostUserInfo:{isLogin:!1})),lt("joliboxServiceReady",{start_timestamp:za,timestamp:Date.now()}),DB(t),KE(()=>x.language)}),He("onBeforeExit",({uuid:e})=>{var t;(t=globalThis.joliboxJSCore)==null||t.doExit(e)})}function LB(){let e=()=>{lt("onBeforeExit",{timestamp:Date.now()}),Ba==null||Ba(),Ja==null||Ja(),qt.close(Date.now()-za)},t=()=>$a||_x;nt.onDoExit(()=>I(this,null,function*(){return t()?!0:Dn(x.shouldInterupt)?(x.shouldInterupt||e(),x.shouldInterupt):Ha!=null&&Ha.canShowRecommended&&(yield mx())?!0:(e(),!1)})),nt.onDoBackPress(()=>I(this,null,function*(){return!!t()}))}function FB(){return I(this,null,function*(){let e=`${x.baseApiHost}/api/fe-configs/js-sdk/basic-meta`,{response:{data:t}}=yield re(e);t&&(Ha=t)})}function MB(){za=Date.now(),qB(),PB(),CB(),RB(),LB(),OB(),NB(),FB(),Ja=gx(),Ba=Up()}var Ba,Ja,za,$a,Ha,_x,TB,wx=T(()=>{"use strict";Ae();Q();D();_r();Bp();Cl();vx();bt();Rr();yx();$a=!1,Ha=null,_x=!1,TB=!1;nt.onReady(()=>{})});function Ix(e){let t=yl.config[e];return t||(t={},yl.config[e]=t),(r,n)=>{if(t[r]){yt.warn(`[can i use] ${r} already registered`);return}t[r]=P({},n)}}var Ex=T(()=>{"use strict";D()});function Ed(e){xx=e}function Va(e){return e===null||typeof e!="object"?e:Array.isArray(e)?e.map(t=>Va(t)):Object.keys(e).reduce((t,r)=>(t[r]=Va(e[r]),t),{})}function Vt(e){return typeof e=="number"}function xd(e){let t=Sd(e);switch(t){case"string":return`"${e}"`;case"number":case"boolean":case"null":case"undefined":return String(e);default:return`a(n) ${t}`}}function Sd(e){return typeof e=="function"?"function":Object.prototype.toString.call(e).slice(8).slice(0,-1).toLowerCase()}var xx,_e,Ga,Wa,Ka,Ya,fn,Qa,Xa,Za,es,ts,rs,ns,is,os,as,ss,ls,Ad=T(()=>{"use strict";xx=!1;_e=class{constructor(){this.errors=[];this.hasFallback=!1;this.hasDefault=!1;this._optional=!1}fail(t){if(xx)if(typeof t=="string")this.errors.push(t);else{let r=`${this.path} should be ${t.expect}`;this._optional&&t.expect!=="undefined"?r+=" or undefined, ":r+=", ",r+=`but got ${xd(t.actual)}`,this.errors.push(r)}return!1}fallback(t){return this.hasFallback=!0,this._fallback=t,this}get fallbackValue(){return Va(this._fallback)}default(t){return this.hasDefault=!0,this._default=t,this}get defaultValue(){return typeof this._default=="function"?this._default:Va(this._default)}optional(){return this._optional=!0,this}};Ga=class extends _e{validate(t){return this._optional&&t===void 0?!0:Vt(t)?Vt(this._min)&&t<this._min?this.fail(`the value of ${this.path} should be greater than or equal to ${this._min}`):Vt(this._max)&&t>this._max?this.fail(`the value of ${this.path} should be less than or equal to ${this._max}`):Vt(this._greater)&&t<=this._greater?this.fail(`the value of ${this.path} should be greater than ${this._greater}`):this._isInt&&t!==Math.floor(t)?this.fail(`the value of ${this.path} should be integer but got ${t}`):!0:this.fail({expect:"number",actual:t})}min(t){return this._min=t,this}max(t){return this._max=t,this}isInt(t){return this._isInt=t,this}greater(t){return this._greater=t,this}},Wa=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="boolean"?this.fail({expect:"boolean",actual:t}):!0}},Ka=class extends _e{validate(t){if(this._optional&&t===void 0)return!0;if(typeof t!="string")return this.fail({expect:"string",actual:t});if(Vt(this._maxLength)&&t.length>this._maxLength)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxLength}`);if(Vt(this._minLength)&&t.length<this._minLength)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minLength}`);if(typeof this._pattern=="string"){if(!new RegExp(this._pattern).test(t))return this.fail(`${this.path} should match pattern "${this._pattern}"`)}else if(this._pattern&&!this._pattern.test(t))return this.fail(`${this.path} should match pattern "${this._pattern.toString()}"`);return!0}minLength(t){return this._minLength=t,this}maxLength(t){return this._maxLength=t,this}pattern(t){return this._pattern=t,this}},Ya=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="symbol"?this.fail({expect:"symbol",actual:t}):!0}},fn=class extends _e{validate(t){return!0}},Qa=class extends _e{validate(t){return t!==void 0?this.fail({expect:"undefined",actual:t}):!0}},Xa=class extends _e{validate(t){return this._optional&&t===void 0?!0:t!==null?this.fail({expect:"null",actual:t}):!0}},Za=class extends _e{validate(t){return this._optional&&t===void 0?!0:typeof t!="function"?this.fail({expect:"function",actual:t}):!0}},es=class extends _e{constructor(...t){super(),this._items=t}validate(t){if(this._optional&&t===void 0)return!0;if(!this._items.includes(t)){let r=this._items.map(n=>JSON.stringify(n)).join(", ");return this.fail(`expect ${this.path} to be one of ${r}, but got ${xd(t)}`)}return!0}},ts=class extends _e{constructor(r){super();this._item=r}validate(r){if(this._optional&&r===void 0)return!0;if(!Array.isArray(r))return this.fail({expect:"array",actual:r});if(Vt(this._minItems)&&r.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);if(Vt(this._maxItems)&&r.length>this._maxItems)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxItems}`);if(Vt(this._length)&&r.length!==this._length)return this.fail(`the length of ${this.path} should be equal to ${this._length}`);let n=this._item;if(!n)return!0;let i=!0;if(r.forEach((o,a)=>{if(n.path=`${this.path}[${a}]`,n.errors=this.errors,o===void 0&&n.hasDefault){r[a]=n.defaultValue;return}n.validate(o)||(n.hasFallback?r[a]=n.fallbackValue:i=!1)}),this._uniqueItems){let o=new Map;for(let a in r)o.has(r[a])?i=this.fail(`${this.path} should NOT have duplicate items (${this.path}[${o.get(r[a])}] and ${this.path}[${a}] are identical)`):o.set(r[a],a)}return i}minItems(r){return this._minItems=r,this}maxItems(r){return this._maxItems=r,this}uniqueItems(){return this._uniqueItems=!0,this}length(r){return this._length=r,this}},rs=class extends _e{constructor(r){super();this._value=r}validate(r){if(this._optional&&r===void 0)return!0;if(Sd(r)!=="object")return this.fail({expect:"object",actual:r});let i=r,o=this._value;o.errors=this.errors;let a=!0;for(let s in i){let l=i[s];if(/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/.test(s)?o.path=`${this.path}.${s}`:o.path=`${this.path}["${s}"]`,!(l===void 0&&o._optional)){if(l===void 0&&o.hasDefault){i[s]=o.defaultValue;continue}o.validate(l)||(o.hasFallback?i[s]=o.fallbackValue:a=!1)}}return a}},ns=class extends _e{constructor(r={}){super();this._object=r}validate(r){if(this._optional&&r===void 0)return!0;if(Sd(r)!=="object")return this.fail({expect:"object",actual:r});let n=r,i=!0;for(let o in this._object){let a=n[o],s=this._object[o];if(s.errors=this.errors,/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/.test(o)?s.path=`${this.path}.${o}`:s.path=`${this.path}["${o}"]`,!(s._optional&&a===void 0)){if(a===void 0&&s.hasDefault){n[o]=s.defaultValue;continue}s.validate(a)||(s.hasFallback?n[o]=s.fallbackValue:i=!1)}}return i}},is=class extends _e{constructor(r){super();this.value=r}validate(r){return r===void 0&&this._optional?!0:r!==this.value?this.fail({expect:xd(this.value),actual:r}):!0}},os=class extends _e{constructor(...t){super(),this._items=t}validate(t){if(t===void 0&&this._optional)return!0;let r=[],n=!1,i=this._items.length;for(let o=0;o<i;o++){let a=this._items[o];if(a.errors=[],a.path=this.path,!a.validate(t))r.push(a.errors.join("; "));else if(!n){n=!0;break}}if(!n){let o=r.join(`
503
+ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super(),this._items=t;let r=0,n=t.length-1;for(;n>=0;n--){let i=t[n];if(i._optional||i.hasDefault)r+=1;else break}this._minItems=t.length-r}validate(t){if(t===void 0&&this._optional)return!0;if(!Array.isArray(t))return this.fail({expect:"array",actual:t});if(t.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);let r=!0;return this._items.forEach((n,i)=>{if(n.path=`${this.path}[${i}]`,n.errors=this.errors,t[i]===void 0&&n.hasDefault){t[i]=n.defaultValue;return}n.validate(t[i])||(n.hasFallback?t[i]=n._fallback:r=!1)}),r}},ss=class extends _e{validate(t){return t===void 0&&this._optional||t instanceof ArrayBuffer?!0:this.fail({expect:"arraybuffer",actual:t})}},ls=class extends _e{constructor(t){super(),this._ctor=t}validate(t){return t===void 0&&this._optional||t instanceof this._ctor?!0:this.fail({expect:`typedarray of ${this._ctor.name}`,actual:t})}}});function kd(e,t,r="param"){if(e.errors=[],e.path=r,Ed(!0),!e.validate(t)){let n=e.errors.join(`
504
+ `);throw e.errors.length=0,Ed(!1),new TypeError(n)}}var S,Td=T(()=>{"use strict";Ad();Ad();S={object(e){return new ns(e)},array(e){return new ts(e)},tuple(...e){return new as(...e)},literal(e){return new is(e)},or(...e){return new os(...e)},symbol(){return new Ya},record(e){return new rs(e)},function(){return new Za},boolean(){return new Wa},string(){return new Ka},number(){return new Ga},undefined(){return new Qa},null(){return new Xa},unknown(){return new fn},any(){return new fn},as(){return new fn},arraybuffer(){return new ss},enum(...e){return new es(...e)},typedarray(e){return new ls(e)}}});var cs,Sx,Ax=T(()=>{"use strict";D();st();Td();Lr();cs=1,Sx=e=>{function t(n,i){return(...o)=>{var u,p,f,m;let a=Date.now(),s={method:n,trace_id:cs};cs+=1;let l="SUCCESS",c=`${n}:ok`,d=0;try{if(i.paramsSchema)try{kd(i.paramsSchema,o,"params")}catch(_){throw Al(`${n}:fail ${_.message}`)}let v=i.implement(...o),y=v,g=`${n}:ok`;if(v&&"code"in v){let{code:_,data:w,message:k}=v;l=_,y=w,g=k}return{code:l,message:g,data:y}}catch(v){let y=v;d=(p=(u=y.code)!=null?u:y.errNo)!=null?p:2e3,l="FAILURE";let g=(m=(f=y.message)!=null?f:y.errMsg)!=null?m:`${v}`;return c=`${n}:${l} ${g.replace(/^\S+:(fail|cancel)\s?/,"")}`,ke(new Ln(c,d)),{code:l,message:c}}finally{let v=Date.now()-a;e("apiInvoked",L(P({},s),{duration:v,status:l}))}}}function r(n,i){return(...o)=>I(this,null,function*(){var p,f,m,v;let a=Zf(o)?o:[o],s=Date.now(),l={method:n,trace_id:cs};cs+=1;let c=`${n}:ok`,d="SUCCESS",u={code:d,message:c};try{if(i.paramsSchema)try{kd(i.paramsSchema,a,"params")}catch(_){throw Al(_.message)}let g=yield i.implement(...a);if(g&&"code"in g){let{code:_,data:w,message:k}=g;d=_,c=k,g=w}return Object.assign(u,{code:d,message:c,data:g}),u}catch(y){let g=y,_=(f=(p=g.code)!=null?p:g.errNo)!=null?f:2e3;d="FAILURE";let w=(v=(m=g.message)!=null?m:g.errMsg)!=null?v:`${y}`,k=`${n}:${d} ${w.replace(/^\S+:(fail|cancel)\s?/,"")}`;return Object.assign(u,{code:d,message:k}),ke(new Ln(k,_)),u}finally{let y=Date.now()-s;e("apiInvoked",L(P({},l),{duration:y,status:d}))}})}return{createAPI:r,createSyncAPI:t}}});var Re,K,q,kx,ft=T(()=>{"use strict";Ex();_r();Ax();Td();Ae();Q();({createAPI:Re,createSyncAPI:K}=Sx(lt)),q=Ix("native"),{canIUseNative:kx}=Bf(()=>x.sdkInfo.nativeSDKVersionCode)});var Tx,UB,BB,JB,$B,Px=T(()=>{"use strict";D();ft();Ae();Tx=he(),UB="env",BB="getSystemInfoSync",JB=K(BB,{implement:()=>{var r;let e=F("envSync"),{data:t}=e;return{system:t.deviceInfo.system,platform:t.deviceInfo.platform.toLowerCase(),version:t.sdkInfo.jssdkVersion,pixelRatio:t.deviceInfo.pixelRatio,language:t.deviceInfo.lang,brand:t.deviceInfo.brand,appName:(r=t.hostInfo)==null?void 0:r.appName,SDKVersion:t.sdkInfo.jssdkVersion}}}),$B=K(UB,{implement:()=>{var t;let e=F("envSync");return(t=e==null?void 0:e.data)!=null?t:void 0}});Tx.registerCommand("API.getSystemInfoSync",JB);Tx.registerCommand("API.env",$B);q("env",{version:"1.0.0"});q("getSystemInfoSync",{version:"1.0.0"})});var Cx=h(Pd=>{"use strict";D();ft();st();Ae();_r();Q();var HB="exitGame",zB="onReady",VB="onJoliboxShow",GB="onJoliboxHide",us=he(),ds=fo(ke),WB=Re(HB,{paramsSchema:S.tuple(S.function(),S.boolean().optional().default(!1)),implement:(e,t=!1)=>I(Pd,null,function*(){ds(e).call(Pd),Dn(x.shouldInterupt)&&!x.shouldInterupt&&x.from&&Gf("onRetentionResult",{shouldStay:t},x.from,!0),t||x.setDoExitDirectly(),yield pe("exitAppAsync")})}),KB=K(VB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);He("onJoliboxEnterForeground",()=>{t.call(this),Mn.emit("visible",!0)})}}),YB=K(GB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);He("onJoliboxEnterBackground",()=>{t.call(this),Mn.emit("visible",!1)})}}),QB=K(zB,{paramsSchema:S.tuple(S.function()),implement(e){let t=ds(e);we.on("LifecycleEvent.onReady",r=>{t(r)})}});us.registerCommand("LifecycleSDK.exit",WB);us.registerCommand("LifecycleSDK.onReady",QB);us.registerCommand("LifecycleSDK.onJoliboxShow",KB);us.registerCommand("LifecycleSDK.onJoliboxHide",YB);q("lifeCycle.exit",{version:"1.0.0"});q("lifeCycle.onReady",{version:"1.0.0"});q("lifeCycle.onJoliboxShow",{version:"1.0.0"});q("lifeCycle.onJoliboxHide",{version:"1.0.0"})});function Rx(e){let t={};if(!gr(e))return t;for(let[r,n]of Object.entries(e)){let i=r.toLocaleLowerCase();n?typeof n=="object"?t[i]=Object.prototype.toString.call(n):t[i]=String(n):t[i]=""}return t}function Ox(e="GET"){if(e==="")return"POST";let t=e.toUpperCase();return["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"].includes(t)?t:"GET"}function Nx(e,t=!1){if(e)return t||e>0&&e<=6e4?Math.ceil(e):6e4}function Dx(e,t,r){if(["POST","PUT","PATCH"].includes(t)||!gr(r))return e;let[n,i=""]=e.split("?"),o=new URLSearchParams(i);for(let[s,l]of Object.entries(r))l!=null&&o.append(s,String(l));let a=o.toString();return a?`${n}?${a}`:n}var qx=T(()=>{"use strict";D()});var XB,ZB,Cd,Rd,Lx,e5,t5,r5,Fx=T(()=>{"use strict";Lr();Tl();ft();qx();D();st();Q();XB=15,ZB=mo("createRequestTaskSync","operateRequestTaskSync",{type:"public",baseUrl:x.baseApiHost}),Cd=0,Rd=[],Lx=fo(ke),e5=(e,t)=>{let r=e.filter(t),n=e.filter(i=>!t(i));return e.length=0,e.push(...n),r},t5=e=>{let t=new gt,r=()=>{};return K("request",{paramsSchema:S.tuple(S.object({url:S.string(),method:S.string(),headers:S.object().optional(),data:S.object().optional(),query:S.object().optional(),dataType:S.string().default("json"),responseType:S.string().default("text"),enableCache:S.boolean().default(!1),appendHostCookie:S.boolean().default(!0),timeout:S.number().default(3e4),success:S.function(),fail:S.function()})),implement(i){let o=()=>I(this,null,function*(){var s,l,c;let a=Lx(i.fail);try{if(Cd+=1,t.state!=="pending")return;let{data:d,dataType:u,responseType:p,enableCache:f,appendHostCookie:m}=i,v=Rx((s=i.headers)!=null?s:{}),y=Ox(i.method),g=Nx(i.timeout),_=Dx(i.url,y,d),w=Lx(i.success),k=Object.assign({},i,{method:y,header:m?void 0:v,data:y==="GET"||y==="HEAD"?void 0:d,enableCache:f,query:(l=i.query)!=null?l:{},dataType:u,responseType:p,appendHostCookie:m});g&&(k.timeout=g);let R=ZB(_,k);{let{response:C}=yield R,{code:E,data:A,message:H}=C;if(A&&typeof A=="object"&&"status"in A&&A.status!==200)throw er({code:A.status||-1,msg:`request:fail status ${A.status}`});t.resolve({code:E!=null?E:"SUCCESS",data:A,message:H!=null?H:"request:ok"}),w({code:"SUCCESS",message:"request:ok",data:A})}}catch(d){t.reject(d),a({code:"FAILURE",message:"httpRequst: failed"})}finally{Cd-=1,(c=Rd.shift())==null||c()}});return Cd>=XB?(r=()=>{e5(Rd,a=>a===o)},Rd.push(o)):o(),t.promise}})(e),{abort(){t.reject(er({code:-1,msg:"request:fail abort"})),r()}}},r5=he();r5.registerCommand("HttpSDK.request",t5);q("request",{version:"1.0.0"})});function Mx(e){let t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0].toLocaleLowerCase();return t==="array"&&(t="object"),s5.includes(t)?t:""}function jx(e,t){try{switch(t){case"string":return e;case"object":return JSON.parse(e);case"number":return parseFloat(e);case"boolean":return e==="true";default:return""}}catch(r){return""}}function Ux(e,t){try{switch(t){case"string":case"number":case"boolean":return`${e}`;case"object":return JSON.stringify(e);default:return""}}catch(r){return""}}var fs,n5,i5,o5,a5,E8,x8,s5,ji,Od,Nd=T(()=>{"use strict";ft();Ae();D();bt();Q();fs=he(),n5=Re("getLocalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){let{response:t}=yield re(`/api/games/user-storage/${x.mpId}`,{method:"GET",responseType:"json",appendHostCookie:!0,query:{key:e}}),{data:{code:r,message:n,data:i}}=yield t;if(r==="SUCCESS")return{code:r,message:n,data:i==null?void 0:i.value};try{let{data:{data:o,dataType:a}}=yield pe("getLocalStorageAsync",{key:e}),s=jx(o,a);return{code:r,message:`${n}. fallback to native`,data:s}}catch(o){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get local storage failed",data:null}}})}});fs.registerCommand("StorageSDK.getItem",n5);q("storage.getItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});i5=Re("setStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number())),implement(e,t){return I(this,null,function*(){let r=x.mpId,n=typeof t=="string"?t:String(t),{response:i}=yield re(`/api/games/user-storage/${r}`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e,value:n}}),{data:{code:o,message:a}}=i,s=Mx(t),l=Ux(t,s);return yield pe("setLocalStorageAsync",{key:e,data:l,dataType:s}),o=="SUCCESS"?{code:o,message:a}:{code:o,message:`${a}. fallback to native`}})}});fs.registerCommand("StorageSDK.setItem",i5);q("storage.setItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});o5=Re("removeStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){let t=x.mpId,{response:r}=yield re(`/api/games/user-storage/${t}/remove`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e}}),{data:{code:n,message:i}}=r;return yield pe("removeLocalStorageAsync",{key:e}),n==="SUCCESS"?{code:n,message:i}:{code:n,message:"[Jolibox SDK] remove item succ"}})}});fs.registerCommand("StorageSDK.removeItem",o5);q("storage.removeItem",{version:"1.0.0",properties:{key:"1.0.0"}});a5=Re("clearStorage",{implement(){return I(this,null,function*(){let e=x.mpId,{response:t}=yield re(`/api/games/user-storage/${e}/clear`,{method:"POST",appendHostCookie:!0});pe("clearLocalStorageAsync");let{data:{code:r,message:n}}=t;return r==="SUCCESS"?{code:r,message:n}:{code:r,message:`${n}.fallback to native`}})}});fs.registerCommand("StorageSDK.clear",a5);q("storage.clear",{version:"1.0.0"});E8=Re("getStorageInfo",{implement(){return I(this,null,function*(){let{data:e}=yield pe("getStorageInfoAsync");return e})}});q("getStorageInfo",{version:"1.0.0",success:{keys:"1.0.0",currentSize:"1.0.0",limitSize:"1.0.0"}});x8=K("getStorageInfoSync",{implement(){return F("getStorageInfoSync")}}),s5=["string","number","boolean","object",""];ji=Re("getGlobalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return I(this,null,function*(){try{let{data:{data:t,dataType:r}}=yield pe("getGlobalStorageAsync",{key:e});return{code:"SUCCESS",message:"success",data:jx(t,r)}}catch(t){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get global storage failed",data:null}}})}}),Od=Re("setGlobalStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number(),S.array())),implement(e,t){return I(this,null,function*(){try{let r=Mx(t),n=Ux(t,r);return yield pe("setGlobalStorageAsync",{key:e,data:n,dataType:r}),{code:"SUCCESS",message:"success"}}catch(r){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] set global storage failed"}}})}})});var l5,c5,u5,Dd,Bx=T(()=>{"use strict";D();Ae();ft();l5=K("showKeyboard",{paramsSchema:S.tuple(S.object({defaultValue:S.string().optional().default(""),multiple:S.boolean().optional().default(!1),maxLength:S.unknown().optional().default(1e5)})),implement(e){var n;let t=Math.floor((n=Number(e.maxLength))!=null?n:1e5),{defaultValue:r}=e;r&&t&&(r=r.slice(0,t)),F("showKeyboardSync",L(P({},e),{defaultValue:r,maxLength:t}))}});q("keyboard.showKeyboard",{version:"1.0.0",properties:{params:{defaultValue:"1.0.0",multiple:"1.0.0",confirmHold:"1.0.0",confirmType:"1.0.0",maxLength:"1.0.0"}},success:{errMsg:"1.0.0"}});c5=K("updateKeyboard",{paramsSchema:S.tuple(S.object({value:S.string()})),implement(e){F("updateKeyboardSync",e)}});q("keyboard.updateKeyboard",{version:"1.0.0",properties:{params:{value:"1.0.0"}}});u5=K("hideKeyboard",{implement(){F("hideKeyboardSync")}});q("keyboard.hideKeyboard",{version:"1.0.0"});Dd=he();Dd.registerCommand("KeyboardSDK.showKeyboard",l5);Dd.registerCommand("KeyboardSDK.updateKeyboard",c5);Dd.registerCommand("KeyboardSDK.hideKeyboard",u5)});var Jx=h(ps=>{"use strict";D();ft();_r();var qd=he(),d5=Re("levelFinished",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),duration:S.number().optional(),rating:S.number().optional(),score:S.number().optional()})),implement:e=>I(ps,null,function*(){let{levelId:t,duration:r,rating:n,score:i}=e,o=[];o.push(qt.tracker("LevelFinished",{levelId:t,duration:r,rating:n,score:i})),o.push(qt.reporter({event:"COMPLETE_GAME_LEVEL"})),yield Promise.all(o)})}),f5=Re("gamePlayEnded",{paramsSchema:S.tuple(S.object({duration:S.number().optional(),rating:S.number().optional(),score:S.number()})),implement:e=>I(ps,null,function*(){let{duration:t,rating:r,score:n}=e;return qt.tracker("GamePlayEnded",{duration:t,rating:r,score:n})})}),p5=Re("levelUpgrade",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),name:S.string().optional()})),implement:r=>I(ps,[r],function*({levelId:e,name:t}){let n=[];n.push(qt.tracker("LevelUpgrade",{name:t,levelId:e})),yield Promise.all(n)})});qd.registerCommand("TaskTrackerSDK.levelFinished",d5);qd.registerCommand("TaskTrackerSDK.gamePlayEnded",f5);qd.registerCommand("TaskTrackerSDK.levelUpgrade",p5);q("TaskTrackerSDK.onLevelFinished",{version:"1.1.25",properties:{params:{levelId:"1.1.25",duration:"1.1.25",rating:"1.1.25",score:"1.1.25"}}});q("TaskTrackerSDK.onGamePlayEnded",{version:"1.1.25",properties:{params:{duration:"1.1.25",rating:"1.1.25",score:"1.1.25"}}});q("TaskTrackerSDK.onLevelUpgrade",{version:"1.1.25",properties:{params:{levelId:"1.1.25",name:"1.1.25"}}})});var Ld,h5,$x,Fd=T(()=>{"use strict";Q();Ae();ft();D();Lr();q("login",{version:"1.0.0",properties:{force:"1.0.0"},success:{errMsg:"1.0.0",code:"1.0.0",token:"1.0.0",isLogin:"1.0.0"}});q("checkSession",{version:"1.0.0",success:{errMsg:"1.0.0"}});Ld=Re("login",{implement(){return I(this,null,function*(){var a;let{data:{isLogin:e}}=yield pe("checkLoginAsync");if(e)return{isLogin:!0,token:(a=x.hostUserInfo)==null?void 0:a.token};let t=F("loginSync"),{data:{uuid:r}}=t;if(!r)throw er({code:-1,msg:"login failed"});He("onLoginStateChange",({isLogin:s,token:l,uuid:c})=>{c==r&&i({isLogin:s,token:l})});let{promise:n,resolve:i}=new gt,o=yield n;return x.onEnvConfigChanged({hostUserInfo:o}),we.emit("onLoginComplete",o),o})}}),h5=Re("checkSession",{implement(){return I(this,null,function*(){let{data:{isLogin:e}}=yield pe("checkLoginAsync");return{isLogin:e}})}}),$x=he();$x.registerCommand("API.login",Ld);$x.registerCommand("API.checkSession",h5)});var hn,hs,pt,ms,mn,vs,pn,m5,G,vn,Or=T(()=>{"use strict";D();hn="UNLOCK_OPTIONS_CHANGED",hs="INVOKE_PAYMENT",pt="ON_PAYMENT_RESULT",ms="ON_USE_MODAL_EVENT",mn="ON_USE_MODAL_RESULT",vs="ON_USE_MODAL_FREQUENCY",pn=new _t,m5=()=>({on:pn.on.bind(pn),off:pn.off.bind(pn),emit:pn.emit.bind(pn)}),G=m5(),vn={charge:{dailyMaxPopUps:2,minInterval:8*60*60*1e3},useJolicoin:{dailyMaxPopUps:2,minInterval:8*60*60*1e3}}});function Gt(e,t){let r=null,n=null,i=null,o=()=>{if(i){r=Promise.resolve(i);return}r=new Promise(a=>{n=a})};return o(),e.on(t,(...a)=>{let s=a[0];i=s,n&&(n(s),n=null)}),{getData:()=>(r||o(),r),getCachedData:()=>i,clearCache:()=>{i=null,r=null},getFreshData:()=>(i=null,r=null,o(),r)}}var Ui=T(()=>{"use strict"});var Md,Hx=T(()=>{"use strict";Md=e=>{let t=new Date,r=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),n=r+24*60*60*1e3;return e.filter(i=>i>=r&&i<n)}});var gs,zx,Vx,Gx,Wx,Kx=T(()=>{"use strict";Nd();Hx();gs=e=>{let t;try{t=JSON.parse(e)}catch(r){t=[]}return t},zx=e=>I(void 0,null,function*(){let{dailyMaxPopUps:t,minInterval:r}=e,n=yield ji("joli_coin_use_modal_frequency");if(console.log("checkUseModalFrequency",n.data),!n.data)return!0;let i=gs(n.data),o=Md(i);return!(o.length>=t||Date.now()-o[o.length-1]<r)}),Vx=()=>I(void 0,null,function*(){var n;let e=Date.now(),t=yield ji("joli_coin_use_modal_frequency"),r=gs((n=t.data)!=null?n:"[]");r.push(e),r.sort((i,o)=>o-i).splice(8),yield Od("joli_coin_use_modal_frequency",JSON.stringify(r))}),Gx=e=>I(void 0,null,function*(){let{dailyMaxPopUps:t,minInterval:r}=e,n=yield ji("joli_coin_payment_frequency");if(console.log("checkPaymentFrequency",n.data),!n.data)return!0;let i=gs(n.data),o=Md(i);return!(o.length>=t||Date.now()-o[o.length-1]<r)}),Wx=()=>I(void 0,null,function*(){var n;let e=Date.now(),t=yield ji("joli_coin_payment_frequency"),r=gs((n=t.data)!=null?n:"[]");r.push(e),r.sort((i,o)=>o-i).splice(8),yield Od("joli_coin_payment_frequency",JSON.stringify(r))})});function Yx(){let e=new Map;return{registerPaymentHandler(r,n){e.set(r,n)},invokePayment(r,...n){return I(this,null,function*(){let i=e.get(r);if(!i)return{code:"FAILED",message:`[joliboxSDK]: ${r} payment not supported in this platform`};try{return yield i(...n)}catch(o){return ke(o),{code:"FAILED",message:`[joliboxSDK]: paymenterror ${o}`}}})}}}var Qx=T(()=>{"use strict";st()});var ys=T(()=>{"use strict"});var v5,gn,fr,g5,Nr,jd=T(()=>{"use strict";ys();D();Q();bt();v5=()=>{let[e,t]=[ap,lp].map(r=>(n,i,o)=>new r(n,i,o));return{createPaymentError:e,createPaymentInternalError:t}},{createPaymentError:gn,createPaymentInternalError:fr}=v5(),g5=x.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com",Nr=class{constructor(){this._orderId=null;this._orderStatus="INIT";this.startPayment=t=>I(this,null,function*(){this._orderId&&(yield this.cancelOrder(this.orderId));let{code:r,message:n}=yield this.placeOrder(t);if(r!=="SUCCESS")throw gn(n,1001);return yield this.pay()});this.cancelOrder=t=>I(this,null,function*(){var n,i;let{response:r}=yield re(`/api/orders/${t}/cancel`,{method:"POST",data:{}});if(r.code!=="SUCCCESS")throw gn((i=(n=r.message)!=null?n:r.errMsg)!=null?i:"",1003)});this.generateCallbackUrl=()=>{let t=new URLSearchParams("");return t.set("utm_source",x.deviceInfo.platform),t.set("joliSource",x.encodeJoliSourceQuery(P({},this.generatePaymentContext()))),`${g5}//payment/callback?${t.toString()}`}}get orderId(){return this._orderId}get status(){return this._orderStatus}}});var Ud,Zx,eS=T(()=>{"use strict";bt();jd();ys();Ud=class extends Nr{constructor(r){super();this.productId=r;this.generatePaymentContext=()=>({type:"JOLI_COIN_ORDER_CONTEXT",state:"TO_VALIDATE",productId:this.productId,orderId:this.orderId});this.pay=()=>I(this,null,function*(){let r=this.generateCallbackUrl();return console.info("callbackUrl",r),{code:"SUCCESS",message:"jolicoin payment success"}})}placeOrder(r){return I(this,null,function*(){var n,i,o,a;try{let{response:s}=yield re("/api/orders/checkout/joli-coin",{method:"POST",data:{productId:r.productId}});if(s.code!=="SUCCESS")throw gn((i=(n=s.errMsg)!=null?n:s.message)!=null?i:"",1002);return{code:"SUCCESS",message:(o=s.message)!=null?o:"placeorder jolicoin success",data:s.data}}catch(s){throw console.info("[JoliboxSDK] placeorder failed",s),fr((a=JSON.stringify(s))!=null?a:"jolicoin placeorder failed",1002)}})}},Zx=()=>{let e=new Map;return t=>I(void 0,null,function*(){let r=e.get(t);return r||(r=new Ud(t),e.set(t,r)),yield r.startPayment({productId:t}),{code:"SUCCESS",message:"jolicoin payment success"}})}});var tS,rS=T(()=>{"use strict";tS={SUCCESS:"unlockSuccess",FAIL_NOT_LOGIN:"unlockFailedNotLogin",FAIL_PAYING:"unlockFailedPaying",FAIL_PRODUCT_EMPTY:"unlockFailedProductIdNotFound",FAIL_GET_PRODUCT_INFO:"unlockFailedProductInvalid",FAIL_LAUNCH_BILLING:"unlockFailedLaunch",FAIL_TRANSACTION:"unlockFailedTransaction",FAIL_VERIFY:"unlockFaileVerify",TRANSACTION_PENDING:"transactionPending",FAILED:"unlockFailed"}});var Bd,nS,Jd,$d,y5,iS,oS=T(()=>{"use strict";bt();jd();ys();Ae();D();Q();Rr();rS();Bd=new Map;He("onPaymentStateChange",e=>{var a;console.info("onPaymentStateChange",e);let{orderUUID:t,status:r,totalAmount:n,orderResponse:i}=e,o=Bd.get(t);if(o){if(r==="SUCCESS")Mi("{slot-success} {slot-i18n-jolicoin.unlockSuccess}",{position:"center",duration:3e3}),o.resolve({code:"SUCCESS",message:"jolicoin payment success",data:{totalAmount:n}});else{if(r==="FAILED"&&ep(i==null?void 0:i.errNo)&&(i==null?void 0:i.errNo)!==0)throw fr(`jolicoin payment failed: ${i==null?void 0:i.errMsg}`,1002);let s=(a=tS[r])!=null?a:"unlockFailed";Mi(`{slot-error} {slot-i18n-jolicoin.${s}}`,{position:"center",duration:3e3}),o.resolve({code:"FAILED",message:"jolicoin payment failed"})}Bd.delete(t)}});nS=e=>I(void 0,null,function*(){var n,i;let t=new gt,r;try{let o=yield pe("requestPaymentSync",{paymentBody:{appStoreProductId:e.appStoreProductId,appAccountToken:e.appAccountToken}});if(r=(n=o.data)==null?void 0:n.orderUUID,console.info("---payInApp---",o),!r)throw fr("orderUUID is null",1002);Bd.set(r,t)}catch(o){throw fr((i=JSON.stringify(o))!=null?i:"jolicoin payment failed",1002)}return t.promise}),Jd=class extends Nr{constructor(r,n){super();this.productId=r;this.appStoreProductId=n;this.generatePaymentContext=()=>({type:"JOLI_COIN_IAP_CONTEXT",state:"TO_VALIDATE",productId:this.productId,appStoreProductId:this.appStoreProductId});this.pay=()=>I(this,null,function*(){return yield nS({appStoreProductId:this.appStoreProductId})})}placeOrder(r){return I(this,null,function*(){return{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},$d=class extends Nr{constructor(r,n){super();this.productId=r;this.appStoreProductId=n;this.generatePaymentContext=()=>({type:"JOLI_COIN_IAP_CONTEXT",state:"TO_VALIDATE",productId:this.productId,appStoreProductId:this.appStoreProductId});this.pay=()=>I(this,null,function*(){return yield nS({appStoreProductId:this.appStoreProductId,appAccountToken:this.appAccountToken})})}placeOrder(r){return I(this,null,function*(){var a;console.log("----start place order for ios----");let{response:n}=yield re("/api/orders/iap-init",{method:"GET",appendHostCookie:!0}),{data:i,code:o}=n!=null?n:{};if(console.log("----iap init----",i,o),i.code!=="SUCCESS")throw fr("iap-init failed",1002);return this.appAccountToken=(a=i==null?void 0:i.data)==null?void 0:a.iapToken,{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},y5={android:Jd,ios:$d},iS=()=>{let e=new Map;return t=>I(void 0,null,function*(){let{productId:r,appStoreProductId:n}=t,i=e.get(r);if(!i){let s=y5[x.platform];if(!s)throw fr("platform not supported",1002);i=new s(r,n),e.set(r,i)}let{code:o,message:a}=yield i.startPayment({productId:r,appStoreProductId:n});if(o!=="SUCCESS")throw gn(a,1002);return{code:"SUCCESS",message:"jolicoin payment success"}})}});var _s,aS=T(()=>{"use strict";Qx();eS();oS();_s=Yx();_s.registerPaymentHandler("JOLI_COIN",Zx());_s.registerPaymentHandler("JOLI_COIN_IAP",iS())});var cS=h(Wt=>{"use strict";Or();Rr();bt();Q();Fd();Ui();Kx();aS();Rr();ft();Ae();D();var zd=Gt(G,vs);zd.getData();var pr=bd(),Hd=Promise.resolve(),lS=e=>I(Wt,null,function*(){Hd=Hd.then(()=>I(Wt,null,function*(){yield re("/api/joli-coin/user-config",{method:"POST",appendHostCookie:!0,data:{enableAutoDeduct:e}})})),yield Hd});G.on(ms,(e,t)=>I(Wt,null,function*(){if(e==="ADS-JOLI_COIN"){yield pr.show({duration:3e3});let n=yield zd.getData(),i=yield zx(n.joliCoinUseAndCharge.useJolicoin);if(console.log("use modal show by frequency",i),pr.hide(),!i){G.emit(mn,{useModalResult:"CONFIRM"});return}}let r=ix({data:{enableAutoDeduct:t.enableAutoDeduct,userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>{G.emit(mn,{useModalResult:"CONFIRM"}),r.destroy()}},cancel:{text:t.cancelButtonText,onPress:({type:n})=>{G.emit(mn,{useModalResult:(n!=null?n:"")==="CANCEL"?"CANCEL":"FAILED"}),r.destroy()}},onEnableDeductChanged:n=>I(Wt,null,function*(){yield lS(n)})}});yield Vx()}));G.on(hs,(e,t)=>I(Wt,null,function*(){var r,n;try{if(!kx("requestPaymentSync:paymentBody:appStoreProductId")){console.info("requestPaymentSync:paymentBody:appStoreProductId not supported"),setTimeout(()=>{G.emit(pt,{paymentResult:"FAILED"})},0);return}if(e==="ADS-JOLI_COIN"){yield pr.show({duration:3e3});let a=yield zd.getData(),s=yield Gx(a.joliCoinUseAndCharge.charge);if(console.log("use payment show by frequency",s),pr.hide(),!s){G.emit(pt,{paymentResult:"SUCCESS"});return}console.log("show by frequency")}yield pr.show({duration:3e3});let i=yield sS();if(pr.hide(),!i){G.emit(pt,{paymentResult:"FAILED"});return}let o=ox({data:{userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity,paymentChoices:(n=(r=i.paymentChoices)==null?void 0:r.map(a=>{var s;return L(P({},a),{totalAmountStr:(s=a.totalAmountStr)!=null?s:""})}))!=null?n:[],enableAutoDeduct:i.enableAutoDeduct},buttons:{confirm:{text:t.confirmButtonText,onPress:a=>I(Wt,null,function*(){var c,d,u,p;if(!((c=x.hostUserInfo)!=null&&c.isLogin)){let{data:f}=yield Ld();if(!(f!=null&&f.isLogin)){console.log("login failed");return}let m=yield sS();if(((d=m==null?void 0:m.balance)!=null?d:0)>=t.joliCoinQuantity){G.emit(pt,{paymentResult:"SUCCESS"}),o.destroy();return}}console.log("invokeNativePayment",a);let s=(p=(u=i==null?void 0:i.paymentChoices)==null?void 0:u.find(f=>f.productId===a))==null?void 0:p.appStoreProductId;if(!s){G.emit(pt,{paymentResult:"FAILED"}),o.destroy();return}yield pr.show({duration:3e3});let{code:l}=yield _s.invokePayment("JOLI_COIN_IAP",{productId:a,appStoreProductId:s});if(pr.hide(),l!=="SUCCESS"){console.info("[JoliboxSDK] payment failed in payment.invokePaymet");return}G.emit(pt,{paymentResult:"SUCCESS"}),o.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:a})=>{G.emit(pt,{paymentResult:(a!=null?a:"")==="CANCEL"?"CANCEL":"FAILED"}),o.destroy()}},onEnableDeductChanged:a=>I(Wt,null,function*(){yield lS(a)})}});yield Wx()}catch(i){console.info("payment failed",i),G.emit(pt,{paymentResult:"FAILED"})}}));var _5=(e,t)=>{Object.keys(t).forEach(r=>{let n=e.paymentChoices.find(i=>i.appStoreProductId===r);n&&(n.totalAmountStr=t[r].price)}),e.paymentChoices=e.paymentChoices.filter(r=>!hl(r.totalAmountStr)),console.info("----mergeResponseData-----",e.paymentChoices)},sS=()=>I(Wt,null,function*(){var r,n,i,o,a,s,l,c;let{response:e}=yield re("/api/joli-coin/balance-detail",{method:"GET",appendHostCookie:!0,responseType:"json"});console.info("getBalenceDetails",e);let{data:t}=yield pe("requestProductDetailsAsync",{appStoreProductIds:(o=(i=(n=(r=e.data)==null?void 0:r.data)==null?void 0:n.paymentChoices)==null?void 0:i.filter(d=>typeof d.appStoreProductId=="string").map(d=>d.appStoreProductId))!=null?o:[]});return(a=e.data)!=null&&a.data&&t&&_5((s=e.data)==null?void 0:s.data,t),console.info("productDetails",(l=e.data)==null?void 0:l.data),(c=e.data)==null?void 0:c.data})});function et(e,t,r){return(t=E5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E5(e){var t=x5(e,"string");return typeof t=="symbol"?t:t+""}function x5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bs(e,t,r){return(t=S5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S5(e){var t=A5(e,"string");return typeof t=="symbol"?t:t+""}function A5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function q5(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function L5(e){return typeof e=="string"}function F5(e){return typeof e=="undefined"}function M5(e){return F5(e)||e===null}function j5(e){return typeof e=="function"}function LS(e){let t=e,r=null,n=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r||(r=new t(...o)),r};return n.prototype=t.prototype,n}function Bi(e){return function(){var t,r;((r=(t=globalThis.VConsole)==null?void 0:t[e])!=null?r:globalThis.console[e])(...arguments)}}function Es(e,t){return t.map(r=>{if(r==="params"&&e[r]){let n=e[r];return Object.keys(n).reduce((i,o)=>(i[o]=String(n[o]),i),{})}return e[r]})}function V5(e){let t=e.location?Es(e.location,mS):null,r=e.target?Es(e.target,mS):null;return Es(O5(R5({},e),{location:t,target:r}),H5)}function G5(e){let t=e.events.map(n=>V5(n)),r=Es(e.device,z5);return[e.protocolVersion,t,r,e.project]}function W5(){try{if(window.__joliboxLocalStorage__)return window.__joliboxLocalStorage__;let e=Object.getOwnPropertyDescriptor(window,"localStorage");if(e&&e.get){let n=e.get.call(window);return window.__joliboxLocalStorage__=n,n}if(e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(window),"localStorage"),e&&e.get)return e.get.call(window);let t=Window.prototype,r=Object.getOwnPropertyDescriptor(t,"localStorage");if(r&&r.get){let n=r.get.call(window);return window.__joliboxLocalStorage__=n,n}return localStorage}catch(e){return console.warn("Failed to get original localStorage, fallback to default implementation",e),localStorage}}function Z5(e){return new Promise(t=>US(e)(t))}function US(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function e3(e,t){return(r=>{let n={onWillAddFirstListener(){r(i.fire,i)}},i=new Vi(n);return i.event})(function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e(i=>t(i)&&r.call(n,i),null)})}function r3(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)n3(e[n],t[n])}function n3(e,t){if(L5(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(j5(t)){try{if(e instanceof t)return}catch(r){}if(!M5(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("[Jolibox SDK]argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function Gd(e,t,r){return(t=i3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i3(e){var t=o3(e,"string");return typeof t=="symbol"?t:t+""}function o3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ws(e,t,r){return(t=a3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a3(e){var t=s3(e,"string");return typeof t=="symbol"?t:t+""}function s3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kt(e,t,r){return(t=l3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l3(e){var t=c3(e,"string");return typeof t=="symbol"?t:t+""}function c3(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u3(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function d3(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}function g3(e,t){return Oe(e,0)^45?(((t<<2^Oe(e,0))<<2^Oe(e,1))<<2^Oe(e,2))<<2^Oe(e,3):0}function $S(e){return e.trim()}function y3(e,t){return(e=t.exec(e))?e[0]:e}function J(e,t,r){return e.replace(t,r)}function lf(e,t){return e.indexOf(t)}function Oe(e,t){return e.charCodeAt(t)|0}function Gi(e,t,r){return e.slice(t,r)}function Ot(e){return e.length}function _f(e){return e.length}function Is(e,t){return t.push(e),e}function _3(e,t){return e.map(t).join("")}function Ls(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:qs,column:wn,length:a,return:""}}function $i(e,t){return v3(Ls("",null,null,"",null,null,0),e,{length:-e.length},t)}function b3(){return be}function w3(){return be=We>0?Oe(In,--We):0,wn--,be===10&&(wn=1,qs--),be}function rt(){return be=We<HS?Oe(In,We++):0,wn++,be===10&&(wn=1,qs++),be}function Nt(){return Oe(In,We)}function xs(){return We}function Ki(e,t){return Gi(In,e,t)}function Wi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zS(e){return qs=wn=1,HS=Ot(In=e),We=0,[]}function VS(e){return In="",e}function Ss(e){return $S(Ki(We-1,cf(e===91?e+2:e===40?e+1:e)))}function I3(e){for(;(be=Nt())&&be<33;)rt();return Wi(e)>2||Wi(be)>3?"":" "}function E3(e,t){for(;--t&&rt()&&!(be<48||be>102||be>57&&be<65||be>70&&be<97););return Ki(e,xs()+(t<6&&Nt()==32&&rt()==32))}function cf(e){for(;rt();)switch(be){case e:return We;case 34:case 39:e!==34&&e!==39&&cf(be);break;case 40:e===41&&cf(e);break;case 92:rt();break}return We}function x3(e,t){for(;rt()&&e+be!==57&&!(e+be===84&&Nt()===47););return"/*"+Ki(t,We-1)+"*"+Ds(e===47?e:rt())}function S3(e){for(;!Wi(Nt());)rt();return Ki(e,We)}function A3(e){return VS(As("",null,null,null,[""],e=zS(e),0,[0],e))}function As(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,v=1,y=1,g=1,_=0,w="",k=i,R=o,C=n,E=w;y;)switch(m=_,_=rt()){case 40:if(m!=108&&Oe(E,u-1)==58){lf(E+=J(Ss(_),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Ss(_);break;case 9:case 10:case 13:case 32:E+=I3(m);break;case 92:E+=E3(xs()-1,7);continue;case 47:switch(Nt()){case 42:case 47:Is(k3(x3(rt(),xs()),t,r),l);break;default:E+="/"}break;case 123*v:s[c++]=Ot(E)*g;case 125*v:case 59:case 0:switch(_){case 0:case 125:y=0;case 59+d:g==-1&&(E=J(E,/\f/g,"")),f>0&&Ot(E)-u&&Is(f>32?yS(E+";",n,r,u-1):yS(J(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(Is(C=gS(E,t,r,c,d,i,s,w,k=[],R=[],u),o),_===123)if(d===0)As(E,t,C,C,k,o,u,s,R);else switch(p===99&&Oe(E,3)===110?100:p){case 100:case 108:case 109:case 115:As(e,C,C,n&&Is(gS(e,C,C,0,0,i,s,w,i,k=[],u),R),i,R,u,s,n?k:R);break;default:As(E,C,C,C,[""],R,0,s,R)}}c=d=f=0,v=g=1,w=E="",u=a;break;case 58:u=1+Ot(E),f=m;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&w3()==125)continue}switch(E+=Ds(_),_*v){case 38:g=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(Ot(E)-1)*g,g=1;break;case 64:Nt()===45&&(E+=Ss(rt())),p=Nt(),d=u=Ot(w=E+=S3(xs())),_++;break;case 45:m===45&&Ot(E)==2&&(v=0)}}return o}function gS(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=_f(p),m=0,v=0,y=0;m<n;++m)for(var g=0,_=Gi(e,u+1,u=m3(v=a[m])),w=e;g<f;++g)(w=$S(v>0?p[g]+" "+_:J(_,/&\f/g,p[g])))&&(l[y++]=w);return Ls(e,t,r,i===0?gf:s,l,c,d)}function k3(e,t,r){return Ls(e,t,r,BS,Ds(b3()),Gi(e,2,-2),0)}function yS(e,t,r,n){return Ls(e,t,r,yf,Gi(e,0,n),Gi(e,n+1,-1),n)}function bn(e,t){for(var r="",n=_f(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function T3(e,t,r,n){switch(e.type){case h3:if(e.children.length)break;case p3:case yf:return e.return=e.return||e.value;case BS:return"";case JS:return e.return=e.value+"{"+bn(e.children,n)+"}";case gf:e.value=e.props.join(",")}return Ot(r=bn(e.children,n))?e.return=e.value+"{"+r+"}":""}function P3(e){var t=_f(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function C3(e){return function(t){t.root||(t=t.return)&&e(t)}}function R3(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function GS(e,t){switch(g3(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+Ps+e+Me+e+e;case 6828:case 4268:return B+e+Me+e+e;case 6165:return B+e+Me+"flex-"+e+e;case 5187:return B+e+J(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+Me+"flex-$1$2")+e;case 5443:return B+e+Me+"flex-item-"+J(e,/flex-|-self/,"")+e;case 4675:return B+e+Me+"flex-line-pack"+J(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+Me+J(e,"shrink","negative")+e;case 5292:return B+e+Me+J(e,"basis","preferred-size")+e;case 6060:return B+"box-"+J(e,"-grow","")+B+e+Me+J(e,"grow","positive")+e;case 4554:return B+J(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+Me+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ot(e)-1-t>6)switch(Oe(e,t+1)){case 109:if(Oe(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+Ps+(Oe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~lf(e,"stretch")?GS(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Oe(e,t+1)!==115)break;case 6444:switch(Oe(e,Ot(e)-3-(~lf(e,"!important")&&10))){case 107:return J(e,":",":"+B)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(Oe(e,14)===45?"inline-":"")+"box$3$1"+B+"$2$3$1"+Me+"$2box$3")+e}break;case 5936:switch(Oe(e,t+11)){case 114:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+Me+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+Me+e+e}return e}function U3(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Cs(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return hr={name:i.name,styles:i.styles,next:hr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)hr={name:a.name,styles:a.styles,next:hr},a=a.next;var s=o.styles+";";return s}return H3(e,t,r)}}var l=r;if(t==null)return l;var c=t[l];return c!==void 0?c:l}function H3(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Cs(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":bS(s)&&(n+=Wd(o)+":"+wS(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)bS(a[l])&&(n+=Wd(o)+":"+wS(o,a[l])+";");else{var c=Cs(e,t,a);switch(o){case"animation":case"animationName":{n+=Wd(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function Kd(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";hr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Cs(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Cs(r,t,e[s]),n){var l=o;i+=l[s]}IS.lastIndex=0;for(var c="",d;(d=IS.exec(i))!==null;)c+="-"+d[1];var u=U3(i)+c;return{name:u,styles:i,next:hr}}function KS(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}function ES(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function xS(e,t,r){var n=[],i=KS(e,n,r);return n.length<2?r:i+t(n)}function Y3(e,t){Se.__h&&Se.__h(tt,e,AS||t),AS=0;var r=tt.__H||(tt.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function QS(e,t){var r=Y3(uf++,7);return Z3(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Q3(){for(var e;e=YS.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ks),e.__H.__h.forEach(df),e.__H.__h=[]}catch(t){e.__H.__h=[],Se.__e(t,e.__v)}}function X3(e){var t,r=function(){clearTimeout(n),NS&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);NS&&(t=requestAnimationFrame(r))}function ks(e){var t=tt,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),tt=t}function df(e){var t=tt;e.__c=e.__(),tt=t}function Z3(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Fs(){if(mr>1)mr--;else{for(var e,t=!1;Hi!==void 0;){var r=Hi;for(Hi=void 0,ff++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&ZS(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if(ff=0,mr--,t)throw e}}function Ge(e){if(mr>0)return e();mr++;try{return e()}finally{Fs()}}function XS(e){if(W!==void 0){var t=e.n;if(t===void 0||t.t!==W)return t={i:0,S:e,p:W.s,n:void 0,t:W,e:void 0,x:void 0,r:t},W.s!==void 0&&(W.s.n=t),W.s=t,e.n=t,32&W.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=W.s,t.n=void 0,W.s.n=t,W.s=t),t}}function Ne(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function Y(e){return new Ne(e)}function ZS(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function eA(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function tA(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function xn(e){Ne.call(this,void 0),this.x=e,this.s=void 0,this.g=Rs-1,this.f=4}function zi(e){return new xn(e)}function rA(e){var t=e.u;if(e.u=void 0,typeof t=="function"){mr++;var r=W;W=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,bf(e),n}finally{W=r,Fs()}}}function bf(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,rA(e)}function tJ(e){if(W!==this)throw new Error("Out-of-order effect");tA(this),W=e,this.f&=-2,8&this.f&&bf(this),Fs()}function Yi(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Qi(e){var t=new Yi(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}function Sn(e,t){O[e]=t.bind(null,O[e]||function(){})}function Os(e){Qd&&Qd(),Qd=e&&e.S()}function oA(e){var t=this,r=e.data,n=aA(r);n.value=r;var i=QS(function(){for(var s=t,l=t.__v;l=l.__;)if(l.__c){l.__c.__$f|=4;break}var c=zi(function(){var f=n.value.value;return f===0?0:f===!0?"":f||""}),d=zi(function(){return!Array.isArray(c.value)&&!Dl(c.value)}),u=Qi(function(){if(this.N=sA,d.value){var f=c.value;s.__v&&s.__v.__e&&s.__v.__e.nodeType===3&&(s.__v.__e.data=f)}}),p=t.__$u.d;return t.__$u.d=function(){u(),p.call(this)},[d,c]},[]),o=i[0],a=i[1];return o.value?a.peek():a.value}function rJ(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=Y(r);return{o:function(a,s){o.value=a,n=s},d:Qi(function(){this.N=sA;var a=o.value.value;n[t]!==a&&(n[t]=a,i?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}function aA(e){return QS(function(){return Y(e)},[])}function iJ(){Ge(function(){for(var e;e=iA.shift();)nA.call(e)})}function sA(){iA.push(this)===1&&(O.requestAnimationFrame||nJ)(iJ)}function oJ(e,t){let r=ai(e);Wr(()=>{r.current=e},[e]),oi(()=>{if(t===null)return;let n=setInterval(()=>{r.current()},t);return()=>{clearInterval(n)}},[t])}function fe(e,t,r,n,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--aJ,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return O.vnode&&O.vnode(c),c}function Yt(e,t,r){return(t=yJ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yJ(e){var t=_J(e,"string");return typeof t=="symbol"?t:t+""}function _J(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qt(e,t,r){return(t=EJ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EJ(e){var t=xJ(e,"string");return typeof t=="symbol"?t:t+""}function xJ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rt(e,t,r){return(t=SJ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SJ(e){var t=AJ(e,"string");return typeof t=="symbol"?t:t+""}function AJ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uS,b5,w5,I5,Xd,Zd,DS,k5,T5,dS,P5,C5,fS,R5,O5,N5,qS,D5,U5,B5,pS,J5,hS,$5,FS,MS,jS,mS,H5,z5,ef,ie,K5,Y5,Ji,Vi,Q5,rf,X5,Vd,t3,nf,vS,of,af,sf,f3,Me,Ps,B,BS,gf,yf,p3,JS,h3,m3,Ds,v3,qs,wn,HS,We,be,In,O3,N3,D3,_S,q3,L3,F3,M3,j3,B3,J3,$3,WS,bS,Wd,wS,IS,hr,z3,V3,G3,W3,K3,En,uf,tt,Yd,SS,AS,YS,Se,kS,TS,PS,CS,RS,OS,NS,eJ,W,Hi,mr,ff,Rs,nA,Qd,iA,nJ,je,aJ,sJ,Xt,pf,hf,Ts,lJ,cJ,uJ,dJ,fJ,pJ,hJ,mJ,vJ,gJ,mf,_n,yn,bJ,wJ,IJ,vf,Ns,ZK,lA=T(()=>{"use strict";Mr();Lo();uS=Object.getOwnPropertySymbols,b5=Object.prototype.hasOwnProperty,w5=Object.prototype.propertyIsEnumerable,I5=(e,t)=>{var r={};for(var n in e)b5.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&uS)for(var n of uS(e))t.indexOf(n)<0&&w5.call(e,n)&&(r[n]=e[n]);return r};Xd=class{constructor(t){et(this,"context",void 0),et(this,"continueCallback",void 0),et(this,"adIsShowingCallback",void 0),et(this,"isBeforeAdCalled",!1),et(this,"isBeforeRewardCalled",!1),et(this,"isAdDismissedCalled",!1),et(this,"isAdViewedCalled",!1),et(this,"isAfterAdCalled",!1),et(this,"currentProvider",void 0),et(this,"currentClientParams",void 0),et(this,"adsHasResponse",!1),et(this,"videoChecker",window.document.createElement("video")),et(this,"wrapShowAdFn",r=>()=>{var n;this.adsHasResponse=!0;let i=!1;this.videoChecker.play().catch(()=>{i=!1}),i=!this.videoChecker.paused,this.videoChecker.pause(),this.context.track("CallShowAdFn",Object.assign({},{userEvent:i},this.paramsToTrack)),(n=this.adIsShowingCallback)==null||n.call(this,!0),r()}),this.context=t}get paramsToTrack(){var t,r,n,i,o,a;return{provider:(r=(t=this.currentProvider)==null?void 0:t.name)!=null?r:null,type:(n=this.currentClientParams)==null?void 0:n.type,name:((i=this.currentClientParams)==null?void 0:i.type)==="preroll"?null:(a=(o=this.currentClientParams)==null?void 0:o.name)!=null?a:""}}wrapBeforeAd(t){return()=>{var r,n;this.adsHasResponse=!0,this.context.track("CallBeforeAd",this.paramsToTrack),this.isBeforeAdCalled||(this.isBeforeAdCalled=!0,t==null||t(),((r=this.currentClientParams)==null?void 0:r.type)!=="reward"&&((n=this.adIsShowingCallback)==null||n.call(this,!0)))}}wrapBeforeReward(t){return r=>{this.adsHasResponse=!0,this.isBeforeRewardCalled?this.wrapShowAdFn(r)():(this.isBeforeRewardCalled=!0,t==null||t(this.wrapShowAdFn(r)))}}wrapAdDismissed(t){return()=>{this.adsHasResponse=!0,this.isAdDismissedCalled||(this.isAdDismissedCalled=!0,t==null||t())}}wrapAdViewed(t){return()=>{this.adsHasResponse=!0,this.isAdViewedCalled||(this.isAdViewedCalled=!0,t==null||t())}}wrapAfterAd(t){return()=>{this.adsHasResponse=!0,this.context.track("CallAfterAd",this.paramsToTrack),this.isAfterAdCalled||(this.isAfterAdCalled=!0,t==null||t())}}wrapAdBreakDone(t){return r=>{var n,i,o,a,s,l;switch(this.adsHasResponse=!0,this.context.track("CallAdBreakDone",{provider:(i=(n=this.currentProvider)==null?void 0:n.name)!=null?i:null,breakType:r.breakType,breakName:(o=r.breakName)!=null?o:"",breakFormat:r.breakFormat,breakStatus:r.breakStatus}),r.breakStatus){case"viewed":case"ignored":case"dismissed":case"error":{t==null||t(r),(a=this.adIsShowingCallback)==null||a.call(this,!1),(s=this.continueCallback)==null||s.call(this,[!1,r]);break}default:{(l=this.continueCallback)==null||l.call(this,[!0,r]);break}}}}callAdBreakAndContinue(t,r,n,i){return I(this,null,function*(){return this.currentProvider=t,this.currentClientParams=r,this.adsHasResponse=!1,new Promise(o=>{this.continueCallback=o,this.adIsShowingCallback=i;let a;switch(r.type){case"preroll":{a={type:r.type,adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}case"reward":{a={name:r.name,type:r.type,beforeAd:this.wrapBeforeAd(r.beforeAd),beforeReward:this.wrapBeforeReward(r.beforeReward),adDismissed:this.wrapAdDismissed(r.adDismissed),adViewed:this.wrapAdViewed(r.adViewed),afterAd:this.wrapAfterAd(r.afterAd),adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}default:{a={name:r.name,type:r.type,beforeAd:this.wrapBeforeAd(r.beforeAd),afterAd:this.wrapAfterAd(r.afterAd),adBreakDone:this.wrapAdBreakDone(r.adBreakDone)};break}}window.setTimeout(()=>{var s,l,c,d,u;this.adsHasResponse||(this.context.track("CallAdBreakTimeout",{type:r.type,provider:(l=(s=this.currentProvider)==null?void 0:s.name)!=null?l:null}),(d=this.continueCallback)==null||d.call(this,[!0,{breakType:r.type,breakName:r.type==="preroll"?"":(c=r.name)!=null?c:"",breakFormat:r.type==="reward"?"reward":"interstitial",breakStatus:"timeout"}]),(u=this.adIsShowingCallback)==null||u.call(this,!1))},5e3),this.context.track("CallAdBreak",this.paramsToTrack),t.adBreak(a,n),window.JoliTesterBridge&&console.log("joli-fullscreen-ad-show")})})}};Zd=class{constructor(t){bs(this,"context",void 0),bs(this,"adBreakIsShowing",!1),bs(this,"reportPageJumpOut",()=>{this.context.track("AdBreakJumpOut",{context:"AdsActionDetection"})}),bs(this,"reportPageHide",()=>{this.context.track("AdBreakHide",{context:"AdsActionDetection"})}),this.context=t,window.addEventListener("visibilitychange",()=>{document.hidden&&this.adBreakIsShowing&&this.reportPageHide()}),window.addEventListener("beforeunload",r=>{this.adBreakIsShowing&&this.reportPageJumpOut()})}},DS=Object.defineProperty,k5=Object.defineProperties,T5=Object.getOwnPropertyDescriptors,dS=Object.getOwnPropertySymbols,P5=Object.prototype.hasOwnProperty,C5=Object.prototype.propertyIsEnumerable,fS=(e,t,r)=>t in e?DS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R5=(e,t)=>{for(var r in t||(t={}))P5.call(t,r)&&fS(e,r,t[r]);if(dS)for(var r of dS(t))C5.call(t,r)&&fS(e,r,t[r]);return e},O5=(e,t)=>k5(e,T5(t)),N5=(e,t)=>{for(var r in t)DS(e,r,{get:t[r],enumerable:!0})},qS=(e,t,r,n)=>{for(var i=t,o=e.length-1,a;o>=0;o--)(a=e[o])&&(i=a(i)||i);return i},D5=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{s(r.next(l))}catch(c){i(c)}},a=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,a);s((r=r.apply(e,t)).next())});if(typeof window!="undefined"&&!window.AbortController){let e=function(){this.signal=new t};e.prototype.abort=function(){this.signal._aborted=!0,typeof this.signal.onabort=="function"&&this.signal.onabort(new Event("abort"));let r=new Event("abort");this.signal.dispatchEvent(r)};let t=function(){this._aborted=!1,this.aborted=!1,this.onabort=null,this._eventListeners={}};Object.defineProperty(t.prototype,"aborted",{get:function(){return this._aborted}}),t.prototype.addEventListener=function(r,n){this._eventListeners[r]||(this._eventListeners[r]=[]),this._eventListeners[r].push(n)},t.prototype.removeEventListener=function(r,n){if(!this._eventListeners[r])return;let i=this._eventListeners[r].indexOf(n);i!==-1&&this._eventListeners[r].splice(i,1)},t.prototype.dispatchEvent=function(r){if(this._eventListeners[r.type])for(let n of this._eventListeners[r.type])n.call(this,r)},window.AbortController=e,window.AbortSignal=t}U5=(e=>(e[e.DEVELOPER_FILE_NOT_FOUND=0]="DEVELOPER_FILE_NOT_FOUND",e[e.INTERNAL_IOS_CAN_NOT_FOUND_PKG=1]="INTERNAL_IOS_CAN_NOT_FOUND_PKG",e[e.USER_IOS_LOAD_TIMEOUT=2]="USER_IOS_LOAD_TIMEOUT",e[e.INTERNAL_IOS_PKG_LOAD_ERROR=3]="INTERNAL_IOS_PKG_LOAD_ERROR",e[e.INTERNAL_IOS_PKG_PARSE_FAIL=4]="INTERNAL_IOS_PKG_PARSE_FAIL",e[e.USER_IOS_GET_EMPTY_DATA=5]="USER_IOS_GET_EMPTY_DATA",e[e.USER_ANDROID_GET_PKG_FAIL=6]="USER_ANDROID_GET_PKG_FAIL",e[e.DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE=7]="DEVELOPER_ANDROID_PACKAGE_FILE_UNEXPECTED_REQUIRE",e))(U5||{});B5={log:Bi("log"),warn:Bi("warn"),info:Bi("info"),error:Bi("error"),debug:Bi("debug")};Object.assign(globalThis,{logger:B5});pS=Symbol.for("Jolibox.canIUseMap"),J5={};globalThis[pS]||(globalThis[pS]=J5);hS=Symbol.for("Jolibox.canIUseMap.native"),$5={};globalThis[hS]||(globalThis[hS]=$5);FS=(e=>(e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(FS||{}),MS=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(MS||{}),jS=(e=>(e[e.App=0]="App",e[e.H5=1]="H5",e[e.Weapp=2]="Weapp",e[e.Alipay=3]="Alipay",e[e.Gcash=4]="Gcash",e[e.Dana=5]="Dana",e[e.Umma=6]="Umma",e[e.WebSDK=1e3]="WebSDK",e[e.AppSDK=1001]="AppSDK",e[e.Other=9999]="Other",e))(jS||{}),mS=["name","params"],H5=["name","type","location","target","extra","timestamp","userId"],z5=["platform","os","appVersion","appId","model","brand","uuid","jsSdkVersion","extra"];W5();navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS"),navigator.userAgent.includes("Android"),navigator.userAgent.includes("Mac"),navigator.userAgent.includes("FB_IAB"),!navigator.userAgent.includes("iPhone")&&navigator.userAgent.includes("Android");ef=class tf{constructor(t){this.element=t,this.next=tf.Undefined,this.prev=tf.Undefined}};ef.Undefined=new ef(void 0);ie=ef,K5=class{constructor(){this._first=ie.Undefined,this._last=ie.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ie.Undefined}clear(){let e=this._first;for(;e!==ie.Undefined;){let t=e.next;e.prev=ie.Undefined,e.next=ie.Undefined,e=t}this._first=ie.Undefined,this._last=ie.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new ie(e);if(this._first===ie.Undefined)this._first=r,this._last=r;else if(t){let i=this._last;this._last=r,r.prev=i,i.next=r}else{let i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(r))}}shift(){if(this._first!==ie.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ie.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ie.Undefined&&e.next!==ie.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ie.Undefined&&e.next===ie.Undefined?(this._first=ie.Undefined,this._last=ie.Undefined):e.next===ie.Undefined?(this._last=this._last.prev,this._last.next=ie.Undefined):e.prev===ie.Undefined&&(this._first=this._first.next,this._first.prev=ie.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ie.Undefined;)yield e.element,e=e.next}},Y5=0,Ji=class{constructor(e){this.value=e,this.id=Y5++}},Vi=class{constructor(e){this.options=e,this._size=0}dispose(e){var t,r;this._disposed||(this._disposed=!0,this._listeners&&(e?(this._listeners instanceof Ji&&(this._listeners=[this._listeners]),this._listeners=this._listeners.filter(n=>(n==null?void 0:n.value)===e)):(this._listeners=void 0,this._size=0)),(r=(t=this.options)==null?void 0:t.onDidRemoveLastListener)==null||r.call(t))}get event(){return this._event!=null||(this._event=(e,t)=>{var r,n,i,o,a,s;if(this._disposed)return()=>{console.info("[Jolibox SDK] Emitter is _disposed")};t&&(e=e.bind(t));let l=new Ji(e);return this._listeners?this._listeners instanceof Ji?this._listeners=[this._listeners,l]:this._listeners.push(l):((n=(r=this.options)==null?void 0:r.onWillAddFirstListener)==null||n.call(r,this),this._listeners=l,(o=(i=this.options)==null?void 0:i.onDidFirstListener)==null||o.call(i,this)),(s=(a=this.options)==null?void 0:a.onDidAddListener)==null||s.call(a,this),this._size++,()=>{var c,d,u,p;if(!this._disposed){if(this._listeners instanceof Ji)this._listeners.id===l.id&&(this._listeners=void 0,this._size=0,(d=(c=this.options)==null?void 0:c.onDidRemoveLastListener)==null||d.call(c));else if(this._listeners){let f=this._listeners.indexOf(l);f>=0&&(this._listeners.splice(f,1),this._size--,this._size===0&&((p=(u=this.options)==null?void 0:u.onDidRemoveLastListener)==null||p.call(u)))}}}}),this._event}_deliver(e,t){var r;if(!e)return;let n=((r=this.options)==null?void 0:r.onListenerError)||Error.constructor;if(!n){e.value(t);return}try{e.value(t)}catch(i){n(i)}}fire(e){this._listeners&&(this._listeners instanceof Ji?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},Q5=class{constructor(){this.listeners=new Map,this.listerHandlerMap=new WeakMap,this.cachedEventQueue=new Map}on(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;var n;let i=(n=this.listeners.get(e))!=null?n:new Vi,o=l=>t(...l.args),a=i.event(o);this.listerHandlerMap.set(t,{handler:o,dispose:a}),this.listeners.set(e,i);let s=this.cachedEventQueue.get(e);if(s&&r)for(let l of s)t(...l.args)}flushCachedEvent(e){e?this.cachedEventQueue.delete(e):this.cachedEventQueue.clear()}off(e,t){let r=this.listerHandlerMap.get(t);r&&(r.dispose(),this.listerHandlerMap.delete(t))}emit(e){let t=this.listeners.get(e),r=this.cachedEventQueue.get(e);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r||(r=new K5,this.cachedEventQueue.set(e,r)),r.push({args:i}),t&&t.fire({event:e,args:i})}once(e,t){var r=this;let n=function(){t(...arguments),r.off(e,n)};this.on(e,n,!1)}},rf={};N5(rf,{None:()=>X5,filter:()=>e3,once:()=>US,toPromise:()=>Z5});X5=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Vd=Symbol.for("Jolibox.hostEmitter"),t3=()=>{let e=new Q5;return globalThis[Vd]||(globalThis[Vd]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Vd]};t3();nf=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Vi,this.onDidRegisterCommand=this._onDidRegisterCommand.event,console.log("[Jolibox SDK] command registry")}registerCommand(e){if(!e)throw new Error("invalid command");if(e.metadata&&Array.isArray(e.metadata.args)){let r=[];for(let i of e.metadata.args)r.push(i.constraint);let n=e.handler;e.handler=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r3(o,r),n(...o)}}let{id:t}=e;this._commands.get(t)&&console.info(`[Jolibox SDK] duplicated command is registered ${t}`),this._commands.set(t,e),this._onDidRegisterCommand.fire(t)}getCommand(e){return this._commands.get(e)}getCommands(){let e=new Map;for(let t of this._commands.keys()){let r=this.getCommand(t);r&&e.set(t,r)}return e}};nf=qS([LS],nf);vS=class{constructor(){this._onWillExecuteCommand=new Vi,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Vi,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new nf,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=q5(3e4)),this._starActivation}executeCommand(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return D5(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,r):(yield Promise.all([Promise.race([this._activateStar(),rf.toPromise(rf.filter(this.registry.onDidRegisterCommand,i=>i===e))])]),this._tryExecuteCommand(e,r))})}executeCommandThowErr(e){if(!this.registry.getCommand(e))throw new Error(`command '${e}' not found`);let t=this.registry.getCommand(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this._onWillExecuteCommand.fire({commandId:e,args:n});let o=this.invokeFunction(t.handler,...n);return this._onDidExecuteCommand.fire({commandId:e,args:n}),o}_tryExecuteCommand(e,t){let r=this.registry.getCommand(e);if(!r)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});let n=this.invokeFunction(r.handler,...t);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(n){return Promise.reject(n)}}invokeFunction(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e(...r)}finally{}}};vS=qS([LS],vS);of=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GAME";Gd(this,"context",void 0),Gd(this,"placement","GAME"),Gd(this,"contextInfo",void 0),this.context=t,this.placement=r,this.contextInfo=this.context.getContextInfo()}getLocation(){let t=new URLSearchParams(window.location.search),r={};return t.forEach((n,i)=>{r[i]=n}),{name:this.placement==="GAME"?"GamePage":"DramaPage",params:r}}getDevice(){var t,r,n,i;return{platform:(t=this.contextInfo.platform)!=null?t:jS.WebSDK,os:this.contextInfo.osType+"_"+this.contextInfo.runtimeType,appVersion:"1.0.0",appId:(r=this.contextInfo.hostAppId)!=null?r:"1",model:(n=this.contextInfo.deviceModel)!=null?n:"UnknownModel",brand:(i=this.contextInfo.deviceBrand)!=null?i:"UnknownBrand",uuid:this.contextInfo.deviceId,jsSdkVersion:"1.0.0",extra:{}}}serialize(t,r){var n;let i={protocolVersion:"1.0.0",events:[{name:t,type:FS.System,location:this.getLocation(),target:null,extra:r,timestamp:Date.now(),userId:(n=this.contextInfo.userId)!=null?n:null}],device:this.getDevice(),project:MS.WebSDK};return G5(i)}};af=class{constructor(t){ws(this,"configs",null),ws(this,"firstRun",!0),ws(this,"context",void 0),ws(this,"contextInfo",void 0),this.context=t,this.contextInfo=this.context.getContextInfo(),this.init()}init(){return I(this,null,function*(){try{this.configs=yield this.context.httpClient.get("/api/fe-configs/js-sdk/ads-channel-config",{})}catch(t){}})}shouldBypassCallingInterstitial(){var t,r;let n;if(!this.configs)this.init(),n=!this.firstRun;else{let i=(t=this.contextInfo.channel)!=null?t:"",o=this.configs[i],a=(r=o==null?void 0:o.interstitialRate)!=null?r:1;n=Math.random()<a}return this.firstRun=!1,n}};sf=class{constructor(t,r){Kt(this,"name","ADSENSE"),Kt(this,"context",void 0),Kt(this,"contextInfo",void 0),Kt(this,"configured",!1),Kt(this,"initParams",void 0),Kt(this,"push",function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};window.adsbygoogle.push(n)}),Kt(this,"adConfig",n=>{let i=n,{onReady:o}=i,a=I5(i,["onReady"]);this.context.track("CallAdConfig",a),this.configured?console.warn("Ad config already set, skipping"):(this.configured=!0,this.push(n))}),Kt(this,"adBreak",n=>{if(!this.contextInfo.objectId){console.warn("Game ID is not set, skip calling adBreak");return}this.push(n)}),Kt(this,"adUnit",n=>I(this,null,function*(){var i,o,a,s;if(this.context.track("CallAdUnit",{adFormat:(o=(i=n.adFormat)==null?void 0:i.toString())!=null?o:null,fullWidthResponsive:(a=n.fullWidthResponsive)!=null?a:null}),document.querySelector("#jolibox-ads")){console.warn("Ad unit already set, skipping");return}let{el:l,slot:c,adFormat:d,fullWidthResponsive:u,style:p}=n,f;if(!l)throw new Error("targeting element is required");if(typeof l=="string"?f=document.querySelector(l):f=l,!f)throw new Error("targeting element not found");let m=c;if(m||(m=this.initParams.unitId),!m)throw new Error("slot is required");let v=typeof d=="object"&&Array.isArray(d)?d.join(", "):d,y=document.createElement("ins");if(y.className="adsbygoogle",y.id="jolibox-ads",y.style.display="block",y.setAttribute("data-ad-client",this.initParams.clientId),y.setAttribute("data-ad-slot",m),v&&y.setAttribute("data-ad-format",v),u&&y.setAttribute("data-full-width-responsive",u),p&&y.setAttribute("style",p),(s=this.contextInfo.testAdsMode)!=null?s:!1){let g=document.createElement("div");g.style.position="absolute",g.style.top="0",g.style.left="0",g.style.width="100%",g.style.height="100%",g.style.display="flex",g.style.justifyContent="center",g.style.alignItems="center",g.style.backgroundColor="rgba(0, 0, 0, 0.5)",g.style.color="white",g.innerHTML="Test Ad",y.style.position="relative",f.appendChild(y),y.appendChild(g)}else f.appendChild(y),new MutationObserver(g=>{g.forEach(_=>{if(_.type==="attributes"&&_.attributeName==="data-ad-status"){let w=y.getAttribute("data-ad-status");this.context.track("AdSenseUnitStatusChanged",{status:w!=null?w:"null"})}})}).observe(y,{attributes:!0,attributeFilter:["data-ad-status"]}),this.push({})})),this.context=t,this.contextInfo=this.context.getContextInfo(),this.initParams=r,window.adsbygoogle=window.adsbygoogle||[]}init(){return I(this,null,function*(){var t;if(this.context.track("CallAdsInit",{provider:this.name}),typeof window=="undefined")return;let r="google-adsense",n=(t=this.contextInfo.testAdsMode)!=null?t:!1;if(!document.getElementById(r)&&this.initParams.clientId){let i=document.createElement("script");i.id=r,i.async=!0,i.crossOrigin="anonymous",i.src=`https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${this.initParams.clientId}`,n&&i.setAttribute("data-adbreak-test","on"),this.initParams.channelId&&i.setAttribute("data-ad-channel",this.initParams.channelId),this.initParams.admobInterstitialSlot&&this.initParams.admobRewardedSlot&&(i.setAttribute("data-admob-interstitial-slot",this.initParams.admobInterstitialSlot),i.setAttribute("data-admob-rewarded-slot",this.initParams.admobRewardedSlot),this.initParams.admobOnly&&i.setAttribute("data-admob-ads-only","on")),document.head.appendChild(i),this.context.track("LoadAdsenseCompleted",null)}})}};f3=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(d3(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=u3(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Me="-ms-",Ps="-moz-",B="-webkit-",BS="comm",gf="rule",yf="decl",p3="@import",JS="@keyframes",h3="@layer",m3=Math.abs,Ds=String.fromCharCode,v3=Object.assign;qs=1,wn=1,HS=0,We=0,be=0,In="";O3=function(e,t,r){for(var n=0,i=0;n=i,i=Nt(),n===38&&i===12&&(t[r]=1),!Wi(i);)rt();return Ki(e,We)},N3=function(e,t){var r=-1,n=44;do switch(Wi(n)){case 0:n===38&&Nt()===12&&(t[r]=1),e[r]+=O3(We-1,t,r);break;case 2:e[r]+=Ss(n);break;case 4:if(n===44){e[++r]=Nt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ds(n)}while(n=rt());return e},D3=function(e,t){return VS(N3(zS(e),t))},_S=new WeakMap,q3=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!_S.get(r))&&!n){_S.set(e,!0);for(var i=[],o=D3(t,i),a=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},L3=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};F3=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case yf:e.return=GS(e.value,e.length);break;case JS:return bn([$i(e,{value:J(e.value,"@","@"+B)})],n);case gf:if(e.length)return _3(e.props,function(i){switch(y3(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bn([$i(e,{props:[J(i,/:(read-\w+)/,":"+Ps+"$1")]})],n);case"::placeholder":return bn([$i(e,{props:[J(i,/:(plac\w+)/,":"+B+"input-$1")]}),$i(e,{props:[J(i,/:(plac\w+)/,":"+Ps+"$1")]}),$i(e,{props:[J(i,/:(plac\w+)/,Me+"input-$1")]})],n)}return""})}},M3=[F3],j3=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||M3,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(m)});var s,l=[q3,L3];{var c,d=[T3,C3(function(m){c.insert(m)})],u=P3(l.concat(n,d)),p=function(m){return bn(A3(m),u)};s=function(m,v,y,g){c=y,p(m?m+"{"+v.styles+"}":v.styles),g&&(f.inserted[v.name]=!0)}}var f={key:t,sheet:new f3({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return f.sheet.hydrate(a),f};B3={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},J3=/[A-Z]|^ms/g,$3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,WS=function(e){return e.charCodeAt(1)===45},bS=function(e){return e!=null&&typeof e!="boolean"},Wd=R3(function(e){return WS(e)?e:e.replace(J3,"-$&").toLowerCase()}),wS=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace($3,function(r,n,i){return hr={name:n,styles:i,next:hr},n})}return B3[e]!==1&&!WS(e)&&typeof t=="number"&&t!==0?t+"px":t};IS=/label:\s*([^\s;{]+)\s*(;|$)/g;z3=function(e,t,r){var n=e.key+"-"+t.name;e.registered[n]===void 0&&(e.registered[n]=t.styles)},V3=function(e,t,r){z3(e,t);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};G3=function(e){var t=j3(e);t.sheet.speedy=function(a){this.isSpeedy=a},t.compat=!0;var r=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Kd(s,t.registered,void 0);return V3(t,c),t.key+"-"+c.name},n=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Kd(s,t.registered),d="animation-"+c.name;return ES(t,{name:c.name,styles:"@keyframes "+d+"{"+c.styles+"}"}),d},i=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=Kd(s,t.registered);ES(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return xS(t.registered,r,W3(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){a.forEach(function(s){t.inserted[s]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:KS.bind(null,t.registered),merge:xS.bind(null,t.registered,r)}},W3=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(i!=null){var o=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))o=e(i);else{o="";for(var a in i)i[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},K3=G3({key:"css"}),En=K3.css,AS=0,YS=[],Se=O,kS=Se.__b,TS=Se.__r,PS=Se.diffed,CS=Se.__c,RS=Se.unmount,OS=Se.__;Se.__b=function(e){tt=null,kS&&kS(e)},Se.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),OS&&OS(e,t)},Se.__r=function(e){TS&&TS(e),uf=0;var t=(tt=e.__c).__H;t&&(Yd===tt?(t.__h=[],tt.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(ks),t.__h.forEach(df),t.__h=[],uf=0)),Yd=tt},Se.diffed=function(e){PS&&PS(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(YS.push(t)!==1&&SS===Se.requestAnimationFrame||((SS=Se.requestAnimationFrame)||X3)(Q3)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Yd=tt=null},Se.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ks),r.__h=r.__h.filter(function(n){return!n.__||df(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Se.__e(n,r.__v)}}),CS&&CS(e,t)},Se.unmount=function(e){RS&&RS(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ks(n)}catch(i){t=i}}),r.__H=void 0,t&&Se.__e(t,r.__v))};NS=typeof requestAnimationFrame=="function";eJ=Symbol.for("preact-signals");W=void 0,Hi=void 0,mr=0,ff=0,Rs=0;Ne.prototype.brand=eJ;Ne.prototype.h=function(){return!0};Ne.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};Ne.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};Ne.prototype.subscribe=function(e){var t=this;return Qi(function(){var r=t.value,n=W;W=void 0;try{e(r)}finally{W=n}})};Ne.prototype.valueOf=function(){return this.value};Ne.prototype.toString=function(){return this.value+""};Ne.prototype.toJSON=function(){return this.value};Ne.prototype.peek=function(){var e=W;W=void 0;try{return this.value}finally{W=e}};Object.defineProperty(Ne.prototype,"value",{get:function(){var e=XS(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(ff>100)throw new Error("Cycle detected");this.v=e,this.i++,Rs++,mr++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Fs()}}}});(xn.prototype=new Ne).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Rs))return!0;if(this.g=Rs,this.f|=1,this.i>0&&!ZS(this))return this.f&=-2,!0;var e=W;try{eA(this),W=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return W=e,tA(this),this.f&=-2,!0};xn.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Ne.prototype.S.call(this,e)};xn.prototype.U=function(e){if(this.t!==void 0&&(Ne.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};xn.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(xn.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=XS(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});Yi.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Yi.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,rA(this),eA(this),mr++;var e=W;return W=this,tJ.bind(this,e)};Yi.prototype.N=function(){2&this.f||(this.f|=2,this.o=Hi,Hi=this)};Yi.prototype.d=function(){this.f|=8,1&this.f||bf(this)};iA=[];Qi(function(){nA=this.N})();oA.displayName="_st";Object.defineProperties(Ne.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:oA},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});Sn("__b",function(e,t){if(typeof t.type=="string"){var r,n=t.props;for(var i in n)if(i!=="children"){var o=n[i];o instanceof Ne&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});Sn("__r",function(e,t){Os();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=function(i){var o;return Qi(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o}())),Os(r),e(t)});Sn("__e",function(e,t,r,n){Os(),e(t,r,n)});Sn("diffed",function(e,t){Os();var r;if(typeof t.type=="string"&&(r=t.__e)){var n=t.__np,i=t.props;if(n){var o=r.U;if(o)for(var a in o){var s=o[a];s!==void 0&&!(a in n)&&(s.d(),o[a]=void 0)}else o={},r.U=o;for(var l in n){var c=o[l],d=n[l];c===void 0?(c=rJ(r,l,d,i),o[l]=c):c.o(d,i)}}}e(t)});Sn("unmount",function(e,t){if(typeof t.type=="string"){var r=t.__e;if(r){var n=r.U;if(n){r.U=void 0;for(var i in n){var o=n[i];o&&o.d()}}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)});Sn("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});Ke.prototype.shouldComponentUpdate=function(e,t){var r=this.__$u,n=r&&r.s!==void 0;for(var i in t)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var o=2&this.__$f;if(!(n||o||4&this.__$f)||1&this.__$f)return!0}else if(!(n||4&this.__$f)||3&this.__$f)return!0;for(var a in e)if(a!=="__source"&&e[a]!==this.props[a])return!0;for(var s in this.props)if(!(s in e))return!0;return!1};nJ=function(e){queueMicrotask(function(){queueMicrotask(e)})};je=En`
487
505
  inset: 0;
488
506
  clear: none;
489
507
  float: none;
@@ -501,7 +519,7 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
501
519
  text-decoration: none;
502
520
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
503
521
  'Helvetica Neue', sans-serif;
504
- `;sJ=0;lJ=xn`
522
+ `;aJ=0;sJ=En`
505
523
  ${je}
506
524
  position: fixed;
507
525
  top: 0;
@@ -576,7 +594,7 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
576
594
  }
577
595
  }
578
596
  }
579
- `,Xt=Y(null),hf=Y(""),mf=Y(""),Ts=Y(!1),cJ=()=>{var e;(e=Xt.value)==null||e.call(Xt,!1)},uJ=()=>{var e;(e=Xt.value)==null||e.call(Xt,!0)},dJ=e=>I(void 0,null,function*(){let{title:t,content:r}=e;return Xt.value&&(Xt.value(!1),Ge(()=>{Xt.value=null,Ts.value=!1})),Ge(()=>{hf.value=t||"",mf.value=r||"",Ts.value=!0}),new Promise(n=>{Xt.value=i=>{Ge(()=>{Xt.value=null,Ts.value=!1,hf.value="",mf.value=""}),n(i)}})}),fJ=()=>Ts.value?pe("div",{className:lJ,children:pe("div",{className:"card-wrapper",children:[pe("div",{className:"body",children:[pe("div",{className:"title",children:hf.value}),pe("div",{className:"content",children:mf.value})]}),pe("div",{className:"footer",children:[pe("button",{onClick:cJ,className:"cancel-btn",children:"Cancel"}),pe("button",{onClick:uJ,className:"confirm-btm",children:"Confirm"})]})]})}):null,pJ=xn`
597
+ `,Xt=Y(null),pf=Y(""),hf=Y(""),Ts=Y(!1),lJ=()=>{var e;(e=Xt.value)==null||e.call(Xt,!1)},cJ=()=>{var e;(e=Xt.value)==null||e.call(Xt,!0)},uJ=e=>I(void 0,null,function*(){let{title:t,content:r}=e;return Xt.value&&(Xt.value(!1),Ge(()=>{Xt.value=null,Ts.value=!1})),Ge(()=>{pf.value=t||"",hf.value=r||"",Ts.value=!0}),new Promise(n=>{Xt.value=i=>{Ge(()=>{Xt.value=null,Ts.value=!1,pf.value="",hf.value=""}),n(i)}})}),dJ=()=>Ts.value?fe("div",{className:sJ,children:fe("div",{className:"card-wrapper",children:[fe("div",{className:"body",children:[fe("div",{className:"title",children:pf.value}),fe("div",{className:"content",children:hf.value})]}),fe("div",{className:"footer",children:[fe("button",{onClick:lJ,className:"cancel-btn",children:"Cancel"}),fe("button",{onClick:cJ,className:"confirm-btm",children:"Confirm"})]})]})}):null,fJ=En`
580
598
  ${je}
581
599
  position: relative;
582
600
  display: flex;
@@ -609,7 +627,7 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
609
627
  cursor: not-allowed;
610
628
  }
611
629
  }
612
- `,hJ=()=>{let e=Y(!1),t=Y(null);return{timerPaused:e,startTimestamp:t,startTimer:()=>{Ge(()=>{t.value=Date.now(),e.value=!1})}}},mJ=e=>{let{countdown:t=0,mode:r,onClose:n,state:i}=e,{startTimestamp:o,timerPaused:a}=i,s=aA(t);aJ(()=>{s.value>0?s.value-=1:Ge(()=>{a.value=!0,s.value=0})},a.value?null:1e3);let l=Vi(()=>{if(r==="interstitial"||r==="rewarded_insterstitial"||!o.value)return!1;let f=Date.now()-o.value;return s.value>0&&t-s.value>=5&&f>=5e3}),c=Vi(()=>{if(r==="interstitial")return!0;if(!o.value)return!1;let f=Date.now()-o.value;return s.value<=0&&f>=(t-1)*1e3&&t>5}),d=Vi(()=>r==="interstitial"?!1:!l.value&&!c.value),u=()=>I(void 0,null,function*(){if(a.value=!0,!(yield dJ({title:"Are you sure?",content:"You will lose your reward if you dismiss this Ad."}))){a.value=!1;return}n("dismiss"),Ge(()=>{a.value=!0,s.value=0,o.value=null})}),p=()=>{n("viewed"),Ge(()=>{a.value=!0,s.value=0,o.value=null})};return pe("div",{className:pJ,children:[s.value>0&&r!=="interstitial"&&pe("div",{className:"timer",children:[s.value,"s"]}),pe("button",{onClick:l.value?u:c.value?p:void 0,disabled:d.value,children:pe("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:pe("path",{d:"M13.3 0.710215C12.91 0.320215 12.28 0.320215 11.89 0.710215L6.99997 5.59022L2.10997 0.700215C1.71997 0.310215 1.08997 0.310215 0.699971 0.700215C0.309971 1.09021 0.309971 1.72022 0.699971 2.11022L5.58997 7.00022L0.699971 11.8902C0.309971 12.2802 0.309971 12.9102 0.699971 13.3002C1.08997 13.6902 1.71997 13.6902 2.10997 13.3002L6.99997 8.41021L11.89 13.3002C12.28 13.6902 12.91 13.6902 13.3 13.3002C13.69 12.9102 13.69 12.2802 13.3 11.8902L8.40997 7.00022L13.3 2.11022C13.68 1.73022 13.68 1.09022 13.3 0.710215Z",fill:"white"})})})]})},vJ=()=>{let e=Y(),t=Y(),r=Y(),n=Y(),i=Y(),o=Y(!1),a=Y(15),s=Y(""),l=Y("reward");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,visible:o,countdown:a,src:s,mode:l}},gJ=xn`
630
+ `,pJ=()=>{let e=Y(!1),t=Y(null);return{timerPaused:e,startTimestamp:t,startTimer:()=>{Ge(()=>{t.value=Date.now(),e.value=!1})}}},hJ=e=>{let{countdown:t=0,mode:r,onClose:n,state:i}=e,{startTimestamp:o,timerPaused:a}=i,s=aA(t);oJ(()=>{s.value>0?s.value-=1:Ge(()=>{a.value=!0,s.value=0})},a.value?null:1e3);let l=zi(()=>{if(r==="interstitial"||r==="rewarded_insterstitial"||!o.value)return!1;let f=Date.now()-o.value;return s.value>0&&t-s.value>=5&&f>=5e3}),c=zi(()=>{if(r==="interstitial")return!0;if(!o.value)return!1;let f=Date.now()-o.value;return s.value<=0&&f>=(t-1)*1e3&&t>5}),d=zi(()=>r==="interstitial"?!1:!l.value&&!c.value),u=()=>I(void 0,null,function*(){if(a.value=!0,!(yield uJ({title:"Are you sure?",content:"You will lose your reward if you dismiss this Ad."}))){a.value=!1;return}n("dismiss"),Ge(()=>{a.value=!0,s.value=0,o.value=null})}),p=()=>{n("viewed"),Ge(()=>{a.value=!0,s.value=0,o.value=null})};return fe("div",{className:fJ,children:[s.value>0&&r!=="interstitial"&&fe("div",{className:"timer",children:[s.value,"s"]}),fe("button",{onClick:l.value?u:c.value?p:void 0,disabled:d.value,children:fe("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:fe("path",{d:"M13.3 0.710215C12.91 0.320215 12.28 0.320215 11.89 0.710215L6.99997 5.59022L2.10997 0.700215C1.71997 0.310215 1.08997 0.310215 0.699971 0.700215C0.309971 1.09021 0.309971 1.72022 0.699971 2.11022L5.58997 7.00022L0.699971 11.8902C0.309971 12.2802 0.309971 12.9102 0.699971 13.3002C1.08997 13.6902 1.71997 13.6902 2.10997 13.3002L6.99997 8.41021L11.89 13.3002C12.28 13.6902 12.91 13.6902 13.3 13.3002C13.69 12.9102 13.69 12.2802 13.3 11.8902L8.40997 7.00022L13.3 2.11022C13.68 1.73022 13.68 1.09022 13.3 0.710215Z",fill:"white"})})})]})},mJ=()=>{let e=Y(),t=Y(),r=Y(),n=Y(),i=Y(),o=Y(!1),a=Y(15),s=Y(""),l=Y("reward");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,visible:o,countdown:a,src:s,mode:l}},vJ=En`
613
631
  ${je}
614
632
  position: fixed;
615
633
  z-index: 2147483647;
@@ -628,7 +646,7 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
628
646
  width: 100%;
629
647
  height: 100%;
630
648
  }
631
- `,yJ=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,visible:s,countdown:l,src:c,mode:d}=t,u=li(()=>hJ(),[]),[p,f]=qo(!1),m=y=>{var g,_,w,k;s.value=!1,y==="dismiss"?(g=n.value)==null||g.call(n):y==="viewed"&&((_=i.value)==null||_.call(i)),(w=r.value)==null||w.call(r),(k=o.value)==null||k.call(o),f(!1)},v=Qr(()=>{var y;p||(f(!0),(y=a.value)==null||y.call(a))},[p]);return ai(()=>{p&&(d.value==="reward"||d.value==="rewarded_insterstitial")&&setTimeout(()=>{u.startTimer()},100)},[p,d.value]),s.value?pe("div",{className:gJ,children:[pe(mJ,{mode:d.value,onClose:m,countdown:l.value,state:u}),s.value&&pe("iframe",{src:c.value,onLoad:v,sandbox:"allow-scripts allow-same-origin allow-forms allow-modals allow-downloads allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols"}),pe(fJ,{})]}):null};vf=class{constructor(t,r){Yt(this,"name","OKSPIN"),Yt(this,"initialized",!1),Yt(this,"initCompleter",null),Yt(this,"context",void 0),Yt(this,"initParams",void 0),Yt(this,"adsOverlay",null),Yt(this,"adsIsShowing",!1),Yt(this,"lastUnDisplayedAdBreak",null),Yt(this,"state",vJ()),this.context=t,this.initParams=r}init(){return I(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg"),Nc(pe(yJ,{state:this.state}),this.adsOverlay),document.documentElement.appendChild(this.adsOverlay),this.initialized=!0,(t=this.initCompleter)==null||t.call(this)})}adConfig(t){var r;if(this.initialized){(r=t.onReady)==null||r.call(t);return}this.initCompleter=()=>{var n;(n=t.onReady)==null||n.call(t)}}adBreak(t,r){return I(this,null,function*(){var n,i,o,a,s,l,c,d;if(!this.initialized||!this.adsOverlay||!r.params.url){(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"});return}if(this.adsIsShowing){(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}switch(t.type){case"preroll":{(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"start":case"browse":case"next":case"pause":{(a=t.beforeAd)==null||a.call(t);let u=()=>{var f;this.adsIsShowing=!1,(f=t.afterAd)==null||f.call(t)},p=()=>{var f;this.adsIsShowing=!1,(f=t.adBreakDone)==null||f.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})};Ge(()=>{this.adsIsShowing=!0,this.state.afterAd.value=u,this.state.adBreakDone.value=p,this.state.src.value=r.params.url,this.state.mode.value="interstitial",this.state.visible.value=!0});break}case"reward":{this.lastUnDisplayedAdBreak&&((l=(s=this.lastUnDisplayedAdBreak).adBreakDone)==null||l.call(s,{breakType:this.lastUnDisplayedAdBreak.type,breakName:this.lastUnDisplayedAdBreak.type==="preroll"?"":this.lastUnDisplayedAdBreak.name,breakFormat:this.lastUnDisplayedAdBreak.type==="reward"?"reward":"interstitial",breakStatus:"ignored"}),this.lastUnDisplayedAdBreak=null),(c=t.beforeAd)==null||c.call(t);let u=()=>{var g;this.adsIsShowing=!1,(g=t.afterAd)==null||g.call(t)},p={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},f=()=>{var g;this.adsIsShowing=!1,p.breakStatus="dismissed",(g=t.adDismissed)==null||g.call(t)},m=()=>{var g;this.adsIsShowing=!1,p.breakStatus="viewed",(g=t.adViewed)==null||g.call(t)},v=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,p)};Ge(()=>{this.state.afterAd.value=u,this.state.adDismissed.value=f,this.state.adViewed.value=m,this.state.adBreakDone.value=v});let y=()=>{var g;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,Ge(()=>{var _;this.state.countdown.value=(_=r.params.countdown)!=null?_:15,this.state.src.value=r.params.url,this.state.mode.value="reward",this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,y);break}}})}},bn={};window.addEventListener("message",e=>{e.origin!=="https://ads.appsrockets.com"&&e.origin!=="https://stg-ads.appsrockets.com"||bn[e.data.type]&&bn[e.data.type].forEach(t=>{t(e.data.data)})});_n=(e,t)=>{ai(()=>(bn[e]||(bn[e]=new Set),bn[e].add(t),()=>{bn[e].delete(t)}),[e,t])},wJ=()=>{let e=Y(),t=Y(),r=Y(),n=Y(),i=Y(),o=Y(),a=Y(),s=Y(!1),l=Y("");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,adLinkClicked:o,adError:a,visible:s,src:l}},IJ=xn`
649
+ `,gJ=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,visible:s,countdown:l,src:c,mode:d}=t,u=si(()=>pJ(),[]),[p,f]=Do(!1),m=y=>{var g,_,w,k;s.value=!1,y==="dismiss"?(g=n.value)==null||g.call(n):y==="viewed"&&((_=i.value)==null||_.call(i)),(w=r.value)==null||w.call(r),(k=o.value)==null||k.call(o),f(!1)},v=Kr(()=>{var y;p||(f(!0),(y=a.value)==null||y.call(a))},[p]);return oi(()=>{p&&(d.value==="reward"||d.value==="rewarded_insterstitial")&&setTimeout(()=>{u.startTimer()},100)},[p,d.value]),s.value?fe("div",{className:vJ,children:[fe(hJ,{mode:d.value,onClose:m,countdown:l.value,state:u}),s.value&&fe("iframe",{src:c.value,onLoad:v,sandbox:"allow-scripts allow-same-origin allow-forms allow-modals allow-downloads allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols"}),fe(dJ,{})]}):null};mf=class{constructor(t,r){Yt(this,"name","OKSPIN"),Yt(this,"initialized",!1),Yt(this,"initCompleter",null),Yt(this,"context",void 0),Yt(this,"initParams",void 0),Yt(this,"adsOverlay",null),Yt(this,"adsIsShowing",!1),Yt(this,"lastUnDisplayedAdBreak",null),Yt(this,"state",mJ()),this.context=t,this.initParams=r}init(){return I(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg"),Nc(fe(gJ,{state:this.state}),this.adsOverlay),document.documentElement.appendChild(this.adsOverlay),this.initialized=!0,(t=this.initCompleter)==null||t.call(this)})}adConfig(t){var r;if(this.initialized){(r=t.onReady)==null||r.call(t);return}this.initCompleter=()=>{var n;(n=t.onReady)==null||n.call(t)}}adBreak(t,r){return I(this,null,function*(){var n,i,o,a,s,l,c,d;if(!this.initialized||!this.adsOverlay||!r.params.url){(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"});return}if(this.adsIsShowing){(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}switch(t.type){case"preroll":{(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"start":case"browse":case"next":case"pause":{(a=t.beforeAd)==null||a.call(t);let u=()=>{var f;this.adsIsShowing=!1,(f=t.afterAd)==null||f.call(t)},p=()=>{var f;this.adsIsShowing=!1,(f=t.adBreakDone)==null||f.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})};Ge(()=>{this.adsIsShowing=!0,this.state.afterAd.value=u,this.state.adBreakDone.value=p,this.state.src.value=r.params.url,this.state.mode.value="interstitial",this.state.visible.value=!0});break}case"reward":{this.lastUnDisplayedAdBreak&&((l=(s=this.lastUnDisplayedAdBreak).adBreakDone)==null||l.call(s,{breakType:this.lastUnDisplayedAdBreak.type,breakName:this.lastUnDisplayedAdBreak.type==="preroll"?"":this.lastUnDisplayedAdBreak.name,breakFormat:this.lastUnDisplayedAdBreak.type==="reward"?"reward":"interstitial",breakStatus:"ignored"}),this.lastUnDisplayedAdBreak=null),(c=t.beforeAd)==null||c.call(t);let u=()=>{var g;this.adsIsShowing=!1,(g=t.afterAd)==null||g.call(t)},p={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},f=()=>{var g;this.adsIsShowing=!1,p.breakStatus="dismissed",(g=t.adDismissed)==null||g.call(t)},m=()=>{var g;this.adsIsShowing=!1,p.breakStatus="viewed",(g=t.adViewed)==null||g.call(t)},v=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,p)};Ge(()=>{this.state.afterAd.value=u,this.state.adDismissed.value=f,this.state.adViewed.value=m,this.state.adBreakDone.value=v});let y=()=>{var g;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,Ge(()=>{var _;this.state.countdown.value=(_=r.params.countdown)!=null?_:15,this.state.src.value=r.params.url,this.state.mode.value="reward",this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,y);break}}})}},_n={};window.addEventListener("message",e=>{e.origin!=="https://ads.appsrockets.com"&&e.origin!=="https://stg-ads.appsrockets.com"||_n[e.data.type]&&_n[e.data.type].forEach(t=>{t(e.data.data)})});yn=(e,t)=>{oi(()=>(_n[e]||(_n[e]=new Set),_n[e].add(t),()=>{_n[e].delete(t)}),[e,t])},bJ=()=>{let e=Y(),t=Y(),r=Y(),n=Y(),i=Y(),o=Y(),a=Y(),s=Y(!1),l=Y("");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,adLinkClicked:o,adError:a,visible:s,src:l}},wJ=En`
632
650
  ${je}
633
651
  position: fixed;
634
652
  z-index: 2147483647;
@@ -647,7 +665,7 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
647
665
  width: 100%;
648
666
  height: 100%;
649
667
  }
650
- `,EJ=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,adLinkClicked:s,visible:l,src:c}=t,[d,u]=qo(!1),p=m=>{var v,y,g,_;u(!1),l.value=!1,m==="dismiss"?(v=n.value)==null||v.call(n):m==="viewed"&&((y=i.value)==null||y.call(i)),(g=r.value)==null||g.call(r),(_=o.value)==null||_.call(o)},f=()=>{var m;(m=a.value)==null||m.call(a)};return _n("appsrockets_ad_dismissed",()=>p("dismiss")),_n("appsrockets_ad_rewarded",()=>p("viewed")),_n("appsrockets_ad_completed",()=>p("viewed")),_n("appsrockets_ad_skipped",()=>p("viewed")),_n("appsrockets_ad_clicked",m=>{var v;return(v=s.value)==null?void 0:v.call(s,m)}),_n("appsrockets_ad_loaded",()=>u(!0)),l.value?pe("div",{className:IJ,style:{display:d?"flex":"none"},children:l.value&&pe("iframe",{src:c.value,onLoad:f,allowFullScreen:!0,allow:"autoplay",sandbox:"allow-scripts allow-same-origin allow-forms allow-modals allow-downloads allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols"})}):null};gf=class{constructor(t,r){Qt(this,"name","APPSROCKETS"),Qt(this,"initialized",!1),Qt(this,"initCompleter",null),Qt(this,"context",void 0),Qt(this,"adsOverlay",null),Qt(this,"adsIsShowing",!1),Qt(this,"lastUnDisplayedAdBreak",null),Qt(this,"state",wJ()),Qt(this,"processUrl",n=>{var i;let o=this.context.getContextInfo(),a=new URL(n),s=new URLSearchParams(a.search);return s.has("joliSource")||s.set("joliSource",o.joliSource),s.get("osType")||s.set("osType",o.osType),s.get("runtimeType")||s.set("runtimeType",o.runtimeType),s.get("mode")||s.set("mode","AFG"),s.get("deviceId")||s.set("deviceId",o.deviceId),s.get("statusBarHeight")||s.set("statusBarHeight",((i=this.context.getWindowInfo().statusBarHeight)!=null?i:0).toString()),a.search=s.toString(),a.toString()}),this.context=t}init(){return I(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg-appsrockets"),Nc(pe(EJ,{state:this.state}),this.adsOverlay),document.documentElement.appendChild(this.adsOverlay),this.initialized=!0,(t=this.initCompleter)==null||t.call(this)})}adConfig(t){var r;if(this.initialized){(r=t.onReady)==null||r.call(t);return}this.initCompleter=()=>{var n;(n=t.onReady)==null||n.call(t)}}adBreak(t,r){var n,i,o,a,s,l,c,d;if(!this.initialized||!this.adsOverlay||!r.params.url){(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"});return}if(this.adsIsShowing){(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}let u=p=>{var f,m;(m=(f=this.context).handleLinkClicked)==null||m.call(f,p)};switch(t.type){case"preroll":{(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"start":case"browse":case"next":case"pause":{(a=t.beforeAd)==null||a.call(t);let p=()=>{var v;this.adsIsShowing=!1,(v=t.afterAd)==null||v.call(t)},f=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})},m=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"noAdPreloaded"})};Ge(()=>{this.adsIsShowing=!0,this.state.afterAd.value=p,this.state.adBreakDone.value=f,this.state.src.value=this.processUrl(r.params.url),this.state.adLinkClicked.value=u,this.state.adError.value=m,this.state.visible.value=!0});break}case"reward":{this.lastUnDisplayedAdBreak&&((l=(s=this.lastUnDisplayedAdBreak).adBreakDone)==null||l.call(s,{breakType:this.lastUnDisplayedAdBreak.type,breakName:this.lastUnDisplayedAdBreak.type==="preroll"?"":this.lastUnDisplayedAdBreak.name,breakFormat:this.lastUnDisplayedAdBreak.type==="reward"?"reward":"interstitial",breakStatus:"ignored"}),this.lastUnDisplayedAdBreak=null),(c=t.beforeAd)==null||c.call(t);let p=()=>{var w;this.adsIsShowing=!1,(w=t.afterAd)==null||w.call(t)},f={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},m=()=>{var w;this.adsIsShowing=!1,f.breakStatus="dismissed",(w=t.adDismissed)==null||w.call(t)},v=()=>{var w;this.adsIsShowing=!1,f.breakStatus="viewed",(w=t.adViewed)==null||w.call(t)},y=()=>{var w;this.adsIsShowing=!1,(w=t.adBreakDone)==null||w.call(t,f)},g=()=>{this.adsIsShowing=!1,f.breakStatus="noAdPreloaded"};Ge(()=>{this.state.afterAd.value=p,this.state.adDismissed.value=m,this.state.adViewed.value=v,this.state.adBreakDone.value=y,this.state.adLinkClicked.value=u,this.state.adError.value=g});let _=()=>{var w;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(w=t.adBreakDone)==null||w.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,Ge(()=>{this.state.src.value=this.processUrl(r.params.url),this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,_);break}}}};Ns=class{constructor(t){if(Rt(this,"context",void 0),Rt(this,"contextInfo",void 0),Rt(this,"providers",{}),Rt(this,"channelPolicy",void 0),Rt(this,"adsActionDetection",void 0),Rt(this,"adsTrackSerializer",void 0),Rt(this,"initialized",!1),Rt(this,"adsIsShowing",!1),Rt(this,"lastAdBreak",void 0),Rt(this,"initializedTimeStamp",Date.now()),t)this.context=t,this.channelPolicy=new sf(this.context),this.adsActionDetection=new ef(this.context),this.adsTrackSerializer=new af(this.context),this.contextInfo=this.context.getContextInfo();else throw new Error("JoliboxAdsForGame requires a configuration object")}getRequestContextData(t){var r,n;let{width:i,height:o}=this.context.getWindowInfo();return{report:JSON.stringify(this.adsTrackSerializer.serialize(t,{sessionId:this.contextInfo.sessionId,objectType:this.contextInfo.objectType,objectId:this.contextInfo.objectId,testAdsMode:this.contextInfo.testAdsMode})),osType:this.contextInfo.osType,runtimeType:this.contextInfo.runtimeType,sessionId:this.contextInfo.sessionId,deviceId:this.contextInfo.deviceId,adId:this.contextInfo.adId,deviceModel:(r=this.contextInfo.deviceModel)!=null?r:"UnknownModel",deviceBrand:(n=this.contextInfo.deviceBrand)!=null?n:"UnknownBrand",dimension:{width:i,height:o}}}getRequestBizParams(){return{objectType:this.contextInfo.objectType,objectId:this.contextInfo.objectId}}init(t){return I(this,null,function*(){window.adsbygoogle=window.adsbygoogle||[];let{data:r}=yield this.context.httpClient.post("/api/ads/init",{data:{contextData:this.getRequestContextData("AdsAFGSDKInit"),bizParams:this.getRequestBizParams(),testAdsMode:this.contextInfo.testAdsMode}});if((r==null?void 0:r.length)>0)for(let n of r)switch(n.provider){case"ADSENSE":case"ADSENSE_ADMOB":{let i=new lf(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"OKSPIN":{let i=new vf(this.context,n.params);yield i.init(),this.providers.OKSPIN=i;break}case"APPSROCKETS":{let i=new gf(this.context,n.params);yield i.init(),this.providers.APPSROCKETS=i;break}}this.initialized=!0})}adConfig(t){this.providers.ADSENSE?this.providers.ADSENSE.adConfig(t):window.adsbygoogle.push(t)}adBreak(t){return I(this,null,function*(){var r,n,i,o,a,s,l,c,d,u;let p=Date.now();if(p-this.initializedTimeStamp<3e3){(r=t.adBreakDone)==null||r.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}if(this.lastAdBreak&&p-this.lastAdBreak<500){console.warn("[Jolibox SDK Ads] You can't call adBreak too frequently"),(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}if(this.lastAdBreak=p,this.adsIsShowing){console.warn("[Jolibox SDK Ads] You can't call adBreak while ad is showing"),(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}if(this.initialized||(yield this.init()),t.type!=="reward"&&!this.channelPolicy.shouldBypassCallingInterstitial()){(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"skipInterstitials",breakFormat:"interstitial",breakStatus:"viewed"});return}if(!this.context.checkNetwork()){(a=t.adBreakDone)==null||a.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}try{let{data:f,code:m}=yield this.context.httpClient.post("/api/ads/info",{data:{contextData:this.getRequestContextData("AdsAFGSDKAdBreak"),bizParams:this.getRequestBizParams(),adsType:t.type==="reward"?"REWARD":"INTERSTITIAL",testAdsMode:this.contextInfo.testAdsMode,name:t.type==="preroll"?"":t.name}});if(m!=="SUCCESS"){(s=t.adBreakDone)==null||s.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}else{let v=f==null?void 0:f.sort((w,k)=>w.seq-k.seq);if(v.length===0){(l=t.adBreakDone)==null||l.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}let y=!0,g=null,_=new Zd(this.context);for(this.adsActionDetection.adBreakIsShowing=!0;v.length>0;){let w=v.shift(),k=this.providers[w.provider];if(k){let[R,C]=yield _.callAdBreakAndContinue(k,t,w,E=>{var A;this.adsIsShowing=E,(A=this.context.eventEmitter)==null||A.emit("isAdShowing",E)});y=R,g=C}else y=!0,g={breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"};if(!y)break}y&&g&&((c=t.adBreakDone)==null||c.call(t,g))}}catch(f){(d=t.adBreakDone)==null||d.call(t,{breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})}finally{this.adsIsShowing=!1,(u=this.context.eventEmitter)==null||u.emit("isAdShowing",!1),this.adsActionDetection.adBreakIsShowing=!1}})}adUnit(t){console.warn("This method has been deprecated. We will not support AdSense AdUnit in the future.")}},e7=xn`
668
+ `,IJ=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,adLinkClicked:s,visible:l,src:c}=t,[d,u]=Do(!1),p=m=>{var v,y,g,_;u(!1),l.value=!1,m==="dismiss"?(v=n.value)==null||v.call(n):m==="viewed"&&((y=i.value)==null||y.call(i)),(g=r.value)==null||g.call(r),(_=o.value)==null||_.call(o)},f=()=>{var m;(m=a.value)==null||m.call(a)};return yn("appsrockets_ad_dismissed",()=>p("dismiss")),yn("appsrockets_ad_rewarded",()=>p("viewed")),yn("appsrockets_ad_completed",()=>p("viewed")),yn("appsrockets_ad_skipped",()=>p("viewed")),yn("appsrockets_ad_clicked",m=>{var v;return(v=s.value)==null?void 0:v.call(s,m)}),yn("appsrockets_ad_loaded",()=>u(!0)),l.value?fe("div",{className:wJ,style:{display:d?"flex":"none"},children:l.value&&fe("iframe",{src:c.value,onLoad:f,allowFullScreen:!0,allow:"autoplay",sandbox:"allow-scripts allow-same-origin allow-forms allow-modals allow-downloads allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols"})}):null};vf=class{constructor(t,r){Qt(this,"name","APPSROCKETS"),Qt(this,"initialized",!1),Qt(this,"initCompleter",null),Qt(this,"context",void 0),Qt(this,"adsOverlay",null),Qt(this,"adsIsShowing",!1),Qt(this,"lastUnDisplayedAdBreak",null),Qt(this,"state",bJ()),Qt(this,"processUrl",n=>{var i;let o=this.context.getContextInfo(),a=new URL(n),s=new URLSearchParams(a.search);return s.has("joliSource")||s.set("joliSource",o.joliSource),s.get("osType")||s.set("osType",o.osType),s.get("runtimeType")||s.set("runtimeType",o.runtimeType),s.get("mode")||s.set("mode","AFG"),s.get("deviceId")||s.set("deviceId",o.deviceId),s.get("statusBarHeight")||s.set("statusBarHeight",((i=this.context.getWindowInfo().statusBarHeight)!=null?i:0).toString()),a.search=s.toString(),a.toString()}),this.context=t}init(){return I(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg-appsrockets"),Nc(fe(IJ,{state:this.state}),this.adsOverlay),document.documentElement.appendChild(this.adsOverlay),this.initialized=!0,(t=this.initCompleter)==null||t.call(this)})}adConfig(t){var r;if(this.initialized){(r=t.onReady)==null||r.call(t);return}this.initCompleter=()=>{var n;(n=t.onReady)==null||n.call(t)}}adBreak(t,r){var n,i,o,a,s,l,c,d;if(!this.initialized||!this.adsOverlay||!r.params.url){(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"});return}if(this.adsIsShowing){(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?"":t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}let u=p=>{var f,m;(m=(f=this.context).handleLinkClicked)==null||m.call(f,p)};switch(t.type){case"preroll":{(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"start":case"browse":case"next":case"pause":{(a=t.beforeAd)==null||a.call(t);let p=()=>{var v;this.adsIsShowing=!1,(v=t.afterAd)==null||v.call(t)},f=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})},m=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"noAdPreloaded"})};Ge(()=>{this.adsIsShowing=!0,this.state.afterAd.value=p,this.state.adBreakDone.value=f,this.state.src.value=this.processUrl(r.params.url),this.state.adLinkClicked.value=u,this.state.adError.value=m,this.state.visible.value=!0});break}case"reward":{this.lastUnDisplayedAdBreak&&((l=(s=this.lastUnDisplayedAdBreak).adBreakDone)==null||l.call(s,{breakType:this.lastUnDisplayedAdBreak.type,breakName:this.lastUnDisplayedAdBreak.type==="preroll"?"":this.lastUnDisplayedAdBreak.name,breakFormat:this.lastUnDisplayedAdBreak.type==="reward"?"reward":"interstitial",breakStatus:"ignored"}),this.lastUnDisplayedAdBreak=null),(c=t.beforeAd)==null||c.call(t);let p=()=>{var w;this.adsIsShowing=!1,(w=t.afterAd)==null||w.call(t)},f={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},m=()=>{var w;this.adsIsShowing=!1,f.breakStatus="dismissed",(w=t.adDismissed)==null||w.call(t)},v=()=>{var w;this.adsIsShowing=!1,f.breakStatus="viewed",(w=t.adViewed)==null||w.call(t)},y=()=>{var w;this.adsIsShowing=!1,(w=t.adBreakDone)==null||w.call(t,f)},g=()=>{this.adsIsShowing=!1,f.breakStatus="noAdPreloaded"};Ge(()=>{this.state.afterAd.value=p,this.state.adDismissed.value=m,this.state.adViewed.value=v,this.state.adBreakDone.value=y,this.state.adLinkClicked.value=u,this.state.adError.value=g});let _=()=>{var w;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(w=t.adBreakDone)==null||w.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,Ge(()=>{this.state.src.value=this.processUrl(r.params.url),this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,_);break}}}};Ns=class{constructor(t){if(Rt(this,"context",void 0),Rt(this,"contextInfo",void 0),Rt(this,"providers",{}),Rt(this,"channelPolicy",void 0),Rt(this,"adsActionDetection",void 0),Rt(this,"adsTrackSerializer",void 0),Rt(this,"initialized",!1),Rt(this,"adsIsShowing",!1),Rt(this,"lastAdBreak",void 0),Rt(this,"initializedTimeStamp",Date.now()),t)this.context=t,this.channelPolicy=new af(this.context),this.adsActionDetection=new Zd(this.context),this.adsTrackSerializer=new of(this.context),this.contextInfo=this.context.getContextInfo();else throw new Error("JoliboxAdsForGame requires a configuration object")}getRequestContextData(t){var r,n;let{width:i,height:o}=this.context.getWindowInfo();return{report:JSON.stringify(this.adsTrackSerializer.serialize(t,{sessionId:this.contextInfo.sessionId,objectType:this.contextInfo.objectType,objectId:this.contextInfo.objectId,testAdsMode:this.contextInfo.testAdsMode})),osType:this.contextInfo.osType,runtimeType:this.contextInfo.runtimeType,sessionId:this.contextInfo.sessionId,deviceId:this.contextInfo.deviceId,adId:this.contextInfo.adId,deviceModel:(r=this.contextInfo.deviceModel)!=null?r:"UnknownModel",deviceBrand:(n=this.contextInfo.deviceBrand)!=null?n:"UnknownBrand",dimension:{width:i,height:o}}}getRequestBizParams(){return{objectType:this.contextInfo.objectType,objectId:this.contextInfo.objectId}}init(t){return I(this,null,function*(){window.adsbygoogle=window.adsbygoogle||[];let{data:r}=yield this.context.httpClient.post("/api/ads/init",{data:{contextData:this.getRequestContextData("AdsAFGSDKInit"),bizParams:this.getRequestBizParams(),testAdsMode:this.contextInfo.testAdsMode}});if((r==null?void 0:r.length)>0)for(let n of r)switch(n.provider){case"ADSENSE":case"ADSENSE_ADMOB":{let i=new sf(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"OKSPIN":{let i=new mf(this.context,n.params);yield i.init(),this.providers.OKSPIN=i;break}case"APPSROCKETS":{let i=new vf(this.context,n.params);yield i.init(),this.providers.APPSROCKETS=i;break}}this.initialized=!0})}adConfig(t){this.providers.ADSENSE?this.providers.ADSENSE.adConfig(t):window.adsbygoogle.push(t)}adBreak(t){return I(this,null,function*(){var r,n,i,o,a,s,l,c,d,u;let p=Date.now();if(p-this.initializedTimeStamp<3e3){(r=t.adBreakDone)==null||r.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}if(this.lastAdBreak&&p-this.lastAdBreak<500){console.warn("[Jolibox SDK Ads] You can't call adBreak too frequently"),(n=t.adBreakDone)==null||n.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}if(this.lastAdBreak=p,this.adsIsShowing){console.warn("[Jolibox SDK Ads] You can't call adBreak while ad is showing"),(i=t.adBreakDone)==null||i.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"frequencyCapped"});return}if(this.initialized||(yield this.init()),t.type!=="reward"&&!this.channelPolicy.shouldBypassCallingInterstitial()){(o=t.adBreakDone)==null||o.call(t,{breakType:t.type,breakName:"skipInterstitials",breakFormat:"interstitial",breakStatus:"viewed"});return}if(!this.context.checkNetwork()){(a=t.adBreakDone)==null||a.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}try{let{data:f,code:m}=yield this.context.httpClient.post("/api/ads/info",{data:{contextData:this.getRequestContextData("AdsAFGSDKAdBreak"),bizParams:this.getRequestBizParams(),adsType:t.type==="reward"?"REWARD":"INTERSTITIAL",testAdsMode:this.contextInfo.testAdsMode,name:t.type==="preroll"?"":t.name}});if(m!=="SUCCESS"){(s=t.adBreakDone)==null||s.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}else{let v=f==null?void 0:f.sort((w,k)=>w.seq-k.seq);if(v.length===0){(l=t.adBreakDone)==null||l.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}let y=!0,g=null,_=new Xd(this.context);for(this.adsActionDetection.adBreakIsShowing=!0;v.length>0;){let w=v.shift(),k=this.providers[w.provider];if(k){let[R,C]=yield _.callAdBreakAndContinue(k,t,w,E=>{var A;this.adsIsShowing=E,(A=this.context.eventEmitter)==null||A.emit("isAdShowing",E)});y=R,g=C}else y=!0,g={breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"};if(!y)break}y&&g&&((c=t.adBreakDone)==null||c.call(t,g))}}catch(f){(d=t.adBreakDone)==null||d.call(t,{breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})}finally{this.adsIsShowing=!1,(u=this.context.eventEmitter)==null||u.emit("isAdShowing",!1),this.adsActionDetection.adBreakIsShowing=!1}})}adUnit(t){console.warn("This method has been deprecated. We will not support AdSense AdUnit in the future.")}},ZK=En`
651
669
  ${je}
652
670
  position: fixed;
653
671
  left: 0;
@@ -696,4 +714,4 @@ or `);this.errors.push(o)}return n}},as=class extends _e{constructor(...t){super
696
714
  cursor: pointer;
697
715
  }
698
716
  }
699
- `});function uA(){let e=new Map,t,r;return{registerRewardHandler(i,o){e.set(i,o)},handleReward(i,...o){return I(this,null,function*(){return yield i.reduce((s,l)=>I(this,null,function*(){let c=yield s;if(c===!0)return!0;cA&&console.log(`handleReward ${l}`);let d=e.get(l),u=d?yield d(...o):c;return cA&&console.log(`handleReward ${l} ${u}`),u}),Promise.resolve(!1))})},registerRewardsFetcher(i){return I(this,null,function*(){t=(...o)=>I(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),["ADS"]}})})},registerRewardFrequencyConfigFetcher(i){return I(this,null,function*(){r=(...o)=>I(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),{joliCoinUseAndCharge:gn}}})})},getRewardsTypes(...i){return I(this,null,function*(){return t?yield t(...i):["ADS"]})},getRewardFrequencyConfig(...i){return I(this,null,function*(){return r?yield r(...i):{joliCoinUseAndCharge:gn}})}}}var cA,dA=T(()=>{"use strict";Q();Dr();cA=x.testMode});var TJ,PJ,fA,pA,hA=T(()=>{"use strict";Dr();TJ=()=>(e,t)=>e==="JOLI_COIN"&&t==="ADS"?-1:e==="ADS"&&t==="JOLI_COIN"?1:0,PJ=e=>e.length?e.includes("JOLI_COIN")&&e.length<=1?["JOLI_COIN_ONLY"]:e.sort(TJ()):["ADS"],fA=e=>{e.registerRewardsFetcher(t=>I(void 0,null,function*(){var n,i,o,a;let r=["ADS"];try{let s=yield t.post("/api/games/unlock-options",{});if(s.code!=="SUCCESS")return r;G.emit(mn,{options:((n=s.data)==null?void 0:n.unlockOptions)||[],userJoliCoin:((i=s.extra)==null?void 0:i.joliCoin)||{balance:0,enableAutoDeduct:!1}});let l=((a=(o=s.data)==null?void 0:o.unlockOptions)==null?void 0:a.map(c=>c.type))||Array.from(r);return PJ(l)}catch(s){return console.error("getRewardOptions error:",s),r}}))},pA=e=>{e.registerRewardFrequencyConfigFetcher(t=>I(void 0,null,function*(){var n,i;let r=yield t.get("/api/fe-configs/web-common/global-config",{});return G.emit(vs,{joliCoinUseAndCharge:((n=r.data)==null?void 0:n.joliCoinUseAndCharge)||gn}),{joliCoinUseAndCharge:((i=r.data)==null?void 0:i.joliCoinUseAndCharge)||gn}}))}});var mA,vA=T(()=>{"use strict";mA=e=>t=>I(void 0,null,function*(){return console.log("trigger @jolibox/ads reward",t),e.adBreak(t),!0})});var gA,yA=T(()=>{"use strict";gA=(e,t)=>e.some(r=>r.type==="JOLI_COIN"&&r.joliCoinChoices.some(n=>{var i;return n.joliCoinQuantity<=((i=t==null?void 0:t.balance)!=null?i:0)}))});var Ms,js,_A,Us,Bs=T(()=>{"use strict";Q();D();Dr();yA();Bi();Ms=(e,t)=>r=>I(void 0,null,function*(){let n=Gt(G,ht);return G.emit(hs,e,{userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,enableAutoDeduct:r.userJoliCoin.enableAutoDeduct,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).paymentResult}),js=(e,t)=>r=>I(void 0,null,function*(){let n=Gt(G,vn);return G.emit(ms,e,{enableAutoDeduct:r.enableAutoDeduct,userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).useModalResult}),_A=e=>{if(e=="CANCEL")throw new Error("CANCEL")},Us=(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:r,unlockOptionsHandler:n,initiateAndAwaitPayment:i,showUnlockWithJolicoinModal:o}})=>a=>I(void 0,null,function*(){var s,l,c,d,u,p,f;try{let m=!1,v=yield n.getData(),y=(c=(l=(s=v==null?void 0:v.options)==null?void 0:s.find(w=>w.type==="JOLI_COIN"))==null?void 0:l.joliCoinChoices[0].joliCoinQuantity)!=null?c:0;if(!gA((v==null?void 0:v.options)||[],v==null?void 0:v.userJoliCoin)){let w=yield i({userJoliCoin:v==null?void 0:v.userJoliCoin,joliCoinQuantity:y});if(_A(w),w!=="SUCCESS")return r==null||r(a),!1;m=!0}let g=!!((d=v==null?void 0:v.userJoliCoin)!=null&&d.enableAutoDeduct);if(!m){let w=yield o({enableAutoDeduct:g,userJoliCoin:v==null?void 0:v.userJoliCoin,joliCoinQuantity:y});if(_A(w),w!=="CONFIRM")return r==null||r(a),!1}let _=yield e.post("/api/joli-coin/unlock",{data:{type:"GAME_REWARD",reqId:`${ho()}-${x.mpType}-${Date.now()}`,gameInfo:{gameId:x.mpId}}});return _.code=="SUCCESS"?((p=a.adBreakDone)==null||p.call(a,{breakType:a.type,breakName:"name"in a&&(u=a.name)!=null?u:"",breakFormat:"reward",breakStatus:"viewed"}),"adViewed"in a&&((f=a.adViewed)==null||f.call(a)),t==null||t({quantity:_.data.quantity,balance:_.data.balance}),!0):(r==null||r(a),!1)}catch(m){if(console.info("JolicoinRewardHandler error:",m),m instanceof Error&&m.message=="CANCEL")throw m;return r==null||r(a),!1}finally{n.clearCache()}})});var bA,wA=T(()=>{"use strict";Dr();Bi();Bs();Bs();bA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=Gt(G,mn),i=()=>{r==null||r()},o=js("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noWatchAds"}),a=Ms("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noWatchAds"});return Us(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:i,unlockOptionsHandler:n,initiateAndAwaitPayment:a,showUnlockWithJolicoinModal:o}})}});var IA,EA=T(()=>{"use strict";Dr();Bs();Bi();IA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=Gt(G,mn),i=l=>{var c;r==null||r(),(c=l.adBreakDone)==null||c.call(l,{breakType:l.type,breakFormat:l.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})},o=js("JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noThanks"}),a=Ms("JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noThanks"});return Us(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:i,unlockOptionsHandler:n,initiateAndAwaitPayment:a,showUnlockWithJolicoinModal:o}})}});var Zt,xA=T(()=>{"use strict";dA();hA();vA();wA();EA();Zt=uA();fA(Zt);pA(Zt)});var Z7,Js,CJ,Zi,RJ,eo,SA,OJ,NJ,DJ,qJ,AA=T(()=>{"use strict";D();pt();Nr();Z7=se(cS());lA();_r();Q();wt();Ae();xA();Cl();Js=me(),CJ=()=>{let{data:e}=F("getNetworkStatusSync");return!!(e!=null&&e.isConnected)},Zi={get:(e,t)=>ne(e,P({method:"GET",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data),post:(e,t)=>ne(e,P({method:"POST",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data)},RJ={httpClient:Zi,checkNetwork:CJ,track:lt,eventEmitter:yo,getWindowInfo:()=>({width:window.innerWidth*window.devicePixelRatio,height:window.innerHeight*window.devicePixelRatio,statusBarHeight:30}),handleLinkClicked:e=>{window.open(e,"_blank")},getContextInfo:()=>{var e,t,r,n,i,o,a,s,l;return{hostAppId:(t=(e=x.hostInfo)==null?void 0:e.aid)!=null?t:"1",deviceId:(r=x.deviceInfo.did)!=null?r:"",adId:(n=x.deviceInfo.adId)!=null?n:"",sessionId:(i=x.sessionId)!=null?i:"",userId:(a=(o=x.hostUserInfo)==null?void 0:o.uid)!=null?a:"",objectType:"GAME",objectId:x.mpId,testAdsMode:x.testAdsMode,channel:(s=x.joliSource)!=null?s:"",deviceBrand:x.deviceInfo.brand,deviceModel:x.deviceInfo.model,osType:x.platform==="android"?"ANDROID":x.platform==="ios"?"IOS":"PC",runtimeType:"APP",platform:1e3,joliSource:(l=x.joliSource)!=null?l:""}}},eo=new Ns(RJ);Zt.getRewardFrequencyConfig(Zi).then(e=>{console.log("getRewardFrequencyConfig",e)});Zt.registerRewardHandler("ADS",mA(eo));Zt.registerRewardHandler("JOLI_COIN",bA(Zi,{onUnlockSuccess:e=>{SA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));Zt.registerRewardHandler("JOLI_COIN_ONLY",IA(Zi,{onUnlockSuccess:e=>{SA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));SA=e=>{let{quantity:t}=e,r=`{slot-coin} ${t} {slot-i18n-jolicoin.coinUsed}`;ji(r,{customStyle:{mark:{marginRight:"8px"}},i18nParams:{text:"Jolicoin Used"}})},OJ=K("adInit",{implement:e=>{eo.init(e)}}),NJ=K("adConfig",{implement:e=>{eo.adConfig(e)}}),DJ=K("adBreak",{implement:e=>{e.type==="reward"?Zt.getRewardsTypes(Zi).then(t=>{Zt.handleReward(t,e).catch(r=>{var n;console.info("handleReward failed in native",r),(n=e.adBreakDone)==null||n.call(e,{breakType:e.type,breakFormat:e.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})})}):eo.adBreak(e)}}),qJ=K("adUnit",{implement:e=>{eo.adUnit(e)}});Js.registerCommand("AdsSDK.init",OJ);Js.registerCommand("AdsSDK.adConfig",NJ);Js.registerCommand("AdsSDK.adBreak",DJ);Js.registerCommand("AdsSDK.adUnit",qJ);q("AdsSDK.init",{version:"1.0.0"});q("AdsSDK.adConfig",{version:"1.0.0"});q("AdsSDK.adBreak",{version:"1.0.0"});q("AdsSDK.adUnit",{version:"1.0.0"})});var to,LJ,FJ,MJ,jJ,UJ,kA=T(()=>{"use strict";D();Ae();pt();Q();to=me(),LJ=K("openSchemaSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let t=e;e.match(/^https?:\/\//)||(t=`https://${x.mpId}.app.jolibox.com${e.startsWith("/")?"":"/"}${e}`);let r=F("openSchemaSync",{schema:t});if(r.errNo!==0)throw new Fr(r.errMsg,r.errNo)}}),FJ=K("openPageSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let{errNo:t,errMsg:r,data:n}=F("openPageSync",{url:e});if(t!==0||!n)throw new Fr(r,t);return{webviewId:n.webviewId}}}),MJ=K("closePageSync",{paramsSchema:S.tuple(S.number()),implement:e=>{let{errNo:t,errMsg:r}=F("closePageSync",{webviewId:e});if(t!==0)throw new Fr(r,t)}}),jJ=K("interceptSystemExitSync",{paramsSchema:S.tuple(S.boolean()),implement:e=>{we.emit("onInterceptSystemExit",{intercept:e}),we.emit("onInterceptBackPress",{intercept:e})}}),UJ=K("navigateToNativePage",{paramsSchema:S.tuple(S.enum("openHistory","openDiscover","openDiscover","openGame","openDrama","openTopup"),S.object()),implement:(e,t)=>{let{errNo:r,errMsg:n}=F("callHostMethodAsync",{method:e,params:P({},t)});if(r!==0)throw new Fr(n,r)}});to.registerCommand("RouterSDK.openSchema",LJ);to.registerCommand("RouterSDK.openPage",FJ);to.registerCommand("RouterSDK.closePage",MJ);to.registerCommand("RouterSDK.interceptSystemExit",jJ);to.registerCommand("RouterSDK.navigateToNativePage",UJ);q("router.openSchema",{version:"1.1.10"});q("router.openPage",{version:"1.1.10"});q("router.closePage",{version:"1.1.10"});q("router.interceptSystemExit",{version:"1.1.18"});q("router.navigateToNativePage",{version:"1.1.19"})});var BJ={};var hY,yY,TA=T(()=>{"use strict";Px();hY=se(Cx());Fx();Dd();Bx();yY=se(Jx());Md();AA();kA()});var PA=Symbol.for("JOLIBOX_IMPLEMENT_INIT");if(window[PA])throw console.info("Jolibox Implement Already Initialized"),new Error("Jolibox Implement Already Initialized");window[PA]=!0;I(void 0,null,function*(){let[{config:e}]=yield Promise.all([Promise.resolve().then(()=>(wx(),bx)),Promise.resolve().then(()=>(TA(),BJ)),Promise.resolve().then(()=>(_r(),Up))]);e()});
717
+ `});function uA(){let e=new Map,t,r;return{registerRewardHandler(i,o){e.set(i,o)},handleReward(i,...o){return I(this,null,function*(){return yield i.reduce((s,l)=>I(this,null,function*(){let c=yield s;if(c===!0)return!0;cA&&console.log(`handleReward ${l}`);let d=e.get(l),u=d?yield d(...o):c;return cA&&console.log(`handleReward ${l} ${u}`),u}),Promise.resolve(!1))})},registerRewardsFetcher(i){return I(this,null,function*(){t=(...o)=>I(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),["ADS"]}})})},registerRewardFrequencyConfigFetcher(i){return I(this,null,function*(){r=(...o)=>I(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),{joliCoinUseAndCharge:vn}}})})},getRewardsTypes(...i){return I(this,null,function*(){return t?yield t(...i):["ADS"]})},getRewardFrequencyConfig(...i){return I(this,null,function*(){return r?yield r(...i):{joliCoinUseAndCharge:vn}})}}}var cA,dA=T(()=>{"use strict";Q();Or();cA=x.testMode});var kJ,TJ,fA,pA,hA=T(()=>{"use strict";Or();kJ=()=>(e,t)=>e==="JOLI_COIN"&&t==="ADS"?-1:e==="ADS"&&t==="JOLI_COIN"?1:0,TJ=e=>e.length?e.includes("JOLI_COIN")&&e.length<=1?["JOLI_COIN_ONLY"]:e.sort(kJ()):["ADS"],fA=e=>{e.registerRewardsFetcher(t=>I(void 0,null,function*(){var n,i,o,a;let r=["ADS"];try{let s=yield t.post("/api/games/unlock-options",{});if(s.code!=="SUCCESS")return r;G.emit(hn,{options:((n=s.data)==null?void 0:n.unlockOptions)||[],userJoliCoin:((i=s.extra)==null?void 0:i.joliCoin)||{balance:0,enableAutoDeduct:!1}});let l=((a=(o=s.data)==null?void 0:o.unlockOptions)==null?void 0:a.map(c=>c.type))||Array.from(r);return TJ(l)}catch(s){return console.error("getRewardOptions error:",s),r}}))},pA=e=>{e.registerRewardFrequencyConfigFetcher(t=>I(void 0,null,function*(){var n,i;let r=yield t.get("/api/fe-configs/web-common/global-config",{});return G.emit(vs,{joliCoinUseAndCharge:((n=r.data)==null?void 0:n.joliCoinUseAndCharge)||vn}),{joliCoinUseAndCharge:((i=r.data)==null?void 0:i.joliCoinUseAndCharge)||vn}}))}});var mA,vA=T(()=>{"use strict";mA=e=>t=>I(void 0,null,function*(){return console.log("trigger @jolibox/ads reward",t),e.adBreak(t),!0})});var gA,yA=T(()=>{"use strict";gA=(e,t)=>e.some(r=>r.type==="JOLI_COIN"&&r.joliCoinChoices.some(n=>{var i;return n.joliCoinQuantity<=((i=t==null?void 0:t.balance)!=null?i:0)}))});var Ms,js,_A,Us,Bs=T(()=>{"use strict";Q();D();Or();yA();Ui();Ms=(e,t)=>r=>I(void 0,null,function*(){let n=Gt(G,pt);return G.emit(hs,e,{userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,enableAutoDeduct:r.userJoliCoin.enableAutoDeduct,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).paymentResult}),js=(e,t)=>r=>I(void 0,null,function*(){let n=Gt(G,mn);return G.emit(ms,e,{enableAutoDeduct:r.enableAutoDeduct,userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).useModalResult}),_A=e=>{if(e=="CANCEL")throw new Error("CANCEL")},Us=(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:r,unlockOptionsHandler:n,initiateAndAwaitPayment:i,showUnlockWithJolicoinModal:o}})=>a=>I(void 0,null,function*(){var s,l,c,d,u,p,f;try{let m=!1,v=yield n.getData(),y=(c=(l=(s=v==null?void 0:v.options)==null?void 0:s.find(w=>w.type==="JOLI_COIN"))==null?void 0:l.joliCoinChoices[0].joliCoinQuantity)!=null?c:0;if(!gA((v==null?void 0:v.options)||[],v==null?void 0:v.userJoliCoin)){let w=yield i({userJoliCoin:v==null?void 0:v.userJoliCoin,joliCoinQuantity:y});if(_A(w),w!=="SUCCESS")return r==null||r(a),!1;m=!0}let g=!!((d=v==null?void 0:v.userJoliCoin)!=null&&d.enableAutoDeduct);if(!m){let w=yield o({enableAutoDeduct:g,userJoliCoin:v==null?void 0:v.userJoliCoin,joliCoinQuantity:y});if(_A(w),w!=="CONFIRM")return r==null||r(a),!1}let _=yield e.post("/api/joli-coin/unlock",{data:{type:"GAME_REWARD",reqId:`${po()}-${x.mpType}-${Date.now()}`,gameInfo:{gameId:x.mpId}}});return _.code=="SUCCESS"?((p=a.adBreakDone)==null||p.call(a,{breakType:a.type,breakName:"name"in a&&(u=a.name)!=null?u:"",breakFormat:"reward",breakStatus:"viewed"}),"adViewed"in a&&((f=a.adViewed)==null||f.call(a)),t==null||t({quantity:_.data.quantity,balance:_.data.balance}),!0):(r==null||r(a),!1)}catch(m){if(console.info("JolicoinRewardHandler error:",m),m instanceof Error&&m.message=="CANCEL")throw m;return r==null||r(a),!1}finally{n.clearCache()}})});var bA,wA=T(()=>{"use strict";Or();Ui();Bs();Bs();bA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=Gt(G,hn),i=()=>{r==null||r()},o=js("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noWatchAds"}),a=Ms("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noWatchAds"});return Us(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:i,unlockOptionsHandler:n,initiateAndAwaitPayment:a,showUnlockWithJolicoinModal:o}})}});var IA,EA=T(()=>{"use strict";Or();Bs();Ui();IA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=Gt(G,hn),i=l=>{var c;r==null||r(),(c=l.adBreakDone)==null||c.call(l,{breakType:l.type,breakFormat:l.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})},o=js("JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noThanks"}),a=Ms("JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noThanks"});return Us(e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:i,unlockOptionsHandler:n,initiateAndAwaitPayment:a,showUnlockWithJolicoinModal:o}})}});var Zt,xA=T(()=>{"use strict";dA();hA();vA();wA();EA();Zt=uA();fA(Zt);pA(Zt)});var X7,Js,PJ,Xi,CJ,Zi,SA,RJ,OJ,NJ,DJ,AA=T(()=>{"use strict";D();ft();Rr();X7=se(cS());lA();_r();Q();bt();Ae();xA();Cl();Js=he(),PJ=()=>{let{data:e}=F("getNetworkStatusSync");return!!(e!=null&&e.isConnected)},Xi={get:(e,t)=>re(e,P({method:"GET",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data),post:(e,t)=>re(e,P({method:"POST",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data)},CJ={httpClient:Xi,checkNetwork:PJ,track:lt,eventEmitter:go,getWindowInfo:()=>({width:window.innerWidth*window.devicePixelRatio,height:window.innerHeight*window.devicePixelRatio,statusBarHeight:30}),handleLinkClicked:e=>{window.open(e,"_blank")},getContextInfo:()=>{var e,t,r,n,i,o,a,s,l;return{hostAppId:(t=(e=x.hostInfo)==null?void 0:e.aid)!=null?t:"1",deviceId:(r=x.deviceInfo.did)!=null?r:"",adId:(n=x.deviceInfo.adId)!=null?n:"",sessionId:(i=x.sessionId)!=null?i:"",userId:(a=(o=x.hostUserInfo)==null?void 0:o.uid)!=null?a:"",objectType:"GAME",objectId:x.mpId,testAdsMode:x.testAdsMode,channel:(s=x.joliSource)!=null?s:"",deviceBrand:x.deviceInfo.brand,deviceModel:x.deviceInfo.model,osType:x.platform==="android"?"ANDROID":x.platform==="ios"?"IOS":"PC",runtimeType:"APP",platform:1e3,joliSource:(l=x.joliSource)!=null?l:""}}},Zi=new Ns(CJ);Zt.getRewardFrequencyConfig(Xi).then(e=>{console.log("getRewardFrequencyConfig",e)});Zt.registerRewardHandler("ADS",mA(Zi));Zt.registerRewardHandler("JOLI_COIN",bA(Xi,{onUnlockSuccess:e=>{SA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));Zt.registerRewardHandler("JOLI_COIN_ONLY",IA(Xi,{onUnlockSuccess:e=>{SA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));SA=e=>{let{quantity:t}=e,r=`{slot-coin} ${t} {slot-i18n-jolicoin.coinUsed}`;Mi(r,{customStyle:{mark:{marginRight:"8px"}},i18nParams:{text:"Jolicoin Used"}})},RJ=K("adInit",{implement:e=>{Zi.init(e)}}),OJ=K("adConfig",{implement:e=>{Zi.adConfig(e)}}),NJ=K("adBreak",{implement:e=>{e.type==="reward"?Zt.getRewardsTypes(Xi).then(t=>{Zt.handleReward(t,e).catch(r=>{var n;console.info("handleReward failed in native",r),(n=e.adBreakDone)==null||n.call(e,{breakType:e.type,breakFormat:e.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})})}):Zi.adBreak(e)}}),DJ=K("adUnit",{implement:e=>{Zi.adUnit(e)}});Js.registerCommand("AdsSDK.init",RJ);Js.registerCommand("AdsSDK.adConfig",OJ);Js.registerCommand("AdsSDK.adBreak",NJ);Js.registerCommand("AdsSDK.adUnit",DJ);q("AdsSDK.init",{version:"1.0.0"});q("AdsSDK.adConfig",{version:"1.0.0"});q("AdsSDK.adBreak",{version:"1.0.0"});q("AdsSDK.adUnit",{version:"1.0.0"})});var eo,qJ,LJ,FJ,MJ,jJ,kA=T(()=>{"use strict";D();Ae();ft();Q();eo=he(),qJ=K("openSchemaSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let t=e;e.match(/^https?:\/\//)||(t=`https://${x.mpId}.app.jolibox.com${e.startsWith("/")?"":"/"}${e}`);let r=F("openSchemaSync",{schema:t});if(r.errNo!==0)throw new qr(r.errMsg,r.errNo)}}),LJ=K("openPageSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let{errNo:t,errMsg:r,data:n}=F("openPageSync",{url:e});if(t!==0||!n)throw new qr(r,t);return{webviewId:n.webviewId}}}),FJ=K("closePageSync",{paramsSchema:S.tuple(S.number()),implement:e=>{let{errNo:t,errMsg:r}=F("closePageSync",{webviewId:e});if(t!==0)throw new qr(r,t)}}),MJ=K("interceptSystemExitSync",{paramsSchema:S.tuple(S.boolean()),implement:e=>{we.emit("onInterceptSystemExit",{intercept:e}),we.emit("onInterceptBackPress",{intercept:e})}}),jJ=K("navigateToNativePage",{paramsSchema:S.tuple(S.enum("openHistory","openDiscover","openDiscover","openGame","openDrama","openTopup"),S.object()),implement:(e,t)=>{let{errNo:r,errMsg:n}=F("callHostMethodAsync",{method:e,params:P({},t)});if(r!==0)throw new qr(n,r)}});eo.registerCommand("RouterSDK.openSchema",qJ);eo.registerCommand("RouterSDK.openPage",LJ);eo.registerCommand("RouterSDK.closePage",FJ);eo.registerCommand("RouterSDK.interceptSystemExit",MJ);eo.registerCommand("RouterSDK.navigateToNativePage",jJ);q("router.openSchema",{version:"1.1.10"});q("router.openPage",{version:"1.1.10"});q("router.closePage",{version:"1.1.10"});q("router.interceptSystemExit",{version:"1.1.18"});q("router.navigateToNativePage",{version:"1.1.19"})});var UJ={};var pY,gY,TA=T(()=>{"use strict";Px();pY=se(Cx());Fx();Nd();Bx();gY=se(Jx());Fd();AA();kA()});var PA=Symbol.for("JOLIBOX_IMPLEMENT_INIT");if(window[PA])throw console.info("Jolibox Implement Already Initialized"),new Error("Jolibox Implement Already Initialized");window[PA]=!0;I(void 0,null,function*(){let[{config:e}]=yield Promise.all([Promise.resolve().then(()=>(wx(),bx)),Promise.resolve().then(()=>(TA(),UJ)),Promise.resolve().then(()=>(_r(),jp))]);e()});