@jolibox/implement 1.1.50 → 1.1.51

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 XA=Object.create;var So=Object.defineProperty,ZA=Object.defineProperties,e1=Object.getOwnPropertyDescriptor,t1=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertyNames,Io=Object.getOwnPropertySymbols,n1=Object.getPrototypeOf,vl=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable;var ff=(e,t,r)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))vl.call(t,r)&&ff(e,r,t[r]);if(Io)for(var r of Io(t))hf.call(t,r)&&ff(e,r,t[r]);return e},U=(e,t)=>ZA(e,t1(t));var Ue=(e,t)=>{var r={};for(var n in e)vl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Io)for(var n of Io(e))t.indexOf(n)<0&&hf.call(e,n)&&(r[n]=e[n]);return r};var k=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mf=(e,t)=>{for(var r in t)So(e,r,{get:t[r],enumerable:!0})},i1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of r1(t))!vl.call(e,i)&&i!==r&&So(e,i,{get:()=>t[i],enumerable:!(n=e1(t,i))||n.enumerable});return e};var ie=(e,t,r)=>(r=e!=null?XA(n1(e)):{},i1(t||!e||!e.__esModule?So(r,"default",{value:e,enumerable:!0}):r,e));var w=(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 u1(e){return!!(e!=null&&e.__nativeBuffers__)}function Sl(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(r){return{}}if(typeof e!="object"||e===null)return{};if(!u1(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=d1(n.base64)),typeof i!="undefined"&&i instanceof ArrayBuffer&&(e[n.key]=i)}}return e}function f1(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:p1(o),key:i};n.push(a),delete r[i]}return n.length>0&&(r.__nativeBuffers__=n),r}function g1(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Tf(e){return typeof e=="string"}function zr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function gf(e){return typeof e=="number"&&!isNaN(e)}function _1(e){return typeof e=="undefined"}function b1(e){return _1(e)||e===null}function Cf(e){return typeof e=="function"}function w1(e){return zr(e)&&Cf(e.then)}function Pf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function Jn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function T1(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 N1(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 M1(e){return new Promise(t=>Of(e)(t))}function Of(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function j1(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Vn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function B1(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)J1(e[n],t[n])}function J1(e,t){if(Tf(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Cf(t)){try{if(e instanceof t)return}catch(r){}if(!b1(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 Rl(e,t){if(El.config[e]){Co.warn(`[can i use] ${e} already registered`);return}El.config[e]=Ht({},t)}function bf(e,t){return`[${e}]:${t}`}function K1(e,t){wf||(_l=new Eo({eventName:"jolibox_invoke",tagNameOrder:["status","method","errNo","errMsg","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),bl=new Eo({eventName:"jolibox_invoke_js2native",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),wl=new Eo({eventName:"jolibox_invoke_native2js",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),t("onJoliboxEnterBackground",()=>{_l.flush(),bl.flush(),wl.flush()}),wf=!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:g}=f,_=(a=(o=u.match(/\S:(\S+)\s?/))==null?void 0:o[1])!=null?a:"fail";_l.report({status:_,method:n(s,l),errNo:`${p}`,errMsg:u,isForeground:d,duration:Date.now()-c}),c&&m&&g&&(bl.report({status:_,method:s,isForeground:d,duration:Number((m-c).toFixed(3))}),wl.report({status:_,method:s,isForeground:d,duration:Number((Date.now()-g).toFixed(3))}))}function n(i,o){return(i==="callHostMethod"||i==="callHostMethodSync")&&o!=null&&o.method?`${i}-${o.method}`:i}return r}function Z1(e,t){let r=0,n=!0,i=X1.resolveMap,o=K1(e,t);t("onJoliboxEnterBackground",()=>{n=!1}),t("onJoliboxEnterForeground",()=>{n=!0,Il.forEach(l=>Ao(this,[l],function*({method:c,args:d,resolve:u}){let p=yield s(c,d);u(p)})),Il.length=0});let a=(l,c)=>{let d=i.get(Number(l));if(!d)return;let u=Sl(c);d(u),i.delete(Number(l))},s=(l,c)=>{var d,u;let p=Date.now(),f=`${n}`;r+=1;let m=new y1;if(i.set(r,m.resolve),!n&&V1.includes(l))return new Promise(A=>{Il.push({method:l,args:c,resolve:A})});let g=l1(Ht({},{method:l,startTime:p,args:c,isForeground:f}),{invokeType:"js-bridge"}),_=!Q1&&$1.includes(l),v=f1(c,_),b=_?v:JSON.stringify(v),I;if(l.endsWith("Sync")||G1.includes(l)?I=(d=e.call)==null?void 0:d.call(e,l,v,r):typeof b=="string"?I=e.invoke(l,b,r):I=(u=e.call)==null?void 0:u.call(e,l,b,r),I){try{typeof I=="string"&&(I=JSON.parse(I)),I=Sl(I)}catch(A){Co.error(A)}return i.delete(r),I.errorCode&&(I.errorCode=bf(l,I.errorCode)),o(Ht(Ht({},g),I)),I}return l.endsWith("Sync")&&i.delete(r),m.promise.then(A=>(A.errorCode&&(A.errorCode=bf(l,A.errorCode)),o(Ht(Ht({},g),A)),A))};return{invokeNative:s,applyNative:(l,c)=>{let d=s(l,c);return w1(d)?d.then(u=>If(l,u)):If(l,d)},invokeHandler:a}}function If(e,t){if(!zr(t)){Co.warn(`[Jolibox SDK]${e} no response value`);return}let r=t,{errMsg:n,errNo:i,errorType:o,errorCode:a}=r,s=c1(r,["errMsg","errNo","errorType","errorCode"]);if(n&&n!==`${e}:ok`)throw new E1(n,i,o,a);return s}function eT(e){if(globalThis[xo])return globalThis[xo];let t=new Tl,r=new Tl,n=new Eo({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[xo]={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=Sl(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===Nf){l.forEach(c=>{let[d,u]=c;try{r.emit(d.slice($n.length),u,a)}catch(p){}});return}if(i.startsWith($n)){r.emit(i.slice($n.length),l,a);return}t.emit(i,l,a)}},globalThis[xo]}function tT(e){let t=new Map,r=new Map,n,i;return{publish:(o,a,s,l)=>{if(l){let d=s!==void 0?s==="*"?"*":[s]:void 0;e.publish(`${$n}${o}`,a,d);return}n||(n=Promise.resolve().then(()=>{t.forEach((d,u)=>{try{let p=u!==void 0?u==="*"?"*":[u]:void 0;e.publish(Nf,d,p)}catch(p){}}),n=void 0,t.clear()}));let c=t.get(s);c||(c=[],t.set(s,c)),c.push([`${$n}${o}`,a])},emitNative:(o,a,s,l)=>{if(l){let d=s!==void 0?s==="*"?"*":[s]:void 0;e.publish(o,a,d),console.log("emitNative",o,a,d);return}i||(i=Promise.resolve().then(()=>{r.forEach((d,u)=>{try{let p=u!==void 0?u==="*"?"*":[u]:void 0;e.publish(z1,d,p)}catch(p){}}),i=void 0,r.clear()}));let c=r.get(s);c||(c=[],r.set(s,c)),c.push([o,a])}}}function rT(e){let{subscribeHandler:t,onNative:r,offNative:n,subscribe:i,unsubscribe:o}=eT(e),{invokeNative:a,invokeHandler:s,applyNative:l}=Z1(e,r),{publish:c,emitNative:d}=tT(e);return{invokeHandler:s,subscribeHandler:t,applyNative:l,invokeNative:a,onNative:r,offNative:n,emitNative:d,publish:c,subscribe:i,unsubscribe:o}}function Df(e,t){return{params:e,__extra:{startTime:Date.now(),type:t}}}var o1,a1,s1,ko,xf,Ef,vf,Ht,l1,c1,Ao,d1,p1,kf,h1,m1,Af,v1,y1,I1,S1,To,x1,E1,k1,gl,Co,yf,A1,xl,C1,El,P1,O1,R1,Gr,D1,i9,kl,se,L1,q1,Hn,Vn,Tl,Cl,F1,yl,U1,o9,Pl,_f,a9,Rf,H1,$n,$1,V1,G1,Nf,z1,W1,Eo,wf,_l,bl,wl,Il,Q1,Ol,Y1,X1,xo,Nl,ht,Lf,qf,nT,Ff,Sf,ye,j,Ze,s9,iT,Mf,Dl,l9,c9,_e=k(()=>{"use strict";o1=Object.defineProperty,a1=Object.defineProperties,s1=Object.getOwnPropertyDescriptors,ko=Object.getOwnPropertySymbols,xf=Object.prototype.hasOwnProperty,Ef=Object.prototype.propertyIsEnumerable,vf=(e,t,r)=>t in e?o1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ht=(e,t)=>{for(var r in t||(t={}))xf.call(t,r)&&vf(e,r,t[r]);if(ko)for(var r of ko(t))Ef.call(t,r)&&vf(e,r,t[r]);return e},l1=(e,t)=>a1(e,s1(t)),c1=(e,t)=>{var r={};for(var n in e)xf.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ko)for(var n of ko(e))t.indexOf(n)<0&&Ef.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())});d1=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};p1=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)};kf=Object.defineProperty,h1=Object.getOwnPropertyDescriptor,m1=(e,t)=>{for(var r in t)kf(e,r,{get:t[r],enumerable:!0})},Af=(e,t,r,n)=>{for(var i=n>1?void 0:n?h1(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&&kf(t,r,i),i},v1=(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}y1=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))}})}};I1=(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))(I1||{}),S1=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}},To=class extends S1{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},x1=class extends To{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_NATIVE_ERROR"}},E1=class extends To{constructor(e,t,r,n){super(e),this.errNo=t,this.name="INTERNAL_APPLY_NATIVE_ERROR",this.errorType=r,this.errorCode=n}},k1=class extends To{constructor(){super(...arguments),this.name="INTERNAL_JSCORE_ERROR",this.priority="P0"}},gl=class extends To{constructor(){super(...arguments),this.name="INTERNAL_METRIC_REPORT_ERROR"}};Co={log:Jn("log"),warn:Jn("warn"),info:Jn("info"),error:Jn("error"),debug:Jn("debug")};Object.assign(globalThis,{logger:Co});yf=Symbol.for("Jolibox.canIUseMap"),A1={};globalThis[yf]||(globalThis[yf]=A1);xl=Symbol.for("Jolibox.canIUseMap.native"),C1={};globalThis[xl]||(globalThis[xl]=C1);El={get config(){return globalThis[xl]}},P1=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(P1||{}),O1=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(O1||{}),R1=(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))(R1||{});N1();Gr=typeof window=="undefined",D1=()=>!Gr&&!!(navigator.userAgent||"").includes("JoliboxPlatformSDK"),i9={isiOS:!Gr&&(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:!Gr&&navigator.userAgent.includes("Android"),isMac:!Gr&&navigator.userAgent.includes("Mac"),isFacebook:!Gr&&navigator.userAgent.includes("FB_IAB"),isPC:!Gr&&!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},kl=class Al{constructor(t){this.element=t,this.next=Al.Undefined,this.prev=Al.Undefined}};kl.Undefined=new kl(void 0);se=kl,L1=class{constructor(){this._first=se.Undefined,this._last=se.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===se.Undefined}clear(){let e=this._first;for(;e!==se.Undefined;){let t=e.next;e.prev=se.Undefined,e.next=se.Undefined,e=t}this._first=se.Undefined,this._last=se.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new se(e);if(this._first===se.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!==se.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==se.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==se.Undefined&&e.next!==se.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===se.Undefined&&e.next===se.Undefined?(this._first=se.Undefined,this._last=se.Undefined):e.next===se.Undefined?(this._last=this._last.prev,this._last.next=se.Undefined):e.prev===se.Undefined&&(this._first=this._first.next,this._first.prev=se.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==se.Undefined;)yield e.element,e=e.next}},q1=0,Hn=class{constructor(e){this.value=e,this.id=q1++}},Vn=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 Hn&&(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 Hn(t);return this._listeners?this._listeners instanceof Hn?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 Hn)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 Hn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},Tl=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 Vn,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 L1,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)}},Cl={};m1(Cl,{None:()=>F1,filter:()=>j1,once:()=>Of,toPromise:()=>M1});F1=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});yl=Symbol.for("Jolibox.hostEmitter"),U1=()=>{let e=new Tl;return globalThis[yl]||(globalThis[yl]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[yl]},o9=U1();Pl=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Vn,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 B1(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}};Pl=Af([Pf],Pl);_f=class{constructor(){this._onWillExecuteCommand=new Vn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Vn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Pl,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=g1(3e4)),this._starActivation}executeCommand(e,...t){return v1(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),Cl.toPromise(Cl.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}}};_f=Af([Pf],_f);a9=Symbol.for("Jolibox.commands");Rl("requestPaymentSync",{version:1e6,properties:{paymentBody:{appStoreProductId:102e4}}});Rl("requestProductDetailsAsync",{version:102e4});Rl("loginSync",{version:1e6,properties:{skipLogin:102e4,triggerFrom:102e4}});Rf=e=>{function t(n){let[i,...o]=n.split(":");if(!i)return!1;let a=El.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=T1(n,i);if(!a)return!1;if(zr(a)){let s=a.version;return gf(s)?typeof o=="number"&&o>=s:!0}return gf(a)?typeof o=="number"&&o>=a:a===!0}return{canIUseNative:t}};H1=()=>D1(),$n="custom_event_",$1=[],V1=[],G1=["env","createRequestTask","login"],Nf="__batch_event__",z1="__native_batch_event__",W1=e=>e==="pv"?e:"default",Eo=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=W1(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&&zr(a))throw new gl(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);if(s){let l=[];if(zr(a))l.push(...Object.keys(a));else if(Tf(a)){if(i.length>0)throw new gl(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);l.push(a)}else throw new gl(`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=zr(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={}}},wf=!1;Il=[],Q1=!1,Ol=Symbol.for("Jolibox.invokeResolverInstance"),Y1=new Map;globalThis[Ol]||(globalThis[Ol]=Y1);X1={get resolveMap(){return globalThis[Ol]}};xo=Symbol.for("Jolibox.subscribeInstance");ht={trigger(){},exit(){return Promise.resolve(!1)},backPress(){return Promise.resolve(!1)},onReady(e){ht.trigger=e},onDoExit(e){ht.exit=e},onDoBackPress(e){ht.backPress=e}},Lf=e=>{let t=window.prompt("invoke",JSON.stringify({event:"envSync",paramsString:JSON.stringify({})}));if(!t)e.onError(new x1("native env failed"));else{let{data:r}=JSON.parse(t);return r!=null?r:void 0}};if(typeof window!="undefined"&&window.webkit){let e=window.webkit.messageHandlers,t=(i="")=>{ht.trigger(),e.onDocumentReady.postMessage({path:i})},r=i=>Ao(void 0,null,function*(){let o=yield ht.exit();e.doExit.postMessage({uuid:i,shouldInterrupt:o})});Nl={onDocumentReady:t,doExit:r,invoke(i,o,a){e.invoke.postMessage({event:i,paramsString:o,callbackId:a})},publish(i,o,a){let s=Df(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:Lf,doExit:r};globalThis.joliboxJSCore=Ht({},n)}if(typeof window!="undefined"&&window.JoliAndroidSDKBridge){let e,t=window.JoliAndroidSDKBridge,r=(o="")=>{ht.trigger(),t.onDocumentReady(JSON.stringify({path:o}))},n=o=>Ao(void 0,null,function*(){let a=yield ht.exit();t.doExit(JSON.stringify({uuid:o,shouldInterrupt:a}))});Nl={onDocumentReady:r,invoke(o,a,s){t.invoke(JSON.stringify({event:o,paramsString:a,callbackId:s}))},doExit:n,publish(o,a,s){let l=Df(a,"joliboxJSCore");t.publish(JSON.stringify({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 ht.backPress();t.doBackPress(JSON.stringify({uuid:o,shouldInterrupt:a}))})}};let i={onDocumentReady:r,env:Lf,doExit:n};globalThis.joliboxJSCore=Ht({},i)}qf=Nl;if(!qf&&H1())throw new k1("No joliboxJScore is found, native bridge not found.");nT=Ht({},qf),Ff=rT(nT),{invokeHandler:Sf}=Ff,{applyNative:ye,invokeNative:j,onNative:Ze,offNative:s9,subscribeHandler:iT,publish:Mf,emitNative:Dl,subscribe:l9,unsubscribe:c9}=Ff;globalThis.joliboxJSBridge={callHandler:Sf,invokeHandler:Sf,subscribeHandler:iT}});function dT(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function $f(e){return new Promise(t=>setTimeout(t,e))}function Qn(e){return typeof e=="string"}function Tr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Vf(e){return typeof e=="object"&&Array.isArray(e)}function Gf(e){return typeof e=="number"&&!isNaN(e)}function Wr(e){return e===!0||e===!1}function zf(e){return typeof e=="undefined"}function Jl(e){return zf(e)||e===null}function pT(e){return typeof e=="function"}function Wf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function Kf(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:Bf(l)&&Bf(s)?i[a]=n(lT({},s),l):Array.isArray(l)&&Array.isArray(s)?i[a]=[...s,...l]:i[a]=l}return i}return n(e,t)}function Bf(e){return e&&typeof e=="object"&&e.constructor===Object}function Qf(e,t){if(Array.isArray(e))return e.concat(t)}function Yn(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 hT(e,t){return(...r)=>t(e,...r)}function Oo(e){return t=>hT(t,function(r,...n){if(typeof r=="function")try{return r.apply(this,n)}catch(i){e(new lr(`${i}`))}})}function Gn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function nh(e,t,r){let n=0;if(e!==t){let i=e.split("."),o=t.split("."),a=Math.max(i.length,o.length);for(let s=0;s<a;s++){let l=parseInt(i[s],10)||0,c=parseInt(o[s],10)||0;if(l>c){n=1;break}else if(l<c){n=-1;break}}}if(!r)return n;switch(r){case">":return n>0;case"<":return n<0;case"=":return n===0;case">=":return n>=0;case"<=":return n<=0;default:return!1}}function Wl(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 ST(e){return new Promise(t=>sh(e)(t))}function sh(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function xT(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Kn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function kT(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)AT(e[n],t[n])}function AT(e,t){if(Qn(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(pT(t)){try{if(e instanceof t)return}catch(r){}if(!Jl(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 TT(){return typeof globalThis!="undefined"?globalThis[lh]:void 0}function CT(e){typeof globalThis!="undefined"&&(globalThis[lh]=e)}function X(e=!1){let t=TT();if(!e&&t)return t;let r=new Po,n=new Ul,i={registerCommand(o,a,s){r.registerCommand({id:o,handler:a,metadata:s})},executeCommand(o,...a){return n.executeCommand(o,...a)},excuteCommandSync(o,...a){return n.executeCommandThowErr(o,...a)}};return CT(i),i}var Bl,oT,jf,aT,sT,Uf,lT,cT,Hf,uT,Tt,fT,Hl,Xn,$l,Yf,lr,Xf,Zf,eh,th,rh,Zn,Vl,Ct,ql,mT,Gl,Jf,vT,B,zl,gT,Ro,zn,ei,yT,_T,ih,oh,ah,Fl,le,bT,wT,Wn,Kn,Pt,jl,IT,Ll,ET,ne,Po,Ul,lh,D=k(()=>{"use strict";Bl=Object.defineProperty,oT=Object.getOwnPropertyDescriptor,jf=Object.getOwnPropertySymbols,aT=Object.prototype.hasOwnProperty,sT=Object.prototype.propertyIsEnumerable,Uf=(e,t,r)=>t in e?Bl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lT=(e,t)=>{for(var r in t||(t={}))aT.call(t,r)&&Uf(e,r,t[r]);if(jf)for(var r of jf(t))sT.call(t,r)&&Uf(e,r,t[r]);return e},cT=(e,t)=>{for(var r in t)Bl(e,r,{get:t[r],enumerable:!0})},Hf=(e,t,r,n)=>{for(var i=n>1?void 0:n?oT(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&&Bl(t,r,i),i},uT=(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}Tt=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))}})}};fT=(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))(fT||{}),Hl=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}},Xn=class extends Hl{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},$l=class extends Hl{constructor(){super(...arguments),this.kind="USER_ERROR"}},Yf=class extends $l{constructor(){super(...arguments),this.name="USER_VALIDATE_ERROR"}},lr=class extends $l{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))}},Xf=class extends $l{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))}},Zf=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_SCHEMA_PARSE_ERROR",this.priority="P0"}},eh=class extends Xn{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))}},th=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_METHOD_ERROR"}},rh=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_GLOBAL_JS_ERROR",this.priority="P1"}},Zn=class extends Hl{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}}},Vl=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_REPORTER_ERROR"}};Ct={log:Gn("log"),warn:Gn("warn"),info:Gn("info"),error:Gn("error"),debug:Gn("debug")};Object.assign(globalThis,{logger:Ct});ql=Symbol.for("Jolibox.canIUseMap"),mT={};globalThis[ql]||(globalThis[ql]=mT);Gl={get config(){return globalThis[ql]}},Jf=Symbol.for("Jolibox.canIUseMap.native"),vT={};globalThis[Jf]||(globalThis[Jf]=vT);B=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(B||{}),zl=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(zl||{}),gT=(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))(gT||{}),Ro=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)});Wl();zn=typeof window=="undefined",ei={isiOS:!zn&&(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:!zn&&navigator.userAgent.includes("Android"),isMac:!zn&&navigator.userAgent.includes("Mac"),isFacebook:!zn&&navigator.userAgent.includes("FB_IAB"),isPC:!zn&&!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},yT="device_id",_T="advertising_id",ih=e=>(window.__joliboxLocalStorage__.getItem(e)||window.__joliboxLocalStorage__.setItem(e,Ro()),window.__joliboxLocalStorage__.getItem(e)),oh=()=>new URLSearchParams(window.location.search).get("deviceId")||ih(yT),ah=()=>new URLSearchParams(window.location.search).get("advertisingId")||ih(_T),Fl=class Ml{constructor(t){this.element=t,this.next=Ml.Undefined,this.prev=Ml.Undefined}};Fl.Undefined=new Fl(void 0);le=Fl,bT=class{constructor(){this._first=le.Undefined,this._last=le.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===le.Undefined}clear(){let e=this._first;for(;e!==le.Undefined;){let t=e.next;e.prev=le.Undefined,e.next=le.Undefined,e=t}this._first=le.Undefined,this._last=le.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new le(e);if(this._first===le.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!==le.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==le.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==le.Undefined&&e.next!==le.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===le.Undefined&&e.next===le.Undefined?(this._first=le.Undefined,this._last=le.Undefined):e.next===le.Undefined?(this._last=this._last.prev,this._last.next=le.Undefined):e.prev===le.Undefined&&(this._first=this._first.next,this._first.prev=le.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==le.Undefined;)yield e.element,e=e.next}},wT=0,Wn=class{constructor(e){this.value=e,this.id=wT++}},Kn=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 Wn&&(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 Wn(t);return this._listeners?this._listeners instanceof Wn?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 Wn)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 Wn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},Pt=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 Kn,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 bT,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)}},jl={};cT(jl,{None:()=>IT,filter:()=>xT,once:()=>sh,toPromise:()=>ST});IT=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Ll=Symbol.for("Jolibox.hostEmitter"),ET=()=>{let e=new Pt;return globalThis[Ll]||(globalThis[Ll]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Ll]},ne=ET();Po=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Kn,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 kT(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}};Po=Hf([Wf],Po);Ul=class{constructor(){this._onWillExecuteCommand=new Kn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Kn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Po,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=dT(3e4)),this._starActivation}executeCommand(e,...t){return uT(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),jl.toPromise(jl.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}}};Ul=Hf([Wf],Ul);lh=Symbol.for("Jolibox.commands")});function ke(e,t={}){Kl.emit("ERROR_REPORT",{error:e,options:t})}var Kl,Cr,mt=k(()=>{"use strict";D();D();Kl=new Pt,Cr=new Pt;ke.debounce=Yn(ke,50,{leading:!0})});var Ql,PT,ch,uh,dh=k(()=>{"use strict";D();mt();Ql=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{}}},PT=e=>{let t=JSON.stringify(e);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},ch=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:Ql(o),payloadJson:Ql(a),signature:Ql(s)}}else throw"joli_source is missing"}catch(r){return ke(new Zf(`${e} not a valid schema: ${r}`)),{headerJson:{},payloadJson:{},signature:{}}}},uh=(e,t)=>{let r=t.split(".");if(r&&r.length===3){let n=r[0],i=PT(e),o=r[2];return`${n}.${i}.${o}`}return t}});var OT,Yl,ph=k(()=>{"use strict";D();OT="1.1.50",Yl=()=>OT});function Zl(e,t){return(document==null?void 0:document.head.querySelector(`meta[name="${e}"][content="${t}"]`))!==null}var RT,fh,Xl,hh,he,NT,x,Q=k(()=>{"use strict";D();dh();ph();D();RT={deviceInfo:{brand:"UnknownBrand",model:"UnknownModel",did:oh(),adId:ah(),pixelRatio:window.devicePixelRatio||1,platform:ei.isAndroid?"android":ei.isiOS?"ios":"h5",system:"UnknownSystemVersion",lang:"zh"},sdkInfo:{nativeSDKVersion:"",jssdkVersion:Yl()},schema:window.location.href,platform:ei.isAndroid?"android":ei.isiOS?"ios":"h5"},Xl=(fh=globalThis.joliboxJSCore)==null?void 0:fh.env,he=Object.assign({},(hh=Xl==null?void 0:Xl())!=null?hh:RT);NT=()=>{var f,m,g,_,v,b,I,A,C,O,E;let{payloadJson:e,headerJson:t,signature:r}=he.schema.length?ch(he.schema):{},n=`${he.deviceInfo.did}-${new Date().getTime()}`,o=new URL(he.schema.length?he.schema:window.location.href).searchParams,a=(g=(m=(f=o.get("mpId"))!=null?f:o.get("appId"))!=null?m:o.get("gameId"))!=null?g:"",s=(b=(v=(_=he.clientSessionId)!=null?_:e==null?void 0:e.sessionId)!=null?v:o.get("sessionId"))!=null?b:n,l=!!((A=(I=e==null?void 0:e.testAdsMode)!=null?I:e==null?void 0:e.__testAdsMode)!=null?A:o.get("testAdsMode")==="true"),c=(E=(O=(C=e==null?void 0:e.joliboxEnv)!=null?C:e==null?void 0:e.__joliboxEnv)!=null?O: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 startTime(){var P;return(P=performance.timeOrigin)!=null?P:performance.timing.navigationStart},get testMode(){return d},get testAdsMode(){return l},get joliboxEnv(){return c},get joliSource(){var P;return(P=o.get("joliSource"))!=null?P:null},get mpId(){var P;return(P=a!=null?a:e==null?void 0:e.id)!=null?P:""},get mpVersion(){var P;return(P=t==null?void 0:t.ver)!=null?P:Yl()},get mpType(){var P,J;return(J=(P=t==null?void 0:t.__mpType)!=null?P:e==null?void 0:e.__mpType)!=null?J:"game"},get platform(){var P;return((P=he.platform)!=null?P:he.deviceInfo.platform).toLowerCase()},get deviceInfo(){return he.deviceInfo},get sdkInfo(){return he.sdkInfo},get hostInfo(){return he.hostInfo},get hostUserInfo(){return he.hostUserInfo},get sessionId(){var P,J;return(J=(P=he.clientSessionId)!=null?P:s)!=null?J:n},get channel(){return u},get webviewId(){var P;return(P=he.webviewId)!=null?P:-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 P;return(P=he.deviceInfo.adId)!=null?P:he.deviceInfo.did},get language(){return he.deviceInfo.lang},get sdkEnvironment(){return Zl("dlightek","jolibox")?"dlightek":o.get("huaweiQuick")==="true"?"huaweiQuick":Zl("gamedistribution","jolibox")?"gamedistribution":Zl("funmax","jolibox")?"funmax":"jolibox"},get viewport(){var q,Re,Ne;let P=(q=he.deviceInfo.pixelRatio)!=null?q:1,J=(Re=he.deviceInfo.statusBarHeight)!=null?Re:e==null?void 0:e.__androidStatusBarHeight,We=(Ne=he.deviceInfo.navigationBarHeight)!=null?Ne:e==null?void 0:e.__androidNavigationBarHeight;return{statusBarHeight:J!==void 0?J/P:20,navigationBarHeight:We!==void 0?We/P:10}},onEnvConfigChanged:P=>{Kf(he,P,Qf)},encodeJoliSourceQuery:P=>{var J,We;return t&&r?uh(T(T({},e),P),(J=o.get("joliSource"))!=null?J:""):(We=o.get("joliSource"))!=null?We:""},setDoExitDirectly:()=>{p=!1}}},x=NT()});var ec,vh,DT,LT,mh,qT,gh=k(()=>{"use strict";D();mt();Q();D();ec=!1,vh=(e,t)=>e==null?!1:t in e,DT=e=>vh(e,"kind"),LT=e=>{let t=e.toLowerCase().split("_");return t[0]+t.slice(1).map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join("")},mh=(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:LT(e.name)},i=U(T({},n),{env:t.environment,isFromUser:r});r?Cr.emit("GLOBAL_USER_ERROR",e,i):Cr.emit("GLOBAL_ERROR",e,i)},qT=e=>vh(e,"kind")&&e.kind==="USER_ERROR";Kl.on("ERROR_REPORT",({error:e,options:t})=>{if(ec)return;ec=!0;let r=DT(e)&&e.raw?e.raw:e;try{let n=qT(e);mh(e,t,n)}catch(n){let i=n instanceof Error?n.message:String(n),o=new Vl(`${i}, origin error: ${r.message}`);Ct.error(o),mh(new Vl(o.message),{environment:t.environment},!1)}finally{ec=!1}})});var cr,tc,Kr=k(()=>{"use strict";mt();D();mt();cr=(e,t)=>{var r,n;return new Zn((n=(r=t==null?void 0:t.errMsg)!=null?r:e.msg)!=null?n:"",e.code,e.type)},tc=e=>new Yf(e)});var yh=k(()=>{"use strict";gh();Kr();D();_e();Cr.on("GLOBAL_ERROR",(e,t)=>{var n;let r={message:e.message,stack:(n=e.stack)!=null?n:"",errorType:e.name,source:0};j("trackAsync",{event:"reportJsError",data:r})});Cr.on("GLOBAL_USER_ERROR",(e,t)=>{Ct.log("UserError",e,t)})});var rc=k(()=>{"use strict"});function _h(e,t){let r=(n,i,o)=>{let c=i!=null?i:{},{eventType:a}=c,s=Ue(c,["eventType"]),l=U(T({tag:n,eventType:o!=null?o:a!=null?a:B.Other},t),{extra:T({},s)});n=="globalJsError"?ke(new rh(JSON.stringify(l))):e("systemLog",l,x.webviewId)};return r.debounce=Yn(r,500,{leading:!0}),r}function bh(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=Yn(t,500,{leading:!0}),t}var wh=k(()=>{"use strict";D();D();mt();Q()});function Ih(e,t){let r=_h(e,t),n=bh(r);return{track:r,trackPerformance:n}}var Sh=k(()=>{"use strict";wh()});var xh=k(()=>{"use strict";Q();D();D()});var Eh=k(()=>{"use strict";Sh();rc();xh()});var No,kh=k(()=>{"use strict";No=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 Do(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 Ze("onRequestTaskStateChange",u=>{if(typeof u.requestTaskId!="string")return;let p=n.get(u.requestTaskId);if(p)if(u.state==="success"){let f=u,{requestTaskId:g,state:_}=f,v=Ue(f,["requestTaskId","state"]);u.statusCode===200?p.resolve(v):p.reject(v),n.delete(g)}else if(u.state==="fail"){let m=u,{requestTaskId:g,state:_}=m,v=Ue(m,["requestTaskId","state"]);p.reject(v),n.delete(g)}else Ct.warn("onRequestTaskStateChange unknown event",u)}),ne.on("onLoginComplete",({isLogin:u,token:p})=>{o!=="public"&&u&&p&&(a["X-JOLI-TOKEN"]=p)}),(f,...m)=>w(this,[f,...m],function*(u,p={}){let g=Date.now(),_=FT(u,U(T({},p),{baseUrl:i})),{method:v="GET",responseType:b="text",dataType:I="json",timeout:A,enableCache:C=!1,appendHostCookie:O=!0}=p,E=Object.assign({"content-type":"application/json"},a,p.header),P={url:_,method:v,header:E,enableCache:C,responseType:b,appendHostCookie:O};if(v=="POST"||v=="PUT"){let Ne=jT(p.data,E["content-type"]);P.data=Ne}A&&Object.assign(P,{timeout:A});let{data:{requestTaskId:J}}=j(e,P);if(typeof J!="string")throw cr({code:-1,msg:"requestTaskId is not a string"});let{resolve:We,reject:q,promise:Re}=new Tt;n.set(J,{resolve:We,reject:q});try{let Ne=yield Re,{data:Ar}=Ne;return I==="json"&&typeof Ar=="string"&&(Ar=MT(Ar)),{url:_,timeout:A,method:v,response:U(T({},Ne),{data:Ar})}}catch(Ne){let Ar=Ne;if(Tr(Ar)){let{errMsg:ml,prefetchDetail:t9,isPrefetch:r9,errNo:YA}=Ar;Qn(ml)&&ke(cr({code:-1,msg:ml},{errNo:YA,errMsg:ml}))}throw Ne}})}function MT(e){try{return JSON.parse(e.trim())}catch(t){return e}}function jT(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 FT,nc=k(()=>{"use strict";D();_e();mt();Kr();FT=(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 ic,Ah,te,vt=k(()=>{"use strict";nc();Q();ic={};(Ah=x.hostUserInfo)!=null&&Ah.token&&(ic["x-joli-token"]=x.hostUserInfo.token);x.joliSource&&(ic["x-joli-source"]=x.joliSource);te=Do("createRequestTaskSync","operateRequestTaskSync",{type:"inner",baseUrl:x.testMode?"https://stg-api.jolibox.com":"https://api.jolibox.com",defaultHeaders:ic})});var Lo,Th=k(()=>{"use strict";Q();kh();vt();_e();Lo=class extends No{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 w(this,null,function*(){let{event:r,params:n}=t,i={eventType:r,gameInfo:T({gameId:this.gameId,sessionId:this.sessionId},n)};yield x.platform==="android"?te("/api/base/app-event",{method:"POST",data:i}):ye("trackAppEventAsync",{url:this.taskUrl,body:JSON.stringify(i)})})}reportToNative(t){return w(this,null,function*(){let{event:r,params:n}=t;yield ye("userTrackAsync",{event:r,params:T({},n),gameId:this.gameId})})}tracker(t,r=null){this.track(t,r)}}});var Nh={};mf(Nh,{nativeTaskEmitter:()=>ti,taskTracker:()=>$t,track:()=>M,trackPerformance:()=>Oh});var UT,Ch,Ph,M,Oh,Rh,ti,$t,gt=k(()=>{"use strict";yh();D();rc();Eh();Q();Th();_e();UT=(e,t,r)=>{var s,l,c,d,u,p;let n=t,i=Tr(n.extra)?n.extra:Qn(n.extra)?JSON.parse(n.extra):{},o=U(T({},i),{mp_id:(s=n.mp_id)!=null?s:"",mp_version:(l=n.mp_version)!=null?l:"",session_id:x.sessionId,user_id:(d=(c=x.hostUserInfo)==null?void 0:c.uid)!=null?d:""}),a=(u=n.eventType)!=null?u:B.Other;j("trackAsync",{event:(p=t.tag)!=null?p:e,data:o,webviewId:r,eventType:a})},{track:M,trackPerformance:Oh}=Ih(UT,{type:zl.AppSDK,platform:"native",jssdk_version:(Ph=(Ch=x.sdkInfo)==null?void 0:Ch.jssdkVersion)!=null?Ph:"1.0.0",mp_id:x.mpId,mp_version:x.mpVersion}),Rh=X();Rh.registerCommand("ReportSDK.traceSystemTimeline",({event:e,duration:t,extra:r})=>{Oh(e,t,r)});Rh.registerCommand("ReportSDK.traceSystem",({event:e,info:t})=>{M(e,t)});ti=new Pt,$t=new Lo(M,ti)});function Dh(){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 XA=Object.create;var So=Object.defineProperty,ZA=Object.defineProperties,e1=Object.getOwnPropertyDescriptor,t1=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertyNames,Io=Object.getOwnPropertySymbols,n1=Object.getPrototypeOf,vl=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable;var ff=(e,t,r)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))vl.call(t,r)&&ff(e,r,t[r]);if(Io)for(var r of Io(t))hf.call(t,r)&&ff(e,r,t[r]);return e},j=(e,t)=>ZA(e,t1(t));var je=(e,t)=>{var r={};for(var n in e)vl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Io)for(var n of Io(e))t.indexOf(n)<0&&hf.call(e,n)&&(r[n]=e[n]);return r};var k=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mf=(e,t)=>{for(var r in t)So(e,r,{get:t[r],enumerable:!0})},i1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of r1(t))!vl.call(e,i)&&i!==r&&So(e,i,{get:()=>t[i],enumerable:!(n=e1(t,i))||n.enumerable});return e};var ie=(e,t,r)=>(r=e!=null?XA(n1(e)):{},i1(t||!e||!e.__esModule?So(r,"default",{value:e,enumerable:!0}):r,e));var w=(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 u1(e){return!!(e!=null&&e.__nativeBuffers__)}function Sl(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(r){return{}}if(typeof e!="object"||e===null)return{};if(!u1(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=d1(n.base64)),typeof i!="undefined"&&i instanceof ArrayBuffer&&(e[n.key]=i)}}return e}function f1(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:p1(o),key:i};n.push(a),delete r[i]}return n.length>0&&(r.__nativeBuffers__=n),r}function g1(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function Tf(e){return typeof e=="string"}function zr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function gf(e){return typeof e=="number"&&!isNaN(e)}function _1(e){return typeof e=="undefined"}function b1(e){return _1(e)||e===null}function Cf(e){return typeof e=="function"}function w1(e){return zr(e)&&Cf(e.then)}function Pf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function Jn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function T1(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 N1(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 M1(e){return new Promise(t=>Of(e)(t))}function Of(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function U1(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Vn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function B1(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)J1(e[n],t[n])}function J1(e,t){if(Tf(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(Cf(t)){try{if(e instanceof t)return}catch(r){}if(!b1(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 Rl(e,t){if(xl.config[e]){Co.warn(`[can i use] ${e} already registered`);return}xl.config[e]=$t({},t)}function bf(e,t){return`[${e}]:${t}`}function K1(e,t){wf||(_l=new xo({eventName:"jolibox_invoke",tagNameOrder:["status","method","errNo","errMsg","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),bl=new xo({eventName:"jolibox_invoke_js2native",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),wl=new xo({eventName:"jolibox_invoke_native2js",tagNameOrder:["status","method","isForeground"],metricName:"duration",reporter(i){e.invoke("trackAsync",JSON.stringify({event:"reportMetrics",data:i}),-1)}}),t("onJoliboxEnterBackground",()=>{_l.flush(),bl.flush(),wl.flush()}),wf=!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:g}=f,_=(a=(o=u.match(/\S:(\S+)\s?/))==null?void 0:o[1])!=null?a:"fail";_l.report({status:_,method:n(s,l),errNo:`${p}`,errMsg:u,isForeground:d,duration:Date.now()-c}),c&&m&&g&&(bl.report({status:_,method:s,isForeground:d,duration:Number((m-c).toFixed(3))}),wl.report({status:_,method:s,isForeground:d,duration:Number((Date.now()-g).toFixed(3))}))}function n(i,o){return(i==="callHostMethod"||i==="callHostMethodSync")&&o!=null&&o.method?`${i}-${o.method}`:i}return r}function Z1(e,t){let r=0,n=!0,i=X1.resolveMap,o=K1(e,t);t("onJoliboxEnterBackground",()=>{n=!1}),t("onJoliboxEnterForeground",()=>{n=!0,Il.forEach(l=>Ao(this,[l],function*({method:c,args:d,resolve:u}){let p=yield s(c,d);u(p)})),Il.length=0});let a=(l,c)=>{let d=i.get(Number(l));if(!d)return;let u=Sl(c);d(u),i.delete(Number(l))},s=(l,c)=>{var d,u;let p=Date.now(),f=`${n}`;r+=1;let m=new y1;if(i.set(r,m.resolve),!n&&V1.includes(l))return new Promise(A=>{Il.push({method:l,args:c,resolve:A})});let g=l1($t({},{method:l,startTime:p,args:c,isForeground:f}),{invokeType:"js-bridge"}),_=!Q1&&$1.includes(l),v=f1(c,_),b=_?v:JSON.stringify(v),I;if(l.endsWith("Sync")||G1.includes(l)?I=(d=e.call)==null?void 0:d.call(e,l,v,r):typeof b=="string"?I=e.invoke(l,b,r):I=(u=e.call)==null?void 0:u.call(e,l,b,r),I){try{typeof I=="string"&&(I=JSON.parse(I)),I=Sl(I)}catch(A){Co.error(A)}return i.delete(r),I.errorCode&&(I.errorCode=bf(l,I.errorCode)),o($t($t({},g),I)),I}return l.endsWith("Sync")&&i.delete(r),m.promise.then(A=>(A.errorCode&&(A.errorCode=bf(l,A.errorCode)),o($t($t({},g),A)),A))};return{invokeNative:s,applyNative:(l,c)=>{let d=s(l,c);return w1(d)?d.then(u=>If(l,u)):If(l,d)},invokeHandler:a}}function If(e,t){if(!zr(t)){Co.warn(`[Jolibox SDK]${e} no response value`);return}let r=t,{errMsg:n,errNo:i,errorType:o,errorCode:a}=r,s=c1(r,["errMsg","errNo","errorType","errorCode"]);if(n&&n!==`${e}:ok`)throw new x1(n,i,o,a);return s}function eT(e){if(globalThis[Eo])return globalThis[Eo];let t=new Tl,r=new Tl,n=new xo({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[Eo]={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=Sl(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===Nf){l.forEach(c=>{let[d,u]=c;try{r.emit(d.slice($n.length),u,a)}catch(p){}});return}if(i.startsWith($n)){r.emit(i.slice($n.length),l,a);return}t.emit(i,l,a)}},globalThis[Eo]}function tT(e){let t=new Map,r=new Map,n,i;return{publish:(o,a,s,l)=>{if(l){let d=s!==void 0?s==="*"?"*":[s]:void 0;e.publish(`${$n}${o}`,a,d);return}n||(n=Promise.resolve().then(()=>{t.forEach((d,u)=>{try{let p=u!==void 0?u==="*"?"*":[u]:void 0;e.publish(Nf,d,p)}catch(p){}}),n=void 0,t.clear()}));let c=t.get(s);c||(c=[],t.set(s,c)),c.push([`${$n}${o}`,a])},emitNative:(o,a,s,l)=>{if(l){let d=s!==void 0?s==="*"?"*":[s]:void 0;e.publish(o,a,d),console.log("emitNative",o,a,d);return}i||(i=Promise.resolve().then(()=>{r.forEach((d,u)=>{try{let p=u!==void 0?u==="*"?"*":[u]:void 0;e.publish(z1,d,p)}catch(p){}}),i=void 0,r.clear()}));let c=r.get(s);c||(c=[],r.set(s,c)),c.push([o,a])}}}function rT(e){let{subscribeHandler:t,onNative:r,offNative:n,subscribe:i,unsubscribe:o}=eT(e),{invokeNative:a,invokeHandler:s,applyNative:l}=Z1(e,r),{publish:c,emitNative:d}=tT(e);return{invokeHandler:s,subscribeHandler:t,applyNative:l,invokeNative:a,onNative:r,offNative:n,emitNative:d,publish:c,subscribe:i,unsubscribe:o}}function Df(e,t){return{params:e,__extra:{startTime:Date.now(),type:t}}}var o1,a1,s1,ko,Ef,xf,vf,$t,l1,c1,Ao,d1,p1,kf,h1,m1,Af,v1,y1,I1,S1,To,E1,x1,k1,gl,Co,yf,A1,El,C1,xl,P1,O1,R1,Gr,D1,i9,kl,se,L1,q1,Hn,Vn,Tl,Cl,F1,yl,j1,o9,Pl,_f,a9,Rf,H1,$n,$1,V1,G1,Nf,z1,W1,xo,wf,_l,bl,wl,Il,Q1,Ol,Y1,X1,Eo,Nl,ht,Lf,qf,nT,Ff,Sf,ye,U,Ze,s9,iT,Mf,Dl,l9,c9,_e=k(()=>{"use strict";o1=Object.defineProperty,a1=Object.defineProperties,s1=Object.getOwnPropertyDescriptors,ko=Object.getOwnPropertySymbols,Ef=Object.prototype.hasOwnProperty,xf=Object.prototype.propertyIsEnumerable,vf=(e,t,r)=>t in e?o1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$t=(e,t)=>{for(var r in t||(t={}))Ef.call(t,r)&&vf(e,r,t[r]);if(ko)for(var r of ko(t))xf.call(t,r)&&vf(e,r,t[r]);return e},l1=(e,t)=>a1(e,s1(t)),c1=(e,t)=>{var r={};for(var n in e)Ef.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ko)for(var n of ko(e))t.indexOf(n)<0&&xf.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())});d1=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};p1=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)};kf=Object.defineProperty,h1=Object.getOwnPropertyDescriptor,m1=(e,t)=>{for(var r in t)kf(e,r,{get:t[r],enumerable:!0})},Af=(e,t,r,n)=>{for(var i=n>1?void 0:n?h1(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&&kf(t,r,i),i},v1=(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}y1=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))}})}};I1=(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))(I1||{}),S1=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}},To=class extends S1{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},E1=class extends To{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_NATIVE_ERROR"}},x1=class extends To{constructor(e,t,r,n){super(e),this.errNo=t,this.name="INTERNAL_APPLY_NATIVE_ERROR",this.errorType=r,this.errorCode=n}},k1=class extends To{constructor(){super(...arguments),this.name="INTERNAL_JSCORE_ERROR",this.priority="P0"}},gl=class extends To{constructor(){super(...arguments),this.name="INTERNAL_METRIC_REPORT_ERROR"}};Co={log:Jn("log"),warn:Jn("warn"),info:Jn("info"),error:Jn("error"),debug:Jn("debug")};Object.assign(globalThis,{logger:Co});yf=Symbol.for("Jolibox.canIUseMap"),A1={};globalThis[yf]||(globalThis[yf]=A1);El=Symbol.for("Jolibox.canIUseMap.native"),C1={};globalThis[El]||(globalThis[El]=C1);xl={get config(){return globalThis[El]}},P1=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(P1||{}),O1=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(O1||{}),R1=(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))(R1||{});N1();Gr=typeof window=="undefined",D1=()=>!Gr&&!!(navigator.userAgent||"").includes("JoliboxPlatformSDK"),i9={isiOS:!Gr&&(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:!Gr&&navigator.userAgent.includes("Android"),isMac:!Gr&&navigator.userAgent.includes("Mac"),isFacebook:!Gr&&navigator.userAgent.includes("FB_IAB"),isPC:!Gr&&!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},kl=class Al{constructor(t){this.element=t,this.next=Al.Undefined,this.prev=Al.Undefined}};kl.Undefined=new kl(void 0);se=kl,L1=class{constructor(){this._first=se.Undefined,this._last=se.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===se.Undefined}clear(){let e=this._first;for(;e!==se.Undefined;){let t=e.next;e.prev=se.Undefined,e.next=se.Undefined,e=t}this._first=se.Undefined,this._last=se.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new se(e);if(this._first===se.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!==se.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==se.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==se.Undefined&&e.next!==se.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===se.Undefined&&e.next===se.Undefined?(this._first=se.Undefined,this._last=se.Undefined):e.next===se.Undefined?(this._last=this._last.prev,this._last.next=se.Undefined):e.prev===se.Undefined&&(this._first=this._first.next,this._first.prev=se.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==se.Undefined;)yield e.element,e=e.next}},q1=0,Hn=class{constructor(e){this.value=e,this.id=q1++}},Vn=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 Hn&&(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 Hn(t);return this._listeners?this._listeners instanceof Hn?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 Hn)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 Hn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},Tl=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 Vn,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 L1,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)}},Cl={};m1(Cl,{None:()=>F1,filter:()=>U1,once:()=>Of,toPromise:()=>M1});F1=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});yl=Symbol.for("Jolibox.hostEmitter"),j1=()=>{let e=new Tl;return globalThis[yl]||(globalThis[yl]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[yl]},o9=j1();Pl=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Vn,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 B1(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}};Pl=Af([Pf],Pl);_f=class{constructor(){this._onWillExecuteCommand=new Vn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Vn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Pl,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=g1(3e4)),this._starActivation}executeCommand(e,...t){return v1(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),Cl.toPromise(Cl.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}}};_f=Af([Pf],_f);a9=Symbol.for("Jolibox.commands");Rl("requestPaymentSync",{version:1e6,properties:{paymentBody:{appStoreProductId:102e4}}});Rl("requestProductDetailsAsync",{version:102e4});Rl("loginSync",{version:1e6,properties:{skipLogin:102e4,triggerFrom:102e4}});Rf=e=>{function t(n){let[i,...o]=n.split(":");if(!i)return!1;let a=xl.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=T1(n,i);if(!a)return!1;if(zr(a)){let s=a.version;return gf(s)?typeof o=="number"&&o>=s:!0}return gf(a)?typeof o=="number"&&o>=a:a===!0}return{canIUseNative:t}};H1=()=>D1(),$n="custom_event_",$1=[],V1=[],G1=["env","createRequestTask","login"],Nf="__batch_event__",z1="__native_batch_event__",W1=e=>e==="pv"?e:"default",xo=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=W1(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&&zr(a))throw new gl(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);if(s){let l=[];if(zr(a))l.push(...Object.keys(a));else if(Tf(a)){if(i.length>0)throw new gl(`report value failed to match tagNameOrder, ${JSON.stringify(r)}`);l.push(a)}else throw new gl(`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=zr(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={}}},wf=!1;Il=[],Q1=!1,Ol=Symbol.for("Jolibox.invokeResolverInstance"),Y1=new Map;globalThis[Ol]||(globalThis[Ol]=Y1);X1={get resolveMap(){return globalThis[Ol]}};Eo=Symbol.for("Jolibox.subscribeInstance");ht={trigger(){},exit(){return Promise.resolve(!1)},backPress(){return Promise.resolve(!1)},onReady(e){ht.trigger=e},onDoExit(e){ht.exit=e},onDoBackPress(e){ht.backPress=e}},Lf=e=>{let t=window.prompt("invoke",JSON.stringify({event:"envSync",paramsString:JSON.stringify({})}));if(!t)e.onError(new E1("native env failed"));else{let{data:r}=JSON.parse(t);return r!=null?r:void 0}};if(typeof window!="undefined"&&window.webkit){let e=window.webkit.messageHandlers,t=(i="")=>{ht.trigger(),e.onDocumentReady.postMessage({path:i})},r=i=>Ao(void 0,null,function*(){let o=yield ht.exit();e.doExit.postMessage({uuid:i,shouldInterrupt:o})});Nl={onDocumentReady:t,doExit:r,invoke(i,o,a){e.invoke.postMessage({event:i,paramsString:o,callbackId:a})},publish(i,o,a){let s=Df(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:Lf,doExit:r};globalThis.joliboxJSCore=$t({},n)}if(typeof window!="undefined"&&window.JoliAndroidSDKBridge){let e,t=window.JoliAndroidSDKBridge,r=(o="")=>{ht.trigger(),t.onDocumentReady(JSON.stringify({path:o}))},n=o=>Ao(void 0,null,function*(){let a=yield ht.exit();t.doExit(JSON.stringify({uuid:o,shouldInterrupt:a}))});Nl={onDocumentReady:r,invoke(o,a,s){t.invoke(JSON.stringify({event:o,paramsString:a,callbackId:s}))},doExit:n,publish(o,a,s){let l=Df(a,"joliboxJSCore");t.publish(JSON.stringify({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 ht.backPress();t.doBackPress(JSON.stringify({uuid:o,shouldInterrupt:a}))})}};let i={onDocumentReady:r,env:Lf,doExit:n};globalThis.joliboxJSCore=$t({},i)}qf=Nl;if(!qf&&H1())throw new k1("No joliboxJScore is found, native bridge not found.");nT=$t({},qf),Ff=rT(nT),{invokeHandler:Sf}=Ff,{applyNative:ye,invokeNative:U,onNative:Ze,offNative:s9,subscribeHandler:iT,publish:Mf,emitNative:Dl,subscribe:l9,unsubscribe:c9}=Ff;globalThis.joliboxJSBridge={callHandler:Sf,invokeHandler:Sf,subscribeHandler:iT}});function dT(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function $f(e){return new Promise(t=>setTimeout(t,e))}function Qn(e){return typeof e=="string"}function Tr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Vf(e){return typeof e=="object"&&Array.isArray(e)}function Gf(e){return typeof e=="number"&&!isNaN(e)}function Wr(e){return e===!0||e===!1}function zf(e){return typeof e=="undefined"}function Jl(e){return zf(e)||e===null}function pT(e){return typeof e=="function"}function Wf(e){let t=e,r=null,n=function(...i){return r||(r=new t(...i)),r};return n.prototype=t.prototype,n}function Kf(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:Bf(l)&&Bf(s)?i[a]=n(lT({},s),l):Array.isArray(l)&&Array.isArray(s)?i[a]=[...s,...l]:i[a]=l}return i}return n(e,t)}function Bf(e){return e&&typeof e=="object"&&e.constructor===Object}function Qf(e,t){if(Array.isArray(e))return e.concat(t)}function Yn(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 hT(e,t){return(...r)=>t(e,...r)}function Oo(e){return t=>hT(t,function(r,...n){if(typeof r=="function")try{return r.apply(this,n)}catch(i){e(new lr(`${i}`))}})}function Gn(e){return(...t)=>{var r,n;((n=(r=globalThis.VConsole)==null?void 0:r[e])!=null?n:globalThis.console[e])(...t)}}function nh(e,t,r){let n=0;if(e!==t){let i=e.split("."),o=t.split("."),a=Math.max(i.length,o.length);for(let s=0;s<a;s++){let l=parseInt(i[s],10)||0,c=parseInt(o[s],10)||0;if(l>c){n=1;break}else if(l<c){n=-1;break}}}if(!r)return n;switch(r){case">":return n>0;case"<":return n<0;case"=":return n===0;case">=":return n>=0;case"<=":return n<=0;default:return!1}}function Wl(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 ST(e){return new Promise(t=>sh(e)(t))}function sh(e){return(t,r=null)=>{let n=!1;return e(i=>{if(!n)return n=!0,t.call(r,i)},null)}}function ET(e,t){return(r=>{let n,i={onWillAddFirstListener(){n=r(o.fire,o)}},o=new Kn(i);return o.event})((r,n=null)=>e(i=>t(i)&&r.call(n,i),null))}function kT(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)AT(e[n],t[n])}function AT(e,t){if(Qn(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(pT(t)){try{if(e instanceof t)return}catch(r){}if(!Jl(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 TT(){return typeof globalThis!="undefined"?globalThis[lh]:void 0}function CT(e){typeof globalThis!="undefined"&&(globalThis[lh]=e)}function X(e=!1){let t=TT();if(!e&&t)return t;let r=new Po,n=new jl,i={registerCommand(o,a,s){r.registerCommand({id:o,handler:a,metadata:s})},executeCommand(o,...a){return n.executeCommand(o,...a)},excuteCommandSync(o,...a){return n.executeCommandThowErr(o,...a)}};return CT(i),i}var Bl,oT,Uf,aT,sT,jf,lT,cT,Hf,uT,Ct,fT,Hl,Xn,$l,Yf,lr,Xf,Zf,eh,th,rh,Zn,Vl,Pt,ql,mT,Gl,Jf,vT,B,zl,gT,Ro,zn,ei,yT,_T,ih,oh,ah,Fl,le,bT,wT,Wn,Kn,Ot,Ul,IT,Ll,xT,ne,Po,jl,lh,D=k(()=>{"use strict";Bl=Object.defineProperty,oT=Object.getOwnPropertyDescriptor,Uf=Object.getOwnPropertySymbols,aT=Object.prototype.hasOwnProperty,sT=Object.prototype.propertyIsEnumerable,jf=(e,t,r)=>t in e?Bl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lT=(e,t)=>{for(var r in t||(t={}))aT.call(t,r)&&jf(e,r,t[r]);if(Uf)for(var r of Uf(t))sT.call(t,r)&&jf(e,r,t[r]);return e},cT=(e,t)=>{for(var r in t)Bl(e,r,{get:t[r],enumerable:!0})},Hf=(e,t,r,n)=>{for(var i=n>1?void 0:n?oT(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&&Bl(t,r,i),i},uT=(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}Ct=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))}})}};fT=(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))(fT||{}),Hl=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}},Xn=class extends Hl{constructor(){super(...arguments),this.kind="INTERNAL_ERROR"}},$l=class extends Hl{constructor(){super(...arguments),this.kind="USER_ERROR"}},Yf=class extends $l{constructor(){super(...arguments),this.name="USER_VALIDATE_ERROR"}},lr=class extends $l{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))}},Xf=class extends $l{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))}},Zf=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_SCHEMA_PARSE_ERROR",this.priority="P0"}},eh=class extends Xn{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))}},th=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_INVOKE_METHOD_ERROR"}},rh=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_GLOBAL_JS_ERROR",this.priority="P1"}},Zn=class extends Hl{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}}},Vl=class extends Xn{constructor(){super(...arguments),this.name="INTERNAL_REPORTER_ERROR"}};Pt={log:Gn("log"),warn:Gn("warn"),info:Gn("info"),error:Gn("error"),debug:Gn("debug")};Object.assign(globalThis,{logger:Pt});ql=Symbol.for("Jolibox.canIUseMap"),mT={};globalThis[ql]||(globalThis[ql]=mT);Gl={get config(){return globalThis[ql]}},Jf=Symbol.for("Jolibox.canIUseMap.native"),vT={};globalThis[Jf]||(globalThis[Jf]=vT);B=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(B||{}),zl=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(zl||{}),gT=(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))(gT||{}),Ro=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)});Wl();zn=typeof window=="undefined",ei={isiOS:!zn&&(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:!zn&&navigator.userAgent.includes("Android"),isMac:!zn&&navigator.userAgent.includes("Mac"),isFacebook:!zn&&navigator.userAgent.includes("FB_IAB"),isPC:!zn&&!navigator.userAgent.includes("iPhone")&&!navigator.userAgent.includes("Android")},yT="device_id",_T="advertising_id",ih=e=>(window.__joliboxLocalStorage__.getItem(e)||window.__joliboxLocalStorage__.setItem(e,Ro()),window.__joliboxLocalStorage__.getItem(e)),oh=()=>new URLSearchParams(window.location.search).get("deviceId")||ih(yT),ah=()=>new URLSearchParams(window.location.search).get("advertisingId")||ih(_T),Fl=class Ml{constructor(t){this.element=t,this.next=Ml.Undefined,this.prev=Ml.Undefined}};Fl.Undefined=new Fl(void 0);le=Fl,bT=class{constructor(){this._first=le.Undefined,this._last=le.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===le.Undefined}clear(){let e=this._first;for(;e!==le.Undefined;){let t=e.next;e.prev=le.Undefined,e.next=le.Undefined,e=t}this._first=le.Undefined,this._last=le.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new le(e);if(this._first===le.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!==le.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==le.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==le.Undefined&&e.next!==le.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===le.Undefined&&e.next===le.Undefined?(this._first=le.Undefined,this._last=le.Undefined):e.next===le.Undefined?(this._last=this._last.prev,this._last.next=le.Undefined):e.prev===le.Undefined&&(this._first=this._first.next,this._first.prev=le.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==le.Undefined;)yield e.element,e=e.next}},wT=0,Wn=class{constructor(e){this.value=e,this.id=wT++}},Kn=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 Wn&&(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 Wn(t);return this._listeners?this._listeners instanceof Wn?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 Wn)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 Wn?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},Ot=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 Kn,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 bT,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)}},Ul={};cT(Ul,{None:()=>IT,filter:()=>ET,once:()=>sh,toPromise:()=>ST});IT=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});Ll=Symbol.for("Jolibox.hostEmitter"),xT=()=>{let e=new Ot;return globalThis[Ll]||(globalThis[Ll]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[Ll]},ne=xT();Po=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Kn,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 kT(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}};Po=Hf([Wf],Po);jl=class{constructor(){this._onWillExecuteCommand=new Kn,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new Kn,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Po,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=dT(3e4)),this._starActivation}executeCommand(e,...t){return uT(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,t):(yield Promise.all([Promise.race([this._activateStar(),Ul.toPromise(Ul.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}}};jl=Hf([Wf],jl);lh=Symbol.for("Jolibox.commands")});function ke(e,t={}){Kl.emit("ERROR_REPORT",{error:e,options:t})}var Kl,Cr,mt=k(()=>{"use strict";D();D();Kl=new Ot,Cr=new Ot;ke.debounce=Yn(ke,50,{leading:!0})});var Ql,PT,ch,uh,dh=k(()=>{"use strict";D();mt();Ql=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{}}},PT=e=>{let t=JSON.stringify(e);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},ch=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:Ql(o),payloadJson:Ql(a),signature:Ql(s)}}else throw"joli_source is missing"}catch(r){return ke(new Zf(`${e} not a valid schema: ${r}`)),{headerJson:{},payloadJson:{},signature:{}}}},uh=(e,t)=>{let r=t.split(".");if(r&&r.length===3){let n=r[0],i=PT(e),o=r[2];return`${n}.${i}.${o}`}return t}});var OT,Yl,ph=k(()=>{"use strict";D();OT="1.1.51",Yl=()=>OT});function Zl(e,t){return(document==null?void 0:document.head.querySelector(`meta[name="${e}"][content="${t}"]`))!==null}var RT,fh,Xl,hh,he,NT,E,Q=k(()=>{"use strict";D();dh();ph();D();RT={deviceInfo:{brand:"UnknownBrand",model:"UnknownModel",did:oh(),adId:ah(),pixelRatio:window.devicePixelRatio||1,platform:ei.isAndroid?"android":ei.isiOS?"ios":"h5",system:"UnknownSystemVersion",lang:"zh"},sdkInfo:{nativeSDKVersion:"",jssdkVersion:Yl()},schema:window.location.href,platform:ei.isAndroid?"android":ei.isiOS?"ios":"h5"},Xl=(fh=globalThis.joliboxJSCore)==null?void 0:fh.env,he=Object.assign({},(hh=Xl==null?void 0:Xl())!=null?hh:RT);NT=()=>{var f,m,g,_,v,b,I,A,C,O,x;let{payloadJson:e,headerJson:t,signature:r}=he.schema.length?ch(he.schema):{},n=`${he.deviceInfo.did}-${new Date().getTime()}`,o=new URL(he.schema.length?he.schema:window.location.href).searchParams,a=(g=(m=(f=o.get("mpId"))!=null?f:o.get("appId"))!=null?m:o.get("gameId"))!=null?g:"",s=(b=(v=(_=he.clientSessionId)!=null?_:e==null?void 0:e.sessionId)!=null?v:o.get("sessionId"))!=null?b:n,l=!!((A=(I=e==null?void 0:e.testAdsMode)!=null?I:e==null?void 0:e.__testAdsMode)!=null?A:o.get("testAdsMode")==="true"),c=(x=(O=(C=e==null?void 0:e.joliboxEnv)!=null?C:e==null?void 0:e.__joliboxEnv)!=null?O:o.get("joliboxEnv"))!=null?x:"production",d=c==="staging",u=t==null?void 0:t.channel,p=e==null?void 0:e.__shouldInterupt;return{get startTime(){var P;return(P=performance.timeOrigin)!=null?P:performance.timing.navigationStart},get testMode(){return d},get testAdsMode(){return l},get joliboxEnv(){return c},get joliSource(){var P;return(P=o.get("joliSource"))!=null?P:null},get mpId(){var P;return(P=a!=null?a:e==null?void 0:e.id)!=null?P:""},get mpVersion(){var P;return(P=t==null?void 0:t.ver)!=null?P:Yl()},get mpType(){var P,J;return(J=(P=t==null?void 0:t.__mpType)!=null?P:e==null?void 0:e.__mpType)!=null?J:"game"},get platform(){var P;return((P=he.platform)!=null?P:he.deviceInfo.platform).toLowerCase()},get deviceInfo(){return he.deviceInfo},get sdkInfo(){return he.sdkInfo},get hostInfo(){return he.hostInfo},get hostUserInfo(){return he.hostUserInfo},get sessionId(){var P,J;return(J=(P=he.clientSessionId)!=null?P:s)!=null?J:n},get channel(){return u},get webviewId(){var P;return(P=he.webviewId)!=null?P:-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 P;return(P=he.deviceInfo.adId)!=null?P:he.deviceInfo.did},get language(){return he.deviceInfo.lang},get sdkEnvironment(){return Zl("dlightek","jolibox")?"dlightek":o.get("huaweiQuick")==="true"?"huaweiQuick":Zl("gamedistribution","jolibox")?"gamedistribution":Zl("funmax","jolibox")?"funmax":"jolibox"},get viewport(){var q,Re,Ne;let P=(q=he.deviceInfo.pixelRatio)!=null?q:1,J=(Re=he.deviceInfo.statusBarHeight)!=null?Re:e==null?void 0:e.__androidStatusBarHeight,We=(Ne=he.deviceInfo.navigationBarHeight)!=null?Ne:e==null?void 0:e.__androidNavigationBarHeight;return{statusBarHeight:J!==void 0?J/P:20,navigationBarHeight:We!==void 0?We/P:10}},onEnvConfigChanged:P=>{Kf(he,P,Qf)},encodeJoliSourceQuery:P=>{var J,We;return t&&r?uh(T(T({},e),P),(J=o.get("joliSource"))!=null?J:""):(We=o.get("joliSource"))!=null?We:""},setDoExitDirectly:()=>{p=!1}}},E=NT()});var ec,vh,DT,LT,mh,qT,gh=k(()=>{"use strict";D();mt();Q();D();ec=!1,vh=(e,t)=>e==null?!1:t in e,DT=e=>vh(e,"kind"),LT=e=>{let t=e.toLowerCase().split("_");return t[0]+t.slice(1).map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join("")},mh=(e,t={},r)=>{var o,a,s;let n={user_id:(a=(o=E.hostUserInfo)==null?void 0:o.uid)!=null?a:"",device_id:(s=E.deviceInfo.did)!=null?s:"",timestamp:Date.now(),tag:LT(e.name)},i=j(T({},n),{env:t.environment,isFromUser:r});r?Cr.emit("GLOBAL_USER_ERROR",e,i):Cr.emit("GLOBAL_ERROR",e,i)},qT=e=>vh(e,"kind")&&e.kind==="USER_ERROR";Kl.on("ERROR_REPORT",({error:e,options:t})=>{if(ec)return;ec=!0;let r=DT(e)&&e.raw?e.raw:e;try{let n=qT(e);mh(e,t,n)}catch(n){let i=n instanceof Error?n.message:String(n),o=new Vl(`${i}, origin error: ${r.message}`);Pt.error(o),mh(new Vl(o.message),{environment:t.environment},!1)}finally{ec=!1}})});var cr,tc,Kr=k(()=>{"use strict";mt();D();mt();cr=(e,t)=>{var r,n;return new Zn((n=(r=t==null?void 0:t.errMsg)!=null?r:e.msg)!=null?n:"",e.code,e.type)},tc=e=>new Yf(e)});var yh=k(()=>{"use strict";gh();Kr();D();_e();Cr.on("GLOBAL_ERROR",(e,t)=>{var n;let r={message:e.message,stack:(n=e.stack)!=null?n:"",errorType:e.name,source:0};U("trackAsync",{event:"reportJsError",data:r})});Cr.on("GLOBAL_USER_ERROR",(e,t)=>{Pt.log("UserError",e,t)})});var rc=k(()=>{"use strict"});function _h(e,t){let r=(n,i,o)=>{let c=i!=null?i:{},{eventType:a}=c,s=je(c,["eventType"]),l=j(T({tag:n,eventType:o!=null?o:a!=null?a:B.Other},t),{extra:T({},s)});n=="globalJsError"?ke(new rh(JSON.stringify(l))):e("systemLog",l,E.webviewId)};return r.debounce=Yn(r,500,{leading:!0}),r}function bh(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=Yn(t,500,{leading:!0}),t}var wh=k(()=>{"use strict";D();D();mt();Q()});function Ih(e,t){let r=_h(e,t),n=bh(r);return{track:r,trackPerformance:n}}var Sh=k(()=>{"use strict";wh()});var Eh=k(()=>{"use strict";Q();D();D()});var xh=k(()=>{"use strict";Sh();rc();Eh()});var No,kh=k(()=>{"use strict";No=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 Do(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 Ze("onRequestTaskStateChange",u=>{if(typeof u.requestTaskId!="string")return;let p=n.get(u.requestTaskId);if(p)if(u.state==="success"){let f=u,{requestTaskId:g,state:_}=f,v=je(f,["requestTaskId","state"]);u.statusCode===200?p.resolve(v):p.reject(v),n.delete(g)}else if(u.state==="fail"){let m=u,{requestTaskId:g,state:_}=m,v=je(m,["requestTaskId","state"]);p.reject(v),n.delete(g)}else Pt.warn("onRequestTaskStateChange unknown event",u)}),ne.on("onLoginComplete",({isLogin:u,token:p})=>{o!=="public"&&u&&p&&(a["X-JOLI-TOKEN"]=p)}),(f,...m)=>w(this,[f,...m],function*(u,p={}){let g=Date.now(),_=FT(u,j(T({},p),{baseUrl:i})),{method:v="GET",responseType:b="text",dataType:I="json",timeout:A,enableCache:C=!1,appendHostCookie:O=!0}=p,x=Object.assign({"content-type":"application/json"},a,p.header),P={url:_,method:v,header:x,enableCache:C,responseType:b,appendHostCookie:O};if(v=="POST"||v=="PUT"){let Ne=UT(p.data,x["content-type"]);P.data=Ne}A&&Object.assign(P,{timeout:A});let{data:{requestTaskId:J}}=U(e,P);if(typeof J!="string")throw cr({code:-1,msg:"requestTaskId is not a string"});let{resolve:We,reject:q,promise:Re}=new Ct;n.set(J,{resolve:We,reject:q});try{let Ne=yield Re,{data:Ar}=Ne;return I==="json"&&typeof Ar=="string"&&(Ar=MT(Ar)),{url:_,timeout:A,method:v,response:j(T({},Ne),{data:Ar})}}catch(Ne){let Ar=Ne;if(Tr(Ar)){let{errMsg:ml,prefetchDetail:t9,isPrefetch:r9,errNo:YA}=Ar;Qn(ml)&&ke(cr({code:-1,msg:ml},{errNo:YA,errMsg:ml}))}throw Ne}})}function MT(e){try{return JSON.parse(e.trim())}catch(t){return e}}function UT(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 FT,nc=k(()=>{"use strict";D();_e();mt();Kr();FT=(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 ic,Ah,te,vt=k(()=>{"use strict";nc();Q();ic={};(Ah=E.hostUserInfo)!=null&&Ah.token&&(ic["x-joli-token"]=E.hostUserInfo.token);E.joliSource&&(ic["x-joli-source"]=E.joliSource);te=Do("createRequestTaskSync","operateRequestTaskSync",{type:"inner",baseUrl:E.testMode?"https://stg-api.jolibox.com":"https://api.jolibox.com",defaultHeaders:ic})});var Lo,Th=k(()=>{"use strict";Q();kh();vt();_e();Lo=class extends No{constructor(t,r,n){super(r,n),this.gameId=E.mpId,this.sessionId=E.sessionId,this.track=t,this.taskUrl=E.testMode?"https://stg-api.jolibox.com/api/base/app-event":"https://api.jolibox.com/api/base/app-event"}reporter(t){return w(this,null,function*(){let{event:r,params:n,extraParams:i}=t,o={eventType:r,gameInfo:T({gameId:this.gameId,sessionId:this.sessionId},n)};i&&Object.assign(o,i),yield E.platform==="android"?te("/api/base/app-event",{method:"POST",data:o}):ye("trackAppEventAsync",{url:this.taskUrl,body:JSON.stringify(o)})})}reportToNative(t){return w(this,null,function*(){let{event:r,params:n}=t;yield ye("userTrackAsync",{event:r,params:T({},n),gameId:this.gameId})})}tracker(t,r=null){this.track(t,r)}}});var Nh={};mf(Nh,{nativeTaskEmitter:()=>ti,taskTracker:()=>It,track:()=>M,trackPerformance:()=>Oh});var jT,Ch,Ph,M,Oh,Rh,ti,It,gt=k(()=>{"use strict";yh();D();rc();xh();Q();Th();_e();jT=(e,t,r)=>{var s,l,c,d,u,p;let n=t,i=Tr(n.extra)?n.extra:Qn(n.extra)?JSON.parse(n.extra):{},o=j(T({},i),{mp_id:(s=n.mp_id)!=null?s:"",mp_version:(l=n.mp_version)!=null?l:"",session_id:E.sessionId,user_id:(d=(c=E.hostUserInfo)==null?void 0:c.uid)!=null?d:""}),a=(u=n.eventType)!=null?u:B.Other;U("trackAsync",{event:(p=t.tag)!=null?p:e,data:o,webviewId:r,eventType:a})},{track:M,trackPerformance:Oh}=Ih(jT,{type:zl.AppSDK,platform:"native",jssdk_version:(Ph=(Ch=E.sdkInfo)==null?void 0:Ch.jssdkVersion)!=null?Ph:"1.0.0",mp_id:E.mpId,mp_version:E.mpVersion}),Rh=X();Rh.registerCommand("ReportSDK.traceSystemTimeline",({event:e,duration:t,extra:r})=>{Oh(e,t,r)});Rh.registerCommand("ReportSDK.traceSystem",({event:e,info:t})=>{M(e,t)});ti=new Ot,It=new Lo(M,ti)});function Dh(){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,10 +16,10 @@ var XA=Object.create;var So=Object.defineProperty,ZA=Object.defineProperties,e1=
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 w(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 Lh=k(()=>{"use strict";Q()});var qh=k(()=>{"use strict"});var Fh=k(()=>{"use strict";D();Wl()});var Mh=k(()=>{"use strict";Q()});var qo,oc=k(()=>{"use strict";qh();Fh();Q();Mh();D();qo=new Pt});function Vt(e,t){for(var r in t)e[r]=t[r];return e}function dc(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Be(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?Uo.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 Mo(e,a,n,i,null)}function Mo(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?++Jh:i,__i:-1,__u:0};return i==null&&R.vnode!=null&&R.vnode(o),o}function De(e){return e.children}function lt(e,t){this.props=e,this.context=t}function Qr(e,t){if(t==null)return e.__?Qr(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"?Qr(e):null}function Wh(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 Wh(e)}}function lc(e){(!e.__d&&(e.__d=!0)&&Pr.push(e)&&!jo.__r++||jh!==R.debounceRendering)&&((jh=R.debounceRendering)||Hh)(jo)}function jo(){for(var e,t,r,n,i,o,a,s=1;Pr.length;)Pr.length>s&&Pr.sort($h),e=Pr.shift(),s=Pr.length,e.__d&&(r=void 0,i=(n=(t=e).__v).__e,o=[],a=[],t.__P&&((r=Vt({},n)).__v=n.__v+1,R.vnode&&R.vnode(r),pc(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,i==null?Qr(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,Yh(o,r,a),r.__e!=i&&Wh(r)));jo.__r=0}function Kh(e,t,r,n,i,o,a,s,l,c,d){var u,p,f,m,g,_,v=n&&n.__k||zh,b=t.length;for(l=JT(r,t,v,l,b),u=0;u<b;u++)(f=r.__k[u])!=null&&(p=f.__i===-1?ri:v[f.__i]||ri,f.__i=u,_=pc(e,f,p,i,o,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&fc(p.ref,null,f),d.push(f.ref,f.__c||m,f)),g==null&&m!=null&&(g=m),4&f.__u||p.__k===f.__k?l=Qh(f,l,e):typeof f.type=="function"&&_!==void 0?l=_:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=g,l}function JT(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?Mo(null,a,null,null,null):ni(a)?Mo(De,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?Mo(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=HT(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=Qr(s)),Zh(s,s));return n}function Qh(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=Qh(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Qr(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function ii(e,t){return t=t||[],e==null||typeof e=="boolean"||(ni(e)?e.some(function(r){ii(r,t)}):t.push(e)),t}function HT(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 Uh(e,t,r){t[0]=="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||BT.test(t)?r:r+"px"}function Fo(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||Uh(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Uh(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(Vh,"$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=uc,e.addEventListener(t,o?sc:ac,o)):e.removeEventListener(t,o?sc:ac,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 Bh(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=uc++;else if(t.u<r.t)return;return r(R.event?R.event(t):t)}}}function pc(e,t,r,n,i,o,a,s,l,c){var d,u,p,f,m,g,_,v,b,I,A,C,O,E,P,J,We,q=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=R.__b)&&d(t);e:if(typeof q=="function")try{if(v=t.props,b="prototype"in q&&q.prototype.render,I=(d=q.contextType)&&n[d.__c],A=d?I?I.props.value:d.__:n,r.__c?_=(u=t.__c=r.__c).__=u.__E:(b?t.__c=u=new q(v,A):(t.__c=u=new lt(v,A),u.constructor=q,u.render=VT),I&&I.sub(u),u.props=v,u.state||(u.state={}),u.context=A,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),b&&u.__s==null&&(u.__s=u.state),b&&q.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Vt({},u.__s)),Vt(u.__s,q.getDerivedStateFromProps(v,u.__s))),f=u.props,m=u.state,u.__v=t,p)b&&q.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),b&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(b&&q.getDerivedStateFromProps==null&&v!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(v,A),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(v,u.__s,A)===!1||t.__v==r.__v)){for(t.__v!=r.__v&&(u.props=v,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(Re){Re&&(Re.__=t)}),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(v,u.__s,A),b&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,m,g)})}if(u.context=A,u.props=v,u.__P=e,u.__e=!1,O=R.__r,E=0,b){for(u.state=u.__s,u.__d=!1,O&&O(t),d=u.render(u.props,u.state,u.context),P=0;P<u._sb.length;P++)u.__h.push(u._sb[P]);u._sb=[]}else do u.__d=!1,O&&O(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=Vt(Vt({},n),u.getChildContext())),b&&!p&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(f,m)),J=d,d!=null&&d.type===De&&d.key==null&&(J=Xh(d.props.children)),s=Kh(e,ni(J)?J:[J],t,r,n,i,o,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),_&&(u.__E=u.__=null)}catch(Re){if(t.__v=null,l||o!=null)if(Re.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(We=o.length;We--;)dc(o[We]);else t.__e=r.__e,t.__k=r.__k;R.__e(Re,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=$T(r.__e,t,r,n,i,o,a,l,c);return(d=R.diffed)&&d(t),128&t.__u?void 0:s}function Yh(e,t,r){for(var n=0;n<r.length;n++)fc(r[n],r[++n],r[++n]);R.__c&&R.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){R.__e(o,i.__v)}})}function Xh(e){return typeof e!="object"||e==null?e:ni(e)?e.map(Xh):Vt({},e)}function $T(e,t,r,n,i,o,a,s,l){var c,d,u,p,f,m,g,_=r.props,v=t.props,b=t.type;if(b=="svg"?i="http://www.w3.org/2000/svg":b=="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==!!b&&(b?f.localName==b:f.nodeType==3)){e=f,o[c]=null;break}}if(e==null){if(b==null)return document.createTextNode(v);e=document.createElementNS(i,b,v.is&&v),s&&(R.__m&&R.__m(t,o),s=!1),o=null}if(b===null)_===v||s&&e.data===v||(e.data=v);else{if(o=o&&Uo.call(e.childNodes),_=r.props||ri,!s&&o!=null)for(_={},c=0;c<e.attributes.length;c++)_[(f=e.attributes[c]).name]=f.value;for(c in _)if(f=_[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in v)){if(c=="value"&&"defaultValue"in v||c=="checked"&&"defaultChecked"in v)continue;Fo(e,c,null,f,i)}}for(c in v)f=v[c],c=="children"?p=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?m=f:c=="checked"?g=f:s&&typeof f!="function"||_[c]===f||Fo(e,c,f,_[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=""),Kh(t.type==="template"?e.content:e,ni(p)?p:[p],t,r,n,b=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:r.__k&&Qr(r,0),s,l),o!=null)for(c=o.length;c--;)dc(o[c]);s||(c="value",b=="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[c]||b=="progress"&&!m||b=="option"&&m!==_[c])&&Fo(e,c,m,_[c],i),c="checked",g!==void 0&&g!==e[c]&&Fo(e,c,g,_[c],i))}return e}function fc(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){R.__e(i,r)}}function Zh(e,t,r){var n,i;if(R.unmount&&R.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||fc(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){R.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Zh(n[i],t,r||typeof e.type!="function");r||dc(e.__e),e.__c=e.__=e.__e=void 0}function VT(e,t,r){return this.constructor(e,r)}function ur(e,t,r){var n,i,o,a;t==document&&(t=document.documentElement),R.__&&R.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],pc(t,e=(!n&&r||t).__k=Be(De,null,[e]),i||ri,ri,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?Uo.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Yh(o,e,a)}function Or(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,lc(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"+Gh++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}var Uo,R,Jh,cc,Pr,jh,Hh,$h,Vh,uc,ac,sc,Gh,ri,zh,BT,ni,Yr=k(()=>{ri={},zh=[],BT=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ni=Array.isArray;Uo=zh.slice,R={__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}},Jh=0,cc=function(e){return e!=null&&e.constructor==null},lt.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Vt({},this.state),typeof e=="function"&&(e=e(Vt({},r),this.props)),e&&Vt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),lc(this))},lt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),lc(this))},lt.prototype.render=De,Pr=[],Hh=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$h=function(e,t){return e.__v.__b-t.__v.__b},jo.__r=0,Vh=/(PointerCapture)$|Capture$/i,uc=0,ac=Bh(!1),sc=Bh(!0),Gh=0});var de=h((MV,em)=>{"use strict";em.exports=function(e){try{return!!e()}catch(t){return!0}}});var Xr=h((jV,tm)=>{"use strict";var GT=de();tm.exports=!GT(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var be=h((UV,im)=>{"use strict";var rm=Xr(),nm=Function.prototype,hc=nm.call,zT=rm&&nm.bind.bind(hc,hc);im.exports=rm?zT:function(e){return function(){return hc.apply(e,arguments)}}});var Ke=h((BV,om)=>{"use strict";var WT=be();om.exports=WT({}.isPrototypeOf)});var pe=h((mc,am)=>{"use strict";var oi=function(e){return e&&e.Math===Math&&e};am.exports=oi(typeof globalThis=="object"&&globalThis)||oi(typeof window=="object"&&window)||oi(typeof self=="object"&&self)||oi(typeof global=="object"&&global)||oi(typeof mc=="object"&&mc)||function(){return this}()||Function("return this")()});var vc=h((JV,um)=>{"use strict";var KT=Xr(),cm=Function.prototype,sm=cm.apply,lm=cm.call;um.exports=typeof Reflect=="object"&&Reflect.apply||(KT?lm.bind(sm):function(){return lm.apply(sm,arguments)})});var Gt=h((HV,pm)=>{"use strict";var dm=be(),QT=dm({}.toString),YT=dm("".slice);pm.exports=function(e){return YT(QT(e),8,-1)}});var ai=h(($V,fm)=>{"use strict";var XT=Gt(),ZT=be();fm.exports=function(e){if(XT(e)==="Function")return ZT(e)}});var Le=h((VV,hm)=>{"use strict";var gc=typeof document=="object"&&document.all;hm.exports=typeof gc=="undefined"&&gc!==void 0?function(e){return typeof e=="function"||e===gc}:function(e){return typeof e=="function"}});var Qe=h((GV,mm)=>{"use strict";var eC=de();mm.exports=!eC(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var It=h((zV,vm)=>{"use strict";var tC=Xr(),Bo=Function.prototype.call;vm.exports=tC?Bo.bind(Bo):function(){return Bo.apply(Bo,arguments)}});var yc=h(_m=>{"use strict";var gm={}.propertyIsEnumerable,ym=Object.getOwnPropertyDescriptor,rC=ym&&!gm.call({1:2},1);_m.f=rC?function(t){var r=ym(this,t);return!!r&&r.enumerable}:gm});var si=h((KV,bm)=>{"use strict";bm.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var Jo=h((QV,wm)=>{"use strict";var nC=be(),iC=de(),oC=Gt(),_c=Object,aC=nC("".split);wm.exports=iC(function(){return!_c("z").propertyIsEnumerable(0)})?function(e){return oC(e)==="String"?aC(e,""):_c(e)}:_c});var Rr=h((YV,Im)=>{"use strict";Im.exports=function(e){return e==null}});var Nr=h((XV,Sm)=>{"use strict";var sC=Rr(),lC=TypeError;Sm.exports=function(e){if(sC(e))throw new lC("Can't call method on "+e);return e}});var dr=h((ZV,xm)=>{"use strict";var cC=Jo(),uC=Nr();xm.exports=function(e){return cC(uC(e))}});var Ae=h((eG,Em)=>{"use strict";var dC=Le();Em.exports=function(e){return typeof e=="object"?e!==null:dC(e)}});var Ot=h((tG,km)=>{"use strict";km.exports={}});var Zr=h((rG,Tm)=>{"use strict";var bc=Ot(),wc=pe(),pC=Le(),Am=function(e){return pC(e)?e:void 0};Tm.exports=function(e,t){return arguments.length<2?Am(bc[e])||Am(wc[e]):bc[e]&&bc[e][t]||wc[e]&&wc[e][t]}});var Ho=h((nG,Om)=>{"use strict";var fC=pe(),Cm=fC.navigator,Pm=Cm&&Cm.userAgent;Om.exports=Pm?String(Pm):""});var Vo=h((iG,Fm)=>{"use strict";var qm=pe(),Ic=Ho(),Rm=qm.process,Nm=qm.Deno,Dm=Rm&&Rm.versions||Nm&&Nm.version,Lm=Dm&&Dm.v8,St,$o;Lm&&(St=Lm.split("."),$o=St[0]>0&&St[0]<4?1:+(St[0]+St[1]));!$o&&Ic&&(St=Ic.match(/Edge\/(\d+)/),(!St||St[1]>=74)&&(St=Ic.match(/Chrome\/(\d+)/),St&&($o=+St[1])));Fm.exports=$o});var Sc=h((oG,jm)=>{"use strict";var Mm=Vo(),hC=de(),mC=pe(),vC=mC.String;jm.exports=!!Object.getOwnPropertySymbols&&!hC(function(){var e=Symbol("symbol detection");return!vC(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Mm&&Mm<41})});var xc=h((aG,Um)=>{"use strict";var gC=Sc();Um.exports=gC&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Ec=h((sG,Bm)=>{"use strict";var yC=Zr(),_C=Le(),bC=Ke(),wC=xc(),IC=Object;Bm.exports=wC?function(e){return typeof e=="symbol"}:function(e){var t=yC("Symbol");return _C(t)&&bC(t.prototype,IC(e))}});var li=h((lG,Jm)=>{"use strict";var SC=String;Jm.exports=function(e){try{return SC(e)}catch(t){return"Object"}}});var Dr=h((cG,Hm)=>{"use strict";var xC=Le(),EC=li(),kC=TypeError;Hm.exports=function(e){if(xC(e))return e;throw new kC(EC(e)+" is not a function")}});var Go=h((uG,$m)=>{"use strict";var AC=Dr(),TC=Rr();$m.exports=function(e,t){var r=e[t];return TC(r)?void 0:AC(r)}});var Gm=h((dG,Vm)=>{"use strict";var kc=It(),Ac=Le(),Tc=Ae(),CC=TypeError;Vm.exports=function(e,t){var r,n;if(t==="string"&&Ac(r=e.toString)&&!Tc(n=kc(r,e))||Ac(r=e.valueOf)&&!Tc(n=kc(r,e))||t!=="string"&&Ac(r=e.toString)&&!Tc(n=kc(r,e)))return n;throw new CC("Can't convert object to primitive value")}});var en=h((pG,zm)=>{"use strict";zm.exports=!0});var Qm=h((fG,Km)=>{"use strict";var Wm=pe(),PC=Object.defineProperty;Km.exports=function(e,t){try{PC(Wm,e,{value:t,configurable:!0,writable:!0})}catch(r){Wm[e]=t}return t}});var ci=h((hG,Zm)=>{"use strict";var OC=en(),RC=pe(),NC=Qm(),Ym="__core-js_shared__",Xm=Zm.exports=RC[Ym]||NC(Ym,{});(Xm.versions||(Xm.versions=[])).push({version:"3.41.0",mode:OC?"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 Cc=h((mG,tv)=>{"use strict";var ev=ci();tv.exports=function(e,t){return ev[e]||(ev[e]=t||{})}});var tn=h((vG,rv)=>{"use strict";var DC=Nr(),LC=Object;rv.exports=function(e){return LC(DC(e))}});var ct=h((gG,nv)=>{"use strict";var qC=be(),FC=tn(),MC=qC({}.hasOwnProperty);nv.exports=Object.hasOwn||function(t,r){return MC(FC(t),r)}});var zo=h((yG,iv)=>{"use strict";var jC=be(),UC=0,BC=Math.random(),JC=jC(1 .toString);iv.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+JC(++UC+BC,36)}});var Je=h((_G,av)=>{"use strict";var HC=pe(),$C=Cc(),ov=ct(),VC=zo(),GC=Sc(),zC=xc(),rn=HC.Symbol,Pc=$C("wks"),WC=zC?rn.for||rn:rn&&rn.withoutSetter||VC;av.exports=function(e){return ov(Pc,e)||(Pc[e]=GC&&ov(rn,e)?rn[e]:WC("Symbol."+e)),Pc[e]}});var uv=h((bG,cv)=>{"use strict";var KC=It(),sv=Ae(),lv=Ec(),QC=Go(),YC=Gm(),XC=Je(),ZC=TypeError,eP=XC("toPrimitive");cv.exports=function(e,t){if(!sv(e)||lv(e))return e;var r=QC(e,eP),n;if(r){if(t===void 0&&(t="default"),n=KC(r,e,t),!sv(n)||lv(n))return n;throw new ZC("Can't convert object to primitive value")}return t===void 0&&(t="number"),YC(e,t)}});var Oc=h((wG,dv)=>{"use strict";var tP=uv(),rP=Ec();dv.exports=function(e){var t=tP(e,"string");return rP(t)?t:t+""}});var Nc=h((IG,fv)=>{"use strict";var nP=pe(),pv=Ae(),Rc=nP.document,iP=pv(Rc)&&pv(Rc.createElement);fv.exports=function(e){return iP?Rc.createElement(e):{}}});var Dc=h((SG,hv)=>{"use strict";var oP=Qe(),aP=de(),sP=Nc();hv.exports=!oP&&!aP(function(){return Object.defineProperty(sP("div"),"a",{get:function(){return 7}}).a!==7})});var Lc=h(vv=>{"use strict";var lP=Qe(),cP=It(),uP=yc(),dP=si(),pP=dr(),fP=Oc(),hP=ct(),mP=Dc(),mv=Object.getOwnPropertyDescriptor;vv.f=lP?mv:function(t,r){if(t=pP(t),r=fP(r),mP)try{return mv(t,r)}catch(n){}if(hP(t,r))return dP(!cP(uP.f,t,r),t[r])}});var yv=h((EG,gv)=>{"use strict";var vP=de(),gP=Le(),yP=/#|\.prototype\./,ui=function(e,t){var r=bP[_P(e)];return r===IP?!0:r===wP?!1:gP(t)?vP(t):!!t},_P=ui.normalize=function(e){return String(e).replace(yP,".").toLowerCase()},bP=ui.data={},wP=ui.NATIVE="N",IP=ui.POLYFILL="P";gv.exports=ui});var di=h((kG,bv)=>{"use strict";var _v=ai(),SP=Dr(),xP=Xr(),EP=_v(_v.bind);bv.exports=function(e,t){return SP(e),t===void 0?e:xP?EP(e,t):function(){return e.apply(t,arguments)}}});var qc=h((AG,wv)=>{"use strict";var kP=Qe(),AP=de();wv.exports=kP&&AP(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var zt=h((TG,Iv)=>{"use strict";var TP=Ae(),CP=String,PP=TypeError;Iv.exports=function(e){if(TP(e))return e;throw new PP(CP(e)+" is not an object")}});var Wt=h(xv=>{"use strict";var OP=Qe(),RP=Dc(),NP=qc(),Wo=zt(),Sv=Oc(),DP=TypeError,Fc=Object.defineProperty,LP=Object.getOwnPropertyDescriptor,Mc="enumerable",jc="configurable",Uc="writable";xv.f=OP?NP?function(t,r,n){if(Wo(t),r=Sv(r),Wo(n),typeof t=="function"&&r==="prototype"&&"value"in n&&Uc in n&&!n[Uc]){var i=LP(t,r);i&&i[Uc]&&(t[r]=n.value,n={configurable:jc in n?n[jc]:i[jc],enumerable:Mc in n?n[Mc]:i[Mc],writable:!1})}return Fc(t,r,n)}:Fc:function(t,r,n){if(Wo(t),r=Sv(r),Wo(n),RP)try{return Fc(t,r,n)}catch(i){}if("get"in n||"set"in n)throw new DP("Accessors not supported");return"value"in n&&(t[r]=n.value),t}});var Lr=h((PG,Ev)=>{"use strict";var qP=Qe(),FP=Wt(),MP=si();Ev.exports=qP?function(e,t,r){return FP.f(e,t,MP(1,r))}:function(e,t,r){return e[t]=r,e}});var Z=h((OG,Av)=>{"use strict";var pi=pe(),jP=vc(),UP=ai(),BP=Le(),JP=Lc().f,HP=yv(),nn=Ot(),$P=di(),on=Lr(),kv=ct();ci();var VP=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 jP(e,this,arguments)};return t.prototype=e.prototype,t};Av.exports=function(e,t){var r=e.target,n=e.global,i=e.stat,o=e.proto,a=n?pi:i?pi[r]:pi[r]&&pi[r].prototype,s=n?nn:nn[r]||on(nn,r,{})[r],l=s.prototype,c,d,u,p,f,m,g,_,v;for(p in t)c=HP(n?p:r+(i?".":"#")+p,e.forced),d=!c&&a&&kv(a,p),m=s[p],d&&(e.dontCallGetSet?(v=JP(a,p),g=v&&v.value):g=a[p]),f=d&&g?g:t[p],!(!c&&!o&&typeof m==typeof f)&&(e.bind&&d?_=$P(f,pi):e.wrap&&d?_=VP(f):o&&BP(f)?_=UP(f):_=f,(e.sham||f&&f.sham||m&&m.sham)&&on(_,"sham",!0),on(s,p,_),o&&(u=r+"Prototype",kv(nn,u)||on(nn,u,{}),on(nn[u],p,f),e.real&&l&&(c||!l[p])&&on(l,p,f)))}});var Cv=h((RG,Tv)=>{"use strict";var GP=Math.ceil,zP=Math.floor;Tv.exports=Math.trunc||function(t){var r=+t;return(r>0?zP:GP)(r)}});var fi=h((NG,Pv)=>{"use strict";var WP=Cv();Pv.exports=function(e){var t=+e;return t!==t||t===0?0:WP(t)}});var Bc=h((DG,Ov)=>{"use strict";var KP=fi(),QP=Math.min;Ov.exports=function(e){var t=KP(e);return t>0?QP(t,9007199254740991):0}});var an=h((LG,Rv)=>{"use strict";var YP=Bc();Rv.exports=function(e){return YP(e.length)}});var hi=h((qG,Nv)=>{"use strict";var XP=Gt();Nv.exports=Array.isArray||function(t){return XP(t)==="Array"}});var Ko=h((FG,Lv)=>{"use strict";var ZP=Je(),eO=ZP("toStringTag"),Dv={};Dv[eO]="z";Lv.exports=String(Dv)==="[object z]"});var sn=h((MG,qv)=>{"use strict";var tO=Ko(),rO=Le(),Qo=Gt(),nO=Je(),iO=nO("toStringTag"),oO=Object,aO=Qo(function(){return arguments}())==="Arguments",sO=function(e,t){try{return e[t]}catch(r){}};qv.exports=tO?Qo:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=sO(t=oO(e),iO))=="string"?r:aO?Qo(t):(n=Qo(t))==="Object"&&rO(t.callee)?"Arguments":n}});var Mv=h((jG,Fv)=>{"use strict";var lO=be(),cO=Le(),Jc=ci(),uO=lO(Function.toString);cO(Jc.inspectSource)||(Jc.inspectSource=function(e){return uO(e)});Fv.exports=Jc.inspectSource});var $c=h((UG,Hv)=>{"use strict";var dO=be(),pO=de(),jv=Le(),fO=sn(),hO=Zr(),mO=Mv(),Uv=function(){},Bv=hO("Reflect","construct"),Hc=/^\s*(?:class|function)\b/,vO=dO(Hc.exec),gO=!Hc.test(Uv),mi=function(t){if(!jv(t))return!1;try{return Bv(Uv,[],t),!0}catch(r){return!1}},Jv=function(t){if(!jv(t))return!1;switch(fO(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gO||!!vO(Hc,mO(t))}catch(r){return!0}};Jv.sham=!0;Hv.exports=!Bv||pO(function(){var e;return mi(mi.call)||!mi(Object)||!mi(function(){e=!0})||e})?Jv:mi});var zv=h((BG,Gv)=>{"use strict";var $v=hi(),yO=$c(),_O=Ae(),bO=Je(),wO=bO("species"),Vv=Array;Gv.exports=function(e){var t;return $v(e)&&(t=e.constructor,yO(t)&&(t===Vv||$v(t.prototype))?t=void 0:_O(t)&&(t=t[wO],t===null&&(t=void 0))),t===void 0?Vv:t}});var Vc=h((JG,Wv)=>{"use strict";var IO=zv();Wv.exports=function(e,t){return new(IO(e))(t===0?0:t)}});var fr=h((HG,Qv)=>{"use strict";var SO=di(),xO=be(),EO=Jo(),kO=tn(),AO=an(),TO=Vc(),Kv=xO([].push),pr=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=kO(l),f=EO(p),m=AO(f),g=SO(c,d),_=0,v=u||TO,b=t?v(l,m):r||a?v(l,0):void 0,I,A;m>_;_++)if((s||_ in f)&&(I=f[_],A=g(I,_,p),e))if(t)b[_]=A;else if(A)switch(e){case 3:return!0;case 5:return I;case 6:return _;case 2:Kv(b,I)}else switch(e){case 4:return!1;case 7:Kv(b,I)}return o?-1:n||i?i:b}};Qv.exports={forEach:pr(0),map:pr(1),filter:pr(2),some:pr(3),every:pr(4),find:pr(5),findIndex:pr(6),filterReject:pr(7)}});var gi=h(($G,Yv)=>{"use strict";var CO=de(),PO=Je(),OO=Vo(),RO=PO("species");Yv.exports=function(e){return OO>=51||!CO(function(){var t=[],r=t.constructor={};return r[RO]=function(){return{foo:1}},t[e](Boolean).foo!==1})}});var Xv=h(()=>{"use strict";var NO=Z(),DO=fr().filter,LO=gi(),qO=LO("filter");NO({target:"Array",proto:!0,forced:!qO},{filter:function(t){return DO(this,t,arguments.length>1?arguments[1]:void 0)}})});var yt=h((zG,Zv)=>{"use strict";var FO=pe(),MO=Ot();Zv.exports=function(e,t){var r=MO[e+"Prototype"],n=r&&r[t];if(n)return n;var i=FO[e],o=i&&i.prototype;return o&&o[t]}});var tg=h((WG,eg)=>{"use strict";Xv();var jO=yt();eg.exports=jO("Array","filter")});var ng=h((KG,rg)=>{"use strict";var UO=Ke(),BO=tg(),Gc=Array.prototype;rg.exports=function(e){var t=e.filter;return e===Gc||UO(Gc,e)&&t===Gc.filter?BO:t}});var og=h((QG,ig)=>{"use strict";var JO=ng();ig.exports=JO});var sg=h((YG,ag)=>{ag.exports=og()});var yi=h((XG,lg)=>{"use strict";var HO=de();lg.exports=function(e,t){var r=[][e];return!!r&&HO(function(){r.call(null,t||function(){return 1},1)})}});var cg=h(()=>{"use strict";var $O=Z(),VO=fr().every,GO=yi(),zO=GO("every");$O({target:"Array",proto:!0,forced:!zO},{every:function(t){return VO(this,t,arguments.length>1?arguments[1]:void 0)}})});var dg=h((tz,ug)=>{"use strict";cg();var WO=yt();ug.exports=WO("Array","every")});var fg=h((rz,pg)=>{"use strict";var KO=Ke(),QO=dg(),zc=Array.prototype;pg.exports=function(e){var t=e.every;return e===zc||KO(zc,e)&&t===zc.every?QO:t}});var mg=h((nz,hg)=>{"use strict";var YO=fg();hg.exports=YO});var gg=h((iz,vg)=>{vg.exports=mg()});var _g=h((oz,yg)=>{"use strict";var XO=fr().forEach,ZO=yi(),eR=ZO("forEach");yg.exports=eR?[].forEach:function(t){return XO(this,t,arguments.length>1?arguments[1]:void 0)}});var wg=h(()=>{"use strict";var tR=Z(),bg=_g();tR({target:"Array",proto:!0,forced:[].forEach!==bg},{forEach:bg})});var Sg=h((lz,Ig)=>{"use strict";wg();var rR=yt();Ig.exports=rR("Array","forEach")});var Eg=h((cz,xg)=>{"use strict";var nR=Sg();xg.exports=nR});var kg=h(()=>{});var Tg=h((pz,Ag)=>{"use strict";var iR=sn(),oR=ct(),aR=Ke(),sR=Eg();kg();var Wc=Array.prototype,lR={DOMTokenList:!0,NodeList:!0};Ag.exports=function(e){var t=e.forEach;return e===Wc||aR(Wc,e)&&t===Wc.forEach||oR(lR,iR(e))?sR:t}});var Pg=h((fz,Cg)=>{Cg.exports=Tg()});var Rg=h((hz,Og)=>{"use strict";var cR=TypeError,uR=9007199254740991;Og.exports=function(e){if(e>uR)throw cR("Maximum allowed index exceeded");return e}});var Kc=h((mz,Ng)=>{"use strict";var dR=Qe(),pR=Wt(),fR=si();Ng.exports=function(e,t,r){dR?pR.f(e,t,fR(0,r)):e[t]=r}});var Fg=h(()=>{"use strict";var hR=Z(),mR=de(),vR=hi(),gR=Ae(),yR=tn(),_R=an(),Dg=Rg(),Lg=Kc(),bR=Vc(),wR=gi(),IR=Je(),SR=Vo(),qg=IR("isConcatSpreadable"),xR=SR>=51||!mR(function(){var e=[];return e[qg]=!1,e.concat()[0]!==e}),ER=function(e){if(!gR(e))return!1;var t=e[qg];return t!==void 0?!!t:vR(e)},kR=!xR||!wR("concat");hR({target:"Array",proto:!0,arity:1,forced:kR},{concat:function(t){var r=yR(this),n=bR(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],ER(c))for(l=_R(c),Dg(i+l),a=0;a<l;a++,i++)a in c&&Lg(n,i,c[a]);else Dg(i+1),Lg(n,i++,c);return n.length=i,n}})});var jg=h((yz,Mg)=>{"use strict";Fg();var AR=yt();Mg.exports=AR("Array","concat")});var Bg=h((_z,Ug)=>{"use strict";var TR=Ke(),CR=jg(),Qc=Array.prototype;Ug.exports=function(e){var t=e.concat;return e===Qc||TR(Qc,e)&&t===Qc.concat?CR:t}});var Hg=h((bz,Jg)=>{"use strict";var PR=Bg();Jg.exports=PR});var Vg=h((wz,$g)=>{$g.exports=Hg()});var Gg=h(()=>{"use strict";var OR=Z(),RR=fr().some,NR=yi(),DR=NR("some");OR({target:"Array",proto:!0,forced:!DR},{some:function(t){return RR(this,t,arguments.length>1?arguments[1]:void 0)}})});var Wg=h((xz,zg)=>{"use strict";Gg();var LR=yt();zg.exports=LR("Array","some")});var Qg=h((Ez,Kg)=>{"use strict";var qR=Ke(),FR=Wg(),Yc=Array.prototype;Kg.exports=function(e){var t=e.some;return e===Yc||qR(Yc,e)&&t===Yc.some?FR:t}});var Xg=h((kz,Yg)=>{"use strict";var MR=Qg();Yg.exports=MR});var ey=h((Az,Zg)=>{Zg.exports=Xg()});var ry=h((Tz,ty)=>{"use strict";var _i=pe(),jR=Ho(),UR=Gt(),Yo=function(e){return jR.slice(0,e.length)===e};ty.exports=function(){return Yo("Bun/")?"BUN":Yo("Cloudflare-Workers")?"CLOUDFLARE":Yo("Deno/")?"DENO":Yo("Node.js/")?"NODE":_i.Bun&&typeof Bun.version=="string"?"BUN":_i.Deno&&typeof Deno.version=="object"?"DENO":UR(_i.process)==="process"?"NODE":_i.window&&_i.document?"BROWSER":"REST"}()});var bi=h((Cz,ny)=>{"use strict";var BR=be();ny.exports=BR([].slice)});var oy=h((Pz,iy)=>{"use strict";var JR=TypeError;iy.exports=function(e,t){if(e<t)throw new JR("Not enough arguments");return e}});var Xc=h((Oz,sy)=>{"use strict";var ay=pe(),HR=vc(),$R=Le(),VR=ry(),GR=Ho(),zR=bi(),WR=oy(),KR=ay.Function,QR=/MSIE .\./.test(GR)||VR==="BUN"&&function(){var e=ay.Bun.version.split(".");return e.length<3||e[0]==="0"&&(e[1]<3||e[1]==="3"&&e[2]==="0")}();sy.exports=function(e,t){var r=t?2:1;return QR?function(n,i){var o=WR(arguments.length,1)>r,a=$R(n)?n:KR(n),s=o?zR(arguments,r):[],l=o?function(){HR(a,this,s)}:a;return t?e(l,i):e(l)}:e}});var uy=h(()=>{"use strict";var YR=Z(),cy=pe(),XR=Xc(),ly=XR(cy.setInterval,!0);YR({global:!0,bind:!0,forced:cy.setInterval!==ly},{setInterval:ly})});var fy=h(()=>{"use strict";var ZR=Z(),py=pe(),eN=Xc(),dy=eN(py.setTimeout,!0);ZR({global:!0,bind:!0,forced:py.setTimeout!==dy},{setTimeout:dy})});var hy=h(()=>{"use strict";uy();fy()});var vy=h((Mz,my)=>{"use strict";hy();var tN=Ot();my.exports=tN.setTimeout});var yy=h((jz,gy)=>{gy.exports=vy()});function Ii(e,t){me.__h&&me.__h(oe,e,wi||t),wi=0;var r=oe.__H||(oe.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Zo(e){return wi=1,Ty(Cy,e)}function Ty(e,t,r){var n=Ii(qr++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Cy(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=oe,!oe.__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};oe.__f=!0;var o=oe.shouldComponentUpdate,a=oe.componentWillUpdate;oe.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)},oe.shouldComponentUpdate=i}return n.__N||n.__}function Si(e,t){var r=Ii(qr++,3);!me.__s&&tu(r.__H,t)&&(r.__=e,r.u=t,oe.__H.__h.push(r))}function ln(e,t){var r=Ii(qr++,4);!me.__s&&tu(r.__H,t)&&(r.__=e,r.u=t,oe.__h.push(r))}function xi(e){return wi=5,Ei(function(){return{current:e}},[])}function Ei(e,t){var r=Ii(qr++,7);return tu(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function cn(e,t){return wi=8,Ei(function(){return e},t)}function un(e){var t=oe.context[e.__c],r=Ii(qr++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(oe)),t.props.value):e.__}function rN(){for(var e;e=Ay.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xo),e.__H.__h.forEach(eu),e.__H.__h=[]}catch(t){e.__H.__h=[],me.__e(t,e.__v)}}function nN(e){var t,r=function(){clearTimeout(n),ky&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ky&&(t=requestAnimationFrame(r))}function Xo(e){var t=oe,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),oe=t}function eu(e){var t=oe;e.__c=e.__(),oe=t}function tu(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Cy(e,t){return typeof t=="function"?t(e):t}var qr,oe,Zc,_y,wi,Ay,me,by,wy,Iy,Sy,xy,Ey,ky,ru=k(()=>{Yr();wi=0,Ay=[],me=R,by=me.__b,wy=me.__r,Iy=me.diffed,Sy=me.__c,xy=me.unmount,Ey=me.__;me.__b=function(e){oe=null,by&&by(e)},me.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ey&&Ey(e,t)},me.__r=function(e){wy&&wy(e),qr=0;var t=(oe=e.__c).__H;t&&(Zc===oe?(t.__h=[],oe.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Xo),t.__h.forEach(eu),t.__h=[],qr=0)),Zc=oe},me.diffed=function(e){Iy&&Iy(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ay.push(t)!==1&&_y===me.requestAnimationFrame||((_y=me.requestAnimationFrame)||nN)(rN)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Zc=oe=null},me.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Xo),r.__h=r.__h.filter(function(n){return!n.__||eu(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],me.__e(n,r.__v)}}),Sy&&Sy(e,t)},me.unmount=function(e){xy&&xy(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Xo(n)}catch(i){t=i}}),r.__H=void 0,t&&me.__e(t,r.__v))};ky=typeof requestAnimationFrame=="function"});function jy(e,t){for(var r in t)e[r]=t[r];return e}function iu(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 Py(e,t){this.props=e,this.context=t}function au(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:iu(this.props,i)}function n(i){return this.shouldComponentUpdate=r,Be(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}function su(e){function t(r){var n=jy({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=iN,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function Uy(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=jy({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Uy(n,t,r)})),e}function By(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return By(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 nu(){this.__u=0,this.o=null,this.__b=null}function Jy(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ea(){this.i=null,this.l=null}function lu(e,t,r){return t.__k==null&&(t.textContent=""),ur(e,t),typeof r=="function"&&r(),e?e.__c:null}function pN(){}function fN(){return this.cancelBubble}function hN(){return this.defaultPrevented}var ou,Oy,iN,oN,Ry,Ny,aN,sN,lN,cN,uN,dN,Dy,Hy,mN,Ly,qy,Fy,ta=k(()=>{Yr();Yr();ru();ru();ou=ln;(Py.prototype=new lt).isPureReactComponent=!0,Py.prototype.shouldComponentUpdate=function(e,t){return iu(this.props,e)||iu(this.state,t)};Oy=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Oy&&Oy(e)};iN=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;oN=R.__e;R.__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)}oN(e,t,r,n)};Ry=R.unmount;R.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ry&&Ry(e)},(nu.prototype=new lt).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=Jy(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]=By(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)},nu.prototype.componentWillUnmount=function(){this.o=[]},nu.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]=Uy(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&Be(De,null,e.fallback);return i&&(i.__u&=-33),[Be(De,null,t.__a?null:e.children),i]};Ny=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]}};(ea.prototype=new lt).__a=function(e){var t=this,r=Jy(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ny(t,e,n)):i()};r?r(o):o()}},ea.prototype.render=function(e){this.i=null,this.l=new Map;var t=ii(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},ea.prototype.componentDidUpdate=ea.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Ny(e,r,t)})};aN=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,sN=/^(?: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]/,lN=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,cN=/[A-Z0-9]/g,uN=typeof document!="undefined",dN=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(lt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});Dy=R.event;R.event=function(e){return Dy&&(e=Dy(e)),e.persist=pN,e.isPropagationStopped=fN,e.isDefaultPrevented=hN,e.nativeEvent=e};mN={enumerable:!1,configurable:!0,get:function(){return this.class}},Ly=R.vnode;R.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||uN&&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"||dN(r.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":lN.test(a)&&(a=l):l=a="oninput":o&&sN.test(a)?a=a.replace(cN,"-$&").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=ii(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=ii(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",mN)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=aN,Ly&&Ly(e)};qy=R.__r;R.__r=function(e){qy&&qy(e),Hy=e.__c};Fy=R.diffed;R.diffed=function(e){Fy&&Fy(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),Hy=null}});var uu=h(()=>{"use strict";var gN=Z(),cu=pe();gN({global:!0,forced:cu.globalThis!==cu},{globalThis:cu})});var $y=h(()=>{"use strict";uu()});var Gy=h((t6,Vy)=>{"use strict";uu();Vy.exports=pe()});var Wy=h((r6,zy)=>{"use strict";var yN=Gy();zy.exports=yN});var Qy=h((n6,Ky)=>{"use strict";var _N=Wy();Ky.exports=_N});var Xy=h((i6,Yy)=>{"use strict";$y();var bN=Qy();Yy.exports=bN});var e_=h((o6,Zy)=>{"use strict";Zy.exports=Xy()});var r_=h((a6,t_)=>{t_.exports=e_()});var n_=h(()=>{"use strict";var wN=Z(),IN=hi();wN({target:"Array",stat:!0},{isArray:IN})});var o_=h((c6,i_)=>{"use strict";n_();var SN=Ot();i_.exports=SN.Array.isArray});var s_=h((u6,a_)=>{"use strict";var xN=o_();a_.exports=xN});var c_=h((d6,l_)=>{l_.exports=s_()});var d_=h((p6,u_)=>{"use strict";u_.exports=function(){}});var Fr=h((f6,p_)=>{"use strict";p_.exports={}});var du=h((h6,h_)=>{"use strict";var EN=pe(),kN=Le(),f_=EN.WeakMap;h_.exports=kN(f_)&&/native code/.test(String(f_))});var ra=h((m6,v_)=>{"use strict";var AN=Cc(),TN=zo(),m_=AN("keys");v_.exports=function(e){return m_[e]||(m_[e]=TN(e))}});var ki=h((v6,g_)=>{"use strict";g_.exports={}});var jr=h((g6,b_)=>{"use strict";var CN=du(),__=pe(),PN=Ae(),ON=Lr(),pu=ct(),fu=ci(),RN=ra(),NN=ki(),y_="Object already initialized",hu=__.TypeError,DN=__.WeakMap,na,Ai,ia,LN=function(e){return ia(e)?Ai(e):na(e,{})},qN=function(e){return function(t){var r;if(!PN(t)||(r=Ai(t)).type!==e)throw new hu("Incompatible receiver, "+e+" required");return r}};CN||fu.state?(xt=fu.state||(fu.state=new DN),xt.get=xt.get,xt.has=xt.has,xt.set=xt.set,na=function(e,t){if(xt.has(e))throw new hu(y_);return t.facade=e,xt.set(e,t),t},Ai=function(e){return xt.get(e)||{}},ia=function(e){return xt.has(e)}):(Mr=RN("state"),NN[Mr]=!0,na=function(e,t){if(pu(e,Mr))throw new hu(y_);return t.facade=e,ON(e,Mr,t),t},Ai=function(e){return pu(e,Mr)?e[Mr]:{}},ia=function(e){return pu(e,Mr)});var xt,Mr;b_.exports={set:na,get:Ai,has:ia,enforce:LN,getterFor:qN}});var gu=h((y6,I_)=>{"use strict";var mu=Qe(),FN=ct(),w_=Function.prototype,MN=mu&&Object.getOwnPropertyDescriptor,vu=FN(w_,"name"),jN=vu&&(function(){}).name==="something",UN=vu&&(!mu||mu&&MN(w_,"name").configurable);I_.exports={EXISTS:vu,PROPER:jN,CONFIGURABLE:UN}});var yu=h((_6,S_)=>{"use strict";var BN=fi(),JN=Math.max,HN=Math.min;S_.exports=function(e,t){var r=BN(e);return r<0?JN(r+t,0):HN(r,t)}});var _u=h((b6,E_)=>{"use strict";var $N=dr(),VN=yu(),GN=an(),x_=function(e){return function(t,r,n){var i=$N(t),o=GN(i);if(o===0)return!e&&-1;var a=VN(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}};E_.exports={includes:x_(!0),indexOf:x_(!1)}});var wu=h((w6,A_)=>{"use strict";var zN=be(),bu=ct(),WN=dr(),KN=_u().indexOf,QN=ki(),k_=zN([].push);A_.exports=function(e,t){var r=WN(e),n=0,i=[],o;for(o in r)!bu(QN,o)&&bu(r,o)&&k_(i,o);for(;t.length>n;)bu(r,o=t[n++])&&(~KN(i,o)||k_(i,o));return i}});var oa=h((I6,T_)=>{"use strict";T_.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Iu=h((S6,C_)=>{"use strict";var YN=wu(),XN=oa();C_.exports=Object.keys||function(t){return YN(t,XN)}});var O_=h(P_=>{"use strict";var ZN=Qe(),eD=qc(),tD=Wt(),rD=zt(),nD=dr(),iD=Iu();P_.f=ZN&&!eD?Object.defineProperties:function(t,r){rD(t);for(var n=nD(r),i=iD(r),o=i.length,a=0,s;o>a;)tD.f(t,s=i[a++],n[s]);return t}});var N_=h((E6,R_)=>{"use strict";var oD=Zr();R_.exports=oD("document","documentElement")});var Ti=h((k6,U_)=>{"use strict";var aD=zt(),sD=O_(),D_=oa(),lD=ki(),cD=N_(),uD=Nc(),dD=ra(),L_=">",q_="<",xu="prototype",Eu="script",M_=dD("IE_PROTO"),Su=function(){},j_=function(e){return q_+Eu+L_+e+q_+"/"+Eu+L_},F_=function(e){e.write(j_("")),e.close();var t=e.parentWindow.Object;return e=null,t},pD=function(){var e=uD("iframe"),t="java"+Eu+":",r;return e.style.display="none",cD.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(j_("document.F=Object")),r.close(),r.F},aa,sa=function(){try{aa=new ActiveXObject("htmlfile")}catch(t){}sa=typeof document!="undefined"?document.domain&&aa?F_(aa):pD():F_(aa);for(var e=D_.length;e--;)delete sa[xu][D_[e]];return sa()};lD[M_]=!0;U_.exports=Object.create||function(t,r){var n;return t!==null?(Su[xu]=aD(t),n=new Su,Su[xu]=null,n[M_]=t):n=sa(),r===void 0?n:sD.f(n,r)}});var J_=h((A6,B_)=>{"use strict";var fD=de();B_.exports=!fD(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Au=h((T6,$_)=>{"use strict";var hD=ct(),mD=Le(),vD=tn(),gD=ra(),yD=J_(),H_=gD("IE_PROTO"),ku=Object,_D=ku.prototype;$_.exports=yD?ku.getPrototypeOf:function(e){var t=vD(e);if(hD(t,H_))return t[H_];var r=t.constructor;return mD(r)&&t instanceof r?r.prototype:t instanceof ku?_D:null}});var la=h((C6,V_)=>{"use strict";var bD=Lr();V_.exports=function(e,t,r,n){return n&&n.enumerable?e[t]=r:bD(e,t,r),e}});var Ou=h((P6,W_)=>{"use strict";var wD=de(),ID=Le(),SD=Ae(),xD=Ti(),G_=Au(),ED=la(),kD=Je(),AD=en(),Pu=kD("iterator"),z_=!1,Kt,Tu,Cu;[].keys&&(Cu=[].keys(),"next"in Cu?(Tu=G_(G_(Cu)),Tu!==Object.prototype&&(Kt=Tu)):z_=!0);var TD=!SD(Kt)||wD(function(){var e={};return Kt[Pu].call(e)!==e});TD?Kt={}:AD&&(Kt=xD(Kt));ID(Kt[Pu])||ED(Kt,Pu,function(){return this});W_.exports={IteratorPrototype:Kt,BUGGY_SAFARI_ITERATORS:z_}});var Q_=h((O6,K_)=>{"use strict";var CD=Ko(),PD=sn();K_.exports=CD?{}.toString:function(){return"[object "+PD(this)+"]"}});var Ci=h((R6,X_)=>{"use strict";var OD=Ko(),RD=Wt().f,ND=Lr(),DD=ct(),LD=Q_(),qD=Je(),Y_=qD("toStringTag");X_.exports=function(e,t,r,n){var i=r?e:e&&e.prototype;i&&(DD(i,Y_)||RD(i,Y_,{configurable:!0,value:t}),n&&!OD&&ND(i,"toString",LD))}});var eb=h((N6,Z_)=>{"use strict";var FD=Ou().IteratorPrototype,MD=Ti(),jD=si(),UD=Ci(),BD=Fr(),JD=function(){return this};Z_.exports=function(e,t,r,n){var i=t+" Iterator";return e.prototype=MD(FD,{next:jD(+!n,r)}),UD(e,i,!1,!0),BD[i]=JD,e}});var rb=h((D6,tb)=>{"use strict";var HD=be(),$D=Dr();tb.exports=function(e,t,r){try{return HD($D(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}}});var ib=h((L6,nb)=>{"use strict";var VD=Ae();nb.exports=function(e){return VD(e)||e===null}});var ab=h((q6,ob)=>{"use strict";var GD=ib(),zD=String,WD=TypeError;ob.exports=function(e){if(GD(e))return e;throw new WD("Can't set "+zD(e)+" as a prototype")}});var lb=h((F6,sb)=>{"use strict";var KD=rb(),QD=Ae(),YD=Nr(),XD=ab();sb.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=KD(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch(n){}return function(i,o){return YD(i),XD(o),QD(i)&&(e?r(i,o):i.__proto__=o),i}}():void 0)});var da=h((M6,yb)=>{"use strict";var ZD=Z(),eL=It(),ca=en(),vb=gu(),tL=Le(),rL=eb(),cb=Au(),ub=lb(),nL=Ci(),iL=Lr(),Ru=la(),oL=Je(),db=Fr(),gb=Ou(),aL=vb.PROPER,sL=vb.CONFIGURABLE,pb=gb.IteratorPrototype,ua=gb.BUGGY_SAFARI_ITERATORS,Pi=oL("iterator"),fb="keys",Oi="values",hb="entries",mb=function(){return this};yb.exports=function(e,t,r,n,i,o,a){rL(r,t,n);var s=function(v){if(v===i&&p)return p;if(!ua&&v&&v in d)return d[v];switch(v){case fb:return function(){return new r(this,v)};case Oi:return function(){return new r(this,v)};case hb:return function(){return new r(this,v)}}return function(){return new r(this)}},l=t+" Iterator",c=!1,d=e.prototype,u=d[Pi]||d["@@iterator"]||i&&d[i],p=!ua&&u||s(i),f=t==="Array"&&d.entries||u,m,g,_;if(f&&(m=cb(f.call(new e)),m!==Object.prototype&&m.next&&(!ca&&cb(m)!==pb&&(ub?ub(m,pb):tL(m[Pi])||Ru(m,Pi,mb)),nL(m,l,!0,!0),ca&&(db[l]=mb))),aL&&i===Oi&&u&&u.name!==Oi&&(!ca&&sL?iL(d,"name",Oi):(c=!0,p=function(){return eL(u,this)})),i)if(g={values:s(Oi),keys:o?p:s(fb),entries:s(hb)},a)for(_ in g)(ua||c||!(_ in d))&&Ru(d,_,g[_]);else ZD({target:t,proto:!0,forced:ua||c},g);return(!ca||a)&&d[Pi]!==p&&Ru(d,Pi,p,{name:i}),db[t]=p,g}});var pa=h((j6,_b)=>{"use strict";_b.exports=function(e,t){return{value:e,done:t}}});var ha=h((U6,xb)=>{"use strict";var lL=dr(),Nu=d_(),bb=Fr(),Ib=jr(),cL=Wt().f,uL=da(),fa=pa(),dL=en(),pL=Qe(),Sb="Array Iterator",fL=Ib.set,hL=Ib.getterFor(Sb);xb.exports=uL(Array,"Array",function(e,t){fL(this,{type:Sb,target:lL(e),index:0,kind:t})},function(){var e=hL(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,fa(void 0,!0);switch(e.kind){case"keys":return fa(r,!1);case"values":return fa(t[r],!1)}return fa([r,t[r]],!1)},"values");var wb=bb.Arguments=bb.Array;Nu("keys");Nu("values");Nu("entries");if(!dL&&pL&&wb.name!=="values")try{cL(wb,"name",{value:"values"})}catch(e){}});var Du=h(()=>{});var Lu=h((H6,Eb)=>{"use strict";var mL=de();Eb.exports=!mL(function(){return Object.isExtensible(Object.preventExtensions({}))})});var ma=h(($6,kb)=>{"use strict";var vL=la();kb.exports=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:vL(e,n,t[n],r);return e}});var qu=h(Ab=>{"use strict";var gL=wu(),yL=oa(),_L=yL.concat("length","prototype");Ab.f=Object.getOwnPropertyNames||function(t){return gL(t,_L)}});var Ob=h((G6,Pb)=>{"use strict";var bL=Gt(),wL=dr(),Tb=qu().f,IL=bi(),Cb=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],SL=function(e){try{return Tb(e)}catch(t){return IL(Cb)}};Pb.exports.f=function(t){return Cb&&bL(t)==="Window"?SL(t):Tb(wL(t))}});var Nb=h((z6,Rb)=>{"use strict";var xL=de();Rb.exports=xL(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})});var qb=h((W6,Lb)=>{"use strict";var EL=de(),kL=Ae(),AL=Gt(),Db=Nb(),va=Object.isExtensible,TL=EL(function(){va(1)});Lb.exports=TL||Db?function(t){return!kL(t)||Db&&AL(t)==="ArrayBuffer"?!1:va?va(t):!0}:va});var Ri=h((K6,jb)=>{"use strict";var CL=Z(),PL=be(),OL=ki(),RL=Ae(),Fu=ct(),NL=Wt().f,Fb=qu(),DL=Ob(),Mu=qb(),LL=zo(),qL=Lu(),Mb=!1,Qt=LL("meta"),FL=0,ju=function(e){NL(e,Qt,{value:{objectID:"O"+FL++,weakData:{}}})},ML=function(e,t){if(!RL(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!Fu(e,Qt)){if(!Mu(e))return"F";if(!t)return"E";ju(e)}return e[Qt].objectID},jL=function(e,t){if(!Fu(e,Qt)){if(!Mu(e))return!0;if(!t)return!1;ju(e)}return e[Qt].weakData},UL=function(e){return qL&&Mb&&Mu(e)&&!Fu(e,Qt)&&ju(e),e},BL=function(){JL.enable=function(){},Mb=!0;var e=Fb.f,t=PL([].splice),r={};r[Qt]=1,e(r).length&&(Fb.f=function(n){for(var i=e(n),o=0,a=i.length;o<a;o++)if(i[o]===Qt){t(i,o,1);break}return i},CL({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:DL.f}))},JL=jb.exports={enable:BL,fastKey:ML,getWeakData:jL,onFreeze:UL};OL[Qt]=!0});var Bb=h((Q6,Ub)=>{"use strict";var HL=Je(),$L=Fr(),VL=HL("iterator"),GL=Array.prototype;Ub.exports=function(e){return e!==void 0&&($L.Array===e||GL[VL]===e)}});var Uu=h((Y6,Hb)=>{"use strict";var zL=sn(),Jb=Go(),WL=Rr(),KL=Fr(),QL=Je(),YL=QL("iterator");Hb.exports=function(e){if(!WL(e))return Jb(e,YL)||Jb(e,"@@iterator")||KL[zL(e)]}});var Vb=h((X6,$b)=>{"use strict";var XL=It(),ZL=Dr(),eq=zt(),tq=li(),rq=Uu(),nq=TypeError;$b.exports=function(e,t){var r=arguments.length<2?rq(e):t;if(ZL(r))return eq(XL(r,e));throw new nq(tq(e)+" is not iterable")}});var ga=h((Z6,zb)=>{"use strict";var iq=It(),Gb=zt(),oq=Go();zb.exports=function(e,t,r){var n,i;Gb(e);try{if(n=oq(e,"return"),!n){if(t==="throw")throw r;return r}n=iq(n,e)}catch(o){i=!0,n=o}if(t==="throw")throw r;if(i)throw n;return Gb(n),r}});var _a=h((eW,Yb)=>{"use strict";var aq=di(),sq=It(),lq=zt(),cq=li(),uq=Bb(),dq=an(),Wb=Ke(),pq=Vb(),fq=Uu(),Kb=ga(),hq=TypeError,ya=function(e,t){this.stopped=e,this.result=t},Qb=ya.prototype;Yb.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=aq(t,n),c,d,u,p,f,m,g,_=function(b){return c&&Kb(c,"normal",b),new ya(!0,b)},v=function(b){return i?(lq(b),s?l(b[0],b[1],_):l(b[0],b[1])):s?l(b,_):l(b)};if(o)c=e.iterator;else if(a)c=e;else{if(d=fq(e),!d)throw new hq(cq(e)+" is not iterable");if(uq(d)){for(u=0,p=dq(e);p>u;u++)if(f=v(e[u]),f&&Wb(Qb,f))return f;return new ya(!1)}c=pq(e,d)}for(m=o?e.next:c.next;!(g=sq(m,c)).done;){try{f=v(g.value)}catch(b){Kb(c,"throw",b)}if(typeof f=="object"&&f&&Wb(Qb,f))return f}return new ya(!1)}});var ba=h((tW,Xb)=>{"use strict";var mq=Ke(),vq=TypeError;Xb.exports=function(e,t){if(mq(t,e))return e;throw new vq("Incorrect invocation")}});var Bu=h((rW,ew)=>{"use strict";var gq=Z(),yq=pe(),_q=Ri(),bq=de(),wq=Lr(),Iq=_a(),Sq=ba(),xq=Le(),Eq=Ae(),kq=Rr(),Aq=Ci(),Tq=Wt().f,Cq=fr().forEach,Pq=Qe(),Zb=jr(),Oq=Zb.set,Rq=Zb.getterFor;ew.exports=function(e,t,r){var n=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=n?"set":"add",a=yq[e],s=a&&a.prototype,l={},c;if(!Pq||!xq(a)||!(i||s.forEach&&!bq(function(){new a().entries().next()})))c=r.getConstructor(t,e,n,o),_q.enable();else{c=t(function(p,f){Oq(Sq(p,d),{type:e,collection:new a}),kq(f)||Iq(f,p[o],{that:p,AS_ENTRIES:n})});var d=c.prototype,u=Rq(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")&&wq(d,p,function(m,g){var _=u(this).collection;if(!f&&i&&!Eq(m))return p==="get"?void 0:!1;var v=_[p](m===0?0:m,g);return f?this:v})}),i||Tq(d,"size",{configurable:!0,get:function(){return u(this).collection.size}})}return Aq(c,e,!1,!0),l[e]=c,gq({global:!0,forced:!0},l),i||r.setStrong(c,e,n),c}});var sw=h((nW,aw)=>{"use strict";var Nq=be(),tw=ma(),wa=Ri().getWeakData,Dq=ba(),Lq=zt(),qq=Rr(),Ju=Ae(),Fq=_a(),nw=fr(),rw=ct(),iw=jr(),Mq=iw.set,jq=iw.getterFor,Uq=nw.find,Bq=nw.findIndex,Jq=Nq([].splice),Hq=0,Ia=function(e){return e.frozen||(e.frozen=new ow)},ow=function(){this.entries=[]},Hu=function(e,t){return Uq(e.entries,function(r){return r[0]===t})};ow.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=Bq(this.entries,function(r){return r[0]===e});return~t&&Jq(this.entries,t,1),!!~t}};aw.exports={getConstructor:function(e,t,r,n){var i=e(function(l,c){Dq(l,o),Mq(l,{type:t,id:Hq++,frozen:null}),qq(c)||Fq(c,l[n],{that:l,AS_ENTRIES:r})}),o=i.prototype,a=jq(t),s=function(l,c,d){var u=a(l),p=wa(Lq(c),!0);return p===!0?Ia(u).set(c,d):p[u.id]=d,l};return tw(o,{delete:function(l){var c=a(this);if(!Ju(l))return!1;var d=wa(l);return d===!0?Ia(c).delete(l):d&&rw(d,c.id)&&delete d[c.id]},has:function(c){var d=a(this);if(!Ju(c))return!1;var u=wa(c);return u===!0?Ia(d).has(c):u&&rw(u,d.id)}}),tw(o,r?{get:function(c){var d=a(this);if(Ju(c)){var u=wa(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 mw=h(()=>{"use strict";var $q=Lu(),lw=pe(),ka=be(),cw=ma(),Vq=Ri(),Gq=Bu(),uw=sw(),Sa=Ae(),xa=jr().enforce,zq=de(),Wq=du(),Li=Object,Kq=Array.isArray,Ea=Li.isExtensible,dw=Li.isFrozen,Qq=Li.isSealed,pw=Li.freeze,Yq=Li.seal,Xq=!lw.ActiveXObject&&"ActiveXObject"in lw,Ni,fw=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},hw=Gq("WeakMap",fw,uw),dn=hw.prototype,Aa=ka(dn.set),Zq=function(){return $q&&zq(function(){var e=pw([]);return Aa(new hw,e,1),!dw(e)})};Wq&&(Xq?(Ni=uw.getConstructor(fw,"WeakMap",!0),Vq.enable(),$u=ka(dn.delete),Di=ka(dn.has),Vu=ka(dn.get),cw(dn,{delete:function(e){if(Sa(e)&&!Ea(e)){var t=xa(this);return t.frozen||(t.frozen=new Ni),$u(this,e)||t.frozen.delete(e)}return $u(this,e)},has:function(t){if(Sa(t)&&!Ea(t)){var r=xa(this);return r.frozen||(r.frozen=new Ni),Di(this,t)||r.frozen.has(t)}return Di(this,t)},get:function(t){if(Sa(t)&&!Ea(t)){var r=xa(this);return r.frozen||(r.frozen=new Ni),Di(this,t)?Vu(this,t):r.frozen.get(t)}return Vu(this,t)},set:function(t,r){if(Sa(t)&&!Ea(t)){var n=xa(this);n.frozen||(n.frozen=new Ni),Di(this,t)?Aa(this,t,r):n.frozen.set(t,r)}else Aa(this,t,r);return this}})):Zq()&&cw(dn,{set:function(t,r){var n;return Kq(t)&&(dw(t)?n=pw:Qq(t)&&(n=Yq)),Aa(this,t,r),n&&n(t),this}}));var $u,Di,Vu});var vw=h(()=>{"use strict";mw()});var yw=h((lW,gw)=>{"use strict";ha();Du();vw();var eF=Ot();gw.exports=eF.WeakMap});var bw=h((cW,_w)=>{"use strict";_w.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";ha();var tF=bw(),rF=pe(),nF=Ci(),ww=Fr();for(Ta in tF)nF(rF[Ta],Ta),ww[Ta]=ww.Array;var Ta});var Sw=h((pW,Iw)=>{"use strict";var iF=yw();Gu();Iw.exports=iF});var Ew=h((fW,xw)=>{xw.exports=Sw()});var Aw=h(()=>{"use strict";var oF=Z(),aF=ai(),sF=_u().indexOf,lF=yi(),zu=aF([].indexOf),kw=!!zu&&1/zu([1],1,-0)<0,cF=kw||!lF("indexOf");oF({target:"Array",proto:!0,forced:cF},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return kw?zu(this,t,r)||0:sF(this,t,r)}})});var Cw=h((vW,Tw)=>{"use strict";Aw();var uF=yt();Tw.exports=uF("Array","indexOf")});var Ow=h((gW,Pw)=>{"use strict";var dF=Ke(),pF=Cw(),Wu=Array.prototype;Pw.exports=function(e){var t=e.indexOf;return e===Wu||dF(Wu,e)&&t===Wu.indexOf?pF:t}});var Nw=h((yW,Rw)=>{"use strict";var fF=Ow();Rw.exports=fF});var Lw=h((_W,Dw)=>{Dw.exports=Nw()});var qw=h(()=>{"use strict";var hF=Z(),mF=fr().map,vF=gi(),gF=vF("map");hF({target:"Array",proto:!0,forced:!gF},{map:function(t){return mF(this,t,arguments.length>1?arguments[1]:void 0)}})});var Mw=h((IW,Fw)=>{"use strict";qw();var yF=yt();Fw.exports=yF("Array","map")});var Uw=h((SW,jw)=>{"use strict";var _F=Ke(),bF=Mw(),Ku=Array.prototype;jw.exports=function(e){var t=e.map;return e===Ku||_F(Ku,e)&&t===Ku.map?bF:t}});var Jw=h((xW,Bw)=>{"use strict";var wF=Uw();Bw.exports=wF});var $w=h((EW,Hw)=>{Hw.exports=Jw()});var Vw=h(()=>{"use strict";var IF=Z(),SF=Qe(),xF=Ti();IF({target:"Object",stat:!0,sham:!SF},{create:xF})});var zw=h((TW,Gw)=>{"use strict";Vw();var EF=Ot(),kF=EF.Object;Gw.exports=function(t,r){return kF.create(t,r)}});var Kw=h((CW,Ww)=>{"use strict";var AF=zw();Ww.exports=AF});var Yw=h((PW,Qw)=>{Qw.exports=Kw()});var Qu=h((OW,Xw)=>{"use strict";var TF=Wt();Xw.exports=function(e,t,r){return TF.f(e,t,r)}});var t0=h((RW,e0)=>{"use strict";var CF=Zr(),PF=Qu(),OF=Je(),RF=Qe(),Zw=OF("species");e0.exports=function(e){var t=CF(e);RF&&t&&!t[Zw]&&PF(t,Zw,{configurable:!0,get:function(){return this}})}});var l0=h((NW,s0)=>{"use strict";var r0=Ti(),NF=Qu(),n0=ma(),DF=di(),LF=ba(),qF=Rr(),FF=_a(),MF=da(),Ca=pa(),jF=t0(),qi=Qe(),i0=Ri().fastKey,a0=jr(),o0=a0.set,Yu=a0.getterFor;s0.exports={getConstructor:function(e,t,r,n){var i=e(function(c,d){LF(c,o),o0(c,{type:t,index:r0(null),first:null,last:null,size:0}),qi||(c.size=0),qF(d)||FF(d,c[n],{that:c,AS_ENTRIES:r})}),o=i.prototype,a=Yu(t),s=function(c,d,u){var p=a(c),f=l(c,d),m,g;return f?f.value=u:(p.last=f={index:g=i0(d,!0),key:d,value:u,previous:m=p.last,next:null,removed:!1},p.first||(p.first=f),m&&(m.next=f),qi?p.size++:c.size++,g!=="F"&&(p.index[g]=f)),c},l=function(c,d){var u=a(c),p=i0(d),f;if(p!=="F")return u.index[p];for(f=u.first;f;f=f.next)if(f.key===d)return f};return n0(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=r0(null),qi?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),qi?u.size--:d.size--}return!!p},forEach:function(d){for(var u=a(this),p=DF(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)}}),n0(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)}}),qi&&NF(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,r){var n=t+" Iterator",i=Yu(t),o=Yu(n);MF(e,t,function(a,s){o0(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,Ca(void 0,!0)):Ca(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),jF(t)}}});var c0=h(()=>{"use strict";var UF=Bu(),BF=l0();UF("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},BF)});var u0=h(()=>{"use strict";c0()});var hr=h((MW,d0)=>{"use strict";var JF=li(),HF=TypeError;d0.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 HF(JF(e)+" is not a set")}});var f0=h((jW,p0)=>{"use strict";p0.exports=function(e,t){return t===1?function(r,n){return r[e](n)}:function(r,n,i){return r[e](n,i)}}});var mr=h((UW,m0)=>{"use strict";var $F=Zr(),Xu=f0(),h0=$F("Set"),VF=h0.prototype;m0.exports={Set:h0,add:Xu("add",1),has:Xu("has",1),remove:Xu("delete",1),proto:VF}});var vr=h((BW,v0)=>{"use strict";var GF=It();v0.exports=function(e,t,r){for(var n=r?e:e.iterator,i=e.next,o,a;!(o=GF(i,n)).done;)if(a=t(o.value),a!==void 0)return a}});var pn=h((JW,g0)=>{"use strict";var zF=vr();g0.exports=function(e,t,r){return r?zF(e.keys(),t,!0):e.forEach(t)}});var Pa=h((HW,_0)=>{"use strict";var y0=mr(),WF=pn(),KF=y0.Set,QF=y0.add;_0.exports=function(e){var t=new KF;return WF(e,function(r){QF(t,r)}),t}});var fn=h(($W,b0)=>{"use strict";b0.exports=function(e){return e.size}});var I0=h((VW,w0)=>{"use strict";w0.exports=function(e){return{iterator:e,next:e.next,done:!1}}});var gr=h((GW,T0)=>{"use strict";var S0=Dr(),k0=zt(),x0=It(),YF=fi(),XF=I0(),E0="Invalid size",ZF=RangeError,eM=TypeError,tM=Math.max,A0=function(e,t){this.set=e,this.size=tM(t,0),this.has=S0(e.has),this.keys=S0(e.keys)};A0.prototype={getIterator:function(){return XF(k0(x0(this.keys,this.set)))},includes:function(e){return x0(this.has,this.set,e)}};T0.exports=function(e){k0(e);var t=+e.size;if(t!==t)throw new eM(E0);var r=YF(t);if(r<0)throw new ZF(E0);return new A0(e,r)}});var R0=h((zW,O0)=>{"use strict";var rM=hr(),P0=mr(),nM=Pa(),iM=fn(),oM=gr(),aM=pn(),sM=vr(),lM=P0.has,C0=P0.remove;O0.exports=function(t){var r=rM(this),n=oM(t),i=nM(r);return iM(r)<=n.size?aM(r,function(o){n.includes(o)&&C0(i,o)}):sM(n.getIterator(),function(o){lM(r,o)&&C0(i,o)}),i}});var yr=h((WW,N0)=>{"use strict";N0.exports=function(){return!1}});var D0=h(()=>{"use strict";var cM=Z(),uM=R0(),dM=yr(),pM=!dM("difference",function(e){return e.size===0});cM({target:"Set",proto:!0,real:!0,forced:pM},{difference:uM})});var F0=h((YW,q0)=>{"use strict";var fM=hr(),Zu=mr(),hM=fn(),mM=gr(),vM=pn(),gM=vr(),yM=Zu.Set,L0=Zu.add,_M=Zu.has;q0.exports=function(t){var r=fM(this),n=mM(t),i=new yM;return hM(r)>n.size?gM(n.getIterator(),function(o){_M(r,o)&&L0(i,o)}):vM(r,function(o){n.includes(o)&&L0(i,o)}),i}});var M0=h(()=>{"use strict";var bM=Z(),wM=de(),IM=F0(),SM=yr(),xM=!SM("intersection",function(e){return e.size===2&&e.has(1)&&e.has(2)})||wM(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});bM({target:"Set",proto:!0,real:!0,forced:xM},{intersection:IM})});var U0=h((e8,j0)=>{"use strict";var EM=hr(),kM=mr().has,AM=fn(),TM=gr(),CM=pn(),PM=vr(),OM=ga();j0.exports=function(t){var r=EM(this),n=TM(t);if(AM(r)<=n.size)return CM(r,function(o){if(n.includes(o))return!1},!0)!==!1;var i=n.getIterator();return PM(i,function(o){if(kM(r,o))return OM(i,"normal",!1)})!==!1}});var B0=h(()=>{"use strict";var RM=Z(),NM=U0(),DM=yr(),LM=!DM("isDisjointFrom",function(e){return!e});RM({target:"Set",proto:!0,real:!0,forced:LM},{isDisjointFrom:NM})});var H0=h((n8,J0)=>{"use strict";var qM=hr(),FM=fn(),MM=pn(),jM=gr();J0.exports=function(t){var r=qM(this),n=jM(t);return FM(r)>n.size?!1:MM(r,function(i){if(!n.includes(i))return!1},!0)!==!1}});var $0=h(()=>{"use strict";var UM=Z(),BM=H0(),JM=yr(),HM=!JM("isSubsetOf",function(e){return e});UM({target:"Set",proto:!0,real:!0,forced:HM},{isSubsetOf:BM})});var G0=h((a8,V0)=>{"use strict";var $M=hr(),VM=mr().has,GM=fn(),zM=gr(),WM=vr(),KM=ga();V0.exports=function(t){var r=$M(this),n=zM(t);if(GM(r)<n.size)return!1;var i=n.getIterator();return WM(i,function(o){if(!VM(r,o))return KM(i,"normal",!1)})!==!1}});var z0=h(()=>{"use strict";var QM=Z(),YM=G0(),XM=yr(),ZM=!XM("isSupersetOf",function(e){return!e});QM({target:"Set",proto:!0,real:!0,forced:ZM},{isSupersetOf:YM})});var K0=h((c8,W0)=>{"use strict";var ej=hr(),ed=mr(),tj=Pa(),rj=gr(),nj=vr(),ij=ed.add,oj=ed.has,aj=ed.remove;W0.exports=function(t){var r=ej(this),n=rj(t).getIterator(),i=tj(r);return nj(n,function(o){oj(r,o)?aj(i,o):ij(i,o)}),i}});var Q0=h(()=>{"use strict";var sj=Z(),lj=K0(),cj=yr();sj({target:"Set",proto:!0,real:!0,forced:!cj("symmetricDifference")},{symmetricDifference:lj})});var X0=h((p8,Y0)=>{"use strict";var uj=hr(),dj=mr().add,pj=Pa(),fj=gr(),hj=vr();Y0.exports=function(t){var r=uj(this),n=fj(t).getIterator(),i=pj(r);return hj(n,function(o){dj(i,o)}),i}});var Z0=h(()=>{"use strict";var mj=Z(),vj=X0(),gj=yr();mj({target:"Set",proto:!0,real:!0,forced:!gj("union")},{union:vj})});var Fi=h((m8,eI)=>{"use strict";var yj=sn(),_j=String;eI.exports=function(e){if(yj(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return _j(e)}});var iI=h((v8,nI)=>{"use strict";var td=be(),bj=fi(),wj=Fi(),Ij=Nr(),Sj=td("".charAt),tI=td("".charCodeAt),xj=td("".slice),rI=function(e){return function(t,r){var n=wj(Ij(t)),i=bj(r),o=n.length,a,s;return i<0||i>=o?e?"":void 0:(a=tI(n,i),a<55296||a>56319||i+1===o||(s=tI(n,i+1))<56320||s>57343?e?Sj(n,i):a:e?xj(n,i,i+2):(a-55296<<10)+(s-56320)+65536)}};nI.exports={codeAt:rI(!1),charAt:rI(!0)}});var lI=h(()=>{"use strict";var Ej=iI().charAt,kj=Fi(),aI=jr(),Aj=da(),oI=pa(),sI="String Iterator",Tj=aI.set,Cj=aI.getterFor(sI);Aj(String,"String",function(e){Tj(this,{type:sI,string:kj(e),index:0})},function(){var t=Cj(this),r=t.string,n=t.index,i;return n>=r.length?oI(void 0,!0):(i=Ej(r,n),t.index+=i.length,oI(i,!1))})});var uI=h((_8,cI)=>{"use strict";ha();Du();u0();D0();M0();B0();$0();z0();Q0();Z0();lI();var Pj=Ot();cI.exports=Pj.Set});var pI=h((b8,dI)=>{"use strict";var Oj=uI();Gu();dI.exports=Oj});var hI=h((w8,fI)=>{fI.exports=pI()});var vI=h(mI=>{"use strict";mI.f=Object.getOwnPropertySymbols});var bI=h((S8,_I)=>{"use strict";var gI=Qe(),Rj=be(),Nj=It(),Dj=de(),rd=Iu(),Lj=vI(),qj=yc(),Fj=tn(),Mj=Jo(),hn=Object.assign,yI=Object.defineProperty,jj=Rj([].concat);_I.exports=!hn||Dj(function(){if(gI&&hn({b:1},hn(yI({},"a",{enumerable:!0,get:function(){yI(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}),hn({},e)[r]!==7||rd(hn({},t)).join("")!==n})?function(t,r){for(var n=Fj(t),i=arguments.length,o=1,a=Lj.f,s=qj.f;i>o;)for(var l=Mj(arguments[o++]),c=a?jj(rd(l),a(l)):rd(l),d=c.length,u=0,p;d>u;)p=c[u++],(!gI||Nj(s,l,p))&&(n[p]=l[p]);return n}:hn});var II=h(()=>{"use strict";var Uj=Z(),wI=bI();Uj({target:"Object",stat:!0,arity:2,forced:Object.assign!==wI},{assign:wI})});var xI=h((k8,SI)=>{"use strict";II();var Bj=Ot();SI.exports=Bj.Object.assign});var kI=h((A8,EI)=>{"use strict";var Jj=xI();EI.exports=Jj});var TI=h((T8,AI)=>{AI.exports=kI()});var nd=h((C8,CI)=>{"use strict";CI.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 RI=h((P8,OI)=>{"use strict";var Hj=be(),$j=Nr(),Vj=Fi(),od=nd(),PI=Hj("".replace),Gj=RegExp("^["+od+"]+"),zj=RegExp("(^|[^"+od+"])["+od+"]+$"),id=function(e){return function(t){var r=Vj($j(t));return e&1&&(r=PI(r,Gj,"")),e&2&&(r=PI(r,zj,"$1")),r}};OI.exports={start:id(1),end:id(2),trim:id(3)}});var qI=h((O8,LI)=>{"use strict";var Wj=gu().PROPER,Kj=de(),NI=nd(),DI="\u200B\x85\u180E";LI.exports=function(e){return Kj(function(){return!!NI[e]()||DI[e]()!==DI||Wj&&NI[e].name!==e})}});var FI=h(()=>{"use strict";var Qj=Z(),Yj=RI().trim,Xj=qI();Qj({target:"String",proto:!0,forced:Xj("trim")},{trim:function(){return Yj(this)}})});var jI=h((D8,MI)=>{"use strict";FI();var Zj=yt();MI.exports=Zj("String","trim")});var BI=h((L8,UI)=>{"use strict";var eU=Ke(),tU=jI(),ad=String.prototype;UI.exports=function(e){var t=e.trim;return typeof e=="string"||e===ad||eU(ad,e)&&t===ad.trim?tU:t}});var HI=h((q8,JI)=>{"use strict";var rU=BI();JI.exports=rU});var VI=h((F8,$I)=>{$I.exports=HI()});var WI=h(()=>{"use strict";var nU=Z(),GI=hi(),iU=$c(),oU=Ae(),zI=yu(),aU=an(),sU=dr(),lU=Kc(),cU=Je(),uU=gi(),dU=bi(),pU=uU("slice"),fU=cU("species"),sd=Array,hU=Math.max;nU({target:"Array",proto:!0,forced:!pU},{slice:function(t,r){var n=sU(this),i=aU(n),o=zI(t,i),a=zI(r===void 0?i:r,i),s,l,c;if(GI(n)&&(s=n.constructor,iU(s)&&(s===sd||GI(s.prototype))?s=void 0:oU(s)&&(s=s[fU],s===null&&(s=void 0)),s===sd||s===void 0))return dU(n,o,a);for(l=new(s===void 0?sd:s)(hU(a-o,0)),c=0;o<a;o++,c++)o in n&&lU(l,c,n[o]);return l.length=c,l}})});var QI=h((U8,KI)=>{"use strict";WI();var mU=yt();KI.exports=mU("Array","slice")});var XI=h((B8,YI)=>{"use strict";var vU=Ke(),gU=QI(),ld=Array.prototype;YI.exports=function(e){var t=e.slice;return e===ld||vU(ld,e)&&t===ld.slice?gU:t}});var eS=h((J8,ZI)=>{"use strict";var yU=XI();ZI.exports=yU});var rS=h((H8,tS)=>{tS.exports=eS()});var cd=k(()=>{});var iS=h((V8,nS)=>{"use strict";var _U=Ae(),bU=Gt(),wU=Je(),IU=wU("match");nS.exports=function(e){var t;return _U(e)&&((t=e[IU])!==void 0?!!t:bU(e)==="RegExp")}});var aS=h((G8,oS)=>{"use strict";var SU=iS(),xU=TypeError;oS.exports=function(e){if(SU(e))throw new xU("The method doesn't accept regular expressions");return e}});var lS=h((z8,sS)=>{"use strict";var EU=Je(),kU=EU("match");sS.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[kU]=!1,"/./"[e](t)}catch(n){}}return!1}});var dS=h(()=>{"use strict";var AU=Z(),TU=ai(),CU=Lc().f,PU=Bc(),cS=Fi(),OU=aS(),RU=Nr(),NU=lS(),DU=en(),LU=TU("".slice),qU=Math.min,uS=NU("startsWith"),FU=!DU&&!uS&&!!function(){var e=CU(String.prototype,"startsWith");return e&&!e.writable}();AU({target:"String",proto:!0,forced:!FU&&!uS},{startsWith:function(t){var r=cS(RU(this));OU(t);var n=PU(qU(arguments.length>1?arguments[1]:void 0,r.length)),i=cS(t);return LU(r,n,n+i.length)===i}})});var fS=h((Q8,pS)=>{"use strict";dS();var MU=yt();pS.exports=MU("String","startsWith")});var mS=h((Y8,hS)=>{"use strict";var jU=Ke(),UU=fS(),ud=String.prototype;hS.exports=function(e){var t=e.startsWith;return typeof e=="string"||e===ud||jU(ud,e)&&t===ud.startsWith?UU:t}});var gS=h((X8,vS)=>{"use strict";var BU=mS();vS.exports=BU});var _S=h((Z8,yS)=>{yS.exports=gS()});var xS=h((e7,SS)=>{"use strict";var wS=be(),JU=Dr(),HU=Ae(),$U=ct(),bS=bi(),VU=Xr(),IS=Function,GU=wS([].concat),zU=wS([].join),dd={},WU=function(e,t,r){if(!$U(dd,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";dd[t]=IS("C,a","return new C("+zU(n,",")+")")}return dd[t](e,r)};SS.exports=VU?IS.bind:function(t){var r=JU(this),n=r.prototype,i=bS(arguments,1),o=function(){var s=GU(i,bS(arguments));return this instanceof o?WU(r,s.length,s):r.apply(t,s)};return HU(n)&&(o.prototype=n),o}});var kS=h(()=>{"use strict";var KU=Z(),ES=xS();KU({target:"Function",proto:!0,forced:Function.bind!==ES},{bind:ES})});var TS=h((n7,AS)=>{"use strict";kS();var QU=yt();AS.exports=QU("Function","bind")});var PS=h((i7,CS)=>{"use strict";var YU=Ke(),XU=TS(),pd=Function.prototype;CS.exports=function(e){var t=e.bind;return e===pd||YU(pd,e)&&t===pd.bind?XU:t}});var RS=h((o7,OS)=>{"use strict";var ZU=PS();OS.exports=ZU});var DS=h((a7,NS)=>{NS.exports=RS()});function Qa(e,t){we.__h&&we.__h(ce,e,$i||t),$i=0;var r=ce.__H||(ce.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Mt(e){return $i=1,e2(Ix,e)}function e2(e,t,r){var n=Qa(_n++,2);if(n.t=e,!n.__c&&(n.__=[Ix(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=ce,!ce.__f)){var i=function(s,l,c){var d;if(!n.__c.__H)return!0;var u=(0,Nd.default)(d=n.__c.__H.__).call(d,function(f){return!!f.__c});if((0,gx.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,Te.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};ce.__f=!0;var o=ce.shouldComponentUpdate,a=ce.componentWillUpdate;ce.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)},ce.shouldComponentUpdate=i}return n.__N||n.__}function Br(e,t){var r=Qa(_n++,3);!we.__s&&wx(r.__H,t)&&(r.__=e,r.u=t,ce.__H.__h.push(r))}function Ui(e){return $i=5,Md(function(){return{current:e}},[])}function Md(e,t){var r=Qa(_n++,7);return wx(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function _t(e,t){return $i=8,Md(function(){return e},t)}function t2(e){var t=ce.context[e.__c],r=Qa(_n++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(ce)),t.props.value):e.__}function r2(){for(var e;e=bx.shift();)if(e.__P&&e.__H)try{var t,r;(0,Te.default)(t=e.__H.__h).call(t,La),(0,Te.default)(r=e.__H.__h).call(r,wd),e.__H.__h=[]}catch(n){e.__H.__h=[],we.__e(n,e.__v)}}function n2(e){var t,r=function(){clearTimeout(n),JS&&cancelAnimationFrame(t),(0,Ft.default)(e)},n=(0,Ft.default)(r,100);JS&&(t=requestAnimationFrame(r))}function La(e){var t=ce,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),ce=t}function wd(e){var t=ce;e.__c=e.__(),ce=t}function wx(e,t){return!e||e.length!==t.length||(0,Ha.default)(t).call(t,function(r,n){return r!==e[n]})}function Ix(e,t){return typeof t=="function"?t(e):t}function i2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Id(){throw new Error("setTimeout has not been defined")}function Sd(){throw new Error("clearTimeout has not been defined")}function xx(e){if(Rt===Ft.default)return(0,Ft.default)(e,0);if((Rt===Id||!Rt)&&Ft.default)return Rt=Ft.default,(0,Ft.default)(e,0);try{return Rt(e,0)}catch(t){try{return Rt.call(null,e,0)}catch(r){return Rt.call(this,e,0)}}}function o2(e){if(Nt===clearTimeout)return clearTimeout(e);if((Nt===Sd||!Nt)&&clearTimeout)return Nt=clearTimeout,clearTimeout(e);try{return Nt(e)}catch(t){try{return Nt.call(null,e)}catch(r){return Nt.call(this,e)}}}function a2(){!vn||!_r||(vn=!1,_r.length?Yt=(0,Ka.default)(_r).call(_r,Yt):qa=-1,Yt.length&&Ex())}function Ex(){if(!vn){var e=xx(a2);vn=!0;for(var t=Yt.length;t;){for(_r=Yt,Yt=[];++qa<t;)_r&&_r[qa].run();qa=-1,t=Yt.length}_r=null,vn=!1,o2(e)}}function kx(e,t){this.fun=e,this.array=t}function Zt(){}function c2(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 u2(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 h2(e,t){return qe(e,0)^45?(((t<<2^qe(e,0))<<2^qe(e,1))<<2^qe(e,2))<<2^qe(e,3):0}function Cx(e){return(0,qd.default)(e).call(e)}function m2(e,t){return(e=t.exec(e))?e[0]:e}function K(e,t,r){return e.replace(t,r)}function xd(e,t){return(0,Xt.default)(e).call(e,t)}function qe(e,t){return e.charCodeAt(t)|0}function Vi(e,t,r){return(0,Fd.default)(e).call(e,t,r)}function Dt(e){return e.length}function Jd(e){return e.length}function Oa(e,t){return t.push(e),e}function v2(e,t){return(0,Hi.default)(e).call(e,t).join("")}function Za(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Xa,column:bn,length:a,return:""}}function Mi(e,t){return f2(Za("",null,null,"",null,null,0),e,{length:-e.length},t)}function g2(){return Ie}function y2(){return Ie=et>0?qe(In,--et):0,bn--,Ie===10&&(bn=1,Xa--),Ie}function ut(){return Ie=et<Px?qe(In,et++):0,bn++,Ie===10&&(bn=1,Xa++),Ie}function jt(){return qe(In,et)}function Fa(){return et}function Yi(e,t){return Vi(In,e,t)}function Gi(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 Ox(e){return Xa=bn=1,Px=Dt(In=e),et=0,[]}function Rx(e){return In="",e}function Ma(e){return Cx(Yi(et-1,Ed(e===91?e+2:e===40?e+1:e)))}function _2(e){for(;(Ie=jt())&&Ie<33;)ut();return Gi(e)>2||Gi(Ie)>3?"":" "}function b2(e,t){for(;--t&&ut()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return Yi(e,Fa()+(t<6&&jt()==32&&ut()==32))}function Ed(e){for(;ut();)switch(Ie){case e:return et;case 34:case 39:e!==34&&e!==39&&Ed(Ie);break;case 40:e===41&&Ed(e);break;case 92:ut();break}return et}function w2(e,t){for(;ut()&&e+Ie!==57&&!(e+Ie===84&&jt()===47););return"/*"+Yi(t,et-1)+"*"+Ya(e===47?e:ut())}function I2(e){for(;!Gi(jt());)ut();return Yi(e,et)}function S2(e){return Rx(ja("",null,null,null,[""],e=Ox(e),0,[0],e))}function ja(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,E=I;_;)switch(m=b,b=ut()){case 40:if(m!=108&&qe(E,u-1)==58){xd(E+=K(Ma(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:E+=Ma(b);break;case 9:case 10:case 13:case 32:E+=_2(m);break;case 92:E+=b2(Fa()-1,7);continue;case 47:switch(jt()){case 42:case 47:Oa(x2(w2(ut(),Fa()),t,r),l);break;default:E+="/"}break;case 123*g:s[c++]=Dt(E)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:f>0&&Dt(E)-u&&Oa(f>32?$S(E+";",n,r,u-1):$S(K(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(Oa(O=HS(E,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)ja(E,t,O,O,A,o,u,s,C);else switch(p===99&&qe(E,3)===110?100:p){case 100:case 109:case 115:ja(e,O,O,n&&Oa(HS(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:ja(E,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=E="",u=a;break;case 58:u=1+Dt(E),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&y2()==125)continue}switch(E+=Ya(b),b*g){case 38:v=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(Dt(E)-1)*v,v=1;break;case 64:jt()===45&&(E+=Ma(ut())),p=jt(),d=u=Dt(I=E+=I2(Fa())),b++;break;case 45:m===45&&Dt(E)==2&&(g=0)}}return o}function HS(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=Jd(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=Vi(e,u+1,u=p2(g=a[m])),I=e;v<f;++v)(I=Cx(g>0?p[v]+" "+b:K(b,/&\f/g,p[v])))&&(l[_++]=I);return Za(e,t,r,i===0?Ud:s,l,c,d)}function x2(e,t,r){return Za(e,t,r,jd,Ya(g2()),Vi(e,2,-2),0)}function $S(e,t,r,n){return Za(e,t,r,Bd,Vi(e,0,n),Vi(e,n+1,-1),n)}function gn(e,t){for(var r="",n=Jd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function E2(e,t,r,n){switch(e.type){case d2:case Bd:return e.return=e.return||e.value;case jd:return"";case Tx:return e.return=e.value+"{"+gn(e.children,n)+"}";case Ud:e.value=e.props.join(",")}return Dt(r=gn(e.children,n))?e.return=e.value+"{"+r+"}":""}function k2(e){var t=Jd(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 A2(e){return function(t){t.root||(t=t.return)&&e(t)}}function Dx(e,t){switch(h2(e,t)){case 5103:return H+"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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Va+e+He+e+e;case 6828:case 4268:return H+e+He+e+e;case 6165:return H+e+He+"flex-"+e+e;case 5187:return H+e+K(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+He+"flex-$1$2")+e;case 5443:return H+e+He+"flex-item-"+K(e,/flex-|-self/,"")+e;case 4675:return H+e+He+"flex-line-pack"+K(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+He+K(e,"shrink","negative")+e;case 5292:return H+e+He+K(e,"basis","preferred-size")+e;case 6060:return H+"box-"+K(e,"-grow","")+H+e+He+K(e,"grow","positive")+e;case 4554:return H+K(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return K(K(K(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return K(K(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+He+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,H+"$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(Dt(e)-1-t>6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Va+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xd(e,"stretch")?Dx(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qe(e,t+1)!==115)break;case 6444:switch(qe(e,Dt(e)-3-(~xd(e,"!important")&&10))){case 107:return K(e,":",":"+H)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(qe(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+He+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+He+e+e}return e}function qx(){if(zS)return Ra.exports;zS=1;let e=qx();return Ra.exports={default:e},Ra.exports.default=e,Ra.exports}function zi(e,t,r){var n,i="";return(0,Te.default)(n=r.split(" ")).call(n,function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(i+=o+" ")}),i}function B2(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 H2(e){var t=(0,yx.default)(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function Wi(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 Lt={name:i.name,styles:i.styles,next:Lt},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)Lt={name:a.name,styles:a.styles,next:Lt},a=a.next;var s=o.styles+";";return s}return G2(e,t,r)}case"function":{if(e!==void 0){var l=Lt,c=r(e);return Lt=l,Wi(e,t,c)}break}}var d=r;if(t==null)return d;var u=t[d];return u!==void 0?u:d}function G2(e,t,r){var n="";if((0,Ji.default)(r))for(var i=0;i<r.length;i++)n+=Wi(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]+"}":WS(s)&&(n+=hd(o)+":"+KS(o,s)+";")}else if((0,Ji.default)(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)WS(a[l])&&(n+=hd(o)+":"+KS(o,a[l])+";");else{var c=Wi(e,t,a);switch(o){case"animation":case"animationName":{n+=hd(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function br(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="";Lt=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Wi(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Wi(r,t,e[s]),n){var l=o;i+=l[s]}QS.lastIndex=0;for(var c="",d;(d=QS.exec(i))!==null;)c+="-"+d[1];var u=B2(i)+c;return{name:u,styles:i,next:Lt}}function N(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return br(t)}function nB(e,t,r){var n=[],i=zi(e,n,r);return n.length<2?r:i+t(n)}function y(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:--aB,__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 R.vnode&&R.vnode(c),c}function Xi(){let e=()=>typeof window>"u"?"portrait":window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=Mt(e());return Br(()=>{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 aJ(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 zx(e){let t=window.getComputedStyle(document.body).transform,r="";t&&t!=="none"&&(r=aJ(t)),e.style.transform=r,e.style.transformOrigin="0 0"}function sJ(e){let t=()=>zx(e);return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),t(),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}}function uJ(s){var l=s,{elementTag:e="Image",src:t="",children:r,handleExposure:n,className:i,imgStyle:o}=l,a=Ue(l,["elementTag","src","children","handleExposure","className","imgStyle"]);let c=cJ(()=>{t&&n()});return e==="Image"?y("div",{className:i,style:{borderRadius:"8px"},children:Be("img",U(T({},a),{ref:c,src:t!=null?t:"",style:T({display:"block",width:"100%",height:"auto",objectFit:"cover",maxWidth:"100%",maxHeight:"100%",aspectRatio:"1 / 1",borderRadius:"8px"},o||{})}))}):y("div",U(T({},a),{ref:c,className:i,children:r}))}function dJ(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?Be(i.type,U(T({},i.props),{style:U(T({},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?Be(e.type,U(T({},e.props),{style:U(T({},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 vJ(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 lx(e,t,r){return ts.call(t,"css")?y(Gd,Bx(e,t),r):y(e,t,r)}function IJ(e,t,r){return ts.call(t,"css")?y(Gd,Bx(e,t),r):y(e,t,r)}function Pd({children:e,values:t={},style:r}){let n=e.split(/({{\s*\w+\s*}})/g);return y("div",{style:r,children:n.map((i,o)=>{let a=i.match(/^{{\s*(\w+)\s*}}$/);if(a){let s=a[1];return t[s]!==void 0?y(De,{children:t[s]},o):null}return y(De,{children:i},o)})})}function EJ({src:e,alt:t="",width:r=120,height:n=120,top:i="-60px",style:o={}}){let[a,s]=Mt(!1);return a?null:y("div",{style:T({position:"absolute",top:i,left:"50%",transform:"translateX(-50%)",zIndex:10,width:r,height:n},o),children:y("img",{src:e,alt:t,width:r,height:n,style:{display:"block",width:"100%",height:"100%",objectFit:"contain"},onError:()=>s(!0)})})}function TJ({children:e,style:t}){return y("div",{style:`${kJ.styles} ${t}`,children:[e,y("svg",{style:`${AJ.styles} `,width:"18",height:"10",viewBox:"0 0 18 10",children:[y("polygon",{points:"9,10 0,1 18,1",fill:"#ffffff52"}),y("polygon",{points:"9,9 2,1 16,1",fill:"#4F396D"})]})]})}function JJ(e,t){return Fe(e,0)^45?(((t<<2^Fe(e,0))<<2^Fe(e,1))<<2^Fe(e,2))<<2^Fe(e,3):0}function aE(e){return(0,qd.default)(e).call(e)}function HJ(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,r){return e.replace(t,r)}function Od(e,t){return(0,Xt.default)(e).call(e,t)}function Fe(e,t){return e.charCodeAt(t)|0}function Ki(e,t,r){return(0,Fd.default)(e).call(e,t,r)}function qt(e){return e.length}function Qd(e){return e.length}function Da(e,t){return t.push(e),e}function $J(e,t){return(0,Hi.default)(e).call(e,t).join("")}function as(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:os,column:wn,length:a,return:""}}function ji(e,t){return BJ(as("",null,null,"",null,null,0),e,{length:-e.length},t)}function VJ(){return Se}function GJ(){return Se=tt>0?Fe(En,--tt):0,wn--,Se===10&&(wn=1,os--),Se}function dt(){return Se=tt<sE?Fe(En,tt++):0,wn++,Se===10&&(wn=1,os++),Se}function Ut(){return Fe(En,tt)}function Ua(){return tt}function eo(e,t){return Ki(En,e,t)}function Qi(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 lE(e){return os=wn=1,sE=qt(En=e),tt=0,[]}function cE(e){return En="",e}function Ba(e){return aE(eo(tt-1,Rd(e===91?e+2:e===40?e+1:e)))}function zJ(e){for(;(Se=Ut())&&Se<33;)dt();return Qi(e)>2||Qi(Se)>3?"":" "}function WJ(e,t){for(;--t&&dt()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return eo(e,Ua()+(t<6&&Ut()==32&&dt()==32))}function Rd(e){for(;dt();)switch(Se){case e:return tt;case 34:case 39:e!==34&&e!==39&&Rd(Se);break;case 40:e===41&&Rd(e);break;case 92:dt();break}return tt}function KJ(e,t){for(;dt()&&e+Se!==57&&!(e+Se===84&&Ut()===47););return"/*"+eo(t,tt-1)+"*"+is(e===47?e:dt())}function QJ(e){for(;!Qi(Ut());)dt();return eo(e,tt)}function YJ(e){return cE(Ja("",null,null,null,[""],e=lE(e),0,[0],e))}function Ja(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,E=I;_;)switch(m=b,b=dt()){case 40:if(m!=108&&Fe(E,u-1)==58){Od(E+=V(Ba(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:E+=Ba(b);break;case 9:case 10:case 13:case 32:E+=zJ(m);break;case 92:E+=WJ(Ua()-1,7);continue;case 47:switch(Ut()){case 42:case 47:Da(XJ(KJ(dt(),Ua()),t,r),l);break;default:E+="/"}break;case 123*g:s[c++]=qt(E)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:v==-1&&(E=V(E,/\f/g,"")),f>0&&qt(E)-u&&Da(f>32?ux(E+";",n,r,u-1):ux(V(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(Da(O=cx(E,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)Ja(E,t,O,O,A,o,u,s,C);else switch(p===99&&Fe(E,3)===110?100:p){case 100:case 108:case 109:case 115:Ja(e,O,O,n&&Da(cx(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:Ja(E,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=E="",u=a;break;case 58:u=1+qt(E),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&GJ()==125)continue}switch(E+=is(b),b*g){case 38:v=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(qt(E)-1)*v,v=1;break;case 64:Ut()===45&&(E+=Ba(dt())),p=Ut(),d=u=qt(I=E+=QJ(Ua())),b++;break;case 45:m===45&&qt(E)==2&&(g=0)}}return o}function cx(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=Qd(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=Ki(e,u+1,u=UJ(g=a[m])),I=e;v<f;++v)(I=aE(g>0?p[v]+" "+b:V(b,/&\f/g,p[v])))&&(l[_++]=I);return as(e,t,r,i===0?Wd:s,l,c,d)}function XJ(e,t,r){return as(e,t,r,iE,is(VJ()),Ki(e,2,-2),0)}function ux(e,t,r,n){return as(e,t,r,Kd,Ki(e,0,n),Ki(e,n+1,-1),n)}function yn(e,t){for(var r="",n=Qd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function ZJ(e,t,r,n){switch(e.type){case jJ:if(e.children.length)break;case MJ:case Kd:return e.return=e.return||e.value;case iE:return"";case oE:return e.return=e.value+"{"+yn(e.children,n)+"}";case Wd:e.value=e.props.join(",")}return qt(r=yn(e.children,n))?e.return=e.value+"{"+r+"}":""}function e5(e){var t=Qd(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 t5(e){return function(t){t.root||(t=t.return)&&e(t)}}function uE(e,t){switch(JJ(e,t)){case 5103:return $+"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 $+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+Wa+e+$e+e+e;case 6828:case 4268:return $+e+$e+e+e;case 6165:return $+e+$e+"flex-"+e+e;case 5187:return $+e+V(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return $+e+$e+"flex-item-"+V(e,/flex-|-self/,"")+e;case 4675:return $+e+$e+"flex-line-pack"+V(e,/align-content|flex-|-self/,"")+e;case 5548:return $+e+$e+V(e,"shrink","negative")+e;case 5292:return $+e+$e+V(e,"basis","preferred-size")+e;case 6060:return $+"box-"+V(e,"-grow","")+$+e+$e+V(e,"grow","positive")+e;case 4554:return $+V(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,$+"$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(qt(e)-1-t>6)switch(Fe(e,t+1)){case 109:if(Fe(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+Wa+(Fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Od(e,"stretch")?uE(V(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fe(e,t+1)!==115)break;case 6444:switch(Fe(e,qt(e)-3-(~Od(e,"!important")&&10))){case 107:return V(e,":",":"+$)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(Fe(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(Fe(e,t+11)){case 114:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+$e+e+e}return e}function px(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function _d(e,t,r){var n=[],i=zi(e,n,r);return n.length<2?r:i+t(n)}function mx(e){if(e==="top"){let t=0;dE.forEach((r,n)=>{let i=r.querySelector(".toast");i&&(n===0?i.style.top=`max(${fx}px, env(safe-area-inset-top))`:i.style.top=`calc(max(${fx}px, env(safe-area-inset-top)) + ${t}px)`,t+=i.offsetHeight+hx)})}else if(e==="center"){let t=0;pE.forEach(r=>{let n=r.querySelector(".toast");n&&(n.style.top=`calc(50% + ${t}px)`,t+=n.offsetHeight+hx)})}}function to(){let e=!1,t=null,r=0,n=new Set,i=a=>w(this,null,function*(){let s=e;if(r++,e=!0,!s)try{let{iframe:l}=yield Bi.acquire(),c=l.contentDocument;if(c)t=c.createElement("div"),t.id="loading-root",c.body.appendChild(t),ur(y(y5,{}),t);else throw new Error("Iframe document is not available.")}catch(l){console.error("[LoadingManager] Failed to show loading:",l),r=0,e=!1,Bi.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&&(ur(null,t),(a=t.parentNode)==null||a.removeChild(t),t=null),Bi.release()))};return{show:i,hide:o,get isLoading(){return e}}}var Nd,gx,Te,Ka,Ha,Ft,$a,Ji,Dd,Xt,Hi,yx,_x,Ld,qd,Fd,d7,bd,_n,ce,fd,LS,$i,bx,we,qS,FS,MS,jS,US,BS,JS,Sx,ve,Rt,Nt,Yt,vn,_r,qa,s2,Ce,l2,Ax,He,Va,H,jd,Ud,Bd,d2,Tx,p2,Ya,f2,Xa,bn,Px,et,Ie,In,T2,C2,P2,VS,O2,R2,N2,D2,L2,Nx,q2,GS,F2,M2,j2,Lx,Ra,zS,U2,Hd,es,J2,$2,V2,Fx,WS,hd,KS,QS,Lt,z2,Mx,jx,YS,ts,$d,Ux,Vd,rs,W2,K2,Q2,Y2,X2,kd,Ad,Bx,Z2,Gd,eB,XS,tB,rB,iB,oB,md,ZS,vd,gd,aB,yd,sB,lB,cB,uB,dB,pB,ex,fB,hB,tx,mB,vB,rx,gB,yB,nx,_B,bB,wB,IB,SB,xB,EB,kB,ix,AB,TB,CB,PB,OB,RB,NB,DB,ox,LB,qB,FB,MB,jB,UB,BB,JB,HB,$B,VB,GB,zB,WB,KB,QB,YB,XB,ZB,eJ,tJ,rJ,nJ,iJ,Jx,Hx,$x,Td,oJ,Vx,Gx,Ga,Bi,ax,lJ,ns,cJ,Wx,Kx,Qx,pJ,fJ,hJ,Cd,mJ,Yx,za,Zi,Sn,sx,Ur,Xx,mn,gJ,yJ,_J,bJ,wJ,Na,Zx,zd,fe,SJ,xJ,kJ,AJ,Et,CJ,PJ,eE,tE,rE,nE,xn,OJ,RJ,NJ,DJ,LJ,qJ,FJ,$e,Wa,$,iE,Wd,Kd,MJ,oE,jJ,UJ,is,BJ,os,wn,sE,tt,Se,En,r5,n5,i5,dx,o5,a5,s5,l5,c5,u5,d5,p5,f5,h5,m5,v5,fx,hx,dE,pE,Jr,vx,g5,y5,p7,er=k(()=>{"use strict";Yr();Nd=ie(sg(),1),gx=ie(gg(),1),Te=ie(Pg(),1),Ka=ie(Vg(),1),Ha=ie(ey(),1),Ft=ie(yy(),1);ta();ta();$a=ie(r_(),1),Ji=ie(c_(),1),Dd=ie(Ew(),1),Xt=ie(Lw(),1),Hi=ie($w(),1),yx=ie(Yw(),1),_x=ie(hI(),1),Ld=ie(TI(),1),qd=ie(VI(),1),Fd=ie(rS(),1);cd();cd();d7=ie(_S(),1),bd=ie(DS(),1),$i=0,bx=[],we=R,qS=we.__b,FS=we.__r,MS=we.diffed,jS=we.__c,US=we.unmount,BS=we.__;we.__b=function(e){ce=null,qS&&qS(e)},we.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),BS&&BS(e,t)},we.__r=function(e){var t,r,n;FS&&FS(e),_n=0;var i=(ce=e.__c).__H;i&&(fd===ce?(i.__h=[],ce.__h=[],(0,Te.default)(t=i.__).call(t,function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):((0,Te.default)(r=i.__h).call(r,La),(0,Te.default)(n=i.__h).call(n,wd),i.__h=[],_n=0)),fd=ce},we.diffed=function(e){var t;MS&&MS(e);var r=e.__c;r&&r.__H&&(r.__H.__h.length&&(bx.push(r)!==1&&LS===we.requestAnimationFrame||((LS=we.requestAnimationFrame)||n2)(r2)),(0,Te.default)(t=r.__H.__).call(t,function(n){n.u&&(n.__H=n.u),n.u=void 0})),fd=ce=null},we.__c=function(e,t){(0,Ha.default)(t).call(t,function(r){try{var n,i;(0,Te.default)(n=r.__h).call(n,La),r.__h=(0,Nd.default)(i=r.__h).call(i,function(o){return!o.__||wd(o)})}catch(o){(0,Ha.default)(t).call(t,function(a){a.__h&&(a.__h=[])}),t=[],we.__e(o,r.__v)}}),jS&&jS(e,t)},we.unmount=function(e){var t;US&&US(e);var r,n=e.__c;n&&n.__H&&((0,Te.default)(t=n.__H.__).call(t,function(i){try{La(i)}catch(o){r=o}}),n.__H=void 0,r&&we.__e(r,n.__v))};JS=typeof requestAnimationFrame=="function";Sx={exports:{}},ve=Sx.exports={};(function(){try{typeof Ft.default=="function"?Rt=Ft.default:Rt=Id}catch(e){Rt=Id}try{typeof clearTimeout=="function"?Nt=clearTimeout:Nt=Sd}catch(e){Nt=Sd}})();Yt=[],vn=!1,qa=-1;ve.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];Yt.push(new kx(e,t)),Yt.length===1&&!vn&&xx(Ex)};kx.prototype.run=function(){this.fun.apply(null,this.array)};ve.title="browser";ve.browser=!0;ve.env={};ve.argv=[];ve.version="";ve.versions={};ve.on=Zt;ve.addListener=Zt;ve.once=Zt;ve.off=Zt;ve.removeListener=Zt;ve.removeAllListeners=Zt;ve.emit=Zt;ve.prependListener=Zt;ve.prependOnceListener=Zt;ve.listeners=function(e){return[]};ve.binding=function(e){throw new Error("process.binding is not supported")};ve.cwd=function(){return"/"};ve.chdir=function(e){throw new Error("process.chdir is not supported")};ve.umask=function(){return 0};s2=Sx.exports,Ce=i2(s2),l2=$a.default||void 0||self;Ax=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,Te.default)(r).call(r,this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(u2(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=c2(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){var r;(0,Te.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}(),He="-ms-",Va="-moz-",H="-webkit-",jd="comm",Ud="rule",Bd="decl",d2="@import",Tx="@keyframes",p2=Math.abs,Ya=String.fromCharCode,f2=Ld.default;Xa=1,bn=1,Px=0,et=0,Ie=0,In="";T2=function(e,t,r){for(var n=0,i=0;n=i,i=jt(),n===38&&i===12&&(t[r]=1),!Gi(i);)ut();return Yi(e,et)},C2=function(e,t){var r=-1,n=44;do switch(Gi(n)){case 0:n===38&&jt()===12&&(t[r]=1),e[r]+=T2(et-1,t,r);break;case 2:e[r]+=Ma(n);break;case 4:if(n===44){e[++r]=jt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ya(n)}while(n=ut());return e},P2=function(e,t){return Rx(C2(Ox(e),t))},VS=new Dd.default,O2=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&&!VS.get(r))&&!n){VS.set(e,!0);for(var i=[],o=P2(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]}}},R2=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},N2="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",D2=function(e){var t;return e.type==="comm"&&(0,Xt.default)(t=e.children).call(t,N2)>-1},L2=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(D2(l))return;break}}(0,Te.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".')})}}}},Nx=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},q2=function(e,t){for(var r=e-1;r>=0;r--)if(!Nx(t[r]))return!0;return!1},GS=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},F2=function(e,t,r){Nx(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."),GS(e)):q2(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),GS(e)))};M2=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Bd:e.return=Dx(e.value,e.length);break;case Tx:return gn([Mi(e,{value:K(e.value,"@","@"+H)})],n);case Ud:if(e.length)return v2(e.props,function(i){switch(m2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gn([Mi(e,{props:[K(i,/:(read-\w+)/,":"+Va+"$1")]})],n);case"::placeholder":return gn([Mi(e,{props:[K(i,/:(plac\w+)/,":"+H+"input-$1")]}),Mi(e,{props:[K(i,/:(plac\w+)/,":"+Va+"$1")]}),Mi(e,{props:[K(i,/:(plac\w+)/,He+"input-$1")]})],n)}return""})}},j2=[M2],Lx=function(e){var t=e.key;if(Ce.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,Te.default)(Array.prototype).call(r,function(m){var g=m.getAttribute("data-emotion");(0,Xt.default)(g).call(g," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||j2;if(Ce.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,Te.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[O2,R2];Ce.env.NODE_ENV!=="production"&&l.push(L2({get compat(){return f.compat}}),F2);{var c,d=[E2,Ce.env.NODE_ENV!=="production"?function(m){m.root||(m.return?c.insert(m.return):m.value&&m.type!==jd&&c.insert(m.value+"{}"))}:A2(function(m){c.insert(m)})],u=k2((0,Ka.default)(l).call(l,n,d)),p=function(m){return gn(S2(m),u)};s=function(m,g,_,v){c=_,Ce.env.NODE_ENV!=="production"&&(0,Hi.default)(g)!==void 0&&(c={insert:function(b){_.insert(b+(0,Hi.default)(g))}}),p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new Ax({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},Ra={exports:{}};qx();U2=!0;Hd=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||U2===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},es=function(e,t,r){Hd(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)}};J2={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};$2=/[A-Z]|^ms/g,V2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fx=function(e){return e.charCodeAt(1)===45},WS=function(e){return e!=null&&typeof e!="boolean"},hd=H2(function(e){return Fx(e)?e:e.replace($2,"-$&").toLowerCase()}),KS=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(V2,function(r,n,i){return Lt={name:n,styles:i,next:Lt},n})}return J2[e]!==1&&!Fx(e)&&typeof t=="number"&&t!==0?t+"px":t};QS=/label:\s*([^\s;{]+)\s*(;|$)/g;z2=function(e){return e()},Mx=ou?ou:!1,jx=Mx||z2,YS=Mx||ln,ts={}.hasOwnProperty,$d=Or(typeof HTMLElement<"u"?Lx({key:"css"}):null);Ce.env.NODE_ENV!=="production"&&($d.displayName="EmotionCacheContext");Ux=$d.Provider,Vd=function(e){return su(function(t,r){var n=un($d);return e(t,n,r)})},rs=Or({});Ce.env.NODE_ENV!=="production"&&(rs.displayName="EmotionThemeContext");W2=function(e){var t=e.split(".");return t[t.length-1]},K2=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 W2(t[1])},Q2=new _x.default(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Y2=function(e){return e.replace(/\$/g,"-")},X2=function(e){if(e)for(var t=e.split(`
22
- `),r=0;r<t.length;r++){var n=K2(t[r]);if(n){if(Q2.has(n))break;if(/^[A-Z]/.test(n))return Y2(n)}}},kd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ad="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Bx=function(e,t){var r,n;if(Ce.env.NODE_ENV!=="production"&&typeof t.css=="string"&&(0,Xt.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)ts.call(t,o)&&(i[o]=t[o]);if(i[kd]=e,Ce.env.NODE_ENV!=="production"&&t.css&&(typeof t.css!="object"||typeof t.css.name!="string"||(0,Xt.default)(n=t.css.name).call(n,"-")===-1)){var a=X2(new Error().stack);a&&(i[Ad]=a)}return i},Z2=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Hd(t,r,n),jx(function(){return es(t,r,n)}),null},Gd=Vd(function(e,t,r){var n,i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[kd],a=[i],s="";typeof e.className=="string"?s=zi(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var l=br(a,void 0,un(rs));if(Ce.env.NODE_ENV!=="production"&&(0,Xt.default)(n=l.name).call(n,"-")===-1){var c=e[Ad];c&&(l=br([l,"label:"+c+";"]))}s+=t.key+"-"+l.name;var d={};for(var u in e)ts.call(e,u)&&u!=="css"&&u!==kd&&(Ce.env.NODE_ENV==="production"||u!==Ad)&&(d[u]=e[u]);return d.ref=r,d.className=s,Be(De,null,Be(Z2,{cache:t,serialized:l,isStringTag:typeof o=="string"}),Be(o,d))});Ce.env.NODE_ENV!=="production"&&(Gd.displayName="EmotionCssPropInternal");eB={version:"11.10.5"},XS=!1,tB=Vd(function(e,t){Ce.env.NODE_ENV!=="production"&&!XS&&(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?"),XS=!0);var r=e.styles,n=br([r],void 0,un(rs)),i=xi();return YS(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]),YS(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&es(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});Ce.env.NODE_ENV!=="production"&&(tB.displayName="EmotionGlobal");rB=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,Ji.default)(o))a=e(o);else{Ce.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};iB=function(e){var t=e.cache,r=e.serializedArr;return jx(function(){for(var n=0;n<r.length;n++)es(t,r[n],!1)}),null},oB=Vd(function(e,t){var r=!1,n=[],i=function(){if(r&&Ce.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=br(c,t.registered);return n.push(u),Hd(t,u,!1),t.key+"-"+u.name},o=function(){if(r&&Ce.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 nB(t.registered,i,rB(c))},a={css:i,cx:o,theme:un(rs)},s=e.children(a);return r=!0,Be(De,null,Be(iB,{cache:t,serializedArr:n}),s)});Ce.env.NODE_ENV!=="production"&&(oB.displayName="EmotionClassNames");Ce.env.NODE_ENV!=="production"&&(md=!0,ZS=typeof jest<"u"||typeof vi<"u",md&&!ZS&&(vd=typeof $a.default<"u"?$a.default:md?window:l2,gd="__EMOTION_REACT_"+eB.version.split(".")[0]+"__",vd[gd]&&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."),vd[gd]=!0));aB=0;yd={drawerBackdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"transparent",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"},centerDrawer:{backgroundColor:"transparent",minWidth:"320px",maxWidth:"90vw",maxHeight:"90vh",width:"auto",position:"relative",display:"block",margin:"0 auto",overflowY:"auto"}},sB=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}=E.viewport;document.documentElement.style.setProperty("--status-bar-height",`${s}px`),document.documentElement.style.setProperty("--navigation-bar-height",`${l}px`)},o=()=>{function s(c){return w(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 Lh=k(()=>{"use strict";Q()});var qh=k(()=>{"use strict"});var Fh=k(()=>{"use strict";D();Wl()});var Mh=k(()=>{"use strict";Q()});var qo,oc=k(()=>{"use strict";qh();Fh();Q();Mh();D();qo=new Ot});function Vt(e,t){for(var r in t)e[r]=t[r];return e}function dc(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Be(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?jo.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 Mo(e,a,n,i,null)}function Mo(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?++Jh:i,__i:-1,__u:0};return i==null&&R.vnode!=null&&R.vnode(o),o}function De(e){return e.children}function lt(e,t){this.props=e,this.context=t}function Qr(e,t){if(t==null)return e.__?Qr(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"?Qr(e):null}function Wh(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 Wh(e)}}function lc(e){(!e.__d&&(e.__d=!0)&&Pr.push(e)&&!Uo.__r++||Uh!==R.debounceRendering)&&((Uh=R.debounceRendering)||Hh)(Uo)}function Uo(){for(var e,t,r,n,i,o,a,s=1;Pr.length;)Pr.length>s&&Pr.sort($h),e=Pr.shift(),s=Pr.length,e.__d&&(r=void 0,i=(n=(t=e).__v).__e,o=[],a=[],t.__P&&((r=Vt({},n)).__v=n.__v+1,R.vnode&&R.vnode(r),pc(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,i==null?Qr(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,Yh(o,r,a),r.__e!=i&&Wh(r)));Uo.__r=0}function Kh(e,t,r,n,i,o,a,s,l,c,d){var u,p,f,m,g,_,v=n&&n.__k||zh,b=t.length;for(l=JT(r,t,v,l,b),u=0;u<b;u++)(f=r.__k[u])!=null&&(p=f.__i===-1?ri:v[f.__i]||ri,f.__i=u,_=pc(e,f,p,i,o,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&fc(p.ref,null,f),d.push(f.ref,f.__c||m,f)),g==null&&m!=null&&(g=m),4&f.__u||p.__k===f.__k?l=Qh(f,l,e):typeof f.type=="function"&&_!==void 0?l=_:m&&(l=m.nextSibling),f.__u&=-7);return r.__e=g,l}function JT(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?Mo(null,a,null,null,null):ni(a)?Mo(De,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?Mo(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=HT(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=Qr(s)),Zh(s,s));return n}function Qh(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=Qh(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Qr(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function ii(e,t){return t=t||[],e==null||typeof e=="boolean"||(ni(e)?e.some(function(r){ii(r,t)}):t.push(e)),t}function HT(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 jh(e,t,r){t[0]=="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||BT.test(t)?r:r+"px"}function Fo(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||jh(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||jh(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(Vh,"$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=uc,e.addEventListener(t,o?sc:ac,o)):e.removeEventListener(t,o?sc:ac,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 Bh(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.u==null)t.u=uc++;else if(t.u<r.t)return;return r(R.event?R.event(t):t)}}}function pc(e,t,r,n,i,o,a,s,l,c){var d,u,p,f,m,g,_,v,b,I,A,C,O,x,P,J,We,q=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=R.__b)&&d(t);e:if(typeof q=="function")try{if(v=t.props,b="prototype"in q&&q.prototype.render,I=(d=q.contextType)&&n[d.__c],A=d?I?I.props.value:d.__:n,r.__c?_=(u=t.__c=r.__c).__=u.__E:(b?t.__c=u=new q(v,A):(t.__c=u=new lt(v,A),u.constructor=q,u.render=VT),I&&I.sub(u),u.props=v,u.state||(u.state={}),u.context=A,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),b&&u.__s==null&&(u.__s=u.state),b&&q.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Vt({},u.__s)),Vt(u.__s,q.getDerivedStateFromProps(v,u.__s))),f=u.props,m=u.state,u.__v=t,p)b&&q.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),b&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(b&&q.getDerivedStateFromProps==null&&v!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(v,A),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(v,u.__s,A)===!1||t.__v==r.__v)){for(t.__v!=r.__v&&(u.props=v,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(Re){Re&&(Re.__=t)}),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(v,u.__s,A),b&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,m,g)})}if(u.context=A,u.props=v,u.__P=e,u.__e=!1,O=R.__r,x=0,b){for(u.state=u.__s,u.__d=!1,O&&O(t),d=u.render(u.props,u.state,u.context),P=0;P<u._sb.length;P++)u.__h.push(u._sb[P]);u._sb=[]}else do u.__d=!1,O&&O(t),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++x<25);u.state=u.__s,u.getChildContext!=null&&(n=Vt(Vt({},n),u.getChildContext())),b&&!p&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(f,m)),J=d,d!=null&&d.type===De&&d.key==null&&(J=Xh(d.props.children)),s=Kh(e,ni(J)?J:[J],t,r,n,i,o,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),_&&(u.__E=u.__=null)}catch(Re){if(t.__v=null,l||o!=null)if(Re.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(We=o.length;We--;)dc(o[We]);else t.__e=r.__e,t.__k=r.__k;R.__e(Re,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=$T(r.__e,t,r,n,i,o,a,l,c);return(d=R.diffed)&&d(t),128&t.__u?void 0:s}function Yh(e,t,r){for(var n=0;n<r.length;n++)fc(r[n],r[++n],r[++n]);R.__c&&R.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){R.__e(o,i.__v)}})}function Xh(e){return typeof e!="object"||e==null?e:ni(e)?e.map(Xh):Vt({},e)}function $T(e,t,r,n,i,o,a,s,l){var c,d,u,p,f,m,g,_=r.props,v=t.props,b=t.type;if(b=="svg"?i="http://www.w3.org/2000/svg":b=="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==!!b&&(b?f.localName==b:f.nodeType==3)){e=f,o[c]=null;break}}if(e==null){if(b==null)return document.createTextNode(v);e=document.createElementNS(i,b,v.is&&v),s&&(R.__m&&R.__m(t,o),s=!1),o=null}if(b===null)_===v||s&&e.data===v||(e.data=v);else{if(o=o&&jo.call(e.childNodes),_=r.props||ri,!s&&o!=null)for(_={},c=0;c<e.attributes.length;c++)_[(f=e.attributes[c]).name]=f.value;for(c in _)if(f=_[c],c!="children"){if(c=="dangerouslySetInnerHTML")u=f;else if(!(c in v)){if(c=="value"&&"defaultValue"in v||c=="checked"&&"defaultChecked"in v)continue;Fo(e,c,null,f,i)}}for(c in v)f=v[c],c=="children"?p=f:c=="dangerouslySetInnerHTML"?d=f:c=="value"?m=f:c=="checked"?g=f:s&&typeof f!="function"||_[c]===f||Fo(e,c,f,_[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=""),Kh(t.type==="template"?e.content:e,ni(p)?p:[p],t,r,n,b=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:r.__k&&Qr(r,0),s,l),o!=null)for(c=o.length;c--;)dc(o[c]);s||(c="value",b=="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[c]||b=="progress"&&!m||b=="option"&&m!==_[c])&&Fo(e,c,m,_[c],i),c="checked",g!==void 0&&g!==e[c]&&Fo(e,c,g,_[c],i))}return e}function fc(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){R.__e(i,r)}}function Zh(e,t,r){var n,i;if(R.unmount&&R.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||fc(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){R.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Zh(n[i],t,r||typeof e.type!="function");r||dc(e.__e),e.__c=e.__=e.__e=void 0}function VT(e,t,r){return this.constructor(e,r)}function ur(e,t,r){var n,i,o,a;t==document&&(t=document.documentElement),R.__&&R.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],pc(t,e=(!n&&r||t).__k=Be(De,null,[e]),i||ri,ri,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?jo.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),Yh(o,e,a)}function Or(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,lc(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"+Gh++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}var jo,R,Jh,cc,Pr,Uh,Hh,$h,Vh,uc,ac,sc,Gh,ri,zh,BT,ni,Yr=k(()=>{ri={},zh=[],BT=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ni=Array.isArray;jo=zh.slice,R={__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}},Jh=0,cc=function(e){return e!=null&&e.constructor==null},lt.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Vt({},this.state),typeof e=="function"&&(e=e(Vt({},r),this.props)),e&&Vt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),lc(this))},lt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),lc(this))},lt.prototype.render=De,Pr=[],Hh=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$h=function(e,t){return e.__v.__b-t.__v.__b},Uo.__r=0,Vh=/(PointerCapture)$|Capture$/i,uc=0,ac=Bh(!1),sc=Bh(!0),Gh=0});var de=h((MV,em)=>{"use strict";em.exports=function(e){try{return!!e()}catch(t){return!0}}});var Xr=h((UV,tm)=>{"use strict";var GT=de();tm.exports=!GT(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var be=h((jV,im)=>{"use strict";var rm=Xr(),nm=Function.prototype,hc=nm.call,zT=rm&&nm.bind.bind(hc,hc);im.exports=rm?zT:function(e){return function(){return hc.apply(e,arguments)}}});var Ke=h((BV,om)=>{"use strict";var WT=be();om.exports=WT({}.isPrototypeOf)});var pe=h((mc,am)=>{"use strict";var oi=function(e){return e&&e.Math===Math&&e};am.exports=oi(typeof globalThis=="object"&&globalThis)||oi(typeof window=="object"&&window)||oi(typeof self=="object"&&self)||oi(typeof global=="object"&&global)||oi(typeof mc=="object"&&mc)||function(){return this}()||Function("return this")()});var vc=h((JV,um)=>{"use strict";var KT=Xr(),cm=Function.prototype,sm=cm.apply,lm=cm.call;um.exports=typeof Reflect=="object"&&Reflect.apply||(KT?lm.bind(sm):function(){return lm.apply(sm,arguments)})});var Gt=h((HV,pm)=>{"use strict";var dm=be(),QT=dm({}.toString),YT=dm("".slice);pm.exports=function(e){return YT(QT(e),8,-1)}});var ai=h(($V,fm)=>{"use strict";var XT=Gt(),ZT=be();fm.exports=function(e){if(XT(e)==="Function")return ZT(e)}});var Le=h((VV,hm)=>{"use strict";var gc=typeof document=="object"&&document.all;hm.exports=typeof gc=="undefined"&&gc!==void 0?function(e){return typeof e=="function"||e===gc}:function(e){return typeof e=="function"}});var Qe=h((GV,mm)=>{"use strict";var eC=de();mm.exports=!eC(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var St=h((zV,vm)=>{"use strict";var tC=Xr(),Bo=Function.prototype.call;vm.exports=tC?Bo.bind(Bo):function(){return Bo.apply(Bo,arguments)}});var yc=h(_m=>{"use strict";var gm={}.propertyIsEnumerable,ym=Object.getOwnPropertyDescriptor,rC=ym&&!gm.call({1:2},1);_m.f=rC?function(t){var r=ym(this,t);return!!r&&r.enumerable}:gm});var si=h((KV,bm)=>{"use strict";bm.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var Jo=h((QV,wm)=>{"use strict";var nC=be(),iC=de(),oC=Gt(),_c=Object,aC=nC("".split);wm.exports=iC(function(){return!_c("z").propertyIsEnumerable(0)})?function(e){return oC(e)==="String"?aC(e,""):_c(e)}:_c});var Rr=h((YV,Im)=>{"use strict";Im.exports=function(e){return e==null}});var Nr=h((XV,Sm)=>{"use strict";var sC=Rr(),lC=TypeError;Sm.exports=function(e){if(sC(e))throw new lC("Can't call method on "+e);return e}});var dr=h((ZV,Em)=>{"use strict";var cC=Jo(),uC=Nr();Em.exports=function(e){return cC(uC(e))}});var Ae=h((eG,xm)=>{"use strict";var dC=Le();xm.exports=function(e){return typeof e=="object"?e!==null:dC(e)}});var Rt=h((tG,km)=>{"use strict";km.exports={}});var Zr=h((rG,Tm)=>{"use strict";var bc=Rt(),wc=pe(),pC=Le(),Am=function(e){return pC(e)?e:void 0};Tm.exports=function(e,t){return arguments.length<2?Am(bc[e])||Am(wc[e]):bc[e]&&bc[e][t]||wc[e]&&wc[e][t]}});var Ho=h((nG,Om)=>{"use strict";var fC=pe(),Cm=fC.navigator,Pm=Cm&&Cm.userAgent;Om.exports=Pm?String(Pm):""});var Vo=h((iG,Fm)=>{"use strict";var qm=pe(),Ic=Ho(),Rm=qm.process,Nm=qm.Deno,Dm=Rm&&Rm.versions||Nm&&Nm.version,Lm=Dm&&Dm.v8,Et,$o;Lm&&(Et=Lm.split("."),$o=Et[0]>0&&Et[0]<4?1:+(Et[0]+Et[1]));!$o&&Ic&&(Et=Ic.match(/Edge\/(\d+)/),(!Et||Et[1]>=74)&&(Et=Ic.match(/Chrome\/(\d+)/),Et&&($o=+Et[1])));Fm.exports=$o});var Sc=h((oG,Um)=>{"use strict";var Mm=Vo(),hC=de(),mC=pe(),vC=mC.String;Um.exports=!!Object.getOwnPropertySymbols&&!hC(function(){var e=Symbol("symbol detection");return!vC(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Mm&&Mm<41})});var Ec=h((aG,jm)=>{"use strict";var gC=Sc();jm.exports=gC&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var xc=h((sG,Bm)=>{"use strict";var yC=Zr(),_C=Le(),bC=Ke(),wC=Ec(),IC=Object;Bm.exports=wC?function(e){return typeof e=="symbol"}:function(e){var t=yC("Symbol");return _C(t)&&bC(t.prototype,IC(e))}});var li=h((lG,Jm)=>{"use strict";var SC=String;Jm.exports=function(e){try{return SC(e)}catch(t){return"Object"}}});var Dr=h((cG,Hm)=>{"use strict";var EC=Le(),xC=li(),kC=TypeError;Hm.exports=function(e){if(EC(e))return e;throw new kC(xC(e)+" is not a function")}});var Go=h((uG,$m)=>{"use strict";var AC=Dr(),TC=Rr();$m.exports=function(e,t){var r=e[t];return TC(r)?void 0:AC(r)}});var Gm=h((dG,Vm)=>{"use strict";var kc=St(),Ac=Le(),Tc=Ae(),CC=TypeError;Vm.exports=function(e,t){var r,n;if(t==="string"&&Ac(r=e.toString)&&!Tc(n=kc(r,e))||Ac(r=e.valueOf)&&!Tc(n=kc(r,e))||t!=="string"&&Ac(r=e.toString)&&!Tc(n=kc(r,e)))return n;throw new CC("Can't convert object to primitive value")}});var en=h((pG,zm)=>{"use strict";zm.exports=!0});var Qm=h((fG,Km)=>{"use strict";var Wm=pe(),PC=Object.defineProperty;Km.exports=function(e,t){try{PC(Wm,e,{value:t,configurable:!0,writable:!0})}catch(r){Wm[e]=t}return t}});var ci=h((hG,Zm)=>{"use strict";var OC=en(),RC=pe(),NC=Qm(),Ym="__core-js_shared__",Xm=Zm.exports=RC[Ym]||NC(Ym,{});(Xm.versions||(Xm.versions=[])).push({version:"3.41.0",mode:OC?"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 Cc=h((mG,tv)=>{"use strict";var ev=ci();tv.exports=function(e,t){return ev[e]||(ev[e]=t||{})}});var tn=h((vG,rv)=>{"use strict";var DC=Nr(),LC=Object;rv.exports=function(e){return LC(DC(e))}});var ct=h((gG,nv)=>{"use strict";var qC=be(),FC=tn(),MC=qC({}.hasOwnProperty);nv.exports=Object.hasOwn||function(t,r){return MC(FC(t),r)}});var zo=h((yG,iv)=>{"use strict";var UC=be(),jC=0,BC=Math.random(),JC=UC(1 .toString);iv.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+JC(++jC+BC,36)}});var Je=h((_G,av)=>{"use strict";var HC=pe(),$C=Cc(),ov=ct(),VC=zo(),GC=Sc(),zC=Ec(),rn=HC.Symbol,Pc=$C("wks"),WC=zC?rn.for||rn:rn&&rn.withoutSetter||VC;av.exports=function(e){return ov(Pc,e)||(Pc[e]=GC&&ov(rn,e)?rn[e]:WC("Symbol."+e)),Pc[e]}});var uv=h((bG,cv)=>{"use strict";var KC=St(),sv=Ae(),lv=xc(),QC=Go(),YC=Gm(),XC=Je(),ZC=TypeError,eP=XC("toPrimitive");cv.exports=function(e,t){if(!sv(e)||lv(e))return e;var r=QC(e,eP),n;if(r){if(t===void 0&&(t="default"),n=KC(r,e,t),!sv(n)||lv(n))return n;throw new ZC("Can't convert object to primitive value")}return t===void 0&&(t="number"),YC(e,t)}});var Oc=h((wG,dv)=>{"use strict";var tP=uv(),rP=xc();dv.exports=function(e){var t=tP(e,"string");return rP(t)?t:t+""}});var Nc=h((IG,fv)=>{"use strict";var nP=pe(),pv=Ae(),Rc=nP.document,iP=pv(Rc)&&pv(Rc.createElement);fv.exports=function(e){return iP?Rc.createElement(e):{}}});var Dc=h((SG,hv)=>{"use strict";var oP=Qe(),aP=de(),sP=Nc();hv.exports=!oP&&!aP(function(){return Object.defineProperty(sP("div"),"a",{get:function(){return 7}}).a!==7})});var Lc=h(vv=>{"use strict";var lP=Qe(),cP=St(),uP=yc(),dP=si(),pP=dr(),fP=Oc(),hP=ct(),mP=Dc(),mv=Object.getOwnPropertyDescriptor;vv.f=lP?mv:function(t,r){if(t=pP(t),r=fP(r),mP)try{return mv(t,r)}catch(n){}if(hP(t,r))return dP(!cP(uP.f,t,r),t[r])}});var yv=h((xG,gv)=>{"use strict";var vP=de(),gP=Le(),yP=/#|\.prototype\./,ui=function(e,t){var r=bP[_P(e)];return r===IP?!0:r===wP?!1:gP(t)?vP(t):!!t},_P=ui.normalize=function(e){return String(e).replace(yP,".").toLowerCase()},bP=ui.data={},wP=ui.NATIVE="N",IP=ui.POLYFILL="P";gv.exports=ui});var di=h((kG,bv)=>{"use strict";var _v=ai(),SP=Dr(),EP=Xr(),xP=_v(_v.bind);bv.exports=function(e,t){return SP(e),t===void 0?e:EP?xP(e,t):function(){return e.apply(t,arguments)}}});var qc=h((AG,wv)=>{"use strict";var kP=Qe(),AP=de();wv.exports=kP&&AP(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var zt=h((TG,Iv)=>{"use strict";var TP=Ae(),CP=String,PP=TypeError;Iv.exports=function(e){if(TP(e))return e;throw new PP(CP(e)+" is not an object")}});var Wt=h(Ev=>{"use strict";var OP=Qe(),RP=Dc(),NP=qc(),Wo=zt(),Sv=Oc(),DP=TypeError,Fc=Object.defineProperty,LP=Object.getOwnPropertyDescriptor,Mc="enumerable",Uc="configurable",jc="writable";Ev.f=OP?NP?function(t,r,n){if(Wo(t),r=Sv(r),Wo(n),typeof t=="function"&&r==="prototype"&&"value"in n&&jc in n&&!n[jc]){var i=LP(t,r);i&&i[jc]&&(t[r]=n.value,n={configurable:Uc in n?n[Uc]:i[Uc],enumerable:Mc in n?n[Mc]:i[Mc],writable:!1})}return Fc(t,r,n)}:Fc:function(t,r,n){if(Wo(t),r=Sv(r),Wo(n),RP)try{return Fc(t,r,n)}catch(i){}if("get"in n||"set"in n)throw new DP("Accessors not supported");return"value"in n&&(t[r]=n.value),t}});var Lr=h((PG,xv)=>{"use strict";var qP=Qe(),FP=Wt(),MP=si();xv.exports=qP?function(e,t,r){return FP.f(e,t,MP(1,r))}:function(e,t,r){return e[t]=r,e}});var Z=h((OG,Av)=>{"use strict";var pi=pe(),UP=vc(),jP=ai(),BP=Le(),JP=Lc().f,HP=yv(),nn=Rt(),$P=di(),on=Lr(),kv=ct();ci();var VP=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 UP(e,this,arguments)};return t.prototype=e.prototype,t};Av.exports=function(e,t){var r=e.target,n=e.global,i=e.stat,o=e.proto,a=n?pi:i?pi[r]:pi[r]&&pi[r].prototype,s=n?nn:nn[r]||on(nn,r,{})[r],l=s.prototype,c,d,u,p,f,m,g,_,v;for(p in t)c=HP(n?p:r+(i?".":"#")+p,e.forced),d=!c&&a&&kv(a,p),m=s[p],d&&(e.dontCallGetSet?(v=JP(a,p),g=v&&v.value):g=a[p]),f=d&&g?g:t[p],!(!c&&!o&&typeof m==typeof f)&&(e.bind&&d?_=$P(f,pi):e.wrap&&d?_=VP(f):o&&BP(f)?_=jP(f):_=f,(e.sham||f&&f.sham||m&&m.sham)&&on(_,"sham",!0),on(s,p,_),o&&(u=r+"Prototype",kv(nn,u)||on(nn,u,{}),on(nn[u],p,f),e.real&&l&&(c||!l[p])&&on(l,p,f)))}});var Cv=h((RG,Tv)=>{"use strict";var GP=Math.ceil,zP=Math.floor;Tv.exports=Math.trunc||function(t){var r=+t;return(r>0?zP:GP)(r)}});var fi=h((NG,Pv)=>{"use strict";var WP=Cv();Pv.exports=function(e){var t=+e;return t!==t||t===0?0:WP(t)}});var Bc=h((DG,Ov)=>{"use strict";var KP=fi(),QP=Math.min;Ov.exports=function(e){var t=KP(e);return t>0?QP(t,9007199254740991):0}});var an=h((LG,Rv)=>{"use strict";var YP=Bc();Rv.exports=function(e){return YP(e.length)}});var hi=h((qG,Nv)=>{"use strict";var XP=Gt();Nv.exports=Array.isArray||function(t){return XP(t)==="Array"}});var Ko=h((FG,Lv)=>{"use strict";var ZP=Je(),eO=ZP("toStringTag"),Dv={};Dv[eO]="z";Lv.exports=String(Dv)==="[object z]"});var sn=h((MG,qv)=>{"use strict";var tO=Ko(),rO=Le(),Qo=Gt(),nO=Je(),iO=nO("toStringTag"),oO=Object,aO=Qo(function(){return arguments}())==="Arguments",sO=function(e,t){try{return e[t]}catch(r){}};qv.exports=tO?Qo:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=sO(t=oO(e),iO))=="string"?r:aO?Qo(t):(n=Qo(t))==="Object"&&rO(t.callee)?"Arguments":n}});var Mv=h((UG,Fv)=>{"use strict";var lO=be(),cO=Le(),Jc=ci(),uO=lO(Function.toString);cO(Jc.inspectSource)||(Jc.inspectSource=function(e){return uO(e)});Fv.exports=Jc.inspectSource});var $c=h((jG,Hv)=>{"use strict";var dO=be(),pO=de(),Uv=Le(),fO=sn(),hO=Zr(),mO=Mv(),jv=function(){},Bv=hO("Reflect","construct"),Hc=/^\s*(?:class|function)\b/,vO=dO(Hc.exec),gO=!Hc.test(jv),mi=function(t){if(!Uv(t))return!1;try{return Bv(jv,[],t),!0}catch(r){return!1}},Jv=function(t){if(!Uv(t))return!1;switch(fO(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return gO||!!vO(Hc,mO(t))}catch(r){return!0}};Jv.sham=!0;Hv.exports=!Bv||pO(function(){var e;return mi(mi.call)||!mi(Object)||!mi(function(){e=!0})||e})?Jv:mi});var zv=h((BG,Gv)=>{"use strict";var $v=hi(),yO=$c(),_O=Ae(),bO=Je(),wO=bO("species"),Vv=Array;Gv.exports=function(e){var t;return $v(e)&&(t=e.constructor,yO(t)&&(t===Vv||$v(t.prototype))?t=void 0:_O(t)&&(t=t[wO],t===null&&(t=void 0))),t===void 0?Vv:t}});var Vc=h((JG,Wv)=>{"use strict";var IO=zv();Wv.exports=function(e,t){return new(IO(e))(t===0?0:t)}});var fr=h((HG,Qv)=>{"use strict";var SO=di(),EO=be(),xO=Jo(),kO=tn(),AO=an(),TO=Vc(),Kv=EO([].push),pr=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=kO(l),f=xO(p),m=AO(f),g=SO(c,d),_=0,v=u||TO,b=t?v(l,m):r||a?v(l,0):void 0,I,A;m>_;_++)if((s||_ in f)&&(I=f[_],A=g(I,_,p),e))if(t)b[_]=A;else if(A)switch(e){case 3:return!0;case 5:return I;case 6:return _;case 2:Kv(b,I)}else switch(e){case 4:return!1;case 7:Kv(b,I)}return o?-1:n||i?i:b}};Qv.exports={forEach:pr(0),map:pr(1),filter:pr(2),some:pr(3),every:pr(4),find:pr(5),findIndex:pr(6),filterReject:pr(7)}});var gi=h(($G,Yv)=>{"use strict";var CO=de(),PO=Je(),OO=Vo(),RO=PO("species");Yv.exports=function(e){return OO>=51||!CO(function(){var t=[],r=t.constructor={};return r[RO]=function(){return{foo:1}},t[e](Boolean).foo!==1})}});var Xv=h(()=>{"use strict";var NO=Z(),DO=fr().filter,LO=gi(),qO=LO("filter");NO({target:"Array",proto:!0,forced:!qO},{filter:function(t){return DO(this,t,arguments.length>1?arguments[1]:void 0)}})});var yt=h((zG,Zv)=>{"use strict";var FO=pe(),MO=Rt();Zv.exports=function(e,t){var r=MO[e+"Prototype"],n=r&&r[t];if(n)return n;var i=FO[e],o=i&&i.prototype;return o&&o[t]}});var tg=h((WG,eg)=>{"use strict";Xv();var UO=yt();eg.exports=UO("Array","filter")});var ng=h((KG,rg)=>{"use strict";var jO=Ke(),BO=tg(),Gc=Array.prototype;rg.exports=function(e){var t=e.filter;return e===Gc||jO(Gc,e)&&t===Gc.filter?BO:t}});var og=h((QG,ig)=>{"use strict";var JO=ng();ig.exports=JO});var sg=h((YG,ag)=>{ag.exports=og()});var yi=h((XG,lg)=>{"use strict";var HO=de();lg.exports=function(e,t){var r=[][e];return!!r&&HO(function(){r.call(null,t||function(){return 1},1)})}});var cg=h(()=>{"use strict";var $O=Z(),VO=fr().every,GO=yi(),zO=GO("every");$O({target:"Array",proto:!0,forced:!zO},{every:function(t){return VO(this,t,arguments.length>1?arguments[1]:void 0)}})});var dg=h((tz,ug)=>{"use strict";cg();var WO=yt();ug.exports=WO("Array","every")});var fg=h((rz,pg)=>{"use strict";var KO=Ke(),QO=dg(),zc=Array.prototype;pg.exports=function(e){var t=e.every;return e===zc||KO(zc,e)&&t===zc.every?QO:t}});var mg=h((nz,hg)=>{"use strict";var YO=fg();hg.exports=YO});var gg=h((iz,vg)=>{vg.exports=mg()});var _g=h((oz,yg)=>{"use strict";var XO=fr().forEach,ZO=yi(),eR=ZO("forEach");yg.exports=eR?[].forEach:function(t){return XO(this,t,arguments.length>1?arguments[1]:void 0)}});var wg=h(()=>{"use strict";var tR=Z(),bg=_g();tR({target:"Array",proto:!0,forced:[].forEach!==bg},{forEach:bg})});var Sg=h((lz,Ig)=>{"use strict";wg();var rR=yt();Ig.exports=rR("Array","forEach")});var xg=h((cz,Eg)=>{"use strict";var nR=Sg();Eg.exports=nR});var kg=h(()=>{});var Tg=h((pz,Ag)=>{"use strict";var iR=sn(),oR=ct(),aR=Ke(),sR=xg();kg();var Wc=Array.prototype,lR={DOMTokenList:!0,NodeList:!0};Ag.exports=function(e){var t=e.forEach;return e===Wc||aR(Wc,e)&&t===Wc.forEach||oR(lR,iR(e))?sR:t}});var Pg=h((fz,Cg)=>{Cg.exports=Tg()});var Rg=h((hz,Og)=>{"use strict";var cR=TypeError,uR=9007199254740991;Og.exports=function(e){if(e>uR)throw cR("Maximum allowed index exceeded");return e}});var Kc=h((mz,Ng)=>{"use strict";var dR=Qe(),pR=Wt(),fR=si();Ng.exports=function(e,t,r){dR?pR.f(e,t,fR(0,r)):e[t]=r}});var Fg=h(()=>{"use strict";var hR=Z(),mR=de(),vR=hi(),gR=Ae(),yR=tn(),_R=an(),Dg=Rg(),Lg=Kc(),bR=Vc(),wR=gi(),IR=Je(),SR=Vo(),qg=IR("isConcatSpreadable"),ER=SR>=51||!mR(function(){var e=[];return e[qg]=!1,e.concat()[0]!==e}),xR=function(e){if(!gR(e))return!1;var t=e[qg];return t!==void 0?!!t:vR(e)},kR=!ER||!wR("concat");hR({target:"Array",proto:!0,arity:1,forced:kR},{concat:function(t){var r=yR(this),n=bR(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],xR(c))for(l=_R(c),Dg(i+l),a=0;a<l;a++,i++)a in c&&Lg(n,i,c[a]);else Dg(i+1),Lg(n,i++,c);return n.length=i,n}})});var Ug=h((yz,Mg)=>{"use strict";Fg();var AR=yt();Mg.exports=AR("Array","concat")});var Bg=h((_z,jg)=>{"use strict";var TR=Ke(),CR=Ug(),Qc=Array.prototype;jg.exports=function(e){var t=e.concat;return e===Qc||TR(Qc,e)&&t===Qc.concat?CR:t}});var Hg=h((bz,Jg)=>{"use strict";var PR=Bg();Jg.exports=PR});var Vg=h((wz,$g)=>{$g.exports=Hg()});var Gg=h(()=>{"use strict";var OR=Z(),RR=fr().some,NR=yi(),DR=NR("some");OR({target:"Array",proto:!0,forced:!DR},{some:function(t){return RR(this,t,arguments.length>1?arguments[1]:void 0)}})});var Wg=h((Ez,zg)=>{"use strict";Gg();var LR=yt();zg.exports=LR("Array","some")});var Qg=h((xz,Kg)=>{"use strict";var qR=Ke(),FR=Wg(),Yc=Array.prototype;Kg.exports=function(e){var t=e.some;return e===Yc||qR(Yc,e)&&t===Yc.some?FR:t}});var Xg=h((kz,Yg)=>{"use strict";var MR=Qg();Yg.exports=MR});var ey=h((Az,Zg)=>{Zg.exports=Xg()});var ry=h((Tz,ty)=>{"use strict";var _i=pe(),UR=Ho(),jR=Gt(),Yo=function(e){return UR.slice(0,e.length)===e};ty.exports=function(){return Yo("Bun/")?"BUN":Yo("Cloudflare-Workers")?"CLOUDFLARE":Yo("Deno/")?"DENO":Yo("Node.js/")?"NODE":_i.Bun&&typeof Bun.version=="string"?"BUN":_i.Deno&&typeof Deno.version=="object"?"DENO":jR(_i.process)==="process"?"NODE":_i.window&&_i.document?"BROWSER":"REST"}()});var bi=h((Cz,ny)=>{"use strict";var BR=be();ny.exports=BR([].slice)});var oy=h((Pz,iy)=>{"use strict";var JR=TypeError;iy.exports=function(e,t){if(e<t)throw new JR("Not enough arguments");return e}});var Xc=h((Oz,sy)=>{"use strict";var ay=pe(),HR=vc(),$R=Le(),VR=ry(),GR=Ho(),zR=bi(),WR=oy(),KR=ay.Function,QR=/MSIE .\./.test(GR)||VR==="BUN"&&function(){var e=ay.Bun.version.split(".");return e.length<3||e[0]==="0"&&(e[1]<3||e[1]==="3"&&e[2]==="0")}();sy.exports=function(e,t){var r=t?2:1;return QR?function(n,i){var o=WR(arguments.length,1)>r,a=$R(n)?n:KR(n),s=o?zR(arguments,r):[],l=o?function(){HR(a,this,s)}:a;return t?e(l,i):e(l)}:e}});var uy=h(()=>{"use strict";var YR=Z(),cy=pe(),XR=Xc(),ly=XR(cy.setInterval,!0);YR({global:!0,bind:!0,forced:cy.setInterval!==ly},{setInterval:ly})});var fy=h(()=>{"use strict";var ZR=Z(),py=pe(),eN=Xc(),dy=eN(py.setTimeout,!0);ZR({global:!0,bind:!0,forced:py.setTimeout!==dy},{setTimeout:dy})});var hy=h(()=>{"use strict";uy();fy()});var vy=h((Mz,my)=>{"use strict";hy();var tN=Rt();my.exports=tN.setTimeout});var yy=h((Uz,gy)=>{gy.exports=vy()});function Ii(e,t){me.__h&&me.__h(oe,e,wi||t),wi=0;var r=oe.__H||(oe.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Zo(e){return wi=1,Ty(Cy,e)}function Ty(e,t,r){var n=Ii(qr++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Cy(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=oe,!oe.__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};oe.__f=!0;var o=oe.shouldComponentUpdate,a=oe.componentWillUpdate;oe.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)},oe.shouldComponentUpdate=i}return n.__N||n.__}function Si(e,t){var r=Ii(qr++,3);!me.__s&&tu(r.__H,t)&&(r.__=e,r.u=t,oe.__H.__h.push(r))}function ln(e,t){var r=Ii(qr++,4);!me.__s&&tu(r.__H,t)&&(r.__=e,r.u=t,oe.__h.push(r))}function Ei(e){return wi=5,xi(function(){return{current:e}},[])}function xi(e,t){var r=Ii(qr++,7);return tu(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function cn(e,t){return wi=8,xi(function(){return e},t)}function un(e){var t=oe.context[e.__c],r=Ii(qr++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(oe)),t.props.value):e.__}function rN(){for(var e;e=Ay.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xo),e.__H.__h.forEach(eu),e.__H.__h=[]}catch(t){e.__H.__h=[],me.__e(t,e.__v)}}function nN(e){var t,r=function(){clearTimeout(n),ky&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ky&&(t=requestAnimationFrame(r))}function Xo(e){var t=oe,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),oe=t}function eu(e){var t=oe;e.__c=e.__(),oe=t}function tu(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Cy(e,t){return typeof t=="function"?t(e):t}var qr,oe,Zc,_y,wi,Ay,me,by,wy,Iy,Sy,Ey,xy,ky,ru=k(()=>{Yr();wi=0,Ay=[],me=R,by=me.__b,wy=me.__r,Iy=me.diffed,Sy=me.__c,Ey=me.unmount,xy=me.__;me.__b=function(e){oe=null,by&&by(e)},me.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),xy&&xy(e,t)},me.__r=function(e){wy&&wy(e),qr=0;var t=(oe=e.__c).__H;t&&(Zc===oe?(t.__h=[],oe.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Xo),t.__h.forEach(eu),t.__h=[],qr=0)),Zc=oe},me.diffed=function(e){Iy&&Iy(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ay.push(t)!==1&&_y===me.requestAnimationFrame||((_y=me.requestAnimationFrame)||nN)(rN)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Zc=oe=null},me.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Xo),r.__h=r.__h.filter(function(n){return!n.__||eu(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],me.__e(n,r.__v)}}),Sy&&Sy(e,t)},me.unmount=function(e){Ey&&Ey(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Xo(n)}catch(i){t=i}}),r.__H=void 0,t&&me.__e(t,r.__v))};ky=typeof requestAnimationFrame=="function"});function Uy(e,t){for(var r in t)e[r]=t[r];return e}function iu(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 Py(e,t){this.props=e,this.context=t}function au(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:iu(this.props,i)}function n(i){return this.shouldComponentUpdate=r,Be(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}function su(e){function t(r){var n=Uy({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=iN,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function jy(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=Uy({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return jy(n,t,r)})),e}function By(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return By(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 nu(){this.__u=0,this.o=null,this.__b=null}function Jy(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ea(){this.i=null,this.l=null}function lu(e,t,r){return t.__k==null&&(t.textContent=""),ur(e,t),typeof r=="function"&&r(),e?e.__c:null}function pN(){}function fN(){return this.cancelBubble}function hN(){return this.defaultPrevented}var ou,Oy,iN,oN,Ry,Ny,aN,sN,lN,cN,uN,dN,Dy,Hy,mN,Ly,qy,Fy,ta=k(()=>{Yr();Yr();ru();ru();ou=ln;(Py.prototype=new lt).isPureReactComponent=!0,Py.prototype.shouldComponentUpdate=function(e,t){return iu(this.props,e)||iu(this.state,t)};Oy=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Oy&&Oy(e)};iN=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;oN=R.__e;R.__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)}oN(e,t,r,n)};Ry=R.unmount;R.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ry&&Ry(e)},(nu.prototype=new lt).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=Jy(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]=By(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)},nu.prototype.componentWillUnmount=function(){this.o=[]},nu.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]=jy(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&Be(De,null,e.fallback);return i&&(i.__u&=-33),[Be(De,null,t.__a?null:e.children),i]};Ny=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]}};(ea.prototype=new lt).__a=function(e){var t=this,r=Jy(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ny(t,e,n)):i()};r?r(o):o()}},ea.prototype.render=function(e){this.i=null,this.l=new Map;var t=ii(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},ea.prototype.componentDidUpdate=ea.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Ny(e,r,t)})};aN=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,sN=/^(?: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]/,lN=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,cN=/[A-Z0-9]/g,uN=typeof document!="undefined",dN=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(lt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});Dy=R.event;R.event=function(e){return Dy&&(e=Dy(e)),e.persist=pN,e.isPropagationStopped=fN,e.isDefaultPrevented=hN,e.nativeEvent=e};mN={enumerable:!1,configurable:!0,get:function(){return this.class}},Ly=R.vnode;R.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||uN&&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"||dN(r.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":lN.test(a)&&(a=l):l=a="oninput":o&&sN.test(a)?a=a.replace(cN,"-$&").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=ii(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=ii(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",mN)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=aN,Ly&&Ly(e)};qy=R.__r;R.__r=function(e){qy&&qy(e),Hy=e.__c};Fy=R.diffed;R.diffed=function(e){Fy&&Fy(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),Hy=null}});var uu=h(()=>{"use strict";var gN=Z(),cu=pe();gN({global:!0,forced:cu.globalThis!==cu},{globalThis:cu})});var $y=h(()=>{"use strict";uu()});var Gy=h((t6,Vy)=>{"use strict";uu();Vy.exports=pe()});var Wy=h((r6,zy)=>{"use strict";var yN=Gy();zy.exports=yN});var Qy=h((n6,Ky)=>{"use strict";var _N=Wy();Ky.exports=_N});var Xy=h((i6,Yy)=>{"use strict";$y();var bN=Qy();Yy.exports=bN});var e_=h((o6,Zy)=>{"use strict";Zy.exports=Xy()});var r_=h((a6,t_)=>{t_.exports=e_()});var n_=h(()=>{"use strict";var wN=Z(),IN=hi();wN({target:"Array",stat:!0},{isArray:IN})});var o_=h((c6,i_)=>{"use strict";n_();var SN=Rt();i_.exports=SN.Array.isArray});var s_=h((u6,a_)=>{"use strict";var EN=o_();a_.exports=EN});var c_=h((d6,l_)=>{l_.exports=s_()});var d_=h((p6,u_)=>{"use strict";u_.exports=function(){}});var Fr=h((f6,p_)=>{"use strict";p_.exports={}});var du=h((h6,h_)=>{"use strict";var xN=pe(),kN=Le(),f_=xN.WeakMap;h_.exports=kN(f_)&&/native code/.test(String(f_))});var ra=h((m6,v_)=>{"use strict";var AN=Cc(),TN=zo(),m_=AN("keys");v_.exports=function(e){return m_[e]||(m_[e]=TN(e))}});var ki=h((v6,g_)=>{"use strict";g_.exports={}});var Ur=h((g6,b_)=>{"use strict";var CN=du(),__=pe(),PN=Ae(),ON=Lr(),pu=ct(),fu=ci(),RN=ra(),NN=ki(),y_="Object already initialized",hu=__.TypeError,DN=__.WeakMap,na,Ai,ia,LN=function(e){return ia(e)?Ai(e):na(e,{})},qN=function(e){return function(t){var r;if(!PN(t)||(r=Ai(t)).type!==e)throw new hu("Incompatible receiver, "+e+" required");return r}};CN||fu.state?(xt=fu.state||(fu.state=new DN),xt.get=xt.get,xt.has=xt.has,xt.set=xt.set,na=function(e,t){if(xt.has(e))throw new hu(y_);return t.facade=e,xt.set(e,t),t},Ai=function(e){return xt.get(e)||{}},ia=function(e){return xt.has(e)}):(Mr=RN("state"),NN[Mr]=!0,na=function(e,t){if(pu(e,Mr))throw new hu(y_);return t.facade=e,ON(e,Mr,t),t},Ai=function(e){return pu(e,Mr)?e[Mr]:{}},ia=function(e){return pu(e,Mr)});var xt,Mr;b_.exports={set:na,get:Ai,has:ia,enforce:LN,getterFor:qN}});var gu=h((y6,I_)=>{"use strict";var mu=Qe(),FN=ct(),w_=Function.prototype,MN=mu&&Object.getOwnPropertyDescriptor,vu=FN(w_,"name"),UN=vu&&(function(){}).name==="something",jN=vu&&(!mu||mu&&MN(w_,"name").configurable);I_.exports={EXISTS:vu,PROPER:UN,CONFIGURABLE:jN}});var yu=h((_6,S_)=>{"use strict";var BN=fi(),JN=Math.max,HN=Math.min;S_.exports=function(e,t){var r=BN(e);return r<0?JN(r+t,0):HN(r,t)}});var _u=h((b6,x_)=>{"use strict";var $N=dr(),VN=yu(),GN=an(),E_=function(e){return function(t,r,n){var i=$N(t),o=GN(i);if(o===0)return!e&&-1;var a=VN(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}};x_.exports={includes:E_(!0),indexOf:E_(!1)}});var wu=h((w6,A_)=>{"use strict";var zN=be(),bu=ct(),WN=dr(),KN=_u().indexOf,QN=ki(),k_=zN([].push);A_.exports=function(e,t){var r=WN(e),n=0,i=[],o;for(o in r)!bu(QN,o)&&bu(r,o)&&k_(i,o);for(;t.length>n;)bu(r,o=t[n++])&&(~KN(i,o)||k_(i,o));return i}});var oa=h((I6,T_)=>{"use strict";T_.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Iu=h((S6,C_)=>{"use strict";var YN=wu(),XN=oa();C_.exports=Object.keys||function(t){return YN(t,XN)}});var O_=h(P_=>{"use strict";var ZN=Qe(),eD=qc(),tD=Wt(),rD=zt(),nD=dr(),iD=Iu();P_.f=ZN&&!eD?Object.defineProperties:function(t,r){rD(t);for(var n=nD(r),i=iD(r),o=i.length,a=0,s;o>a;)tD.f(t,s=i[a++],n[s]);return t}});var N_=h((x6,R_)=>{"use strict";var oD=Zr();R_.exports=oD("document","documentElement")});var Ti=h((k6,j_)=>{"use strict";var aD=zt(),sD=O_(),D_=oa(),lD=ki(),cD=N_(),uD=Nc(),dD=ra(),L_=">",q_="<",Eu="prototype",xu="script",M_=dD("IE_PROTO"),Su=function(){},U_=function(e){return q_+xu+L_+e+q_+"/"+xu+L_},F_=function(e){e.write(U_("")),e.close();var t=e.parentWindow.Object;return e=null,t},pD=function(){var e=uD("iframe"),t="java"+xu+":",r;return e.style.display="none",cD.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(U_("document.F=Object")),r.close(),r.F},aa,sa=function(){try{aa=new ActiveXObject("htmlfile")}catch(t){}sa=typeof document!="undefined"?document.domain&&aa?F_(aa):pD():F_(aa);for(var e=D_.length;e--;)delete sa[Eu][D_[e]];return sa()};lD[M_]=!0;j_.exports=Object.create||function(t,r){var n;return t!==null?(Su[Eu]=aD(t),n=new Su,Su[Eu]=null,n[M_]=t):n=sa(),r===void 0?n:sD.f(n,r)}});var J_=h((A6,B_)=>{"use strict";var fD=de();B_.exports=!fD(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Au=h((T6,$_)=>{"use strict";var hD=ct(),mD=Le(),vD=tn(),gD=ra(),yD=J_(),H_=gD("IE_PROTO"),ku=Object,_D=ku.prototype;$_.exports=yD?ku.getPrototypeOf:function(e){var t=vD(e);if(hD(t,H_))return t[H_];var r=t.constructor;return mD(r)&&t instanceof r?r.prototype:t instanceof ku?_D:null}});var la=h((C6,V_)=>{"use strict";var bD=Lr();V_.exports=function(e,t,r,n){return n&&n.enumerable?e[t]=r:bD(e,t,r),e}});var Ou=h((P6,W_)=>{"use strict";var wD=de(),ID=Le(),SD=Ae(),ED=Ti(),G_=Au(),xD=la(),kD=Je(),AD=en(),Pu=kD("iterator"),z_=!1,Kt,Tu,Cu;[].keys&&(Cu=[].keys(),"next"in Cu?(Tu=G_(G_(Cu)),Tu!==Object.prototype&&(Kt=Tu)):z_=!0);var TD=!SD(Kt)||wD(function(){var e={};return Kt[Pu].call(e)!==e});TD?Kt={}:AD&&(Kt=ED(Kt));ID(Kt[Pu])||xD(Kt,Pu,function(){return this});W_.exports={IteratorPrototype:Kt,BUGGY_SAFARI_ITERATORS:z_}});var Q_=h((O6,K_)=>{"use strict";var CD=Ko(),PD=sn();K_.exports=CD?{}.toString:function(){return"[object "+PD(this)+"]"}});var Ci=h((R6,X_)=>{"use strict";var OD=Ko(),RD=Wt().f,ND=Lr(),DD=ct(),LD=Q_(),qD=Je(),Y_=qD("toStringTag");X_.exports=function(e,t,r,n){var i=r?e:e&&e.prototype;i&&(DD(i,Y_)||RD(i,Y_,{configurable:!0,value:t}),n&&!OD&&ND(i,"toString",LD))}});var eb=h((N6,Z_)=>{"use strict";var FD=Ou().IteratorPrototype,MD=Ti(),UD=si(),jD=Ci(),BD=Fr(),JD=function(){return this};Z_.exports=function(e,t,r,n){var i=t+" Iterator";return e.prototype=MD(FD,{next:UD(+!n,r)}),jD(e,i,!1,!0),BD[i]=JD,e}});var rb=h((D6,tb)=>{"use strict";var HD=be(),$D=Dr();tb.exports=function(e,t,r){try{return HD($D(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(n){}}});var ib=h((L6,nb)=>{"use strict";var VD=Ae();nb.exports=function(e){return VD(e)||e===null}});var ab=h((q6,ob)=>{"use strict";var GD=ib(),zD=String,WD=TypeError;ob.exports=function(e){if(GD(e))return e;throw new WD("Can't set "+zD(e)+" as a prototype")}});var lb=h((F6,sb)=>{"use strict";var KD=rb(),QD=Ae(),YD=Nr(),XD=ab();sb.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=KD(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch(n){}return function(i,o){return YD(i),XD(o),QD(i)&&(e?r(i,o):i.__proto__=o),i}}():void 0)});var da=h((M6,yb)=>{"use strict";var ZD=Z(),eL=St(),ca=en(),vb=gu(),tL=Le(),rL=eb(),cb=Au(),ub=lb(),nL=Ci(),iL=Lr(),Ru=la(),oL=Je(),db=Fr(),gb=Ou(),aL=vb.PROPER,sL=vb.CONFIGURABLE,pb=gb.IteratorPrototype,ua=gb.BUGGY_SAFARI_ITERATORS,Pi=oL("iterator"),fb="keys",Oi="values",hb="entries",mb=function(){return this};yb.exports=function(e,t,r,n,i,o,a){rL(r,t,n);var s=function(v){if(v===i&&p)return p;if(!ua&&v&&v in d)return d[v];switch(v){case fb:return function(){return new r(this,v)};case Oi:return function(){return new r(this,v)};case hb:return function(){return new r(this,v)}}return function(){return new r(this)}},l=t+" Iterator",c=!1,d=e.prototype,u=d[Pi]||d["@@iterator"]||i&&d[i],p=!ua&&u||s(i),f=t==="Array"&&d.entries||u,m,g,_;if(f&&(m=cb(f.call(new e)),m!==Object.prototype&&m.next&&(!ca&&cb(m)!==pb&&(ub?ub(m,pb):tL(m[Pi])||Ru(m,Pi,mb)),nL(m,l,!0,!0),ca&&(db[l]=mb))),aL&&i===Oi&&u&&u.name!==Oi&&(!ca&&sL?iL(d,"name",Oi):(c=!0,p=function(){return eL(u,this)})),i)if(g={values:s(Oi),keys:o?p:s(fb),entries:s(hb)},a)for(_ in g)(ua||c||!(_ in d))&&Ru(d,_,g[_]);else ZD({target:t,proto:!0,forced:ua||c},g);return(!ca||a)&&d[Pi]!==p&&Ru(d,Pi,p,{name:i}),db[t]=p,g}});var pa=h((U6,_b)=>{"use strict";_b.exports=function(e,t){return{value:e,done:t}}});var ha=h((j6,Eb)=>{"use strict";var lL=dr(),Nu=d_(),bb=Fr(),Ib=Ur(),cL=Wt().f,uL=da(),fa=pa(),dL=en(),pL=Qe(),Sb="Array Iterator",fL=Ib.set,hL=Ib.getterFor(Sb);Eb.exports=uL(Array,"Array",function(e,t){fL(this,{type:Sb,target:lL(e),index:0,kind:t})},function(){var e=hL(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,fa(void 0,!0);switch(e.kind){case"keys":return fa(r,!1);case"values":return fa(t[r],!1)}return fa([r,t[r]],!1)},"values");var wb=bb.Arguments=bb.Array;Nu("keys");Nu("values");Nu("entries");if(!dL&&pL&&wb.name!=="values")try{cL(wb,"name",{value:"values"})}catch(e){}});var Du=h(()=>{});var Lu=h((H6,xb)=>{"use strict";var mL=de();xb.exports=!mL(function(){return Object.isExtensible(Object.preventExtensions({}))})});var ma=h(($6,kb)=>{"use strict";var vL=la();kb.exports=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:vL(e,n,t[n],r);return e}});var qu=h(Ab=>{"use strict";var gL=wu(),yL=oa(),_L=yL.concat("length","prototype");Ab.f=Object.getOwnPropertyNames||function(t){return gL(t,_L)}});var Ob=h((G6,Pb)=>{"use strict";var bL=Gt(),wL=dr(),Tb=qu().f,IL=bi(),Cb=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],SL=function(e){try{return Tb(e)}catch(t){return IL(Cb)}};Pb.exports.f=function(t){return Cb&&bL(t)==="Window"?SL(t):Tb(wL(t))}});var Nb=h((z6,Rb)=>{"use strict";var EL=de();Rb.exports=EL(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})});var qb=h((W6,Lb)=>{"use strict";var xL=de(),kL=Ae(),AL=Gt(),Db=Nb(),va=Object.isExtensible,TL=xL(function(){va(1)});Lb.exports=TL||Db?function(t){return!kL(t)||Db&&AL(t)==="ArrayBuffer"?!1:va?va(t):!0}:va});var Ri=h((K6,Ub)=>{"use strict";var CL=Z(),PL=be(),OL=ki(),RL=Ae(),Fu=ct(),NL=Wt().f,Fb=qu(),DL=Ob(),Mu=qb(),LL=zo(),qL=Lu(),Mb=!1,Qt=LL("meta"),FL=0,Uu=function(e){NL(e,Qt,{value:{objectID:"O"+FL++,weakData:{}}})},ML=function(e,t){if(!RL(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!Fu(e,Qt)){if(!Mu(e))return"F";if(!t)return"E";Uu(e)}return e[Qt].objectID},UL=function(e,t){if(!Fu(e,Qt)){if(!Mu(e))return!0;if(!t)return!1;Uu(e)}return e[Qt].weakData},jL=function(e){return qL&&Mb&&Mu(e)&&!Fu(e,Qt)&&Uu(e),e},BL=function(){JL.enable=function(){},Mb=!0;var e=Fb.f,t=PL([].splice),r={};r[Qt]=1,e(r).length&&(Fb.f=function(n){for(var i=e(n),o=0,a=i.length;o<a;o++)if(i[o]===Qt){t(i,o,1);break}return i},CL({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:DL.f}))},JL=Ub.exports={enable:BL,fastKey:ML,getWeakData:UL,onFreeze:jL};OL[Qt]=!0});var Bb=h((Q6,jb)=>{"use strict";var HL=Je(),$L=Fr(),VL=HL("iterator"),GL=Array.prototype;jb.exports=function(e){return e!==void 0&&($L.Array===e||GL[VL]===e)}});var ju=h((Y6,Hb)=>{"use strict";var zL=sn(),Jb=Go(),WL=Rr(),KL=Fr(),QL=Je(),YL=QL("iterator");Hb.exports=function(e){if(!WL(e))return Jb(e,YL)||Jb(e,"@@iterator")||KL[zL(e)]}});var Vb=h((X6,$b)=>{"use strict";var XL=St(),ZL=Dr(),eq=zt(),tq=li(),rq=ju(),nq=TypeError;$b.exports=function(e,t){var r=arguments.length<2?rq(e):t;if(ZL(r))return eq(XL(r,e));throw new nq(tq(e)+" is not iterable")}});var ga=h((Z6,zb)=>{"use strict";var iq=St(),Gb=zt(),oq=Go();zb.exports=function(e,t,r){var n,i;Gb(e);try{if(n=oq(e,"return"),!n){if(t==="throw")throw r;return r}n=iq(n,e)}catch(o){i=!0,n=o}if(t==="throw")throw r;if(i)throw n;return Gb(n),r}});var _a=h((eW,Yb)=>{"use strict";var aq=di(),sq=St(),lq=zt(),cq=li(),uq=Bb(),dq=an(),Wb=Ke(),pq=Vb(),fq=ju(),Kb=ga(),hq=TypeError,ya=function(e,t){this.stopped=e,this.result=t},Qb=ya.prototype;Yb.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=aq(t,n),c,d,u,p,f,m,g,_=function(b){return c&&Kb(c,"normal",b),new ya(!0,b)},v=function(b){return i?(lq(b),s?l(b[0],b[1],_):l(b[0],b[1])):s?l(b,_):l(b)};if(o)c=e.iterator;else if(a)c=e;else{if(d=fq(e),!d)throw new hq(cq(e)+" is not iterable");if(uq(d)){for(u=0,p=dq(e);p>u;u++)if(f=v(e[u]),f&&Wb(Qb,f))return f;return new ya(!1)}c=pq(e,d)}for(m=o?e.next:c.next;!(g=sq(m,c)).done;){try{f=v(g.value)}catch(b){Kb(c,"throw",b)}if(typeof f=="object"&&f&&Wb(Qb,f))return f}return new ya(!1)}});var ba=h((tW,Xb)=>{"use strict";var mq=Ke(),vq=TypeError;Xb.exports=function(e,t){if(mq(t,e))return e;throw new vq("Incorrect invocation")}});var Bu=h((rW,ew)=>{"use strict";var gq=Z(),yq=pe(),_q=Ri(),bq=de(),wq=Lr(),Iq=_a(),Sq=ba(),Eq=Le(),xq=Ae(),kq=Rr(),Aq=Ci(),Tq=Wt().f,Cq=fr().forEach,Pq=Qe(),Zb=Ur(),Oq=Zb.set,Rq=Zb.getterFor;ew.exports=function(e,t,r){var n=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=n?"set":"add",a=yq[e],s=a&&a.prototype,l={},c;if(!Pq||!Eq(a)||!(i||s.forEach&&!bq(function(){new a().entries().next()})))c=r.getConstructor(t,e,n,o),_q.enable();else{c=t(function(p,f){Oq(Sq(p,d),{type:e,collection:new a}),kq(f)||Iq(f,p[o],{that:p,AS_ENTRIES:n})});var d=c.prototype,u=Rq(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")&&wq(d,p,function(m,g){var _=u(this).collection;if(!f&&i&&!xq(m))return p==="get"?void 0:!1;var v=_[p](m===0?0:m,g);return f?this:v})}),i||Tq(d,"size",{configurable:!0,get:function(){return u(this).collection.size}})}return Aq(c,e,!1,!0),l[e]=c,gq({global:!0,forced:!0},l),i||r.setStrong(c,e,n),c}});var sw=h((nW,aw)=>{"use strict";var Nq=be(),tw=ma(),wa=Ri().getWeakData,Dq=ba(),Lq=zt(),qq=Rr(),Ju=Ae(),Fq=_a(),nw=fr(),rw=ct(),iw=Ur(),Mq=iw.set,Uq=iw.getterFor,jq=nw.find,Bq=nw.findIndex,Jq=Nq([].splice),Hq=0,Ia=function(e){return e.frozen||(e.frozen=new ow)},ow=function(){this.entries=[]},Hu=function(e,t){return jq(e.entries,function(r){return r[0]===t})};ow.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=Bq(this.entries,function(r){return r[0]===e});return~t&&Jq(this.entries,t,1),!!~t}};aw.exports={getConstructor:function(e,t,r,n){var i=e(function(l,c){Dq(l,o),Mq(l,{type:t,id:Hq++,frozen:null}),qq(c)||Fq(c,l[n],{that:l,AS_ENTRIES:r})}),o=i.prototype,a=Uq(t),s=function(l,c,d){var u=a(l),p=wa(Lq(c),!0);return p===!0?Ia(u).set(c,d):p[u.id]=d,l};return tw(o,{delete:function(l){var c=a(this);if(!Ju(l))return!1;var d=wa(l);return d===!0?Ia(c).delete(l):d&&rw(d,c.id)&&delete d[c.id]},has:function(c){var d=a(this);if(!Ju(c))return!1;var u=wa(c);return u===!0?Ia(d).has(c):u&&rw(u,d.id)}}),tw(o,r?{get:function(c){var d=a(this);if(Ju(c)){var u=wa(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 mw=h(()=>{"use strict";var $q=Lu(),lw=pe(),ka=be(),cw=ma(),Vq=Ri(),Gq=Bu(),uw=sw(),Sa=Ae(),Ea=Ur().enforce,zq=de(),Wq=du(),Li=Object,Kq=Array.isArray,xa=Li.isExtensible,dw=Li.isFrozen,Qq=Li.isSealed,pw=Li.freeze,Yq=Li.seal,Xq=!lw.ActiveXObject&&"ActiveXObject"in lw,Ni,fw=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},hw=Gq("WeakMap",fw,uw),dn=hw.prototype,Aa=ka(dn.set),Zq=function(){return $q&&zq(function(){var e=pw([]);return Aa(new hw,e,1),!dw(e)})};Wq&&(Xq?(Ni=uw.getConstructor(fw,"WeakMap",!0),Vq.enable(),$u=ka(dn.delete),Di=ka(dn.has),Vu=ka(dn.get),cw(dn,{delete:function(e){if(Sa(e)&&!xa(e)){var t=Ea(this);return t.frozen||(t.frozen=new Ni),$u(this,e)||t.frozen.delete(e)}return $u(this,e)},has:function(t){if(Sa(t)&&!xa(t)){var r=Ea(this);return r.frozen||(r.frozen=new Ni),Di(this,t)||r.frozen.has(t)}return Di(this,t)},get:function(t){if(Sa(t)&&!xa(t)){var r=Ea(this);return r.frozen||(r.frozen=new Ni),Di(this,t)?Vu(this,t):r.frozen.get(t)}return Vu(this,t)},set:function(t,r){if(Sa(t)&&!xa(t)){var n=Ea(this);n.frozen||(n.frozen=new Ni),Di(this,t)?Aa(this,t,r):n.frozen.set(t,r)}else Aa(this,t,r);return this}})):Zq()&&cw(dn,{set:function(t,r){var n;return Kq(t)&&(dw(t)?n=pw:Qq(t)&&(n=Yq)),Aa(this,t,r),n&&n(t),this}}));var $u,Di,Vu});var vw=h(()=>{"use strict";mw()});var yw=h((lW,gw)=>{"use strict";ha();Du();vw();var eF=Rt();gw.exports=eF.WeakMap});var bw=h((cW,_w)=>{"use strict";_w.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";ha();var tF=bw(),rF=pe(),nF=Ci(),ww=Fr();for(Ta in tF)nF(rF[Ta],Ta),ww[Ta]=ww.Array;var Ta});var Sw=h((pW,Iw)=>{"use strict";var iF=yw();Gu();Iw.exports=iF});var xw=h((fW,Ew)=>{Ew.exports=Sw()});var Aw=h(()=>{"use strict";var oF=Z(),aF=ai(),sF=_u().indexOf,lF=yi(),zu=aF([].indexOf),kw=!!zu&&1/zu([1],1,-0)<0,cF=kw||!lF("indexOf");oF({target:"Array",proto:!0,forced:cF},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return kw?zu(this,t,r)||0:sF(this,t,r)}})});var Cw=h((vW,Tw)=>{"use strict";Aw();var uF=yt();Tw.exports=uF("Array","indexOf")});var Ow=h((gW,Pw)=>{"use strict";var dF=Ke(),pF=Cw(),Wu=Array.prototype;Pw.exports=function(e){var t=e.indexOf;return e===Wu||dF(Wu,e)&&t===Wu.indexOf?pF:t}});var Nw=h((yW,Rw)=>{"use strict";var fF=Ow();Rw.exports=fF});var Lw=h((_W,Dw)=>{Dw.exports=Nw()});var qw=h(()=>{"use strict";var hF=Z(),mF=fr().map,vF=gi(),gF=vF("map");hF({target:"Array",proto:!0,forced:!gF},{map:function(t){return mF(this,t,arguments.length>1?arguments[1]:void 0)}})});var Mw=h((IW,Fw)=>{"use strict";qw();var yF=yt();Fw.exports=yF("Array","map")});var jw=h((SW,Uw)=>{"use strict";var _F=Ke(),bF=Mw(),Ku=Array.prototype;Uw.exports=function(e){var t=e.map;return e===Ku||_F(Ku,e)&&t===Ku.map?bF:t}});var Jw=h((EW,Bw)=>{"use strict";var wF=jw();Bw.exports=wF});var $w=h((xW,Hw)=>{Hw.exports=Jw()});var Vw=h(()=>{"use strict";var IF=Z(),SF=Qe(),EF=Ti();IF({target:"Object",stat:!0,sham:!SF},{create:EF})});var zw=h((TW,Gw)=>{"use strict";Vw();var xF=Rt(),kF=xF.Object;Gw.exports=function(t,r){return kF.create(t,r)}});var Kw=h((CW,Ww)=>{"use strict";var AF=zw();Ww.exports=AF});var Yw=h((PW,Qw)=>{Qw.exports=Kw()});var Qu=h((OW,Xw)=>{"use strict";var TF=Wt();Xw.exports=function(e,t,r){return TF.f(e,t,r)}});var t0=h((RW,e0)=>{"use strict";var CF=Zr(),PF=Qu(),OF=Je(),RF=Qe(),Zw=OF("species");e0.exports=function(e){var t=CF(e);RF&&t&&!t[Zw]&&PF(t,Zw,{configurable:!0,get:function(){return this}})}});var l0=h((NW,s0)=>{"use strict";var r0=Ti(),NF=Qu(),n0=ma(),DF=di(),LF=ba(),qF=Rr(),FF=_a(),MF=da(),Ca=pa(),UF=t0(),qi=Qe(),i0=Ri().fastKey,a0=Ur(),o0=a0.set,Yu=a0.getterFor;s0.exports={getConstructor:function(e,t,r,n){var i=e(function(c,d){LF(c,o),o0(c,{type:t,index:r0(null),first:null,last:null,size:0}),qi||(c.size=0),qF(d)||FF(d,c[n],{that:c,AS_ENTRIES:r})}),o=i.prototype,a=Yu(t),s=function(c,d,u){var p=a(c),f=l(c,d),m,g;return f?f.value=u:(p.last=f={index:g=i0(d,!0),key:d,value:u,previous:m=p.last,next:null,removed:!1},p.first||(p.first=f),m&&(m.next=f),qi?p.size++:c.size++,g!=="F"&&(p.index[g]=f)),c},l=function(c,d){var u=a(c),p=i0(d),f;if(p!=="F")return u.index[p];for(f=u.first;f;f=f.next)if(f.key===d)return f};return n0(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=r0(null),qi?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),qi?u.size--:d.size--}return!!p},forEach:function(d){for(var u=a(this),p=DF(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)}}),n0(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)}}),qi&&NF(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,r){var n=t+" Iterator",i=Yu(t),o=Yu(n);MF(e,t,function(a,s){o0(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,Ca(void 0,!0)):Ca(s==="keys"?l.key:s==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),UF(t)}}});var c0=h(()=>{"use strict";var jF=Bu(),BF=l0();jF("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},BF)});var u0=h(()=>{"use strict";c0()});var hr=h((MW,d0)=>{"use strict";var JF=li(),HF=TypeError;d0.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 HF(JF(e)+" is not a set")}});var f0=h((UW,p0)=>{"use strict";p0.exports=function(e,t){return t===1?function(r,n){return r[e](n)}:function(r,n,i){return r[e](n,i)}}});var mr=h((jW,m0)=>{"use strict";var $F=Zr(),Xu=f0(),h0=$F("Set"),VF=h0.prototype;m0.exports={Set:h0,add:Xu("add",1),has:Xu("has",1),remove:Xu("delete",1),proto:VF}});var vr=h((BW,v0)=>{"use strict";var GF=St();v0.exports=function(e,t,r){for(var n=r?e:e.iterator,i=e.next,o,a;!(o=GF(i,n)).done;)if(a=t(o.value),a!==void 0)return a}});var pn=h((JW,g0)=>{"use strict";var zF=vr();g0.exports=function(e,t,r){return r?zF(e.keys(),t,!0):e.forEach(t)}});var Pa=h((HW,_0)=>{"use strict";var y0=mr(),WF=pn(),KF=y0.Set,QF=y0.add;_0.exports=function(e){var t=new KF;return WF(e,function(r){QF(t,r)}),t}});var fn=h(($W,b0)=>{"use strict";b0.exports=function(e){return e.size}});var I0=h((VW,w0)=>{"use strict";w0.exports=function(e){return{iterator:e,next:e.next,done:!1}}});var gr=h((GW,T0)=>{"use strict";var S0=Dr(),k0=zt(),E0=St(),YF=fi(),XF=I0(),x0="Invalid size",ZF=RangeError,eM=TypeError,tM=Math.max,A0=function(e,t){this.set=e,this.size=tM(t,0),this.has=S0(e.has),this.keys=S0(e.keys)};A0.prototype={getIterator:function(){return XF(k0(E0(this.keys,this.set)))},includes:function(e){return E0(this.has,this.set,e)}};T0.exports=function(e){k0(e);var t=+e.size;if(t!==t)throw new eM(x0);var r=YF(t);if(r<0)throw new ZF(x0);return new A0(e,r)}});var R0=h((zW,O0)=>{"use strict";var rM=hr(),P0=mr(),nM=Pa(),iM=fn(),oM=gr(),aM=pn(),sM=vr(),lM=P0.has,C0=P0.remove;O0.exports=function(t){var r=rM(this),n=oM(t),i=nM(r);return iM(r)<=n.size?aM(r,function(o){n.includes(o)&&C0(i,o)}):sM(n.getIterator(),function(o){lM(r,o)&&C0(i,o)}),i}});var yr=h((WW,N0)=>{"use strict";N0.exports=function(){return!1}});var D0=h(()=>{"use strict";var cM=Z(),uM=R0(),dM=yr(),pM=!dM("difference",function(e){return e.size===0});cM({target:"Set",proto:!0,real:!0,forced:pM},{difference:uM})});var F0=h((YW,q0)=>{"use strict";var fM=hr(),Zu=mr(),hM=fn(),mM=gr(),vM=pn(),gM=vr(),yM=Zu.Set,L0=Zu.add,_M=Zu.has;q0.exports=function(t){var r=fM(this),n=mM(t),i=new yM;return hM(r)>n.size?gM(n.getIterator(),function(o){_M(r,o)&&L0(i,o)}):vM(r,function(o){n.includes(o)&&L0(i,o)}),i}});var M0=h(()=>{"use strict";var bM=Z(),wM=de(),IM=F0(),SM=yr(),EM=!SM("intersection",function(e){return e.size===2&&e.has(1)&&e.has(2)})||wM(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});bM({target:"Set",proto:!0,real:!0,forced:EM},{intersection:IM})});var j0=h((e8,U0)=>{"use strict";var xM=hr(),kM=mr().has,AM=fn(),TM=gr(),CM=pn(),PM=vr(),OM=ga();U0.exports=function(t){var r=xM(this),n=TM(t);if(AM(r)<=n.size)return CM(r,function(o){if(n.includes(o))return!1},!0)!==!1;var i=n.getIterator();return PM(i,function(o){if(kM(r,o))return OM(i,"normal",!1)})!==!1}});var B0=h(()=>{"use strict";var RM=Z(),NM=j0(),DM=yr(),LM=!DM("isDisjointFrom",function(e){return!e});RM({target:"Set",proto:!0,real:!0,forced:LM},{isDisjointFrom:NM})});var H0=h((n8,J0)=>{"use strict";var qM=hr(),FM=fn(),MM=pn(),UM=gr();J0.exports=function(t){var r=qM(this),n=UM(t);return FM(r)>n.size?!1:MM(r,function(i){if(!n.includes(i))return!1},!0)!==!1}});var $0=h(()=>{"use strict";var jM=Z(),BM=H0(),JM=yr(),HM=!JM("isSubsetOf",function(e){return e});jM({target:"Set",proto:!0,real:!0,forced:HM},{isSubsetOf:BM})});var G0=h((a8,V0)=>{"use strict";var $M=hr(),VM=mr().has,GM=fn(),zM=gr(),WM=vr(),KM=ga();V0.exports=function(t){var r=$M(this),n=zM(t);if(GM(r)<n.size)return!1;var i=n.getIterator();return WM(i,function(o){if(!VM(r,o))return KM(i,"normal",!1)})!==!1}});var z0=h(()=>{"use strict";var QM=Z(),YM=G0(),XM=yr(),ZM=!XM("isSupersetOf",function(e){return!e});QM({target:"Set",proto:!0,real:!0,forced:ZM},{isSupersetOf:YM})});var K0=h((c8,W0)=>{"use strict";var eU=hr(),ed=mr(),tU=Pa(),rU=gr(),nU=vr(),iU=ed.add,oU=ed.has,aU=ed.remove;W0.exports=function(t){var r=eU(this),n=rU(t).getIterator(),i=tU(r);return nU(n,function(o){oU(r,o)?aU(i,o):iU(i,o)}),i}});var Q0=h(()=>{"use strict";var sU=Z(),lU=K0(),cU=yr();sU({target:"Set",proto:!0,real:!0,forced:!cU("symmetricDifference")},{symmetricDifference:lU})});var X0=h((p8,Y0)=>{"use strict";var uU=hr(),dU=mr().add,pU=Pa(),fU=gr(),hU=vr();Y0.exports=function(t){var r=uU(this),n=fU(t).getIterator(),i=pU(r);return hU(n,function(o){dU(i,o)}),i}});var Z0=h(()=>{"use strict";var mU=Z(),vU=X0(),gU=yr();mU({target:"Set",proto:!0,real:!0,forced:!gU("union")},{union:vU})});var Fi=h((m8,eI)=>{"use strict";var yU=sn(),_U=String;eI.exports=function(e){if(yU(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return _U(e)}});var iI=h((v8,nI)=>{"use strict";var td=be(),bU=fi(),wU=Fi(),IU=Nr(),SU=td("".charAt),tI=td("".charCodeAt),EU=td("".slice),rI=function(e){return function(t,r){var n=wU(IU(t)),i=bU(r),o=n.length,a,s;return i<0||i>=o?e?"":void 0:(a=tI(n,i),a<55296||a>56319||i+1===o||(s=tI(n,i+1))<56320||s>57343?e?SU(n,i):a:e?EU(n,i,i+2):(a-55296<<10)+(s-56320)+65536)}};nI.exports={codeAt:rI(!1),charAt:rI(!0)}});var lI=h(()=>{"use strict";var xU=iI().charAt,kU=Fi(),aI=Ur(),AU=da(),oI=pa(),sI="String Iterator",TU=aI.set,CU=aI.getterFor(sI);AU(String,"String",function(e){TU(this,{type:sI,string:kU(e),index:0})},function(){var t=CU(this),r=t.string,n=t.index,i;return n>=r.length?oI(void 0,!0):(i=xU(r,n),t.index+=i.length,oI(i,!1))})});var uI=h((_8,cI)=>{"use strict";ha();Du();u0();D0();M0();B0();$0();z0();Q0();Z0();lI();var PU=Rt();cI.exports=PU.Set});var pI=h((b8,dI)=>{"use strict";var OU=uI();Gu();dI.exports=OU});var hI=h((w8,fI)=>{fI.exports=pI()});var vI=h(mI=>{"use strict";mI.f=Object.getOwnPropertySymbols});var bI=h((S8,_I)=>{"use strict";var gI=Qe(),RU=be(),NU=St(),DU=de(),rd=Iu(),LU=vI(),qU=yc(),FU=tn(),MU=Jo(),hn=Object.assign,yI=Object.defineProperty,UU=RU([].concat);_I.exports=!hn||DU(function(){if(gI&&hn({b:1},hn(yI({},"a",{enumerable:!0,get:function(){yI(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}),hn({},e)[r]!==7||rd(hn({},t)).join("")!==n})?function(t,r){for(var n=FU(t),i=arguments.length,o=1,a=LU.f,s=qU.f;i>o;)for(var l=MU(arguments[o++]),c=a?UU(rd(l),a(l)):rd(l),d=c.length,u=0,p;d>u;)p=c[u++],(!gI||NU(s,l,p))&&(n[p]=l[p]);return n}:hn});var II=h(()=>{"use strict";var jU=Z(),wI=bI();jU({target:"Object",stat:!0,arity:2,forced:Object.assign!==wI},{assign:wI})});var EI=h((k8,SI)=>{"use strict";II();var BU=Rt();SI.exports=BU.Object.assign});var kI=h((A8,xI)=>{"use strict";var JU=EI();xI.exports=JU});var TI=h((T8,AI)=>{AI.exports=kI()});var nd=h((C8,CI)=>{"use strict";CI.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 RI=h((P8,OI)=>{"use strict";var HU=be(),$U=Nr(),VU=Fi(),od=nd(),PI=HU("".replace),GU=RegExp("^["+od+"]+"),zU=RegExp("(^|[^"+od+"])["+od+"]+$"),id=function(e){return function(t){var r=VU($U(t));return e&1&&(r=PI(r,GU,"")),e&2&&(r=PI(r,zU,"$1")),r}};OI.exports={start:id(1),end:id(2),trim:id(3)}});var qI=h((O8,LI)=>{"use strict";var WU=gu().PROPER,KU=de(),NI=nd(),DI="\u200B\x85\u180E";LI.exports=function(e){return KU(function(){return!!NI[e]()||DI[e]()!==DI||WU&&NI[e].name!==e})}});var FI=h(()=>{"use strict";var QU=Z(),YU=RI().trim,XU=qI();QU({target:"String",proto:!0,forced:XU("trim")},{trim:function(){return YU(this)}})});var UI=h((D8,MI)=>{"use strict";FI();var ZU=yt();MI.exports=ZU("String","trim")});var BI=h((L8,jI)=>{"use strict";var ej=Ke(),tj=UI(),ad=String.prototype;jI.exports=function(e){var t=e.trim;return typeof e=="string"||e===ad||ej(ad,e)&&t===ad.trim?tj:t}});var HI=h((q8,JI)=>{"use strict";var rj=BI();JI.exports=rj});var VI=h((F8,$I)=>{$I.exports=HI()});var WI=h(()=>{"use strict";var nj=Z(),GI=hi(),ij=$c(),oj=Ae(),zI=yu(),aj=an(),sj=dr(),lj=Kc(),cj=Je(),uj=gi(),dj=bi(),pj=uj("slice"),fj=cj("species"),sd=Array,hj=Math.max;nj({target:"Array",proto:!0,forced:!pj},{slice:function(t,r){var n=sj(this),i=aj(n),o=zI(t,i),a=zI(r===void 0?i:r,i),s,l,c;if(GI(n)&&(s=n.constructor,ij(s)&&(s===sd||GI(s.prototype))?s=void 0:oj(s)&&(s=s[fj],s===null&&(s=void 0)),s===sd||s===void 0))return dj(n,o,a);for(l=new(s===void 0?sd:s)(hj(a-o,0)),c=0;o<a;o++,c++)o in n&&lj(l,c,n[o]);return l.length=c,l}})});var QI=h((j8,KI)=>{"use strict";WI();var mj=yt();KI.exports=mj("Array","slice")});var XI=h((B8,YI)=>{"use strict";var vj=Ke(),gj=QI(),ld=Array.prototype;YI.exports=function(e){var t=e.slice;return e===ld||vj(ld,e)&&t===ld.slice?gj:t}});var eS=h((J8,ZI)=>{"use strict";var yj=XI();ZI.exports=yj});var rS=h((H8,tS)=>{tS.exports=eS()});var cd=k(()=>{});var iS=h((V8,nS)=>{"use strict";var _j=Ae(),bj=Gt(),wj=Je(),Ij=wj("match");nS.exports=function(e){var t;return _j(e)&&((t=e[Ij])!==void 0?!!t:bj(e)==="RegExp")}});var aS=h((G8,oS)=>{"use strict";var Sj=iS(),Ej=TypeError;oS.exports=function(e){if(Sj(e))throw new Ej("The method doesn't accept regular expressions");return e}});var lS=h((z8,sS)=>{"use strict";var xj=Je(),kj=xj("match");sS.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[kj]=!1,"/./"[e](t)}catch(n){}}return!1}});var dS=h(()=>{"use strict";var Aj=Z(),Tj=ai(),Cj=Lc().f,Pj=Bc(),cS=Fi(),Oj=aS(),Rj=Nr(),Nj=lS(),Dj=en(),Lj=Tj("".slice),qj=Math.min,uS=Nj("startsWith"),Fj=!Dj&&!uS&&!!function(){var e=Cj(String.prototype,"startsWith");return e&&!e.writable}();Aj({target:"String",proto:!0,forced:!Fj&&!uS},{startsWith:function(t){var r=cS(Rj(this));Oj(t);var n=Pj(qj(arguments.length>1?arguments[1]:void 0,r.length)),i=cS(t);return Lj(r,n,n+i.length)===i}})});var fS=h((Q8,pS)=>{"use strict";dS();var Mj=yt();pS.exports=Mj("String","startsWith")});var mS=h((Y8,hS)=>{"use strict";var Uj=Ke(),jj=fS(),ud=String.prototype;hS.exports=function(e){var t=e.startsWith;return typeof e=="string"||e===ud||Uj(ud,e)&&t===ud.startsWith?jj:t}});var gS=h((X8,vS)=>{"use strict";var Bj=mS();vS.exports=Bj});var _S=h((Z8,yS)=>{yS.exports=gS()});var ES=h((e7,SS)=>{"use strict";var wS=be(),Jj=Dr(),Hj=Ae(),$j=ct(),bS=bi(),Vj=Xr(),IS=Function,Gj=wS([].concat),zj=wS([].join),dd={},Wj=function(e,t,r){if(!$j(dd,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";dd[t]=IS("C,a","return new C("+zj(n,",")+")")}return dd[t](e,r)};SS.exports=Vj?IS.bind:function(t){var r=Jj(this),n=r.prototype,i=bS(arguments,1),o=function(){var s=Gj(i,bS(arguments));return this instanceof o?Wj(r,s.length,s):r.apply(t,s)};return Hj(n)&&(o.prototype=n),o}});var kS=h(()=>{"use strict";var Kj=Z(),xS=ES();Kj({target:"Function",proto:!0,forced:Function.bind!==xS},{bind:xS})});var TS=h((n7,AS)=>{"use strict";kS();var Qj=yt();AS.exports=Qj("Function","bind")});var PS=h((i7,CS)=>{"use strict";var Yj=Ke(),Xj=TS(),pd=Function.prototype;CS.exports=function(e){var t=e.bind;return e===pd||Yj(pd,e)&&t===pd.bind?Xj:t}});var RS=h((o7,OS)=>{"use strict";var Zj=PS();OS.exports=Zj});var DS=h((a7,NS)=>{NS.exports=RS()});function Qa(e,t){we.__h&&we.__h(ce,e,$i||t),$i=0;var r=ce.__H||(ce.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ut(e){return $i=1,e2(IE,e)}function e2(e,t,r){var n=Qa(_n++,2);if(n.t=e,!n.__c&&(n.__=[IE(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=ce,!ce.__f)){var i=function(s,l,c){var d;if(!n.__c.__H)return!0;var u=(0,Nd.default)(d=n.__c.__H.__).call(d,function(f){return!!f.__c});if((0,gE.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,Te.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};ce.__f=!0;var o=ce.shouldComponentUpdate,a=ce.componentWillUpdate;ce.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)},ce.shouldComponentUpdate=i}return n.__N||n.__}function Br(e,t){var r=Qa(_n++,3);!we.__s&&wE(r.__H,t)&&(r.__=e,r.u=t,ce.__H.__h.push(r))}function ji(e){return $i=5,Md(function(){return{current:e}},[])}function Md(e,t){var r=Qa(_n++,7);return wE(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function _t(e,t){return $i=8,Md(function(){return e},t)}function t2(e){var t=ce.context[e.__c],r=Qa(_n++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(ce)),t.props.value):e.__}function r2(){for(var e;e=bE.shift();)if(e.__P&&e.__H)try{var t,r;(0,Te.default)(t=e.__H.__h).call(t,La),(0,Te.default)(r=e.__H.__h).call(r,wd),e.__H.__h=[]}catch(n){e.__H.__h=[],we.__e(n,e.__v)}}function n2(e){var t,r=function(){clearTimeout(n),JS&&cancelAnimationFrame(t),(0,Mt.default)(e)},n=(0,Mt.default)(r,100);JS&&(t=requestAnimationFrame(r))}function La(e){var t=ce,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),ce=t}function wd(e){var t=ce;e.__c=e.__(),ce=t}function wE(e,t){return!e||e.length!==t.length||(0,Ha.default)(t).call(t,function(r,n){return r!==e[n]})}function IE(e,t){return typeof t=="function"?t(e):t}function i2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Id(){throw new Error("setTimeout has not been defined")}function Sd(){throw new Error("clearTimeout has not been defined")}function EE(e){if(Nt===Mt.default)return(0,Mt.default)(e,0);if((Nt===Id||!Nt)&&Mt.default)return Nt=Mt.default,(0,Mt.default)(e,0);try{return Nt(e,0)}catch(t){try{return Nt.call(null,e,0)}catch(r){return Nt.call(this,e,0)}}}function o2(e){if(Dt===clearTimeout)return clearTimeout(e);if((Dt===Sd||!Dt)&&clearTimeout)return Dt=clearTimeout,clearTimeout(e);try{return Dt(e)}catch(t){try{return Dt.call(null,e)}catch(r){return Dt.call(this,e)}}}function a2(){!vn||!_r||(vn=!1,_r.length?Yt=(0,Ka.default)(_r).call(_r,Yt):qa=-1,Yt.length&&xE())}function xE(){if(!vn){var e=EE(a2);vn=!0;for(var t=Yt.length;t;){for(_r=Yt,Yt=[];++qa<t;)_r&&_r[qa].run();qa=-1,t=Yt.length}_r=null,vn=!1,o2(e)}}function kE(e,t){this.fun=e,this.array=t}function Zt(){}function c2(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 u2(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 h2(e,t){return qe(e,0)^45?(((t<<2^qe(e,0))<<2^qe(e,1))<<2^qe(e,2))<<2^qe(e,3):0}function CE(e){return(0,qd.default)(e).call(e)}function m2(e,t){return(e=t.exec(e))?e[0]:e}function K(e,t,r){return e.replace(t,r)}function Ed(e,t){return(0,Xt.default)(e).call(e,t)}function qe(e,t){return e.charCodeAt(t)|0}function Vi(e,t,r){return(0,Fd.default)(e).call(e,t,r)}function Lt(e){return e.length}function Jd(e){return e.length}function Oa(e,t){return t.push(e),e}function v2(e,t){return(0,Hi.default)(e).call(e,t).join("")}function Za(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Xa,column:bn,length:a,return:""}}function Mi(e,t){return f2(Za("",null,null,"",null,null,0),e,{length:-e.length},t)}function g2(){return Ie}function y2(){return Ie=et>0?qe(In,--et):0,bn--,Ie===10&&(bn=1,Xa--),Ie}function ut(){return Ie=et<PE?qe(In,et++):0,bn++,Ie===10&&(bn=1,Xa++),Ie}function jt(){return qe(In,et)}function Fa(){return et}function Yi(e,t){return Vi(In,e,t)}function Gi(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 OE(e){return Xa=bn=1,PE=Lt(In=e),et=0,[]}function RE(e){return In="",e}function Ma(e){return CE(Yi(et-1,xd(e===91?e+2:e===40?e+1:e)))}function _2(e){for(;(Ie=jt())&&Ie<33;)ut();return Gi(e)>2||Gi(Ie)>3?"":" "}function b2(e,t){for(;--t&&ut()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return Yi(e,Fa()+(t<6&&jt()==32&&ut()==32))}function xd(e){for(;ut();)switch(Ie){case e:return et;case 34:case 39:e!==34&&e!==39&&xd(Ie);break;case 40:e===41&&xd(e);break;case 92:ut();break}return et}function w2(e,t){for(;ut()&&e+Ie!==57&&!(e+Ie===84&&jt()===47););return"/*"+Yi(t,et-1)+"*"+Ya(e===47?e:ut())}function I2(e){for(;!Gi(jt());)ut();return Yi(e,et)}function S2(e){return RE(Ua("",null,null,null,[""],e=OE(e),0,[0],e))}function Ua(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,x=I;_;)switch(m=b,b=ut()){case 40:if(m!=108&&qe(x,u-1)==58){Ed(x+=K(Ma(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:x+=Ma(b);break;case 9:case 10:case 13:case 32:x+=_2(m);break;case 92:x+=b2(Fa()-1,7);continue;case 47:switch(jt()){case 42:case 47:Oa(E2(w2(ut(),Fa()),t,r),l);break;default:x+="/"}break;case 123*g:s[c++]=Lt(x)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:f>0&&Lt(x)-u&&Oa(f>32?$S(x+";",n,r,u-1):$S(K(x," ","")+";",n,r,u-2),l);break;case 59:x+=";";default:if(Oa(O=HS(x,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)Ua(x,t,O,O,A,o,u,s,C);else switch(p===99&&qe(x,3)===110?100:p){case 100:case 109:case 115:Ua(e,O,O,n&&Oa(HS(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:Ua(x,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=x="",u=a;break;case 58:u=1+Lt(x),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&y2()==125)continue}switch(x+=Ya(b),b*g){case 38:v=d>0?1:(x+="\f",-1);break;case 44:s[c++]=(Lt(x)-1)*v,v=1;break;case 64:jt()===45&&(x+=Ma(ut())),p=jt(),d=u=Lt(I=x+=I2(Fa())),b++;break;case 45:m===45&&Lt(x)==2&&(g=0)}}return o}function HS(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=Jd(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=Vi(e,u+1,u=p2(g=a[m])),I=e;v<f;++v)(I=CE(g>0?p[v]+" "+b:K(b,/&\f/g,p[v])))&&(l[_++]=I);return Za(e,t,r,i===0?jd:s,l,c,d)}function E2(e,t,r){return Za(e,t,r,Ud,Ya(g2()),Vi(e,2,-2),0)}function $S(e,t,r,n){return Za(e,t,r,Bd,Vi(e,0,n),Vi(e,n+1,-1),n)}function gn(e,t){for(var r="",n=Jd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function x2(e,t,r,n){switch(e.type){case d2:case Bd:return e.return=e.return||e.value;case Ud:return"";case TE:return e.return=e.value+"{"+gn(e.children,n)+"}";case jd:e.value=e.props.join(",")}return Lt(r=gn(e.children,n))?e.return=e.value+"{"+r+"}":""}function k2(e){var t=Jd(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 A2(e){return function(t){t.root||(t=t.return)&&e(t)}}function DE(e,t){switch(h2(e,t)){case 5103:return H+"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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Va+e+He+e+e;case 6828:case 4268:return H+e+He+e+e;case 6165:return H+e+He+"flex-"+e+e;case 5187:return H+e+K(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+He+"flex-$1$2")+e;case 5443:return H+e+He+"flex-item-"+K(e,/flex-|-self/,"")+e;case 4675:return H+e+He+"flex-line-pack"+K(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+He+K(e,"shrink","negative")+e;case 5292:return H+e+He+K(e,"basis","preferred-size")+e;case 6060:return H+"box-"+K(e,"-grow","")+H+e+He+K(e,"grow","positive")+e;case 4554:return H+K(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return K(K(K(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return K(K(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+He+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,H+"$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(Lt(e)-1-t>6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Va+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ed(e,"stretch")?DE(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qe(e,t+1)!==115)break;case 6444:switch(qe(e,Lt(e)-3-(~Ed(e,"!important")&&10))){case 107:return K(e,":",":"+H)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(qe(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+He+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+He+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+He+e+e}return e}function qE(){if(zS)return Ra.exports;zS=1;let e=qE();return Ra.exports={default:e},Ra.exports.default=e,Ra.exports}function zi(e,t,r){var n,i="";return(0,Te.default)(n=r.split(" ")).call(n,function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(i+=o+" ")}),i}function B2(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 H2(e){var t=(0,yE.default)(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function Wi(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 qt={name:i.name,styles:i.styles,next:qt},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)qt={name:a.name,styles:a.styles,next:qt},a=a.next;var s=o.styles+";";return s}return G2(e,t,r)}case"function":{if(e!==void 0){var l=qt,c=r(e);return qt=l,Wi(e,t,c)}break}}var d=r;if(t==null)return d;var u=t[d];return u!==void 0?u:d}function G2(e,t,r){var n="";if((0,Ji.default)(r))for(var i=0;i<r.length;i++)n+=Wi(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]+"}":WS(s)&&(n+=hd(o)+":"+KS(o,s)+";")}else if((0,Ji.default)(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)WS(a[l])&&(n+=hd(o)+":"+KS(o,a[l])+";");else{var c=Wi(e,t,a);switch(o){case"animation":case"animationName":{n+=hd(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function br(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="";qt=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Wi(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Wi(r,t,e[s]),n){var l=o;i+=l[s]}QS.lastIndex=0;for(var c="",d;(d=QS.exec(i))!==null;)c+="-"+d[1];var u=B2(i)+c;return{name:u,styles:i,next:qt}}function N(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return br(t)}function nB(e,t,r){var n=[],i=zi(e,n,r);return n.length<2?r:i+t(n)}function y(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:--aB,__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 R.vnode&&R.vnode(c),c}function Xi(){let e=()=>typeof window>"u"?"portrait":window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=Ut(e());return Br(()=>{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 aJ(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 zE(e){let t=window.getComputedStyle(document.body).transform,r="";t&&t!=="none"&&(r=aJ(t)),e.style.transform=r,e.style.transformOrigin="0 0"}function sJ(e){let t=()=>zE(e);return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),t(),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}}function uJ(s){var l=s,{elementTag:e="Image",src:t="",children:r,handleExposure:n,className:i,imgStyle:o}=l,a=je(l,["elementTag","src","children","handleExposure","className","imgStyle"]);let c=cJ(()=>{t&&n()});return e==="Image"?y("div",{className:i,style:{borderRadius:"8px"},children:Be("img",j(T({},a),{ref:c,src:t!=null?t:"",style:T({display:"block",width:"100%",height:"auto",objectFit:"cover",maxWidth:"100%",maxHeight:"100%",aspectRatio:"1 / 1",borderRadius:"8px"},o||{})}))}):y("div",j(T({},a),{ref:c,className:i,children:r}))}function dJ(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?Be(i.type,j(T({},i.props),{style:j(T({},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?Be(e.type,j(T({},e.props),{style:j(T({},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 vJ(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 lE(e,t,r){return ts.call(t,"css")?y(Gd,BE(e,t),r):y(e,t,r)}function IJ(e,t,r){return ts.call(t,"css")?y(Gd,BE(e,t),r):y(e,t,r)}function Pd({children:e,values:t={},style:r}){let n=e.split(/({{\s*\w+\s*}})/g);return y("div",{style:r,children:n.map((i,o)=>{let a=i.match(/^{{\s*(\w+)\s*}}$/);if(a){let s=a[1];return t[s]!==void 0?y(De,{children:t[s]},o):null}return y(De,{children:i},o)})})}function xJ({src:e,alt:t="",width:r=120,height:n=120,top:i="-60px",style:o={}}){let[a,s]=Ut(!1);return a?null:y("div",{style:T({position:"absolute",top:i,left:"50%",transform:"translateX(-50%)",zIndex:10,width:r,height:n},o),children:y("img",{src:e,alt:t,width:r,height:n,style:{display:"block",width:"100%",height:"100%",objectFit:"contain"},onError:()=>s(!0)})})}function TJ({children:e,style:t}){return y("div",{style:`${kJ.styles} ${t}`,children:[e,y("svg",{style:`${AJ.styles} `,width:"18",height:"10",viewBox:"0 0 18 10",children:[y("polygon",{points:"9,10 0,1 18,1",fill:"#ffffff52"}),y("polygon",{points:"9,9 2,1 16,1",fill:"#4F396D"})]})]})}function JJ(e,t){return Fe(e,0)^45?(((t<<2^Fe(e,0))<<2^Fe(e,1))<<2^Fe(e,2))<<2^Fe(e,3):0}function ax(e){return(0,qd.default)(e).call(e)}function HJ(e,t){return(e=t.exec(e))?e[0]:e}function V(e,t,r){return e.replace(t,r)}function Od(e,t){return(0,Xt.default)(e).call(e,t)}function Fe(e,t){return e.charCodeAt(t)|0}function Ki(e,t,r){return(0,Fd.default)(e).call(e,t,r)}function Ft(e){return e.length}function Qd(e){return e.length}function Da(e,t){return t.push(e),e}function $J(e,t){return(0,Hi.default)(e).call(e,t).join("")}function as(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:os,column:wn,length:a,return:""}}function Ui(e,t){return BJ(as("",null,null,"",null,null,0),e,{length:-e.length},t)}function VJ(){return Se}function GJ(){return Se=tt>0?Fe(xn,--tt):0,wn--,Se===10&&(wn=1,os--),Se}function dt(){return Se=tt<sx?Fe(xn,tt++):0,wn++,Se===10&&(wn=1,os++),Se}function Bt(){return Fe(xn,tt)}function ja(){return tt}function eo(e,t){return Ki(xn,e,t)}function Qi(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 lx(e){return os=wn=1,sx=Ft(xn=e),tt=0,[]}function cx(e){return xn="",e}function Ba(e){return ax(eo(tt-1,Rd(e===91?e+2:e===40?e+1:e)))}function zJ(e){for(;(Se=Bt())&&Se<33;)dt();return Qi(e)>2||Qi(Se)>3?"":" "}function WJ(e,t){for(;--t&&dt()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return eo(e,ja()+(t<6&&Bt()==32&&dt()==32))}function Rd(e){for(;dt();)switch(Se){case e:return tt;case 34:case 39:e!==34&&e!==39&&Rd(Se);break;case 40:e===41&&Rd(e);break;case 92:dt();break}return tt}function KJ(e,t){for(;dt()&&e+Se!==57&&!(e+Se===84&&Bt()===47););return"/*"+eo(t,tt-1)+"*"+is(e===47?e:dt())}function QJ(e){for(;!Qi(Bt());)dt();return eo(e,tt)}function YJ(e){return cx(Ja("",null,null,null,[""],e=lx(e),0,[0],e))}function Ja(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,x=I;_;)switch(m=b,b=dt()){case 40:if(m!=108&&Fe(x,u-1)==58){Od(x+=V(Ba(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:x+=Ba(b);break;case 9:case 10:case 13:case 32:x+=zJ(m);break;case 92:x+=WJ(ja()-1,7);continue;case 47:switch(Bt()){case 42:case 47:Da(XJ(KJ(dt(),ja()),t,r),l);break;default:x+="/"}break;case 123*g:s[c++]=Ft(x)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:v==-1&&(x=V(x,/\f/g,"")),f>0&&Ft(x)-u&&Da(f>32?uE(x+";",n,r,u-1):uE(V(x," ","")+";",n,r,u-2),l);break;case 59:x+=";";default:if(Da(O=cE(x,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)Ja(x,t,O,O,A,o,u,s,C);else switch(p===99&&Fe(x,3)===110?100:p){case 100:case 108:case 109:case 115:Ja(e,O,O,n&&Da(cE(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:Ja(x,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=x="",u=a;break;case 58:u=1+Ft(x),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&GJ()==125)continue}switch(x+=is(b),b*g){case 38:v=d>0?1:(x+="\f",-1);break;case 44:s[c++]=(Ft(x)-1)*v,v=1;break;case 64:Bt()===45&&(x+=Ba(dt())),p=Bt(),d=u=Ft(I=x+=QJ(ja())),b++;break;case 45:m===45&&Ft(x)==2&&(g=0)}}return o}function cE(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=Qd(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=Ki(e,u+1,u=jJ(g=a[m])),I=e;v<f;++v)(I=ax(g>0?p[v]+" "+b:V(b,/&\f/g,p[v])))&&(l[_++]=I);return as(e,t,r,i===0?Wd:s,l,c,d)}function XJ(e,t,r){return as(e,t,r,ix,is(VJ()),Ki(e,2,-2),0)}function uE(e,t,r,n){return as(e,t,r,Kd,Ki(e,0,n),Ki(e,n+1,-1),n)}function yn(e,t){for(var r="",n=Qd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function ZJ(e,t,r,n){switch(e.type){case UJ:if(e.children.length)break;case MJ:case Kd:return e.return=e.return||e.value;case ix:return"";case ox:return e.return=e.value+"{"+yn(e.children,n)+"}";case Wd:e.value=e.props.join(",")}return Ft(r=yn(e.children,n))?e.return=e.value+"{"+r+"}":""}function e5(e){var t=Qd(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 t5(e){return function(t){t.root||(t=t.return)&&e(t)}}function ux(e,t){switch(JJ(e,t)){case 5103:return $+"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 $+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $+e+Wa+e+$e+e+e;case 6828:case 4268:return $+e+$e+e+e;case 6165:return $+e+$e+"flex-"+e+e;case 5187:return $+e+V(e,/(\w+).+(:[^]+)/,$+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return $+e+$e+"flex-item-"+V(e,/flex-|-self/,"")+e;case 4675:return $+e+$e+"flex-line-pack"+V(e,/align-content|flex-|-self/,"")+e;case 5548:return $+e+$e+V(e,"shrink","negative")+e;case 5292:return $+e+$e+V(e,"basis","preferred-size")+e;case 6060:return $+"box-"+V(e,"-grow","")+$+e+$e+V(e,"grow","positive")+e;case 4554:return $+V(e,/([^-])(transform)/g,"$1"+$+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,$+"$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(Ft(e)-1-t>6)switch(Fe(e,t+1)){case 109:if(Fe(e,t+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+Wa+(Fe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Od(e,"stretch")?ux(V(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Fe(e,t+1)!==115)break;case 6444:switch(Fe(e,Ft(e)-3-(~Od(e,"!important")&&10))){case 107:return V(e,":",":"+$)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(Fe(e,14)===45?"inline-":"")+"box$3$1"+$+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(Fe(e,t+11)){case 114:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+$e+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+$e+e+e}return e}function pE(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function _d(e,t,r){var n=[],i=zi(e,n,r);return n.length<2?r:i+t(n)}function mE(e){if(e==="top"){let t=0;dx.forEach((r,n)=>{let i=r.querySelector(".toast");i&&(n===0?i.style.top=`max(${fE}px, env(safe-area-inset-top))`:i.style.top=`calc(max(${fE}px, env(safe-area-inset-top)) + ${t}px)`,t+=i.offsetHeight+hE)})}else if(e==="center"){let t=0;px.forEach(r=>{let n=r.querySelector(".toast");n&&(n.style.top=`calc(50% + ${t}px)`,t+=n.offsetHeight+hE)})}}function to(){let e=!1,t=null,r=0,n=new Set,i=a=>w(this,null,function*(){let s=e;if(r++,e=!0,!s)try{let{iframe:l}=yield Bi.acquire(),c=l.contentDocument;if(c)t=c.createElement("div"),t.id="loading-root",c.body.appendChild(t),ur(y(y5,{}),t);else throw new Error("Iframe document is not available.")}catch(l){console.error("[LoadingManager] Failed to show loading:",l),r=0,e=!1,Bi.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&&(ur(null,t),(a=t.parentNode)==null||a.removeChild(t),t=null),Bi.release()))};return{show:i,hide:o,get isLoading(){return e}}}var Nd,gE,Te,Ka,Ha,Mt,$a,Ji,Dd,Xt,Hi,yE,_E,Ld,qd,Fd,d7,bd,_n,ce,fd,LS,$i,bE,we,qS,FS,MS,US,jS,BS,JS,SE,ve,Nt,Dt,Yt,vn,_r,qa,s2,Ce,l2,AE,He,Va,H,Ud,jd,Bd,d2,TE,p2,Ya,f2,Xa,bn,PE,et,Ie,In,T2,C2,P2,VS,O2,R2,N2,D2,L2,NE,q2,GS,F2,M2,U2,LE,Ra,zS,j2,Hd,es,J2,$2,V2,FE,WS,hd,KS,QS,qt,z2,ME,UE,YS,ts,$d,jE,Vd,rs,W2,K2,Q2,Y2,X2,kd,Ad,BE,Z2,Gd,eB,XS,tB,rB,iB,oB,md,ZS,vd,gd,aB,yd,sB,lB,cB,uB,dB,pB,eE,fB,hB,tE,mB,vB,rE,gB,yB,nE,_B,bB,wB,IB,SB,EB,xB,kB,iE,AB,TB,CB,PB,OB,RB,NB,DB,oE,LB,qB,FB,MB,UB,jB,BB,JB,HB,$B,VB,GB,zB,WB,KB,QB,YB,XB,ZB,eJ,tJ,rJ,nJ,iJ,JE,HE,$E,Td,oJ,VE,GE,Ga,Bi,aE,lJ,ns,cJ,WE,KE,QE,pJ,fJ,hJ,Cd,mJ,YE,za,Zi,Sn,sE,jr,XE,mn,gJ,yJ,_J,bJ,wJ,Na,ZE,zd,fe,SJ,EJ,kJ,AJ,kt,CJ,PJ,ex,tx,rx,nx,En,OJ,RJ,NJ,DJ,LJ,qJ,FJ,$e,Wa,$,ix,Wd,Kd,MJ,ox,UJ,jJ,is,BJ,os,wn,sx,tt,Se,xn,r5,n5,i5,dE,o5,a5,s5,l5,c5,u5,d5,p5,f5,h5,m5,v5,fE,hE,dx,px,Jr,vE,g5,y5,p7,er=k(()=>{"use strict";Yr();Nd=ie(sg(),1),gE=ie(gg(),1),Te=ie(Pg(),1),Ka=ie(Vg(),1),Ha=ie(ey(),1),Mt=ie(yy(),1);ta();ta();$a=ie(r_(),1),Ji=ie(c_(),1),Dd=ie(xw(),1),Xt=ie(Lw(),1),Hi=ie($w(),1),yE=ie(Yw(),1),_E=ie(hI(),1),Ld=ie(TI(),1),qd=ie(VI(),1),Fd=ie(rS(),1);cd();cd();d7=ie(_S(),1),bd=ie(DS(),1),$i=0,bE=[],we=R,qS=we.__b,FS=we.__r,MS=we.diffed,US=we.__c,jS=we.unmount,BS=we.__;we.__b=function(e){ce=null,qS&&qS(e)},we.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),BS&&BS(e,t)},we.__r=function(e){var t,r,n;FS&&FS(e),_n=0;var i=(ce=e.__c).__H;i&&(fd===ce?(i.__h=[],ce.__h=[],(0,Te.default)(t=i.__).call(t,function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):((0,Te.default)(r=i.__h).call(r,La),(0,Te.default)(n=i.__h).call(n,wd),i.__h=[],_n=0)),fd=ce},we.diffed=function(e){var t;MS&&MS(e);var r=e.__c;r&&r.__H&&(r.__H.__h.length&&(bE.push(r)!==1&&LS===we.requestAnimationFrame||((LS=we.requestAnimationFrame)||n2)(r2)),(0,Te.default)(t=r.__H.__).call(t,function(n){n.u&&(n.__H=n.u),n.u=void 0})),fd=ce=null},we.__c=function(e,t){(0,Ha.default)(t).call(t,function(r){try{var n,i;(0,Te.default)(n=r.__h).call(n,La),r.__h=(0,Nd.default)(i=r.__h).call(i,function(o){return!o.__||wd(o)})}catch(o){(0,Ha.default)(t).call(t,function(a){a.__h&&(a.__h=[])}),t=[],we.__e(o,r.__v)}}),US&&US(e,t)},we.unmount=function(e){var t;jS&&jS(e);var r,n=e.__c;n&&n.__H&&((0,Te.default)(t=n.__H.__).call(t,function(i){try{La(i)}catch(o){r=o}}),n.__H=void 0,r&&we.__e(r,n.__v))};JS=typeof requestAnimationFrame=="function";SE={exports:{}},ve=SE.exports={};(function(){try{typeof Mt.default=="function"?Nt=Mt.default:Nt=Id}catch(e){Nt=Id}try{typeof clearTimeout=="function"?Dt=clearTimeout:Dt=Sd}catch(e){Dt=Sd}})();Yt=[],vn=!1,qa=-1;ve.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];Yt.push(new kE(e,t)),Yt.length===1&&!vn&&EE(xE)};kE.prototype.run=function(){this.fun.apply(null,this.array)};ve.title="browser";ve.browser=!0;ve.env={};ve.argv=[];ve.version="";ve.versions={};ve.on=Zt;ve.addListener=Zt;ve.once=Zt;ve.off=Zt;ve.removeListener=Zt;ve.removeAllListeners=Zt;ve.emit=Zt;ve.prependListener=Zt;ve.prependOnceListener=Zt;ve.listeners=function(e){return[]};ve.binding=function(e){throw new Error("process.binding is not supported")};ve.cwd=function(){return"/"};ve.chdir=function(e){throw new Error("process.chdir is not supported")};ve.umask=function(){return 0};s2=SE.exports,Ce=i2(s2),l2=$a.default||void 0||self;AE=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,Te.default)(r).call(r,this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(u2(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=c2(n);try{i.insertRule(r,i.cssRules.length)}catch(o){}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){var r;(0,Te.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}(),He="-ms-",Va="-moz-",H="-webkit-",Ud="comm",jd="rule",Bd="decl",d2="@import",TE="@keyframes",p2=Math.abs,Ya=String.fromCharCode,f2=Ld.default;Xa=1,bn=1,PE=0,et=0,Ie=0,In="";T2=function(e,t,r){for(var n=0,i=0;n=i,i=jt(),n===38&&i===12&&(t[r]=1),!Gi(i);)ut();return Yi(e,et)},C2=function(e,t){var r=-1,n=44;do switch(Gi(n)){case 0:n===38&&jt()===12&&(t[r]=1),e[r]+=T2(et-1,t,r);break;case 2:e[r]+=Ma(n);break;case 4:if(n===44){e[++r]=jt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ya(n)}while(n=ut());return e},P2=function(e,t){return RE(C2(OE(e),t))},VS=new Dd.default,O2=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&&!VS.get(r))&&!n){VS.set(e,!0);for(var i=[],o=P2(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]}}},R2=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},N2="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",D2=function(e){var t;return e.type==="comm"&&(0,Xt.default)(t=e.children).call(t,N2)>-1},L2=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(D2(l))return;break}}(0,Te.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".')})}}}},NE=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},q2=function(e,t){for(var r=e-1;r>=0;r--)if(!NE(t[r]))return!0;return!1},GS=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},F2=function(e,t,r){NE(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."),GS(e)):q2(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),GS(e)))};M2=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Bd:e.return=DE(e.value,e.length);break;case TE:return gn([Mi(e,{value:K(e.value,"@","@"+H)})],n);case jd:if(e.length)return v2(e.props,function(i){switch(m2(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gn([Mi(e,{props:[K(i,/:(read-\w+)/,":"+Va+"$1")]})],n);case"::placeholder":return gn([Mi(e,{props:[K(i,/:(plac\w+)/,":"+H+"input-$1")]}),Mi(e,{props:[K(i,/:(plac\w+)/,":"+Va+"$1")]}),Mi(e,{props:[K(i,/:(plac\w+)/,He+"input-$1")]})],n)}return""})}},U2=[M2],LE=function(e){var t=e.key;if(Ce.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,Te.default)(Array.prototype).call(r,function(m){var g=m.getAttribute("data-emotion");(0,Xt.default)(g).call(g," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||U2;if(Ce.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,Te.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[O2,R2];Ce.env.NODE_ENV!=="production"&&l.push(L2({get compat(){return f.compat}}),F2);{var c,d=[x2,Ce.env.NODE_ENV!=="production"?function(m){m.root||(m.return?c.insert(m.return):m.value&&m.type!==Ud&&c.insert(m.value+"{}"))}:A2(function(m){c.insert(m)})],u=k2((0,Ka.default)(l).call(l,n,d)),p=function(m){return gn(S2(m),u)};s=function(m,g,_,v){c=_,Ce.env.NODE_ENV!=="production"&&(0,Hi.default)(g)!==void 0&&(c={insert:function(b){_.insert(b+(0,Hi.default)(g))}}),p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new AE({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},Ra={exports:{}};qE();j2=!0;Hd=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||j2===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},es=function(e,t,r){Hd(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)}};J2={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};$2=/[A-Z]|^ms/g,V2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,FE=function(e){return e.charCodeAt(1)===45},WS=function(e){return e!=null&&typeof e!="boolean"},hd=H2(function(e){return FE(e)?e:e.replace($2,"-$&").toLowerCase()}),KS=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(V2,function(r,n,i){return qt={name:n,styles:i,next:qt},n})}return J2[e]!==1&&!FE(e)&&typeof t=="number"&&t!==0?t+"px":t};QS=/label:\s*([^\s;{]+)\s*(;|$)/g;z2=function(e){return e()},ME=ou?ou:!1,UE=ME||z2,YS=ME||ln,ts={}.hasOwnProperty,$d=Or(typeof HTMLElement<"u"?LE({key:"css"}):null);Ce.env.NODE_ENV!=="production"&&($d.displayName="EmotionCacheContext");jE=$d.Provider,Vd=function(e){return su(function(t,r){var n=un($d);return e(t,n,r)})},rs=Or({});Ce.env.NODE_ENV!=="production"&&(rs.displayName="EmotionThemeContext");W2=function(e){var t=e.split(".");return t[t.length-1]},K2=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 W2(t[1])},Q2=new _E.default(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Y2=function(e){return e.replace(/\$/g,"-")},X2=function(e){if(e)for(var t=e.split(`
22
+ `),r=0;r<t.length;r++){var n=K2(t[r]);if(n){if(Q2.has(n))break;if(/^[A-Z]/.test(n))return Y2(n)}}},kd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ad="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",BE=function(e,t){var r,n;if(Ce.env.NODE_ENV!=="production"&&typeof t.css=="string"&&(0,Xt.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)ts.call(t,o)&&(i[o]=t[o]);if(i[kd]=e,Ce.env.NODE_ENV!=="production"&&t.css&&(typeof t.css!="object"||typeof t.css.name!="string"||(0,Xt.default)(n=t.css.name).call(n,"-")===-1)){var a=X2(new Error().stack);a&&(i[Ad]=a)}return i},Z2=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Hd(t,r,n),UE(function(){return es(t,r,n)}),null},Gd=Vd(function(e,t,r){var n,i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[kd],a=[i],s="";typeof e.className=="string"?s=zi(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var l=br(a,void 0,un(rs));if(Ce.env.NODE_ENV!=="production"&&(0,Xt.default)(n=l.name).call(n,"-")===-1){var c=e[Ad];c&&(l=br([l,"label:"+c+";"]))}s+=t.key+"-"+l.name;var d={};for(var u in e)ts.call(e,u)&&u!=="css"&&u!==kd&&(Ce.env.NODE_ENV==="production"||u!==Ad)&&(d[u]=e[u]);return d.ref=r,d.className=s,Be(De,null,Be(Z2,{cache:t,serialized:l,isStringTag:typeof o=="string"}),Be(o,d))});Ce.env.NODE_ENV!=="production"&&(Gd.displayName="EmotionCssPropInternal");eB={version:"11.10.5"},XS=!1,tB=Vd(function(e,t){Ce.env.NODE_ENV!=="production"&&!XS&&(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?"),XS=!0);var r=e.styles,n=br([r],void 0,un(rs)),i=Ei();return YS(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]),YS(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&es(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});Ce.env.NODE_ENV!=="production"&&(tB.displayName="EmotionGlobal");rB=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,Ji.default)(o))a=e(o);else{Ce.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};iB=function(e){var t=e.cache,r=e.serializedArr;return UE(function(){for(var n=0;n<r.length;n++)es(t,r[n],!1)}),null},oB=Vd(function(e,t){var r=!1,n=[],i=function(){if(r&&Ce.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=br(c,t.registered);return n.push(u),Hd(t,u,!1),t.key+"-"+u.name},o=function(){if(r&&Ce.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 nB(t.registered,i,rB(c))},a={css:i,cx:o,theme:un(rs)},s=e.children(a);return r=!0,Be(De,null,Be(iB,{cache:t,serializedArr:n}),s)});Ce.env.NODE_ENV!=="production"&&(oB.displayName="EmotionClassNames");Ce.env.NODE_ENV!=="production"&&(md=!0,ZS=typeof jest<"u"||typeof vi<"u",md&&!ZS&&(vd=typeof $a.default<"u"?$a.default:md?window:l2,gd="__EMOTION_REACT_"+eB.version.split(".")[0]+"__",vd[gd]&&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."),vd[gd]=!0));aB=0;yd={drawerBackdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"transparent",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"},centerDrawer:{backgroundColor:"transparent",minWidth:"320px",maxWidth:"90vw",maxHeight:"90vh",width:"auto",position:"relative",display:"block",margin:"0 auto",overflowY:"auto"}},sB=N`
23
23
  width: 100%;
24
24
  overflow: auto;
25
25
  margin: 0 auto;
@@ -67,7 +67,7 @@ If multiple caches share the same key they might "fight" for each other's style
67
67
  .fadeIn {
68
68
  animation: fadeIn 0.3s ease forwards;
69
69
  }
70
- `,cB=({children:e,isOpen:t=!1,preventCloseOnBackdropClick:r=!1,onClose:n,className:i="",placement:o="bottom"},a)=>{let[s,l]=Mt(!1),[c,d]=Mt(null),[u,p]=Mt(!1),f=Ui(null),m=Ui(null),g=Ui(!1);Br(()=>{if(s&&f.current){let q=f.current.ownerDocument,Re=q.createElement("style");Re.innerHTML=lB,q.head.appendChild(Re);let Ne={overflow:q.body.style.overflow,position:q.body.style.position,width:q.body.style.width};return q.body.style.overflow="hidden",q.body.style.position="fixed",q.body.style.width="100%",()=>{q.head.contains(Re)&&q.head.removeChild(Re),q.body.style.overflow=Ne.overflow,q.body.style.position=Ne.position,q.body.style.width=Ne.width}}},[s]),Br(()=>{t?!s&&!g.current&&(l(!0),requestAnimationFrame(()=>{setTimeout(()=>d("enter"),0)})):s&&(g.current=!0,d("leave"),p(!1))},[t]);let _=_t(q=>{q.target===m.current&&(c==="leave"?(d(null),l(!1),g.current=!1,n&&n()):c==="enter"&&(d(null),p(!0)))},[c,n]),v=_t(()=>{s&&!g.current&&(g.current=!0,d("leave"),p(!1))},[s]),b=_t(q=>{r||(q.preventDefault(),q.stopPropagation(),v())},[v]),I=_t(()=>{!g.current&&!s&&(l(!0),requestAnimationFrame(()=>{setTimeout(()=>d("enter"),0)}))},[s]),A=_t(()=>s&&!g.current,[s]);if(Br(()=>{if(a){let q={show:I,hide:v,isOpen:A};typeof a=="function"?a(q):a&&(a.current=q)}},[I,v,A,a]),!s)return null;let C=o==="center",O=U(T({},yd.drawerBackdrop),{alignItems:C?"center":"flex-end",justifyContent:"center",backgroundColor:"transparent",pointerEvents:"none"}),E={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.6)",pointerEvents:"auto",opacity:c==="enter"||u?1:0,transition:"opacity 0.3s"},P=C?U(T({},yd.centerDrawer),{pointerEvents:"auto"}):U(T({},yd.drawer),{height:"auto",pointerEvents:"auto"});s&&!u&&!c&&!C&&(P.transform="translateY(100%)");let J=c?C?c==="leave"?"fadeOut":c==="enter"?"fadeIn":"":`drawer-${c}`:"",We=c?`backdrop-${c}`:"";return y("div",{ref:f,style:O,children:[y("div",{style:E,className:We,onClick:b}),y("div",{ref:m,style:U(T({},P),{opacity:C&&c===null&&!u?0:1}),className:`${C&&c==="leave"?"fadeOut":J} ${i}`,onAnimationEnd:_,onClick:q=>q.stopPropagation(),children:y("div",{style:sB.styles,children:e})})]})},uB=su(cB);dB={unlockNeeds:"Unlock needs",price:"Price",unlockWithJolicoin:"Unlock with Jolicoin for a better experience",unlockWithJolicoinDescription:"Unlock with Jolicoin automatically",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"},pB={instead:"Instead of watching ads",introduct:"Use {{coin}}Jolicoin to unlock for better experience",tips:"Get {{coin}} for free",login:"Register & Unlock with Jolicoin",noWatchAds:"No, watch ads",noThanks:"No thanks",rewardTips:"Congrats! You have received {{coin}} Jolicoin! Start unlocking now!"},ex={jolicoin:dB,loginGuide:pB},fB={unlockNeeds:"\u89E3\u9501\u9700\u6C42",price:"\u4EF7\u683C",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9501",unlockWithJolicoinDescription:"\u81EA\u52A8\u4F7F\u7528 Jolicoin \u89E3\u9501",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C2\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\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"},hB={instead:"\u89C2\u770B\u5E7F\u544A",introduct:"\u4F7F\u7528 {{coin}} Jolicoin \u89E3\u9501\u4EE5\u83B7\u5F97\u66F4\u597D\u7684\u4F53\u9A8C",tips:"\u514D\u8D39\u83B7\u53D6 {{coin}}",login:"\u6CE8\u518C\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C2\u770B\u5E7F\u544A",noThanks:"\u4E0D\u7528\u4E86",rewardTips:"\u606D\u559C\uFF01\u60A8\u5DF2\u83B7\u5F97 {{coin}} Jolicoin\uFF01\u7ACB\u5373\u5F00\u59CB\u89E3\u9501\uFF01"},tx={jolicoin:fB,loginGuide:hB},mB={unlockNeeds:"Perlu dibuka",price:"Harga",unlockWithJolicoin:"Pakai Jolicoin untuk pengalaman 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 menyelesaikan pembukaan",unlockFailedPaying:"Pembayaran sedang diproses. Mohon jangan ulangi operasi",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"},vB={instead:"Alihkan dari menonton iklan",introduct:"Gunakan {{coin}} Jolicoin untuk membuka untuk pengalaman yang lebih baik",tips:"Dapatkan {{coin}} gratis",login:"Daftar dan buka dengan Jolicoin",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",rewardTips:"Selamat! Anda telah menerima {{coin}} Jolicoin! Mulai membuka sekarang!"},rx={jolicoin:mB,loginGuide:vB},gB={unlockNeeds:"Perlu dibuka",price:"Harga",unlockWithJolicoin:"Pakai Jolicoin untuk pengalaman 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"},yB={instead:"Alihkan dari menonton iklan",introduct:"Gunakan {{coin}} Jolicoin untuk membuka untuk pengalaman yang lebih baik",tips:"Dapatkan {{coin}} gratis",login:"Daftar dan buka dengan Jolicoin",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",rewardTips:"Selamat! Anda telah menerima {{coin}} Jolicoin! Mulai membuka sekarang!"},nx={jolicoin:gB,loginGuide:yB},_B={unlockNeeds:"\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",price:"\u0E23\u0E32\u0E04\u0E32",unlockWithJolicoin:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin",unlockWithJolicoinDescription:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34\u0E14\u0E49\u0E27\u0E22 Jolicoin",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\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",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\u0E17\u0E33\u0E0B\u0E49\u0E33\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23",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"},bB={instead:"\u0E41\u0E17\u0E19\u0E17\u0E35\u0E48\u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",introduct:"\u0E43\u0E0A\u0E49 {{coin}} Jolicoin \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E30\u0E2A\u0E1A\u0E01\u0E32\u0E23\u0E13\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19",tips:"\u0E23\u0E31\u0E1A {{coin}} \u0E1F\u0E23\u0E35",login:"\u0E25\u0E07\u0E17\u0E30\u0E40\u0E1A\u0E35\u0E22\u0E19\u0E41\u0E25\u0E30\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin",noWatchAds:"\u0E44\u0E21\u0E48 \u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",noThanks:"\u0E44\u0E21\u0E48 \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13",rewardTips:"\u0E22\u0E34\u0E19\u0E14\u0E35\u0E14\u0E49\u0E27\u0E22! \u0E04\u0E38\u0E13\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A {{coin}} Jolicoin! \u0E40\u0E23\u0E34\u0E48\u0E21\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E40\u0E25\u0E22!"},wB={jolicoin:_B,loginGuide:bB},IB={unlockNeeds:"Y\xEAu c\u1EA7u m\u1EDF kh\xF3a",price:"Gi\xE1",unlockWithJolicoin:"M\u1EDF kh\xF3a b\u1EB1ng Jolicoin",unlockWithJolicoinDescription:"T\u1EF1 \u0111\u1ED9ng m\u1EDF kh\xF3a b\u1EB1ng Jolicoin",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 ho\xE0n th\xE0nh vi\u1EC7c m\u1EDF kh\xF3a",unlockFailedPaying:"Thanh to\xE1n \u0111ang \u0111\u01B0\u1EE3c x\u1EED l\xFD. Vui l\xF2ng kh\xF4ng l\u1EB7p l\u1EA1i thao t\xE1c",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"},SB={instead:"Thay th\u1EBF b\u1EB1ng xem qu\u1EA3ng c\xE1o",introduct:"S\u1EED d\u1EE5ng {{coin}} Jolicoin \u0111\u1EC3 m\u1EDF kh\xF3a cho tr\u1EA3i nghi\u1EC7m t\u1ED1t h\u01A1n",tips:"Nh\u1EADn {{coin}} mi\u1EC5n ph\xED",login:"\u0110\u0103ng k\xFD v\xE0 m\u1EDF kh\xF3a v\u1EDBi Jolicoin",noWatchAds:"Kh\xF4ng, xem qu\u1EA3ng c\xE1o",noThanks:"Kh\xF4ng, c\u1EA3m \u01A1n",rewardTips:"Ch\xFAc m\u1EEBng! B\u1EA1n \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c {{coin}} Jolicoin! B\u1EAFt \u0111\u1EA7u m\u1EDF kh\xF3a ngay!"},xB={jolicoin:IB,loginGuide:SB},EB={unlockNeeds:"Kailangan i-unlock",price:"Presyo",unlockWithJolicoin:"I-unlock gamit ang Jolicoin",unlockWithJolicoinDescription:"Awtomatikong i-unlock gamit ang Jolicoin",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 makumpleto ang pag-unlock",unlockFailedPaying:"Ang pagbabayad ay nasa proseso na. Huwag ulitin ang operasyon",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"},kB={instead:"Kung hindi mo na gusto ang mga ad",introduct:"Gamitin ang {{coin}} Jolicoin para i-unlock para sa mas mahusay na karanasan",tips:"Kunin ang {{coin}} para sa libreng",login:"Mag-register at i-unlock gamit ang Jolicoin",noWatchAds:"Hindi, manood ng ads",noThanks:"Hindi na, salamat",rewardTips:"Maligayang pagdating! Nakuha mo na ang {{coin}} Jolicoin! Simulan ang pag-unlock ngayon!"},ix={jolicoin:EB,loginGuide:kB},AB={unlockNeeds:"Necesario desbloquear",price:"Precio",unlockWithJolicoin:"Desbloquea con Jolicoin",unlockWithJolicoinDescription:"Desbloquea autom\xE1ticamente con Jolicoin",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 completar el desbloqueo",unlockFailedPaying:"El pago ya est\xE1 en proceso. Por favor, no repita la operaci\xF3n",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"},TB={instead:"En lugar de ver anuncios",introduct:"Usa {{coin}} Jolicoin para desbloquear para una mejor experiencia",tips:"Obt\xE9n {{coin}} gratis",login:"Reg\xEDstrate y desbloquea con Jolicoin",noWatchAds:"No, ver anuncios",noThanks:"No, gracias",rewardTips:"\xA1Felicidades! Has recibido {{coin}} Jolicoin. \xA1Comienza a desbloquear ahora!"},CB={jolicoin:AB,loginGuide:TB},PB={unlockNeeds:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5FC5\u8981",price:"\u4FA1\u683C",unlockWithJolicoin:"Jolicoin\u3067\u30A2\u30F3\u30ED\u30C3\u30AF",unlockWithJolicoinDescription:"Jolicoin\u3067\u81EA\u52D5\u7684\u306B\u30A2\u30F3\u30ED\u30C3\u30AF",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:"\u30A2\u30F3\u30ED\u30C3\u30AF\u3092\u5B8C\u4E86\u3059\u308B\u306B\u306F\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedPaying:"\u652F\u6255\u3044\u51E6\u7406\u4E2D\u3067\u3059\u3002\u64CD\u4F5C\u3092\u7E70\u308A\u8FD4\u3055\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"},OB={instead:"\u5E83\u544A\u3092\u898B\u308B\u4EE3\u308F\u308A\u306B",introduct:"{{coin}} Jolicoin\u3092\u4F7F\u7528\u3057\u3066\u3001\u3088\u308A\u826F\u3044\u4F53\u9A13\u306E\u305F\u3081\u306B\u30A2\u30F3\u30ED\u30C3\u30AF\u3057\u307E\u3059",tips:"{{coin}}\u3092\u7121\u6599\u3067\u53D6\u5F97",login:"Jolicoin\u3067\u767B\u9332\u3057\u3066\u30A2\u30F3\u30ED\u30C3\u30AF",noWatchAds:"\u3044\u3044\u3048\u3001\u5E83\u544A\u3092\u898B\u308B",noThanks:"\u3044\u3044\u3048\u3001\u7D50\u69CB\u3067\u3059",rewardTips:"\u304A\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307E\u3059\uFF01{{coin}} Jolicoin\u3092\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F\uFF01\u4ECA\u3059\u3050\u30A2\u30F3\u30ED\u30C3\u30AF\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\uFF01"},RB={jolicoin:PB,loginGuide:OB},NB={unlockNeeds:"Necess\xE1rio desbloquear",price:"Pre\xE7o",unlockWithJolicoin:"Desbloqueie com Jolicoin",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 completar o desbloqueio",unlockFailedPaying:"O pagamento j\xE1 est\xE1 em andamento. Por favor, n\xE3o repita a opera\xE7\xE3o",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"},DB={instead:"Em vez de assistir an\xFAncios",introduct:"Use {{coin}} Jolicoin para desbloquear para uma melhor experi\xEAncia",tips:"Obtenha {{coin}} gratuitamente",login:"Registre-se e desbloqueie com Jolicoin",noWatchAds:"N\xE3o, assistir an\xFAncios",noThanks:"N\xE3o, obrigado",rewardTips:"Parab\xE9ns! Voc\xEA recebeu {{coin}} Jolicoin! Comece a desbloquear agora!"},ox={jolicoin:NB,loginGuide:DB},LB={unlockNeeds:"\uC7A0\uAE08 \uD574\uC81C \uD544\uC694",price:"\uAC00\uACA9",unlockWithJolicoin:"Jolicoin\uC73C\uB85C \uC7A0\uAE08 \uD574\uC81C",unlockWithJolicoinDescription:"Jolicoin\uC73C\uB85C \uC790\uB3D9 \uC7A0\uAE08 \uD574\uC81C",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 \uC644\uB8CC\uD558\uB824\uBA74 \uB85C\uADF8\uC778\uD558\uC138\uC694",unlockFailedPaying:"\uACB0\uC81C\uAC00 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uC791\uC5C5\uC744 \uBC18\uBCF5\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"},qB={instead:"\uAD11\uACE0 \uC2DC\uCCAD \uB300\uC2E0",introduct:"{{coin}} Jolicoin\uC744 \uC0AC\uC6A9\uD558\uC5EC \uB354 \uB098\uC740 \uACBD\uD5D8\uC744 \uC704\uD574 \uC7A0\uAE08 \uD574\uC81C",tips:"{{coin}}\uC744 \uBB34\uB8CC\uB85C \uBC1B\uC73C\uC138\uC694",login:"Jolicoin\uC73C\uB85C \uB4F1\uB85D \uBC0F \uC7A0\uAE08 \uD574\uC81C",noWatchAds:"\uC544\uB2C8\uC694, \uAD11\uACE0 \uC2DC\uCCAD",noThanks:"\uC544\uB2C8\uC694, \uAC10\uC0AC\uD569\uB2C8\uB2E4",rewardTips:"\uCD95\uD558\uD569\uB2C8\uB2E4! {{coin}} Jolicoin\uC744 \uBC1B\uC558\uC2B5\uB2C8\uB2E4! \uC9C0\uAE08 \uC7A0\uAE08 \uD574\uC81C\uB97C \uC2DC\uC791\uD558\uC138\uC694!"},FB={jolicoin:LB,loginGuide:qB},MB={unlockNeeds:"\u89E3\u9396\u9700\u6C42",price:"\u50F9\u683C",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9396",unlockWithJolicoinDescription:"\u81EA\u52D5\u4F7F\u7528 Jolicoin \u89E3\u9396",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\uFF0C\u89C0\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\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"},jB={instead:"\u89C0\u770B\u5EE3\u544A",introduct:"\u4F7F\u7528 {{coin}} Jolicoin \u89E3\u9396\u4EE5\u7372\u5F97\u66F4\u597D\u7684\u9AD4\u9A57",tips:"\u514D\u8CBB\u7372\u53D6 {{coin}}",login:"\u8A3B\u518A\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C0\u770B\u5EE3\u544A",noThanks:"\u4E0D\u7528\u4E86",rewardTips:"\u606D\u559C\uFF01\u60A8\u5DF2\u7372\u5F97 {{coin}} Jolicoin\uFF01\u7ACB\u5373\u958B\u59CB\u89E3\u9396\uFF01"},UB={jolicoin:MB,loginGuide:jB},BB={unlockNeeds:"Entsperren erforderlich",price:"Preis",unlockWithJolicoin:"Mit Jolicoin entsperren",unlockWithJolicoinDescription:"Automatisch mit Jolicoin entsperren",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 die Entsperrung abzuschlie\xDFen",unlockFailedPaying:"Zahlung l\xE4uft bereits. Bitte nicht wiederholen",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"},JB={instead:"Anstatt Werbung anzusehen",introduct:"Verwenden Sie {{coin}} Jolicoin f\xFCr eine bessere Erfahrung",tips:"Holen Sie sich {{coin}} kostenlos",login:"Registrieren und entsperren mit Jolicoin",noWatchAds:"Nein, Werbung ansehen",noThanks:"Nein danke",rewardTips:"Gl\xFCckwunsch! Sie haben {{coin}} Jolicoin erhalten! Starten Sie jetzt die Entsperrung!"},HB={jolicoin:BB,loginGuide:JB},$B={unlockNeeds:"D\xE9verrouillage n\xE9cessaire",price:"Prix",unlockWithJolicoin:"D\xE9verrouillez avec Jolicoin",unlockWithJolicoinDescription:"D\xE9verrouillez automatiquement avec Jolicoin",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 terminer le d\xE9verrouillage",unlockFailedPaying:"Le paiement est d\xE9j\xE0 en cours. Veuillez ne pas r\xE9p\xE9ter l'op\xE9ration",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"},VB={instead:"Au lieu de regarder des publicit\xE9s",introduct:"Utilisez {{coin}} Jolicoin pour d\xE9bloquer pour une meilleure exp\xE9rience",tips:"Obtenez {{coin}} gratuitement",login:"S'inscrire et d\xE9bloquer avec Jolicoin",noWatchAds:"Non, regarder des publicit\xE9s",noThanks:"Non merci",rewardTips:"F\xE9licitations ! Vous avez re\xE7u {{coin}} Jolicoin ! D\xE9bloquez maintenant !"},GB={jolicoin:$B,loginGuide:VB},zB={unlockNeeds:"\u0905\u0928\u0932\u0949\u0915 \u0906\u0935\u0936\u094D\u092F\u0915",price:"\u092E\u0942\u0932\u094D\u092F",unlockWithJolicoin:"Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",unlockWithJolicoinDescription:"\u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",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:"\u0905\u0928\u0932\u0949\u0915 \u092A\u0942\u0930\u093E \u0915\u0930\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 \u0911\u092A\u0930\u0947\u0936\u0928 \u0926\u094B\u0939\u0930\u093E\u090F\u0902 \u0928\u0939\u0940\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"},WB={instead:"\u0935\u093F\u091C\u094D\u091E\u093E\u092A\u0928 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u092C\u091C\u093E\u092F",introduct:"{{coin}} Jolicoin \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0915\u0947 \u092C\u0947\u0939\u0924\u0930 \u0905\u0928\u0941\u092D\u0935 \u0915\u0947 \u0932\u093F\u090F \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",tips:"{{coin}} \u092E\u0941\u092B\u094D\u0924 \u092E\u0947\u0902 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0947\u0902",login:"Jolicoin \u0915\u0947 \u0938\u093E\u0925 \u0930\u091C\u093F\u0938\u094D\u091F\u0930 \u0914\u0930 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",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",rewardTips:"\u092C\u0927\u093E\u0908 \u0939\u094B! \u0906\u092A\u0928\u0947 {{coin}} Jolicoin \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u093F\u092F\u093E \u0939\u0948! \u0905\u092D\u0940 \u0905\u0928\u0932\u0949\u0915 \u0936\u0941\u0930\u0942 \u0915\u0930\u0947\u0902!"},KB={jolicoin:zB,loginGuide:WB},QB={unlockNeeds:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430",price:"\u0426\u0435\u043D\u0430",unlockWithJolicoin:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",unlockWithJolicoinDescription:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",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 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443",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\u043E\u0432\u0442\u043E\u0440\u044F\u0439\u0442\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E",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"},YB={instead:"\u0412\u043C\u0435\u0441\u0442\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u043A\u043B\u0430\u043C\u044B",introduct:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {{coin}} Jolicoin \u0434\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438 \u0434\u043B\u044F \u043B\u0443\u0447\u0448\u0435\u0433\u043E \u043E\u043F\u044B\u0442\u0430",tips:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 {{coin}} \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",login:"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044C \u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",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",rewardTips:"\u041F\u043E\u0437\u0434\u0440\u0430\u0432\u043B\u044F\u0435\u043C! \u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0438 {{coin}} Jolicoin! \u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443 \u0441\u0435\u0439\u0447\u0430\u0441!"},XB={jolicoin:QB,loginGuide:YB},ZB={unlockNeeds:"\u0986\u09A8\u09B2\u0995 \u09AA\u09CD\u09B0\u09AF\u09BC\u09CB\u099C\u09A8",price:"\u09AE\u09C2\u09B2\u09CD\u09AF",unlockWithJolicoin:"Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",unlockWithJolicoinDescription:"\u09B8\u09CD\u09AC\u09AF\u09BC\u0982\u0995\u09CD\u09B0\u09BF\u09AF\u09BC\u09AD\u09BE\u09AC\u09C7 Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",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:"\u0986\u09A8\u09B2\u0995 \u09B8\u09AE\u09CD\u09AA\u09C2\u09B0\u09CD\u09A3 \u0995\u09B0\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 \u09AA\u09C1\u09A8\u09B0\u09BE\u09AC\u09C3\u09A4\u09CD\u09A4\u09BF \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"},eJ={instead:"\u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09A4\u09C7",introduct:"\u0986\u09AA\u09A8\u09BE\u09B0 \u09AD\u09BE\u09B2 \u0985\u09AD\u09BF\u099C\u09CD\u099E\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF {{coin}}Jolicoin \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C1\u09A8",tips:"\u09AB\u09CD\u09B0\u09BF {{coin}} \u09AA\u09C7\u09A4\u09C7",login:"Jolicoin \u09B8\u09BE\u09A5\u09C7 \u09B0\u09C7\u099C\u09BF\u09B8\u09CD\u099F\u09BE\u09B0 \u098F\u09AC\u0982 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",noWatchAds:"\u09A8\u09BE, \u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09A4\u09C7",noThanks:"\u09A8\u09BE, \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6",rewardTips:"\u0985\u09AD\u09BF\u09A8\u09A8\u09CD\u09A6\u09A8! \u0986\u09AA\u09A8\u09BF {{coin}} Jolicoin \u09AA\u09C7\u09AF\u09BC\u09C7\u099B\u09C7\u09A8! \u0986\u09A8\u09B2\u0995 \u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09C1\u09A8!"},tJ={jolicoin:ZB,loginGuide:eJ},rJ={unlockNeeds:"Kilidi a\xE7mak gerekli",price:"Fiyat",unlockWithJolicoin:"Jolicoin ile kilidi a\xE7\u0131n",unlockWithJolicoinDescription:"Jolicoin ile otomatik olarak kilidi a\xE7\u0131n",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:"Kilidi a\xE7may\u0131 tamamlamak i\xE7in l\xFCtfen giri\u015F yap\u0131n",unlockFailedPaying:"\xD6deme zaten devam ediyor. L\xFCtfen i\u015Flemi tekrarlamay\u0131n",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"},nJ={instead:"Reklam izleme yerine",introduct:"{{coin}} Jolicoin kullanarak daha iyi deneyim i\xE7in kilidi a\xE7\u0131n",tips:"{{coin}} almak i\xE7in \xFCcretsiz",login:"Jolicoin ile kay\u0131t ve kilidi a\xE7\u0131n",noWatchAds:"Hay\u0131r, reklamlar\u0131 izle",noThanks:"Hay\u0131r, te\u015Fekk\xFCrler",rewardTips:"Tebrikler! {{coin}} Jolicoin ald\u0131n\u0131z! Kilidi a\xE7maya ba\u015Flay\u0131n!"},iJ={jolicoin:rJ,loginGuide:nJ},Jx={en:{translations:ex},en_GB:{translations:ex},zh:{translations:tx},"zh-Hans":{translations:tx},"zh-Hant":{translations:UB},id:{translations:rx},in:{translations:rx},ms:{translations:nx},my:{translations:nx},th:{translations:wB},vi:{translations:xB},fil:{translations:ix},tl:{translations:ix},es:{translations:CB},ja:{translations:RB},pt:{translations:ox},pt_PT:{translations:ox},ko:{translations:FB},de:{translations:HB},fr:{translations:GB},hi:{translations:KB},ru:{translations:XB},bn:{translations:tJ},tr:{translations:iJ}},Hx=Or(void 0),$x=({definition:e,children:t})=>{let r={translations:e};return y(Hx.Provider,{value:r,children:t})},Td=null,oJ={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"},Vx=e=>{Td=e},Gx=()=>{var e;if(typeof Td!="function")return console.warn("Language handler is not registered or is not a function. Defaulting to 'en'."),"en";try{let t=Td();return(e=oJ[t])!=null?e:"en"}catch(t){return console.error("Error executing registered language handler:",t),"en"}};Ga=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=Lx({key:"iframe-css",container:this.persistentIframe.contentDocument.head,prepend:!0}),this.removeGlobalTransformSync&&this.removeGlobalTransformSync(),this.removeGlobalTransformSync=sJ(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 w(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"&&(zx(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"))}},Bi=new Ga(99999998,"auto"),ax=new Ga(99999999,"none"),lJ=({title:e,content:t,noHeader:r,height:n,padding:i="16px",footerButtons:o,onClose:a})=>{let s=Xi(),l={container:N`
70
+ `,cB=({children:e,isOpen:t=!1,preventCloseOnBackdropClick:r=!1,onClose:n,className:i="",placement:o="bottom"},a)=>{let[s,l]=Ut(!1),[c,d]=Ut(null),[u,p]=Ut(!1),f=ji(null),m=ji(null),g=ji(!1);Br(()=>{if(s&&f.current){let q=f.current.ownerDocument,Re=q.createElement("style");Re.innerHTML=lB,q.head.appendChild(Re);let Ne={overflow:q.body.style.overflow,position:q.body.style.position,width:q.body.style.width};return q.body.style.overflow="hidden",q.body.style.position="fixed",q.body.style.width="100%",()=>{q.head.contains(Re)&&q.head.removeChild(Re),q.body.style.overflow=Ne.overflow,q.body.style.position=Ne.position,q.body.style.width=Ne.width}}},[s]),Br(()=>{t?!s&&!g.current&&(l(!0),requestAnimationFrame(()=>{setTimeout(()=>d("enter"),0)})):s&&(g.current=!0,d("leave"),p(!1))},[t]);let _=_t(q=>{q.target===m.current&&(c==="leave"?(d(null),l(!1),g.current=!1,n&&n()):c==="enter"&&(d(null),p(!0)))},[c,n]),v=_t(()=>{s&&!g.current&&(g.current=!0,d("leave"),p(!1))},[s]),b=_t(q=>{r||(q.preventDefault(),q.stopPropagation(),v())},[v]),I=_t(()=>{!g.current&&!s&&(l(!0),requestAnimationFrame(()=>{setTimeout(()=>d("enter"),0)}))},[s]),A=_t(()=>s&&!g.current,[s]);if(Br(()=>{if(a){let q={show:I,hide:v,isOpen:A};typeof a=="function"?a(q):a&&(a.current=q)}},[I,v,A,a]),!s)return null;let C=o==="center",O=j(T({},yd.drawerBackdrop),{alignItems:C?"center":"flex-end",justifyContent:"center",backgroundColor:"transparent",pointerEvents:"none"}),x={position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.6)",pointerEvents:"auto",opacity:c==="enter"||u?1:0,transition:"opacity 0.3s"},P=C?j(T({},yd.centerDrawer),{pointerEvents:"auto"}):j(T({},yd.drawer),{height:"auto",pointerEvents:"auto"});s&&!u&&!c&&!C&&(P.transform="translateY(100%)");let J=c?C?c==="leave"?"fadeOut":c==="enter"?"fadeIn":"":`drawer-${c}`:"",We=c?`backdrop-${c}`:"";return y("div",{ref:f,style:O,children:[y("div",{style:x,className:We,onClick:b}),y("div",{ref:m,style:j(T({},P),{opacity:C&&c===null&&!u?0:1}),className:`${C&&c==="leave"?"fadeOut":J} ${i}`,onAnimationEnd:_,onClick:q=>q.stopPropagation(),children:y("div",{style:sB.styles,children:e})})]})},uB=su(cB);dB={unlockNeeds:"Unlock needs",price:"Price",unlockWithJolicoin:"Unlock with Jolicoin for a better experience",unlockWithJolicoinDescription:"Unlock with Jolicoin automatically",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"},pB={instead:"Instead of watching ads",introduct:"Use {{coin}}Jolicoin to unlock for better experience",tips:"Get {{coin}} for free",login:"Register & Unlock with Jolicoin",noWatchAds:"No, watch ads",noThanks:"No thanks",rewardTips:"Congrats! You have received {{coin}} Jolicoin! Start unlocking now!"},eE={jolicoin:dB,loginGuide:pB},fB={unlockNeeds:"\u89E3\u9501\u9700\u6C42",price:"\u4EF7\u683C",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9501",unlockWithJolicoinDescription:"\u81EA\u52A8\u4F7F\u7528 Jolicoin \u89E3\u9501",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C2\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\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"},hB={instead:"\u89C2\u770B\u5E7F\u544A",introduct:"\u4F7F\u7528 {{coin}} Jolicoin \u89E3\u9501\u4EE5\u83B7\u5F97\u66F4\u597D\u7684\u4F53\u9A8C",tips:"\u514D\u8D39\u83B7\u53D6 {{coin}}",login:"\u6CE8\u518C\u5E76\u89E3\u9501",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C2\u770B\u5E7F\u544A",noThanks:"\u4E0D\u7528\u4E86",rewardTips:"\u606D\u559C\uFF01\u60A8\u5DF2\u83B7\u5F97 {{coin}} Jolicoin\uFF01\u7ACB\u5373\u5F00\u59CB\u89E3\u9501\uFF01"},tE={jolicoin:fB,loginGuide:hB},mB={unlockNeeds:"Perlu dibuka",price:"Harga",unlockWithJolicoin:"Pakai Jolicoin untuk pengalaman 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 menyelesaikan pembukaan",unlockFailedPaying:"Pembayaran sedang diproses. Mohon jangan ulangi operasi",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"},vB={instead:"Alihkan dari menonton iklan",introduct:"Gunakan {{coin}} Jolicoin untuk membuka untuk pengalaman yang lebih baik",tips:"Dapatkan {{coin}} gratis",login:"Daftar dan buka dengan Jolicoin",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",rewardTips:"Selamat! Anda telah menerima {{coin}} Jolicoin! Mulai membuka sekarang!"},rE={jolicoin:mB,loginGuide:vB},gB={unlockNeeds:"Perlu dibuka",price:"Harga",unlockWithJolicoin:"Pakai Jolicoin untuk pengalaman 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"},yB={instead:"Alihkan dari menonton iklan",introduct:"Gunakan {{coin}} Jolicoin untuk membuka untuk pengalaman yang lebih baik",tips:"Dapatkan {{coin}} gratis",login:"Daftar dan buka dengan Jolicoin",noWatchAds:"Tidak, tonton iklan",noThanks:"Tidak, terima kasih",rewardTips:"Selamat! Anda telah menerima {{coin}} Jolicoin! Mulai membuka sekarang!"},nE={jolicoin:gB,loginGuide:yB},_B={unlockNeeds:"\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",price:"\u0E23\u0E32\u0E04\u0E32",unlockWithJolicoin:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin",unlockWithJolicoinDescription:"\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34\u0E14\u0E49\u0E27\u0E22 Jolicoin",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\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E01\u0E32\u0E23\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04",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\u0E17\u0E33\u0E0B\u0E49\u0E33\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23",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"},bB={instead:"\u0E41\u0E17\u0E19\u0E17\u0E35\u0E48\u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",introduct:"\u0E43\u0E0A\u0E49 {{coin}} Jolicoin \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E30\u0E2A\u0E1A\u0E01\u0E32\u0E23\u0E13\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E36\u0E49\u0E19",tips:"\u0E23\u0E31\u0E1A {{coin}} \u0E1F\u0E23\u0E35",login:"\u0E25\u0E07\u0E17\u0E30\u0E40\u0E1A\u0E35\u0E22\u0E19\u0E41\u0E25\u0E30\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E14\u0E49\u0E27\u0E22 Jolicoin",noWatchAds:"\u0E44\u0E21\u0E48 \u0E14\u0E39\u0E42\u0E06\u0E29\u0E13\u0E32",noThanks:"\u0E44\u0E21\u0E48 \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13",rewardTips:"\u0E22\u0E34\u0E19\u0E14\u0E35\u0E14\u0E49\u0E27\u0E22! \u0E04\u0E38\u0E13\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A {{coin}} Jolicoin! \u0E40\u0E23\u0E34\u0E48\u0E21\u0E1B\u0E25\u0E14\u0E25\u0E47\u0E2D\u0E04\u0E40\u0E25\u0E22!"},wB={jolicoin:_B,loginGuide:bB},IB={unlockNeeds:"Y\xEAu c\u1EA7u m\u1EDF kh\xF3a",price:"Gi\xE1",unlockWithJolicoin:"M\u1EDF kh\xF3a b\u1EB1ng Jolicoin",unlockWithJolicoinDescription:"T\u1EF1 \u0111\u1ED9ng m\u1EDF kh\xF3a b\u1EB1ng Jolicoin",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 ho\xE0n th\xE0nh vi\u1EC7c m\u1EDF kh\xF3a",unlockFailedPaying:"Thanh to\xE1n \u0111ang \u0111\u01B0\u1EE3c x\u1EED l\xFD. Vui l\xF2ng kh\xF4ng l\u1EB7p l\u1EA1i thao t\xE1c",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"},SB={instead:"Thay th\u1EBF b\u1EB1ng xem qu\u1EA3ng c\xE1o",introduct:"S\u1EED d\u1EE5ng {{coin}} Jolicoin \u0111\u1EC3 m\u1EDF kh\xF3a cho tr\u1EA3i nghi\u1EC7m t\u1ED1t h\u01A1n",tips:"Nh\u1EADn {{coin}} mi\u1EC5n ph\xED",login:"\u0110\u0103ng k\xFD v\xE0 m\u1EDF kh\xF3a v\u1EDBi Jolicoin",noWatchAds:"Kh\xF4ng, xem qu\u1EA3ng c\xE1o",noThanks:"Kh\xF4ng, c\u1EA3m \u01A1n",rewardTips:"Ch\xFAc m\u1EEBng! B\u1EA1n \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c {{coin}} Jolicoin! B\u1EAFt \u0111\u1EA7u m\u1EDF kh\xF3a ngay!"},EB={jolicoin:IB,loginGuide:SB},xB={unlockNeeds:"Kailangan i-unlock",price:"Presyo",unlockWithJolicoin:"I-unlock gamit ang Jolicoin",unlockWithJolicoinDescription:"Awtomatikong i-unlock gamit ang Jolicoin",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 makumpleto ang pag-unlock",unlockFailedPaying:"Ang pagbabayad ay nasa proseso na. Huwag ulitin ang operasyon",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"},kB={instead:"Kung hindi mo na gusto ang mga ad",introduct:"Gamitin ang {{coin}} Jolicoin para i-unlock para sa mas mahusay na karanasan",tips:"Kunin ang {{coin}} para sa libreng",login:"Mag-register at i-unlock gamit ang Jolicoin",noWatchAds:"Hindi, manood ng ads",noThanks:"Hindi na, salamat",rewardTips:"Maligayang pagdating! Nakuha mo na ang {{coin}} Jolicoin! Simulan ang pag-unlock ngayon!"},iE={jolicoin:xB,loginGuide:kB},AB={unlockNeeds:"Necesario desbloquear",price:"Precio",unlockWithJolicoin:"Desbloquea con Jolicoin",unlockWithJolicoinDescription:"Desbloquea autom\xE1ticamente con Jolicoin",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 completar el desbloqueo",unlockFailedPaying:"El pago ya est\xE1 en proceso. Por favor, no repita la operaci\xF3n",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"},TB={instead:"En lugar de ver anuncios",introduct:"Usa {{coin}} Jolicoin para desbloquear para una mejor experiencia",tips:"Obt\xE9n {{coin}} gratis",login:"Reg\xEDstrate y desbloquea con Jolicoin",noWatchAds:"No, ver anuncios",noThanks:"No, gracias",rewardTips:"\xA1Felicidades! Has recibido {{coin}} Jolicoin. \xA1Comienza a desbloquear ahora!"},CB={jolicoin:AB,loginGuide:TB},PB={unlockNeeds:"\u30A2\u30F3\u30ED\u30C3\u30AF\u5FC5\u8981",price:"\u4FA1\u683C",unlockWithJolicoin:"Jolicoin\u3067\u30A2\u30F3\u30ED\u30C3\u30AF",unlockWithJolicoinDescription:"Jolicoin\u3067\u81EA\u52D5\u7684\u306B\u30A2\u30F3\u30ED\u30C3\u30AF",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:"\u30A2\u30F3\u30ED\u30C3\u30AF\u3092\u5B8C\u4E86\u3059\u308B\u306B\u306F\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044",unlockFailedPaying:"\u652F\u6255\u3044\u51E6\u7406\u4E2D\u3067\u3059\u3002\u64CD\u4F5C\u3092\u7E70\u308A\u8FD4\u3055\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"},OB={instead:"\u5E83\u544A\u3092\u898B\u308B\u4EE3\u308F\u308A\u306B",introduct:"{{coin}} Jolicoin\u3092\u4F7F\u7528\u3057\u3066\u3001\u3088\u308A\u826F\u3044\u4F53\u9A13\u306E\u305F\u3081\u306B\u30A2\u30F3\u30ED\u30C3\u30AF\u3057\u307E\u3059",tips:"{{coin}}\u3092\u7121\u6599\u3067\u53D6\u5F97",login:"Jolicoin\u3067\u767B\u9332\u3057\u3066\u30A2\u30F3\u30ED\u30C3\u30AF",noWatchAds:"\u3044\u3044\u3048\u3001\u5E83\u544A\u3092\u898B\u308B",noThanks:"\u3044\u3044\u3048\u3001\u7D50\u69CB\u3067\u3059",rewardTips:"\u304A\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307E\u3059\uFF01{{coin}} Jolicoin\u3092\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F\uFF01\u4ECA\u3059\u3050\u30A2\u30F3\u30ED\u30C3\u30AF\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\uFF01"},RB={jolicoin:PB,loginGuide:OB},NB={unlockNeeds:"Necess\xE1rio desbloquear",price:"Pre\xE7o",unlockWithJolicoin:"Desbloqueie com Jolicoin",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 completar o desbloqueio",unlockFailedPaying:"O pagamento j\xE1 est\xE1 em andamento. Por favor, n\xE3o repita a opera\xE7\xE3o",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"},DB={instead:"Em vez de assistir an\xFAncios",introduct:"Use {{coin}} Jolicoin para desbloquear para uma melhor experi\xEAncia",tips:"Obtenha {{coin}} gratuitamente",login:"Registre-se e desbloqueie com Jolicoin",noWatchAds:"N\xE3o, assistir an\xFAncios",noThanks:"N\xE3o, obrigado",rewardTips:"Parab\xE9ns! Voc\xEA recebeu {{coin}} Jolicoin! Comece a desbloquear agora!"},oE={jolicoin:NB,loginGuide:DB},LB={unlockNeeds:"\uC7A0\uAE08 \uD574\uC81C \uD544\uC694",price:"\uAC00\uACA9",unlockWithJolicoin:"Jolicoin\uC73C\uB85C \uC7A0\uAE08 \uD574\uC81C",unlockWithJolicoinDescription:"Jolicoin\uC73C\uB85C \uC790\uB3D9 \uC7A0\uAE08 \uD574\uC81C",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 \uC644\uB8CC\uD558\uB824\uBA74 \uB85C\uADF8\uC778\uD558\uC138\uC694",unlockFailedPaying:"\uACB0\uC81C\uAC00 \uC9C4\uD589 \uC911\uC785\uB2C8\uB2E4. \uC791\uC5C5\uC744 \uBC18\uBCF5\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"},qB={instead:"\uAD11\uACE0 \uC2DC\uCCAD \uB300\uC2E0",introduct:"{{coin}} Jolicoin\uC744 \uC0AC\uC6A9\uD558\uC5EC \uB354 \uB098\uC740 \uACBD\uD5D8\uC744 \uC704\uD574 \uC7A0\uAE08 \uD574\uC81C",tips:"{{coin}}\uC744 \uBB34\uB8CC\uB85C \uBC1B\uC73C\uC138\uC694",login:"Jolicoin\uC73C\uB85C \uB4F1\uB85D \uBC0F \uC7A0\uAE08 \uD574\uC81C",noWatchAds:"\uC544\uB2C8\uC694, \uAD11\uACE0 \uC2DC\uCCAD",noThanks:"\uC544\uB2C8\uC694, \uAC10\uC0AC\uD569\uB2C8\uB2E4",rewardTips:"\uCD95\uD558\uD569\uB2C8\uB2E4! {{coin}} Jolicoin\uC744 \uBC1B\uC558\uC2B5\uB2C8\uB2E4! \uC9C0\uAE08 \uC7A0\uAE08 \uD574\uC81C\uB97C \uC2DC\uC791\uD558\uC138\uC694!"},FB={jolicoin:LB,loginGuide:qB},MB={unlockNeeds:"\u89E3\u9396\u9700\u6C42",price:"\u50F9\u683C",unlockWithJolicoin:"\u4F7F\u7528 Jolicoin \u89E3\u9396",unlockWithJolicoinDescription:"\u81EA\u52D5\u4F7F\u7528 Jolicoin \u89E3\u9396",useJolicoin:"\u4F7F\u7528 Jolicoin",payAndUnlock:"\u652F\u4ED8\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\uFF0C\u89C0\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\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"},UB={instead:"\u89C0\u770B\u5EE3\u544A",introduct:"\u4F7F\u7528 {{coin}} Jolicoin \u89E3\u9396\u4EE5\u7372\u5F97\u66F4\u597D\u7684\u9AD4\u9A57",tips:"\u514D\u8CBB\u7372\u53D6 {{coin}}",login:"\u8A3B\u518A\u4E26\u89E3\u9396",noWatchAds:"\u4E0D\u7528\u4E86\uFF0C\u89C0\u770B\u5EE3\u544A",noThanks:"\u4E0D\u7528\u4E86",rewardTips:"\u606D\u559C\uFF01\u60A8\u5DF2\u7372\u5F97 {{coin}} Jolicoin\uFF01\u7ACB\u5373\u958B\u59CB\u89E3\u9396\uFF01"},jB={jolicoin:MB,loginGuide:UB},BB={unlockNeeds:"Entsperren erforderlich",price:"Preis",unlockWithJolicoin:"Mit Jolicoin entsperren",unlockWithJolicoinDescription:"Automatisch mit Jolicoin entsperren",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 die Entsperrung abzuschlie\xDFen",unlockFailedPaying:"Zahlung l\xE4uft bereits. Bitte nicht wiederholen",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"},JB={instead:"Anstatt Werbung anzusehen",introduct:"Verwenden Sie {{coin}} Jolicoin f\xFCr eine bessere Erfahrung",tips:"Holen Sie sich {{coin}} kostenlos",login:"Registrieren und entsperren mit Jolicoin",noWatchAds:"Nein, Werbung ansehen",noThanks:"Nein danke",rewardTips:"Gl\xFCckwunsch! Sie haben {{coin}} Jolicoin erhalten! Starten Sie jetzt die Entsperrung!"},HB={jolicoin:BB,loginGuide:JB},$B={unlockNeeds:"D\xE9verrouillage n\xE9cessaire",price:"Prix",unlockWithJolicoin:"D\xE9verrouillez avec Jolicoin",unlockWithJolicoinDescription:"D\xE9verrouillez automatiquement avec Jolicoin",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 terminer le d\xE9verrouillage",unlockFailedPaying:"Le paiement est d\xE9j\xE0 en cours. Veuillez ne pas r\xE9p\xE9ter l'op\xE9ration",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"},VB={instead:"Au lieu de regarder des publicit\xE9s",introduct:"Utilisez {{coin}} Jolicoin pour d\xE9bloquer pour une meilleure exp\xE9rience",tips:"Obtenez {{coin}} gratuitement",login:"S'inscrire et d\xE9bloquer avec Jolicoin",noWatchAds:"Non, regarder des publicit\xE9s",noThanks:"Non merci",rewardTips:"F\xE9licitations ! Vous avez re\xE7u {{coin}} Jolicoin ! D\xE9bloquez maintenant !"},GB={jolicoin:$B,loginGuide:VB},zB={unlockNeeds:"\u0905\u0928\u0932\u0949\u0915 \u0906\u0935\u0936\u094D\u092F\u0915",price:"\u092E\u0942\u0932\u094D\u092F",unlockWithJolicoin:"Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",unlockWithJolicoinDescription:"\u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 Jolicoin \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",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:"\u0905\u0928\u0932\u0949\u0915 \u092A\u0942\u0930\u093E \u0915\u0930\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 \u0911\u092A\u0930\u0947\u0936\u0928 \u0926\u094B\u0939\u0930\u093E\u090F\u0902 \u0928\u0939\u0940\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"},WB={instead:"\u0935\u093F\u091C\u094D\u091E\u093E\u092A\u0928 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u092C\u091C\u093E\u092F",introduct:"{{coin}} Jolicoin \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0915\u0947 \u092C\u0947\u0939\u0924\u0930 \u0905\u0928\u0941\u092D\u0935 \u0915\u0947 \u0932\u093F\u090F \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",tips:"{{coin}} \u092E\u0941\u092B\u094D\u0924 \u092E\u0947\u0902 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930\u0947\u0902",login:"Jolicoin \u0915\u0947 \u0938\u093E\u0925 \u0930\u091C\u093F\u0938\u094D\u091F\u0930 \u0914\u0930 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902",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",rewardTips:"\u092C\u0927\u093E\u0908 \u0939\u094B! \u0906\u092A\u0928\u0947 {{coin}} Jolicoin \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u093F\u092F\u093E \u0939\u0948! \u0905\u092D\u0940 \u0905\u0928\u0932\u0949\u0915 \u0936\u0941\u0930\u0942 \u0915\u0930\u0947\u0902!"},KB={jolicoin:zB,loginGuide:WB},QB={unlockNeeds:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430",price:"\u0426\u0435\u043D\u0430",unlockWithJolicoin:"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",unlockWithJolicoinDescription:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",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 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443",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\u043E\u0432\u0442\u043E\u0440\u044F\u0439\u0442\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E",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"},YB={instead:"\u0412\u043C\u0435\u0441\u0442\u043E \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u043A\u043B\u0430\u043C\u044B",introduct:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {{coin}} Jolicoin \u0434\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438 \u0434\u043B\u044F \u043B\u0443\u0447\u0448\u0435\u0433\u043E \u043E\u043F\u044B\u0442\u0430",tips:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 {{coin}} \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",login:"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044C \u0438 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E Jolicoin",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",rewardTips:"\u041F\u043E\u0437\u0434\u0440\u0430\u0432\u043B\u044F\u0435\u043C! \u0412\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0438 {{coin}} Jolicoin! \u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443 \u0441\u0435\u0439\u0447\u0430\u0441!"},XB={jolicoin:QB,loginGuide:YB},ZB={unlockNeeds:"\u0986\u09A8\u09B2\u0995 \u09AA\u09CD\u09B0\u09AF\u09BC\u09CB\u099C\u09A8",price:"\u09AE\u09C2\u09B2\u09CD\u09AF",unlockWithJolicoin:"Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",unlockWithJolicoinDescription:"\u09B8\u09CD\u09AC\u09AF\u09BC\u0982\u0995\u09CD\u09B0\u09BF\u09AF\u09BC\u09AD\u09BE\u09AC\u09C7 Jolicoin \u09A6\u09BF\u09AF\u09BC\u09C7 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",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:"\u0986\u09A8\u09B2\u0995 \u09B8\u09AE\u09CD\u09AA\u09C2\u09B0\u09CD\u09A3 \u0995\u09B0\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 \u09AA\u09C1\u09A8\u09B0\u09BE\u09AC\u09C3\u09A4\u09CD\u09A4\u09BF \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"},eJ={instead:"\u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09A4\u09C7",introduct:"\u0986\u09AA\u09A8\u09BE\u09B0 \u09AD\u09BE\u09B2 \u0985\u09AD\u09BF\u099C\u09CD\u099E\u09A4\u09BE\u09B0 \u099C\u09A8\u09CD\u09AF {{coin}}Jolicoin \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C1\u09A8",tips:"\u09AB\u09CD\u09B0\u09BF {{coin}} \u09AA\u09C7\u09A4\u09C7",login:"Jolicoin \u09B8\u09BE\u09A5\u09C7 \u09B0\u09C7\u099C\u09BF\u09B8\u09CD\u099F\u09BE\u09B0 \u098F\u09AC\u0982 \u0986\u09A8\u09B2\u0995 \u0995\u09B0\u09C1\u09A8",noWatchAds:"\u09A8\u09BE, \u09AC\u09BF\u099C\u09CD\u099E\u09BE\u09AA\u09A8 \u09A6\u09C7\u0996\u09A4\u09C7",noThanks:"\u09A8\u09BE, \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6",rewardTips:"\u0985\u09AD\u09BF\u09A8\u09A8\u09CD\u09A6\u09A8! \u0986\u09AA\u09A8\u09BF {{coin}} Jolicoin \u09AA\u09C7\u09AF\u09BC\u09C7\u099B\u09C7\u09A8! \u0986\u09A8\u09B2\u0995 \u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09C1\u09A8!"},tJ={jolicoin:ZB,loginGuide:eJ},rJ={unlockNeeds:"Kilidi a\xE7mak gerekli",price:"Fiyat",unlockWithJolicoin:"Jolicoin ile kilidi a\xE7\u0131n",unlockWithJolicoinDescription:"Jolicoin ile otomatik olarak kilidi a\xE7\u0131n",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:"Kilidi a\xE7may\u0131 tamamlamak i\xE7in l\xFCtfen giri\u015F yap\u0131n",unlockFailedPaying:"\xD6deme zaten devam ediyor. L\xFCtfen i\u015Flemi tekrarlamay\u0131n",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"},nJ={instead:"Reklam izleme yerine",introduct:"{{coin}} Jolicoin kullanarak daha iyi deneyim i\xE7in kilidi a\xE7\u0131n",tips:"{{coin}} almak i\xE7in \xFCcretsiz",login:"Jolicoin ile kay\u0131t ve kilidi a\xE7\u0131n",noWatchAds:"Hay\u0131r, reklamlar\u0131 izle",noThanks:"Hay\u0131r, te\u015Fekk\xFCrler",rewardTips:"Tebrikler! {{coin}} Jolicoin ald\u0131n\u0131z! Kilidi a\xE7maya ba\u015Flay\u0131n!"},iJ={jolicoin:rJ,loginGuide:nJ},JE={en:{translations:eE},en_GB:{translations:eE},zh:{translations:tE},"zh-Hans":{translations:tE},"zh-Hant":{translations:jB},id:{translations:rE},in:{translations:rE},ms:{translations:nE},my:{translations:nE},th:{translations:wB},vi:{translations:EB},fil:{translations:iE},tl:{translations:iE},es:{translations:CB},ja:{translations:RB},pt:{translations:oE},pt_PT:{translations:oE},ko:{translations:FB},de:{translations:HB},fr:{translations:GB},hi:{translations:KB},ru:{translations:XB},bn:{translations:tJ},tr:{translations:iJ}},HE=Or(void 0),$E=({definition:e,children:t})=>{let r={translations:e};return y(HE.Provider,{value:r,children:t})},Td=null,oJ={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"},VE=e=>{Td=e},GE=()=>{var e;if(typeof Td!="function")return console.warn("Language handler is not registered or is not a function. Defaulting to 'en'."),"en";try{let t=Td();return(e=oJ[t])!=null?e:"en"}catch(t){return console.error("Error executing registered language handler:",t),"en"}};Ga=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=LE({key:"iframe-css",container:this.persistentIframe.contentDocument.head,prepend:!0}),this.removeGlobalTransformSync&&this.removeGlobalTransformSync(),this.removeGlobalTransformSync=sJ(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 w(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"&&(zE(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"))}},Bi=new Ga(99999998,"auto"),aE=new Ga(99999999,"none"),lJ=({title:e,content:t,noHeader:r,height:n,padding:i="16px",footerButtons:o,onClose:a})=>{let s=Xi(),l={container:N`
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  height: 100%;
@@ -104,7 +104,7 @@ If multiple caches share the same key they might "fight" for each other's style
104
104
  ${l.button}
105
105
  background-color: ${c.variant==="primary"?"#1677ff":"#fff"};
106
106
  color: ${c.variant==="primary"?"#fff":"#333"};
107
- `.name,onClick:u=>{var p;return(p=c.onClick)==null?void 0:p.call(c,u,{hide:a})},children:c.text},d))})]})},ns=e=>{let t=!1,r=Gx(),n=Jx[r].translations,i=`drawer-container-${Math.random().toString(36).slice(2,10)}`,o=null,a=null,s=null;function l(p){var f,m;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)),ur(y(Ux,{value:a,children:y($x,{definition:n,children:y(uB,{ref:g=>{},placement:(f=e.placement)!=null?f:"bottom",isOpen:p,onClose:c,preventCloseOnBackdropClick:(m=e.preventCloseOnBackdropClick)!=null?m:!1,backdropColor:e.backdropColor,children:y(lJ,U(T({},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))}Bi.release(),(f=e.onClose)==null||f.call(e)}}function d(){return w(this,null,function*(){let p=yield Bi.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.")}}},cJ=(e,t={threshold:.6})=>{let r=Ui(null),n=Ui(!1),i=_t(o=>{let[a]=o;a.isIntersecting&&!n.current?(n.current=!0,e()):a.isIntersecting||(n.current=!1)},[e]);return Br(()=>{if(r.current){let o=new IntersectionObserver(i,t);return o.observe(r.current),()=>{r.current&&o.unobserve(r.current)}}},[i,t]),r};Wx=o=>{var a=o,{children:e,fluid:t=!1,className:r="",style:n={}}=a,i=Ue(a,["children","fluid","className","style"]);let s=T({width:"100%",marginLeft:"auto",marginRight:"auto",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box",maxWidth:t?"100%":void 0},n);return y("div",U(T({className:r,style:s},i),{children:e}))},Kx=s=>{var l=s,{children:e,gutter:t=0,justify:r="start",align:n="top",className:i="",style:o={}}=l,a=Ue(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=T({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?dJ(e,t):e;return y("div",U(T({className:i,style:u},a),{children:p}))};Qx=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=Ue(p,["children","span","offset","xs","sm","md","lg","xl","className","style"]);let f=T({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}%`),y("div",U(T({className:l,style:f},d),{children:e}))},pJ=({game:e,layerName:t,orientation:r,routeMode:n,onGameClick:i})=>{var s,l;let o=cn(c=>{c.preventDefault(),i==null||i(e)},[i,e]),a=cn(()=>{},[e,t]);return y(Qx,{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,children:[y("div",{className:"relative w-full mb-[2px] ion-no-margin",children:y(uJ,{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})}),y("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)},fJ=a=>{var s=a,{list:e,routeMode:t,layerName:r,onGameClick:n,orientation:i}=s,o=Ue(s,["list","routeMode","layerName","onGameClick","orientation"]);return y(Wx,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{maxWidth:i==="landscape"?"100%":"440px",minHeight:"1px"},children:y(Kx,{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=>y(pJ,{orientation:i,game:l,routeMode:t,layerName:r,onGameClick:n},l.gameId))})})},hJ=au(fJ),Cd=(e=>(e.Dismiss="DISMISS",e.Quit="QUIT",e))(Cd||{}),mJ=e=>{let{games:t,title:r,buttons:n,onClose:i}=e,[o,a]=Mt(null),s=_t(u=>{i==null||i({type:u.type===Cd.Quit?"quit":"dismiss"})},[i]),l=_t(u=>{i==null||i({type:"navigate",data:{game:u}})},[i]),c=Xi();if(!t.length)return y(De,{});let d=_t(u=>{if(u!==null&&!u.shadowRoot){let p=u.attachShadow({mode:"open"}),f=document.createElement("style");f.textContent=`
107
+ `.name,onClick:u=>{var p;return(p=c.onClick)==null?void 0:p.call(c,u,{hide:a})},children:c.text},d))})]})},ns=e=>{let t=!1,r=GE(),n=JE[r].translations,i=`drawer-container-${Math.random().toString(36).slice(2,10)}`,o=null,a=null,s=null;function l(p){var f,m;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)),ur(y(jE,{value:a,children:y($E,{definition:n,children:y(uB,{ref:g=>{},placement:(f=e.placement)!=null?f:"bottom",isOpen:p,onClose:c,preventCloseOnBackdropClick:(m=e.preventCloseOnBackdropClick)!=null?m:!1,backdropColor:e.backdropColor,children:y(lJ,j(T({},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))}Bi.release(),(f=e.onClose)==null||f.call(e)}}function d(){return w(this,null,function*(){let p=yield Bi.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.")}}},cJ=(e,t={threshold:.6})=>{let r=ji(null),n=ji(!1),i=_t(o=>{let[a]=o;a.isIntersecting&&!n.current?(n.current=!0,e()):a.isIntersecting||(n.current=!1)},[e]);return Br(()=>{if(r.current){let o=new IntersectionObserver(i,t);return o.observe(r.current),()=>{r.current&&o.unobserve(r.current)}}},[i,t]),r};WE=o=>{var a=o,{children:e,fluid:t=!1,className:r="",style:n={}}=a,i=je(a,["children","fluid","className","style"]);let s=T({width:"100%",marginLeft:"auto",marginRight:"auto",paddingLeft:"15px",paddingRight:"15px",boxSizing:"border-box",maxWidth:t?"100%":void 0},n);return y("div",j(T({className:r,style:s},i),{children:e}))},KE=s=>{var l=s,{children:e,gutter:t=0,justify:r="start",align:n="top",className:i="",style:o={}}=l,a=je(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=T({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?dJ(e,t):e;return y("div",j(T({className:i,style:u},a),{children:p}))};QE=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=je(p,["children","span","offset","xs","sm","md","lg","xl","className","style"]);let f=T({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}%`),y("div",j(T({className:l,style:f},d),{children:e}))},pJ=({game:e,layerName:t,orientation:r,routeMode:n,onGameClick:i})=>{var s,l;let o=cn(c=>{c.preventDefault(),i==null||i(e)},[i,e]),a=cn(()=>{},[e,t]);return y(QE,{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,children:[y("div",{className:"relative w-full mb-[2px] ion-no-margin",children:y(uJ,{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})}),y("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)},fJ=a=>{var s=a,{list:e,routeMode:t,layerName:r,onGameClick:n,orientation:i}=s,o=je(s,["list","routeMode","layerName","onGameClick","orientation"]);return y(WE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{maxWidth:i==="landscape"?"100%":"440px",minHeight:"1px"},children:y(KE,{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=>y(pJ,{orientation:i,game:l,routeMode:t,layerName:r,onGameClick:n},l.gameId))})})},hJ=au(fJ),Cd=(e=>(e.Dismiss="DISMISS",e.Quit="QUIT",e))(Cd||{}),mJ=e=>{let{games:t,title:r,buttons:n,onClose:i}=e,[o,a]=Ut(null),s=_t(u=>{i==null||i({type:u.type===Cd.Quit?"quit":"dismiss"})},[i]),l=_t(u=>{i==null||i({type:"navigate",data:{game:u}})},[i]),c=Xi();if(!t.length)return y(De,{});let d=_t(u=>{if(u!==null&&!u.shadowRoot){let p=u.attachShadow({mode:"open"}),f=document.createElement("style");f.textContent=`
108
108
  .recommend-panel {
109
109
  display: flex;
110
110
  flex-direction: column;
@@ -226,7 +226,7 @@ If multiple caches share the same key they might "fight" for each other's style
226
226
  background-color: #7817FF;
227
227
  color: #fff;
228
228
  }
229
- `;let m=document.createElement("div");m.id="recommend-panel-content",p.appendChild(f),p.appendChild(m),a(p)}},[]);return Br(()=>{if(o){let u=o.getElementById("recommend-panel-content");u&&ur(y("div",{className:"recommend-panel",children:y("div",{className:"container",children:[y("p",{className:"title",children:r}),y("div",{className:"games-container",children:y(hJ,{list:t||[],routeMode:"REDIRECT",layerName:"RecommendedGuide",onGameClick:l,orientation:c})}),y("div",{className:"buttons-container",children:(n!=null?n:[]).map((p,f)=>y("div",{className:"button-wrapper",children:y("button",{className:`button ${p.type===Cd.Quit?"quit-button":"action-button"}`,onClick:()=>s(p),children:y("span",{className:"button-text-ellipsis",children:p.text})})},f))})]})}),u)}},[o,t,r,n,s,l]),y("div",{ref:d})},Yx=e=>{let t=ns({title:e.title,content:y(mJ,{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},za="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAC+lBMVEUAAABQTlBrQeL6+vufkPrEp/RcV2Pv6e23t7ehnqZVSIOZmaDy6vWRfPWDdvq6neHc29e5trzh4+DHyM2BUeHMteDIp+G2pd50SZV/aqmQkI1jWGyeYLz4+vTMh96RS8Lh2+XIwuGek6NEJn9RSF9QO8fBr+Xl1e2gh7e8e8FvUN1jO8dtbdDIzrr4zPzzxfv2yfrotPyzg/usgPrtufzBjfzyw/vjrvv80vy2hvv7z/zUnvvMl/zyv/vGkfuwgfn+9f7z1/7ep/z53Prtu/fvvf29keD///3u0vzkqfz91vv56vnorf27ifnbu/L54/3ttP3+7/zvt/q8jO+1gOzny/66gv757/zZovyjfvvy5Pr61vqjc/XlvfB0Ru+YZu68f+3+4P/+5/7bnvy6ePvgovr20fnQmvfq0/bImvafaPWDW/XNr/N7ZPPjxPHSj/DLl+7Lnu13WN9WMqHJqf/96/74x/3UtPutefjxy/Ttw/TZqe+re+/Ike2PYeStfd2NWsSVb77Ghv3+2vy8jfvcxfrntPTGhvKkbe7Qo+zSsuqdZdushdq4idl1S7zSmv3ssPvz2Pbu1fGvivCLYu2gdOuWcuqVY9KAVsXyuP7v3v3syP3bvf3Xkv2+oPy7mvzto/vnlvjgsfS7nvPEf/KSU/LbxO9xVu/Vne69l+6FWuyObuvbs+h9TOegfuacWuaoi+XPoeGic9+rct9qP7WrbfzYm/vPi/uTZ/rQiPS4f/TPwPPkpvOrlfOwc++8du2ugemIUunHpei1duGnbuGTa+DGm9+0jNGpcc9UKc20fctXI7rkvv+8sfrlw/nRpvjal/Xv3/TAzvTam/GAkfCsdejdvuSVedyYctxtNtP++f733f7ViP3Ld/rf0PT2vfPhgfNnafLjzezHuunFf+OPRN55P9WkZdKQRdBfMrFBIaxaQ/OExvLq1+pXJ+WBNuCkSdjBmtWGadKkf8mFM8eJT7dpRacnC5bA/Ph9rvOI5vFWXuzCUOJNLJZJYFROAAAALnRSTlMADP78/v4r63ZXPzH+/v37wKB6SP7x4MyhcW5K8evq4NjYi2YZ/e3a1c7IyMWtdH+scgAABvdJREFUSMeFlmVQG1EURrdQqLu7exsChYQSQkOcJI2QEBqXQoQEIi2uxb24lkJx97q7u7u7u890N6nreftr5zv3vju7O2+B3+gyakD/bvxjj64PmT58VBfgP3TpPsYzkM1m19Wxs9nqYsHBoSP/Ge+PSTLwSb1v9EtN7Zec6U8Pm09WL5/z1/xATLiKFHrrSYs0wSVB2nL7wIFIJ6EEt4vf/c/lLWtVmJVXqAK8dPtuQ1Ly9euZsM0HCmzFpfTcbn/ID8IYSBuvYixV6sv8Yltbe1uaqjyUnrnmQCRXzLIgWf+2HVJv/6uKEJHovGjRiVBlXZBWlVSbzFLSd0vvIcV8C0yPX/Ok4JUB8SEiZi06JvTOnY69dzrCCbZ6IouThT1wWFzUZPmTMciSdKXsikhVXq5g7N/byPCXy2WK3VFROlu2NqV9/blijec5S+sf5vXvjVfg/DxFCNb+PZ4yioDi6OjkBHeUpb2iSbbnlyeeO9iHP5j0XbBMzrqqC/XM0p0eTZXFUASOFDAPg8HgNrKo8LX0fAM7P/ZQ9pDx3wbgkD7q9aKsyrb9GEFMDAWs/0WA2yiIO7Z37GGHR+Z47jv9dQzG5bswfZtyS9szOSVGYIo7QnlIsIGnbaanNqbsDm4q2lVkzveXHGshrslKrN0vp1Di4d/LwyHBBra05HQVXr/0iMfgtBEmgVV9uzDhkZj1ikVxjGlLgzuBeZAAcx6BkN1zZ9M5WcGb+bf8oXz3MNITZXiFR1QmzMkxhojZsxEPER8AxiHBBu0XKfIjIHcHYhKfjgKFMbkV0dXhaxv3xoBlHYkXLvA9QajUPe4IBBoBCjaCKEpI/LoQRjH95lDwGTC0WV6q6tz9wQFwGMyJ6Eomu5qQ72GiCQQ0GoFANPopqMEyXPz5mysBoOcRVXlCEZG8lwK3gQdAgt9SMy9eF+LtCXjQgIkEOBZOEEJyv2QNTJxfvOWw0E9/GgFtOCDNldGJcIdgunOe0fD2eAK4r0x/HEkgyzwf/HIE0D9IWbl3XtKJYAIaJCCNTM5H20MwCTv8X9Bsmfb2aESIXI7DyaksasZwoFsYZ11kc4LOxp4AYhLsbSEymDtcGQUEk4GXKXACfyoDc3ccQA3amcLJq0xA2EJl0ake5Cgmkoak0WgZHWTX9EJkhi04CAWOg+HkDOrGsQA1LD+6pXq9FGEqW5jq4RGFRLpB0DrI5HQmEgl+fu4wPBwdjMNhno4D+ML8yCP16yMJSAhmZNzhKDesN4TbTg+PdCbWDYnMiHfPCNkoV7hST4wFVMKUFOez7Zx4LAQtdfnyKOzqRRDeO+M80mkLsVgkbWPZ0RA4DO/K2DEaGCLkFLho2x3aUAtBsOn0wIKFKNTq1ajVi1KWH0x3A++5uYWWXXI6WhjqGqybAQzjOS92CCOq05xREG734gpWLwNRLgOF5elYFFgIeaJElbHOW49DvhwOTJwb+wkZpt+VinU2ge2MNCTR/UShSbXEJYGdi5SggfLeUuu27igHl3JrEmAdyHutJS6IUKc6uJhAdWpXrChdAVJaqk13dlYuQ4WX6BKi3byFh+9WWQNdPPtUFOQ1520djHIws2yx1RIzVoudXcCmKF2JtGSzTlnK2fYYAIBufQPf5GTbSYTt8xaYce5cbKbTBerqfPNipWGNdJ3Eo2nfLFDoEbipQNxw9kb9NoPdPDOxYB8X8IqNdQAN/RqpYUfiIm/NkX3ingAIxtfjftOmy62ac+r5dtCCMLlQSwdlZTQ7Ub9emhjYlCMGIAYs2fQ8wmhsPbP2tjpo/lzTMluQod7C3Ry2fadXWQ1ds28SlDe32PSgtVWcZ1HHm2sCVOZDAjd8CzdoK9GHuyYnruq+BjDTnewb+GatRWuzOLfqbCzviwEp6g6vIGFebAR3lY5n0DiAE5jpVlrRb19NRHPzmXq7qna2Hc8kxYaf8omOSM6ZF8H1Wel7TDJlJvANTJ8N2y3EDbuyjcJdQT4tuae2bj21s2UVVxIhWRuUA+Wp21oPAt/pxeirra7X1D8/Y+QJIxK9QLhS9bZtYbk5Pj52YJ5v2ICZ/NMBUdQnm9Eu1GgPWRjPWlXkNTRESDintmo0ErugVTpfPifJv9cvR5zrpgbXZGJ0VXIcr8loNJ4hEuPq6n24c1ddzPUtWm+F+TkP7eqCla+2OLntaKUUfFn9fCRhiV7RXqsuJtR09cs28v70SzAttOtJeoCosTHenUkrLCuJ9rpUxq65Ftds0XUY8Ed6OIYcf3g8DsfqfSxToYCX1zU86Luh4rGxb0/gb3SXUS3fvn/47uTJk9c+XOt66EbXGt+uI4B/0Ws8icWqPn58wwar7Lwa3qHZPYH/Yj1ywLCh/aZOmDBg5GTgNz4D2CYAK8x+JcUAAAAASUVORK5CYII=",Zi="https://fe-oss.jolibox.com/static/coin/jolicoin.png";Sn=()=>{let e=t2(Hx);if(!e)throw new Error("useTranslations must be used within a LightIntlProvider");let{translations:t}=e;return{t:(r,n)=>{let i=vJ(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}},sx=({text:e,initialFontSize:t,styles:r})=>y("span",{style:r,children:y("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})}),Ur={coinInfo:N`
229
+ `;let m=document.createElement("div");m.id="recommend-panel-content",p.appendChild(f),p.appendChild(m),a(p)}},[]);return Br(()=>{if(o){let u=o.getElementById("recommend-panel-content");u&&ur(y("div",{className:"recommend-panel",children:y("div",{className:"container",children:[y("p",{className:"title",children:r}),y("div",{className:"games-container",children:y(hJ,{list:t||[],routeMode:"REDIRECT",layerName:"RecommendedGuide",onGameClick:l,orientation:c})}),y("div",{className:"buttons-container",children:(n!=null?n:[]).map((p,f)=>y("div",{className:"button-wrapper",children:y("button",{className:`button ${p.type===Cd.Quit?"quit-button":"action-button"}`,onClick:()=>s(p),children:y("span",{className:"button-text-ellipsis",children:p.text})})},f))})]})}),u)}},[o,t,r,n,s,l]),y("div",{ref:d})},YE=e=>{let t=ns({title:e.title,content:y(mJ,{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},za="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAC+lBMVEUAAABQTlBrQeL6+vufkPrEp/RcV2Pv6e23t7ehnqZVSIOZmaDy6vWRfPWDdvq6neHc29e5trzh4+DHyM2BUeHMteDIp+G2pd50SZV/aqmQkI1jWGyeYLz4+vTMh96RS8Lh2+XIwuGek6NEJn9RSF9QO8fBr+Xl1e2gh7e8e8FvUN1jO8dtbdDIzrr4zPzzxfv2yfrotPyzg/usgPrtufzBjfzyw/vjrvv80vy2hvv7z/zUnvvMl/zyv/vGkfuwgfn+9f7z1/7ep/z53Prtu/fvvf29keD///3u0vzkqfz91vv56vnorf27ifnbu/L54/3ttP3+7/zvt/q8jO+1gOzny/66gv757/zZovyjfvvy5Pr61vqjc/XlvfB0Ru+YZu68f+3+4P/+5/7bnvy6ePvgovr20fnQmvfq0/bImvafaPWDW/XNr/N7ZPPjxPHSj/DLl+7Lnu13WN9WMqHJqf/96/74x/3UtPutefjxy/Ttw/TZqe+re+/Ike2PYeStfd2NWsSVb77Ghv3+2vy8jfvcxfrntPTGhvKkbe7Qo+zSsuqdZdushdq4idl1S7zSmv3ssPvz2Pbu1fGvivCLYu2gdOuWcuqVY9KAVsXyuP7v3v3syP3bvf3Xkv2+oPy7mvzto/vnlvjgsfS7nvPEf/KSU/LbxO9xVu/Vne69l+6FWuyObuvbs+h9TOegfuacWuaoi+XPoeGic9+rct9qP7WrbfzYm/vPi/uTZ/rQiPS4f/TPwPPkpvOrlfOwc++8du2ugemIUunHpei1duGnbuGTa+DGm9+0jNGpcc9UKc20fctXI7rkvv+8sfrlw/nRpvjal/Xv3/TAzvTam/GAkfCsdejdvuSVedyYctxtNtP++f733f7ViP3Ld/rf0PT2vfPhgfNnafLjzezHuunFf+OPRN55P9WkZdKQRdBfMrFBIaxaQ/OExvLq1+pXJ+WBNuCkSdjBmtWGadKkf8mFM8eJT7dpRacnC5bA/Ph9rvOI5vFWXuzCUOJNLJZJYFROAAAALnRSTlMADP78/v4r63ZXPzH+/v37wKB6SP7x4MyhcW5K8evq4NjYi2YZ/e3a1c7IyMWtdH+scgAABvdJREFUSMeFlmVQG1EURrdQqLu7exsChYQSQkOcJI2QEBqXQoQEIi2uxb24lkJx97q7u7u7u890N6nreftr5zv3vju7O2+B3+gyakD/bvxjj64PmT58VBfgP3TpPsYzkM1m19Wxs9nqYsHBoSP/Ge+PSTLwSb1v9EtN7Zec6U8Pm09WL5/z1/xATLiKFHrrSYs0wSVB2nL7wIFIJ6EEt4vf/c/lLWtVmJVXqAK8dPtuQ1Ly9euZsM0HCmzFpfTcbn/ID8IYSBuvYixV6sv8Yltbe1uaqjyUnrnmQCRXzLIgWf+2HVJv/6uKEJHovGjRiVBlXZBWlVSbzFLSd0vvIcV8C0yPX/Ok4JUB8SEiZi06JvTOnY69dzrCCbZ6IouThT1wWFzUZPmTMciSdKXsikhVXq5g7N/byPCXy2WK3VFROlu2NqV9/blijec5S+sf5vXvjVfg/DxFCNb+PZ4yioDi6OjkBHeUpb2iSbbnlyeeO9iHP5j0XbBMzrqqC/XM0p0eTZXFUASOFDAPg8HgNrKo8LX0fAM7P/ZQ9pDx3wbgkD7q9aKsyrb9GEFMDAWs/0WA2yiIO7Z37GGHR+Z47jv9dQzG5bswfZtyS9szOSVGYIo7QnlIsIGnbaanNqbsDm4q2lVkzveXHGshrslKrN0vp1Di4d/LwyHBBra05HQVXr/0iMfgtBEmgVV9uzDhkZj1ikVxjGlLgzuBeZAAcx6BkN1zZ9M5WcGb+bf8oXz3MNITZXiFR1QmzMkxhojZsxEPER8AxiHBBu0XKfIjIHcHYhKfjgKFMbkV0dXhaxv3xoBlHYkXLvA9QajUPe4IBBoBCjaCKEpI/LoQRjH95lDwGTC0WV6q6tz9wQFwGMyJ6Eomu5qQ72GiCQQ0GoFANPopqMEyXPz5mysBoOcRVXlCEZG8lwK3gQdAgt9SMy9eF+LtCXjQgIkEOBZOEEJyv2QNTJxfvOWw0E9/GgFtOCDNldGJcIdgunOe0fD2eAK4r0x/HEkgyzwf/HIE0D9IWbl3XtKJYAIaJCCNTM5H20MwCTv8X9Bsmfb2aESIXI7DyaksasZwoFsYZ11kc4LOxp4AYhLsbSEymDtcGQUEk4GXKXACfyoDc3ccQA3amcLJq0xA2EJl0ake5Cgmkoak0WgZHWTX9EJkhi04CAWOg+HkDOrGsQA1LD+6pXq9FGEqW5jq4RGFRLpB0DrI5HQmEgl+fu4wPBwdjMNhno4D+ML8yCP16yMJSAhmZNzhKDesN4TbTg+PdCbWDYnMiHfPCNkoV7hST4wFVMKUFOez7Zx4LAQtdfnyKOzqRRDeO+M80mkLsVgkbWPZ0RA4DO/K2DEaGCLkFLho2x3aUAtBsOn0wIKFKNTq1ajVi1KWH0x3A++5uYWWXXI6WhjqGqybAQzjOS92CCOq05xREG734gpWLwNRLgOF5elYFFgIeaJElbHOW49DvhwOTJwb+wkZpt+VinU2ge2MNCTR/UShSbXEJYGdi5SggfLeUuu27igHl3JrEmAdyHutJS6IUKc6uJhAdWpXrChdAVJaqk13dlYuQ4WX6BKi3byFh+9WWQNdPPtUFOQ1520djHIws2yx1RIzVoudXcCmKF2JtGSzTlnK2fYYAIBufQPf5GTbSYTt8xaYce5cbKbTBerqfPNipWGNdJ3Eo2nfLFDoEbipQNxw9kb9NoPdPDOxYB8X8IqNdQAN/RqpYUfiIm/NkX3ingAIxtfjftOmy62ac+r5dtCCMLlQSwdlZTQ7Ub9emhjYlCMGIAYs2fQ8wmhsPbP2tjpo/lzTMluQod7C3Ry2fadXWQ1ds28SlDe32PSgtVWcZ1HHm2sCVOZDAjd8CzdoK9GHuyYnruq+BjDTnewb+GatRWuzOLfqbCzviwEp6g6vIGFebAR3lY5n0DiAE5jpVlrRb19NRHPzmXq7qna2Hc8kxYaf8omOSM6ZF8H1Wel7TDJlJvANTJ8N2y3EDbuyjcJdQT4tuae2bj21s2UVVxIhWRuUA+Wp21oPAt/pxeirra7X1D8/Y+QJIxK9QLhS9bZtYbk5Pj52YJ5v2ICZ/NMBUdQnm9Eu1GgPWRjPWlXkNTRESDintmo0ErugVTpfPifJv9cvR5zrpgbXZGJ0VXIcr8loNJ4hEuPq6n24c1ddzPUtWm+F+TkP7eqCla+2OLntaKUUfFn9fCRhiV7RXqsuJtR09cs28v70SzAttOtJeoCosTHenUkrLCuJ9rpUxq65Ftds0XUY8Ed6OIYcf3g8DsfqfSxToYCX1zU86Luh4rGxb0/gb3SXUS3fvn/47uTJk9c+XOt66EbXGt+uI4B/0Ws8icWqPn58wwar7Lwa3qHZPYH/Yj1ywLCh/aZOmDBg5GTgNz4D2CYAK8x+JcUAAAAASUVORK5CYII=",Zi="https://fe-oss.jolibox.com/static/coin/jolicoin.png";Sn=()=>{let e=t2(HE);if(!e)throw new Error("useTranslations must be used within a LightIntlProvider");let{translations:t}=e;return{t:(r,n)=>{let i=vJ(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}},sE=({text:e,initialFontSize:t,styles:r})=>y("span",{style:r,children:y("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})}),jr={coinInfo:N`
230
230
  display: flex;
231
231
  width: calc(100% - 40px);
232
232
  max-width: 720px;
@@ -283,7 +283,7 @@ If multiple caches share the same key they might "fight" for each other's style
283
283
  font-size: 16px;
284
284
  font-weight: 600;
285
285
  color: #d9d9d9;
286
- `},Xx=({unlockNeedsAmount:e=0,balanceAmount:t=0,coinImage:r=Zi,formatter:n=a=>a>999?"999+":`${a}`,hideNeeds:i=!1,hideBalance:o=!1})=>{let a=n(t),{t:s}=Sn(),l=14;return y("div",{style:Ur.coinInfo.styles,children:[!i&&y("div",{style:Ur.coinAmount.styles,children:[y(sx,{text:s("jolicoin.price"),initialFontSize:l,styles:Ur.coinLabelContainer.styles}),y("div",{style:Ur.coinValue.styles,children:[y("img",{src:r,alt:"Jolicoin",style:Ur.coinIcon.styles}),y("span",{children:e})]})]}),!o&&y("div",{style:Ur.coinAmountBalance.styles,children:y(sx,{text:s("jolicoin.balance")+":\xA0"+a,initialFontSize:l,styles:Ur.coinValueText.styles})})]})},mn={card:N`
286
+ `},XE=({unlockNeedsAmount:e=0,balanceAmount:t=0,coinImage:r=Zi,formatter:n=a=>a>999?"999+":`${a}`,hideNeeds:i=!1,hideBalance:o=!1})=>{let a=n(t),{t:s}=Sn(),l=14;return y("div",{style:jr.coinInfo.styles,children:[!i&&y("div",{style:jr.coinAmount.styles,children:[y(sE,{text:s("jolicoin.price"),initialFontSize:l,styles:jr.coinLabelContainer.styles}),y("div",{style:jr.coinValue.styles,children:[y("img",{src:r,alt:"Jolicoin",style:jr.coinIcon.styles}),y("span",{children:e})]})]}),!o&&y("div",{style:jr.coinAmountBalance.styles,children:y(sE,{text:s("jolicoin.balance")+":\xA0"+a,initialFontSize:l,styles:jr.coinValueText.styles})})]})},mn={card:N`
287
287
  display: flex;
288
288
  flex-direction: column;
289
289
  align-items: center;
@@ -325,7 +325,7 @@ If multiple caches share the same key they might "fight" for each other's style
325
325
  flex-direction: column;
326
326
  justify-content: center;
327
327
  -webkit-tap-highlight-color: transparent;
328
- `,_J=e=>y("div",{style:gJ.styles,children:y("div",{style:yJ.styles,children:y("div",{style:`${mn.card.styles} ${e.option.id===e.selectedId?mn.selectedCard.styles:""}`,onClick:()=>e.handleSelect(e.option),children:[y("div",{style:mn.coinContainer.styles,children:[y("img",{src:Zi,alt:"Coin",style:mn.coinIcon.styles}),y("span",{style:mn.coinValue.styles,children:e.option.coins.toLocaleString()})]}),y("div",{style:mn.price.styles,children:e.option.price})]})})}),bJ=({options:e,selectedId:t,onSelect:r})=>{let n=Xi(),i=o=>{r==null||r(o)};return y(Wx,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{padding:"0px"},children:y(Kx,{gutter:[10,10],style:{display:"flex","flex-wrap":"wrap"},children:e.map(o=>y(Qx,{span:n==="landscape"?4:8,children:y(_J,{option:o,selectedId:t,coinImageSrc:Zi,handleSelect:i})},o.id))})})},wJ=au(bJ);Na={toggleSwitch:N`
328
+ `,_J=e=>y("div",{style:gJ.styles,children:y("div",{style:yJ.styles,children:y("div",{style:`${mn.card.styles} ${e.option.id===e.selectedId?mn.selectedCard.styles:""}`,onClick:()=>e.handleSelect(e.option),children:[y("div",{style:mn.coinContainer.styles,children:[y("img",{src:Zi,alt:"Coin",style:mn.coinIcon.styles}),y("span",{style:mn.coinValue.styles,children:e.option.coins.toLocaleString()})]}),y("div",{style:mn.price.styles,children:e.option.price})]})})}),bJ=({options:e,selectedId:t,onSelect:r})=>{let n=Xi(),i=o=>{r==null||r(o)};return y(WE,{className:"w-full mx-auto flex-grow overflow-y-auto",style:{padding:"0px"},children:y(KE,{gutter:[10,10],style:{display:"flex","flex-wrap":"wrap"},children:e.map(o=>y(QE,{span:n==="landscape"?4:8,children:y(_J,{option:o,selectedId:t,coinImageSrc:Zi,handleSelect:i})},o.id))})})},wJ=au(bJ);Na={toggleSwitch:N`
329
329
  position: relative;
330
330
  display: inline-block;
331
331
  width: 33px;
@@ -362,7 +362,7 @@ If multiple caches share the same key they might "fight" for each other's style
362
362
  &:before {
363
363
  transform: translateX(18px);
364
364
  }
365
- `},Zx=({enableAutoDeduct:e,toggleEnableAutoDeduct:t})=>IJ("label",{css:Na.toggleSwitch,children:[lx("input",{css:Na.toggleInput,type:"checkbox",checked:e,onChange:t}),lx("span",{css:[Na.toggleSlider,e&&Na.toggleSliderActive]})]}),zd=()=>y("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[y("g",{"clip-path":"url(#clip0_2716_2719)",children:y("path",{d:"M18.3 6.20997C17.91 5.81997 17.28 5.81997 16.89 6.20997L12 11.09L7.10997 6.19997C6.71997 5.80997 6.08997 5.80997 5.69997 6.19997C5.30997 6.58997 5.30997 7.21997 5.69997 7.60997L10.59 12.5L5.69997 17.39C5.30997 17.78 5.30997 18.41 5.69997 18.8C6.08997 19.19 6.71997 19.19 7.10997 18.8L12 13.91L16.89 18.8C17.28 19.19 17.91 19.19 18.3 18.8C18.69 18.41 18.69 17.78 18.3 17.39L13.41 12.5L18.3 7.60997C18.68 7.22997 18.68 6.58997 18.3 6.20997Z",fill:"#979797"})}),y("defs",{children:y("clipPath",{id:"clip0_2716_2719",children:y("rect",{width:"24",height:"24",fill:"white",transform:"translate(0 0.5)"})})})]}),fe={modal:N`
365
+ `},ZE=({enableAutoDeduct:e,toggleEnableAutoDeduct:t})=>IJ("label",{css:Na.toggleSwitch,children:[lE("input",{css:Na.toggleInput,type:"checkbox",checked:e,onChange:t}),lE("span",{css:[Na.toggleSlider,e&&Na.toggleSliderActive]})]}),zd=()=>y("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[y("g",{"clip-path":"url(#clip0_2716_2719)",children:y("path",{d:"M18.3 6.20997C17.91 5.81997 17.28 5.81997 16.89 6.20997L12 11.09L7.10997 6.19997C6.71997 5.80997 6.08997 5.80997 5.69997 6.19997C5.30997 6.58997 5.30997 7.21997 5.69997 7.60997L10.59 12.5L5.69997 17.39C5.30997 17.78 5.30997 18.41 5.69997 18.8C6.08997 19.19 6.71997 19.19 7.10997 18.8L12 13.91L16.89 18.8C17.28 19.19 17.91 19.19 18.3 18.8C18.69 18.41 18.69 17.78 18.3 17.39L13.41 12.5L18.3 7.60997C18.68 7.22997 18.68 6.58997 18.3 6.20997Z",fill:"#979797"})}),y("defs",{children:y("clipPath",{id:"clip0_2716_2719",children:y("rect",{width:"24",height:"24",fill:"white",transform:"translate(0 0.5)"})})})]}),fe={modal:N`
366
366
  font-family: PingFangSC-Regular;
367
367
  background-color: #1a1a1a;
368
368
  color: white;
@@ -450,19 +450,19 @@ If multiple caches share the same key they might "fight" for each other's style
450
450
  border-radius: 2px;
451
451
  margin: 0 auto;
452
452
  -webkit-tap-highlight-color: transparent;
453
- `},SJ=({unlockNeedsAmount:e=10,balanceAmount:t=999,defaultEnableAutoDeduct:r=!1,onConfirm:n,onClose:i,onEnableDeductChanged:o,confirmButtonKey:a,cancelButtonKey:s})=>{let[l,c]=Mt(r),d=Xi(),{t:u}=Sn(),p=()=>{n(l)},f=_t(()=>{c(!l),o(!l)},[l]);return y("div",{style:`${fe.modal.styles} ${d==="portrait"?"max-width: 440px":"max-width: 75%"}`,children:[y("div",{style:fe.header.styles,children:[y(Xx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:Zi}),y("button",{style:fe.closeButton.styles,onClick:i.bind(null,{type:"CANCEL"}),children:y(zd,{})})]}),y("div",{style:fe.content.styles,children:[y("h2",{style:fe.title.styles,children:u("jolicoin.unlockWithJolicoin")}),!r&&y("div",{style:fe.autoDeductOption.styles,children:[y("span",{style:N`
453
+ `},SJ=({unlockNeedsAmount:e=10,balanceAmount:t=999,defaultEnableAutoDeduct:r=!1,onConfirm:n,onClose:i,onEnableDeductChanged:o,confirmButtonKey:a,cancelButtonKey:s})=>{let[l,c]=Ut(r),d=Xi(),{t:u}=Sn(),p=()=>{n(l)},f=_t(()=>{c(!l),o(!l)},[l]);return y("div",{style:`${fe.modal.styles} ${d==="portrait"?"max-width: 440px":"max-width: 75%"}`,children:[y("div",{style:fe.header.styles,children:[y(XE,{unlockNeedsAmount:e,balanceAmount:t,coinImage:Zi}),y("button",{style:fe.closeButton.styles,onClick:i.bind(null,{type:"CANCEL"}),children:y(zd,{})})]}),y("div",{style:fe.content.styles,children:[y("h2",{style:fe.title.styles,children:u("jolicoin.unlockWithJolicoin")}),!r&&y("div",{style:fe.autoDeductOption.styles,children:[y("span",{style:N`
454
454
  font-size: 12px;
455
455
  font-weight: 400;
456
456
  line-height: 1.2;
457
457
  color: #979797;
458
- `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),y(Zx,{enableAutoDeduct:l,toggleEnableAutoDeduct:f})]}),y("section",{style:`${fe.buttonContainer.styles} ${d==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[y("button",{style:`${fe.confirmButton.styles} ${fe.buttonFlex.styles}`,onClick:p,children:u(a)}),y("button",{style:`${fe.cancelButton.styles} ${fe.buttonFlex.styles}`,onClick:i.bind(null,{type:"FAILED"}),children:u(s)})]})]})]})},xJ=({unlockNeedsAmount:e=1,balanceAmount:t=0,defaultEnableAutoDeduct:r=!1,paymentChoices:n=[],onConfirm:i,onClose:o,onEnableDeductChanged:a,onSelect:s,confirmButtonKey:l,cancelButtonKey:c})=>{let[d,u]=Mt(r),{t:p}=Sn(),[f,m]=Mt(()=>{var I,A;return((I=n.find(C=>C.defaultSelected))==null?void 0:I.productId)||((A=n==null?void 0:n[0])==null?void 0:A.productId)}),g=Xi(),_=()=>{i(f)},v=_t(I=>{console.log(I),m(I),s(I)},[]),b=_t(()=>{u(!d),a(!d)},[d]);return console.log("defaultEnableAutoDeduct",r),y("div",{style:fe.modal.styles,children:[y("div",{style:fe.header.styles,children:[y(Xx,{unlockNeedsAmount:e,balanceAmount:t,coinImage:Zi}),y("button",{style:fe.closeButton.styles,onClick:o.bind(null,{type:"CANCEL"}),children:y(zd,{})})]}),y("div",{style:fe.content.styles,children:[y("div",{style:N`
458
+ `.styles,children:u("jolicoin.unlockWithJolicoinDescription")}),y(ZE,{enableAutoDeduct:l,toggleEnableAutoDeduct:f})]}),y("section",{style:`${fe.buttonContainer.styles} ${d==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[y("button",{style:`${fe.confirmButton.styles} ${fe.buttonFlex.styles}`,onClick:p,children:u(a)}),y("button",{style:`${fe.cancelButton.styles} ${fe.buttonFlex.styles}`,onClick:i.bind(null,{type:"FAILED"}),children:u(s)})]})]})]})},EJ=({unlockNeedsAmount:e=1,balanceAmount:t=0,defaultEnableAutoDeduct:r=!1,paymentChoices:n=[],onConfirm:i,onClose:o,onEnableDeductChanged:a,onSelect:s,confirmButtonKey:l,cancelButtonKey:c})=>{let[d,u]=Ut(r),{t:p}=Sn(),[f,m]=Ut(()=>{var I,A;return((I=n.find(C=>C.defaultSelected))==null?void 0:I.productId)||((A=n==null?void 0:n[0])==null?void 0:A.productId)}),g=Xi(),_=()=>{i(f)},v=_t(I=>{console.log(I),m(I),s(I)},[]),b=_t(()=>{u(!d),a(!d)},[d]);return console.log("defaultEnableAutoDeduct",r),y("div",{style:fe.modal.styles,children:[y("div",{style:fe.header.styles,children:[y(XE,{unlockNeedsAmount:e,balanceAmount:t,coinImage:Zi}),y("button",{style:fe.closeButton.styles,onClick:o.bind(null,{type:"CANCEL"}),children:y(zd,{})})]}),y("div",{style:fe.content.styles,children:[y("div",{style:N`
459
459
  padding: 16px 0px;
460
460
  `.styles,children:y(wJ,{options:n.map(I=>({id:I.productId,coins:I.quantity,price:I.totalAmountStr})),selectedId:f,onSelect:I=>v(I.id)})}),!r&&y("div",{style:fe.autoDeductOption.styles,children:[y("span",{style:N`
461
461
  font-size: 12px;
462
462
  font-weight: 400;
463
463
  line-height: 1.2;
464
464
  color: #979797;
465
- `.styles,children:p("jolicoin.unlockWithJolicoinDescription")}),y(Zx,{enableAutoDeduct:d,toggleEnableAutoDeduct:b})]}),y("section",{style:`${fe.buttonContainer.styles} ${g==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[y("button",{style:`${fe.confirmButton.styles} ${fe.buttonFlex.styles}`,onClick:_,children:p(l)}),y("button",{style:`${fe.cancelButton.styles} ${fe.buttonFlex.styles}`,onClick:o.bind(null,{type:"FAILED"}),children:p(c)})]})]})]})};kJ=N`
465
+ `.styles,children:p("jolicoin.unlockWithJolicoinDescription")}),y(ZE,{enableAutoDeduct:d,toggleEnableAutoDeduct:b})]}),y("section",{style:`${fe.buttonContainer.styles} ${g==="landscape"?"flex-direction: row":"flex-direction: column"}`,children:[y("button",{style:`${fe.confirmButton.styles} ${fe.buttonFlex.styles}`,onClick:_,children:p(l)}),y("button",{style:`${fe.cancelButton.styles} ${fe.buttonFlex.styles}`,onClick:o.bind(null,{type:"FAILED"}),children:p(c)})]})]})]})};kJ=N`
466
466
  display: inline-flex;
467
467
  align-items: center;
468
468
  justify-content: center;
@@ -486,7 +486,7 @@ If multiple caches share the same key they might "fight" for each other's style
486
486
  transform: translateX(-50%);
487
487
  z-index: 2;
488
488
  pointer-events: none;
489
- `;Et=U(T({},fe),{header:N`
489
+ `;kt=j(T({},fe),{header:N`
490
490
  display: flex;
491
491
  justify-content: flex-end;
492
492
  align-items: center;
@@ -540,7 +540,7 @@ If multiple caches share the same key they might "fight" for each other's style
540
540
  border-top: 8px solid #4f396d;
541
541
  z-index: 2;
542
542
  }
543
- `}),CJ={JOLI_COIN:"https://fe-oss.jolibox.com/static/rewards/jolicoin-light.png?timestamp="+Date.now(),"ADS-JOLI_COIN":"https://fe-oss.jolibox.com/static/rewards/ads-jolicoin-light.png?timestamp="+Date.now()},PJ=({rewardType:e,rewardValue:t,confirmButtonKey:r,cancelButtonKey:n,onClose:i,onConfirm:o})=>{let a=e==="ADS-JOLI_COIN",{t:s}=Sn(),l=CJ[e];return y("div",{style:{paddingTop:"80px"},children:y("section",{style:`${Et.modal.styles} width:calc(100% - 40px); position: relative; border-radius: 16px; padding: 0;`,children:[y(EJ,{src:l,alt:"\u{1FA99}",width:213,height:125,top:"-80px"}),y("div",{style:Et.header.styles,children:y("button",{style:`${Et.closeButton.styles} padding-top: 10px; padding-right: 10px;`,onClick:i.bind(null,{type:"CANCEL"}),children:y(zd,{})})}),y("div",{style:Et.introduct.styles,children:[a?y("span",{style:Et.introductSubTitle.styles,children:s("loginGuide.instead")}):null,y("span",{style:Et.introductTitle.styles,children:y(Pd,{children:s("loginGuide.introduct"),values:{coin:y("img",{src:za,alt:"\u{1FA99}",style:{height:"20px",verticalAlign:"text-top",marginRight:"2px"}})}})})]}),y("div",{style:{width:"calc(100% - 40px)",paddingBottom:"16px"},children:y("section",{style:`${Et.buttonContainer.styles} flex-direction: column; margin-top: 48px; padding: 0 20px;`,children:[y("div",{style:{position:"relative",display:"inline-block",width:"100%",height:"100%"},children:[y("div",{style:{position:"absolute",top:"-32px",right:"-5px",width:"auto",zIndex:1},children:y(TJ,{children:y(Pd,{style:{fontSize:"12px",color:"#FFFFFF",fontWeight:600,lineHeight:"16px",textAlign:"center"},children:s("loginGuide.tips"),values:{coin:y(De,{children:[y("img",{src:za,alt:"\u{1FA99}",style:{height:"16px",verticalAlign:"text-top",marginRight:"2px"}}),t]})}})})}),y("button",{style:`${Et.confirmButton.styles} ${Et.buttonFlex.styles} padding: 0; line-height: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden;`,onClick:o,children:y("span",{style:"display: flex; align-items: center; justify-content: center; width: 100%; word-break: break-word; height: 48px;",children:s(r)})})]}),y("button",{style:`${Et.cancelButton.styles} ${Et.buttonFlex.styles} line-height: 24px;`,onClick:i.bind(null,{type:"FAILED"}),children:s(n)})]})})]})})},eE=e=>{let t=ns({title:"",content:y(SJ,{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},tE=e=>{let t=ns({title:"",content:y(xJ,{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,onSelect:e.onSelect}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"520px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},rE=e=>{let t=ns({title:"",content:y(PJ,{rewardType:e.data.rewardType,rewardValue:e.data.rewardValue,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress}),backdropColor:"#1a1a1a",placement:"center",noHeader:!0,padding:"0px",preventCloseOnBackdropClick:!0});return t.show(),t},nE=new Map,xn=(e,t)=>{nE.set(e,t)};xn(/^\{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 y("div",{style:r,children:y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",style:{height:"24px",verticalAlign:"middle"},children:[y("g",{clipPath:"url(#clip0_2247_16523)",children:y("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"})}),y("defs",{children:y("clipPath",{id:"clip0_2247_16523",children:y("rect",{width:"24",height:"24",fill:"white"})})})]})})});xn(/^\{slot-coin\}/,(e,t)=>{var n;let r=(n=t==null?void 0:t.coinImage)!=null?n:za;return y("img",{src:r,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}})});OJ=/^\{slot-i18n-(.+?)\}/,RJ=({i18nKey:e,i18nParams:t,fallbackText:r})=>{let{t:n}=Sn(),i=n(e,t);return y("span",{children:i||r})};xn(OJ,(e,t)=>{var n;let r=e[1];return r?y(RJ,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,fallbackText:`[${r}]`}):(console.warn("No i18n key extracted from slot pattern:",e[0]),y("span",{children:(n=t==null?void 0:t.text)!=null?n:""}))});NJ=/^\{slot-i18ntran-(.+?)\}/,DJ=({i18nKey:e,i18nParams:t,imgMap:r={},fallbackText:n})=>{let{t:i}=Sn(),o=i(e),a=Object.entries(r).reduce((s,[l,c])=>(s[l]=c(t[l]),s),{});return y(Pd,{children:o||n,values:T(T({},t),a)})},LJ={coin:e=>y(De,{children:[y("img",{src:za,alt:"coin",style:{width:16,height:16,marginRight:2,textAlign:"center"}})," ",e," Jolicoin"]})};xn(NJ,(e,t)=>{var n,i;let r=e[1];return r?y(DJ,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,imgMap:(n=t==null?void 0:t.imgMap)!=null?n:LJ,fallbackText:`[${r}]`}):y("span",{children:(i=t==null?void 0:t.text)!=null?i:""})});qJ="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8yMjk0XzQwODkpIi8+CjxwYXRoIGQ9Ik0xNC4yOTUgMjUuOTIyN0MxNC4yOTUgMjUuOTIyNyAxNy45MTI1IDIxLjY0MzYgMjEuNzc1OSAxOC4wOTg0QzI0Ljc1NzQgMTUuMzYyMSAyOC4yMTUxIDEzLjE0NzQgMjguMjE1MSAxMy4xNDc0TDI3Ljk2OTUgMTEuNDEzOEMyNy45Njk1IDExLjQxMzggMjQuMDk4NyAxMi45NzYzIDIwLjc1NzUgMTUuMTk0N0MxNy4zNjUzIDE3LjQ0NTQgMTQuNTAzMyAyMC4zNTc3IDE0LjUwMzMgMjAuMzU3N0wxMS4xMzkgMTUuNjQyOEw5LjAzOTk2IDE3LjA1MjJMMTQuMjk1IDI1LjkyMjdMMTQuMjk1IDI1LjkyMjdaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzIyOTRfNDA4OSIgeDE9IjExLjczNDEiIHkxPSIzLjE3NTQxIiB4Mj0iMTgiIHkyPSIzNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjOTc1QkZGIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzc4MTdGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=";xn(/^\{slot-success\}/,(e,t)=>y("img",{src:qJ,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));FJ="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4xNDIxIDIwQzE1LjY2NSAyMCAyMC4xNDIxIDE1LjUyMjggMjAuMTQyMSAxMEMyMC4xNDIxIDQuNDc3MTUgMTUuNjY1IDEuNzM2OThlLTA3IDEwLjE0MjEgMS43MzY5OGUtMDdDNC42MTkyOSAxLjczNjk4ZS0wNyAwLjE0MjEzNiA0LjQ3NzE1IDAuMTQyMTM1IDEwQzAuMTQyMTM2IDE1LjUyMjggNC42MTkyOSAyMCAxMC4xNDIxIDIwWk02LjUwNTk4IDUuMDQ5OTdDNi4xMTU0NiA0LjY1OTQ1IDUuNDgyMjkgNC42NTk0NSA1LjA5MTc3IDUuMDQ5OTdDNC43MDEyNCA1LjQ0MDUgNC43MDEyNCA2LjA3MzY2IDUuMDkxNzcgNi40NjQxOUw4LjYyNzMgOS45OTk3Mkw1LjA5MTc3IDEzLjUzNTNDNC43MDEyNCAxMy45MjU4IDQuNzAxMjQgMTQuNTU4OSA1LjA5MTc3IDE0Ljk0OTVDNS40ODIyOSAxNS4zNCA2LjExNTQ2IDE1LjM0IDYuNTA1OTggMTQuOTQ5NUwxMC4wNDE1IDExLjQxMzlMMTMuNTc3IDE0Ljk0OTVDMTMuOTY3NiAxNS4zNCAxNC42MDA3IDE1LjM0IDE0Ljk5MTMgMTQuOTQ5NUMxNS4zODE4IDE0LjU1ODkgMTUuMzgxOCAxMy45MjU4IDE0Ljk5MTMgMTMuNTM1M0wxMS40NTU3IDkuOTk5NzJMMTQuOTkxMyA2LjQ2NDE5QzE1LjM4MTggNi4wNzM2NiAxNS4zODE4IDUuNDQwNSAxNC45OTEzIDUuMDQ5OTdDMTQuNjAwNyA0LjY1OTQ1IDEzLjk2NzYgNC42NTk0NSAxMy41NzcgNS4wNDk5N0wxMC4wNDE1IDguNTg1NTFMNi41MDU5OCA1LjA0OTk3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";xn(/^\{slot-error\}/,(e,t)=>y("img",{src:FJ,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));$e="-ms-",Wa="-moz-",$="-webkit-",iE="comm",Wd="rule",Kd="decl",MJ="@import",oE="@keyframes",jJ="@layer",UJ=Math.abs,is=String.fromCharCode,BJ=Ld.default;os=1,wn=1,sE=0,tt=0,Se=0,En="";r5=function(e,t,r){for(var n=0,i=0;n=i,i=Ut(),n===38&&i===12&&(t[r]=1),!Qi(i);)dt();return eo(e,tt)},n5=function(e,t){var r=-1,n=44;do switch(Qi(n)){case 0:n===38&&Ut()===12&&(t[r]=1),e[r]+=r5(tt-1,t,r);break;case 2:e[r]+=Ba(n);break;case 4:if(n===44){e[++r]=Ut()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=is(n)}while(n=dt());return e},i5=function(e,t){return cE(n5(lE(e),t))},dx=new Dd.default,o5=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&&!dx.get(r))&&!n){dx.set(e,!0);for(var i=[],o=i5(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]}}},a5=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};s5=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Kd:e.return=uE(e.value,e.length);break;case oE:return yn([ji(e,{value:V(e.value,"@","@"+$)})],n);case Wd:if(e.length)return $J(e.props,function(i){switch(HJ(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yn([ji(e,{props:[V(i,/:(read-\w+)/,":"+Wa+"$1")]})],n);case"::placeholder":return yn([ji(e,{props:[V(i,/:(plac\w+)/,":"+$+"input-$1")]}),ji(e,{props:[V(i,/:(plac\w+)/,":"+Wa+"$1")]}),ji(e,{props:[V(i,/:(plac\w+)/,$e+"input-$1")]})],n)}return""})}},l5=[s5],c5=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Te.default)(Array.prototype).call(r,function(m){var g=m.getAttribute("data-emotion");(0,Xt.default)(g).call(g," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||l5,i={},o,a=[];o=e.container||document.head,(0,Te.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[o5,a5];{var c,d=[ZJ,t5(function(m){c.insert(m)})],u=e5((0,Ka.default)(l).call(l,n,d)),p=function(m){return yn(YJ(m),u)};s=function(m,g,_,v){c=_,p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new Ax({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};u5=function(e){var t=c5(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=br(s,t.registered,void 0);return es(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=br(s,t.registered),d="animation-"+c.name;return px(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=br(s,t.registered);px(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return _d(t.registered,r,d5(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){(0,Te.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,bd.default)(zi).call(zi,null,t.registered),merge:(0,bd.default)(_d).call(_d,null,t.registered,r)}},d5=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,Ji.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},p5=u5({key:"css"}),f5=p5.css,h5=(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 nE.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=f5`
543
+ `}),CJ={JOLI_COIN:"https://fe-oss.jolibox.com/static/rewards/jolicoin-light.png?timestamp="+Date.now(),"ADS-JOLI_COIN":"https://fe-oss.jolibox.com/static/rewards/ads-jolicoin-light.png?timestamp="+Date.now()},PJ=({rewardType:e,rewardValue:t,confirmButtonKey:r,cancelButtonKey:n,onClose:i,onConfirm:o})=>{let a=e==="ADS-JOLI_COIN",{t:s}=Sn(),l=CJ[e];return y("div",{style:{paddingTop:"80px"},children:y("section",{style:`${kt.modal.styles} width:calc(100% - 40px); position: relative; border-radius: 16px; padding: 0;`,children:[y(xJ,{src:l,alt:"\u{1FA99}",width:213,height:125,top:"-80px"}),y("div",{style:kt.header.styles,children:y("button",{style:`${kt.closeButton.styles} padding-top: 10px; padding-right: 10px;`,onClick:i.bind(null,{type:"CANCEL"}),children:y(zd,{})})}),y("div",{style:kt.introduct.styles,children:[a?y("span",{style:kt.introductSubTitle.styles,children:s("loginGuide.instead")}):null,y("span",{style:kt.introductTitle.styles,children:y(Pd,{children:s("loginGuide.introduct"),values:{coin:y("img",{src:za,alt:"\u{1FA99}",style:{height:"20px",verticalAlign:"text-top",marginRight:"2px"}})}})})]}),y("div",{style:{width:"calc(100% - 40px)",paddingBottom:"16px"},children:y("section",{style:`${kt.buttonContainer.styles} flex-direction: column; margin-top: 48px; padding: 0 20px;`,children:[y("div",{style:{position:"relative",display:"inline-block",width:"100%",height:"100%"},children:[y("div",{style:{position:"absolute",top:"-32px",right:"-5px",width:"auto",zIndex:1},children:y(TJ,{children:y(Pd,{style:{fontSize:"12px",color:"#FFFFFF",fontWeight:600,lineHeight:"16px",textAlign:"center"},children:s("loginGuide.tips"),values:{coin:y(De,{children:[y("img",{src:za,alt:"\u{1FA99}",style:{height:"16px",verticalAlign:"text-top",marginRight:"2px"}}),t]})}})})}),y("button",{style:`${kt.confirmButton.styles} ${kt.buttonFlex.styles} padding: 0; line-height: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden;`,onClick:o,children:y("span",{style:"display: flex; align-items: center; justify-content: center; width: 100%; word-break: break-word; height: 48px;",children:s(r)})})]}),y("button",{style:`${kt.cancelButton.styles} ${kt.buttonFlex.styles} line-height: 24px;`,onClick:i.bind(null,{type:"FAILED"}),children:s(n)})]})})]})})},ex=e=>{let t=ns({title:"",content:y(SJ,{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},tx=e=>{let t=ns({title:"",content:y(EJ,{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,onSelect:e.onSelect}),backdropColor:"#1a1a1a",placement:"bottom",noHeader:!0,padding:"0px",height:"520px",onClose:e.buttons.cancel.onPress.bind(null,{type:"CANCEL"})});return t.show(),t},rx=e=>{let t=ns({title:"",content:y(PJ,{rewardType:e.data.rewardType,rewardValue:e.data.rewardValue,confirmButtonKey:e.buttons.confirm.text,cancelButtonKey:e.buttons.cancel.text,onClose:e.buttons.cancel.onPress,onConfirm:e.buttons.confirm.onPress}),backdropColor:"#1a1a1a",placement:"center",noHeader:!0,padding:"0px",preventCloseOnBackdropClick:!0});return t.show(),t},nx=new Map,En=(e,t)=>{nx.set(e,t)};En(/^\{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 y("div",{style:r,children:y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",style:{height:"24px",verticalAlign:"middle"},children:[y("g",{clipPath:"url(#clip0_2247_16523)",children:y("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"})}),y("defs",{children:y("clipPath",{id:"clip0_2247_16523",children:y("rect",{width:"24",height:"24",fill:"white"})})})]})})});En(/^\{slot-coin\}/,(e,t)=>{var n;let r=(n=t==null?void 0:t.coinImage)!=null?n:za;return y("img",{src:r,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}})});OJ=/^\{slot-i18n-(.+?)\}/,RJ=({i18nKey:e,i18nParams:t,fallbackText:r})=>{let{t:n}=Sn(),i=n(e,t);return y("span",{children:i||r})};En(OJ,(e,t)=>{var n;let r=e[1];return r?y(RJ,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,fallbackText:`[${r}]`}):(console.warn("No i18n key extracted from slot pattern:",e[0]),y("span",{children:(n=t==null?void 0:t.text)!=null?n:""}))});NJ=/^\{slot-i18ntran-(.+?)\}/,DJ=({i18nKey:e,i18nParams:t,imgMap:r={},fallbackText:n})=>{let{t:i}=Sn(),o=i(e),a=Object.entries(r).reduce((s,[l,c])=>(s[l]=c(t[l]),s),{});return y(Pd,{children:o||n,values:T(T({},t),a)})},LJ={coin:e=>y(De,{children:[y("img",{src:za,alt:"coin",style:{width:16,height:16,marginRight:2,textAlign:"center"}})," ",e," Jolicoin"]})};En(NJ,(e,t)=>{var n,i;let r=e[1];return r?y(DJ,{i18nKey:r,i18nParams:t==null?void 0:t.i18nParams,imgMap:(n=t==null?void 0:t.imgMap)!=null?n:LJ,fallbackText:`[${r}]`}):y("span",{children:(i=t==null?void 0:t.text)!=null?i:""})});qJ="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8yMjk0XzQwODkpIi8+CjxwYXRoIGQ9Ik0xNC4yOTUgMjUuOTIyN0MxNC4yOTUgMjUuOTIyNyAxNy45MTI1IDIxLjY0MzYgMjEuNzc1OSAxOC4wOTg0QzI0Ljc1NzQgMTUuMzYyMSAyOC4yMTUxIDEzLjE0NzQgMjguMjE1MSAxMy4xNDc0TDI3Ljk2OTUgMTEuNDEzOEMyNy45Njk1IDExLjQxMzggMjQuMDk4NyAxMi45NzYzIDIwLjc1NzUgMTUuMTk0N0MxNy4zNjUzIDE3LjQ0NTQgMTQuNTAzMyAyMC4zNTc3IDE0LjUwMzMgMjAuMzU3N0wxMS4xMzkgMTUuNjQyOEw5LjAzOTk2IDE3LjA1MjJMMTQuMjk1IDI1LjkyMjdMMTQuMjk1IDI1LjkyMjdaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzIyOTRfNDA4OSIgeDE9IjExLjczNDEiIHkxPSIzLjE3NTQxIiB4Mj0iMTgiIHkyPSIzNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjOTc1QkZGIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzc4MTdGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=";En(/^\{slot-success\}/,(e,t)=>y("img",{src:qJ,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));FJ="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4xNDIxIDIwQzE1LjY2NSAyMCAyMC4xNDIxIDE1LjUyMjggMjAuMTQyMSAxMEMyMC4xNDIxIDQuNDc3MTUgMTUuNjY1IDEuNzM2OThlLTA3IDEwLjE0MjEgMS43MzY5OGUtMDdDNC42MTkyOSAxLjczNjk4ZS0wNyAwLjE0MjEzNiA0LjQ3NzE1IDAuMTQyMTM1IDEwQzAuMTQyMTM2IDE1LjUyMjggNC42MTkyOSAyMCAxMC4xNDIxIDIwWk02LjUwNTk4IDUuMDQ5OTdDNi4xMTU0NiA0LjY1OTQ1IDUuNDgyMjkgNC42NTk0NSA1LjA5MTc3IDUuMDQ5OTdDNC43MDEyNCA1LjQ0MDUgNC43MDEyNCA2LjA3MzY2IDUuMDkxNzcgNi40NjQxOUw4LjYyNzMgOS45OTk3Mkw1LjA5MTc3IDEzLjUzNTNDNC43MDEyNCAxMy45MjU4IDQuNzAxMjQgMTQuNTU4OSA1LjA5MTc3IDE0Ljk0OTVDNS40ODIyOSAxNS4zNCA2LjExNTQ2IDE1LjM0IDYuNTA1OTggMTQuOTQ5NUwxMC4wNDE1IDExLjQxMzlMMTMuNTc3IDE0Ljk0OTVDMTMuOTY3NiAxNS4zNCAxNC42MDA3IDE1LjM0IDE0Ljk5MTMgMTQuOTQ5NUMxNS4zODE4IDE0LjU1ODkgMTUuMzgxOCAxMy45MjU4IDE0Ljk5MTMgMTMuNTM1M0wxMS40NTU3IDkuOTk5NzJMMTQuOTkxMyA2LjQ2NDE5QzE1LjM4MTggNi4wNzM2NiAxNS4zODE4IDUuNDQwNSAxNC45OTEzIDUuMDQ5OTdDMTQuNjAwNyA0LjY1OTQ1IDEzLjk2NzYgNC42NTk0NSAxMy41NzcgNS4wNDk5N0wxMC4wNDE1IDguNTg1NTFMNi41MDU5OCA1LjA0OTk3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";En(/^\{slot-error\}/,(e,t)=>y("img",{src:FJ,alt:"\u{1FA99}",style:{height:"1em",verticalAlign:"middle"}}));$e="-ms-",Wa="-moz-",$="-webkit-",ix="comm",Wd="rule",Kd="decl",MJ="@import",ox="@keyframes",UJ="@layer",jJ=Math.abs,is=String.fromCharCode,BJ=Ld.default;os=1,wn=1,sx=0,tt=0,Se=0,xn="";r5=function(e,t,r){for(var n=0,i=0;n=i,i=Bt(),n===38&&i===12&&(t[r]=1),!Qi(i);)dt();return eo(e,tt)},n5=function(e,t){var r=-1,n=44;do switch(Qi(n)){case 0:n===38&&Bt()===12&&(t[r]=1),e[r]+=r5(tt-1,t,r);break;case 2:e[r]+=Ba(n);break;case 4:if(n===44){e[++r]=Bt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=is(n)}while(n=dt());return e},i5=function(e,t){return cx(n5(lx(e),t))},dE=new Dd.default,o5=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&&!dE.get(r))&&!n){dE.set(e,!0);for(var i=[],o=i5(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]}}},a5=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};s5=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Kd:e.return=ux(e.value,e.length);break;case ox:return yn([Ui(e,{value:V(e.value,"@","@"+$)})],n);case Wd:if(e.length)return $J(e.props,function(i){switch(HJ(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yn([Ui(e,{props:[V(i,/:(read-\w+)/,":"+Wa+"$1")]})],n);case"::placeholder":return yn([Ui(e,{props:[V(i,/:(plac\w+)/,":"+$+"input-$1")]}),Ui(e,{props:[V(i,/:(plac\w+)/,":"+Wa+"$1")]}),Ui(e,{props:[V(i,/:(plac\w+)/,$e+"input-$1")]})],n)}return""})}},l5=[s5],c5=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");(0,Te.default)(Array.prototype).call(r,function(m){var g=m.getAttribute("data-emotion");(0,Xt.default)(g).call(g," ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||l5,i={},o,a=[];o=e.container||document.head,(0,Te.default)(Array.prototype).call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[o5,a5];{var c,d=[ZJ,t5(function(m){c.insert(m)})],u=e5((0,Ka.default)(l).call(l,n,d)),p=function(m){return yn(YJ(m),u)};s=function(m,g,_,v){c=_,p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new AE({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};u5=function(e){var t=c5(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=br(s,t.registered,void 0);return es(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=br(s,t.registered),d="animation-"+c.name;return pE(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=br(s,t.registered);pE(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return _d(t.registered,r,d5(s))};return{css:r,cx:o,injectGlobal:i,keyframes:n,hydrate:function(a){(0,Te.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,bd.default)(zi).call(zi,null,t.registered),merge:(0,bd.default)(_d).call(_d,null,t.registered,r)}},d5=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,Ji.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},p5=u5({key:"css"}),f5=p5.css,h5=(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 nx.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=f5`
544
544
  display: 'flex',
545
545
  alignItems: 'flex-start',
546
546
  gap: '4px',
@@ -551,7 +551,7 @@ If multiple caches share the same key they might "fight" for each other's style
551
551
  fontWeight: 600,
552
552
  lineHeight: '18px',
553
553
  width: 'max-content'
554
- `;return r.length===1?r[0]:y("div",{className:i,children:r})},m5=({message:e,type:t="info",duration:r=3e3,onClose:n,position:i="top"})=>{let[o,a]=Mt(!0);Br(()=>{let c=setTimeout(()=>{a(!1),setTimeout(()=>{n==null||n()},300)},r);return()=>clearTimeout(c)},[r,n]);let s=Md(()=>{let c=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10);return Math.max(20,c)},[]),l=N`
554
+ `;return r.length===1?r[0]:y("div",{className:i,children:r})},m5=({message:e,type:t="info",duration:r=3e3,onClose:n,position:i="top"})=>{let[o,a]=Ut(!0);Br(()=>{let c=setTimeout(()=>{a(!1),setTimeout(()=>{n==null||n()},300)},r);return()=>clearTimeout(c)},[r,n]);let s=Md(()=>{let c=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10);return Math.max(20,c)},[]),l=N`
555
555
  position: fixed;
556
556
  left: 50%;
557
557
  padding: 10px 16px;
@@ -593,7 +593,7 @@ If multiple caches share the same key they might "fight" for each other's style
593
593
  opacity: 1;
594
594
  transform: translate(-50%, -50%) scale(1);
595
595
  `}
596
- `;return y("div",{className:`toast toast-${t}`,style:l.styles,children:e})},v5=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10),fx=Math.max(20,v5),hx=12,dE=[],pE=[];Jr=(e,t)=>w(void 0,null,function*(){let{iframe:r,emotionCache:n}=yield ax.acquire(),i=r.contentDocument;if(!i)return;let o=i.createElement("div");i.body.appendChild(o);let a=(t==null?void 0:t.position)||"top",s=a==="top"?dE:pE;s.push(o);let l=h5(e,t),c=Gx(),d=Jx[c].translations;function u(){i==null||i.body.removeChild(o);let p=s.indexOf(o);p!==-1&&s.splice(p,1),mx(a),ax.release()}setTimeout(()=>mx(a),0),ur(y(Ux,{value:n,children:y($x,{definition:d,children:y(m5,{message:l,type:t==null?void 0:t.type,position:a,duration:t==null?void 0:t.duration,onClose:u})})}),o)}),vx={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"}},g5=`
596
+ `;return y("div",{className:`toast toast-${t}`,style:l.styles,children:e})},v5=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--status-bar-height")||"0",10),fE=Math.max(20,v5),hE=12,dx=[],px=[];Jr=(e,t)=>w(void 0,null,function*(){let{iframe:r,emotionCache:n}=yield aE.acquire(),i=r.contentDocument;if(!i)return;let o=i.createElement("div");i.body.appendChild(o);let a=(t==null?void 0:t.position)||"top",s=a==="top"?dx:px;s.push(o);let l=h5(e,t),c=GE(),d=JE[c].translations;function u(){i==null||i.body.removeChild(o);let p=s.indexOf(o);p!==-1&&s.splice(p,1),mE(a),aE.release()}setTimeout(()=>mE(a),0),ur(y(jE,{value:n,children:y($E,{definition:d,children:y(m5,{message:l,type:t==null?void 0:t.type,position:a,duration:t==null?void 0:t.duration,onClose:u})})}),o)}),vE={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"}},g5=`
597
597
  @keyframes spin {
598
598
  0% {
599
599
  transform: rotate(0deg);
@@ -602,9 +602,9 @@ If multiple caches share the same key they might "fight" for each other's style
602
602
  transform: rotate(360deg);
603
603
  }
604
604
  }
605
- `,y5=()=>y("div",{style:vx.container,children:[y("style",{children:g5}),y("div",{style:vx.spinner})]});p7=to()});function fE(){return w(this,null,function*(){if(Yd)return Yd;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 te(t);return Yd=r,r})}function hE(){return w(this,null,function*(){let e=new Tt;if(x.mpType!=="game")return e.resolve(!1),e.promise;if(Xd)return e.resolve(!0),e.promise;let t=yield fE();if(t.code!=="SUCCESS")return e.resolve(!1),e.promise;let{gameListInfo:r,title:n,buttons:i}=t.data;Xd=!0;let o={domain:"GAME",buttons:t.data.buttons.map(s=>`${s.type}-${s.text}`).join(","),list:r.games.map(s=>s.gameId).join(",")};M("RecommendedGuide",T({eventType:B.View},o));let a=Yx({games:r.games,title:n,buttons:i,onClose:s=>{var l;switch(Xd=!1,s.type){case"quit":M("RecommendedGuide",{eventType:B.Click,type:"QUIT",domain:"GAME"}),e.resolve(!1);break;case"dismiss":M("RecommendedGuide",T({eventType:B.Hide},o)),e.resolve(!0),a.destroy();break;case"navigate":if((l=s.data)!=null&&l.game){let c=s.data.game;_5(c),M("GameItem",{eventType:B.Click,gameId:c.gameId,layerName:"RecommendedGuide",domain:"GAME"}),setTimeout(()=>{e.resolve(!1)},0)}else e.resolve(!0);a.destroy();break;default:M("RecommendedGuide",T({eventType:B.Hide},o)),e.resolve(!0);break}}});return e.promise})}var Yd,_5,Xd,mE=k(()=>{"use strict";Q();_e();D();er();vt();gt();Yd=null;fE();_5=e=>{var a;let{data:t}=j("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()}`;j("openSchemaSync",{schema:o})},Xd=!1});function w5(e){let t=T(T({},b5),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:b,containerTransition:I,iframeTransition:A}=p();ae=document.createElement("div"),ae.id="jolibox-modal-overlay",ae.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:${b}; opacity:0; visibility:hidden;`,Y=document.createElement("div"),Y.id="jolibox-modal-container",Y.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:${I};`;let C=document.createElement("div");C.id="jolibox-modal-loading",C.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 O=document.createElement("style");O.textContent="@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }",document.head.appendChild(O);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;",bt=document.createElement("iframe"),bt.style.cssText=`width:100%; flex:1; border:none; opacity:0; transition:${A};`,bt.src=r,bt.onload=()=>{C.parentNode&&C.parentNode.removeChild(C),bt.style.opacity="1",g(),l==null||l(),ne.emit("onModalIframeLoaded",{url:r})},E.appendChild(bt),E.appendChild(C),Y.appendChild(E),i){let P=document.createElement("div");P.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;",P.innerHTML="\u2715",P.onclick=v,Y.appendChild(P)}ae.appendChild(Y),document.body.appendChild(ae),ae.addEventListener("click",function(P){P.target===ae&&v()}),o&&_()}function g(){!ae||!Y||u||(ae.style.visibility="visible",a?requestAnimationFrame(()=>{ae&&(ae.style.opacity="1"),Y&&(Y.style.transform="translateY(0)"),u=!0}):(ae&&(ae.style.opacity="1"),Y&&(Y.style.transform="translateY(0)"),u=!0),j("updateContainerConfigSync",{displayCapsuleButton:!1,webviewId:x.webviewId}))}function _(){if(!Y)return;let b=C=>{c=C.touches[0].clientY},I=C=>{if(!u)return;d=C.touches[0].clientY;let O=d-c;O>0&&(Y&&(Y.style.transition="none",Y.style.transform=`translateY(${O}px)`),C.preventDefault())},A=()=>{!u||!Y||(Y.style.transition=a?"transform 0.3s ease":"none",d-c>80?v():Y.style.transform="translateY(0)")};Y.addEventListener("touchstart",b),Y.addEventListener("touchmove",I),Y.addEventListener("touchend",A)}function v(){!ae||!Y||!u||(a?(Y.style.transform="translateY(100%)",ae.style.opacity="0"):ae.style.visibility="hidden",u=!1,j("updateContainerConfigSync",{displayCapsuleButton:!0,webviewId:x.webviewId}),setTimeout(()=>{ae&&(ae.remove(),ae=null,Y=null,bt=null,s==null||s(),ne.emit("onModalIframeClosed",{url:r}))},f()))}return m(),{close:v}}function vE(){return window.joliboxUI=U(T({},window.joliboxUI),{createIframeModal:w5}),()=>{window.joliboxUI=void 0,ae&&ae.parentNode&&ae.parentNode.removeChild(ae),Y&&Y.parentNode&&Y.parentNode.removeChild(Y),bt&&bt.parentNode&&bt.parentNode.removeChild(bt),ae=null,Y=null,bt=null}}var b5,ae,Y,bt,gE=k(()=>{"use strict";_e();Q();D();b5={height:"50%",showCloseButton:!0,enableDragClose:!0,useAnimation:!0},ae=null,Y=null,bt=null});var wE={};mf(wE,{config:()=>R5});function S5(){qo.on("isAdShowing",e=>{cs=e,Wr(cs)&&j("updateContainerConfigSync",{displayCapsuleButton:!cs,webviewId:x.webviewId})})}function x5(){ne.on("onInterceptSystemExit",({intercept:e})=>{yE=e})}function E5(){ne.on("onInterceptBackPress",({intercept:e})=>{I5=e}),Ze("onBeforeBackPress",({uuid:e,disableExitRecommendDialog:t})=>{var r,n;bE(t),ne.emit("onBackPress",{}),(n=(r=globalThis.joliboxJSCore)==null?void 0:r.doBackPress)==null||n.call(r,e)})}function k5(){ne.on("onDocumentReady",()=>{var e;(e=globalThis.joliboxJSCore)==null||e.onDocumentReady(window.location.href),M("onDocumentReady",{start_timestamp:ds,timestamp:Date.now()})})}function A5(){Ze("onI18nChanged",({language:e})=>{ne.emit("onI18nChanged",{i18n:e})})}function T5(e){x.mpType==="game"&&$t.start(e)}function C5(){Ze("onJoliboxServiceReady",({runtimeInfo:e,loadDuration:t})=>{e&&x.onEnvConfigChanged({hostUserInfo:e}),ne.emit("LifecycleEvent.onReady",T({},x.hostUserInfo?x.hostUserInfo:{isLogin:!1})),M("joliboxServiceReady",{start_timestamp:ds,timestamp:Date.now()}),T5(t),Vx(()=>x.language)}),Ze("onBeforeExit",({uuid:e,disableExitRecommendDialog:t})=>{var r;bE(t),(r=globalThis.joliboxJSCore)==null||r.doExit(e)})}function P5(){let e=()=>{M("onBeforeExit",{timestamp:Date.now()}),ss==null||ss(),ls==null||ls(),$t.close(Date.now()-ds)},t=()=>cs||yE;ht.onDoExit(()=>w(this,null,function*(){return t()?!0:Wr(x.shouldInterupt)?(x.shouldInterupt||e(),x.shouldInterupt):us!=null&&us.canShowRecommended&&!_E&&(yield hE())?!0:(e(),!1)})),ht.onDoBackPress(()=>w(this,null,function*(){return!!t()}))}function O5(){return w(this,null,function*(){let e=`${x.baseApiHost}/api/fe-configs/js-sdk/basic-meta`,{response:{data:t}}=yield te(e);t&&(us=t)})}function R5(){ds=Date.now(),C5(),S5(),x5(),E5(),P5(),k5(),A5(),O5(),ls=vE(),ss=Dh()}var ss,ls,ds,cs,us,yE,I5,_E,bE,IE=k(()=>{"use strict";_e();Q();D();gt();Lh();oc();mE();vt();er();gE();cs=!1,us=null,yE=!1,I5=!1,_E=!1,bE=e=>{Wr(e)&&(_E=e)};ht.onReady(()=>{})});function SE(e){let t=Gl.config[e];return t||(t={},Gl.config[e]=t),(r,n)=>{if(t[r]){Ct.warn(`[can i use] ${r} already registered`);return}t[r]=T({},n)}}var xE=k(()=>{"use strict";D()});function Zd(e){EE=e}function ps(e){return e===null||typeof e!="object"?e:Array.isArray(e)?e.map(t=>ps(t)):Object.keys(e).reduce((t,r)=>(t[r]=ps(e[r]),t),{})}function tr(e){return typeof e=="number"}function ep(e){let t=tp(e);switch(t){case"string":return`"${e}"`;case"number":case"boolean":case"null":case"undefined":return String(e);default:return`a(n) ${t}`}}function tp(e){return typeof e=="function"?"function":Object.prototype.toString.call(e).slice(8).slice(0,-1).toLowerCase()}var EE,xe,fs,hs,ms,vs,kn,gs,ys,_s,bs,ws,Is,Ss,xs,Es,ks,As,Ts,rp=k(()=>{"use strict";EE=!1;xe=class{constructor(){this.errors=[];this.hasFallback=!1;this.hasDefault=!1;this._optional=!1}fail(t){if(EE)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 ${ep(t.actual)}`,this.errors.push(r)}return!1}fallback(t){return this.hasFallback=!0,this._fallback=t,this}get fallbackValue(){return ps(this._fallback)}default(t){return this.hasDefault=!0,this._default=t,this}get defaultValue(){return typeof this._default=="function"?this._default:ps(this._default)}optional(){return this._optional=!0,this}};fs=class extends xe{validate(t){return this._optional&&t===void 0?!0:tr(t)?tr(this._min)&&t<this._min?this.fail(`the value of ${this.path} should be greater than or equal to ${this._min}`):tr(this._max)&&t>this._max?this.fail(`the value of ${this.path} should be less than or equal to ${this._max}`):tr(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}},hs=class extends xe{validate(t){return this._optional&&t===void 0?!0:typeof t!="boolean"?this.fail({expect:"boolean",actual:t}):!0}},ms=class extends xe{validate(t){if(this._optional&&t===void 0)return!0;if(typeof t!="string")return this.fail({expect:"string",actual:t});if(tr(this._maxLength)&&t.length>this._maxLength)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxLength}`);if(tr(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}},vs=class extends xe{validate(t){return this._optional&&t===void 0?!0:typeof t!="symbol"?this.fail({expect:"symbol",actual:t}):!0}},kn=class extends xe{validate(t){return!0}},gs=class extends xe{validate(t){return t!==void 0?this.fail({expect:"undefined",actual:t}):!0}},ys=class extends xe{validate(t){return this._optional&&t===void 0?!0:t!==null?this.fail({expect:"null",actual:t}):!0}},_s=class extends xe{validate(t){return this._optional&&t===void 0?!0:typeof t!="function"?this.fail({expect:"function",actual:t}):!0}},bs=class extends xe{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 ${ep(t)}`)}return!0}},ws=class extends xe{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(tr(this._minItems)&&r.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);if(tr(this._maxItems)&&r.length>this._maxItems)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxItems}`);if(tr(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}},Is=class extends xe{constructor(r){super();this._value=r}validate(r){if(this._optional&&r===void 0)return!0;if(tp(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}},Ss=class extends xe{constructor(r={}){super();this._object=r}validate(r){if(this._optional&&r===void 0)return!0;if(tp(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}},xs=class extends xe{constructor(r){super();this.value=r}validate(r){return r===void 0&&this._optional?!0:r!==this.value?this.fail({expect:ep(this.value),actual:r}):!0}},Es=class extends xe{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(`
606
- or `);this.errors.push(o)}return n}},ks=class extends xe{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}},As=class extends xe{validate(t){return t===void 0&&this._optional||t instanceof ArrayBuffer?!0:this.fail({expect:"arraybuffer",actual:t})}},Ts=class extends xe{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 np(e,t,r="param"){if(e.errors=[],e.path=r,Zd(!0),!e.validate(t)){let n=e.errors.join(`
607
- `);throw e.errors.length=0,Zd(!1),new TypeError(n)}}var S,ip=k(()=>{"use strict";rp();rp();S={object(e){return new Ss(e)},array(e){return new ws(e)},tuple(...e){return new ks(...e)},literal(e){return new xs(e)},or(...e){return new Es(...e)},symbol(){return new vs},record(e){return new Is(e)},function(){return new _s},boolean(){return new hs},string(){return new ms},number(){return new fs},undefined(){return new gs},null(){return new ys},unknown(){return new kn},any(){return new kn},as(){return new kn},arraybuffer(){return new As},enum(...e){return new bs(...e)},typedarray(e){return new Ts(e)}}});var Cs,kE,AE=k(()=>{"use strict";D();mt();ip();Kr();Cs=1,kE=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{np(i.paramsSchema,o,"params")}catch(b){throw tc(`${n}:fail ${b.message}`)}let g=i.implement(...o),_=g,v=`${n}:ok`;if(g&&"code"in g){let{code:b,data:I,message:A}=g;l=b,_=I,v=A}return{code:l,message:v,data:_}}catch(g){let _=g;d=(p=(u=_.code)!=null?u:_.errNo)!=null?p:2e3,l="FAILURE";let v=(m=(f=_.message)!=null?f:_.errMsg)!=null?m:`${g}`;return c=`${n}:${l} ${v.replace(/^\S+:(fail|cancel)\s?/,"")}`,ke(new Zn(c,d)),{code:l,message:c}}finally{let g=Date.now()-a}}}function r(n,i){return(...o)=>w(this,null,function*(){var p,f,m,g;let a=Vf(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{np(i.paramsSchema,a,"params")}catch(b){throw tc(b.message)}let v=yield i.implement(...a);if(v&&"code"in v){let{code:b,data:I,message:A}=v;d=b,c=A,v=I}return Object.assign(u,{code:d,message:c,data:v}),u}catch(_){let v=_,b=(f=(p=v.code)!=null?p:v.errNo)!=null?f:2e3;d="FAILURE";let I=(g=(m=v.message)!=null?m:v.errMsg)!=null?g:`${_}`,A=`${n}:${d} ${I.replace(/^\S+:(fail|cancel)\s?/,"")}`;return Object.assign(u,{code:d,message:A}),ke(new Zn(A,b)),u}finally{let _=Date.now()-s}})}return{createAPI:r,createSyncAPI:t}}});function op(e){if(typeof e!="number"||e<=0)return"0.0.0";let t=e.toString(),r=0,n=0,i=0;return t.length>=1&&(r=parseInt(t.substring(0,1),10)),t.length>=3&&(n=parseInt(t.substring(1,3),10)),t.length>=5&&(i=parseInt(t.substring(3,5),10)),`${r}.${n}.${i}`}var TE=k(()=>{"use strict"});var Pe,G,L,CE,rt=k(()=>{"use strict";xE();gt();AE();ip();_e();Q();TE();({createAPI:Pe,createSyncAPI:G}=kE(M)),L=SE("native"),{canIUseNative:CE}=Rf(()=>x.sdkInfo.nativeSDKVersionCode)});var PE,D5,L5,q5,F5,OE=k(()=>{"use strict";D();rt();_e();Q();PE=X(),D5="env",L5="getSystemInfoSync",q5=G(L5,{implement:()=>{var r;let e=j("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,viewport:{statusBarHeight:x.viewport.statusBarHeight,navigationBarHeight:x.viewport.navigationBarHeight}}}}),F5=G(D5,{implement:()=>{var t;let e=j("envSync");return(t=e==null?void 0:e.data)!=null?t:void 0}});PE.registerCommand("API.getSystemInfoSync",q5);PE.registerCommand("API.env",F5);L("env",{version:"1.0.0"});L("getSystemInfoSync",{version:"1.0.0",properties:{viewport:"1.0.33"}})});var RE=h(ap=>{"use strict";D();rt();mt();_e();gt();Q();var M5="exitGame",j5="onReady",U5="onJoliboxShow",B5="onJoliboxHide",Ps=X(),Os=Oo(ke),J5=Pe(M5,{paramsSchema:S.tuple(S.function(),S.boolean().optional().default(!1)),implement:(e,t=!1)=>w(ap,null,function*(){Os(e).call(ap),Wr(x.shouldInterupt)&&!x.shouldInterupt&&x.from&&Mf("onRetentionResult",{shouldStay:t},x.from,!0),t||x.setDoExitDirectly(),yield ye("exitAppAsync")})}),H5=G(U5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);Ze("onJoliboxEnterForeground",()=>{t.call(this),ti.emit("visible",!0)})}}),$5=G(B5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);Ze("onJoliboxEnterBackground",()=>{t.call(this),ti.emit("visible",!1)})}}),V5=G(j5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);ne.on("LifecycleEvent.onReady",r=>{t(r)})}});Ps.registerCommand("LifecycleSDK.exit",J5);Ps.registerCommand("LifecycleSDK.onReady",V5);Ps.registerCommand("LifecycleSDK.onJoliboxShow",H5);Ps.registerCommand("LifecycleSDK.onJoliboxHide",$5);L("lifeCycle.exit",{version:"1.0.0"});L("lifeCycle.onReady",{version:"1.0.0"});L("lifeCycle.onJoliboxShow",{version:"1.0.0"});L("lifeCycle.onJoliboxHide",{version:"1.0.0"})});function NE(e){let t={};if(!Tr(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 DE(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 LE(e,t=!1){if(e)return t||e>0&&e<=6e4?Math.ceil(e):6e4}function qE(e,t,r){if(["POST","PUT","PATCH"].includes(t)||!Tr(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 FE=k(()=>{"use strict";D()});var G5,z5,sp,lp,ME,W5,K5,Q5,jE=k(()=>{"use strict";Kr();nc();rt();FE();D();mt();Q();G5=15,z5=Do("createRequestTaskSync","operateRequestTaskSync",{type:"public",baseUrl:x.baseApiHost}),sp=0,lp=[],ME=Oo(ke),W5=(e,t)=>{let r=e.filter(t),n=e.filter(i=>!t(i));return e.length=0,e.push(...n),r},K5=e=>{let t=new Tt,r=()=>{};return G("request",{paramsSchema:S.tuple(S.object({url:S.string(),method:S.string(),headers:S.object().optional(),data:S.or(S.object(),S.array()).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=()=>w(this,null,function*(){var s,l,c;let a=ME(i.fail);try{if(sp+=1,t.state!=="pending")return;let{data:d,dataType:u,responseType:p,enableCache:f,appendHostCookie:m}=i,g=NE((s=i.headers)!=null?s:{}),_=DE(i.method),v=LE(i.timeout),b=qE(i.url,_,d),I=ME(i.success),A=Object.assign({},i,{method:_,header:m?void 0:g,data:_==="GET"||_==="HEAD"?void 0:d,enableCache:f,query:(l=i.query)!=null?l:{},dataType:u,responseType:p,appendHostCookie:m});v&&(A.timeout=v);let C=z5(b,A);{let{response:O}=yield C,{code:E,data:P,message:J}=O;if(P&&typeof P=="object"&&"status"in P&&P.status!==200)throw cr({code:P.status||-1,msg:`request:fail status ${P.status}`});t.resolve({code:E!=null?E:"SUCCESS",data:P,message:J!=null?J:"request:ok"}),I({code:"SUCCESS",message:"request:ok",data:P})}}catch(d){t.reject(d),a({code:"FAILURE",message:"httpRequst: failed"})}finally{sp-=1,(c=lp.shift())==null||c()}});return sp>=G5?(r=()=>{W5(lp,a=>a===o)},lp.push(o)):o(),t.promise}})(e),{abort(){t.reject(cr({code:-1,msg:"request:fail abort"})),r()}}},Q5=X();Q5.registerCommand("HttpSDK.request",K5);L("request",{version:"1.0.0"})});function UE(e){let t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0].toLocaleLowerCase();return t==="array"&&(t="object"),t3.includes(t)?t:""}function BE(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 JE(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 Rs,Y5,X5,Z5,e3,HK,$K,t3,cp,HE,up=k(()=>{"use strict";rt();_e();D();vt();Q();Rs=X(),Y5=Pe("getLocalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){let{response:t}=yield te(`/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 ye("getLocalStorageAsync",{key:e}),s=BE(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}}})}});Rs.registerCommand("StorageSDK.getItem",Y5);L("storage.getItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});X5=Pe("setStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number())),implement(e,t){return w(this,null,function*(){let r=x.mpId,n=typeof t=="string"?t:String(t),{response:i}=yield te(`/api/games/user-storage/${r}`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e,value:n}}),{data:{code:o,message:a}}=i,s=UE(t),l=JE(t,s);return yield ye("setLocalStorageAsync",{key:e,data:l,dataType:s}),o=="SUCCESS"?{code:o,message:a}:{code:o,message:`${a}. fallback to native`}})}});Rs.registerCommand("StorageSDK.setItem",X5);L("storage.setItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});Z5=Pe("removeStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){let t=x.mpId,{response:r}=yield te(`/api/games/user-storage/${t}/remove`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e}}),{data:{code:n,message:i}}=r;return yield ye("removeLocalStorageAsync",{key:e}),n==="SUCCESS"?{code:n,message:i}:{code:n,message:"[Jolibox SDK] remove item succ"}})}});Rs.registerCommand("StorageSDK.removeItem",Z5);L("storage.removeItem",{version:"1.0.0",properties:{key:"1.0.0"}});e3=Pe("clearStorage",{implement(){return w(this,null,function*(){let e=x.mpId,{response:t}=yield te(`/api/games/user-storage/${e}/clear`,{method:"POST",appendHostCookie:!0});ye("clearLocalStorageAsync");let{data:{code:r,message:n}}=t;return r==="SUCCESS"?{code:r,message:n}:{code:r,message:`${n}.fallback to native`}})}});Rs.registerCommand("StorageSDK.clear",e3);L("storage.clear",{version:"1.0.0"});HK=Pe("getStorageInfo",{implement(){return w(this,null,function*(){let{data:e}=yield ye("getStorageInfoAsync");return e})}});L("getStorageInfo",{version:"1.0.0",success:{keys:"1.0.0",currentSize:"1.0.0",limitSize:"1.0.0"}});$K=G("getStorageInfoSync",{implement(){return j("getStorageInfoSync")}}),t3=["string","number","boolean","object",""];cp=Pe("getGlobalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){try{let{data:{data:t,dataType:r}}=yield ye("getGlobalStorageAsync",{key:e});return{code:"SUCCESS",message:"success",data:BE(t,r)}}catch(t){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get global storage failed",data:null}}})}}),HE=Pe("setGlobalStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number(),S.array())),implement(e,t){return w(this,null,function*(){try{let r=UE(t),n=JE(t,r);return yield ye("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 r3,n3,i3,dp,$E=k(()=>{"use strict";D();_e();rt();r3=G("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)),j("showKeyboardSync",U(T({},e),{defaultValue:r,maxLength:t}))}});L("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"}});n3=G("updateKeyboard",{paramsSchema:S.tuple(S.object({value:S.string()})),implement(e){j("updateKeyboardSync",e)}});L("keyboard.updateKeyboard",{version:"1.0.0",properties:{params:{value:"1.0.0"}}});i3=G("hideKeyboard",{implement(){j("hideKeyboardSync")}});L("keyboard.hideKeyboard",{version:"1.0.0"});dp=X();dp.registerCommand("KeyboardSDK.showKeyboard",r3);dp.registerCommand("KeyboardSDK.updateKeyboard",n3);dp.registerCommand("KeyboardSDK.hideKeyboard",i3)});var VE=h(Ns=>{"use strict";D();rt();gt();var pp=X(),o3=Pe("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(),variation:S.string().optional()})),implement:e=>w(Ns,null,function*(){let{levelId:t,duration:r,rating:n,score:i,variation:o}=e,a=[];a.push($t.tracker("LevelFinished",{levelId:t,duration:r,rating:n,score:i,variation:o})),a.push($t.reporter({event:"COMPLETE_GAME_LEVEL"})),yield Promise.all(a)})}),a3=Pe("gamePlayEnded",{paramsSchema:S.tuple(S.object({duration:S.number().optional(),rating:S.number().optional(),score:S.number(),variation:S.string().optional()})),implement:e=>w(Ns,null,function*(){let{duration:t,rating:r,score:n,variation:i}=e;return $t.tracker("GamePlayEnded",{duration:t,rating:r,score:n,variation:i})})}),s3=Pe("levelUpgrade",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),name:S.string().optional()})),implement:r=>w(Ns,[r],function*({levelId:e,name:t}){let n=[];n.push($t.tracker("LevelUpgrade",{name:t,levelId:e})),yield Promise.all(n)})});pp.registerCommand("TaskTrackerSDK.levelFinished",o3);pp.registerCommand("TaskTrackerSDK.gamePlayEnded",a3);pp.registerCommand("TaskTrackerSDK.levelUpgrade",s3);L("TaskTrackerSDK.onLevelFinished",{version:"1.1.25",properties:{params:{levelId:"1.1.25",duration:"1.1.25",rating:"1.1.25",score:"1.1.25",variation:"1.1.50"}}});L("TaskTrackerSDK.onGamePlayEnded",{version:"1.1.25",properties:{params:{duration:"1.1.25",rating:"1.1.25",score:"1.1.25",variation:"1.1.50"}}});L("TaskTrackerSDK.onLevelUpgrade",{version:"1.1.25",properties:{params:{levelId:"1.1.25",name:"1.1.25"}}})});var fp,hp,mp,l3,GE,Ds=k(()=>{"use strict";Q();_e();rt();D();Kr();L("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"}});L("checkSession",{version:"1.0.0",success:{errMsg:"1.0.0"}});fp=new Map;Ze("onLoginStateChange",({isLogin:e,token:t,uuid:r,isFirstLogin:n,extra:i})=>{let o=fp.get(r);o&&(o.resolve({isLogin:e,token:t,isFirstLogin:n,extra:i}),fp.delete(r))});hp=(e,t=!1)=>w(void 0,null,function*(){var u;let{data:{isLogin:r}}=yield ye("checkLoginAsync");if(r)return{isLogin:!0,token:(u=x.hostUserInfo)==null?void 0:u.token};let{skipLogin:n,triggerFrom:i}=e!=null?e:{},o=j("loginSync",{skipLogin:n,triggerFrom:i}),{data:{uuid:a}}=o;if(!a)throw cr({code:-1,msg:"login failed"});let s=new Tt;fp.set(a,s);let l=yield s.promise;x.onEnvConfigChanged({hostUserInfo:l});let p=l,{extra:c}=p,d=Ue(p,["extra"]);return ne.emit("onLoginComplete",d),t?l:d}),mp=Pe("login",{paramsSchema:S.tuple(S.object({skipLogin:S.boolean().optional(),triggerFrom:S.string().optional()}).optional()),implement(e){return w(this,null,function*(){return yield hp(e!=null?e:{})})}}),l3=Pe("checkSession",{implement(){return w(this,null,function*(){let{data:{isLogin:e}}=yield ye("checkLoginAsync");return{isLogin:e}})}}),GE=X();GE.registerCommand("API.login",mp);GE.registerCommand("API.checkSession",l3)});var zE,WE=k(()=>{"use strict";zE=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)}});function vp(e){return t=>w(this,null,function*(){var l;let{dailyMaxPopUps:r,minInterval:n}=t,i=yield cp(e);if(!i.data)return{canShow:!0,isFirst:!0};let o=KE(i.data),a=zE(o);if(r&&a.length>=r)return{canShow:!1,isFirst:!1};let s=Date.now();return console.log("todayFrequencies",a,n,s-a[0]),n&&s-((l=a==null?void 0:a[0])!=null?l:0)<n?{canShow:!1,isFirst:!1}:{canShow:!0,isFirst:!1}})}function gp(e){return()=>w(this,null,function*(){var i;let t=Date.now(),r=yield cp(e),n=KE((i=r.data)!=null?i:"[]");n.push(t),n.sort((o,a)=>a-o).splice(8),yield HE(e,JSON.stringify(n))})}var KE,QE,YE,XE,ZE,ek,tk,Ls=k(()=>{"use strict";up();WE();KE=e=>{let t;try{t=JSON.parse(e)}catch(r){t=[]}return t};QE=vp("joli_coin_use_modal_frequency"),YE=vp("joli_coin_payment_frequency"),XE=vp("joli_coin_unlogin_modal_frequency");ZE=gp("joli_coin_use_modal_frequency"),ek=gp("joli_coin_payment_frequency"),tk=gp("joli_coin_unlogin_modal_frequency")});var yp,qs,_p=k(()=>{"use strict";vt();yp=Promise.resolve(),qs=e=>w(void 0,null,function*(){yp=yp.then(()=>w(void 0,null,function*(){yield te("/api/joli-coin/user-config",{method:"POST",appendHostCookie:!0,data:{enableAutoDeduct:e}})})),yield yp})});var Fs,Ms,kt,js,Hr,wr,rr,Us,An,c3,F,Tn,Cn,Ye=k(()=>{"use strict";D();Fs="UNLOCK_OPTIONS_CHANGED",Ms="INVOKE_PAYMENT",kt="ON_PAYMENT_RESULT",js="ON_USE_MODAL_EVENT",Hr="ON_USE_MODAL_RESULT",wr="ON_USE_MODAL_FREQUENCY",rr="ON_USE_UNLOGIN_MODAL_EVENT",Us="INVOKE_UNLOGIN_MODAL_EVENT",An=new Pt,c3=()=>({on:An.on.bind(An),off:An.off.bind(An),emit:An.emit.bind(An)}),F=c3(),Tn={charge:{dailyMaxPopUps:2,minInterval:8*60*60*1e3},useJolicoin:{dailyMaxPopUps:2,minInterval:8*60*60*1e3}},Cn={show:!0,minInterval:8*60*60*1e3}});function nt(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),updateData:a=>{if(i)return i=T(T({},i),a),r=Promise.resolve(i),n&&(n(i),n=null),i}}}var Ir=k(()=>{"use strict"});var ik=h(bp=>{"use strict";Ls();_p();Ye();Ye();er();gt();D();Ir();var rk=to(),nk=nt(F,wr);nk.getData();F.on(js,(e,t)=>w(bp,null,function*(){if(e==="ADS-JOLI_COIN"){yield rk.show({duration:3e3});let n=yield nk.getData(),{canShow:i,isFirst:o}=yield QE(n.joliCoinUseAndCharge.useJolicoin);console.log("use modal show by frequency",i,o),rk.hide();let{balance:a}=t.userJoliCoin;if(a>=t.joliCoinQuantity&&t.enableAutoDeduct&&!o){F.emit(Hr,{useModalResult:"CONFIRM"});return}if(!i){F.emit(Hr,{useModalResult:"FAILED"});return}}M("unlock_popup_show",{eventType:B.View,targetType:"game"});let r=eE({data:{enableAutoDeduct:t.enableAutoDeduct,userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>{M("coin_unlock_click",{targetType:"game",eventType:B.Click,coinConsume:t.joliCoinQuantity,ifAutoUnlock:t.enableAutoDeduct}),F.emit(Hr,{useModalResult:"CONFIRM"}),r.destroy()}},cancel:{text:t.cancelButtonText,onPress:({type:n})=>{n==="FAILED"&&M("ad_unlock_click",{targetType:"game",eventType:B.Click}),F.emit(Hr,{useModalResult:(n!=null?n:"")==="CANCEL"?"CANCEL":"FAILED"}),r.destroy()}},onEnableDeductChanged:n=>w(bp,null,function*(){yield qs(n)})}});yield ZE()}))});function ok(){let e=new Map;return{registerPaymentHandler(r,n){e.set(r,n)},invokePayment(r,...n){return w(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 ak=k(()=>{"use strict";mt()});var Bs=k(()=>{"use strict"});var u3,Pn,Sr,d3,$r,wp=k(()=>{"use strict";Bs();D();Q();vt();u3=()=>{let[e,t]=[Xf,eh].map(r=>(n,i,o)=>new r(n,i,o));return{createPaymentError:e,createPaymentInternalError:t}},{createPaymentError:Pn,createPaymentInternalError:Sr}=u3(),d3=x.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com",$r=class{constructor(){this._orderId=null;this._orderStatus="INIT";this.startPayment=t=>w(this,null,function*(){this._orderId&&(yield this.cancelOrder(this.orderId));let{code:r,message:n}=yield this.placeOrder(t);if(r!=="SUCCESS")throw Pn(n,1001);return yield this.pay()});this.cancelOrder=t=>w(this,null,function*(){var n,i;let{response:r}=yield te(`/api/orders/${t}/cancel`,{method:"POST",data:{}});if(r.code!=="SUCCCESS")throw Pn((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(T({},this.generatePaymentContext()))),`${d3}//payment/callback?${t.toString()}`}}get orderId(){return this._orderId}get status(){return this._orderStatus}}});var Ip,lk,ck=k(()=>{"use strict";vt();wp();Bs();Ip=class extends $r{constructor(r){super();this.productId=r;this.generatePaymentContext=()=>({type:"JOLI_COIN_ORDER_CONTEXT",state:"TO_VALIDATE",productId:this.productId,orderId:this.orderId});this.pay=()=>w(this,null,function*(){let r=this.generateCallbackUrl();return console.info("callbackUrl",r),{code:"SUCCESS",message:"jolicoin payment success"}})}placeOrder(r){return w(this,null,function*(){var n,i,o,a;try{let{response:s}=yield te("/api/orders/checkout/joli-coin",{method:"POST",data:{productId:r.productId}});if(s.code!=="SUCCESS")throw Pn((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),Sr((a=JSON.stringify(s))!=null?a:"jolicoin placeorder failed",1002)}})}},lk=()=>{let e=new Map;return t=>w(void 0,null,function*(){let r=e.get(t);return r||(r=new Ip(t),e.set(t,r)),yield r.startPayment({productId:t}),{code:"SUCCESS",message:"jolicoin payment success"}})}});var uk,dk=k(()=>{"use strict";uk={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 Sp,pk,xp,Ep,p3,fk,hk=k(()=>{"use strict";vt();wp();Bs();_e();D();Q();er();dk();Sp=new Map;Ze("onPaymentStateChange",e=>{console.info("onPaymentStateChange",e);let{orderUUID:t,status:r,totalAmount:n,orderResponse:i}=e,o=Sp.get(t);if(o){if(r==="SUCCESS")Jr("{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"&&Gf(i==null?void 0:i.errNo)&&(i==null?void 0:i.errNo)!==0)throw Sr(`jolicoin payment failed: ${i==null?void 0:i.errMsg}`,1002);let a=uk[r];a&&Jr(`{slot-error} {slot-i18n-jolicoin.${a}}`,{position:"center",duration:3e3}),o.resolve({code:"FAILED",message:"jolicoin payment failed"})}Sp.delete(t)}});pk=e=>w(void 0,null,function*(){var n,i;let t=new Tt,r;try{let o=yield ye("requestPaymentSync",{paymentBody:{appStoreProductId:e.appStoreProductId,appAccountToken:e.appAccountToken}});if(r=(n=o.data)==null?void 0:n.orderUUID,console.info("---payInApp---",o),!r)throw Sr("orderUUID is null",1002);Sp.set(r,t)}catch(o){throw Sr((i=JSON.stringify(o))!=null?i:"jolicoin payment failed",1002)}return t.promise}),xp=class extends $r{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=()=>w(this,null,function*(){return yield pk({appStoreProductId:this.appStoreProductId})})}placeOrder(r){return w(this,null,function*(){return{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},Ep=class extends $r{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=()=>w(this,null,function*(){return yield pk({appStoreProductId:this.appStoreProductId,appAccountToken:this.appAccountToken})})}placeOrder(r){return w(this,null,function*(){var a;console.log("----start place order for ios----");let{response:n}=yield te("/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 Sr("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"}})}},p3={android:xp,ios:Ep},fk=()=>{let e=new Map;return t=>w(void 0,null,function*(){let{productId:r,appStoreProductId:n}=t,i=e.get(r);if(!i){let s=p3[x.platform];if(!s)throw Sr("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 Pn(a,1002);return{code:"SUCCESS",message:"jolicoin payment success"}})}});var Js,mk=k(()=>{"use strict";ak();ck();hk();Js=ok();Js.registerPaymentHandler("JOLI_COIN",lk());Js.registerPaymentHandler("JOLI_COIN_IAP",fk())});var gk=h(ro=>{"use strict";Ye();er();vt();Q();Ds();D();Ls();mk();er();rt();_e();D();gt();_p();Ir();var On=to(),f3=nt(F,wr);F.on(Ms,(e,t)=>w(ro,null,function*(){var r,n;try{if(!CE("requestPaymentSync:paymentBody:appStoreProductId")){console.info("requestPaymentSync:paymentBody:appStoreProductId not supported"),setTimeout(()=>{F.emit(kt,{paymentResult:"FAILED"})},0);return}if(e==="ADS-JOLI_COIN"){yield On.show({duration:3e3});let a=yield f3.getData(),{canShow:s}=yield YE(a.joliCoinUseAndCharge.charge);if(console.log("use payment show by frequency",s),On.hide(),!s){F.emit(kt,{paymentResult:"FAILED"});return}console.log("show by frequency")}yield On.show({duration:3e3});let i=yield vk();if(On.hide(),!i){F.emit(kt,{paymentResult:"FAILED"});return}M("coinorder_show",{targetType:"game",eventType:B.View});let o=tE({data:{userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity,paymentChoices:(n=(r=i.paymentChoices)==null?void 0:r.map(a=>{var s;return U(T({},a),{totalAmountStr:(s=a.totalAmountStr)!=null?s:""})}))!=null?n:[],enableAutoDeduct:i.enableAutoDeduct},buttons:{confirm:{text:t.confirmButtonText,onPress:a=>w(ro,null,function*(){var c,d,u,p,f,m,g,_;if(M("order_pay_ensure",{targetType:"game",eventType:B.Click,payWay:"app_iap",coinAmount:t.joliCoinQuantity,orderPrice:(d=(c=i.paymentChoices.find(v=>v.productId===a))==null?void 0:c.totalAmountStr)!=null?d:""}),!((u=x.hostUserInfo)!=null&&u.isLogin)){let{data:v}=yield mp({skipLogin:!0});if(!(v!=null&&v.isLogin)){console.log("login failed");return}let b=yield vk();if(((p=b==null?void 0:b.balance)!=null?p:0)>=t.joliCoinQuantity){F.emit(kt,{paymentResult:"SUCCESS"}),o.destroy();return}}console.log("invokeNativePayment",a);let s=(m=(f=i==null?void 0:i.paymentChoices)==null?void 0:f.find(v=>v.productId===a))==null?void 0:m.appStoreProductId;if(!s){F.emit(kt,{paymentResult:"FAILED"}),o.destroy();return}yield On.show({duration:3e3});let{code:l}=yield Js.invokePayment("JOLI_COIN_IAP",{productId:a,appStoreProductId:s});if(On.hide(),M("order_pay_result",{eventType:B.Other,targetType:"game",payWay:"app_iap",coinAmount:t.joliCoinQuantity,orderPrice:(_=(g=i.paymentChoices.find(v=>v.productId===a))==null?void 0:g.totalAmountStr)!=null?_:"",payResult:l}),l!=="SUCCESS"){console.info("[JoliboxSDK] payment failed in payment.invokePaymet");return}F.emit(kt,{paymentResult:"SUCCESS"}),o.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:a})=>{F.emit(kt,{paymentResult:(a!=null?a:"")==="CANCEL"?"CANCEL":"FAILED"}),M("ad_unlock_click",{targetType:"game",eventType:B.Click}),o.destroy()}},onEnableDeductChanged:a=>w(ro,null,function*(){yield qs(a)})},onSelect:a=>{var s,l;M("coinorder_click",{targetType:"game",eventType:B.Click,coinAmount:t.joliCoinQuantity,orderPrice:(l=(s=i.paymentChoices.find(c=>c.productId===a))==null?void 0:s.totalAmountStr)!=null?l:""})}});yield ek()}catch(i){console.info("payment failed",i),F.emit(kt,{paymentResult:"FAILED"})}}));var h3=(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=>!Jl(r.totalAmountStr))},vk=()=>w(ro,null,function*(){var r,n,i,o,a,s,l,c,d,u;let{response:e}=yield te("/api/joli-coin/balance-detail",{method:"GET",appendHostCookie:!0,responseType:"json"});console.info("getBalenceDetails",e);let{data:t}=yield ye("requestProductDetailsAsync",{appStoreProductIds:(o=(i=(n=(r=e.data)==null?void 0:r.data)==null?void 0:n.paymentChoices)==null?void 0:i.filter(p=>typeof p.appStoreProductId=="string").map(p=>p.appStoreProductId))!=null?o:[]});if((a=e.data)!=null&&a.data&&t&&h3((s=e.data)==null?void 0:s.data,t),console.info("productDetails",(l=e.data)==null?void 0:l.data),((d=(c=e.data)==null?void 0:c.data)==null?void 0:d.paymentChoices.length)===0)throw new Error("paymentChoices is empty");return(u=e.data)==null?void 0:u.data})});var _k=h(Hs=>{"use strict";Ye();Ir();Ls();vt();mt();D();Ds();er();gt();var yk=nt(F,wr);yk.getData();F.on(Us,(e,t)=>w(Hs,null,function*(){var r;try{if(e==="ADS-JOLI_COIN"){let o=yield yk.getData();if(console.log("unlogin guide config",o.loginGuide),!o.loginGuide.show){F.emit(rr,{result:"NOT_SUPPORT"});return}let{canShow:a}=yield XE(o.loginGuide);if(console.log("canShowUseModal",a),!a){F.emit(rr,{result:"FAILED"});return}}let{firstLogin:n}=(r=yield m3())!=null?r:{};if(!(n!=null&&n.reward)){console.log("[JoliboxSDK] unlogin modal reward is empty"),F.emit(rr,{result:"NOT_SUPPORT"});return}M("LoginGuideModal",{eventType:B.Expose},B.Expose);let i=rE({data:{rewardType:e,rewardValue:n.reward.rewardValue},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>w(Hs,null,function*(){var l,c,d,u;M("LoginGuideModal",{type:"click_confirm",eventType:B.Click},B.Click);let{isLogin:o,extra:a,isFirstLogin:s}=yield hp({},!0);if(!o){console.log("login failed");return}if(M("LoginGuideModal",{type:"click_confirm_login",isFirstLogin:s,eventType:B.Click},B.Click),s&&((l=a==null?void 0:a.firstLogin)!=null&&l.reward)){let{rewardValue:p}=a.firstLogin.reward;Jr("{slot-i18ntran-loginGuide.rewardTips}",{i18nParams:{text:"Jolicoin Used",coin:p},position:"top",duration:3e3})}F.emit(rr,{result:"SUCCESS",rewards:{jolicoin:{claimedRewardValue:(u=(d=(c=a==null?void 0:a.firstLogin)==null?void 0:c.reward)==null?void 0:d.rewardValue)!=null?u:0,isFirstLogin:s!=null?s:!1}}}),i.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:o})=>{M("LoginGuideModal",{eventType:B.Hide},B.Hide),M("LoginGuideModal",{type:o==="CANCEL"?"click_close":"click_watch_ads",eventType:B.Click},B.Click),F.emit(rr,{result:"FAILED"}),i.destroy()}}}});yield tk()}catch(n){ke(new th(n)),F.emit(rr,{result:"FAILED"})}}));var m3=()=>w(Hs,null,function*(){var t;let{response:e}=yield te("/api/base/global-config",{method:"GET",appendHostCookie:!0,responseType:"json"});return(t=e.data)==null?void 0:t.data})});var VY,GY,zY,bk=k(()=>{"use strict";VY=ie(ik()),GY=ie(gk()),zY=ie(_k())});function A3(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function T3(e){return typeof e=="string"}function C3(e){return typeof e=="undefined"}function P3(e){return C3(e)||e===null}function O3(e){return typeof e=="function"}function Wk(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 no(e){return function(){var t,r;((r=(t=globalThis.VConsole)==null?void 0:t[e])!=null?r:globalThis.console[e])(...arguments)}}function zs(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 M3(e){let t=e.location?zs(e.location,kk):null,r=e.target?zs(e.target,kk):null;return zs(x3(S3({},e),{location:t,target:r}),q3)}function j3(e){let t=e.events.map(n=>M3(n)),r=zs(e.device,F3);return[e.protocolVersion,t,r,e.project]}function U3(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 V3(e){return new Promise(t=>Xk(e)(t))}function Xk(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 G3(e,t){return(r=>{let n={onWillAddFirstListener(){r(i.fire,i)}},i=new lo(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 W3(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)K3(e[n],t[n])}function K3(e,t){if(T3(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(O3(t)){try{if(e instanceof t)return}catch(r){}if(!P3(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 it(e,t,r){return(t=Q3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q3(e){var t=Y3(e,"string");return typeof t=="symbol"?t:t+""}function Y3(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 $s(e,t,r){return(t=X3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X3(e){var t=Z3(e,"string");return typeof t=="symbol"?t:t+""}function Z3(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 Vs(e,t,r){return(t=e4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e4(e){var t=t4(e,"string");return typeof t=="symbol"?t:t+""}function t4(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 nr(e,t,r){return(t=r4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r4(e){var t=n4(e,"string");return typeof t=="symbol"?t:t+""}function n4(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 i4(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 o4(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 d4(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function tA(e){return e.trim()}function p4(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,r){return e.replace(t,r)}function Up(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function co(e,t,r){return e.slice(t,r)}function Bt(e){return e.length}function rf(e){return e.length}function Gs(e,t){return t.push(e),e}function f4(e,t){return e.map(t).join("")}function sl(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:al,column:qn,length:a,return:""}}function oo(e,t){return u4(sl("",null,null,"",null,null,0),e,{length:-e.length},t)}function h4(){return Ee}function m4(){return Ee=st>0?Me(Fn,--st):0,qn--,Ee===10&&(qn=1,al--),Ee}function ft(){return Ee=st<rA?Me(Fn,st++):0,qn++,Ee===10&&(qn=1,al++),Ee}function Jt(){return Me(Fn,st)}function Ws(){return st}function po(e,t){return co(Fn,e,t)}function uo(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 nA(e){return al=qn=1,rA=Bt(Fn=e),st=0,[]}function iA(e){return Fn="",e}function Ks(e){return tA(po(st-1,Bp(e===91?e+2:e===40?e+1:e)))}function v4(e){for(;(Ee=Jt())&&Ee<33;)ft();return uo(e)>2||uo(Ee)>3?"":" "}function g4(e,t){for(;--t&&ft()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return po(e,Ws()+(t<6&&Jt()==32&&ft()==32))}function Bp(e){for(;ft();)switch(Ee){case e:return st;case 34:case 39:e!==34&&e!==39&&Bp(Ee);break;case 40:e===41&&Bp(e);break;case 92:ft();break}return st}function y4(e,t){for(;ft()&&e+Ee!==57&&!(e+Ee===84&&Jt()===47););return"/*"+po(t,st-1)+"*"+ol(e===47?e:ft())}function _4(e){for(;!uo(Jt());)ft();return po(e,st)}function b4(e){return iA(Qs("",null,null,null,[""],e=nA(e),0,[0],e))}function Qs(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,E=I;_;)switch(m=b,b=ft()){case 40:if(m!=108&&Me(E,u-1)==58){Up(E+=W(Ks(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:E+=Ks(b);break;case 9:case 10:case 13:case 32:E+=v4(m);break;case 92:E+=g4(Ws()-1,7);continue;case 47:switch(Jt()){case 42:case 47:Gs(w4(y4(ft(),Ws()),t,r),l);break;default:E+="/"}break;case 123*g:s[c++]=Bt(E)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:v==-1&&(E=W(E,/\f/g,"")),f>0&&Bt(E)-u&&Gs(f>32?Pk(E+";",n,r,u-1):Pk(W(E," ","")+";",n,r,u-2),l);break;case 59:E+=";";default:if(Gs(O=Ck(E,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)Qs(E,t,O,O,A,o,u,s,C);else switch(p===99&&Me(E,3)===110?100:p){case 100:case 108:case 109:case 115:Qs(e,O,O,n&&Gs(Ck(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:Qs(E,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=E="",u=a;break;case 58:u=1+Bt(E),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&m4()==125)continue}switch(E+=ol(b),b*g){case 38:v=d>0?1:(E+="\f",-1);break;case 44:s[c++]=(Bt(E)-1)*v,v=1;break;case 64:Jt()===45&&(E+=Ks(ft())),p=Jt(),d=u=Bt(I=E+=_4(Ws())),b++;break;case 45:m===45&&Bt(E)==2&&(g=0)}}return o}function Ck(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=rf(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=co(e,u+1,u=c4(g=a[m])),I=e;v<f;++v)(I=tA(g>0?p[v]+" "+b:W(b,/&\f/g,p[v])))&&(l[_++]=I);return sl(e,t,r,i===0?ef:s,l,c,d)}function w4(e,t,r){return sl(e,t,r,Zk,ol(h4()),co(e,2,-2),0)}function Pk(e,t,r,n){return sl(e,t,r,tf,co(e,0,n),co(e,n+1,-1),n)}function Ln(e,t){for(var r="",n=rf(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function I4(e,t,r,n){switch(e.type){case l4:if(e.children.length)break;case s4:case tf:return e.return=e.return||e.value;case Zk:return"";case eA:return e.return=e.value+"{"+Ln(e.children,n)+"}";case ef:e.value=e.props.join(",")}return Bt(r=Ln(e.children,n))?e.return=e.value+"{"+r+"}":""}function S4(e){var t=rf(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 x4(e){return function(t){t.root||(t=t.return)&&e(t)}}function E4(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function oA(e,t){switch(d4(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+Zs+e+Ge+e+e;case 6828:case 4268:return z+e+Ge+e+e;case 6165:return z+e+Ge+"flex-"+e+e;case 5187:return z+e+W(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return z+e+Ge+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return z+e+Ge+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+Ge+W(e,"shrink","negative")+e;case 5292:return z+e+Ge+W(e,"basis","preferred-size")+e;case 6060:return z+"box-"+W(e,"-grow","")+z+e+Ge+W(e,"grow","positive")+e;case 4554:return z+W(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,z+"$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(Bt(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+Zs+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Up(e,"stretch")?oA(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,Bt(e)-3-(~Up(e,"!important")&&10))){case 107:return W(e,":",":"+z)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(Me(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+Ge+e+e}return e}function D4(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 el(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 xr={name:i.name,styles:i.styles,next:xr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)xr={name:a.name,styles:a.styles,next:xr},a=a.next;var s=o.styles+";";return s}return M4(e,t,r)}}var l=r;if(t==null)return l;var c=t[l];return c!==void 0?c:l}function M4(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=el(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]+"}":Rk(s)&&(n+=Ap(o)+":"+Nk(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++)Rk(a[l])&&(n+=Ap(o)+":"+Nk(o,a[l])+";");else{var c=el(e,t,a);switch(o){case"animation":case"animationName":{n+=Ap(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function Tp(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="";xr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=el(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=el(r,t,e[s]),n){var l=o;i+=l[s]}Dk.lastIndex=0;for(var c="",d;(d=Dk.exec(i))!==null;)c+="-"+d[1];var u=D4(i)+c;return{name:u,styles:i,next:xr}}function sA(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}function Lk(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function qk(e,t,r){var n=[],i=sA(e,n,r);return n.length<2?r:i+t(n)}function $4(e,t){Oe.__h&&Oe.__h(pt,e,Mk||t),Mk=0;var r=pt.__H||(pt.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function cA(e,t){var r=$4(Jp++,7);return z4(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function V4(){for(var e;e=lA.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ys),e.__H.__h.forEach(Hp),e.__H.__h=[]}catch(t){e.__H.__h=[],Oe.__e(t,e.__v)}}function G4(e){var t,r=function(){clearTimeout(n),Vk&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Vk&&(t=requestAnimationFrame(r))}function Ys(e){var t=pt,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),pt=t}function Hp(e){var t=pt;e.__c=e.__(),pt=t}function z4(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ll(){if(Er>1)Er--;else{for(var e,t=!1;ao!==void 0;){var r=ao;for(ao=void 0,$p++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&dA(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if($p=0,Er--,t)throw e}}function at(e){if(Er>0)return e();Er++;try{return e()}finally{ll()}}function uA(e){if(ee!==void 0){var t=e.n;if(t===void 0||t.t!==ee)return t={i:0,S:e,p:ee.s,n:void 0,t:ee,e:void 0,x:void 0,r:t},ee.s!==void 0&&(ee.s.n=t),ee.s=t,e.n=t,32&ee.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=ee.s,t.n=void 0,ee.s.n=t,ee.s=t),t}}function je(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function re(e){return new je(e)}function dA(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 pA(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 fA(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 jn(e){je.call(this,void 0),this.x=e,this.s=void 0,this.g=tl-1,this.f=4}function so(e){return new jn(e)}function hA(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Er++;var r=ee;ee=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,nf(e),n}finally{ee=r,ll()}}}function nf(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,hA(e)}function K4(e){if(ee!==this)throw new Error("Out-of-order effect");fA(this),ee=e,this.f&=-2,8&this.f&&nf(this),ll()}function fo(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function ho(e){var t=new fo(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}function Un(e,t){R[e]=t.bind(null,R[e]||function(){})}function rl(e){Pp&&Pp(),Pp=e&&e.S()}function gA(e){var t=this,r=e.data,n=yA(r);n.value=r;var i=cA(function(){for(var s=t,l=t.__v;l=l.__;)if(l.__c){l.__c.__$f|=4;break}var c=so(function(){var f=n.value.value;return f===0?0:f===!0?"":f||""}),d=so(function(){return!Array.isArray(c.value)&&!cc(c.value)}),u=ho(function(){if(this.N=_A,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 Q4(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=re(r);return{o:function(a,s){o.value=a,n=s},d:ho(function(){this.N=_A;var a=o.value.value;n[t]!==a&&(n[t]=a,i?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}function yA(e){return cA(function(){return re(e)},[])}function X4(){at(function(){for(var e;e=vA.shift();)mA.call(e)})}function _A(){vA.push(this)===1&&(R.requestAnimationFrame||Y4)(X4)}function Z4(e,t){let r=xi(e);ln(()=>{r.current=e},[e]),Si(()=>{if(t===null)return;let n=setInterval(()=>{r.current()},t);return()=>{clearInterval(n)}},[t])}function ge(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:--eH,__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 R.vnode&&R.vnode(c),c}function ir(e,t,r){return(t=pH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pH(e){var t=fH(e,"string");return typeof t=="symbol"?t:t+""}function fH(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 or(e,t,r){return(t=gH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gH(e){var t=yH(e,"string");return typeof t=="symbol"?t:t+""}function yH(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 Ve(e,t,r){return(t=_H(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _H(e){var t=bH(e,"string");return typeof t=="symbol"?t:t+""}function bH(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 ot(e,t,r){return(t=wH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wH(e){var t=IH(e,"string");return typeof t=="symbol"?t:t+""}function IH(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 Vr(e,t,r){return(t=SH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SH(e){var t=xH(e,"string");return typeof t=="symbol"?t:t+""}function xH(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 Op(e,t,r){return(t=EH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EH(e){var t=kH(e,"string");return typeof t=="symbol"?t:t+""}function kH(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 Xe(e,t,r){return(t=AH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AH(e){var t=TH(e,"string");return typeof t=="symbol"?t:t+""}function TH(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 At(e,t,r){return(t=CH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CH(e){var t=PH(e,"string");return typeof t=="symbol"?t:t+""}function PH(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 wk,v3,g3,y3,Gk,_3,b3,Ik,w3,I3,Sk,S3,x3,E3,zk,k3,R3,N3,xk,D3,Ek,L3,Kk,Qk,Yk,kk,q3,F3,Nn,Ak,Rp,ue,B3,J3,io,lo,H3,Dp,$3,kp,z3,Lp,Tk,qp,Fp,Mp,jp,a4,Ge,Zs,z,Zk,ef,tf,s4,eA,l4,c4,ol,u4,al,qn,rA,st,Ee,Fn,k4,A4,T4,Ok,C4,P4,O4,R4,N4,L4,q4,F4,aA,Rk,Ap,Nk,Dk,xr,j4,U4,B4,J4,H4,Mn,Jp,pt,Cp,Fk,Mk,lA,Oe,jk,Uk,Bk,Jk,Hk,$k,Vk,W4,ee,ao,Er,$p,tl,mA,Pp,vA,Y4,ze,eH,tH,ar,Vp,Gp,Xs,rH,nH,iH,oH,aH,sH,lH,cH,uH,dH,zp,Dn,Rn,hH,mH,vH,Wp,bA,Kp,Qp,Yp,Xp,nl,Zp,il,QY,wA=k(()=>{"use strict";Yr();ta();wk=Object.getOwnPropertySymbols,v3=Object.prototype.hasOwnProperty,g3=Object.prototype.propertyIsEnumerable,y3=(e,t)=>{var r={};for(var n in e)v3.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&wk)for(var n of wk(e))t.indexOf(n)<0&&g3.call(e,n)&&(r[n]=e[n]);return r},Gk=Object.defineProperty,_3=Object.defineProperties,b3=Object.getOwnPropertyDescriptors,Ik=Object.getOwnPropertySymbols,w3=Object.prototype.hasOwnProperty,I3=Object.prototype.propertyIsEnumerable,Sk=(e,t,r)=>t in e?Gk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S3=(e,t)=>{for(var r in t||(t={}))w3.call(t,r)&&Sk(e,r,t[r]);if(Ik)for(var r of Ik(t))I3.call(t,r)&&Sk(e,r,t[r]);return e},x3=(e,t)=>_3(e,b3(t)),E3=(e,t)=>{for(var r in t)Gk(e,r,{get:t[r],enumerable:!0})},zk=(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},k3=(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}R3=(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))(R3||{});N3={log:no("log"),warn:no("warn"),info:no("info"),error:no("error"),debug:no("debug")};Object.assign(globalThis,{logger:N3});xk=Symbol.for("Jolibox.canIUseMap"),D3={};globalThis[xk]||(globalThis[xk]=D3);Ek=Symbol.for("Jolibox.canIUseMap.native"),L3={};globalThis[Ek]||(globalThis[Ek]=L3);Kk=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(Kk||{}),Qk=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(Qk||{}),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||{}),kk=["name","params"],q3=["name","type","location","target","extra","timestamp","userId"],F3=["platform","os","appVersion","appId","model","brand","uuid","jsSdkVersion","extra"];U3();Nn=typeof window=="undefined",Ak=()=>!Nn&&!!(navigator.userAgent||"").includes("JoliboxPlatformSDK");!Nn&&(navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS")),!Nn&&navigator.userAgent.includes("Android"),!Nn&&navigator.userAgent.includes("Mac"),!Nn&&navigator.userAgent.includes("FB_IAB"),!Nn&&!navigator.userAgent.includes("iPhone")&&navigator.userAgent.includes("Android");Rp=class Np{constructor(t){this.element=t,this.next=Np.Undefined,this.prev=Np.Undefined}};Rp.Undefined=new Rp(void 0);ue=Rp,B3=class{constructor(){this._first=ue.Undefined,this._last=ue.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ue.Undefined}clear(){let e=this._first;for(;e!==ue.Undefined;){let t=e.next;e.prev=ue.Undefined,e.next=ue.Undefined,e=t}this._first=ue.Undefined,this._last=ue.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new ue(e);if(this._first===ue.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!==ue.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ue.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ue.Undefined&&e.next!==ue.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ue.Undefined&&e.next===ue.Undefined?(this._first=ue.Undefined,this._last=ue.Undefined):e.next===ue.Undefined?(this._last=this._last.prev,this._last.next=ue.Undefined):e.prev===ue.Undefined&&(this._first=this._first.next,this._first.prev=ue.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ue.Undefined;)yield e.element,e=e.next}},J3=0,io=class{constructor(e){this.value=e,this.id=J3++}},lo=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 io&&(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 io(e);return this._listeners?this._listeners instanceof io?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 io)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 io?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},H3=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 lo,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 B3,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)}},Dp={};E3(Dp,{None:()=>$3,filter:()=>G3,once:()=>Xk,toPromise:()=>V3});$3=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});kp=Symbol.for("Jolibox.hostEmitter"),z3=()=>{let e=new H3;return globalThis[kp]||(globalThis[kp]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[kp]};z3();Lp=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new lo,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 W3(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}};Lp=zk([Wk],Lp);Tk=class{constructor(){this._onWillExecuteCommand=new lo,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new lo,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Lp,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=A3(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 k3(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,r):(yield Promise.all([Promise.race([this._activateStar(),Dp.toPromise(Dp.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{}}};Tk=zk([Wk],Tk);qp=class{constructor(t){it(this,"context",void 0),it(this,"continueCallback",void 0),it(this,"adIsShowingCallback",void 0),it(this,"isBeforeAdCalled",!1),it(this,"isBeforeRewardCalled",!1),it(this,"isAdDismissedCalled",!1),it(this,"isAdViewedCalled",!1),it(this,"isAfterAdCalled",!1),it(this,"currentProvider",void 0),it(this,"currentClientParams",void 0),it(this,"adsHasResponse",!1),it(this,"videoChecker",window.document.createElement("video")),it(this,"contextInfo",void 0),it(this,"wrapShowAdFn",r=>()=>{var n,i,o;this.adsHasResponse=!0;let a=!1;this.videoChecker.play().catch(()=>{a=!1}),a=!this.videoChecker.paused,this.videoChecker.pause(),this.context.track("CallShowAdFn",Object.assign({},{userEvent:a},this.paramsToTrack)),Ak()&&this.context.track("mmp_ad_impression",{ad_network:(i=(n=this.currentProvider)==null?void 0:n.name)!=null?i:"",ad_format:"rewarded",module:"game",game_id:this.contextInfo.objectId}),(o=this.adIsShowingCallback)==null||o.call(this,!0),r()}),this.context=t,this.contextInfo=t.getContextInfo()}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,i,o;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),Ak()&&this.context.track("mmp_ad_impression",{ad_network:(o=(i=this.currentProvider)==null?void 0:i.name)!=null?o:"",ad_format:"interstitial",module:"game",game_id:this.contextInfo.objectId})))}}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 w(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")})})}};Fp=class{constructor(t){$s(this,"context",void 0),$s(this,"adBreakIsShowing",!1),$s(this,"reportPageJumpOut",()=>{this.context.track("AdBreakJumpOut",{context:"AdsActionDetection"})}),$s(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()})}};Mp=class{constructor(t){Vs(this,"configs",null),Vs(this,"firstRun",!0),Vs(this,"context",void 0),Vs(this,"contextInfo",void 0),this.context=t,this.contextInfo=this.context.getContextInfo(),this.init()}init(){return w(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}};jp=class{constructor(t,r){nr(this,"name","ADSENSE"),nr(this,"context",void 0),nr(this,"contextInfo",void 0),nr(this,"configured",!1),nr(this,"initParams",void 0),nr(this,"push",function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};window.adsbygoogle.push(n)}),nr(this,"adConfig",n=>{let i=n,{onReady:o}=i,a=y3(i,["onReady"]);this.context.track("CallAdConfig",a),this.configured?console.warn("Ad config already set, skipping"):(this.configured=!0,this.push(n))}),nr(this,"adBreak",n=>{if(!this.contextInfo.objectId){console.warn("Game ID is not set, skip calling adBreak");return}this.push(n)}),nr(this,"adUnit",n=>w(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 g=typeof d=="object"&&Array.isArray(d)?d.join(", "):d,_=document.createElement("ins");if(_.className="adsbygoogle",_.id="jolibox-ads",_.style.display="block",_.setAttribute("data-ad-client",this.initParams.clientId),_.setAttribute("data-ad-slot",m),g&&_.setAttribute("data-ad-format",g),u&&_.setAttribute("data-full-width-responsive",u),p&&_.setAttribute("style",p),(s=this.contextInfo.testAdsMode)!=null?s:!1){let v=document.createElement("div");v.style.position="absolute",v.style.top="0",v.style.left="0",v.style.width="100%",v.style.height="100%",v.style.display="flex",v.style.justifyContent="center",v.style.alignItems="center",v.style.backgroundColor="rgba(0, 0, 0, 0.5)",v.style.color="white",v.innerHTML="Test Ad",_.style.position="relative",f.appendChild(_),_.appendChild(v)}else f.appendChild(_),new MutationObserver(v=>{v.forEach(b=>{if(b.type==="attributes"&&b.attributeName==="data-ad-status"){let I=_.getAttribute("data-ad-status");this.context.track("AdSenseUnitStatusChanged",{status:I!=null?I:"null"})}})}).observe(_,{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 w(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&&i.setAttribute("data-admob-interstitial-slot",this.initParams.admobInterstitialSlot),this.initParams.admobRewardedSlot&&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)}})}};a4=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(o4(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=i4(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}(),Ge="-ms-",Zs="-moz-",z="-webkit-",Zk="comm",ef="rule",tf="decl",s4="@import",eA="@keyframes",l4="@layer",c4=Math.abs,ol=String.fromCharCode,u4=Object.assign;al=1,qn=1,rA=0,st=0,Ee=0,Fn="";k4=function(e,t,r){for(var n=0,i=0;n=i,i=Jt(),n===38&&i===12&&(t[r]=1),!uo(i);)ft();return po(e,st)},A4=function(e,t){var r=-1,n=44;do switch(uo(n)){case 0:n===38&&Jt()===12&&(t[r]=1),e[r]+=k4(st-1,t,r);break;case 2:e[r]+=Ks(n);break;case 4:if(n===44){e[++r]=Jt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ol(n)}while(n=ft());return e},T4=function(e,t){return iA(A4(nA(e),t))},Ok=new WeakMap,C4=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&&!Ok.get(r))&&!n){Ok.set(e,!0);for(var i=[],o=T4(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]}}},P4=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};O4=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tf:e.return=oA(e.value,e.length);break;case eA:return Ln([oo(e,{value:W(e.value,"@","@"+z)})],n);case ef:if(e.length)return f4(e.props,function(i){switch(p4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ln([oo(e,{props:[W(i,/:(read-\w+)/,":"+Zs+"$1")]})],n);case"::placeholder":return Ln([oo(e,{props:[W(i,/:(plac\w+)/,":"+z+"input-$1")]}),oo(e,{props:[W(i,/:(plac\w+)/,":"+Zs+"$1")]}),oo(e,{props:[W(i,/:(plac\w+)/,Ge+"input-$1")]})],n)}return""})}},R4=[O4],N4=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 g=m.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||R4,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[C4,P4];{var c,d=[I4,x4(function(m){c.insert(m)})],u=S4(l.concat(n,d)),p=function(m){return Ln(b4(m),u)};s=function(m,g,_,v){c=_,p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new a4({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};L4={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},q4=/[A-Z]|^ms/g,F4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aA=function(e){return e.charCodeAt(1)===45},Rk=function(e){return e!=null&&typeof e!="boolean"},Ap=E4(function(e){return aA(e)?e:e.replace(q4,"-$&").toLowerCase()}),Nk=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(F4,function(r,n,i){return xr={name:n,styles:i,next:xr},n})}return L4[e]!==1&&!aA(e)&&typeof t=="number"&&t!==0?t+"px":t};Dk=/label:\s*([^\s;{]+)\s*(;|$)/g;j4=function(e,t,r){var n=e.key+"-"+t.name;e.registered[n]===void 0&&(e.registered[n]=t.styles)},U4=function(e,t,r){j4(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)}};B4=function(e){var t=N4(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=Tp(s,t.registered,void 0);return U4(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=Tp(s,t.registered),d="animation-"+c.name;return Lk(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=Tp(s,t.registered);Lk(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return qk(t.registered,r,J4(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:sA.bind(null,t.registered),merge:qk.bind(null,t.registered,r)}},J4=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},H4=B4({key:"css"}),Mn=H4.css,Mk=0,lA=[],Oe=R,jk=Oe.__b,Uk=Oe.__r,Bk=Oe.diffed,Jk=Oe.__c,Hk=Oe.unmount,$k=Oe.__;Oe.__b=function(e){pt=null,jk&&jk(e)},Oe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),$k&&$k(e,t)},Oe.__r=function(e){Uk&&Uk(e),Jp=0;var t=(pt=e.__c).__H;t&&(Cp===pt?(t.__h=[],pt.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Ys),t.__h.forEach(Hp),t.__h=[],Jp=0)),Cp=pt},Oe.diffed=function(e){Bk&&Bk(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(lA.push(t)!==1&&Fk===Oe.requestAnimationFrame||((Fk=Oe.requestAnimationFrame)||G4)(V4)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Cp=pt=null},Oe.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ys),r.__h=r.__h.filter(function(n){return!n.__||Hp(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Oe.__e(n,r.__v)}}),Jk&&Jk(e,t)},Oe.unmount=function(e){Hk&&Hk(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ys(n)}catch(i){t=i}}),r.__H=void 0,t&&Oe.__e(t,r.__v))};Vk=typeof requestAnimationFrame=="function";W4=Symbol.for("preact-signals");ee=void 0,ao=void 0,Er=0,$p=0,tl=0;je.prototype.brand=W4;je.prototype.h=function(){return!0};je.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)};je.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)}};je.prototype.subscribe=function(e){var t=this;return ho(function(){var r=t.value,n=ee;ee=void 0;try{e(r)}finally{ee=n}})};je.prototype.valueOf=function(){return this.value};je.prototype.toString=function(){return this.value+""};je.prototype.toJSON=function(){return this.value};je.prototype.peek=function(){var e=ee;ee=void 0;try{return this.value}finally{ee=e}};Object.defineProperty(je.prototype,"value",{get:function(){var e=uA(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if($p>100)throw new Error("Cycle detected");this.v=e,this.i++,tl++,Er++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ll()}}}});(jn.prototype=new je).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===tl))return!0;if(this.g=tl,this.f|=1,this.i>0&&!dA(this))return this.f&=-2,!0;var e=ee;try{pA(this),ee=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 ee=e,fA(this),this.f&=-2,!0};jn.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)}je.prototype.S.call(this,e)};jn.prototype.U=function(e){if(this.t!==void 0&&(je.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)}};jn.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(jn.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=uA(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});fo.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()}};fo.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,hA(this),pA(this),Er++;var e=ee;return ee=this,K4.bind(this,e)};fo.prototype.N=function(){2&this.f||(this.f|=2,this.o=ao,ao=this)};fo.prototype.d=function(){this.f|=8,1&this.f||nf(this)};vA=[];ho(function(){mA=this.N})();gA.displayName="_st";Object.defineProperties(je.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:gA},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});Un("__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 je&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});Un("__r",function(e,t){rl();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=function(i){var o;return ho(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o}())),rl(r),e(t)});Un("__e",function(e,t,r,n){rl(),e(t,r,n)});Un("diffed",function(e,t){rl();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=Q4(r,l,d,i),o[l]=c):c.o(d,i)}}}e(t)});Un("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)});Un("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});lt.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};Y4=function(e){queueMicrotask(function(){queueMicrotask(e)})};ze=Mn`
605
+ `,y5=()=>y("div",{style:vE.container,children:[y("style",{children:g5}),y("div",{style:vE.spinner})]});p7=to()});function fx(){return w(this,null,function*(){if(Yd)return Yd;let t=`${E.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com"}/api/user-retention/exit-recommendations?objectId=${E.mpId}&from=GAME_DETAIL`,{response:{data:r}}=yield te(t);return Yd=r,r})}function hx(){return w(this,null,function*(){let e=new Ct;if(E.mpType!=="game")return e.resolve(!1),e.promise;if(Xd)return e.resolve(!0),e.promise;let t=yield fx();if(t.code!=="SUCCESS")return e.resolve(!1),e.promise;let{gameListInfo:r,title:n,buttons:i}=t.data;Xd=!0;let o={domain:"GAME",buttons:t.data.buttons.map(s=>`${s.type}-${s.text}`).join(","),list:r.games.map(s=>s.gameId).join(",")};M("RecommendedGuide",T({eventType:B.View},o));let a=YE({games:r.games,title:n,buttons:i,onClose:s=>{var l;switch(Xd=!1,s.type){case"quit":M("RecommendedGuide",{eventType:B.Click,type:"QUIT",domain:"GAME"}),e.resolve(!1);break;case"dismiss":M("RecommendedGuide",T({eventType:B.Hide},o)),e.resolve(!0),a.destroy();break;case"navigate":if((l=s.data)!=null&&l.game){let c=s.data.game;_5(c),M("GameItem",{eventType:B.Click,gameId:c.gameId,layerName:"RecommendedGuide",domain:"GAME"}),setTimeout(()=>{e.resolve(!1)},0)}else e.resolve(!0);a.destroy();break;default:M("RecommendedGuide",T({eventType:B.Hide},o)),e.resolve(!0);break}}});return e.promise})}var Yd,_5,Xd,mx=k(()=>{"use strict";Q();_e();D();er();vt();gt();Yd=null;fx();_5=e=>{var a;let{data:t}=U("envSync"),r=new URL(t.schema),n=new URLSearchParams(r.search);n.set("gameId",e.gameId),n.set("joliSource",E.encodeJoliSourceQuery({__mpType:"game",__orientation:(a=e.orientation)!=null?a:"VERTICAL"}));let o=`${`https://${e.gameId}.content.jolibox.com/`}index.html?${n.toString()}`;U("openSchemaSync",{schema:o})},Xd=!1});function w5(e){let t=T(T({},b5),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:b,containerTransition:I,iframeTransition:A}=p();ae=document.createElement("div"),ae.id="jolibox-modal-overlay",ae.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:${b}; opacity:0; visibility:hidden;`,Y=document.createElement("div"),Y.id="jolibox-modal-container",Y.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:${I};`;let C=document.createElement("div");C.id="jolibox-modal-loading",C.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 O=document.createElement("style");O.textContent="@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }",document.head.appendChild(O);let x=document.createElement("div");if(x.style.cssText="width:100%; height:100%; display:flex; flex-direction:column; padding-bottom:env(safe-area-inset-bottom, 0); position:relative;",bt=document.createElement("iframe"),bt.style.cssText=`width:100%; flex:1; border:none; opacity:0; transition:${A};`,bt.src=r,bt.onload=()=>{C.parentNode&&C.parentNode.removeChild(C),bt.style.opacity="1",g(),l==null||l(),ne.emit("onModalIframeLoaded",{url:r})},x.appendChild(bt),x.appendChild(C),Y.appendChild(x),i){let P=document.createElement("div");P.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;",P.innerHTML="\u2715",P.onclick=v,Y.appendChild(P)}ae.appendChild(Y),document.body.appendChild(ae),ae.addEventListener("click",function(P){P.target===ae&&v()}),o&&_()}function g(){!ae||!Y||u||(ae.style.visibility="visible",a?requestAnimationFrame(()=>{ae&&(ae.style.opacity="1"),Y&&(Y.style.transform="translateY(0)"),u=!0}):(ae&&(ae.style.opacity="1"),Y&&(Y.style.transform="translateY(0)"),u=!0),U("updateContainerConfigSync",{displayCapsuleButton:!1,webviewId:E.webviewId}))}function _(){if(!Y)return;let b=C=>{c=C.touches[0].clientY},I=C=>{if(!u)return;d=C.touches[0].clientY;let O=d-c;O>0&&(Y&&(Y.style.transition="none",Y.style.transform=`translateY(${O}px)`),C.preventDefault())},A=()=>{!u||!Y||(Y.style.transition=a?"transform 0.3s ease":"none",d-c>80?v():Y.style.transform="translateY(0)")};Y.addEventListener("touchstart",b),Y.addEventListener("touchmove",I),Y.addEventListener("touchend",A)}function v(){!ae||!Y||!u||(a?(Y.style.transform="translateY(100%)",ae.style.opacity="0"):ae.style.visibility="hidden",u=!1,U("updateContainerConfigSync",{displayCapsuleButton:!0,webviewId:E.webviewId}),setTimeout(()=>{ae&&(ae.remove(),ae=null,Y=null,bt=null,s==null||s(),ne.emit("onModalIframeClosed",{url:r}))},f()))}return m(),{close:v}}function vx(){return window.joliboxUI=j(T({},window.joliboxUI),{createIframeModal:w5}),()=>{window.joliboxUI=void 0,ae&&ae.parentNode&&ae.parentNode.removeChild(ae),Y&&Y.parentNode&&Y.parentNode.removeChild(Y),bt&&bt.parentNode&&bt.parentNode.removeChild(bt),ae=null,Y=null,bt=null}}var b5,ae,Y,bt,gx=k(()=>{"use strict";_e();Q();D();b5={height:"50%",showCloseButton:!0,enableDragClose:!0,useAnimation:!0},ae=null,Y=null,bt=null});var wx={};mf(wx,{config:()=>R5});function S5(){qo.on("isAdShowing",e=>{cs=e,Wr(cs)&&U("updateContainerConfigSync",{displayCapsuleButton:!cs,webviewId:E.webviewId})})}function E5(){ne.on("onInterceptSystemExit",({intercept:e})=>{yx=e})}function x5(){ne.on("onInterceptBackPress",({intercept:e})=>{I5=e}),Ze("onBeforeBackPress",({uuid:e,disableExitRecommendDialog:t})=>{var r,n;bx(t),ne.emit("onBackPress",{}),(n=(r=globalThis.joliboxJSCore)==null?void 0:r.doBackPress)==null||n.call(r,e)})}function k5(){ne.on("onDocumentReady",()=>{var e;(e=globalThis.joliboxJSCore)==null||e.onDocumentReady(window.location.href),M("onDocumentReady",{start_timestamp:ds,timestamp:Date.now()})})}function A5(){Ze("onI18nChanged",({language:e})=>{ne.emit("onI18nChanged",{i18n:e})})}function T5(e){E.mpType==="game"&&It.start(e)}function C5(){Ze("onJoliboxServiceReady",({runtimeInfo:e,loadDuration:t})=>{e&&E.onEnvConfigChanged({hostUserInfo:e}),ne.emit("LifecycleEvent.onReady",T({},E.hostUserInfo?E.hostUserInfo:{isLogin:!1})),M("joliboxServiceReady",{start_timestamp:ds,timestamp:Date.now()}),T5(t),VE(()=>E.language)}),Ze("onBeforeExit",({uuid:e,disableExitRecommendDialog:t})=>{var r;bx(t),(r=globalThis.joliboxJSCore)==null||r.doExit(e)})}function P5(){let e=()=>{M("onBeforeExit",{timestamp:Date.now()}),ss==null||ss(),ls==null||ls(),It.close(Date.now()-ds)},t=()=>cs||yx;ht.onDoExit(()=>w(this,null,function*(){return t()?!0:Wr(E.shouldInterupt)?(E.shouldInterupt||e(),E.shouldInterupt):us!=null&&us.canShowRecommended&&!_x&&(yield hx())?!0:(e(),!1)})),ht.onDoBackPress(()=>w(this,null,function*(){return!!t()}))}function O5(){return w(this,null,function*(){let e=`${E.baseApiHost}/api/fe-configs/js-sdk/basic-meta`,{response:{data:t}}=yield te(e);t&&(us=t)})}function R5(){ds=Date.now(),C5(),S5(),E5(),x5(),P5(),k5(),A5(),O5(),ls=vx(),ss=Dh()}var ss,ls,ds,cs,us,yx,I5,_x,bx,Ix=k(()=>{"use strict";_e();Q();D();gt();Lh();oc();mx();vt();er();gx();cs=!1,us=null,yx=!1,I5=!1,_x=!1,bx=e=>{Wr(e)&&(_x=e)};ht.onReady(()=>{})});function Sx(e){let t=Gl.config[e];return t||(t={},Gl.config[e]=t),(r,n)=>{if(t[r]){Pt.warn(`[can i use] ${r} already registered`);return}t[r]=T({},n)}}var Ex=k(()=>{"use strict";D()});function Zd(e){xx=e}function ps(e){return e===null||typeof e!="object"?e:Array.isArray(e)?e.map(t=>ps(t)):Object.keys(e).reduce((t,r)=>(t[r]=ps(e[r]),t),{})}function tr(e){return typeof e=="number"}function ep(e){let t=tp(e);switch(t){case"string":return`"${e}"`;case"number":case"boolean":case"null":case"undefined":return String(e);default:return`a(n) ${t}`}}function tp(e){return typeof e=="function"?"function":Object.prototype.toString.call(e).slice(8).slice(0,-1).toLowerCase()}var xx,Ee,fs,hs,ms,vs,kn,gs,ys,_s,bs,ws,Is,Ss,Es,xs,ks,As,Ts,rp=k(()=>{"use strict";xx=!1;Ee=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 ${ep(t.actual)}`,this.errors.push(r)}return!1}fallback(t){return this.hasFallback=!0,this._fallback=t,this}get fallbackValue(){return ps(this._fallback)}default(t){return this.hasDefault=!0,this._default=t,this}get defaultValue(){return typeof this._default=="function"?this._default:ps(this._default)}optional(){return this._optional=!0,this}};fs=class extends Ee{validate(t){return this._optional&&t===void 0?!0:tr(t)?tr(this._min)&&t<this._min?this.fail(`the value of ${this.path} should be greater than or equal to ${this._min}`):tr(this._max)&&t>this._max?this.fail(`the value of ${this.path} should be less than or equal to ${this._max}`):tr(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}},hs=class extends Ee{validate(t){return this._optional&&t===void 0?!0:typeof t!="boolean"?this.fail({expect:"boolean",actual:t}):!0}},ms=class extends Ee{validate(t){if(this._optional&&t===void 0)return!0;if(typeof t!="string")return this.fail({expect:"string",actual:t});if(tr(this._maxLength)&&t.length>this._maxLength)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxLength}`);if(tr(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}},vs=class extends Ee{validate(t){return this._optional&&t===void 0?!0:typeof t!="symbol"?this.fail({expect:"symbol",actual:t}):!0}},kn=class extends Ee{validate(t){return!0}},gs=class extends Ee{validate(t){return t!==void 0?this.fail({expect:"undefined",actual:t}):!0}},ys=class extends Ee{validate(t){return this._optional&&t===void 0?!0:t!==null?this.fail({expect:"null",actual:t}):!0}},_s=class extends Ee{validate(t){return this._optional&&t===void 0?!0:typeof t!="function"?this.fail({expect:"function",actual:t}):!0}},bs=class extends Ee{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 ${ep(t)}`)}return!0}},ws=class extends Ee{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(tr(this._minItems)&&r.length<this._minItems)return this.fail(`the length of ${this.path} should be greater than or equal to ${this._minItems}`);if(tr(this._maxItems)&&r.length>this._maxItems)return this.fail(`the length of ${this.path} should be less than or equal to ${this._maxItems}`);if(tr(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}},Is=class extends Ee{constructor(r){super();this._value=r}validate(r){if(this._optional&&r===void 0)return!0;if(tp(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}},Ss=class extends Ee{constructor(r={}){super();this._object=r}validate(r){if(this._optional&&r===void 0)return!0;if(tp(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}},Es=class extends Ee{constructor(r){super();this.value=r}validate(r){return r===void 0&&this._optional?!0:r!==this.value?this.fail({expect:ep(this.value),actual:r}):!0}},xs=class extends Ee{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(`
606
+ or `);this.errors.push(o)}return n}},ks=class extends Ee{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}},As=class extends Ee{validate(t){return t===void 0&&this._optional||t instanceof ArrayBuffer?!0:this.fail({expect:"arraybuffer",actual:t})}},Ts=class extends Ee{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 np(e,t,r="param"){if(e.errors=[],e.path=r,Zd(!0),!e.validate(t)){let n=e.errors.join(`
607
+ `);throw e.errors.length=0,Zd(!1),new TypeError(n)}}var S,ip=k(()=>{"use strict";rp();rp();S={object(e){return new Ss(e)},array(e){return new ws(e)},tuple(...e){return new ks(...e)},literal(e){return new Es(e)},or(...e){return new xs(...e)},symbol(){return new vs},record(e){return new Is(e)},function(){return new _s},boolean(){return new hs},string(){return new ms},number(){return new fs},undefined(){return new gs},null(){return new ys},unknown(){return new kn},any(){return new kn},as(){return new kn},arraybuffer(){return new As},enum(...e){return new bs(...e)},typedarray(e){return new Ts(e)}}});var Cs,kx,Ax=k(()=>{"use strict";D();mt();ip();Kr();Cs=1,kx=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{np(i.paramsSchema,o,"params")}catch(b){throw tc(`${n}:fail ${b.message}`)}let g=i.implement(...o),_=g,v=`${n}:ok`;if(g&&"code"in g){let{code:b,data:I,message:A}=g;l=b,_=I,v=A}return{code:l,message:v,data:_}}catch(g){let _=g;d=(p=(u=_.code)!=null?u:_.errNo)!=null?p:2e3,l="FAILURE";let v=(m=(f=_.message)!=null?f:_.errMsg)!=null?m:`${g}`;return c=`${n}:${l} ${v.replace(/^\S+:(fail|cancel)\s?/,"")}`,ke(new Zn(c,d)),{code:l,message:c}}finally{let g=Date.now()-a}}}function r(n,i){return(...o)=>w(this,null,function*(){var p,f,m,g;let a=Vf(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{np(i.paramsSchema,a,"params")}catch(b){throw tc(b.message)}let v=yield i.implement(...a);if(v&&"code"in v){let{code:b,data:I,message:A}=v;d=b,c=A,v=I}return Object.assign(u,{code:d,message:c,data:v}),u}catch(_){let v=_,b=(f=(p=v.code)!=null?p:v.errNo)!=null?f:2e3;d="FAILURE";let I=(g=(m=v.message)!=null?m:v.errMsg)!=null?g:`${_}`,A=`${n}:${d} ${I.replace(/^\S+:(fail|cancel)\s?/,"")}`;return Object.assign(u,{code:d,message:A}),ke(new Zn(A,b)),u}finally{let _=Date.now()-s}})}return{createAPI:r,createSyncAPI:t}}});function op(e){if(typeof e!="number"||e<=0)return"0.0.0";let t=e.toString(),r=0,n=0,i=0;return t.length>=1&&(r=parseInt(t.substring(0,1),10)),t.length>=3&&(n=parseInt(t.substring(1,3),10)),t.length>=5&&(i=parseInt(t.substring(3,5),10)),`${r}.${n}.${i}`}var Tx=k(()=>{"use strict"});var Pe,G,L,Cx,rt=k(()=>{"use strict";Ex();gt();Ax();ip();_e();Q();Tx();({createAPI:Pe,createSyncAPI:G}=kx(M)),L=Sx("native"),{canIUseNative:Cx}=Rf(()=>E.sdkInfo.nativeSDKVersionCode)});var Px,D5,L5,q5,F5,Ox=k(()=>{"use strict";D();rt();_e();Q();Px=X(),D5="env",L5="getSystemInfoSync",q5=G(L5,{implement:()=>{var r;let e=U("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,viewport:{statusBarHeight:E.viewport.statusBarHeight,navigationBarHeight:E.viewport.navigationBarHeight}}}}),F5=G(D5,{implement:()=>{var t;let e=U("envSync");return(t=e==null?void 0:e.data)!=null?t:void 0}});Px.registerCommand("API.getSystemInfoSync",q5);Px.registerCommand("API.env",F5);L("env",{version:"1.0.0"});L("getSystemInfoSync",{version:"1.0.0",properties:{viewport:"1.0.33"}})});var Rx=h(ap=>{"use strict";D();rt();mt();_e();gt();Q();var M5="exitGame",U5="onReady",j5="onJoliboxShow",B5="onJoliboxHide",Ps=X(),Os=Oo(ke),J5=Pe(M5,{paramsSchema:S.tuple(S.function(),S.boolean().optional().default(!1)),implement:(e,t=!1)=>w(ap,null,function*(){Os(e).call(ap),Wr(E.shouldInterupt)&&!E.shouldInterupt&&E.from&&Mf("onRetentionResult",{shouldStay:t},E.from,!0),t||E.setDoExitDirectly(),yield ye("exitAppAsync")})}),H5=G(j5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);Ze("onJoliboxEnterForeground",()=>{t.call(this),ti.emit("visible",!0)})}}),$5=G(B5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);Ze("onJoliboxEnterBackground",()=>{t.call(this),ti.emit("visible",!1)})}}),V5=G(U5,{paramsSchema:S.tuple(S.function()),implement(e){let t=Os(e);ne.on("LifecycleEvent.onReady",r=>{t(r)})}});Ps.registerCommand("LifecycleSDK.exit",J5);Ps.registerCommand("LifecycleSDK.onReady",V5);Ps.registerCommand("LifecycleSDK.onJoliboxShow",H5);Ps.registerCommand("LifecycleSDK.onJoliboxHide",$5);L("lifeCycle.exit",{version:"1.0.0"});L("lifeCycle.onReady",{version:"1.0.0"});L("lifeCycle.onJoliboxShow",{version:"1.0.0"});L("lifeCycle.onJoliboxHide",{version:"1.0.0"})});function Nx(e){let t={};if(!Tr(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 Dx(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 Lx(e,t=!1){if(e)return t||e>0&&e<=6e4?Math.ceil(e):6e4}function qx(e,t,r){if(["POST","PUT","PATCH"].includes(t)||!Tr(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 Fx=k(()=>{"use strict";D()});var G5,z5,sp,lp,Mx,W5,K5,Q5,Ux=k(()=>{"use strict";Kr();nc();rt();Fx();D();mt();Q();G5=15,z5=Do("createRequestTaskSync","operateRequestTaskSync",{type:"public",baseUrl:E.baseApiHost}),sp=0,lp=[],Mx=Oo(ke),W5=(e,t)=>{let r=e.filter(t),n=e.filter(i=>!t(i));return e.length=0,e.push(...n),r},K5=e=>{let t=new Ct,r=()=>{};return G("request",{paramsSchema:S.tuple(S.object({url:S.string(),method:S.string(),headers:S.object().optional(),data:S.or(S.object(),S.array()).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=()=>w(this,null,function*(){var s,l,c;let a=Mx(i.fail);try{if(sp+=1,t.state!=="pending")return;let{data:d,dataType:u,responseType:p,enableCache:f,appendHostCookie:m}=i,g=Nx((s=i.headers)!=null?s:{}),_=Dx(i.method),v=Lx(i.timeout),b=qx(i.url,_,d),I=Mx(i.success),A=Object.assign({},i,{method:_,header:m?void 0:g,data:_==="GET"||_==="HEAD"?void 0:d,enableCache:f,query:(l=i.query)!=null?l:{},dataType:u,responseType:p,appendHostCookie:m});v&&(A.timeout=v);let C=z5(b,A);{let{response:O}=yield C,{code:x,data:P,message:J}=O;if(P&&typeof P=="object"&&"status"in P&&P.status!==200)throw cr({code:P.status||-1,msg:`request:fail status ${P.status}`});t.resolve({code:x!=null?x:"SUCCESS",data:P,message:J!=null?J:"request:ok"}),I({code:"SUCCESS",message:"request:ok",data:P})}}catch(d){t.reject(d),a({code:"FAILURE",message:"httpRequst: failed"})}finally{sp-=1,(c=lp.shift())==null||c()}});return sp>=G5?(r=()=>{W5(lp,a=>a===o)},lp.push(o)):o(),t.promise}})(e),{abort(){t.reject(cr({code:-1,msg:"request:fail abort"})),r()}}},Q5=X();Q5.registerCommand("HttpSDK.request",K5);L("request",{version:"1.0.0"})});function jx(e){let t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0].toLocaleLowerCase();return t==="array"&&(t="object"),t3.includes(t)?t:""}function Bx(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 Jx(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 Rs,Y5,X5,Z5,e3,HK,$K,t3,cp,Hx,up=k(()=>{"use strict";rt();_e();D();vt();Q();Rs=X(),Y5=Pe("getLocalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){let{response:t}=yield te(`/api/games/user-storage/${E.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 ye("getLocalStorageAsync",{key:e}),s=Bx(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}}})}});Rs.registerCommand("StorageSDK.getItem",Y5);L("storage.getItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});X5=Pe("setStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number())),implement(e,t){return w(this,null,function*(){let r=E.mpId,n=typeof t=="string"?t:String(t),{response:i}=yield te(`/api/games/user-storage/${r}`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e,value:n}}),{data:{code:o,message:a}}=i,s=jx(t),l=Jx(t,s);return yield ye("setLocalStorageAsync",{key:e,data:l,dataType:s}),o=="SUCCESS"?{code:o,message:a}:{code:o,message:`${a}. fallback to native`}})}});Rs.registerCommand("StorageSDK.setItem",X5);L("storage.setItem",{version:"1.0.0",properties:{key:"1.0.0",value:"1.0.0"}});Z5=Pe("removeStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){let t=E.mpId,{response:r}=yield te(`/api/games/user-storage/${t}/remove`,{method:"POST",responseType:"json",appendHostCookie:!0,data:{key:e}}),{data:{code:n,message:i}}=r;return yield ye("removeLocalStorageAsync",{key:e}),n==="SUCCESS"?{code:n,message:i}:{code:n,message:"[Jolibox SDK] remove item succ"}})}});Rs.registerCommand("StorageSDK.removeItem",Z5);L("storage.removeItem",{version:"1.0.0",properties:{key:"1.0.0"}});e3=Pe("clearStorage",{implement(){return w(this,null,function*(){let e=E.mpId,{response:t}=yield te(`/api/games/user-storage/${e}/clear`,{method:"POST",appendHostCookie:!0});ye("clearLocalStorageAsync");let{data:{code:r,message:n}}=t;return r==="SUCCESS"?{code:r,message:n}:{code:r,message:`${n}.fallback to native`}})}});Rs.registerCommand("StorageSDK.clear",e3);L("storage.clear",{version:"1.0.0"});HK=Pe("getStorageInfo",{implement(){return w(this,null,function*(){let{data:e}=yield ye("getStorageInfoAsync");return e})}});L("getStorageInfo",{version:"1.0.0",success:{keys:"1.0.0",currentSize:"1.0.0",limitSize:"1.0.0"}});$K=G("getStorageInfoSync",{implement(){return U("getStorageInfoSync")}}),t3=["string","number","boolean","object",""];cp=Pe("getGlobalStorage",{paramsSchema:S.tuple(S.string()),implement(e){return w(this,null,function*(){try{let{data:{data:t,dataType:r}}=yield ye("getGlobalStorageAsync",{key:e});return{code:"SUCCESS",message:"success",data:Bx(t,r)}}catch(t){return{code:"INTERNAL_ERROR",message:"[Jolibox SDK] get global storage failed",data:null}}})}}),Hx=Pe("setGlobalStorage",{paramsSchema:S.tuple(S.string(),S.or(S.string(),S.boolean(),S.number(),S.array())),implement(e,t){return w(this,null,function*(){try{let r=jx(t),n=Jx(t,r);return yield ye("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 r3,n3,i3,dp,$x=k(()=>{"use strict";D();_e();rt();r3=G("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)),U("showKeyboardSync",j(T({},e),{defaultValue:r,maxLength:t}))}});L("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"}});n3=G("updateKeyboard",{paramsSchema:S.tuple(S.object({value:S.string()})),implement(e){U("updateKeyboardSync",e)}});L("keyboard.updateKeyboard",{version:"1.0.0",properties:{params:{value:"1.0.0"}}});i3=G("hideKeyboard",{implement(){U("hideKeyboardSync")}});L("keyboard.hideKeyboard",{version:"1.0.0"});dp=X();dp.registerCommand("KeyboardSDK.showKeyboard",r3);dp.registerCommand("KeyboardSDK.updateKeyboard",n3);dp.registerCommand("KeyboardSDK.hideKeyboard",i3)});var Vx=h(Ns=>{"use strict";D();rt();gt();var pp=X(),o3=Pe("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(),variation:S.string().optional()})),implement:e=>w(Ns,null,function*(){let{levelId:t,duration:r,rating:n,score:i,variation:o}=e,a=[];a.push(It.tracker("LevelFinished",{levelId:t,duration:r,rating:n,score:i,variation:o})),a.push(It.reporter({event:"COMPLETE_GAME_LEVEL",extraParams:{inGameInfo:{levelId:t,duration:r,rating:n,score:i}}})),yield Promise.all(a)})}),a3=Pe("gamePlayEnded",{paramsSchema:S.tuple(S.object({duration:S.number().optional(),rating:S.number().optional(),score:S.number(),variation:S.string().optional()})),implement:e=>w(Ns,null,function*(){let{duration:t,rating:r,score:n,variation:i}=e,o=[];o.push(It.tracker("GamePlayEnded",{duration:t,rating:r,score:n,variation:i})),o.push(It.reporter({event:"GAME_ENDED",extraParams:{inGameInfo:{duration:t,rating:r,score:n}}})),yield Promise.all(o)})}),s3=Pe("levelUpgrade",{paramsSchema:S.tuple(S.object({levelId:S.or(S.string(),S.number()),name:S.string().optional()})),implement:r=>w(Ns,[r],function*({levelId:e,name:t}){let n=[];n.push(It.tracker("LevelUpgrade",{name:t,levelId:e})),n.push(It.reporter({event:"GAME_LEVEL_UP",extraParams:{inGameInfo:{levelId:e,levelName:t}}})),yield Promise.all(n)})});pp.registerCommand("TaskTrackerSDK.levelFinished",o3);pp.registerCommand("TaskTrackerSDK.gamePlayEnded",a3);pp.registerCommand("TaskTrackerSDK.levelUpgrade",s3);L("TaskTrackerSDK.onLevelFinished",{version:"1.1.25",properties:{params:{levelId:"1.1.25",duration:"1.1.25",rating:"1.1.25",score:"1.1.25",variation:"1.1.50"}}});L("TaskTrackerSDK.onGamePlayEnded",{version:"1.1.25",properties:{params:{duration:"1.1.25",rating:"1.1.25",score:"1.1.25",variation:"1.1.50"}}});L("TaskTrackerSDK.onLevelUpgrade",{version:"1.1.25",properties:{params:{levelId:"1.1.25",name:"1.1.25"}}})});var fp,hp,mp,l3,Gx,Ds=k(()=>{"use strict";Q();_e();rt();D();Kr();L("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"}});L("checkSession",{version:"1.0.0",success:{errMsg:"1.0.0"}});fp=new Map;Ze("onLoginStateChange",({isLogin:e,token:t,uuid:r,isFirstLogin:n,extra:i})=>{let o=fp.get(r);o&&(o.resolve({isLogin:e,token:t,isFirstLogin:n,extra:i}),fp.delete(r))});hp=(e,t=!1)=>w(void 0,null,function*(){var u;let{data:{isLogin:r}}=yield ye("checkLoginAsync");if(r)return{isLogin:!0,token:(u=E.hostUserInfo)==null?void 0:u.token};let{skipLogin:n,triggerFrom:i}=e!=null?e:{},o=U("loginSync",{skipLogin:n,triggerFrom:i}),{data:{uuid:a}}=o;if(!a)throw cr({code:-1,msg:"login failed"});let s=new Ct;fp.set(a,s);let l=yield s.promise;E.onEnvConfigChanged({hostUserInfo:l});let p=l,{extra:c}=p,d=je(p,["extra"]);return ne.emit("onLoginComplete",d),t?l:d}),mp=Pe("login",{paramsSchema:S.tuple(S.object({skipLogin:S.boolean().optional(),triggerFrom:S.string().optional()}).optional()),implement(e){return w(this,null,function*(){return yield hp(e!=null?e:{})})}}),l3=Pe("checkSession",{implement(){return w(this,null,function*(){let{data:{isLogin:e}}=yield ye("checkLoginAsync");return{isLogin:e}})}}),Gx=X();Gx.registerCommand("API.login",mp);Gx.registerCommand("API.checkSession",l3)});var zx,Wx=k(()=>{"use strict";zx=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)}});function vp(e){return t=>w(this,null,function*(){var l;let{dailyMaxPopUps:r,minInterval:n}=t,i=yield cp(e);if(!i.data)return{canShow:!0,isFirst:!0};let o=Kx(i.data),a=zx(o);if(r&&a.length>=r)return{canShow:!1,isFirst:!1};let s=Date.now();return console.log("todayFrequencies",a,n,s-a[0]),n&&s-((l=a==null?void 0:a[0])!=null?l:0)<n?{canShow:!1,isFirst:!1}:{canShow:!0,isFirst:!1}})}function gp(e){return()=>w(this,null,function*(){var i;let t=Date.now(),r=yield cp(e),n=Kx((i=r.data)!=null?i:"[]");n.push(t),n.sort((o,a)=>a-o).splice(8),yield Hx(e,JSON.stringify(n))})}var Kx,Qx,Yx,Xx,Zx,ek,tk,Ls=k(()=>{"use strict";up();Wx();Kx=e=>{let t;try{t=JSON.parse(e)}catch(r){t=[]}return t};Qx=vp("joli_coin_use_modal_frequency"),Yx=vp("joli_coin_payment_frequency"),Xx=vp("joli_coin_unlogin_modal_frequency");Zx=gp("joli_coin_use_modal_frequency"),ek=gp("joli_coin_payment_frequency"),tk=gp("joli_coin_unlogin_modal_frequency")});var yp,qs,_p=k(()=>{"use strict";vt();yp=Promise.resolve(),qs=e=>w(void 0,null,function*(){yp=yp.then(()=>w(void 0,null,function*(){yield te("/api/joli-coin/user-config",{method:"POST",appendHostCookie:!0,data:{enableAutoDeduct:e}})})),yield yp})});var Fs,Ms,At,Us,Hr,wr,rr,js,An,c3,F,Tn,Cn,Ye=k(()=>{"use strict";D();Fs="UNLOCK_OPTIONS_CHANGED",Ms="INVOKE_PAYMENT",At="ON_PAYMENT_RESULT",Us="ON_USE_MODAL_EVENT",Hr="ON_USE_MODAL_RESULT",wr="ON_USE_MODAL_FREQUENCY",rr="ON_USE_UNLOGIN_MODAL_EVENT",js="INVOKE_UNLOGIN_MODAL_EVENT",An=new Ot,c3=()=>({on:An.on.bind(An),off:An.off.bind(An),emit:An.emit.bind(An)}),F=c3(),Tn={charge:{dailyMaxPopUps:2,minInterval:8*60*60*1e3},useJolicoin:{dailyMaxPopUps:2,minInterval:8*60*60*1e3}},Cn={show:!0,minInterval:8*60*60*1e3}});function nt(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),updateData:a=>{if(i)return i=T(T({},i),a),r=Promise.resolve(i),n&&(n(i),n=null),i}}}var Ir=k(()=>{"use strict"});var ik=h(bp=>{"use strict";Ls();_p();Ye();Ye();er();gt();D();Ir();var rk=to(),nk=nt(F,wr);nk.getData();F.on(Us,(e,t)=>w(bp,null,function*(){if(e==="ADS-JOLI_COIN"){yield rk.show({duration:3e3});let n=yield nk.getData(),{canShow:i,isFirst:o}=yield Qx(n.joliCoinUseAndCharge.useJolicoin);console.log("use modal show by frequency",i,o),rk.hide();let{balance:a}=t.userJoliCoin;if(a>=t.joliCoinQuantity&&t.enableAutoDeduct&&!o){F.emit(Hr,{useModalResult:"CONFIRM"});return}if(!i){F.emit(Hr,{useModalResult:"FAILED"});return}}M("unlock_popup_show",{eventType:B.View,targetType:"game"});let r=ex({data:{enableAutoDeduct:t.enableAutoDeduct,userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>{M("coin_unlock_click",{targetType:"game",eventType:B.Click,coinConsume:t.joliCoinQuantity,ifAutoUnlock:t.enableAutoDeduct}),F.emit(Hr,{useModalResult:"CONFIRM"}),r.destroy()}},cancel:{text:t.cancelButtonText,onPress:({type:n})=>{n==="FAILED"&&M("ad_unlock_click",{targetType:"game",eventType:B.Click}),F.emit(Hr,{useModalResult:(n!=null?n:"")==="CANCEL"?"CANCEL":"FAILED"}),r.destroy()}},onEnableDeductChanged:n=>w(bp,null,function*(){yield qs(n)})}});yield Zx()}))});function ok(){let e=new Map;return{registerPaymentHandler(r,n){e.set(r,n)},invokePayment(r,...n){return w(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 ak=k(()=>{"use strict";mt()});var Bs=k(()=>{"use strict"});var u3,Pn,Sr,d3,$r,wp=k(()=>{"use strict";Bs();D();Q();vt();u3=()=>{let[e,t]=[Xf,eh].map(r=>(n,i,o)=>new r(n,i,o));return{createPaymentError:e,createPaymentInternalError:t}},{createPaymentError:Pn,createPaymentInternalError:Sr}=u3(),d3=E.testMode?"https://stg-game.jolibox.com":"https://game.jolibox.com",$r=class{constructor(){this._orderId=null;this._orderStatus="INIT";this.startPayment=t=>w(this,null,function*(){this._orderId&&(yield this.cancelOrder(this.orderId));let{code:r,message:n}=yield this.placeOrder(t);if(r!=="SUCCESS")throw Pn(n,1001);return yield this.pay()});this.cancelOrder=t=>w(this,null,function*(){var n,i;let{response:r}=yield te(`/api/orders/${t}/cancel`,{method:"POST",data:{}});if(r.code!=="SUCCCESS")throw Pn((i=(n=r.message)!=null?n:r.errMsg)!=null?i:"",1003)});this.generateCallbackUrl=()=>{let t=new URLSearchParams("");return t.set("utm_source",E.deviceInfo.platform),t.set("joliSource",E.encodeJoliSourceQuery(T({},this.generatePaymentContext()))),`${d3}//payment/callback?${t.toString()}`}}get orderId(){return this._orderId}get status(){return this._orderStatus}}});var Ip,lk,ck=k(()=>{"use strict";vt();wp();Bs();Ip=class extends $r{constructor(r){super();this.productId=r;this.generatePaymentContext=()=>({type:"JOLI_COIN_ORDER_CONTEXT",state:"TO_VALIDATE",productId:this.productId,orderId:this.orderId});this.pay=()=>w(this,null,function*(){let r=this.generateCallbackUrl();return console.info("callbackUrl",r),{code:"SUCCESS",message:"jolicoin payment success"}})}placeOrder(r){return w(this,null,function*(){var n,i,o,a;try{let{response:s}=yield te("/api/orders/checkout/joli-coin",{method:"POST",data:{productId:r.productId}});if(s.code!=="SUCCESS")throw Pn((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),Sr((a=JSON.stringify(s))!=null?a:"jolicoin placeorder failed",1002)}})}},lk=()=>{let e=new Map;return t=>w(void 0,null,function*(){let r=e.get(t);return r||(r=new Ip(t),e.set(t,r)),yield r.startPayment({productId:t}),{code:"SUCCESS",message:"jolicoin payment success"}})}});var uk,dk=k(()=>{"use strict";uk={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 Sp,pk,Ep,xp,p3,fk,hk=k(()=>{"use strict";vt();wp();Bs();_e();D();Q();er();dk();Sp=new Map;Ze("onPaymentStateChange",e=>{console.info("onPaymentStateChange",e);let{orderUUID:t,status:r,totalAmount:n,orderResponse:i}=e,o=Sp.get(t);if(o){if(r==="SUCCESS")Jr("{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"&&Gf(i==null?void 0:i.errNo)&&(i==null?void 0:i.errNo)!==0)throw Sr(`jolicoin payment failed: ${i==null?void 0:i.errMsg}`,1002);let a=uk[r];a&&Jr(`{slot-error} {slot-i18n-jolicoin.${a}}`,{position:"center",duration:3e3}),o.resolve({code:"FAILED",message:"jolicoin payment failed"})}Sp.delete(t)}});pk=e=>w(void 0,null,function*(){var n,i;let t=new Ct,r;try{let o=yield ye("requestPaymentSync",{paymentBody:{appStoreProductId:e.appStoreProductId,appAccountToken:e.appAccountToken}});if(r=(n=o.data)==null?void 0:n.orderUUID,console.info("---payInApp---",o),!r)throw Sr("orderUUID is null",1002);Sp.set(r,t)}catch(o){throw Sr((i=JSON.stringify(o))!=null?i:"jolicoin payment failed",1002)}return t.promise}),Ep=class extends $r{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=()=>w(this,null,function*(){return yield pk({appStoreProductId:this.appStoreProductId})})}placeOrder(r){return w(this,null,function*(){return{code:"SUCCESS",message:"placeorder jolicoin success in native"}})}},xp=class extends $r{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=()=>w(this,null,function*(){return yield pk({appStoreProductId:this.appStoreProductId,appAccountToken:this.appAccountToken})})}placeOrder(r){return w(this,null,function*(){var a;console.log("----start place order for ios----");let{response:n}=yield te("/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 Sr("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"}})}},p3={android:Ep,ios:xp},fk=()=>{let e=new Map;return t=>w(void 0,null,function*(){let{productId:r,appStoreProductId:n}=t,i=e.get(r);if(!i){let s=p3[E.platform];if(!s)throw Sr("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 Pn(a,1002);return{code:"SUCCESS",message:"jolicoin payment success"}})}});var Js,mk=k(()=>{"use strict";ak();ck();hk();Js=ok();Js.registerPaymentHandler("JOLI_COIN",lk());Js.registerPaymentHandler("JOLI_COIN_IAP",fk())});var gk=h(ro=>{"use strict";Ye();er();vt();Q();Ds();D();Ls();mk();er();rt();_e();D();gt();_p();Ir();var On=to(),f3=nt(F,wr);F.on(Ms,(e,t)=>w(ro,null,function*(){var r,n;try{if(!Cx("requestPaymentSync:paymentBody:appStoreProductId")){console.info("requestPaymentSync:paymentBody:appStoreProductId not supported"),setTimeout(()=>{F.emit(At,{paymentResult:"FAILED"})},0);return}if(e==="ADS-JOLI_COIN"){yield On.show({duration:3e3});let a=yield f3.getData(),{canShow:s}=yield Yx(a.joliCoinUseAndCharge.charge);if(console.log("use payment show by frequency",s),On.hide(),!s){F.emit(At,{paymentResult:"FAILED"});return}console.log("show by frequency")}yield On.show({duration:3e3});let i=yield vk();if(On.hide(),!i){F.emit(At,{paymentResult:"FAILED"});return}M("coinorder_show",{targetType:"game",eventType:B.View});let o=tx({data:{userJolicoin:t.userJoliCoin,joliCoinQuantity:t.joliCoinQuantity,paymentChoices:(n=(r=i.paymentChoices)==null?void 0:r.map(a=>{var s;return j(T({},a),{totalAmountStr:(s=a.totalAmountStr)!=null?s:""})}))!=null?n:[],enableAutoDeduct:i.enableAutoDeduct},buttons:{confirm:{text:t.confirmButtonText,onPress:a=>w(ro,null,function*(){var c,d,u,p,f,m,g,_;if(M("order_pay_ensure",{targetType:"game",eventType:B.Click,payWay:"app_iap",coinAmount:t.joliCoinQuantity,orderPrice:(d=(c=i.paymentChoices.find(v=>v.productId===a))==null?void 0:c.totalAmountStr)!=null?d:""}),!((u=E.hostUserInfo)!=null&&u.isLogin)){let{data:v}=yield mp({skipLogin:!0});if(!(v!=null&&v.isLogin)){console.log("login failed");return}let b=yield vk();if(((p=b==null?void 0:b.balance)!=null?p:0)>=t.joliCoinQuantity){F.emit(At,{paymentResult:"SUCCESS"}),o.destroy();return}}console.log("invokeNativePayment",a);let s=(m=(f=i==null?void 0:i.paymentChoices)==null?void 0:f.find(v=>v.productId===a))==null?void 0:m.appStoreProductId;if(!s){F.emit(At,{paymentResult:"FAILED"}),o.destroy();return}yield On.show({duration:3e3});let{code:l}=yield Js.invokePayment("JOLI_COIN_IAP",{productId:a,appStoreProductId:s});if(On.hide(),M("order_pay_result",{eventType:B.Other,targetType:"game",payWay:"app_iap",coinAmount:t.joliCoinQuantity,orderPrice:(_=(g=i.paymentChoices.find(v=>v.productId===a))==null?void 0:g.totalAmountStr)!=null?_:"",payResult:l}),l!=="SUCCESS"){console.info("[JoliboxSDK] payment failed in payment.invokePaymet");return}F.emit(At,{paymentResult:"SUCCESS"}),o.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:a})=>{F.emit(At,{paymentResult:(a!=null?a:"")==="CANCEL"?"CANCEL":"FAILED"}),M("ad_unlock_click",{targetType:"game",eventType:B.Click}),o.destroy()}},onEnableDeductChanged:a=>w(ro,null,function*(){yield qs(a)})},onSelect:a=>{var s,l;M("coinorder_click",{targetType:"game",eventType:B.Click,coinAmount:t.joliCoinQuantity,orderPrice:(l=(s=i.paymentChoices.find(c=>c.productId===a))==null?void 0:s.totalAmountStr)!=null?l:""})}});yield ek()}catch(i){console.info("payment failed",i),F.emit(At,{paymentResult:"FAILED"})}}));var h3=(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=>!Jl(r.totalAmountStr))},vk=()=>w(ro,null,function*(){var r,n,i,o,a,s,l,c,d,u;let{response:e}=yield te("/api/joli-coin/balance-detail",{method:"GET",appendHostCookie:!0,responseType:"json"});console.info("getBalenceDetails",e);let{data:t}=yield ye("requestProductDetailsAsync",{appStoreProductIds:(o=(i=(n=(r=e.data)==null?void 0:r.data)==null?void 0:n.paymentChoices)==null?void 0:i.filter(p=>typeof p.appStoreProductId=="string").map(p=>p.appStoreProductId))!=null?o:[]});if((a=e.data)!=null&&a.data&&t&&h3((s=e.data)==null?void 0:s.data,t),console.info("productDetails",(l=e.data)==null?void 0:l.data),((d=(c=e.data)==null?void 0:c.data)==null?void 0:d.paymentChoices.length)===0)throw new Error("paymentChoices is empty");return(u=e.data)==null?void 0:u.data})});var _k=h(Hs=>{"use strict";Ye();Ir();Ls();vt();mt();D();Ds();er();gt();var yk=nt(F,wr);yk.getData();F.on(js,(e,t)=>w(Hs,null,function*(){var r;try{if(e==="ADS-JOLI_COIN"){let o=yield yk.getData();if(console.log("unlogin guide config",o.loginGuide),!o.loginGuide.show){F.emit(rr,{result:"NOT_SUPPORT"});return}let{canShow:a}=yield Xx(o.loginGuide);if(console.log("canShowUseModal",a),!a){F.emit(rr,{result:"FAILED"});return}}let{firstLogin:n}=(r=yield m3())!=null?r:{};if(!(n!=null&&n.reward)){console.log("[JoliboxSDK] unlogin modal reward is empty"),F.emit(rr,{result:"NOT_SUPPORT"});return}M("LoginGuideModal",{eventType:B.Expose},B.Expose);let i=rx({data:{rewardType:e,rewardValue:n.reward.rewardValue},buttons:{confirm:{text:t.confirmButtonText,onPress:()=>w(Hs,null,function*(){var l,c,d,u;M("LoginGuideModal",{type:"click_confirm",eventType:B.Click},B.Click);let{isLogin:o,extra:a,isFirstLogin:s}=yield hp({},!0);if(!o){console.log("login failed");return}if(M("LoginGuideModal",{type:"click_confirm_login",isFirstLogin:s,eventType:B.Click},B.Click),s&&((l=a==null?void 0:a.firstLogin)!=null&&l.reward)){let{rewardValue:p}=a.firstLogin.reward;Jr("{slot-i18ntran-loginGuide.rewardTips}",{i18nParams:{text:"Jolicoin Used",coin:p},position:"top",duration:3e3})}F.emit(rr,{result:"SUCCESS",rewards:{jolicoin:{claimedRewardValue:(u=(d=(c=a==null?void 0:a.firstLogin)==null?void 0:c.reward)==null?void 0:d.rewardValue)!=null?u:0,isFirstLogin:s!=null?s:!1}}}),i.destroy()})},cancel:{text:t.cancelButtonText,onPress:({type:o})=>{M("LoginGuideModal",{eventType:B.Hide},B.Hide),M("LoginGuideModal",{type:o==="CANCEL"?"click_close":"click_watch_ads",eventType:B.Click},B.Click),F.emit(rr,{result:"FAILED"}),i.destroy()}}}});yield tk()}catch(n){ke(new th(n)),F.emit(rr,{result:"FAILED"})}}));var m3=()=>w(Hs,null,function*(){var t;let{response:e}=yield te("/api/base/global-config",{method:"GET",appendHostCookie:!0,responseType:"json"});return(t=e.data)==null?void 0:t.data})});var VY,GY,zY,bk=k(()=>{"use strict";VY=ie(ik()),GY=ie(gk()),zY=ie(_k())});function A3(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}function T3(e){return typeof e=="string"}function C3(e){return typeof e=="undefined"}function P3(e){return C3(e)||e===null}function O3(e){return typeof e=="function"}function Wk(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 no(e){return function(){var t,r;((r=(t=globalThis.VConsole)==null?void 0:t[e])!=null?r:globalThis.console[e])(...arguments)}}function zs(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 M3(e){let t=e.location?zs(e.location,kk):null,r=e.target?zs(e.target,kk):null;return zs(E3(S3({},e),{location:t,target:r}),q3)}function U3(e){let t=e.events.map(n=>M3(n)),r=zs(e.device,F3);return[e.protocolVersion,t,r,e.project]}function j3(){if(typeof window=="undefined")return{getItem:()=>null,setItem:()=>{},removeItem:()=>{},clear:()=>{},length:0,key:()=>null};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 V3(e){return new Promise(t=>Xk(e)(t))}function Xk(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 G3(e,t){return(r=>{let n={onWillAddFirstListener(){r(i.fire,i)}},i=new lo(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 W3(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;n++)K3(e[n],t[n])}function K3(e,t){if(T3(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(O3(t)){try{if(e instanceof t)return}catch(r){}if(!P3(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 it(e,t,r){return(t=Q3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q3(e){var t=Y3(e,"string");return typeof t=="symbol"?t:t+""}function Y3(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 $s(e,t,r){return(t=X3(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X3(e){var t=Z3(e,"string");return typeof t=="symbol"?t:t+""}function Z3(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 Vs(e,t,r){return(t=e4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e4(e){var t=t4(e,"string");return typeof t=="symbol"?t:t+""}function t4(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 nr(e,t,r){return(t=r4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r4(e){var t=n4(e,"string");return typeof t=="symbol"?t:t+""}function n4(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 i4(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 o4(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 d4(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function tA(e){return e.trim()}function p4(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,r){return e.replace(t,r)}function jp(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function co(e,t,r){return e.slice(t,r)}function Jt(e){return e.length}function rf(e){return e.length}function Gs(e,t){return t.push(e),e}function f4(e,t){return e.map(t).join("")}function sl(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:al,column:qn,length:a,return:""}}function oo(e,t){return u4(sl("",null,null,"",null,null,0),e,{length:-e.length},t)}function h4(){return xe}function m4(){return xe=st>0?Me(Fn,--st):0,qn--,xe===10&&(qn=1,al--),xe}function ft(){return xe=st<rA?Me(Fn,st++):0,qn++,xe===10&&(qn=1,al++),xe}function Ht(){return Me(Fn,st)}function Ws(){return st}function po(e,t){return co(Fn,e,t)}function uo(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 nA(e){return al=qn=1,rA=Jt(Fn=e),st=0,[]}function iA(e){return Fn="",e}function Ks(e){return tA(po(st-1,Bp(e===91?e+2:e===40?e+1:e)))}function v4(e){for(;(xe=Ht())&&xe<33;)ft();return uo(e)>2||uo(xe)>3?"":" "}function g4(e,t){for(;--t&&ft()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return po(e,Ws()+(t<6&&Ht()==32&&ft()==32))}function Bp(e){for(;ft();)switch(xe){case e:return st;case 34:case 39:e!==34&&e!==39&&Bp(xe);break;case 40:e===41&&Bp(e);break;case 92:ft();break}return st}function y4(e,t){for(;ft()&&e+xe!==57&&!(e+xe===84&&Ht()===47););return"/*"+po(t,st-1)+"*"+ol(e===47?e:ft())}function _4(e){for(;!uo(Ht());)ft();return po(e,st)}function b4(e){return iA(Qs("",null,null,null,[""],e=nA(e),0,[0],e))}function Qs(e,t,r,n,i,o,a,s,l){for(var c=0,d=0,u=a,p=0,f=0,m=0,g=1,_=1,v=1,b=0,I="",A=i,C=o,O=n,x=I;_;)switch(m=b,b=ft()){case 40:if(m!=108&&Me(x,u-1)==58){jp(x+=W(Ks(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:x+=Ks(b);break;case 9:case 10:case 13:case 32:x+=v4(m);break;case 92:x+=g4(Ws()-1,7);continue;case 47:switch(Ht()){case 42:case 47:Gs(w4(y4(ft(),Ws()),t,r),l);break;default:x+="/"}break;case 123*g:s[c++]=Jt(x)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:_=0;case 59+d:v==-1&&(x=W(x,/\f/g,"")),f>0&&Jt(x)-u&&Gs(f>32?Pk(x+";",n,r,u-1):Pk(W(x," ","")+";",n,r,u-2),l);break;case 59:x+=";";default:if(Gs(O=Ck(x,t,r,c,d,i,s,I,A=[],C=[],u),o),b===123)if(d===0)Qs(x,t,O,O,A,o,u,s,C);else switch(p===99&&Me(x,3)===110?100:p){case 100:case 108:case 109:case 115:Qs(e,O,O,n&&Gs(Ck(e,O,O,0,0,i,s,I,i,A=[],u),C),i,C,u,s,n?A:C);break;default:Qs(x,O,O,O,[""],C,0,s,C)}}c=d=f=0,g=v=1,I=x="",u=a;break;case 58:u=1+Jt(x),f=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&m4()==125)continue}switch(x+=ol(b),b*g){case 38:v=d>0?1:(x+="\f",-1);break;case 44:s[c++]=(Jt(x)-1)*v,v=1;break;case 64:Ht()===45&&(x+=Ks(ft())),p=Ht(),d=u=Jt(I=x+=_4(Ws())),b++;break;case 45:m===45&&Jt(x)==2&&(g=0)}}return o}function Ck(e,t,r,n,i,o,a,s,l,c,d){for(var u=i-1,p=i===0?o:[""],f=rf(p),m=0,g=0,_=0;m<n;++m)for(var v=0,b=co(e,u+1,u=c4(g=a[m])),I=e;v<f;++v)(I=tA(g>0?p[v]+" "+b:W(b,/&\f/g,p[v])))&&(l[_++]=I);return sl(e,t,r,i===0?ef:s,l,c,d)}function w4(e,t,r){return sl(e,t,r,Zk,ol(h4()),co(e,2,-2),0)}function Pk(e,t,r,n){return sl(e,t,r,tf,co(e,0,n),co(e,n+1,-1),n)}function Ln(e,t){for(var r="",n=rf(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function I4(e,t,r,n){switch(e.type){case l4:if(e.children.length)break;case s4:case tf:return e.return=e.return||e.value;case Zk:return"";case eA:return e.return=e.value+"{"+Ln(e.children,n)+"}";case ef:e.value=e.props.join(",")}return Jt(r=Ln(e.children,n))?e.return=e.value+"{"+r+"}":""}function S4(e){var t=rf(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 E4(e){return function(t){t.root||(t=t.return)&&e(t)}}function x4(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}function oA(e,t){switch(d4(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+Zs+e+Ge+e+e;case 6828:case 4268:return z+e+Ge+e+e;case 6165:return z+e+Ge+"flex-"+e+e;case 5187:return z+e+W(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return z+e+Ge+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return z+e+Ge+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+Ge+W(e,"shrink","negative")+e;case 5292:return z+e+Ge+W(e,"basis","preferred-size")+e;case 6060:return z+"box-"+W(e,"-grow","")+z+e+Ge+W(e,"grow","positive")+e;case 4554:return z+W(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,z+"$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(Jt(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+Zs+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~jp(e,"stretch")?oA(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,Jt(e)-3-(~jp(e,"!important")&&10))){case 107:return W(e,":",":"+z)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(Me(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+Ge+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+Ge+e+e}return e}function D4(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 el(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 Er={name:i.name,styles:i.styles,next:Er},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)Er={name:a.name,styles:a.styles,next:Er},a=a.next;var s=o.styles+";";return s}return M4(e,t,r)}}var l=r;if(t==null)return l;var c=t[l];return c!==void 0?c:l}function M4(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=el(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]+"}":Rk(s)&&(n+=Ap(o)+":"+Nk(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++)Rk(a[l])&&(n+=Ap(o)+":"+Nk(o,a[l])+";");else{var c=el(e,t,a);switch(o){case"animation":case"animationName":{n+=Ap(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}function Tp(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="";Er=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=el(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=el(r,t,e[s]),n){var l=o;i+=l[s]}Dk.lastIndex=0;for(var c="",d;(d=Dk.exec(i))!==null;)c+="-"+d[1];var u=D4(i)+c;return{name:u,styles:i,next:Er}}function sA(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}function Lk(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function qk(e,t,r){var n=[],i=sA(e,n,r);return n.length<2?r:i+t(n)}function $4(e,t){Oe.__h&&Oe.__h(pt,e,Mk||t),Mk=0;var r=pt.__H||(pt.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function cA(e,t){var r=$4(Jp++,7);return z4(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function V4(){for(var e;e=lA.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ys),e.__H.__h.forEach(Hp),e.__H.__h=[]}catch(t){e.__H.__h=[],Oe.__e(t,e.__v)}}function G4(e){var t,r=function(){clearTimeout(n),Vk&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Vk&&(t=requestAnimationFrame(r))}function Ys(e){var t=pt,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),pt=t}function Hp(e){var t=pt;e.__c=e.__(),pt=t}function z4(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ll(){if(xr>1)xr--;else{for(var e,t=!1;ao!==void 0;){var r=ao;for(ao=void 0,$p++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&dA(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if($p=0,xr--,t)throw e}}function at(e){if(xr>0)return e();xr++;try{return e()}finally{ll()}}function uA(e){if(ee!==void 0){var t=e.n;if(t===void 0||t.t!==ee)return t={i:0,S:e,p:ee.s,n:void 0,t:ee,e:void 0,x:void 0,r:t},ee.s!==void 0&&(ee.s.n=t),ee.s=t,e.n=t,32&ee.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=ee.s,t.n=void 0,ee.s.n=t,ee.s=t),t}}function Ue(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function re(e){return new Ue(e)}function dA(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 pA(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 fA(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 Un(e){Ue.call(this,void 0),this.x=e,this.s=void 0,this.g=tl-1,this.f=4}function so(e){return new Un(e)}function hA(e){var t=e.u;if(e.u=void 0,typeof t=="function"){xr++;var r=ee;ee=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,nf(e),n}finally{ee=r,ll()}}}function nf(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,hA(e)}function K4(e){if(ee!==this)throw new Error("Out-of-order effect");fA(this),ee=e,this.f&=-2,8&this.f&&nf(this),ll()}function fo(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function ho(e){var t=new fo(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}function jn(e,t){R[e]=t.bind(null,R[e]||function(){})}function rl(e){Pp&&Pp(),Pp=e&&e.S()}function gA(e){var t=this,r=e.data,n=yA(r);n.value=r;var i=cA(function(){for(var s=t,l=t.__v;l=l.__;)if(l.__c){l.__c.__$f|=4;break}var c=so(function(){var f=n.value.value;return f===0?0:f===!0?"":f||""}),d=so(function(){return!Array.isArray(c.value)&&!cc(c.value)}),u=ho(function(){if(this.N=_A,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 Q4(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=re(r);return{o:function(a,s){o.value=a,n=s},d:ho(function(){this.N=_A;var a=o.value.value;n[t]!==a&&(n[t]=a,i?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}function yA(e){return cA(function(){return re(e)},[])}function X4(){at(function(){for(var e;e=vA.shift();)mA.call(e)})}function _A(){vA.push(this)===1&&(R.requestAnimationFrame||Y4)(X4)}function Z4(e,t){let r=Ei(e);ln(()=>{r.current=e},[e]),Si(()=>{if(t===null)return;let n=setInterval(()=>{r.current()},t);return()=>{clearInterval(n)}},[t])}function ge(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:--eH,__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 R.vnode&&R.vnode(c),c}function ir(e,t,r){return(t=pH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pH(e){var t=fH(e,"string");return typeof t=="symbol"?t:t+""}function fH(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 or(e,t,r){return(t=gH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gH(e){var t=yH(e,"string");return typeof t=="symbol"?t:t+""}function yH(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 Ve(e,t,r){return(t=_H(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _H(e){var t=bH(e,"string");return typeof t=="symbol"?t:t+""}function bH(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 ot(e,t,r){return(t=wH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wH(e){var t=IH(e,"string");return typeof t=="symbol"?t:t+""}function IH(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 Vr(e,t,r){return(t=SH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SH(e){var t=EH(e,"string");return typeof t=="symbol"?t:t+""}function EH(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 Op(e,t,r){return(t=xH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xH(e){var t=kH(e,"string");return typeof t=="symbol"?t:t+""}function kH(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 Xe(e,t,r){return(t=AH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AH(e){var t=TH(e,"string");return typeof t=="symbol"?t:t+""}function TH(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 Tt(e,t,r){return(t=CH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CH(e){var t=PH(e,"string");return typeof t=="symbol"?t:t+""}function PH(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 wk,v3,g3,y3,Gk,_3,b3,Ik,w3,I3,Sk,S3,E3,x3,zk,k3,R3,N3,Ek,D3,xk,L3,Kk,Qk,Yk,kk,q3,F3,Nn,Ak,Rp,ue,B3,J3,io,lo,H3,Dp,$3,kp,z3,Lp,Tk,qp,Fp,Mp,Up,a4,Ge,Zs,z,Zk,ef,tf,s4,eA,l4,c4,ol,u4,al,qn,rA,st,xe,Fn,k4,A4,T4,Ok,C4,P4,O4,R4,N4,L4,q4,F4,aA,Rk,Ap,Nk,Dk,Er,U4,j4,B4,J4,H4,Mn,Jp,pt,Cp,Fk,Mk,lA,Oe,Uk,jk,Bk,Jk,Hk,$k,Vk,W4,ee,ao,xr,$p,tl,mA,Pp,vA,Y4,ze,eH,tH,ar,Vp,Gp,Xs,rH,nH,iH,oH,aH,sH,lH,cH,uH,dH,zp,Dn,Rn,hH,mH,vH,Wp,bA,Kp,Qp,Yp,Xp,nl,Zp,il,QY,wA=k(()=>{"use strict";Yr();ta();wk=Object.getOwnPropertySymbols,v3=Object.prototype.hasOwnProperty,g3=Object.prototype.propertyIsEnumerable,y3=(e,t)=>{var r={};for(var n in e)v3.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&wk)for(var n of wk(e))t.indexOf(n)<0&&g3.call(e,n)&&(r[n]=e[n]);return r},Gk=Object.defineProperty,_3=Object.defineProperties,b3=Object.getOwnPropertyDescriptors,Ik=Object.getOwnPropertySymbols,w3=Object.prototype.hasOwnProperty,I3=Object.prototype.propertyIsEnumerable,Sk=(e,t,r)=>t in e?Gk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S3=(e,t)=>{for(var r in t||(t={}))w3.call(t,r)&&Sk(e,r,t[r]);if(Ik)for(var r of Ik(t))I3.call(t,r)&&Sk(e,r,t[r]);return e},E3=(e,t)=>_3(e,b3(t)),x3=(e,t)=>{for(var r in t)Gk(e,r,{get:t[r],enumerable:!0})},zk=(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},k3=(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}R3=(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))(R3||{});N3={log:no("log"),warn:no("warn"),info:no("info"),error:no("error"),debug:no("debug")};Object.assign(globalThis,{logger:N3});Ek=Symbol.for("Jolibox.canIUseMap"),D3={};globalThis[Ek]||(globalThis[Ek]=D3);xk=Symbol.for("Jolibox.canIUseMap.native"),L3={};globalThis[xk]||(globalThis[xk]=L3);Kk=(e=>(e[e.Other=0]="Other",e[e.Route=1]="Route",e[e.Click=2]="Click",e[e.View=3]="View",e[e.Expose=4]="Expose",e[e.Swipe=5]="Swipe",e[e.Input=6]="Input",e[e.Select=7]="Select",e[e.SwitchOn=8]="SwitchOn",e[e.SwitchOff=9]="SwitchOff",e[e.Submit=10]="Submit",e[e.Scroll=11]="Scroll",e[e.Hide=12]="Hide",e[e.System=1e3]="System",e[e.ErrorTrace=1001]="ErrorTrace",e[e.UserDefined=1002]="UserDefined",e))(Kk||{}),Qk=(e=>(e.MiniGame="mini-game",e.MiniDrama="mini-drama",e.App="app",e.WebSDK="web-sdk",e.AppSDK="app-sdk",e))(Qk||{}),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||{}),kk=["name","params"],q3=["name","type","location","target","extra","timestamp","userId"],F3=["platform","os","appVersion","appId","model","brand","uuid","jsSdkVersion","extra"];j3();Nn=typeof window=="undefined",Ak=()=>!Nn&&!!(navigator.userAgent||"").includes("JoliboxPlatformSDK");!Nn&&(navigator.userAgent.includes("iPhone")||navigator.userAgent.includes("iPod")||navigator.userAgent.includes("iPad")||navigator.userAgent.includes("iPhone OS")),!Nn&&navigator.userAgent.includes("Android"),!Nn&&navigator.userAgent.includes("Mac"),!Nn&&navigator.userAgent.includes("FB_IAB"),!Nn&&!navigator.userAgent.includes("iPhone")&&navigator.userAgent.includes("Android");Rp=class Np{constructor(t){this.element=t,this.next=Np.Undefined,this.prev=Np.Undefined}};Rp.Undefined=new Rp(void 0);ue=Rp,B3=class{constructor(){this._first=ue.Undefined,this._last=ue.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ue.Undefined}clear(){let e=this._first;for(;e!==ue.Undefined;){let t=e.next;e.prev=ue.Undefined,e.next=ue.Undefined,e=t}this._first=ue.Undefined,this._last=ue.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let r=new ue(e);if(this._first===ue.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!==ue.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ue.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ue.Undefined&&e.next!==ue.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ue.Undefined&&e.next===ue.Undefined?(this._first=ue.Undefined,this._last=ue.Undefined):e.next===ue.Undefined?(this._last=this._last.prev,this._last.next=ue.Undefined):e.prev===ue.Undefined&&(this._first=this._first.next,this._first.prev=ue.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ue.Undefined;)yield e.element,e=e.next}},J3=0,io=class{constructor(e){this.value=e,this.id=J3++}},lo=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 io&&(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 io(e);return this._listeners?this._listeners instanceof io?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 io)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 io?this._deliver(this._listeners,e):this._listeners.forEach(t=>this._deliver(t,e)))}hasListeners(){return this._size>0}},H3=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 lo,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 B3,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)}},Dp={};x3(Dp,{None:()=>$3,filter:()=>G3,once:()=>Xk,toPromise:()=>V3});$3=()=>(console.log("[Jolibox SDK] None Event"),()=>{console.log("[Jolibox SDK] None Event dispose")});kp=Symbol.for("Jolibox.hostEmitter"),z3=()=>{let e=new H3;return globalThis[kp]||(globalThis[kp]={on:e.on.bind(e),off:e.off.bind(e),emit:e.emit.bind(e),once:e.once.bind(e)}),globalThis[kp]};z3();Lp=class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new lo,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 W3(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}};Lp=zk([Wk],Lp);Tk=class{constructor(){this._onWillExecuteCommand=new lo,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this._onDidExecuteCommand=new lo,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this.registry=new Lp,this._starActivation=null}_activateStar(){return this._starActivation||(this._starActivation=A3(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 k3(this,null,function*(){return this.registry.getCommand(e)?this._tryExecuteCommand(e,r):(yield Promise.all([Promise.race([this._activateStar(),Dp.toPromise(Dp.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{}}};Tk=zk([Wk],Tk);qp=class{constructor(t){it(this,"context",void 0),it(this,"continueCallback",void 0),it(this,"adIsShowingCallback",void 0),it(this,"isBeforeAdCalled",!1),it(this,"isBeforeRewardCalled",!1),it(this,"isAdDismissedCalled",!1),it(this,"isAdViewedCalled",!1),it(this,"isAfterAdCalled",!1),it(this,"currentProvider",void 0),it(this,"currentClientParams",void 0),it(this,"adsHasResponse",!1),it(this,"videoChecker",window.document.createElement("video")),it(this,"contextInfo",void 0),it(this,"wrapShowAdFn",r=>()=>{var n,i,o;this.adsHasResponse=!0;let a=!1;this.videoChecker.play().catch(()=>{a=!1}),a=!this.videoChecker.paused,this.videoChecker.pause(),this.context.track("CallShowAdFn",Object.assign({},{userEvent:a},this.paramsToTrack)),Ak()&&this.context.track("mmp_ad_impression",{ad_network:(i=(n=this.currentProvider)==null?void 0:n.name)!=null?i:"",ad_format:"rewarded",module:"game",game_id:this.contextInfo.objectId}),(o=this.adIsShowingCallback)==null||o.call(this,!0),r()}),this.context=t,this.contextInfo=t.getContextInfo()}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,i,o;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),Ak()&&this.context.track("mmp_ad_impression",{ad_network:(o=(i=this.currentProvider)==null?void 0:i.name)!=null?o:"",ad_format:"interstitial",module:"game",game_id:this.contextInfo.objectId})))}}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 w(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")})})}};Fp=class{constructor(t){$s(this,"context",void 0),$s(this,"adBreakIsShowing",!1),$s(this,"reportPageJumpOut",()=>{this.context.track("AdBreakJumpOut",{context:"AdsActionDetection"})}),$s(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()})}};Mp=class{constructor(t){Vs(this,"configs",null),Vs(this,"firstRun",!0),Vs(this,"context",void 0),Vs(this,"contextInfo",void 0),this.context=t,this.contextInfo=this.context.getContextInfo(),this.init()}init(){return w(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}};Up=class{constructor(t,r){nr(this,"name","ADSENSE"),nr(this,"context",void 0),nr(this,"contextInfo",void 0),nr(this,"configured",!1),nr(this,"initParams",void 0),nr(this,"push",function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};window.adsbygoogle.push(n)}),nr(this,"adConfig",n=>{let i=n,{onReady:o}=i,a=y3(i,["onReady"]);this.context.track("CallAdConfig",a),this.configured?console.warn("Ad config already set, skipping"):(this.configured=!0,this.push(n))}),nr(this,"adBreak",n=>{if(!this.contextInfo.objectId){console.warn("Game ID is not set, skip calling adBreak");return}this.push(n)}),nr(this,"adUnit",n=>w(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 g=typeof d=="object"&&Array.isArray(d)?d.join(", "):d,_=document.createElement("ins");if(_.className="adsbygoogle",_.id="jolibox-ads",_.style.display="block",_.setAttribute("data-ad-client",this.initParams.clientId),_.setAttribute("data-ad-slot",m),g&&_.setAttribute("data-ad-format",g),u&&_.setAttribute("data-full-width-responsive",u),p&&_.setAttribute("style",p),(s=this.contextInfo.testAdsMode)!=null?s:!1){let v=document.createElement("div");v.style.position="absolute",v.style.top="0",v.style.left="0",v.style.width="100%",v.style.height="100%",v.style.display="flex",v.style.justifyContent="center",v.style.alignItems="center",v.style.backgroundColor="rgba(0, 0, 0, 0.5)",v.style.color="white",v.innerHTML="Test Ad",_.style.position="relative",f.appendChild(_),_.appendChild(v)}else f.appendChild(_),new MutationObserver(v=>{v.forEach(b=>{if(b.type==="attributes"&&b.attributeName==="data-ad-status"){let I=_.getAttribute("data-ad-status");this.context.track("AdSenseUnitStatusChanged",{status:I!=null?I:"null"})}})}).observe(_,{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 w(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&&i.setAttribute("data-admob-interstitial-slot",this.initParams.admobInterstitialSlot),this.initParams.admobRewardedSlot&&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)}})}};a4=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(o4(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=i4(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}(),Ge="-ms-",Zs="-moz-",z="-webkit-",Zk="comm",ef="rule",tf="decl",s4="@import",eA="@keyframes",l4="@layer",c4=Math.abs,ol=String.fromCharCode,u4=Object.assign;al=1,qn=1,rA=0,st=0,xe=0,Fn="";k4=function(e,t,r){for(var n=0,i=0;n=i,i=Ht(),n===38&&i===12&&(t[r]=1),!uo(i);)ft();return po(e,st)},A4=function(e,t){var r=-1,n=44;do switch(uo(n)){case 0:n===38&&Ht()===12&&(t[r]=1),e[r]+=k4(st-1,t,r);break;case 2:e[r]+=Ks(n);break;case 4:if(n===44){e[++r]=Ht()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ol(n)}while(n=ft());return e},T4=function(e,t){return iA(A4(nA(e),t))},Ok=new WeakMap,C4=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&&!Ok.get(r))&&!n){Ok.set(e,!0);for(var i=[],o=T4(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]}}},P4=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};O4=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tf:e.return=oA(e.value,e.length);break;case eA:return Ln([oo(e,{value:W(e.value,"@","@"+z)})],n);case ef:if(e.length)return f4(e.props,function(i){switch(p4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ln([oo(e,{props:[W(i,/:(read-\w+)/,":"+Zs+"$1")]})],n);case"::placeholder":return Ln([oo(e,{props:[W(i,/:(plac\w+)/,":"+z+"input-$1")]}),oo(e,{props:[W(i,/:(plac\w+)/,":"+Zs+"$1")]}),oo(e,{props:[W(i,/:(plac\w+)/,Ge+"input-$1")]})],n)}return""})}},R4=[O4],N4=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 g=m.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||R4,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),_=1;_<g.length;_++)i[g[_]]=!0;a.push(m)});var s,l=[C4,P4];{var c,d=[I4,E4(function(m){c.insert(m)})],u=S4(l.concat(n,d)),p=function(m){return Ln(b4(m),u)};s=function(m,g,_,v){c=_,p(m?m+"{"+g.styles+"}":g.styles),v&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new a4({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};L4={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},q4=/[A-Z]|^ms/g,F4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aA=function(e){return e.charCodeAt(1)===45},Rk=function(e){return e!=null&&typeof e!="boolean"},Ap=x4(function(e){return aA(e)?e:e.replace(q4,"-$&").toLowerCase()}),Nk=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(F4,function(r,n,i){return Er={name:n,styles:i,next:Er},n})}return L4[e]!==1&&!aA(e)&&typeof t=="number"&&t!==0?t+"px":t};Dk=/label:\s*([^\s;{]+)\s*(;|$)/g;U4=function(e,t,r){var n=e.key+"-"+t.name;e.registered[n]===void 0&&(e.registered[n]=t.styles)},j4=function(e,t,r){U4(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)}};B4=function(e){var t=N4(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=Tp(s,t.registered,void 0);return j4(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=Tp(s,t.registered),d="animation-"+c.name;return Lk(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=Tp(s,t.registered);Lk(t,c)},o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return qk(t.registered,r,J4(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:sA.bind(null,t.registered),merge:qk.bind(null,t.registered,r)}},J4=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},H4=B4({key:"css"}),Mn=H4.css,Mk=0,lA=[],Oe=R,Uk=Oe.__b,jk=Oe.__r,Bk=Oe.diffed,Jk=Oe.__c,Hk=Oe.unmount,$k=Oe.__;Oe.__b=function(e){pt=null,Uk&&Uk(e)},Oe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),$k&&$k(e,t)},Oe.__r=function(e){jk&&jk(e),Jp=0;var t=(pt=e.__c).__H;t&&(Cp===pt?(t.__h=[],pt.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(Ys),t.__h.forEach(Hp),t.__h=[],Jp=0)),Cp=pt},Oe.diffed=function(e){Bk&&Bk(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(lA.push(t)!==1&&Fk===Oe.requestAnimationFrame||((Fk=Oe.requestAnimationFrame)||G4)(V4)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Cp=pt=null},Oe.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ys),r.__h=r.__h.filter(function(n){return!n.__||Hp(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Oe.__e(n,r.__v)}}),Jk&&Jk(e,t)},Oe.unmount=function(e){Hk&&Hk(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ys(n)}catch(i){t=i}}),r.__H=void 0,t&&Oe.__e(t,r.__v))};Vk=typeof requestAnimationFrame=="function";W4=Symbol.for("preact-signals");ee=void 0,ao=void 0,xr=0,$p=0,tl=0;Ue.prototype.brand=W4;Ue.prototype.h=function(){return!0};Ue.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)};Ue.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)}};Ue.prototype.subscribe=function(e){var t=this;return ho(function(){var r=t.value,n=ee;ee=void 0;try{e(r)}finally{ee=n}})};Ue.prototype.valueOf=function(){return this.value};Ue.prototype.toString=function(){return this.value+""};Ue.prototype.toJSON=function(){return this.value};Ue.prototype.peek=function(){var e=ee;ee=void 0;try{return this.value}finally{ee=e}};Object.defineProperty(Ue.prototype,"value",{get:function(){var e=uA(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if($p>100)throw new Error("Cycle detected");this.v=e,this.i++,tl++,xr++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ll()}}}});(Un.prototype=new Ue).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===tl))return!0;if(this.g=tl,this.f|=1,this.i>0&&!dA(this))return this.f&=-2,!0;var e=ee;try{pA(this),ee=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 ee=e,fA(this),this.f&=-2,!0};Un.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)}Ue.prototype.S.call(this,e)};Un.prototype.U=function(e){if(this.t!==void 0&&(Ue.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)}};Un.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(Un.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=uA(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});fo.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()}};fo.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,hA(this),pA(this),xr++;var e=ee;return ee=this,K4.bind(this,e)};fo.prototype.N=function(){2&this.f||(this.f|=2,this.o=ao,ao=this)};fo.prototype.d=function(){this.f|=8,1&this.f||nf(this)};vA=[];ho(function(){mA=this.N})();gA.displayName="_st";Object.defineProperties(Ue.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:gA},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});jn("__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 Ue&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});jn("__r",function(e,t){rl();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=function(i){var o;return ho(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o}())),rl(r),e(t)});jn("__e",function(e,t,r,n){rl(),e(t,r,n)});jn("diffed",function(e,t){rl();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=Q4(r,l,d,i),o[l]=c):c.o(d,i)}}}e(t)});jn("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)});jn("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});lt.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};Y4=function(e){queueMicrotask(function(){queueMicrotask(e)})};ze=Mn`
608
608
  inset: 0;
609
609
  clear: none;
610
610
  float: none;
@@ -749,7 +749,7 @@ or `);this.errors.push(o)}return n}},ks=class extends xe{constructor(...t){super
749
749
  width: 100%;
750
750
  height: 100%;
751
751
  }
752
- `,dH=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=Ei(()=>sH(),[]),[p,f]=Zo(!1),m=_=>{var v,b,I,A;s.value=!1,_==="dismiss"?(v=n.value)==null||v.call(n):_==="viewed"&&((b=i.value)==null||b.call(i)),(I=r.value)==null||I.call(r),(A=o.value)==null||A.call(o),f(!1)},g=cn(()=>{var _;p||(f(!0),(_=a.value)==null||_.call(a))},[p]);return Si(()=>{p&&(d.value==="reward"||d.value==="rewarded_insterstitial")&&setTimeout(()=>{u.startTimer()},100)},[p,d.value]),s.value?ge("div",{className:uH,children:[ge(lH,{mode:d.value,onClose:m,countdown:l.value,state:u}),s.value&&ge("iframe",{src:c.value,onLoad:g,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"}),ge(oH,{})]}):null};zp=class{constructor(t,r){ir(this,"name","OKSPIN"),ir(this,"initialized",!1),ir(this,"initCompleter",null),ir(this,"context",void 0),ir(this,"initParams",void 0),ir(this,"adsOverlay",null),ir(this,"adsIsShowing",!1),ir(this,"lastUnDisplayedAdBreak",null),ir(this,"state",cH()),this.context=t,this.initParams=r}init(){return w(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg"),lu(ge(dH,{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 w(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"})};at(()=>{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 v;this.adsIsShowing=!1,(v=t.afterAd)==null||v.call(t)},p={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},f=()=>{var v;this.adsIsShowing=!1,p.breakStatus="dismissed",(v=t.adDismissed)==null||v.call(t)},m=()=>{var v;this.adsIsShowing=!1,p.breakStatus="viewed",(v=t.adViewed)==null||v.call(t)},g=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,p)};at(()=>{this.state.afterAd.value=u,this.state.adDismissed.value=f,this.state.adViewed.value=m,this.state.adBreakDone.value=g});let _=()=>{var v;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,at(()=>{var b;this.state.countdown.value=(b=r.params.countdown)!=null?b: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,_);break}}})}},Dn={};window.addEventListener("message",e=>{e.origin!=="https://ads.appsrockets.com"&&e.origin!=="https://stg-ads.appsrockets.com"||Dn[e.data.type]&&Dn[e.data.type].forEach(t=>{t(e.data.data)})});Rn=(e,t)=>{Si(()=>(Dn[e]||(Dn[e]=new Set),Dn[e].add(t),()=>{Dn[e].delete(t)}),[e,t])},hH=()=>{let e=re(),t=re(),r=re(),n=re(),i=re(),o=re(),a=re(),s=re(!1),l=re("");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,adLinkClicked:o,adError:a,visible:s,src:l}},mH=Mn`
752
+ `,dH=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=xi(()=>sH(),[]),[p,f]=Zo(!1),m=_=>{var v,b,I,A;s.value=!1,_==="dismiss"?(v=n.value)==null||v.call(n):_==="viewed"&&((b=i.value)==null||b.call(i)),(I=r.value)==null||I.call(r),(A=o.value)==null||A.call(o),f(!1)},g=cn(()=>{var _;p||(f(!0),(_=a.value)==null||_.call(a))},[p]);return Si(()=>{p&&(d.value==="reward"||d.value==="rewarded_insterstitial")&&setTimeout(()=>{u.startTimer()},100)},[p,d.value]),s.value?ge("div",{className:uH,children:[ge(lH,{mode:d.value,onClose:m,countdown:l.value,state:u}),s.value&&ge("iframe",{src:c.value,onLoad:g,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"}),ge(oH,{})]}):null};zp=class{constructor(t,r){ir(this,"name","OKSPIN"),ir(this,"initialized",!1),ir(this,"initCompleter",null),ir(this,"context",void 0),ir(this,"initParams",void 0),ir(this,"adsOverlay",null),ir(this,"adsIsShowing",!1),ir(this,"lastUnDisplayedAdBreak",null),ir(this,"state",cH()),this.context=t,this.initParams=r}init(){return w(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg"),lu(ge(dH,{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 w(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"})};at(()=>{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 v;this.adsIsShowing=!1,(v=t.afterAd)==null||v.call(t)},p={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},f=()=>{var v;this.adsIsShowing=!1,p.breakStatus="dismissed",(v=t.adDismissed)==null||v.call(t)},m=()=>{var v;this.adsIsShowing=!1,p.breakStatus="viewed",(v=t.adViewed)==null||v.call(t)},g=()=>{var v;this.adsIsShowing=!1,(v=t.adBreakDone)==null||v.call(t,p)};at(()=>{this.state.afterAd.value=u,this.state.adDismissed.value=f,this.state.adViewed.value=m,this.state.adBreakDone.value=g});let _=()=>{var v;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(v=t.adBreakDone)==null||v.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,at(()=>{var b;this.state.countdown.value=(b=r.params.countdown)!=null?b: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,_);break}}})}},Dn={};window.addEventListener("message",e=>{e.origin!=="https://ads.appsrockets.com"&&e.origin!=="https://stg-ads.appsrockets.com"||Dn[e.data.type]&&Dn[e.data.type].forEach(t=>{t(e.data.data)})});Rn=(e,t)=>{Si(()=>(Dn[e]||(Dn[e]=new Set),Dn[e].add(t),()=>{Dn[e].delete(t)}),[e,t])},hH=()=>{let e=re(),t=re(),r=re(),n=re(),i=re(),o=re(),a=re(),s=re(!1),l=re("");return{afterAd:e,adDismissed:t,adViewed:r,adBreakDone:n,adLoaded:i,adLinkClicked:o,adError:a,visible:s,src:l}},mH=Mn`
753
753
  ${ze}
754
754
  position: fixed;
755
755
  z-index: 2147483647;
@@ -768,7 +768,7 @@ or `);this.errors.push(o)}return n}},ks=class extends xe{constructor(...t){super
768
768
  width: 100%;
769
769
  height: 100%;
770
770
  }
771
- `,vH=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,adLinkClicked:s,visible:l,src:c}=t,[d,u]=Zo(!1),p=m=>{var g,_,v,b;u(!1),l.value=!1,m==="dismiss"?(g=n.value)==null||g.call(n):m==="viewed"&&((_=i.value)==null||_.call(i)),(v=r.value)==null||v.call(r),(b=o.value)==null||b.call(o)},f=()=>{var m;(m=a.value)==null||m.call(a)};return Rn("appsrockets_ad_dismissed",()=>p("dismiss")),Rn("appsrockets_ad_rewarded",()=>p("viewed")),Rn("appsrockets_ad_completed",()=>p("viewed")),Rn("appsrockets_ad_skipped",()=>p("viewed")),Rn("appsrockets_ad_clicked",m=>{var g;return(g=s.value)==null?void 0:g.call(s,m)}),Rn("appsrockets_ad_loaded",()=>u(!0)),l.value?ge("div",{className:mH,style:{display:d?"flex":"none"},children:l.value&&ge("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};Wp=class{constructor(t,r){or(this,"name","APPSROCKETS"),or(this,"initialized",!1),or(this,"initCompleter",null),or(this,"context",void 0),or(this,"adsOverlay",null),or(this,"adsIsShowing",!1),or(this,"lastUnDisplayedAdBreak",null),or(this,"state",hH()),or(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 w(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg-appsrockets"),lu(ge(vH,{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 g;this.adsIsShowing=!1,(g=t.afterAd)==null||g.call(t)},f=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})},m=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"noAdPreloaded"})};at(()=>{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 I;this.adsIsShowing=!1,(I=t.afterAd)==null||I.call(t)},f={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},m=()=>{var I;this.adsIsShowing=!1,f.breakStatus="dismissed",(I=t.adDismissed)==null||I.call(t)},g=()=>{var I;this.adsIsShowing=!1,f.breakStatus="viewed",(I=t.adViewed)==null||I.call(t)},_=()=>{var I;this.adsIsShowing=!1,(I=t.adBreakDone)==null||I.call(t,f)},v=()=>{this.adsIsShowing=!1,f.breakStatus="noAdPreloaded"};at(()=>{this.state.afterAd.value=p,this.state.adDismissed.value=m,this.state.adViewed.value=g,this.state.adBreakDone.value=_,this.state.adLinkClicked.value=u,this.state.adError.value=v});let b=()=>{var I;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(I=t.adBreakDone)==null||I.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,at(()=>{this.state.src.value=this.processUrl(r.params.url),this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,b);break}}}},bA=()=>{window.googletag=window.googletag||{cmd:[]},window.googletag.pubadsReady||window.googletag.cmd.push(()=>{window.googletag.enableServices()})};Kp=class{constructor(t,r,n){Ve(this,"adUnit",void 0),Ve(this,"project",void 0),Ve(this,"keyValue",void 0),Ve(this,"adsContext",null),Ve(this,"rewardedSlot",null),Ve(this,"rewardedPayload",null),Ve(this,"readyEvent",null),Ve(this,"withCommand",function(){googletag.cmd.push(...arguments)}),Ve(this,"init",()=>{var i;this.rewardedSlot=googletag.defineOutOfPageSlot(this.adUnit,googletag.enums.OutOfPageFormat.REWARDED),this.rewardedSlot&&(this.rewardedSlot.addService(googletag.pubads()),googletag.pubads().addEventListener("rewardedSlotReady",this.handleSlotReady),googletag.pubads().addEventListener("rewardedSlotClosed",this.handleSlotClosed),googletag.pubads().addEventListener("rewardedSlotGranted",this.handleSlotGranted),googletag.pubads().addEventListener("slotRenderEnded",this.handleSlotRenderEnded),this.keyValue&&(Object.keys(this.keyValue).forEach(o=>{var a;(a=this.rewardedSlot)==null||a.setTargeting(o,this.keyValue[o])}),Object.keys(this.keyValue).includes("project")||(i=this.rewardedSlot)==null||i.setTargeting("project",this.project)),googletag.display(this.rewardedSlot))}),Ve(this,"destroy",i=>{var o,a;this.rewardedPayload=null,this.readyEvent=null,googletag.pubads().removeEventListener("rewardedSlotReady",this.handleSlotReady),googletag.pubads().removeEventListener("rewardedSlotClosed",this.handleSlotClosed),googletag.pubads().removeEventListener("rewardedSlotGranted",this.handleSlotGranted),googletag.pubads().removeEventListener("slotRenderEnded",this.handleSlotRenderEnded),this.rewardedSlot&&(googletag.destroySlots([this.rewardedSlot]),this.rewardedSlot=null),(a=(o=this.adsContext)==null?void 0:o.adBreakDone)==null||a.call(o,i),this.adsContext=null}),Ve(this,"reinit",i=>{this.destroy(i),this.init()}),Ve(this,"handleSlotReady",i=>{i.slot===this.rewardedSlot&&(this.readyEvent=i)}),Ve(this,"handleSlotClosed",i=>{var o,a;if(this.adsContext&&i.slot===this.rewardedSlot){let s=this.rewardedPayload?"viewed":"dismissed";s==="viewed"?this.adsContext.adViewed():this.adsContext.adDismissed(),(a=(o=this.adsContext).afterAd)==null||a.call(o),this.withCommand(()=>{this.reinit(s)})}}),Ve(this,"handleSlotGranted",i=>{this.adsContext&&i.slot===this.rewardedSlot&&(this.rewardedPayload=i.payload)}),Ve(this,"handleSlotRenderEnded",i=>{i.slot===this.rewardedSlot&&i.isEmpty&&this.adsContext&&this.withCommand(()=>{this.reinit("frequencyCapped")})}),Ve(this,"requestAds",i=>{this.withCommand(()=>{if(this.adsContext&&this.reinit("ignored"),this.rewardedSlot||this.init(),this.adsContext=i,!this.rewardedSlot){this.reinit("notReady");return}if(this.readyEvent)this.adsContext.beforeReward(()=>{var o,a,s;(a=(o=this.adsContext)==null?void 0:o.beforeAd)==null||a.call(o),(s=this.readyEvent)==null||s.makeRewardedVisible()});else{let o=a=>{a.slot===this.rewardedSlot&&this.adsContext&&(googletag.pubads().removeEventListener("rewardedSlotReady",o),this.readyEvent=a,this.adsContext.beforeReward(()=>{var s,l,c;(l=(s=this.adsContext)==null?void 0:s.beforeAd)==null||l.call(s),(c=this.readyEvent)==null||c.makeRewardedVisible()}))};googletag.pubads().addEventListener("rewardedSlotReady",o),window.setTimeout(()=>{this.readyEvent||(this.reinit("timeout"),googletag.pubads().removeEventListener("rewardedSlotReady",o))},500)}})}),this.adUnit=t,this.project=r,this.keyValue=n,bA(),this.withCommand(()=>{this.init()})}};Qp=class{constructor(t,r,n){var i=this;ot(this,"adUnit",void 0),ot(this,"project",void 0),ot(this,"keyValue",void 0),ot(this,"adsContext",null),ot(this,"gamingInterstitialSlot",null),ot(this,"readyEvent",null),ot(this,"isRetrying",!1),ot(this,"withCommand",function(){googletag.cmd.push(...arguments)}),ot(this,"init",()=>{var o;this.gamingInterstitialSlot=googletag.defineOutOfPageSlot(this.adUnit,googletag.enums.OutOfPageFormat.GAME_MANUAL_INTERSTITIAL),this.gamingInterstitialSlot&&(this.gamingInterstitialSlot.addService(googletag.pubads()),googletag.pubads().addEventListener("gameManualInterstitialSlotReady",this.handleSlotReady),googletag.pubads().addEventListener("gameManualInterstitialSlotClosed",this.handleSlotClosed),this.keyValue&&(Object.keys(this.keyValue).forEach(a=>{var s;(s=this.gamingInterstitialSlot)==null||s.setTargeting(a,this.keyValue[a])}),Object.keys(this.keyValue).includes("project")||(o=this.gamingInterstitialSlot)==null||o.setTargeting("project",this.project)),googletag.display(this.gamingInterstitialSlot))}),ot(this,"destroy",function(o){var a,s;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&((s=(a=i.adsContext)==null?void 0:a.onEnd)==null||s.call(a,o),i.adsContext=null),googletag.pubads().removeEventListener("gameManualInterstitialSlotReady",i.handleSlotReady),googletag.pubads().removeEventListener("gameManualInterstitialSlotClosed",i.handleSlotClosed),i.gamingInterstitialSlot&&(googletag.destroySlots([i.gamingInterstitialSlot]),i.gamingInterstitialSlot=null,i.readyEvent=null)}),ot(this,"reinit",function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;i.destroy(o,a),i.init()}),ot(this,"handleSlotReady",o=>{this.gamingInterstitialSlot===o.slot&&(this.readyEvent=o)}),ot(this,"handleSlotClosed",o=>{var a,s;this.adsContext&&this.gamingInterstitialSlot===o.slot&&((s=(a=this.adsContext).afterAd)==null||s.call(a),this.withCommand(()=>{this.reinit("viewed")}))}),ot(this,"requestAds",o=>{this.withCommand(()=>{var a,s,l;if(this.adsContext&&this.reinit("ignored"),this.gamingInterstitialSlot||this.init(),this.adsContext=o,!this.gamingInterstitialSlot){this.reinit("notReady");return}this.readyEvent?((a=o.beforeAd)==null||a.call(o),this.readyEvent.makeGameManualInterstitialVisible()):((l=(s=this.adsContext).onEnd)==null||l.call(s,"frequencyCapped"),this.adsContext=null,this.isRetrying||(this.isRetrying=!0,window.setTimeout(()=>{this.readyEvent||this.withCommand(()=>{this.reinit("frequencyCapped",!1)}),this.isRetrying=!1},31e3)))})}),bA(),this.adUnit=t,this.project=r,this.keyValue=n,this.withCommand(()=>{this.init()})}};Yp=class{constructor(t,r){Vr(this,"name","GOOGLE_GPT"),Vr(this,"context",void 0),Vr(this,"contextInfo",void 0),Vr(this,"initParams",void 0),Vr(this,"rewardAdManager",void 0),Vr(this,"interstitialManager",void 0),Vr(this,"insertScript",()=>{let n="jolibox-google-gpt",i=document.getElementById(n);i||(i=window.document.createElement("script"),i.id=n,i.async=!0,i.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",i.crossOrigin="anonymous",document.head.appendChild(i))}),this.context=t,this.contextInfo=this.context.getContextInfo(),this.initParams=r,this.insertScript()}init(){return w(this,null,function*(){let t=this.contextInfo.testAdsMode?"/22639388115/rewarded_web_example":this.initParams.rewardedSlot,r=this.contextInfo.testAdsMode?"/6355419/Travel/Europe/France/Paris":this.initParams.interstitialSlot,n=`minigame-${this.contextInfo.runtimeType==="APP"?"app":"h5"}`;t&&(this.rewardAdManager=new Kp(t,n,this.initParams.keyValue)),r&&(this.interstitialManager=new Qp(r,n,this.initParams.keyValue))})}adConfig(t,r){}adBreak(t,r){var n,i,o;switch(t.type){case"preroll":{(n=t.adBreakDone)==null||n.call(t,{breakType:"preroll",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"reward":{if(!this.rewardAdManager){(i=t.adBreakDone)==null||i.call(t,{breakName:t.name,breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}this.rewardAdManager.requestAds({beforeAd:t.beforeAd,afterAd:t.afterAd,adDismissed:t.adDismissed,adViewed:t.adViewed,beforeReward:t.beforeReward,adBreakDone:a=>{var s;(s=t.adBreakDone)==null||s.call(t,{breakName:t.name,breakType:t.type,breakFormat:"reward",breakStatus:a})}});break}default:{if(!this.interstitialManager){(o=t.adBreakDone)==null||o.call(t,{breakName:t.name,breakType:t.type,breakFormat:"interstitial",breakStatus:"noAdPreloaded"});return}this.interstitialManager.requestAds({beforeAd:t.beforeAd,afterAd:t.afterAd,onEnd:a=>{var s;(s=t.adBreakDone)==null||s.call(t,{breakName:t.name,breakType:t.type,breakFormat:"interstitial",breakStatus:a})}});break}}}};Xp=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GAME";Op(this,"context",void 0),Op(this,"placement","GAME"),Op(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:Yk.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:Kk.System,location:this.getLocation(),target:null,extra:r,timestamp:Date.now(),userId:(n=this.contextInfo.userId)!=null?n:null}],device:this.getDevice(),project:Qk.WebSDK};return j3(i)}};nl=class{constructor(t){Xe(this,"context",void 0),Xe(this,"adsTrackSerializer",void 0),Xe(this,"contextInfo",void 0),this.context=t,this.contextInfo=t.getContextInfo(),this.adsTrackSerializer=new Xp(this.context)}getRequestContextData(t){var r,n;this.contextInfo=this.context.getContextInfo();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}}},Zp=class{constructor(t,r){var n=this;Xe(this,"context",void 0),Xe(this,"contextInfo",void 0),Xe(this,"requestContext",void 0),Xe(this,"pendingAFGAdsInfo",{REWARD:Promise.resolve(null),INTERSTITIAL:Promise.resolve(null)}),Xe(this,"pendingAFVAdsInfo",Promise.resolve(null)),Xe(this,"doFetchAdsInfo",i=>w(this,null,function*(){let o=i==="afv"?"AdsAFVSDKRequest":"AdsAFGSDKAdBreak",a=i==="afv"?"REWARD_INTERSTITIAL":i==="reward"?"REWARD":"INTERSTITIAL",s=i==="afv"?void 0:"cached",{data:l,code:c}=yield this.context.httpClient.post("/api/ads/info",{data:{contextData:this.requestContext.getRequestContextData(o),bizParams:this.requestContext.getRequestBizParams(),adsType:a,testAdsMode:this.contextInfo.testAdsMode,name:s}});return c==="SUCCESS"||c==="BYPASS_ADS"?{code:c,data:l}:null})),Xe(this,"cacheRewardInfo",()=>{this.pendingAFGAdsInfo.REWARD=this.doFetchAdsInfo("reward").catch(()=>null)}),Xe(this,"cacheInterstitialInfo",i=>{this.pendingAFGAdsInfo.INTERSTITIAL=this.doFetchAdsInfo(i).catch(()=>null)}),Xe(this,"cacheAFVInfo",()=>{this.pendingAFVAdsInfo=this.doFetchAdsInfo("afv").catch(()=>null)}),Xe(this,"cacheNextAFGAdsInfo",i=>w(this,null,function*(){i==="reward"?this.cacheRewardInfo():this.cacheInterstitialInfo(i)})),Xe(this,"getAFGAdsInfo",i=>w(this,null,function*(){let o=yield i==="reward"?this.pendingAFGAdsInfo.REWARD:this.pendingAFGAdsInfo.INTERSTITIAL;return this.cacheNextAFGAdsInfo(i),o})),Xe(this,"getAFVAdsInfo",function(){return w(this,arguments,function*(){if(!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]){let i=yield n.pendingAFVAdsInfo;return n.cacheAFVInfo(),i}else return n.cacheAFVInfo(),yield n.pendingAFVAdsInfo})}),this.context=t,this.contextInfo=this.context.getContextInfo(),this.requestContext=new nl(t),r!=null&&r.reward&&this.cacheRewardInfo(),r!=null&&r.interstitial&&this.cacheInterstitialInfo("start"),r!=null&&r.afv&&this.cacheAFVInfo()}};il=class{constructor(t){if(At(this,"context",void 0),At(this,"contextInfo",void 0),At(this,"providers",{}),At(this,"channelPolicy",void 0),At(this,"adsActionDetection",void 0),At(this,"requestContext",void 0),At(this,"adsRequest",void 0),At(this,"initialized",!1),At(this,"adsIsShowing",!1),At(this,"lastAdBreak",void 0),At(this,"initializedTimeStamp",Date.now()),t)this.context=t,this.channelPolicy=new Mp(this.context),this.adsActionDetection=new Fp(this.context),this.contextInfo=this.context.getContextInfo(),this.adsRequest=new Zp(t),this.requestContext=new nl(t);else throw new Error("JoliboxAdsForGame requires a configuration object")}init(t){return w(this,null,function*(){window.adsbygoogle=window.adsbygoogle||[];let{data:r}=yield this.context.httpClient.post("/api/ads/init",{data:{contextData:this.requestContext.getRequestContextData("AdsAFGSDKInit"),bizParams:this.requestContext.getRequestBizParams(),testAdsMode:this.contextInfo.testAdsMode}});if((r==null?void 0:r.length)>0)for(let n of r)switch(n.provider){case"GOOGLE_GPT":{let i=new Yp(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"ADSENSE":case"ADSENSE_ADMOB":{let i=new jp(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"OKSPIN":{let i=new zp(this.context,n.params);yield i.init(),this.providers.OKSPIN=i;break}case"APPSROCKETS":{let i=new Wp(this.context,n.params);yield i.init(),this.providers.APPSROCKETS=i;break}}this.adsRequest.cacheInterstitialInfo("start"),this.adsRequest.cacheRewardInfo(),this.initialized=!0})}adConfig(t){this.providers.ADSENSE?this.providers.ADSENSE.adConfig(t):window.adsbygoogle.push(t)}adBreak(t){return w(this,null,function*(){var r,n,i,o,a,s,l,c,d,u,p,f,m,g;let _=Date.now();if(_-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&&_-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=_,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 v=yield this.adsRequest.getAFGAdsInfo(t.type),b=v==null?void 0:v.data,I=v==null?void 0:v.code;if(I==="BYPASS_ADS"){switch(t.type){case"preroll":{(s=t.adBreakDone)==null||s.call(t,{breakType:t.type,breakFormat:"interstitial",breakStatus:"viewed"});break}case"reward":{t.beforeReward(()=>{var A,C,O,E;(A=t.beforeAd)==null||A.call(t),(C=t.adViewed)==null||C.call(t),(O=t.afterAd)==null||O.call(t),(E=t.adBreakDone)==null||E.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"viewed"})});break}default:{(l=t.beforeAd)==null||l.call(t),(c=t.afterAd)==null||c.call(t),(d=t.adBreakDone)==null||d.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"});break}}return}if(!b||I!=="SUCCESS"){(u=t.adBreakDone)==null||u.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}else{let A=b.sort((P,J)=>P.seq-J.seq);if(A.length===0){(p=t.adBreakDone)==null||p.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}let C=!0,O=null,E=new qp(this.context);for(this.adsActionDetection.adBreakIsShowing=!0;A.length>0;){let P=A.shift(),J=this.providers[P.provider];if(J){let[We,q]=yield E.callAdBreakAndContinue(J,t,P,Re=>{var Ne;this.adsIsShowing=Re,(Ne=this.context.eventEmitter)==null||Ne.emit("isAdShowing",Re)});C=We,O=q}else C=!0,O={breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"};if(!C)break}C&&O&&((f=t.adBreakDone)==null||f.call(t,O))}}catch(v){(m=t.adBreakDone)==null||m.call(t,{breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})}finally{this.adsIsShowing=!1,(g=this.context.eventEmitter)==null||g.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.")}},QY=Mn`
771
+ `,vH=e=>{let{state:t}=e,{afterAd:r,adDismissed:n,adViewed:i,adBreakDone:o,adLoaded:a,adLinkClicked:s,visible:l,src:c}=t,[d,u]=Zo(!1),p=m=>{var g,_,v,b;u(!1),l.value=!1,m==="dismiss"?(g=n.value)==null||g.call(n):m==="viewed"&&((_=i.value)==null||_.call(i)),(v=r.value)==null||v.call(r),(b=o.value)==null||b.call(o)},f=()=>{var m;(m=a.value)==null||m.call(a)};return Rn("appsrockets_ad_dismissed",()=>p("dismiss")),Rn("appsrockets_ad_rewarded",()=>p("viewed")),Rn("appsrockets_ad_completed",()=>p("viewed")),Rn("appsrockets_ad_skipped",()=>p("viewed")),Rn("appsrockets_ad_clicked",m=>{var g;return(g=s.value)==null?void 0:g.call(s,m)}),Rn("appsrockets_ad_loaded",()=>u(!0)),l.value?ge("div",{className:mH,style:{display:d?"flex":"none"},children:l.value&&ge("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};Wp=class{constructor(t,r){or(this,"name","APPSROCKETS"),or(this,"initialized",!1),or(this,"initCompleter",null),or(this,"context",void 0),or(this,"adsOverlay",null),or(this,"adsIsShowing",!1),or(this,"lastUnDisplayedAdBreak",null),or(this,"state",hH()),or(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 w(this,null,function*(){var t;this.adsOverlay=document.createElement("div"),this.adsOverlay.setAttribute("data-placement-info","afg-appsrockets"),lu(ge(vH,{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 g;this.adsIsShowing=!1,(g=t.afterAd)==null||g.call(t)},f=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"})},m=()=>{var g;this.adsIsShowing=!1,(g=t.adBreakDone)==null||g.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"noAdPreloaded"})};at(()=>{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 I;this.adsIsShowing=!1,(I=t.afterAd)==null||I.call(t)},f={breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"ignored"},m=()=>{var I;this.adsIsShowing=!1,f.breakStatus="dismissed",(I=t.adDismissed)==null||I.call(t)},g=()=>{var I;this.adsIsShowing=!1,f.breakStatus="viewed",(I=t.adViewed)==null||I.call(t)},_=()=>{var I;this.adsIsShowing=!1,(I=t.adBreakDone)==null||I.call(t,f)},v=()=>{this.adsIsShowing=!1,f.breakStatus="noAdPreloaded"};at(()=>{this.state.afterAd.value=p,this.state.adDismissed.value=m,this.state.adViewed.value=g,this.state.adBreakDone.value=_,this.state.adLinkClicked.value=u,this.state.adError.value=v});let b=()=>{var I;if(this.lastUnDisplayedAdBreak=null,!this.adsOverlay){(I=t.adBreakDone)==null||I.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"notReady"});return}this.adsIsShowing=!0,at(()=>{this.state.src.value=this.processUrl(r.params.url),this.state.visible.value=!0})};this.lastUnDisplayedAdBreak=t,(d=t.beforeReward)==null||d.call(t,b);break}}}},bA=()=>{window.googletag=window.googletag||{cmd:[]},window.googletag.pubadsReady||window.googletag.cmd.push(()=>{window.googletag.enableServices()})};Kp=class{constructor(t,r,n){Ve(this,"adUnit",void 0),Ve(this,"project",void 0),Ve(this,"keyValue",void 0),Ve(this,"adsContext",null),Ve(this,"rewardedSlot",null),Ve(this,"rewardedPayload",null),Ve(this,"readyEvent",null),Ve(this,"withCommand",function(){googletag.cmd.push(...arguments)}),Ve(this,"init",()=>{var i;this.rewardedSlot=googletag.defineOutOfPageSlot(this.adUnit,googletag.enums.OutOfPageFormat.REWARDED),this.rewardedSlot&&(this.rewardedSlot.addService(googletag.pubads()),googletag.pubads().addEventListener("rewardedSlotReady",this.handleSlotReady),googletag.pubads().addEventListener("rewardedSlotClosed",this.handleSlotClosed),googletag.pubads().addEventListener("rewardedSlotGranted",this.handleSlotGranted),googletag.pubads().addEventListener("slotRenderEnded",this.handleSlotRenderEnded),this.keyValue&&(Object.keys(this.keyValue).forEach(o=>{var a;(a=this.rewardedSlot)==null||a.setTargeting(o,this.keyValue[o])}),Object.keys(this.keyValue).includes("project")||(i=this.rewardedSlot)==null||i.setTargeting("project",this.project)),googletag.display(this.rewardedSlot))}),Ve(this,"destroy",i=>{var o,a;this.rewardedPayload=null,this.readyEvent=null,googletag.pubads().removeEventListener("rewardedSlotReady",this.handleSlotReady),googletag.pubads().removeEventListener("rewardedSlotClosed",this.handleSlotClosed),googletag.pubads().removeEventListener("rewardedSlotGranted",this.handleSlotGranted),googletag.pubads().removeEventListener("slotRenderEnded",this.handleSlotRenderEnded),this.rewardedSlot&&(googletag.destroySlots([this.rewardedSlot]),this.rewardedSlot=null),(a=(o=this.adsContext)==null?void 0:o.adBreakDone)==null||a.call(o,i),this.adsContext=null}),Ve(this,"reinit",i=>{this.destroy(i),this.init()}),Ve(this,"handleSlotReady",i=>{i.slot===this.rewardedSlot&&(this.readyEvent=i)}),Ve(this,"handleSlotClosed",i=>{var o,a;if(this.adsContext&&i.slot===this.rewardedSlot){let s=this.rewardedPayload?"viewed":"dismissed";s==="viewed"?this.adsContext.adViewed():this.adsContext.adDismissed(),(a=(o=this.adsContext).afterAd)==null||a.call(o),this.withCommand(()=>{this.reinit(s)})}}),Ve(this,"handleSlotGranted",i=>{this.adsContext&&i.slot===this.rewardedSlot&&(this.rewardedPayload=i.payload)}),Ve(this,"handleSlotRenderEnded",i=>{i.slot===this.rewardedSlot&&i.isEmpty&&this.adsContext&&this.withCommand(()=>{this.reinit("frequencyCapped")})}),Ve(this,"requestAds",i=>{this.withCommand(()=>{if(this.adsContext&&this.reinit("ignored"),this.rewardedSlot||this.init(),this.adsContext=i,!this.rewardedSlot){this.reinit("notReady");return}if(this.readyEvent)this.adsContext.beforeReward(()=>{var o,a,s;(a=(o=this.adsContext)==null?void 0:o.beforeAd)==null||a.call(o),(s=this.readyEvent)==null||s.makeRewardedVisible()});else{let o=a=>{a.slot===this.rewardedSlot&&this.adsContext&&(googletag.pubads().removeEventListener("rewardedSlotReady",o),this.readyEvent=a,this.adsContext.beforeReward(()=>{var s,l,c;(l=(s=this.adsContext)==null?void 0:s.beforeAd)==null||l.call(s),(c=this.readyEvent)==null||c.makeRewardedVisible()}))};googletag.pubads().addEventListener("rewardedSlotReady",o),window.setTimeout(()=>{this.readyEvent||(this.reinit("timeout"),googletag.pubads().removeEventListener("rewardedSlotReady",o))},500)}})}),this.adUnit=t,this.project=r,this.keyValue=n,bA(),this.withCommand(()=>{this.init()})}};Qp=class{constructor(t,r,n){var i=this;ot(this,"adUnit",void 0),ot(this,"project",void 0),ot(this,"keyValue",void 0),ot(this,"adsContext",null),ot(this,"gamingInterstitialSlot",null),ot(this,"readyEvent",null),ot(this,"isRetrying",!1),ot(this,"withCommand",function(){googletag.cmd.push(...arguments)}),ot(this,"init",()=>{var o;this.gamingInterstitialSlot=googletag.defineOutOfPageSlot(this.adUnit,googletag.enums.OutOfPageFormat.GAME_MANUAL_INTERSTITIAL),this.gamingInterstitialSlot&&(this.gamingInterstitialSlot.addService(googletag.pubads()),googletag.pubads().addEventListener("gameManualInterstitialSlotReady",this.handleSlotReady),googletag.pubads().addEventListener("gameManualInterstitialSlotClosed",this.handleSlotClosed),this.keyValue&&(Object.keys(this.keyValue).forEach(a=>{var s;(s=this.gamingInterstitialSlot)==null||s.setTargeting(a,this.keyValue[a])}),Object.keys(this.keyValue).includes("project")||(o=this.gamingInterstitialSlot)==null||o.setTargeting("project",this.project)),googletag.display(this.gamingInterstitialSlot))}),ot(this,"destroy",function(o){var a,s;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&((s=(a=i.adsContext)==null?void 0:a.onEnd)==null||s.call(a,o),i.adsContext=null),googletag.pubads().removeEventListener("gameManualInterstitialSlotReady",i.handleSlotReady),googletag.pubads().removeEventListener("gameManualInterstitialSlotClosed",i.handleSlotClosed),i.gamingInterstitialSlot&&(googletag.destroySlots([i.gamingInterstitialSlot]),i.gamingInterstitialSlot=null,i.readyEvent=null)}),ot(this,"reinit",function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;i.destroy(o,a),i.init()}),ot(this,"handleSlotReady",o=>{this.gamingInterstitialSlot===o.slot&&(this.readyEvent=o)}),ot(this,"handleSlotClosed",o=>{var a,s;this.adsContext&&this.gamingInterstitialSlot===o.slot&&((s=(a=this.adsContext).afterAd)==null||s.call(a),this.withCommand(()=>{this.reinit("viewed")}))}),ot(this,"requestAds",o=>{this.withCommand(()=>{var a,s,l;if(this.adsContext&&this.reinit("ignored"),this.gamingInterstitialSlot||this.init(),this.adsContext=o,!this.gamingInterstitialSlot){this.reinit("notReady");return}this.readyEvent?((a=o.beforeAd)==null||a.call(o),this.readyEvent.makeGameManualInterstitialVisible()):((l=(s=this.adsContext).onEnd)==null||l.call(s,"frequencyCapped"),this.adsContext=null,this.isRetrying||(this.isRetrying=!0,window.setTimeout(()=>{this.readyEvent||this.withCommand(()=>{this.reinit("frequencyCapped",!1)}),this.isRetrying=!1},31e3)))})}),bA(),this.adUnit=t,this.project=r,this.keyValue=n,this.withCommand(()=>{this.init()})}};Yp=class{constructor(t,r){Vr(this,"name","GOOGLE_GPT"),Vr(this,"context",void 0),Vr(this,"contextInfo",void 0),Vr(this,"initParams",void 0),Vr(this,"rewardAdManager",void 0),Vr(this,"interstitialManager",void 0),Vr(this,"insertScript",()=>{let n="jolibox-google-gpt",i=document.getElementById(n);i||(i=window.document.createElement("script"),i.id=n,i.async=!0,i.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",i.crossOrigin="anonymous",document.head.appendChild(i))}),this.context=t,this.contextInfo=this.context.getContextInfo(),this.initParams=r,this.insertScript()}init(){return w(this,null,function*(){let t=this.contextInfo.testAdsMode?"/22639388115/rewarded_web_example":this.initParams.rewardedSlot,r=this.contextInfo.testAdsMode?"/6355419/Travel/Europe/France/Paris":this.initParams.interstitialSlot,n=`minigame-${this.contextInfo.runtimeType==="APP"?"app":"h5"}`;t&&(this.rewardAdManager=new Kp(t,n,this.initParams.keyValue)),r&&(this.interstitialManager=new Qp(r,n,this.initParams.keyValue))})}adConfig(t,r){}adBreak(t,r){var n,i,o;switch(t.type){case"preroll":{(n=t.adBreakDone)==null||n.call(t,{breakType:"preroll",breakFormat:"interstitial",breakStatus:"noAdPreloaded"});break}case"reward":{if(!this.rewardAdManager){(i=t.adBreakDone)==null||i.call(t,{breakName:t.name,breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}this.rewardAdManager.requestAds({beforeAd:t.beforeAd,afterAd:t.afterAd,adDismissed:t.adDismissed,adViewed:t.adViewed,beforeReward:t.beforeReward,adBreakDone:a=>{var s;(s=t.adBreakDone)==null||s.call(t,{breakName:t.name,breakType:t.type,breakFormat:"reward",breakStatus:a})}});break}default:{if(!this.interstitialManager){(o=t.adBreakDone)==null||o.call(t,{breakName:t.name,breakType:t.type,breakFormat:"interstitial",breakStatus:"noAdPreloaded"});return}this.interstitialManager.requestAds({beforeAd:t.beforeAd,afterAd:t.afterAd,onEnd:a=>{var s;(s=t.adBreakDone)==null||s.call(t,{breakName:t.name,breakType:t.type,breakFormat:"interstitial",breakStatus:a})}});break}}}};Xp=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GAME";Op(this,"context",void 0),Op(this,"placement","GAME"),Op(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:Yk.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:Kk.System,location:this.getLocation(),target:null,extra:r,timestamp:Date.now(),userId:(n=this.contextInfo.userId)!=null?n:null}],device:this.getDevice(),project:Qk.WebSDK};return U3(i)}};nl=class{constructor(t){Xe(this,"context",void 0),Xe(this,"adsTrackSerializer",void 0),Xe(this,"contextInfo",void 0),this.context=t,this.contextInfo=t.getContextInfo(),this.adsTrackSerializer=new Xp(this.context)}getRequestContextData(t){var r,n;this.contextInfo=this.context.getContextInfo();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}}},Zp=class{constructor(t,r){var n=this;Xe(this,"context",void 0),Xe(this,"contextInfo",void 0),Xe(this,"requestContext",void 0),Xe(this,"pendingAFGAdsInfo",{REWARD:Promise.resolve(null),INTERSTITIAL:Promise.resolve(null)}),Xe(this,"pendingAFVAdsInfo",Promise.resolve(null)),Xe(this,"doFetchAdsInfo",i=>w(this,null,function*(){let o=i==="afv"?"AdsAFVSDKRequest":"AdsAFGSDKAdBreak",a=i==="afv"?"REWARD_INTERSTITIAL":i==="reward"?"REWARD":"INTERSTITIAL",s=i==="afv"?void 0:"cached",{data:l,code:c}=yield this.context.httpClient.post("/api/ads/info",{data:{contextData:this.requestContext.getRequestContextData(o),bizParams:this.requestContext.getRequestBizParams(),adsType:a,testAdsMode:this.contextInfo.testAdsMode,name:s}});return c==="SUCCESS"||c==="BYPASS_ADS"?{code:c,data:l}:null})),Xe(this,"cacheRewardInfo",()=>{this.pendingAFGAdsInfo.REWARD=this.doFetchAdsInfo("reward").catch(()=>null)}),Xe(this,"cacheInterstitialInfo",i=>{this.pendingAFGAdsInfo.INTERSTITIAL=this.doFetchAdsInfo(i).catch(()=>null)}),Xe(this,"cacheAFVInfo",()=>{this.pendingAFVAdsInfo=this.doFetchAdsInfo("afv").catch(()=>null)}),Xe(this,"cacheNextAFGAdsInfo",i=>w(this,null,function*(){i==="reward"?this.cacheRewardInfo():this.cacheInterstitialInfo(i)})),Xe(this,"getAFGAdsInfo",i=>w(this,null,function*(){let o=yield i==="reward"?this.pendingAFGAdsInfo.REWARD:this.pendingAFGAdsInfo.INTERSTITIAL;return this.cacheNextAFGAdsInfo(i),o})),Xe(this,"getAFVAdsInfo",function(){return w(this,arguments,function*(){if(!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]){let i=yield n.pendingAFVAdsInfo;return n.cacheAFVInfo(),i}else return n.cacheAFVInfo(),yield n.pendingAFVAdsInfo})}),this.context=t,this.contextInfo=this.context.getContextInfo(),this.requestContext=new nl(t),r!=null&&r.reward&&this.cacheRewardInfo(),r!=null&&r.interstitial&&this.cacheInterstitialInfo("start"),r!=null&&r.afv&&this.cacheAFVInfo()}};il=class{constructor(t){if(Tt(this,"context",void 0),Tt(this,"contextInfo",void 0),Tt(this,"providers",{}),Tt(this,"channelPolicy",void 0),Tt(this,"adsActionDetection",void 0),Tt(this,"requestContext",void 0),Tt(this,"adsRequest",void 0),Tt(this,"initialized",!1),Tt(this,"adsIsShowing",!1),Tt(this,"lastAdBreak",void 0),Tt(this,"initializedTimeStamp",Date.now()),t)this.context=t,this.channelPolicy=new Mp(this.context),this.adsActionDetection=new Fp(this.context),this.contextInfo=this.context.getContextInfo(),this.adsRequest=new Zp(t),this.requestContext=new nl(t);else throw new Error("JoliboxAdsForGame requires a configuration object")}init(t){return w(this,null,function*(){window.adsbygoogle=window.adsbygoogle||[];let{data:r}=yield this.context.httpClient.post("/api/ads/init",{data:{contextData:this.requestContext.getRequestContextData("AdsAFGSDKInit"),bizParams:this.requestContext.getRequestBizParams(),testAdsMode:this.contextInfo.testAdsMode}});if((r==null?void 0:r.length)>0)for(let n of r)switch(n.provider){case"GOOGLE_GPT":{let i=new Yp(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"ADSENSE":case"ADSENSE_ADMOB":{let i=new Up(this.context,n.params);yield i.init(),this.providers[n.provider]=i;break}case"OKSPIN":{let i=new zp(this.context,n.params);yield i.init(),this.providers.OKSPIN=i;break}case"APPSROCKETS":{let i=new Wp(this.context,n.params);yield i.init(),this.providers.APPSROCKETS=i;break}}this.adsRequest.cacheInterstitialInfo("start"),this.adsRequest.cacheRewardInfo(),this.initialized=!0})}adConfig(t){this.providers.ADSENSE?this.providers.ADSENSE.adConfig(t):window.adsbygoogle.push(t)}adBreak(t){return w(this,null,function*(){var r,n,i,o,a,s,l,c,d,u,p,f,m,g;let _=Date.now();if(_-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&&_-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=_,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 v=yield this.adsRequest.getAFGAdsInfo(t.type),b=v==null?void 0:v.data,I=v==null?void 0:v.code;if(I==="BYPASS_ADS"){switch(t.type){case"preroll":{(s=t.adBreakDone)==null||s.call(t,{breakType:t.type,breakFormat:"interstitial",breakStatus:"viewed"});break}case"reward":{t.beforeReward(()=>{var A,C,O,x;(A=t.beforeAd)==null||A.call(t),(C=t.adViewed)==null||C.call(t),(O=t.afterAd)==null||O.call(t),(x=t.adBreakDone)==null||x.call(t,{breakType:t.type,breakName:t.name,breakFormat:"reward",breakStatus:"viewed"})});break}default:{(l=t.beforeAd)==null||l.call(t),(c=t.afterAd)==null||c.call(t),(d=t.adBreakDone)==null||d.call(t,{breakType:t.type,breakName:t.name,breakFormat:"interstitial",breakStatus:"viewed"});break}}return}if(!b||I!=="SUCCESS"){(u=t.adBreakDone)==null||u.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}else{let A=b.sort((P,J)=>P.seq-J.seq);if(A.length===0){(p=t.adBreakDone)==null||p.call(t,{breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"});return}let C=!0,O=null,x=new qp(this.context);for(this.adsActionDetection.adBreakIsShowing=!0;A.length>0;){let P=A.shift(),J=this.providers[P.provider];if(J){let[We,q]=yield x.callAdBreakAndContinue(J,t,P,Re=>{var Ne;this.adsIsShowing=Re,(Ne=this.context.eventEmitter)==null||Ne.emit("isAdShowing",Re)});C=We,O=q}else C=!0,O={breakType:t.type,breakName:t.type==="preroll"?void 0:t.name,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"notReady"};if(!C)break}C&&O&&((f=t.adBreakDone)==null||f.call(t,O))}}catch(v){(m=t.adBreakDone)==null||m.call(t,{breakType:t.type,breakFormat:t.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})}finally{this.adsIsShowing=!1,(g=this.context.eventEmitter)==null||g.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.")}},QY=Mn`
772
772
  ${ze}
773
773
  position: fixed;
774
774
  left: 0;
@@ -817,4 +817,4 @@ or `);this.errors.push(o)}return n}},ks=class extends xe{constructor(...t){super
817
817
  cursor: pointer;
818
818
  }
819
819
  }
820
- `});function SA(){let e=new Map,t,r;return{registerRewardHandler(i,o){e.set(i,o)},handleReward(i,...o){return w(this,null,function*(){return yield i.reduce((s,l)=>w(this,null,function*(){let c=yield s;if(c===!0)return!0;IA&&console.log(`handleReward ${l}`);let d=e.get(l),u=d?yield d(...o):c;return IA&&console.log(`handleReward ${l} ${u}`),u}),Promise.resolve(!1))})},registerRewardsFetcher(i){return w(this,null,function*(){t=(...o)=>w(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),["ADS"]}})})},registerRewardFrequencyConfigFetcher(i){return w(this,null,function*(){r=(...o)=>w(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),{joliCoinUseAndCharge:Tn,loginGuide:Cn}}})})},getRewardsTypes(...i){return w(this,null,function*(){return t?yield t(...i):["ADS"]})},getRewardFrequencyConfig(...i){return w(this,null,function*(){return r?yield r(...i):{joliCoinUseAndCharge:Tn,loginGuide:Cn}})}}}var IA,xA=k(()=>{"use strict";Q();Ye();IA=x.testMode});var OH,RH,EA,kA,AA=k(()=>{"use strict";Ye();D();OH=()=>(e,t)=>e==="JOLI_COIN"&&t==="ADS"?-1:e==="ADS"&&t==="JOLI_COIN"?1:0,RH=e=>e.length?e.includes("JOLI_COIN")&&e.length<=1?["JOLI_COIN_ONLY"]:e.sort(OH()):["ADS"],EA=e=>{e.registerRewardsFetcher(t=>w(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;F.emit(Fs,{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 RH(l)}catch(s){return console.error("getRewardOptions error:",s),r}}))},kA=e=>{e.registerRewardFrequencyConfigFetcher(t=>w(void 0,null,function*(){var n,i,o,a;let r=yield t.get("/api/fe-configs/web-common/global-config",{});return F.emit(wr,{joliCoinUseAndCharge:((n=r.data)==null?void 0:n.joliCoinUseAndCharge)||Tn,loginGuide:((i=r.data)==null?void 0:i.loginGuide)||Cn}),ne.emit("onGlobalConfigChanged",{globalConfig:r.data}),{joliCoinUseAndCharge:((o=r.data)==null?void 0:o.joliCoinUseAndCharge)||Tn,loginGuide:((a=r.data)==null?void 0:a.loginGuide)||Cn}}))}});var TA,CA=k(()=>{"use strict";TA=e=>t=>w(void 0,null,function*(){return console.log("trigger @jolibox/ads reward",t),e.adBreak(t),!0})});var wt,Bn=k(()=>{"use strict";Ye();Ir();Ye();wt=nt(F,Fs)});var kr,mo=k(()=>{"use strict";D();kr=X()});var of,vo,PA=k(()=>{"use strict";mo();Bn();Ir();Ye();Ye();of=(e,t)=>{let{showUnlockWithJolicoinModal:r}=t;kr.registerCommand(`Rewards.${e}.useJolicoin`,()=>w(void 0,null,function*(){var s,l,c,d;let n=yield wt.getData(),i=!!((s=n==null?void 0:n.userJoliCoin)!=null&&s.enableAutoDeduct),o=(d=(c=(l=n==null?void 0:n.options)==null?void 0:l.find(u=>u.type==="JOLI_COIN"))==null?void 0:c.joliCoinChoices[0].joliCoinQuantity)!=null?d:0;return console.log("-----unlockOptions usemodal-----",n,i,o),(yield r({enableAutoDeduct:i,userJoliCoin:n==null?void 0:n.userJoliCoin,joliCoinQuantity:o}))!=="CONFIRM"?{result:"FAILED"}:{result:"SUCCESS"}}))},vo=(e,t)=>r=>w(void 0,null,function*(){let n=nt(F,Hr);return F.emit(js,e,{enableAutoDeduct:r.enableAutoDeduct,userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).useModalResult})});var cl,af=k(()=>{"use strict";cl=e=>w(void 0,null,function*(){return(yield e.get("/api/joli-coin/balance",{query:{type:"JOLI_COIN"}})).data})});var OA,RA=k(()=>{"use strict";OA=(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 sf,go,NA=k(()=>{"use strict";af();mo();Bn();RA();Ye();Ir();Ye();sf=(e,t)=>{let{httpClient:r,initiateAndAwaitPayment:n}=t;kr.registerCommand(`Rewards.${e}.usePayment`,()=>w(void 0,null,function*(){var l,c,d,u,p,f;let i=yield wt.getData(),o=yield cl(r),a=(d=(c=(l=i==null?void 0:i.options)==null?void 0:l.find(m=>m.type==="JOLI_COIN"))==null?void 0:c.joliCoinChoices[0].joliCoinQuantity)!=null?d:0,s={balance:(u=o==null?void 0:o.balance)!=null?u:0,enableAutoDeduct:(f=(p=i==null?void 0:i.userJoliCoin)==null?void 0:p.enableAutoDeduct)!=null?f:!1};return wt.updateData({userJoliCoin:s}),console.log("-----unlockOptions payment-----",i,s,a),OA((i==null?void 0:i.options)||[],s)?{result:"CONTINUE"}:{result:(yield n({userJoliCoin:s,joliCoinQuantity:a}))==="SUCCESS"?"SUCCESS":"FAILED"}}))},go=(e,t)=>r=>w(void 0,null,function*(){let n=nt(F,kt);return F.emit(Ms,e,{userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,enableAutoDeduct:r.userJoliCoin.enableAutoDeduct,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).paymentResult})});var lf,yo,DA=k(()=>{"use strict";Q();mo();Ir();Ye();Ye();D();af();Bn();lf=(e,t)=>{let{showUnloginModal:r,httpClient:n}=t;kr.registerCommand(`Rewards.${e}.useUnloginModal`,()=>w(void 0,null,function*(){var a,s,l,c,d,u,p,f,m;let i=(a=x.hostUserInfo)==null?void 0:a.isLogin,o=yield wt.getData();if(console.log("-----isLogin-----",!!i),!i){let g=yield r();if(console.log("-----unloginModalResult-----",g),g.result=="FAILED"||g.result=="CANCEL")return{result:"FAILED"};let{isFirstLogin:_,claimedRewardValue:v}=(l=(s=g.rewards)==null?void 0:s.jolicoin)!=null?l:{};if(g.result=="SUCCESS"){_&&v&&(yield $f(3e3));let b=yield cl(n),I=(u=(d=(c=o==null?void 0:o.options)==null?void 0:c.find(C=>C.type==="JOLI_COIN"))==null?void 0:d.joliCoinChoices[0].joliCoinQuantity)!=null?u:0,A={balance:(p=b==null?void 0:b.balance)!=null?p:0,enableAutoDeduct:(m=(f=o==null?void 0:o.userJoliCoin)==null?void 0:f.enableAutoDeduct)!=null?m:!1};if(wt.updateData({userJoliCoin:A}),A.balance>=I)return{result:"SUCCESS"}}}return{result:"CONTINUE"}}))},yo=(e,t)=>()=>w(void 0,null,function*(){let r=nt(F,rr);return F.emit(Us,e,{confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),yield r.getFreshData()})});var ul=k(()=>{"use strict";PA();NA();DA()});var dl,cf=k(()=>{"use strict";Q();D();ul();mo();dl=(e,t,{handlers:{handleUnlockSuccess:r,handleUnlockFailed:n,unlockOptionsHandler:i,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:a,showUnloginModal:s}})=>(lf(e,{httpClient:t,showUnloginModal:s}),sf(e,{httpClient:t,initiateAndAwaitPayment:o}),of(e,{showUnlockWithJolicoinModal:a}),l=>w(void 0,null,function*(){var c,d,u;try{let p=!0,f=[`Rewards.${e}.useUnloginModal`,`Rewards.${e}.usePayment`,`Rewards.${e}.useJolicoin`];for(let g of f){let _=yield kr.executeCommand(g);if(p=p&&_.result!=="FAILED",_.result!=="CONTINUE")break}if(!p)return n==null||n(l),!1;let m=yield t.post("/api/joli-coin/unlock",{data:{type:"GAME_REWARD",reqId:`${Ro()}-${x.mpType}-${Date.now()}`,gameInfo:{gameId:x.mpId}}});return console.log("-----unlockWithJolicoin request result-----",m),m.code=="SUCCESS"?((d=l.adBreakDone)==null||d.call(l,{breakType:l.type,breakName:"name"in l&&(c=l.name)!=null?c:"",breakFormat:"reward",breakStatus:"viewed"}),"adViewed"in l&&((u=l.adViewed)==null||u.call(l)),r==null||r({quantity:m.data.quantity,balance:m.data.balance}),!0):(n==null||n(l),!1)}catch(p){if(console.info("JolicoinRewardHandler error:",p),p instanceof Error&&p.message=="CANCEL")throw p;return n==null||n(l),!1}finally{i.clearCache()}}))});var LA,qA=k(()=>{"use strict";Bn();cf();ul();LA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=()=>{r==null||r()},i=vo("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noWatchAds"}),o=go("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noWatchAds"}),a=yo("ADS-JOLI_COIN",{confirmButtonText:"loginGuide.login",cancelButtonText:"loginGuide.noWatchAds"});return dl("ADS-JOLI_COIN",e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:n,unlockOptionsHandler:wt,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:i,showUnloginModal:a}})}});var FA,MA=k(()=>{"use strict";cf();Bn();ul();FA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=l=>{var c;r==null||r(),(c=l.adBreakDone)==null||c.call(l,{breakType:l.type,breakFormat:l.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})},i=vo("JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noThanks"}),o=go("JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noThanks"}),a=yo("JOLI_COIN",{confirmButtonText:"loginGuide.login",cancelButtonText:"loginGuide.noThanks"});return dl("JOLI_COIN",e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:n,unlockOptionsHandler:wt,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:i,showUnloginModal:a}})}});var sr,jA=k(()=>{"use strict";xA();AA();CA();qA();MA();sr=SA();EA(sr);kA(sr)});var pl,NH,_o,DH,bo,UA,LH,qH,uf,FH,MH,BA=k(()=>{"use strict";D();rt();er();bk();wA();gt();Q();vt();_e();jA();oc();pl=X(),NH=()=>{let{data:e}=j("getNetworkStatusSync");return!!(e!=null&&e.isConnected)},_o={get:(e,t)=>te(e,T({method:"GET",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data),post:(e,t)=>te(e,T({method:"POST",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data)},DH={httpClient:_o,checkNetwork:NH,track:M,eventEmitter:qo,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:""}}},bo=new il(DH);sr.getRewardFrequencyConfig(_o).then(e=>{console.log("getRewardFrequencyConfig",e)});sr.registerRewardHandler("ADS",TA(bo));sr.registerRewardHandler("JOLI_COIN",LA(_o,{onUnlockSuccess:e=>{UA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));sr.registerRewardHandler("JOLI_COIN_ONLY",FA(_o,{onUnlockSuccess:e=>{UA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));UA=e=>{let{quantity:t}=e,r=`{slot-coin} ${t} {slot-i18n-jolicoin.coinUsed}`;Jr(r,{customStyle:{mark:{marginRight:"8px"}},i18nParams:{text:"Jolicoin Used"}})},LH=G("adInit",{implement:e=>{bo.init(e)}}),qH=G("adConfig",{implement:e=>{bo.adConfig(e)}}),uf=!1,FH=G("adBreak",{implement:e=>{if(e.type==="reward"){if(uf)return;uf=!0,sr.getRewardsTypes(_o).then(t=>{sr.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"})}).finally(()=>{uf=!1})})}else bo.adBreak(e)}}),MH=G("adUnit",{implement:e=>{bo.adUnit(e)}});pl.registerCommand("AdsSDK.init",LH);pl.registerCommand("AdsSDK.adConfig",qH);pl.registerCommand("AdsSDK.adBreak",FH);pl.registerCommand("AdsSDK.adUnit",MH);L("AdsSDK.init",{version:"1.0.0"});L("AdsSDK.adConfig",{version:"1.0.0"});L("AdsSDK.adBreak",{version:"1.0.0"});L("AdsSDK.adUnit",{version:"1.0.0"})});var wo,jH,UH,BH,JH,HH,JA=k(()=>{"use strict";D();_e();rt();Q();wo=X(),jH=G("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=j("openSchemaSync",{schema:t});if(r.errNo!==0)throw new lr(r.errMsg,r.errNo)}}),UH=G("openPageSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let{errNo:t,errMsg:r,data:n}=j("openPageSync",{url:e});if(t!==0||!n)throw new lr(r,t);return{webviewId:n.webviewId}}}),BH=G("closePageSync",{paramsSchema:S.tuple(S.number()),implement:e=>{let{errNo:t,errMsg:r}=j("closePageSync",{webviewId:e});if(t!==0)throw new lr(r,t)}}),JH=G("interceptSystemExitSync",{paramsSchema:S.tuple(S.boolean()),implement:e=>{ne.emit("onInterceptSystemExit",{intercept:e}),ne.emit("onInterceptBackPress",{intercept:e})}}),HH=G("navigateToNativePage",{paramsSchema:S.tuple(S.enum("openHistory","openDiscover","openDiscover","openGame","openDrama","openTopup","openFeed"),S.object()),implement:(e,t)=>{j("callHostMethodAsync",{method:e,params:T({},t)})}});wo.registerCommand("RouterSDK.openSchema",jH);wo.registerCommand("RouterSDK.openPage",UH);wo.registerCommand("RouterSDK.closePage",BH);wo.registerCommand("RouterSDK.interceptSystemExit",JH);wo.registerCommand("RouterSDK.navigateToNativePage",HH);L("router.openSchema",{version:"1.1.10"});L("router.openPage",{version:"1.1.10"});L("router.closePage",{version:"1.1.10"});L("router.interceptSystemExit",{version:"1.1.18"});L("router.navigateToNativePage",{version:"1.1.19"})});function GH(e){Dl("cpLoadProgressEvent",{progress:e},x.webviewId,!0)}var $A,$H,fl,df,HA,VH,zH,VA=k(()=>{"use strict";D();rt();_e();Q();gt();$A=X(),$H=G("onLoadFinished",{implement:()=>{Dl("cpLoadFinishEvent",{},x.webviewId,!0),M("loadFinished",{duration:performance.now()})}}),fl=null,df=!1,HA=0,VH=200;zH=G("onLoadProgress",{paramsSchema:S.tuple(S.number()),implement:e=>{fl=e,df||(df=!0,requestAnimationFrame(function t(){let r=Date.now();r-HA>=VH?(fl!==null&&(GH(fl),HA=r,fl=null),df=!1):requestAnimationFrame(t)}))}});$A.registerCommand("RuntimeSDK.loadFinishedEvent",$H);$A.registerCommand("RuntimeSDK.loadProgressEvent",zH)});var WH,KH,QH,GA=k(()=>{"use strict";D();rt();Q();WH=X(),KH="isNativeSupport",QH=G(KH,{paramsSchema:S.tuple(S.object({version:S.string()})),implement:e=>{let t=x.sdkInfo.nativeSDKVersionCode,{version:r}=e;return r?{code:"SUCCESS",data:nh(op(t!=null?t:0),r,">=")}:{code:"FAILURE",message:"[Jolibox SDK] api or versionCode is required",data:!1}}});WH.registerCommand("API.isNativeSupport",QH);L("isNativeSupport",{version:"1.1.46"})});var WA=h(zA=>{"use strict";rt();_e();D();D();var YH=X(),hl=[],pf=!1;ne.on("onGlobalConfigChanged",e=>{var t;hl=(t=e.globalConfig.supportedHostMethods)!=null?t:[],pf=!0});var XH=()=>new Promise(e=>{if(pf)e(hl);else{let t=r=>{var n;hl=(n=r.globalConfig.supportedHostMethods)!=null?n:[],pf=!0,ne.off("onGlobalConfigChanged",t),e(hl)};ne.on("onGlobalConfigChanged",t)}}),ZH=Pe("callHostMethod",{paramsSchema:S.tuple(S.object({method:S.string(),params:S.object().optional().default({})})),implement:r=>w(zA,[r],function*({method:e,params:t}){if(!(yield XH()).includes(e))throw new lr("Method not supported",10001);let{errNo:i,errMsg:o,data:a}=yield j("callHostMethodAsync",{method:e,params:T({},t)});if(i!==0)throw new lr(o,i);let c=a,{callHostMethodId:s}=c,l=Ue(c,["callHostMethodId"]);return T({},l)})});YH.registerCommand("API.callHostMethod",ZH);L("callHostMethod",{version:"1.1.49"})});var e9={};var lee,pee,yee,KA=k(()=>{"use strict";OE();lee=ie(RE());jE();up();$E();pee=ie(VE());Ds();BA();JA();VA();GA();yee=ie(WA())});var QA=Symbol.for("JOLIBOX_IMPLEMENT_INIT");if(window[QA])throw console.info("Jolibox Implement Already Initialized"),new Error("Jolibox Implement Already Initialized");window[QA]=!0;w(void 0,null,function*(){let[{config:e}]=yield Promise.all([Promise.resolve().then(()=>(IE(),wE)),Promise.resolve().then(()=>(KA(),e9)),Promise.resolve().then(()=>(gt(),Nh))]);e()});
820
+ `});function SA(){let e=new Map,t,r;return{registerRewardHandler(i,o){e.set(i,o)},handleReward(i,...o){return w(this,null,function*(){return yield i.reduce((s,l)=>w(this,null,function*(){let c=yield s;if(c===!0)return!0;IA&&console.log(`handleReward ${l}`);let d=e.get(l),u=d?yield d(...o):c;return IA&&console.log(`handleReward ${l} ${u}`),u}),Promise.resolve(!1))})},registerRewardsFetcher(i){return w(this,null,function*(){t=(...o)=>w(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),["ADS"]}})})},registerRewardFrequencyConfigFetcher(i){return w(this,null,function*(){r=(...o)=>w(this,null,function*(){try{return yield i(...o)}catch(a){return console.error("getRewardOptions error:",a),{joliCoinUseAndCharge:Tn,loginGuide:Cn}}})})},getRewardsTypes(...i){return w(this,null,function*(){return t?yield t(...i):["ADS"]})},getRewardFrequencyConfig(...i){return w(this,null,function*(){return r?yield r(...i):{joliCoinUseAndCharge:Tn,loginGuide:Cn}})}}}var IA,EA=k(()=>{"use strict";Q();Ye();IA=E.testMode});var OH,RH,xA,kA,AA=k(()=>{"use strict";Ye();D();OH=()=>(e,t)=>e==="JOLI_COIN"&&t==="ADS"?-1:e==="ADS"&&t==="JOLI_COIN"?1:0,RH=e=>e.length?e.includes("JOLI_COIN")&&e.length<=1?["JOLI_COIN_ONLY"]:e.sort(OH()):["ADS"],xA=e=>{e.registerRewardsFetcher(t=>w(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;F.emit(Fs,{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 RH(l)}catch(s){return console.error("getRewardOptions error:",s),r}}))},kA=e=>{e.registerRewardFrequencyConfigFetcher(t=>w(void 0,null,function*(){var n,i,o,a;let r=yield t.get("/api/fe-configs/web-common/global-config",{});return F.emit(wr,{joliCoinUseAndCharge:((n=r.data)==null?void 0:n.joliCoinUseAndCharge)||Tn,loginGuide:((i=r.data)==null?void 0:i.loginGuide)||Cn}),ne.emit("onGlobalConfigChanged",{globalConfig:r.data}),{joliCoinUseAndCharge:((o=r.data)==null?void 0:o.joliCoinUseAndCharge)||Tn,loginGuide:((a=r.data)==null?void 0:a.loginGuide)||Cn}}))}});var TA,CA=k(()=>{"use strict";TA=e=>t=>w(void 0,null,function*(){try{console.log("trigger @jolibox/ads reward",t),yield e.adBreak(t)}catch(r){console.error("-----createAdsRewardHandler error-----",r)}return!0})});var wt,Bn=k(()=>{"use strict";Ye();Ir();Ye();wt=nt(F,Fs)});var kr,mo=k(()=>{"use strict";D();kr=X()});var of,vo,PA=k(()=>{"use strict";mo();Bn();Ir();Ye();Ye();of=(e,t)=>{let{showUnlockWithJolicoinModal:r}=t;kr.registerCommand(`Rewards.${e}.useJolicoin`,()=>w(void 0,null,function*(){var s,l,c,d;let n=yield wt.getData(),i=!!((s=n==null?void 0:n.userJoliCoin)!=null&&s.enableAutoDeduct),o=(d=(c=(l=n==null?void 0:n.options)==null?void 0:l.find(u=>u.type==="JOLI_COIN"))==null?void 0:c.joliCoinChoices[0].joliCoinQuantity)!=null?d:0;return console.log("-----unlockOptions usemodal-----",n,i,o),(yield r({enableAutoDeduct:i,userJoliCoin:n==null?void 0:n.userJoliCoin,joliCoinQuantity:o}))!=="CONFIRM"?{result:"FAILED"}:{result:"SUCCESS"}}))},vo=(e,t)=>r=>w(void 0,null,function*(){let n=nt(F,Hr);return F.emit(Us,e,{enableAutoDeduct:r.enableAutoDeduct,userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).useModalResult})});var cl,af=k(()=>{"use strict";cl=e=>w(void 0,null,function*(){return(yield e.get("/api/joli-coin/balance",{query:{type:"JOLI_COIN"}})).data})});var OA,RA=k(()=>{"use strict";OA=(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 sf,go,NA=k(()=>{"use strict";af();mo();Bn();RA();Ye();Ir();Ye();sf=(e,t)=>{let{httpClient:r,initiateAndAwaitPayment:n}=t;kr.registerCommand(`Rewards.${e}.usePayment`,()=>w(void 0,null,function*(){var l,c,d,u,p,f;let i=yield wt.getData(),o=yield cl(r),a=(d=(c=(l=i==null?void 0:i.options)==null?void 0:l.find(m=>m.type==="JOLI_COIN"))==null?void 0:c.joliCoinChoices[0].joliCoinQuantity)!=null?d:0,s={balance:(u=o==null?void 0:o.balance)!=null?u:0,enableAutoDeduct:(f=(p=i==null?void 0:i.userJoliCoin)==null?void 0:p.enableAutoDeduct)!=null?f:!1};return wt.updateData({userJoliCoin:s}),console.log("-----unlockOptions payment-----",i,s,a),OA((i==null?void 0:i.options)||[],s)?{result:"CONTINUE"}:{result:(yield n({userJoliCoin:s,joliCoinQuantity:a}))==="SUCCESS"?"SUCCESS":"FAILED"}}))},go=(e,t)=>r=>w(void 0,null,function*(){let n=nt(F,At);return F.emit(Ms,e,{userJoliCoin:r.userJoliCoin,joliCoinQuantity:r.joliCoinQuantity,enableAutoDeduct:r.userJoliCoin.enableAutoDeduct,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),(yield n.getFreshData()).paymentResult})});var lf,yo,DA=k(()=>{"use strict";Q();mo();Ir();Ye();Ye();D();af();Bn();lf=(e,t)=>{let{showUnloginModal:r,httpClient:n}=t;kr.registerCommand(`Rewards.${e}.useUnloginModal`,()=>w(void 0,null,function*(){var a,s,l,c,d,u,p,f,m;let i=(a=E.hostUserInfo)==null?void 0:a.isLogin,o=yield wt.getData();if(console.log("-----isLogin-----",!!i),!i){let g=yield r();if(console.log("-----unloginModalResult-----",g),g.result=="FAILED"||g.result=="CANCEL")return{result:"FAILED"};let{isFirstLogin:_,claimedRewardValue:v}=(l=(s=g.rewards)==null?void 0:s.jolicoin)!=null?l:{};if(g.result=="SUCCESS"){_&&v&&(yield $f(3e3));let b=yield cl(n),I=(u=(d=(c=o==null?void 0:o.options)==null?void 0:c.find(C=>C.type==="JOLI_COIN"))==null?void 0:d.joliCoinChoices[0].joliCoinQuantity)!=null?u:0,A={balance:(p=b==null?void 0:b.balance)!=null?p:0,enableAutoDeduct:(m=(f=o==null?void 0:o.userJoliCoin)==null?void 0:f.enableAutoDeduct)!=null?m:!1};if(wt.updateData({userJoliCoin:A}),A.balance>=I)return{result:"SUCCESS"}}}return{result:"CONTINUE"}}))},yo=(e,t)=>()=>w(void 0,null,function*(){let r=nt(F,rr);return F.emit(js,e,{confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText}),yield r.getFreshData()})});var ul=k(()=>{"use strict";PA();NA();DA()});var dl,cf=k(()=>{"use strict";Q();D();ul();mo();dl=(e,t,{handlers:{handleUnlockSuccess:r,handleUnlockFailed:n,unlockOptionsHandler:i,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:a,showUnloginModal:s}})=>(lf(e,{httpClient:t,showUnloginModal:s}),sf(e,{httpClient:t,initiateAndAwaitPayment:o}),of(e,{showUnlockWithJolicoinModal:a}),l=>w(void 0,null,function*(){var c,d,u;try{let p=!0,f=[`Rewards.${e}.useUnloginModal`,`Rewards.${e}.usePayment`,`Rewards.${e}.useJolicoin`];for(let g of f){let _=yield kr.executeCommand(g);if(p=p&&_.result!=="FAILED",_.result!=="CONTINUE")break}if(!p)return n==null||n(l),!1;let m=yield t.post("/api/joli-coin/unlock",{data:{type:"GAME_REWARD",reqId:`${Ro()}-${E.mpType}-${Date.now()}`,gameInfo:{gameId:E.mpId}}});if(console.log("-----unlockWithJolicoin request result-----",m),m.code=="SUCCESS"){try{(d=l.adBreakDone)==null||d.call(l,{breakType:l.type,breakName:"name"in l&&(c=l.name)!=null?c:"",breakFormat:"reward",breakStatus:"viewed"}),"adViewed"in l&&((u=l.adViewed)==null||u.call(l))}catch(g){console.error("-----unlockWithJolicoin adBreakDone error-----",g)}return r==null||r({quantity:m.data.quantity,balance:m.data.balance}),!0}return n==null||n(l),!1}catch(p){if(console.info("JolicoinRewardHandler error:",p),p instanceof Error&&p.message=="CANCEL")throw p;return n==null||n(l),!1}finally{i.clearCache()}}))});var LA,qA=k(()=>{"use strict";Bn();cf();ul();LA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=()=>{r==null||r()},i=vo("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noWatchAds"}),o=go("ADS-JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noWatchAds"}),a=yo("ADS-JOLI_COIN",{confirmButtonText:"loginGuide.login",cancelButtonText:"loginGuide.noWatchAds"});return dl("ADS-JOLI_COIN",e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:n,unlockOptionsHandler:wt,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:i,showUnloginModal:a}})}});var FA,MA=k(()=>{"use strict";cf();Bn();ul();FA=(e,{onUnlockSuccess:t,onUnlockFailed:r})=>{let n=l=>{var c;r==null||r(),(c=l.adBreakDone)==null||c.call(l,{breakType:l.type,breakFormat:l.type==="reward"?"reward":"interstitial",breakStatus:"noAdPreloaded"})},i=vo("JOLI_COIN",{confirmButtonText:"jolicoin.useJolicoin",cancelButtonText:"jolicoin.noThanks"}),o=go("JOLI_COIN",{confirmButtonText:"jolicoin.payAndUnlock",cancelButtonText:"jolicoin.noThanks"}),a=yo("JOLI_COIN",{confirmButtonText:"loginGuide.login",cancelButtonText:"loginGuide.noThanks"});return dl("JOLI_COIN",e,{handlers:{handleUnlockSuccess:t,handleUnlockFailed:n,unlockOptionsHandler:wt,initiateAndAwaitPayment:o,showUnlockWithJolicoinModal:i,showUnloginModal:a}})}});var sr,UA=k(()=>{"use strict";EA();AA();CA();qA();MA();sr=SA();xA(sr);kA(sr)});var pl,NH,_o,DH,bo,jA,LH,qH,uf,FH,MH,BA=k(()=>{"use strict";D();rt();er();bk();wA();gt();Q();vt();_e();UA();oc();pl=X(),NH=()=>{let{data:e}=U("getNetworkStatusSync");return!!(e!=null&&e.isConnected)},_o={get:(e,t)=>te(e,T({method:"GET",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data),post:(e,t)=>te(e,T({method:"POST",responseType:"json",appendHostCookie:!0},t)).then(r=>r.response.data)},DH={httpClient:_o,checkNetwork:NH,track:M,eventEmitter:qo,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=E.hostInfo)==null?void 0:e.aid)!=null?t:"1",deviceId:(r=E.deviceInfo.did)!=null?r:"",adId:(n=E.deviceInfo.adId)!=null?n:"",sessionId:(i=E.sessionId)!=null?i:"",userId:(a=(o=E.hostUserInfo)==null?void 0:o.uid)!=null?a:"",objectType:"GAME",objectId:E.mpId,testAdsMode:E.testAdsMode,channel:(s=E.joliSource)!=null?s:"",deviceBrand:E.deviceInfo.brand,deviceModel:E.deviceInfo.model,osType:E.platform==="android"?"ANDROID":E.platform==="ios"?"IOS":"PC",runtimeType:"APP",platform:1e3,joliSource:(l=E.joliSource)!=null?l:""}}},bo=new il(DH);sr.getRewardFrequencyConfig(_o).then(e=>{console.log("getRewardFrequencyConfig",e)});sr.registerRewardHandler("ADS",TA(bo));sr.registerRewardHandler("JOLI_COIN",LA(_o,{onUnlockSuccess:e=>{jA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));sr.registerRewardHandler("JOLI_COIN_ONLY",FA(_o,{onUnlockSuccess:e=>{jA(e)},onUnlockFailed:()=>{console.log("onUnlockFailed")}}));jA=e=>{let{quantity:t}=e,r=`{slot-coin} ${t} {slot-i18n-jolicoin.coinUsed}`;Jr(r,{customStyle:{mark:{marginRight:"8px"}},i18nParams:{text:"Jolicoin Used"}})},LH=G("adInit",{implement:e=>{bo.init(e)}}),qH=G("adConfig",{implement:e=>{bo.adConfig(e)}}),uf=!1,FH=G("adBreak",{implement:e=>{if(e.type==="reward"){if(uf)return;uf=!0,sr.getRewardsTypes(_o).then(t=>{sr.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"})}).finally(()=>{uf=!1})})}else bo.adBreak(e)}}),MH=G("adUnit",{implement:e=>{bo.adUnit(e)}});pl.registerCommand("AdsSDK.init",LH);pl.registerCommand("AdsSDK.adConfig",qH);pl.registerCommand("AdsSDK.adBreak",FH);pl.registerCommand("AdsSDK.adUnit",MH);L("AdsSDK.init",{version:"1.0.0"});L("AdsSDK.adConfig",{version:"1.0.0"});L("AdsSDK.adBreak",{version:"1.0.0"});L("AdsSDK.adUnit",{version:"1.0.0"})});var wo,UH,jH,BH,JH,HH,JA=k(()=>{"use strict";D();_e();rt();Q();wo=X(),UH=G("openSchemaSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let t=e;e.match(/^https?:\/\//)||(t=`https://${E.mpId}.app.jolibox.com${e.startsWith("/")?"":"/"}${e}`);let r=U("openSchemaSync",{schema:t});if(r.errNo!==0)throw new lr(r.errMsg,r.errNo)}}),jH=G("openPageSync",{paramsSchema:S.tuple(S.string()),implement:e=>{let{errNo:t,errMsg:r,data:n}=U("openPageSync",{url:e});if(t!==0||!n)throw new lr(r,t);return{webviewId:n.webviewId}}}),BH=G("closePageSync",{paramsSchema:S.tuple(S.number()),implement:e=>{let{errNo:t,errMsg:r}=U("closePageSync",{webviewId:e});if(t!==0)throw new lr(r,t)}}),JH=G("interceptSystemExitSync",{paramsSchema:S.tuple(S.boolean()),implement:e=>{ne.emit("onInterceptSystemExit",{intercept:e}),ne.emit("onInterceptBackPress",{intercept:e})}}),HH=G("navigateToNativePage",{paramsSchema:S.tuple(S.enum("openHistory","openDiscover","openDiscover","openGame","openDrama","openTopup","openFeed"),S.object()),implement:(e,t)=>{U("callHostMethodAsync",{method:e,params:T({},t)})}});wo.registerCommand("RouterSDK.openSchema",UH);wo.registerCommand("RouterSDK.openPage",jH);wo.registerCommand("RouterSDK.closePage",BH);wo.registerCommand("RouterSDK.interceptSystemExit",JH);wo.registerCommand("RouterSDK.navigateToNativePage",HH);L("router.openSchema",{version:"1.1.10"});L("router.openPage",{version:"1.1.10"});L("router.closePage",{version:"1.1.10"});L("router.interceptSystemExit",{version:"1.1.18"});L("router.navigateToNativePage",{version:"1.1.19"})});function GH(e){Dl("cpLoadProgressEvent",{progress:e},E.webviewId,!0)}var $A,$H,fl,df,HA,VH,zH,VA=k(()=>{"use strict";D();rt();_e();Q();gt();$A=X(),$H=G("onLoadFinished",{implement:()=>{Dl("cpLoadFinishEvent",{},E.webviewId,!0),M("loadFinished",{duration:performance.now()})}}),fl=null,df=!1,HA=0,VH=200;zH=G("onLoadProgress",{paramsSchema:S.tuple(S.number()),implement:e=>{fl=e,df||(df=!0,requestAnimationFrame(function t(){let r=Date.now();r-HA>=VH?(fl!==null&&(GH(fl),HA=r,fl=null),df=!1):requestAnimationFrame(t)}))}});$A.registerCommand("RuntimeSDK.loadFinishedEvent",$H);$A.registerCommand("RuntimeSDK.loadProgressEvent",zH)});var WH,KH,QH,GA=k(()=>{"use strict";D();rt();Q();WH=X(),KH="isNativeSupport",QH=G(KH,{paramsSchema:S.tuple(S.object({version:S.string()})),implement:e=>{let t=E.sdkInfo.nativeSDKVersionCode,{version:r}=e;return r?{code:"SUCCESS",data:nh(op(t!=null?t:0),r,">=")}:{code:"FAILURE",message:"[Jolibox SDK] api or versionCode is required",data:!1}}});WH.registerCommand("API.isNativeSupport",QH);L("isNativeSupport",{version:"1.1.46"})});var WA=h(zA=>{"use strict";rt();_e();D();D();var YH=X(),hl=[],pf=!1;ne.on("onGlobalConfigChanged",e=>{var t;hl=(t=e.globalConfig.supportedHostMethods)!=null?t:[],pf=!0});var XH=()=>new Promise(e=>{if(pf)e(hl);else{let t=r=>{var n;hl=(n=r.globalConfig.supportedHostMethods)!=null?n:[],pf=!0,ne.off("onGlobalConfigChanged",t),e(hl)};ne.on("onGlobalConfigChanged",t)}}),ZH=Pe("callHostMethod",{paramsSchema:S.tuple(S.object({method:S.string(),params:S.object().optional().default({})})),implement:r=>w(zA,[r],function*({method:e,params:t}){if(!(yield XH()).includes(e))throw new lr("Method not supported",10001);let{errNo:i,errMsg:o,data:a}=yield U("callHostMethodAsync",{method:e,params:T({},t)});if(i!==0)throw new lr(o,i);let c=a,{callHostMethodId:s}=c,l=je(c,["callHostMethodId"]);return T({},l)})});YH.registerCommand("API.callHostMethod",ZH);L("callHostMethod",{version:"1.1.49"})});var e9={};var lee,pee,yee,KA=k(()=>{"use strict";Ox();lee=ie(Rx());Ux();up();$x();pee=ie(Vx());Ds();BA();JA();VA();GA();yee=ie(WA())});var QA=Symbol.for("JOLIBOX_IMPLEMENT_INIT");if(window[QA])throw console.info("Jolibox Implement Already Initialized"),new Error("Jolibox Implement Already Initialized");window[QA]=!0;w(void 0,null,function*(){let[{config:e}]=yield Promise.all([Promise.resolve().then(()=>(Ix(),wx)),Promise.resolve().then(()=>(KA(),e9)),Promise.resolve().then(()=>(gt(),Nh))]);e()});