function La(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const _t={},Ho=[],En=()=>{},Vh=()=>!1,Bh=/^on[^a-z]/,qr=e=>Bh.test(e),Ra=e=>e.startsWith("onUpdate:"),Lt=Object.assign,Sa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$h=Object.prototype.hasOwnProperty,vt=(e,t)=>$h.call(e,t),we=Array.isArray,jo=e=>or(e)==="[object Map]",nr=e=>or(e)==="[object Set]",kl=e=>or(e)==="[object Date]",Fh=e=>or(e)==="[object RegExp]",Re=e=>typeof e=="function",kt=e=>typeof e=="string",xr=e=>typeof e=="symbol",wt=e=>e!==null&&typeof e=="object",Du=e=>wt(e)&&Re(e.then)&&Re(e.catch),Nu=Object.prototype.toString,or=e=>Nu.call(e),Uh=e=>or(e).slice(8,-1),Vu=e=>or(e)==="[object Object]",Ia=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Er=La(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ds=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hh=/-(\w)/g,In=Ds(e=>e.replace(Hh,(t,n)=>n?n.toUpperCase():"")),jh=/\B([A-Z])/g,Ao=Ds(e=>e.replace(jh,"-$1").toLowerCase()),Ns=Ds(e=>e.charAt(0).toUpperCase()+e.slice(1)),pi=Ds(e=>e?`on${Ns(e)}`:""),Mr=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},gs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},bs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bu=e=>{const t=kt(e)?Number(e):NaN;return isNaN(t)?e:t};let Cl;const Mi=()=>Cl||(Cl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function an(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=kt(o)?Kh(o):an(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if(kt(e))return e;if(wt(e))return e}}const Wh=/;(?![^(]*\))/g,qh=/:([^]+)/,zh=/\/\*[^]*?\*\//g;function Kh(e){const t={};return e.replace(zh,"").split(Wh).forEach(n=>{if(n){const o=n.split(qh);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ce(e){let t="";if(kt(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const o=Ce(e[n]);o&&(t+=o+" ")}else if(wt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Gh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yh=La(Gh);function $u(e){return!!e||e===""}function Zh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Eo(e[o],t[o]);return n}function Eo(e,t){if(e===t)return!0;let n=kl(e),o=kl(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=xr(e),o=xr(t),n||o)return e===t;if(n=we(e),o=we(t),n||o)return n&&o?Zh(e,t):!1;if(n=wt(e),o=wt(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,s=Object.keys(t).length;if(r!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Eo(e[i],t[i]))return!1}}return String(e)===String(t)}function Pa(e,t){return e.findIndex(n=>Eo(n,t))}const $=e=>kt(e)?e:e==null?"":we(e)||wt(e)&&(e.toString===Nu||!Re(e.toString))?JSON.stringify(e,Fu,2):String(e),Fu=(e,t)=>t&&t.__v_isRef?Fu(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:nr(t)?{[`Set(${t.size})`]:[...t.values()]}:wt(t)&&!we(t)&&!Vu(t)?String(t):t;let rn;class Uu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=rn,!t&&rn&&(this.index=(rn.scopes||(rn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=rn;try{return rn=this,t()}finally{rn=n}}}on(){rn=this}off(){rn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Vs(e){return new Uu(e)}function Jh(e,t=rn){t&&t.active&&t.effects.push(e)}function Hu(){return rn}function Qh(e){rn&&rn.cleanups.push(e)}const Oa=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ju=e=>(e.w&no)>0,Wu=e=>(e.n&no)>0,Xh=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=no},ep=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];ju(r)&&!Wu(r)?r.delete(e):t[n++]=r,r.w&=~no,r.n&=~no}t.length=n}},ys=new WeakMap;let yr=0,no=1;const Di=30;let yn;const yo=Symbol(""),Ni=Symbol("");class xa{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Jh(this,o)}run(){if(!this.active)return this.fn();let t=yn,n=Xn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=yn,yn=this,Xn=!0,no=1<<++yr,yr<=Di?Xh(this):Tl(this),this.fn()}finally{yr<=Di&&ep(this),no=1<<--yr,yn=this.parent,Xn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){yn===this?this.deferStop=!0:this.active&&(Tl(this),this.onStop&&this.onStop(),this.active=!1)}}function Tl(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Xn=!0;const qu=[];function rr(){qu.push(Xn),Xn=!1}function sr(){const e=qu.pop();Xn=e===void 0?!0:e}function Xt(e,t,n){if(Xn&&yn){let o=ys.get(e);o||ys.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Oa()),zu(r)}}function zu(e,t){let n=!1;yr<=Di?Wu(e)||(e.n|=no,n=!ju(e)):n=!e.has(yn),n&&(e.add(yn),yn.deps.push(e))}function Bn(e,t,n,o,r,s){const i=ys.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&we(e)){const l=Number(o);i.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":we(e)?Ia(n)&&a.push(i.get("length")):(a.push(i.get(yo)),jo(e)&&a.push(i.get(Ni)));break;case"delete":we(e)||(a.push(i.get(yo)),jo(e)&&a.push(i.get(Ni)));break;case"set":jo(e)&&a.push(i.get(yo));break}if(a.length===1)a[0]&&Vi(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Vi(Oa(l))}}function Vi(e,t){const n=we(e)?e:[...e];for(const o of n)o.computed&&Al(o);for(const o of n)o.computed||Al(o)}function Al(e,t){(e!==yn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function tp(e,t){var n;return(n=ys.get(e))==null?void 0:n.get(t)}const np=La("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xr)),op=Ma(),rp=Ma(!1,!0),sp=Ma(!0),Ll=ip();function ip(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=pt(this);for(let s=0,i=this.length;s<i;s++)Xt(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(pt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rr();const o=pt(this)[t].apply(this,n);return sr(),o}}),e}function ap(e){const t=pt(this);return Xt(t,"has",e),t.hasOwnProperty(e)}function Ma(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?kp:Qu:t?Ju:Zu).get(o))return o;const i=we(o);if(!e){if(i&&vt(Ll,r))return Reflect.get(Ll,r,s);if(r==="hasOwnProperty")return ap}const a=Reflect.get(o,r,s);return(xr(r)?Ku.has(r):np(r))||(e||Xt(o,"get",r),t)?a:me(a)?i&&Ia(r)?a:a.value:wt(a)?e?ed(a):en(a):a}}const lp=Gu(),cp=Gu(!0);function Gu(e=!1){return function(n,o,r,s){let i=n[o];if(ko(i)&&me(i)&&!me(r))return!1;if(!e&&(!ws(r)&&!ko(r)&&(i=pt(i),r=pt(r)),!we(n)&&me(i)&&!me(r)))return i.value=r,!0;const a=we(n)&&Ia(o)?Number(o)<n.length:vt(n,o),l=Reflect.set(n,o,r,s);return n===pt(s)&&(a?Mr(r,i)&&Bn(n,"set",o,r):Bn(n,"add",o,r)),l}}function up(e,t){const n=vt(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Bn(e,"delete",t,void 0),o}function dp(e,t){const n=Reflect.has(e,t);return(!xr(t)||!Ku.has(t))&&Xt(e,"has",t),n}function fp(e){return Xt(e,"iterate",we(e)?"length":yo),Reflect.ownKeys(e)}const Yu={get:op,set:lp,deleteProperty:up,has:dp,ownKeys:fp},hp={get:sp,set(e,t){return!0},deleteProperty(e,t){return!0}},pp=Lt({},Yu,{get:rp,set:cp}),Da=e=>e,Bs=e=>Reflect.getPrototypeOf(e);function Qr(e,t,n=!1,o=!1){e=e.__v_raw;const r=pt(e),s=pt(t);n||(t!==s&&Xt(r,"get",t),Xt(r,"get",s));const{has:i}=Bs(r),a=o?Da:n?Ba:Dr;if(i.call(r,t))return a(e.get(t));if(i.call(r,s))return a(e.get(s));e!==r&&e.get(t)}function Xr(e,t=!1){const n=this.__v_raw,o=pt(n),r=pt(e);return t||(e!==r&&Xt(o,"has",e),Xt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function es(e,t=!1){return e=e.__v_raw,!t&&Xt(pt(e),"iterate",yo),Reflect.get(e,"size",e)}function Rl(e){e=pt(e);const t=pt(this);return Bs(t).has.call(t,e)||(t.add(e),Bn(t,"add",e,e)),this}function Sl(e,t){t=pt(t);const n=pt(this),{has:o,get:r}=Bs(n);let s=o.call(n,e);s||(e=pt(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Mr(t,i)&&Bn(n,"set",e,t):Bn(n,"add",e,t),this}function Il(e){const t=pt(this),{has:n,get:o}=Bs(t);let r=n.call(t,e);r||(e=pt(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Bn(t,"delete",e,void 0),s}function Pl(){const e=pt(this),t=e.size!==0,n=e.clear();return t&&Bn(e,"clear",void 0,void 0),n}function ts(e,t){return function(o,r){const s=this,i=s.__v_raw,a=pt(i),l=t?Da:e?Ba:Dr;return!e&&Xt(a,"iterate",yo),i.forEach((c,u)=>o.call(r,l(c),l(u),s))}}function ns(e,t,n){return function(...o){const r=this.__v_raw,s=pt(r),i=jo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...o),u=n?Da:t?Ba:Dr;return!t&&Xt(s,"iterate",l?Ni:yo),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function jn(e){return function(...t){return e==="delete"?!1:this}}function mp(){const e={get(s){return Qr(this,s)},get size(){return es(this)},has:Xr,add:Rl,set:Sl,delete:Il,clear:Pl,forEach:ts(!1,!1)},t={get(s){return Qr(this,s,!1,!0)},get size(){return es(this)},has:Xr,add:Rl,set:Sl,delete:Il,clear:Pl,forEach:ts(!1,!0)},n={get(s){return Qr(this,s,!0)},get size(){return es(this,!0)},has(s){return Xr.call(this,s,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:ts(!0,!1)},o={get(s){return Qr(this,s,!0,!0)},get size(){return es(this,!0)},has(s){return Xr.call(this,s,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ns(s,!1,!1),n[s]=ns(s,!0,!1),t[s]=ns(s,!1,!0),o[s]=ns(s,!0,!0)}),[e,n,t,o]}const[vp,gp,bp,yp]=mp();function Na(e,t){const n=t?e?yp:bp:e?gp:vp;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(vt(n,r)&&r in o?n:o,r,s)}const wp={get:Na(!1,!1)},_p={get:Na(!1,!0)},Ep={get:Na(!0,!1)},Zu=new WeakMap,Ju=new WeakMap,Qu=new WeakMap,kp=new WeakMap;function Cp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tp(e){return e.__v_skip||!Object.isExtensible(e)?0:Cp(Uh(e))}function en(e){return ko(e)?e:Va(e,!1,Yu,wp,Zu)}function Xu(e){return Va(e,!1,pp,_p,Ju)}function ed(e){return Va(e,!0,hp,Ep,Qu)}function Va(e,t,n,o,r){if(!wt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Tp(e);if(i===0)return e;const a=new Proxy(e,i===2?o:n);return r.set(e,a),a}function eo(e){return ko(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function ko(e){return!!(e&&e.__v_isReadonly)}function ws(e){return!!(e&&e.__v_isShallow)}function td(e){return eo(e)||ko(e)}function pt(e){const t=e&&e.__v_raw;return t?pt(t):e}function $s(e){return gs(e,"__v_skip",!0),e}const Dr=e=>wt(e)?en(e):e,Ba=e=>wt(e)?ed(e):e;function nd(e){Xn&&yn&&(e=pt(e),zu(e.dep||(e.dep=Oa())))}function od(e,t){e=pt(e);const n=e.dep;n&&Vi(n)}function me(e){return!!(e&&e.__v_isRef===!0)}function M(e){return rd(e,!1)}function Nr(e){return rd(e,!0)}function rd(e,t){return me(e)?e:new Ap(e,t)}class Ap{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pt(t),this._value=n?t:Dr(t)}get value(){return nd(this),this._value}set value(t){const n=this.__v_isShallow||ws(t)||ko(t);t=n?t:pt(t),Mr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Dr(t),od(this))}}function h(e){return me(e)?e.value:e}const Lp={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function sd(e){return eo(e)?e:new Proxy(e,Lp)}function Rp(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=ad(e,n);return t}class Sp{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return tp(pt(this._object),this._key)}}class Ip{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function id(e,t,n){return me(e)?e:Re(e)?new Ip(e):wt(e)&&arguments.length>1?ad(e,t,n):M(e)}function ad(e,t,n){const o=e[t];return me(o)?o:new Sp(e,t,n)}class Pp{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new xa(t,()=>{this._dirty||(this._dirty=!0,od(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=pt(this);return nd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Op(e,t,n=!1){let o,r;const s=Re(e);return s?(o=e,r=En):(o=e.get,r=e.set),new Pp(o,r,s||!r,n)}function to(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){ir(s,t,n)}return r}function mn(e,t,n,o){if(Re(e)){const s=to(e,t,n,o);return s&&Du(s)&&s.catch(i=>{ir(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(mn(e[s],t,n,o));return r}function ir(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=n;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){to(l,null,10,[e,i,a]);return}}xp(e,n,r,o)}function xp(e,t,n,o=!0){console.error(e)}let Vr=!1,Bi=!1;const $t=[];let Sn=0;const qo=[];let Dn=null,vo=0;const ld=Promise.resolve();let $a=null;function ft(e){const t=$a||ld;return e?t.then(this?e.bind(this):e):t}function Mp(e){let t=Sn+1,n=$t.length;for(;t<n;){const o=t+n>>>1;Br($t[o])<e?t=o+1:n=o}return t}function Fs(e){(!$t.length||!$t.includes(e,Vr&&e.allowRecurse?Sn+1:Sn))&&(e.id==null?$t.push(e):$t.splice(Mp(e.id),0,e),cd())}function cd(){!Vr&&!Bi&&(Bi=!0,$a=ld.then(dd))}function Dp(e){const t=$t.indexOf(e);t>Sn&&$t.splice(t,1)}function ud(e){we(e)?qo.push(...e):(!Dn||!Dn.includes(e,e.allowRecurse?vo+1:vo))&&qo.push(e),cd()}function Ol(e,t=Vr?Sn+1:0){for(;t<$t.length;t++){const n=$t[t];n&&n.pre&&($t.splice(t,1),t--,n())}}function _s(e){if(qo.length){const t=[...new Set(qo)];if(qo.length=0,Dn){Dn.push(...t);return}for(Dn=t,Dn.sort((n,o)=>Br(n)-Br(o)),vo=0;vo<Dn.length;vo++)Dn[vo]();Dn=null,vo=0}}const Br=e=>e.id==null?1/0:e.id,Np=(e,t)=>{const n=Br(e)-Br(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function dd(e){Bi=!1,Vr=!0,$t.sort(Np);const t=En;try{for(Sn=0;Sn<$t.length;Sn++){const n=$t[Sn];n&&n.active!==!1&&to(n,null,14)}}finally{Sn=0,$t.length=0,_s(),Vr=!1,$a=null,($t.length||qo.length)&&dd()}}function Vp(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||_t;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:p}=o[u]||_t;p&&(r=n.map(g=>kt(g)?g.trim():g)),d&&(r=n.map(bs))}let a,l=o[a=pi(t)]||o[a=pi(In(t))];!l&&s&&(l=o[a=pi(Ao(t))]),l&&mn(l,e,6,r);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,mn(c,e,6,r)}}function fd(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},a=!1;if(!Re(e)){const l=c=>{const u=fd(c,t,!0);u&&(a=!0,Lt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(wt(e)&&o.set(e,null),null):(we(s)?s.forEach(l=>i[l]=null):Lt(i,s),wt(e)&&o.set(e,i),i)}function Us(e,t){return!e||!qr(t)?!1:(t=t.slice(2).replace(/Once$/,""),vt(e,t[0].toLowerCase()+t.slice(1))||vt(e,Ao(t))||vt(e,t))}let Mt=null,Hs=null;function Es(e){const t=Mt;return Mt=e,Hs=e&&e.type.__scopeId||null,t}function tn(e){Hs=e}function nn(){Hs=null}function Ae(e,t=Mt,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&zl(-1);const s=Es(t);let i;try{i=e(...r)}finally{Es(s),o._d&&zl(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function mi(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:g,ctx:m,inheritAttrs:b}=e;let k,w;const v=Es(e);try{if(n.shapeFlag&4){const y=r||o;k=fn(u.call(y,y,d,s,g,p,m)),w=l}else{const y=t;k=fn(y.length>1?y(s,{attrs:l,slots:a,emit:c}):y(s,null)),w=t.props?l:$p(l)}}catch(y){Ar.length=0,ir(y,e,1),k=ee(Wt)}let _=k;if(w&&b!==!1){const y=Object.keys(w),{shapeFlag:E}=_;y.length&&E&7&&(i&&y.some(Ra)&&(w=Fp(w,i)),_=Fn(_,w))}return n.dirs&&(_=Fn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),k=_,Es(v),k}function Bp(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(Yo(o)){if(o.type!==Wt||o.children==="v-if"){if(t)return;t=o}}else return}return t}const $p=e=>{let t;for(const n in e)(n==="class"||n==="style"||qr(n))&&((t||(t={}))[n]=e[n]);return t},Fp=(e,t)=>{const n={};for(const o in e)(!Ra(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Up(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?xl(o,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(i[p]!==o[p]&&!Us(c,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:o===i?!1:o?i?xl(o,i,c):!0:!!i;return!1}function xl(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!Us(n,s))return!0}return!1}function Fa({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const hd=e=>e.__isSuspense,Hp={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,s,i,a,l,c){e==null?jp(t,n,o,r,s,i,a,l,c):Wp(e,t,n,o,r,i,a,l,c)},hydrate:qp,create:Ha,normalize:zp},Ua=Hp;function $r(e,t){const n=e.props&&e.props[t];Re(n)&&n()}function jp(e,t,n,o,r,s,i,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=Ha(e,r,o,t,d,n,s,i,a,l);c(null,p.pendingBranch=e.ssContent,d,null,o,p,s,i),p.deps>0?($r(e,"onPending"),$r(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,s,i),zo(p,e.ssFallback)):p.resolve(!1,!0)}function Wp(e,t,n,o,r,s,i,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,g=t.ssFallback,{activeBranch:m,pendingBranch:b,isInFallback:k,isHydrating:w}=d;if(b)d.pendingBranch=p,wn(p,b)?(l(b,p,d.hiddenContainer,null,r,d,s,i,a),d.deps<=0?d.resolve():k&&(l(m,g,n,o,r,null,s,i,a),zo(d,g))):(d.pendingId++,w?(d.isHydrating=!1,d.activeBranch=b):c(b,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),k?(l(null,p,d.hiddenContainer,null,r,d,s,i,a),d.deps<=0?d.resolve():(l(m,g,n,o,r,null,s,i,a),zo(d,g))):m&&wn(p,m)?(l(m,p,n,o,r,d,s,i,a),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,r,d,s,i,a),d.deps<=0&&d.resolve()));else if(m&&wn(p,m))l(m,p,n,o,r,d,s,i,a),zo(d,p);else if($r(t,"onPending"),d.pendingBranch=p,d.pendingId++,l(null,p,d.hiddenContainer,null,r,d,s,i,a),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:_}=d;v>0?setTimeout(()=>{d.pendingId===_&&d.fallback(g)},v):v===0&&d.fallback(g)}}function Ha(e,t,n,o,r,s,i,a,l,c,u=!1){const{p:d,m:p,um:g,n:m,o:{parentNode:b,remove:k}}=c;let w;const v=Kp(e);v&&t!=null&&t.pendingBranch&&(w=t.pendingId,t.deps++);const _=e.props?Bu(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,C=!1){const{vnode:T,activeBranch:S,pendingBranch:A,pendingId:j,effects:N,parentComponent:V,container:W}=y;if(y.isHydrating)y.isHydrating=!1;else if(!E){const ne=S&&A.transition&&A.transition.mode==="out-in";ne&&(S.transition.afterLeave=()=>{j===y.pendingId&&p(A,W,pe,0)});let{anchor:pe}=y;S&&(pe=m(S),g(S,V,y,!0)),ne||p(A,W,pe,0)}zo(y,A),y.pendingBranch=null,y.isInFallback=!1;let Y=y.parent,ce=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...N),ce=!0;break}Y=Y.parent}ce||ud(N),y.effects=[],v&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!C&&t.resolve()),$r(T,"onResolve")},fallback(E){if(!y.pendingBranch)return;const{vnode:C,activeBranch:T,parentComponent:S,container:A,isSVG:j}=y;$r(C,"onFallback");const N=m(T),V=()=>{y.isInFallback&&(d(null,E,A,N,S,null,j,a,l),zo(y,E))},W=E.transition&&E.transition.mode==="out-in";W&&(T.transition.afterLeave=V),y.isInFallback=!0,g(T,S,null,!0),W||V()},move(E,C,T){y.activeBranch&&p(y.activeBranch,E,C,T),y.container=E},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(E,C){const T=!!y.pendingBranch;T&&y.deps++;const S=E.vnode.el;E.asyncDep.catch(A=>{ir(A,E,0)}).then(A=>{if(E.isUnmounted||y.isUnmounted||y.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:j}=E;Wi(E,A,!1),S&&(j.el=S);const N=!S&&E.subTree.el;C(E,j,b(S||E.subTree.el),S?null:m(E.subTree),y,i,l),N&&k(N),Fa(E,j.el),T&&--y.deps===0&&y.resolve()})},unmount(E,C){y.isUnmounted=!0,y.activeBranch&&g(y.activeBranch,n,E,C),y.pendingBranch&&g(y.pendingBranch,n,E,C)}};return y}function qp(e,t,n,o,r,s,i,a,l){const c=t.suspense=Ha(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function zp(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Ml(o?n.default:n),e.ssFallback=o?Ml(n.fallback):ee(Wt)}function Ml(e){let t;if(Re(e)){const n=Go&&e._c;n&&(e._d=!1,O()),e=e(),n&&(e._d=!0,t=hn,Nd())}return we(e)&&(e=Bp(e)),e=fn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function pd(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):ud(e)}function zo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Fa(o,r))}function Kp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function md(e,t){return ja(e,null,t)}const os={};function Te(e,t,n){return ja(e,t,n)}function ja(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=_t){var a;const l=Hu()===((a=St)==null?void 0:a.scope)?St:null;let c,u=!1,d=!1;if(me(e)?(c=()=>e.value,u=ws(e)):eo(e)?(c=()=>e,o=!0):we(e)?(d=!0,u=e.some(y=>eo(y)||ws(y)),c=()=>e.map(y=>{if(me(y))return y.value;if(eo(y))return bo(y);if(Re(y))return to(y,l,2)})):Re(e)?t?c=()=>to(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),mn(e,l,3,[g])}:c=En,t&&o){const y=c;c=()=>bo(y())}let p,g=y=>{p=v.onStop=()=>{to(y,l,4)}},m;if(Jo)if(g=En,t?n&&mn(t,l,3,[c(),d?[]:void 0,g]):c(),r==="sync"){const y=Vm();m=y.__watcherHandles||(y.__watcherHandles=[])}else return En;let b=d?new Array(e.length).fill(os):os;const k=()=>{if(v.active)if(t){const y=v.run();(o||u||(d?y.some((E,C)=>Mr(E,b[C])):Mr(y,b)))&&(p&&p(),mn(t,l,3,[y,b===os?void 0:d&&b[0]===os?[]:b,g]),b=y)}else v.run()};k.allowRecurse=!!t;let w;r==="sync"?w=k:r==="post"?w=()=>Dt(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),w=()=>Fs(k));const v=new xa(c,w);t?n?k():b=v.run():r==="post"?Dt(v.run.bind(v),l&&l.suspense):v.run();const _=()=>{v.stop(),l&&l.scope&&Sa(l.scope.effects,v)};return m&&m.push(_),_}function Gp(e,t,n){const o=this.proxy,r=kt(e)?e.includes(".")?vd(o,e):()=>o[e]:e.bind(o,o);let s;Re(t)?s=t:(s=t.handler,n=t);const i=St;Zo(this);const a=ja(r,s.bind(o),n);return i?Zo(i):_o(),a}function vd(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function bo(e,t){if(!wt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),me(e))bo(e.value,t);else if(we(e))for(let n=0;n<e.length;n++)bo(e[n],t);else if(nr(e)||jo(e))e.forEach(n=>{bo(n,t)});else if(Vu(e))for(const n in e)bo(e[n],t);return e}function yt(e,t){const n=Mt;if(n===null)return e;const o=Ys(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,a,l,c=_t]=t[s];i&&(Re(i)&&(i={mounted:i,updated:i}),i.deep&&bo(a),r.push({dir:i,instance:o,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ln(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];s&&(a.oldValue=s[i].value);let l=a.dir[o];l&&(rr(),mn(l,n,8,[e.el,a,e,t]),sr())}}function gd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ht(()=>{e.isMounted=!0}),Nt(()=>{e.isUnmounting=!0}),e}const dn=[Function,Array],bd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dn,onEnter:dn,onAfterEnter:dn,onEnterCancelled:dn,onBeforeLeave:dn,onLeave:dn,onAfterLeave:dn,onLeaveCancelled:dn,onBeforeAppear:dn,onAppear:dn,onAfterAppear:dn,onAppearCancelled:dn},Yp={name:"BaseTransition",props:bd,setup(e,{slots:t}){const n=Pn(),o=gd();let r;return()=>{const s=t.default&&Wa(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const b of s)if(b.type!==Wt){i=b;break}}const a=pt(e),{mode:l}=a;if(o.isLeaving)return vi(i);const c=Dl(i);if(!c)return vi(i);const u=Fr(c,a,o,n);Ko(c,u);const d=n.subTree,p=d&&Dl(d);let g=!1;const{getTransitionKey:m}=c.type;if(m){const b=m();r===void 0?r=b:b!==r&&(r=b,g=!0)}if(p&&p.type!==Wt&&(!wn(c,p)||g)){const b=Fr(p,a,o,n);if(Ko(p,b),l==="out-in")return o.isLeaving=!0,b.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},vi(i);l==="in-out"&&c.type!==Wt&&(b.delayLeave=(k,w,v)=>{const _=yd(o,p);_[String(p.key)]=p,k._leaveCb=()=>{w(),k._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return i}}},Zp=Yp;function yd(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Fr(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:b,onAppear:k,onAfterAppear:w,onAppearCancelled:v}=t,_=String(e.key),y=yd(n,e),E=(S,A)=>{S&&mn(S,o,9,A)},C=(S,A)=>{const j=A[1];E(S,A),we(S)?S.every(N=>N.length<=1)&&j():S.length<=1&&j()},T={mode:s,persisted:i,beforeEnter(S){let A=a;if(!n.isMounted)if(r)A=b||a;else return;S._leaveCb&&S._leaveCb(!0);const j=y[_];j&&wn(e,j)&&j.el._leaveCb&&j.el._leaveCb(),E(A,[S])},enter(S){let A=l,j=c,N=u;if(!n.isMounted)if(r)A=k||l,j=w||c,N=v||u;else return;let V=!1;const W=S._enterCb=Y=>{V||(V=!0,Y?E(N,[S]):E(j,[S]),T.delayedLeave&&T.delayedLeave(),S._enterCb=void 0)};A?C(A,[S,W]):W()},leave(S,A){const j=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return A();E(d,[S]);let N=!1;const V=S._leaveCb=W=>{N||(N=!0,A(),W?E(m,[S]):E(g,[S]),S._leaveCb=void 0,y[j]===e&&delete y[j])};y[j]=e,p?C(p,[S,V]):V()},clone(S){return Fr(S,t,n,o)}};return T}function vi(e){if(zr(e))return e=Fn(e),e.children=null,e}function Dl(e){return zr(e)?e.children?e.children[0]:void 0:e}function Ko(e,t){e.shapeFlag&6&&e.component?Ko(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Wa(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Se?(i.patchFlag&128&&r++,o=o.concat(Wa(i.children,t,a))):(t||i.type!==Wt)&&o.push(a!=null?Fn(i,{key:a}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function gn(e,t){return Re(e)?(()=>Lt({name:e.name},t,{setup:e}))():e}const wo=e=>!!e.type.__asyncLoader;function Wn(e){Re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const d=()=>(u++,l=null,p()),p=()=>{let g;return l||(g=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((b,k)=>{a(m,()=>b(d()),()=>k(m),u+1)});throw m}).then(m=>g!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return gn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const g=St;if(c)return()=>gi(c,g);const m=v=>{l=null,ir(v,g,13,!o)};if(i&&g.suspense||Jo)return p().then(v=>()=>gi(v,g)).catch(v=>(m(v),()=>o?ee(o,{error:v}):null));const b=M(!1),k=M(),w=M(!!r);return r&&setTimeout(()=>{w.value=!1},r),s!=null&&setTimeout(()=>{if(!b.value&&!k.value){const v=new Error(`Async component timed out after ${s}ms.`);m(v),k.value=v}},s),p().then(()=>{b.value=!0,g.parent&&zr(g.parent.vnode)&&Fs(g.parent.update)}).catch(v=>{m(v),k.value=v}),()=>{if(b.value&&c)return gi(c,g);if(k.value&&o)return ee(o,{error:k.value});if(n&&!w.value)return ee(n)}}})}function gi(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=ee(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const zr=e=>e.type.__isKeepAlive,Jp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Pn(),o=n.ctx;if(!o.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const r=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");o.activate=(v,_,y,E,C)=>{const T=v.component;c(v,_,y,0,a),l(T.vnode,v,_,y,T,a,E,v.slotScopeIds,C),Dt(()=>{T.isDeactivated=!1,T.a&&Wo(T.a);const S=v.props&&v.props.onVnodeMounted;S&&Zt(S,T.parent,v)},a)},o.deactivate=v=>{const _=v.component;c(v,p,null,1,a),Dt(()=>{_.da&&Wo(_.da);const y=v.props&&v.props.onVnodeUnmounted;y&&Zt(y,_.parent,v),_.isDeactivated=!0},a)};function g(v){bi(v),u(v,n,a,!0)}function m(v){r.forEach((_,y)=>{const E=qi(_.type);E&&(!v||!v(E))&&b(y)})}function b(v){const _=r.get(v);!i||!wn(_,i)?g(_):i&&bi(i),r.delete(v),s.delete(v)}Te(()=>[e.include,e.exclude],([v,_])=>{v&&m(y=>wr(v,y)),_&&m(y=>!wr(_,y))},{flush:"post",deep:!0});let k=null;const w=()=>{k!=null&&r.set(k,yi(n.subTree))};return ht(w),qa(w),Nt(()=>{r.forEach(v=>{const{subTree:_,suspense:y}=n,E=yi(_);if(v.type===E.type&&v.key===E.key){bi(E);const C=E.component.da;C&&Dt(C,y);return}g(v)})}),()=>{if(k=null,!t.default)return null;const v=t.default(),_=v[0];if(v.length>1)return i=null,v;if(!Yo(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let y=yi(_);const E=y.type,C=qi(wo(y)?y.type.__asyncResolved||{}:E),{include:T,exclude:S,max:A}=e;if(T&&(!C||!wr(T,C))||S&&C&&wr(S,C))return i=y,_;const j=y.key==null?E:y.key,N=r.get(j);return y.el&&(y=Fn(y),_.shapeFlag&128&&(_.ssContent=y)),k=j,N?(y.el=N.el,y.component=N.component,y.transition&&Ko(y,y.transition),y.shapeFlag|=512,s.delete(j),s.add(j)):(s.add(j),A&&s.size>parseInt(A,10)&&b(s.values().next().value)),y.shapeFlag|=256,i=y,hd(_.type)?_:y}}},Qp=Jp;function wr(e,t){return we(e)?e.some(n=>wr(n,t)):kt(e)?e.split(",").includes(t):Fh(e)?e.test(t):!1}function wd(e,t){Ed(e,"a",t)}function _d(e,t){Ed(e,"da",t)}function Ed(e,t,n=St){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(js(t,o,n),n){let r=n.parent;for(;r&&r.parent;)zr(r.parent.vnode)&&Xp(o,t,n,r),r=r.parent}}function Xp(e,t,n,o){const r=js(t,e,o,!0);qs(()=>{Sa(o[t],r)},n)}function bi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function yi(e){return e.shapeFlag&128?e.ssContent:e}function js(e,t,n=St,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;rr(),Zo(n);const a=mn(t,n,e,i);return _o(),sr(),a});return o?r.unshift(s):r.push(s),s}}const Un=e=>(t,n=St)=>(!Jo||e==="sp")&&js(e,(...o)=>t(...o),n),Ws=Un("bm"),ht=Un("m"),em=Un("bu"),qa=Un("u"),Nt=Un("bum"),qs=Un("um"),tm=Un("sp"),nm=Un("rtg"),om=Un("rtc");function kd(e,t=St){js("ec",e,t)}const za="components",rm="directives";function $n(e,t){return Ka(za,e,!0,t)||e}const Cd=Symbol.for("v-ndc");function sm(e){return kt(e)?Ka(za,e,!1)||e:e||Cd}function Td(e){return Ka(rm,e)}function Ka(e,t,n=!0,o=!1){const r=Mt||St;if(r){const s=r.type;if(e===za){const a=qi(s,!1);if(a&&(a===t||a===In(t)||a===Ns(In(t))))return s}const i=Nl(r[e]||s[e],t)||Nl(r.appContext[e],t);return!i&&o?s:i}}function Nl(e,t){return e&&(e[t]||e[In(t)]||e[Ns(In(t))])}function Qt(e,t,n,o){let r;const s=n&&n[o];if(we(e)||kt(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s&&s[i])}else if(wt(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];r[a]=t(e[c],c,a,s&&s[a])}}else r=[];return n&&(n[o]=r),r}function Lo(e,t,n={},o,r){if(Mt.isCE||Mt.parent&&wo(Mt.parent)&&Mt.parent.isCE)return t!=="default"&&(n.name=t),ee("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),O();const i=s&&Ad(s(n)),a=ke(Se,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Ad(e){return e.some(t=>Yo(t)?!(t.type===Wt||t.type===Se&&!Ad(t.children)):!0)?e:null}const $i=e=>e?Fd(e)?Ys(e)||e.proxy:$i(e.parent):null,kr=Lt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$i(e.parent),$root:e=>$i(e.root),$emit:e=>e.emit,$options:e=>Ga(e),$forceUpdate:e=>e.f||(e.f=()=>Fs(e.update)),$nextTick:e=>e.n||(e.n=ft.bind(e.proxy)),$watch:e=>Gp.bind(e)}),wi=(e,t)=>e!==_t&&!e.__isScriptSetup&&vt(e,t),im={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(wi(o,t))return i[t]=1,o[t];if(r!==_t&&vt(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&vt(c,t))return i[t]=3,s[t];if(n!==_t&&vt(n,t))return i[t]=4,n[t];Fi&&(i[t]=0)}}const u=kr[t];let d,p;if(u)return t==="$attrs"&&Xt(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==_t&&vt(n,t))return i[t]=4,n[t];if(p=l.config.globalProperties,vt(p,t))return p[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return wi(r,t)?(r[t]=n,!0):o!==_t&&vt(o,t)?(o[t]=n,!0):vt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let a;return!!n[i]||e!==_t&&vt(e,i)||wi(t,i)||(a=s[0])&&vt(a,i)||vt(o,i)||vt(kr,i)||vt(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:vt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vl(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Fi=!0;function am(e){const t=Ga(e),n=e.proxy,o=e.ctx;Fi=!1,t.beforeCreate&&Bl(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:g,updated:m,activated:b,deactivated:k,beforeDestroy:w,beforeUnmount:v,destroyed:_,unmounted:y,render:E,renderTracked:C,renderTriggered:T,errorCaptured:S,serverPrefetch:A,expose:j,inheritAttrs:N,components:V,directives:W,filters:Y}=t;if(c&&lm(c,o,null),i)for(const pe in i){const se=i[pe];Re(se)&&(o[pe]=se.bind(n))}if(r){const pe=r.call(n,n);wt(pe)&&(e.data=en(pe))}if(Fi=!0,s)for(const pe in s){const se=s[pe],Le=Re(se)?se.bind(n,n):Re(se.get)?se.get.bind(n,n):En,ae=!Re(se)&&Re(se.set)?se.set.bind(n):En,dt=be({get:Le,set:ae});Object.defineProperty(o,pe,{enumerable:!0,configurable:!0,get:()=>dt.value,set:Q=>dt.value=Q})}if(a)for(const pe in a)Ld(a[pe],o,n,pe);if(l){const pe=Re(l)?l.call(n):l;Reflect.ownKeys(pe).forEach(se=>{Bt(se,pe[se])})}u&&Bl(u,e,"c");function ne(pe,se){we(se)?se.forEach(Le=>pe(Le.bind(n))):se&&pe(se.bind(n))}if(ne(Ws,d),ne(ht,p),ne(em,g),ne(qa,m),ne(wd,b),ne(_d,k),ne(kd,S),ne(om,C),ne(nm,T),ne(Nt,v),ne(qs,y),ne(tm,A),we(j))if(j.length){const pe=e.exposed||(e.exposed={});j.forEach(se=>{Object.defineProperty(pe,se,{get:()=>n[se],set:Le=>n[se]=Le})})}else e.exposed||(e.exposed={});E&&e.render===En&&(e.render=E),N!=null&&(e.inheritAttrs=N),V&&(e.components=V),W&&(e.directives=W)}function lm(e,t,n=En){we(e)&&(e=Ui(e));for(const o in e){const r=e[o];let s;wt(r)?"default"in r?s=Ot(r.from||o,r.default,!0):s=Ot(r.from||o):s=Ot(r),me(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Bl(e,t,n){mn(we(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ld(e,t,n,o){const r=o.includes(".")?vd(n,o):()=>n[o];if(kt(e)){const s=t[e];Re(s)&&Te(r,s)}else if(Re(e))Te(r,e.bind(n));else if(wt(e))if(we(e))e.forEach(s=>Ld(s,t,n,o));else{const s=Re(e.handler)?e.handler.bind(n):t[e.handler];Re(s)&&Te(r,s,e)}}function Ga(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>ks(l,c,i,!0)),ks(l,t,i)),wt(t)&&s.set(t,l),l}function ks(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&ks(e,s,n,!0),r&&r.forEach(i=>ks(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=cm[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const cm={data:$l,props:Fl,emits:Fl,methods:_r,computed:_r,beforeCreate:Ht,created:Ht,beforeMount:Ht,mounted:Ht,beforeUpdate:Ht,updated:Ht,beforeDestroy:Ht,beforeUnmount:Ht,destroyed:Ht,unmounted:Ht,activated:Ht,deactivated:Ht,errorCaptured:Ht,serverPrefetch:Ht,components:_r,directives:_r,watch:dm,provide:$l,inject:um};function $l(e,t){return t?e?function(){return Lt(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function um(e,t){return _r(Ui(e),Ui(t))}function Ui(e){if(we(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ht(e,t){return e?[...new Set([].concat(e,t))]:t}function _r(e,t){return e?Lt(Object.create(null),e,t):t}function Fl(e,t){return e?we(e)&&we(t)?[...new Set([...e,...t])]:Lt(Object.create(null),Vl(e),Vl(t??{})):t}function dm(e,t){if(!e)return t;if(!t)return e;const n=Lt(Object.create(null),e);for(const o in t)n[o]=Ht(e[o],t[o]);return n}function Rd(){return{app:null,config:{isNativeTag:Vh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fm=0;function hm(e,t){return function(o,r=null){Re(o)||(o=Lt({},o)),r!=null&&!wt(r)&&(r=null);const s=Rd(),i=new Set;let a=!1;const l=s.app={_uid:fm++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:Hd,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&Re(c.install)?(i.add(c),c.install(l,...u)):Re(c)&&(i.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,d){if(!a){const p=ee(o,r);return p.appContext=s,u&&t?t(p,c):e(p,c,d),a=!0,l._container=c,c.__vue_app__=l,Ys(p.component)||p.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){Ur=l;try{return c()}finally{Ur=null}}};return l}}let Ur=null;function Bt(e,t){if(St){let n=St.provides;const o=St.parent&&St.parent.provides;o===n&&(n=St.provides=Object.create(o)),n[e]=t}}function Ot(e,t,n=!1){const o=St||Mt;if(o||Ur){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ur._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Re(t)?t.call(o&&o.proxy):t}}function Ya(){return!!(St||Mt||Ur)}function pm(e,t,n,o=!1){const r={},s={};gs(s,Ks,1),e.propsDefaults=Object.create(null),Sd(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Xu(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function mm(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,a=pt(r),[l]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Us(e.emitsOptions,p))continue;const g=t[p];if(l)if(vt(s,p))g!==s[p]&&(s[p]=g,c=!0);else{const m=In(p);r[m]=Hi(l,a,m,g,e,!1)}else g!==s[p]&&(s[p]=g,c=!0)}}}else{Sd(e,t,r,s)&&(c=!0);let u;for(const d in a)(!t||!vt(t,d)&&((u=Ao(d))===d||!vt(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=Hi(l,a,d,void 0,e,!0)):delete r[d]);if(s!==a)for(const d in s)(!t||!vt(t,d))&&(delete s[d],c=!0)}c&&Bn(e,"set","$attrs")}function Sd(e,t,n,o){const[r,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Er(l))continue;const c=t[l];let u;r&&vt(r,u=In(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Us(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,i=!0)}if(s){const l=pt(n),c=a||_t;for(let u=0;u<s.length;u++){const d=s[u];n[d]=Hi(r,l,d,c[d],e,!vt(c,d))}}return i}function Hi(e,t,n,o,r,s){const i=e[n];if(i!=null){const a=vt(i,"default");if(a&&o===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Re(l)){const{propsDefaults:c}=r;n in c?o=c[n]:(Zo(r),o=c[n]=l.call(null,t),_o())}else o=l}i[0]&&(s&&!a?o=!1:i[1]&&(o===""||o===Ao(n))&&(o=!0))}return o}function Id(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},a=[];let l=!1;if(!Re(e)){const u=d=>{l=!0;const[p,g]=Id(d,t,!0);Lt(i,p),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return wt(e)&&o.set(e,Ho),Ho;if(we(s))for(let u=0;u<s.length;u++){const d=In(s[u]);Ul(d)&&(i[d]=_t)}else if(s)for(const u in s){const d=In(u);if(Ul(d)){const p=s[u],g=i[d]=we(p)||Re(p)?{type:p}:Lt({},p);if(g){const m=Wl(Boolean,g.type),b=Wl(String,g.type);g[0]=m>-1,g[1]=b<0||m<b,(m>-1||vt(g,"default"))&&a.push(d)}}}const c=[i,a];return wt(e)&&o.set(e,c),c}function Ul(e){return e[0]!=="$"}function Hl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function jl(e,t){return Hl(e)===Hl(t)}function Wl(e,t){return we(t)?t.findIndex(n=>jl(n,e)):Re(t)&&jl(t,e)?0:-1}const Pd=e=>e[0]==="_"||e==="$stable",Za=e=>we(e)?e.map(fn):[fn(e)],vm=(e,t,n)=>{if(t._n)return t;const o=Ae((...r)=>Za(t(...r)),n);return o._c=!1,o},Od=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Pd(r))continue;const s=e[r];if(Re(s))t[r]=vm(r,s,o);else if(s!=null){const i=Za(s);t[r]=()=>i}}},xd=(e,t)=>{const n=Za(t);e.slots.default=()=>n},gm=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pt(t),gs(t,"_",n)):Od(t,e.slots={})}else e.slots={},t&&xd(e,t);gs(e.slots,Ks,1)},bm=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=_t;if(o.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Lt(r,t),!n&&a===1&&delete r._):(s=!t.$stable,Od(t,r)),i=t}else t&&(xd(e,t),i={default:1});if(s)for(const a in r)!Pd(a)&&!(a in i)&&delete r[a]};function Cs(e,t,n,o,r=!1){if(we(e)){e.forEach((p,g)=>Cs(p,t&&(we(t)?t[g]:t),n,o,r));return}if(wo(o)&&!r)return;const s=o.shapeFlag&4?Ys(o.component)||o.component.proxy:o.el,i=r?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===_t?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(kt(c)?(u[c]=null,vt(d,c)&&(d[c]=null)):me(c)&&(c.value=null)),Re(l))to(l,a,12,[i,u]);else{const p=kt(l),g=me(l);if(p||g){const m=()=>{if(e.f){const b=p?vt(d,l)?d[l]:u[l]:l.value;r?we(b)&&Sa(b,s):we(b)?b.includes(s)||b.push(s):p?(u[l]=[s],vt(d,l)&&(d[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,vt(d,l)&&(d[l]=i)):g&&(l.value=i,e.k&&(u[e.k]=i))};i?(m.id=-1,Dt(m,n)):m()}}}let qn=!1;const rs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",ss=e=>e.nodeType===8;function ym(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(w,v)=>{if(!v.hasChildNodes()){n(null,w,v),_s(),v._vnode=w;return}qn=!1,d(v.firstChild,w,null,null,null),_s(),v._vnode=w,qn&&console.error("Hydration completed but contains mismatches.")},d=(w,v,_,y,E,C=!1)=>{const T=ss(w)&&w.data==="[",S=()=>b(w,v,_,y,E,T),{type:A,ref:j,shapeFlag:N,patchFlag:V}=v;let W=w.nodeType;v.el=w,V===-2&&(C=!1,v.dynamicChildren=null);let Y=null;switch(A){case Co:W!==3?v.children===""?(l(v.el=r(""),i(w),w),Y=w):Y=S():(w.data!==v.children&&(qn=!0,w.data=v.children),Y=s(w));break;case Wt:W!==8||T?Y=S():Y=s(w);break;case Tr:if(T&&(w=s(w),W=w.nodeType),W===1||W===3){Y=w;const ce=!v.children.length;for(let ne=0;ne<v.staticCount;ne++)ce&&(v.children+=Y.nodeType===1?Y.outerHTML:Y.data),ne===v.staticCount-1&&(v.anchor=Y),Y=s(Y);return T?s(Y):Y}else S();break;case Se:T?Y=m(w,v,_,y,E,C):Y=S();break;default:if(N&1)W!==1||v.type.toLowerCase()!==w.tagName.toLowerCase()?Y=S():Y=p(w,v,_,y,E,C);else if(N&6){v.slotScopeIds=E;const ce=i(w);if(t(v,ce,null,_,y,rs(ce),C),Y=T?k(w):s(w),Y&&ss(Y)&&Y.data==="teleport end"&&(Y=s(Y)),wo(v)){let ne;T?(ne=ee(Se),ne.anchor=Y?Y.previousSibling:ce.lastChild):ne=w.nodeType===3?jt(""):ee("div"),ne.el=w,v.component.subTree=ne}}else N&64?W!==8?Y=S():Y=v.type.hydrate(w,v,_,y,E,C,e,g):N&128&&(Y=v.type.hydrate(w,v,_,y,rs(i(w)),E,C,e,d))}return j!=null&&Cs(j,null,y,v),Y},p=(w,v,_,y,E,C)=>{C=C||!!v.dynamicChildren;const{type:T,props:S,patchFlag:A,shapeFlag:j,dirs:N}=v,V=T==="input"&&N||T==="option";if(V||A!==-1){if(N&&Ln(v,null,_,"created"),S)if(V||!C||A&48)for(const Y in S)(V&&Y.endsWith("value")||qr(Y)&&!Er(Y))&&o(w,Y,null,S[Y],!1,void 0,_);else S.onClick&&o(w,"onClick",null,S.onClick,!1,void 0,_);let W;if((W=S&&S.onVnodeBeforeMount)&&Zt(W,_,v),N&&Ln(v,null,_,"beforeMount"),((W=S&&S.onVnodeMounted)||N)&&pd(()=>{W&&Zt(W,_,v),N&&Ln(v,null,_,"mounted")},y),j&16&&!(S&&(S.innerHTML||S.textContent))){let Y=g(w.firstChild,v,w,_,y,E,C);for(;Y;){qn=!0;const ce=Y;Y=Y.nextSibling,a(ce)}}else j&8&&w.textContent!==v.children&&(qn=!0,w.textContent=v.children)}return w.nextSibling},g=(w,v,_,y,E,C,T)=>{T=T||!!v.dynamicChildren;const S=v.children,A=S.length;for(let j=0;j<A;j++){const N=T?S[j]:S[j]=fn(S[j]);if(w)w=d(w,N,y,E,C,T);else{if(N.type===Co&&!N.children)continue;qn=!0,n(null,N,_,null,y,E,rs(_),C)}}return w},m=(w,v,_,y,E,C)=>{const{slotScopeIds:T}=v;T&&(E=E?E.concat(T):T);const S=i(w),A=g(s(w),v,S,_,y,E,C);return A&&ss(A)&&A.data==="]"?s(v.anchor=A):(qn=!0,l(v.anchor=c("]"),S,A),A)},b=(w,v,_,y,E,C)=>{if(qn=!0,v.el=null,C){const A=k(w);for(;;){const j=s(w);if(j&&j!==A)a(j);else break}}const T=s(w),S=i(w);return a(w),n(null,v,S,T,_,y,rs(S),E),T},k=w=>{let v=0;for(;w;)if(w=s(w),w&&ss(w)&&(w.data==="["&&v++,w.data==="]")){if(v===0)return s(w);v--}return w};return[u,d]}const Dt=pd;function wm(e){return Md(e)}function _m(e){return Md(e,ym)}function Md(e,t){const n=Mi();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:g=En,insertStaticContent:m}=e,b=(L,I,B,K=null,G=null,F=null,Z=!1,U=null,q=!!I.dynamicChildren)=>{if(L===I)return;L&&!wn(L,I)&&(K=z(L),Q(L,G,F,!0),L=null),I.patchFlag===-2&&(q=!1,I.dynamicChildren=null);const{type:D,ref:R,shapeFlag:P}=I;switch(D){case Co:k(L,I,B,K);break;case Wt:w(L,I,B,K);break;case Tr:L==null&&v(I,B,K,Z);break;case Se:V(L,I,B,K,G,F,Z,U,q);break;default:P&1?E(L,I,B,K,G,F,Z,U,q):P&6?W(L,I,B,K,G,F,Z,U,q):(P&64||P&128)&&D.process(L,I,B,K,G,F,Z,U,q,te)}R!=null&&G&&Cs(R,L&&L.ref,F,I||L,!I)},k=(L,I,B,K)=>{if(L==null)o(I.el=a(I.children),B,K);else{const G=I.el=L.el;I.children!==L.children&&c(G,I.children)}},w=(L,I,B,K)=>{L==null?o(I.el=l(I.children||""),B,K):I.el=L.el},v=(L,I,B,K)=>{[L.el,L.anchor]=m(L.children,I,B,K,L.el,L.anchor)},_=({el:L,anchor:I},B,K)=>{let G;for(;L&&L!==I;)G=p(L),o(L,B,K),L=G;o(I,B,K)},y=({el:L,anchor:I})=>{let B;for(;L&&L!==I;)B=p(L),r(L),L=B;r(I)},E=(L,I,B,K,G,F,Z,U,q)=>{Z=Z||I.type==="svg",L==null?C(I,B,K,G,F,Z,U,q):A(L,I,G,F,Z,U,q)},C=(L,I,B,K,G,F,Z,U)=>{let q,D;const{type:R,props:P,shapeFlag:J,transition:X,dirs:le}=L;if(q=L.el=i(L.type,F,P&&P.is,P),J&8?u(q,L.children):J&16&&S(L.children,q,null,K,G,F&&R!=="foreignObject",Z,U),le&&Ln(L,null,K,"created"),T(q,L,L.scopeId,Z,K),P){for(const _e in P)_e!=="value"&&!Er(_e)&&s(q,_e,null,P[_e],F,L.children,K,G,Ee);"value"in P&&s(q,"value",null,P.value),(D=P.onVnodeBeforeMount)&&Zt(D,K,L)}le&&Ln(L,null,K,"beforeMount");const de=(!G||G&&!G.pendingBranch)&&X&&!X.persisted;de&&X.beforeEnter(q),o(q,I,B),((D=P&&P.onVnodeMounted)||de||le)&&Dt(()=>{D&&Zt(D,K,L),de&&X.enter(q),le&&Ln(L,null,K,"mounted")},G)},T=(L,I,B,K,G)=>{if(B&&g(L,B),K)for(let F=0;F<K.length;F++)g(L,K[F]);if(G){let F=G.subTree;if(I===F){const Z=G.vnode;T(L,Z,Z.scopeId,Z.slotScopeIds,G.parent)}}},S=(L,I,B,K,G,F,Z,U,q=0)=>{for(let D=q;D<L.length;D++){const R=L[D]=U?Zn(L[D]):fn(L[D]);b(null,R,I,B,K,G,F,Z,U)}},A=(L,I,B,K,G,F,Z)=>{const U=I.el=L.el;let{patchFlag:q,dynamicChildren:D,dirs:R}=I;q|=L.patchFlag&16;const P=L.props||_t,J=I.props||_t;let X;B&&fo(B,!1),(X=J.onVnodeBeforeUpdate)&&Zt(X,B,I,L),R&&Ln(I,L,B,"beforeUpdate"),B&&fo(B,!0);const le=G&&I.type!=="foreignObject";if(D?j(L.dynamicChildren,D,U,B,K,le,F):Z||se(L,I,U,null,B,K,le,F,!1),q>0){if(q&16)N(U,I,P,J,B,K,G);else if(q&2&&P.class!==J.class&&s(U,"class",null,J.class,G),q&4&&s(U,"style",P.style,J.style,G),q&8){const de=I.dynamicProps;for(let _e=0;_e<de.length;_e++){const he=de[_e],Ut=P[he],uo=J[he];(uo!==Ut||he==="value")&&s(U,he,Ut,uo,G,L.children,B,K,Ee)}}q&1&&L.children!==I.children&&u(U,I.children)}else!Z&&D==null&&N(U,I,P,J,B,K,G);((X=J.onVnodeUpdated)||R)&&Dt(()=>{X&&Zt(X,B,I,L),R&&Ln(I,L,B,"updated")},K)},j=(L,I,B,K,G,F,Z)=>{for(let U=0;U<I.length;U++){const q=L[U],D=I[U],R=q.el&&(q.type===Se||!wn(q,D)||q.shapeFlag&70)?d(q.el):B;b(q,D,R,null,K,G,F,Z,!0)}},N=(L,I,B,K,G,F,Z)=>{if(B!==K){if(B!==_t)for(const U in B)!Er(U)&&!(U in K)&&s(L,U,B[U],null,Z,I.children,G,F,Ee);for(const U in K){if(Er(U))continue;const q=K[U],D=B[U];q!==D&&U!=="value"&&s(L,U,D,q,Z,I.children,G,F,Ee)}"value"in K&&s(L,"value",B.value,K.value)}},V=(L,I,B,K,G,F,Z,U,q)=>{const D=I.el=L?L.el:a(""),R=I.anchor=L?L.anchor:a("");let{patchFlag:P,dynamicChildren:J,slotScopeIds:X}=I;X&&(U=U?U.concat(X):X),L==null?(o(D,B,K),o(R,B,K),S(I.children,B,R,G,F,Z,U,q)):P>0&&P&64&&J&&L.dynamicChildren?(j(L.dynamicChildren,J,B,G,F,Z,U),(I.key!=null||G&&I===G.subTree)&&Ja(L,I,!0)):se(L,I,B,R,G,F,Z,U,q)},W=(L,I,B,K,G,F,Z,U,q)=>{I.slotScopeIds=U,L==null?I.shapeFlag&512?G.ctx.activate(I,B,K,Z,q):Y(I,B,K,G,F,Z,q):ce(L,I,q)},Y=(L,I,B,K,G,F,Z)=>{const U=L.component=Im(L,K,G);if(zr(L)&&(U.ctx.renderer=te),Pm(U),U.asyncDep){if(G&&G.registerDep(U,ne),!L.el){const q=U.subTree=ee(Wt);w(null,q,I,B)}return}ne(U,L,I,B,G,F,Z)},ce=(L,I,B)=>{const K=I.component=L.component;if(Up(L,I,B))if(K.asyncDep&&!K.asyncResolved){pe(K,I,B);return}else K.next=I,Dp(K.update),K.update();else I.el=L.el,K.vnode=I},ne=(L,I,B,K,G,F,Z)=>{const U=()=>{if(L.isMounted){let{next:R,bu:P,u:J,parent:X,vnode:le}=L,de=R,_e;fo(L,!1),R?(R.el=le.el,pe(L,R,Z)):R=le,P&&Wo(P),(_e=R.props&&R.props.onVnodeBeforeUpdate)&&Zt(_e,X,R,le),fo(L,!0);const he=mi(L),Ut=L.subTree;L.subTree=he,b(Ut,he,d(Ut.el),z(Ut),L,G,F),R.el=he.el,de===null&&Fa(L,he.el),J&&Dt(J,G),(_e=R.props&&R.props.onVnodeUpdated)&&Dt(()=>Zt(_e,X,R,le),G)}else{let R;const{el:P,props:J}=I,{bm:X,m:le,parent:de}=L,_e=wo(I);if(fo(L,!1),X&&Wo(X),!_e&&(R=J&&J.onVnodeBeforeMount)&&Zt(R,de,I),fo(L,!0),P&&ge){const he=()=>{L.subTree=mi(L),ge(P,L.subTree,L,G,null)};_e?I.type.__asyncLoader().then(()=>!L.isUnmounted&&he()):he()}else{const he=L.subTree=mi(L);b(null,he,B,K,L,G,F),I.el=he.el}if(le&&Dt(le,G),!_e&&(R=J&&J.onVnodeMounted)){const he=I;Dt(()=>Zt(R,de,he),G)}(I.shapeFlag&256||de&&wo(de.vnode)&&de.vnode.shapeFlag&256)&&L.a&&Dt(L.a,G),L.isMounted=!0,I=B=K=null}},q=L.effect=new xa(U,()=>Fs(D),L.scope),D=L.update=()=>q.run();D.id=L.uid,fo(L,!0),D()},pe=(L,I,B)=>{I.component=L;const K=L.vnode.props;L.vnode=I,L.next=null,mm(L,I.props,K,B),bm(L,I.children,B),rr(),Ol(),sr()},se=(L,I,B,K,G,F,Z,U,q=!1)=>{const D=L&&L.children,R=L?L.shapeFlag:0,P=I.children,{patchFlag:J,shapeFlag:X}=I;if(J>0){if(J&128){ae(D,P,B,K,G,F,Z,U,q);return}else if(J&256){Le(D,P,B,K,G,F,Z,U,q);return}}X&8?(R&16&&Ee(D,G,F),P!==D&&u(B,P)):R&16?X&16?ae(D,P,B,K,G,F,Z,U,q):Ee(D,G,F,!0):(R&8&&u(B,""),X&16&&S(P,B,K,G,F,Z,U,q))},Le=(L,I,B,K,G,F,Z,U,q)=>{L=L||Ho,I=I||Ho;const D=L.length,R=I.length,P=Math.min(D,R);let J;for(J=0;J<P;J++){const X=I[J]=q?Zn(I[J]):fn(I[J]);b(L[J],X,B,null,G,F,Z,U,q)}D>R?Ee(L,G,F,!0,!1,P):S(I,B,K,G,F,Z,U,q,P)},ae=(L,I,B,K,G,F,Z,U,q)=>{let D=0;const R=I.length;let P=L.length-1,J=R-1;for(;D<=P&&D<=J;){const X=L[D],le=I[D]=q?Zn(I[D]):fn(I[D]);if(wn(X,le))b(X,le,B,null,G,F,Z,U,q);else break;D++}for(;D<=P&&D<=J;){const X=L[P],le=I[J]=q?Zn(I[J]):fn(I[J]);if(wn(X,le))b(X,le,B,null,G,F,Z,U,q);else break;P--,J--}if(D>P){if(D<=J){const X=J+1,le=X<R?I[X].el:K;for(;D<=J;)b(null,I[D]=q?Zn(I[D]):fn(I[D]),B,le,G,F,Z,U,q),D++}}else if(D>J)for(;D<=P;)Q(L[D],G,F,!0),D++;else{const X=D,le=D,de=new Map;for(D=le;D<=J;D++){const on=I[D]=q?Zn(I[D]):fn(I[D]);on.key!=null&&de.set(on.key,D)}let _e,he=0;const Ut=J-le+1;let uo=!1,hi=0;const dr=new Array(Ut);for(D=0;D<Ut;D++)dr[D]=0;for(D=X;D<=P;D++){const on=L[D];if(he>=Ut){Q(on,G,F,!0);continue}let Tn;if(on.key!=null)Tn=de.get(on.key);else for(_e=le;_e<=J;_e++)if(dr[_e-le]===0&&wn(on,I[_e])){Tn=_e;break}Tn===void 0?Q(on,G,F,!0):(dr[Tn-le]=D+1,Tn>=hi?hi=Tn:uo=!0,b(on,I[Tn],B,null,G,F,Z,U,q),he++)}const _l=uo?Em(dr):Ho;for(_e=_l.length-1,D=Ut-1;D>=0;D--){const on=le+D,Tn=I[on],El=on+1<R?I[on+1].el:K;dr[D]===0?b(null,Tn,B,El,G,F,Z,U,q):uo&&(_e<0||D!==_l[_e]?dt(Tn,B,El,2):_e--)}}},dt=(L,I,B,K,G=null)=>{const{el:F,type:Z,transition:U,children:q,shapeFlag:D}=L;if(D&6){dt(L.component.subTree,I,B,K);return}if(D&128){L.suspense.move(I,B,K);return}if(D&64){Z.move(L,I,B,te);return}if(Z===Se){o(F,I,B);for(let P=0;P<q.length;P++)dt(q[P],I,B,K);o(L.anchor,I,B);return}if(Z===Tr){_(L,I,B);return}if(K!==2&&D&1&&U)if(K===0)U.beforeEnter(F),o(F,I,B),Dt(()=>U.enter(F),G);else{const{leave:P,delayLeave:J,afterLeave:X}=U,le=()=>o(F,I,B),de=()=>{P(F,()=>{le(),X&&X()})};J?J(F,le,de):de()}else o(F,I,B)},Q=(L,I,B,K=!1,G=!1)=>{const{type:F,props:Z,ref:U,children:q,dynamicChildren:D,shapeFlag:R,patchFlag:P,dirs:J}=L;if(U!=null&&Cs(U,null,B,L,!0),R&256){I.ctx.deactivate(L);return}const X=R&1&&J,le=!wo(L);let de;if(le&&(de=Z&&Z.onVnodeBeforeUnmount)&&Zt(de,I,L),R&6)ut(L.component,B,K);else{if(R&128){L.suspense.unmount(B,K);return}X&&Ln(L,null,I,"beforeUnmount"),R&64?L.type.remove(L,I,B,G,te,K):D&&(F!==Se||P>0&&P&64)?Ee(D,I,B,!1,!0):(F===Se&&P&384||!G&&R&16)&&Ee(q,I,B),K&&ie(L)}(le&&(de=Z&&Z.onVnodeUnmounted)||X)&&Dt(()=>{de&&Zt(de,I,L),X&&Ln(L,null,I,"unmounted")},B)},ie=L=>{const{type:I,el:B,anchor:K,transition:G}=L;if(I===Se){ue(B,K);return}if(I===Tr){y(L);return}const F=()=>{r(B),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(L.shapeFlag&1&&G&&!G.persisted){const{leave:Z,delayLeave:U}=G,q=()=>Z(B,F);U?U(L.el,F,q):q()}else F()},ue=(L,I)=>{let B;for(;L!==I;)B=p(L),r(L),L=B;r(I)},ut=(L,I,B)=>{const{bum:K,scope:G,update:F,subTree:Z,um:U}=L;K&&Wo(K),G.stop(),F&&(F.active=!1,Q(Z,L,I,B)),U&&Dt(U,I),Dt(()=>{L.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},Ee=(L,I,B,K=!1,G=!1,F=0)=>{for(let Z=F;Z<L.length;Z++)Q(L[Z],I,B,K,G)},z=L=>L.shapeFlag&6?z(L.component.subTree):L.shapeFlag&128?L.suspense.next():p(L.anchor||L.el),oe=(L,I,B)=>{L==null?I._vnode&&Q(I._vnode,null,null,!0):b(I._vnode||null,L,I,null,null,null,B),Ol(),_s(),I._vnode=L},te={p:b,um:Q,m:dt,r:ie,mt:Y,mc:S,pc:se,pbc:j,n:z,o:e};let fe,ge;return t&&([fe,ge]=t(te)),{render:oe,hydrate:fe,createApp:hm(oe,fe)}}function fo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ja(e,t,n=!1){const o=e.children,r=t.children;if(we(o)&&we(r))for(let s=0;s<o.length;s++){const i=o[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=Zn(r[s]),a.el=i.el),n||Ja(i,a)),a.type===Co&&(a.el=i.el)}}function Em(e){const t=e.slice(),n=[0];let o,r,s,i,a;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const km=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||e.disabled===""),ql=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ji=(e,t)=>{const n=e&&e.to;return kt(n)?t?t(n):null:n},Cm={__isTeleport:!0,process(e,t,n,o,r,s,i,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:g,querySelector:m,createText:b,createComment:k}}=c,w=Cr(t.props);let{shapeFlag:v,children:_,dynamicChildren:y}=t;if(e==null){const E=t.el=b(""),C=t.anchor=b("");g(E,n,o),g(C,n,o);const T=t.target=ji(t.props,m),S=t.targetAnchor=b("");T&&(g(S,T),i=i||ql(T));const A=(j,N)=>{v&16&&u(_,j,N,r,s,i,a,l)};w?A(n,C):T&&A(T,S)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,T=t.targetAnchor=e.targetAnchor,S=Cr(e.props),A=S?n:C,j=S?E:T;if(i=i||ql(C),y?(p(e.dynamicChildren,y,A,r,s,i,a),Ja(e,t,!0)):l||d(e,t,A,j,r,s,i,a,!1),w)S||is(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ji(t.props,m);N&&is(t,N,null,c,0)}else S&&is(t,C,T,c,1)}Dd(t)},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&s(u),(i||!Cr(p))&&(s(c),a&16))for(let g=0;g<l.length;g++){const m=l[g];r(m,t,n,!0,!!m.dynamicChildren)}},move:is,hydrate:Tm};function is(e,t,n,{o:{insert:o},m:r},s=2){s===0&&o(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,d=s===2;if(d&&o(i,t,n),(!d||Cr(u))&&l&16)for(let p=0;p<c.length;p++)r(c[p],t,n,2);d&&o(a,t,n)}function Tm(e,t,n,o,r,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=ji(t.props,l);if(u){const d=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Cr(t.props))t.anchor=c(i(e),t,a(e),n,o,r,s),t.targetAnchor=d;else{t.anchor=i(e);let p=d;for(;p;)if(p=i(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(d,t,u,n,o,r,s)}Dd(t)}return t.anchor&&i(t.anchor)}const zs=Cm;function Dd(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Se=Symbol.for("v-fgt"),Co=Symbol.for("v-txt"),Wt=Symbol.for("v-cmt"),Tr=Symbol.for("v-stc"),Ar=[];let hn=null;function O(e=!1){Ar.push(hn=e?null:[])}function Nd(){Ar.pop(),hn=Ar[Ar.length-1]||null}let Go=1;function zl(e){Go+=e}function Vd(e){return e.dynamicChildren=Go>0?hn||Ho:null,Nd(),Go>0&&hn&&hn.push(e),e}function H(e,t,n,o,r,s){return Vd(f(e,t,n,o,r,s,!0))}function ke(e,t,n,o,r){return Vd(ee(e,t,n,o,r,!0))}function Yo(e){return e?e.__v_isVNode===!0:!1}function wn(e,t){return e.type===t.type&&e.key===t.key}const Ks="__vInternal",Bd=({key:e})=>e??null,vs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?kt(e)||me(e)||Re(e)?{i:Mt,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,o=0,r=null,s=e===Se?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bd(t),ref:t&&vs(t),scopeId:Hs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Mt};return a?(Qa(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=kt(n)?8:16),Go>0&&!i&&hn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&hn.push(l),l}const ee=Am;function Am(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Cd)&&(e=Wt),Yo(e)){const a=Fn(e,t,!0);return n&&Qa(a,n),Go>0&&!s&&hn&&(a.shapeFlag&6?hn[hn.indexOf(e)]=a:hn.push(a)),a.patchFlag|=-2,a}if(Dm(e)&&(e=e.__vccOpts),t){t=Lm(t);let{class:a,style:l}=t;a&&!kt(a)&&(t.class=Ce(a)),wt(l)&&(td(l)&&!we(l)&&(l=Lt({},l)),t.style=an(l))}const i=kt(e)?1:hd(e)?128:km(e)?64:wt(e)?4:Re(e)?2:0;return f(e,t,n,o,r,i,s,!0)}function Lm(e){return e?td(e)||Ks in e?Lt({},e):e:null}function Fn(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,a=t?$d(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Bd(a),ref:t&&t.ref?n&&r?we(r)?r.concat(vs(t)):[r,vs(t)]:vs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Fn(e.ssContent),ssFallback:e.ssFallback&&Fn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function jt(e=" ",t=0){return ee(Co,null,e,t)}function Gs(e,t){const n=ee(Tr,null,e);return n.staticCount=t,n}function re(e="",t=!1){return t?(O(),ke(Wt,null,e)):ee(Wt,null,e)}function fn(e){return e==null||typeof e=="boolean"?ee(Wt):we(e)?ee(Se,null,e.slice()):typeof e=="object"?Zn(e):ee(Co,null,String(e))}function Zn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Fn(e)}function Qa(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Qa(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ks in t)?t._ctx=Mt:r===3&&Mt&&(Mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Mt},n=32):(t=String(t),o&64?(n=16,t=[jt(t)]):n=8);e.children=t,e.shapeFlag|=n}function $d(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Ce([t.class,o.class]));else if(r==="style")t.style=an([t.style,o.style]);else if(qr(r)){const s=t[r],i=o[r];i&&s!==i&&!(we(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function Zt(e,t,n,o=null){mn(e,t,7,[n,o])}const Rm=Rd();let Sm=0;function Im(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Rm,s={uid:Sm++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Uu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Id(o,r),emitsOptions:fd(o,r),emit:null,emitted:null,propsDefaults:_t,inheritAttrs:o.inheritAttrs,ctx:_t,data:_t,props:_t,attrs:_t,slots:_t,refs:_t,setupState:_t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Vp.bind(null,s),e.ce&&e.ce(s),s}let St=null;const Pn=()=>St||Mt;let Xa,Oo,Kl="__VUE_INSTANCE_SETTERS__";(Oo=Mi()[Kl])||(Oo=Mi()[Kl]=[]),Oo.push(e=>St=e),Xa=e=>{Oo.length>1?Oo.forEach(t=>t(e)):Oo[0](e)};const Zo=e=>{Xa(e),e.scope.on()},_o=()=>{St&&St.scope.off(),Xa(null)};function Fd(e){return e.vnode.shapeFlag&4}let Jo=!1;function Pm(e,t=!1){Jo=t;const{props:n,children:o}=e.vnode,r=Fd(e);pm(e,n,r,t),gm(e,o);const s=r?Om(e,t):void 0;return Jo=!1,s}function Om(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$s(new Proxy(e.ctx,im));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?Mm(e):null;Zo(e),rr();const s=to(o,e,0,[e.props,r]);if(sr(),_o(),Du(s)){if(s.then(_o,_o),t)return s.then(i=>{Wi(e,i,t)}).catch(i=>{ir(i,e,0)});e.asyncDep=s}else Wi(e,s,t)}else Ud(e,t)}function Wi(e,t,n){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:wt(t)&&(e.setupState=sd(t)),Ud(e,n)}let Gl;function Ud(e,t,n){const o=e.type;if(!e.render){if(!t&&Gl&&!o.render){const r=o.template||Ga(e).template;if(r){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,c=Lt(Lt({isCustomElement:s,delimiters:a},i),l);o.render=Gl(r,c)}}e.render=o.render||En}Zo(e),rr(),am(e),sr(),_o()}function xm(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Xt(e,"get","$attrs"),t[n]}}))}function Mm(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return xm(e)},slots:e.slots,emit:e.emit,expose:t}}function Ys(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(sd($s(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kr)return kr[n](e)},has(t,n){return n in t||n in kr}}))}function qi(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function Dm(e){return Re(e)&&"__vccOpts"in e}const be=(e,t)=>Op(e,t,Jo);function qt(e,t,n){const o=arguments.length;return o===2?wt(t)&&!we(t)?Yo(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Yo(n)&&(n=[n]),ee(e,t,n))}const Nm=Symbol.for("v-scx"),Vm=()=>Ot(Nm),Hd="3.3.4",Bm="http://www.w3.org/2000/svg",go=typeof document<"u"?document:null,Yl=go&&go.createElement("template"),$m={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?go.createElementNS(Bm,e):go.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>go.createTextNode(e),createComment:e=>go.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>go.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{Yl.innerHTML=o?`<svg>${e}</svg>`:e;const a=Yl.content;if(o){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Fm(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Um(e,t,n){const o=e.style,r=kt(n);if(n&&!r){if(t&&!kt(t))for(const s in t)n[s]==null&&zi(o,s,"");for(const s in n)zi(o,s,n[s])}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}const Zl=/\s*!important$/;function zi(e,t,n){if(we(n))n.forEach(o=>zi(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Hm(e,t);Zl.test(n)?e.setProperty(Ao(o),n.replace(Zl,""),"important"):e[o]=n}}const Jl=["Webkit","Moz","ms"],_i={};function Hm(e,t){const n=_i[t];if(n)return n;let o=In(t);if(o!=="filter"&&o in e)return _i[t]=o;o=Ns(o);for(let r=0;r<Jl.length;r++){const s=Jl[r]+o;if(s in e)return _i[t]=s}return t}const Ql="http://www.w3.org/1999/xlink";function jm(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ql,t.slice(6,t.length)):e.setAttributeNS(Ql,t,n);else{const s=Yh(t);n==null||s&&!$u(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Wm(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=$u(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Vn(e,t,n,o){e.addEventListener(t,n,o)}function qm(e,t,n,o){e.removeEventListener(t,n,o)}function zm(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[a,l]=Km(t);if(o){const c=s[t]=Zm(o,r);Vn(e,a,c,l)}else i&&(qm(e,a,i,l),s[t]=void 0)}}const Xl=/(?:Once|Passive|Capture)$/;function Km(e){let t;if(Xl.test(e)){t={};let o;for(;o=e.match(Xl);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ao(e.slice(2)),t]}let Ei=0;const Gm=Promise.resolve(),Ym=()=>Ei||(Gm.then(()=>Ei=0),Ei=Date.now());function Zm(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;mn(Jm(o,n.value),t,5,[o])};return n.value=e,n.attached=Ym(),n}function Jm(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ec=/^on[a-z]/,Qm=(e,t,n,o,r=!1,s,i,a,l)=>{t==="class"?Fm(e,o,r):t==="style"?Um(e,n,o):qr(t)?Ra(t)||zm(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xm(e,t,o,r))?Wm(e,t,o,s,i,a,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),jm(e,t,o,r))};function Xm(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&ec.test(t)&&Re(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ec.test(t)&&kt(n)?!1:t in e}const zn="transition",fr="animation",Zs=(e,{slots:t})=>qt(Zp,Wd(e),t);Zs.displayName="Transition";const jd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},e0=Zs.props=Lt({},bd,jd),ho=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},tc=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function Wd(e){const t={};for(const V in e)V in jd||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,m=t0(r),b=m&&m[0],k=m&&m[1],{onBeforeEnter:w,onEnter:v,onEnterCancelled:_,onLeave:y,onLeaveCancelled:E,onBeforeAppear:C=w,onAppear:T=v,onAppearCancelled:S=_}=t,A=(V,W,Y)=>{Gn(V,W?u:a),Gn(V,W?c:i),Y&&Y()},j=(V,W)=>{V._isLeaving=!1,Gn(V,d),Gn(V,g),Gn(V,p),W&&W()},N=V=>(W,Y)=>{const ce=V?T:v,ne=()=>A(W,V,Y);ho(ce,[W,ne]),nc(()=>{Gn(W,V?l:s),Mn(W,V?u:a),tc(ce)||oc(W,o,b,ne)})};return Lt(t,{onBeforeEnter(V){ho(w,[V]),Mn(V,s),Mn(V,i)},onBeforeAppear(V){ho(C,[V]),Mn(V,l),Mn(V,c)},onEnter:N(!1),onAppear:N(!0),onLeave(V,W){V._isLeaving=!0;const Y=()=>j(V,W);Mn(V,d),zd(),Mn(V,p),nc(()=>{V._isLeaving&&(Gn(V,d),Mn(V,g),tc(y)||oc(V,o,k,Y))}),ho(y,[V,Y])},onEnterCancelled(V){A(V,!1),ho(_,[V])},onAppearCancelled(V){A(V,!0),ho(S,[V])},onLeaveCancelled(V){j(V),ho(E,[V])}})}function t0(e){if(e==null)return null;if(wt(e))return[ki(e.enter),ki(e.leave)];{const t=ki(e);return[t,t]}}function ki(e){return Bu(e)}function Mn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Gn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function nc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let n0=0;function oc(e,t,n,o){const r=e._endId=++n0,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=qd(e,t);if(!i)return o();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=g=>{g.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,p)}function qd(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),r=o(`${zn}Delay`),s=o(`${zn}Duration`),i=rc(r,s),a=o(`${fr}Delay`),l=o(`${fr}Duration`),c=rc(a,l);let u=null,d=0,p=0;t===zn?i>0&&(u=zn,d=i,p=s.length):t===fr?c>0&&(u=fr,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?zn:fr:null,p=u?u===zn?s.length:l.length:0);const g=u===zn&&/\b(transform|all)(,|$)/.test(o(`${zn}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:g}}function rc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>sc(n)+sc(e[o])))}function sc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function zd(){return document.body.offsetHeight}const Kd=new WeakMap,Gd=new WeakMap,Yd={name:"TransitionGroup",props:Lt({},e0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pn(),o=gd();let r,s;return qa(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!a0(r[0].el,n.vnode.el,i))return;r.forEach(r0),r.forEach(s0);const a=r.filter(i0);zd(),a.forEach(l=>{const c=l.el,u=c.style;Mn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,Gn(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=pt(e),a=Wd(i);let l=i.tag||Se;r=s,s=t.default?Wa(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&Ko(u,Fr(u,a,o,n))}if(r)for(let c=0;c<r.length;c++){const u=r[c];Ko(u,Fr(u,a,o,n)),Kd.set(u,u.el.getBoundingClientRect())}return ee(l,null,s)}}},o0=e=>delete e.mode;Yd.props;const NR=Yd;function r0(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function s0(e){Gd.set(e,e.el.getBoundingClientRect())}function i0(e){const t=Kd.get(e),n=Gd.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${o}px,${r}px)`,s.transitionDuration="0s",e}}function a0(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&o.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&o.classList.add(i)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=qd(o);return r.removeChild(o),s}const oo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>Wo(t,n):t};function l0(e){e.target.composing=!0}function ic(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zt={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=oo(r);const s=o||r.props&&r.props.type==="number";Vn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=bs(a)),e._assign(a)}),n&&Vn(e,"change",()=>{e.value=e.value.trim()}),t||(Vn(e,"compositionstart",l0),Vn(e,"compositionend",ic),Vn(e,"change",ic))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e._assign=oo(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(r||e.type==="number")&&bs(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},c0={deep:!0,created(e,t,n){e._assign=oo(n),Vn(e,"change",()=>{const o=e._modelValue,r=Qo(e),s=e.checked,i=e._assign;if(we(o)){const a=Pa(o,r),l=a!==-1;if(s&&!l)i(o.concat(r));else if(!s&&l){const c=[...o];c.splice(a,1),i(c)}}else if(nr(o)){const a=new Set(o);s?a.add(r):a.delete(r),i(a)}else i(Zd(e,s))})},mounted:ac,beforeUpdate(e,t,n){e._assign=oo(n),ac(e,t,n)}};function ac(e,{value:t,oldValue:n},o){e._modelValue=t,we(t)?e.checked=Pa(t,o.props.value)>-1:nr(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Eo(t,Zd(e,!0)))}const u0={created(e,{value:t},n){e.checked=Eo(t,n.props.value),e._assign=oo(n),Vn(e,"change",()=>{e._assign(Qo(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=oo(o),t!==n&&(e.checked=Eo(t,o.props.value))}},d0={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=nr(t);Vn(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?bs(Qo(i)):Qo(i));e._assign(e.multiple?r?new Set(s):s:s[0])}),e._assign=oo(o)},mounted(e,{value:t}){lc(e,t)},beforeUpdate(e,t,n){e._assign=oo(n)},updated(e,{value:t}){lc(e,t)}};function lc(e,t){const n=e.multiple;if(!(n&&!we(t)&&!nr(t))){for(let o=0,r=e.options.length;o<r;o++){const s=e.options[o],i=Qo(s);if(n)we(t)?s.selected=Pa(t,i)>-1:s.selected=t.has(i);else if(Eo(Qo(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qo(e){return"_value"in e?e._value:e.value}function Zd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const f0={created(e,t,n){as(e,t,n,null,"created")},mounted(e,t,n){as(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){as(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){as(e,t,n,o,"updated")}};function h0(e,t){switch(e){case"SELECT":return d0;case"TEXTAREA":return zt;default:switch(t){case"checkbox":return c0;case"radio":return u0;default:return zt}}}function as(e,t,n,o,r){const i=h0(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const p0=["ctrl","shift","alt","meta"],m0={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>p0.some(n=>e[`${n}Key`]&&!t.includes(n))},v0=(e,t)=>(n,...o)=>{for(let r=0;r<t.length;r++){const s=m0[t[r]];if(s&&s(n,t))return}return e(n,...o)},g0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},VR=(e,t)=>n=>{if(!("key"in n))return;const o=Ao(n.key);if(t.some(r=>r===o||g0[r]===o))return e(n)},pn={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),hr(e,!0),o.enter(e)):o.leave(e,()=>{hr(e,!1)}):hr(e,t))},beforeUnmount(e,{value:t}){hr(e,t)}};function hr(e,t){e.style.display=t?e._vod:"none"}const Jd=Lt({patchProp:Qm},$m);let Lr,cc=!1;function b0(){return Lr||(Lr=wm(Jd))}function y0(){return Lr=cc?Lr:_m(Jd),cc=!0,Lr}const w0=(...e)=>{const t=b0().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Qd(o);if(!r)return;const s=t._component;!Re(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},_0=(...e)=>{const t=y0().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Qd(o);if(r)return n(r,!0,r instanceof SVGElement)},t};function Qd(e){return kt(e)?document.querySelector(e):e}const E0=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,k0=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,C0=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function T0(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){A0(e);return}return t}function A0(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Xd(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o!=="undefined"){if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY;if(!C0.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(E0.test(e)||k0.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,T0)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const L0=/#/g,R0=/&/g,S0=/=/g,ef=/\+/g,I0=/%5e/gi,P0=/%60/gi,O0=/%7c/gi,x0=/%20/gi;function M0(e){return encodeURI(""+e).replace(O0,"|")}function Ki(e){return M0(typeof e=="string"?e:JSON.stringify(e)).replace(ef,"%2B").replace(x0,"+").replace(L0,"%23").replace(R0,"%26").replace(P0,"`").replace(I0,"^")}function Ci(e){return Ki(e).replace(S0,"%3D")}function tf(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function D0(e){return tf(e.replace(ef," "))}function nf(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=tf(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=D0(o[2]||"");typeof t[r]<"u"?Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]:t[r]=s}return t}function N0(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ci(e)}=${Ki(n)}`).join("&"):`${Ci(e)}=${Ki(t)}`:Ci(e)}function V0(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>N0(t,e[t])).join("&")}const B0=/^\w{2,}:([/\\]{1,2})/,$0=/^\w{2,}:([/\\]{2})?/,F0=/^([/\\]\s*){2,}[^/\\]/;function ar(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?B0.test(e):$0.test(e)||(t.acceptRelative?F0.test(e):!1)}const U0=/\/$|\/\?/;function Gi(e="",t=!1){return t?U0.test(e):e.endsWith("/")}function el(e="",t=!1){if(!t)return(Gi(e)?e.slice(0,-1):e)||"/";if(!Gi(e,!0))return e||"/";const[n,...o]=e.split("?");return(n.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function of(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Gi(e,!0))return e||"/";const[n,...o]=e.split("?");return n+"/"+(o.length>0?`?${o.join("?")}`:"")}function H0(e=""){return e.startsWith("/")}function j0(e=""){return(H0(e)?e.slice(1):e)||"/"}function W0(e,t){if(sf(t)||ar(e))return e;const n=el(t);return e.startsWith(n)?e:Kr(n,e)}function uc(e,t){if(sf(t))return e;const n=el(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function rf(e,t){const n=Js(e),o={...nf(n.search),...t};return n.search=V0(o),z0(n)}function sf(e){return!e||e==="/"}function q0(e){return e&&e!=="/"}function Kr(e,...t){let n=e||"";for(const o of t.filter(r=>q0(r)))n=n?of(n)+j0(o):o;return n}function Js(e="",t){if(!ar(e,{acceptRelative:!0}))return t?Js(t+e):dc(e);const[n="",o,r=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[s="",i=""]=(r.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:l,hash:c}=dc(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:l,hash:c}}function dc(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function z0(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class K0 extends Error{constructor(){super(...arguments),this.name="FetchError"}}function G0(e,t,n){let o="";t&&(o=t.message),e&&n?o=`${o} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(o=`${o} (${e.toString()})`);const r=new K0(o);return Object.defineProperty(r,"request",{get(){return e}}),Object.defineProperty(r,"response",{get(){return n}}),Object.defineProperty(r,"data",{get(){return n&&n._data}}),Object.defineProperty(r,"status",{get(){return n&&n.status}}),Object.defineProperty(r,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(r,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(r,"statusMessage",{get(){return n&&n.statusText}}),r}const Y0=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function fc(e="GET"){return Y0.has(e.toUpperCase())}function Z0(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const J0=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Q0=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function X0(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Q0.test(t)?"json":J0.has(t)||t.startsWith("text/")?"text":"blob"}function e1(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[r,s]of new n((e==null?void 0:e.headers)||{}))o.headers.set(r,s)}return o}const t1=new Set([408,409,425,429,500,502,503,504]);function af(e){const{fetch:t,Headers:n}=e;function o(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let c;typeof i.options.retry=="number"?c=i.options.retry:c=fc(i.options.method)?0:1;const u=i.response&&i.response.status||500;if(c>0&&t1.has(u))return r(i.request,{...i.options,retry:c-1})}const l=G0(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,r),l}const r=async function(a,l={}){const c={request:a,options:e1(l,e.defaults,n),response:void 0,error:void 0};c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=W0(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=rf(c.request,{...c.options.params,...c.options.query})),c.options.body&&fc(c.options.method)&&Z0(c.options.body)&&(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")));try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await c.options.onRequestError(c),await o(c)}const u=(c.options.parseResponse?"json":c.options.responseType)||X0(c.response.headers.get("content-type")||"");if(u==="json"){const d=await c.response.text(),p=c.options.parseResponse||Xd;c.response._data=p(d)}else u==="stream"?c.response._data=c.response.body:c.response._data=await c.response[u]();return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await o(c)):c.response},s=async function(a,l){return(await r(a,l))._data};return s.raw=r,s.native=t,s.create=(i={})=>af({...e,defaults:{...e.defaults,...i}}),s}const lf=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),n1=lf.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),o1=lf.Headers,r1=af({fetch:n1,Headers:o1}),s1=r1,i1=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ts=i1().app,a1=()=>Ts.baseURL,l1=()=>Ts.buildAssetsDir,c1=(...e)=>Kr(cf(),l1(),...e),cf=(...e)=>{const t=Ts.cdnURL||Ts.baseURL;return e.length?Kr(t,...e):t};globalThis.__buildAssetsURL=c1,globalThis.__publicAssetsURL=cf;function Yi(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Yi(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const u1={run:e=>e()},d1=()=>u1,uf=typeof console.createTask<"u"?console.createTask:d1;function f1(e,t){const n=t.shift(),o=uf(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function h1(e,t){const n=t.shift(),o=uf(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Ti(e,t){for(const n of[...e])n(t)}class p1{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let i=s.message;i||(i=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Yi(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Yi(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(f1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(h1,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Ti(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&Ti(this._after,r)}):(this._after&&r&&Ti(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function df(){return new p1}function m1(e={}){let t,n=!1;const o=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?r=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(r&&t===void 0){const i=r.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||o(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{o(i),t=i;try{return r?r.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Zi.add(c);try{const u=r?r.run(i,a):a();return n||(t=void 0),await u}finally{Zi.delete(c)}}}}function v1(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=m1({...e,...o})),t[n],t[n]}}}const As=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},hc="__unctx__",g1=As[hc]||(As[hc]=v1()),b1=(e,t={})=>g1.get(e,t),pc="__unctx_async_handlers__",Zi=As[pc]||(As[pc]=new Set);function Qn(e){const t=[];for(const r of Zi){const s=r();s&&t.push(s)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const ff=b1("nuxt-app"),y1="__nuxt_plugin";function w1(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.1"},get vue(){return n.vueApp.version}},payload:en({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>k1(n,r),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=df(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,s)=>{const i="$"+r;ls(n,i,s),ls(n.vueApp.config.globalProperties,i,s)},ls(n.vueApp,"$nuxt",n),ls(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const r=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",r)}const o=en(n.payload.config);return n.provide("config",o),n}async function _1(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function E1(e,t){const n=[],o=[];for(const r of t){const s=_1(e,r);r.parallel?n.push(s.catch(i=>o.push(i))):await s}if(await Promise.all(n),o.length)throw o[0]}/*! @__NO_SIDE_EFFECTS__ */function Pt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[y1]:!0}))}function k1(e,t,n){const o=()=>n?t(...n):t();return ff.set(e),e.vueApp.runWithContext(o)}/*! @__NO_SIDE_EFFECTS__ */function ye(){var t;let e;if(Ya()&&(e=(t=Pn())==null?void 0:t.appContext.app.$nuxt),e=e||ff.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Ct(){return ye().$config}function ls(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const C1="modulepreload",T1=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},mc={},A1=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=T1(s,o),s in mc)return;mc[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===s&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":C1,i||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},x=(...e)=>A1(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),L1=-1,R1=-2,S1=-3,I1=-4,P1=-5,O1=-6;function x1(e,t){return M1(JSON.parse(e),t)}function M1(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(s,i=!1){if(s===L1)return;if(s===S1)return NaN;if(s===I1)return 1/0;if(s===P1)return-1/0;if(s===O1)return-0;if(i)throw new Error("Invalid input");if(s in o)return o[s];const a=n[s];if(!a||typeof a!="object")o[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return o[s]=c(r(a[1]));switch(l){case"Date":o[s]=new Date(a[1]);break;case"Set":const u=new Set;o[s]=u;for(let g=1;g<a.length;g+=1)u.add(r(a[g]));break;case"Map":const d=new Map;o[s]=d;for(let g=1;g<a.length;g+=2)d.set(r(a[g]),r(a[g+1]));break;case"RegExp":o[s]=new RegExp(a[1],a[2]);break;case"Object":o[s]=Object(a[1]);break;case"BigInt":o[s]=BigInt(a[1]);break;case"null":const p=Object.create(null);o[s]=p;for(let g=1;g<a.length;g+=2)p[a[g]]=r(a[g+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);o[s]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==R1&&(l[c]=r(u))}}else{const l={};o[s]=l;for(const c in a){const u=a[c];l[c]=r(u)}}return o[s]}return r(0)}function D1(e){return Array.isArray(e)?e:[e]}const hf=["title","script","style","noscript"],pf=["base","meta","link","style","script","noscript"],N1=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],V1=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],B1=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function mf(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Ji(e){return mf(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function $1(e){let t=9;for(const n of e)for(let o=0;o<n.length;)t=Math.imul(t^n.charCodeAt(o++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function vf(e,t){const{props:n,tag:o}=e;if(V1.includes(o))return o;if(o==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];o==="meta"&&r.push("name","property","http-equiv");for(const s of r)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${o}:${s}:${i}`}return!1}function vc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function cs(e,t=!1,n){const{tag:o,$el:r}=e;r&&(Object.entries(o.props).forEach(([s,i])=>{i=String(i);const a=`attr:${s}`;if(s==="class"){if(!i)return;for(const l of i.split(" ")){const c=`${a}:${l}`;n&&n(e,c,()=>r.classList.remove(l)),r.classList.contains(l)||r.classList.add(l)}return}n&&!s.startsWith("data-h-")&&n(e,a,()=>r.removeAttribute(s)),(t||r.getAttribute(s)!==i)&&r.setAttribute(s,i)}),hf.includes(o.tag)&&(o.textContent&&o.textContent!==r.textContent?r.textContent=o.textContent:o.innerHTML&&o.innerHTML!==r.innerHTML&&(r.innerHTML=o.innerHTML)))}let pr=!1;async function F1(e,t={}){var p,g;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const o=t.document||e.resolvedOptions.document||window.document,r=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(pr=pr||e._hash||!1,pr)){const m=$1(r.map(b=>b.tag._h));if(pr===m)return;pr=m}const s=e._popSideEffectQueue();e.headEntries().map(m=>m._sde).forEach(m=>{Object.entries(m).forEach(([b,k])=>{s[b]=k})});const i=(m,b,k)=>{b=`${m.renderId}:${b}`,m.entry&&(m.entry._sde[b]=k),delete s[b]};function a(m){const b=e.headEntries().find(w=>w._i===m._e),k={renderId:m._d||Ji(m),$el:null,shouldRender:!0,tag:m,entry:b,markSideEffect:(w,v)=>i(k,w,v)};return k}const l=[],c={body:[],head:[]},u=m=>{e._elMap[m.renderId]=m.$el,l.push(m),i(m,"el",()=>{var b;(b=m.$el)==null||b.remove(),delete e._elMap[m.renderId]})};for(const m of r){if(await e.hooks.callHook("dom:beforeRenderTag",m),!m.shouldRender)continue;const{tag:b}=m;if(b.tag==="title"){o.title=b.textContent||"",l.push(m);continue}if(b.tag==="htmlAttrs"||b.tag==="bodyAttrs"){m.$el=o[b.tag==="htmlAttrs"?"documentElement":"body"],cs(m,!1,i),l.push(m);continue}if(m.$el=e._elMap[m.renderId],!m.$el&&b.key&&(m.$el=o.querySelector(`${(p=b.tagPosition)!=null&&p.startsWith("body")?"body":"head"} > ${b.tag}[data-h-${b._h}]`)),m.$el){m.tag._d&&cs(m),u(m);continue}c[(g=b.tagPosition)!=null&&g.startsWith("body")?"body":"head"].push(m)}const d={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(c).forEach(([m,b])=>{var w;if(!b.length)return;const k=(w=o==null?void 0:o[m])==null?void 0:w.children;if(k){for(const v of[...k].reverse()){const _=v.tagName.toLowerCase();if(!pf.includes(_))continue;const y=v.getAttributeNames().reduce((S,A)=>({...S,[A]:v.getAttribute(A)}),{}),E={tag:_,props:y};v.innerHTML&&(E.innerHTML=v.innerHTML);const C=Ji(E);let T=b.findIndex(S=>(S==null?void 0:S.renderId)===C);if(T===-1){const S=vf(E);T=b.findIndex(A=>(A==null?void 0:A.tag._d)&&A.tag._d===S)}if(T!==-1){const S=b[T];S.$el=v,cs(S),u(S),delete b[T]}}b.forEach(v=>{const _=v.tag.tagPosition||"head";d[_]=d[_]||o.createDocumentFragment(),v.$el||(v.$el=o.createElement(v.tag.tag),cs(v,!0)),d[_].appendChild(v.$el),u(v)})}}),d.head&&o.head.appendChild(d.head),d.bodyOpen&&o.body.insertBefore(d.bodyOpen,o.body.firstChild),d.bodyClose&&o.body.appendChild(d.bodyClose);for(const m of l)await e.hooks.callHook("dom:renderTag",m);Object.values(s).forEach(m=>m())}let Ai=null;async function U1(e,t={}){function n(){return Ai=null,F1(e,t)}const o=t.delayFn||(r=>setTimeout(r,10));return Ai=Ai||new Promise(r=>o(()=>r(n())))}function H1(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let n=e==null?void 0:e.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),U1(t,{document:(e==null?void 0:e.document)||window.document,delayFn:n})}}}}function j1(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const gc={base:-1,title:1},bc={critical:-8,high:-1,low:2};function Ls(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag in gc&&(t=gc[e.tag]),typeof n=="string"&&n in bc?t+bc[n]:t)}const W1=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function q1(){return{hooks:{"tags:resolve":e=>{const t=n=>{var o;return(o=e.tags.find(r=>r._d===n))==null?void 0:o._p};for(const{prefix:n,offset:o}of W1)for(const r of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(r.tagPriority.replace(n,""));typeof s<"u"&&(r._p=s+o)}e.tags.sort((n,o)=>n._p-o._p).sort((n,o)=>Ls(n)-Ls(o))}}}}function z1(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const o=t.findIndex(r=>r.tag==="title");if(o!==-1&&n!==-1){const r=vc(t[n].textContent,t[o].textContent);r!==null?t[o].textContent=r||t[o].textContent:delete t[o]}else if(n!==-1){const r=vc(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function K1(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const G1=["link","style","script","noscript"];function Y1(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Ji(e)),e.key&&G1.includes(e.tag)&&(e._h=mf(e.key),e.props[`data-h-${e._h}`]="")}}}}const yc=["script","link","bodyAttrs"];function Z1(){const e=(t,n)=>{const o={},r={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?r[i]=a:o[i]=a});let s;return t==="dom"&&n.tag==="script"&&typeof o.src=="string"&&typeof r.onload<"u"&&(s=o.src,delete o.src),{props:o,eventHandlers:r,delayedSrc:s}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!yc.includes(n.tag)||!Object.entries(n.props).find(([o,r])=>o.startsWith("on")&&typeof r=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!yc.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([s,i])=>s.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:o,delayedSrc:r}=e("dom",t.tag);Object.keys(o).length&&(t.tag.props=n,t.tag._eventHandlers=o,t.tag._delayedSrc=r)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const o=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([r,s])=>{const i=`${t.tag._d||t.tag._p}:${r}`,a=r.slice(2).toLowerCase(),l=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(l))return;const c=s;n.setAttribute(l,""),o.addEventListener(a,c),t.entry&&(t.entry._sde[i]=()=>{o.removeEventListener(a,c),n.removeAttribute(l)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const J1=["templateParams","htmlAttrs","bodyAttrs"];function Q1(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(o=>{e.props[o]&&(e.key=e.props[o],delete e.props[o])});const n=vf(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(o=>{const r=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,s=t[r];if(s){let a=o==null?void 0:o.tagDuplicateStrategy;if(!a&&J1.includes(o.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(c=>{o.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),o.props[c]=`${l[c]} ${o.props[c]}`)}),t[r].props={...l,...o.props};return}else if(o._e===s._e){s._duped=s._duped||[],o._d=`${s._d}:${s._duped.length+1}`,s._duped.push(o);return}else if(Ls(o)>Ls(s))return}const i=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(pf.includes(o.tag)&&i===0){delete t[r];return}t[r]=o});const n=[];Object.values(t).forEach(o=>{const r=o._duped;delete o._duped,n.push(o),r&&n.push(...r)}),e.tags=n}}}}function mr(e,t){if(typeof e!="string")return e;function n(i){if(["s","pageTitle"].includes(i))return t.pageTitle;let a;return i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||void 0,t):a=t[i],typeof a<"u"?a||"":!1}let o=e;try{o=decodeURI(e)}catch{}(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=n(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),`${a}$1`).trim())});const s=t.separator;return e.includes(s)&&(e.endsWith(s)&&(e=e.slice(0,-s.length).trim()),e.startsWith(s)&&(e=e.slice(s.length).trim()),e=e.replace(new RegExp(`\\${s}\\s*\\${s}`,"g"),s)),e}function X1(){return{hooks:{"tags:resolve":e=>{var s;const{tags:t}=e,n=(s=t.find(i=>i.tag==="title"))==null?void 0:s.textContent,o=t.findIndex(i=>i.tag==="templateParams"),r=o!==-1?t[o].props:{};r.separator=r.separator||"|",r.pageTitle=mr(r.pageTitle||n||"",r);for(const i of t)if(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string")i.textContent=mr(i.textContent,r);else if(i.tag==="meta"&&typeof i.props.content=="string")i.props.content=mr(i.props.content,r);else if(i.tag==="link"&&typeof i.props.href=="string")i.props.href=mr(i.props.href,r);else if(i.tag==="script"&&["application/json","application/ld+json"].includes(i.props.type)&&typeof i.innerHTML=="string")try{i.innerHTML=JSON.stringify(JSON.parse(i.innerHTML),(a,l)=>typeof l=="string"?mr(l,r):l)}catch{}e.tags=t.filter(i=>i.tag!=="templateParams")}}}}const ev=typeof window<"u";let gf;function tv(e){return gf=e}function nv(){return gf}async function ov(e,t){const n={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(n.textContent=t.textContent,t.tagPriority&&(n.tagPriority=t.tagPriority)):n.textContent=t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await sv(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(o=>B1.includes(o)).forEach(o=>{(!["innerHTML","textContent"].includes(o)||hf.includes(n.tag))&&(n[o]=n.props[o]),delete n.props[o]}),["innerHTML","textContent"].forEach(o=>{if(n.tag==="script"&&typeof n[o]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[o]=JSON.parse(n[o])}catch{n[o]=""}typeof n[o]=="object"&&(n[o]=JSON.stringify(n[o]))}),n.props.class&&(n.props.class=rv(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n)}function rv(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function sv(e,t){for(const n of Object.keys(t)){const o=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=o?"true":"":String(t[n])==="false"&&(o?t[n]="false":delete t[n])}return t}const iv=10;async function av(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,o])=>typeof o<"u"&&N1.includes(n)).forEach(([n,o])=>{const r=D1(o);t.push(...r.map(s=>ov(n,s)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,o)=>(n._e=e._i,n._p=(e._i<<iv)+o,n))}function lv(){return[Q1(),q1(),X1(),z1(),Y1(),Z1(),K1()]}function cv(e={}){return[H1({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function uv(e={}){const t=dv({...e,plugins:[...cv(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=j1(t.resolvedOptions.document)),tv(t),t}function dv(e={}){let t=[],n={},o=0;const r=df();e!=null&&e.hooks&&r.addHooks(e.hooks),e.plugins=[...lv(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(a=>a.hooks&&r.addHooks(a.hooks)),e.document=e.document||(ev?document:void 0);const s=()=>r.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return r},use(a){a.hooks&&r.addHooks(a.hooks)},push(a,l){const c={_i:o++,input:a,_sde:{}};return l!=null&&l.mode&&(c._m=l==null?void 0:l.mode),l!=null&&l.transform&&(c._t=l==null?void 0:l.transform),t.push(c),s(),{dispose(){t=t.filter(u=>u._i!==c._i?!0:(n={...n,...u._sde||{}},u._sde={},s(),!1))},patch(u){t=t.map(d=>(d._i===c._i&&(c.input=d.input=u,s()),d))}}},async resolveTags(){const a={tags:[],entries:[...t]};await r.callHook("entries:resolve",a);for(const l of a.entries){const c=l._t||(u=>u);if(l.resolvedInput=c(l.resolvedInput||l.input),l.resolvedInput)for(const u of await av(l)){const d={tag:u,entry:l,resolvedOptions:i.resolvedOptions};await r.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await r.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function fv(e){return typeof e=="function"?e():h(e)}function Rs(e,t=""){if(e instanceof Promise)return e;const n=fv(e);return!e||!n?n:Array.isArray(n)?n.map(o=>Rs(o,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([o,r])=>o==="titleTemplate"||o.startsWith("on")?[o,h(r)]:[o,Rs(r,o)])):n}const hv=Hd.startsWith("3"),pv=typeof window<"u",bf="usehead";function tl(){return Pn()&&Ot(bf)||nv()}function mv(e){return{install(n){hv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(bf,e))}}.install}function vv(e={}){const t=uv({...e,domDelayFn:n=>setTimeout(()=>ft(()=>n()),10),plugins:[gv(),...(e==null?void 0:e.plugins)||[]]});return t.install=mv(t),t}function gv(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Rs(t.input)}}}}function bv(e,t={}){const n=tl(),o=M(!1),r=M({});md(()=>{r.value=o.value?{}:Rs(e)});const s=n.push(r.value,t);return Te(r,a=>{s.patch(a)}),Pn()&&(Nt(()=>{s.dispose()}),_d(()=>{o.value=!0}),wd(()=>{o.value=!1})),s}function yv(e,t={}){return tl().push(e,t)}function yf(e,t={}){var o;const n=tl();if(n){const r=pv||!!((o=n.resolvedOptions)!=null&&o.document);return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?bv(e,t):yv(e,t)}}const wv={meta:[{name:"viewport",content:"width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover, maximum-scale=1"},{charset:"utf-8"},{"http-equiv":"Content-Security-Policy",content:"upgrade-insecure-requests"}],link:[{rel:"icon",hid:"icon",type:"image/png",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/144x144_favicon.png"},{rel:"apple-touch-icon",hid:"icon_1",sizes:"57x57",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/57x57_favicon.png"},{rel:"apple-touch-icon",hid:"icon_2",sizes:"60x60",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/60x60_favicon.png"},{rel:"apple-touch-icon",hid:"icon_3",sizes:"72x72",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/72x72_favicon.png"},{rel:"apple-touch-icon",hid:"icon_4",sizes:"76x76",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/76x76_favicon.png"},{rel:"apple-touch-icon",hid:"icon_5",sizes:"114x114",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/114x114_favicon.png"},{rel:"apple-touch-icon",hid:"icon_6",sizes:"120x120",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/120x120_favicon.png"},{rel:"apple-touch-icon",hid:"icon_7",sizes:"144x144",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/144x144_favicon.png"},{rel:"apple-touch-icon",hid:"icon_8",sizes:"152x152",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/152x152_favicon.png"},{rel:"apple-touch-icon",hid:"icon_9",sizes:"180x180",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/180x180_favicon.png"},{rel:"apple-touch-icon",hid:"icon_10",sizes:"192x192",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/192x192_favicon.png"},{rel:"icon",type:"image/png",hid:"icon_11",sizes:"192x192",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/192x192_favicon.png"},{rel:"icon",type:"image/png",hid:"icon_13",sizes:"76x76",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/76x76_favicon.png"},{rel:"icon",type:"image/png",hid:"icon_12",sizes:"32x32",href:"https://dsbg4qhurtluu.cloudfront.net/backend/production/member_site/32x32_favicon.png"}],style:[],script:[],noscript:[]},_v=!1,Qi=!1,Ev=!1,kv="__nuxt",Cv=!0;async function Tv(e){try{return Cv?wf(await fetch(e).then(t=>t.text())):await x(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}let us=null;async function Av(){if(us)return us;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=wf(e.textContent||""),n=e.dataset.src?await Tv(e.dataset.src):void 0;return us={...t,...n,...window.__NUXT__},us}function wf(e){return x1(e,ye()._payloadRevivers)}function Lv(e,t){ye()._payloadRevivers[e]=t}function Li(e){return e!==null&&typeof e=="object"}function Xi(e,t,n=".",o){if(!Li(t))return Xi(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(o&&o(r,s,i,n)||(Array.isArray(i)&&Array.isArray(r[s])?r[s]=[...i,...r[s]]:Li(i)&&Li(r[s])?r[s]=Xi(i,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=i))}return r}function Rv(e){return(...t)=>t.reduce((n,o)=>Xi(n,o,"",e),{})}const Sv=Rv();class ea extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1}toJSON(){const t={message:this.message,statusCode:na(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=_f(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}ea.__h3_error__=!0;function ta(e){if(typeof e=="string")return new ea(e);if(Iv(e))return e;const t=new ea(e.message??e.statusMessage??"",e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=na(e.statusCode,t.statusCode):e.status&&(t.statusCode=na(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;_f(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Iv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Pv=/[^\u0009\u0020-\u007E]/g;function _f(e=""){return e.replace(Pv,"")}function na(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ov="$s";function Vo(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const r=Ov+n,s=ye(),i=id(s.payload.state,r);if(i.value===void 0&&o){const a=o();if(me(a))return s.payload.state[r]=a,a;i.value=a}return i}const Vt=()=>{var e;return(e=ye())==null?void 0:e.$router},cn=()=>Ya()?Ot("_route",ye()._route):ye()._route;/*! @__NO_SIDE_EFFECTS__ */function BR(e){return e}const xv=(e,t,n={})=>{const o=ye(),r=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}r?o._middleware.global.push(s):o._middleware.named[e]=s},Mv=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!0}return!1},nl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:rf(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,d])=>d!==void 0).map(([u,d])=>`${u.toLowerCase()}=${d}`).join(", ");open(n,a,c)}return Promise.resolve()}const o=(t==null?void 0:t.external)||ar(n,{acceptRelative:!0});if(o&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(o&&Js(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const r=Mv();if(!o&&r)return e;const s=Vt(),i=ye();return o?(t!=null&&t.replace?location.replace(n):location.href=n,r?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},Qs=()=>id(ye().payload,"error"),Bo=e=>{const t=ol(e);try{const n=ye(),o=Qs();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},Dv=async(e={})=>{const t=ye(),n=Qs();t.callHook("app:error:cleared",e),e.redirect&&await Vt().replace(e.redirect),n.value=null},Nv=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),ol=e=>{const t=ta(e);return t.__nuxt_error=!0,t},wc={NuxtError:e=>ol(e),EmptyShallowRef:e=>Nr(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>M(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>Nr(e),ShallowReactive:e=>Xu(e),Ref:e=>M(e),Reactive:e=>en(e)},Vv=Pt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in wc)Lv(o,wc[o]);Object.assign(e.payload,([t,n]=Qn(()=>e.runWithContext(Av)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
  * vue-router v4.2.2
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const No=typeof window<"u";function Bv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const bt=Object.assign;function Ri(e,t){const n={};for(const o in t){const r=t[o];n[o]=kn(r)?r.map(e):e(r)}return n}const Rr=()=>{},kn=Array.isArray,$v=/\/$/,Fv=e=>e.replace($v,"");function Si(e,t,n="/"){let o,r={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),r=e(s)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=Wv(o??t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:i}}function Uv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _c(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hv(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Xo(t.matched[o],n.matched[r])&&Ef(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Xo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ef(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jv(e[n],t[n]))return!1;return!0}function jv(e,t){return kn(e)?Ec(e,t):kn(t)?Ec(t,e):e===t}function Ec(e,t){return kn(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Wv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(i-(i===o.length?1:0)).join("/")}var Hr;(function(e){e.pop="pop",e.push="push"})(Hr||(Hr={}));var Sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Sr||(Sr={}));function qv(e){if(!e)if(No){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fv(e)}const zv=/^[^#]+#/;function Kv(e,t){return e.replace(zv,"#")+t}function Gv(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Xs=()=>({left:window.pageXOffset,top:window.pageYOffset});function Yv(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Gv(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function kc(e,t){return(history.state?history.state.position-t:-1)+e}const oa=new Map;function Zv(e,t){oa.set(e,t)}function Jv(e){const t=oa.get(e);return oa.delete(e),t}let Qv=()=>location.protocol+"//"+location.host;function kf(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let a=r.includes(e.slice(s))?e.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),_c(l,"")}return _c(n,e)+o+r}function Xv(e,t,n,o){let r=[],s=[],i=null;const a=({state:p})=>{const g=kf(e,location),m=n.value,b=t.value;let k=0;if(p){if(n.value=g,t.value=p,i&&i===m){i=null;return}k=b?p.position-b.position:0}else o(g);r.forEach(w=>{w(n.value,m,{delta:k,type:Hr.pop,direction:k?k>0?Sr.forward:Sr.back:Sr.unknown})})};function l(){i=n.value}function c(p){r.push(p);const g=()=>{const m=r.indexOf(p);m>-1&&r.splice(m,1)};return s.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(bt({},p.state,{scroll:Xs()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Cc(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Xs():null}}function eg(e){const{history:t,location:n}=window,o={value:kf(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Qv()+e+l;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(l,c){const u=bt({},t.state,Cc(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),o.value=l}function a(l,c){const u=bt({},r.value,t.state,{forward:l,scroll:Xs()});s(u.current,u,!0);const d=bt({},Cc(o.value,l,null),{position:u.position+1},c);s(l,d,!1),o.value=l}return{location:o,state:r,push:a,replace:i}}function Cf(e){e=qv(e);const t=eg(e),n=Xv(e,t.state,t.location,t.replace);function o(s,i=!0){i||n.pauseListeners(),history.go(s)}const r=bt({location:"",base:e,go:o,createHref:Kv.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function tg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Cf(e)}function ng(e){return typeof e=="string"||e&&typeof e=="object"}function Tf(e){return typeof e=="string"||typeof e=="symbol"}const An={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Af=Symbol("");var Tc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Tc||(Tc={}));function er(e,t){return bt(new Error,{type:e,[Af]:!0},t)}function xn(e,t){return e instanceof Error&&Af in e&&(t==null||!!(e.type&t))}const Ac="[^/]+?",og={sensitive:!1,strict:!1,start:!0,end:!0},rg=/[.+*?^${}()[\]/\\]/g;function sg(e,t){const n=bt({},og,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const p=c[d];let g=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(rg,"\\$&"),g+=40;else if(p.type===1){const{value:m,repeatable:b,optional:k,regexp:w}=p;s.push({name:m,repeatable:b,optional:k});const v=w||Ac;if(v!==Ac){g+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+y.message)}}let _=b?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(_=k&&c.length<2?`(?:/${_})`:"/"+_),k&&(_+="?"),r+=_,g+=20,k&&(g+=-8),b&&(g+=-20),v===".*"&&(g+=-50)}u.push(g)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(i),d={};if(!u)return null;for(let p=1;p<u.length;p++){const g=u[p]||"",m=s[p-1];d[m.name]=g&&m.repeatable?g.split("/"):g}return d}function l(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const g of p)if(g.type===0)u+=g.value;else if(g.type===1){const{value:m,repeatable:b,optional:k}=g,w=m in c?c[m]:"";if(kn(w)&&!b)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=kn(w)?w.join("/"):w;if(!v)if(k)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=v}}return u||"/"}return{re:i,score:o,keys:s,parse:a,stringify:l}}function ig(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function ag(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const s=ig(o[n],r[n]);if(s)return s;n++}if(Math.abs(r.length-o.length)===1){if(Lc(o))return 1;if(Lc(r))return-1}return r.length-o.length}function Lc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const lg={type:0,value:""},cg=/[a-zA-Z0-9_]/;function ug(e){if(!e)return[[]];if(e==="/")return[[lg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,o=n;const r=[];let s;function i(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),i()):l===":"?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:l==="("?n=2:cg.test(l)?p():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),r}function dg(e,t,n){const o=sg(ug(e.path),n),r=bt(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function fg(e,t){const n=[],o=new Map;t=Ic({strict:!1,end:!0,sensitive:!1},t);function r(u){return o.get(u)}function s(u,d,p){const g=!p,m=hg(u);m.aliasOf=p&&p.record;const b=Ic(t,u),k=[m];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const y of _)k.push(bt({},m,{components:p?p.record.components:m.components,path:y,aliasOf:p?p.record:m}))}let w,v;for(const _ of k){const{path:y}=_;if(d&&y[0]!=="/"){const E=d.record.path,C=E[E.length-1]==="/"?"":"/";_.path=d.record.path+(y&&C+y)}if(w=dg(_,d,b),p?p.alias.push(w):(v=v||w,v!==w&&v.alias.push(w),g&&u.name&&!Sc(w)&&i(u.name)),m.children){const E=m.children;for(let C=0;C<E.length;C++)s(E[C],w,p&&p.children[C])}p=p||w,(w.record.components&&Object.keys(w.record.components).length||w.record.name||w.record.redirect)&&l(w)}return v?()=>{i(v)}:Rr}function i(u){if(Tf(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let d=0;for(;d<n.length&&ag(u,n[d])>=0&&(u.record.path!==n[d].record.path||!Lf(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Sc(u)&&o.set(u.record.name,u)}function c(u,d){let p,g={},m,b;if("name"in u&&u.name){if(p=o.get(u.name),!p)throw er(1,{location:u});b=p.record.name,g=bt(Rc(d.params,p.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Rc(u.params,p.keys.map(v=>v.name))),m=p.stringify(g)}else if("path"in u)m=u.path,p=n.find(v=>v.re.test(m)),p&&(g=p.parse(m),b=p.record.name);else{if(p=d.name?o.get(d.name):n.find(v=>v.re.test(d.path)),!p)throw er(1,{location:u,currentLocation:d});b=p.record.name,g=bt({},d.params,u.params),m=p.stringify(g)}const k=[];let w=p;for(;w;)k.unshift(w.record),w=w.parent;return{name:b,path:m,params:g,matched:k,meta:mg(k)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:r}}function Rc(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function hg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="boolean"?n:n[o];return t}function Sc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mg(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function Ic(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Lf(e,t){return t.children.some(n=>n===e||Lf(e,n))}const Rf=/#/g,vg=/&/g,gg=/\//g,bg=/=/g,yg=/\?/g,Sf=/\+/g,wg=/%5B/g,_g=/%5D/g,If=/%5E/g,Eg=/%60/g,Pf=/%7B/g,kg=/%7C/g,Of=/%7D/g,Cg=/%20/g;function rl(e){return encodeURI(""+e).replace(kg,"|").replace(wg,"[").replace(_g,"]")}function Tg(e){return rl(e).replace(Pf,"{").replace(Of,"}").replace(If,"^")}function ra(e){return rl(e).replace(Sf,"%2B").replace(Cg,"+").replace(Rf,"%23").replace(vg,"%26").replace(Eg,"`").replace(Pf,"{").replace(Of,"}").replace(If,"^")}function Ag(e){return ra(e).replace(bg,"%3D")}function Lg(e){return rl(e).replace(Rf,"%23").replace(yg,"%3F")}function Rg(e){return e==null?"":Lg(e).replace(gg,"%2F")}function Ss(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Sg(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const s=o[r].replace(Sf," "),i=s.indexOf("="),a=Ss(i<0?s:s.slice(0,i)),l=i<0?null:Ss(s.slice(i+1));if(a in t){let c=t[a];kn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Pc(e){let t="";for(let n in e){const o=e[n];if(n=Ag(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(kn(o)?o.map(s=>s&&ra(s)):[o&&ra(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ig(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=kn(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const Pg=Symbol(""),Oc=Symbol(""),ei=Symbol(""),sl=Symbol(""),sa=Symbol("");function vr(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Jn(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const l=d=>{d===!1?a(er(4,{from:n,to:t})):d instanceof Error?a(d):ng(d)?a(er(2,{from:t,to:d})):(s&&o.enterCallbacks[r]===s&&typeof d=="function"&&s.push(d),i())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Ii(e,t,n,o){const r=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Og(a)){const c=(a.__vccOpts||a)[t];c&&r.push(Jn(c,n,o,s,i))}else{let l=a();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Bv(c)?c.default:c;s.components[i]=u;const p=(u.__vccOpts||u)[t];return p&&Jn(p,n,o,s,i)()}))}}return r}function Og(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function xc(e){const t=Ot(ei),n=Ot(sl),o=be(()=>t.resolve(h(e.to))),r=be(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Xo.bind(null,u));if(p>-1)return p;const g=Mc(l[c-2]);return c>1&&Mc(u)===g&&d[d.length-1].path!==g?d.findIndex(Xo.bind(null,l[c-2])):p}),s=be(()=>r.value>-1&&Ng(n.params,o.value.params)),i=be(()=>r.value>-1&&r.value===n.matched.length-1&&Ef(n.params,o.value.params));function a(l={}){return Dg(l)?t[h(e.replace)?"replace":"push"](h(e.to)).catch(Rr):Promise.resolve()}return{route:o,href:be(()=>o.value.href),isActive:s,isExactActive:i,navigate:a}}const xg=gn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:xc,setup(e,{slots:t}){const n=en(xc(e)),{options:o}=Ot(ei),r=be(()=>({[Dc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Dc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:qt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),Mg=xg;function Dg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ng(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!kn(r)||r.length!==o.length||o.some((s,i)=>s!==r[i]))return!1}return!0}function Mc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Dc=(e,t,n)=>e??t??n,Vg=gn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ot(sa),r=be(()=>e.route||o.value),s=Ot(Oc,0),i=be(()=>{let c=h(s);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=be(()=>r.value.matched[i.value]);Bt(Oc,be(()=>i.value+1)),Bt(Pg,a),Bt(sa,r);const l=M();return Te(()=>[l.value,a.value,e.name],([c,u,d],[p,g,m])=>{u&&(u.instances[d]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!Xo(u,g)||!p)&&(u.enterCallbacks[d]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return Nc(n.default,{Component:p,route:c});const g=d.props[u],m=g?g===!0?c.params:typeof g=="function"?g(c):g:null,k=qt(p,bt({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Nc(n.default,{Component:k,route:c})||k}}});function Nc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const xf=Vg;function Bg(e){const t=fg(e.routes,e),n=e.parseQuery||Sg,o=e.stringifyQuery||Pc,r=e.history,s=vr(),i=vr(),a=vr(),l=Nr(An);let c=An;No&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ri.bind(null,z=>""+z),d=Ri.bind(null,Rg),p=Ri.bind(null,Ss);function g(z,oe){let te,fe;return Tf(z)?(te=t.getRecordMatcher(z),fe=oe):fe=z,t.addRoute(fe,te)}function m(z){const oe=t.getRecordMatcher(z);oe&&t.removeRoute(oe)}function b(){return t.getRoutes().map(z=>z.record)}function k(z){return!!t.getRecordMatcher(z)}function w(z,oe){if(oe=bt({},oe||l.value),typeof z=="string"){const B=Si(n,z,oe.path),K=t.resolve({path:B.path},oe),G=r.createHref(B.fullPath);return bt(B,K,{params:p(K.params),hash:Ss(B.hash),redirectedFrom:void 0,href:G})}let te;if("path"in z)te=bt({},z,{path:Si(n,z.path,oe.path).path});else{const B=bt({},z.params);for(const K in B)B[K]==null&&delete B[K];te=bt({},z,{params:d(B)}),oe.params=d(oe.params)}const fe=t.resolve(te,oe),ge=z.hash||"";fe.params=u(p(fe.params));const L=Uv(o,bt({},z,{hash:Tg(ge),path:fe.path})),I=r.createHref(L);return bt({fullPath:L,hash:ge,query:o===Pc?Ig(z.query):z.query||{}},fe,{redirectedFrom:void 0,href:I})}function v(z){return typeof z=="string"?Si(n,z,l.value.path):bt({},z)}function _(z,oe){if(c!==z)return er(8,{from:oe,to:z})}function y(z){return T(z)}function E(z){return y(bt(v(z),{replace:!0}))}function C(z){const oe=z.matched[z.matched.length-1];if(oe&&oe.redirect){const{redirect:te}=oe;let fe=typeof te=="function"?te(z):te;return typeof fe=="string"&&(fe=fe.includes("?")||fe.includes("#")?fe=v(fe):{path:fe},fe.params={}),bt({query:z.query,hash:z.hash,params:"path"in fe?{}:z.params},fe)}}function T(z,oe){const te=c=w(z),fe=l.value,ge=z.state,L=z.force,I=z.replace===!0,B=C(te);if(B)return T(bt(v(B),{state:typeof B=="object"?bt({},ge,B.state):ge,force:L,replace:I}),oe||te);const K=te;K.redirectedFrom=oe;let G;return!L&&Hv(o,fe,te)&&(G=er(16,{to:K,from:fe}),dt(fe,fe,!0,!1)),(G?Promise.resolve(G):j(K,fe)).catch(F=>xn(F)?xn(F,2)?F:ae(F):se(F,K,fe)).then(F=>{if(F){if(xn(F,2))return T(bt({replace:I},v(F.to),{state:typeof F.to=="object"?bt({},ge,F.to.state):ge,force:L}),oe||K)}else F=V(K,fe,!0,I,ge);return N(K,fe,F),F})}function S(z,oe){const te=_(z,oe);return te?Promise.reject(te):Promise.resolve()}function A(z){const oe=ue.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(z):z()}function j(z,oe){let te;const[fe,ge,L]=$g(z,oe);te=Ii(fe.reverse(),"beforeRouteLeave",z,oe);for(const B of fe)B.leaveGuards.forEach(K=>{te.push(Jn(K,z,oe))});const I=S.bind(null,z,oe);return te.push(I),Ee(te).then(()=>{te=[];for(const B of s.list())te.push(Jn(B,z,oe));return te.push(I),Ee(te)}).then(()=>{te=Ii(ge,"beforeRouteUpdate",z,oe);for(const B of ge)B.updateGuards.forEach(K=>{te.push(Jn(K,z,oe))});return te.push(I),Ee(te)}).then(()=>{te=[];for(const B of z.matched)if(B.beforeEnter&&!oe.matched.includes(B))if(kn(B.beforeEnter))for(const K of B.beforeEnter)te.push(Jn(K,z,oe));else te.push(Jn(B.beforeEnter,z,oe));return te.push(I),Ee(te)}).then(()=>(z.matched.forEach(B=>B.enterCallbacks={}),te=Ii(L,"beforeRouteEnter",z,oe),te.push(I),Ee(te))).then(()=>{te=[];for(const B of i.list())te.push(Jn(B,z,oe));return te.push(I),Ee(te)}).catch(B=>xn(B,8)?B:Promise.reject(B))}function N(z,oe,te){for(const fe of a.list())A(()=>fe(z,oe,te))}function V(z,oe,te,fe,ge){const L=_(z,oe);if(L)return L;const I=oe===An,B=No?history.state:{};te&&(fe||I?r.replace(z.fullPath,bt({scroll:I&&B&&B.scroll},ge)):r.push(z.fullPath,ge)),l.value=z,dt(z,oe,te,I),ae()}let W;function Y(){W||(W=r.listen((z,oe,te)=>{if(!ut.listening)return;const fe=w(z),ge=C(fe);if(ge){T(bt(ge,{replace:!0}),fe).catch(Rr);return}c=fe;const L=l.value;No&&Zv(kc(L.fullPath,te.delta),Xs()),j(fe,L).catch(I=>xn(I,12)?I:xn(I,2)?(T(I.to,fe).then(B=>{xn(B,20)&&!te.delta&&te.type===Hr.pop&&r.go(-1,!1)}).catch(Rr),Promise.reject()):(te.delta&&r.go(-te.delta,!1),se(I,fe,L))).then(I=>{I=I||V(fe,L,!1),I&&(te.delta&&!xn(I,8)?r.go(-te.delta,!1):te.type===Hr.pop&&xn(I,20)&&r.go(-1,!1)),N(fe,L,I)}).catch(Rr)}))}let ce=vr(),ne=vr(),pe;function se(z,oe,te){ae(z);const fe=ne.list();return fe.length?fe.forEach(ge=>ge(z,oe,te)):console.error(z),Promise.reject(z)}function Le(){return pe&&l.value!==An?Promise.resolve():new Promise((z,oe)=>{ce.add([z,oe])})}function ae(z){return pe||(pe=!z,Y(),ce.list().forEach(([oe,te])=>z?te(z):oe()),ce.reset()),z}function dt(z,oe,te,fe){const{scrollBehavior:ge}=e;if(!No||!ge)return Promise.resolve();const L=!te&&Jv(kc(z.fullPath,0))||(fe||!te)&&history.state&&history.state.scroll||null;return ft().then(()=>ge(z,oe,L)).then(I=>I&&Yv(I)).catch(I=>se(I,z,oe))}const Q=z=>r.go(z);let ie;const ue=new Set,ut={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:k,getRoutes:b,resolve:w,options:e,push:y,replace:E,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:ne.add,isReady:Le,install(z){const oe=this;z.component("RouterLink",Mg),z.component("RouterView",xf),z.config.globalProperties.$router=oe,Object.defineProperty(z.config.globalProperties,"$route",{enumerable:!0,get:()=>h(l)}),No&&!ie&&l.value===An&&(ie=!0,y(r.location).catch(ge=>{}));const te={};for(const ge in An)te[ge]=be(()=>l.value[ge]);z.provide(ei,oe),z.provide(sl,en(te)),z.provide(sa,l);const fe=z.unmount;ue.add(z),z.unmount=function(){ue.delete(z),ue.size<1&&(c=An,W&&W(),W=null,l.value=An,ie=!1,pe=!1),fe()}}};function Ee(z){return z.reduce((oe,te)=>oe.then(()=>A(te)),Promise.resolve())}return ut}function $g(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>Xo(c,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Xo(c,l))||r.push(l))}return[n,o,r]}function il(){return Ot(ei)}function ti(){return Ot(sl)}const Ie={layout:"info",hideTopBarMenu:!0},Pe={layout:"noheader",middleware:["auth"]},Oe={layout:"onlyheader",hideTopBarMenu:!0},xe={layout:"account",middleware:["auth"]},Me={layout:"noheader",page:"blog-id"},De={layout:"noheader"},Ne={layout:"info",hideTopBarMenu:!0},Ve={layout:"info"},ia=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Fg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ug=e=>{const t=ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ia(e)}):ia(e)},Hg={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function Vc(e,t={}){t={...Hg,...t};const n=Mf(t);return n.dispatch(e),n.toString()}function Mf(e){const t=[];let n=[];const o=r=>{t.push(r)};return{toString(){return t.join("")},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this["_"+(r===null?"null":typeof r)](r)},_object(r){if(r&&typeof r.toJSON=="function")return this._object(r.toJSON());const s=/\[object (.*)]/i,i=Object.prototype.toString.call(r),a=s.exec(i),l=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let c=null;if((c=n.indexOf(r))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(r),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return o("buffer:"),o(r.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this["_"+l]?this["_"+l](r):e.ignoreUnknown||this._unkown(r,l);else{let u=Object.keys(r);e.unorderedObjects&&(u=u.sort()),e.respectType!==!1&&!Bc(r)&&u.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(u=u.filter(function(d){return!e.excludeKeys(d)})),o("object:"+u.length+":");for(const d of u)this.dispatch(d),o(":"),e.excludeValues||this.dispatch(r[d]),o(",")}},_array(r,s){if(s=typeof s<"u"?s:e.unorderedArrays!==!1,o("array:"+r.length+":"),!s||r.length<=1){for(const l of r)this.dispatch(l);return}const i=[],a=r.map(l=>{const c=Mf(e);return c.dispatch(l),i.push(c.getContext()),c.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(r){return o("date:"+r.toJSON())},_symbol(r){return o("symbol:"+r.toString())},_unkown(r,s){if(o(s),!!r&&(o(":"),r&&typeof r.entries=="function"))return this._array(Array.from(r.entries()),!0)},_error(r){return o("error:"+r.toString())},_boolean(r){return o("bool:"+r.toString())},_string(r){o("string:"+r.length+":"),o(r.toString())},_function(r){o("fn:"),Bc(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this._object(r)},_number(r){return o("number:"+r.toString())},_xml(r){return o("xml:"+r.toString())},_null(){return o("Null")},_undefined(){return o("Undefined")},_regexp(r){return o("regex:"+r.toString())},_uint8array(r){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint8clampedarray(r){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},_int8array(r){return o("int8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint16array(r){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},_int16array(r){return o("int16array:"),this.dispatch(Array.prototype.slice.call(r))},_uint32array(r){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},_int32array(r){return o("int32array:"),this.dispatch(Array.prototype.slice.call(r))},_float32array(r){return o("float32array:"),this.dispatch(Array.prototype.slice.call(r))},_float64array(r){return o("float64array:"),this.dispatch(Array.prototype.slice.call(r))},_arraybuffer(r){return o("arraybuffer:"),this.dispatch(new Uint8Array(r))},_url(r){return o("url:"+r.toString())},_map(r){o("map:");const s=[...r];return this._array(s,e.unorderedSets!==!1)},_set(r){o("set:");const s=[...r];return this._array(s,e.unorderedSets!==!1)},_file(r){return o("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},_blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},_domwindow(){return o("domwindow")},_bigint(r){return o("bigint:"+r.toString())},_process(){return o("process")},_timer(){return o("timer")},_pipe(){return o("pipe")},_tcp(){return o("tcp")},_udp(){return o("udp")},_tty(){return o("tty")},_statwatcher(){return o("statwatcher")},_securecontext(){return o("securecontext")},_connection(){return o("connection")},_zlib(){return o("zlib")},_context(){return o("context")},_nodescript(){return o("nodescript")},_httpparser(){return o("httpparser")},_dataview(){return o("dataview")},_signal(){return o("signal")},_fsevent(){return o("fsevent")},_tlswrap(){return o("tlswrap")}}}function Bc(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}function jg(e,t,n={}){return e===t||Vc(e,n)===Vc(t,n)}function Wg(e){return{}}const ds=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function qg(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=(t||{}).decode||Gg;let s=0;for(;s<e.length;){const i=e.indexOf("=",s);if(i===-1)break;let a=e.indexOf(";",s);if(a===-1)a=e.length;else if(a<i){s=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(s,i).trim();if(n[l]===void 0){let c=e.slice(i+1,a).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=Kg(c,r)}s=a+1}return n}function $c(e,t,n){const o=n||{},r=o.encode||Yg;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!ds.test(e))throw new TypeError("argument name is invalid");const s=r(t);if(s&&!ds.test(s))throw new TypeError("argument val is invalid");let i=e+"="+s;if(o.maxAge!==void 0&&o.maxAge!==null){const a=o.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(o.domain){if(!ds.test(o.domain))throw new TypeError("option domain is invalid");i+="; Domain="+o.domain}if(o.path){if(!ds.test(o.path))throw new TypeError("option path is invalid");i+="; Path="+o.path}if(o.expires){if(!zg(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}function zg(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Kg(e,t){try{return t(e)}catch{return e}}function Gg(e){return e.includes("%")?decodeURIComponent(e):e}function Yg(e){return encodeURIComponent(e)}const Zg={path:"/",watch:!0,decode:e=>Xd(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Nn(e,t){var s;const n={...Zg,...t},o=Jg(n)||{},r=M(o[e]??((s=n.default)==null?void 0:s.call(n)));{const i=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`);Pn()&&qs(()=>{i==null||i.close()});const a=()=>{Xg(e,r.value,n),i==null||i.postMessage(pt(r.value))};let l=!1;i&&(i.onmessage=c=>{l=!0,r.value=c.data,ft(()=>{l=!1})}),n.watch?Te(r,(c,u)=>{l||jg(c,u)||a()},{deep:n.watch!=="shallow"}):a()}return r}function Jg(e={}){return qg(document.cookie,e)}function Qg(e,t,n={}){return t==null?$c(e,t,{...n,maxAge:-1}):$c(e,t,n)}function Xg(e,t,n={}){document.cookie=Qg(e,t,n)}async function Df(e,t=Vt()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const r=t._preloadPromises=t._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>Df(e,t));t._routePreloaded.add(n);const s=o.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>r.splice(r.indexOf(a)));r.push(a)}await Promise.all(r)}function eb(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}function tb(){return new URL(window.location.href)}const nb=(...e)=>e.find(t=>t!==void 0),ob="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function rb(e){const t=e.componentName||"NuxtLink",n=(o,r)=>{if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;const s=e.trailingSlash==="append"?of:el;if(typeof o=="string")return s(o,!0);const i="path"in o?o.path:r(o).path;return{...o,name:void 0,path:s(i,!0)}};return gn({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(o,{slots:r}){const s=Vt(),i=be(()=>{const d=o.to||o.href||"";return n(d,s.resolve)}),a=be(()=>o.external||o.target&&o.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||ar(i.value,{acceptRelative:!0})),l=M(!1),c=M(null),u=d=>{var p;c.value=o.custom?(p=d==null?void 0:d.$el)==null?void 0:p.nextElementSibling:d==null?void 0:d.$el};if(o.prefetch!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!ab()){const p=ye();let g,m=null;ht(()=>{const b=ib();Ug(()=>{g=ia(()=>{var k;(k=c==null?void 0:c.value)!=null&&k.tagName&&(m=b.observe(c.value,async()=>{m==null||m(),m=null;const w=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",w).catch(()=>{}),!a.value&&Df(i.value,s).catch(()=>{})]),l.value=!0}))})})}),Nt(()=>{g&&Fg(g),m==null||m(),m=null})}return()=>{var b,k;if(!a.value){const w={ref:u,to:i.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(l.value&&(w.class=o.prefetchedClass||e.prefetchedClass),w.rel=o.rel),qt($n("RouterLink"),w,r.default)}const d=typeof i.value=="object"?((b=s.resolve(i.value))==null?void 0:b.href)??null:i.value||null,p=o.target||null,g=o.noRel?null:nb(o.rel,e.externalRelAttribute,d?ob:"")||null,m=()=>nl(d,{replace:o.replace});return o.custom?r.default?r.default({href:d,navigate:m,get route(){if(!d)return;const w=Js(d);return{path:w.pathname,fullPath:w.pathname,get query(){return nf(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:d}},rel:g,target:p,isExternal:a.value,isActive:!1,isExactActive:!1}):null:qt("a",{ref:c,href:d,rel:g,target:p},(k=r.default)==null?void 0:k.call(r))}}})}const sb=rb({componentName:"NuxtLink"});function ib(){const e=ye();if(e._observer)return e._observer;let t=null;const n=new Map,o=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:o}}function ab(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Be={layout:"account",middleware:["auth",function(){if(!Ct().public.DEPOSIT_PAGE)return!1}]},$e={layout:"info",hideTopBarMenu:!0},Fe={layout:"info",hideTopBarMenu:!0},Ue={layout:"noheader"},He={layout:"account"},je={layout:"account",middleware:["auth"]},We={layout:"account",middleware:["auth"]},qe={layout:"nofooter",hideTopBarMenu:!0},ze={layout:"account",middleware:["auth"]},Ke={layout:"account",middleware:["auth"]},Ge={layout:"account",middleware:["auth"]},Ye={layout:"empty",middleware:["auth"]},Ze={layout:"info",hideTopBarMenu:!0},Je={layout:"account",middleware:["auth"]},Qe={layout:"account",middleware:["auth"]},Xe={layout:"account",middleware:["auth"]},et={hideTopBarMenu:!0},tt={layout:"account",middleware:["auth"]},nt={layout:"account",middleware:["referral-user"]},ot={middleware:["referral"],hideTopBarMenu:!0},rt={middleware:["non-auth"],hideTopBarMenu:!0},st={layout:"info",hideTopBarMenu:!0},it={layout:"info",hideTopBarMenu:!0},at={hideTopBarMenu:!0},lt={layout:"account",middleware:["auth"]},ct={layout:"account",middleware:["auth"]},Fc=[{name:(Ie==null?void 0:Ie.name)??"about-us___en-th",path:(Ie==null?void 0:Ie.path)??"/en-th/about-us",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>x(()=>import("./about-us.a1b14f26.js"),["./about-us.a1b14f26.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"about-us",path:(Ie==null?void 0:Ie.path)??"/about-us",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>x(()=>import("./about-us.a1b14f26.js"),["./about-us.a1b14f26.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"about-us___th-th",path:(Ie==null?void 0:Ie.path)??"/th-th/about-us",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>x(()=>import("./about-us.a1b14f26.js"),["./about-us.a1b14f26.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Pe==null?void 0:Pe.name)??"account___en-th",path:(Pe==null?void 0:Pe.path)??"/en-th/account",meta:Pe||{},alias:(Pe==null?void 0:Pe.alias)||[],redirect:(Pe==null?void 0:Pe.redirect)||void 0,component:()=>x(()=>import("./account.6dc38bdf.js"),["./account.6dc38bdf.js","./VerifyEmailModal.016ccfff.js","./VerifyEmailModal.3fcb7e11.css"],import.meta.url).then(e=>e.default||e)},{name:(Pe==null?void 0:Pe.name)??"account",path:(Pe==null?void 0:Pe.path)??"/account",meta:Pe||{},alias:(Pe==null?void 0:Pe.alias)||[],redirect:(Pe==null?void 0:Pe.redirect)||void 0,component:()=>x(()=>import("./account.6dc38bdf.js"),["./account.6dc38bdf.js","./VerifyEmailModal.016ccfff.js","./VerifyEmailModal.3fcb7e11.css"],import.meta.url).then(e=>e.default||e)},{name:(Pe==null?void 0:Pe.name)??"account___th-th",path:(Pe==null?void 0:Pe.path)??"/th-th/account",meta:Pe||{},alias:(Pe==null?void 0:Pe.alias)||[],redirect:(Pe==null?void 0:Pe.redirect)||void 0,component:()=>x(()=>import("./account.6dc38bdf.js"),["./account.6dc38bdf.js","./VerifyEmailModal.016ccfff.js","./VerifyEmailModal.3fcb7e11.css"],import.meta.url).then(e=>e.default||e)},{name:(Oe==null?void 0:Oe.name)??"angpow___en-th",path:(Oe==null?void 0:Oe.path)??"/en-th/angpow",meta:Oe||{},alias:(Oe==null?void 0:Oe.alias)||[],redirect:(Oe==null?void 0:Oe.redirect)||void 0,component:()=>x(()=>import("./angpow.ba2b23e5.js"),["./angpow.ba2b23e5.js","./InfoText.0539db10.js","./angpow.7dc33707.css"],import.meta.url).then(e=>e.default||e)},{name:(Oe==null?void 0:Oe.name)??"angpow",path:(Oe==null?void 0:Oe.path)??"/angpow",meta:Oe||{},alias:(Oe==null?void 0:Oe.alias)||[],redirect:(Oe==null?void 0:Oe.redirect)||void 0,component:()=>x(()=>import("./angpow.ba2b23e5.js"),["./angpow.ba2b23e5.js","./InfoText.0539db10.js","./angpow.7dc33707.css"],import.meta.url).then(e=>e.default||e)},{name:(Oe==null?void 0:Oe.name)??"angpow___th-th",path:(Oe==null?void 0:Oe.path)??"/th-th/angpow",meta:Oe||{},alias:(Oe==null?void 0:Oe.alias)||[],redirect:(Oe==null?void 0:Oe.redirect)||void 0,component:()=>x(()=>import("./angpow.ba2b23e5.js"),["./angpow.ba2b23e5.js","./InfoText.0539db10.js","./angpow.7dc33707.css"],import.meta.url).then(e=>e.default||e)},{name:(xe==null?void 0:xe.name)??"bank___en-th",path:(xe==null?void 0:xe.path)??"/en-th/bank",meta:xe||{},alias:(xe==null?void 0:xe.alias)||[],redirect:(xe==null?void 0:xe.redirect)||void 0,component:()=>x(()=>import("./bank.c2e60d9a.js"),["./bank.c2e60d9a.js","./QuickNav.2a7c668d.js","./FullnameCheckModal.71288e7b.js","./bank.12af0346.css"],import.meta.url).then(e=>e.default||e)},{name:(xe==null?void 0:xe.name)??"bank",path:(xe==null?void 0:xe.path)??"/bank",meta:xe||{},alias:(xe==null?void 0:xe.alias)||[],redirect:(xe==null?void 0:xe.redirect)||void 0,component:()=>x(()=>import("./bank.c2e60d9a.js"),["./bank.c2e60d9a.js","./QuickNav.2a7c668d.js","./FullnameCheckModal.71288e7b.js","./bank.12af0346.css"],import.meta.url).then(e=>e.default||e)},{name:(xe==null?void 0:xe.name)??"bank___th-th",path:(xe==null?void 0:xe.path)??"/th-th/bank",meta:xe||{},alias:(xe==null?void 0:xe.alias)||[],redirect:(xe==null?void 0:xe.redirect)||void 0,component:()=>x(()=>import("./bank.c2e60d9a.js"),["./bank.c2e60d9a.js","./QuickNav.2a7c668d.js","./FullnameCheckModal.71288e7b.js","./bank.12af0346.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo-provider___en-th",path:"/en-th/bingo/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.ccc0453d.js"),["./_provider_.ccc0453d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo-provider",path:"/bingo/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.ccc0453d.js"),["./_provider_.ccc0453d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo-provider___th-th",path:"/th-th/bingo/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.ccc0453d.js"),["./_provider_.ccc0453d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo___en-th",path:"/en-th/bingo",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8e74ce36.js"),["./index.8e74ce36.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo",path:"/bingo",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8e74ce36.js"),["./index.8e74ce36.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"bingo___th-th",path:"/th-th/bingo",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8e74ce36.js"),["./index.8e74ce36.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(Me==null?void 0:Me.name)??"blog-id___en-th",path:(Me==null?void 0:Me.path)??"/en-th/blog/:id()",meta:Me||{},alias:(Me==null?void 0:Me.alias)||[],redirect:(Me==null?void 0:Me.redirect)||void 0,component:()=>x(()=>import("./_id_.7deba520.js"),["./_id_.7deba520.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./ShareButtonList.456f5c19.js","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./_id_.c4a5f4bb.css"],import.meta.url).then(e=>e.default||e)},{name:(Me==null?void 0:Me.name)??"blog-id",path:(Me==null?void 0:Me.path)??"/blog/:id()",meta:Me||{},alias:(Me==null?void 0:Me.alias)||[],redirect:(Me==null?void 0:Me.redirect)||void 0,component:()=>x(()=>import("./_id_.7deba520.js"),["./_id_.7deba520.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./ShareButtonList.456f5c19.js","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./_id_.c4a5f4bb.css"],import.meta.url).then(e=>e.default||e)},{name:(Me==null?void 0:Me.name)??"blog-id___th-th",path:(Me==null?void 0:Me.path)??"/th-th/blog/:id()",meta:Me||{},alias:(Me==null?void 0:Me.alias)||[],redirect:(Me==null?void 0:Me.redirect)||void 0,component:()=>x(()=>import("./_id_.7deba520.js"),["./_id_.7deba520.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./ShareButtonList.456f5c19.js","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./_id_.c4a5f4bb.css"],import.meta.url).then(e=>e.default||e)},{name:(De==null?void 0:De.name)??"blog___en-th",path:(De==null?void 0:De.path)??"/en-th/blog",meta:De||{},alias:(De==null?void 0:De.alias)||[],redirect:(De==null?void 0:De.redirect)||void 0,component:()=>x(()=>import("./index.0b5355c7.js"),["./index.0b5355c7.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./index.ae2d3a08.css"],import.meta.url).then(e=>e.default||e)},{name:(De==null?void 0:De.name)??"blog",path:(De==null?void 0:De.path)??"/blog",meta:De||{},alias:(De==null?void 0:De.alias)||[],redirect:(De==null?void 0:De.redirect)||void 0,component:()=>x(()=>import("./index.0b5355c7.js"),["./index.0b5355c7.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./index.ae2d3a08.css"],import.meta.url).then(e=>e.default||e)},{name:(De==null?void 0:De.name)??"blog___th-th",path:(De==null?void 0:De.path)??"/th-th/blog",meta:De||{},alias:(De==null?void 0:De.alias)||[],redirect:(De==null?void 0:De.redirect)||void 0,component:()=>x(()=>import("./index.0b5355c7.js"),["./index.0b5355c7.js","./BlogCard.1d8983f7.js","./BlogCard.dba716cc.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./index.ae2d3a08.css"],import.meta.url).then(e=>e.default||e)},{name:"card-provider___en-th",path:"/en-th/card/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.b909e5a4.js"),["./_provider_.b909e5a4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"card-provider",path:"/card/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.b909e5a4.js"),["./_provider_.b909e5a4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"card-provider___th-th",path:"/th-th/card/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.b909e5a4.js"),["./_provider_.b909e5a4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"card___en-th",path:"/en-th/card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.3c77f530.js"),["./index.3c77f530.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"card",path:"/card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.3c77f530.js"),["./index.3c77f530.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"card___th-th",path:"/th-th/card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.3c77f530.js"),["./index.3c77f530.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight-provider___en-th",path:"/en-th/cockfight/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.2efbb45a.js"),["./_provider_.2efbb45a.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight-provider",path:"/cockfight/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.2efbb45a.js"),["./_provider_.2efbb45a.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight-provider___th-th",path:"/th-th/cockfight/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.2efbb45a.js"),["./_provider_.2efbb45a.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight___en-th",path:"/en-th/cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.00d10df1.js"),["./index.00d10df1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight",path:"/cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.00d10df1.js"),["./index.00d10df1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"cockfight___th-th",path:"/th-th/cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.00d10df1.js"),["./index.00d10df1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(Ne==null?void 0:Ne.name)??"contact-us___en-th",path:(Ne==null?void 0:Ne.path)??"/en-th/contact-us",meta:Ne||{},alias:(Ne==null?void 0:Ne.alias)||[],redirect:(Ne==null?void 0:Ne.redirect)||void 0,component:()=>x(()=>import("./contact-us.9d423dc2.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ne==null?void 0:Ne.name)??"contact-us",path:(Ne==null?void 0:Ne.path)??"/contact-us",meta:Ne||{},alias:(Ne==null?void 0:Ne.alias)||[],redirect:(Ne==null?void 0:Ne.redirect)||void 0,component:()=>x(()=>import("./contact-us.9d423dc2.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ne==null?void 0:Ne.name)??"contact-us___th-th",path:(Ne==null?void 0:Ne.path)??"/th-th/contact-us",meta:Ne||{},alias:(Ne==null?void 0:Ne.alias)||[],redirect:(Ne==null?void 0:Ne.redirect)||void 0,component:()=>x(()=>import("./contact-us.9d423dc2.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ve==null?void 0:Ve.name)??"deposit-tutorial___en-th",path:(Ve==null?void 0:Ve.path)??"/en-th/deposit-tutorial",meta:Ve||{},alias:(Ve==null?void 0:Ve.alias)||[],redirect:(Ve==null?void 0:Ve.redirect)||void 0,component:()=>x(()=>import("./deposit-tutorial.96ebe13c.js"),["./deposit-tutorial.96ebe13c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ve==null?void 0:Ve.name)??"deposit-tutorial",path:(Ve==null?void 0:Ve.path)??"/deposit-tutorial",meta:Ve||{},alias:(Ve==null?void 0:Ve.alias)||[],redirect:(Ve==null?void 0:Ve.redirect)||void 0,component:()=>x(()=>import("./deposit-tutorial.96ebe13c.js"),["./deposit-tutorial.96ebe13c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ve==null?void 0:Ve.name)??"deposit-tutorial___th-th",path:(Ve==null?void 0:Ve.path)??"/th-th/deposit-tutorial",meta:Ve||{},alias:(Ve==null?void 0:Ve.alias)||[],redirect:(Ve==null?void 0:Ve.redirect)||void 0,component:()=>x(()=>import("./deposit-tutorial.96ebe13c.js"),["./deposit-tutorial.96ebe13c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Be==null?void 0:Be.name)??"deposit___en-th",path:(Be==null?void 0:Be.path)??"/en-th/deposit",meta:Be||{},alias:(Be==null?void 0:Be.alias)||[],redirect:(Be==null?void 0:Be.redirect)||void 0,component:()=>x(()=>import("./deposit.0ee6541e.js"),["./deposit.0ee6541e.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./deposit.5c9d54c5.css"],import.meta.url).then(e=>e.default||e)},{name:(Be==null?void 0:Be.name)??"deposit",path:(Be==null?void 0:Be.path)??"/deposit",meta:Be||{},alias:(Be==null?void 0:Be.alias)||[],redirect:(Be==null?void 0:Be.redirect)||void 0,component:()=>x(()=>import("./deposit.0ee6541e.js"),["./deposit.0ee6541e.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./deposit.5c9d54c5.css"],import.meta.url).then(e=>e.default||e)},{name:(Be==null?void 0:Be.name)??"deposit___th-th",path:(Be==null?void 0:Be.path)??"/th-th/deposit",meta:Be||{},alias:(Be==null?void 0:Be.alias)||[],redirect:(Be==null?void 0:Be.redirect)||void 0,component:()=>x(()=>import("./deposit.0ee6541e.js"),["./deposit.0ee6541e.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./deposit.5c9d54c5.css"],import.meta.url).then(e=>e.default||e)},{name:($e==null?void 0:$e.name)??"disconnect-policy___en-th",path:($e==null?void 0:$e.path)??"/en-th/disconnect-policy",meta:$e||{},alias:($e==null?void 0:$e.alias)||[],redirect:($e==null?void 0:$e.redirect)||void 0,component:()=>x(()=>import("./disconnect-policy.434ac6c2.js"),["./disconnect-policy.434ac6c2.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:($e==null?void 0:$e.name)??"disconnect-policy",path:($e==null?void 0:$e.path)??"/disconnect-policy",meta:$e||{},alias:($e==null?void 0:$e.alias)||[],redirect:($e==null?void 0:$e.redirect)||void 0,component:()=>x(()=>import("./disconnect-policy.434ac6c2.js"),["./disconnect-policy.434ac6c2.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:($e==null?void 0:$e.name)??"disconnect-policy___th-th",path:($e==null?void 0:$e.path)??"/th-th/disconnect-policy",meta:$e||{},alias:($e==null?void 0:$e.alias)||[],redirect:($e==null?void 0:$e.redirect)||void 0,component:()=>x(()=>import("./disconnect-policy.434ac6c2.js"),["./disconnect-policy.434ac6c2.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:"esport-provider___en-th",path:"/en-th/esport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.01a8e27d.js"),["./_provider_.01a8e27d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"esport-provider",path:"/esport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.01a8e27d.js"),["./_provider_.01a8e27d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"esport-provider___th-th",path:"/th-th/esport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.01a8e27d.js"),["./_provider_.01a8e27d.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"esport___en-th",path:"/en-th/esport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.656266ec.js"),["./index.656266ec.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"esport",path:"/esport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.656266ec.js"),["./index.656266ec.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"esport___th-th",path:"/th-th/esport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.656266ec.js"),["./index.656266ec.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(Fe==null?void 0:Fe.name)??"faq___en-th",path:(Fe==null?void 0:Fe.path)??"/en-th/faq",meta:Fe||{},alias:(Fe==null?void 0:Fe.alias)||[],redirect:(Fe==null?void 0:Fe.redirect)||void 0,component:()=>x(()=>import("./faq.bc965b4c.js"),["./faq.bc965b4c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Fe==null?void 0:Fe.name)??"faq",path:(Fe==null?void 0:Fe.path)??"/faq",meta:Fe||{},alias:(Fe==null?void 0:Fe.alias)||[],redirect:(Fe==null?void 0:Fe.redirect)||void 0,component:()=>x(()=>import("./faq.bc965b4c.js"),["./faq.bc965b4c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Fe==null?void 0:Fe.name)??"faq___th-th",path:(Fe==null?void 0:Fe.path)??"/th-th/faq",meta:Fe||{},alias:(Fe==null?void 0:Fe.alias)||[],redirect:(Fe==null?void 0:Fe.redirect)||void 0,component:()=>x(()=>import("./faq.bc965b4c.js"),["./faq.bc965b4c.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:"fish-provider___en-th",path:"/en-th/fish/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.e0f408fe.js"),["./_provider_.e0f408fe.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"fish-provider",path:"/fish/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.e0f408fe.js"),["./_provider_.e0f408fe.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"fish-provider___th-th",path:"/th-th/fish/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.e0f408fe.js"),["./_provider_.e0f408fe.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"fish___en-th",path:"/en-th/fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8bdc9e59.js"),["./index.8bdc9e59.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"fish",path:"/fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8bdc9e59.js"),["./index.8bdc9e59.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"fish___th-th",path:"/th-th/fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.8bdc9e59.js"),["./index.8bdc9e59.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(Ue==null?void 0:Ue.name)??"football-prediction___en-th",path:(Ue==null?void 0:Ue.path)??"/en-th/football-prediction",meta:Ue||{},alias:(Ue==null?void 0:Ue.alias)||[],redirect:(Ue==null?void 0:Ue.redirect)||void 0,component:()=>x(()=>import("./football-prediction.b498c2f9.js"),["./football-prediction.b498c2f9.js","./InfoText.0539db10.js","./ShareButtonList.456f5c19.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./football-prediction.1ba30477.css"],import.meta.url).then(e=>e.default||e)},{name:(Ue==null?void 0:Ue.name)??"football-prediction",path:(Ue==null?void 0:Ue.path)??"/football-prediction",meta:Ue||{},alias:(Ue==null?void 0:Ue.alias)||[],redirect:(Ue==null?void 0:Ue.redirect)||void 0,component:()=>x(()=>import("./football-prediction.b498c2f9.js"),["./football-prediction.b498c2f9.js","./InfoText.0539db10.js","./ShareButtonList.456f5c19.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./football-prediction.1ba30477.css"],import.meta.url).then(e=>e.default||e)},{name:(Ue==null?void 0:Ue.name)??"football-prediction___th-th",path:(Ue==null?void 0:Ue.path)??"/th-th/football-prediction",meta:Ue||{},alias:(Ue==null?void 0:Ue.alias)||[],redirect:(Ue==null?void 0:Ue.redirect)||void 0,component:()=>x(()=>import("./football-prediction.b498c2f9.js"),["./football-prediction.b498c2f9.js","./InfoText.0539db10.js","./ShareButtonList.456f5c19.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./football-prediction.1ba30477.css"],import.meta.url).then(e=>e.default||e)},{name:(He==null?void 0:He.name)??"game-history___en-th",path:(He==null?void 0:He.path)??"/en-th/game-history",children:[{name:"game-history-card___en-th",path:"card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./card.c3adb9d2.js"),["./card.c3adb9d2.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-cockfight___en-th",path:"cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./cockfight.68c08eed.js"),["./cockfight.68c08eed.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-esports___en-th",path:"esports",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./esports.a2502f06.js"),["./esports.a2502f06.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-fish___en-th",path:"fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./fish.6f4de3c6.js"),["./fish.6f4de3c6.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-lottery___en-th",path:"lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./lottery.4662d7ff.js"),["./lottery.4662d7ff.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-slots___en-th",path:"slots",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./slots.6df630ca.js"),["./slots.6df630ca.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)}],meta:He||{},alias:(He==null?void 0:He.alias)||[],redirect:(He==null?void 0:He.redirect)||void 0,component:()=>x(()=>import("./game-history.a324d1a4.js"),["./game-history.a324d1a4.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:(He==null?void 0:He.name)??"game-history",path:(He==null?void 0:He.path)??"/game-history",children:[{name:"game-history-card",path:"card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./card.c3adb9d2.js"),["./card.c3adb9d2.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-cockfight",path:"cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./cockfight.68c08eed.js"),["./cockfight.68c08eed.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-esports",path:"esports",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./esports.a2502f06.js"),["./esports.a2502f06.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-fish",path:"fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./fish.6f4de3c6.js"),["./fish.6f4de3c6.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-lottery",path:"lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./lottery.4662d7ff.js"),["./lottery.4662d7ff.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-slots",path:"slots",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./slots.6df630ca.js"),["./slots.6df630ca.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)}],meta:He||{},alias:(He==null?void 0:He.alias)||[],redirect:(He==null?void 0:He.redirect)||void 0,component:()=>x(()=>import("./game-history.a324d1a4.js"),["./game-history.a324d1a4.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:(He==null?void 0:He.name)??"game-history___th-th",path:(He==null?void 0:He.path)??"/th-th/game-history",children:[{name:"game-history-card___th-th",path:"card",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./card.c3adb9d2.js"),["./card.c3adb9d2.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-cockfight___th-th",path:"cockfight",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./cockfight.68c08eed.js"),["./cockfight.68c08eed.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-esports___th-th",path:"esports",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./esports.a2502f06.js"),["./esports.a2502f06.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-fish___th-th",path:"fish",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./fish.6f4de3c6.js"),["./fish.6f4de3c6.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-lottery___th-th",path:"lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./lottery.4662d7ff.js"),["./lottery.4662d7ff.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:"game-history-slots___th-th",path:"slots",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./slots.6df630ca.js"),["./slots.6df630ca.js","./Rows.b2967809.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)}],meta:He||{},alias:(He==null?void 0:He.alias)||[],redirect:(He==null?void 0:He.redirect)||void 0,component:()=>x(()=>import("./game-history.a324d1a4.js"),["./game-history.a324d1a4.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:(je==null?void 0:je.name)??"history___en-th",path:(je==null?void 0:je.path)??"/en-th/history",meta:je||{},alias:(je==null?void 0:je.alias)||[],redirect:(je==null?void 0:je.redirect)||void 0,component:()=>x(()=>import("./history.80dd6150.js"),["./history.80dd6150.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css"],import.meta.url).then(e=>e.default||e)},{name:(je==null?void 0:je.name)??"history",path:(je==null?void 0:je.path)??"/history",meta:je||{},alias:(je==null?void 0:je.alias)||[],redirect:(je==null?void 0:je.redirect)||void 0,component:()=>x(()=>import("./history.80dd6150.js"),["./history.80dd6150.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css"],import.meta.url).then(e=>e.default||e)},{name:(je==null?void 0:je.name)??"history___th-th",path:(je==null?void 0:je.path)??"/th-th/history",meta:je||{},alias:(je==null?void 0:je.alias)||[],redirect:(je==null?void 0:je.redirect)||void 0,component:()=>x(()=>import("./history.80dd6150.js"),["./history.80dd6150.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css"],import.meta.url).then(e=>e.default||e)},{name:(We==null?void 0:We.name)??"id-verification___en-th",path:(We==null?void 0:We.path)??"/en-th/id-verification",meta:We||{},alias:(We==null?void 0:We.alias)||[],redirect:(We==null?void 0:We.redirect)||void 0,component:()=>x(()=>import("./id-verification.2e0c9edf.js"),["./id-verification.2e0c9edf.js","./QuickNav.2a7c668d.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./id-verification.a9e4a140.css"],import.meta.url).then(e=>e.default||e)},{name:(We==null?void 0:We.name)??"id-verification",path:(We==null?void 0:We.path)??"/id-verification",meta:We||{},alias:(We==null?void 0:We.alias)||[],redirect:(We==null?void 0:We.redirect)||void 0,component:()=>x(()=>import("./id-verification.2e0c9edf.js"),["./id-verification.2e0c9edf.js","./QuickNav.2a7c668d.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./id-verification.a9e4a140.css"],import.meta.url).then(e=>e.default||e)},{name:(We==null?void 0:We.name)??"id-verification___th-th",path:(We==null?void 0:We.path)??"/th-th/id-verification",meta:We||{},alias:(We==null?void 0:We.alias)||[],redirect:(We==null?void 0:We.redirect)||void 0,component:()=>x(()=>import("./id-verification.2e0c9edf.js"),["./id-verification.2e0c9edf.js","./QuickNav.2a7c668d.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./id-verification.a9e4a140.css"],import.meta.url).then(e=>e.default||e)},{name:"index___en-th",path:"/en-th",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.5c6b6e01.js"),["./index.5c6b6e01.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./games.75e9f830.js","./index.b4d2f050.css"],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.5c6b6e01.js"),["./index.5c6b6e01.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./games.75e9f830.js","./index.b4d2f050.css"],import.meta.url).then(e=>e.default||e)},{name:"index___th-th",path:"/th-th",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.5c6b6e01.js"),["./index.5c6b6e01.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./games.75e9f830.js","./index.b4d2f050.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin-provider___en-th",path:"/en-th/instantwin/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.dfe7f7f2.js"),["./_provider_.dfe7f7f2.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin-provider",path:"/instantwin/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.dfe7f7f2.js"),["./_provider_.dfe7f7f2.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin-provider___th-th",path:"/th-th/instantwin/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.dfe7f7f2.js"),["./_provider_.dfe7f7f2.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin___en-th",path:"/en-th/instantwin",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.828dead1.js"),["./index.828dead1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin",path:"/instantwin",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.828dead1.js"),["./index.828dead1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"instantwin___th-th",path:"/th-th/instantwin",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.828dead1.js"),["./index.828dead1.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"language___en-th",path:"/en-th/language",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./language.3a85d765.js"),[],import.meta.url).then(e=>e.default||e)},{name:"language",path:"/language",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./language.3a85d765.js"),[],import.meta.url).then(e=>e.default||e)},{name:"language___th-th",path:"/th-th/language",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./language.3a85d765.js"),[],import.meta.url).then(e=>e.default||e)},{name:"leaderboard___en-th",path:"/en-th/leaderboard",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./leaderboard.c749a243.js"),["./leaderboard.c749a243.js","./leaderboard.d7bce4d7.css"],import.meta.url).then(e=>e.default||e)},{name:"leaderboard",path:"/leaderboard",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./leaderboard.c749a243.js"),["./leaderboard.c749a243.js","./leaderboard.d7bce4d7.css"],import.meta.url).then(e=>e.default||e)},{name:"leaderboard___th-th",path:"/th-th/leaderboard",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./leaderboard.c749a243.js"),["./leaderboard.c749a243.js","./leaderboard.d7bce4d7.css"],import.meta.url).then(e=>e.default||e)},{name:"live-provider___en-th",path:"/en-th/live/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.0b1bf164.js"),["./_provider_.0b1bf164.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"live-provider",path:"/live/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.0b1bf164.js"),["./_provider_.0b1bf164.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"live-provider___th-th",path:"/th-th/live/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.0b1bf164.js"),["./_provider_.0b1bf164.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"live___en-th",path:"/en-th/live",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.239b2cd8.js"),["./index.239b2cd8.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"live",path:"/live",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.239b2cd8.js"),["./index.239b2cd8.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"live___th-th",path:"/th-th/live",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.239b2cd8.js"),["./index.239b2cd8.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery-provider___en-th",path:"/en-th/lottery/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.6c2435cd.js"),["./_provider_.6c2435cd.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery-provider",path:"/lottery/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.6c2435cd.js"),["./_provider_.6c2435cd.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery-provider___th-th",path:"/th-th/lottery/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.6c2435cd.js"),["./_provider_.6c2435cd.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery___en-th",path:"/en-th/lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.b01d8745.js"),["./index.b01d8745.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery",path:"/lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.b01d8745.js"),["./index.b01d8745.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"lottery___th-th",path:"/th-th/lottery",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.b01d8745.js"),["./index.b01d8745.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(qe==null?void 0:qe.name)??"lucky-spin___en-th",path:(qe==null?void 0:qe.path)??"/en-th/lucky-spin",meta:qe||{},alias:(qe==null?void 0:qe.alias)||[],redirect:(qe==null?void 0:qe.redirect)||void 0,component:()=>x(()=>import("./lucky-spin.8670e33a.js"),["./lucky-spin.8670e33a.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./lucky-spin.1ddbddf9.css"],import.meta.url).then(e=>e.default||e)},{name:(qe==null?void 0:qe.name)??"lucky-spin",path:(qe==null?void 0:qe.path)??"/lucky-spin",meta:qe||{},alias:(qe==null?void 0:qe.alias)||[],redirect:(qe==null?void 0:qe.redirect)||void 0,component:()=>x(()=>import("./lucky-spin.8670e33a.js"),["./lucky-spin.8670e33a.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./lucky-spin.1ddbddf9.css"],import.meta.url).then(e=>e.default||e)},{name:(qe==null?void 0:qe.name)??"lucky-spin___th-th",path:(qe==null?void 0:qe.path)??"/th-th/lucky-spin",meta:qe||{},alias:(qe==null?void 0:qe.alias)||[],redirect:(qe==null?void 0:qe.redirect)||void 0,component:()=>x(()=>import("./lucky-spin.8670e33a.js"),["./lucky-spin.8670e33a.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./lucky-spin.1ddbddf9.css"],import.meta.url).then(e=>e.default||e)},{name:(ze==null?void 0:ze.name)??"mission-diary___en-th",path:(ze==null?void 0:ze.path)??"/en-th/mission-diary",meta:ze||{},alias:(ze==null?void 0:ze.alias)||[],redirect:(ze==null?void 0:ze.redirect)||void 0,component:()=>x(()=>import("./mission-diary.f1fe61d8.js"),["./mission-diary.f1fe61d8.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./InfoText.0539db10.js","./mission-diary.29738161.css"],import.meta.url).then(e=>e.default||e)},{name:(ze==null?void 0:ze.name)??"mission-diary",path:(ze==null?void 0:ze.path)??"/mission-diary",meta:ze||{},alias:(ze==null?void 0:ze.alias)||[],redirect:(ze==null?void 0:ze.redirect)||void 0,component:()=>x(()=>import("./mission-diary.f1fe61d8.js"),["./mission-diary.f1fe61d8.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./InfoText.0539db10.js","./mission-diary.29738161.css"],import.meta.url).then(e=>e.default||e)},{name:(ze==null?void 0:ze.name)??"mission-diary___th-th",path:(ze==null?void 0:ze.path)??"/th-th/mission-diary",meta:ze||{},alias:(ze==null?void 0:ze.alias)||[],redirect:(ze==null?void 0:ze.redirect)||void 0,component:()=>x(()=>import("./mission-diary.f1fe61d8.js"),["./mission-diary.f1fe61d8.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./InfoText.0539db10.js","./mission-diary.29738161.css"],import.meta.url).then(e=>e.default||e)},{name:(Ke==null?void 0:Ke.name)??"my-vip___en-th",path:(Ke==null?void 0:Ke.path)??"/en-th/my-vip",meta:Ke||{},alias:(Ke==null?void 0:Ke.alias)||[],redirect:(Ke==null?void 0:Ke.redirect)||void 0,component:()=>x(()=>import("./my-vip.9073331d.js"),["./my-vip.9073331d.js","./QuickNav.2a7c668d.js","./gifts.f269fcb6.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./my-vip.cefa12ea.css"],import.meta.url).then(e=>e.default||e)},{name:(Ke==null?void 0:Ke.name)??"my-vip",path:(Ke==null?void 0:Ke.path)??"/my-vip",meta:Ke||{},alias:(Ke==null?void 0:Ke.alias)||[],redirect:(Ke==null?void 0:Ke.redirect)||void 0,component:()=>x(()=>import("./my-vip.9073331d.js"),["./my-vip.9073331d.js","./QuickNav.2a7c668d.js","./gifts.f269fcb6.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./my-vip.cefa12ea.css"],import.meta.url).then(e=>e.default||e)},{name:(Ke==null?void 0:Ke.name)??"my-vip___th-th",path:(Ke==null?void 0:Ke.path)??"/th-th/my-vip",meta:Ke||{},alias:(Ke==null?void 0:Ke.alias)||[],redirect:(Ke==null?void 0:Ke.redirect)||void 0,component:()=>x(()=>import("./my-vip.9073331d.js"),["./my-vip.9073331d.js","./QuickNav.2a7c668d.js","./gifts.f269fcb6.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./my-vip.cefa12ea.css"],import.meta.url).then(e=>e.default||e)},{name:(Ge==null?void 0:Ge.name)??"notifications___en-th",path:(Ge==null?void 0:Ge.path)??"/en-th/notifications",meta:Ge||{},alias:(Ge==null?void 0:Ge.alias)||[],redirect:(Ge==null?void 0:Ge.redirect)||void 0,component:()=>x(()=>import("./notifications.33aa4cec.js"),["./notifications.33aa4cec.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css"],import.meta.url).then(e=>e.default||e)},{name:(Ge==null?void 0:Ge.name)??"notifications",path:(Ge==null?void 0:Ge.path)??"/notifications",meta:Ge||{},alias:(Ge==null?void 0:Ge.alias)||[],redirect:(Ge==null?void 0:Ge.redirect)||void 0,component:()=>x(()=>import("./notifications.33aa4cec.js"),["./notifications.33aa4cec.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css"],import.meta.url).then(e=>e.default||e)},{name:(Ge==null?void 0:Ge.name)??"notifications___th-th",path:(Ge==null?void 0:Ge.path)??"/th-th/notifications",meta:Ge||{},alias:(Ge==null?void 0:Ge.alias)||[],redirect:(Ge==null?void 0:Ge.redirect)||void 0,component:()=>x(()=>import("./notifications.33aa4cec.js"),["./notifications.33aa4cec.js","./QuickNav.2a7c668d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css"],import.meta.url).then(e=>e.default||e)},{name:(Ye==null?void 0:Ye.name)??"play-play___en-th",path:(Ye==null?void 0:Ye.path)??"/en-th/play/:play()",meta:Ye||{},alias:(Ye==null?void 0:Ye.alias)||[],redirect:(Ye==null?void 0:Ye.redirect)||void 0,component:()=>x(()=>import("./_play_.24d8b9d1.js"),["./_play_.24d8b9d1.js","./icon_restore.bd69b27a.js","./games.75e9f830.js","./_play_.b2b0d243.css"],import.meta.url).then(e=>e.default||e)},{name:(Ye==null?void 0:Ye.name)??"play-play",path:(Ye==null?void 0:Ye.path)??"/play/:play()",meta:Ye||{},alias:(Ye==null?void 0:Ye.alias)||[],redirect:(Ye==null?void 0:Ye.redirect)||void 0,component:()=>x(()=>import("./_play_.24d8b9d1.js"),["./_play_.24d8b9d1.js","./icon_restore.bd69b27a.js","./games.75e9f830.js","./_play_.b2b0d243.css"],import.meta.url).then(e=>e.default||e)},{name:(Ye==null?void 0:Ye.name)??"play-play___th-th",path:(Ye==null?void 0:Ye.path)??"/th-th/play/:play()",meta:Ye||{},alias:(Ye==null?void 0:Ye.alias)||[],redirect:(Ye==null?void 0:Ye.redirect)||void 0,component:()=>x(()=>import("./_play_.24d8b9d1.js"),["./_play_.24d8b9d1.js","./icon_restore.bd69b27a.js","./games.75e9f830.js","./_play_.b2b0d243.css"],import.meta.url).then(e=>e.default||e)},{name:"play___en-th",path:"/en-th/play",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.6733a139.js"),[],import.meta.url).then(e=>e.default||e)},{name:"play",path:"/play",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.6733a139.js"),[],import.meta.url).then(e=>e.default||e)},{name:"play___th-th",path:"/th-th/play",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.6733a139.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ze==null?void 0:Ze.name)??"privacy-policy___en-th",path:(Ze==null?void 0:Ze.path)??"/en-th/privacy-policy",meta:Ze||{},alias:(Ze==null?void 0:Ze.alias)||[],redirect:(Ze==null?void 0:Ze.redirect)||void 0,component:()=>x(()=>import("./privacy-policy.8ff1f681.js"),["./privacy-policy.8ff1f681.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ze==null?void 0:Ze.name)??"privacy-policy",path:(Ze==null?void 0:Ze.path)??"/privacy-policy",meta:Ze||{},alias:(Ze==null?void 0:Ze.alias)||[],redirect:(Ze==null?void 0:Ze.redirect)||void 0,component:()=>x(()=>import("./privacy-policy.8ff1f681.js"),["./privacy-policy.8ff1f681.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(Ze==null?void 0:Ze.name)??"privacy-policy___th-th",path:(Ze==null?void 0:Ze.path)??"/th-th/privacy-policy",meta:Ze||{},alias:(Ze==null?void 0:Ze.alias)||[],redirect:(Ze==null?void 0:Ze.redirect)||void 0,component:()=>x(()=>import("./privacy-policy.8ff1f681.js"),["./privacy-policy.8ff1f681.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{path:"/en-th/profile",children:[{name:(Je==null?void 0:Je.name)??"profile___en-th",path:(Je==null?void 0:Je.path)??"",meta:Je||{},alias:(Je==null?void 0:Je.alias)||[],redirect:(Je==null?void 0:Je.redirect)||void 0,component:()=>x(()=>import("./index.5bee7528.js"),["./index.5bee7528.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)},{name:(Qe==null?void 0:Qe.name)??"profile-pin___en-th",path:(Qe==null?void 0:Qe.path)??"pin",meta:Qe||{},alias:(Qe==null?void 0:Qe.alias)||[],redirect:(Qe==null?void 0:Qe.redirect)||void 0,component:()=>x(()=>import("./pin.4d0f1291.js"),["./pin.4d0f1291.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./profile.6b56e11d.js"),["./profile.6b56e11d.js","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{path:"/profile",children:[{name:(Je==null?void 0:Je.name)??"profile",path:(Je==null?void 0:Je.path)??"",meta:Je||{},alias:(Je==null?void 0:Je.alias)||[],redirect:(Je==null?void 0:Je.redirect)||void 0,component:()=>x(()=>import("./index.5bee7528.js"),["./index.5bee7528.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)},{name:(Qe==null?void 0:Qe.name)??"profile-pin",path:(Qe==null?void 0:Qe.path)??"pin",meta:Qe||{},alias:(Qe==null?void 0:Qe.alias)||[],redirect:(Qe==null?void 0:Qe.redirect)||void 0,component:()=>x(()=>import("./pin.4d0f1291.js"),["./pin.4d0f1291.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./profile.6b56e11d.js"),["./profile.6b56e11d.js","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{path:"/th-th/profile",children:[{name:(Je==null?void 0:Je.name)??"profile___th-th",path:(Je==null?void 0:Je.path)??"",meta:Je||{},alias:(Je==null?void 0:Je.alias)||[],redirect:(Je==null?void 0:Je.redirect)||void 0,component:()=>x(()=>import("./index.5bee7528.js"),["./index.5bee7528.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)},{name:(Qe==null?void 0:Qe.name)??"profile-pin___th-th",path:(Qe==null?void 0:Qe.path)??"pin",meta:Qe||{},alias:(Qe==null?void 0:Qe.alias)||[],redirect:(Qe==null?void 0:Qe.redirect)||void 0,component:()=>x(()=>import("./pin.4d0f1291.js"),["./pin.4d0f1291.js","./QuickNav.2a7c668d.js","./SubmitFooter.f62a8f1f.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./profile.6b56e11d.js"),["./profile.6b56e11d.js","./QuickNav.2a7c668d.js"],import.meta.url).then(e=>e.default||e)},{name:(Xe==null?void 0:Xe.name)??"promo-center___en-th",path:(Xe==null?void 0:Xe.path)??"/en-th/promo-center",meta:Xe||{},alias:(Xe==null?void 0:Xe.alias)||[],redirect:(Xe==null?void 0:Xe.redirect)||void 0,component:()=>x(()=>import("./promo-center.dac55e3a.js"),["./promo-center.dac55e3a.js","./QuickNav.2a7c668d.js","./promo-center.7e5846cd.css"],import.meta.url).then(e=>e.default||e)},{name:(Xe==null?void 0:Xe.name)??"promo-center",path:(Xe==null?void 0:Xe.path)??"/promo-center",meta:Xe||{},alias:(Xe==null?void 0:Xe.alias)||[],redirect:(Xe==null?void 0:Xe.redirect)||void 0,component:()=>x(()=>import("./promo-center.dac55e3a.js"),["./promo-center.dac55e3a.js","./QuickNav.2a7c668d.js","./promo-center.7e5846cd.css"],import.meta.url).then(e=>e.default||e)},{name:(Xe==null?void 0:Xe.name)??"promo-center___th-th",path:(Xe==null?void 0:Xe.path)??"/th-th/promo-center",meta:Xe||{},alias:(Xe==null?void 0:Xe.alias)||[],redirect:(Xe==null?void 0:Xe.redirect)||void 0,component:()=>x(()=>import("./promo-center.dac55e3a.js"),["./promo-center.dac55e3a.js","./QuickNav.2a7c668d.js","./promo-center.7e5846cd.css"],import.meta.url).then(e=>e.default||e)},{path:(et==null?void 0:et.path)??"/en-th/promotions",children:[{name:"promotions-id___en-th",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_id_.f34a6bcb.js"),["./_id_.f34a6bcb.js","./_id_.8b0c87a6.css"],import.meta.url).then(e=>e.default||e)},{name:"promotions___en-th",path:"",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.ed966ba2.js"),[],import.meta.url).then(e=>e.default||e)}],name:(et==null?void 0:et.name)??void 0,meta:et||{},alias:(et==null?void 0:et.alias)||[],redirect:(et==null?void 0:et.redirect)||void 0,component:()=>x(()=>import("./promotions.8e51bc5d.js"),["./promotions.8e51bc5d.js","./promotions.3a65f146.css"],import.meta.url).then(e=>e.default||e)},{path:(et==null?void 0:et.path)??"/promotions",children:[{name:"promotions-id",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_id_.f34a6bcb.js"),["./_id_.f34a6bcb.js","./_id_.8b0c87a6.css"],import.meta.url).then(e=>e.default||e)},{name:"promotions",path:"",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.ed966ba2.js"),[],import.meta.url).then(e=>e.default||e)}],name:(et==null?void 0:et.name)??void 0,meta:et||{},alias:(et==null?void 0:et.alias)||[],redirect:(et==null?void 0:et.redirect)||void 0,component:()=>x(()=>import("./promotions.8e51bc5d.js"),["./promotions.8e51bc5d.js","./promotions.3a65f146.css"],import.meta.url).then(e=>e.default||e)},{path:(et==null?void 0:et.path)??"/th-th/promotions",children:[{name:"promotions-id___th-th",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_id_.f34a6bcb.js"),["./_id_.f34a6bcb.js","./_id_.8b0c87a6.css"],import.meta.url).then(e=>e.default||e)},{name:"promotions___th-th",path:"",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.ed966ba2.js"),[],import.meta.url).then(e=>e.default||e)}],name:(et==null?void 0:et.name)??void 0,meta:et||{},alias:(et==null?void 0:et.alias)||[],redirect:(et==null?void 0:et.redirect)||void 0,component:()=>x(()=>import("./promotions.8e51bc5d.js"),["./promotions.8e51bc5d.js","./promotions.3a65f146.css"],import.meta.url).then(e=>e.default||e)},{name:(tt==null?void 0:tt.name)??"rakeback___en-th",path:(tt==null?void 0:tt.path)??"/en-th/rakeback",meta:tt||{},alias:(tt==null?void 0:tt.alias)||[],redirect:(tt==null?void 0:tt.redirect)||void 0,component:()=>x(()=>import("./rakeback.b60997e2.js"),["./rakeback.b60997e2.js","./QuickNav.2a7c668d.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./gifts.f269fcb6.js","./rakeback.b8771f3e.css"],import.meta.url).then(e=>e.default||e)},{name:(tt==null?void 0:tt.name)??"rakeback",path:(tt==null?void 0:tt.path)??"/rakeback",meta:tt||{},alias:(tt==null?void 0:tt.alias)||[],redirect:(tt==null?void 0:tt.redirect)||void 0,component:()=>x(()=>import("./rakeback.b60997e2.js"),["./rakeback.b60997e2.js","./QuickNav.2a7c668d.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./gifts.f269fcb6.js","./rakeback.b8771f3e.css"],import.meta.url).then(e=>e.default||e)},{name:(tt==null?void 0:tt.name)??"rakeback___th-th",path:(tt==null?void 0:tt.path)??"/th-th/rakeback",meta:tt||{},alias:(tt==null?void 0:tt.alias)||[],redirect:(tt==null?void 0:tt.redirect)||void 0,component:()=>x(()=>import("./rakeback.b60997e2.js"),["./rakeback.b60997e2.js","./QuickNav.2a7c668d.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./gifts.f269fcb6.js","./rakeback.b8771f3e.css"],import.meta.url).then(e=>e.default||e)},{name:(nt==null?void 0:nt.name)??"referral-user___en-th",path:(nt==null?void 0:nt.path)??"/en-th/referral-user",meta:nt||{},alias:(nt==null?void 0:nt.alias)||[],redirect:(nt==null?void 0:nt.redirect)||void 0,component:()=>x(()=>import("./referral-user.0c7cd2ab.js"),["./referral-user.0c7cd2ab.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./ShareButtonList.456f5c19.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./referral-user.3bc1f6f0.css"],import.meta.url).then(e=>e.default||e)},{name:(nt==null?void 0:nt.name)??"referral-user",path:(nt==null?void 0:nt.path)??"/referral-user",meta:nt||{},alias:(nt==null?void 0:nt.alias)||[],redirect:(nt==null?void 0:nt.redirect)||void 0,component:()=>x(()=>import("./referral-user.0c7cd2ab.js"),["./referral-user.0c7cd2ab.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./ShareButtonList.456f5c19.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./referral-user.3bc1f6f0.css"],import.meta.url).then(e=>e.default||e)},{name:(nt==null?void 0:nt.name)??"referral-user___th-th",path:(nt==null?void 0:nt.path)??"/th-th/referral-user",meta:nt||{},alias:(nt==null?void 0:nt.alias)||[],redirect:(nt==null?void 0:nt.redirect)||void 0,component:()=>x(()=>import("./referral-user.0c7cd2ab.js"),["./referral-user.0c7cd2ab.js","./QuickNav.2a7c668d.js","./DateFilter.ecfdc335.js","./DatePicker.f5e9e8ad.js","./DatePicker.5b0c93a6.css","./ShareButtonList.456f5c19.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./referral-user.3bc1f6f0.css"],import.meta.url).then(e=>e.default||e)},{name:(ot==null?void 0:ot.name)??"referral___en-th",path:(ot==null?void 0:ot.path)??"/en-th/referral",meta:ot||{},alias:(ot==null?void 0:ot.alias)||[],redirect:(ot==null?void 0:ot.redirect)||void 0,component:()=>x(()=>import("./referral.7a8c6550.js"),["./referral.7a8c6550.js","./QuickNav.2a7c668d.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css"],import.meta.url).then(e=>e.default||e)},{name:(ot==null?void 0:ot.name)??"referral",path:(ot==null?void 0:ot.path)??"/referral",meta:ot||{},alias:(ot==null?void 0:ot.alias)||[],redirect:(ot==null?void 0:ot.redirect)||void 0,component:()=>x(()=>import("./referral.7a8c6550.js"),["./referral.7a8c6550.js","./QuickNav.2a7c668d.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css"],import.meta.url).then(e=>e.default||e)},{name:(ot==null?void 0:ot.name)??"referral___th-th",path:(ot==null?void 0:ot.path)??"/th-th/referral",meta:ot||{},alias:(ot==null?void 0:ot.alias)||[],redirect:(ot==null?void 0:ot.redirect)||void 0,component:()=>x(()=>import("./referral.7a8c6550.js"),["./referral.7a8c6550.js","./QuickNav.2a7c668d.js","./Info.54b010b9.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./Info.b210eb74.css"],import.meta.url).then(e=>e.default||e)},{name:(rt==null?void 0:rt.name)??"register___en-th",path:(rt==null?void 0:rt.path)??"/en-th/register",meta:rt||{},alias:(rt==null?void 0:rt.alias)||[],redirect:(rt==null?void 0:rt.redirect)||void 0,component:()=>x(()=>import("./register.19929da6.js"),["./register.19929da6.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./register.f23cc433.css"],import.meta.url).then(e=>e.default||e)},{name:(rt==null?void 0:rt.name)??"register",path:(rt==null?void 0:rt.path)??"/register",meta:rt||{},alias:(rt==null?void 0:rt.alias)||[],redirect:(rt==null?void 0:rt.redirect)||void 0,component:()=>x(()=>import("./register.19929da6.js"),["./register.19929da6.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./register.f23cc433.css"],import.meta.url).then(e=>e.default||e)},{name:(rt==null?void 0:rt.name)??"register___th-th",path:(rt==null?void 0:rt.path)??"/th-th/register",meta:rt||{},alias:(rt==null?void 0:rt.alias)||[],redirect:(rt==null?void 0:rt.redirect)||void 0,component:()=>x(()=>import("./register.19929da6.js"),["./register.19929da6.js","./DateInput.69916bf4.js","./DateInput.984d19a8.css","./register.f23cc433.css"],import.meta.url).then(e=>e.default||e)},{name:(st==null?void 0:st.name)??"responsible-gaming___en-th",path:(st==null?void 0:st.path)??"/en-th/responsible-gaming",meta:st||{},alias:(st==null?void 0:st.alias)||[],redirect:(st==null?void 0:st.redirect)||void 0,component:()=>x(()=>import("./responsible-gaming.d92571b5.js"),["./responsible-gaming.d92571b5.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(st==null?void 0:st.name)??"responsible-gaming",path:(st==null?void 0:st.path)??"/responsible-gaming",meta:st||{},alias:(st==null?void 0:st.alias)||[],redirect:(st==null?void 0:st.redirect)||void 0,component:()=>x(()=>import("./responsible-gaming.d92571b5.js"),["./responsible-gaming.d92571b5.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(st==null?void 0:st.name)??"responsible-gaming___th-th",path:(st==null?void 0:st.path)??"/th-th/responsible-gaming",meta:st||{},alias:(st==null?void 0:st.alias)||[],redirect:(st==null?void 0:st.redirect)||void 0,component:()=>x(()=>import("./responsible-gaming.d92571b5.js"),["./responsible-gaming.d92571b5.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:"slot-provider___en-th",path:"/en-th/slot/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.1cbe2ef6.js"),["./_provider_.1cbe2ef6.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"slot-provider",path:"/slot/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.1cbe2ef6.js"),["./_provider_.1cbe2ef6.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"slot-provider___th-th",path:"/th-th/slot/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.1cbe2ef6.js"),["./_provider_.1cbe2ef6.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"slot___en-th",path:"/en-th/slot",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.4347d4fc.js"),["./index.4347d4fc.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"slot",path:"/slot",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.4347d4fc.js"),["./index.4347d4fc.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"slot___th-th",path:"/th-th/slot",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.4347d4fc.js"),["./index.4347d4fc.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport-provider___en-th",path:"/en-th/sport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.afb45ee4.js"),["./_provider_.afb45ee4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport-provider",path:"/sport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.afb45ee4.js"),["./_provider_.afb45ee4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport-provider___th-th",path:"/th-th/sport/:provider()",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./_provider_.afb45ee4.js"),["./_provider_.afb45ee4.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport___en-th",path:"/en-th/sport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.36baf01b.js"),["./index.36baf01b.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport",path:"/sport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.36baf01b.js"),["./index.36baf01b.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:"sport___th-th",path:"/th-th/sport",meta:{},alias:[],redirect:void 0,component:()=>x(()=>import("./index.36baf01b.js"),["./index.36baf01b.js","./GameContainer.6e95fc2a.js","./games.75e9f830.js","./GameContainer.8c7b02c3.css"],import.meta.url).then(e=>e.default||e)},{name:(it==null?void 0:it.name)??"terms-and-conditions___en-th",path:(it==null?void 0:it.path)??"/en-th/terms-and-conditions",meta:it||{},alias:(it==null?void 0:it.alias)||[],redirect:(it==null?void 0:it.redirect)||void 0,component:()=>x(()=>import("./terms-and-conditions.fa6f65dd.js"),["./terms-and-conditions.fa6f65dd.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(it==null?void 0:it.name)??"terms-and-conditions",path:(it==null?void 0:it.path)??"/terms-and-conditions",meta:it||{},alias:(it==null?void 0:it.alias)||[],redirect:(it==null?void 0:it.redirect)||void 0,component:()=>x(()=>import("./terms-and-conditions.fa6f65dd.js"),["./terms-and-conditions.fa6f65dd.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(it==null?void 0:it.name)??"terms-and-conditions___th-th",path:(it==null?void 0:it.path)??"/th-th/terms-and-conditions",meta:it||{},alias:(it==null?void 0:it.alias)||[],redirect:(it==null?void 0:it.redirect)||void 0,component:()=>x(()=>import("./terms-and-conditions.fa6f65dd.js"),["./terms-and-conditions.fa6f65dd.js","./InfoText.0539db10.js"],import.meta.url).then(e=>e.default||e)},{name:(at==null?void 0:at.name)??"vip___en-th",path:(at==null?void 0:at.path)??"/en-th/vip",meta:at||{},alias:(at==null?void 0:at.alias)||[],redirect:(at==null?void 0:at.redirect)||void 0,component:()=>x(()=>import("./vip.78a336ce.js"),["./vip.78a336ce.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./vip.a4298fd0.css"],import.meta.url).then(e=>e.default||e)},{name:(at==null?void 0:at.name)??"vip",path:(at==null?void 0:at.path)??"/vip",meta:at||{},alias:(at==null?void 0:at.alias)||[],redirect:(at==null?void 0:at.redirect)||void 0,component:()=>x(()=>import("./vip.78a336ce.js"),["./vip.78a336ce.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./vip.a4298fd0.css"],import.meta.url).then(e=>e.default||e)},{name:(at==null?void 0:at.name)??"vip___th-th",path:(at==null?void 0:at.path)??"/th-th/vip",meta:at||{},alias:(at==null?void 0:at.alias)||[],redirect:(at==null?void 0:at.redirect)||void 0,component:()=>x(()=>import("./vip.78a336ce.js"),["./vip.78a336ce.js","./CardSlider.52e817a2.js","./CardSlider.269da86b.css","./InfoText.0539db10.js","./pagination.min.32693b52.js","./pagination.224f8a5d.css","./vip.a4298fd0.css"],import.meta.url).then(e=>e.default||e)},{name:(lt==null?void 0:lt.name)??"wallet___en-th",path:(lt==null?void 0:lt.path)??"/en-th/wallet",meta:lt||{},alias:(lt==null?void 0:lt.alias)||[],redirect:(lt==null?void 0:lt.redirect)||void 0,component:()=>x(()=>import("./wallet.a173fb01.js"),["./wallet.a173fb01.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./wallet.49b5cbc6.css"],import.meta.url).then(e=>e.default||e)},{name:(lt==null?void 0:lt.name)??"wallet",path:(lt==null?void 0:lt.path)??"/wallet",meta:lt||{},alias:(lt==null?void 0:lt.alias)||[],redirect:(lt==null?void 0:lt.redirect)||void 0,component:()=>x(()=>import("./wallet.a173fb01.js"),["./wallet.a173fb01.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./wallet.49b5cbc6.css"],import.meta.url).then(e=>e.default||e)},{name:(lt==null?void 0:lt.name)??"wallet___th-th",path:(lt==null?void 0:lt.path)??"/th-th/wallet",meta:lt||{},alias:(lt==null?void 0:lt.alias)||[],redirect:(lt==null?void 0:lt.redirect)||void 0,component:()=>x(()=>import("./wallet.a173fb01.js"),["./wallet.a173fb01.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./collapse.38c67f0c.js","./collapse.6b791903.css","./wallet.49b5cbc6.css"],import.meta.url).then(e=>e.default||e)},{name:(ct==null?void 0:ct.name)??"withdrawal___en-th",path:(ct==null?void 0:ct.path)??"/en-th/withdrawal",meta:ct||{},alias:(ct==null?void 0:ct.alias)||[],redirect:(ct==null?void 0:ct.redirect)||void 0,component:()=>x(()=>import("./withdrawal.58371eea.js"),["./withdrawal.58371eea.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./collapse.38c67f0c.js","./collapse.6b791903.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./withdrawal.75392c56.css"],import.meta.url).then(e=>e.default||e)},{name:(ct==null?void 0:ct.name)??"withdrawal",path:(ct==null?void 0:ct.path)??"/withdrawal",meta:ct||{},alias:(ct==null?void 0:ct.alias)||[],redirect:(ct==null?void 0:ct.redirect)||void 0,component:()=>x(()=>import("./withdrawal.58371eea.js"),["./withdrawal.58371eea.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./collapse.38c67f0c.js","./collapse.6b791903.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./withdrawal.75392c56.css"],import.meta.url).then(e=>e.default||e)},{name:(ct==null?void 0:ct.name)??"withdrawal___th-th",path:(ct==null?void 0:ct.path)??"/th-th/withdrawal",meta:ct||{},alias:(ct==null?void 0:ct.alias)||[],redirect:(ct==null?void 0:ct.redirect)||void 0,component:()=>x(()=>import("./withdrawal.58371eea.js"),["./withdrawal.58371eea.js","./QuickNav.2a7c668d.js","./CountdownBtn.d36c6e2a.js","./RecordTable.2e19507d.js","./Pagination.6ef6ea4f.js","./Pagination.a8fc09ee.css","./RecordTable.17a68d34.css","./collapse.38c67f0c.js","./collapse.6b791903.css","./SubmitFooter.f62a8f1f.js","./FullnameCheckModal.71288e7b.js","./withdrawal.75392c56.css"],import.meta.url).then(e=>e.default||e)}],lb={scrollBehavior(e,t,n){const o=ye();let r=n||void 0;if(!r&&t&&e&&e.meta.scrollToTop!==!1&&cb(t,e)&&(r={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Uc(e.hash)}}const s=a=>!!(a.meta.pageTransition??Qi),i=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(a=>{o.hooks.hookOnce(i,async()=>{await ft(),e.hash&&(r={el:e.hash,top:Uc(e.hash)}),a(r)})})}};function Uc(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function cb(e,t){const n=t.matched.every((o,r)=>{var s,i,a;return((s=o.components)==null?void 0:s.default)===((a=(i=e.matched[r])==null?void 0:i.components)==null?void 0:a.default)});return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const ub={},Gt={...ub,...lb},db=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const o=ye(),r=Vt();if(([t,n]=Qn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ol({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=r.beforeResolve(c=>{if(a(),c===e){const u=r.afterEach(async()=>{u(),await o.runWithContext(()=>Bo(i)),window.history.pushState({},"",e.fullPath)});return!1}})},fb=(e,t)=>{let n=!1,o="";for(let r in e.public.LOCALES_DOMAIN){for(let s=0;s<e.public.LOCALES_DOMAIN[r].length;s++)if(t.indexOf(e.public.LOCALES_DOMAIN[r][s])>-1){o=r,n=!0;break}if(n)break}return o},hb=async(e,t)=>{},pb=[db,hb],Ir={auth:()=>x(()=>import("./auth.ab2fc3c5.js"),[],import.meta.url),"non-auth":()=>x(()=>import("./non-auth.d6f61975.js"),[],import.meta.url),"referral-user":()=>x(()=>import("./referral-user.eb98ffc9.js"),[],import.meta.url),referral:()=>x(()=>import("./referral.41b9d1d9.js"),[],import.meta.url)};function mb(e,t,n){const{pathname:o,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){const l=s.includes(e.slice(i))?e.slice(i).length:1;let c=s.slice(l);return c[0]!=="/"&&(c="/"+c),uc(c,"")}const a=n||uc(o,e);return a+(a.includes("?")?"":r)+s}const vb=Pt({name:"nuxt:router",enforce:"pre",async setup(e){var b,k;let t,n,o=Ct().app.baseURL;Gt.hashMode&&!o.includes("#")&&(o+="#");const r=((b=Gt.history)==null?void 0:b.call(Gt,o))??(Gt.hashMode?tg(o):Cf(o)),s=((k=Gt.routes)==null?void 0:k.call(Gt,Fc))??Fc;let i;const a=mb(o,window.location,e.payload.path),l=Bg({...Gt,scrollBehavior:(w,v,_)=>{var y;if(v===An){i=_;return}return l.options.scrollBehavior=Gt.scrollBehavior,(y=Gt.scrollBehavior)==null?void 0:y.call(Gt,w,An,i||_)},history:r,routes:s});e.vueApp.use(l);const c=Nr(l.currentRoute.value);l.afterEach((w,v)=>{c.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Nr(l.resolve(a)),d=()=>{u.value=l.currentRoute.value};e.hook("page:finish",d),l.afterEach((w,v)=>{var _,y,E,C;((y=(_=w.matched[0])==null?void 0:_.components)==null?void 0:y.default)===((C=(E=v.matched[0])==null?void 0:E.components)==null?void 0:C.default)&&d()});const p={};for(const w in u.value)p[w]=be(()=>u.value[w]);e._route=en(p),e._middleware=e._middleware||{global:[],named:{}};const g=Qs();try{[t,n]=Qn(()=>l.isReady()),await t,n()}catch(w){[t,n]=Qn(()=>e.runWithContext(()=>Bo(w))),await t,n()}const m=Vo("_layout");return l.beforeEach(async(w,v)=>{var _;w.meta=en(w.meta),e.isHydrating&&m.value&&!ko(w.meta.layout)&&(w.meta.layout=m.value),e._processingMiddleware=!0;{const y=new Set([...pb,...e._middleware.global]);for(const E of w.matched){const C=E.meta.middleware;if(C)if(Array.isArray(C))for(const T of C)y.add(T);else y.add(C)}for(const E of y){const C=typeof E=="string"?e._middleware.named[E]||await((_=Ir[E])==null?void 0:_.call(Ir).then(S=>S.default||S)):E;if(!C)throw new Error(`Unknown route middleware: '${E}'.`);const T=await e.runWithContext(()=>C(w,v));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const S=T||ta({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Bo(S)),!1}if(T||T===!1)return T}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(w,v,_)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Dv),w.matched.length===0&&await e.runWithContext(()=>Bo(ta({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=Gt.scrollBehavior}catch(w){await e.runWithContext(()=>Bo(w))}}),{provide:{router:l}}}}),gb=!1,bb=!0;/*!
  * pinia v2.1.4
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */let Nf;const Gr=e=>Nf=e,Vf=Symbol();function aa(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Pr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pr||(Pr={}));function yb(){const e=Vs(!0),t=e.run(()=>M({}));let n=[],o=[];const r=$s({install(s){Gr(r),r._a=s,s.provide(Vf,r),s.config.globalProperties.$pinia=r,o.forEach(i=>n.push(i)),o=[]},use(s){return!this._a&&!gb?o.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Bf=()=>{};function Hc(e,t,n,o=Bf){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&Hu()&&Qh(r),r}function xo(e,...t){e.slice().forEach(n=>{n(...t)})}const wb=e=>e();function la(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];aa(r)&&aa(o)&&e.hasOwnProperty(n)&&!me(o)&&!eo(o)?e[n]=la(r,o):e[n]=o}return e}const _b=Symbol();function Eb(e){return!aa(e)||!e.hasOwnProperty(_b)}const{assign:Yn}=Object;function kb(e){return!!(me(e)&&e.effect)}function Cb(e,t,n,o){const{state:r,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=r?r():{});const u=Rp(n.state.value[e]);return Yn(u,s,Object.keys(i||{}).reduce((d,p)=>(d[p]=$s(be(()=>{Gr(n);const g=n._s.get(e);return i[p].call(g,g)})),d),{}))}return l=$f(e,c,t,n,o,!0),l}function $f(e,t,n={},o,r,s){let i;const a=Yn({actions:{}},n),l={deep:!0};let c,u,d=[],p=[],g;const m=o.state.value[e];!s&&!m&&(o.state.value[e]={}),M({});let b;function k(S){let A;c=u=!1,typeof S=="function"?(S(o.state.value[e]),A={type:Pr.patchFunction,storeId:e,events:g}):(la(o.state.value[e],S),A={type:Pr.patchObject,payload:S,storeId:e,events:g});const j=b=Symbol();ft().then(()=>{b===j&&(c=!0)}),u=!0,xo(d,A,o.state.value[e])}const w=s?function(){const{state:A}=n,j=A?A():{};this.$patch(N=>{Yn(N,j)})}:Bf;function v(){i.stop(),d=[],p=[],o._s.delete(e)}function _(S,A){return function(){Gr(o);const j=Array.from(arguments),N=[],V=[];function W(ne){N.push(ne)}function Y(ne){V.push(ne)}xo(p,{args:j,name:S,store:E,after:W,onError:Y});let ce;try{ce=A.apply(this&&this.$id===e?this:E,j)}catch(ne){throw xo(V,ne),ne}return ce instanceof Promise?ce.then(ne=>(xo(N,ne),ne)).catch(ne=>(xo(V,ne),Promise.reject(ne))):(xo(N,ce),ce)}}const y={_p:o,$id:e,$onAction:Hc.bind(null,p),$patch:k,$reset:w,$subscribe(S,A={}){const j=Hc(d,S,A.detached,()=>N()),N=i.run(()=>Te(()=>o.state.value[e],V=>{(A.flush==="sync"?u:c)&&S({storeId:e,type:Pr.direct,events:g},V)},Yn({},l,A)));return j},$dispose:v},E=en(y);o._s.set(e,E);const C=o._a&&o._a.runWithContext||wb,T=o._e.run(()=>(i=Vs(),C(()=>i.run(t))));for(const S in T){const A=T[S];if(me(A)&&!kb(A)||eo(A))s||(m&&Eb(A)&&(me(A)?A.value=m[S]:la(A,m[S])),o.state.value[e][S]=A);else if(typeof A=="function"){const j=_(S,A);T[S]=j,a.actions[S]=A}}return Yn(E,T),Yn(pt(E),T),Object.defineProperty(E,"$state",{get:()=>o.state.value[e],set:S=>{k(A=>{Yn(A,S)})}}),o._p.forEach(S=>{Yn(E,i.run(()=>S({store:E,app:o._a,pinia:o,options:a})))}),m&&s&&n.hydrate&&n.hydrate(E.$state,m),c=!0,u=!0,E}function bn(e,t,n){let o,r;const s=typeof t=="function";typeof e=="string"?(o=e,r=s?n:t):(r=e,o=e.id);function i(a,l){const c=Ya();return a=a||(c?Ot(Vf,null):null),a&&Gr(a),a=Nf,a._s.has(o)||(s?$f(o,t,r,a):Cb(o,r,a)),a._s.get(o)}return i.$id=o,i}const Tb=Pt(e=>{const t=yb();return e.vueApp.use(t),Gr(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),Ab=Pt({name:"nuxt:global-components"}),Lb=Pt({name:"nuxt:head",setup(e){const n=vv();n.push(wv),e.vueApp.use(n);{let o=!0;const r=()=>{o=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!o}),e.hooks.hook("page:start",()=>{o=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),$o={account:Wn(()=>x(()=>import("./account.132c3c06.js"),["./account.132c3c06.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./VerifyEmailModal.016ccfff.js","./VerifyEmailModal.3fcb7e11.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css","./account.64df1b1d.css"],import.meta.url).then(e=>e.default||e)),default:Wn(()=>x(()=>import("./default.c1bb521c.js"),["./default.c1bb521c.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./MerchantMenuNav.4d1d7e68.js","./MerchantMenuNav.89abd338.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e)),empty:Wn(()=>x(()=>import("./empty.66325074.js"),["./empty.66325074.js","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e)),game:Wn(()=>x(()=>import("./game.e62e81f2.js"),["./game.e62e81f2.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./MerchantMenuNav.4d1d7e68.js","./MerchantMenuNav.89abd338.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e)),info:Wn(()=>x(()=>import("./info.0c3a6a04.js"),["./info.0c3a6a04.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./info.5e91c4d4.css"],import.meta.url).then(e=>e.default||e)),nofooter:Wn(()=>x(()=>import("./nofooter.4f5ff5b7.js"),["./nofooter.4f5ff5b7.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./MerchantMenuNav.4d1d7e68.js","./MerchantMenuNav.89abd338.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e)),noheader:Wn(()=>x(()=>import("./noheader.0e4d0f7f.js"),["./noheader.0e4d0f7f.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./Footer.2e879d0c.js","./Footer.99f60a2a.css","./MerchantMenuNav.4d1d7e68.js","./MerchantMenuNav.89abd338.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e)),onlyheader:Wn(()=>x(()=>import("./onlyheader.3959c4e6.js"),["./onlyheader.3959c4e6.js","./TopBar.27aaf22b.js","./games.75e9f830.js","./icon_restore.bd69b27a.js","./TopBar.13ebcc7e.css","./Toast.0880043e.js","./Toast.3cf4eb9d.css"],import.meta.url).then(e=>e.default||e))},Rb=Pt({name:"nuxt:prefetch",setup(e){const t=Vt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof $o[o]=="function"&&await $o[o]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,l,c;if(ar(n))return;const o=t.resolve(n);if(!o)return;const r=(i=o==null?void 0:o.meta)==null?void 0:i.layout;let s=Array.isArray((a=o==null?void 0:o.meta)==null?void 0:a.middleware)?(l=o==null?void 0:o.meta)==null?void 0:l.middleware:[(c=o==null?void 0:o.meta)==null?void 0:c.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof Ir[u]=="function"&&Ir[u]();r&&typeof $o[r]=="function"&&$o[r]()})}}),Sb=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,Ib=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function Pb(e){return Sb.test(e)||Ib.test(e.slice(0,4))}const Ob=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,xb=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,Mb=/Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|YandexBot|YandexImages|YandexAccessibilityBot|YandexMobileBot|YandexMetrika|YandexTurbo|YandexImageResizer|YandexVideo|YandexAdNet|YandexBlogs|YandexCalendar|YandexDirect|YandexFavicons|YaDirectFetcher|YandexForDomain|YandexMarket|YandexMedia|YandexMobileScreenShotBot|YandexNews|YandexOntoDB|YandexPagechecker|YandexPartner|YandexRCA|YandexSearchShop|YandexSitelinks|YandexSpravBot|YandexTracker|YandexVertis|YandexVerticals|YandexWebmaster|YandexScreenshotBot|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|TurnitinBot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|seznambot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest.com.bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|pingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb.iss.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|MeltwaterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot.AraTurka.com|bot-pge.chlooe.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|Seekport Crawler|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider.com|GroupHigh\/|theoldreader.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|Curebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge/;function Db(e){return Ob.test(e)||xb.test(e.slice(0,4))}function Nb(e){return/iPad|iPhone|iPod/.test(e)}function Vb(e){return/android/i.test(e)}function Bb(e){return/Windows/.test(e)}function $b(e){return/Mac OS X/.test(e)}const Fb=[{name:"Samsung",test:/SamsungBrowser/i},{name:"Edge",test:/edg([ea]|ios|)\//i},{name:"Firefox",test:/firefox|iceweasel|fxios/i},{name:"Chrome",test:/chrome|crios|crmo/i},{name:"Safari",test:/safari|applewebkit/i}];function Ub(e){for(const t of Fb)if(t.test.test(e))return t.name;return""}function Pi(e,t){let n=!1,o=!1,r=!1,s=!1;if(t==="Amazon CloudFront")e["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,o=!0),e["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,o=!0),e["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,o=!1),e["cloudfront-is-ios-viewer"]==="true"&&(r=!0),e["cloudfront-is-android-viewer"]==="true"&&(s=!0);else if(e&&e["cf-device-type"])switch(e["cf-device-type"]){case"mobile":n=!0,o=!0;break;case"tablet":n=!1,o=!0;break;case"desktop":n=!1,o=!1;break}else n=Pb(t),o=Db(t),r=Nb(t),s=Vb(t);const i=Bb(t),a=$b(t),l=Ub(t),c=l==="Safari",u=l==="Firefox",d=l==="Edge",p=l==="Chrome",g=l==="Samsung",m=Mb.test(t);return{userAgent:t,isMobile:n,isMobileOrTablet:o,isTablet:!n&&o,isDesktop:!o,isIos:r,isAndroid:s,isWindows:i,isMacOS:a,isApple:a||r,isDesktopOrTablet:!n,isSafari:c,isFirefox:u,isEdge:d,isChrome:p,isSamsung:g,isCrawler:m}}const Hb=Pt(e=>{const t=Ct(),n=t.public.device.defaultUserAgent,o=t.public.device.refreshOnResize;if(e.ssrContext){const i=Wg(),a=i["user-agent"]||n;return{provide:{device:en(Pi(i,a))}}}const r=navigator.userAgent||n,s=en(Pi({},r));return o&&window.addEventListener("resize",()=>{setTimeout(()=>{const i=Pi({},navigator.userAgent||n);Object.entries(i).forEach(a=>{const[l,c]=a;s[l]=c})},50)}),{provide:{device:s}}}),jb=Pt(()=>{});/*!
  * shared v9.3.0-beta.17
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const ca=typeof window<"u",Ro=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Wb=(e,t,n)=>qb({l:e,k:t,s:n}),qb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),xt=e=>typeof e=="number"&&isFinite(e),zb=e=>cl(e)==="[object Date]",Is=e=>cl(e)==="[object RegExp]",ni=e=>mt(e)&&Object.keys(e).length===0;function Kb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Kt=Object.assign;let jc;const al=()=>jc||(jc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wc(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Gb=Object.prototype.hasOwnProperty;function ll(e,t){return Gb.call(e,t)}const It=Array.isArray,Tt=e=>typeof e=="function",ve=e=>typeof e=="string",At=e=>typeof e=="boolean",gt=e=>e!==null&&typeof e=="object",Ff=Object.prototype.toString,cl=e=>Ff.call(e),mt=e=>cl(e)==="[object Object]",Yb=e=>e==null?"":It(e)||mt(e)&&e.toString===Ff?JSON.stringify(e,null,2):String(e);/*!
  * message-compiler v9.3.0-beta.17
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const Uf={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Hf(e,t,n={}){const{domain:o,messages:r,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=o,a}/*!
  * devtools-if v9.3.0-beta.17
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const jf={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
  * core-base v9.3.0-beta.17
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const ao=[];ao[0]={w:[0],i:[3,0],["["]:[4],o:[7]};ao[1]={w:[1],["."]:[2],["["]:[4],o:[7]};ao[2]={w:[2],i:[3,0],[0]:[3,0]};ao[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};ao[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};ao[5]={["'"]:[4,0],o:8,l:[5,0]};ao[6]={['"']:[4,0],o:8,l:[6,0]};const Zb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Jb(e){return Zb.test(e)}function Qb(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Xb(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ey(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Jb(t)?Qb(t):"*"+t}function ty(e){const t=[];let n=-1,o=0,r=0,s,i,a,l,c,u,d;const p=[];p[0]=()=>{i===void 0?i=a:i+=a},p[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},p[2]=()=>{p[0](),r++},p[3]=()=>{if(r>0)r--,o=4,p[0]();else{if(r=0,i===void 0||(i=ey(i),i===!1))return!1;p[1]()}};function g(){const m=e[n+1];if(o===5&&m==="'"||o===6&&m==='"')return n++,a="\\"+m,p[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(l=Xb(s),d=ao[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=p[c[1]],u&&(a=s,u()===!1))))return;if(o===7)return t}}const qc=new Map;function ny(e,t){return gt(e)?e[t]:null}function oy(e,t){if(!gt(e))return null;let n=qc.get(t);if(n||(n=ty(t),n&&qc.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;s<o;){const i=r[n[s]];if(i===void 0)return null;r=i,s++}return r}const ry=e=>e,sy=e=>"",iy="text",ay=e=>e.length===0?"":e.join(""),ly=Yb;function zc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function cy(e){const t=xt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(xt(e.named.count)||xt(e.named.n))?xt(e.named.count)?e.named.count:xt(e.named.n)?e.named.n:t:t}function uy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function dy(e={}){const t=e.locale,n=cy(e),o=gt(e.pluralRules)&&ve(t)&&Tt(e.pluralRules[t])?e.pluralRules[t]:zc,r=gt(e.pluralRules)&&ve(t)&&Tt(e.pluralRules[t])?zc:void 0,s=w=>w[o(n,w.length,r)],i=e.list||[],a=w=>i[w],l=e.named||{};xt(e.pluralIndex)&&uy(n,l);const c=w=>l[w];function u(w){const v=Tt(e.messages)?e.messages(w):gt(e.messages)?e.messages[w]:!1;return v||(e.parent?e.parent.message(w):sy)}const d=w=>e.modifiers?e.modifiers[w]:ry,p=mt(e.processor)&&Tt(e.processor.normalize)?e.processor.normalize:ay,g=mt(e.processor)&&Tt(e.processor.interpolate)?e.processor.interpolate:ly,m=mt(e.processor)&&ve(e.processor.type)?e.processor.type:iy,k={list:a,named:c,plural:s,linked:(w,...v)=>{const[_,y]=v;let E="text",C="";v.length===1?gt(_)?(C=_.modifier||C,E=_.type||E):ve(_)&&(C=_||C):v.length===2&&(ve(_)&&(C=_||C),ve(y)&&(E=y||E));let T=u(w)(k);return E==="vnode"&&It(T)&&C&&(T=T[0]),C?d(C)(T,E):T},message:u,type:m,interpolate:g,normalize:p};return k}let jr=null;function fy(e){jr=e}function hy(e,t,n){jr&&jr.emit(jf.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const py=my(jf.FunctionTranslate);function my(e){return t=>jr&&jr.emit(e,t)}function vy(e,t,n){return[...new Set([n,...It(t)?t:gt(t)?Object.keys(t):ve(t)?[t]:[n]])]}function Wf(e,t,n){const o=ve(n)?n:ul,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(o);if(!s){s=[];let i=[n];for(;It(i);)i=Kc(s,i,t);const a=It(t)||!mt(t)?t:t.default?t.default:null;i=ve(a)?[a]:a,It(i)&&Kc(s,i,!1),r.__localeChainCache.set(o,s)}return s}function Kc(e,t,n){let o=!0;for(let r=0;r<t.length&&At(o);r++){const s=t[r];ve(s)&&(o=gy(e,t[r],n))}return o}function gy(e,t,n){let o;const r=t.split("-");do{const s=r.join("-");o=by(e,s,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function by(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(It(n)||mt(n))&&n[r]&&(o=n[r])}return o}const yy="9.3.0-beta.17",oi=-1,ul="en-US",Gc="",Yc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wy(){return{upper:(e,t)=>t==="text"&&ve(e)?e.toUpperCase():t==="vnode"&&gt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ve(e)?e.toLowerCase():t==="vnode"&&gt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ve(e)?Yc(e):t==="vnode"&&gt(e)&&"__v_isVNode"in e?Yc(e.children):e}}let _y,qf;function Ey(e){qf=e}let zf;function ky(e){zf=e}let Kf=null;const Zc=e=>{Kf=e},Cy=()=>Kf;let Gf=null;const Jc=e=>{Gf=e},Ty=()=>Gf;let Qc=0;function Ay(e={}){const t=ve(e.version)?e.version:yy,n=ve(e.locale)?e.locale:ul,o=It(e.fallbackLocale)||mt(e.fallbackLocale)||ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=mt(e.messages)?e.messages:{[n]:{}},s=mt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=mt(e.numberFormats)?e.numberFormats:{[n]:{}},a=Kt({},e.modifiers||{},wy()),l=e.pluralRules||{},c=Tt(e.missing)?e.missing:null,u=At(e.missingWarn)||Is(e.missingWarn)?e.missingWarn:!0,d=At(e.fallbackWarn)||Is(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,m=Tt(e.postTranslation)?e.postTranslation:null,b=mt(e.processor)?e.processor:null,k=At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,v=Tt(e.messageCompiler)?e.messageCompiler:_y,_=Tt(e.messageResolver)?e.messageResolver:qf||ny,y=Tt(e.localeFallbacker)?e.localeFallbacker:zf||vy,E=gt(e.fallbackContext)?e.fallbackContext:void 0,C=Tt(e.onWarn)?e.onWarn:Kb,T=e,S=gt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,A=gt(T.__numberFormatters)?T.__numberFormatters:new Map,j=gt(T.__meta)?T.__meta:{};Qc++;const N={version:t,cid:Qc,locale:n,fallbackLocale:o,messages:r,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:d,fallbackFormat:p,unresolving:g,postTranslation:m,processor:b,warnHtmlMessage:k,escapeParameter:w,messageCompiler:v,messageResolver:_,localeFallbacker:y,fallbackContext:E,onWarn:C,__meta:j};return N.datetimeFormats=s,N.numberFormats=i,N.__datetimeFormatters=S,N.__numberFormatters=A,__INTLIFY_PROD_DEVTOOLS__&&hy(N,t,j),N}function dl(e,t,n,o,r){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,r);return ve(a)?a:t}else return t}function gr(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let Yf=Uf.__EXTEND_POINT__;const Oi=()=>++Yf,Fo={INVALID_ARGUMENT:Yf,INVALID_DATE_ARGUMENT:Oi(),INVALID_ISO_DATE_ARGUMENT:Oi(),__EXTEND_POINT__:Oi()};function Uo(e){return Hf(e,null,void 0)}const Xc=()=>"",Rn=e=>Tt(e);function eu(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=ua(...t),u=At(c.missingWarn)?c.missingWarn:e.missingWarn,d=At(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=At(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,m=ve(c.default)||At(c.default)?At(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",b=n||m!=="",k=ve(c.locale)?c.locale:e.locale;p&&Ly(c);let[w,v,_]=g?[l,k,a[k]||{}]:Zf(e,l,k,i,d,u),y=w,E=l;if(!g&&!(ve(y)||Rn(y))&&b&&(y=m,E=y),!g&&(!(ve(y)||Rn(y))||!ve(v)))return r?oi:l;let C=!1;const T=()=>{C=!0},S=Rn(y)?y:Jf(e,l,v,y,E,T);if(C)return y;const A=Iy(e,v,_,c),j=dy(A),N=Ry(e,S,j),V=o?o(N,l):N;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:ve(l)?l:Rn(y)?y.key:"",locale:v||(Rn(y)?y.locale:""),format:ve(y)?y:Rn(y)?y.source:"",message:V};W.meta=Kt({},e.__meta,Cy()||{}),py(W)}return V}function Ly(e){It(e.list)?e.list=e.list.map(t=>ve(t)?Wc(t):t):gt(e.named)&&Object.keys(e.named).forEach(t=>{ve(e.named[t])&&(e.named[t]=Wc(e.named[t]))})}function Zf(e,t,n,o,r,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},p,g=null;const m="translate";for(let b=0;b<u.length&&(p=u[b],d=i[p]||{},(g=l(d,t))===null&&(g=d[t]),!(ve(g)||Tt(g)));b++){const k=dl(e,t,p,s,m);k!==t&&(g=k)}return[g,p,d]}function Jf(e,t,n,o,r,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Rn(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>o;return c.locale=n,c.key=t,c}const l=i(o,Sy(e,n,r,o,a,s));return l.locale=n,l.key=t,l.source=o,l}function Ry(e,t,n){return t(n)}function ua(...e){const[t,n,o]=e,r={};if(!ve(t)&&!xt(t)&&!Rn(t))throw Uo(Fo.INVALID_ARGUMENT);const s=xt(t)?String(t):(Rn(t),t);return xt(n)?r.plural=n:ve(n)?r.default=n:mt(n)&&!ni(n)?r.named=n:It(n)&&(r.list=n),xt(o)?r.plural=o:ve(o)?r.default=o:mt(o)&&Kt(r,o),[s,r]}function Sy(e,t,n,o,r,s){return{warnHtmlMessage:r,onError:i=>{throw s&&s(i),i},onCacheKey:i=>Wb(t,n,i)}}function Iy(e,t,n,o){const{modifiers:r,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,p={locale:t,modifiers:r,pluralRules:s,messages:g=>{let m=i(n,g);if(m==null&&u){const[,,b]=Zf(u,g,t,a,l,c);m=i(b,g)}if(ve(m)){let b=!1;const w=Jf(e,g,t,m,g,()=>{b=!0});return b?Xc:w}else return Rn(m)?m:Xc}};return e.processor&&(p.processor=e.processor),o.list&&(p.list=o.list),o.named&&(p.named=o.named),xt(o.plural)&&(p.pluralIndex=o.plural),p}function tu(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,u,d]=da(...t),p=At(u.missingWarn)?u.missingWarn:e.missingWarn;At(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,m=ve(u.locale)?u.locale:e.locale,b=i(e,r,m);if(!ve(l)||l==="")return new Intl.DateTimeFormat(m,d).format(c);let k={},w,v=null;const _="datetime format";for(let C=0;C<b.length&&(w=b[C],k=n[w]||{},v=k[l],!mt(v));C++)dl(e,l,w,p,_);if(!mt(v)||!ve(w))return o?oi:l;let y=`${w}__${l}`;ni(d)||(y=`${y}__${JSON.stringify(d)}`);let E=a.get(y);return E||(E=new Intl.DateTimeFormat(w,Kt({},v,d)),a.set(y,E)),g?E.formatToParts(c):E.format(c)}const Qf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function da(...e){const[t,n,o,r]=e,s={};let i={},a;if(ve(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Uo(Fo.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Uo(Fo.INVALID_ISO_DATE_ARGUMENT)}}else if(zb(t)){if(isNaN(t.getTime()))throw Uo(Fo.INVALID_DATE_ARGUMENT);a=t}else if(xt(t))a=t;else throw Uo(Fo.INVALID_ARGUMENT);return ve(n)?s.key=n:mt(n)&&Object.keys(n).forEach(l=>{Qf.includes(l)?i[l]=n[l]:s[l]=n[l]}),ve(o)?s.locale=o:mt(o)&&(i=o),mt(r)&&(i=r),[s.key||"",a,s,i]}function nu(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function ou(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,u,d]=fa(...t),p=At(u.missingWarn)?u.missingWarn:e.missingWarn;At(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,m=ve(u.locale)?u.locale:e.locale,b=i(e,r,m);if(!ve(l)||l==="")return new Intl.NumberFormat(m,d).format(c);let k={},w,v=null;const _="number format";for(let C=0;C<b.length&&(w=b[C],k=n[w]||{},v=k[l],!mt(v));C++)dl(e,l,w,p,_);if(!mt(v)||!ve(w))return o?oi:l;let y=`${w}__${l}`;ni(d)||(y=`${y}__${JSON.stringify(d)}`);let E=a.get(y);return E||(E=new Intl.NumberFormat(w,Kt({},v,d)),a.set(y,E)),g?E.formatToParts(c):E.format(c)}const Xf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function fa(...e){const[t,n,o,r]=e,s={};let i={};if(!xt(t))throw Uo(Fo.INVALID_ARGUMENT);const a=t;return ve(n)?s.key=n:mt(n)&&Object.keys(n).forEach(l=>{Xf.includes(l)?i[l]=n[l]:s[l]=n[l]}),ve(o)?s.locale=o:mt(o)&&(i=o),mt(r)&&(i=r),[s.key||"",a,s,i]}function ru(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(al().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
  * vue-i18n v9.3.0-beta.17
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const Py="9.3.0-beta.17";function Oy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(al().__INTLIFY_PROD_DEVTOOLS__=!1)}let eh=Uf.__EXTEND_POINT__;const Yt=()=>++eh,ln={UNEXPECTED_RETURN_TYPE:eh,INVALID_ARGUMENT:Yt(),MUST_BE_CALL_SETUP_TOP:Yt(),NOT_INSLALLED:Yt(),NOT_AVAILABLE_IN_LEGACY_MODE:Yt(),REQUIRED_VALUE:Yt(),INVALID_VALUE:Yt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Yt(),NOT_INSLALLED_WITH_PROVIDE:Yt(),UNEXPECTED_ERROR:Yt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Yt(),BRIDGE_SUPPORT_VUE_2_ONLY:Yt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Yt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Yt(),__EXTEND_POINT__:Yt()};function vn(e,...t){return Hf(e,null,void 0)}const ha=Ro("__translateVNode"),pa=Ro("__datetimeParts"),ma=Ro("__numberParts"),xy=Ro("__setPluralRules"),My=Ro("__injectWithOption");function va(e){if(!gt(e))return e;for(const t in e)if(ll(e,t))if(!t.includes("."))gt(e[t])&&va(e[t]);else{const n=t.split("."),o=n.length-1;let r=e;for(let s=0;s<o;s++)n[s]in r||(r[n[s]]={}),r=r[n[s]];r[n[o]]=e[t],delete e[t],gt(r[n[o]])&&va(r[n[o]])}return e}function th(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:s}=t,i=mt(n)?n:It(o)?{}:{[e]:{}};if(It(o)&&o.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||{},Or(c,i[l])):Or(c,i)}else ve(a)&&Or(JSON.parse(a),i)}),r==null&&s)for(const a in i)ll(i,a)&&va(i[a]);return i}const fs=e=>!gt(e)||It(e);function Or(e,t){if(fs(e)||fs(t))throw vn(ln.INVALID_VALUE);for(const n in e)ll(e,n)&&(fs(e[n])||fs(t[n])?t[n]=e[n]:Or(e[n],t[n]))}function nh(e){return e.type}function Dy(e,t,n){let o=gt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=th(globalThis.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(gt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(gt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function su(e){return ee(Co,null,e,0)}const iu="__INTLIFY_META__";let au=0;function lu(e){return(t,n,o,r)=>e(n,o,Pn()||void 0,r)}const Ny=()=>{const e=Pn();let t=null;return e&&(t=nh(e)[iu])?{[iu]:t}:null};function oh(e={},t){const{__root:n}=e,o=n===void 0;let r=At(e.inheritLocale)?e.inheritLocale:!0;const s=M(n&&r?n.locale.value:ve(e.locale)?e.locale:ul),i=M(n&&r?n.fallbackLocale.value:ve(e.fallbackLocale)||It(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),a=M(th(s.value,e)),l=M(mt(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=M(mt(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:At(e.missingWarn)||Is(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:At(e.fallbackWarn)||Is(e.fallbackWarn)?e.fallbackWarn:!0,p=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,m=Tt(e.missing)?e.missing:null,b=Tt(e.missing)?lu(e.missing):null,k=Tt(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const _=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let y=e.pluralRules||n&&n.pluralRules,E;E=(()=>{o&&Jc(null);const R={version:Py,locale:s.value,fallbackLocale:i.value,messages:a.value,modifiers:_,pluralRules:y,missing:b===null?void 0:b,missingWarn:u,fallbackWarn:d,fallbackFormat:g,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:w,escapeParameter:v,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=l.value,R.numberFormats=c.value,R.__datetimeFormatters=mt(E)?E.__datetimeFormatters:void 0,R.__numberFormatters=mt(E)?E.__numberFormatters:void 0;const P=Ay(R);return o&&Jc(P),P})(),gr(E,s.value,i.value);function T(){return[s.value,i.value,a.value,l.value,c.value]}const S=be({get:()=>s.value,set:R=>{s.value=R,E.locale=s.value}}),A=be({get:()=>i.value,set:R=>{i.value=R,E.fallbackLocale=i.value,gr(E,s.value,R)}}),j=be(()=>a.value),N=be(()=>l.value),V=be(()=>c.value);function W(){return Tt(k)?k:null}function Y(R){k=R,E.postTranslation=R}function ce(){return m}function ne(R){R!==null&&(b=lu(R)),m=R,E.missing=b}const pe=(R,P,J,X,le,de)=>{T();let _e;if(__INTLIFY_PROD_DEVTOOLS__)try{Zc(Ny()),o||(E.fallbackContext=n?Ty():void 0),_e=R(E)}finally{Zc(null),o||(E.fallbackContext=void 0)}else _e=R(E);if(xt(_e)&&_e===oi){const[he,Ut]=P();return n&&p?X(n):le(he)}else{if(de(_e))return _e;throw vn(ln.UNEXPECTED_RETURN_TYPE)}};function se(...R){return pe(P=>Reflect.apply(eu,null,[P,...R]),()=>ua(...R),"translate",P=>Reflect.apply(P.t,P,[...R]),P=>P,P=>ve(P))}function Le(...R){const[P,J,X]=R;if(X&&!gt(X))throw vn(ln.INVALID_ARGUMENT);return se(P,J,Kt({resolvedMessage:!0},X||{}))}function ae(...R){return pe(P=>Reflect.apply(tu,null,[P,...R]),()=>da(...R),"datetime format",P=>Reflect.apply(P.d,P,[...R]),()=>Gc,P=>ve(P))}function dt(...R){return pe(P=>Reflect.apply(ou,null,[P,...R]),()=>fa(...R),"number format",P=>Reflect.apply(P.n,P,[...R]),()=>Gc,P=>ve(P))}function Q(R){return R.map(P=>ve(P)||xt(P)||At(P)?su(String(P)):P)}const ue={normalize:Q,interpolate:R=>R,type:"vnode"};function ut(...R){return pe(P=>{let J;const X=P;try{X.processor=ue,J=Reflect.apply(eu,null,[X,...R])}finally{X.processor=null}return J},()=>ua(...R),"translate",P=>P[ha](...R),P=>[su(P)],P=>It(P))}function Ee(...R){return pe(P=>Reflect.apply(ou,null,[P,...R]),()=>fa(...R),"number format",P=>P[ma](...R),()=>[],P=>ve(P)||It(P))}function z(...R){return pe(P=>Reflect.apply(tu,null,[P,...R]),()=>da(...R),"datetime format",P=>P[pa](...R),()=>[],P=>ve(P)||It(P))}function oe(R){y=R,E.pluralRules=y}function te(R,P){const J=ve(P)?P:s.value,X=L(J);return E.messageResolver(X,R)!==null}function fe(R){let P=null;const J=Wf(E,i.value,s.value);for(let X=0;X<J.length;X++){const le=a.value[J[X]]||{},de=E.messageResolver(le,R);if(de!=null){P=de;break}}return P}function ge(R){const P=fe(R);return P??(n?n.tm(R)||{}:{})}function L(R){return a.value[R]||{}}function I(R,P){a.value[R]=P,E.messages=a.value}function B(R,P){a.value[R]=a.value[R]||{},Or(P,a.value[R]),E.messages=a.value}function K(R){return l.value[R]||{}}function G(R,P){l.value[R]=P,E.datetimeFormats=l.value,nu(E,R,P)}function F(R,P){l.value[R]=Kt(l.value[R]||{},P),E.datetimeFormats=l.value,nu(E,R,P)}function Z(R){return c.value[R]||{}}function U(R,P){c.value[R]=P,E.numberFormats=c.value,ru(E,R,P)}function q(R,P){c.value[R]=Kt(c.value[R]||{},P),E.numberFormats=c.value,ru(E,R,P)}au++,n&&ca&&(Te(n.locale,R=>{r&&(s.value=R,E.locale=R,gr(E,s.value,i.value))}),Te(n.fallbackLocale,R=>{r&&(i.value=R,E.fallbackLocale=R,gr(E,s.value,i.value))}));const D={id:au,locale:S,fallbackLocale:A,get inheritLocale(){return r},set inheritLocale(R){r=R,R&&n&&(s.value=n.locale.value,i.value=n.fallbackLocale.value,gr(E,s.value,i.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:j,get modifiers(){return _},get pluralRules(){return y||{}},get isGlobal(){return o},get missingWarn(){return u},set missingWarn(R){u=R,E.missingWarn=u},get fallbackWarn(){return d},set fallbackWarn(R){d=R,E.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(R){p=R},get fallbackFormat(){return g},set fallbackFormat(R){g=R,E.fallbackFormat=g},get warnHtmlMessage(){return w},set warnHtmlMessage(R){w=R,E.warnHtmlMessage=R},get escapeParameter(){return v},set escapeParameter(R){v=R,E.escapeParameter=R},t:se,getLocaleMessage:L,setLocaleMessage:I,mergeLocaleMessage:B,getPostTranslationHandler:W,setPostTranslationHandler:Y,getMissingHandler:ce,setMissingHandler:ne,[xy]:oe};return D.datetimeFormats=N,D.numberFormats=V,D.rt=Le,D.te=te,D.tm=ge,D.d=ae,D.n=dt,D.getDateTimeFormat=K,D.setDateTimeFormat=G,D.mergeDateTimeFormat=F,D.getNumberFormat=Z,D.setNumberFormat=U,D.mergeNumberFormat=q,D[My]=e.__injectWithOption,D[ha]=ut,D[pa]=z,D[ma]=Ee,D}const fl={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Vy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===Se?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function rh(e){return Se}const By=gn({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>xt(e)||!isNaN(e)}},fl),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Ft({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ve(e.plural)?+e.plural:e.plural);const a=Vy(t,s),l=r[ha](e.keypath,a,i),c=Kt({},o),u=ve(e.tag)||gt(e.tag)?e.tag:rh();return qt(u,c,l)}}}),cu=By;function $y(e){return It(e)&&!ve(e[0])}function sh(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ve(e.format)?i.key=e.format:gt(e.format)&&(ve(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((p,g)=>n.includes(g)?Kt({},p,{[g]:e.format[g]}):p,{}));const l=o(e.value,i,a);let c=[i.key];It(l)?c=l.map((p,g)=>{const m=r[p.type],b=m?m({[p.type]:p.value,index:g,parts:l}):[p.value];return $y(b)&&(b[0].key=`${p.type}-${g}`),b}):ve(l)&&(c=[l]);const u=Kt({},s),d=ve(e.tag)||gt(e.tag)?e.tag:rh();return qt(d,u,c)}}const Fy=gn({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},fl),setup(e,t){const n=e.i18n||Ft({useScope:"parent",__useComponent:!0});return sh(e,t,Xf,(...o)=>n[ma](...o))}}),uu=Fy,Uy=gn({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fl),setup(e,t){const n=e.i18n||Ft({useScope:"parent",__useComponent:!0});return sh(e,t,Qf,(...o)=>n[pa](...o))}}),du=Uy;function Hy(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function jy(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw vn(ln.UNEXPECTED_ERROR);const u=Hy(e,a.$),d=fu(c);return[Reflect.apply(u.t,u,[...hu(d)]),u]};return{created:(i,a)=>{const[l,c]=t(a);ca&&e.global===c&&(i.__i18nWatcher=Te(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{ca&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=fu(a);i.textContent=Reflect.apply(l.t,l,[...hu(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function fu(e){if(ve(e))return{path:e};if(mt(e)){if(!("path"in e))throw vn(ln.REQUIRED_VALUE,"path");return e}else throw vn(ln.INVALID_VALUE)}function hu(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,i={},a=o||{};return ve(n)&&(i.locale=n),xt(r)&&(i.plural=r),xt(s)&&(i.plural=s),[t,a,i]}function Wy(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(At(o.globalInstall)?o.globalInstall:!0)&&(e.component(r?"i18n":cu.name,cu),e.component(uu.name,uu),e.component(du.name,du)),e.directive("t",jy(t))}const qy=Ro("global-vue-i18n");function zy(e={},t){const n=At(e.globalInjection)?e.globalInjection:!0,o=!0,r=new Map,[s,i]=Ky(e),a=Ro("");function l(d){return r.get(d)||null}function c(d,p){r.set(d,p)}function u(d){r.delete(d)}{const d={get mode(){return"composition"},get allowComposition(){return o},async install(p,...g){if(p.__VUE_I18N_SYMBOL__=a,p.provide(p.__VUE_I18N_SYMBOL__,d),mt(g[0])){const b=g[0];d.__composerExtend=b.__composerExtend,d.__vueI18nExtend=b.__vueI18nExtend}n&&tw(p,d.global),Wy(p,d,...g);const m=p.unmount;p.unmount=()=>{d.dispose(),m()}},get global(){return i},dispose(){s.stop()},__instances:r,__getInstance:l,__setInstance:c,__deleteInstance:u};return d}}function Ft(e={}){const t=Pn();if(t==null)throw vn(ln.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw vn(ln.NOT_INSLALLED);const n=Gy(t),o=Zy(n),r=nh(t),s=Yy(e,r);if(s==="global")return Dy(o,e,r),o;if(s==="parent"){let l=Jy(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Kt({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),a=oh(l),i.__composerExtend&&i.__composerExtend(a),Qy(i,t),i.__setInstance(t,a)}return a}function Ky(e,t,n){const o=Vs();{const r=o.run(()=>oh(e));if(r==null)throw vn(ln.UNEXPECTED_ERROR);return[o,r]}}function Gy(e){{const t=Ot(e.isCE?qy:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw vn(e.isCE?ln.NOT_INSLALLED_WITH_PROVIDE:ln.UNEXPECTED_ERROR);return t}}function Yy(e,t){return ni(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Zy(e){return e.mode==="composition"?e.global:e.global.__composer}function Jy(e,t,n=!1){let o=null;const r=t.root;let s=t.parent;for(;s!=null;){const i=e;if(e.mode==="composition"&&(o=i.__getInstance(s)),o!=null||r===s)break;s=s.parent}return o}function Qy(e,t,n){ht(()=>{},t),qs(()=>{e.__deleteInstance(t)},t)}const Xy=["locale","fallbackLocale","availableLocales"],ew=["t","rt","d","n","tm","te"];function tw(e,t){const n=Object.create(null);Xy.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw vn(ln.UNEXPECTED_ERROR);const s=me(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,ew.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw vn(ln.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)})}Ey(oy);ky(Wf);Oy();if(__INTLIFY_PROD_DEVTOOLS__){const e=al();e.__INTLIFY__=!0,fy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ih={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},nw="",ow=ih.PREFIX_EXCEPT_DEFAULT,rw=!1,sw="___",iw="default",aw="ltr",lw="",ah="";/*!
  * shared v9.3.0-beta.16
  * (c) 2023 kazuya kawaguchi
  * Released under the MIT License.
  */const cw=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ri=Object.assign,lh=Array.isArray,ga=e=>typeof e=="function",tr=e=>typeof e=="string",uw=e=>typeof e=="symbol",hl=e=>e!==null&&typeof e=="object",dw=/\/$|\/\?/;function ba(e="",t=!1){return t?dw.test(e):e.endsWith("/")}function fw(e="",t=!1){if(!t)return(ba(e)?e.slice(0,-1):e)||"/";if(!ba(e,!0))return e||"/";const[n,...o]=e.split("?");return(n.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function hw(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ba(e,!0))return e||"/";const[n,...o]=e.split("?");return n+"/"+(o.length>0?`?${o.join("?")}`:"")}const pw=typeof window<"u";function ch(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function mw(e){e=e||[];const t=[];for(const n of e)tr(n)?t.push({code:n}):t.push(n);return t}function So(e){return e!=null&&"global"in e&&"mode"in e}function lr(e){return e!=null&&!("__composer"in e)&&me(e.locale)}function ro(e){return e!=null&&"__composer"in e}function Yr(e){return e!=null&&!("__composer"in e)&&!me(e.locale)}function si(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function so(e){return So(e)?lr(e.global)?e.global:e.global.__composer:ro(e)?e.__composer:e}function ii(e){const t=So(e)?e.global:e;return lr(t)?t.locale.value:(Yr(t)||ro(t)||si(t),t.locale)}function vw(e){const t=So(e)?e.global:e;return lr(t)?t.locales.value:(Yr(t)||ro(t)||si(t),t.locales)}function gw(e){const t=So(e)?e.global:e;return lr(t)?t.localeCodes.value:(Yr(t)||ro(t)||si(t),t.localeCodes)}function uh(e,t){const n=So(e)?e.global:e;if(lr(n))n.locale.value=t;else if(Yr(n)||ro(n)||si(n))n.locale=t;else throw new Error("TODO:")}function dh(e){return tr(e)?e:uw(e)?e.toString():"(null)"}function pu(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:r,defaultLocaleRouteNameSuffix:s}){let i=dh(e)+(o==="no_prefix"?"":r+t);return t===n&&o==="prefix_and_default"&&(i+=r+s),i}function mu(e,t){return ga(e)?e(t):e}function bw(e,t){const n=[];for(const[o,r]of t.entries()){const s=e.find(i=>i.iso.toLowerCase()===r.toLowerCase());if(s){n.push({code:s.code,score:1-o/t.length});break}}for(const[o,r]of t.entries()){const s=r.split("-")[0].toLowerCase(),i=e.find(a=>a.iso.split("-")[0].toLowerCase()===s);if(i){n.push({code:i.code,score:.999-o/t.length});break}}return n}const yw=bw;function ww(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const _w=ww;function Ew(e,t,{matcher:n=yw,comparer:o=_w}={}){const r=[];for(const i of e){const{code:a}=i,l=i.iso||a;r.push({code:a,iso:l})}const s=n(r,t);return s.length>1&&s.sort(o),s.length?s[0].code:""}function po(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function kw(e,{locales:t=[],localeCodes:n=[],baseUrl:o=lw,hooks:r={},context:s={}}={}){const i=Vs(),a=e.install;return e.install=(l,...c)=>{const u=Aw(c[0])?ri({},c[0]):{inject:!0};u.inject==null&&(u.inject=!0);const d=u.__composerExtend;if(u.__composerExtend=b=>{const k=so(e);b.locales=be(()=>k.locales.value),b.localeCodes=be(()=>k.localeCodes.value),b.baseUrl=be(()=>k.baseUrl.value),ga(d)&&Reflect.apply(d,u,[b])},ro(e.global)){const b=u.__vueI18nExtend;u.__vueI18nExtend=k=>{vu(k,r.onExtendVueI18n),ga(b)&&Reflect.apply(b,u,[k])}}c[0]=u,Reflect.apply(a,e,[l,...c]);const p=so(e);i.run(()=>Cw(p,{locales:t,localeCodes:n,baseUrl:o,hooks:r,context:s})),ro(e.global)&&vu(e.global,r.onExtendVueI18n);const g=l,m=e.mode==="composition"?g.config.globalProperties.$i18n:null;if(m&&Tw(m,p,r.onExtendExportedGlobal),u.inject&&l.mixin({methods:{resolveRoute:po(li),localePath:po(ai),localeRoute:po(pl),localeLocation:po(Mw),switchLocalePath:po(Wr),getRouteBaseName:po(To),localeHead:po(ph)}}),g.unmount){const b=g.unmount;g.unmount=()=>{i.stop(),b()}}},i}function Cw(e,t){const{locales:n,localeCodes:o,baseUrl:r,context:s}=t,i=M(n),a=M(o),l=M("");e.locales=be(()=>i.value),e.localeCodes=be(()=>a.value),e.baseUrl=be(()=>l.value),pw?Te(e.locale,()=>{l.value=mu(r,s)},{immediate:!0}):l.value=mu(r,s),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Tw(e,t,n){const o=[{locales:{get(){return t.locales.value}},localeCodes:{get(){return t.localeCodes.value}},baseUrl:{get(){return t.baseUrl.value}}}];n&&o.push(n(t));for(const r of o)for(const[s,i]of Object.entries(r))Object.defineProperty(e,s,i)}function vu(e,t){const n=so(e),o=[{locales:{get(){return n.locales.value}},localeCodes:{get(){return n.localeCodes.value}},baseUrl:{get(){return n.baseUrl.value}}}];t&&o.push(t(n));for(const r of o)for(const[s,i]of Object.entries(r))Object.defineProperty(e,s,i)}function Aw(e){return hl(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const ya=cw("vue-i18n-routing-gor");function Lw(e,t){e[ya]?ch("already registered global options"):e[ya]=t}function Rw(e){var t;return(t=e[ya])!=null?t:{}}function wa(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Sw(e,t,n){const o=`(${e.join("|")})`,r=`(?:${t}${n})?`,s=new RegExp(`${t}${o}${r}$`,"i"),i=wa(e);return l=>{if(hl(l)){if(l.name){const u=(tr(l.name)?l.name:l.name.toString()).match(s);if(u&&u.length>1)return u[1]}else if(l.path){const c=l.path.match(i);if(c&&c.length>1)return c[1]}}else if(tr(l)){const c=l.match(i);if(c&&c.length>1)return c[1]}return""}}function Zr(e,t,{defaultLocale:n=nw,defaultDirection:o=aw,defaultLocaleRouteNameSuffix:r=iw,routesNameSeparator:s=sw,strategy:i=ow,trailingSlash:a=rw,localeCodes:l=[],prefixable:c=fh,switchLocalePathIntercepter:u=hh,dynamicRouteParamsKey:d=ah}={}){const p=Rw(e);return{defaultLocale:t.defaultLocale||p.defaultLocale||n,defaultDirection:t.defaultDirection||p.defaultDirection||o,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||p.defaultLocaleRouteNameSuffix||r,routesNameSeparator:t.routesNameSeparator||p.routesNameSeparator||s,strategy:t.strategy||p.strategy||i,trailingSlash:t.trailingSlash||p.trailingSlash||a,localeCodes:t.localeCodes||p.localeCodes||l,prefixable:t.prefixable||p.prefixable||c,switchLocalePathIntercepter:t.switchLocalePathIntercepter||p.switchLocalePathIntercepter||u,dynamicRouteParamsKey:t.dynamicRouteParamsKey||p.dynamicRouteParamsKey||d}}function Iw(e,t){return[e.slice(0,t),e.slice(t)]}function Pw(e,t,n,o){if(n==="prefix"){if(lh(t.matched)&&t.matched.length>0)return t.matched[0];const[r,s]=Iw(t.path,1),i=`${r}${o}${s===""?s:`/${s}`}`,a=e.options.routes.find(l=>l.path===i);if(a==null)return t;{const l=ri({},a);return l.path=i,e.resolve(l)}}else return e.resolve(t)}const Ow=new Set(["prefix_and_default","prefix_except_default"]);function xw(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&Ow.has(o))&&o!=="no_prefix"}const fh=xw;function To(e){const t=this.router,{routesNameSeparator:n}=Zr(t,this),o=e!=null?me(e)?h(e):e:this.route;return o==null||!o.name?void 0:dh(o.name).split(n)[0]}function ai(e,t){const n=li.call(this,e,t);return n==null?"":n.redirectedFrom||n.fullPath}function pl(e,t){const n=li.call(this,e,t);return n??void 0}function Mw(e,t){const n=li.call(this,e,t);return n??void 0}function li(e,t){const n=this.router,o=this.i18n,r=t||ii(o),{routesNameSeparator:s,defaultLocale:i,defaultLocaleRouteNameSuffix:a,strategy:l,trailingSlash:c,prefixable:u}=Zr(n,this);let d=e;tr(e)&&(d[0]==="/"?d={path:e}:d={name:e});let p=ri({},d);if(p.path&&!p.name){let g=null;try{g=Pw(n,p,l,r)}catch{}const m=g,b=To.call(this,m);tr(b)?(p={name:pu(b,r,{defaultLocale:i,strategy:l,routesNameSeparator:s,defaultLocaleRouteNameSuffix:a}),params:m.params,query:m.query,hash:m.hash},p.state=m.state):(u({currentLocale:r,defaultLocale:i,strategy:l})&&(p.path=`/${r}${p.path}`),p.path=c?hw(p.path,!0):fw(p.path,!0))}else!p.name&&!p.path&&(p.name=To.call(this,this.route)),p.name=pu(p.name,r,{defaultLocale:i,strategy:l,routesNameSeparator:s,defaultLocaleRouteNameSuffix:a});try{const g=n.resolve(p);return(bb?g.name:g.route.name)?g:n.resolve(e)}catch(g){if(g.type===1)return null}}const hh=e=>e;function Dw(e,t){const n={};if(t===ah)return n;const o=e.meta;return me(o)?o.value[t]||n:o[t]||n}function Wr(e){const t=this.route,n=To.call(this,t);if(!n)return"";const{switchLocalePathIntercepter:o,dynamicRouteParamsKey:r}=Zr(this.router,this),{params:s,...i}=t,a=Dw(t,r)[e]||{},l={name:n,params:{...s,...a}},c=ri({},i,l);let u=ai.call(this,c,e);return u=o(u,e),u}function ph({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const o=this.router,r=this.i18n,{defaultDirection:s}=Zr(o,this),i={htmlAttrs:{},link:[],meta:[]};if(r.locales==null||r.baseUrl==null)return i;const a=ii(r),l=vw(r),c=mw(l).find(p=>p.code===a)||{code:a},u=c.iso,d=c.dir||s;return e&&(i.htmlAttrs.dir=d),t&&a&&r.locales&&(u&&(i.htmlAttrs.lang=u),Nw.call(this,l,h(r.baseUrl),i.link,n),Vw.call(this,h(r.baseUrl),i.link,i.meta,n,t),Bw(c,u,i.meta,n),$w(l,u,i.meta,n)),i}function Nw(e,t,n,o){const r=this.router,{defaultLocale:s,strategy:i}=Zr(r,this);if(i===ih.NO_PREFIX)return;const a=new Map;for(const l of e){const c=l.iso;if(!c){ch("Locale ISO code is required to generate alternate link");continue}const[u,d]=c.split("-");u&&d&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(c,l)}for(const[l,c]of a.entries()){const u=Wr.call(this,c.code);u&&n.push({[o]:`i18n-alt-${l}`,rel:"alternate",href:_a(u,t),hreflang:l})}if(s){const l=Wr.call(this,s);l&&n.push({[o]:"i18n-xd",rel:"alternate",href:_a(l,t),hreflang:"x-default"})}}function Vw(e,t,n,o,r){const s=this.route,i=pl.call(this,{...s,name:To.call(this,s)});if(i){let a=_a(i.path,e);const l=hl(r)&&r.canonicalQueries||[];if(l.length){const c=i.query,u=new URLSearchParams;for(const p of l)if(p in c){const g=c[p];lh(g)?g.forEach(m=>u.append(p,m||"")):u.append(p,g||"")}const d=u.toString();d&&(a=`${a}?${d}`)}t.push({[o]:"i18n-can",rel:"canonical",href:a}),n.push({[o]:"i18n-og-url",property:"og:url",content:a})}}function Bw(e,t,n,o){e&&t&&n.push({[o]:"i18n-og",property:"og:locale",content:mh(t)})}function $w(e,t,n,o){const r=e.filter(s=>{const i=s.iso;return i&&i!==t});if(r.length){const s=r.map(i=>({[o]:`i18n-og-alt-${i.iso}`,property:"og:locale:alternate",content:mh(i.iso)}));n.push(...s)}}function mh(e){return(e||"").replace(/-/g,"_")}function _a(e,t){return e.match(/^https?:\/\//)?e:t+e}function ml(e,t){const{router:n,route:o,i18n:r,defaultLocale:s,strategy:i,defaultLocaleRouteNameSuffix:a,trailingSlash:l,routesNameSeparator:c}=e;return function(...u){return Reflect.apply(t,{router:n,route:o,i18n:r,defaultLocale:s,strategy:i,defaultLocaleRouteNameSuffix:a,trailingSlash:l,routesNameSeparator:c},u)}}function Fw({router:e=il(),route:t=ti(),i18n:n=Ft(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:i=void 0,trailingSlash:a=void 0}={}){return ml({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:i,trailingSlash:a},To)}function Uw({router:e=il(),route:t=ti(),i18n:n=Ft(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:i=void 0,trailingSlash:a=void 0}={}){return ml({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:i,trailingSlash:a},ai)}function vh({router:e=il(),route:t=ti(),i18n:n=Ft(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:i=void 0,trailingSlash:a=void 0}={}){return ml({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:i,trailingSlash:a},Wr)}const Mo=["en-th","th-th"],Hw={"en-th":[{key:"../lang/en.json",load:()=>x(()=>import("./en.22e522da.js"),[],import.meta.url)}],"th-th":[{key:"../lang/th.json",load:()=>x(()=>import("./th.48f862f5.js"),[],import.meta.url)}]},jw=Object({"en-th":[],"th-th":[]}),Ww=async e=>{const t=Object({});return t.experimental=Object({jsTsFormatResource:!1}),t.precompile=Object({strictMessage:!1,escapeHtml:!1}),t.vueI18n=Object({}),t.locales=[Object({code:"en-th",name:"English",file:"en.json",countryCode:"th",currency:"THB",hash:"14a2d1ca",type:"static"}),Object({code:"th-th",name:"ไทย",file:"th.json",countryCode:"th",currency:"THB",isCountryDefault:!0,hash:"9d075bee",type:"static"})],t.defaultLocale="th-th",t.defaultDirection="ltr",t.routesNameSeparator="___",t.trailingSlash=!1,t.defaultLocaleRouteNameSuffix="default",t.strategy="prefix",t.lazy=!0,t.langDir="lang",t.rootRedirect=null,t.detectBrowserLanguage=Object({alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"th-th",redirectOn:"root",useCookie:!0}),t.differentDomains=!1,t.baseUrl="",t.dynamicRouteParams=!1,t.customRoutes="page",t.pages=Object({}),t.skipSettingLocaleOnNavigate=!1,t.types="composition",t.debug=!1,t.legacy=!1,t.locale="th-th",t.fallbackLocale="th-th",t},sn=Object({experimental:Object({jsTsFormatResource:!1}),precompile:Object({strictMessage:!0,escapeHtml:!1}),vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:Object({alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0}),differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:Object({}),skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1}),Ea=Object({__normalizedLocales:[Object({code:"en-th",name:"English",file:"en.json",countryCode:"th",currency:"THB",hash:"14a2d1ca",type:"static"}),Object({code:"th-th",name:"ไทย",file:"th.json",countryCode:"th",currency:"THB",isCountryDefault:!0,hash:"9d075bee",type:"static"})]}),gh="@nuxtjs/i18n",qw=!1;/*! js-cookie v3.0.5 | MIT */function hs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var zw={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ka(e,t){function n(r,s,i){if(!(typeof document>"u")){i=hs({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,i[l]!==!0&&(a+="="+i[l].split(";")[0]));return document.cookie=r+"="+e.write(s,r)+a}}function o(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var s=document.cookie?document.cookie.split("; "):[],i={},a=0;a<s.length;a++){var l=s[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(i[u]=e.read(c,u),r===u)break}catch{}}return r?i[r]:i}}return Object.create({set:n,get:o,remove:function(r,s){n(r,"",hs({},s,{expires:-1}))},withAttributes:function(r){return ka(this.converter,hs({},this.attributes,r))},withConverter:function(r){return ka(hs({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var bh=ka(zw,{path:"/"});function Ps(e){return gh+" "+e}function Kw(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function ci(e,t,...n){const o=So(e)?e.global:e,[r,s]=[o,o[t]];return Reflect.apply(s,r,[...n])}function Gw(e,t){const n=So(e)?e.global:e;return lr(n)?n[t].value:(Yr(n)||ro(n)||Kw(n),n[t])}function gu(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Yw(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function yh(e,t,n){for(const o in e)gt(e[o])?(gt(t[o])||(t[o]={}),yh(e[o],t[o],n)):n?n(e[o],t[o])&&(t[o]=e[o]):t[o]=e[o]}async function Ca(e,t,n){var s,i;const o=(s=e.$config.public)==null?void 0:s.i18n;let r=null;try{const a=await t().then(l=>l.default||l);Tt(a)?(i=o.experimental)!=null&&i.jsTsFormatResource?r=await a(n).then(l=>l.default||l):console.warn(Ps("Not support js / ts extension format as default. you can do enable with `i18n.experimental.jsTsFormatResource: true` (experimental)")):r=a}catch(a){console.error(Ps("Failed locale loading: "+a.message))}return r}const ps=[],Do=new Map;async function Os(e,t,n){if(ps.includes(t))ps.includes(t)||console.warn(Ps("Could not find "+t+" locale code in localeMessages"));else{const o=Hw[t];if(o!=null){if(o.length===1){const{key:r,load:s}=o[0];let i=null;Do.has(r)?i=Do.get(r):(i=await Ca(e,s,t),i!=null&&Do.set(r,i)),i!=null&&(n(t,i),ps.push(t))}else if(o.length>1){const r={};for(const{key:s,load:i}of o){let a=null;Do.has(s)?a=Do.get(s):(a=await Ca(e,i,t),a!=null&&Do.set(s,a)),a!=null&&yh(a,r)}n(t,r),ps.push(t)}}}}const bu=[];async function Zw(e,t,n){if(!bu.includes(t)){const o=jw[t]||[];for(const r of o){const s=await Ca(e,r,t);s!=null&&(n(t,s),bu.push(t))}}}function wh(e,t){let n;return navigator.languages&&(n=Ew(e.__normalizedLocales,navigator.languages)),n}function vl(e,{useCookie:t=sn.detectBrowserLanguage.useCookie,cookieKey:n=sn.detectBrowserLanguage.cookieKey,localeCodes:o=[]}={}){if(t){let r;if(r=bh.get(n),r&&o.includes(r))return r}}function Jw(e,t,{useCookie:n=sn.detectBrowserLanguage.useCookie,cookieKey:o=sn.detectBrowserLanguage.cookieKey,cookieDomain:r=sn.detectBrowserLanguage.cookieDomain,cookieSecure:s=sn.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:i=sn.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const a=new Date,l={expires:new Date(a.setDate(a.getDate()+365)),path:"/",sameSite:i?"none":"lax",secure:i||s};r&&(l.domain=r),bh.set(o,e,l)}const Qw={locale:"",stat:!1,reason:"unknown",from:"unknown"};function Xw(e,t,n,o,r=[],s="",i){const{strategy:a}=n,{redirectOn:l,alwaysRedirect:c,useCookie:u,fallbackLocale:d}=n.detectBrowserLanguage,p=ve(e)?e:e.path;if(a!=="no_prefix"){if(l==="root"){if(p!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(l==="no prefix"&&!c&&p.match(wa(r)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let g="unknown",m,b;u&&(b=m=vl(t,{...n.detectBrowserLanguage,localeCodes:r}),g="cookie"),b||(b=wh(o),g="navigator_or_header");const k=b||d;!b&&d&&(g="fallback");const w=s||n.vueI18n.locale;if(k&&(!u||c||!m)){if(a==="no_prefix")return{locale:k,stat:!0,from:g};if(k!==w)return{locale:k,stat:!0,from:g};if(c){const v=p==="/",_=l==="all",y=l==="no prefix"&&!p.match(wa(r));if(v||_||y)return{locale:k,stat:!0,from:g}}}return i==="ssg_setup"&&k?{locale:k,stat:!0,from:g}:{locale:"",stat:!1,reason:"not_found_match"}}function e_(){let e;return e=window.location.host,e}function t_(e){let t=e_()||"";if(t){const n=e.find(o=>o.domain===t);if(n)return n.code;t=""}return t}function _h(e,t,n){const o=t.find(r=>r.code===e);if(o&&o.domain){if(ar(o.domain))return o.domain;let r;return r=window.location.protocol.split(":")[0],r+"://"+o.domain}console.warn(Ps("Could not find domain name for locale "+e))}function n_(e,t){return ci(e,"setLocaleCookie",t)}function Eh(e,t,n){return ci(e,"mergeLocaleMessage",t,n)}function o_(e,t,n,o,r){return ci(e,"onBeforeLanguageSwitch",t,n,o,r)}function r_(e,t,n){return ci(e,"onLanguageSwitched",t,n)}function kh(e,t){let n=[];if(It(e))n=e;else if(gt(e)){const o=[...t,"default"];for(const r of o)e[r]&&(n=[...n,...e[r].filter(Boolean)])}else ve(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function s_(e,t,n){const{defaultLocale:o,initialLocale:r,localeCodes:s,fallbackLocale:i,langDir:a,lazy:l}=n,c=(u,d)=>{const p=t[u]||{};t[u]={...p,...d}};if(a){if(l&&i){const d=kh(i,[o,r]);await Promise.all(d.map(p=>Os(e,p,c)))}const u=l?[...new Set().add(o).add(r)]:s;await Promise.all(u.map(d=>Os(e,d,c)))}return t}async function Ch(e,t,n){await Zw(e,n,(o,r)=>Eh(t,o,r))}async function yu(e,t,n,{useCookie:o=sn.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:r=sn.skipSettingLocaleOnNavigate,differentDomains:s=sn.differentDomains,initial:i=!1,lazy:a=!1,langDir:l=null}={}){let c=!1;const u=ii(n);if(!e)return[c,u];if(!i&&s)return[c,u];if(u===e)return[c,u];const d=await o_(n,u,e,i,t),p=gw(n);if(d&&p&&p.includes(d)){if(d===u)return[c,u];e=d}if(l){const g=Gw(n,"fallbackLocale");if(a){const m=(b,k)=>Eh(n,b,k);if(g){const b=kh(g,[e]);await Promise.all(b.map(k=>Os(t,k,m)))}await Os(t,e,m)}}return await Ch(t,n,e),r?[c,u]:(o&&n_(n,e),uh(n,e),await r_(n,u,e),c=!0,[c,u])}function wu(e,t,n,o,r,s,i=[],a="normal"){const{strategy:l,defaultLocale:c,differentDomains:u}=o,d=Tt(r)?r():r,{locale:p,stat:g,reason:m,from:b}=o.detectBrowserLanguage?Xw(e,t,o,Ea,i,d,a):Qw;if(m==="detect_ignore_on_ssg")return d;let k=p;return k||(u?k=t_(s):l!=="no_prefix"?k=n(e):o.detectBrowserLanguage||(k=d)),!k&&o.detectBrowserLanguage&&o.detectBrowserLanguage.useCookie&&(k=vl(t,{...o.detectBrowserLanguage,localeCodes:i})),k||(k=c||""),k}function _u(e,t,n,o,r){const{strategy:s,defaultLocale:i,differentDomains:a}=r;let l="";if(!f_(e))return l;if(!a&&s!=="no_prefix"&&(o(e)!==n||s==="prefix_and_default"&&n===i)){const{fullPath:c}=e,u=decodeURI(c),d=t.$switchLocalePath(n)||t.$localePath(c,n);ve(d)&&d&&d!==c&&d!==u&&!d.startsWith("//")&&(l=d)}if(a||qw){const u=vh({i18n:so(t.$i18n),route:e,router:t.$router})(n);ve(u)&&(l=u)}return l}function i_(e){return gt(e)&&"path"in e&&"statusCode"in e}const a_=()=>Vo(gh+":redirect",()=>"");function Eu(e,t){return nl(e,{redirectCode:t})}async function ku(e,{status:t=301,rootRedirect:n=sn.rootRedirect,differentDomains:o=sn.differentDomains,skipSettingLocaleOnNavigate:r=sn.skipSettingLocaleOnNavigate}={}){const{i18n:s,locale:i,route:a}=e;let{redirectPath:l}=e;if(a.path==="/"&&n)return ve(n)?l="/"+n:i_(n)&&(l="/"+n.path,t=n.statusCode),Eu(l,t);if(r){s.__pendingLocale=i,s.__pendingLocalePromise=new Promise(c=>{s.__resolvePendingLocalePromise=c});return}if(o){const c=a_();c.value!==l&&(c.value="",window.location.assign(l))}else if(l)return Eu(l,t)}function l_(e,t){gu(e,"$i18n",t.global);for(const n of[["getRouteBaseName",To],["localePath",ai],["localeRoute",pl],["switchLocalePath",Wr],["localeHead",ph]])gu(e,"$"+n[0],Yw(e,n[1]))}function c_(e){return t=>fh(t)&&!e}function u_(e,t,n){return(o,r)=>{if(e){const s=_h(r,t);return s?Kr(s,o):o}else return hh(o)}}function d_(e,t){return n=>{var l,c;if(Tt(e))return e(n);const{differentDomains:o,localeCodeLoader:r,normalizedLocales:s}=t,i=Tt(r)?r():r;if(o&&i){const u=_h(i,s,t.nuxt);if(u)return u}const a=(c=(l=n.$config)==null?void 0:l.public)==null?void 0:c.i18n;return a!=null&&a.baseUrl?a.baseUrl:e}}function f_(e){var n;const t=(n=e.matched[0])==null?void 0:n.meta.nuxtI18n;return t?Object.keys(t).length>0:!1}const h_=Pt(async e=>{let t,n;const o=Vt(),r=cn(),{vueApp:s}=e,i=e,a=([t,n]=Qn(()=>Ww()),t=await t,n(),t),l=a.detectBrowserLanguage&&a.detectBrowserLanguage.useCookie,{__normalizedLocales:c}=Ea,{defaultLocale:u,differentDomains:d,skipSettingLocaleOnNavigate:p,lazy:g,langDir:m,routesNameSeparator:b,defaultLocaleRouteNameSuffix:k,strategy:w,rootRedirect:v}=a;a.baseUrl=d_(a.baseUrl,{differentDomains:d,nuxt:i,localeCodeLoader:u,normalizedLocales:c});const _=Sw(Mo,b,k),y=a.vueI18n;y.messages=y.messages||{},y.fallbackLocale=y.fallbackLocale??!1,Lw(o,{...a,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:u_(d,c),prefixable:c_(d)});const E=N=>N||y.locale||"en-US";let C=wu(r,e.ssrContext,_,a,E(u),c,Mo,"normal");y.messages=([t,n]=Qn(()=>s_(i,y.messages,{...a,initialLocale:C,fallbackLocale:y.fallbackLocale,localeCodes:Mo})),t=await t,n(),t),C=E(C);const T=zy({...y,locale:C});let S=!0;const A=N=>C!==N&&S;kw(T,{locales:a.locales,localeCodes:Mo,baseUrl:a.baseUrl,context:i,hooks:{onExtendComposer(N){N.strategy=w,N.localeProperties=be(()=>c.find(V=>V.code===N.locale.value)||{code:N.locale.value}),N.setLocale=async V=>{const W=A(V),[Y]=await yu(V,i,T,{useCookie:l,differentDomains:d,initial:W,skipSettingLocaleOnNavigate:p,lazy:g,langDir:m});Y&&W&&(S=!1);const ce=_u(r,i,V,_,a);await ku({i18n:T,redirectPath:ce,locale:V,route:r},{differentDomains:d,skipSettingLocaleOnNavigate:p,rootRedirect:v})},N.differentDomains=d,N.getBrowserLocale=()=>wh(Ea,e.ssrContext),N.getLocaleCookie=()=>vl(e.ssrContext,{...a.detectBrowserLanguage,localeCodes:Mo}),N.setLocaleCookie=V=>Jw(V,e.ssrContext,a.detectBrowserLanguage||void 0),N.onBeforeLanguageSwitch=(V,W,Y,ce)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:V,newLocale:W,initialSetup:Y,context:ce}),N.onLanguageSwitched=(V,W)=>e.callHook("i18n:localeSwitched",{oldLocale:V,newLocale:W}),N.finalizePendingLocaleChange=async()=>{T.__pendingLocale&&(uh(T,T.__pendingLocale),T.__resolvePendingLocalePromise&&await T.__resolvePendingLocalePromise(),T.__pendingLocale=void 0)},N.waitForPendingLocaleChange=async()=>{T.__pendingLocale&&T.__pendingLocalePromise&&await T.__pendingLocalePromise}},onExtendExportedGlobal(N){return{strategy:{get(){return N.strategy}},localeProperties:{get(){return N.localeProperties.value}},setLocale:{get(){return async V=>Reflect.apply(N.setLocale,N,[V])}},differentDomains:{get(){return N.differentDomains}},getBrowserLocale:{get(){return()=>Reflect.apply(N.getBrowserLocale,N,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(N.getLocaleCookie,N,[])}},setLocaleCookie:{get(){return V=>Reflect.apply(N.setLocaleCookie,N,[V])}},onBeforeLanguageSwitch:{get(){return(V,W,Y,ce)=>Reflect.apply(N.onBeforeLanguageSwitch,N,[V,W,Y,ce])}},onLanguageSwitched:{get(){return(V,W)=>Reflect.apply(N.onLanguageSwitched,N,[V,W])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(N.finalizePendingLocaleChange,N,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(N.waitForPendingLocaleChange,N,[])}}}},onExtendVueI18n(N){return{strategy:{get(){return N.strategy}},localeProperties:{get(){return N.localeProperties.value}},setLocale:{get(){return async V=>Reflect.apply(N.setLocale,N,[V])}},differentDomains:{get(){return N.differentDomains}},getBrowserLocale:{get(){return()=>Reflect.apply(N.getBrowserLocale,N,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(N.getLocaleCookie,N,[])}},setLocaleCookie:{get(){return V=>Reflect.apply(N.setLocaleCookie,N,[V])}},onBeforeLanguageSwitch:{get(){return(V,W,Y,ce)=>Reflect.apply(N.onBeforeLanguageSwitch,N,[V,W,Y,ce])}},onLanguageSwitched:{get(){return(V,W)=>Reflect.apply(N.onLanguageSwitched,N,[V,W])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(N.finalizePendingLocaleChange,N,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(N.waitForPendingLocaleChange,N,[])}}}}}});const j={__composerExtend:N=>{const V=so(T);N.strategy=V.strategy,N.localeProperties=be(()=>V.localeProperties.value),N.setLocale=V.setLocale,N.differentDomains=V.differentDomains,N.getBrowserLocale=V.getBrowserLocale,N.getLocaleCookie=V.getLocaleCookie,N.setLocaleCookie=V.setLocaleCookie,N.onBeforeLanguageSwitch=V.onBeforeLanguageSwitch,N.onLanguageSwitched=V.onLanguageSwitched,N.finalizePendingLocaleChange=V.finalizePendingLocaleChange,N.waitForPendingLocaleChange=V.waitForPendingLocaleChange}};s.use(T,j),l_(i,T),[t,n]=Qn(()=>Ch(i,T,C)),await t,n(),xv("locale-changing",async(N,V)=>{let W,Y;const ce=wu(N,e.ssrContext,_,a,()=>ii(T)||E(u),c,Mo,"normal"),ne=A(ce),[pe]=([W,Y]=Qn(()=>yu(ce,i,T,{useCookie:l,differentDomains:d,initial:ne,skipSettingLocaleOnNavigate:p,lazy:g,langDir:m})),W=await W,Y(),W);pe&&ne&&(S=!1);const se=_u(N,i,ce,_,a);return ku({i18n:T,redirectPath:se,locale:ce,route:N},{differentDomains:d,skipSettingLocaleOnNavigate:p,rootRedirect:v})},{global:!0})}),p_=Pt({name:"nuxt:chunk-reload",setup(e){const t=Vt(),n=Ct(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)}),t.onError((r,s)=>{if(o.has(r)){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:Kr(n.app.baseURL,s.fullPath);eb({path:a,persistState:!0})}})}}),Et=bn("main",{state:()=>({noScrollCount:0,authModal:!1,authTab:"login",loginModal:!1,forgotPasswordModal:!1,missionDailyModal:!1,missionDailyFlag:!1,missionDailyData:null,announcementModal:!1,regSettings:null,userFavourite:[],sidebar:!1,loadingGame:!1,lang:"",country:"",appDownload:!1,iosModal:!1,redeemBannerHeight:0,getRedeemBanner:null,showRedeemBanner:!0,depositModal:!1,withdrawalModal:!1,redeemCodeModal:!1,showFreeCredit:!0,generalData:"",communityModal:!1}),actions:{async setRegSettings(){const{$api:e}=ye(),t=await e("user/get-quick-register-setting",{});t.status&&(this.regSettings=t.data)},initBannerCheck(){this.getRedeemBanner=document.querySelector(".redeemBanner"),window.addEventListener("resize",this.resizeHandler),this.resizeHandler()},resizeHandler(){this.showRedeemBanner&&this.getRedeemBanner?this.redeemBannerHeight=this.getRedeemBanner.clientHeight:this.redeemBannerHeight=0}}});function m_(){return Fw({route:cn(),router:Vt(),i18n:so(ye().$i18n)})}function Io(){return Uw({router:Vt(),route:cn(),i18n:so(ye().$i18n)})}function v_(){return vh({router:Vt(),route:cn(),i18n:so(ye().$i18n)})}const Cu=bn("promotion",{state:()=>({data:null,loaded:!1,mypromo:null,myloaded:!1,getting:!1}),actions:{reset(){this.data=null,this.loaded=!1,this.mypromo=null,this.myloaded=!1},setPromotion(e){this.data=e},async getList(e){if(this.loaded&&!e||this.getting)return;this.getting=!0;const{$api:t,$getCurrency:n}=ye(),o=await t("promotion/get-promotion-content-list",{currency:n()});this.getting=!1,o.status&&(this.data=o.data,this.loaded=!0)},async getMyPromo(e,t){if(this.myloaded&&!e)return;const{$api:n}=ye(),o=await n("promotion/get-promotion-center-list",t);o.status&&(this.mypromo=o.data,this.myloaded=!0)}}}),Cn=bn("user",{state:()=>({loggedIn:!1,data:null,wallet:null,verifyEmailModal:!1,verifyPhoneModal:!1,isActivePin:!1}),actions:{setIsActivePin(e){this.isActivePin=e},setUser(e){this.loggedIn=!0,this.data=e},setUserWallet(e){this.wallet=e},async getBal(){var n;const{$api:e}=ye(),t=await e("user/get-bal",{});return t.status&&(this.wallet=(n=t.data)==null?void 0:n[0]),t},async login(e){const{$api:t}=ye(),n=await t("index/auth",e);if(n.status){const o=Et(),[r,s]=n.data.default_lang.split("-");if(s!=o.country){const a=Vt(),l=v_();await a.replace(l(n.data.default_lang))}this.loggedIn=!0,this.data=n.data,Cu().reset()}return n},async logout(e){const{$api:t}=ye();(await t("index/logout",{})).status&&(this.loggedIn=!1,this.data=null,Cu().reset(),e&&nl(e))}}}),g_=Pt(e=>{const t=(v=4)=>{for(var _="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz",y="",E=0;E<v;E++)y+=_.charAt(Math.floor(Math.random()*_.length));return y},n=v=>{if(["1","2","3","4","5","6","7","8","9","0","Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"].indexOf(v.key)==-1){v.preventDefault();return}},o=v=>{if(["1","2","3","4","5","6","7","8","9","0",".","Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"].indexOf(v.key)==-1){v.preventDefault();return}},r=v=>{var _=v.target.value.replace(/[~`!@#$%^&*()_+\=\[\]{};':"\\|,<>?]+/g,"");v.target.value=_},s=v=>{if(v.which===32||v.keyCode==32||v.code=="Space"||v.key==" ")return v.preventDefault(),!1},i=(v,_,y)=>{if(typeof v!="string"&&typeof v!="number")return 0;let[E,C]=v.toString().split(".");const T=new Intl.NumberFormat("en-US").format(E);if(C||(C=""),typeof _=="number"){if(_>20&&(_=20),_<C.length)C=C.substring(0,_);else if(_>C.length)do C+="0";while(C.length<_)}return y&&(C=C.replace(/0+$/g,"")),C?`${T}.${C}`:T},a=v=>{let _=v;try{if((typeof v=="string"||typeof v=="number")&&(_=new Date(v)),!_||isNaN(_.getTime()))return"-";let y=_.getMonth()+1;y<10&&(y=`0${y}`);let E=_.getDate();return E<10&&(E=`0${E}`),`${_.getFullYear()}-${y}-${E}`}catch(y){return console.log(y),"-"}},l=v=>{let _=v;try{if((typeof v=="string"||typeof v=="number")&&(_=new Date(v)),!_||isNaN(_.getTime()))return"-";let y=_.getMonth()+1;y<10&&(y=`0${y}`);let E=_.getDate();E<10&&(E=`0${E}`);let C=_.getHours();C<10&&(C=`0${C}`);let T=_.getMinutes();return T<10&&(T=`0${T}`),`${_.getFullYear()}-${y}-${E} ${C}:${T}`}catch(y){return console.log(y),"-"}},c=v=>{try{if(typeof v=="string")return v=v.replace(" ","T")+"Z",new Date(new Date(v)-288e5)}catch(_){return console.log(_),null}},u=v=>typeof v<"u"&&v!=null&&v!="null"&&v!=""?v:"-",d=(v,_)=>new Promise(y=>{if(_)return y(!0);const E=document.createElement("script");E.onload=()=>{y(!0)},E.onerror=()=>{y(!1)},E.src=v,document.head.appendChild(E)}),p=v=>{const _=atob(v);return Uint8Array.from(_,y=>y.codePointAt(0))},g=v=>{const _=Array.from(v,y=>String.fromCodePoint(y)).join("");return btoa(_)};return{provide:{randomId:t,filterNumberInput:n,filterAmountInput:o,filterNameInput:r,filterInput:s,fn:i,fds:a,fdl:l,fs:u,getCurrency:()=>{var E;const v=Cn(),{$i18n:_}=ye();let y=_.localeProperties.value.currency;return v.loggedIn&&(y=((E=v.data)==null?void 0:E.currency)||y),y},loadScript:d,encodeString:v=>g(new TextEncoder().encode(v)),decodeString:v=>new TextDecoder().decode(p(v)),toLocaleTime:c,isWebView:()=>{let v=navigator.userAgent||navigator.vendor||window.opera;return!!(v.includes("wv")||v.includes("Mobile Chrome/")||v.includes("Mobile Safari/")||v.match(/messenger|facebook|line|twitter|wechat|miui|instagram|gsa|telegram\//i))}}}}),b_=1,y_=bn("toast",{state:()=>({items:[]}),actions:{new(e){if(!e.message)return;this.items.length==b_&&this.items.splice(0,1);const t=typeof e.duration=="number"?e.duration:3e3;e.duration=t,this.items.push({id:e.id,message:e.message,status:e.status,duration:e.duration}),setTimeout(()=>{this.remove(e.id)},t)},remove(e){this.items=this.items.filter(t=>t.id!=e)}}}),w_=Pt(e=>{const{$randomId:t}=ye(),n=y_();return{provide:{toast:(r,s,i=3e3)=>{n.new({id:t(),status:r,message:s,duration:i})}}}});function lo(){return ye().$device}const Jt={db:null,tableName:null,ready:!1,init(){return new Promise((e,t)=>{if(window.indexedDB){this.tableName="ipsCacheTable";var n=indexedDB.open("ipsCacheDB",1);n.onupgradeneeded=()=>{this.db=n.result,this.db.objectStoreNames.contains(this.tableName)||this.db.createObjectStore(this.tableName)},n.onerror=()=>{console.error("Error",n.error),e(!1)},n.onsuccess=()=>{this.db=n.result,this.ready=!0,e(!0)}}else e(!1)})},getData(e){return new Promise((t,n)=>{(!this.db||!this.tableName)&&t({status:!1});try{const r=this.db.transaction(this.tableName,"readwrite").objectStore(this.tableName),s=r.get(e);s.onsuccess=()=>{if(s.result)if(s.result.expiry>Date.now()){t({status:!0,data:s.result.data});return}else r.delete(e);t({status:!1})},s.onerror=()=>{t({status:!1})}}catch{t({status:!1})}})},setData(e,t,n=6e5){return new Promise((o,r)=>{(!this.db||!this.tableName)&&o({status:!1});try{const a=this.db.transaction(this.tableName,"readwrite").objectStore(this.tableName).add({data:e,expiry:Date.now()+n},t);a.onsuccess=()=>{o({status:!0})},a.onerror=l=>{o({status:!1})}}catch{o({status:!1})}})}},_n=async(e,t,n)=>{let o=Jt.ready;if(Jt.ready||(o=await Jt.init()),o){const r=await Jt.getData(t);if(r.status)return r}try{const r=await fetch(e);if(!r.ok)return{status:!1,data:{}};const s=await r.json();return o&&Jt.setData(s,t,n),{status:!0,data:s}}catch{return{status:!1,data:{}}}},$R=async(e,t,n)=>{let o=Jt.ready;if(Jt.ready||(o=await Jt.init()),o){const r=await Jt.getData(t);if(!r)return!1;if(r.status)return r}try{const r=await fetch(e);if(!r.ok)return{status:!1,data:{}};const s=await r.text();return r.status==404?{status:!1,data:{}}:(o&&Jt.setData(s,t,n),{status:!0,data:s})}catch{return{status:!1,data:{}}}};let Tu=null;const __=()=>{clearTimeout(Tu),Tu=setTimeout(()=>{let e={};try{e=JSON.parse(window.localStorage.getItem("reqKeys"))||{}}catch{e={}}Object.keys(e).forEach(n=>{var o;(o=e[n])!=null&&o.blocked||delete e[n]}),Object.keys(e).length>0?window.localStorage.setItem("reqKeys",JSON.stringify(e)):window.localStorage.removeItem("reqKeys")},15e3)},E_=Pt(e=>{const t=Cn(),n=Io(),o=cn();return{provide:{api:async(s,i={},a)=>{const{$i18n:l}=ye(),{isMobile:c}=lo(),[u]=l.locale.value.split("-");if(typeof window<"u"&&!i.skipSpamCheck){let g={};try{g=JSON.parse(window.localStorage.getItem("reqKeys"))||{}}catch{g={}}if(g[s]){let m=typeof g[s].lastExecTime<"u"?g[s].lastExecTime:null;g[s].count=typeof g[s].count<"u"?g[s].count+1:0,typeof g[s].blocked<"u"&&g[s].blocked?m&&new Date-new Date(m)>1e3*60*5&&(g[s].count=0,delete g[s].blocked):(g[s].lastExecTime=new Date,m&&new Date-new Date(m)>3e3&&(g[s].count=0)),g[s].count>4&&(g[s].blocked=!0)}else g[s]={count:0,lastExecTime:new Date};if(window.localStorage.setItem("reqKeys",JSON.stringify(g)),__(),g[s].count>4)return{status:!1,msg:l.t("spam_desc",{n:5})}}if(a){Jt.ready||await Jt.init();const p=await Jt.getData(a);if(p.status)return p.data}i.language=u,i.langCountry=l.locale.value;let d={method:"POST",body:i,headers:{page:o.path,domain:typeof window=="object"?window.location.host:"",device:c?"mobile":"desktop"}};try{i.skipSpamCheck&&delete i.skipSpamCheck;const p=await $fetch(`/api/${s}`,d);return!p.status&&(p.code==1003||p.code==1001)&&t.logout(n("/")),a&&Jt.setData(p,a),p}catch{return{status:!1}}}}}}),k_=Pt(e=>{}),Th=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},C_={inheritAttrs:!1,name:"DForm",props:{novalidate:Boolean,focusError:Boolean,focusOffset:Number},data(){return{dogErrors:[]}},provide(){return{dogErrors:this.dogErrors}},methods:{clearErrors(){this.dogErrors.forEach(e=>{e.clear()})},dogSubmit(e){let t=0,n=null;if(this.dogErrors.forEach(o=>{let r=o.validate();r.type&&(t++,!n&&r.els&&r.els.length>0&&(n=r.els[0]))}),e.isValid=t<1,this.focusError&&n){const o=n.getBoundingClientRect().top,r=this.focusOffset||0;window.scrollTo({top:o+window.pageYOffset-r,behavior:"smooth"})}this.$emit("submit",e)}}},T_=["novalidate"];function A_(e,t,n,o,r,s){return O(),H("form",{ref:"form",onSubmit:t[0]||(t[0]=v0((...i)=>s.dogSubmit&&s.dogSubmit(...i),["prevent"])),class:"_dog-form",novalidate:n.novalidate},[Lo(e.$slots,"default")],40,T_)}const L_=Th(C_,[["render",A_]]),Au={required(e,t){if(Array.isArray(e)||typeof e=="string"||typeof e=="object"){if(e.length<1)return{type:"required"}}else if(typeof e=="number"&&isNaN(e))return{type:"required"};return{}},minlength(e,t){return e.length<parseInt(t)?{type:"minlength",value:{n:t}}:{}},maxlength(e,t){return e.length>parseInt(t)?{type:"maxlength",value:{n:t}}:{}},equalto(e,t){return e!=t?{type:"equalto"}:{}},notequalto(e,t){return e==t?{type:"notequalto"}:{}},validemail(e,t){const n=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/;return e.match(n)?{}:{type:"validemail"}},min(e,t){return e<parseFloat(t)?{type:"min",value:{n:t}}:{}},max(e,t){return e>parseFloat(t)?{type:"max",value:{n:t}}:{}},accept(e,t){const n=t.trim().split(",");let o=[],r=[];n.forEach((a,l)=>{a.indexOf("/")>-1?o.push(a):a.match(/\.\w{1,}$/)&&r.push(a.match(/\.\w{1,}$/)[0])});let s=[];const i=e;for(let a=0;a<i.length;a++){let l=!1,c=!1,u=i[a].name.match(/\.\w{1,}$/)[0],d=i[a].type.substr(0,i[a].type.indexOf("/"));for(let p=0;p<o.length;p++)if(o[p].indexOf(d)>-1){if(o[p].indexOf("/*")>-1){l=!0;break}else if(o[p].indexOf(i[a].type)>-1){l=!0;break}}l||r.indexOf(u)>-1&&(c=!0),!l&&!c&&s.push(a)}return s.length>0?{isValid:!1,invalidFiles:s,type:"accept"}:{}},maxfile(e,t){return e.length>parseInt(t)?{isValid:!1,type:"maxfile",value:{n:t}}:{}},maxsize(e,t){let n=[];for(let o=0;o<e.length;o++)e[o].size>parseInt(t)&&n.push(o);if(n.length>0){const o=parseInt(t)/1024/1024;return{isValid:!1,invalidFiles:n,type:"maxsize",value:{n:o.toString()}}}return{}}},R_={name:"DError",inject:["dogErrors","$dForm"],props:{modelValue:[String,Number,Object,Array],messages:Object,target:String},data(){return{errorMsg:"",id:Math.random().toString()}},methods:{validate(){this.errorMsg="";let e=[];if(this.target&&(e=document.querySelectorAll(this.target),e.forEach(t=>t.classList.remove("invalid","valid"))),this.modelValue!=null&&this.modelValue!=null){if((!("required"in this.$attrs)||typeof this.$attrs.required=="boolean"&&!this.$attrs.required)&&(typeof this.modelValue=="string"||Array.isArray(this.modelValue))&&this.modelValue.length<1)return{};let t={};for(let n in this.$attrs){let o=this.$attrs[n];if(Au[n]?t=Au[n](this.modelValue,o):typeof this.$dForm.customRules=="object"&&typeof this.$dForm.customRules[n]=="function"&&(t=this.$dForm.customRules[n](this.modelValue,o)),t&&t.type)if(this.messages&&this.messages[t.type]){this.errorMsg=this.messages[t.type];break}else{this.errorMsg=this.$dForm.message(t);break}}return t&&t.type?(e.forEach(n=>n.classList.add("invalid")),t.els=e):!t.type&&this.target&&e.forEach(n=>n.classList.add("valid")),t}return{}},clear(){this.errorMsg="",this.target&&document.querySelectorAll(this.target).forEach(e=>e.classList.remove("invalid","valid"))}},mounted(){this.dogErrors.push({id:this.id,validate:this.validate,clear:this.clear})},beforeUnmount(){const e=this.dogErrors.findIndex(t=>t.id==this.id);this.dogErrors.splice(e,1)},watch:{modelValue(){this.validate()},"$attrs.equalto"(e,t){e&&this.modelValue&&this.validate()},"$attrs.notequalto"(e,t){e&&this.modelValue&&this.validate()}}};function S_(e,t,n,o,r,s){return r.errorMsg?(O(),H("div",{key:0,class:Ce(["_df_ErrMsg",e.$props.class])},$(r.errorMsg),3)):re("",!0)}const I_=Th(R_,[["render",S_]]),P_={install(e,t){e.component("DForm",L_),e.component("DError",I_);let n={validationMessages:{required:"This field is required.",minlength:"Input must be at least {n} characters.",maxlength:"Input cannot be more than {n} characters.",equalto:"Input value does not match.",notequalto:"Input value cannot be the same.",validemail:"Please enter a valid email.",min:"Minimum value is {n}.",max:"Maximum value is {n}.",accept:"File(s) extension is not accepted.",maxfile:"Please select not more than {n} files.",maxsize:"File(s) must less than {n}Mb."},message(o){var r;return(r=o.value)!=null&&r.n?this.validationMessages[o.type].replace(/{n}/g,o.value.n):this.validationMessages[o.type]||o.type},customRules:{}};if(typeof t=="object"){if(typeof t.defaultMessages=="object")for(let o in t.defaultMessages)typeof t.defaultMessages[o]=="string"&&(n.validationMessages[o]=t.defaultMessages[o]);if(typeof t.message=="function"&&(n.message=t.message),typeof t.customRules=="object")for(let o in t.customRules)typeof t.customRules[o].rule=="function"&&(n.customRules[o]=t.customRules[o].rule),typeof t.customRules[o].message=="string"&&(n.validationMessages[o]=t.customRules[o].message)}e.provide("$dForm",n)}},O_=Pt(e=>{const{$i18n:t}=ye();e.vueApp.use(P_,{message(n){var r;const o=`error_${n.type}`;return(r=n.value)!=null&&r.n?t.t(o,{n:n.value.n}):t.t(o)},customRules:{validphone:{rule(n){let o=n.split("-");return o.length<2||!o[1]?{type:"validphone",value:{}}:{}}},message:"error_validphone"}})}),x_=bn("seoMeta",{state:()=>({metaLoading:!0,metaData:[],metaContent:{},footerLoading:!0,footerData:[],footerContent:""}),actions:{async initSeoMeta(e,t,n,o,r){{const s=await _n(e.public.SEO_JSON,n);if(r.value=!1,!s.status)return;if(o.value=s.data,e.public.SEO_JSON_EXTRA){const i=await _n(e.public.SEO_JSON_EXTRA,`${n}_extra`);i.status&&o.value.push(...i.data)}}this.metaData=o.value},setSeoMeta(e,t,n,o,r,s,i,a){var m,b,k,w,v;const{t:l,locale:c,locales:u}=o;let d={},p={};d=((m=this.metaData.filter(_=>_.language==s&&_.url==i))==null?void 0:m[0])||{},Object.keys(d).length!==0?this.metaContent=d:a!=i&&(p=((b=this.metaData.filter(_=>_.language==s&&_.url==a))==null?void 0:b[0])||{},Object.keys(p).length!==0&&(this.metaContent=p)),Object.keys(d).length===0&&Object.keys(p).length===0&&(this.metaContent={});let g={bodyAttrs:{class:be(()=>`${n.noScrollCount>0?"no-scroll":""} ${n.lang}`)},htmlAttrs:{lang:n.lang},title:null,link:[],meta:[]};try{const _=i=="home"?"":i=="luckyspin"?"/lucky-spin":`/${i}`;let y=[],[E,C]=c.value.split("-");E||(E="en");let T=r;typeof e.public.MAIN_DOMAIN=="string"&&e.public.MAIN_DOMAIN!=""?T=e.public.MAIN_DOMAIN:typeof e.public.MAIN_DOMAIN=="object"&&e.public.MAIN_DOMAIN[C]&&(T=e.public.MAIN_DOMAIN[C]);let S=r;typeof e.public.ALTERNATE_URL_DOMAIN=="string"&&e.public.ALTERNATE_URL_DOMAIN!=""&&(S=e.public.ALTERNATE_URL_DOMAIN);let A=[{rel:"alternate",href:`${S}/${e.public.DEFAULT_LOCALE}${_}`,hreflang:"x-default"},{rel:"canonical",href:`${T}/${c.value}${_}`}];r.indexOf("siam855th5.com")>-1&&_.slice(-1)!="/"&&(A[1]={rel:"canonical",href:`${T}/${c.value}${_}/`});let j=C,N=E,V=!1;if(e.public.LOCALES_DOMAIN){const ce=fb(e,r);if(ce){j=ce;let ne=`${E}-${j}`,pe={};if(u.value.forEach(se=>{pe[se.countryCode]?pe[se.countryCode].push(se.code):pe[se.countryCode]=[se.code],se.code==ne&&(V=!0)}),!V&&pe[j]&&pe[j].length>0){const[se]=pe[j][0].split("-");N=se}}}if(u.value.forEach(ce=>{var ne,pe;((ne=t.meta)!=null&&ne.currencySensitive&&ce.countryCode==j||!((pe=t.meta)!=null&&pe.currencySensitive))&&(typeof e.public.MAIN_DOMAIN=="object"&&e.public.MAIN_DOMAIN[ce.countryCode]?S=e.public.MAIN_DOMAIN[ce.countryCode]:typeof e.public.ALTERNATE_URL_DOMAIN=="string"&&e.public.ALTERNATE_URL_DOMAIN!=""&&(S=e.public.ALTERNATE_URL_DOMAIN),A.push({rel:"alternate",href:`${S}/${ce.code}${_}`,hreflang:ce.code}))}),this.metaContent&&(g.title=this.metaContent.title,y=[{name:"title",content:this.metaContent.title},{name:"description",content:this.metaContent.description},{name:"keywords",content:this.metaContent.keyword},{name:"og:title",content:this.metaContent.title},{name:"og:description",content:this.metaContent.description},{name:"og:keywords",content:this.metaContent.keyword},{name:"twitter:title",content:this.metaContent.title},{name:"twitter:description",content:this.metaContent.description}]),!g.title){const ce=`${e.public.TITLE} | ${a?l(a.replace(/-/g,"_")):""}`;g.title=ce,y=[{name:"title",content:ce},{name:"og:title",content:ce},{name:"twitter:title",content:ce}]}let W=T;try{let ce=new URL(T);ce&&ce.host&&(W=ce.host.replace("www.",""))}catch{}y.push({name:"og:url",content:`${T}/${c.value}${_}`},{name:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:domain",content:W},{name:"twitter:url",content:`${T}/${c.value}${_}`},{name:"og:image",property:"og:image",content:(k=e.public.SHARE_PREVIEW_IMG)!=null&&k[c.value]?`${r}/${e.public.MERCHANT}/img/share_preview/${E}.jpg`:`${r}/${e.public.MERCHANT}/pwa-512x512.png`},{name:"og:image_secure_url",property:"og:image_secure_url",content:(w=e.public.SHARE_PREVIEW_IMG)!=null&&w[c.value]?`${r}/${e.public.MERCHANT}/img/share_preview/${E}.jpg`:`${r}/${e.public.MERCHANT}/pwa-512x512.png`},{name:"twitter:image",property:"twitter:image",content:(v=e.public.SHARE_PREVIEW_IMG)!=null&&v[c.value]?`${r}/${e.public.MERCHANT}/img/share_preview/${E}.jpg`:`${r}/${e.public.MERCHANT}/pwa-512x512.png`});let Y=j==C;e.public.NO_INDEX_DOMAIN.forEach(ce=>{r.indexOf(ce)>-1&&(Y=!1)}),e.public.ENV!="production"&&(Y=!1),y.push({name:"robots",content:Y?"index,follow":"noindex,nofollow"},{name:"googlebot",content:Y?"index,follow":"noindex,nofollow"}),g.link=A,g.meta=y}catch(_){console.log(_)}finally{return this.metaLoading=!1,g}},async initSeoMetaFooter(e,t,n,o,r){{const s=await _n(e.public.FOOTER_URL,n);if(r.value=!1,!s.status)return;if(o.value=s.data,e.public.FOOTER_URL_EXTRA){const i=await _n(e.public.FOOTER_URL_EXTRA,`${n}_extra`);i.status&&o.value.push(...i.data)}}this.footerData=o.value},setSeoMetaFooter(e,t,n,o){var i,a,l,c;let r="",s="";if(r=((a=(i=this.footerData.filter(u=>u.language==e&&u.title==t))==null?void 0:i[0])==null?void 0:a.content)||"",r)this.footerContent=r;else if(o){const u=this.metaData.find(d=>d.language==e&&d.url==t);u&&u.title&&(r=`<h1>${u.title}</h1>`,this.footerContent=`<h1>${u.title}</h1>`)}n!=t&&!r&&(s=((c=(l=this.footerData.filter(u=>u.language==e&&u.title==n))==null?void 0:l[0])==null?void 0:c.content)||"",s&&(this.footerContent=s)),r==""&&s==""&&(this.footerContent=""),this.footerLoading=!1}}}),M_=Pt(e=>{const t=x_(),n=cn(),{$i18n:o}=ye(),{t:r,locale:s,locales:i}=o,a=Ct(),{$getData:l}=ye(),c=Et(),d=tb().origin,p="seo",g=Vo(`${p}`,""),m=Vo(`${p}_loading`,()=>!0),b="seo_footer",k=Vo(`${b}`,""),w=Vo(`${b}_loading`,()=>!0),v=(y=!0)=>{var S,A;let E;typeof history<"u"?E=history.state.current:E=n.path,E.endsWith("/")&&(E=E.slice(0,-1));let C=E;i.value.forEach(j=>{C=C.replace(`/${j.code}`,"")}),C=C.split("?")[0];let T="";if(y&&(C==""||C=="/")?T="home":y&&C=="/lucky-spin"?T="luckyspin":T=C.replace("/",""),(S=n==null?void 0:n.params)!=null&&S.provider){let j=(A=n==null?void 0:n.params)==null?void 0:A.provider;T=T.replace(`/${j}`,"")}return T};return be(()=>v()),{provide:{setMeta:async(y=!1)=>{await t.initSeoMeta(a,l,p,g,m),await t.initSeoMetaFooter(a,l,b,k,w);const E=v(),C=n.params.provider?n.params.provider.toLowerCase():"",T=E.split("/")[0],S=C.toUpperCase(),A=`${E}${S?`/${S}`:""}`,j=t.setSeoMeta(a,n,c,o,d,s.value,A,T);if(t.setSeoMetaFooter(s.value,A,T,a.public.MERCHANT=="pesobet"||a.public.MERCHANT=="peso88"),y)return j;yf(j)}}}}),D_=Pt(e=>{const t=Ct();return{provide:{pub:o=>`${t.public.STATIC_ROOT}${t.public.MERCHANT}${o}?v=${t.public.VERSION}`}}}),N_=Pt(e=>{const t=()=>{const o=window.localStorage.getItem("theme");return o||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")};return{provide:{switchTheme:()=>{t()=="dark"?(localStorage.theme="light",document.documentElement.classList.remove("dark")):(localStorage.theme="dark",document.documentElement.classList.add("dark"))}}}}),V_=Pt(e=>{const t=n=>{if(n.indexOf("reg_btn_")>-1){const o=Nn("click_register_id");o.value=n}if(n.indexOf("deposit_btn_")>-1){const o=Nn("click_deposit_id");o.value=n}};e.vueApp.directive("track",{mounted(n,o){n.addEventListener("click",()=>{t(o.value)}),n.id=o.value},beforeUnmount(n,o){n.removeEventListener("click",()=>{t(o.value)})}})});/*!
 * Compressor.js v1.2.1
 * https://fengyuanchen.github.io/compressorjs
 *
 * Copyright 2018-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-02-28T14:09:41.732Z
 */function Lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ms(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lu(Object(n),!0).forEach(function(o){F_(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lu(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function B_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ah(o.key),o)}}function $_(e,t,n){return t&&Ru(e.prototype,t),n&&Ru(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function F_(e,t,n){return t=Ah(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xs(){return xs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},xs.apply(this,arguments)}function U_(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ah(e){var t=U_(e,"string");return typeof t=="symbol"?t:String(t)}var Lh={exports:{}};(function(e){typeof window>"u"||function(t){var n=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,o=t.Blob&&function(){try{return!!new Blob}catch{return!1}}(),r=o&&t.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),s=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,i=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,a=(o||s)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(l){var c,u,d,p,g,m,b,k,w;if(c=l.match(i),!c)throw new Error("invalid data URI");for(u=c[2]?c[1]:"text/plain"+(c[3]||";charset=US-ASCII"),d=!!c[4],p=l.slice(c[0].length),d?g=atob(p):g=decodeURIComponent(p),m=new ArrayBuffer(g.length),b=new Uint8Array(m),k=0;k<g.length;k+=1)b[k]=g.charCodeAt(k);return o?new Blob([r?b:m],{type:u}):(w=new s,w.append(m),w.getBlob(u))};t.HTMLCanvasElement&&!n.toBlob&&(n.mozGetAsFile?n.toBlob=function(l,c,u){var d=this;setTimeout(function(){u&&n.toDataURL&&a?l(a(d.toDataURL(c,u))):l(d.mozGetAsFile("blob",c))})}:n.toDataURL&&a&&(n.msToBlob?n.toBlob=function(l,c,u){var d=this;setTimeout(function(){(c&&c!=="image/png"||u)&&n.toDataURL&&a?l(a(d.toDataURL(c,u))):l(d.msToBlob(c))})}:n.toBlob=function(l,c,u){var d=this;setTimeout(function(){l(a(d.toDataURL(c,u)))})})),e.exports?e.exports=a:t.dataURLtoBlob=a}(window)})(Lh);var Su=Lh.exports,H_=function(t){return typeof Blob>"u"?!1:t instanceof Blob||Object.prototype.toString.call(t)==="[object Blob]"},Iu={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},j_=typeof window<"u"&&typeof window.document<"u",io=j_?window:{},Ms=function(t){return t>0&&t<1/0},W_=Array.prototype.slice;function gl(e){return Array.from?Array.from(e):W_.call(e)}var q_=/^image\/.+$/;function Ta(e){return q_.test(e)}function z_(e){var t=Ta(e)?e.substr(6):"";return t==="jpeg"&&(t="jpg"),".".concat(t)}var Rh=String.fromCharCode;function K_(e,t,n){var o="",r;for(n+=t,r=t;r<n;r+=1)o+=Rh(e.getUint8(r));return o}var G_=io.btoa;function Pu(e,t){for(var n=[],o=8192,r=new Uint8Array(e);r.length>0;)n.push(Rh.apply(null,gl(r.subarray(0,o)))),r=r.subarray(o);return"data:".concat(t,";base64,").concat(G_(n.join("")))}function Y_(e){var t=new DataView(e),n;try{var o,r,s;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var i=t.byteLength,a=2;a+1<i;){if(t.getUint8(a)===255&&t.getUint8(a+1)===225){r=a;break}a+=1}if(r){var l=r+4,c=r+10;if(K_(t,l,4)==="Exif"){var u=t.getUint16(c);if(o=u===18761,(o||u===19789)&&t.getUint16(c+2,o)===42){var d=t.getUint32(c+4,o);d>=8&&(s=c+d)}}}if(s){var p=t.getUint16(s,o),g,m;for(m=0;m<p;m+=1)if(g=s+m*12+2,t.getUint16(g,o)===274){g+=8,n=t.getUint16(g,o),t.setUint16(g,1,o);break}}}catch{n=1}return n}function Z_(e){var t=0,n=1,o=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:o=-1;break;case 5:t=90,o=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:o}}var J_=/\.\d*(?:0|9){12}\d*$/;function Ou(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return J_.test(e)?Math.round(e*t)/t:e}function br(e){var t=e.aspectRatio,n=e.height,o=e.width,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",s=Ms(o),i=Ms(n);if(s&&i){var a=n*t;(r==="contain"||r==="none")&&a>o||r==="cover"&&a<o?n=o/t:o=n*t}else s?n=o/t:i&&(o=n*t);return{width:o,height:n}}function Q_(e){for(var t=gl(new Uint8Array(e)),n=t.length,o=[],r=0;r+3<n;){var s=t[r],i=t[r+1];if(s===255&&i===218)break;if(s===255&&i===216)r+=2;else{var a=t[r+2]*256+t[r+3],l=r+a+2,c=t.slice(r,l);o.push(c),r=l}}return o.reduce(function(u,d){return d[0]===255&&d[1]===225?u.concat(d):u},[])}function X_(e,t){var n=gl(new Uint8Array(e));if(n[2]!==255||n[3]!==224)return e;var o=n[4]*256+n[5],r=[255,216].concat(t,n.slice(4+o));return new Uint8Array(r)}var e2=io.ArrayBuffer,xi=io.FileReader,mo=io.URL||io.webkitURL,t2=/\.\w+$/,n2=io.Compressor,o2=function(){function e(t,n){B_(this,e),this.file=t,this.exif=[],this.image=new Image,this.options=ms(ms({},Iu),n),this.aborted=!1,this.result=null,this.init()}return $_(e,[{key:"init",value:function(){var n=this,o=this.file,r=this.options;if(!H_(o)){this.fail(new Error("The first argument must be a File or Blob object."));return}var s=o.type;if(!Ta(s)){this.fail(new Error("The first argument must be an image File or Blob object."));return}if(!mo||!xi){this.fail(new Error("The current browser does not support image compression."));return}e2||(r.checkOrientation=!1,r.retainExif=!1);var i=s==="image/jpeg",a=i&&r.checkOrientation,l=i&&r.retainExif;if(mo&&!a&&!l)this.load({url:mo.createObjectURL(o)});else{var c=new xi;this.reader=c,c.onload=function(u){var d=u.target,p=d.result,g={},m=1;a&&(m=Y_(p),m>1&&xs(g,Z_(m))),l&&(n.exif=Q_(p)),a||l?!mo||m>1?g.url=Pu(p,s):g.url=mo.createObjectURL(o):g.url=p,n.load(g)},c.onabort=function(){n.fail(new Error("Aborted to read the image with FileReader."))},c.onerror=function(){n.fail(new Error("Failed to read the image with FileReader."))},c.onloadend=function(){n.reader=null},a||l?c.readAsArrayBuffer(o):c.readAsDataURL(o)}}},{key:"load",value:function(n){var o=this,r=this.file,s=this.image;s.onload=function(){o.draw(ms(ms({},n),{},{naturalWidth:s.naturalWidth,naturalHeight:s.naturalHeight}))},s.onabort=function(){o.fail(new Error("Aborted to load the image."))},s.onerror=function(){o.fail(new Error("Failed to load the image."))},io.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(io.navigator.userAgent)&&(s.crossOrigin="anonymous"),s.alt=r.name,s.src=n.url}},{key:"draw",value:function(n){var o=this,r=n.naturalWidth,s=n.naturalHeight,i=n.rotate,a=i===void 0?0:i,l=n.scaleX,c=l===void 0?1:l,u=n.scaleY,d=u===void 0?1:u,p=this.file,g=this.image,m=this.options,b=document.createElement("canvas"),k=b.getContext("2d"),w=Math.abs(a)%180===90,v=(m.resize==="contain"||m.resize==="cover")&&Ms(m.width)&&Ms(m.height),_=Math.max(m.maxWidth,0)||1/0,y=Math.max(m.maxHeight,0)||1/0,E=Math.max(m.minWidth,0)||0,C=Math.max(m.minHeight,0)||0,T=r/s,S=m.width,A=m.height;if(w){var j=[y,_];_=j[0],y=j[1];var N=[C,E];E=N[0],C=N[1];var V=[A,S];S=V[0],A=V[1]}v&&(T=S/A);var W=br({aspectRatio:T,width:_,height:y},"contain");_=W.width,y=W.height;var Y=br({aspectRatio:T,width:E,height:C},"cover");if(E=Y.width,C=Y.height,v){var ce=br({aspectRatio:T,width:S,height:A},m.resize);S=ce.width,A=ce.height}else{var ne=br({aspectRatio:T,width:S,height:A}),pe=ne.width;S=pe===void 0?r:pe;var se=ne.height;A=se===void 0?s:se}S=Math.floor(Ou(Math.min(Math.max(S,E),_))),A=Math.floor(Ou(Math.min(Math.max(A,C),y)));var Le=-S/2,ae=-A/2,dt=S,Q=A,ie=[];if(v){var ue=0,ut=0,Ee=r,z=s,oe=br({aspectRatio:T,width:r,height:s},{contain:"cover",cover:"contain"}[m.resize]);Ee=oe.width,z=oe.height,ue=(r-Ee)/2,ut=(s-z)/2,ie.push(ue,ut,Ee,z)}if(ie.push(Le,ae,dt,Q),w){var te=[A,S];S=te[0],A=te[1]}b.width=S,b.height=A,Ta(m.mimeType)||(m.mimeType=p.type);var fe="transparent";p.size>m.convertSize&&m.convertTypes.indexOf(m.mimeType)>=0&&(m.mimeType="image/jpeg");var ge=m.mimeType==="image/jpeg";if(ge&&(fe="#fff"),k.fillStyle=fe,k.fillRect(0,0,S,A),m.beforeDraw&&m.beforeDraw.call(this,k,b),!this.aborted&&(k.save(),k.translate(S/2,A/2),k.rotate(a*Math.PI/180),k.scale(c,d),k.drawImage.apply(k,[g].concat(ie)),k.restore(),m.drew&&m.drew.call(this,k,b),!this.aborted)){var L=function(B){if(!o.aborted){var K=function(U){return o.done({naturalWidth:r,naturalHeight:s,result:U})};if(B&&ge&&m.retainExif&&o.exif&&o.exif.length>0){var G=function(U){return K(Su(Pu(X_(U,o.exif),m.mimeType)))};if(B.arrayBuffer)B.arrayBuffer().then(G).catch(function(){o.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var F=new xi;o.reader=F,F.onload=function(Z){var U=Z.target;G(U.result)},F.onabort=function(){o.fail(new Error("Aborted to read the compressed image with FileReader."))},F.onerror=function(){o.fail(new Error("Failed to read the compressed image with FileReader."))},F.onloadend=function(){o.reader=null},F.readAsArrayBuffer(B)}}else K(B)}};b.toBlob?b.toBlob(L,m.mimeType,m.quality):L(Su(b.toDataURL(m.mimeType,m.quality)))}}},{key:"done",value:function(n){var o=n.naturalWidth,r=n.naturalHeight,s=n.result,i=this.file,a=this.image,l=this.options;if(mo&&a.src.indexOf("blob:")===0&&mo.revokeObjectURL(a.src),s)if(l.strict&&!l.retainExif&&s.size>i.size&&l.mimeType===i.type&&!(l.width>o||l.height>r||l.minWidth>o||l.minHeight>r||l.maxWidth<o||l.maxHeight<r))s=i;else{var c=new Date;s.lastModified=c.getTime(),s.lastModifiedDate=c,s.name=i.name,s.name&&s.type!==i.type&&(s.name=s.name.replace(t2,z_(s.type)))}else s=i;this.result=s,l.success&&l.success.call(this,s)}},{key:"fail",value:function(n){var o=this.options;if(o.error)o.error.call(this,n);else throw n}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],[{key:"noConflict",value:function(){return window.Compressor=n2,e}},{key:"setDefaults",value:function(n){xs(Iu,n)}}]),e}();const r2=Pt(e=>{const{$api:t,$loadScript:n}=ye(),o=Ct(),r=async i=>new Promise(async a=>{new o2(i,{quality:.6,success(l){a({status:!0,msg:"compress success",file:l})},error(l){a({status:!1,msg:l.message})}})});return{provide:{upload:async(i,a)=>new Promise(async l=>{if(!i&&!i instanceof File)return{status:!1};if(!await n(`${o.public.STATIC_ROOT}js/aws-sdk-2.1.12.min.js`,window.AWS))return l({status:!1,msg:"AWS SDK loaded fail"}),{status:!1};if(i.size>2097152&&["image/png","image/jpg","image/jpeg"].indexOf(i.type)>-1){const b=await r(i);if(!b.status)return l(b),{status:!1};i=b.file}const u=await t("general/get-sts-token",{filename:i.name,filetype:i.type||i.mimeType,is_public:a});if(!u.status)return l(u),{status:!1};const d=window.AWS;d.config.httpOptions.timeout=12e5;let p={apiVersion:"2006-03-01",accessKeyId:u.data.AccessKeyId,secretAccessKey:u.data.SecretAccessKey,sessionToken:u.data.SessionToken,region:u.data.region,Body:i,Key:u.data.filepath,Bucket:u.data.bucket,ACL:"private",ContentType:u.data.contentType},g={partSize:5*1024*1024,queueSize:1},m=new d.S3(p);try{m.upload(p,g,function(b,k){return l(b?{status:!1,msg:b.stack}:{status:!0,data:{key:u.data.filepath}})}).on("httpUploadProgress",function(b){})}catch(b){l({status:!1,data:{},error:b})}})}}}),s2=[Vv,vb,Tb,Ab,Lb,Rb,Hb,jb,h_,p_,g_,w_,E_,k_,O_,M_,D_,N_,V_,r2],i2=""+new URL("quick_calender.2fa34c27.png",import.meta.url).href;const Rt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},bl=e=>(tn("data-v-eb5669e6"),e=e(),nn(),e),a2={class:"calendar-head flex items-center justify-between py-2 px-4 rounded-t-md"},l2={key:0},c2=bl(()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"20",viewBox:"0 0 20.342 11.915"},[f("path",{d:"M19.837.5a1.7 1.7 0 0 0-2.4 0l-7.313 7.307L2.813.5A1.7 1.7 0 0 0 .41 2.9l8.521 8.521a1.7 1.7 0 0 0 2.4 0L19.854 2.9a1.7 1.7 0 0 0-.017-2.4Z",transform:"translate(15.151 -4.794) rotate(90)",fill:"#1b222b"})],-1)),u2=[c2],d2={class:"text-center font-bold text-white"},f2={class:"text-xs"},h2={key:2},p2=bl(()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"20",viewBox:"0 0 20.342 11.915"},[f("path",{d:"M19.837.5a1.7 1.7 0 0 0-2.4 0l-7.313 7.307L2.813.5A1.7 1.7 0 0 0 .41 2.9l8.521 8.521a1.7 1.7 0 0 0 2.4 0L19.854 2.9a1.7 1.7 0 0 0-.017-2.4Z",transform:"translate(4.5 16.045) rotate(-90)",fill:"#1b222b"})],-1)),m2=[p2],v2={key:0,class:"bg-[var(--ms-diary-bg)] px-4 py-[10px] block md:hidden"},g2=bl(()=>f("img",{class:"w-[32px] h-[32px] absolute left-[15px] top-0",src:i2},null,-1)),b2={class:"calendar-content text-black border rounded-b-md"},y2=Gs('<div class="flex" data-v-eb5669e6><div class="ms-head-cell" data-v-eb5669e6>SU</div><div class="ms-head-cell" data-v-eb5669e6>MO</div><div class="ms-head-cell" data-v-eb5669e6>TU</div><div class="ms-head-cell" data-v-eb5669e6>WE</div><div class="ms-head-cell" data-v-eb5669e6>TH</div><div class="ms-head-cell" data-v-eb5669e6>FR</div><div class="ms-head-cell" data-v-eb5669e6>SA</div></div>',1),w2={class:"light-scrollbar flex flex-wrap overflow-auto"},_2={key:0},E2={class:"text-[10px]"},k2={class:"ms-day"},C2={__name:"MissionCalendar",props:{disableNav:Boolean,diaryBtn:Boolean,missionBtn:Boolean,homeBtn:Boolean,missionData:Object},emits:["anotherMonth","page"],setup(e,{expose:t,emit:n}){const o=e,r=Io(),s=Vt(),i=Et(),a=M(5),l=M(2023),c=M([]),u=()=>{const b=new Date(l.value,a.value,1),k=new Date(l.value,a.value,0),w=new Date(l.value,a.value+1,1),v={year:k.getFullYear(),month:k.getMonth(),startDate:k.getDate()-b.getDay()+1,endDate:k.getDate()},_={year:l.value,month:a.value,startDate:1,endDate:new Date(l.value,a.value+1,0).getDate()},y={year:w.getFullYear(),month:w.getMonth(),startDate:1,endDate:42-(v.endDate-v.startDate+1)-(_.endDate-_.startDate+1)};let E=[];for(let T=v.startDate;T<=v.endDate;T++)E.push({date:T,month:v.month,year:v.year,isCurrentMonth:0,key:new Date(v.year,v.month,T).getTime()});let C=0;for(let T=_.startDate;T<=_.endDate;T++)E.push({date:T,month:_.month,year:_.year,isCurrentMonth:1,key:new Date(_.year,_.month,T).getTime(),checked:o.missionData.calender.data[C]?o.missionData.calender.data[C].checked?"green":"":"gold"}),C++;for(let T=y.startDate;T<=y.endDate;T++)E.push({date:T,month:y.month,year:y.year,isCurrentMonth:0,key:new Date(y.year,y.month,T).getTime()});c.value=E};t({generateCalendar:u}),ht(()=>{const b=new Date;a.value=b.getMonth(),l.value=b.getFullYear(),u()});const d=b=>{let k=new Date(l.value,a.value+b,1);a.value=k.getMonth(),l.value=k.getFullYear(),n("anotherMonth",{year:l.value,month:a.value})},p=be(()=>{const b=new Date;return l.value==b.getFullYear()&&a.value>=b.getMonth()||l.value>b.getFullYear()}),g=b=>{i.missionDailyModal=!1,s.push(r("/mission-diary"))},m=b=>{i.missionDailyModal=!1};return(b,k)=>(O(),H("div",null,[f("div",a2,[e.disableNav?(O(),H("div",l2)):(O(),H("button",{key:1,class:"ms-nav prev",onClick:k[0]||(k[0]=w=>d(-1))},u2)),f("div",d2,[f("div",null,$(h(l))+"/"+$(h(a)+1),1),f("div",f2,$(b.$t("total_check_in"))+": "+$(e.missionData.calender.checkin_day),1)]),e.disableNav?(O(),H("div",h2)):(O(),H("button",{key:3,class:Ce(["ms-nav next",{disabled:h(p)}]),onClick:k[1]||(k[1]=w=>d(1))},m2,2))]),e.missionBtn?(O(),H("div",v2,[f("button",{onClick:g,type:"button",class:"btn_mission_calendar_1"},[g2,jt(" "+$(b.$t("to_mission_dairy")),1)]),e.homeBtn?(O(),H("button",{key:0,onClick:m,type:"button",class:"w-full h-[32px] mt-[8px] border-[1px] border-[var(--primary)] font-bold text-[14px] text-[var(--ms-diary-text-color)] flex items-center justify-center relative rounded-[50px]"},$(b.$t("close")),1)):re("",!0)])):re("",!0),f("div",b2,[y2,f("div",w2,[(O(!0),H(Se,null,Qt(h(c),w=>(O(),H("div",{key:w.key,class:"ms-body-cell"},[w.isCurrentMonth?(O(),H("div",_2,[f("div",E2,$(w.month+1)+"/"+$(w.date),1),f("div",k2,[f("div",{class:Ce(["ms-day-box",w.checked])},null,2)])])):re("",!0)]))),128))])])]))}},T2=Rt(C2,[["__scopeId","data-v-eb5669e6"]]),A2={__name:"Lottie",props:{file:{type:String,required:!0},wrapperClass:String,width:Number},setup(e){const t=e,n=Ct(),{$loadScript:o}=ye(),r=be(()=>t.width?{width:`${t.width}px`}:{width:"100px"}),s=M();return ht(async()=>{await o(`${n.public.STATIC_ROOT}js/lottie-5.12.2.min.js`,window.lottie)&&window.lottie.loadAnimation({container:s.value,renderer:"svg",loop:!0,autoplay:!0,path:`${n.public.STATIC_ROOT}lottie/${t.file}`})}),(i,a)=>(O(),H("div",{ref_key:"animationContainer",ref:s,class:Ce(["mx-auto",e.wrapperClass]),style:an(h(r))},null,6))}},ui=A2;const L2={__name:"FullScreenOverlay",props:{show:Boolean,clickClose:Boolean,maxWidth:{type:Number,default:500},classes:{type:String,default:""},noOffset:Boolean},emits:["close"],setup(e,{emit:t}){const n=e,o=M(),r=a=>{n.clickClose&&a.target==o.value&&t("close")},s=a=>{a.key=="Escape"&&t("close")},i=Et();return Te(()=>n.show,a=>{a?(document.addEventListener("keyup",s),i.noScrollCount++):(document.removeEventListener("keyup",s),i.noScrollCount--)}),Nt(()=>{n.show&&(document.removeEventListener("keyup",s),i.noScrollCount--)}),(a,l)=>(O(),ke(zs,{to:"body"},[f("div",{class:Ce(["fs-overlay",{show:e.show}]),onClick:r,ref_key:"wrapper",ref:o,style:{height:"var(--window-height)"}},[f("div",{class:Ce(["flex-grow flex flex-col justify-center items-center mx-auto w-full",e.classes]),style:an({"max-width":`${e.maxWidth}px`})},[Lo(a.$slots,"default",{},void 0,!0)],6)],2)]))}},Sh=Rt(L2,[["__scopeId","data-v-68a4e00e"]]),co=bn("dashboard",{state:()=>({data:null,ready:!1,getting:!1,previousDataIsLoggedIn:!1,previousApiTimeStamp:null,maintenanceData:{},callNumber:0}),actions:{async init(e){var a;if(this.getting)return;const t=Cn();if(!e&&this.previousDataIsLoggedIn==t.loggedIn&&this.previousApiTimeStamp&&Date.now()-this.previousApiTimeStamp<3e4)return this.callNumber++,{status:!0,data:this.data};const{$api:n,$toLocaleTime:o,$fdl:r,$toast:s}=ye();this.getting=!0;const i=await n("user/dashboardv2",{page_name:"home"});if(this.getting=!1,!i.status)return(i==null?void 0:i.code)==1003&&s(i.status,i.msg),i;if(t.loggedIn?(this.previousDataIsLoggedIn=!0,t.setIsActivePin(i.data.trading_setting.setup=="1"),t.setUserWallet((a=i.data.wallet)==null?void 0:a[0])):(this.previousDataIsLoggedIn=!1,t.setIsActivePin(!1),t.setUserWallet(null)),this.data=i.data,this.ready=!0,this.previousApiTimeStamp=Date.now(),Array.isArray(i.data.provider_maintenance)){let l={};i.data.provider_maintenance.forEach(c=>{l[c.provider_id]={start_date:r(o(c.start_time)),end_date:r(o(c.end_time))}}),this.maintenanceData=l}return this.callNumber++,i}}}),R2=""+new URL("gift.c821db59.png",import.meta.url).href;const S2=e=>(tn("data-v-aff3d2b4"),e=e(),nn(),e),I2={key:0,class:"relative w-full"},P2={class:"relative"},O2={key:0,class:"mission_btn"},x2={class:"relative w-full md:w-[400px]"},M2={class:"text-[#E3E3E3] text-center"},D2={class:"font-bold"},N2={class:"-mt-4"},V2={class:"relative mx-auto",style:{width:"310px",height:"310px"}},B2={class:"absolute z-[2] w-full top-1/2 -translate-y-1/2"},$2={class:"absolute z-[2] w-full top-1/2 -translate-y-1/2"},F2=S2(()=>f("img",{src:R2,width:"160",class:"absolute z-[2] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"},null,-1)),U2={class:"-mt-6"},H2={class:"text-sm"},j2={class:"mt-3 text-primary-light font-bold"},W2={class:"text-3xl"},q2={class:"mt-4"},z2={__name:"MissionDailyModal",setup(e){const{$api:t,$toast:n}=ye(),{$fds:o}=ye();Cn();const r=Et(),s=co(),i=M(1),a=M(1),l=k=>{r.missionDailyModal=!1,setTimeout(()=>{a.value=1},200)},c=M(!1),u=async k=>{var w="1";new Date().getMonth()+1<10?w="0"+(new Date().getMonth()+1):w=new Date().getMonth()+1;const v=await t("diary/get-user-diary-mission",{month:w,year:new Date().getFullYear()});if(!v.status){n(!1,v.msg);return}r.missionDailyData=v.data,!v.data.calender.today_check&&s.data.diary.daily_pop=="1"?r.missionDailyFlag=!0:r.missionDailyFlag=!1,i.value++},d=M(),p=M(!1),g=async k=>{if(p.value)return;p.value=!0;var w="1";k.month+1<10?w="0"+(k.month+1):w=k.month+1;const v=await t("diary/get-user-diary-mission",{month:w,year:k.year});if(p.value=!1,!v.status){n(!1,v.msg);return}r.missionDailyData=v.data,k.month+1==new Date().getMonth()+1&&(c.value=!v.data.calender.today_check),ft(()=>{d.value.generateCalendar()})},m=M(""),b=async k=>{const w=await t("diary/user-check-in",{date:o(new Date)});if(!w.status){n(!1,w.msg);return}m.value=w.data.reward,r.missionDailyData.calender.today_check=!0,c.value=!1,a.value=2,u()};return(k,w)=>{const v=T2,_=ui,y=Sh;return O(),ke(y,{show:h(r).missionDailyModal,clickClose:"",onClose:l,maxWidth:600},{default:Ae(()=>[h(r).missionDailyData?(O(),H("div",I2,[yt(f("div",P2,[(O(),ke(v,{missionBtn:"",homeBtn:!h(c),missionData:h(r).missionDailyData,onAnotherMonth:g,ref_key:"missionCalendar",ref:d,key:h(i)},null,8,["homeBtn","missionData"])),h(r).missionDailyData.calender.today_check?re("",!0):(O(),H("div",O2,[f("button",{onClick:b,type:"button",class:"check_in_btn"},$(k.$t("check_in_now")),1),f("button",{onClick:l,type:"button",class:"skip_later_btn"},$(k.$t("skip_for_later")),1)]))],512),[[pn,h(a)==1]]),yt(f("div",x2,[f("div",M2,[f("div",D2,$(k.$t("check_in_successful_exclamation_mark")),1),f("div",N2,[f("div",V2,[f("div",B2,[h(a)==2?(O(),ke(_,{key:0,file:"reward-light.json",width:310})):re("",!0)]),f("div",$2,[h(a)==2?(O(),ke(_,{key:0,file:"gold-coins.json",width:310})):re("",!0)]),F2])]),f("div",U2,[f("div",H2,$(k.$t("you_have_won")),1),f("div",j2,[f("span",W2,$(h(m)),1)])]),f("div",q2,[f("button",{class:"mt-8 btn merchant_text_color text-sm !py-3 bg-main mx-auto !block uppercase",style:{"min-width":"200px"},onClick:l},$(k.$t("okay")),1)])])],512),[[pn,h(a)==2]])])):re("",!0)]),_:1},8,["show"])}}},K2=Rt(z2,[["__scopeId","data-v-aff3d2b4"]]),G2=f("path",{d:"M10.8,10.8H9.2V6h1.6m0,8H9.2V12.4h1.6M10,2a8,8,0,1,0,8,8,8,8,0,0,0-8-8Z",transform:"translate(-2 -2)",fill:"#9c9a9e"},null,-1),Y2=[G2],Z2={__name:"Tooltip",props:{direction:{type:String,required:!0},width:{type:Number,default:200}},setup(e){const t=e,n=M(!1),o=()=>{n.value=!0,l()},r=()=>{n.value=!1},s=M(),i=M(),a=M({top:0,left:0}),l=()=>{let c=s.value.getBoundingClientRect(),u=i.value.getBoundingClientRect(),d={};t.direction=="top"?d={top:c.y-u.height-5,left:c.x}:t.direction=="topleft"?d={top:c.y-u.height-5,left:c.x-u.width+15}:t.direction=="bottom"?d={top:c.y+23,left:c.x}:t.direction=="left"?d={top:c.y,left:c.x-u.width-8}:t.direction=="right"&&(d={top:c.y,left:c.x+25}),d.left<0&&(d.left=16),d.top<0&&(d.top=16),a.value=d};return ht(async()=>{s.value.addEventListener("mouseenter",o),s.value.addEventListener("mouseleave",r)}),Nt(()=>{s.value&&(s.value.removeEventListener("mouseenter",o),s.value.removeEventListener("mouseleave",r))}),(c,u)=>(O(),H("div",null,[(O(),H("svg",{ref_key:"tooltip",ref:s,class:"cursor-pointer",xmlns:"http://www.w3.org/2000/svg",width:"15",viewBox:"0 0 16 16"},Y2,512)),(O(),ke(zs,{to:"body"},[f("div",{ref_key:"dialog",ref:i,style:an([[{top:`${h(a).top}px`},{left:`${h(a).left}px`},{"max-width":`${e.width}px`}],{"z-index":"9999999"}]),class:Ce([{invisible:!h(n)},"fixed shadow bg-[#626262] rounded-md text-sm text-white px-4 py-3 top-0 left-0"])},[Lo(c.$slots,"default")],6)]))]))}},J2=Z2;const Q2=e=>(tn("data-v-7811ab20"),e=e(),nn(),e),X2={class:"o-input-wrapper"},eE=["type","placeholder","required","maxlength","id","name","disabled"],tE={class:"o-icon password_icon",style:{top:"50%"}},nE=Q2(()=>f("g",{"data-name":"Group 26320"},[f("g",{"data-name":"Group 26319",fill:"currentColor"},[f("path",{"data-name":"Path 47473",d:"M17.456 7.141a4.761 4.761 0 1 0 4.761 4.761 4.764 4.764 0 0 0-4.761-4.761Z"}),f("path",{"data-name":"Path 47474",d:"M17.456 0A18.768 18.768 0 0 0 0 11.902a18.752 18.752 0 0 0 34.911 0A18.76 18.76 0 0 0 17.456 0Zm0 19.836a7.934 7.934 0 1 1 7.934-7.934 7.937 7.937 0 0 1-7.934 7.931Z"})])],-1)),oE=[nE],rE=Gs('<g data-name="Group 27581" data-v-7811ab20><g data-name="Group 27580" fill="currentColor" data-v-7811ab20><path data-name="Path 90594" d="m17.19 9.543 5 5 .024-.262a4.763 4.763 0 0 0-4.759-4.76Z" data-v-7811ab20></path><path data-name="Path 90595" d="M17.451 6.346a7.935 7.935 0 0 1 7.933 7.933 7.809 7.809 0 0 1-.563 2.9l4.641 4.641a18.842 18.842 0 0 0 5.45-7.536 18.774 18.774 0 0 0-17.459-11.9 18.554 18.554 0 0 0-6.322 1.111l3.427 3.419a7.972 7.972 0 0 1 2.893-.568Z" data-v-7811ab20></path><path data-name="Path 90596" d="M1.586 2.023 5.2 5.64l.722.722A18.791 18.791 0 0 0 0 14.279a18.741 18.741 0 0 0 24.408 10.558l.674.674 4.625 4.636 2.023-2.015L3.609 0Zm8.773 8.765 2.451 2.451a5.027 5.027 0 0 0-.119 1.039 4.763 4.763 0 0 0 4.76 4.76 4.89 4.89 0 0 0 1.031-.119l2.451 2.451a7.8 7.8 0 0 1-3.482.841 7.881 7.881 0 0 1-7.091-11.423Z" data-v-7811ab20></path></g></g>',1),sE=[rE],iE={class:"mt-2"},aE={__name:"PasswordInput",props:{modelValue:String,placeholder:String,required:Boolean,name:String,inputId:String,maxLengths:Number,tooltip:Boolean,selectClass:String,disabled:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=M("password"),r=M(""),s=()=>{o.value=="password"?o.value="text":o.value="password"},i=a=>{t("update:modelValue",a.target.value)};return Te(()=>n.modelValue,a=>{r.value=a}),(a,l)=>{const c=J2;return O(),H("div",X2,[yt(f("input",{type:h(o),placeholder:e.placeholder,required:e.required,minlength:"6",maxlength:e.maxLengths||20,class:Ce(["o-input o-2 password_input_right",`${e.selectClass} ${e.tooltip?"with_tooltip":""}`]),onInput:i,"onUpdate:modelValue":l[0]||(l[0]=u=>me(r)?r.value=u:null),autocomplete:"off",id:e.inputId,name:e.name,disabled:e.disabled},null,42,eE),[[f0,h(r)]]),f("div",tE,[h(o)!="password"?(O(),H("svg",{key:0,onClick:s,xmlns:"http://www.w3.org/2000/svg",class:"w-[20px] md:w-[20px] color-primary-text-base",viewBox:"0 0 34.911 23.803"},oE)):(O(),H("svg",{key:1,onClick:s,xmlns:"http://www.w3.org/2000/svg",class:"w-[20px] md:w-[20px] color-primary-text-base",viewBox:"0 0 34.911 30.145"},sE)),e.tooltip?(O(),ke(c,{key:2,class:"ml-2",direction:"topleft",width:200},{default:Ae(()=>[f("div",null,"*"+$(a.$t("password_tooltip_note",{symbol:"(!@#%^&*()_+)"})),1),f("div",iE,$(a.$t("password_tooltip_2",{password_eg:"Crazyslot1@"})),1)]),_:1})):re("",!0)])])}}},yl=Rt(aE,[["__scopeId","data-v-7811ab20"]]);const lE=["checked","required"],cE={__name:"Checkbox",props:{modelValue:{type:[Boolean,Array],required:!0},value:String,switch:Boolean,required:Boolean,size:Number,reverse:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=be(()=>typeof n.modelValue=="boolean"?n.modelValue:Array.isArray(n.modelValue)&&n.value?n.modelValue.indexOf(n.value)>-1:!1),r=()=>{if(typeof n.modelValue=="boolean"){t("update:modelValue",!n.modelValue);return}Array.isArray(n.modelValue)&&n.value&&(n.modelValue.indexOf(n.value)>-1?t("update:modelValue",n.modelValue.filter(s=>s!=n.value)):t("update:modelValue",[...n.modelValue,n.value]))};return(s,i)=>(O(),H("div",{class:Ce(["o-checkbox-wrapper",{reverse:e.reverse}])},[f("div",{class:Ce(["o-checkbox",{"o-switch":s.$props.switch,checked:h(o)}]),onClick:r,style:an({fontSize:e.size?`${e.size}px`:"1rem"})},null,6),f("input",{type:"checkbox",checked:h(o),style:{display:"none"},required:e.required},null,8,lE),f("label",{class:"form-check-label o-checkbox-label",onClick:r},[Lo(s.$slots,"default",{},void 0,!0)])],2))}},Ih=Rt(cE,[["__scopeId","data-v-c26c9c19"]]);const uE={__name:"Modal",props:{show:Boolean,clickClose:Boolean,containerClass:String,wrapperClass:String,maxWidth:{type:Number,default:500}},emits:["close"],setup(e,{emit:t}){const n=e,o=M(),r=a=>{n.clickClose&&a.target==o.value&&t("close")},s=a=>{a.key=="Escape"&&t("close")},i=Et();return Te(()=>n.show,a=>{a?(document.addEventListener("keyup",s),i.noScrollCount++):(document.removeEventListener("keyup",s),i.noScrollCount--)}),Nt(()=>{n.show&&(document.removeEventListener("keyup",s),i.noScrollCount--)}),(a,l)=>(O(),ke(zs,{to:"body"},[f("div",{class:Ce(["fmodal-overlay",`${e.show?"show":""}`])},[f("div",{class:Ce(["fmodal-wrapper",`${e.wrapperClass}`]),onClick:r,ref_key:"wrapper",ref:o},[f("div",{class:Ce(["fmodal-content bg-modal relative p-4 sm:p-5 rounded-[5px] md:rounded-3xl w-full shadow-lg",e.containerClass]),style:an({maxWidth:`${e.maxWidth}px`})},[Lo(a.$slots,"default",{},void 0,!0)],6)],2)],2)]))}},On=Rt(uE,[["__scopeId","data-v-a2e94d52"]]),Po=""+new URL("close.58809fe2.svg",import.meta.url).href,dE=f("img",{class:"w-4 h-4",src:Po,alt:"close"},null,-1),fE=[dE],hE={class:"font-bold text-center py-6"},pE={class:"grid gap-4"},mE={class:"grid gap-1"},vE=["placeholder"],gE={class:"grid gap-1"},bE={type:"submit",class:"mt-5 btn main uppercase max-w-[150px] mx-auto font-bold w-full !text-white"},yE={class:"grid gap-3"},wE={class:"text-xs flex items-center justify-center gap-3"},_E={__name:"LoginModal",setup(e){const{$api:t,$toast:n}=ye(),o=Ct(),r=Et(),s=Ot("triggerRegister"),i=()=>{s()},a=()=>{r.loginModal=!1},l=()=>{r.loginModal=!1,r.forgotPasswordModal=!0},c=M("");Te(()=>c.value,b=>{/\s/g.test(b)&&(c.value=c.value.replace(/\s/g,""))});const u=M(""),d=M(!1),p=M(!1),g=Cn(),m=async b=>{if(!b.isValid)return;p.value=!0;let k={username:c.value,password:u.value};o.public.AUTH_MOBILE_CHECK?k.mobile_check=1:k.mobile_check=0;const w=await g.login(k);if(p.value=!1,!w.status){n(w.status,w.msg);return}d.value?window.localStorage.setItem("username",c.value):window.localStorage.removeItem("username"),r.loginModal=!1};return(b,k)=>{const w=$n("DError"),v=yl,_=Ih,y=$n("DForm"),E=On,C=Td("track");return O(),H("div",null,[ee(E,{show:h(r).loginModal,"max-width":550,onClose:a},{default:Ae(()=>[f("div",{class:"relative"},[f("button",{type:"button",class:"absolute top-[22px] right-[20px]",onClick:a},fE)]),f("div",hE,$(b.$t("login")),1),ee(y,{onSubmit:m,novalidate:""},{default:Ae(()=>[f("div",pE,[f("div",mE,[yt(f("input",{type:"text",class:"o-input mobile-big",placeholder:b.$t("username"),"onUpdate:modelValue":k[0]||(k[0]=T=>me(c)?c.value=T:null)},null,8,vE),[[zt,h(c)]]),ee(w,{modelValue:h(c),"onUpdate:modelValue":k[1]||(k[1]=T=>me(c)?c.value=T:null),required:""},null,8,["modelValue"])]),f("div",gE,[ee(v,{selectClass:"mobile-big",modelValue:h(u),"onUpdate:modelValue":k[2]||(k[2]=T=>me(u)?u.value=T:null),placeholder:b.$t("password")},null,8,["modelValue","placeholder"]),ee(w,{modelValue:h(u),"onUpdate:modelValue":k[3]||(k[3]=T=>me(u)?u.value=T:null),required:"",minlength:"6",maxlength:"16"},null,8,["modelValue"])]),f("button",bE,$(b.$t("login")),1),ee(_,{class:"w-full",modelValue:h(d),"onUpdate:modelValue":k[4]||(k[4]=T=>me(d)?d.value=T:null)},{default:Ae(()=>[jt($(b.$t("remember_me")),1)]),_:1},8,["modelValue"]),f("div",yE,[f("div",wE,[f("span",null,$(b.$t("not_a_member")),1),yt((O(),H("button",{type:"button",onClick:i},[f("span",null,$(b.$t("join_now")),1)])),[[C,"reg_btn_2"]])]),f("button",{onClick:l,type:"button",class:"text-xs text-text-light text-center"},$(b.$t("forgot_password")),1)])])]),_:1})]),_:1},8,["show"])])}}},EE=_E,kE=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),CE=(e,t)=>{const n=e.route.matched.find(r=>{var s;return((s=r.components)==null?void 0:s.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&kE(e.route,n));return typeof o=="function"?o(e.route):o},TE=(e,t)=>({default:()=>e?qt(Qp,e===!0?{}:e,t):t}),Aa=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?qt(e,t,n):(o=n.default)==null?void 0:o.call(n)}}),Ph=Symbol("layout-meta"),AE=gn({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=ye(),o=Ot("_route"),r=o===cn()?ti():o,s=be(()=>h(e.name)??r.meta.layout??"default"),i=M();return t.expose({layoutRef:i}),()=>{const a=n.deferHydration(),l=s.value&&s.value in $o,c=r.meta.layoutTransition??_v;return Aa(Zs,l&&c,{default:()=>qt(Ua,{suspensible:!0,onResolve:()=>{ft(a)}},{default:()=>Aa(LE,l&&{layoutProps:$d(t.attrs,{ref:i}),key:s.value,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots).default()})}).default()}}}),LE=gn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:String},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){if(e.shouldProvide){const n=e.name;Bt(Ph,{isCurrent:o=>n===(o.meta.layout??"default")})}return()=>qt($o[e.name],e.layoutProps,t.slots)}}),RE=gn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const o=ye(),r=M();n({pageRef:r});const s=Ot(Ph,null);let i;return()=>qt(xf,{name:e.name,route:e.route,...t},{default:a=>{if(!a.Component)return;if(i&&s&&!s.isCurrent(a.route))return i;const l=CE(a,e.pageKey),c=o.deferHydration(),u=!!(e.transition??a.route.meta.pageTransition??Qi),d=u&&IE([e.transition,a.route.meta.pageTransition,Qi,{onAfterLeave:()=>{o.callHook("page:transition:finish",a.Component)}}].filter(Boolean));return i=Aa(Zs,u&&d,TE(e.keepalive??a.route.meta.keepalive??Ev,qt(Ua,{suspensible:!0,onPending:()=>o.callHook("page:start",a.Component),onResolve:()=>{ft(()=>o.callHook("page:finish",a.Component).finally(c))}},{default:()=>qt(PE,{key:l,routeProps:a,pageKey:l,hasTransition:u,pageRef:r})}))).default(),i}})}});function SE(e){return Array.isArray(e)?e:e?[e]:[]}function IE(e){const t=e.map(n=>({...n,onAfterLeave:SE(n.onAfterLeave)}));return Sv(...t)}const PE=gn({name:"RouteProvider",props:["routeProps","pageKey","hasTransition","pageRef"],setup(e){const t=e.pageKey,n=e.routeProps.route,o={};for(const r in e.routeProps.route)o[r]=be(()=>t===e.pageKey?e.routeProps.route[r]:n[r]);return Bt("_route",en(o)),()=>qt(e.routeProps.Component,{ref:e.pageRef})}}),OE=""+new URL("spinner.b34b5485.svg",import.meta.url).href,xE={},ME={src:OE,class:"mx-auto",style:{height:"2.25rem"}};function DE(e,t){return O(),H("img",ME)}const di=Rt(xE,[["render",DE]]);const NE={class:"flex justify-center"},VE=["data-index","onPaste"],BE={__name:"PinInput",props:{modelValue:String,length:Number},emits:["update:modelValue","complete"],setup(e,{expose:t,emit:n}){const o=e,r=M(),s=u=>{const d=u.target.dataset.index;(u.code=="Backspace"||u.key=="Backspace")&&u.target.value.length<1&&d>0&&r.value[parseInt(d)-1].focus()},i=u=>{const d=u.target;d.value=d.value.trim();const p=d.dataset.index;if(d.value.length>1)if(p<r.value.length-1){var g=d.value.charAt(d.value.length-1);d.value=d.value.charAt(0),r.value[parseInt(p)+1].value=g,r.value[parseInt(p)+1].focus()}else d.value=d.value.charAt(d.value.length-1);setTimeout(()=>{let m="";for(let b=0;b<r.value.length;b++)m+=r.value[b].value;d.value.length>0?(p<r.value.length-1&&r.value[parseInt(p)+1].focus(),m.length>=o.length&&(d.blur(),n("complete",m))):p>0&&r.value[parseInt(p)-1].focus(),n("update:modelValue",m)},50)};t({focusStart:()=>{r.value[0].focus()},clear:()=>{for(let u=0;u<r.value.length;u++)r.value[u].value=""}});const c=(u,d)=>{};return(u,d)=>(O(),H("div",NE,[(O(!0),H(Se,null,Qt(e.length,p=>(O(),H("input",{type:"number",key:p,class:"o-input o-number mx-2 pin-input",autocomplete:"off",onKeyup:s,onInput:i,"data-index":p-1,ref_for:!0,ref_key:"pins",ref:r,onPaste:g=>c()},null,40,VE))),128))]))}},wl=Rt(BE,[["__scopeId","data-v-46c8b7d6"]]);const $E=e=>(tn("data-v-38c0a06f"),e=e(),nn(),e),FE=$E(()=>f("img",{class:"w-4 h-4",src:Po,alt:"close"},null,-1)),UE=[FE],HE={class:"p-4 mx-auto",style:{"max-width":"500px"}},jE={class:"relative text-center mt-3"},WE={class:"font-bold uppercase text-auth-title text-lg md:text-lg"},qE={class:"pt-6"},zE={class:"mx-auto",style:{"max-width":"500px"}},KE={class:"grid gap-6"},GE={class:"grid gap-1"},YE=["placeholder"],ZE={key:0,type:"submit",class:"btn btn-primary !block mx-auto uppercase w-1/2"},JE={class:"pt-5 md:pb-8"},QE={class:"mt-5 text-center text-xs"},XE={class:"mt-2 text-center text-base font-bold"},e3={class:"relative mt-6"},t3={class:"mt-2 text-center"},n3={class:"relative mt-8 flex justify-center"},o3={key:0,type:"submit",class:"btn btn-primary !block mx-auto uppercase w-full max-w-[350px]"},r3={class:"relative mt-6 text-center text-xs"},s3=["href"],i3={class:"relative mt-6 text-center text-xs"},a3=["disabled"],l3={class:"mx-auto",style:{"max-width":"500px"}},c3={class:"grid gap-4"},u3={class:"mt-1"},d3={class:"mt-1"},f3={key:0,type:"submit",class:"btn btn-primary !block mx-auto uppercase w-1/2"},h3={__name:"ForgotPasswordModal",props:{show:Boolean},emits:["close","submit"],setup(e,{emit:t}){const n=Ct(),{$api:o,$toast:r}=ye(),s=S=>{t("close")},i=M(1);Ot("triggerLogin"),M("");const a=M(""),l=M(!1),c=S=>{!S.isValid||l.value||(i.value==1?p():i.value==2&&m())},u=M("***"),d=()=>{ft(()=>{m()})},p=async()=>{if(l.value)return;l.value=!0;const S=await o("user/request-forget-tac",{sendType:"mobile",type:"forget",username:a.value});if(l.value=!1,!S.status){S.code==140014?(u.value=S.data.data,i.value=2,ft(()=>{C()})):r(!1,S.msg);return}ft(()=>{C()}),u.value=S.data.data,i.value=2},g=M("");M();const m=async S=>{if(g.value.length!=n.public.OTP_LENGTH||l.value)return;l.value=!0;const A=await o("user/verify-forget-tac",{username:a.value,otp:g.value,sendType:"mobile",type:"forget"});if(l.value=!1,!A.status){r(!1,A.msg);return}ft(()=>{i.value=3})},b=M(""),k=M(""),w=M(!1),v=async S=>{if(!S.isValid)return;w.value=!0;const A=await o("user/reset-login-password",{username:a.value,new_password:b.value,confirm_new_password:k.value,otp:g.value});if(w.value=!1,!A.status){r(!1,A.msg);return}t("close"),t("submit")};Et();let _=null;const y=M(120),E=M(!1),C=()=>{E.value=!1,y.value=120,clearInterval(_),_=setInterval(()=>{y.value=y.value-1,y.value<=0&&(E.value=!0,clearInterval(_),_=null)},1e3)},T=()=>{C(),p()};return(S,A)=>{const j=$n("DError"),N=di,V=$n("DForm"),W=wl,Y=yl,ce=On;return O(),ke(ce,{show:e.show,onClose:s,maxWidth:550,containerClass:"!px-0 !pt-0 h-full md:h-auto rounded-none md:rounded-[5px] bg-auth-modal"},{default:Ae(()=>[f("div",null,[f("div",{class:"relative"},[f("button",{type:"button",class:"absolute top-[22px] right-[20px]",onClick:s},UE)]),f("div",HE,[f("div",jE,[f("div",WE,$(h(i)==1||h(i)==2?S.$t("forgot_password"):S.$t("reset_password")),1)]),f("div",qE,[yt(f("div",zE,[ee(V,{onSubmit:c},{default:Ae(()=>[f("div",KE,[f("div",GE,[yt(f("input",{type:"text",class:"o-input mobile-big",placeholder:S.$t("username"),"onUpdate:modelValue":A[0]||(A[0]=ne=>me(a)?a.value=ne:null)},null,8,YE),[[zt,h(a)]]),ee(j,{modelValue:h(a),"onUpdate:modelValue":A[1]||(A[1]=ne=>me(a)?a.value=ne:null),required:""},null,8,["modelValue"])]),f("div",null,[h(l)?(O(),ke(N,{key:1})):(O(),H("button",ZE,$(h(i)==1?S.$t("get_otp"):S.$t("submit")),1))])])]),_:1})],512),[[pn,h(i)==1]]),yt(f("div",null,[f("div",JE,[ee(V,{onSubmit:m,novalidate:""},{default:Ae(()=>[f("div",QE,$(S.$t("forgot_password_memo_mobile")),1),f("div",XE,$(h(u)),1),f("div",e3,[ee(W,{length:h(n).public.OTP_LENGTH,modelValue:h(g),"onUpdate:modelValue":A[2]||(A[2]=ne=>me(g)?g.value=ne:null),onComplete:d},null,8,["length","modelValue"])]),f("div",t3,[ee(j,{modelValue:h(g),"onUpdate:modelValue":A[3]||(A[3]=ne=>me(g)?g.value=ne:null),required:""},null,8,["modelValue"])]),f("div",n3,[h(l)?(O(),ke(N,{key:1})):(O(),H("button",o3,$(S.$t("verify")),1))])]),_:1}),f("div",r3,[jt($(S.$t("having_any_issue_question_mark"))+" ",1),f("a",{target:"_blank",href:S.localePath("/contact-us"),type:"button",class:"text-primary"},$(S.$t("contact_customer_support")),9,s3)]),f("div",i3,[jt($(S.$t("didnt_receive_the_pin_number"))+" ",1),f("button",{type:"button",class:Ce(["text-[#50A69A] inline",{"opacity-80":!h(E)}]),disabled:!h(E),onClick:T},$(S.$t("resend_code_n",{n:`${h(y)}s`})),11,a3)])])],512),[[pn,h(i)==2]]),yt(f("div",l3,[ee(V,{onSubmit:v,novalidate:""},{default:Ae(()=>[f("div",c3,[f("div",null,[ee(Y,{placeholder:S.$t("enter_your_password"),modelValue:h(b),"onUpdate:modelValue":A[4]||(A[4]=ne=>me(b)?b.value=ne:null),tooltip:"",selectClass:"login-inp mobile-big"},null,8,["placeholder","modelValue"]),f("div",u3,[ee(j,{modelValue:h(b),"onUpdate:modelValue":A[5]||(A[5]=ne=>me(b)?b.value=ne:null),required:"",minlength:"6",maxlength:"16"},null,8,["modelValue"])])]),f("div",null,[ee(Y,{placeholder:S.$t("enter_your_confirm_password"),modelValue:h(k),"onUpdate:modelValue":A[6]||(A[6]=ne=>me(k)?k.value=ne:null),tooltip:"",selectClass:"login-inp mobile-big"},null,8,["placeholder","modelValue"]),f("div",d3,[ee(j,{modelValue:h(k),"onUpdate:modelValue":A[7]||(A[7]=ne=>me(k)?k.value=ne:null),required:"",equalto:h(b)},null,8,["modelValue","equalto"])])]),f("div",null,[h(w)?(O(),ke(N,{key:1})):(O(),H("button",f3,$(S.$t("submit")),1))])])]),_:1})],512),[[pn,h(i)==3]])])])])]),_:1},8,["show"])}}},p3=Rt(h3,[["__scopeId","data-v-38c0a06f"]]),m3=""+new URL("success.e5d771b1.svg",import.meta.url).href,v3=""+new URL("fail.7fe7b125.svg",import.meta.url).href;const g3=e=>(tn("data-v-6fae9e92"),e=e(),nn(),e),b3=g3(()=>f("img",{src:Po,class:"w-4 h-4"},null,-1)),y3=[b3],w3={class:"text-center"},_3={class:"mb-4 md:mb-6 mt-8 text-center"},E3={__name:"StatusModal",props:{show:Boolean,success:{type:Boolean,default:!0},cta:{type:String,default:"OK"},lottie:{type:String,default:"default"}},emits:["close"],setup(e,{emit:t}){const n=o=>{t("close",o)};return(o,r)=>{const s=ui,i=On;return O(),ke(i,{show:e.show,onClose:n},{default:Ae(()=>[f("button",{class:"absolute top-4 right-4",onClick:n},y3),e.lottie=="default"?(O(),H(Se,{key:0},[e.success?(O(),H("img",{key:0,src:m3,class:Ce(["mx-auto mt-4 md:mt-8 mb-5 md:mb-6 w-[80px] sm:w-[100px]",{fadeIn:e.show}])},null,2)):(O(),H("img",{key:1,src:v3,class:Ce(["mx-auto mt-4 md:mt-8 mb-5 md:mb-6 w-[80px] sm:w-[100px]",{fadeIn:e.show}])},null,2))],64)):(O(),H(Se,{key:1},[e.show?(O(),ke(s,{key:0,class:"mb-5",file:e.lottie,width:100},null,8,["file"])):re("",!0)],64)),f("div",w3,[Lo(o.$slots,"default",{},void 0,!0)]),f("div",_3,[f("button",{class:"btn bg-main merchant_text_color mx-auto uppercase !py-3 w-full font-bold !rounded-[22px]",style:{"max-width":"240px"},onClick:r[0]||(r[0]=a=>n(!0))},$(e.cta),1)])]),_:3},8,["show"])}}},k3=Rt(E3,[["__scopeId","data-v-6fae9e92"]]),C3={class:"text-center"},T3={class:"text-center"},A3={__name:"ForgotPassword",setup(e){const t=Et(),n=M(!1),o=M(1),r=()=>{n.value=!0,localStorage.removeItem("_cd_forgotPassword"),setTimeout(()=>{o.value++},400)};return(s,i)=>{const a=p3,l=k3;return O(),H("div",null,[(O(),ke(a,{key:h(o),show:h(t).forgotPasswordModal,onClose:i[0]||(i[0]=c=>h(t).forgotPasswordModal=!1),onSubmit:r},null,8,["show"])),ee(l,{show:h(n),onClose:i[1]||(i[1]=c=>n.value=!1),cta:s.$t("login_now")},{default:Ae(()=>[f("div",C3,$(s.$t("password_changed_successfully")),1),f("div",T3,$(s.$t("your_password_has_been_updated")),1)]),_:1},8,["show","cta"])])}}},L3=A3,R3=""+globalThis.__publicAssetsURL("img/ios_img.png");const Hn=e=>(tn("data-v-0826cd93"),e=e(),nn(),e),S3={class:"relative pt-2 max-w-[300px] mx-auto"},I3=Hn(()=>f("img",{src:Po},null,-1)),P3=[I3],O3={class:"ios_modal_text_1 font-black"},x3={class:"ios_modal_text_2"},M3=Hn(()=>f("div",{class:"ios_modal_img"},[f("img",{src:R3,alt:"ios_img"}),f("div",{class:"ios_modal_number_1"},"1")],-1)),D3={class:"ios_modal_box ios_modal_box_1 mt-1"},N3=Hn(()=>f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.664 25.42"},[f("path",{id:"Path_93683","data-name":"Path 93683",d:"M338.055,367.123v-2.437a3.133,3.133,0,0,1,.765-2.3,3.091,3.091,0,0,1,2.279-.773h4.022a3.761,3.761,0,0,1,1.278.2,2.791,2.791,0,0,1,1.065.7l5.418,5.49a2.868,2.868,0,0,1,.711,1.1,4.247,4.247,0,0,1,.2,1.381v8.494a3.135,3.135,0,0,1-.765,2.3,3.047,3.047,0,0,1-2.272.772h-2.208v-1.4h2.138a1.533,1.533,0,0,0,1.711-1.7V370.08h-5.017a1.709,1.709,0,0,1-1.229-.394,1.676,1.676,0,0,1-.41-1.246v-5.426h-4.566a1.544,1.544,0,0,0-1.72,1.7v2.406Zm8.951,1.128a.469.469,0,0,0,.561.56H352l-4.993-5.056Zm-13.881,15.718v-14.3a3.135,3.135,0,0,1,.765-2.3,3.065,3.065,0,0,1,2.272-.772h3.668a5.151,5.151,0,0,1,.906.07,2.283,2.283,0,0,1,.726.26,3.2,3.2,0,0,1,.678.544l5.844,5.923a3.56,3.56,0,0,1,.552.7,2.119,2.119,0,0,1,.252.741,5.771,5.771,0,0,1,.071.986v8.139a3.135,3.135,0,0,1-.765,2.3,3.047,3.047,0,0,1-2.272.772h-9.661a3.075,3.075,0,0,1-2.279-.772A3.139,3.139,0,0,1,333.126,383.969Zm1.4-.024a1.533,1.533,0,0,0,1.711,1.7h9.512a1.724,1.724,0,0,0,1.286-.442,1.7,1.7,0,0,0,.434-1.254V375.83H341.6a1.828,1.828,0,0,1-1.333-.442,1.8,1.8,0,0,1-.449-1.341V368h-3.573a1.544,1.544,0,0,0-1.72,1.7Zm7.232-9.433h5.434l-6.057-6.136v5.514a.525.525,0,0,0,.623.622Z",transform:"translate(-333.126 -361.617)"})])],-1)),V3={class:"ios_modal_box ios_modal_box_2 mt-1"},B3=Hn(()=>f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 31.909 12.572"},[f("path",{id:"Path_93686","data-name":"Path 93686",d:"M335.394,440.963a6.161,6.161,0,0,1-2.446-.489,6.433,6.433,0,0,1-2-1.349,6.352,6.352,0,0,1-1.357-2,6.344,6.344,0,0,1,0-4.882,6.251,6.251,0,0,1,1.357-2,6.387,6.387,0,0,1,2-1.356,6.335,6.335,0,0,1,4.883,0,6.259,6.259,0,0,1,2,1.356,6.31,6.31,0,0,1,1.349,6.886,6.308,6.308,0,0,1-3.352,3.352A6.1,6.1,0,0,1,335.394,440.963Zm0-1.459a4.651,4.651,0,0,0,1.869-.379,4.9,4.9,0,0,0,1.538-1.04,4.8,4.8,0,0,0,1.033-1.538,4.8,4.8,0,0,0,0-3.738,4.808,4.808,0,0,0-2.571-2.572,4.828,4.828,0,0,0-3.746,0,4.817,4.817,0,0,0-1.538,1.034,4.9,4.9,0,0,0-1.04,1.538,4.7,4.7,0,0,0-.371,1.869,4.76,4.76,0,0,0,.371,1.877,5.027,5.027,0,0,0,1.04,1.538,4.919,4.919,0,0,0,1.538,1.041A4.766,4.766,0,0,0,335.394,439.5Zm15.545,1.459a6.174,6.174,0,0,1-2.453-.489,6.308,6.308,0,0,1-3.352-3.352,6.344,6.344,0,0,1,0-4.882,6.347,6.347,0,0,1,3.352-3.36,6.173,6.173,0,0,1,2.453-.489,6.077,6.077,0,0,1,2.429.489,6.388,6.388,0,0,1,3.36,3.36,6.333,6.333,0,0,1,0,4.882,6.348,6.348,0,0,1-3.36,3.352A6.078,6.078,0,0,1,350.94,440.963Zm0-1.459a4.744,4.744,0,0,0,1.869-.371,4.855,4.855,0,0,0,2.571-2.58,4.667,4.667,0,0,0,.378-1.877,4.611,4.611,0,0,0-.378-1.869,4.807,4.807,0,0,0-2.571-2.572,4.828,4.828,0,0,0-3.746,0,4.818,4.818,0,0,0-1.538,1.034,4.89,4.89,0,0,0-1.04,1.538,4.887,4.887,0,0,0,0,3.738,4.9,4.9,0,0,0,2.579,2.579A4.671,4.671,0,0,0,350.94,439.5Zm-21.248-5.986v1.766h-1.774a.624.624,0,0,1-.71-.7v-.363a.624.624,0,0,1,.71-.7Zm26.942,1.766v-1.766h1.774a.624.624,0,0,1,.71.7v.363a.624.624,0,0,1-.71.7Zm-15.38-.378v-1.657a3.648,3.648,0,0,1,.955-.292,4.885,4.885,0,0,1,1.908,0,3.648,3.648,0,0,1,.955.292v1.657a3.066,3.066,0,0,0-.915-.363,4.346,4.346,0,0,0-.994-.119,4.449,4.449,0,0,0-1,.119A3.082,3.082,0,0,0,341.254,434.906Z",transform:"translate(-327.208 -428.391)"})])],-1)),$3={class:"ios_modal_box ios_modal_box_3"},F3=Hn(()=>f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.36 18.543"},[f("path",{id:"Path_93689","data-name":"Path 93689",d:"M332.229,492.336V478.542a1.094,1.094,0,0,1,.024-.237.984.984,0,0,1,.1-.245,4.832,4.832,0,0,1,1.325-1.411,7.167,7.167,0,0,1,2.042-1.018,8.039,8.039,0,0,1,2.525-.387,7.234,7.234,0,0,1,3.052.623,5.52,5.52,0,0,1,2.122,1.593,5.519,5.519,0,0,1,2.122-1.593,7.214,7.214,0,0,1,3.044-.623,7.986,7.986,0,0,1,2.523.387,7.063,7.063,0,0,1,2.035,1.018,4.8,4.8,0,0,1,1.333,1.411.692.692,0,0,1,.094.245,1.04,1.04,0,0,1,.024.237v13.794a.871.871,0,0,1-.292.741,1.054,1.054,0,0,1-.67.229.907.907,0,0,1-.434-.11,4.88,4.88,0,0,1-.449-.26,6.38,6.38,0,0,0-1.893-1,6.952,6.952,0,0,0-2.24-.348,6.186,6.186,0,0,0-2.263.449,6.046,6.046,0,0,0-1.972,1.294,1.666,1.666,0,0,1-.5.354,1.107,1.107,0,0,1-.931,0,1.761,1.761,0,0,1-.5-.354,5.785,5.785,0,0,0-1.972-1.3,6.277,6.277,0,0,0-2.264-.442,6.947,6.947,0,0,0-2.239.348,6.5,6.5,0,0,0-1.893,1,5.013,5.013,0,0,1-.449.26.907.907,0,0,1-.434.11,1.052,1.052,0,0,1-.67-.229A.871.871,0,0,1,332.229,492.336Zm1.4-.781a6.367,6.367,0,0,1,2-.994,8.859,8.859,0,0,1,2.611-.371,6.928,6.928,0,0,1,1.727.213,7.532,7.532,0,0,1,1.537.568,6.437,6.437,0,0,1,1.207.772V478.8a3.994,3.994,0,0,0-1.774-1.577,6.08,6.08,0,0,0-2.7-.584,6.684,6.684,0,0,0-1.861.26,6.04,6.04,0,0,0-1.617.726,3.872,3.872,0,0,0-1.135,1.088Zm10.481.189a6.5,6.5,0,0,1,1.207-.772,7.6,7.6,0,0,1,1.531-.568,7.017,7.017,0,0,1,1.735-.213,8.883,8.883,0,0,1,2.619.371,6.261,6.261,0,0,1,2,.994v-12.84a3.884,3.884,0,0,0-1.135-1.088,5.91,5.91,0,0,0-1.61-.726,6.709,6.709,0,0,0-1.869-.26,6.062,6.062,0,0,0-2.69.584,4.048,4.048,0,0,0-1.782,1.577Z",transform:"translate(-332.229 -475.244)"})])],-1)),U3={class:"ios_modal_box ios_modal_box_4"},H3=Hn(()=>f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.503 18.439"},[f("path",{id:"Path_93699","data-name":"Path 93699",d:"M351.614,626.487a3.161,3.161,0,0,1,.734,1.1,4.99,4.99,0,0,1,.332,1.373,14.88,14.88,0,0,1,.086,1.664v7.824a14.88,14.88,0,0,1-.086,1.664,4.974,4.974,0,0,1-.332,1.372,3.262,3.262,0,0,1-.734,1.105,3.32,3.32,0,0,1-1.113.741,5.255,5.255,0,0,1-1.38.339,14.64,14.64,0,0,1-1.665.087h-7.886a14.639,14.639,0,0,1-1.665-.087,5.255,5.255,0,0,1-1.38-.339,3.437,3.437,0,0,1-1.113-.741,3.261,3.261,0,0,1-.734-1.105,5.377,5.377,0,0,1-.332-1.372,14.88,14.88,0,0,1-.086-1.664v-7.879a11.464,11.464,0,0,1,.213-2.327,3.381,3.381,0,0,1,.946-1.75,3.469,3.469,0,0,1,1.759-.955,11.149,11.149,0,0,1,2.335-.22h7.941a14.655,14.655,0,0,1,1.665.086,5.26,5.26,0,0,1,1.38.339A3.32,3.32,0,0,1,351.614,626.487Zm-.244,3.865a7.9,7.9,0,0,0-.158-1.617,2.372,2.372,0,0,0-.623-1.223,2.426,2.426,0,0,0-1.23-.631,7.68,7.68,0,0,0-1.625-.165h-8.392a8.027,8.027,0,0,0-1.665.165,2.21,2.21,0,0,0-1.861,1.861,8.254,8.254,0,0,0-.158,1.657v8.328a7.966,7.966,0,0,0,.158,1.617,2.365,2.365,0,0,0,.623,1.222,2.412,2.412,0,0,0,1.23.631,7.62,7.62,0,0,0,1.625.166h8.439a7.62,7.62,0,0,0,1.625-.166,2.335,2.335,0,0,0,1.23-.631,2.384,2.384,0,0,0,.615-1.222,7.566,7.566,0,0,0,.166-1.617Zm-12.509,4.172a.7.7,0,0,1,.741-.741h3.186V630.6a.741.741,0,0,1,.2-.536.69.69,0,0,1,.521-.214.7.7,0,0,1,.528.214.71.71,0,0,1,.213.536v3.187h3.194a.718.718,0,0,1,.528.2.725.725,0,0,1,.205.537.693.693,0,0,1-.205.512.729.729,0,0,1-.528.2h-3.194v3.194a.715.715,0,0,1-.741.741.7.7,0,0,1-.521-.205.759.759,0,0,1-.2-.536v-3.194H339.6a.759.759,0,0,1-.537-.2A.692.692,0,0,1,338.862,634.524Z",transform:"translate(-334.263 -625.32)"})])],-1)),j3=Hn(()=>f("div",{class:"ios_modal_number_2"},"2",-1)),W3={class:"ios_modal_text_3"},q3=Hn(()=>f("div",{class:"mr-2"},"1)",-1)),z3=["innerHTML"],K3={class:"ios_modal_text_4"},G3=Hn(()=>f("div",{class:"mr-2"},"2)",-1)),Y3=["innerHTML"],Z3={__name:"IosModal",setup(e){const t=Et();return Te(()=>t.iosModal,n=>{n?window.LiveChatWidget&&window.LiveChatWidget.call("hide"):window.LiveChatWidget&&window.LiveChatWidget.call("minimize")}),(n,o)=>{const r=On;return O(),ke(r,{show:h(t).iosModal,onClose:o[1]||(o[1]=s=>h(t).iosModal=!1),clickClose:"",maxWidth:500,containerClass:"!bg-white"},{default:Ae(()=>[f("div",S3,[f("button",{type:"button",class:"close_btn",onClick:o[0]||(o[0]=s=>h(t).iosModal=!1)},P3),f("div",O3,$(n.$t("ios_modal_text_1")),1),f("div",x3,$(n.$t("ios_modal_text_2")),1),M3,f("div",D3,[f("div",null,$(n.$t("ios_modal_text_5")),1),N3]),f("div",V3,[f("div",null,$(n.$t("ios_modal_text_6")),1),B3]),f("div",$3,[f("div",null,$(n.$t("ios_modal_text_7")),1),F3]),f("div",U3,[f("div",null,$(n.$t("ios_modal_text_8")),1),H3,j3]),f("div",W3,[q3,f("div",{innerHTML:n.$t("ios_modal_text_3")},null,8,z3)]),f("div",K3,[G3,f("div",{innerHTML:n.$t("ios_modal_text_4")},null,8,Y3)])])]),_:1},8,["show"])}}},J3=Rt(Z3,[["__scopeId","data-v-0826cd93"]]),Oh=bn("contact",{state:()=>({data:{},ready:!1,liveChatDisplay:!1,appendedElements:[],mobileLiveChatStyle:null,hideChatWidgetStyle:null}),actions:{setContact(e){this.data=e,this.ready=!0,this.appendLiveChatScript()},appendLiveChatScript(e){if(!this.ready)return;const{isMobile:t}=lo(),{$i18n:n}=ye(),o=n.localeProperties.value.code;if(!(!this.data[o]||!this.data[o].livechat_display||!this.data[o].live_chat_script))try{e&&window.LiveChatWidget&&(window.LiveChatWidget.call("destroy"),this.appendedElements.forEach(a=>{a.remove()}));const r=document.createElement("textarea");r.innerHTML=this.data[o].live_chat_script;const s=r.value,i=document.createElement("div");i.innerHTML=s;for(let a=0;a<i.childNodes.length;a++){if(!i.childNodes[a].tagName)continue;let l=document.createElement(i.childNodes[a].tagName);l.innerHTML=i.childNodes[a].innerHTML,document.body.appendChild(l),this.appendedElements.push(l)}ft(()=>{window.LiveChatWidget&&(this.forceHideChat(),window.LiveChatWidget.on("ready",()=>{this.setLiveChatDisplay(),t&&this.applyLiveChatStyle()}),t&&window.LiveChatWidget.on("visibility_changed",this.onVisibilityChanged))})}catch(r){console.log(r)}},setLiveChatDisplay(){if(!window||!window.LiveChatWidget)return;const e=cn(),{$i18n:t}=ye(),n=t.localeProperties.value.code,o=m_();if(Et().iosModal){this.liveChatDisplay=!1,this.forceHideChat();return}if(!this.data[n]||!this.data[n].livechat_display){this.liveChatDisplay=!1,this.forceHideChat();return}this.data[n].livechat_display=="homepage"?o(e)=="index"?(this.liveChatDisplay=!0,window.LiveChatWidget.call("minimize"),this.undoHideChat()):(this.liveChatDisplay=!1,this.forceHideChat()):this.data[n].livechat_display=="all_page"?(this.liveChatDisplay=!0,window.LiveChatWidget.call("minimize"),this.undoHideChat()):(this.liveChatDisplay=!1,this.forceHideChat())},applyLiveChatStyle(){this.mobileLiveChatStyle||(this.mobileLiveChatStyle=document.createElement("style"),this.mobileLiveChatStyle.innerHTML="#chat-widget-container {bottom: 50px !important;max-height: calc(100% - 50px) !important;}",document.head.appendChild(this.mobileLiveChatStyle))},removeLiveChatStyle(){this.mobileLiveChatStyle&&(this.mobileLiveChatStyle.remove(),this.mobileLiveChatStyle=null)},forceHideChat(){this.hideChatWidgetStyle||(this.hideChatWidgetStyle=document.createElement("style"),this.hideChatWidgetStyle.innerHTML="#chat-widget-container {display: none !important;}",document.head.appendChild(this.hideChatWidgetStyle))},undoHideChat(){this.hideChatWidgetStyle&&(this.hideChatWidgetStyle.remove(),this.hideChatWidgetStyle=null)},onVisibilityChanged(e){switch(e.visibility){case"maximized":this.removeLiveChatStyle();break;case"minimized":this.applyLiveChatStyle();break;case"hidden":this.removeLiveChatStyle();break}}}});const Q3=e=>(tn("data-v-853f1d98"),e=e(),nn(),e),X3={class:"relative"},ek=Q3(()=>f("img",{src:Po},null,-1)),tk=[ek],nk={class:"text-center md:font-bold text-[14px]"},ok={class:"community_box_container"},rk={class:"community_box_content"},sk=["href"],ik={class:"icon telegram"},ak=["src"],lk={class:"text"},ck={class:"community_box_content"},uk=["href"],dk={class:"icon whatsapp"},fk=["src"],hk={class:"text"},pk={__name:"CommunityModal",setup(e){const t=Ct(),n=Et(),{locale:o}=Ft(),r=Oh(),s=be(()=>r.ready&&r.data[o.value]?r.data[o.value]:"");return(i,a)=>{const l=On;return O(),ke(l,{show:h(n).communityModal,onClose:a[1]||(a[1]=c=>h(n).communityModal=!1),clickClose:"",containerClass:"community_modal",wrapperClass:"!items-center"},{default:Ae(()=>{var c,u;return[f("div",X3,[f("button",{type:"button",class:"close_btn",onClick:a[0]||(a[0]=d=>h(n).communityModal=!1)},tk),f("div",nk,$(i.$t("link_with_us")),1),f("div",ok,[f("div",rk,[(c=h(s))!=null&&c.community_tele_url?(O(),H("a",{key:0,href:`${h(s).community_tele_url}`,target:"_blank",class:"community_button"},[f("div",ik,[f("img",{src:`${h(t).public.STATIC_ROOT}img/icons/telegram.svg`,alt:"telegram"},null,8,ak)]),f("div",lk,$(i.$t("telegram")),1)],8,sk)):re("",!0)]),f("div",ck,[(u=h(s))!=null&&u.community_whatsapp_url?(O(),H("a",{key:0,href:`${h(s).community_whatsapp_url}`,target:"_blank",class:"community_button"},[f("div",dk,[f("img",{src:`${h(t).public.STATIC_ROOT}img/icons/whatsapp.svg`,alt:"whatsapp"},null,8,fk)]),f("div",hk,$(i.$t("whatsapp")),1)],8,uk)):re("",!0)])])])]}),_:1},8,["show"])}}},mk=Rt(pk,[["__scopeId","data-v-853f1d98"]]),vk=["id"],gk={__name:"QRCode",props:{id:{type:String,required:!0},size:{type:Number,default:96},filename:{type:String,default:"qr"},content:{type:String,required:!0}},setup(e,{expose:t}){const n=e,o=Ct(),{$loadScript:r}=ye(),s=be(()=>({width:`${n.size}px`,height:`${n.size}px`})),i=M(!1);let a=null;const l=async()=>{await r(`${o.public.STATIC_ROOT}js/qrcode.min.js`,window.QRCode)&&(i.value=!0,setTimeout(()=>{a=new window.QRCode(n.id),c()},750))};ht(()=>{l()});const c=()=>{!a||!n.content||a.makeCode(n.content)};return Te(()=>n.content,()=>{c()}),t({downloadQR:()=>{if(!a)return;const d=document.querySelector(`#${n.id} canvas`),p=document.createElement("a");p.download=`${n.filename}.png`,p.href=d.toDataURL(),p.click()}}),Nt(()=>{a=null}),(d,p)=>(O(),H("div",null,[h(i)?re("",!0):(O(),H("div",{key:0,style:an(h(s)),class:"skeleton"},null,4)),h(i)?(O(),H("div",{key:1,id:e.id,style:an(h(s)),class:"qr_canvas"},null,12,vk)):re("",!0)]))}},bk=gk,yk=f("img",{class:"w-4 h-4",src:Po,alt:"close"},null,-1),wk=[yk],_k={class:"p-4 mx-auto",style:{"max-width":"500px"}},Ek={class:"relative text-center mt-3"},kk={class:"font-bold uppercase"},Ck={class:"text-sm pt-3 text-center"},Tk={class:"flex flex-col md:flex-row items-center md:items-start gap-4 justify-between p-4"},Ak=["src"],Lk={class:"whitespace-nowrap text-sm mt-2"},Rk={class:"flex items-center gap-3"},Sk={key:0,class:"p-2 rounded-sm border border-line grid gap-3"},Ik={class:"text-sm"},Pk={class:"flex items-center gap-2"},Ok=f("svg",{class:"w-[28px] h-[28px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 90","xmlns:xlink":"http://www.w3.org/1999/xlink"},[f("path",{fill:"#00d909",d:"M38.1,37.1c0,1.8-1.5,3.3-3.3,3.3c-1.8,0-3.3-1.5-3.3-3.3c0-1.8,1.5-3.3,3.3-3.3C36.6,33.7,38.1,35.2,38.1,37.1z M54.6,33.7 c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.5,3.3,3.3,3.3c1.8,0,3.3-1.5,3.3-3.3C57.9,35.2,56.4,33.7,54.6,33.7z M90,45c0,24.9-20.1,45-45,45 S0,69.9,0,45C0,20.1,20.1,0,45,0S90,20.1,90,45z M70.7,21.5c-0.8-0.8-2.1-0.8-2.9,0l-5.7,5.7l0,0.1c-4.4-4.2-10.6-6.8-17.4-6.8 c-6.7,0-12.7,2.5-17.1,6.5l0,0l-5.4-5.4c-0.8-0.8-2.1-0.8-2.9,0c-0.8,0.8-0.8,2.1,0,2.9l5.6,5.6l0-0.1c-2.8,3.6-4.4,8-4.4,12.7v24.9 h48.4V42.6c0-4.6-1.5-8.8-4.1-12.3l0,0l5.9-5.9C71.5,23.6,71.5,22.3,70.7,21.5z"})],-1),xk=["href"],Mk={key:1,class:"p-2 rounded-sm border border-line grid gap-3"},Dk={class:"text-sm"},Nk={class:"flex items-center gap-2"},Vk=f("svg",{class:"w-[28px] h-[28px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 90","xmlns:xlink":"http://www.w3.org/1999/xlink"},[f("path",{fill:"#00d909",d:"M38.1,37.1c0,1.8-1.5,3.3-3.3,3.3c-1.8,0-3.3-1.5-3.3-3.3c0-1.8,1.5-3.3,3.3-3.3C36.6,33.7,38.1,35.2,38.1,37.1z M54.6,33.7 c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.5,3.3,3.3,3.3c1.8,0,3.3-1.5,3.3-3.3C57.9,35.2,56.4,33.7,54.6,33.7z M90,45c0,24.9-20.1,45-45,45 S0,69.9,0,45C0,20.1,20.1,0,45,0S90,20.1,90,45z M70.7,21.5c-0.8-0.8-2.1-0.8-2.9,0l-5.7,5.7l0,0.1c-4.4-4.2-10.6-6.8-17.4-6.8 c-6.7,0-12.7,2.5-17.1,6.5l0,0l-5.4-5.4c-0.8-0.8-2.1-0.8-2.9,0c-0.8,0.8-0.8,2.1,0,2.9l5.6,5.6l0-0.1c-2.8,3.6-4.4,8-4.4,12.7v24.9 h48.4V42.6c0-4.6-1.5-8.8-4.1-12.3l0,0l5.9-5.9C71.5,23.6,71.5,22.3,70.7,21.5z"})],-1),Bk=["href"],$k=f("hr",{class:"mt-4 mb-6"},null,-1),Fk={class:"flex gap-6 items-center p-4"},Uk=f("svg",{class:"w-[80px] h-[80px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 90","xmlns:xlink":"http://www.w3.org/1999/xlink"},[f("path",{fill:"#00d909",d:"M38.1,37.1c0,1.8-1.5,3.3-3.3,3.3c-1.8,0-3.3-1.5-3.3-3.3c0-1.8,1.5-3.3,3.3-3.3C36.6,33.7,38.1,35.2,38.1,37.1z M54.6,33.7 c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.5,3.3,3.3,3.3c1.8,0,3.3-1.5,3.3-3.3C57.9,35.2,56.4,33.7,54.6,33.7z M90,45c0,24.9-20.1,45-45,45 S0,69.9,0,45C0,20.1,20.1,0,45,0S90,20.1,90,45z M70.7,21.5c-0.8-0.8-2.1-0.8-2.9,0l-5.7,5.7l0,0.1c-4.4-4.2-10.6-6.8-17.4-6.8 c-6.7,0-12.7,2.5-17.1,6.5l0,0l-5.4-5.4c-0.8-0.8-2.1-0.8-2.9,0c-0.8,0.8-0.8,2.1,0,2.9l5.6,5.6l0-0.1c-2.8,3.6-4.4,8-4.4,12.7v24.9 h48.4V42.6c0-4.6-1.5-8.8-4.1-12.3l0,0l5.9-5.9C71.5,23.6,71.5,22.3,70.7,21.5z"})],-1),Hk={class:"text-sm text-white"},jk=f("ul",null,[f("li",null,"1. Tap the Download button above. "),f("li",null,"2. Click INSTALL after the download completed. "),f("li",null,"3. Open the app and start to play now! ")],-1),Wk={__name:"AppDownloadModal",setup(e){const t=Ct(),n=Et(),o=()=>{n.appDownload=!1};return(r,s)=>{const i=bk,a=On;return O(),H("div",null,[ee(a,{show:h(n).appDownload,onClose:o,maxWidth:550,containerClass:"!px-0 !pt-0 h-full md:h-auto rounded-none md:rounded-[5px] bg-auth-modal"},{default:Ae(()=>[f("div",null,[f("div",{class:"relative"},[f("button",{type:"button",class:"absolute top-[22px] right-[20px] z-10",onClick:o},wk)]),f("div",_k,[f("div",Ek,[f("div",kk,$(h(t).public.TITLE)+" "+$(r.$t("app")),1)]),f("div",Ck,$(r.$t("app_download_memo")),1)]),f("div",Tk,[f("div",null,[f("img",{class:"w-[125px] mx-auto",src:r.$pub("/app_logo.png")},null,8,Ak),f("div",Lk,$(r.$t("app_download_memo_2")),1)]),f("div",Rk,[h(t).public.DOWNLOAD_URL_IOS?(O(),H("div",Sk,[f("span",Ik,$(r.$t("ios")),1),f("div",Pk,[ee(i,{id:"iosQR",size:90,content:h(t).public.DOWNLOAD_URL_IOS,ref:"qrCodeIOS"},null,8,["content"]),Ok]),f("a",{href:h(t).public.DOWNLOAD_URL_IOS,target:"_blank",class:"btn download_btn"},$(r.$t("download")),9,xk)])):re("",!0),h(t).public.DOWNLOAD_URL_ANDROID?(O(),H("div",Mk,[f("span",Dk,$(r.$t("android")),1),f("div",Nk,[ee(i,{id:"androidQR",size:90,content:h(t).public.DOWNLOAD_URL_ANDROID,ref:"qrCodeAndroid"},null,8,["content"]),Vk]),f("a",{href:h(t).public.DOWNLOAD_URL_ANDROID,target:"_blank",class:"btn download_btn"},$(r.$t("download")),9,Bk)])):re("",!0)])]),$k,f("div",Fk,[Uk,f("div",Hk,[f("div",null,"First time installation guide for "+$(h(t).public.TITLE)+" Android App ",1),jk])])])]),_:1},8,["show"])])}}},qk=Wk,zk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAABDCAMAAADwFEhBAAABxVBMVEUAAAAAAAAAAAAAAABWQK9QPKBDMoQxJl5POptoTdRdRbtTPqloTdZINY1NOphiScZPO51mTNBkS81iSMZmTNJYQbFYQbNLOJRGNIpCMYFDMolQO6BbRLhWQKxSPaRqT9tYQrJLOZZZQrNOOpteRsBPO51gSMVlTNJpTtdLN5RKN5NdRb1VP6pMOppVP69JNpFINpBFM4lOO55gSMRYQLI+L35BMoRVPKo6K3RrT9tTPqZqT9liSsdXQa5MOZReRb1cRLlOO5tsUN1oTtVnTtNVP6tLOJNQO51PPJ1rUN1UP6dfR8BkS8xTP6hgSMNVQKpnTdJkScxkSstfR8RJNpZAMIBVQKv///9mTNBkS8xXQa5TPqVSPaNoTtZnTNJlS85hSMVbQ7dQPJ9rUNxjSslZQrJYQbBpTthPO51eRr9dRb1UPqdiScdqT9pgSMNcRblfR8FOOppoTdRjSspcRbtVP6lNOphaQ7ROO5v29PxNOZdZQrRsUN1bRLltUeBsUd5XQa9RPaFUP6hRPKHi3fRSPaFMOJVZQrN9actgR8HDuufCueR6aMdnUcJ4ZcGTgth+atBrU8nOxu2nmeB1YM9hTLRLOJUIbWPBAAAAVnRSTlMABQkMOqpJHPbyxY6GhuDU1NPDopWHaWhcKBny4uLU08XCwb68t7OopKOWlZWDfnNVVUtKRUQ7KBr49vLy8vHv7+/i39zV0sbEw7eqpqJ4eHdpWVZQUNj0bHEAAANgSURBVFjD7ZZnVxpBFIYjS8fYW2KNNfYSNab33htIqLIgGBYMohvcEIhRoybGkvZ7c2eWZdiNO1g+5OQc7kfO4TnPvHPn7j1WqEL92yoS62j/J3V4gAbVoTCZv4/2tbZenb9ibu/Vag5KwYQTjy5NB95Nzc6+mXkb9V6sPIsxByLorNaP02vvpz7MI0aU4+yVJ5UUOqL2/IL1NTCyHpw/bje92CcEB6FzhD+BBz4LeGwAg7PbJyercL77QtxxOsILVhAJSGfx+v1xj2fSXUEgdETbshM84DA5mXJx5OGe68oPQYhu35LT4QhbgSF5eMHD7kEMFz5OPo26kG/Z6XSIHiSPODDc7rlgcBSJ0BETxpBvCUTCyjyAARqu4AV8xdSTnEqEfD4UiDIPkREMsqfRaWga+hhirIoe2R7b3uGwhwsYERZ1LFWDT4TgMPI8vths21mPCFUEtbgQS4DIqiwPQNh+ZDwikQibRomoa/QIPDDkeSDESiYPiINl009VUwUGc1uIxWLIg/QHRuz6sx7AuMdo1BmGzwLPJ2R5fMUIci9skk2laAw9MJAH6Q+M+Bb1Eo8km06hkaR2s4O/sQfJQ0RAf5A8EOMMMNQiPY49SB4iAr0Xjngk06lijYbC4IWcPLYwQnwvJI9kCjOK9ufxa9FmW9wk74V4UBnyPLYQZH1GngcwnlMYekUeARECeRAPSqYYMv5Xf4iQqKI/JigM5rLYpznzYxNBdryyPm1maIxugTcq3osIIXmcY9NVVEadEDOCh2x+YMjP3Her1agzAFLCJ64p58f6Ys78MEXY66BBefxMLcwxo2J+zKyvfN/NeNyAGfSMoc4gEEmESupV56npZpBtJhoqInqItK3euef3xW0qdwUjWqKhlkgPXEtH2Z7fl/JOuJhiSYN2mjKItEO3x/elsgJC7WLES6GLGMrgO9dUp1Pk8aCmFAIpZ4gGFXIXRap71X9rTcrDPPCyEwXykCDyQJh+vH/cHxwbHrZYLENDYwPteP94TBD5IHA7TXgPCjS0tFjM5oYNtAd5KuBGCCI/hKlttKJdSsqU40prGCWCDkGU8b7G7D5W2qsFAkHkh0gUxjDypLq6umbEwIgEqAOuuICRSkMh0CiAISX+cJSNn0aglxxQqEL93/UHjzHzZskefxYAAAAASUVORK5CYII=",Kk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAABDCAMAAADwFEhBAAABmFBMVEUAAAAAAAAAAAAAAAAAAABOOptpTtdrUNxmTNBOOpxINY1JN5JJNpFHNI1BMIFYQbYxKGlPO51oTtZiSchQO59cRbtVP6xLOZdeRb9RPaVkScxEM4g4Km5UP6hPO51qT9lnTdVNOZlmTNBiScdTPqdLOJRSPKFdRb1aQrVmTNFUPqhdRbxXQbFLOJViSMlfR8NkS85rT9pcRr9VPqpUP6pjSc1NOps2K28AAABHM4ozKWY6L3tjSspsUd9kSsxcRbpaQ7VWP6xUP6lPOpxOOppJNpBYQa9nTdJmS89VPqpcRbpcRL5gSMRaQbddRLtAMYdOPaBVPar///9jSslsUN1WQKxUPqZdRbxXQa9qT9llS81hSMVYQbFVQKpSPaRnTdJgR8JfR8BRPaJPO51aQ7VUP6hZQrNNOZhlS89bRLdOOptjSsteRr5cRLlmTNFQPJ9pTtZnTdRiScdNOplhSMZpTtjCueVtUd9cRbpMOJVqT9toTtZRPJ/CuufBueTEuulkSszBuOKhlNS2rd6sodhiTLXr6Pi6r+bNG4n5AAAAUnRSTlMABQgKDNWG49eIhnVqU0k6HOvd1ci3t5iJfGg6KvHx8O3k4+Li4tTS0sfFxMTEvLGopXhwZlhGOBsZGRjx8PDj4+LVr6alopmWb2RWSkpHRDsqrW4cOwAAAwxJREFUWMPt1nlXElEYBnBrxoQA933fcsk1l7Rs3/cFBnBwQR0VowRkxFDR0qy+du8zLHcGY2bQTp3O4f7P7zzvc+9cblFhFda/XReUdc6fs3VG4WJmnUFJAjMTTwb74t7egZEXM8TkpyjC9auz8+urHza9n5aX5raHXzLFvOB2z8+vwvAuL8/NuVz9bxTFPFHnWXC7Z9cpRxw5lrajrq++UbMIhJs9nrU15EgblIOMkOUGFHNExaJnjXKo+3C5PvpC/naG6BNcxQoZhKiMKBG+UGirnQNiaHDFYTI8zPAiBxkbIf9WpJIjw5CokxIri4sZI57JAWNffArEYJKmoBReQZCFrD58G37KERPLMI3BJJIUxjBsFpZja39fFEsQRJewy0FCUsb3b8esD+SIxGKi0AhEz+iAkUgZJ07nYVydIyKKoqAXBG2UBuQgFZLq49jpdO6wPpBjTxSESTSSO8Zjxcj0cQRE3QdyCNc4XeOK1lg/BKLuY29PEG7nNmiU5t2AHAhKCbYvQA5YH4ghfKbtzW2U7gYCMnKw87EDRNUHjEkKknOUy2RQDs35APKF9QHjEobRM+Qsw3sAJN2HOUPbB76XH4SwPvLI4dHk+Mn6MDJsf6CP0tN9KITqfMB4BeOc5+M9p3M+eJxTdR8KofleKEgJT2dM5xILyBX630ub4fcypfleTkBo7w8MU6ZjYJghOdiR6ePo9P1RKWKUpJFzZ2hbkhd7+h7T3B+VZu4xfkiSWotz3aeWTlHs5w0v1OZWKVxcrTZYHxZLJNamtGHwL2enOqof/u7/ZWSYNqaRtaEzjZXq6LFVZ/+/VE1UUSHP2CS6yCOqo8Vqe6Duo2q8/g79344aEzAIsaOObvuUrXbw3qb37kDN+NvnXfR28I8RAcMM0tStvD9qGxyO6WmHo6FGeX90vmaEMcKVW1vcs2yWpWjUdau+nBGGiBKl3Hof77HN1HusKy0wwhjheL6pobYPe9tbM/aO5zlGmH6dgsksABBA5KWAwSKACX/zrW385s8fKiqswvr/1y+DWcNcReSgEgAAAABJRU5ErkJggg==";const cr=e=>(tn("data-v-3610d801"),e=e(),nn(),e),Gk={class:"hidden md:block w-full relative px-4 pt-5 overflow-auto",style:{"max-height":"var(--window-height)"}},Yk=cr(()=>f("img",{src:Po},null,-1)),Zk=[Yk],Jk={key:0,class:"bg-modal px-4 md:px-0 py-[30px] md:py-0 max-w-full w-full overflow-auto"},Qk={class:"flex relative"},Xk={class:"announcement_menu",style:{"max-height":"calc(var(--window-height) - 172px)"}},e4=["onClick"],t4={class:"announcement_title"},n4={class:"modernWay"},o4={class:"announcement_desc_box"},r4=["innerHTML"],s4=["innerHTML"],i4=["src"],a4=["innerHTML"],l4={class:"announcement_check_box"},c4={class:"flex md:hidden items-center justify-between mt-5"},u4=cr(()=>f("img",{class:"w-10",src:zk},null,-1)),d4=[u4],f4={class:"text-sm text-text-base"},h4={class:"text-lg"},p4=cr(()=>f("img",{class:"w-10",src:Kk},null,-1)),m4=[p4],v4={key:1,class:"bg-modal px-[15px] md:px-[30px] py-[30px] md:py-[25px] rounded-[5px] w-full overflow-auto text-[#111111] text-center text-lg"},g4={class:"md:hidden relative min-h-[275px] max-h-[70%] w-full"},b4=cr(()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},[f("path",{d:"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"})],-1)),y4=[b4],w4={class:"bg-modal w-full h-full rounded-[5px] px-4"},_4={key:0},E4=["src"],k4=["innerHTML"],C4=["innerHTML"],T4=["innerHTML"],A4={key:1,class:"text-center"},L4={class:"announcement_check_box"},R4=cr(()=>f("svg",{class:"announcement_arrow_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},[f("path",{"fill-rule":"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"})],-1)),S4=[R4],I4=cr(()=>f("svg",{class:"announcement_arrow_icon",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},[f("path",{"fill-rule":"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"})],-1)),P4=[I4],O4={key:2,class:"announcement_dot flex-shrink-0"},x4=["onClick"],M4={__name:"AnnouncementModal",emits:["close"],setup(e,{emit:t}){const n=Et(),o=Cn(),{$api:r}=ye(),s=A=>{n.announcementModal=!1,i.value&&o.loggedIn&&r("user/block-announcement",{uid:o.data.uid})},i=M(!1);Te(()=>i.value,()=>{i.value?window.localStorage.setItem("dontShowAnnouncement",i.value):window.localStorage.removeItem("dontShowAnnouncement")}),Te(()=>n.announcementModal,A=>{if(A){var j=window.localStorage.getItem("dontShowAnnouncement");j?i.value=!0:i.value=!1}});const a=A=>{A&&window.open(A,"_blank")},l=co(),c=M([]),u=M(1),d=M(""),p=M(""),g=M(""),m=M(""),b=M(""),k=()=>{if(c.value=[],l.data.announce)for(var A=0;A<l.data.announce.length;A++)l.data.announce[A].is_popup=="1"&&(l.data.announce[A].announcement_type="announcement",c.value.push(l.data.announce[A]));if(l.data.advertisement)for(var A=0;A<l.data.advertisement.length;A++)l.data.advertisement[A].announcement_type="advertisment",c.value.push(l.data.advertisement[A]);c.value.length>0&&_(c.value[0],1)},w=M(),v=M(),_=(A,j)=>{m.value="",u.value=j,d.value=A.title,p.value=A.description,g.value=A.content,A.img_path&&(m.value=A.img_path),A.link&&(b.value=A.link),ft(()=>{S()})};Te(()=>l.data,A=>{A&&k()},{immediate:!0});const y=A=>{u.value=u.value-1,u.value==0&&(u.value=c.value.length),C(c.value[u.value-1])},E=A=>{u.value=u.value+1,u.value>c.value.length&&(u.value=1),C(c.value[u.value-1])},C=A=>{m.value="",d.value=A.title,p.value=A.description,g.value=A.content,A.img_path&&(m.value=A.img_path),A.link&&(b.value=A.link),ft(()=>{S()})},T=A=>{if(A=="prev")var j=u.value-1;else var j=u.value+1;j==0?u.value=c.value.length:j>c.value.length?u.value=1:u.value=j,d.value=c.value[u.value-1].title,p.value=c.value[u.value-1].description,g.value=c.value[u.value-1].content,ft(()=>{S()})},S=A=>{w.value&&(w.value.scrollTop=0),v.value&&(v.value.scrollTop=0)};return(A,j)=>{const N=Ih,V=Sh;return O(),ke(V,{show:h(n).announcementModal,onClose:s,clickClose:"",maxWidth:1e3,classes:"w-full px-5 lg:px-0 min-h-[var(--window-height)]"},{default:Ae(()=>[f("div",Gk,[f("button",{type:"button",class:"close_btn",onClick:s},Zk),h(c).length>0?(O(),H("div",Jk,[f("div",Qk,[f("div",Xk,[(O(!0),H(Se,null,Qt(h(c),(W,Y)=>(O(),H("button",{key:Y,type:"button",class:Ce(["announcement_btn",h(u)==Y+1?"active":""]),onClick:ce=>_(W,Y+1)},[f("div",{class:Ce(["unread",W.unread?"active":""])},null,2),f("div",t4,[f("div",n4,$(W.announcement_type=="advertisment"?W.title?W.title:A.$t("advertisment"):A.$t("announcement")),1),f("div",null,$(W.date),1)])],10,e4))),128))]),f("div",o4,[f("div",{class:"announcement_desc",style:{"max-height":"calc(var(--window-height) - 242px)"},ref_key:"announcement_view",ref:w},[f("div",{class:"text-2xl",innerHTML:h(d)},null,8,r4),f("div",{class:"text-sm mt-2",innerHTML:h(p)},null,8,s4),h(m)?(O(),H("img",{key:0,onClick:j[0]||(j[0]=W=>a(h(b))),class:Ce(["w-full mb-2 mt-2",h(b)?"cursor-pointer":""]),src:h(m)},null,10,i4)):re("",!0),f("div",{class:"announcement_content",innerHTML:h(g),style:{"white-space":"break-spaces"}},null,8,a4)],512),f("div",l4,[ee(N,{modelValue:h(i),"onUpdate:modelValue":j[1]||(j[1]=W=>me(i)?i.value=W:null)},{default:Ae(()=>[jt($(A.$t("dont_show_again")),1)]),_:1},8,["modelValue"])])])]),f("div",c4,[f("button",{type:"button",onClick:j[2]||(j[2]=W=>T("prev"))},d4),f("div",f4,[f("span",h4,$(h(u)),1),jt("/"+$(h(c).length),1)]),f("button",{type:"button",onClick:j[3]||(j[3]=W=>T("next"))},m4)])])):(O(),H("div",v4,$(A.$t("no_announcement")),1))]),f("div",g4,[f("button",{type:"button",class:"close_btn",onClick:s},y4),f("div",w4,[f("div",{class:Ce(["relative w-full overflow-auto py-[10px]",{"flex-grow":h(c).length>0}]),style:{height:"calc(100% - 40px)"},ref_key:"announcement_view_mobile",ref:v},[h(c).length>0?(O(),H("div",_4,[h(m)?(O(),H("img",{key:0,onClick:j[4]||(j[4]=W=>a(h(b))),class:Ce(["w-full mb-2",h(b)?"cursor-pointer":""]),src:h(m)},null,10,E4)):re("",!0),f("div",{class:"font-bold text-center",innerHTML:h(d)},null,8,k4),f("div",{innerHTML:h(p)},null,8,C4),f("div",{class:"announcement_content text-[14px]",innerHTML:h(g),style:{"white-space":"break-spaces"}},null,8,T4)])):(O(),H("div",A4,$(A.$t("no_announcement")),1))],2),f("div",L4,[ee(N,{modelValue:h(i),"onUpdate:modelValue":j[5]||(j[5]=W=>me(i)?i.value=W:null)},{default:Ae(()=>[jt($(A.$t("dont_show_again")),1)]),_:1},8,["modelValue"])])]),h(c).length>1?(O(),H("button",{key:0,onClick:y,type:"button",class:"announcement_slide_left"},S4)):re("",!0),h(c).length>1?(O(),H("button",{key:1,onClick:E,type:"button",class:"announcement_slide_right"},P4)):re("",!0),h(c).length>0?(O(),H("div",O4,[(O(!0),H(Se,null,Qt(h(c),(W,Y)=>(O(),H("div",{key:Y,class:Ce(["dot",h(u)==Y+1?"active":""]),onClick:ce=>_(W,Y+1)},null,10,x4))),128))])):re("",!0)])]),_:1},8,["show","classes"])}}},D4=Rt(M4,[["__scopeId","data-v-3610d801"]]),xh=bn("menu",{state:()=>({data:{},ready:!1}),actions:{setMenu(e){this.data=e,this.ready=!0}}});const un=e=>(tn("data-v-e0c153b7"),e=e(),nn(),e),N4={class:"sidebar_menu"},V4={class:"mobile_sidebar_logo"},B4={class:"flex items-center justify-between pr-10"},$4=["src"],F4=un(()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},[f("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),f("path",{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"})],-1)),U4=[F4],H4={class:"overflow-auto none-scrollbar px-5",style:{height:"calc(var(--window-height) - 60px)"}},j4=un(()=>f("i",{class:"text-[20px] icon-home"},null,-1)),W4={class:"text"},q4=un(()=>f("i",{class:"text-[20px] icon-predictor"},null,-1)),z4={class:"text"},K4=un(()=>f("i",{class:"text-[20px] icon-vip"},null,-1)),G4={class:"text"},Y4=un(()=>f("i",{class:"text-[20px] icon-promotions"},null,-1)),Z4={class:"text"},J4=un(()=>f("i",{class:"text-[20px] icon-leaderboard"},null,-1)),Q4={class:"text"},X4=un(()=>f("i",{class:"text-[20px] icon-info"},null,-1)),e5={class:"text"},t5=un(()=>f("i",{class:"text-[20px] icon-cs"},null,-1)),n5={class:"text"},o5=un(()=>f("i",{class:"text-[20px] icon-blog"},null,-1)),r5={class:"text"},s5=un(()=>f("i",{class:"text-[20px] icon-language"},null,-1)),i5={class:"text"},a5=un(()=>f("i",{class:"text-[20px] icon-download"},null,-1)),l5={class:"text"},c5=["href"],u5=un(()=>f("i",{class:"text-[20px] icon-referral"},null,-1)),d5={class:"text"},f5=un(()=>f("i",{class:"text-[20px] icon-logout"},null,-1)),h5={class:"text"},p5={__name:"MobileSideBar",setup(e){Vt();const t=Cn(),n=Io(),{t:o,locale:r}=Ft(),s=Ct(),i=co(),a=xh(),{isMobile:l,isIos:c,isAndroid:u}=lo(),d=()=>{t.logout(n("/"))},p=M(!1),g=M(!1),m=M(!1),b=M(!1),k=Et();be(()=>{var S,A;if(!a.ready||!i.ready||!i.data.currency)return[];if(a.data.reward[i.data.currency]&&a.data.reward[i.data.currency].top){var _=a.data.reward[i.data.currency].top,y=_.find(j=>j=="lucky_wheel");y&&(p.value=!0);var E=_.find(j=>j=="vip");E&&(g.value=!0);var C=_.find(j=>j=="tournament");C&&(m.value=!0)}((A=(S=i.data)==null?void 0:S.angpow)==null?void 0:A.left_icon)==1&&(b.value=!0);var T=[];return a.data.game_category[r.value]&&Object.values(a.data.game_category[r.value]).forEach(j=>{T.push({cat_id:j.cat_id,message:o(`category_${j.type=="instantwin"?"instant_win":j.type}`),type:j.type,width:0,url:`/${j.type}`})}),T.push({cat_id:"",message:o("affiliate"),type:"affiliate",width:0,url:`${s.public.AFFILIATE_URL}${r.value}`}),T});const w=be(()=>{var _,y,E,C,T;return((T=(C=(E=(_=a.data)==null?void 0:_.reward)==null?void 0:E[(y=i.data)==null?void 0:y.currency])==null?void 0:C.top)==null?void 0:T.indexOf("predictor"))>-1});Te(()=>k.sidebar,_=>{_?k.noScrollCount++:k.noScrollCount--});const v=()=>{if(u&&s.public.DOWNLOAD_URL_ANDROID){k.appDownload=!0;return}if(c&&s.public.DOWNLOAD_URL_IOS){k.appDownload=!0;return}if(c&&!s.public.DOWNLOAD_URL_IOS){k.iosModal=!0;return}k.appDownload=!0};return(_,y)=>{const E=sb;return O(),H("div",{class:Ce(["sidebar_container",h(k).sidebar?"active":""])},[f("div",{onClick:y[0]||(y[0]=C=>h(k).sidebar=!h(k).sidebar),class:Ce(["mobile_sidebar_bg",h(k).sidebar?"block":"hidden"])},null,2),f("div",N4,[f("div",V4,[f("div",B4,[ee(E,{to:h(n)("/"),onClick:y[1]||(y[1]=C=>h(k).sidebar=!1)},{default:Ae(()=>[f("img",{class:"h-[30px]",alt:"logo",src:_.$pub("/img/logo.png")},null,8,$4)]),_:1},8,["to"])]),f("button",{type:"button",class:"sidebar_close_btn",onClick:y[2]||(y[2]=C=>h(k).sidebar=!1)},U4)]),f("div",H4,[ee(E,{to:h(n)("/"),onClick:y[3]||(y[3]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[j4,f("div",W4,$(_.$t("home")),1)]),_:1},8,["to"]),h(w)?(O(),ke(E,{key:0,to:h(n)("/football-predictor"),onClick:y[4]||(y[4]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[q4,f("div",z4,$(_.$t("predictor")),1)]),_:1},8,["to"])):re("",!0),h(g)?(O(),ke(E,{key:1,to:h(n)("/vip"),onClick:y[5]||(y[5]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[K4,f("div",G4,$(_.$t("vip")),1)]),_:1},8,["to"])):re("",!0),ee(E,{to:h(n)("/promotions"),onClick:y[6]||(y[6]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[Y4,f("div",Z4,$(_.$t("promotions")),1)]),_:1},8,["to"]),h(m)?(O(),ke(E,{key:2,to:h(n)("/leaderboard"),onClick:y[7]||(y[7]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[J4,f("div",Q4,$(_.$t("leaderboard")),1)]),_:1},8,["to"])):re("",!0),ee(E,{to:h(n)("/about-us"),onClick:y[8]||(y[8]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[X4,f("div",e5,$(_.$t("info_center")),1)]),_:1},8,["to"]),ee(E,{to:h(n)("/contact-us"),onClick:y[9]||(y[9]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[t5,f("div",n5,$(_.$t("contact_us")),1)]),_:1},8,["to"]),h(i).ready&&h(i).data&&h(i).data.currency&&h(a).data&&h(a).data.blog&&h(a).data.blog[h(i).data.currency]&&h(a).data.blog[h(i).data.currency]==1?(O(),ke(E,{key:3,to:h(n)("/blog"),onClick:y[10]||(y[10]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[o5,f("div",r5,$(_.$t("blog")),1)]),_:1},8,["to"])):re("",!0),ee(E,{to:h(n)("/language"),onClick:y[11]||(y[11]=C=>h(k).sidebar=!1),class:"mobile_sidebar_button gap-3"},{default:Ae(()=>[s5,f("div",i5,$(_.$t("language")),1)]),_:1},8,["to"]),h(s).public.DOWNLOAD_URL_ANDROID||h(s).public.DOWNLOAD_URL_IOS?(O(),H("button",{key:4,onClick:y[12]||(y[12]=C=>{h(k).sidebar=!1,v()}),class:"mobile_sidebar_button gap-3"},[a5,f("div",l5,$(_.$t("download")),1)])):re("",!0),f("a",{href:`${h(s).public.AFFILIATE_URL}${h(r)}`,target:"_blank",class:"mobile_sidebar_button gap-3"},[u5,f("div",d5,$(_.$t("affiliate")),1)],8,c5),h(t).loggedIn?(O(),H("button",{key:5,onClick:y[13]||(y[13]=C=>{d(),h(k).sidebar=!1}),class:"mobile_sidebar_button gap-3"},[f5,f("div",h5,$(_.$t("logout")),1)])):re("",!0)])])],2)}}},m5=Rt(p5,[["__scopeId","data-v-e0c153b7"]]),v5=e=>{const t=M(0),n=M(0),o=r=>{setTimeout(()=>{t.value=window.innerHeight,n.value=window.innerWidth},150)};return ht(()=>{t.value=window.innerHeight,n.value=window.innerWidth,window.addEventListener("resize",o)}),Nt(()=>{window.removeEventListener("resize",o)}),{screenHeight:t,screenWidth:n}},g5=""+globalThis.__publicAssetsURL("img/icons/landscape_check.png");const b5=e=>(tn("data-v-d0da96f6"),e=e(),nn(),e),y5={key:0},w5={class:"landscape_container"},_5=b5(()=>f("img",{class:"landscape_img",alt:"landscape_check",src:g5},null,-1)),E5={class:"text-white text-sm"},k5={__name:"OrientationCheck",setup(e){const{screenHeight:t,screenWidth:n}=v5(),{isMobile:o}=lo(),r=cn(),s=Io(),i=be(()=>!o||r.path.includes(s("/play"))?!1:n.value-140>t.value);return(a,l)=>h(o)?(O(),H("div",y5,[f("div",{class:Ce(["landscape_box",h(i)?"block":"hidden"]),style:an(`height: ${h(t)}px;`)},[f("div",w5,[_5,f("div",E5,$(a.$t("landscape_check_desc")),1)])],6)])):re("",!0)}},C5=Rt(k5,[["__scopeId","data-v-d0da96f6"]]),T5=Gs('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M8 12L12 8M12 8L16 12M12 8V20M4 4H20" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',1),A5=[T5],L5={__name:"ButtonTop",setup(e){const t=M(!1),n=r=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},o=r=>{window.top.scrollY<100?t.value=!1:t.value=!0};return ht(()=>{window.addEventListener("scroll",o)}),Nt(()=>{window.removeEventListener("scroll",o)}),(r,s)=>(O(),H("button",{onClick:n,type:"button",class:Ce(["btn_top",h(t)?"active":""])},A5,2))}},R5=L5,S5=""+new URL("bg-redeem.24df798a.png",import.meta.url).href,I5={style:{"padding-top":"100%"}},P5=f("img",{class:"absolute top-0 left-0",src:S5},null,-1),O5=f("svg",{class:"w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.616 22.616"},[f("path",{d:"m0 18.503 4.116 4.113 7.192-7.195 7.195 7.195 4.113-4.113-7.195-7.195 7.195-7.192L18.503.003l-7.195 7.195L4.116 0 0 4.116l7.195 7.195Z",fill:"#fff"})],-1),x5=[O5],M5={class:"absolute top-[70px] left-0 right-0 max-w-[300px] mx-auto redeem-code"},D5={class:"text-2xl font-bold pb-3 pl-6"},N5={class:"pb-4"},V5=["placeholder"],B5={key:0,class:"text-right"},$5={class:"_df_ErrMsg !text-xs md:!text-sm"},F5=["disabled"],U5={__name:"RedeemCodeModal",setup(e){const{$api:t,$toast:n}=ye(),{t:o}=Ft(),r=Et(),s=M(!0),i=M();Te(()=>i.value,d=>{d?s.value=!1:s.value=!0,l()});const a=M(),l=()=>i.value?null:o("error_required"),c=M(!1),u=async()=>{if(c.value||(a.value=l(),a.value))return;c.value=!0;const d=await t("promotion/apply-promotion",{redeem_code:i.value});if(c.value=!1,!d.status){n(!1,d.msg);return}n(!0,d.msg),r.redeemCodeModal=!1};return Te(()=>r.redeemCodeModal,()=>{i.value=""}),(d,p)=>{const g=di,m=On;return O(),ke(m,{show:h(r).redeemCodeModal,onClose:p[2]||(p[2]=b=>h(r).redeemCodeModal=!1),clickClose:"",maxWidth:400,containerClass:"!border-0 !p-0 !bg-white"},{default:Ae(()=>[f("div",I5,[P5,f("button",{class:"absolute top-6 right-6",type:"button",onClick:p[0]||(p[0]=b=>h(r).redeemCodeModal=!1)},x5),f("div",M5,[f("div",D5,$(d.$t("redeem_code")),1),f("div",N5,$(d.$t("redeem_memo")),1),yt(f("input",{class:"o-input text-center",placeholder:d.$t("enter_your_code"),"onUpdate:modelValue":p[1]||(p[1]=b=>me(i)?i.value=b:null)},null,8,V5),[[zt,h(i)]]),h(a)?(O(),H("div",B5,[f("div",$5,$(h(a)),1)])):re("",!0),h(c)?(O(),ke(g,{key:2})):(O(),H("button",{key:1,onClick:u,class:"mt-4 btn primary !block w-full !text-white",disabled:h(s)},$(d.$t("receive")),9,F5))])])]),_:1},8,["show"])}}},H5=U5;const j5={__name:"OptionsWrapper",props:{open:Boolean,width:Number,el:[HTMLElement,void 0],wrapperClass:String,selectDropdownClass:String},emits:["close"],setup(e,{emit:t}){const n=e,o=M(!1),r=Et();Te(()=>n.open,d=>{d?(o.value=window.innerWidth<768,document.addEventListener("click",a),window.addEventListener("resize",l),ft(()=>{window.innerWidth>=768&&(u(),u()),c.value.classList.contains("o-select-backdrop")?r.noScrollCount++:window.addEventListener("scroll",s)})):(document.removeEventListener("click",a),window.removeEventListener("resize",l),c.value.classList.contains("o-select-backdrop")?r.noScrollCount--:window.removeEventListener("scroll",s))});const s=d=>{t("close")},i=M(null),a=d=>{!n.open||!n.el||!n.el.contains(d.target)&&!i.value.contains(d.target)&&t("close")},l=()=>{u()},c=M(null),u=()=>{if(o.value||!c.value)return;const d=n.el.getBoundingClientRect(),p=c.value.getBoundingClientRect(),g=n.width||d.width,m={position:"absolute",width:`${g}px`};d.x+g<document.body.scrollWidth?m.left=`${d.left}px`:m.right=`${document.body.scrollWidth-d.right}px`,d.bottom+p.height<window.innerHeight||d.y-p.height<0?m.top=`${d.bottom+window.scrollY}px`:m.top=`${d.y+window.scrollY-p.height}px`,Object.assign(c.value.style,m)};return Nt(()=>{document.removeEventListener("click",a),window.removeEventListener("resize",l),window.removeEventListener("scroll",s)}),(d,p)=>(O(),ke(zs,{to:"body"},[e.open?(O(),H("div",{key:0,class:Ce(`${h(o)?"o-select-backdrop":"o-select-dropdown"} ${e.selectDropdownClass}`),ref_key:"optionsWrapper",ref:c},[f("div",{class:Ce(["o-select-content",e.wrapperClass]),ref_key:"content",ref:i},[Lo(d.$slots,"default",{},void 0,!0)],2)],2)):re("",!0)]))}},W5=Rt(j5,[["__scopeId","data-v-ccbf8750"]]),q5=gn({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=M(!1);return ht(()=>{o.value=!0}),r=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=r.fallback||r.placeholder||"",a=r.fallbackTag||r.placeholderTag||"span";return H(a,n,i)}}});const Mh=e=>(tn("data-v-82a8491f"),e=e(),nn(),e),z5={key:0},K5={key:0,class:"o-select-value-label"},G5={key:0,class:"o-select-value-label-img-container"},Y5=["src"],Z5={key:1},J5={key:1},Q5={key:1,class:"o-select-pills-wrapper"},X5={key:2},eC=Mh(()=>f("div",null," ",-1)),tC=[eC],nC=Mh(()=>f("div",{class:"o-icon right"},[f("svg",{class:"o-select-arrow",xmlns:"http://www.w3.org/2000/svg",width:"10",viewBox:"0 0 16 9"},[f("path",{id:"Arrow",d:"M8,0l8,9H0Z",transform:"translate(16 9) rotate(180)",fill:"#8c8c8c"})])],-1)),oC={class:"o-select-label-container"},rC={key:0},sC={key:0,class:"o-select-search-container"},iC={class:"o-select-options-container content-scrollbar"},aC=["onClick"],lC=["src"],cC={key:0,class:"o-select-option text-center"},uC={__name:"Select",props:{options:{type:Array,required:!0},modelValue:{type:[Number,String,Array],required:!0},multiple:Boolean,search:Boolean,minWidth:Number,labelValue:Boolean,formatLabel:Function,label:String,selectClass:String,dropdownClass:String,api:Boolean,disabled:Boolean},emits:["update:modelValue","search","change"],setup(e,{emit:t}){const n=e,o=be(()=>n.options.find(b=>b.value==n.modelValue)),r=b=>{if(typeof n.modelValue=="string"||typeof n.modelValue=="number")return b==n.modelValue;if(Array.isArray(n.modelValue))return n.modelValue.indexOf(b)>-1},s=M(""),i=be(()=>s.value?n.options.filter(b=>b.text.toLowerCase().indexOf(s.value.toLowerCase())>-1):n.options),a=M(),l=b=>{n.api&&(a.value&&clearTimeout(a.value),a.value=setTimeout(()=>{b.target.value&&t("search",b.target.value)},300))},c=be(()=>{let b={};return n.options.forEach(k=>{b[k.value]=k.text}),b}),u=b=>{if(typeof n.modelValue=="string"||typeof n.modelValue=="number"){t("update:modelValue",b.value),t("change",b.value),d.value=!1;return}if(Array.isArray(n.modelValue)){let k=[...n.modelValue];k.indexOf(b.value)>-1?k=k.filter(w=>w!=b.value):k.push(b.value),t("update:modelValue",k),t("change",k)}},d=M(!1),p=M(),g=()=>{n.disabled||(d.value?n.search||(d.value=!1):(d.value=!0,n.search&&window.innerWidth>768&&ft(()=>{p.value.focus()})))};Te(d,b=>{b||(s.value="")});const m=M(null);return(b,k)=>{const w=W5,v=q5;return O(),H("div",null,[f("div",{class:Ce(["o-input-wrapper right o-select-container",{open:h(d),"cursor-pointer":!e.disabled}]),onClick:g,ref_key:"select",ref:m},[f("div",{class:Ce(["o-input right",e.selectClass])},[yt(f("div",null,[yt(f("input",{type:"text",class:"o-select-lg-input",ref_key:"lgSearchInput",ref:p,"onUpdate:modelValue":k[0]||(k[0]=_=>me(s)?s.value=_:null),placeholder:"Search",onInput:l},null,544),[[zt,h(s)]])],512),[[pn,e.search&&h(d)]]),yt(f("div",null,[e.multiple?re("",!0):(O(),H("div",z5,[h(o)?(O(),H("div",K5,[h(o).icon?(O(),H("div",G5,[f("img",{src:h(o).icon},null,8,Y5)])):re("",!0),h(o)?(O(),H("span",Z5,$(e.formatLabel?e.formatLabel(h(o)):("unref"in b?b.unref:h(h))(h(o).text)),1)):re("",!0)])):(O(),H("div",J5," "))])),e.multiple&&e.modelValue.length>0?(O(),H("div",Q5,[(O(!0),H(Se,null,Qt(e.modelValue,_=>(O(),H("div",{class:"o-select-pill",key:_},$(e.labelValue?_:("unref"in b?b.unref:h(h))(h(c)[_])||""),1))),128))])):re("",!0),e.multiple&&e.modelValue.length==0?(O(),H("div",X5,tC)):re("",!0)],512),[[pn,!e.search||!h(d)]])],2),nC],2),ee(v,null,{default:Ae(()=>[ee(w,{open:h(d),el:h(m),width:e.minWidth,onClose:k[3]||(k[3]=_=>d.value=!1),wrapperClass:e.dropdownClass},{default:Ae(()=>[f("div",oC,[f("div",null,[e.label?(O(),H("div",rC,$(e.label),1)):re("",!0)]),f("button",{class:"o-select-close",onClick:k[1]||(k[1]=_=>d.value=!1)},"×")]),e.search?(O(),H("div",sC,[yt(f("input",{type:"text","onUpdate:modelValue":k[2]||(k[2]=_=>me(s)?s.value=_:null),class:"o-input",placeholder:"Search",onInput:l},null,544),[[zt,h(s)]])])):re("",!0),f("div",iC,[f("div",{class:Ce(["o-select-body",{multiple:e.multiple}])},[(O(!0),H(Se,null,Qt(h(i),_=>(O(),H("div",{key:_.id?_.id:_.value,class:Ce(["o-select-option",{selected:r(_.value)}]),onClick:y=>u(_)},[e.multiple?(O(),H("div",{key:0,class:Ce(["o-checkbox",{checked:r(_.value)}])},null,2)):re("",!0),_.icon?(O(),H("img",{key:1,src:_.icon},null,8,lC)):re("",!0),f("span",null,$(("unref"in b?b.unref:h(h))(_.text)),1)],10,aC))),128)),h(i).length==0?(O(),H("div",cC,"No Results Found")):re("",!0)],2)])]),_:1},8,["open","el","width","wrapperClass"])]),_:1})])}}},dC=Rt(uC,[["__scopeId","data-v-82a8491f"]]),fi=bn("country",{state:()=>({data:{},ready:!1}),actions:{async getCountries(){const e=Ct(),t=e.public.ENV=="production"?"production":"staging",n=`${e.public.PUBLIC_FE_BUCKET}backend/${t}/json/countrylist.json.gz`,o=await _n(n,"country_list");o.status&&this.setCountries(o.data)},setCountries(e){this.data=e,this.ready=!0}}});const fC=e=>(tn("data-v-c4612c5f"),e=e(),nn(),e),hC={key:0,class:"o-icon left"},pC=fC(()=>f("i",{class:"icon-Mobile"},null,-1)),mC=[pC],vC={key:0,class:"flex-shrink-0 o-phone-select"},gC={class:"flex-grow"},bC=["minlength","maxlength","inputmode","placeholder"],yC={__name:"PhoneInput2",props:{modelValue:String,selectClass:{type:String,default:""},placeholder:String,disabled:Boolean,countryDisabled:Boolean,countryHide:{default:!1,type:Boolean},selectedCurrency:Object,icon:String,inputMode:{default:"numeric",type:String}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const o=e,r=Ct(),{t:s}=Ft(),i=M(""),a=M("");t({insertNumber:C=>{a.value.length>=p.value||(a.value+=`${C}`)},removeNumber:()=>{a.value=a.value.slice(0,a.value.length-1)},focus:()=>{_.value.focus(),_.value.click()}});const d=M(5),p=M(13);Te(i,(C,T)=>{T&&m(),g()});const g=()=>{const C=b.data.find(T=>T.code==i.value);C&&(d.value=parseInt(C.mobileno_length_min)||5,p.value=parseInt(C.mobileno_length_max)+2||12)};Te(a,(C,T)=>{if(/\s/g.test(C)){a.value=a.value.replace(/\s/g,"");return}(i.value=="880"||i.value=="63")&&C.startsWith("0")&&(a.value=C.substring(1)),i.value=="66"&&!C.startsWith("0")&&C.length==1&&(a.value=`0${a.value}`),T.endsWith("-")&&C.length<T.length&&(a.value=a.value.substring(0,a.value.length-1)),(a.value.length==3||a.value.length==7)&&(a.value=`${a.value}-`),m()});const m=()=>{var C=`${i.value}-${a.value}`;n("update:modelValue",C)};Te(()=>o.modelValue,C=>{i.value=C?C.split("-")[0]:""}),ht(()=>{if(o.modelValue){const C=o.modelValue.split("-");if(C.length>0&&(i.value=C[0]),C.length>1){let T="";for(let S=1;S<C.length;S++)T+=`${C[S]}-`;T=T.substring(0,T.length-1),a.value=T}}});const b=fi(),k=M([]);Te(()=>b.ready,C=>{if(C){let S=b.data.map(A=>({icon:`${r.public.COMMON_BUCKET}flags/${A.abr.toLowerCase()}.png`,value:A.code,text:s(`country_${A.abr.toLowerCase()=="hk"?"hk_china":A.abr.toLowerCase()}`)+" +"+A.code,currency:A.currency}));if(k.value=S,o.selectedCurrency){var T=S.find(A=>A.currency==o.selectedCurrency.text);T?i.value=T.value:i.value=S[0].value}else i.value=S[0].value}},{immediate:!0});const w=M(!1),v=M(),_=M(),y=C=>{C.target==v.value&&_.value.focus()};ht(()=>{a.value="",v.value.addEventListener("click",y)}),Nt(()=>{v.value&&v.value.removeEventListener("click",y)});const E=C=>"+"+C.value.replace("+","(");return(C,T)=>{const S=dC;return O(),H("div",{class:Ce(["o-input-wrapper o-phone-wrapper",{left:e.icon=="left"}])},[e.icon=="left"?(O(),H("div",hC,mC)):re("",!0),f("div",{class:Ce(["!flex o-input !p-0 items-center",`${e.selectClass} ${h(w)?"focus":""} ${e.disabled?"pointer-events-none":""}`]),ref_key:"inputWrapper",ref:v},[e.countryHide?re("",!0):(O(),H("div",vC,[ee(S,{modelValue:h(i),"onUpdate:modelValue":T[0]||(T[0]=A=>me(i)?i.value=A:null),disabled:e.countryDisabled,options:h(k),formatLabel:E,minWidth:320,selectClass:"!max-w-[120px] !border-none !pr-4 o-phone !py-2",label:C.$t("phone_number")},null,8,["modelValue","disabled","options","label"])])),f("div",gC,[yt(f("input",{"onUpdate:modelValue":T[1]||(T[1]=A=>me(a)?a.value=A:null),minlength:h(d),maxlength:h(p),type:"text",inputmode:e.inputMode,autocomplete:"off",class:"outline-none w-full o-phone p-2",onKeydown:T[2]||(T[2]=(...A)=>C.$filterNumberInput&&C.$filterNumberInput(...A)),onFocus:T[3]||(T[3]=A=>w.value=!0),onBlur:T[4]||(T[4]=A=>w.value=!1),ref_key:"innerInput",ref:_,placeholder:e.placeholder,onPaste:T[5]||(T[5]=A=>A.preventDefault())},null,40,bC),[[zt,h(a)]])])],2)],2)}}},Dh=Rt(yC,[["__scopeId","data-v-c4612c5f"]]),wC={class:"grid gap-4 pt-1"},_C={class:"auth-login-text text-center pb-3"},EC={class:"text-sm md:text-base font-medium mb-1"},kC={class:"text-xs md:text-sm font-normal"},CC={class:"relative mb-2 pb-2"},TC={class:"relative px-3 flex gap-2"},AC=["placeholder"],LC={class:"relative flex items-center"},RC=f("div",{class:"auth-signup-tnc text-xs md:text-sm font-normal text-center"},"   ",-1),SC={class:"w-full flex justify-center"},IC=["disabled"],PC={class:"grid gap-4 pt-1"},OC={class:"auth-login-text text-center pb-3"},xC={class:"text-sm md:text-base font-medium mb-1"},MC={class:"text-xs md:text-sm font-normal"},DC={class:"relative mb-2 pb-3"},NC={class:"relative px-3 flex gap-2"},VC={class:"relative flex-grow"},BC={class:"relative flex items-center"},$C={class:"block md:hidden mx-auto"},FC={class:"w-full flex justify-center"},UC=["disabled"],HC={class:"hidden md:block mx-auto"},jC={class:"grid gap-4 pt-1"},WC={class:"auth-login-text text-center pb-3 relative"},qC={class:"text-sm md:text-base font-medium mb-1"},zC={class:"text-xs md:text-sm font-normal"},KC={class:"absolute -bottom-2 w-full text-center text-[10px]"},GC={class:"text-text-light mr-1"},YC=["disabled"],ZC={class:"relative mb-2 pb-3"},JC={class:"w-full flex justify-center"},QC=["disabled"],XC={class:"grid gap-4 pt-1"},e6={class:"auth-login-text text-center pb-3"},t6={class:"text-sm md:text-base font-medium mb-1"},n6={class:"text-xs md:text-sm font-normal"},o6={class:"relative mb-2 pb-3"},r6={class:"relative px-3 flex gap-2"},s6={class:"relative flex-grow"},i6={class:"relative flex items-center"},a6={class:"w-full flex justify-center"},l6=["disabled"],c6={key:4,class:"grid gap-4 py-[5.75rem] md:py-4"},u6={class:"auth-login-text text-center"},d6={class:"text-xs md:text-sm font-normal"},f6={class:"text-xs md:text-sm font-normal"},h6={__name:"Login",setup(e){const{$api:t,$toast:n}=ye();lo();const o=co(),r=Ct(),s=be(()=>{if(o.ready&&o.data&&o.data.currency){var U={text:o.data.currency};return U}return null}),i=M(),a=M(),l=M(),c=M(!!(["asia24"].includes(r.public.MERCHANT)&&r.public.ENV!="production")),u=M(!0),d=M(""),p=()=>{Y.value="",d.value="",ft(()=>{var U,q;(U=i.value)==null||U.clear(),(q=a.value)==null||q.clear()}),u.value=!u.value,ft(()=>{u.value?A.value.focusStart():(A.value.clear(),l.value.focus())})},g=M(),m=M(),b=M(),k=M(!0),w=M(""),v=()=>{ge.value="",w.value="",ft(()=>{var U,q;(U=g.value)==null||U.clear(),(q=m.value)==null||q.clear()}),k.value=!k.value,ft(()=>{k.value?N.value.focusStart():(N.value.clear(),b.value.focus())})},_=M(),y=M(),E=()=>{W.value="",V.value="",ft(()=>{var U,q;(U=g.value)==null||U.clear(),(q=m.value)==null||q.clear()}),c.value=!c.value,ft(()=>{c.value?S.value.focus():T.value.focus()})},C=M(1),T=M(),S=M(),A=M(),j=M(),N=M(),V=M(""),W=M("");ht(()=>{setTimeout(()=>{T.value.focus()},400)}),Ws(()=>{window.authMobileNo&&(V.value=window.authMobileNo)}),Nt(()=>{window.authMobileNo=V.value});const Y=M(""),ce=be(()=>c.value?!(W.value.length>0):!(V.value.replaceAll("-","").length>=10)),ne=be(()=>u.value?!(Y.value.length>=6):!(d.value.length>=6&&d.value.length<=16)),pe=M(!1),se=Cn(),Le=Et(),ae=U=>{U.isValid&&(C.value=2,setTimeout(()=>{u.value?A.value.focusStart():l.value.focus()},400))},dt=async U=>{if(!U.isValid)return;pe.value=!0;let q={username:c.value?W.value:V.value.replaceAll("-",""),password:u.value?Y.value:d.value};r.public.AUTH_MOBILE_CHECK?q.mobile_check=1:q.mobile_check=0;const D=await se.login(q);if(pe.value=!1,!D.status){n(D.status,D.msg);return}V.value="",Le.authModal=!1},Q=M(!1),ie=M(""),ue=M(""),ut=async()=>{var J;if(Q.value)return;Q.value=!0;let U=V.value.split("-")[0],q=V.value.replace(`${V.value.split("-")[0]}-`,"");q=q.replaceAll("-","");let D=q.substring(1),R=c.value?W.value:`${U}${D}`;const P=await t("user/request-forget-tac",{sendType:"mobile",type:"forget",key:c.value?"username":"mobileno",value:R});if(Q.value=!1,P.status||!P.status&&P.code==140014){ue.value=P.data.data;let X=0;if((J=P==null?void 0:P.data)!=null&&J.data&&P.data.data.indexOf("*")>=0)X=60*5;else{let le=new Date(P.data.data.slice(0,P.data.data.indexOf("GMT")-1));X=Math.ceil((le-new Date)/1e3)}ft(()=>{F(X)})}if(!P.status){P.code==140014?(C.value=10,setTimeout(()=>{j.value.focusStart()},400)):n(!1,P.msg);return}ie.value=P.data.sendType,C.value=10,setTimeout(()=>{j.value.focusStart()},400)},Ee=M(""),z=M(!1),oe=be(()=>!(Ee.value.length>=r.public.OTP_LENGTH)),te=async U=>{if(!U.isValid||z.value)return;z.value=!0;let q=V.value.split("-")[0],D=V.value.replace(`${V.value.split("-")[0]}-`,"");D=D.replaceAll("-","");const R=await t("user/verify-forget-tac",{username:c.value?W.value:`${q}${D}`,otp:Ee.value,sendType:"mobile",type:"forget"});if(z.value=!1,!R.status){n(!1,R.msg);return}C.value=11,setTimeout(()=>{u.value?N.value.focusStart():b.value.focus()},400)},fe=M(!1),ge=M(""),L=be(()=>k.value?!(ge.value.length>=6):!(w.value.length>=8&&w.value.length<=16)),I=async U=>{if(!U.isValid||fe.value)return;fe.value=!0;let q=V.value.split("-")[0],D=V.value.replace(`${V.value.split("-")[0]}-`,"");D=D.replaceAll("-","");const R=await t("user/reset-login-password",{type:"verify-mobile",username:c.value?W.value:`${q}${D}`,new_password:ge.value,confirm_new_password:ge.value,otp:Ee.value});if(fe.value=!1,!R.status){n(!1,R.msg);return}C.value=12,setTimeout(async()=>{V.value="",Y.value="",d.value="",ie.value="",Ee.value="",ge.value="",w.value="",C.value=1},3e3)};let B=null;const K=M(120),G=M(!1),F=U=>{G.value=!1,K.value=U,clearInterval(B),B=setInterval(()=>{K.value=K.value-1,K.value<=0&&(G.value=!0,clearInterval(B),B=null)},1e3)},Z=()=>{ut()};return(U,q)=>{const D=Dh,R=$n("DError"),P=$n("DForm"),J=wl,X=yl,le=ui;return O(),H("div",null,[h(C)==1?(O(),ke(P,{key:0,onSubmit:ae,novalidate:""},{default:Ae(()=>[f("div",wC,[f("div",_C,[f("div",EC,$(U.$t("enter_your_phone_number")),1),f("div",kC,$(U.$t("enter_your_phone_number_login")),1)]),f("div",CC,[f("div",TC,[f("div",{class:Ce(["relative flex-grow ms-[0px]",{"md:ms-[50px]":h(r).public.MERCHANT=="asia24"&&h(r).public.ENV=="production"}])},[h(c)?yt((O(),H("input",{key:0,ref_key:"usernameInputRef",ref:S,type:"text",class:Ce(["o-input auth-input-wrapper my-2 text-[10px] md:text-sm",{"text-center":h(r).public.MERCHANT=="asia24"&&h(r).public.ENV!="production"}]),placeholder:["asia24"].includes(h(r).public.MERCHANT)&&h(r).public.ENV!="production"?U.$t("username_or_mobile"):U.$t("enter_your_username"),"onUpdate:modelValue":q[0]||(q[0]=de=>me(W)?W.value=de:null)},null,10,AC)),[[zt,h(W)]]):(O(),ke(D,{key:1,ref_key:"phoneInputRef",ref:T,selectedCurrency:h(s),countryDisabled:!0,countryHide:!0,icon:"left",selectClass:"auth-phone-input",placeholder:U.$t("login_placeholder_phone_number"),modelValue:h(V),"onUpdate:modelValue":q[1]||(q[1]=de=>me(V)?V.value=de:null),inputMode:"numeric",disabled:!1},null,8,["selectedCurrency","placeholder","modelValue"]))],2),f("div",LC,[h(r).public.MERCHANT=="asia24"&&h(r).public.ENV=="production"?(O(),H("button",{key:0,type:"button",class:"auth-pwd-toggle-btn rounded-2xl px-2 py-1 min-w-[40px] text-[10px] md:text-sm",onClick:E},$(h(c)?"123":"ABC"),1)):re("",!0)])]),h(c)?(O(),ke(R,{key:0,ref_key:"usernameErrRef",ref:_,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(W),"onUpdate:modelValue":q[2]||(q[2]=de=>me(W)?W.value=de:null),required:""},null,8,["modelValue"])):(O(),ke(R,{key:1,ref_key:"mobilenoErrRef",ref:y,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(V),"onUpdate:modelValue":q[3]||(q[3]=de=>me(V)?V.value=de:null),required:"",validphone:""},null,8,["modelValue"]))]),RC,f("div",SC,[f("button",{type:"submit",class:"auth_confirm_btn md:rounded-full text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(ce)},$(U.$t("confirm")),9,IC)])])]),_:1})):h(C)==2?(O(),ke(P,{key:1,onSubmit:dt,novalidate:""},{default:Ae(()=>[f("div",PC,[f("div",OC,[f("div",xC,$(U.$t("password")),1),f("div",MC,$(U.$t("please_enter_password_login")),1)]),f("div",DC,[f("div",NC,[f("div",VC,[yt(ee(J,{class:"auth-pin-input ms-[0px] md:ms-[50px]",modelValue:h(Y),"onUpdate:modelValue":q[4]||(q[4]=de=>me(Y)?Y.value=de:null),ref_key:"pinInputRef",ref:A,type:"password",length:6,disabled:h(pe),inputMode:"numeric"},null,8,["modelValue","disabled"]),[[pn,h(u)]]),yt(ee(X,{class:"auth-input-wrapper absolute top-0 left-0 my-[5px]",modelValue:h(d),"onUpdate:modelValue":q[5]||(q[5]=de=>me(d)?d.value=de:null),ref_key:"passwordInputRef",ref:l,placeholder:U.$t("enter_your_password"),selectClass:"auth-input"},null,8,["modelValue","placeholder"]),[[pn,!h(u)]])]),f("div",BC,[f("button",{type:"button",class:"auth-pwd-toggle-btn rounded-2xl px-2 py-1 min-w-[40px] text-[10px] md:text-sm",onClick:p},$(h(u)?"ABC":"123"),1)])]),h(u)?(O(),ke(R,{key:0,ref_key:"pwdErrRef",ref:i,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(Y),"onUpdate:modelValue":q[6]||(q[6]=de=>me(Y)?Y.value=de:null),required:""},null,8,["modelValue"])):(O(),ke(R,{key:1,ref_key:"pwdTxtErrRef",ref:a,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(d),"onUpdate:modelValue":q[7]||(q[7]=de=>me(d)?d.value=de:null),required:"",minlength:6,maxlength:16},null,8,["modelValue"]))]),f("div",$C,[f("button",{onClick:ut,type:"button",class:"text-primary font-medium text-sm md:text-base underline"},$(U.$t("forgot_yout_password_question_mark")),1)]),f("div",FC,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(pe)||h(ne)},$(U.$t("confirm")),9,UC)]),f("div",HC,[f("button",{onClick:ut,type:"button",class:"text-primary font-medium text-sm md:text-base underline"},$(U.$t("forgot_yout_password_question_mark")),1)])])]),_:1})):h(C)==10?(O(),ke(P,{key:2,onSubmit:te,novalidate:""},{default:Ae(()=>[f("div",jC,[f("div",WC,[f("div",qC,$(U.$t("enter_otp_code")),1),f("div",zC,$(U.$t("number_digit_code_sent_to_user",{digit:h(r).public.OTP_LENGTH,n:h(r).public.MERCHANT=="asia24"&&h(r).public.ENV!="production"?h(ue):h(V).replace(`${h(V).split("-")[0]}-`,"")})),1),f("div",KC,[f("span",GC,$(U.$t("didnt_receive_the_pin_number")),1),f("button",{type:"button",class:Ce(["inline",{"opacity-80":!h(G)}]),disabled:!h(G),onClick:Z},$(U.$t("resend_code_n",{n:`${h(K)}s`})),11,YC)])]),f("div",ZC,[ee(J,{ref_key:"pinInputRef2",ref:j,length:h(r).public.OTP_LENGTH,modelValue:h(Ee),"onUpdate:modelValue":q[8]||(q[8]=de=>me(Ee)?Ee.value=de:null),class:"auth-pin-input",disabled:h(z),inputMode:"numeric"},null,8,["length","modelValue","disabled"]),ee(R,{class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(Ee),"onUpdate:modelValue":q[9]||(q[9]=de=>me(Ee)?Ee.value=de:null),required:""},null,8,["modelValue"])]),f("div",JC,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(z)||h(oe)},$(U.$t("confirm")),9,QC)])])]),_:1})):h(C)==11?(O(),ke(P,{key:3,onSubmit:I,novalidate:""},{default:Ae(()=>[f("div",XC,[f("div",e6,[f("div",t6,$(U.$t("set_new_code_number")),1),f("div",n6,$(U.$t("enter_the_6_digit_code_to_log_in")),1)]),f("div",o6,[f("div",r6,[f("div",s6,[yt(ee(J,{class:"auth-pin-input ms-[0px] md:ms-[50px]",modelValue:h(ge),"onUpdate:modelValue":q[10]||(q[10]=de=>me(ge)?ge.value=de:null),ref_key:"pinInputRef3",ref:N,type:"password",length:6,disabled:h(fe),inputMode:"numeric"},null,8,["modelValue","disabled"]),[[pn,h(k)]]),yt(ee(X,{class:"auth-input-wrapper absolute top-0 left-0 my-[5px]",modelValue:h(w),"onUpdate:modelValue":q[11]||(q[11]=de=>me(w)?w.value=de:null),ref_key:"passwordInputRef3",ref:b,placeholder:U.$t("enter_your_password"),selectClass:"auth-input"},null,8,["modelValue","placeholder"]),[[pn,!h(k)]])]),f("div",i6,[f("button",{type:"button",class:"auth-pwd-toggle-btn rounded-2xl px-2 py-1 min-w-[40px] text-[10px] md:text-sm",onClick:v},$(h(k)?"ABC":"123"),1)])]),h(k)?(O(),ke(R,{key:0,ref_key:"newPwdErrRef",ref:g,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(ge),"onUpdate:modelValue":q[12]||(q[12]=de=>me(ge)?ge.value=de:null),required:""},null,8,["modelValue"])):(O(),ke(R,{key:1,ref_key:"newPwdTxtErrRef",ref:m,class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(w),"onUpdate:modelValue":q[13]||(q[13]=de=>me(w)?w.value=de:null),required:"",minlength:6,maxlength:16},null,8,["modelValue"]))]),f("div",a6,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(fe)||h(L)},$(U.$t("confirm")),9,l6)])])]),_:1})):h(C)==12?(O(),H("div",c6,[ee(le,{class:"",file:"success_signup.json",width:250}),f("div",u6,[f("div",d6,$(U.$t("reset_password_text_1")),1),f("div",f6,$(U.$t("go_to_the_automatic_login_page_in")),1)])])):re("",!0)])}}},p6=h6;const Jr=e=>(tn("data-v-40062023"),e=e(),nn(),e),m6={class:"grid gap-4 pt-1"},v6={class:"auth-signup-text text-center pb-3"},g6={class:"text-sm md:text-base font-medium mb-1"},b6={class:"text-xs md:text-sm font-normal"},y6={class:"relative mb-2 pb-2"},w6={class:"auth-signup-tnc text-xs md:text-sm font-normal text-center"},_6={class:"w-full flex justify-center"},E6=["disabled"],k6={class:"grid gap-4 pt-1"},C6={class:"auth-login-text text-center pb-3 relative"},T6={class:"text-sm md:text-base font-medium mb-1"},A6={class:"text-xs md:text-sm font-normal"},L6={class:"absolute -bottom-2 w-full text-center text-[10px]"},R6={class:"text-text-light mr-1"},S6=["disabled"],I6={class:"relative -mb-3 pb-0"},P6={class:"mx-auto text-xs md:text-sm text-[#888693]"},O6={class:"w-full flex justify-center"},x6=["disabled"],M6={class:"grid gap-4 pt-1"},D6={class:"auth-login-text text-center pb-3"},N6={class:"text-sm md:text-base font-medium mb-1"},V6={class:"text-xs md:text-sm font-normal"},B6={class:"relative mb-2 pb-3"},$6={class:"w-full flex justify-center"},F6=["disabled"],U6={class:"grid gap-4 pt-1"},H6={class:"auth-signup-text text-center pb-3"},j6={class:"text-sm md:text-base font-medium mb-1"},W6={class:"min-h-[22.875rem] md:min-h-full"},q6={class:"flex flex-wrap gap-3 md:gap-5 justify-center items-center mb-6 px-6"},z6=["onClick"],K6=["src","alt"],G6={class:"w-full flex justify-center"},Y6=["disabled"],Z6={class:"grid gap-4 pt-1"},J6={class:"auth-signup-text text-center pb-3 mb-6"},Q6={class:"text-sm md:text-base font-medium mb-1"},X6={class:"min-h-[17.375rem] md:min-h-full"},eT={class:"flex justify-center gap-4 items-center mb-6"},tT={class:"flex justify-center w-20"},nT=["src","alt"],oT={class:"flex justify-center text-sm md:text-base font-medium"},rT={class:"flex justify-center w-20"},sT=Jr(()=>f("path",{d:"M0,13.541,10.847,2.657l4.042,4.056L4.049,17.6ZM10.516,6.215,3.547,13.209a.592.592,0,0,0,0,.83.582.582,0,0,0,.413.172.573.573,0,0,0,.413-.172l6.97-6.994a.587.587,0,0,0,0-.83.569.569,0,0,0-.41-.176A.586.586,0,0,0,10.516,6.215Zm1.175-4.379L13.108.415a1.415,1.415,0,0,1,2,0l2.04,2.049a1.437,1.437,0,0,1,.413,1.006,1.393,1.393,0,0,1-.413,1L15.733,5.893Z",transform:"translate(2.442 0)",fill:"currentColor",opacity:"0.4"},null,-1)),iT=Jr(()=>f("path",{d:"M1.262,370.5l-1.667,4.133a1,1,0,0,0,.223,1.084A1,1,0,0,0,.9,375.94l4.133-1.667L1.262,370.5Z",transform:"translate(0.479 -356.016)",fill:"currentColor"},null,-1)),aT=[sT,iT],lT={class:"px-4 mb-1"},cT={class:"relative"},uT=["disabled","minlength","maxlength","placeholder"],dT=Jr(()=>f("svg",{class:"absolute top-[50%] translate-y-[-50%] w-14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 20 20"},[f("path",{d:"M8.022,6.743a6.658,6.658,0,1,1,13.315,0,6.7,6.7,0,0,1-6.657,6.743,6.584,6.584,0,0,1-2.031-.318L8.337,8.8a6.829,6.829,0,0,1-.314-2.057Zm8.171-3.065A1.533,1.533,0,1,0,17.706,5.21,1.523,1.523,0,0,0,16.193,3.678Z",transform:"translate(-1.971)",fill:"#1470ed"}),f("path",{d:"M6.367,11.517l4.312,4.367h0L9.385,17.126a.708.708,0,0,1-.609.3H7.264v1.532a.912.912,0,0,1-.908.919H4.843v1.532a.912.912,0,0,1-.908.919H.909A.913.913,0,0,1,0,21.413V18.348A.928.928,0,0,1,.266,17.7l6.1-6.179h0Z",transform:"translate(-0.001 -2.717)",fill:"#1470ed",opacity:"0.4"})],-1)),fT={class:"px-4 mb-1"},hT={class:"relative"},pT=["disabled","placeholder"],mT=Jr(()=>f("svg",{class:"absolute top-[50%] translate-y-[-50%] w-14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 20 20"},[f("path",{d:"M22.455,16.207a3.656,3.656,0,0,0,0-1.341l.813-.473a.227.227,0,0,0,.107-.268,4.791,4.791,0,0,0-1.049-1.81.228.228,0,0,0-.284-.044l-.813.469a3.691,3.691,0,0,0-1.164-.671v-.943a.228.228,0,0,0-.182-.221,4.731,4.731,0,0,0-2.091,0,.224.224,0,0,0-.177.221v.943a3.7,3.7,0,0,0-1.164.67l-.815-.471a.229.229,0,0,0-.284.044,4.741,4.741,0,0,0-1.046,1.81.23.23,0,0,0,.1.268l.813.473a3.829,3.829,0,0,0,0,1.341l-.813.473a.226.226,0,0,0-.1.268,4.762,4.762,0,0,0,1.046,1.81.229.229,0,0,0,.284.044l.817-.469A3.7,3.7,0,0,0,17.617,19v.943a.224.224,0,0,0,.177.221,4.731,4.731,0,0,0,2.09,0,.228.228,0,0,0,.182-.221V19a3.691,3.691,0,0,0,1.164-.671l.813.469a.229.229,0,0,0,.284-.044,4.8,4.8,0,0,0,1.049-1.81.227.227,0,0,0-.107-.268l-.814-.472Zm-3.612.858a1.53,1.53,0,1,1,1.53-1.53A1.532,1.532,0,0,1,18.843,17.065Z",transform:"translate(-3.195 -4.43)",fill:"#1470ed"}),f("path",{d:"M7.067,10.677A4.038,4.038,0,1,0,3.029,6.638a4.038,4.038,0,0,0,4.038,4.038Zm6.345,7.439v-.29c-.073-.04-.144-.081-.215-.124l-.247.142a1.24,1.24,0,0,1-.623.169,1.262,1.262,0,0,1-.914-.4,5.815,5.815,0,0,1-1.269-2.205,1.219,1.219,0,0,1,.563-1.427l.253-.147q0-.124,0-.248l-.242-.141a1.223,1.223,0,0,1-.62-1.053,5.394,5.394,0,0,0-1.432-.2h-3.2A5.471,5.471,0,0,0,0,17.663a1.093,1.093,0,0,0,1.094,1.092H13.04a1.068,1.068,0,0,0,.494-.132,1.226,1.226,0,0,1-.122-.505Z",transform:"translate(-0.001 -2.6)",fill:"#1470ed",opacity:"0.4"})],-1)),vT={key:0,class:"px-4"},gT={class:"relative"},bT=["minlength","maxlength","placeholder"],yT=Jr(()=>f("svg",{class:"absolute top-[50%] translate-y-[-50%] w-14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 20 20"},[f("path",{d:"M22.455,16.207a3.656,3.656,0,0,0,0-1.341l.813-.473a.227.227,0,0,0,.107-.268,4.791,4.791,0,0,0-1.049-1.81.228.228,0,0,0-.284-.044l-.813.469a3.691,3.691,0,0,0-1.164-.671v-.943a.228.228,0,0,0-.182-.221,4.731,4.731,0,0,0-2.091,0,.224.224,0,0,0-.177.221v.943a3.7,3.7,0,0,0-1.164.67l-.815-.471a.229.229,0,0,0-.284.044,4.741,4.741,0,0,0-1.046,1.81.23.23,0,0,0,.1.268l.813.473a3.829,3.829,0,0,0,0,1.341l-.813.473a.226.226,0,0,0-.1.268,4.762,4.762,0,0,0,1.046,1.81.229.229,0,0,0,.284.044l.817-.469A3.7,3.7,0,0,0,17.617,19v.943a.224.224,0,0,0,.177.221,4.731,4.731,0,0,0,2.09,0,.228.228,0,0,0,.182-.221V19a3.691,3.691,0,0,0,1.164-.671l.813.469a.229.229,0,0,0,.284-.044,4.8,4.8,0,0,0,1.049-1.81.227.227,0,0,0-.107-.268l-.814-.472Zm-3.612.858a1.53,1.53,0,1,1,1.53-1.53A1.532,1.532,0,0,1,18.843,17.065Z",transform:"translate(-3.195 -4.43)",fill:"#1470ed"}),f("path",{d:"M7.067,10.677A4.038,4.038,0,1,0,3.029,6.638a4.038,4.038,0,0,0,4.038,4.038Zm6.345,7.439v-.29c-.073-.04-.144-.081-.215-.124l-.247.142a1.24,1.24,0,0,1-.623.169,1.262,1.262,0,0,1-.914-.4,5.815,5.815,0,0,1-1.269-2.205,1.219,1.219,0,0,1,.563-1.427l.253-.147q0-.124,0-.248l-.242-.141a1.223,1.223,0,0,1-.62-1.053,5.394,5.394,0,0,0-1.432-.2h-3.2A5.471,5.471,0,0,0,0,17.663a1.093,1.093,0,0,0,1.094,1.092H13.04a1.068,1.068,0,0,0,.494-.132,1.226,1.226,0,0,1-.122-.505Z",transform:"translate(-0.001 -2.6)",fill:"#1470ed",opacity:"0.4"})],-1)),wT={class:"auth-login-text text-center mb-4 mt-5"},_T={class:"text-xs md:text-sm font-normal"},ET={class:"text-xs md:text-sm font-normal"},kT={class:"w-full flex justify-center"},CT=["disabled"],TT={key:2,type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]"},AT={key:5,class:"grid gap-4 py-[5.75rem] md:py-4"},LT={class:"auth-login-text text-center"},RT={class:"text-xs md:text-sm font-normal"},ST={class:"text-xs md:text-sm font-normal"},IT={__name:"SignUp",props:{closeRegistration:Boolean},setup(e){lo();const t=Ct(),{$getCurrency:n,$api:o,$toast:r}=ye(),s=n(),i=Et(),a=Cn();cn();const l=Vt(),c=Io(),{locale:u}=Ft(),d=M(),p=M(),g=M();ht(()=>{setTimeout(()=>{d.value.focus()},400)});const m=M({mobileno:"",sms_otp:"",password:"",bank:"",acc_name:"",acc_number:"",ref:"",bank_bsb:""}),b=M(""),k=M(!1);Ws(()=>{window.authMobileNo&&(m.value.mobileno=window.authMobileNo),window.localStorage.getItem("aff")&&(m.value.ref=window.localStorage.getItem("aff"))}),Nt(()=>{window.authMobileNo=m.value.mobileno});const w=be(()=>!(m.value.mobileno.replaceAll("-","").length>=10)),v=M({}),_=M(1),y=co(),E=fi(),C=be(()=>E.ready?E.data.map(R=>({value:R.code,text:R.currency,country:R.abr})):[]),T=M(null);Te(()=>C.value,D=>{D.length&&(T.value=D.filter(R=>R.text==s)[0])},{immediate:!0});const S=()=>{i.authModal=!1,setTimeout(()=>{l.push(c("/terms-and-conditions"))},100)},A=M(!1),j=async D=>{if(D&&(D!=null&&D.isValid)&&!D.isValid||A.value)return;A.value=!0;let R=m.value.mobileno.split("-")[0],P=m.value.mobileno.replace(`${m.value.mobileno.split("-")[0]}-`,"");P=P.replaceAll("-","");let J=P.substring(1),X={username:`${R}${P}`,currency:T.value.text,mobileno:J};const le=await o("register/verify",X);if(!le.status){A.value=!1,r(le.status,le.msg);return}let de={uname:`${R}${P}`,sendType:"mobile",country_code:R,currency:T.value.text,mobileno:J};const _e=await o("user/request-register-tac",de);if(!_e.status){A.value=!1,r(_e.status,_e.msg);return}if(A.value=!1,_e.status||!_e.status&&_e.code==140014){_.value=2;let he=0;if(_e!=null&&_e.data&&_e.data.indexOf("*")>=0)he=60*5;else{let Ut=new Date(_e.data.slice(0,_e.data.indexOf("GMT")-1));he=Math.ceil((Ut-new Date)/1e3)}ft(()=>{B(he)}),ft(()=>{p.value.focusStart()})}},N=M(!1),V=be(()=>!(m.value.sms_otp.length>=t.public.OTP_LENGTH)),W=async D=>{if(!D.isValid||N.value)return;N.value=!0;let R=m.value.mobileno.split("-")[0],P=m.value.mobileno.replace(`${m.value.mobileno.split("-")[0]}-`,"");P=P.replaceAll("-","");let J=P.substring(1);const X=await o("user/verify-otp",{receiver:J,otp:m.value.sms_otp,country_code:R});if(N.value=!1,!X.status){r(X.status,X.msg);return}_.value=3,ft(()=>{g.value.focusStart()})},Y=M(!1),ce=be(()=>!(m.value.password.length>=6)),ne=M([]),pe=async D=>{if(!D.isValid||Y.value)return;Y.value=!0;let R=m.value.mobileno.split("-")[0],P=m.value.mobileno.replace(`${m.value.mobileno.split("-")[0]}-`,"");P=P.replaceAll("-","");let J=P.substring(1),X={username:`${R}${P}`,currency:T.value.text,mobileno:J,new_password:m.value.password,confirm_new_password:m.value.password};const le=await o("register/verify",X);if(!le.status){Y.value=!1,r(le.status,le.msg);return}const de=await o("user/get-bank-list",{currency:T.value.text});if(!de.status){Y.value=!1,r(de.status,de.msg);return}Y.value=!1;let _e=[...de.data.data.map(he=>({text:he.bank_name,value:he.id,min_account_number:he.min_account_number,max_account_number:he.max_account_number,...he}))];ne.value=_e,_.value=4},se=()=>{_.value=4,m.value.acc_name="",m.value.acc_number="",m.value.bank_bsb="",b.value=""},Le=be(()=>ne.value.find(D=>D.value==m.value.bank)||{}),ae=M(!1),dt=M(!1),Q=M(!1),ie=M(),ue=()=>{var D;ae.value=!1,dt.value=!1,Q.value=!1,v.value.bank=m.value.bank,delete v.value.bank_verify,delete v.value.account_name_verify,((D=Le.value)==null?void 0:D.verify)==1&&(ae.value=!0,dt.value=!1,Q.value=!1),_.value=5};Te(b,(D,R)=>{let P=D,J=R,X=P;if(/\s/g.test(P)){X=P.replace(/\s/g,"");return}if(J.endsWith("-")&&P.length<J.length){X=P.substring(0,P.length-1);return}(P.length==3||P.length==6||P.length==11)&&(X=`${P}-`),b.value=X,m.value.acc_number=X});const ut=D=>{D.isValid&&(v.value.acc_name=m.value.acc_name,v.value.acc_number=m.value.acc_number,fe())},Ee=M(!1),z=M(null),oe=async()=>{if(z.value=ne.value.find(de=>de.id===m.value.bank),z.value.verify==1&&(k.value=!0),Ee.value)return;Ee.value=!0,ie.value="",v.value.bank_verify=1,v.value.account_name_verify=0,v.value.bank_id=m.value.bank,v.value.acc_number=m.value.acc_number;let D=m.value.mobileno.split("-")[0],R=m.value.mobileno.replace(`${m.value.mobileno.split("-")[0]}-`,"");R=R.replaceAll("-","");let P=R.substring(1),J={},X="register/check-user-bank";y.data.currency=="THB"?(X="register/check-user-bank",J={bank_id:m.value.bank,account_number:m.value.acc_number.trim()}):(X="register/verify",J={username:`${D}${R}`,currency:T.value.text,mobileno:P,new_password:m.value.password,confirm_new_password:m.value.password,bank_id:m.value.bank,account_number:m.value.acc_number.trim(),account_name:m.value.acc_name,firstname:m.value.acc_name});const le=await o(X,J);if(Ee.value=!1,dt.value=!0,k.value=!1,le.status=="FAILED"){ie.value="FAILED",Q.value=!0;return}if(le.status=="ERROR"){ie.value="ERROR",r(!1,le.msg);return}if(!le.status){r(!1,le.msg);return}le!=null&&le.data&&(m.value.acc_name=le.data,Q.value=!0)},te=M(!1),fe=async D=>{if(te.value)return;te.value=!0,v.value.ref=m.value.ref,v.value.account_name_verify=1;let R=m.value.mobileno.split("-")[0],P=m.value.mobileno.replace(`${m.value.mobileno.split("-")[0]}-`,""),J=m.value.acc_number.replace(/-/g,"");P=P.replaceAll("-","");let X=P.substring(1),le={username:`${R}${P}`,firstname:m.value.acc_name,new_password:m.value.password,confirm_new_password:m.value.password,country:T.value.country,country_code:R,currency:T.value.text,mobileno:X,mobile_tac:m.value.sms_otp,account_number:J,account_name:m.value.acc_name,bank_id:m.value.bank};m.value.bank_bsb&&(le.bank_bsb=m.value.bank_bsb),m.value.ref&&(le.ref=m.value.ref),ae.value&&(le.flag=ie.value=="FAILED"?"1":"0");const de=await o("register/confirm",le);if(te.value=!1,!de.status){r(de.status,de.msg);return}_.value=7,setTimeout(async()=>{let _e={username:`${R}${P}`,password:m.value.password};t.public.AUTH_MOBILE_CHECK?_e.mobile_check=1:_e.mobile_check=0;const he=await a.login(_e);if(!he.status){r(he.status,he.msg);return}localStorage.removeItem("_cd_register"),m.value.mobileno="",i.authModal=!1},3e3)};let ge=null;const L=M(120),I=M(!1),B=D=>{I.value=!1,L.value=D,clearInterval(ge),ge=setInterval(()=>{L.value=L.value-1,L.value<=0&&(I.value=!0,clearInterval(ge),ge=null)},1e3)},K=()=>{j()},G=M(!1);M("");const F=M(!1),Z=M(""),U=M("1"),q=M("11");return Te(()=>m.value.bank,D=>{if(D){var R=ne.value.find(J=>J.value==D);if(R&&R.branch_display)if(R.branch_display=="1"){F.value=!0,U.value=R.min_bank_branch_number,q.value=R.max_bank_branch_number;var P=u.value.split("-")[0];R.bank_column_display&&R.bank_column_display[P]&&(Z.value=R.bank_column_display[P])}else F.value=!1,Z.value="",U.value="1",q.value="11"}}),(D,R)=>{const P=Dh,J=$n("DError"),X=$n("DForm"),le=wl,de=di,_e=ui;return O(),H("div",null,[h(_)==1?(O(),ke(X,{key:0,onSubmit:j,novalidate:""},{default:Ae(()=>[f("div",m6,[f("div",v6,[f("div",g6,$(D.$t("enter_your_phone_number")),1),f("div",b6,$(D.$t("enter_your_phone_number_signup")),1)]),f("div",y6,[ee(P,{ref_key:"phoneInputRef",ref:d,selectedCurrency:h(T),countryDisabled:!0,countryHide:!0,icon:"left",selectClass:"auth-phone-input",placeholder:D.$t("login_placeholder_phone_number"),modelValue:h(m).mobileno,"onUpdate:modelValue":R[0]||(R[0]=he=>h(m).mobileno=he),inputMode:"numeric",disabled:h(A)||h(G)},null,8,["selectedCurrency","placeholder","modelValue","disabled"]),ee(J,{ref:"phoneInputDErrorRef",class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(m).mobileno,"onUpdate:modelValue":R[1]||(R[1]=he=>h(m).mobileno=he),required:"",validphoneRegister:""},null,8,["modelValue"])]),f("div",w6,[jt($(D.$t("signup_tnc_text"))+" ",1),f("button",{onClick:S,type:"button",class:"text-primary underline"},$(D.$t("terms_and_conditions")),1)]),f("div",_6,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(A)||h(G)||h(w)},$(D.$t("confirm")),9,E6)])])]),_:1})):h(_)==2?(O(),ke(X,{key:1,onSubmit:W,novalidate:""},{default:Ae(()=>[f("div",k6,[f("div",C6,[f("div",T6,$(D.$t("enter_otp_code")),1),f("div",A6,$(D.$t("number_digit_code_sent_to_user",{digit:h(t).public.OTP_LENGTH,n:h(m).mobileno.replace(`${h(m).mobileno.split("-")[0]}-`,"")})),1),f("div",L6,[f("span",R6,$(D.$t("didnt_receive_the_pin_number")),1),f("button",{type:"button",class:Ce(["inline",{"opacity-80":!h(I)}]),disabled:!h(I),onClick:K},$(D.$t("resend_code_n",{n:`${h(L)}s`})),11,S6)])]),f("div",I6,[ee(le,{ref_key:"pinInputRef",ref:p,length:h(t).public.OTP_LENGTH,modelValue:h(m).sms_otp,"onUpdate:modelValue":R[2]||(R[2]=he=>h(m).sms_otp=he),class:"auth-pin-input",disabled:h(N),inputMode:"numeric"},null,8,["length","modelValue","disabled"]),ee(J,{class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(m).sms_otp,"onUpdate:modelValue":R[3]||(R[3]=he=>h(m).sms_otp=he),required:""},null,8,["modelValue"])]),f("div",P6,[f("button",{type:"button",onClick:R[4]||(R[4]=he=>_.value=1)},$(D.$t("cancel")),1)]),f("div",O6,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(N)||h(V)},$(D.$t("confirm")),9,x6)])])]),_:1})):h(_)==3?(O(),ke(X,{key:2,onSubmit:pe,novalidate:""},{default:Ae(()=>[f("div",M6,[f("div",D6,[f("div",N6,$(D.$t("set_a_6_digit_code_number")),1),f("div",V6,$(D.$t("please_enter_password_signup")),1)]),f("div",B6,[ee(le,{ref_key:"pinInputRef2",ref:g,type:"password",length:6,modelValue:h(m).password,"onUpdate:modelValue":R[5]||(R[5]=he=>h(m).password=he),class:"auth-pin-input",disabled:h(Y),inputMode:"numeric"},null,8,["modelValue","disabled"]),ee(J,{class:"absolute -bottom-1 left-[50%] translate-x-[-50%] w-full text-center",modelValue:h(m).password,"onUpdate:modelValue":R[6]||(R[6]=he=>h(m).password=he),required:""},null,8,["modelValue"])]),f("div",$6,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(Y)||h(ce)},$(D.$t("confirm")),9,F6)])])]),_:1})):h(_)==4?(O(),ke(X,{key:3,onSubmit:ue,novalidate:""},{default:Ae(()=>[f("div",U6,[f("div",H6,[f("div",j6,$(D.$t("bank_account")),1)]),f("div",W6,[f("div",q6,[(O(!0),H(Se,null,Qt(h(ne),he=>(O(),H("div",{class:Ce(["auth-signup-bank cursor-pointer rounded-full",{active:h(m).bank==he.value}]),key:`bank_${he.value}`,onClick:Ut=>h(m).bank=he.value},[(O(),H("img",{key:0,src:`${h(t).public.COMMON_BUCKET}register_bank_images/${he.img}`,alt:he.bank_name,class:"h-12 md:h-14 aspect-square rounded-full"},null,8,K6))],10,z6))),128))])]),f("div",G6,[f("button",{type:"submit",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:h(m).bank==""},$(D.$t("confirm")),9,Y6)])])]),_:1})):h(_)==5?(O(),ke(X,{key:4,onSubmit:ut,novalidate:""},{default:Ae(()=>[f("div",Z6,[f("div",J6,[f("div",Q6,$(D.$t("bank_account")),1)]),f("div",X6,[f("div",eT,[f("div",tT,[(O(),H("img",{key:0,src:`${h(t).public.COMMON_BUCKET}register_bank_images/${h(Le).img}`,alt:h(Le).bank_name,class:"h-12 md:h-14 aspect-square rounded-full"},null,8,nT))]),f("div",oT,$(h(Le).text),1),f("div",rT,[(O(),H("svg",{class:"cursor-pointer",onClick:se,xmlns:"http://www.w3.org/2000/svg",width:"20.004",height:"20",viewBox:"0 0 20.004 20"},aT))])]),f("div",lT,[f("div",cT,[yt(f("input",{"onUpdate:modelValue":R[7]||(R[7]=he=>me(b)?b.value=he:null),disabled:h(ae)&&(h(Ee)||h(dt)&&h(Q)),minlength:h(Le).min_account_number,maxlength:h(Le).max_account_number,type:"text",onKeydown:R[8]||(R[8]=(...he)=>D.$filterAccNumberInput&&D.$filterAccNumberInput(...he)),class:Ce(["!rounded-full !ps-14 o-input-bg-color o-input o-number mobile-big",{"text-center !ps-5":h(m).acc_number}]),placeholder:D.$t("bank_account_number_placeholder")},null,42,uT),[[zt,h(b)]]),dT]),ee(J,{modelValue:h(b),"onUpdate:modelValue":R[9]||(R[9]=he=>me(b)?b.value=he:null),minlength:h(Le).min_account_number,maxlength:h(Le).max_account_number,required:""},null,8,["modelValue","minlength","maxlength"])]),yt(f("div",fT,[f("div",hT,[yt(f("input",{"onUpdate:modelValue":R[10]||(R[10]=he=>h(m).acc_name=he),disabled:h(ae)&&h(ie)!="FAILED",type:"text",class:Ce(["!rounded-full !ps-14 o-input-bg-color o-input mobile-big",{"text-center !ps-5":h(m).acc_name}]),placeholder:D.$t("account_name_placeholder")},null,10,pT),[[zt,h(m).acc_name]]),mT]),ee(J,{modelValue:h(m).acc_name,"onUpdate:modelValue":R[11]||(R[11]=he=>h(m).acc_name=he),required:""},null,8,["modelValue"])],512),[[pn,!h(ae)||h(ae)&&h(dt)&&h(Q)||h(ae)&&h(dt)&&!h(Q)&&h(ie)=="SUCCESS"]]),(!h(ae)||h(ae)&&h(dt)&&h(Q)||h(ae)&&h(dt)&&!h(Q)&&h(ie)=="SUCCESS")&&h(F)?(O(),H("div",vT,[f("div",gT,[yt(f("input",{"onUpdate:modelValue":R[12]||(R[12]=he=>h(m).bank_bsb=he),minlength:h(U),maxlength:h(q),type:"text",class:Ce(["!rounded-full !ps-14 o-input-bg-color o-input mobile-big",{"text-center !ps-5":h(m).bank_bsb}]),placeholder:h(Z)},null,10,bT),[[zt,h(m).bank_bsb]]),yT]),ee(J,{modelValue:h(m).bank_bsb,"onUpdate:modelValue":R[13]||(R[13]=he=>h(m).bank_bsb=he),required:"",minlength:h(U),maxlength:h(q)},null,8,["modelValue","minlength","maxlength"])])):re("",!0)]),f("div",wT,[f("div",_T,$(D.$t("signup_final_text_1")),1),f("div",ET,$(D.$t("signup_final_text_2")),1)]),f("div",kT,[!h(k)&&h(ae)&&(!h(dt)||h(dt)&&!h(Q))?(O(),H("button",{key:0,onClick:oe,type:"button",class:"auth_confirm_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",disabled:!(h(b).length>=h(Le).min_account_number&&h(b).length<=h(Le).max_account_number)},$(D.$t("verify")),9,CT)):re("",!0),h(k)?(O(),ke(de,{key:1,class:"mb-[30px]"})):re("",!0),!h(ae)||h(ae)&&h(dt)&&h(Q)?(O(),H("button",TT,$(D.$t("confirm")),1)):re("",!0)])])]),_:1})):(_.value=7)?(O(),H("div",AT,[ee(_e,{class:"",file:"success_signup.json",width:250}),f("div",LT,[f("div",RT,$(D.$t("signup_final_text_3")),1),f("div",ST,$(D.$t("signup_final_text_4")),1)])])):re("",!0)])}}},PT=Rt(IT,[["__scopeId","data-v-40062023"]]),OT=Gs('<span class="path1"></span><span class="path2"></span><span class="path3"></span><span class="path4"></span><span class="path5"></span><span class="path6"></span>',6),xT=[OT],MT={__name:"Icon",props:{iconClass:String},setup(e){return(t,n)=>(O(),H("i",{class:Ce(e.iconClass)},xT,2))}},Nh=MT,DT=f("svg",{class:"icon-close",xmlns:"http://www.w3.org/2000/svg",width:"20.001",height:"20",viewBox:"0 0 20.001 20"},[f("g",{id:"close",transform:"translate(0.001 0.051)"},[f("rect",{width:"20",height:"20",transform:"translate(0 -0.051)",fill:"none"}),f("g",{transform:"translate(-0.001 -0.051)"},[f("path",{d:"M114.757,112.4l7.155-7.155a1.666,1.666,0,1,0-2.357-2.357l-7.155,7.155-7.155-7.155a1.666,1.666,0,1,0-2.357,2.357l7.155,7.155-7.155,7.155a1.666,1.666,0,1,0,2.357,2.357l7.155-7.155,7.155,7.155a1.666,1.666,0,0,0,2.357-2.357Z",transform:"translate(-102.4 -102.4)",fill:"currentColor"})])])],-1),NT=[DT],VT={class:"relative auth-section"},BT={class:"flex justify-evenly items-start"},$T=["data-letter"],FT={class:"pt-4 md:pt-4 md:pb-8 md:px-8"},UT={key:0},HT={key:1},jT={class:"pt-[30px] relative"},WT={class:"restore_status_text"},qT={class:"text-center mt-5 block md:flex flex-wrap items-center justify-center gap-3 mb-5"},zT={__name:"AuthModal",setup(e){const t=M(1),{t:n}=Ft(),{$getCurrency:o,$api:r,$toast:s}=ye(),i=o(),a=fi(),l=be(()=>a.ready?a.data.map(C=>({value:C.code,text:C.currency,country:C.abr})):[]);Bt("processedCurrency",l);const c=M();Bt("selectedCurrency",c);const u=E=>{var C;c.value=((C=l.value.filter(T=>T.value==E))==null?void 0:C[0])||null};Te(()=>l.value,E=>{E.length&&(c.value=E.filter(C=>C.text==i)[0])},{immediate:!0}),Bt("updateCurrency",u);const d=M(!1),p=M(""),g=async(E,C)=>{if(d.value==!0)return;d.value=!0;let T={sendType:E.type,currency:c.value.text};if(E.type=="mobile"){let A=E.input.split("-")[0],j=E.input.replace(`${E.input.split("-")[0]}-`,"");j=j.replaceAll("-","");let N=j.substring(1);T.country_code=A,T.mobileno=N}E.type=="email"&&(T.email=E.input);const S=await r("user/request-register-tac",T);return d.value=!1,s(S.status,S.msg),S.status?(ft(()=>{C&&(E.type=="mobile"&&C.value.start(),E.type=="email"&&C.value.start())}),S):(S.code==140014&&C&&ft(()=>{E.type=="mobile"&&C.value.start(),E.type=="email"&&C.value.start()}),S)};Bt("requestingOtp",d),Bt("otpData",p),Bt("requestOTP",g);const m=Et(),b=E=>{m.authTab=E,t.value++},k=()=>{m.authModal=!1,t.value++},w=()=>{m.cancelRegistrationModal=!1},v=()=>{m.cancelRegistrationModal=!1,m.authModal=!1,t.value++},_=M([]),y=E=>{const C=[];let T="";for(let S of[...E])S.match(/[\u0E31-\u0E3A\u0E47-\u0E4E]/)?T+=S:(T&&C.push(T),T=S);return T&&C.push(T),C};return md(()=>{_.value=y(n("new_user"))}),(E,C)=>{const T=p6,S=PT,A=On,j=Nh,N=Td("track");return O(),H("div",null,[ee(A,{show:h(m).authModal,clickClose:"",maxWidth:500,onClose:k,"container-class":"auth-modal !overflow-visible md:h-auto !p-0"},{default:Ae(()=>[f("button",{class:"auth-close-btn w-9 h-9 text-sm rounded-full fixed -top-12 right-2 md:top-0 md:-right-12 z-[1] flex justify-center items-center",onClick:k},NT),f("div",VT,[f("div",BT,[yt((O(),H("button",{onClick:C[0]||(C[0]=V=>b("signup")),class:Ce(["auth-option-btn rounded-tl-md relative w-full px-6 py-6 pb-4 text-center text-sm md:text-base",{active:h(m).authTab=="signup"}])},[jt($(E.$t("apply_for_membership"))+" ",1),f("div",{class:Ce(["auth-option-btn-text slash-anima wavy-anima absolute top-1 left-[50%] translate-x-[-50%] text-[10px] md:text-xs",{active:h(m).authTab=="signup"}])},[(O(!0),H(Se,null,Qt(h(_),(V,W)=>(O(),H("span",{style:an(`--i: ${W}; --b: ${h(_).length};`),"data-letter":V,key:W},$(V==" "?" ":V),13,$T))),128))],2)],2)),[[N,"reg_btn_1"]]),f("button",{onClick:C[1]||(C[1]=V=>b("login")),class:Ce(["auth-option-btn rounded-tr-md relative w-full px-6 py-6 pb-4 text-center text-sm md:text-base",{active:h(m).authTab=="login"}])},$(E.$t("login")),3)]),f("div",FT,[h(m).authModal?(O(),H("div",{class:"mx-auto md:max-w-[480px]",key:h(t)},[h(m).authTab=="login"?(O(),H("div",UT,[ee(T)])):re("",!0),h(m).authTab=="signup"?(O(),H("div",HT,[ee(S)])):re("",!0)])):re("",!0)])])]),_:1},8,["show"]),ee(A,{show:h(m).cancelRegistrationModal,containerClass:"cancel_reg_modal",onClose:w,clickClose:"",maxWidth:500},{default:Ae(()=>[f("div",jT,[f("button",{type:"button",class:"modal_close_btn",onClick:w},[ee(j,{iconClass:"icon-close"})]),f("div",WT,$(E.$t("cancel_registration_note")),1),f("div",qT,[f("button",{onClick:w,type:"button",class:"cancel_register_btn_1"},$(E.$t("continue")),1),f("button",{onClick:v,type:"button",class:"cancel_register_btn_2"},$(E.$t("yes_i_want_to_cancel")),1)])])]),_:1},8,["show"])])}}},KT=zT,GT={key:0},YT={key:1,class:"hidden md:block"},ZT={key:2,class:"block md:hidden w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 19"},JT=f("g",{transform:"translate(-1 -1)"},[f("path",{d:"M13.091,20.545H4.455A3.455,3.455,0,0,1,1,17.091V8.455A3.455,3.455,0,0,1,4.455,5h8.636a3.455,3.455,0,0,1,3.455,3.455v8.636A3.455,3.455,0,0,1,13.091,20.545ZM4.455,6.727A1.727,1.727,0,0,0,2.727,8.455v8.636a1.727,1.727,0,0,0,1.727,1.727h8.636a1.727,1.727,0,0,0,1.727-1.727V8.455a1.727,1.727,0,0,0-1.727-1.727Z",transform:"translate(0 -0.545)",fill:"currentColor"}),f("path",{d:"M17.091,16.545V14.818a1.727,1.727,0,0,0,1.727-1.727V4.455a1.727,1.727,0,0,0-1.727-1.727H8.455A1.727,1.727,0,0,0,6.727,4.455H5A3.455,3.455,0,0,1,8.455,1h8.636a3.455,3.455,0,0,1,3.455,3.455v8.636A3.455,3.455,0,0,1,17.091,16.545Z",transform:"translate(-0.545 0)",fill:"currentColor"}),f("rect",{width:"13.818",height:"13.818",rx:"3",transform:"translate(15.682 19.136) rotate(180)",fill:"currentColor"})],-1),QT=[JT],XT={__name:"CopyButton",props:{copyText:String},setup(e){const t=e,n=M(!1),o=async()=>{if(!(!t.copyText||n.value))try{await navigator.clipboard.writeText(t.copyText),n.value=!0,setTimeout(()=>{n.value=!1},1e3)}catch(r){console.log(r)}};return(r,s)=>(O(),H("button",{onClick:o,class:"copy-btn text-xs font-semibold"},[h(n)?(O(),H("span",GT,$(r.$t("copied")),1)):re("",!0),h(n)?re("",!0):(O(),H("span",YT,$(r.$t("copy")),1)),h(n)?re("",!0):(O(),H("svg",ZT,QT))]))}},eA=XT,tA={class:"o-input mobile-big !py-3 !text-sm md:!text-base truncate !flex gap-2 relative"},nA={key:0,class:"text-text-light"},oA=f("svg",{class:"md:hidden",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},[f("path",{d:"M15.9,14.557h-.729l-.274-.229a6.052,6.052,0,0,0,1.413-3.886,5.9,5.9,0,1,0-5.881,5.943A6.109,6.109,0,0,0,14.3,14.969l.273.229v.731L19.132,20.5,20.5,19.129Zm-5.47,0a4.114,4.114,0,1,1,4.1-4.114A4.091,4.091,0,0,1,10.426,14.557Z",transform:"translate(-4.5 -4.5)",fill:"currentColor"})],-1),rA={class:"hidden md:block"},sA={class:"flex gap-4 items-center"},iA=["onClick","disabled"],aA={__name:"ReceiptInput",props:{disabled:Boolean,maxFiles:{type:Number,default:2}},emits:["change"],setup(e,{emit:t}){const n=e,{$randomId:o,$toast:r}=ye(),{t:s}=Ft(),i=`rI_${o()}`,a=M([]),l=u=>{if(!n.disabled&&!(u.target.value.length<1)){if(u.target.files[0].size>10485760){r(!1,s("error_maxsize",{n:10}));return}if(["image/jpeg","image/jpg","image/png"].indexOf(u.target.files[0].type)<0){r(!1,s("please_use_supported_image_format"));return}a.value.push({id:o(),file:u.target.files[0],imageUrl:URL.createObjectURL(u.target.files[0])}),t("change",a.value)}},c=u=>{a.value=a.value.filter(d=>d.id!=u),t("change",a.value)};return(u,d)=>(O(),H("div",null,[f("div",tA,[h(a).length==0?(O(),H("div",nA,$(u.$t("receipt")),1)):re("",!0),(O(!0),H(Se,null,Qt(h(a),(p,g)=>(O(),H("span",{key:p.id},$(p.file.name)+$(g!=h(a).length-1?",":""),1))),128)),h(a).length<n.maxFiles?(O(),H("label",{key:1,for:i,class:"cursor-pointer bg-primary flex items-center justify-center absolute h-full top-0 right-0 w-12 md:px-3 md:w-auto merchant_text_color"},[oA,f("span",rA,$(u.$t("browse")),1)])):re("",!0)]),e.disabled?re("",!0):(O(),H("input",{key:0,type:"file",class:"hidden",id:i,onChange:l,accept:"image/png, image/jpg, image/jpeg"},null,32)),f("div",sA,[(O(!0),H(Se,null,Qt(h(a),p=>(O(),H("div",{key:p.id,class:"mt-4 rounded-[4px] bg-no-repeat bg-center bg-cover relative w-32 h-32 md:w-40 md:h-40 leading-none text-xl text-white",style:an({backgroundImage:`url(${p.imageUrl})`})},[f("button",{class:"bg-black bg-opacity-60 w-6 h-6 rounded-[50%] flex items-center justify-center absolute top-0 right-0",onClick:g=>c(p.id),disabled:e.disabled},"×",8,iA)],4))),128)),h(a).length<n.maxFiles?(O(),H("label",{key:0,class:Ce(["mt-2 text-primary cursor-pointer",h(a).length>0?"!mt-4 w-32 h-32 md:w-48 md:h-48 flex items-center justify-center":""]),for:i},"+ "+$(u.$t("receipt")),3)):re("",!0)])]))}},lA=aA,cA=({seconds:e,storageKey:t})=>{const n=M(e),o=M(!1),r=M(!0);ht(()=>{n.value=e;let c=!1;try{let u=parseInt(window.localStorage.getItem(`_cd_${t}`));if(!isNaN(u)){const d=Date.now(),p=Math.floor((d-u)/1e3);p<e&&(n.value=e-p,c=!0)}}catch(u){console.log(u)}finally{c&&a(!0),o.value=!0}});const s=be(()=>{if(!o.value)return"-- : --";let c=Math.floor(n.value/60);c<10&&(c=`0${c}`);let u=n.value%60;return u<10&&(u=`0${u}`),`${c}:${u}`});let i=null;const a=c=>{if(!r.value)return!1;if(clearInterval(i),r.value=!1,i=setInterval(()=>{if(n.value==0){l();return}n.value--},1e3),c||!window.localStorage)return!0;try{window.localStorage.setItem(`_cd_${t}`,Date.now())}catch(u){console.log(u)}finally{return!0}},l=()=>{clearInterval(i),r.value=!0,n.value=e,i=null,window.localStorage.removeItem(`_cd_${t}`)};return Nt(()=>{i&&(clearInterval(i),i=null)}),{canStart:r,otpTimeDisplay:s,startTimer:a,clearTimer:l}};const uA={class:"pt-[20px] relative"},dA=f("svg",{class:"icon-close",xmlns:"http://www.w3.org/2000/svg",width:"20.001",height:"20",viewBox:"0 0 20.001 20"},[f("g",{id:"close",transform:"translate(0.001 0.051)"},[f("rect",{width:"20",height:"20",transform:"translate(0 -0.051)",fill:"none"}),f("g",{transform:"translate(-0.001 -0.051)"},[f("path",{d:"M114.757,112.4l7.155-7.155a1.666,1.666,0,1,0-2.357-2.357l-7.155,7.155-7.155-7.155a1.666,1.666,0,1,0-2.357,2.357l7.155,7.155-7.155,7.155a1.666,1.666,0,1,0,2.357,2.357l7.155-7.155,7.155,7.155a1.666,1.666,0,0,0,2.357-2.357Z",transform:"translate(-102.4 -102.4)",fill:"currentColor"})])])],-1),fA=[dA],hA={class:"text-base md:text-lg font-medium text-center mb-6 text-modal-custom"},pA=["src"],mA={class:"w-full flex justify-center"},vA={class:"text-xs md:text-sm font-semibold text-center mb-8 text-modal-custom"},gA={class:""},bA=f("div",{class:"w-full h-10 skeleton rounded-full"},null,-1),yA=[bA],wA=["onClick"],_A={class:"flex justify-between w-full"},EA={class:"flex items-center"},kA={class:"w-12 me-6 relative aspect-square"},CA=["src"],TA={class:"text-sm md:text-sm capitalize font-medium"},AA={class:"deposit-channel-pill px-2 py-1 text-[10px] absolute -top-[1px] -right-[1px] text-center w-[52px] text-modal-custom"},LA={key:2},RA={class:"flex justify-between w-full"},SA={class:"flex items-center"},IA={class:"w-12 me-6 relative aspect-square"},PA=["src"],OA={class:"text-sm md:text-sm capitalize font-medium"},xA={class:"flex items-center"},MA=["src"],DA=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 19.999"},[f("g",{transform:"translate(0 0.005)"},[f("rect",{id:"Rectangle_54429","data-name":"Rectangle 54429",width:"15",height:"15",fill:"none"}),f("path",{"data-name":"Path 160242",d:"M286.051,130.758l-8.225-7.951a1.171,1.171,0,0,1,0-1.7,1.271,1.271,0,0,1,1.755,0l9.1,8.8a1.171,1.171,0,0,1,0,1.7l-9.1,8.8a1.271,1.271,0,0,1-1.755,0,1.171,1.171,0,0,1,0-1.7Z",transform:"translate(-273.255 -120.763)",fill:"currentColor"})])],-1),NA={class:"deposit-channel-pill px-1 py-0.5 text-[8px] absolute -top-1.5 -right-0.5 text-center w-[40px]"},VA={key:1,class:"deposit-bank-info flex w-full px-4 py-3 mb-8"},BA={class:"flex items-center"},$A=["src"],FA={class:"flex-grow flex"},UA={class:"flex flex-col gap-1 ms-4"},HA={class:"deposit-bank-info-1 text-xs md:text-sm"},jA={class:"deposit-bank-info-2 text-xs md:text-sm font-semibold"},WA={class:"deposit-bank-info-3 text-sm md:text-base font-semibold"},qA={key:0,class:"deposit-bank-info-3 text-sm md:text-base font-semibold"},zA={class:"mb-5 mt-5"},KA={class:"o-number-wrapper relative"},GA=["placeholder"],YA=f("g",{transform:"translate(-763.998 0)"},[f("rect",{width:"20",height:"20",transform:"translate(763.998 0)",fill:"none"}),f("g",{transform:"translate(764 0)"},[f("path",{d:"M10,0A10,10,0,1,0,20,10,10.011,10.011,0,0,0,10,0Zm4.375,10.833H5.625a.833.833,0,0,1,0-1.667h8.75a.833.833,0,1,1,0,1.667Zm0,0",fill:"currentColor"})])],-1),ZA=[YA],JA=f("g",{transform:"translate(-763.998 0.613)"},[f("rect",{id:"Rectangle_54898","data-name":"Rectangle 54898",width:"20",height:"20",transform:"translate(763.998 -0.612)",fill:"none"}),f("g",{transform:"translate(764 -0.613)"},[f("path",{d:"M9.985,0A9.985,9.985,0,1,0,19.97,9.985,10,10,0,0,0,9.985,0Zm4.368,10.817H10.817v3.536a.832.832,0,1,1-1.664,0V10.817H5.616a.832.832,0,1,1,0-1.664H9.153V5.616a.832.832,0,1,1,1.664,0V9.153h3.536a.832.832,0,1,1,0,1.664Zm0,0",fill:"currentColor"})])],-1),QA=[JA],XA={key:0,class:"mt-1 _df_ErrMsg !text-xs md:!text-sm text-center"},eL={class:"flex-grow grid grid-cols-3 gap-2 md:gap-4"},tL=["onClick"],nL={key:1,class:"mt-6 md:mt-8"},oL={class:"flex-grow mt-3"},rL={key:0,class:"mt-1 _df_ErrMsg"},sL={key:2,class:"deposit-bank-reminder w-full mt-4 px-4 py-3 text-xs md:text-sm text-start mb-5"},iL={class:"grid grid-cols-12"},aL=f("div",{class:"col-span-1"},"1.",-1),lL={class:"col-span-11 mb-1"},cL={key:0,class:"col-span-1"},uL={key:1,class:"col-span-11"},dL=f("hr",{class:"deposit-modal-hr my-5"},null,-1),fL={class:"w-full flex justify-center gap-4"},hL=["disabled"],pL={key:3},mL={class:"deposit-bank-info flex w-full px-4 py-3 mb-8"},vL={class:"flex items-center"},gL=["src"],bL={class:"flex-grow flex"},yL={class:"flex flex-col gap-1 ms-4"},wL={class:"deposit-bank-info-1 text-xs md:text-sm"},_L={class:"deposit-bank-info-2 text-xs md:text-sm font-semibold"},EL={class:"deposit-bank-info-3 text-sm md:text-base font-semibold"},kL={key:0,class:"deposit-bank-info-3 text-sm md:text-base font-semibold"},CL={class:"deposit-bank-reminder w-full px-4 py-3 text-xs md:text-sm text-start mb-5"},TL={class:"grid grid-cols-12"},AL=f("div",{class:"col-span-1"},"1.",-1),LL={class:"col-span-11 mb-1"},RL={key:0,class:"col-span-1"},SL={key:1,class:"col-span-11"},IL=["src"],PL={__name:"Modal",setup(e){const t=co(),n=Ct(),{$api:o,$upload:r,$fn:s,$trackEvent:i,$pub:a,$toast:l}=ye(),{isMobile:c}=lo(),u=Et();cA({seconds:900,storageKey:"deposit"});const d=M(20),p=M(1),g=F=>{var Z;((Z=F==null?void 0:F.data)==null?void 0:Z.action)=="close"&&m()};ht(()=>{window.addEventListener("message",g)}),Nt(()=>{window.removeEventListener("message",g)});const m=()=>{u.depositModal=!1,se.value=!1,dt.value=!1,Le.value=null,oe=[],setTimeout(()=>{d.value=20,ae.value=[],ue.value=null,ft(()=>{ut.value=null})},1e3)},b=async()=>{await Y(),d.value=20};Te(()=>u.depositModal,async()=>{u.depositModal&&await b()});const k=async()=>{const F=await o("deposit/get-express-doposit-log");if(!F.status){l(F.status,F.msg,3e3,Ee("deposit"));return}},w=M(""),v=M(!1),_=async F=>{if(v.value||(ut.value=z(),ut.value))return;var Z={amount:ue.value};if(se.value==!0){if(ge.value=L(),ge.value)return;v.value=!0;const q=await Promise.all(oe.map(P=>r(P)));let D=!1;if(q.forEach(P=>{P.status||(D=!0)}),D){v.value=!1,l(!1,Ee("upload_failed"));return}let R=null;R=q.map(P=>P.data.key).join(","),R&&(Z.receipt=R)}se.value==!0?(Z.bank_id=ae.value.id,Z.payment_method="bank",Z.payment_type=ae.value.payment_type,Z.payment_code=ae.payment_code):(Z.currency=t.data.currency,Z.bank_id=ae.value.id,Z.payment_method=ae.value.payment_type,Z.pay_t=ae.value.payment_type,Z.payment_type=ae.value.payment_method,Z.payment_code=ae.value.payment_code),v.value=!0;const U=await o("deposit/add-deposit",Z);if(U.status)v.value=!1,se.value==!0?(m(),l(U.status,U.msg)):(d.value=40,n.public.MERCHANT=="igh828"||n.public.MERCHANT=="blw99"||n.public.MERCHANT=="msslot"?ae.value.iframe==1?ft(()=>{w.value=U.data.url}):(m(),window.location.href=U.data.url):ft(()=>{w.value=U.data.url}));else{v.value=!1,l(U.status,U.msg),p.value+=1,fe();return}},y=M(),E=F=>{let Z=isNaN(ue.value)?0:Number(ue.value),U=isNaN(y.value.step)?1:Number(y.value.step);Z>=N.value||(ue.value=Z+U)},C=F=>{let Z=isNaN(ue.value)?0:Number(ue.value),U=isNaN(y.value.step)?1:Number(y.value.step);Z<=0||(ue.value=Z-U)},T=M(!0),S=M(!1),A=M(""),j=be(()=>ae.value?ae.value.min_deposit:0),N=be(()=>ae.value?ae.value.max_deposit:0),V=M([]);M([]);const W=M({}),Y=async()=>{const F=await o("deposit/get-deposit-channel");if(T.value=!1,!F.status){S.value=!0,l(!1,F.msg);return}S.value=!1,V.value=F.data.bankbomb,W.value=F.data.settings},ce=F=>(F.bank_type=="bank"||F.bank_type=="ewallet-manual",F.bank_name),ne=F=>(F.bank_type=="bank"||F.bank_type=="ewallet-manual",F.bank_image),pe=()=>{d.value=20,ue.value="",Le.value=void 0},se=M(!1),Le=M(),ae=M({}),dt=M(!1),Q=F=>{Le.value=F,ae.value=V.value[Le.value],ae.value.bank_type=="bank"||ae.value.bank_type=="ewallet-manual"?se.value=!0:se.value=!1,ie()},ie=()=>{ae.value.bankbot&&ae.value.bankbot=="1"?(d.value="35",k()):d.value=30},ue=M(),ut=M("");Te(ue,()=>{ut.value=z()});const{t:Ee}=Ft(),z=()=>{if(ue.value){if(ue.value<j.value)return Ee("error_min",{n:s(j.value,2,!0)});if(ue.value>N.value)return Ee("error_max",{n:s(N.value,2,!0)})}else return Ee("error_required");return null};let oe=[];const te=F=>{oe=[],F.forEach(Z=>{oe.push(Z.file)}),ge.value=L()},fe=()=>{te([]),ge.value=null},ge=M(""),L=()=>oe.length==0?Ee("error_required"):null,I=be(()=>{var Z;let F=[100,300,500,1e3,5e3,1e4];return["mafin88"].includes(n.public.MERCHANT)&&((Z=V.value[Le.value])!=null&&Z.suggestion_amount)&&V.value[Le.value].suggestion_amount!=""&&(F=V.value[Le.value].suggestion_amount.split(",")),F=F.filter(U=>U>=Number(ae.value.min_deposit)&&U<=Number(ae.value.max_deposit)),F}),B=F=>{ue.value=F};Te(()=>u.depositModal,F=>{F?u.noScrollCount++:u.noScrollCount--});const K=be(()=>{var F;return((F=V.value[Le.value])==null?void 0:F.rapid_auto)=="1"}),G=async()=>{if(v.value||(ge.value=L(),ge.value))return;v.value=!0;const F=await Promise.all(oe.map(le=>r(le,1,{bankId:V.value[Le.value].id})));let Z=!1;if(F.forEach(le=>{le.status||(Z=!0)}),Z){v.value=!1,l(!1,Ee("upload_failed"));return}v.value=!0;let U=null;U=F.map(le=>le.data.key).join(",");const q={payment_method:"bank",bank_id:V.value[Le.value].id,pay_t:"",payment_code:"bank",payment_type:"bank",currency:A.value,receipt:U,method:V.value[Le.value].bank_type,rapid_auto:"1"},D=Et(),R=cn(),P=Nn("isApp");q.language=D.lang,q.langCountry=`${D.lang}-${D.country}`;const J=new FormData;for(let le in q)J.append(le,q[le]);for(let le in oe)J.append("receipt_file",oe[le]);const X=await $fetch("/api/deposit/add-deposit",{method:"POST",body:J,headers:{page:R.path,domain:typeof window=="object"?window.location.host:"",device:P.value?"app":c?"mobile":"desktop"}});if(v.value=!1,!X.status){l(!1,X.msg),p.value+=1,fe();return}X.status&&i("deposit",{currency:A.value})};return(F,Z)=>{const U=eA,q=lA,D=di,R=On;return O(),H("div",null,[ee(R,{show:h(u).depositModal,onClose:m,maxWidth:450,"container-class":"deposit-modal p-5"},{default:Ae(()=>[f("div",uA,[f("button",{type:"button",class:"modal_close_btn",onClick:m},fA),f("div",hA,$(F.$t("deposit_money")),1),h(d)==1?(O(),H(Se,{key:0},[f("img",{class:"w-full mb-12",src:h(a)("/img/deposit/deposit-ack.png"),alt:"deposit_ack"},null,8,pA),f("div",mA,[f("button",{type:"button",class:"deposit_ok_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:b},$(F.$t("acknowledge")),1)])],64)):re("",!0),h(d)==20?(O(),H(Se,{key:1},[f("div",vA,$(F.$t("select_payment_method")),1),f("div",{class:Ce(["flex-grow grid grid-cols-1 gap-4 md:gap-4 overflow-y-auto light-scrollbar px-8 pb-[10px]",`${h(c)?"-mb-[20px]":""}`]),style:{"max-height":"350px"}},[h(T)?(O(),H(Se,{key:0},Qt(3,P=>f("div",gA,yA)),64)):(O(!0),H(Se,{key:1},Qt(h(V),(P,J)=>(O(),H("div",{key:J,class:Ce(["deposit-channel px-5 py-4 rounded-2xl relative",{active:h(Le)==J}]),onClick:X=>Q(J)},[f("div",_A,[f("div",EA,[f("div",kA,[P.bank_image?(O(),H("img",{key:0,src:`${h(n).public.COMMON_BUCKET}bank_image/${ne(P)}?v=${h(n).public.VERSION}`,class:"!min-w-[52px] !h-[52px] rounded-full"},null,8,CA)):re("",!0)]),f("span",TA,$(ce(P)),1)])]),f("div",AA,[f("div",null,$(P.automanual),1)])],10,wA))),128))],2)],64)):re("",!0),h(d)==30?(O(),H("div",LA,[h(ae).bank_type!=="bank"?(O(),H("div",{key:0,class:"deposit-channel px-5 py-4 rounded-2xl relative active",onClick:pe},[f("div",RA,[f("div",SA,[f("div",IA,[h(ae).bank_image?(O(),H("img",{key:0,src:`${h(n).public.COMMON_BUCKET}bank_image/${h(ae).bank_image}?v=${h(n).public.VERSION}`,class:"!min-w-[52px] !h-[52px]"},null,8,PA)):re("",!0)]),f("span",OA,$(h(ae).bank_name),1)]),f("div",xA,[f("img",{class:"w-4 mr-2",src:h(a)("/img/icons/green-tick.svg"),alt:"green_tick"},null,8,MA),DA])]),f("div",NA,[f("div",null,$(h(ae).automanual),1)])])):(O(),H("div",VA,[f("div",BA,[f("img",{src:`${h(n).public.COMMON_BUCKET}bank_image/${h(ae).bank_image}?v=${h(n).public.VERSION}`,class:"h-12 md:h-16"},null,8,$A)]),f("div",FA,[f("div",UA,[f("div",HA,$(h(ae).bank_name),1),f("div",jA,$(h(ae).account_holder_name),1),f("div",WA,[jt($(h(ae).account_number)+" ",1),ee(U,{class:"deposit-bank-copy-btn",copyText:h(ae).account_number},null,8,["copyText"])]),h(ae).branch_display&&h(ae).branch_display=="1"&&h(ae).bank_branch?(O(),H("div",qA,[jt($(h(ae).bank_branch)+" ",1),ee(U,{class:"deposit-bank-copy-btn",copyText:h(ae).bank_branch},null,8,["copyText"])])):re("",!0)])])])),f("div",null,[h(K)?re("",!0):(O(),H(Se,{key:0},[f("div",zA,[f("div",KA,[yt(f("input",{type:"number",class:"o-input !py-3 !text-sm md:!text-base o-number o-number-spinner deposit-amount-input",ref_key:"depAmtNum",ref:y,"onUpdate:modelValue":Z[0]||(Z[0]=P=>me(ue)?ue.value=P:null),onKeydown:Z[1]||(Z[1]=(...P)=>F.$filterAmountInput&&F.$filterAmountInput(...P)),step:"1",inputmode:"numeric",placeholder:`${F.$t("minimum_deposit_amount",{amount:`${h(t).data.currency} ${h(s)(h(j),2,0)}`})}`},null,40,GA),[[zt,h(ue)]]),(O(),H("svg",{class:"o-number-minus",onClick:C,xmlns:"http://www.w3.org/2000/svg",width:"20.002",height:"20",viewBox:"0 0 20.002 20"},ZA)),(O(),H("svg",{class:"o-number-plus",onClick:E,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},QA))]),f("div",null,[h(ut)?(O(),H("div",XA,$(h(ut)),1)):re("",!0)])]),f("div",eL,[(O(!0),H(Se,null,Qt(h(I),P=>(O(),H("button",{key:`preset_amount_${P}`,class:Ce(["deposit-preset-btn p-2 transition text-[10px] md:text-base font-medium",h(ue)==P?"active":""]),onClick:J=>B(P)},$(h(s)(P)),11,tL))),128))])],64)),h(se)?(O(),H("div",nL,[f("div",oL,[(O(),ke(q,{key:h(p),disabled:h(v),onChange:te,maxFiles:h(K)?1:2},null,8,["disabled","maxFiles"])),h(ge)?(O(),H("div",rL,$(h(ge)),1)):re("",!0)])])):re("",!0),h(K)?(O(),H("div",sL,[f("div",iL,[aL,f("div",lL,$(F.$t("deposit_bank_reminder")),1),h(W)&&h(W).express_minimum_deposit&&h(W).express_maximum_deposit?(O(),H("div",cL,"2.")):re("",!0),h(W)&&h(W).express_minimum_deposit&&h(W).express_maximum_deposit?(O(),H("div",uL,$(F.$t(h(n).public.MERCHANT=="beta191"?"min_max_deposit_desc_b191":"min_max_deposit_desc",{min:`${h(A)} ${h(s)(h(W).express_minimum_deposit,2,0)}`,max:`${h(A)} ${h(s)(h(W).express_maximum_deposit,2,0)}`})),1)):re("",!0)])])):re("",!0),dL,f("div",fL,[h(ae).bank_type=="bank"&&!h(v)?(O(),H("button",{key:0,type:"button",class:"deposit_back_btn rounded-full text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:pe},$(F.$t("back")),1)):re("",!0),h(v)?(O(),ke(D,{key:2})):(O(),H(Se,{key:1},[h(K)?(O(),H("button",{key:0,type:"button",class:"deposit_ok_btn rounded-full text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:G},$(F.$t("confirm")),1)):(O(),H("button",{key:1,type:"button",class:"deposit_ok_btn rounded-full text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:_,disabled:h(ut)},$(F.$t("confirm")),9,hL))],64))])])])):re("",!0),h(d)==35?(O(),H("div",pL,[f("div",mL,[f("div",vL,[f("img",{src:`${h(n).public.COMMON_BUCKET}bank_image/${h(ae).bank_image}?v=${h(n).public.VERSION}`,class:"h-12 md:h-16"},null,8,gL)]),f("div",bL,[f("div",yL,[f("div",wL,$(h(ae).bank_name),1),f("div",_L,$(h(ae).account_holder_name),1),f("div",EL,[jt($(h(ae).account_number)+" ",1),ee(U,{class:"deposit-bank-copy-btn",copyText:h(ae).account_number},null,8,["copyText"])]),h(ae).branch_display&&h(ae).branch_display=="1"&&h(ae).bank_branch?(O(),H("div",kL,[jt($(h(ae).bank_branch)+" ",1),ee(U,{class:"deposit-bank-copy-btn",copyText:h(ae).bank_branch},null,8,["copyText"])])):re("",!0)])])]),f("div",CL,[f("div",TL,[AL,f("div",LL,$(F.$t("deposit_bank_reminder")),1),h(W)&&h(W).express_minimum_deposit&&h(W).express_maximum_deposit?(O(),H("div",RL,"2.")):re("",!0),h(W)&&h(W).express_minimum_deposit&&h(W).express_maximum_deposit?(O(),H("div",SL,$(F.$t(h(n).public.MERCHANT=="beta191"?"min_max_deposit_desc_b191":"min_max_deposit_desc",{min:`${h(A)} ${h(s)(h(W).express_minimum_deposit,2,0)}`,max:`${h(A)} ${h(s)(h(W).express_maximum_deposit,2,0)}`})),1)):re("",!0)])]),f("button",{type:"button",class:"deposit_back_btn rounded-none md:rounded-full text-sm md:text-base font-medium px-5 py-3 w-full",onClick:pe},$(F.$t("back")),1)])):re("",!0),h(d)==40?(O(),H(Se,{key:4},[h(w)?(O(),H("iframe",{key:0,class:"w-full h-[70vh] min-h-[500px]",sandbox:"allow-forms allow-scripts allow-same-origin",src:h(w),frameborder:"0"},null,8,IL)):re("",!0)],64)):re("",!0)])]),_:1},8,["show"])])}}},OL=PL;const ur=e=>(tn("data-v-ba6a1ce2"),e=e(),nn(),e),xL={class:"pt-[20px] md:px-[20px] relative"},ML=ur(()=>f("svg",{class:"icon-close",xmlns:"http://www.w3.org/2000/svg",width:"20.001",height:"20",viewBox:"0 0 20.001 20"},[f("g",{id:"close",transform:"translate(0.001 0.051)"},[f("rect",{width:"20",height:"20",transform:"translate(0 -0.051)",fill:"none"}),f("g",{transform:"translate(-0.001 -0.051)"},[f("path",{d:"M114.757,112.4l7.155-7.155a1.666,1.666,0,1,0-2.357-2.357l-7.155,7.155-7.155-7.155a1.666,1.666,0,1,0-2.357,2.357l7.155,7.155-7.155,7.155a1.666,1.666,0,1,0,2.357,2.357l7.155-7.155,7.155,7.155a1.666,1.666,0,0,0,2.357-2.357Z",transform:"translate(-102.4 -102.4)",fill:"currentColor"})])])],-1)),DL=[ML],NL={class:"text-base md:text-lg font-medium text-center mb-6"},VL={class:"mb-5"},BL={class:"o-number-wrapper"},$L=["placeholder"],FL=ur(()=>f("g",{transform:"translate(-763.998 0)"},[f("rect",{width:"20",height:"20",transform:"translate(763.998 0)",fill:"none"}),f("g",{transform:"translate(764 0)"},[f("path",{d:"M10,0A10,10,0,1,0,20,10,10.011,10.011,0,0,0,10,0Zm4.375,10.833H5.625a.833.833,0,0,1,0-1.667h8.75a.833.833,0,1,1,0,1.667Zm0,0",fill:"currentColor"})])],-1)),UL=[FL],HL=ur(()=>f("g",{transform:"translate(-763.998 0.613)"},[f("rect",{id:"Rectangle_54898","data-name":"Rectangle 54898",width:"20",height:"20",transform:"translate(763.998 -0.612)",fill:"none"}),f("g",{transform:"translate(764 -0.613)"},[f("path",{d:"M9.985,0A9.985,9.985,0,1,0,19.97,9.985,10,10,0,0,0,9.985,0Zm4.368,10.817H10.817v3.536a.832.832,0,1,1-1.664,0V10.817H5.616a.832.832,0,1,1,0-1.664H9.153V5.616a.832.832,0,1,1,1.664,0V9.153h3.536a.832.832,0,1,1,0,1.664Zm0,0",fill:"currentColor"})])],-1)),jL=[HL],WL={key:0,class:"mt-1 _df_ErrMsg !text-xs md:!text-sm text-center"},qL={class:"text-center mb-6"},zL={class:"grid grid-cols-4 gap-3 mb-5"},KL=["onMouseover","onClick"],GL=ur(()=>f("div",{class:"h-2 w-full"},null,-1)),YL={class:"h-8 py-2 text-xs md:text-sm"},ZL=ur(()=>f("hr",{class:"my-5"},null,-1)),JL={class:"flex justify-between items-center mb-9"},QL={class:"text-xs md:text-sm font-medium"},XL={class:"withdraw-credit-display flex items-center gap-2 rounded-full px-4 py-2"},eR={class:"withdraw-credit-display-amt text-xs md:text-sm"},tR={class:"w-full flex justify-center"},nR=["disabled"],oR={class:"w-full flex flex-col items-center justify-center pb-5"},rR=ur(()=>f("svg",{class:"withdraw-timer-icon mb-5",xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26"},[f("path",{d:"M82.408,5.228V2.947a2.158,2.158,0,0,0,1.083-1.865V.541A.541.541,0,0,0,82.95,0H64.541A.541.541,0,0,0,64,.541v.541a2.158,2.158,0,0,0,1.083,1.865v2.28a7.591,7.591,0,0,0,2.509,5.634l2.369,2.132-2.369,2.132a7.591,7.591,0,0,0-2.509,5.634v2.28A2.158,2.158,0,0,0,64,24.905v.541a.541.541,0,0,0,.541.541H82.95a.541.541,0,0,0,.541-.541v-.541a2.158,2.158,0,0,0-1.083-1.865v-2.28A7.591,7.591,0,0,0,79.9,15.126L77.53,12.994,79.9,10.862a7.591,7.591,0,0,0,2.509-5.634ZM78.45,9.252l-3.263,2.937a1.082,1.082,0,0,0,0,1.609l3.263,2.937a5.424,5.424,0,0,1,1.792,4.025V22.74H78.889l-4.71-6.28a.561.561,0,0,0-.866,0L68.6,22.74H67.249V20.761a5.424,5.424,0,0,1,1.792-4.025L72.3,13.8a1.082,1.082,0,0,0,0-1.609L69.041,9.252a5.424,5.424,0,0,1-1.792-4.025V3.249H80.243V5.228A5.424,5.424,0,0,1,78.45,9.252Z",transform:"translate(-64 0)",fill:"currentColor"}),f("path",{d:"M179.808,149.333h-7.464a.541.541,0,0,0-.4.905l3.77,3.478a.541.541,0,0,0,.726,0l3.769-3.478a.541.541,0,0,0-.4-.905Z",transform:"translate(-166.33 -141.753)",fill:"currentColor",opacity:"0.4"})],-1)),sR={class:"text-xs md:text-sm font-semibold text-center mb-5"},iR={class:"withdraw-bank-info flex w-full px-4 py-3 mb-5 items-center"},aR={class:"flex items-center h-14 md:h-16 aspect-square me-2"},lR=["src"],cR={class:"flex flex-col justify-evenly gap-1 w-full"},uR={class:"withdraw-bank-info-1 text-xs md:text-sm"},dR={class:"withdraw-bank-info-3 text-sm md:text-base font-semibold"},fR={class:"flex items-center justify-between"},hR={key:0,class:"withdraw-bank-info-3 text-sm md:text-base font-semibold"},pR={class:"w-full flex justify-center"},mR=["disabled"],vR=["src"],gR={__name:"Modal",setup(e){const t=Ct(),{$api:n,$fn:o,$pub:r,$toast:s}=ye(),{t:i}=Ft(),a=Et(),l=Cn(),c=M(),u=M({minimum_withdraw:"-",maximum_withdraw:"-",withdraw_daily_limit:"-",withdraw_daily_count:"-"}),d=M(!1),p=async()=>{const ie=await n("user/get-user-bank-detail-new");ie.status&&(d.value=!0,c.value=ie.data.bank_list[0],u.value.minimum_withdraw=ie.data.settings.minimum_withdraw,u.value.maximum_withdraw=ie.data.settings.maximum_withdraw,u.value.withdraw_daily_limit=ie.data.settings.withdraw_daily_limit,u.value.withdraw_daily_count=ie.data.settings.withdraw_daily_count)},g=be(()=>a.withdrawalModal);Te(g,ie=>{ie&&(p(),_())}),ht(()=>{a.withdrawalModal&&!d.value&&(p(),_())});const m=M(!1),b=M(!1),k=M(1),w=M(0),v=co(),_=async()=>{b.value||(b.value=!0),m.value=!0,await n("wallet/restore-balance");const ie=await v.init(!0);ie.status&&(w.value=parseFloat(ie.data.available_amount),m.value=!1,b.value&&setTimeout(()=>{k.value++,b.value=!1},1e3))},y=M(1),E=()=>{a.withdrawalModal=!1,setTimeout(()=>{y.value=1,se.value=""},1e3)},C=ie=>{se.value=Math.floor(w.value*ie/100)},T=ie=>{for(let ue=0;ue<=ie;ue++)N.value[ue].active=!0},S=()=>{V()},A=async()=>{y.value=2},j=M(0),N=M([{text:25,active:!1},{text:50,active:!1},{text:75,active:!1},{text:100,active:!1}]),V=()=>{let ie=isNaN(se.value)?0:Number(se.value),ue=isNaN(j.value)?0:Number(j.value),ut=ie/ue*100;N.value.forEach(Ee=>{ut>=Ee.text?Ee.active=!0:Ee.active=!1})},W=M(),Y=ie=>{let ue=isNaN(se.value)?0:Number(se.value),ut=isNaN(W.value.step)?1:Number(W.value.step);se.value=ue+ut},ce=ie=>{let ue=isNaN(se.value)?0:Number(se.value),ut=isNaN(W.value.step)?1:Number(W.value.step);se.value=ue-ut},ne=M(!1),pe=()=>{ne.value=!1},se=M(),Le=M("");Te(se,()=>{Le.value=ae(),V()});const ae=()=>{if(se.value){if(se.value<u.value.minimum_withdraw)return i("error_min",{n:o(u.value.minimum_withdraw,2,!0)});if(se.value>u.value.maximum_withdraw)return i("error_max",{n:o(u.value.maximum_withdraw,2,!0)})}else return i("error_required");return null},dt=M(!1),Q=async()=>{if(dt.value)return;dt.value=!0;let ie={amount:se.value,tangki_id:c.value.account_id};const ue=await n("withdraw/do-withdraw",ie);if(dt.value=!1,!ue.status){ue.msg?s(ue.status,ue.msg,3e3,i("withdrawal")):s(ue.status,i("withdraw_failed"),3e3,i("withdrawal"));return}s(ue.status,i("withdraw_success",{n:`${l.data.currency} ${o(se.value,2,!0)}`}),3e3,i("withdrawal")),E()};return(ie,ue)=>{const ut=Nh,Ee=On;return O(),H(Se,null,[f("div",null,[ee(Ee,{show:h(a).withdrawalModal,onClose:E,maxWidth:450,"container-class":"withdraw-modal"},{default:Ae(()=>[f("div",xL,[f("button",{type:"button",class:"modal_close_btn",onClick:E},DL),f("div",NL,$(ie.$t("withdraw_money")),1),h(y)==1?(O(),H(Se,{key:0},[f("div",VL,[f("div",BL,[yt(f("input",{type:"number",class:"o-input !py-3 !text-sm md:!text-base o-number o-number-spinner withdraw-amount-input",ref_key:"wdAmtNum",ref:W,"onUpdate:modelValue":ue[0]||(ue[0]=z=>me(se)?se.value=z:null),onKeydown:ue[1]||(ue[1]=(...z)=>ie.$filterAmountInput&&ie.$filterAmountInput(...z)),step:"1",inputmode:"numeric",placeholder:`${ie.$t("minimum_withdraw",{n:`${h(l).data.currency} ${h(o)(h(u).minimum_withdraw,2,0)}`})}`},null,40,$L),[[zt,h(se)]]),(O(),H("svg",{class:"o-number-minus",onClick:ce,xmlns:"http://www.w3.org/2000/svg",width:"20.002",height:"20",viewBox:"0 0 20.002 20"},UL)),(O(),H("svg",{class:"o-number-plus",onClick:Y,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},jL))]),f("div",null,[h(Le)?(O(),H("div",WL,$(h(Le)),1)):re("",!0)])]),f("div",qL,[f("span",{class:"text-xs md:text-sm font-medium underline cursor-pointer",onClick:ue[2]||(ue[2]=z=>ne.value=!0)},$(ie.$t("how_to_withdraw_money")),1)]),f("div",zL,[(O(!0),H(Se,null,Qt(h(N),(z,oe)=>(O(),H("div",{key:`wk_${oe}`,onMouseover:te=>T(oe),onMouseleave:ue[3]||(ue[3]=te=>S()),onClick:te=>C(z.text),class:Ce(["withdraw-bar flex flex-col items-center cursor-pointer",{active:z.active}])},[GL,f("span",YL,$(z.text)+"%",1)],42,KL))),128))]),ZL,f("div",JL,[f("div",QL,$(ie.$t("available_credit")),1),f("div",XL,[f("span",eR,$(h(o)(h(w),2)),1),(O(),H("button",{onClick:ue[4]||(ue[4]=z=>_()),type:"button",key:h(k)},[f("div",{class:Ce(["icon_restore",`${h(b)?"spin":""}`])},[ee(ut,{iconClass:"icon-restore"})],2)]))])]),f("div",tR,[f("button",{type:"button",class:"withdraw_ok_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:A,disabled:h(Le)},$(ie.$t("confirm")),9,nR)])],64)):re("",!0),h(y)==2?(O(),H(Se,{key:1},[f("div",oR,[rR,f("div",sR,$(ie.$t("system_will_withdraw")),1),f("div",iR,[f("div",aR,[(O(),H("img",{key:0,src:`${h(t).public.COMMON_BUCKET}bank_image/${h(c).img}?v=${h(t).public.VERSION}`,class:"h-14 md:h-16"},null,8,lR))]),f("div",cR,[f("div",uR,$(h(c).bank_name),1),f("div",dR,[f("div",fR,$(h(c).account_number),1)]),h(c).branch_display&&h(c).branch_display=="1"?(O(),H("div",hR,$(h(c).bank_bsb),1)):re("",!0)])]),yt(f("input",{type:"number",class:"o-input !py-3 !text-sm md:!text-base o-number o-number-spinner withdraw-amount-input mb-5","onUpdate:modelValue":ue[5]||(ue[5]=z=>me(se)?se.value=z:null),disabled:"true"},null,512),[[zt,h(se)]])]),f("div",pR,[f("button",{type:"button",class:"withdraw_ok_btn text-sm md:text-base font-medium px-5 py-3 w-full md:w-[70%]",onClick:Q,disabled:h(dt)},$(ie.$t("confirm_withdraw")),9,mR)])],64)):re("",!0)])]),_:1},8,["show"])]),ee(Ee,{show:h(ne),onClose:pe,clickClose:"",maxWidth:620,containerClass:"!p-0"},{default:Ae(()=>[f("img",{class:"w-full",src:h(r)("/img/withdrawal/withdrawal-method.jpg?v=2"),alt:"withdrawal_method"},null,8,vR)]),_:1},8,["show"])],64)}}},bR=Rt(gR,[["__scopeId","data-v-ba6a1ce2"]]),yR={},wR={style:{"background-color":"white","text-align":"center","font-family":"arial",color:"#333",width:"100%",height:"100%",position:"fixed",display:"flex","flex-direction":"column","align-content":"center","justify-content":"center","align-items":"center"}},_R=f("div",null,[f("div",{style:{"text-align":"center","font-size":"40px"}},"503"),f("div",{style:{"text-align":"center","font-size":"20px","margin-top":"9px","text-transform":"capitalize"}},"Service Unavailable!")],-1),ER=[_R];function kR(e,t){return O(),H("div",wR,ER)}const CR=Rt(yR,[["render",kR]]),TR=bn("provider",{state:()=>({data:{},meta:{},ready:!1}),actions:{async getProviders(){const e=Ct(),t=e.public.ENV=="production"?"production":"staging",{$getCurrency:n}=ye(),o=n(),r=`${e.public.PUBLIC_FE_BUCKET}backend/${t}/game/${o}/getProvider.json.gz`,s=await _n(r,`providers_${o}`);s.status&&s.data&&this.setProviders(s.data)},setProviders(e){this.data=e,Object.keys(e).forEach(t=>{this.meta[t]={},e[t].forEach(n=>{this.meta[t][n.providerName]={show_hot:n.show_hot,show_new:n.show_new,show_vpn:n.show_vpn}})}),this.ready=!0}}}),AR=bn("banner",{state:()=>({data:{},ready:!1,noBanner:!1}),actions:{setNoBanners(){this.noBanner=!0},setBanners(e){const{$i18n:t,$toLocaleTime:n}=ye();let o={};const r=new Date().getTime();t.localeCodes.value.forEach(s=>{if(e[s]){o[s]={};for(let i in e[s])o[s][i]=[],e[s][i].forEach(a=>{let l=n(a.start_date).getTime(),c=n(a.end_date).getTime();l<=r&&r<c&&o[s][i].push(a)})}}),this.data=o,this.ready=!0}}});let Kn=null;const LR=bn("fastTrack",{state:()=>({}),actions:{async removeFT(){Kn&&(Kn.remove(),delete window.fasttrackbrand,delete window.sid,delete window.source,delete window.fasttrack)},async loadFT(){if(Kn){console.log("script");return}const e=Ct(),{$api:t}=ye(),n=await t("user/session");if(!n.status){console.log("status");return}if(!e.public.FAST_TRACK_BRAND||!n.data.token){console.log("brand prob");return}window.fasttrackbrand="aweight",window.sid=n.data.token,window.source="aweight",window.fasttrack={integrationVersion:1.1,autoInit:!0,inbox:{enable:!0,badgeId:"#ft-crm-inbox-badge",navBarLogo:"https://via.placeholder.com/200x200",supportLink:"mailto:daniel@fasttrack-solutions.com",supportLinkText:"customer support »"}};const o=e.public.ENV=="production"?"https://crm-lib.fasttrack-solutions.com/loader/fasttrack-crm.js":"https://crm-lib-staging.fasttrack-solutions.com/loader/fasttrack-crm.js";Kn=document.createElement("script"),Kn.async=!0,Kn.onload=function(){new window.FastTrackLoader},Kn.src=o,window.document.body.appendChild(Kn)}}}),RR=f("div",{id:"fasttrack-crm"},null,-1),SR={key:0,id:"main_div"},IR={key:1},PR={__name:"app",setup(e){const t=M(!0);Ws(async()=>{try{await $fetch("https://common-public.s3.ap-southeast-1.amazonaws.com/s3_status.json")}catch{t.value=!1}});const{$api:n,$toast:o,$setMeta:r,ssrContext:s,$loadScript:i}=ye(),{isMobile:a,isIos:l}=lo(),c=Ct(),u=Io(),d=Cn(),p=Et(),g=async Q=>{var ie;(ie=c.public)!=null&&ie.REGISTER_PAGE?(p.loginModal=!1,ft(()=>{k.push(u("/register"))})):(p.authTab="signup",p.authModal=!0)};Bt("triggerRegister",g),Bt("triggerForgot",Q=>{var ie;(ie=c.public)!=null&&ie.REGISTER_PAGE?(p.loginModal=!1,p.forgotPasswordModal=!0):(p.authModal=!1,p.forgotPasswordModal=!0)});const b=Q=>{var ie;(ie=c.public)!=null&&ie.REGISTER_PAGE?p.loginModal=!0:(p.authTab="login",p.authModal=!0)};Bt("triggerLogin",b);const k=Vt();Te(()=>p.loginModal,()=>{if(p.loginModal){let Q={...v.query};Q.login=1,delete Q.signup,k.replace({query:Q})}},{immediate:!1});const w=be(()=>p.loginModal);Te(()=>w.value,()=>{if(w){let Q={...v.query};delete Q.login,delete Q.signup,k.replace({query:Q})}},{immediate:!1}),Te(()=>p.depositModal,()=>{var Q;p.depositModal&&(Q=c.public)!=null&&Q.DEPOSIT_PAGE&&k.push({path:u("/deposit")})}),Te(()=>p.withdrawalModal,()=>{var Q;p.withdrawalModal&&(Q=c.public)!=null&&Q.WITHDRAWAL_PAGE&&k.push({path:u("/withdrawal")})}),ht(async()=>{v.query.aff||v.query.ref?(n("user/update-click",{aff_code:v.query.aff||v.query.ref}),d.loggedIn||g()):(!d.loggedIn&&v.query.signup,!d.loggedIn&&v.query.login&&ft(()=>{b()}))}),ht(()=>{const Q=v.query.aff||v.query.ref||"";Q&&(localStorage.aff=Q)});const v=cn(),{locale:_}=Ft(),y=xh();ht(async()=>{const Q=await _n(c.public.MENU_LIST_URL,"menu");Q.status&&y.setMenu(Q.data)});const E=Oh();ht(async()=>{const Q=await _n(c.public.CONTACT_LIST_URL,"contact");Q.status&&E.setContact(Q.data)});const C=fi();ht(async()=>{C.getCountries()});const T=TR(),S=async()=>{T.getProviders()};ht(async()=>{S()}),Te(()=>p.country,()=>{S()});const A=AR();ht(async()=>{const Q=await _n(c.public.BANNER_URL,"banner");Q.status?A.setBanners(Q.data):A.setNoBanners()});const j=co();ht(()=>{j.init(!0)}),Te(()=>d.loggedIn,Q=>{j.init(),Q&&n("wallet/restore-balance")});const N=LR();Te(()=>d.loggedIn,Q=>{Q?N.loadFT():N.removeFT()}),ht(()=>{N.loadFT()}),Te(()=>_.value,()=>{j.init(!0)}),Te(()=>_.value,()=>{const[Q,ie]=_.value.split("-");if(Q&&ie)p.lang=Q,p.country=ie;else{const[ue,ut]=c.public.DEFAULT_LOCALE.split("-");p.lang=ue,p.country=ut}},{immediate:!0});let V=null,W=null;const Y=()=>{W&&(clearTimeout(W),W=null),W=setTimeout(()=>{V.style.setProperty("--window-height",`${window.innerHeight-1}px`),clearTimeout(W),W=null},300)};ht(()=>{V=document.documentElement,window.addEventListener("resize",Y),Y()});const ce=Nn("isApp"),ne=Nn("app_source");"app"in v.query&&(ce.value=1,"source"in v.query&&v.query.source.indexOf("mobileapp")>-1&&(ne.value=v.query.source));const pe=c.public.ENV!="development"?`${c.public.PUBLIC_FE_BUCKET}backend/${c.public.ENV}/member_site/192x192_favicon.png`:`/${c.public.MERCHANT}/pwa-192x192.png`;Te(()=>d.loggedIn,async()=>{if(!d.loggedIn)return!1;if(navigator.serviceWorker.register("/swnoti.js"),await Notification.requestPermission()==="granted"&&d.loggedIn){const ie=await n("notice/notice-list",{notification:1});if(!ie.status){o(ie.status,ie.msg);return}ie.data.item.length>0&&navigator.serviceWorker.ready.then(ue=>{ie.data.item.forEach((ut,Ee)=>{ue.showNotification(ut.title,{icon:pe,data:{...ut,localePath:u("/notifications")}})})})}});const se=Nn("prevUrl");ht(()=>{v.query.ref_source?se.value=v.query.ref_source:window.document.referrer&&(se.value=window.document.referrer.replace("sw.js",""))});const Le=async Q=>{var ie="1";new Date().getMonth()+1<10?ie="0"+(new Date().getMonth()+1):ie=new Date().getMonth()+1;const ue=await n("diary/get-user-diary-mission",{month:ie,year:new Date().getFullYear()});if(!ue.status){o(!1,ue.msg);return}p.missionDailyData=ue.data,!ue.data.calender.today_check&&j.data.diary.daily_pop=="1"?p.missionDailyFlag=!0:p.missionDailyFlag=!1},ae=be(()=>!!(d.loggedIn&&j.ready&&j.data.diary));Te(()=>ae.value,Q=>{Q?Le():p.missionDailyFlag=!1});const dt=M(null);return yf(dt),ht(async()=>{r()}),Te(()=>v.path,Q=>{r()}),Te(()=>p.lang,()=>{r()}),Te(()=>p.noScrollCount,()=>{r()}),ht(()=>{let Q=v.query.cid||v.query.click_id||v.query.clickid;if(Q){const ie=Nn("clickid");ie.value=Q}}),ht(()=>{let Q=v.query.vcid;if(Q){const ie=Nn("vcid");ie.value=Q}}),ht(()=>{let Q=v.query.bcid;if(Q){const ie=Nn("bcid");ie.value=Q}}),ht(()=>{l&&(document.addEventListener("gesturestart",function(Q){Q.preventDefault()}),document.addEventListener("touchmove",function(Q){Q.scale!==1&&Q.preventDefault()},{passive:!1}))}),ht(async()=>{const Q=M("");c.public.ENV=="production"?Q.value=await _n(`${c.public.PUBLIC_FE_BUCKET}backend/production/general.json`,"general"):Q.value=await _n(`${c.public.PUBLIC_FE_BUCKET}backend/staging/general.json`,"general"),Q.value&&(p.generalData=Q.value)}),(Q,ie)=>{const ue=K2,ut=EE,Ee=RE,z=L3,oe=J3,te=mk,fe=qk,ge=D4,L=m5,I=C5,B=R5,K=H5,G=KT,F=OL,Z=bR,U=AE,q=CR;return O(),H("div",null,[RR,h(t)?(O(),H("div",SR,[ee(ue),ee(U,null,{default:Ae(()=>{var D,R,P;return[ee(ut),ee(Ee),ee(z),ee(oe),ee(te),ee(fe),ee(ge),ee(L),h(c).public.ENV!="development"?(O(),ke(I,{key:0})):re("",!0),h(v).path!=h(u)("/lucky-spin")?(O(),ke(B,{key:1})):re("",!0),ee(K),(D=h(c).public)!=null&&D.REGISTER_PAGE?re("",!0):(O(),ke(G,{key:2})),h(d).loggedIn&&!((R=h(c).public)!=null&&R.DEPOSIT_PAGE)?(O(),ke(F,{key:3})):re("",!0),h(d).loggedIn&&!((P=h(c).public)!=null&&P.WITHDRAWAL_PAGE)?(O(),ke(Z,{key:4})):re("",!0)]}),_:1})])):(O(),H("div",IR,[ee(q)]))])}}},OR=PR,xR={__name:"error",setup(e){const t=Vt(),n=Io();return t.replace(n("/")),(o,r)=>(O(),H("div",null,"Error"))}},MR=xR,DR={__name:"nuxt-root",setup(e){const t=()=>null,n=ye(),o=n.deferHydration(),r=!1;Bt("_route",cn()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=Qs();kd((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Nv(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Bo(a)),!1});const{islandContext:i}=!1;return(a,l)=>(O(),ke(Ua,{onResolve:h(o)},{default:Ae(()=>[h(s)?(O(),ke(h(MR),{key:0,error:h(s)},null,8,["error"])):h(i)?(O(),ke(h(t),{key:1,context:h(i)},null,8,["context"])):h(r)?(O(),ke(sm(h(r)),{key:2})):(O(),ke(h(OR),{key:3}))]),_:1},8,["onResolve"]))}},xu=DR;globalThis.$fetch||(globalThis.$fetch=s1.create({baseURL:a1()}));let Mu;{let e;Mu=async function(){var s,i;if(e)return e;const o=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?_0(xu):w0(xu),r=w1({vueApp:o});try{await E1(r,s2)}catch(a){await r.callHook("app:error",a),r.payload.error=r.payload.error||a}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount("#"+kv),await r.hooks.callHook("app:mounted",o),await ft()}catch(a){await r.callHook("app:error",a),r.payload.error=r.payload.error||a}return o},e=Mu().catch(t=>{console.error("Error while mounting app:",t)})}export{eA as $,Te as A,ht as B,md as C,pn as D,Ce as E,Se as F,Qt as G,me as H,dC as I,Sh as J,k3 as K,tn as L,nn as M,ye as N,ft as O,ui as P,di as Q,en as R,$n as S,zt as T,Bt as U,an as V,TR as W,bn as X,cn as Y,v5 as Z,sb as _,h as a,On as a0,q5 as a1,Vo as a2,nl as a3,VR as a4,Oh as a5,m3 as a6,Nn as a7,lA as a8,Ws as a9,Cu as aA,bk as aB,zl as aC,BR as aD,f0 as aE,Ih as aF,y_ as aG,Po as aa,qt as ab,qa as ac,em as ad,W5 as ae,m_ as af,RE as ag,$R as ah,cA as ai,J2 as aj,wl as ak,Lo as al,zs as am,_n as an,x_ as ao,Gs as ap,v0 as aq,i2 as ar,AR as as,v_ as at,NR as au,pt as av,T2 as aw,R2 as ax,yl as ay,fi as az,re as b,ke as c,Ct as d,Io as e,lo as f,co as g,Et as h,Cn as i,be as j,Td as k,H as l,f as m,ee as n,O as o,jt as p,Ae as q,M as r,Rt as s,$ as t,Ft as u,xh as v,yt as w,Vt as x,Ot as y,Nt as z};
