vendor: 10,093 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-PteBoTzg.js","./App-Pf2BSsxl.js","./v3-BlBWXSL8.js","../assets/App-CJ_U2lDl.css","./_...slug_-Dm3Y7bXY.js","./error-404-Cr_NCt2W.js","../assets/error-404-BbwW5YKq.css","./error-500-BXmfIEJG.js","../assets/error-500-BYDrfNNO.css"])))=>i.map(i=>d[i]); 2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Al(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Te={},Mr=[],en=()=>{},Lh=()=>!1,ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),kl=e=>e.startsWith("onUpdate:"),Ke=Object.assign,xl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ky=Object.prototype.hasOwnProperty,be=(e,t)=>ky.call(e,t),ae=Array.isArray,$r=e=>po(e)==="[object Map]",Nh=e=>po(e)==="[object Set]",Nu=e=>po(e)==="[object Date]",xy=e=>po(e)==="[object RegExp]",le=e=>typeof e=="function",ke=e=>typeof e=="string",$t=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Uh=e=>(_e(e)||le(e))&&le(e.then)&&le(e.catch),Mh=Object.prototype.toString,po=e=>Mh.call(e),Py=e=>po(e).slice(8,-1),$h=e=>po(e)==="[object Object]",ta=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,dr=Al(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),na=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Oy=/-\w/g,kt=na(e=>e.replace(Oy,t=>t.slice(1).toUpperCase())),Iy=/\B([A-Z])/g,Tr=na(e=>e.replace(Iy,"-$1").toLowerCase()),ra=na(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pa=na(e=>e?`on${ra(e)}`:""),Kn=(e,t)=>!Object.is(e,t),Ko=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Bh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Dy=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hh=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Uu;const oa=()=>Uu||(Uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sa(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ke(r)?My(r):sa(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(ke(e)||_e(e))return e}const Ly=/;(?![^(]*\))/g,Ny=/:([^]+)/,Uy=/\/\*[^]*?\*\//g;function My(e){const t={};return e.replace(Uy,"").split(Ly).forEach(n=>{if(n){const r=n.split(Ny);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _s(e){let t="";if(ke(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const r=_s(e[n]);r&&(t+=r+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $y(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=_s(t)),n&&(e.style=sa(n)),e}const By="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Hy=Al(By);function Fh(e){return!!e||e===""}function Fy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Pl(e[r],t[r]);return n}function Pl(e,t){if(e===t)return!0;let n=Nu(e),r=Nu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=$t(e),r=$t(t),n||r)return e===t;if(n=ae(e),r=ae(t),n||r)return n&&r?Fy(e,t):!1;if(n=_e(e),r=_e(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!Pl(e[i],t[i]))return!1}}return String(e)===String(t)}const Wh=e=>!!(e&&e.__v_isRef===!0),jo=e=>ke(e)?e:e==null?"":ae(e)||_e(e)&&(e.toString===Mh||!le(e.toString))?Wh(e)?jo(e.value):JSON.stringify(e,Kh,2):String(e),Kh=(e,t)=>Wh(t)?Kh(e,t.value):$r(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Oa(r,s)+" =>"]=o,n),{})}:Nh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Oa(n))}:$t(t)?Oa(t):_e(t)&&!ae(t)&&!$h(t)?String(t):t,Oa=(e,t="")=>{var n;return $t(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Qe;class jh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Qe,!t&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Qe;try{return Qe=this,t()}finally{Qe=n}}}on(){++this._on===1&&(this.prevScope=Qe,Qe=this)}off(){this._on>0&&--this._on===0&&(Qe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Vh(e){return new jh(e)}function Ol(){return Qe}function Wy(e,t=!1){Qe&&Qe.cleanups.push(e)}let Ae;const Ia=new WeakSet;class qh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Qe&&Qe.active&&Qe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ia.has(this)&&(Ia.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mu(this),Yh(this);const t=Ae,n=Mt;Ae=this,Mt=!0;try{return this.fn()}finally{Jh(this),Ae=t,Mt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ll(t);this.deps=this.depsTail=void 0,Mu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ia.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cc(this)&&this.run()}get dirty(){return Cc(this)}}let zh=0,Vo,qo;function Gh(e,t=!1){if(e.flags|=8,t){e.next=qo,qo=e;return}e.next=Vo,Vo=e}function Il(){zh++}function Dl(){if(--zh>0)return;if(qo){let t=qo;for(qo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vo;){let t=Vo;for(Vo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Yh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Ll(r),Ky(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Cc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Qh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Qh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===os)||(e.globalVersion=os,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Cc(e))))return;e.flags|=2;const t=e.dep,n=Ae,r=Mt;Ae=e,Mt=!0;try{Yh(e);const o=e.fn(e._value);(t.version===0||Kn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ae=n,Mt=r,Jh(e),e.flags&=-3}}function Ll(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ll(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ky(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Mt=!0;const Xh=[];function Sn(){Xh.push(Mt),Mt=!1}function Cn(){const e=Xh.pop();Mt=e===void 0?!0:e}function Mu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ae;Ae=void 0;try{t()}finally{Ae=n}}}let os=0;class jy{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Nl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ae||!Mt||Ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ae)n=this.activeLink=new jy(Ae,this),Ae.deps?(n.prevDep=Ae.depsTail,Ae.depsTail.nextDep=n,Ae.depsTail=n):Ae.deps=Ae.depsTail=n,Zh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ae.depsTail,n.nextDep=void 0,Ae.depsTail.nextDep=n,Ae.depsTail=n,Ae.deps===n&&(Ae.deps=r)}return n}trigger(t){this.version++,os++,this.notify(t)}notify(t){Il();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dl()}}}function Zh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Zh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const bi=new WeakMap,hr=Symbol(""),Tc=Symbol(""),ss=Symbol("");function Xe(e,t,n){if(Mt&&Ae){let r=bi.get(e);r||bi.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Nl),o.map=r,o.key=n),o.track()}}function fn(e,t,n,r,o,s){const i=bi.get(e);if(!i){os++;return}const a=c=>{c&&c.trigger()};if(Il(),t==="clear")i.forEach(a);else{const c=ae(e),l=c&&ta(n);if(c&&n==="length"){const u=Number(r);
vendor: 8,871 bytes, line 2
2i.forEach((f,p)=>{(p==="length"||p===ss||!$t(p)&&p>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),l&&a(i.get(ss)),t){case"add":c?l&&a(i.get("length")):(a(i.get(hr)),$r(e)&&a(i.get(Tc)));break;case"delete":c||(a(i.get(hr)),$r(e)&&a(i.get(Tc)));break;case"set":$r(e)&&a(i.get(hr));break}}Dl()}function Vy(e,t){const n=bi.get(e);return n&&n.get(t)}function Pr(e){const t=we(e);return t===e?t:(Xe(t,"iterate",ss),_t(e)?t:t.map(Ht))}function ia(e){return Xe(e=we(e),"iterate",ss),e}function Dn(e,t){return nn(e)?Xr(jn(e)?Ht(t):t):Ht(t)}const qy={__proto__:null,[Symbol.iterator](){return Da(this,Symbol.iterator,e=>Dn(this,e))},concat(...e){return Pr(this).concat(...e.map(t=>ae(t)?Pr(t):t))},entries(){return Da(this,"entries",e=>(e[1]=Dn(this,e[1]),e))},every(e,t){return on(this,"every",e,t,void 0,arguments)},filter(e,t){return on(this,"filter",e,t,n=>n.map(r=>Dn(this,r)),arguments)},find(e,t){return on(this,"find",e,t,n=>Dn(this,n),arguments)},findIndex(e,t){return on(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return on(this,"findLast",e,t,n=>Dn(this,n),arguments)},findLastIndex(e,t){return on(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return on(this,"forEach",e,t,void 0,arguments)},includes(...e){return La(this,"includes",e)},indexOf(...e){return La(this,"indexOf",e)},join(e){return Pr(this).join(e)},lastIndexOf(...e){return La(this,"lastIndexOf",e)},map(e,t){return on(this,"map",e,t,void 0,arguments)},pop(){return Co(this,"pop")},push(...e){return Co(this,"push",e)},reduce(e,...t){return $u(this,"reduce",e,t)},reduceRight(e,...t){return $u(this,"reduceRight",e,t)},shift(){return Co(this,"shift")},some(e,t){return on(this,"some",e,t,void 0,arguments)},splice(...e){return Co(this,"splice",e)},toReversed(){return Pr(this).toReversed()},toSorted(e){return Pr(this).toSorted(e)},toSpliced(...e){return Pr(this).toSpliced(...e)},unshift(...e){return Co(this,"unshift",e)},values(){return Da(this,"values",e=>Dn(this,e))}};function Da(e,t,n){const r=ia(e),o=r[t]();return r!==e&&!_t(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const zy=Array.prototype;function on(e,t,n,r,o,s){const i=ia(e),a=i!==e&&!_t(e),c=i[t];if(c!==zy[t]){const f=c.apply(e,s);return a?Ht(f):f}let l=n;i!==e&&(a?l=function(f,p){return n.call(this,Dn(e,f),p,e)}:n.length>2&&(l=function(f,p){return n.call(this,f,p,e)}));const u=c.call(i,l,r);return a&&o?o(u):u}function $u(e,t,n,r){const o=ia(e);let s=n;return o!==e&&(_t(e)?n.length>3&&(s=function(i,a,c){return n.call(this,i,a,c,e)}):s=function(i,a,c){return n.call(this,i,Dn(e,a),c,e)}),o[t](s,...r)}function La(e,t,n){const r=we(e);Xe(r,"iterate",ss);const o=r[t](...n);return(o===-1||o===!1)&&aa(n[0])?(n[0]=we(n[0]),r[t](...n)):o}function Co(e,t,n=[]){Sn(),Il();const r=we(e)[t].apply(e,n);return Dl(),Cn(),r}const Gy=Al("__proto__,__v_isRef,__isVue"),ep=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($t));function Yy(e){$t(e)||(e=String(e));const t=we(this);return Xe(t,"has",e),t.hasOwnProperty(e)}class tp{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?sw:sp:s?op:rp).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ae(t);if(!o){let c;if(i&&(c=qy[n]))return c;if(n==="hasOwnProperty")return Yy}const a=Reflect.get(t,n,Le(t)?t:r);if(($t(n)?ep.has(n):Gy(n))||(o||Xe(t,"get",n),s))return a;if(Le(a)){const c=i&&ta(n)?a:a.value;return o&&_e(c)?Ec(c):c}return _e(a)?o?Ec(a):Bt(a):a}}class np extends tp{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ae(t)&&ta(n);if(!this._isShallow){const l=nn(s);if(!_t(r)&&!nn(r)&&(s=we(s),r=we(r)),!i&&Le(s)&&!Le(r))return l||(s.value=r),!0}const a=i?Number(n)<t.length:be(t,n),c=Reflect.set(t,n,r,Le(t)?t:o);return t===we(o)&&(a?Kn(r,s)&&fn(t,"set",n,r):fn(t,"add",n,r)),c}deleteProperty(t,n){const r=be(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&fn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!$t(n)||!ep.has(n))&&Xe(t,"has",n),r}ownKeys(t){return Xe(t,"iterate",ae(t)?"length":hr),Reflect.ownKeys(t)}}class Jy extends tp{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qy=new np,Xy=new Jy,Zy=new np(!0);const Rc=e=>e,xs=e=>Reflect.getPrototypeOf(e);function ew(e,t,n){return function(...r){const o=this.__v_raw,s=we(o),i=$r(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?Rc:t?Xr:Ht;return!t&&Xe(s,"iterate",c?Tc:hr),Ke(Object.create(l),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:a?[u(f[0]),u(f[1])]:u(f),done:p}}})}}function Ps(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tw(e,t){const n={get(o){const s=this.__v_raw,i=we(s),a=we(o);e||(Kn(o,a)&&Xe(i,"get",o),Xe(i,"get",a));const{has:c}=xs(i),l=t?Rc:e?Xr:Ht;if(c.call(i,o))return l(s.get(o));if(c.call(i,a))return l(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Xe(we(o),"iterate",hr),o.size},has(o){const s=this.__v_raw,i=we(s),a=we(o);return e||(Kn(o,a)&&Xe(i,"has",o),Xe(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,c=we(a),l=t?Rc:e?Xr:Ht;return!e&&Xe(c,"iterate",hr),a.forEach((u,f)=>o.call(s,l(u),l(f),i))}};return Ke(n,e?{add:Ps("add"),set:Ps("set"),delete:Ps("delete"),clear:Ps("clear")}:{add(o){!t&&!_t(o)&&!nn(o)&&(o=we(o));const s=we(this);return xs(s).has.call(s,o)||(s.add(o),fn(s,"add",o,o)),this},set(o,s){!t&&!_t(s)&&!nn(s)&&(s=we(s));const i=we(this),{has:a,get:c}=xs(i);let l=a.call(i,o);l||(o=we(o),l=a.call(i,o));const u=c.call(i,o);return i.set(o,s),l?Kn(s,u)&&fn(i,"set",o,s):fn(i,"add",o,s),this},delete(o){const s=we(this),{has:i,get:a}=xs(s);let c=i.call(s,o);c||(o=we(o),c=i.call(s,o)),a&&a.call(s,o);const l=s.delete(o);return c&&fn(s,"delete",o,void 0),l},clear(){const o=we(this),s=o.size!==0,i=o.clear();return s&&fn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ew(o,e,t)}),n}function Ul(e,t){const n=tw(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(be(n,o)&&o in r?n:r,o,s)}const nw={get:Ul(!1,!1)},rw={get:Ul(!1,!0)},ow={get:Ul(!0,!1)};const rp=new WeakMap,op=new WeakMap,sp=new WeakMap,sw=new WeakMap;function iw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aw(e){return e.__v_skip||!Object.isExtensible(e)?0:iw(Py(e))}function Bt(e){return nn(e)?e:Ml(e,!1,Qy,nw,rp)}function gn(e){return Ml(e,!1,Zy,rw,op)}function Ec(e){return Ml(e,!0,Xy,ow,sp)}function Ml(e,t,n,r,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=aw(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function jn(e){return nn(e)?jn(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function _t(e){return!!(e&&e.__v_isShallow)}function aa(e){return e?!!e.__v_raw:!1}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function cw(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&Bh(e,"__v_skip",!0),e}const Ht=e=>_e(e)?Bt(e):e,Xr=e=>_e(e)?Ec(e):e;function Le(e){return e?e.__v_isRef===!0:!1}function vt(e){return ip(e,!1)}function Zr(e){return ip(e,!0)}function ip(e,t){return Le(e)?e:new lw(e,t)}class lw{constructor(t,n){this.dep=new Nl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:we(t),this._value=n?t:Ht(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||_t(t)||nn(t);t=r?t:we(t),Kn(t,n)&&(this._rawValue=t,this._value=r?t:Ht(t),this.dep.trigger())}}function pe(e){return Le(e)?e.value:e}function uw(e){return le(e)?e():pe(e)}const fw={get:(e,t,n)=>t==="__v_raw"?e:pe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ap(e){return jn(e)?e:new Proxy(e,fw)}class dw{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=we(t);let o=!0,s=t;if(!ae(t)||!ta(String(n)))do o=!aa(s)||_t(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=pe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Le(this._raw[this._key])){const n=this._object[this._key];if(Le(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Vy(this._raw,this._key)}}class hw{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}
vendor: 10,829 bytes, line 2
2function cp(e,t,n){return Le(e)?e:le(e)?new hw(e):_e(e)&&arguments.length>1?pw(e,t,n):vt(e)}function pw(e,t,n){return new dw(e,t,n)}class gw{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Nl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=os-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ae!==this)return Gh(this,!0),!0}get value(){const t=this.dep.track();return Qh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function mw(e,t,n=!1){let r,o;return le(e)?r=e:(r=e.get,o=e.set),new gw(r,o,n)}const Os={},Si=new WeakMap;let cr;function yw(e,t=!1,n=cr){if(n){let r=Si.get(n);r||Si.set(n,r=[]),r.push(e)}}function ww(e,t,n=Te){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:c}=n,l=g=>o?g:_t(g)||o===!1||o===0?dn(g,1):dn(g);let u,f,p,d,m=!1,y=!1;if(Le(e)?(f=()=>e.value,m=_t(e)):jn(e)?(f=()=>l(e),m=!0):ae(e)?(y=!0,m=e.some(g=>jn(g)||_t(g)),f=()=>e.map(g=>{if(Le(g))return g.value;if(jn(g))return l(g);if(le(g))return c?c(g,2):g()})):le(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){Sn();try{p()}finally{Cn()}}const g=cr;cr=u;try{return c?c(e,3,[d]):e(d)}finally{cr=g}}:f=en,t&&o){const g=f,v=o===!0?1/0:o;f=()=>dn(g(),v)}const b=Ol(),R=()=>{u.stop(),b&&b.active&&xl(b.effects,u)};if(s&&t){const g=t;t=(...v)=>{g(...v),R()}}let w=y?new Array(e.length).fill(Os):Os;const h=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const v=u.run();if(o||m||(y?v.some((T,A)=>Kn(T,w[A])):Kn(v,w))){p&&p();const T=cr;cr=u;try{const A=[v,w===Os?void 0:y&&w[0]===Os?[]:w,d];w=v,c?c(t,3,A):t(...A)}finally{cr=T}}}else u.run()};return a&&a(h),u=new qh(f),u.scheduler=i?()=>i(h,!1):h,d=g=>yw(g,!1,u),p=u.onStop=()=>{const g=Si.get(u);if(g){if(c)c(g,4);else for(const v of g)v();Si.delete(u)}},t?r?h(!0):w=u.run():i?i(h.bind(null,!0),!0):u.run(),R.pause=u.pause.bind(u),R.resume=u.resume.bind(u),R.stop=R,R}function dn(e,t=1/0,n){if(t<=0||!_e(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Le(e))dn(e.value,t,n);else if(ae(e))for(let r=0;r<e.length;r++)dn(e[r],t,n);else if(Nh(e)||$r(e))e.forEach(r=>{dn(r,t,n)});else if($h(e)){for(const r in e)dn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&dn(e[r],t,n)}return e}function vs(e,t,n,r){try{return r?e(...r):e()}catch(o){go(o,t,n)}}function Ft(e,t,n,r){if(le(e)){const o=vs(e,t,n,r);return o&&Uh(o)&&o.catch(s=>{go(s,t,n)}),o}if(ae(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Ft(e[s],t,n,r));return o}}function go(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Te;if(t){let a=t.parent;const c=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,c,l)===!1)return}a=a.parent}if(s){Sn(),vs(s,null,10,[e,c,l]),Cn();return}}_w(e,n,o,r,i)}function _w(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const nt=[];let Yt=-1;const Br=[];let Ln=null,Lr=0;const lp=Promise.resolve();let Ci=null;function Ut(e){const t=Ci||lp;return e?t.then(this?e.bind(this):e):t}function vw(e){let t=Yt+1,n=nt.length;for(;t<n;){const r=t+n>>>1,o=nt[r],s=is(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function $l(e){if(!(e.flags&1)){const t=is(e),n=nt[nt.length-1];!n||!(e.flags&2)&&t>=is(n)?nt.push(e):nt.splice(vw(t),0,e),e.flags|=1,up()}}function up(){Ci||(Ci=lp.then(fp))}function Ac(e){ae(e)?Br.push(...e):Ln&&e.id===-1?Ln.splice(Lr+1,0,e):e.flags&1||(Br.push(e),e.flags|=1),up()}function Bu(e,t,n=Yt+1){for(;n<nt.length;n++){const r=nt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;nt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ti(e){if(Br.length){const t=[...new Set(Br)].sort((n,r)=>is(n)-is(r));if(Br.length=0,Ln){Ln.push(...t);return}for(Ln=t,Lr=0;Lr<Ln.length;Lr++){const n=Ln[Lr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ln=null,Lr=0}}const is=e=>e.id==null?e.flags&2?-1:1/0:e.id;function fp(e){try{for(Yt=0;Yt<nt.length;Yt++){const t=nt[Yt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),vs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Yt<nt.length;Yt++){const t=nt[Yt];t&&(t.flags&=-2)}Yt=-1,nt.length=0,Ti(),Ci=null,(nt.length||Br.length)&&fp()}}let Ye=null,dp=null;function Ri(e){const t=Ye;return Ye=e,dp=e&&e.type.__scopeId||null,t}function Bl(e,t=Ye,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Pi(-1);const s=Ri(t);let i;try{i=e(...o)}finally{Ri(s),r._d&&Pi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Nx(e,t){if(Ye===null)return e;const n=da(Ye),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,c=Te]=t[o];s&&(le(s)&&(s={mounted:s,updated:s}),s.deep&&dn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function Qt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let c=a.dir[r];c&&(Sn(),Ft(c,n,8,[e.el,a,e,t]),Cn())}}function pr(e,t){if(Ge){let n=Ge.provides;const r=Ge.parent&&Ge.parent.provides;r===n&&(n=Ge.provides=Object.create(r)),n[e]=t}}function ft(e,t,n=!1){const r=Pt();if(r||gr){let o=gr?gr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&le(t)?t.call(r&&r.proxy):t}}function Hl(){return!!(Pt()||gr)}const bw=Symbol.for("v-scx"),Sw=()=>ft(bw);function Cw(e,t){return Fl(e,null,t)}function Vn(e,t,n){return Fl(e,t,n)}function Fl(e,t,n=Te){const{immediate:r,deep:o,flush:s,once:i}=n,a=Ke({},n),c=t&&r||!t&&s!=="post";let l;if(no){if(s==="sync"){const d=Sw();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!c){const d=()=>{};return d.stop=en,d.resume=en,d.pause=en,d}}const u=Ge;a.call=(d,m,y)=>Ft(d,u,m,y);let f=!1;s==="post"?a.scheduler=d=>{Me(d,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,m)=>{m?d():$l(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const p=ww(e,t,a);return no&&(l?l.push(p):c&&p()),p}function Tw(e,t,n){const r=this.proxy,o=ke(e)?e.includes(".")?hp(r,e):()=>r[e]:e.bind(r,r);let s;le(t)?s=t:(s=t.handler,n=t);const i=Cs(this),a=Fl(o,s.bind(r),n);return i(),a}function hp(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const pp=Symbol("_vte"),gp=e=>e.__isTeleport,zo=e=>e&&(e.disabled||e.disabled===""),Hu=e=>e&&(e.defer||e.defer===""),Fu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wu=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,kc=(e,t)=>{const n=e&&e.to;return ke(n)?t?t(n):null:n},mp={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,c,l){const{mc:u,pc:f,pbc:p,o:{insert:d,querySelector:m,createText:y,createComment:b}}=l,R=zo(t.props);let{shapeFlag:w,children:h,dynamicChildren:g}=t;if(e==null){const v=t.el=y(""),T=t.anchor=y("");d(v,n,r),d(T,n,r);const A=(O,S)=>{w&16&&u(h,O,S,o,s,i,a,c)},I=()=>{const O=t.target=kc(t.props,m),S=xc(O,t,y,d);O&&(i!=="svg"&&Fu(O)?i="svg":i!=="mathml"&&Wu(O)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(O),R||(A(O,S),ei(t,!1)))};R&&(A(n,T),ei(t,!0)),Hu(t.props)?(t.el.__isMounted=!1,Me(()=>{I(),delete t.el.__isMounted},s)):I()}else{if(Hu(t.props)&&e.el.__isMounted===!1){Me(()=>{mp.process(e,t,n,r,o,s,i,a,c,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,T=t.target=e.target,A=t.targetAnchor=e.targetAnchor,I=zo(e.props),O=I?n:T,S=I?v:A;if(i==="svg"||Fu(T)?i="svg":(i==="mathml"||Wu(T))&&(i="mathml"),g?(p(e.dynamicChildren,g,O,o,s,i,a),Yl(e,t,!0)):c||f(e,t,O,S,o,s,i,a,!1),R)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Is(t,n,v,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=kc(t.props,m);k&&Is(t,k,null,l,0)}else I&&Is(t,T,A,l,1);ei(t,R)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:c,targetStart:l,targetAnchor:u,target:f,props:p}=e;if(f&&(o(l),o(u)),s&&o(c),i&16){const d=s||!zo(p);for(let m=0;m<a.length;m++){const y=a[m];r(y,t,n,d,!!y.dynamicChildren)}}},move:Is,hydrate:Rw};function Is(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:u}=e,f=s===2;if(f&&r(i,t,n),(!f||zo(u))&&c&16)for(let p=0;p<l.length;p++)o(l[p],t,n,2);f&&r(a,t,n)}function Rw(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:c,insert:l,createText:u}},f){function p(b,R){let w=R;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")t.targetStart=w;else if(w.data==="teleport anchor"){t.targetAnchor=w,b._lpa=t.targetAnchor&&i(t.targetAnchor);break}}w=i(w)}}function d(b,R){R.anchor=f(i(b),R,a(b),n,r,o,s)}const m=t.target=kc(t.props,c),y=zo(t.props);if(m){const b=m._lpa||m.firstChild;t.shapeFlag&16&&(y?(d(e,t),p(m,b),t.targetAnchor||xc(m,t,u,l,a(e)===m?e:null)):(t.anchor=i(e),p(m,b),t.targetAnchor||xc(m,t,u,l),f(b&&i(b),t,m,n,r,o,s))),ei(t,y)}else y&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Ux=mp;function ei(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function xc(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[pp]=i,e&&(r(s,e,o),r(i,e,o)),i}const Xt=Symbol("_leaveCb"),To=Symbol("_enterCb");function Ew(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ss(()=>{e.isMounted=!0}),mo(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],yp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:St,onEnter:St,onAfterEnter:St,onEnterCancelled:St,onBeforeLeave:St,onLeave:St,onAfterLeave:St,onLeaveCancelled:St,onBeforeAppear:St,onAppear:St,onAfterAppear:St,onAppearCancelled:St},wp=e=>{const t=e.subTree;return t.component?wp(t.component):t},Aw={name:"BaseTransition",props:yp,setup(e,{slots:t}){const n=Pt(),r=Ew();return()=>{const o=t.default&&bp(t.default(),!0);if(!o||!o.length)return;const s=_p(o),i=we(e),{mode:a}=i;if(r.isLeaving)return Na(s);const c=Ku(s);if(!c)return Na(s);let l=Pc(c,i,r,n,f=>l=f);c.type!==He&&eo(c,l);let u=n.subTree&&Ku(n.subTree);if(u&&u.type!==He&&!Lt(u,c)&&wp(n).type!==He){let f=Pc(u,i,r,n);if(eo(u,f),a==="out-in"&&c.type!==He)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Na(s);a==="in-out"&&c.type!==He?f.delayLeave=(p,d,m)=>{const y=vp(r,u);y[String(u.key)]=u,p[Xt]=()=>{d(),p[Xt]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{m(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function _p(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==He){t=n;break}}return t}const kw=Aw;
2function vp(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Pc(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:b,onAppear:R,onAfterAppear:w,onAppearCancelled:h}=t,g=String(e.key),v=vp(n,e),T=(O,S)=>{O&&Ft(O,r,9,S)},A=(O,S)=>{const k=S[1];T(O,S),ae(O)?O.every(E=>E.length<=1)&&k():O.length<=1&&k()},I={mode:i,persisted:a,beforeEnter(O){let S=c;if(!n.isMounted)if(s)S=b||c;else return;O[Xt]&&O[Xt](!0);const k=v[g];k&&Lt(e,k)&&k.el[Xt]&&k.el[Xt](),T(S,[O])},enter(O){if(v[g]===e)return;let S=l,k=u,E=f;if(!n.isMounted)if(s)S=R||l,k=w||u,E=h||f;else return;let x=!1;O[To]=X=>{x||(x=!0,X?T(E,[O]):T(k,[O]),I.delayedLeave&&I.delayedLeave(),O[To]=void 0)};const z=O[To].bind(null,!1);S?A(S,[O,z]):z()},leave(O,S){const k=String(e.key);if(O[To]&&O[To](!0),n.isUnmounting)return S();T(p,[O]);let E=!1;O[Xt]=z=>{E||(E=!0,S(),z?T(y,[O]):T(m,[O]),O[Xt]=void 0,v[k]===e&&delete v[k])};const x=O[Xt].bind(null,!1);v[k]=e,d?A(d,[O,x]):x()},clone(O){const S=Pc(O,t,n,r,o);return o&&o(S),S}};return I}function Na(e){if(bs(e))return e=Rn(e),e.children=null,e}function Ku(e){if(!bs(e))return gp(e.type)&&e.children?_p(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function eo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,eo(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 bp(e,t=!1,n){let r=[],o=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===ze?(i.patchFlag&128&&o++,r=r.concat(bp(i.children,t,a))):(t||i.type!==He)&&r.push(a!=null?Rn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Rr(e,t){return le(e)?Ke({name:e.name},t,{setup:e}):e}function Wl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mx(e){const t=Pt(),n=Zr(null);if(t){const o=t.refs===Te?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function ju(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ei=new WeakMap;function Hr(e,t,n,r,o=!1){if(ae(e)){e.forEach((y,b)=>Hr(y,t&&(ae(t)?t[b]:t),n,r,o));return}if(bn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Hr(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?da(r.component):r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Te?a.refs={}:a.refs,f=a.setupState,p=we(f),d=f===Te?Lh:y=>ju(u,y)?!1:be(p,y),m=(y,b)=>!(b&&ju(u,b));if(l!=null&&l!==c){if(Vu(t),ke(l))u[l]=null,d(l)&&(f[l]=null);else if(Le(l)){const y=t;m(l,y.k)&&(l.value=null),y.k&&(u[y.k]=null)}}if(le(c))vs(c,a,12,[i,u]);else{const y=ke(c),b=Le(c);if(y||b){const R=()=>{if(e.f){const w=y?d(c)?f[c]:u[c]:m()||!e.k?c.value:u[e.k];if(o)ae(w)&&xl(w,s);else if(ae(w))w.includes(s)||w.push(s);else if(y)u[c]=[s],d(c)&&(f[c]=u[c]);else{const h=[s];m(c,e.k)&&(c.value=h),e.k&&(u[e.k]=h)}}else y?(u[c]=i,d(c)&&(f[c]=i)):b&&(m(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const w=()=>{R(),Ei.delete(e)};w.id=-1,Ei.set(e,w),Me(w,n)}else Vu(e),R()}}}function Vu(e){const t=Ei.get(e);t&&(t.flags|=8,Ei.delete(e))}let qu=!1;const Or=()=>{qu||(console.error("Hydration completed but contains mismatches."),qu=!0)},xw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Pw=e=>e.namespaceURI.includes("MathML"),Ds=e=>{if(e.nodeType===1){if(xw(e))return"svg";if(Pw(e))return"mathml"}},Ur=e=>e.nodeType===8;function Ow(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(h,g)=>{if(!g.hasChildNodes()){n(null,h,g),Ti(),g._vnode=h;return}f(g.firstChild,h,null,null,null),Ti(),g._vnode=h},f=(h,g,v,T,A,I=!1)=>{I=I||!!g.dynamicChildren;const O=Ur(h)&&h.data==="[",S=()=>y(h,g,v,T,A,O),{type:k,ref:E,shapeFlag:x,patchFlag:z}=g;let X=h.nodeType;g.el=h,z===-2&&(I=!1,g.dynamicChildren=null);let q=null;switch(k){case mr:X!==3?g.children===""?(c(g.el=o(""),i(h),h),q=h):q=S():(h.data!==g.children&&(Or(),h.data=g.children),q=s(h
vendor: 18,299 bytes, lines 2-4
2));break;case He:w(h)?(q=s(h),R(g.el=h.content.firstChild,h,v)):X!==8||O?q=S():q=s(h);break;case Yo:if(O&&(h=s(h),X=h.nodeType),X===1||X===3){q=h;const oe=!g.children.length;for(let Z=0;Z<g.staticCount;Z++)oe&&(g.children+=q.nodeType===1?q.outerHTML:q.data),Z===g.staticCount-1&&(g.anchor=q),q=s(q);return O?s(q):q}else S();break;case ze:O?q=m(h,g,v,T,A,I):q=S();break;default:if(x&1)(X!==1||g.type.toLowerCase()!==h.tagName.toLowerCase())&&!w(h)?q=S():q=p(h,g,v,T,A,I);else if(x&6){g.slotScopeIds=A;const oe=i(h);if(O?q=b(h):Ur(h)&&h.data==="teleport start"?q=b(h,h.data,"teleport end"):q=s(h),t(g,oe,null,v,T,Ds(oe),I),bn(g)&&!g.type.__asyncResolved){let Z;O?(Z=Ie(ze),Z.anchor=q?q.previousSibling:oe.lastChild):Z=h.nodeType===3?Jl(""):Ie("div"),Z.el=h,g.component.subTree=Z}}else x&64?X!==8?q=S():q=g.type.hydrate(h,g,v,T,A,I,e,d):x&128&&(q=g.type.hydrate(h,g,v,T,Ds(i(h)),A,I,e,f))}return E!=null&&Hr(E,null,T,g),q},p=(h,g,v,T,A,I)=>{I=I||!!g.dynamicChildren;const{type:O,props:S,patchFlag:k,shapeFlag:E,dirs:x,transition:z}=g,X=O==="input"||O==="option";if(X||k!==-1){x&&Qt(g,null,v,"created");let q=!1;if(w(h)){q=Fp(null,z)&&v&&v.vnode.props&&v.vnode.props.appear;const Z=h.content.firstChild;if(q){const ge=Z.getAttribute("class");ge&&(Z.$cls=ge),z.beforeEnter(Z)}R(Z,h,v),g.el=h=Z}if(E&16&&!(S&&(S.innerHTML||S.textContent))){let Z=d(h.firstChild,g,h,v,T,A,I);for(;Z;){Ls(h,1)||Or();const ge=Z;Z=Z.nextSibling,a(ge)}}else if(E&8){let Z=g.children;Z[0]===` 3`&&(h.tagName==="PRE"||h.tagName==="TEXTAREA")&&(Z=Z.slice(1));const{textContent:ge}=h;ge!==Z&&ge!==Z.replace(/\r\n|\r/g,` 4`)&&(Ls(h,0)||Or(),h.textContent=g.children)}if(S){if(X||!I||k&48){const Z=h.tagName.includes("-");for(const ge in S)(X&&(ge.endsWith("value")||ge==="indeterminate")||ws(ge)&&!dr(ge)||ge[0]==="."||Z&&!dr(ge))&&r(h,ge,null,S[ge],void 0,v)}else if(S.onClick)r(h,"onClick",null,S.onClick,void 0,v);else if(k&4&&jn(S.style))for(const Z in S.style)S.style[Z]}let oe;(oe=S&&S.onVnodeBeforeMount)&&st(oe,v,g),x&&Qt(g,null,v,"beforeMount"),((oe=S&&S.onVnodeMounted)||x||q)&&qp(()=>{oe&&st(oe,v,g),q&&z.enter(h),x&&Qt(g,null,v,"mounted")},T)}return h.nextSibling},d=(h,g,v,T,A,I,O)=>{O=O||!!g.dynamicChildren;const S=g.children,k=S.length;for(let E=0;E<k;E++){const x=O?S[E]:S[E]=yt(S[E]),z=x.type===mr;h?(z&&!O&&E+1<k&&yt(S[E+1]).type===mr&&(c(o(h.data.slice(x.children.length)),v,s(h)),h.data=x.children),h=f(h,x,T,A,I,O)):z&&!x.children?c(x.el=o(""),v):(Ls(v,1)||Or(),n(null,x,v,null,T,A,Ds(v),I))}return h},m=(h,g,v,T,A,I)=>{const{slotScopeIds:O}=g;O&&(A=A?A.concat(O):O);const S=i(h),k=d(s(h),g,S,v,T,A,I);return k&&Ur(k)&&k.data==="]"?s(g.anchor=k):(Or(),c(g.anchor=l("]"),S,k),k)},y=(h,g,v,T,A,I)=>{if(Ls(h.parentElement,1)||Or(),g.el=null,I){const k=b(h);for(;;){const E=s(h);if(E&&E!==k)a(E);else break}}const O=s(h),S=i(h);return a(h),n(null,g,S,O,v,T,Ds(S),A),v&&(v.vnode.el=g.el,fa(v,g.el)),O},b=(h,g="[",v="]")=>{let T=0;for(;h;)if(h=s(h),h&&Ur(h)&&(h.data===g&&T++,h.data===v)){if(T===0)return s(h);T--}return h},R=(h,g,v)=>{const T=g.parentNode;T&&T.replaceChild(h,g);let A=v;for(;A;)A.vnode.el===g&&(A.vnode.el=A.subTree.el=h),A=A.parent},w=h=>h.nodeType===1&&h.tagName==="TEMPLATE";return[u,f]}const zu="data-allow-mismatch",Iw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ls(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(zu);)e=e.parentElement;const n=e&&e.getAttribute(zu);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Iw[t])}}oa().requestIdleCallback;oa().cancelIdleCallback;function Dw(e,t){if(Ur(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ur(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const bn=e=>!!e.type.__asyncLoader;function Gu(e){le(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:c}=e;let l=null,u,f=0;const p=()=>(f++,l=null,d()),d=()=>{let m;return l||(m=l=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),c)return new Promise((b,R)=>{c(y,()=>b(p()),()=>R(y),f+1)});throw y}).then(y=>m!==l&&l?l:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return Rr({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(m,y,b){let R=!1;(y.bu||(y.bu=[])).push(()=>R=!0);const w=()=>{R||b()},h=s?()=>{const g=s(w,v=>Dw(m,v));g&&(y.bum||(y.bum=[])).push(g)}:w;u?h():d().then(()=>!y.isUnmounted&&h())},get __asyncResolved(){return u},setup(){const m=Ge;if(Wl(m),u)return()=>Ns(u,m);const y=h=>{l=null,go(h,m,13,!r)};if(a&&m.suspense||no)return d().then(h=>()=>Ns(h,m)).catch(h=>(y(h),()=>r?Ie(r,{error:h}):null));const b=vt(!1),R=vt(),w=vt(!!o);return o&&setTimeout(()=>{w.value=!1},o),i!=null&&setTimeout(()=>{if(!b.value&&!R.value){const h=new Error(`Async component timed out after ${i}ms.`);y(h),R.value=h}},i),d().then(()=>{b.value=!0,m.parent&&bs(m.parent.vnode)&&m.parent.update()}).catch(h=>{y(h),R.value=h}),()=>{if(b.value&&u)return Ns(u,m);if(R.value&&r)return Ie(r,{error:R.value});if(n&&!w.value)return Ns(n,m)}}})}function Ns(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=Ie(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const bs=e=>e.type.__isKeepAlive,Lw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Pt(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,p=f("div");r.activate=(w,h,g,v,T)=>{const A=w.component;l(w,h,g,0,a),c(A.vnode,w,h,g,A,a,v,w.slotScopeIds,T),Me(()=>{A.isDeactivated=!1,A.a&&Ko(A.a);const I=w.props&&w.props.onVnodeMounted;I&&st(I,A.parent,w)},a)},r.deactivate=w=>{const h=w.component;ki(h.m),ki(h.a),l(w,p,null,1,a),Me(()=>{h.da&&Ko(h.da);const g=w.props&&w.props.onVnodeUnmounted;g&&st(g,h.parent,w),h.isDeactivated=!0},a)};function d(w){Ua(w),u(w,n,a,!0)}function m(w){o.forEach((h,g)=>{const v=$c(bn(h)?h.type.__asyncResolved||{}:h.type);v&&!w(v)&&y(g)})}function y(w){const h=o.get(w);h&&(!i||!Lt(h,i))?d(h):i&&Ua(i),o.delete(w),s.delete(w)}Vn(()=>[e.include,e.exclude],([w,h])=>{w&&m(g=>$o(w,g)),h&&m(g=>!$o(h,g))},{flush:"post",deep:!0});let b=null;const R=()=>{b!=null&&(xi(n.subTree.type)?Me(()=>{o.set(b,Us(n.subTree))},n.subTree.suspense):o.set(b,Us(n.subTree)))};return Ss(R),Cp(R),mo(()=>{o.forEach(w=>{const{subTree:h,suspense:g}=n,v=Us(h);if(w.type===v.type&&w.key===v.key){Ua(v);const T=v.component.da;T&&Me(T,g);return}d(w)})}),()=>{if(b=null,!t.default)return i=null;const w=t.default(),h=w[0];if(w.length>1)return i=null,w;if(!Qn(h)||!(h.shapeFlag&4)&&!(h.shapeFlag&128))return i=null,h;let g=Us(h);if(g.type===He)return i=null,g;const v=g.type,T=$c(bn(g)?g.type.__asyncResolved||{}:v),{include:A,exclude:I,max:O}=e;if(A&&(!T||!$o(A,T))||I&&T&&$o(I,T))return g.shapeFlag&=-257,i=g,h;const S=g.key==null?v:g.key,k=o.get(S);return g.el&&(g=Rn(g),h.shapeFlag&128&&(h.ssContent=g)),b=S,k?(g.el=k.el,g.component=k.component,g.transition&&eo(g,g.transition),g.shapeFlag|=512,s.delete(S),s.add(S)):(s.add(S),O&&s.size>parseInt(O,10)&&y(s.values().next().value)),g.shapeFlag|=256,i=g,xi(h.type)?h:g}}},Nw=Lw;function $o(e,t){return ae(e)?e.some(n=>$o(n,t)):ke(e)?e.split(",").includes(t):xy(e)?(e.lastIndex=0,e.test(t)):!1}function Kl(e,t){Sp(e,"a",t)}function jl(e,t){Sp(e,"da",t)}function Sp(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ca(t,r,n),n){let o=n.parent;for(;o&&o.parent;)bs(o.parent.vnode)&&Uw(r,t,n,o),o=o.parent}}function Uw(e,t,n,r){const o=ca(t,e,r,!0);la(()=>{xl(r[t],o)},n)}function Ua(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Us(e){return e.shapeFlag&128?e.ssContent:e}function ca(e,t,n=Ge,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Sn();const a=Cs(n),c=Ft(t,n,e,i);return a(),Cn(),c});return r?o.unshift(s):o.push(s),s}}const kn=e=>(t,n=Ge)=>{(!no||e==="sp")&&ca(e,(...r)=>t(...r),n)},Mw=kn("bm"),Ss=kn("m"),$w=kn("bu"),Cp=kn("u"),mo=kn("bum"),la=kn("um"),Bw=kn("sp"),Hw=kn("rtg"),Fw=kn("rtc");function Tp(e,t=Ge){ca("ec",e,t)}const Vl="components",Ww="directives";function $x(e,t){return ql(Vl,e,!0,t)||e}const Rp=Symbol.for("v-ndc");function Kw(e){return ke(e)?ql(Vl,e,!1)||e:e||Rp}function Bx(e){return ql(Ww,e)}function ql(e,t,n=!0,r=!1){const o=Ye||Ge;if(o){const s=o.type;if(e===Vl){const a=$c(s,!1);if(a&&(a===t||a===kt(t)||a===ra(kt(t))))return s}const i=Yu(o[e]||s[e],t)||Yu(o.appContext[e],t);return!i&&r?s:i}}function Yu(e,t){return e&&(e[t]||e[kt(t)]||e[ra(kt(t))])}function Hx(e,t,n,r){let o;const s=n,i=ae(e);if(i||ke(e)){const a=i&&jn(e);let c=!1,l=!1;a&&(c=!_t(e),l=nn(e),e=ia(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(c?l?Xr(Ht(e[u])):Ht(e[u]):e[u],u,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s)}else if(_e(e))if(e[Symbol.iterator])o=Array.from(e,(a,c)=>t(a,c,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let c=0,l=a.length;c<l;c++){const u=a[c];o[c]=t(e[u],u,c,s)}}else o=[];return o}function Ju(e,t,n={},r,o){if(Ye.ce||Ye.parent&&bn(Ye.parent)&&Ye.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),$e(),Rt(ze,null,[Ie("slot",n,r&&r())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),$e();const i=s&&Ep(s(n)),a=n.key||i&&i.key,c=Rt(ze,{key:(a&&!$t(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Ep(e){return e.some(t=>Qn(t)?!(t.type===He||t.type===ze&&!Ep(t.children)):!0)?e:null}const Oc=e=>e?Zp(e)?da(e):Oc(e.parent):null,Go=Ke(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=>Oc(e.parent),$root:e=>Oc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kp(e),$forceUpdate:e=>e.f||(e.f=()=>{$l(e.update)}),$nextTick:e=>e.n||(e.n=Ut.bind(e.proxy)),$watch:e=>Tw.bind(e)}),Ma=(e,t)=>e!==Te&&!e.__isScriptSetup&&be(e,t),jw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ma(r,t))return i[t]=1,r[t];if(o!==Te&&be(o,t))return i[t]=2,o[t];if(be(s,t))return i[t]=3,s[t];if(n!==Te&&be(n,t))return i[t]=4,n[t];Ic&&(i[t]=0)}}const l=Go[t];let u,f;if(l)return t==="$attrs"&&Xe(e.attrs,"get",""),l(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Te&&be(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,be(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ma(o,t)?(o[t]=n,!0):r!==Te&&be(r,t)?(r[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let c;return!!(n[a]||e!==Te&&a[0]!=="$"&&be(e,a)||Ma(t,a)||be(s,a)||be(r,a)||be(Go,a)||be(o.config.globalProperties,a)||(c=i.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fx(){return Vw().attrs}function Vw(e){const t=Pt();return t.setupContext||(t.setupContext=tg(t))}function Qu(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ic=!0;function qw(e){const t=kp(e),n=e.proxy,r=e.ctx;Ic=!1,t.beforeCreate&&Xu(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:y,deactivated:b,beforeDestroy:R,beforeUnmount:w,destroyed:h,unmounted:g,render:v,renderTracked:T,renderTriggered:A,errorCaptured:I,serverPrefetch:O,expose:S,inheritAttrs:k,components:E,directives:x,filters:z}=t;if(l&&zw(l,r,null),i)for(const oe in i){const Z=i[oe];le(Z)&&(r[oe]=Z.bind(n))}if(o){const oe=o.call(n,n);_e(oe)&&(e.data=Bt(oe))}if(Ic=!0,s)for(const oe in s){const Z=s[oe],ge=le(Z)?Z.bind(n,n):le(Z.get)?Z.get.bind(n,n):en,Ve=!le(Z)&&le(Z.set)?Z.set.bind(n):en,K=Et({get:ge,set:Ve});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>K.value,set:j=>K.value=j})}if(a)for(const oe in a)Ap(a[oe],r,n,oe);if(c){const oe=le(c)?c.call(n):c;Reflect.ownKeys(oe).forEach(Z=>{pr(Z,oe[Z])})}u&&Xu(u,e,"c");function q(oe,Z){ae(Z)?Z.forEach(ge=>oe(ge.bind(n))):Z&&oe(Z.bind(n))}if(q(Mw,f),q(Ss,p),q($w,d),q(Cp,m),q(Kl,y),q(jl,b),q(Tp,I),q(Fw,T),q(Hw,A),q(mo,w),q(la,g),q(Bw,O),ae(S))if(S.length){const oe=e.exposed||(e.exposed={});S.forEach(Z=>{Object.defineProperty(oe,Z,{get:()=>n[Z],set:ge=>n[Z]=ge,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===en&&(e.render=v),k!=null&&(e.inheritAttrs=k),E&&(e.components=E),x&&(e.directives=x),O&&Wl(e)}function zw(e,t,n=en){ae(e)&&(e=Dc(e));for(const r in e){const o=e[r];let s;_e(o)?"default"in o?s=ft(o.from||r,o.default,!0):s=ft(o.from||r):s=ft(o),Le(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Xu(e,t,n){Ft(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ap(e,t,n,r){let o=r.includes(".")?hp(n,r):()=>n[r];if(ke(e)){const s=t[e];le(s)&&Vn(o,s)}else if(le(e))Vn(o,e.bind(n));else if(_e(e))if(ae(e))e.forEach(s=>Ap(s,t,n,r));else{const s=le(e.handler)?e.handler.bind(n):t[e.handler];le(s)&&Vn(o,s,e)}}function kp(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>Ai(c,l,i,!0)),Ai(c,t,i)),_e(t)&&s.set(t,c),c}function Ai(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Ai(e,s,n,!0),o&&o.forEach(i=>Ai(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Gw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Gw={data:Zu,props:ef,emits:ef,methods:Bo,computed:Bo,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:Bo,directives:Bo,watch:Jw,provide:Zu,inject:Yw};function Zu(e,t){return t?e?function(){return Ke(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function Yw(e,t){return Bo(Dc(e),Dc(t))}function Dc(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function et(e,t){return e?[...new Set([].concat(e,t))]:t}function Bo(e,t){return e?Ke(Object.create(null),e,t):t}function ef(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:Ke(Object.create(null),Qu(e),Qu(t??{})):t}function Jw(e,t){if(!e)return t;if(!t)return e;const n=Ke(Object.create(null),e);for(const r in t)n[r]=et(e[r],t[r]);return n}function xp(){return{app:null,config:{isNativeTag:Lh,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 Qw=0;function Xw(e,t){return function(r,o=null){le(r)||(r=Ke({},r)),o!=null&&!_e(o)&&(o=null);const s=xp(),i=new WeakSet,a=[];let c=!1;const l=s.app={_uid:Qw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:x_,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(l,...f)):le(u)&&(i.add(u),u(l,...f))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,f){return f?(s.components[u]=f,l):s.components[u]},directive(u,f){return f?(s.directives[u]=f,l):s.directives[u]},mount(u,f,p){if(!c){const d=l._ceVNode||Ie(r,o);return d.appContext=s,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,u):e(d,u,p),c=!0,l._container=u,u.__vue_app__=l,da(d.component)}},onUnmount(u){a.push(u)},unmount(){c&&(Ft(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(u,f){return s.provides[u]=f,l},runWithContext(u){const f=gr;gr=l;try{return u()}finally{gr=f}}};return l}}let gr=null;const Zw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${kt(t)}Modifiers`]||e[`${Tr(t)}Modifiers`];function e_(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Te;let o=n;const s=t.startsWith("update:"),i=s&&Zw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>ke(u)?u.trim():u)),i.number&&(o=n.map(Dy)));let a,c=r[a=Pa(t)]||r[a=Pa(kt(t))];!c&&s&&(c=r[a=Pa(Tr(t))]),c&&Ft(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ft(l,e,6,o)}}const t_=new WeakMap;function Pp(e,t,n=!1){const r=n?t_:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!le(e)){const c=l=>{const u=Pp(l,t,!0);u&&(a=!0,Ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(_e(e)&&r.set(e,null),null):(ae(s)?s.forEach(c=>i[c]=null):Ke(i,s),_e(e)&&r.set(e,i),i)}function ua(e,t){return!e||!ws(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,Tr(t))||be(e,t))}function $a(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:c,render:l,renderCache:u,props:f,data:p,setupState:d,ctx:m,inheritAttrs:y}=e,b=Ri(e);let R,w;try{if(n.shapeFlag&4){const g=o||r,v=g;R=yt(l.call(v,g,u,f,d,p,m)),w=a}else{const g=t;R=yt(g.length>1?g(f,{attrs:a,slots:i,emit:c}):g(f,null)),w=t.props?a:r_(a)}}catch(g){Jo.length=0,go(g,e,1),R=Ie(He)}let h=R;if(w&&y!==!1){const g=Object.keys(w),{shapeFlag:v}=h;g.length&&v&7&&(s&&g.some(kl)&&(w=o_(w,s)),h=Rn(h,w,!1,!0))}return n.dirs&&(h=Rn(h,null,!1,!0),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&eo(h,n.transition),R=h,Ri(b),R}function n_(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Qn(o)){if(o.type!==He||o.children==="v-if"){if(n)return;n=o}}else return}return n}const r_=e=>{let t;for(const n in e)(n==="class"||n==="style"||ws(n))&&((t||(t={}))[n]=e[n]);return t},o_=(e,t)=>{const n={};for(const r in e)(!kl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function s_(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;
vendor: 8,321 bytes, line 4
4if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?tf(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(Op(i,r,p)&&!ua(l,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?tf(r,i,l):!0:!!i;return!1}function tf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(Op(t,e,s)&&!ua(n,s))return!0}return!1}function Op(e,t,n){const r=e[n],o=t[n];return n==="style"&&_e(r)&&_e(o)?!Pl(r,o):r!==o}function fa({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ip={},Dp=()=>Object.create(Ip),Lp=e=>Object.getPrototypeOf(e)===Ip;function i_(e,t,n,r=!1){const o={},s=Dp();e.propsDefaults=Object.create(null),Np(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:gn(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function a_(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=we(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(ua(e.emitsOptions,p))continue;const d=t[p];if(c)if(be(s,p))d!==s[p]&&(s[p]=d,l=!0);else{const m=kt(p);o[m]=Lc(c,a,m,d,e,!1)}else d!==s[p]&&(s[p]=d,l=!0)}}}else{Np(e,t,o,s)&&(l=!0);let u;for(const f in a)(!t||!be(t,f)&&((u=Tr(f))===f||!be(t,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Lc(c,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!be(t,f))&&(delete s[f],l=!0)}l&&fn(e.attrs,"set","")}function Np(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(dr(c))continue;const l=t[c];let u;o&&be(o,u=kt(c))?!s||!s.includes(u)?n[u]=l:(a||(a={}))[u]=l:ua(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,i=!0)}if(s){const c=we(n),l=a||Te;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Lc(o,c,f,l[f],e,!be(l,f))}}return i}function Lc(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=be(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&le(c)){const{propsDefaults:l}=o;if(n in l)r=l[n];else{const u=Cs(o);r=l[n]=c.call(null,t),u()}}else r=c;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Tr(n))&&(r=!0))}return r}const c_=new WeakMap;function Up(e,t,n=!1){const r=n?c_:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let c=!1;if(!le(e)){const u=f=>{c=!0;const[p,d]=Up(f,t,!0);Ke(i,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return _e(e)&&r.set(e,Mr),Mr;if(ae(s))for(let u=0;u<s.length;u++){const f=kt(s[u]);nf(f)&&(i[f]=Te)}else if(s)for(const u in s){const f=kt(u);if(nf(f)){const p=s[u],d=i[f]=ae(p)||le(p)?{type:p}:Ke({},p),m=d.type;let y=!1,b=!0;if(ae(m))for(let R=0;R<m.length;++R){const w=m[R],h=le(w)&&w.name;if(h==="Boolean"){y=!0;break}else h==="String"&&(b=!1)}else y=le(m)&&m.name==="Boolean";d[0]=y,d[1]=b,(y||be(d,"default"))&&a.push(f)}}const l=[i,a];return _e(e)&&r.set(e,l),l}function nf(e){return e[0]!=="$"&&!dr(e)}const zl=e=>e==="_"||e==="_ctx"||e==="$stable",Gl=e=>ae(e)?e.map(yt):[yt(e)],l_=(e,t,n)=>{if(t._n)return t;const r=Bl((...o)=>Gl(t(...o)),n);return r._c=!1,r},Mp=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zl(o))continue;const s=e[o];if(le(s))t[o]=l_(o,s,r);else if(s!=null){const i=Gl(s);t[o]=()=>i}}},$p=(e,t)=>{const n=Gl(t);e.slots.default=()=>n},Bp=(e,t,n)=>{for(const r in t)(n||!zl(r))&&(e[r]=t[r])},u_=(e,t,n)=>{const r=e.slots=Dp();if(e.vnode.shapeFlag&32){const o=t._;o?(Bp(r,t,n),n&&Bh(r,"_",o,!0)):Mp(t,r)}else t&&$p(e,t)},f_=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Te;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Bp(o,t,n):(s=!t.$stable,Mp(t,o)),i=t}else t&&($p(e,t),i={default:1});if(s)for(const a in o)!zl(a)&&i[a]==null&&delete o[a]},Me=qp;function d_(e){return Hp(e)}function h_(e){return Hp(e,Ow)}function Hp(e,t){const n=oa();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=en,insertStaticContent:m}=e,y=(_,C,P,B=null,N=null,F=null,ee=void 0,Q=null,J=!!C.dynamicChildren)=>{if(_===C)return;_&&!Lt(_,C)&&(B=U(_),j(_,N,F,!0),_=null),C.patchFlag===-2&&(J=!1,C.dynamicChildren=null);const{type:W,ref:ce,shapeFlag:ne}=C;switch(W){case mr:b(_,C,P,B);break;case He:R(_,C,P,B);break;case Yo:_==null&&w(C,P,B,ee);break;case ze:E(_,C,P,B,N,F,ee,Q,J);break;default:ne&1?v(_,C,P,B,N,F,ee,Q,J):ne&6?x(_,C,P,B,N,F,ee,Q,J):(ne&64||ne&128)&&W.process(_,C,P,B,N,F,ee,Q,J,ie)}ce!=null&&N?Hr(ce,_&&_.ref,F,C||_,!C):ce==null&&_&&_.ref!=null&&Hr(_.ref,null,F,_,!0)},b=(_,C,P,B)=>{if(_==null)r(C.el=a(C.children),P,B);else{const N=C.el=_.el;C.children!==_.children&&l(N,C.children)}},R=(_,C,P,B)=>{_==null?r(C.el=c(C.children||""),P,B):C.el=_.el},w=(_,C,P,B)=>{[_.el,_.anchor]=m(_.children,C,P,B,_.el,_.anchor)},h=({el:_,anchor:C},P,B)=>{let N;for(;_&&_!==C;)N=p(_),r(_,P,B),_=N;r(C,P,B)},g=({el:_,anchor:C})=>{let P;for(;_&&_!==C;)P=p(_),o(_),_=P;o(C)},v=(_,C,P,B,N,F,ee,Q,J)=>{if(C.type==="svg"?ee="svg":C.type==="math"&&(ee="mathml"),_==null)T(C,P,B,N,F,ee,Q,J);else{const W=_.el&&_.el._isVueCE?_.el:null;try{W&&W._beginPatch(),O(_,C,N,F,ee,Q,J)}finally{W&&W._endPatch()}}},T=(_,C,P,B,N,F,ee,Q)=>{let J,W;const{props:ce,shapeFlag:ne,transition:se,dirs:ue}=_;if(J=_.el=i(_.type,F,ce&&ce.is,ce),ne&8?u(J,_.children):ne&16&&I(_.children,J,null,B,N,Ba(_,F),ee,Q),ue&&Qt(_,null,B,"created"),A(J,_,_.scopeId,ee,B),ce){for(const Ee in ce)Ee!=="value"&&!dr(Ee)&&s(J,Ee,null,ce[Ee],F,B);"value"in ce&&s(J,"value",null,ce.value,F),(W=ce.onVnodeBeforeMount)&&st(W,B,_)}ue&&Qt(_,null,B,"beforeMount");const me=Fp(N,se);me&&se.beforeEnter(J),r(J,C,P),((W=ce&&ce.onVnodeMounted)||me||ue)&&Me(()=>{W&&st(W,B,_),me&&se.enter(J),ue&&Qt(_,null,B,"mounted")},N)},A=(_,C,P,B,N)=>{if(P&&d(_,P),B)for(let F=0;F<B.length;F++)d(_,B[F]);if(N){let F=N.subTree;if(C===F||xi(F.type)&&(F.ssContent===C||F.ssFallback===C)){const ee=N.vnode;A(_,ee,ee.scopeId,ee.slotScopeIds,N.parent)}}},I=(_,C,P,B,N,F,ee,Q,J=0)=>{for(let W=J;W<_.length;W++){const ce=_[W]=Q?un(_[W]):yt(_[W]);y(null,ce,C,P,B,N,F,ee,Q)}},O=(_,C,P,B,N,F,ee)=>{const Q=C.el=_.el;let{patchFlag:J,dynamicChildren:W,dirs:ce}=C;J|=_.patchFlag&16;const ne=_.props||Te,se=C.props||Te;let ue;if(P&&nr(P,!1),(ue=se.onVnodeBeforeUpdate)&&st(ue,P,C,_),ce&&Qt(C,_,P,"beforeUpdate"),P&&nr(P,!0),(ne.innerHTML&&se.innerHTML==null||ne.textContent&&se.textContent==null)&&u(Q,""),W?S(_.dynamicChildren,W,Q,P,B,Ba(C,N),F):ee||Z(_,C,Q,null,P,B,Ba(C,N),F,!1),J>0){if(J&16)k(Q,ne,se,P,N);else if(J&2&&ne.class!==se.class&&s(Q,"class",null,se.class,N),J&4&&s(Q,"style",ne.style,se.style,N),J&8){const me=C.dynamicProps;for(let Ee=0;Ee<me.length;Ee++){const Se=me[Ee],ot=ne[Se],Je=se[Se];(Je!==ot||Se==="value")&&s(Q,Se,ot,Je,N,P)}}J&1&&_.children!==C.children&&u(Q,C.children)}else!ee&&W==null&&k(Q,ne,se,P,N);((ue=se.onVnodeUpdated)||ce)&&Me(()=>{ue&&st(ue,P,C,_),ce&&Qt(C,_,P,"updated")},B)},S=(_,C,P,B,N,F,ee)=>{for(let Q=0;Q<C.length;Q++){const J=_[Q],W=C[Q],ce=J.el&&(J.type===ze||!Lt(J,W)||J.shapeFlag&198)?f(J.el):P;y(J,W,ce,null,B,N,F,ee,!0)}},k=(_,C,P,B,N)=>{if(C!==P){if(C!==Te)for(const F in C)!dr(F)&&!(F in P)&&s(_,F,C[F],null,N,B);for(const F in P){if(dr(F))continue;const ee=P[F],Q=C[F];ee!==Q&&F!=="value"&&s(_,F,Q,ee,N,B)}"value"in P&&s(_,"value",C.value,P.value,N)}},E=(_,C,P,B,N,F,ee,Q,J)=>{const W=C.el=_?_.el:a(""),ce=C.anchor=_?_.anchor:a("");let{patchFlag:ne,dynamicChildren:se,slotScopeIds:ue}=C;ue&&(Q=Q?Q.concat(ue):ue),_==null?(r(W,P,B),r(ce,P,B),I(C.children||[],P,ce,N,F,ee,Q,J)):ne>0&&ne&64&&se&&_.dynamicChildren&&_.dynamicChildren.length===se.length?(S(_.dynamicChildren,se,P,N,F,ee,Q),(C.key!=null||N&&C===N.subTree)&&Yl(_,C,!0)):Z(_,C,P,ce,N,F,ee,Q,J)},x=(_,C,P,B,N,F,ee,Q,J)=>{C.slotScopeIds=Q,_==null?C.shapeFlag&512?N.ctx.activate(C,P,B,ee,J):z(C,P,B,N,F,ee,J):X(_,C,J)},z=(_,C,P,B,N,F,ee)=>{const Q=_.component=T_(_,B,N);if(bs(_)&&(Q.ctx.renderer=ie),R_(Q,!1,ee),Q.asyncDep){if(N&&N.registerDep(Q,q,ee),!_.el){const J=Q.subTree=Ie(He);R(null,J,C,P),_.placeholder=J.el}}else q(Q,_,C,P,N,F,ee)},X=(_,C,P)=>{const B=C.component=_.component;if(s_(_,C,P))if(B.asyncDep&&!B.asyncResolved){oe(B,C,P);return}else B.next=C,B.update();else C.el=_.el,B.vnode=C},q=(_,C,P,B,N,F,ee)=>{const Q=()=>
vendor: 4,221 bytes, line 4
4{if(_.isMounted){let{next:ne,bu:se,u:ue,parent:me,vnode:Ee}=_;{const pt=Wp(_);if(pt){ne&&(ne.el=Ee.el,oe(_,ne,ee)),pt.asyncDep.then(()=>{Me(()=>{_.isUnmounted||W()},N)});return}}let Se=ne,ot;nr(_,!1),ne?(ne.el=Ee.el,oe(_,ne,ee)):ne=Ee,se&&Ko(se),(ot=ne.props&&ne.props.onVnodeBeforeUpdate)&&st(ot,me,ne,Ee),nr(_,!0);const Je=$a(_),It=_.subTree;_.subTree=Je,y(It,Je,f(It.el),U(It),_,N,F),ne.el=Je.el,Se===null&&fa(_,Je.el),ue&&Me(ue,N),(ot=ne.props&&ne.props.onVnodeUpdated)&&Me(()=>st(ot,me,ne,Ee),N)}else{let ne;const{el:se,props:ue}=C,{bm:me,m:Ee,parent:Se,root:ot,type:Je}=_,It=bn(C);if(nr(_,!1),me&&Ko(me),!It&&(ne=ue&&ue.onVnodeBeforeMount)&&st(ne,Se,C),nr(_,!0),se&&Pe){const pt=()=>{_.subTree=$a(_),Pe(se,_.subTree,_,N,null)};It&&Je.__asyncHydrate?Je.__asyncHydrate(se,_,pt):pt()}else{ot.ce&&ot.ce._hasShadowRoot()&&ot.ce._injectChildStyle(Je);const pt=_.subTree=$a(_);y(null,pt,P,B,_,N,F),C.el=pt.el}if(Ee&&Me(Ee,N),!It&&(ne=ue&&ue.onVnodeMounted)){const pt=C;Me(()=>st(ne,Se,pt),N)}(C.shapeFlag&256||Se&&bn(Se.vnode)&&Se.vnode.shapeFlag&256)&&_.a&&Me(_.a,N),_.isMounted=!0,C=P=B=null}};_.scope.on();const J=_.effect=new qh(Q);_.scope.off();const W=_.update=J.run.bind(J),ce=_.job=J.runIfDirty.bind(J);ce.i=_,ce.id=_.uid,J.scheduler=()=>$l(ce),nr(_,!0),W()},oe=(_,C,P)=>{C.component=_;const B=_.vnode.props;_.vnode=C,_.next=null,a_(_,C.props,B,P),f_(_,C.children,P),Sn(),Bu(_),Cn()},Z=(_,C,P,B,N,F,ee,Q,J=!1)=>{const W=_&&_.children,ce=_?_.shapeFlag:0,ne=C.children,{patchFlag:se,shapeFlag:ue}=C;if(se>0){if(se&128){Ve(W,ne,P,B,N,F,ee,Q,J);return}else if(se&256){ge(W,ne,P,B,N,F,ee,Q,J);return}}ue&8?(ce&16&&bt(W,N,F),ne!==W&&u(P,ne)):ce&16?ue&16?Ve(W,ne,P,B,N,F,ee,Q,J):bt(W,N,F,!0):(ce&8&&u(P,""),ue&16&&I(ne,P,B,N,F,ee,Q,J))},ge=(_,C,P,B,N,F,ee,Q,J)=>{_=_||Mr,C=C||Mr;const W=_.length,ce=C.length,ne=Math.min(W,ce);let se;for(se=0;se<ne;se++){const ue=C[se]=J?un(C[se]):yt(C[se]);y(_[se],ue,P,null,N,F,ee,Q,J)}W>ce?bt(_,N,F,!0,!1,ne):I(C,P,B,N,F,ee,Q,J,ne)},Ve=(_,C,P,B,N,F,ee,Q,J)=>{let W=0;const ce=C.length;let ne=_.length-1,se=ce-1;for(;W<=ne&&W<=se;){const ue=_[W],me=C[W]=J?un(C[W]):yt(C[W]);if(Lt(ue,me))y(ue,me,P,null,N,F,ee,Q,J);else break;W++}for(;W<=ne&&W<=se;){const ue=_[ne],me=C[se]=J?un(C[se]):yt(C[se]);if(Lt(ue,me))y(ue,me,P,null,N,F,ee,Q,J);else break;ne--,se--}if(W>ne){if(W<=se){const ue=se+1,me=ue<ce?C[ue].el:B;for(;W<=se;)y(null,C[W]=J?un(C[W]):yt(C[W]),P,me,N,F,ee,Q,J),W++}}else if(W>se)for(;W<=ne;)j(_[W],N,F,!0),W++;else{const ue=W,me=W,Ee=new Map;for(W=me;W<=se;W++){const gt=C[W]=J?un(C[W]):yt(C[W]);gt.key!=null&&Ee.set(gt.key,W)}let Se,ot=0;const Je=se-me+1;let It=!1,pt=0;const So=new Array(Je);for(W=0;W<Je;W++)So[W]=0;for(W=ue;W<=ne;W++){const gt=_[W];if(ot>=Je){j(gt,N,F,!0);continue}let qt;if(gt.key!=null)qt=Ee.get(gt.key);else for(Se=me;Se<=se;Se++)if(So[Se-me]===0&&Lt(gt,C[Se])){qt=Se;break}qt===void 0?j(gt,N,F,!0):(So[qt-me]=W+1,qt>=pt?pt=qt:It=!0,y(gt,C[qt],P,null,N,F,ee,Q,J),ot++)}const Iu=It?p_(So):Mr;for(Se=Iu.length-1,W=Je-1;W>=0;W--){const gt=me+W,qt=C[gt],Du=C[gt+1],Lu=gt+1<ce?Du.el||Kp(Du):B;So[W]===0?y(null,qt,P,Lu,N,F,ee,Q,J):It&&(Se<0||W!==Iu[Se]?K(qt,P,Lu,2):Se--)}}},K=(_,C,P,B,N=null)=>{const{el:F,type:ee,transition:Q,children:J,shapeFlag:W}=_;if(W&6){K(_.component.subTree,C,P,B);return}if(W&128){_.suspense.move(C,P,B);return}if(W&64){ee.move(_,C,P,ie);return}if(ee===ze){r(F,C,P);for(let ne=0;ne<J.length;ne++)K(J[ne],C,P,B);r(_.anchor,C,P);return}if(ee===Yo){h(_,C,P);return}if(B!==2&&W&1&&Q)if(B===0)Q.beforeEnter(F),r(F,C,P),Me(()=>Q.enter(F),N);else{const{leave:ne,delayLeave:se,afterLeave:ue}=Q,me=()=>{_.ctx.isUnmounted?o(F):r(F,C,P)},Ee=()=>{F._isLeaving&&F[Xt](!0),ne(F,()=>{me(),ue&&ue()})};se?se(F,me,Ee):Ee()}else r(F,C,P)},j=(_,C,P,B=!1,N=!1)=>{const{type:F,props:ee,ref:Q,children:J,dynamicChildren:W,shapeFlag:ce,patchFlag:ne,dirs:se,cacheIndex:ue}=_;if(ne===-2&&(N=!1),Q!=null&&(Sn(),Hr(Q,null,P,_,!0),Cn()),ue!=null&&(C.renderCache[ue]=void 0),ce&256){C.ctx.deactivate(_);return}const me=ce&1&&se,Ee=!bn(_);let Se;if(Ee&&(Se=ee&&ee.onVnodeBeforeUnmount)&&st(Se,C,_),ce&6)tr(_.component,P,B);else{if(ce&128){_.suspense.unmount(P,B);return}me&&Qt(_,null,C,"beforeUnmount"),ce&64?_.type.remove(_,C,P,ie,B):W&&!W.hasOnce&&(F!==ze||ne>
vendor: 5,748 bytes, line 4
40&&ne&64)?bt(W,C,P,!1,!0):(F===ze&&ne&384||!N&&ce&16)&&bt(J,C,P),B&&G(_)}(Ee&&(Se=ee&&ee.onVnodeUnmounted)||me)&&Me(()=>{Se&&st(Se,C,_),me&&Qt(_,null,C,"unmounted")},P)},G=_=>{const{type:C,el:P,anchor:B,transition:N}=_;if(C===ze){Y(P,B);return}if(C===Yo){g(_);return}const F=()=>{o(P),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(_.shapeFlag&1&&N&&!N.persisted){const{leave:ee,delayLeave:Q}=N,J=()=>ee(P,F);Q?Q(_.el,F,J):J()}else F()},Y=(_,C)=>{let P;for(;_!==C;)P=p(_),o(_),_=P;o(C)},tr=(_,C,P)=>{const{bum:B,scope:N,job:F,subTree:ee,um:Q,m:J,a:W}=_;ki(J),ki(W),B&&Ko(B),N.stop(),F&&(F.flags|=8,j(ee,_,C,P)),Q&&Me(Q,C),Me(()=>{_.isUnmounted=!0},C)},bt=(_,C,P,B=!1,N=!1,F=0)=>{for(let ee=F;ee<_.length;ee++)j(_[ee],C,P,B,N)},U=_=>{if(_.shapeFlag&6)return U(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const C=p(_.anchor||_.el),P=C&&C[pp];return P?p(P):C};let re=!1;const te=(_,C,P)=>{let B;_==null?C._vnode&&(j(C._vnode,null,null,!0),B=C._vnode.component):y(C._vnode||null,_,C,null,null,null,P),C._vnode=_,re||(re=!0,Bu(B),Ti(),re=!1)},ie={p:y,um:j,m:K,r:G,mt:z,mc:I,pc:Z,pbc:S,n:U,o:e};let de,Pe;return t&&([de,Pe]=t(ie)),{render:te,hydrate:de,createApp:Xw(te,de)}}function Ba({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Fp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yl(e,t,n=!1){const r=e.children,o=t.children;if(ae(r)&&ae(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=un(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Yl(i,a)),a.type===mr&&(a.patchFlag===-1&&(a=o[s]=un(a)),a.el=i.el),a.type===He&&!a.el&&(a.el=i.el)}}function p_(e){const t=e.slice(),n=[0];let r,o,s,i,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<l?s=a+1:i=a;l<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Wp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wp(t)}function ki(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Kp(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Kp(t.subTree):null}const xi=e=>e.__isSuspense;let Nc=0;const g_={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){if(e==null)m_(t,n,r,o,s,i,a,c,l);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}y_(e,t,n,r,o,i,a,c,l)}},hydrate:w_,normalize:__},jp=g_;function as(e,t){const n=e.props&&e.props[t];le(n)&&n()}function m_(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),p=e.suspense=Vp(e,o,r,t,f,n,s,i,a,c);l(null,p.pendingBranch=e.ssContent,f,null,r,p,s,i),p.deps>0?(as(e,"onPending"),as(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),Fr(p,e.ssFallback)):p.resolve(!1,!0)}function y_(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:b,isHydrating:R}=f;if(y)f.pendingBranch=p,Lt(y,p)?(c(y,p,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():b&&(R||(c(m,d,n,r,o,null,s,i,a),Fr(f,d)))):(f.pendingId=Nc++,R?(f.isHydrating=!1,f.activeBranch=y):l(y,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(c(null,p,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(m,d,n,r,o,null,s,i,a),Fr(f,d))):m&&Lt(m,p)?(c(m,p,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(m&&Lt(m,p))c(m,p,n,r,o,f,s,i,a),Fr(f,p);else if(as(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=Nc++,c(null,p,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:h}=f;w>0?setTimeout(()=>{f.pendingId===h&&f.fallback(d)},w):w===0&&f.fallback(d)}}function Vp(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:p,um:d,n:m,o:{parentNode:y,remove:b}}=l;let R;const w=v_(e);w&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const h=e.props?Hh(e.props.timeout):void 0,g=s,v={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Nc++,timeout:typeof h=="number"?h:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(T=!1,A=!1){const{vnode:I,activeBranch:O,pendingBranch:S,pendingId:k,effects:E,parentComponent:x,container:z,isInFallback:X}=v;let q=!1;v.isHydrating?v.isHydrating=!1:T||(q=O&&S.transition&&S.transition.mode==="out-in",q&&(O.transition.afterLeave=()=>{k===v.pendingId&&(p(S,z,s===g?m(O):s,0),Ac(E),X&&I.ssFallback&&(I.ssFallback.el=null))}),O&&(y(O.el)===z&&(s=m(O)),d(O,x,v,!0),!q&&X&&I.ssFallback&&Me(()=>I.ssFallback.el=null,v)),q||p(S,z,s,0)),Fr(v,S),v.pendingBranch=null,v.isInFallback=!1;let oe=v.parent,Z=!1;for(;oe;){if(oe.pendingBranch){oe.effects.push(...E),Z=!0;break}oe=oe.parent}!Z&&!q&&Ac(E),v.effects=[],w&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),as(I,"onResolve")},fallback(T){if(!v.pendingBranch)return;const{vnode:A,activeBranch:I,parentComponent:O,container:S,namespace:k}=v;as(A,"onFallback");const E=m(I),x=()=>{v.isInFallback&&(f(null,T,S,E,O,null,k,a,c),Fr(v,T))},z=T.transition&&T.transition.mode==="out-in";z&&(I.transition.afterLeave=x),v.isInFallback=!0,d(I,O,null,!0),z||x()},move(T,A,I){v.activeBranch&&p(v.activeBranch,T,A,I),v.container=T},next(){return v.activeBranch&&m(v.activeBranch)},registerDep(T,A,I){const O=!!v.pendingBranch;O&&v.deps++;const S=T.vnode.el;
vendor: 4,655 bytes, line 4
4T.asyncDep.catch(k=>{go(k,T,0)}).then(k=>{if(T.isUnmounted||v.isUnmounted||v.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:E}=T;Mc(T,k),S&&(E.el=S);const x=!S&&T.subTree.el;A(T,E,y(S||T.subTree.el),S?null:m(T.subTree),v,i,I),x&&(E.placeholder=null,b(x)),fa(T,E.el),O&&--v.deps===0&&v.resolve()})},unmount(T,A){v.isUnmounted=!0,v.activeBranch&&d(v.activeBranch,n,T,A),v.pendingBranch&&d(v.pendingBranch,n,T,A)}};return v}function w_(e,t,n,r,o,s,i,a,c){const l=t.suspense=Vp(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function __(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=rf(r?n.default:n),e.ssFallback=r?rf(n.fallback):Ie(He)}function rf(e){let t;if(le(e)){const n=to&&e._c;n&&(e._d=!1,$e()),e=e(),n&&(e._d=!0,t=lt,zp())}return ae(e)&&(e=n_(e)),e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function qp(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Ac(e)}function Fr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,fa(r,o))}function v_(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ze=Symbol.for("v-fgt"),mr=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),Yo=Symbol.for("v-stc"),Jo=[];let lt=null;function $e(e=!1){Jo.push(lt=e?null:[])}function zp(){Jo.pop(),lt=Jo[Jo.length-1]||null}let to=1;function Pi(e,t=!1){to+=e,e<0&<&&t&&(lt.hasOnce=!0)}function Gp(e){return e.dynamicChildren=to>0?lt||Mr:null,zp(),to>0&<&<.push(e),e}function qn(e,t,n,r,o,s){return Gp(Tn(e,t,n,r,o,s,!0))}function Rt(e,t,n,r,o){return Gp(Ie(e,t,n,r,o,!0))}function Qn(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const Yp=({key:e})=>e??null,ti=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Le(e)||le(e)?{i:Ye,r:e,k:t,f:!!n}:e:null);function Tn(e,t=null,n=null,r=0,o=null,s=e===ze?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yp(t),ref:t&&ti(t),scopeId:dp,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ye};return a?(Ql(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=ke(n)?8:16),to>0&&!i&<&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&<.push(c),c}const Ie=b_;function b_(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Rp)&&(e=He),Qn(e)){const a=Rn(e,t,!0);return n&&Ql(a,n),to>0&&!s&<&&(a.shapeFlag&6?lt[lt.indexOf(e)]=a:lt.push(a)),a.patchFlag=-2,a}if(k_(e)&&(e=e.__vccOpts),t){t=Jp(t);let{class:a,style:c}=t;a&&!ke(a)&&(t.class=_s(a)),_e(c)&&(aa(c)&&!ae(c)&&(c=Ke({},c)),t.style=sa(c))}const i=ke(e)?1:xi(e)?128:gp(e)?64:_e(e)?4:le(e)?2:0;return Tn(e,t,n,r,o,i,s,!0)}function Jp(e){return e?aa(e)||Lp(e)?Ke({},e):e:null}function Rn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:c}=e,l=t?Xp(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Yp(l),ref:t&&t.ref?n&&s?ae(s)?s.concat(ti(t)):[s,ti(t)]:ti(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rn(e.ssContent),ssFallback:e.ssFallback&&Rn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&eo(u,c.clone(u)),u}function Jl(e=" ",t=0){return Ie(mr,null,e,t)}function Wx(e,t){const n=Ie(Yo,null,e);return n.staticCount=t,n}function Qp(e="",t=!1){return t?($e(),Rt(He,null,e)):Ie(He,null,e)}function yt(e){return e==null||typeof e=="boolean"?Ie(He):ae(e)?Ie(ze,null,e.slice()):Qn(e)?un(e):Ie(mr,null,String(e))}function un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rn(e)}function Ql(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ql(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Lp(t)?t._ctx=Ye:o===3&&Ye&&(Ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Ye},n=32):(t=String(t),r&64?(n=16,t=[Jl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xp(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];
vendor: 3,850 bytes, line 4
4for(const o in r)if(o==="class")t.class!==r.class&&(t.class=_s([t.class,r.class]));else if(o==="style")t.style=sa([t.style,r.style]);else if(ws(o)){const s=t[o],i=r[o];i&&s!==i&&!(ae(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function st(e,t,n,r=null){Ft(e,t,7,[n,r])}const S_=xp();let C_=0;function T_(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||S_,s={uid:C_++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new jh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Up(r,o),emitsOptions:Pp(r,o),emit:null,emitted:null,propsDefaults:Te,inheritAttrs:r.inheritAttrs,ctx:Te,data:Te,props:Te,attrs:Te,slots:Te,refs:Te,setupState:Te,setupContext: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=e_.bind(null,s),e.ce&&e.ce(s),s}let Ge=null;const Pt=()=>Ge||Ye;let Oi,Uc;{const e=oa(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Oi=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),Uc=t("__VUE_SSR_SETTERS__",n=>no=n)}const Cs=e=>{const t=Ge;return Oi(e),e.scope.on(),()=>{e.scope.off(),Oi(t)}},of=()=>{Ge&&Ge.scope.off(),Oi(null)};function Zp(e){return e.vnode.shapeFlag&4}let no=!1;function R_(e,t=!1,n=!1){t&&Uc(t);const{props:r,children:o}=e.vnode,s=Zp(e);i_(e,r,s,t),u_(e,o,n||t);const i=s?E_(e,t):void 0;return t&&Uc(!1),i}function E_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jw);const{setup:r}=n;if(r){Sn();const o=e.setupContext=r.length>1?tg(e):null,s=Cs(e),i=vs(r,e,0,[e.props,o]),a=Uh(i);if(Cn(),s(),(a||e.sp)&&!bn(e)&&Wl(e),a){if(i.then(of,of),t)return i.then(c=>{Mc(e,c)}).catch(c=>{go(c,e,0)});e.asyncDep=i}else Mc(e,i)}else eg(e)}function Mc(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=ap(t)),eg(e)}function eg(e,t,n){const r=e.type;e.render||(e.render=r.render||en);{const o=Cs(e);Sn();try{qw(e)}finally{Cn(),o()}}}const A_={get(e,t){return Xe(e,"get",""),e[t]}};function tg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,A_),slots:e.slots,emit:e.emit,expose:t}}function da(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ap(cw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Go)return Go[n](e)},has(t,n){return n in t||n in Go}})):e.proxy}function $c(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function k_(e){return le(e)&&"__vccOpts"in e}const Et=(e,t)=>mw(e,t,no);function ut(e,t,n){try{Pi(-1);const r=arguments.length;return r===2?_e(t)&&!ae(t)?Qn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Qn(n)&&(n=[n]),Ie(e,t,n))}finally{Pi(1)}}const x_="3.5.29";let Bc;const sf=typeof window<"u"&&window.trustedTypes;if(sf)try{Bc=sf.createPolicy("vue",{createHTML:e=>e})}catch{}const ng=Bc?e=>Bc.createHTML(e):e=>e,P_="http://www.w3.org/2000/svg",O_="http://www.w3.org/1998/Math/MathML",ln=typeof document<"u"?document:null,af=ln&&ln.createElement("template"),I_={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?ln.createElementNS(P_,e):t==="mathml"?ln.createElementNS(O_,e):n?ln.createElement(e,{is:n}):ln.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ln.createTextNode(e),createComment:e=>ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 8,916 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ln.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{af.innerHTML=ng(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=af.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pn="transition",Ro="animation",cs=Symbol("_vtc"),rg={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},D_=Ke({},yp,rg),L_=e=>(e.displayName="Transition",e.props=D_,e),og=L_((e,{slots:t})=>ut(kw,N_(e),t)),rr=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},cf=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function N_(e){const t={};for(const E in e)E in rg||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,m=U_(o),y=m&&m[0],b=m&&m[1],{onBeforeEnter:R,onEnter:w,onEnterCancelled:h,onLeave:g,onLeaveCancelled:v,onBeforeAppear:T=R,onAppear:A=w,onAppearCancelled:I=h}=t,O=(E,x,z,X)=>{E._enterCancelled=X,or(E,x?u:a),or(E,x?l:i),z&&z()},S=(E,x)=>{E._isLeaving=!1,or(E,f),or(E,d),or(E,p),x&&x()},k=E=>(x,z)=>{const X=E?A:w,q=()=>O(x,E,z);rr(X,[x,q]),lf(()=>{or(x,E?c:s),sn(x,E?u:a),cf(X)||uf(x,r,y,q)})};return Ke(t,{onBeforeEnter(E){rr(R,[E]),sn(E,s),sn(E,i)},onBeforeAppear(E){rr(T,[E]),sn(E,c),sn(E,l)},onEnter:k(!1),onAppear:k(!0),onLeave(E,x){E._isLeaving=!0;const z=()=>S(E,x);sn(E,f),E._enterCancelled?(sn(E,p),hf(E)):(hf(E),sn(E,p)),lf(()=>{E._isLeaving&&(or(E,f),sn(E,d),cf(g)||uf(E,r,b,z))}),rr(g,[E,z])},onEnterCancelled(E){O(E,!1,void 0,!0),rr(h,[E])},onAppearCancelled(E){O(E,!0,void 0,!0),rr(I,[E])},onLeaveCancelled(E){S(E),rr(v,[E])}})}function U_(e){if(e==null)return null;if(_e(e))return[Ha(e.enter),Ha(e.leave)];{const t=Ha(e);return[t,t]}}function Ha(e){return Hh(e)}function sn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[cs]||(e[cs]=new Set)).add(t)}function or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[cs];n&&(n.delete(t),n.size||(e[cs]=void 0))}function lf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let M_=0;function uf(e,t,n,r){const o=e._endId=++M_,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=$_(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,p),s()},p=d=>{d.target===e&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},a+1),e.addEventListener(l,p)}function $_(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Pn}Delay`),s=r(`${Pn}Duration`),i=ff(o,s),a=r(`${Ro}Delay`),c=r(`${Ro}Duration`),l=ff(a,c);let u=null,f=0,p=0;t===Pn?i>0&&(u=Pn,f=i,p=s.length):t===Ro?l>0&&(u=Ro,f=l,p=c.length):(f=Math.max(i,l),u=f>0?i>l?Pn:Ro:null,p=u?u===Pn?s.length:c.length:0);const d=u===Pn&&/\b(?:transform|all)(?:,|$)/.test(r(`${Pn}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function ff(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>df(n)+df(e[r])))}function df(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hf(e){return(e?e.ownerDocument:document).body.offsetHeight}function B_(e,t,n){const r=e[cs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ii=Symbol("_vod"),sg=Symbol("_vsh"),Kx={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ii]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Eo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Eo(e,!0),r.enter(e)):r.leave(e,()=>{Eo(e,!1)}):Eo(e,t))},beforeUnmount(e,{value:t}){Eo(e,t)}};function Eo(e,t){e.style.display=t?e[Ii]:"none",e[sg]=!t}const H_=Symbol(""),F_=/(?:^|;)\s*display\s*:/;function W_(e,t,n){const r=e.style,o=ke(n);let s=!1;if(n&&!o){if(t)if(ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&ni(r,a,"")}else for(const i in t)n[i]==null&&ni(r,i,"");for(const i in n)i==="display"&&(s=!0),ni(r,i,n[i])}else if(o){if(t!==n){const i=r[H_];i&&(n+=";"+i),r.cssText=n,s=F_.test(n)}}else t&&e.removeAttribute("style");Ii in e&&(e[Ii]=s?r.display:"",e[sg]&&(r.display="none"))}const pf=/\s*!important$/;function ni(e,t,n){if(ae(n))n.forEach(r=>ni(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=K_(e,t);pf.test(n)?e.setProperty(Tr(r),n.replace(pf,""),"important"):e[r]=n}}const gf=["Webkit","Moz","ms"],Fa={};function K_(e,t){const n=Fa[t];if(n)return n;let r=kt(t);if(r!=="filter"&&r in e)return Fa[t]=r;r=ra(r);for(let o=0;o<gf.length;o++){const s=gf[o]+r;if(s in e)return Fa[t]=s}return t}const mf="http://www.w3.org/1999/xlink";function yf(e,t,n,r,o,s=Hy(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(mf,t.slice(6,t.length)):e.setAttributeNS(mf,t,n):n==null||s&&!Fh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":$t(n)?String(n):n)}function wf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ng(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Fh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function j_(e,t,n,r){e.addEventListener(t,n,r)}function V_(e,t,n,r){e.removeEventListener(t,n,r)}const _f=Symbol("_vei");function q_(e,t,n,r,o=null){const s=e[_f]||(e[_f]={}),i=s[t];if(r&&i)i.value=r;else{const[a,c]=z_(t);if(r){const l=s[t]=J_(r,o);j_(e,a,l,c)}else i&&(V_(e,a,i,c),s[t]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function z_(e){let t;if(vf.test(e)){t={};let r;for(;r=e.match(vf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Tr(e.slice(2)),t]}let Wa=0;const G_=Promise.resolve(),Y_=()=>Wa||(G_.then(()=>Wa=0),Wa=Date.now());function J_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ft(Q_(r,n.value),t,5,[r])};return n.value=e,n.attached=Y_(),n}function Q_(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const bf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X_=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?B_(e,r,i):t==="style"?W_(e,n,r):ws(t)?kl(t)||q_(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Z_(e,t,r,i))?(wf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&yf(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ke(r))?wf(e,kt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),yf(e,t,r,i))};function Z_(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&bf(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return bf(t)&&ke(n)?!1:t in e}const ev=["ctrl","shift","alt","meta"],tv={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)=>ev.some(n=>e[`${n}Key`]&&!t.includes(n))},jx=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=tv[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},ig=Ke({patchProp:X_},I_);let Qo,Sf=!1;function nv(){return Qo||(Qo=d_(ig))}function rv(){return Qo=Sf?Qo:h_(ig),Sf=!0,Qo}const ag=((...e)=>{const t=nv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=lg(r);if(!o)return;const s=t._component;
4!le(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,cg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t}),ov=((...e)=>{const t=rv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=lg(r);if(o)return n(o,!0,cg(o))},t});function cg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function lg(e){return ke(e)?document.querySelector(e):e}const sv=/"(?:_|\\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*:/,iv=/"(?: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*:/,av=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function cv(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){lv(e);return}return t}function lv(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Di(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!av.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(sv.test(e)||iv.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,cv)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const ug=/#/g,fg=/&/g,dg=/\//g,uv=/=/g,fv=/\?/g,ha=/\+/g,dv=/%5e/gi,hv=/%60/gi,pv=/%7c/gi,gv=/%20/gi,mv=/%2f/gi,yv=/%252f/gi;function hg(e){return encodeURI(""+e).replace(pv,"|")}function Hc(e){return hg(typeof e=="string"?e:JSON.stringify(e)).replace(ha,"%2B").replace(gv,"+").replace(ug,"%23").replace(fg,"%26").replace(hv,"`").replace(dv,"^").replace(dg,"%2F")}function Ka(e){return Hc(e).replace(uv,"%3D")}function pg(e){return hg(e).replace(ug,"%23").replace(fv,"%3F").replace(yv,"%2F").replace(fg,"%26").replace(ha,"%2B")}function Vx(e){return pg(e).replace(dg,"%2F")}function ls(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function wv(e){return ls(e.replace(mv,"%252F"))}function _v(e){return ls(e.replace(ha," "))}function vv(e){return ls(e.replace(ha," "))}function gg(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=_v(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=vv(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function bv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ka(e)}=${Hc(n)}`).join("&"):`${Ka(e)}=${Hc(t)}`:Ka(e)}function Sv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>bv(t,e[t])).filter(Boolean).join("&")}const Cv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Tv=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Rv=/^([/\\]\s*){2,}[^/\\]/,Ev=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Av=/\/$|\/\?|\/#/,kv=/^\.?\//;function yo(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cv.test(e):Tv.test(e)||(t.acceptRelative?Rv.test(e):!1)}function xv(e){return!!e&&Ev.test(e)}function Fc(e="",t){return t?Av.test(e):e.endsWith("/")}function Li(e="",t){if(!t)return(Fc(e)?e.slice(0,-1):e)||"/";if(!Fc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Pv(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Fc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ov(e=""){return e.startsWith("/")}function qx(e=""){return Ov(e)?e:"/"+e}function Iv(e,t){if(yg(t)||yo(e))return e;const n=Li(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return wg(n,e)}function Cf(e,t){if(yg(t))return e;const n=Li(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function mg(e,t){const n=Xl(e),r={...gg(n.search),...t};return n.search=Sv(r),Nv(n)}function yg(e){return!e||e==="/"}function Dv(e){return e&&e!=="/"}function wg(e,...t){let n=e||"";for(const r of t.filter(o=>Dv(o)))if(n){const o=r.replace(kv,"");n=Pv(n)+o}else n=r;return n}function _g(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const i of n)if(!(!i||i==="/")){for(const[a,c]of i.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&yo(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),o++}}let s=r.join("/");return o>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"
4+s):s="../".repeat(-1*o)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Lv(e,t){return ls(Li(e))===ls(Li(t))}const vg=Symbol.for("ufo:protocolRelative");function Xl(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!yo(e,{acceptRelative:!0}))return Tf(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:l,hash:u}=Tf(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:c,search:l,hash:u,[vg]:!r}}function Tf(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Nv(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[vg]?(e.protocol||"")+"//":"")+o+s+t+n+r}class Uv extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Mv(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,a=new Uv(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,l]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[l]}});return a}const $v=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Rf(e="GET"){return $v.has(e.toUpperCase())}function Bv(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.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Hv=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Fv=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Wv(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Fv.test(t)?"json":t==="text/event-stream"?"stream":Hv.has(t)||t.startsWith("text/")?"text":"blob"}function Kv(e,t,n,r){const o=jv(t?.headers??e?.headers,n?.headers,r);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:o}}function jv(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,s);return r}async function Ms(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Vv=new Set([408,409,425,429,500,502,503,504]),qv=new Set([101,204,205,304]);function bg(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Rf(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Vv.has(f))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),s(a.request,{...a.options,retry:u-1})}}const l=Mv(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(c,l={}){const u={request:c,options:Kv(c,l,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Ms(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Iv(u.request,u.options.baseURL)),u.options.query&&(u.request=mg(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Rf(u.options.method))if(Bv(u.options.body)){const d=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),d||u.options.headers.set("content-type","application/json"),u.o
4ptions.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let f;if(!u.options.signal&&u.options.timeout){const d=new r;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,d.abort(m)},u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await Ms(u,u.options.onRequestError),await o(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!qv.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Wv(u.response.headers.get("content-type")||"");switch(d){case"json":{const m=await u.response.text(),y=u.options.parseResponse||Di;u.response._data=y(m);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await Ms(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Ms(u,u.options.onResponseError),await o(u)):u.response},i=async function(c,l){return(await s(c,l))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={},c={})=>bg({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),i}const Ni=(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")})(),zv=Ni.fetch?(...e)=>Ni.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Gv=Ni.Headers,Yv=Ni.AbortController,Jv=bg({fetch:zv,Headers:Gv,AbortController:Yv}),Qv=Jv,Xv=()=>window?.__NUXT__?.config||{},Zl=()=>Xv().app,Zv=()=>Zl().baseURL,eb=()=>Zl().buildAssetsDir,tb=(...e)=>_g(Sg(),eb(),...e),Sg=(...e)=>{const t=Zl(),n=t.cdnURL||t.baseURL;return e.length?_g(n,...e):n};globalThis.__buildAssetsURL=tb,globalThis.__publicAssetsURL=Sg;globalThis.$fetch||(globalThis.$fetch=Qv.create({baseURL:Zv()}));"global"in globalThis||(globalThis.global=globalThis);function Wc(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Wc(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const nb={run:e=>e()},rb=()=>nb,Cg=typeof console.createTask<"u"?console.createTask:rb;function ob(e,t){const n=t.shift(),r=Cg(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function sb(e,t){const n=t.shift(),r=Cg(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ja(e,t){for(const n of[...e])n(t)}let ib=class{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,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} 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 r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Wc(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Wc(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ob,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(sb,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ja(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&ja(this._after,o)}):(this._after&&o&&ja(this._after,o),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 ab(){return new ib}function cb(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>
4{if(o){const i=o.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||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Kc.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Kc.delete(l)}}}}function lb(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=cb({...e,...r})),t[n]}}}const Ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ef="__unctx__",ub=Ui[Ef]||(Ui[Ef]=lb()),fb=(e,t={})=>ub.get(e,t),Af="__unctx_async_handlers__",Kc=Ui[Af]||(Ui[Af]=new Set);function Wr(e){const t=[];for(const o of Kc){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const kf=!1,db=!1,Gx={prefetch:!1,componentName:"NuxtLink",prefetchOn:{visibility:!0}},hb=null,pb="#__nuxt",Tg="nuxt-app",gb="vite:preloadError";function Rg(e=Tg){return fb(e,{asyncContext:!1})}const mb="__nuxt_plugin";function yb(e){let t=0;const n={_id:e.id||Tg||"nuxt-app",_scope:Vh(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.1"},get vue(){return n.vueApp.version}},payload:gn({...e.ssrContext?.payload||{},data:gn({}),state:Bt({}),once:new Set,_errors:gn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ol()?n._scope.run(()=>xf(n,o)):xf(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:gn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const s in o)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],o[s]);break;default:n.payload[s]=o[s]}}n.hooks=ab(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;$s(n,i,s),$s(n.vueApp.config.globalProperties,i,s)},$s(n.vueApp,"$nuxt",n),$s(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(gb,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=je;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function wb(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function _b(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function vb(e,t){const n=new Set,r=[],o=[];let s,i=0;async function a(c){const l=c.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.has(u))??[];if(l.length>0)r.push([new Set(l),c]);else{const u=_b(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([f,p])=>{f.has(c._name)&&(f.delete(c._name),f.size===0&&(i++,await a(p)))})))}).catch(f=>{if(!c.parallel&&!e.payload.error)throw f;s||=f});c.parallel?o.push(u):await u}}for(const c of t)wb(e,c);for(const c of t)await a(c);if(await Promise.all(o),i)for(let c=0;c<i;c++)await Promise.all(o);if(s)throw e.payload.error||s}function Ot(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[mb]:!0,_name:t})}function xf(e,t,n){const r=()=>t();return Rg(e._id).set(e),e.vueApp.runWithContext(r)}function bb(e){let t;return Hl()&&(t=Pt()?.appContext.app.$nuxt),t||=Rg(e).tryUse(),t||null}function je(e){const t=bb(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function xn(e){return je().$config}function $s(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Sb(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r={},o=r.decode||Cb;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 c=e.slice(s,i).trim();if(r?.filter&&!r?.filter(c)){s=a+1;continue}if(n[c]===void 0){let l=e.slice(i+1,a).trim();l.codePointAt(0)===34&&(l=l.slice(1,-1)),n[c]=Tb(l,o)}s=a+1}return n}
4function Cb(e){return e.includes("%")?decodeURIComponent(e):e}function Tb(e,t){try{return t(e)}catch{return e}}function Va(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function jc(e,t,n=".",r){if(!Va(t))return jc(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Va(i)&&Va(o[s])?o[s]=jc(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Rb(e){return(...t)=>t.reduce((n,r)=>jc(n,r,"",e),{})}const Eg=Rb();function Eb(e,t){try{return t in e}catch{return!1}}class Pf extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Vc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ag(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Ab(e){if(typeof e=="string")return new Pf(e);if(kb(e))return e;const t=new Pf(e.message??e.statusMessage??"",{cause:e.cause||e});if(Eb(e,"stack"))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=Vc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Vc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ag(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 kb(e){return e?.constructor?.__h3_error__===!0}function xb(e){const t={};for(const n in e.node.req.headers){const r=e.node.req.headers[n];t[n]=Array.isArray(r)?r.filter(Boolean).join(", "):r}return t}function yr(e,t){return xb(e)[t.toLowerCase()]}function Pb(e,t={}){if(t.xForwardedHost){const r=(e.node.req.headers["x-forwarded-host"]||"").split(",").shift()?.trim();if(r)return r}return e.node.req.headers.host||"localhost"}function Ob(e,t={}){return t.xForwardedProto!==!1&&e.node.req.headers["x-forwarded-proto"]==="https"||e.node.req.connection?.encrypted?"https":"http"}function Ib(e,t={}){const n=Pb(e,t),r=Ob(e,t),o=(e.node.req.originalUrl||e.path).replace(/^[/\\]+/g,"/");return new URL(o,`${r}://${n}`)}const Db=/[^\u0009\u0020-\u007E]/g;function Ag(e=""){return e.replace(Db,"")}function Vc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function Lb(e){return Sb(e.node.req.headers.cookie||"")}function Nb(e,t){return Lb(e)[t]}const Ub=Symbol("layout-meta"),pa=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const xt=()=>je()?.$router,Mb=()=>Hl()?ft(pa,je()._route):je()._route;const $b=()=>{try{if(je()._processingMiddleware)return!0}catch{return!1}return!1},Yx=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Bb(e):xt().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:u={}}=t.open,f=[];for(const[p,d]of Object.entries(u))d!==void 0&&f.push(`${p.toLowerCase()}=${d}`);return open(n,l,f.join(", ")),Promise.resolve()}const r=yo(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&xv(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=$b();if(!o&&s){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:f}=Xl(e);return{path:l,...u&&{query:gg(u)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=xt(),a=je();if(o)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}
4):!1:Promise.resolve();const c=typeof e=="string"?Hb(e):e;return t?.replace?i.replace(c):i.push(c)};function Bb(e){return mg(e.path||"",e.query||{})+(e.hash||"")}function Hb(e){const t=Xl(e);return pg(wv(t.pathname))+t.search+t.hash}const kg="__nuxt_error",ga=()=>cp(je().payload,"error"),lr=e=>{const t=wr(e);try{const n=ga();je().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Fb=async(e={})=>{const t=je(),n=ga();t.callHook("app:error:cleared",e),e.redirect&&await xt().replace(e.redirect),n.value=hb},xg=e=>!!e&&typeof e=="object"&&kg in e,wr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Ab(e);return Object.defineProperty(t,kg,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function Wb(e){const t=jb(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const Kb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function jb(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=Kb.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Vb=-1,qb=-2,zb=-3,Gb=-4,Yb=-5,Jb=-6,Qb=-7;function Xb(e,t){return Zb(JSON.parse(e),t)}function Zb(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let o=null;function s(i,a=!1){if(i===Vb)return;if(i===zb)return NaN;if(i===Gb)return 1/0;if(i===Yb)return-1/0;if(i===Jb)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const c=n[i];if(!c||typeof c!="object")r[i]=c;else if(Array.isArray(c))if(typeof c[0]=="string"){const l=c[0],u=t&&Object.hasOwn(t,l)?t[l]:void 0;if(u){let f=c[1];if(typeof f!="number"&&(f=n.push(c[1])-1),o??=new Set,o.has(f))throw new Error("Invalid circular reference");return o.add(f),r[i]=u(s(f)),o.delete(f),r[i]}switch(l){case"Date":r[i]=new Date(c[1]);break;case"Set":const f=new Set;r[i]=f;for(let m=1;m<c.length;m+=1)f.add(s(c[m]));break;case"Map":const p=new Map;r[i]=p;for(let m=1;m<c.length;m+=2)p.set(s(c[m]),s(c[m+1]));break;case"RegExp":r[i]=new RegExp(c[1],c[2]);break;case"Object":r[i]=Object(c[1]);break;case"BigInt":r[i]=BigInt(c[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let m=1;m<c.length;m+=2)d[c[m]]=s(c[m+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[c[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const m=globalThis[l],y=s(c[1]),b=new m(y);r[i]=c[2]!==void 0?b.subarray(c[2],c[3]):b;break}case"ArrayBuffer":{const m=c[1];if(typeof m!="string")throw new Error("Invalid ArrayBuffer encoding");const y=Wb(m);r[i]=y;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const m=l.slice(9);r[i]=Temporal[m].from(c[1]);break}case"URL":{const m=new URL(c[1]);r[i]=m;break}case"URLSearchParams":{const m=new URLSearchParams(c[1]);r[i]=m;break}default:throw new Error(`Unknown type ${l}`)}}else if(c[0]===Qb){const l=c[1],u=new Array(l);r[i]=u;for(let f=2;f<c.length;f+=2){const p=c[f];u[p]=s(c[f+1])}}else{const l=new Array(c.length);r[i]=l;for(let u=0;u<c.length;u+=1){const f=c[u];f!==qb&&(l[u]=s(f))}}else{const l={};r[i]=l;for(const u of Object.keys(c)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=c[u];l[u]=s(f)}}return r[i]}return s(0)}const eS=new Set(["link","style","script","noscript"]),tS=new Set(["title","titleTemplate","script","style","noscript"]),Of=new Set(["base","meta","link","style","script","noscript"]),nS=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),rS=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),oS=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),sS=new Set(["templateParams","htmlAttrs","bodyAttrs"]),iS=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function qc(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?qc(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Pg=(()=>
4{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Og(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const s=r?r.run(()=>e[o](...t)):e[o](...t);if(s instanceof Promise)return s.then(()=>Og(e,t,o+1,r))}catch(s){return Promise.reject(s)}}function aS(e,t,n){if(e.length>0)return Og(e,t,0,Pg(n))}function cS(e,t,n){if(e.length>0){const r=Pg(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function qa(e,t){for(const n of[...e])n(t)}var lS=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let s=o.message;s||(s=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=qc(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=qc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(aS,e,t)}callHookParallel(e,...t){return this.callHookWith(cS,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&qa(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&qa(this._after,r)}):(this._after&&r&&qa(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function uS(){return new lS}const fS=["name","property","http-equiv"],dS=new Set(["viewport","description","keywords","robots"]);function Ig(e){const t=e.split(":");return t.length?iS.has(t[1]):!1}function zc(e){const{props:t,tag:n}=e;if(rS.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of fS)if(t[r]!==void 0){const o=t[r],s=o&&typeof o=="string"&&o.includes(":"),i=o&&dS.has(o),c=!(s||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(tS.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Dg(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Mi(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(s=>Mi(s,t));if(o?.constructor===Object){const s={};for(const i of Object.keys(o))s[i]=Mi(o[i],t,i);return s}return o}function hS(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const s=String(o).trim();if(s)if(e==="style"){const[i,...a]=s.split(":").map(c=>c?c.trim():"");i&&a.length&&n.set(i,a.join(":"))}
4else s.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(o).trim(),String(s)):r(o))}),n}function Lg(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=hS(n,r);return}if(oS.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),s=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";o==="true"||o===""?e.props[n]=s||i?o:!0:!r&&s&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function pS(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Lg({tag:e,props:{}},n);return r.key&&eS.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function gS(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,s)=>{for(let i=0;i<t.length;i++)s=t[i](o,s);return s};e=n(void 0,e);const r=[];return e=Mi(e,n),Object.entries(e||{}).forEach(([o,s])=>{if(s!==void 0)for(const i of Array.isArray(s)?s:[s])r.push(pS(o,i))}),r.flat()}const Gc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,If={base:-10,title:10},mS={critical:-8,high:-1,low:2},Df={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},yS=/@import/,Ao=e=>e===""||e===!0;function wS(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=mS[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Df;if(t.tag in If)n=If[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=Df.meta[s])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);Ao(t.props.async)?n=o.script.async:t.props.src&&!Ao(t.props.defer)&&!Ao(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=o.script.sync:(Ao(t.props.defer)&&t.props.src&&!Ao(t.props.async)||s==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&yS.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Lf(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function _S(e={}){const t=uS();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,s=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Lf(i,a),push(a,c){const l={...c||{}};delete l.head;const u=l._index??i._entryCount++,f={_i:u,input:a,options:l},p={_poll(d=!1){i.dirty=!0,!d&&s.add(u),t.callHook("entries:updated",i)},dispose(){r.delete(u)&&i.invalidate()},patch(d){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(f.input=d,r.set(u,f),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);s.size;){const p=s.values().next().value;s.delete(p);const d=r.get(p);if(d){const m={tags:gS(d.input,e.propResolvers||[]).map(y=>Object.assign(y,d.options)),entry:d};await t.callHook("entries:normalize",m),d._tags=m.tags.map((y,b)=>(y._w=wS(i,y),y._p=(d._i<<10)+b,y._d=zc(y),y._d||(y._h=Dg(y)),y))}}let c=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Gc).reduce((p,d)=>{const m=d._d||d._h;if(!p.has(m))return p.set(m,d);const y=p.get(m);
4if((d?.tagDuplicateStrategy||(sS.has(d.tag)?"merge":null)||(d.key&&d.key===y.key?"merge":null))==="merge"){const R={...y.props};Object.entries(d.props).forEach(([w,h])=>R[w]=w==="style"?new Map([...y.props.style||new Map,...h]):w==="class"?new Set([...y.props.class||new Set,...h]):h),p.set(m,{...d,props:R})}else d._p>>10===y._p>>10&&d.tag==="meta"&&Ig(m)?(p.set(m,Object.assign([...Array.isArray(y)?y:[y],d],d)),c=!0):(d._w===y._w?d._p>y._p:d?._w<y?._w)&&p.set(m,d);return p},a.tagMap);const l=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(i._title=l?.textContent,u){const p=u?.textContent;if(i._titleTemplate=p,p){let d=typeof p=="function"?p(l?.textContent):p;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",l?.textContent||"")),l?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...l,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(Gc)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const p of a.tags){const{innerHTML:d,tag:m,props:y}=p;if(nS.has(m)&&!(Object.keys(y).length===0&&!p.innerHTML&&!p.textContent)&&!(m==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(m==="script"&&d){if(String(y.type).endsWith("json")){const b=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=b.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));p._d=zc(p)}f.push(p)}}return f},invalidate(){for(const a of r.values())s.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Lf(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const za="%separator";function vS(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=e[t.substring(0,o)]?.[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Bs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const s=o.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const i=e.includes(za);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===za||!s.includes(a))return a;const c=vS(t,a.slice(1),r);return c!==void 0?c:a}).trim(),i&&(e=e.split(za).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const Nf=e=>e.includes(":key")?e:e.split(":").join(":key:"),bS={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const o=String(r);if(o.startsWith("before:")){const s=Nf(o.slice(7)),i=e.tagMap.get(s);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(o.startsWith("after:")){const s=Nf(o.slice(6)),i=e.tagMap.get(s);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Gc))}}},SS={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Yc(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Yc(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await Yc(e[r]);return n}return e}const CS={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Yc(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},TS={meta:"content",link:"href",htmlAttrs:"lang"},RS=["innerHTML","textContent"],ES=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},o=r.separator||"|";delete r.separator,r.pageTitle=Bs(r.pageTitle||e._title||"",r,o);for(const s of n){if(s.processTemplateParams===!1)continue;const i=TS[s.tag];if(i&&typeof s.props[i]=="string")s.props[i]=Bs(s.props[i],r,o);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const a of RS)typeof s[a]=="string"&&(s[a]=Bs(s[a],r,o,s.tag==="script"&&s.props.type.endsWith("json")))}e._templateParams=r,e._separator=o},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Bs(n.textContent,e._templateParams,e._separator))}}}),AS=(e,t)=>Le(t)?uw(t):t,Ng="usehead";function kS(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ng,e)}}.install}function xS(){if(Hl()){const e=ft(Ng);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Jx(e,t={}){const n=t.head||xS();return n.ssr?n.push(e||{},t):PS(n,e,t)}function PS(e,t,n={}){const r=vt(!1);let o;return Cw(()=>{const i=r.value?{}:Mi(t,AS);o?o.patch(i):o=e.push(i,n)}),Pt()&&(mo(()=>{o.dispose()}),jl(()=>{r.value=!0}),Kl(()=>{r.value=!1})),o}const OS=(()=>{const e={prerender:!1};return(t,n)=>{let r=[];
4n.charCodeAt(n.length-1)===47&&(n=n.slice(0,-1)||"/");let o=n.split("/");return o.length-1,r.unshift({data:e,params:{_:o.slice(1).join("/")}}),r}})(),IS=e=>Eg({},...OS("",e).map(t=>t.data).reverse()),DS=IS;function Ug(e){const t=typeof e=="string"?e:e.path;try{return DS(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Uf(e,t={}){return null}async function LS(e){return null}let sr=null;async function NS(){if(sr)return sr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await US(e.textContent||""),n=e.dataset.src?await LS(e.dataset.src):void 0;return sr={...t,...n,...window.__NUXT__},sr.config?.public&&(sr.config.public=Bt(sr.config.public)),sr}async function US(e){return await Xb(e,je()._payloadRevivers)}function MS(e,t){je()._payloadRevivers[e]=t}const $S=[["NuxtError",e=>wr(e)],["EmptyShallowRef",e=>Zr(e==="_"?void 0:e==="0n"?BigInt(0):Di(e))],["EmptyRef",e=>vt(e==="_"?void 0:e==="0n"?BigInt(0):Di(e))],["ShallowRef",e=>Zr(e)],["ShallowReactive",e=>gn(e)],["Ref",e=>vt(e)],["Reactive",e=>Bt(e)]],BS=Ot({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of $S)MS(r,o);Object.assign(e.payload,([t,n]=Wr(()=>e.runWithContext(NS)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function eu(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const s=new Map,i=new Promise(d=>{e.resolveTags().then(m=>{d(m.map(y=>{const b=s.get(y._d)||0,R={tag:y,id:(b?`${y._d}:${b}`:y._d)||y._h,shouldRender:!0};return y._d&&Ig(y._d)&&s.set(y._d,b+1),R}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const m=n[d]?.children;for(const y of m){const b=y.tagName.toLowerCase();if(!Of.has(b))continue;const R=Lg({tag:b,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((w,h)=>(w[h]=y.getAttribute(h),w),{})||{}});if(R.key=y.getAttribute("data-hid")||void 0,R._d=zc(R)||Dg(R),a.elMap.has(R._d)){let w=1,h=R._d;for(;a.elMap.has(h);)h=`${R._d}:${w++}`;a.elMap.set(h,y)}else a.elMap.set(R._d,y)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(d,m,y){const b=`${d}:${m}`;a.sideEffects[b]=y,delete a.pendingSideEffects[b]}function l({id:d,$el:m,tag:y}){const b=y.tag.endsWith("Attrs");a.elMap.set(d,m),b||(y.textContent&&y.textContent!==m.textContent&&(m.textContent=y.textContent),y.innerHTML&&y.innerHTML!==m.innerHTML&&(m.innerHTML=y.innerHTML),c(d,"el",()=>{m?.remove(),a.elMap.delete(d)}));for(const R in y.props){if(!Object.prototype.hasOwnProperty.call(y.props,R))continue;const w=y.props[R];if(R.startsWith("on")&&typeof w=="function"){const g=m?.dataset;if(g&&g[`${R}fired`]){const v=R.slice(0,-5);w.call(m,new Event(v.substring(2)))}m.getAttribute(`data-${R}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:m).addEventListener(R.substring(2),w.bind(m)),m.setAttribute(`data-${R}`,""));continue}const h=`attr:${R}`;if(R==="class"){if(!w)continue;for(const g of w)b&&c(d,`${h}:${g}`,()=>m.classList.remove(g)),!m.classList.contains(g)&&m.classList.add(g)}else if(R==="style"){if(!w)continue;for(const[g,v]of w)c(d,`${h}:${g}`,()=>{m.style.removeProperty(g)}),m.style.setProperty(g,v)}else w!==!1&&w!==null&&(m.getAttribute(R)!==w&&m.setAttribute(R,w===!0?"":String(w)),b&&c(d,h,()=>m.removeAttribute(R)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const d of p){const{tag:m,shouldRender:y,id:b}=d;if(y){if(m.tag==="title"){n.title=m.textContent,c("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(b),d.$el?l(d):Of.has(m.tag)&&u.push(d)}}for(const d of u){const m=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function HS(e={}){const t=e.domOptions?.render||eu;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return _S({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function FS(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function WS(e={}){const t=HS({domOptions:{render:FS(()=>eu(t),n=>setTimeout(n,0))},...e});return t.install=kS(t),t}const KS={disableDefaults:!0,disableCapoSorting:!1,plugins:[SS,CS,ES,bS]},jS=Ot({name:"nuxt:head",enforce:"pre",setup(e){const t=WS(KS);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await eu(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const Nr=typeof document<"u";function Mg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 25,774 bytes, line 4
4function VS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Mg(e.default)}const ve=Object.assign;function Ga(e,t){const n={};for(const r in t){const o=t[r];n[r]=Wt(o)?o.map(e):e(o)}return n}const Xo=()=>{},Wt=Array.isArray;function Mf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const $g=/#/g,qS=/&/g,zS=/\//g,GS=/=/g,YS=/\?/g,Bg=/\+/g,JS=/%5B/g,QS=/%5D/g,Hg=/%5E/g,XS=/%60/g,Fg=/%7B/g,ZS=/%7C/g,Wg=/%7D/g,eC=/%20/g;function tu(e){return e==null?"":encodeURI(""+e).replace(ZS,"|").replace(JS,"[").replace(QS,"]")}function tC(e){return tu(e).replace(Fg,"{").replace(Wg,"}").replace(Hg,"^")}function Jc(e){return tu(e).replace(Bg,"%2B").replace(eC,"+").replace($g,"%23").replace(qS,"%26").replace(XS,"`").replace(Fg,"{").replace(Wg,"}").replace(Hg,"^")}function nC(e){return Jc(e).replace(GS,"%3D")}function rC(e){return tu(e).replace($g,"%23").replace(YS,"%3F")}function oC(e){return rC(e).replace(zS,"%2F")}function us(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const sC=/\/$/,iC=e=>e.replace(sC,"");function Ya(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=uC(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:us(i)}}function aC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $f(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cC(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ro(t.matched[r],n.matched[o])&&Kg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ro(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Kg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!lC(e[n],t[n]))return!1;return!0}function lC(e,t){return Wt(e)?Bf(e,t):Wt(t)?Bf(t,e):e?.valueOf()===t?.valueOf()}function Bf(e,t){return Wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function uC(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Qc=(function(e){return e.pop="pop",e.push="push",e})({}),Ja=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function fC(e){if(!e)if(Nr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),iC(e)}const dC=/^[^#]+#/;function hC(e,t){return e.replace(dC,"#")+t}function pC(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ma=()=>({left:window.scrollX,top:window.scrollY});function gC(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=pC(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Hf(e,t){return(history.state?history.state.position-t:-1)+e}const Xc=new Map;function mC(e,t){Xc.set(e,t)}function yC(e){const t=Xc.get(e);return Xc.delete(e),t}function wC(e){return typeof e=="string"||e&&typeof e=="object"}function jg(e){return typeof e=="string"||typeof e=="symbol"}let Ne=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Vg=Symbol("");Ne.MATCHER_NOT_FOUND+"",Ne.NAVIGATION_GUARD_REDIRECT+"",Ne.NAVIGATION_ABORTED+"",Ne.NAVIGATION_CANCELLED+"",Ne.NAVIGATION_DUPLICATED+"";function oo(e,t){return ve(new Error,{type:e,[Vg]:!0},t)}function an(e,t){return e instanceof Error&&Vg in e&&(t==null||!!(e.type&t))}const _C=["params","query","hash"];function vC(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of _C)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function bC(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(Bg," "),s=o.indexOf("="),i=us(s<0?o:o.slice(0,s)),a=s<0?null:us(o.slice(s+1));if(i in t){let c=t[i];Wt(c)||(c=t[i]=[c]),c.push(a)}else t[i]=a}return t}function Ff(e){let t="";for(let n in e){const r=e[n];if(n=nC(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Wt(r)?r.map(o=>o&&Jc(o)):[r&&Jc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function SC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Wt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const CC=Symbol(""),Wf=Symbol(""),nu=Symbol(""),qg=Symbol(""),Zc=Symbol("");function ko(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,c)=>{const l=p=>{p===!1?c(oo(Ne.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):wC(p)?c(oo(Ne.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&r.enterCallbacks[o]===i&&typeof p=="function"&&i.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,l));let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(p=>c(p))})}function Qa(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Mg(c)){const l=(c.__vccOpts||c)[t];l&&s.push(Nn(l,n,r,i,a,o))}else{let l=c();s.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=VS(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Nn(p,n,r,i,a,o)()}))}}return s}function TC(e,t){const n=[],r=[],o=[],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(l=>ro(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>ro(l,c))||o.push(c))}return[n,r,o]}let RC=()=>location.protocol+"//"+location.host;function zg(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),$f(a,"")}return $f(n,e)+r+o}function EC(e,t,n,r){let o=[],s=[],i=null;const a=({state:p})=>{const d=zg(e,location),m=n.value,y=t.value;let b=0;if(p){if(n.value=d,t.value=p,i&&i===m){i=null;return}b=y?p.position-y.position:0}else r(d);o.forEach(R=>{R(n.value,m,{delta:b,type:Qc.pop,direction:b?b>0?Ja.forward:Ja.back:Ja.unknown})})};function c(){i=n.value}function l(p){o.push(p);const d=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return s.push(d),d}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ve({},p.state,{scroll:ma()}),"")}}function f(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:l,destroy:f}}function Kf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ma():null}}function AC(e){const{history:t,location:n}=window,r={value:zg(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:RC()+e+c;try{t[u?"replaceState":"pushState"](l,"",p),o.value=l}catch(d){console.error(d),n[u?"replace":"assign"](p)}}function i(c,l){s(c,ve({},t.state,Kf(o.value.back,c,o.value.forward,!0),l,{position:o.value.position}),!0),r.value=c}function a(c,l){const u=ve({},o.value,t.state,{forward:c,scroll:ma()});s(u.current,u,!0),s(c,ve({},Kf(r.value,c,null),{position:u.position+1},l),!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function kC(e){e=fC(e);const t=AC(e),n=EC(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ve({location:"",base:e,go:r,createHref:hC.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let fr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Fe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Fe||{});const xC={type:fr.Static,value:""},PC=/[a-zA-Z0-9_]/;function OC(e){if(!e)return[[]];if(e==="/")return[[xC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${l}": ${d}`)}let n=Fe.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===Fe.Static?s.push({type:fr.Static,value:l}):n===Fe.Param||n===Fe.ParamRegExp||n===Fe.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:fr.Param,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function p(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==Fe.ParamRegExp){r=n,n=Fe.EscapeNext;continue}switch(n){case Fe.Static:c==="/"?(l&&f(),i()):c===":"?(f(),n=Fe.Param):p();break;case Fe.EscapeNext:p(),n=r;break;case Fe.Param:c==="("?n=Fe.ParamRegExp:PC.test(c)?p():(f(),n=Fe.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case Fe.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=Fe.ParamRegExpEnd:u+=c;break;case Fe.ParamRegExpEnd:f(),n=Fe.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Fe.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),f(),i(),o}const jf="[^/]+?",IC={sensitive:!1,strict:!1,start:!0,end:!0};var tt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(tt||{});const DC=/[.+*?^${}()[\]/\\]/g;function LC(e,t){const n=ve({},IC,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[tt.Root];n.strict&&!l.length&&(o+="/");for(let f=0;f<l.length;f++){const p=l[f];let d=tt.Segment+(n.sensitive?tt.BonusCaseSensitive:0);if(p.type===fr.Static)f||(o+="/"),o+=p.value.replace(DC,"\\$&"),d+=tt.Static;else if(p.type===fr.Param){const{value:m,repeatable:y,optional:b,regexp:R}=p;s.push({name:m,repeatable:y,optional:b});const w=R||jf;if(w!==jf){d+=tt.BonusCustomRegExp;try{`${w}`}catch(g){throw new Error(`Invalid custom RegExp for param "${m}" (${w}): `+g.message)}}let h=y?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(h=b&&l.length<2?`(?:/${h})`:"/"+h),b&&(h+="?"),o+=h,d+=tt.Dynamic,b&&(d+=tt.BonusOptional),y&&(d+=tt.BonusRepeatable),w===".*"&&(d+=tt.BonusWildcard)}u.push(d)}r.push(u)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=tt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(l){const u=l.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const d=u[p]||"",m=s[p-1];f[m.name]=d&&m.repeatable?d.split("/"):d}return f}function c(l){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of p)if(d.type===fr.Static)u+=d.value;else if(d.type===fr.Param){const{value:m,repeatable:y,optional:b}=d,R=m in l?l[m]:"";if(Wt(R)&&!y)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const w=Wt(R)?R.join("/"):R;if(!w)if(b)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=w}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:c}}function NC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===tt.Static+tt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function Gg(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=NC(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Vf(r))return 1;if(Vf(o))return-1}return o.length-r.length}function Vf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const UC={strict:!1,end:!0,sensitive:!1};function MC(e,t,n){const r=LC(OC(e.path),n),o=ve(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function $C(e,t){const n=[],r=new Map;t=Mf(UC,t);function o(f){return r.get(f)}function s(f,p,d){const m=!d,y=zf(f);y.aliasOf=d&&d.record;const b=Mf(t,f),R=[y];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const v of g)R.push(zf(ve({},y,{components:d?d.record.components:y.components,path:v,aliasOf:d?d.record:y})))}let w,h;for(const g of R){const{path:v}=g;if(p&&v[0]!=="/"){const T=p.record.path,A=T[T.length-1]==="/"?"":"/";g.path=p.record.path+(v&&A+v)}if(w=MC(g,p,b),d?d.alias.push(w):(h=h||w,h!==w&&h.alias.push(w),m&&f.name&&!Gf(w)&&i(f.name)),Yg(w)&&c(w),y.children){const T=y.children;for(let A=0;A<T.length;A++)s(T[A],w,d&&d.children[A])}d=d||w}return h?()=>{i(h)}:Xo}function i(f){if(jg(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const p=FC(f,n);n.splice(p,0,f),f.record.name&&!Gf(f)&&r.set(f.record.name,f)}function l(f,p){let d,m={},y,b;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw oo(Ne.MATCHER_NOT_FOUND,{location:f});b=d.record.name,m=ve(qf(p.params,d.keys.filter(h=>!h.optional).concat(d.parent?d.parent.keys.filter(h=>h.optional):[]).map(h=>h.name)),f.params&&qf(f.params,d.keys.map(h=>h.name))),y=d.stringify(m)}else if(f.path!=null)y=f.path,d=n.find(h=>h.re.test(y)),d&&(m=d.parse(y),b=d.record.name);else{if(d=p.name?r.get(p.name):n.find(h=>h.re.test(p.path)),!d)throw oo(Ne.MATCHER_NOT_FOUND,{location:f,currentLocation:p});b=d.record.name,m=ve({},p.params,f.params),y=d.stringify(m)}const R=[];let w=d;for(;w;)R.unshift(w.record),w=w.parent;return{name:b,path:y,params:m,matched:R,meta:HC(R)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:l,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function qf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:BC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function BC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Gf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function HC(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function FC(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Gg(e,t[s])<0?r=s:n=s+1}const o=WC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function WC(e){let t=e;for(;t=t.parent;)if(Yg(t)&&Gg(e,t)===0)return t}function Yg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yf(e){const t=ft(nu),n=ft(qg),r=Et(()=>{const c=pe(e.to);return t.resolve(c)}),o=Et(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(ro.bind(null,u));if(p>-1)return p;const d=Jf(c[l-2]);return l>1&&Jf(u)===d&&f[f.length-1].path!==d?f.findIndex(ro.bind(null,c[l-2])):p}),s=Et(()=>o.value>-1&&zC(n.params,r.value.params)),i=Et(()=>o.value>-1&&o.value===n.matched.length-1&&Kg(n.params,r.value.params));function a(c={}){if(qC(c)){const l=t[pe(e.replace)?"replace":"push"](pe(e.to)).catch(Xo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:Et(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function KC(e){return e.length===1?e[0]:e}const jC=Rr({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"},viewTransition:Boolean},useLink:Yf,setup(e,{slots:t}){const n=Bt(Yf(e)),{options:r}=ft(nu),o=Et(()=>({[Qf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Qf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&KC(t.default(n));return e.custom?s:ut("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),VC=jC;function qC(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 zC(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Wt(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function Jf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qf=(e,t,n)=>e??t??n,GC=Rr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ft(Zc),o=Et(()=>e.route||r.value),s=ft(Wf,0),i=Et(()=>{let l=pe(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=Et(()=>o.value.matched[i.value]);pr(Wf,Et(()=>i.value+1)),pr(CC,a),pr(Zc,o);const c=vt();return Vn(()=>[c.value,a.value,e.name],([l,u,f],[p,d,m])=>{u&&(u.instances[f]=l,d&&d!==u&&l&&l===p&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),l&&u&&(!d||!ro(u,d)||!p)&&(u.enterCallbacks[f]||[]).forEach(y=>y(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,p=f&&f.components[u];if(!p)return Xf(n.default,{Component:p,route:l});const d=f.props[u],m=d?d===!0?l.params:typeof d=="function"?d(l):d:null,b=ut(p,ve({},m,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Xf(n.default,{Component:b,route:l})||b}}});function Xf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jg=GC;function YC(e){const t=$C(e.routes,e),n=e.parseQuery||bC,r=e.stringifyQuery||Ff,o=e.history,s=ko(),i=ko(),a=ko(),c=Zr(Ct);let l=Ct;Nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ga.bind(null,U=>""+U),f=Ga.bind(null,oC),p=Ga.bind(null,us);function d(U,re){let te,ie;return jg(U)?(te=t.getRecordMatcher(U),ie=re):ie=U,t.addRoute(ie,te)}function m(U){const re=t.getRecordMatcher(U);re&&t.removeRoute(re)}function y(){return t.getRoutes().map(U=>U.record)}function b(U){return!!t.getRecordMatcher(U)}function R(U,re){if(re=ve({},re||c.value),typeof U=="string"){const C=Ya(n,U,re.path),P=t.resolve({path:C.path},re),B=o.createHref(C.fullPath);return ve(C,P,{params:p(P.params),hash:us(C.hash),redirectedFrom:void 0,href:B})}let te;if(U.path!=null)te=ve({},U,{path:Ya(n,U.path,re.path).path});else{const C=ve({},U.params);for(const P in C)C[P]==null&&delete C[P];te=ve({},U,{params:f(C)}),re.params=f(re.params)}const ie=t.resolve(te,re),de=U.hash||"";ie.params=u(p(ie.params));const Pe=aC(r,ve({},U,{hash:tC(de),path:ie.path})),_=o.createHref(Pe);return ve({fullPath:Pe,hash:de,query:r===Ff?SC(U.query):U.query||{}},ie,{redirectedFrom:void 0,href:_})}function w(U){return typeof U=="string"?Ya(n,U,c.value.path):ve({},U)}function h(U,re){if(l!==U)return oo(Ne.NAVIGATION_CANCELLED,{from:re,to:U})}function g(U){return A(U)}function v(U){return g(ve(w(U),{replace:!0}))}function T(U,re){const te=U.matched[U.matched.length-1];if(te&&te.redirect){const{redirect:ie}=te;let de=typeof ie=="function"?ie(U,re):ie;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=w(de):{path:de},de.params={}),ve({query:U.query,hash:U.hash,params:de.path!=null?{}:U.params},de)}}function A(U,re){const te=l=R(U),ie=c.value,de=U.state,Pe=U.force,_=U.replace===!0,C=T(te,ie);if(C)return A(ve(w(C),{state:typeof C=="object"?ve({},de,C.state):de,force:Pe,replace:_}),re||te);const P=te;P.redirectedFrom=re;let B;return!Pe&&cC(r,ie,te)&&(B=oo(Ne.NAVIGATION_DUPLICATED,{to:P,from:ie}),K(ie,ie,!0,!1)),(B?Promise.resolve(B):S(P,ie)).catch(N=>an(N)?an(N,Ne.NAVIGATION_GUARD_REDIRECT)?N:Ve(N):Z(N,P,ie)).then(N=>{if(N){if(an(N,Ne.NAVIGATION_GUARD_REDIRECT))return A(ve({replace:_},w(N.to),{state:typeof N.to=="object"?ve({},de,N.to.state):de,force:Pe}),re||P)}else N=E(P,ie,!0,_,de);return k(P,ie,N),N})}function I(U,re){const te=h(U,re);return te?Promise.reject(te):Promise.resolve()}function O(U){const re=Y.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(U):U()}function S(U,re){let te;const[ie,de,Pe]=TC(U,re);te=Qa(ie.reverse(),"beforeRouteLeave",U,re);for(const C of ie)C.leaveGuards.forEach(P=>{te.push(Nn(P,U,re))});const _=I.bind(null,U,re);return te.push(_),bt(te).then(()=>{te=[];for(const C of s.list())te.push(Nn(C,U,re));return te.push(_),bt(te)}).then(()=>{te=Qa(de,"beforeRouteUpdate",U,re);for(const C of de)C.updateGuards.forEach(P=>{te.push(Nn(P,U,re))});return te.push(_),bt(te)}).then(()=>{te=[];for(const C of Pe)if(C.beforeEnter)if(Wt(C.beforeEnter))for(const P of C.beforeEnter)te.push(Nn(P,U,re));else te.push(Nn(C.beforeEnter,U,re));return te.push(_),bt(te)}).then(()=>(U.matched.forEach(C=>C.enterCallbacks={}),te=Qa(Pe,"beforeRouteEnter",U,re,O),te.push(_),bt(te))).then(()=>{te=[];for(const C of i.list())te.push(Nn(C,U,re));return te.push(_),bt(te)}).catch(C=>an(C,Ne.NAVIGATION_CANCELLED)?C:Promise.reject(C))}function k(U,re,te){a.list().forEach(ie=>O(()=>ie(U,re,te)))}function E(U,re,te,ie,de){const Pe=h(U,re);if(Pe)return Pe;const _=re===Ct,C=Nr?history.state:{};te&&(ie||_?o.replace(U.fullPath,ve({scroll:_&&C&&C.scroll},de)):o.push(U.fullPath,de)),c.value=U,K(U,re,te,_),Ve()}let x;function z(){x||(x=o.listen((U,re,te)=>{if(!tr.listening)return;const ie=R(U),de=T(ie,tr.currentRoute.value);if(de){A(ve(de,{replace:!0,force:!0}),ie).catch(Xo);return}l=ie;const Pe=c.value;Nr&&mC(Hf(Pe.fullPath,te.delta),ma()),S(ie,Pe).catch(_=>an(_,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_CANCELLED)?_:an(_,Ne.NAVIGATION_GUARD_REDIRECT)?(A(ve(w(_.to),{force:!0}),ie).then(C=>{an(C,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_DUPLICATED)&&!te.delta&&te.type===Qc.pop&&o.go(-1,!1)}).catch(Xo),Promise.reject()):(te.delta&&o.go(-te.delta,!1),Z(_,ie,Pe))).then(_=>{_=_||E(ie,Pe,!1),_&&(te.delta&&!an(_,Ne.NAVIGATION_CANCELLED)?o.go(-te.delta,!1):te.type===Qc.pop&&an(_,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),k(ie,Pe,_)}).catch(Xo)}))}let X=ko(),q=ko(),oe;function Z(U,re,te){Ve(U);const ie=q.list();return ie.length?ie.forEach(de=>de(U,re,te)):console.error(U),Promise.reject(U)}function ge(){return oe&&c.value!==Ct?Promise.resolve():new Promise((U,re)=>{X.add([U,re])})}function Ve(U){return oe||(oe=!U,z(),X.list().forEach(([re,te])=>U?te(U):re()),X.reset()),U}function K(U,re,te,ie){const{scrollBehavior:de}=e;if(!Nr||!de)return Promise.resolve();const Pe=!te&&yC(Hf(U.fullPath,0))||(ie||!te)&&history.state&&history.state.scroll||null;return Ut().then(()=>de(U,re,Pe)).then(_=>_&&gC(_)).catch(_=>Z(_,U,re))}const j=U=>o.go(U);let G;const Y=new Set,tr={currentRoute:c,listening:!0,addRoute:d,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:y,resolve:R,options:e,push:g,replace:v,go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:q.add,isReady:ge,install(U){U.component("RouterLink",VC),U.component("RouterView",Jg),U.config.globalProperties.$router=tr,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(c)}),Nr&&!G&&c.value===Ct&&(G=!0,g(o.location).catch(ie=>{}));const re={};for(const ie in Ct)Object.defineProperty(re,ie,{get:()=>c.value[ie],enumerable:!0});U.provide(nu,tr),U.provide(qg,gn(re)),U.provide(Zc,c);const te=U.unmount;Y.add(U),U.unmount=function(){Y.delete(U),Y.size<1&&(l=Ct,x&&x(),x=null,c.value=Ct,G=!1,oe=!1),te()}}};function bt(U){return U.reduce((re,te)=>re.then(()=>O(te)),Promise.resolve())}return tr}const JC=/(:\w+)\([^)]+\)/g,QC=/(:\w+)[?+*]/g,XC=/:\w+/g,ZC=(e,t)=>t.path.replace(JC,"$1").replace(QC,"$1").replace(XC,n=>e.params[n.slice(1)]?.toString()||""),el=(e,t)=>
4{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&ZC(e.route,n));return typeof r=="function"?r(e.route):r},e0=(e,t)=>({default:()=>e?ut(Nw,e===!0?{}:e,t):t});function ru(e){return Array.isArray(e)?e:[e]}const t0="modulepreload",n0=function(e,t){return new URL(e,t).href},Zf={},he=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=l(n.map(u=>{if(u=n0(u,r),u in Zf)return;Zf[u]=!0;const f=u.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(r)for(let m=i.length-1;m>=0;m--){const y=i[m];if(y.href===u&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":t0,f||(d.as="script"),d.crossOrigin="",d.href=u,c&&d.setAttribute("nonce",c),document.head.appendChild(d),f)return new Promise((m,y)=>{d.addEventListener("load",m),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},r0={layout:!1},o0={layout:!1},Xa=[{name:"index",path:"/",meta:r0||{},component:()=>he(()=>import("./index-PteBoTzg.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"slug",path:"/:slug(.*)*",meta:o0||{},component:()=>he(()=>import("./_...slug_-Dm3Y7bXY.js"),__vite__mapDeps([4,1,2,3]),import.meta.url)}],s0=(e,t)=>({default:()=>e?ut(og,e===!0?{}:e,t):t.default?.()}),i0=/(:\w+)\([^)]+\)/g,a0=/(:\w+)[?+*]/g,c0=/:\w+/g;function ed(e){const t=e?.meta.key??e.path.replace(i0,"$1").replace(a0,"$1").replace(c0,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function l0(e,t){return e===t||t===Ct?!1:ed(e)!==ed(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const u0={scrollBehavior(e,t,n){const r=je(),o=xt().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Qg(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const i=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===Ct){a(td(e,t,n,o));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>a(td(e,t,n,o)))})})}};function Qg(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function td(e,t,n,r){if(n)return n;const o=l0(e,t);return e.hash?{el:e.hash,top:Qg(e.hash),behavior:o?r:"instant"}:{left:0,top:0}}const f0={hashMode:!1,scrollBehaviorType:"auto"},On={...f0,...u0},d0=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=Wr(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const s=wr({fatal:!0,status:o&&(o.status||o.statusCode)||404,statusText:o&&(o.statusText||o.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s},h0=e=>{const t=Ug({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return yo(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},p0=[d0,h0],tl={};function g0(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const l=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(l);return u[0]!=="/"&&(u="/"+u),Cf(u,"")}const a=Cf(r,e),c=!n||Lv(a,n)?a:n;return c+(c.includes("?")?"":o)+s}const m0=Ot({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=xn().app.baseURL;const o=On.history?.(r)??kC(r),s=On.routes?([t,n]=Wr(()=>On.routes(Xa)),t=await t,n(),t??Xa):Xa;let i;const a=YC({...On,scrollBehavior:(b,R,w)=>{if(R===Ct){i=w;return}if(On.scrollBehavior){if(a.options.scrollBehavior=On.scrollBehavior,"scrollRestoration"in window.history){const h=a.beforeEach(()=>{h(),window.history.scrollRestoration="manual"})}return On.scrollBehavior(b,Ct,i||w)}},history:o,routes:s}
4);"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=Zr(a.currentRoute.value);a.afterEach((b,R)=>{c.value=R}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=g0(r,window.location,e.payload.path),u=Zr(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};a.afterEach((b,R)=>{b.matched.at(-1)?.components?.default===R.matched.at(-1)?.components?.default&&f()});const p={sync:f};for(const b in u.value)Object.defineProperty(p,b,{get:()=>u.value[b],enumerable:!0});e._route=gn(p),e._middleware||={global:[],named:{}};const d=ga();a.afterEach(async(b,R,w)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(Fb),w&&await e.callHook("page:loading:end")});try{[t,n]=Wr(()=>a.isReady()),await t,n()}catch(b){[t,n]=Wr(()=>e.runWithContext(()=>lr(b))),await t,n()}const m=l!==a.currentRoute.value.fullPath?a.resolve(l):a.currentRoute.value;f();const y=e.payload.state._layout;return a.beforeEach(async(b,R)=>{await e.callHook("page:loading:start"),b.meta=Bt(b.meta),e.isHydrating&&y&&!nn(b.meta.layout)&&(b.meta.layout=y),e._processingMiddleware=!0;{const w=new Set([...p0,...e._middleware.global]);for(const g of b.matched){const v=g.meta.middleware;if(v)for(const T of ru(v))w.add(T)}const h=Ug({path:b.path});if(h.appMiddleware)for(const g in h.appMiddleware)h.appMiddleware[g]?w.add(g):w.delete(g);for(const g of w){const v=typeof g=="string"?e._middleware.named[g]||await tl[g]?.().then(T=>T.default||T):g;if(!v)throw new Error(`Unknown route middleware: '${g}'.`);try{const T=await e.runWithContext(()=>v(b,R));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const A=T||wr({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>lr(A)),!1}if(T===!0)continue;if(T===!1)return T;if(T)return xg(T)&&T.fatal&&await e.runWithContext(()=>lr(T)),T}catch(T){const A=wr(T);return A.fatal&&await e.runWithContext(()=>lr(A)),A}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(b=>{if(b.matched.length===0&&!d.value)return e.runWithContext(()=>lr(wr({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await a.replace({...m,force:!0}),a.options.scrollBehavior=On.scrollBehavior}catch(b){await e.runWithContext(()=>lr(b))}}),{provide:{router:a}}}}),nd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Qx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Xg=e=>{const t=je();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{nd(()=>e())}):nd(()=>e())},y0=Ot({name:"nuxt:payload",setup(e){const t=new Set;xt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await Uf(n.path);if(o){for(const s of t)delete e.static.data[s];for(const s in o.data)s in e.static.data||t.add(s),e.static.data[s]=o.data[s]}}),Xg(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Uf().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})})})}}),w0=Ot(()=>{const e=xt();Xg(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})});function _0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Di(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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:je().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const v0=Ot({name:"nuxt:chunk-reload",setup(e){const t=xt(),n=xn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const i=wg(n.app.baseURL,s.fullPath);_0({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),b0=Ot({name:"nuxt:global-components"}),Hs={};function S0(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function C0(e,t=xt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>C0(e,t));t._routePreloaded.add(n);for(const s of r){const i=s.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const T0=Ot({name:"nuxt:prefetch",setup(e){const t=xt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Hs[r]=="function"&&await Hs[r]()})}),e.hooks.hook("link:prefetch",n=>{if(yo(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=ru(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof tl[i]=="function"&&tl[i]();
4typeof o=="string"&&o in Hs&&S0(Hs[o])})}}),ou="__nuxt_dynamic_import_reload_once__";function Za(e){if(typeof e=="string")return e;if(e&&typeof e=="object"&&"message"in e){const t=Reflect.get(e,"message");if(typeof t=="string")return t}return""}function rd(e){const t=e.trim().toLowerCase();return t?t.includes("failed to fetch dynamically imported module")||t.includes("importing a module script failed")||t.includes("error loading dynamically imported module"):!1}function R0(){try{return sessionStorage.getItem(ou)!=="1"}catch{return!0}}function E0(){try{sessionStorage.setItem(ou,"1")}catch{}}function A0(){try{sessionStorage.removeItem(ou)}catch{}}function od(e){return R0()?(E0(),console.warn("[dynamic-import-reload] reload once after module load failure",e),window.location.reload(),!0):!1}const k0=Ot(()=>{window.addEventListener("pageshow",()=>{A0()},{once:!0}),window.addEventListener("error",e=>{const t=Za(e.error)||Za(e.message);rd(t)&&od(t)}),window.addEventListener("unhandledrejection",e=>{const t=Za(e.reason);rd(t)&&od(t)&&e.preventDefault()})});function Xx(e){return Ol()?(Wy(e),!0):!1}function ya(e){let t=!1,n;const r=Vh(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}function nl(e){return typeof e=="function"?e():pe(e)}const Zx=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const e1=e=>e!=null,x0=Object.prototype.toString,t1=e=>x0.call(e)==="[object Object]",$i=()=>{};function Zg(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}function P0(e,t={}){let n,r,o=$i;const s=a=>{clearTimeout(a),o(),o=$i};return a=>{const c=nl(e),l=nl(t.maxWait);return n&&s(n),c<=0||l!==void 0&&l<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,l&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},l)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},c)})}}function O0(...e){let t=0,n,r=!0,o=$i,s,i,a,c,l;!Le(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:c=!0,rejectOnCancel:l=!1}=e[0]:[i,a=!0,c=!0,l=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=$i)};return p=>{const d=nl(i),m=Date.now()-t,y=()=>s=p();return u(),d<=0?(t=Date.now(),y()):(m>d&&(c||!r)?(t=Date.now(),y()):a&&(s=new Promise((b,R)=>{o=l?R:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(y()),u()},Math.max(0,d-m))})),!c&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,s)}}function I0(e){return Pt()}function n1(e,t=200,n={}){return Zg(P0(t,n),e)}function r1(e,t=200,n=!1,r=!0,o=!1){return Zg(O0(t,n,r,o),e)}function o1(e,t=!0,n){I0()?Ss(e,n):t?e():Ut(e)}const D0=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};var Jt=(e=>(e.ZH="zh",e.ZH_HK="zh_hk",e.EN="en",e.PT="pt",e.TH="th",e.ID="id",e.VI="vi",e.HI="hi",e.KO="ko",e.JA="ja",e.ES="es",e.DE="de",e.FR="fr",e.IT="it",e.MY="my",e.AR="ar",e.TL="tl",e.KM="km",e.TE="te",e.TA="ta",e.MR="mr",e.KN="kn",e.BN="bn",e.AF="af",e.PA="pa",e.UR="ur",e.RU="ru",e.TR="tr",e.SW="sw",e.AM="am",e.NE="ne",e.SI="si",e))(Jt||{});const em=Object.values(Jt);async function L0(e){return e&&em.includes(e)?(await D0(Object.assign({
4"./translations/af.json":()=>he(()=>import("./af-BTJulwNP.js"),[],import.meta.url),
4"./translations/am.json":()=>he(()=>import("./am-fb_B5QGI.js"),[],import.meta.url),
4"./translations/ar.json":()=>he(()=>import("./ar-B5AC_9pf.js"),[],import.meta.url),
4"./translations/bn.json":()=>he(()=>import("./bn-DNGglLD3.js"),[],import.meta.url),
4"./translations/de.json":()=>he(()=>import("./de-DgMWjy_f.js"),[],import.meta.url),
4"./translations/en.json":()=>he(()=>import("./en-kxVU4iTp.js"),[],import.meta.url),
4"./translations/es.json":()=>he(()=>import("./es-BbvyfQBv.js"),[],import.meta.url),
4"./translations/fr.json":()=>he(()=>import("./fr-BAVpbJeT.js"),[],import.meta.url),
4"./translations/hi.json":()=>he(()=>import("./hi-BCFBYkAj.js"),[],import.meta.url),
4"./translations/id.json":()=>he(()=>import("./id-BQ_06hXY.js"),[],import.meta.url),
4"./translations/it.json":()=>he(()=>import("./it-5C6oJxxy.js"),[],import.meta.url),
4"./translations/ja.json":()=>he(()=>import("./ja-C7YuPopp.js"),[],import.meta.url),
4"./translations/km.json":()=>he(()=>import("./km-CImywpP6.js"),[],import.meta.url),
4"./translations/kn.json":()=>he(()=>import("./kn-DLoj0rhJ.js"),[],import.meta.url),
4"./translations/ko.json":()=>he(()=>import("./ko-BUUXzx4j.js"),[],import.meta.url),
4"./translations/mr.json":()=>he(()=>import("./mr-DiDtxuFq.js"),[],import.meta.url),
4"./translations/my.json":()=>he(()=>import("./my-fXwXLtyy.js"),[],import.meta.url),
4"./translations/ne.json":()=>he(()=>import("./ne-CSftZLI7.js"),[],import.meta.url),
4"./translations/pa.json":()=>he(()=>import("./pa-DC-CWXgn.js"),[],import.meta.url),
4"./translations/pt.json":()=>he(()=>import("./pt-DMpI8GjC.js"),[],import.meta.url),
4"./translations/ru.json":()=>he(()=>import("./ru-Cn2IG0wN.js"),[],import.meta.url),
4"./translations/si.json":()=>he(()=>import("./si-BpTEdqm2.js"),[],import.meta.url),
4"./translations/sw.json":()=>he(()=>import("./sw-CHS6OfGT.js"),[],import.meta.url),
4"./translations/ta.json":()=>he(()=>import("./ta-DNn03H1h.js"),[],import.meta.url),
4"./translations/te.json":()=>he(()=>import("./te-DKC5EIjO.js"),[],import.meta.url),
4"./translations/th.json":()=>he(()=>import("./th-BVPjvSpU.js"),[],import.meta.url),
4"./translations/tl.json":()=>he(()=>import("./tl-DQX1jv9Z.js"),[],import.meta.url),
4"./translations/tr.json":()=>he(()=>import("./tr-C3aZfQvo.js"),[],import.meta.url),
4"./translations/ur.json":()=>he(()=>import("./ur-zjZR1B0T.js"),[],import.meta.url),
4"./translations/vi.json":()=>he(()=>import("./vi-jpQ_zG3K.js"),[],import.meta.url),
4"./translations/zh.json":()=>he(()=>import("./zh-B8gMHyFA.js"),[],import.meta.url),
4"./translations/zh_hk.json":()=>he(()=>import("./zh_hk-B6bhMzmi.js"),[],import.meta.url)
4}),`./translations/${e}.json`,3)).default:{}}const rl="en",N0=["zh_hk","zh-hk","zh_tw","zh-tw"];function tm(e){let t=e.toLocaleLowerCase();return N0.includes(t)?t="zh_hk":t=t.split("-")[0],em.includes(t)?t:null}function nm(e){const t=typeof window<"u"?window.navigator.language:rl;return tm(e??t)||rl}class U0{locale=rl;localeMessages=null;constructor(t){this.setLocale(t?.locale),this.setMessage(t?.message)}setLocale(t){t&&(this.locale=t)}getLocale(){return this.locale}setMessage(t){this.localeMessages==null?this.resetMessage(t):Object.assign(this.localeMessages,t??{})}getMessage(t){return t&&this.localeMessages?this.localeMessages[t]:this.localeMessages}resetMessage(t){this.localeMessages=t??null}translate(t,n){if(this.localeMessages==null)return"";let r=$0(this.localeMessages[this.locale],t);return r&&typeof r=="string"?n?M0(r,n):r:r?JSON.stringify(r):""}get[Symbol.toStringTag](){return"I18n"}}function M0(e,t){return t?e.replace(/\{([^}]*)\}/g,function(n,r){return r=r.trim(),t[r]||n}):e}function $0(e,t){return t.split(".").reduce((n,r)=>n&&n[r],e)}function rm(){const e=new U0;return{i18n:e,setLocale:async function(o){if(e.setLocale(o),e.localeMessages?.[o])return;let s=await L0(o);e.setMessage({[o]:s})},getLocale:()=>e.getLocale(),$t:(o,s)=>e.translate(o,s)}}const B0=ya(rm),sd=new WeakMap;function Er(){try{return B0()}catch(e){throw console.error("[localeStore] useLocaleStore called without Nuxt context",e),console.error(new Error("[localeStore] caller stack").stack),e}}var ec=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function H0(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var ri={exports:{}};function F0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var oi={exports:{}};const W0={},K0=Object.freeze(Object.defineProperty({__proto__:null,default:W0},Symbol.toStringTag,{value:"Module"})),j0=H0(K0);var V0=oi.exports,id;function Vt(){return id||(id=1,(function(e,t){(function(n,r){e.exports=r()})(V0,function(){var n=n||(function(r,o){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof ec<"u"&&ec.crypto&&(s=ec.crypto),!s&&typeof F0=="function")try{s=j0}catch{}var i=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||(function(){function w(){}return function(h){var g;return w.prototype=h,g=new w,w.prototype=null,g}})(),c={},l=c.lib={},u=l.Base=(function(){return{extend:function(w){var h=a(this);return w&&h.mixIn(w),(!h.hasOwnProperty("init")||this.init===h.init)&&(h.init=function(){h.$super.init.apply(this,arguments)}),h.init.prototype=h,h.$super=this,h},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var h in w)w.hasOwnProperty(h)&&(this[h]=w[h]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),f=l.WordArray=u.extend({init:function(w,h){w=this.words=w||[],h!=o?this.sigBytes=h:this.sigBytes=w.length*4},toString:function(w){return(w||d).stringify(this)},concat:function(w){var h=this.words,g=w.words,v=this.sigBytes,T=w.sigBytes;if(this.clamp(),v%4)for(var A=0;A<T;A++){var I=g[A>>>2]>>>24-A%4*8&255;h[v+A>>>2]|=I<<24-(v+A)%4*8}else for(var O=0;O<T;O+=4)h[v+O>>>2]=g[O>>>2];return this.sigBytes+=T,this},clamp:function(){var w=this.words,h=this.sigBytes;w[h>>>2]&=4294967295<<32-h%4*8,w.length=r.ceil(h/4)},clone:function(){var w=u.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var h=[],g=0;g<w;g+=4)h.push(i());return new f.init(h,w)}}),p=c.enc={},d=p.Hex={stringify:function(w){for(var h=w.words,g=w.sigBytes,v=[],T=0;T<g;T++){var A=h[T>>>2]>>>24-T%4*8&255;v.push((A>>>4).toString(16)),v.push((A&15).toString(16))}return v.join("")},parse:function(w){for(var h=w.length,g=[],v=0;v<h;v+=2)g[v>>>3]|=parseInt(w.substr(v,2),16)<<24-v%8*4;return new f.init(g,h/2)}},m=p.Latin1={stringify:function(w){for(var h=w.words,g=w.sigBytes,v=[],T=0;T<g;T++){var A=h[T>>>2]>>>24-T%4*8&255;v.push(String.fromCharCode(A))}return v.join("")},parse:function(w){for(var h=w.length,g=[],v=0;v<h;v++)g[v>>>2]|=(w.charCodeAt(v)&255)<<24-v%4*8;return new f.init(g,h)}},y=p.Utf8={stringify:function(w){try{return decodeURIComponent(escape(m.stringify(w)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(w){return m.parse(unescape(encodeURIComponent(w)))}},b=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=y.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var h,g=this._data,v=g.words,T=g.sigBytes,A=this.blockSize,I=A*4,O=T/I;w?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var S=O*A,k=r.min(S*4,T);if(S){for(var E=0;E<S;E+=A)this._doProcessBlock(v,E);h=v.splice(0,S),g.sigBytes-=k}return new f.init(h,k)},clone:function(){var w=u.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0});l.Hasher=b.extend({cfg:u.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this}
vendor: 5,965 bytes, line 4
4,finalize:function(w){w&&this._append(w);var h=this._doFinalize();return h},blockSize:16,_createHelper:function(w){return function(h,g){return new w.init(g).finalize(h)}},_createHmacHelper:function(w){return function(h,g){return new R.HMAC.init(w,g).finalize(h)}}});var R=c.algo={};return c})(Math);return n})})(oi)),oi.exports}var q0=ri.exports,ad;function z0(){return ad||(ad=1,(function(e,t){(function(n,r){e.exports=r(Vt())})(q0,function(n){return n.enc.Utf8})})(ri)),ri.exports}var G0=z0();const zn=Ar(G0);var si={exports:{}},Y0=si.exports,cd;function om(){return cd||(cd=1,(function(e,t){(function(n,r){e.exports=r(Vt())})(Y0,function(n){return(function(){var r=n,o=r.lib,s=o.WordArray,i=r.enc;i.Base64={stringify:function(c){var l=c.words,u=c.sigBytes,f=this._map;c.clamp();for(var p=[],d=0;d<u;d+=3)for(var m=l[d>>>2]>>>24-d%4*8&255,y=l[d+1>>>2]>>>24-(d+1)%4*8&255,b=l[d+2>>>2]>>>24-(d+2)%4*8&255,R=m<<16|y<<8|b,w=0;w<4&&d+w*.75<u;w++)p.push(f.charAt(R>>>6*(3-w)&63));var h=f.charAt(64);if(h)for(;p.length%4;)p.push(h);return p.join("")},parse:function(c){var l=c.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<u.length;p++)f[u.charCodeAt(p)]=p}var d=u.charAt(64);if(d){var m=c.indexOf(d);m!==-1&&(l=m)}return a(c,l,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function a(c,l,u){for(var f=[],p=0,d=0;d<l;d++)if(d%4){var m=u[c.charCodeAt(d-1)]<<d%4*2,y=u[c.charCodeAt(d)]>>>6-d%4*2,b=m|y;f[p>>>2]|=b<<24-p%4*8,p++}return s.create(f,p)}})(),n.enc.Base64})})(si)),si.exports}var J0=om();const ol=Ar(J0);var ii={exports:{}},Q0=ii.exports,ld;function sm(){return ld||(ld=1,(function(e,t){(function(n,r){e.exports=r(Vt())})(Q0,function(n){return(function(r){var o=n,s=o.lib,i=s.WordArray,a=s.Hasher,c=o.algo,l=[];(function(){for(var y=0;y<64;y++)l[y]=r.abs(r.sin(y+1))*4294967296|0})();var u=c.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,b){for(var R=0;R<16;R++){var w=b+R,h=y[w];y[w]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360}var g=this._hash.words,v=y[b+0],T=y[b+1],A=y[b+2],I=y[b+3],O=y[b+4],S=y[b+5],k=y[b+6],E=y[b+7],x=y[b+8],z=y[b+9],X=y[b+10],q=y[b+11],oe=y[b+12],Z=y[b+13],ge=y[b+14],Ve=y[b+15],K=g[0],j=g[1],G=g[2],Y=g[3];K=f(K,j,G,Y,v,7,l[0]),Y=f(Y,K,j,G,T,12,l[1]),G=f(G,Y,K,j,A,17,l[2]),j=f(j,G,Y,K,I,22,l[3]),K=f(K,j,G,Y,O,7,l[4]),Y=f(Y,K,j,G,S,12,l[5]),G=f(G,Y,K,j,k,17,l[6]),j=f(j,G,Y,K,E,22,l[7]),K=f(K,j,G,Y,x,7,l[8]),Y=f(Y,K,j,G,z,12,l[9]),G=f(G,Y,K,j,X,17,l[10]),j=f(j,G,Y,K,q,22,l[11]),K=f(K,j,G,Y,oe,7,l[12]),Y=f(Y,K,j,G,Z,12,l[13]),G=f(G,Y,K,j,ge,17,l[14]),j=f(j,G,Y,K,Ve,22,l[15]),K=p(K,j,G,Y,T,5,l[16]),Y=p(Y,K,j,G,k,9,l[17]),G=p(G,Y,K,j,q,14,l[18]),j=p(j,G,Y,K,v,20,l[19]),K=p(K,j,G,Y,S,5,l[20]),Y=p(Y,K,j,G,X,9,l[21]),G=p(G,Y,K,j,Ve,14,l[22]),j=p(j,G,Y,K,O,20,l[23]),K=p(K,j,G,Y,z,5,l[24]),Y=p(Y,K,j,G,ge,9,l[25]),G=p(G,Y,K,j,I,14,l[26]),j=p(j,G,Y,K,x,20,l[27]),K=p(K,j,G,Y,Z,5,l[28]),Y=p(Y,K,j,G,A,9,l[29]),G=p(G,Y,K,j,E,14,l[30]),j=p(j,G,Y,K,oe,20,l[31]),K=d(K,j,G,Y,S,4,l[32]),Y=d(Y,K,j,G,x,11,l[33]),G=d(G,Y,K,j,q,16,l[34]),j=d(j,G,Y,K,ge,23,l[35]),K=d(K,j,G,Y,T,4,l[36]),Y=d(Y,K,j,G,O,11,l[37]),G=d(G,Y,K,j,E,16,l[38]),j=d(j,G,Y,K,X,23,l[39]),K=d(K,j,G,Y,Z,4,l[40]),Y=d(Y,K,j,G,v,11,l[41]),G=d(G,Y,K,j,I,16,l[42]),j=d(j,G,Y,K,k,23,l[43]),K=d(K,j,G,Y,z,4,l[44]),Y=d(Y,K,j,G,oe,11,l[45]),G=d(G,Y,K,j,Ve,16,l[46]),j=d(j,G,Y,K,A,23,l[47]),K=m(K,j,G,Y,v,6,l[48]),Y=m(Y,K,j,G,E,10,l[49]),G=m(G,Y,K,j,ge,15,l[50]),j=m(j,G,Y,K,S,21,l[51]),K=m(K,j,G,Y,oe,6,l[52]),Y=m(Y,K,j,G,I,10,l[53]),G=m(G,Y,K,j,X,15,l[54]),j=m(j,G,Y,K,T,21,l[55]),K=m(K,j,G,Y,x,6,l[56]),Y=m(Y,K,j,G,Ve,10,l[57]),G=m(G,Y,K,j,k,15,l[58]),j=m(j,G,Y,K,Z,21,l[59]),K=m(K,j,G,Y,O,6,l[60]),Y=m(Y,K,j,G,q,10,l[61]),G=m(G,Y,K,j,A,15,l[62]),j=m(j,G,Y,K,z,21,l[63]),g[0]=g[0]+K|0,g[1]=g[1]+j|0,g[2]=g[2]+G|0,g[3]=g[3]+Y|0},_doFinalize:function(){var y=this._data,b=y.words,R=this._nDataBytes*8,w=y.sigBytes*8;b[w>>>5]|=128<<24-w%32;var h=r.floor(R/4294967296),g=R;b[(w+64>>>9<<4)+15]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,b[(w+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y.sigBytes=(b.length+1)*4,this._process();for(var v=this._hash,T=v.words,A=0;A<4;A++){var I=T[A];T[A]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return v},clone:function(){var y=a.clone.call(this);return y._hash=this._hash.clone(),y}});function f(y,b,R,w,h,g,v){var T=y+(b&R|~b&w)+h+v;return(T<<g|T>>>32-g)+b}function p(y,b,R,w,h,g,v){var T=y+(b&w|R&~w)+h+v;return(T<<g|T>>>32-g)+b}function d(y,b,R,w,h,g,v){var T=y+(b^R^w)+h+v;return(T<<g|T>>>32-g)+b}function m(y,b,R,w,h,g,v){var T=y+(R^(b|~w))+h+v;return(T<<g|T>>>32-g)+b}o.MD5=a._createHelper(u),o.HmacMD5=a._createHmacHelper(u)})(Math),n.MD5})})(ii)),ii.exports}var X0=sm();const Z0=Ar(X0);var ai={exports:{}},ci={exports:{}},eT=ci.exports,ud;function tT(){return ud||(ud=1,(function(e,t){(function(n,r){e.exports=r(Vt())})(eT,function(n){return(function(){var r=n,o=r.lib,s=o.WordArray,i=o.Hasher,a=r.algo,c=[],l=a.SHA1=i.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var p=this._hash.words,d=p[0],m=p[1],y=p[2],b=p[3],R=p[4],w=0;w<80;w++){if(w<16)c[w]=u[f+w]|0;else{var h=c[w-3]^c[w-8]^c[w-14]^c[w-16];c[w]=h<<1|h>>>31}var g=(d<<5|d>>>27)+R+c[w];w<20?g+=(m&y|~m&b)+1518500249:w<40?g+=(m^y^b)+1859775393:w<60?g+=(m&y|m&b|y&b)-1894007588:g+=(m^y^b)-899497514,R=b,b=y,y=m<<30|m>>>2,m=d,d=g}p[0]=p[0]+d|0,p[1]=p[1]+m|0,p[2]=p[2]+y|0,p[3]=p[3]+b|0,p[4]=p[4]+R|0},_doFinalize:function(){var u=this._data,f=u.words,p=this._nDataBytes*8,d=u.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(p/4294967296),f[(d+64>>>9<<4)+15]=p,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=i._createHelper(l),r.HmacSHA1=i._createHmacHelper(l)})(),n.SHA1})})(ci)),ci.exports}
4var li={exports:{}},nT=li.exports,fd;function rT(){return fd||(fd=1,(function(e,t){(function(n,r){e.exports=r(Vt())})(nT,function(n){(function(){var r=n,o=r.lib,s=o.Base,i=r.enc,a=i.Utf8,c=r.algo;c.HMAC=s.extend({init:function(l,u){l=this._hasher=new l.init,typeof u=="string"&&(u=a.parse(u));var f=l.blockSize,p=f*4;u.sigBytes>p&&(u=l.finalize(u)),u.clamp();for(var d=this._oKey=u.clone(),m=this._iKey=u.clone(),y=d.words,b=m.words,R=0;R<f;R++)y[R]^=1549556828,b[R]^=909522486;d.sigBytes=m.sigBytes=p,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var u=this._hasher,f=u.finalize(l);u.reset();var p=u.finalize(this._oKey.clone().concat(f));return p}})})()})})(li)),li.exports}var oT=ai.exports,dd;function su(){return dd||(dd=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),tT(),rT())})(oT,function(n){return(function(){var r=n,o=r.lib,s=o.Base,i=o.WordArray,a=r.algo,c=a.MD5,l=a.EvpKDF=s.extend({cfg:s.extend({keySize:128/32,hasher:c,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,f){for(var p,d=this.cfg,m=d.hasher.create(),y=i.create(),b=y.words,R=d.keySize,w=d.iterations;b.length<R;){p&&m.update(p),p=m.update(u).finalize(f),m.reset();for(var h=1;h<w;h++)p=m.finalize(p),m.reset();y.concat(p)}return y.sigBytes=R*4,y}});r.EvpKDF=function(u,f,p){return l.create(p).compute(u,f)}})(),n.EvpKDF})})(ai)),ai.exports}su();var ui={exports:{}},sT=ui.exports,hd;function Ts(){return hd||(hd=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),su())})(sT,function(n){n.lib.Cipher||(function(r){var o=n,s=o.lib,i=s.Base,a=s.WordArray,c=s.BufferedBlockAlgorithm,l=o.enc;l.Utf8;var u=l.Base64,f=o.algo,p=f.EvpKDF,d=s.Cipher=c.extend({cfg:i.extend(),createEncryptor:function(S,k){return this.create(this._ENC_XFORM_MODE,S,k)},createDecryptor:function(S,k){return this.create(this._DEC_XFORM_MODE,S,k)},init:function(S,k,E){this.cfg=this.cfg.extend(E),this._xformMode=S,this._key=k,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(S){return this._append(S),this._process()},finalize:function(S){S&&this._append(S);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function S(k){return typeof k=="string"?O:T}return function(k){return{encrypt:function(E,x,z){return S(x).encrypt(k,E,x,z)},decrypt:function(E,x,z){return S(x).decrypt(k,E,x,z)}}}})()});s.StreamCipher=d.extend({_doFinalize:function(){var S=this._process(!0);return S},blockSize:1});var m=o.mode={},y=s.BlockCipherMode=i.extend({createEncryptor:function(S,k){return this.Encryptor.create(S,k)},createDecryptor:function(S,k){return this.Decryptor.create(S,k)},init:function(S,k){this._cipher=S,this._iv=k}}),b=m.CBC=(function(){var S=y.extend();S.Encryptor=S.extend({processBlock:function(E,x){var z=this._cipher,X=z.blockSize;k.call(this,E,x,X),z.encryptBlock(E,x),this._prevBlock=E.slice(x,x+X)}}),S.Decryptor=S.extend({processBlock:function(E,x){var z=this._cipher,X=z.blockSize,q=E.slice(x,x+X);z.decryptBlock(E,x),k.call(this,E,x,X),this._prevBlock=q}});function k(E,x,z){var X,q=this._iv;q?(X=q,this._iv=r):X=this._prevBlock;for(var oe=0;oe<z;oe++)E[x+oe]^=X[oe]}return S})(),R=o.pad={},w=R.Pkcs7={pad:function(S,k){for(var E=k*4,x=E-S.sigBytes%E,z=x<<24|x<<16|x<<8|x,X=[],q=0;q<x;q+=4)X.push(z);var oe=a.create(X,x);S.concat(oe)},unpad:function(S){var k=S.words[S.sigBytes-1>>>2]&255;S.sigBytes-=k}};s.BlockCipher=d.extend({cfg:d.cfg.extend({mode:b,padding:w}),reset:function(){var S;d.reset.call(this);var k=this.cfg,E=k.iv,x=k.mode;this._xformMode==this._ENC_XFORM_MODE?S=x.createEncryptor:(S=x.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,E&&E.words):(this._mode=S.call(x,this,E&&E.words),this._mode.__creator=S)},_doProcessBlock:function(S,k){this._mode.processBlock(S,k)},_doFinalize:function(){var S,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),k.unpad(S)),S},blockSize:128/32});var h=s.CipherParams=i.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),g=o.format={},v=g.OpenSSL={stringify:function(S){var k,E=S.ciphertext,x=S.salt;return x?k=a.create([1398893684,1701076831]).concat(x).concat(E):k=E,k.toString(u)},parse:function(S){var k,E=u.parse(S),x=E.words;return x[0]==1398893684&&x[1]==1701076831&&(k=a.create(x.slice(2,4)),x.splice(0,4),E.sigBytes-=16),h.create({ciphertext:E,salt:k})}},T=s.SerializableCipher=i.extend({cfg:i.extend({format:v}),encrypt:function(S,k,E,x){x=this.cfg.extend(x);var z=S.createEncryptor(E,x),X=z.finalize(k),q=z.cfg;return h.create({ciphertext:X,key:E,iv:q.iv,algorithm:S,mode:q.mode,padding:q.padding,blockSize:S.blockSize,formatter:x.format})},decrypt:function(S,k,E,x){x=this.cfg.extend(x),k=this._parse(k,x.format);var z=S.createDecryptor(E,x).finalize(k.ciphertext);return z},_parse:function(S,k){return typeof S=="string"?k.parse(S,this):S}}),A=o.kdf={},I=A.OpenSSL={execute:function(S,k,E,x,z){if(x||(x=a.random(64/8)),z)var X=p.create({keySize:k+E,hasher:z}).compute(S,x);else var X=p.create({keySize:k+E}).compute(S,x);var q=a.create(X.words.slice(k),E*4);return X.sigBytes=k*4,h.create({key:X,iv:q,salt:x})}},O=s.PasswordBasedCipher=T.extend({cfg:T.cfg.extend({kdf:I}),encrypt:function(S,k,E,x){x=this.cfg.extend(x);var z=x.kdf.execute(E,S.keySize,S.ivSize,x.salt,x.hasher);x.iv=z.iv;var X=T.encrypt.call(this,S,k,z.key,x);return X.mixIn(z),X},decrypt:function(S,k,E,x){x=this.cfg.extend(x),k=this._parse(k,x.format);var z=x.kdf.execute(E,S.keySize,S.ivSize,k.salt,x.hasher);x.iv=z.iv;var X=T.decrypt.call(this,S,k,z.key,x);return X}})})()})})(ui)),ui.exports}Ts();var fi={exports:{}},iT=fi.exports,pd;function aT(){return pd||(pd=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),Ts())})(iT,function(n){return n.pad.Pkcs7})})(fi)),fi.exports}var cT=aT();const lT=Ar(cT);var di={exports:{}},uT=di.exports,gd;function fT(){return gd||(gd=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),Ts())})(uT,function(n){return n.pad.ZeroPadding={pad:function(r,o){var s=o*4;r.clamp(),r.sigBytes+=s-(r.sigBytes%s||s)},unpad:function(r){for(var o=r.words,s=r.sigBytes-1,s=r.sigBytes-1;s>=0;s--)if(o[s>>>2]>>>24-s%4*8&255){r.sigBytes=s+1;break}}},n.pad.ZeroPadding})})(di)),di.exports}
4var dT=fT();const im=Ar(dT);var hi={exports:{}},hT=hi.exports,md;function pT(){return md||(md=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),Ts())})(hT,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(o,s){this._cipher.encryptBlock(o,s)}}),r.Decryptor=r.extend({processBlock:function(o,s){this._cipher.decryptBlock(o,s)}}),r})(),n.mode.ECB})})(hi)),hi.exports}var gT=pT();const mT=Ar(gT);var pi={exports:{}},yT=pi.exports,yd;function wT(){return yd||(yd=1,(function(e,t){(function(n,r,o){e.exports=r(Vt(),om(),sm(),su(),Ts())})(yT,function(n){return(function(){var r=n,o=r.lib,s=o.BlockCipher,i=r.algo,a=[],c=[],l=[],u=[],f=[],p=[],d=[],m=[],y=[],b=[];(function(){for(var h=[],g=0;g<256;g++)g<128?h[g]=g<<1:h[g]=g<<1^283;for(var v=0,T=0,g=0;g<256;g++){var A=T^T<<1^T<<2^T<<3^T<<4;A=A>>>8^A&255^99,a[v]=A,c[A]=v;var I=h[v],O=h[I],S=h[O],k=h[A]*257^A*16843008;l[v]=k<<24|k>>>8,u[v]=k<<16|k>>>16,f[v]=k<<8|k>>>24,p[v]=k;var k=S*16843009^O*65537^I*257^v*16843008;d[A]=k<<24|k>>>8,m[A]=k<<16|k>>>16,y[A]=k<<8|k>>>24,b[A]=k,v?(v=I^h[h[h[S^I]]],T^=h[h[T]]):v=T=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],w=i.AES=s.extend({_doReset:function(){var h;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,v=g.words,T=g.sigBytes/4,A=this._nRounds=T+6,I=(A+1)*4,O=this._keySchedule=[],S=0;S<I;S++)S<T?O[S]=v[S]:(h=O[S-1],S%T?T>6&&S%T==4&&(h=a[h>>>24]<<24|a[h>>>16&255]<<16|a[h>>>8&255]<<8|a[h&255]):(h=h<<8|h>>>24,h=a[h>>>24]<<24|a[h>>>16&255]<<16|a[h>>>8&255]<<8|a[h&255],h^=R[S/T|0]<<24),O[S]=O[S-T]^h);for(var k=this._invKeySchedule=[],E=0;E<I;E++){var S=I-E;if(E%4)var h=O[S];else var h=O[S-4];E<4||S<=4?k[E]=h:k[E]=d[a[h>>>24]]^m[a[h>>>16&255]]^y[a[h>>>8&255]]^b[a[h&255]]}}},encryptBlock:function(h,g){this._doCryptBlock(h,g,this._keySchedule,l,u,f,p,a)},decryptBlock:function(h,g){var v=h[g+1];h[g+1]=h[g+3],h[g+3]=v,this._doCryptBlock(h,g,this._invKeySchedule,d,m,y,b,c);var v=h[g+1];h[g+1]=h[g+3],h[g+3]=v},_doCryptBlock:function(h,g,v,T,A,I,O,S){for(var k=this._nRounds,E=h[g]^v[0],x=h[g+1]^v[1],z=h[g+2]^v[2],X=h[g+3]^v[3],q=4,oe=1;oe<k;oe++){var Z=T[E>>>24]^A[x>>>16&255]^I[z>>>8&255]^O[X&255]^v[q++],ge=T[x>>>24]^A[z>>>16&255]^I[X>>>8&255]^O[E&255]^v[q++],Ve=T[z>>>24]^A[X>>>16&255]^I[E>>>8&255]^O[x&255]^v[q++],K=T[X>>>24]^A[E>>>16&255]^I[x>>>8&255]^O[z&255]^v[q++];E=Z,x=ge,z=Ve,X=K}var Z=(S[E>>>24]<<24|S[x>>>16&255]<<16|S[z>>>8&255]<<8|S[X&255])^v[q++],ge=(S[x>>>24]<<24|S[z>>>16&255]<<16|S[X>>>8&255]<<8|S[E&255])^v[q++],Ve=(S[z>>>24]<<24|S[X>>>16&255]<<16|S[E>>>8&255]<<8|S[x&255])^v[q++],K=(S[X>>>24]<<24|S[E>>>16&255]<<16|S[x>>>8&255]<<8|S[z&255])^v[q++];h[g]=Z,h[g+1]=ge,h[g+2]=Ve,h[g+3]=K},keySize:256/32});r.AES=s._createHelper(w)})(),n.AES})})(pi)),pi.exports}var _T=wT();const iu=Ar(_T);function vT(e){return String(e||"").trim()}function bT(e){return e.startsWith("{")||e.startsWith("[")}function ST(e){return e.startsWith("<!DOCTYPE")||e.startsWith("<html")||e.startsWith("<")}function CT(e){return/^[A-Za-z0-9+/=\r\n]+$/.test(e)&&e.length>=16}function wa(e,t){if(L(e))return"";const n=t?.silent===!0,r=vT(e);if(bT(r))try{return JSON.parse(r)}catch{return null}if(ST(r)||!CT(r))return null;try{let o=zn.parse("thanks,pig4cloud"),s=zn.parse(""),i=ol.parse(r),a=ol.stringify(i),l=iu.decrypt(a,o,{iv:s,mode:mT,padding:lT}).toString(zn);return JSON.parse(l)}catch(o){try{return JSON.parse(r)}catch{return n||console.log("cryptoDecrypt",o),null}}}typeof window<"u"&&(window.cryptoDecrypt=wa);function TT(e,t){const n=typeof e=="string"?e:JSON.stringify(e);try{const r=sl(t+sl(t)).slice(2,18),o=zn.parse("5421698523412578");return iu.encrypt(n,zn.parse(r),{iv:o,padding:im}).toString()}catch(r){console.error("cryptoEncrypt Error->",r)}return n}function RT(e){const t="tgJt2ol!^E)E8(%P",n=zn.parse("5421698523412578");return iu.encrypt(e,zn.parse(t),{iv:n,padding:im}).toString()}function sl(e){return Z0(e).toString()}function s1(e){return L(e)?e:ol.stringify(zn.parse(e))}function L(e){return e==null||e===""||Number.isNaN(e)}async function i1(e){try{await navigator.clipboard.writeText(e)}catch(t){console.log("clipboardå¤å¶å¤±è´¥: ",t);const n=document.createElement("input");n.setAttribute("value",e),document.body.appendChild(n),n.select(),document.execCommand("copy"),n.remove()}}function ET(e,t=6){if(L(e))return null;let n=Math.pow(10,t);return Math.round(e*n)/n}function fs(){try{return window.crypto.randomUUID()}catch{return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}}function am(e){return new Promise(t=>{let n=new Image;n.onload=function(){t(n.width>0&&n.height>0)},n.onerror=function(){t(!1)},n.src=e})}function AT(){return am("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")}function kT(){return am("data:image/avif;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")}function xT(){let e="";try{const t=PT(),n=OT();t?e=sl(t+"|"+n):e=fs()}catch(t){console.log("getDeviceId",t),e=fs()}return e}function PT(){try{const e=document.createElement("canvas"),t=e.getContext("2d");if(!t)return"";const n=`${location.origin} <canvas> 1.0`;return t.textBaseline="top",t.font="14px 'Arial'",t.textBaseline="alphabetic",t.fillStyle="#f60",t.f
4illRect(125,1,62,20),t.fillStyle="#069",t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.7)",t.fillText(n,4,17),e.toDataURL().replace(/^data:image\/(png|jpg);base64,/,"")}catch{return""}}function OT(){const e=[],t=(n,r)=>{try{e.push(`${n}:${r()}`)}catch{e.push(`${n}:unknown`)}};return t("scr",()=>`${screen.width}x${screen.height}x${screen.colorDepth}`),t("dpr",()=>window.devicePixelRatio||1),t("cores",()=>navigator.hardwareConcurrency||"unknown"),t("mem",()=>navigator.deviceMemory||"unknown"),t("tz",()=>new Date().getTimezoneOffset()),t("lang",()=>navigator.language||""),t("plat",()=>navigator.platform||""),t("touch",()=>navigator.maxTouchPoints||0),t("gl",()=>IT()),t("mime",()=>navigator.mimeTypes?.length||0),t("avail",()=>`${screen.availWidth}x${screen.availHeight}`),e.join("|")}function IT(){try{const e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(t&&t instanceof WebGLRenderingContext){const n=t.getExtension("WEBGL_debug_renderer_info");if(n){const r=t.getParameter(n.UNMASKED_VENDOR_WEBGL)||"",o=t.getParameter(n.UNMASKED_RENDERER_WEBGL)||"";return`${r}~${o}`}}}catch{}return"unknown"}function DT(e,t=!1){for(const n in e){const r=e[n];L(r)?delete e[n]:typeof r=="object"&&(DT(r),t&&Object.keys(r).length==0&&delete e[n])}return e}const LT={MODE:"production",VITE_TOKEN:"b2e3d672-9d88-47a7-81b4-9d7ffc62054f"},a1="--",{MODE:NT,VITE_APP_VERSION:UT,VITE_TOKEN:MT}=LT,cm=NT=="production",gi=UT,$T=MT,lm=(function(){return gi&&!/^\d+$/.test(gi)?gi.replace(/^v/i,""):""})();var il=(e=>(e[e.SUCCESS_CODE_0=0]="SUCCESS_CODE_0",e[e.SUCCESS_CODE_1=1]="SUCCESS_CODE_1",e[e.SITE_FROZEN=9111]="SITE_FROZEN",e[e.SITE_MAINTAIN=-3]="SITE_MAINTAIN",e[e.SITE_FROZEN_AND_MAINTAIN=-4]="SITE_FROZEN_AND_MAINTAIN",e))(il||{});const al=[0,1],au=[9111,-3,-4];var wt=(e=>(e[e.OSS_Domain=0]="OSS_Domain",e[e.API_Domain=1]="API_Domain",e[e.WEB_Domain=2]="WEB_Domain",e[e.DW_Site_Domain=3]="DW_Site_Domain",e[e.DW_Site_Domain_Self=4]="DW_Site_Domain_Self",e))(wt||{});const um={0:"/ssocdn.json",1:"/ipacdn.json",2:"/cocos/bewcdn.json",3:"/normal/dscdn.json",4:"/normal/dscdn.txt"};var Un=(e=>(e[e.Normal=0]="Normal",e[e.MainTain=1]="MainTain",e[e.Frozen=2]="Frozen",e[e.AccessRestricted=3]="AccessRestricted",e))(Un||{});const qe="ds";class De{static TOKEN=`${qe}-token`;static ACTIVE_THEME_NAME=`${qe}-active-theme`;static SITE_CONFIG_DATA=`${qe}-config-data`;static SITE_LANGUAGE=`${qe}-language`;static TEMPLATE_DATA=`${qe}-template-data`;static IMAGE_TYPE=`${qe}-image-type`;static DEVICE_ID=`${qe}-device-id`;static PWA_INSTALL=`${qe}-pwa-install`;static PWA_INSTALL_PENDING=`${qe}-pwa-install-pending`;static TARGET_URL=`${qe}-target-url`;static PWA_LOBBY_DOMAIN=`${qe}-lobby-domain`;static SERVICE_TIME=`${qe}-service-time`;static LOBBY_DOMAINS=`${qe}-lobby-domains`;static LOBBY_TOKEN=`${qe}-lobby-token`;static LOBBY_THEME_COLOR=`${qe}-lobby-theme-color`;static CONFIG_OSS_DOMAIN=`${qe}-oss-domain`;static LOBBY_URL_PARAMS=`${qe}-lobby-url-params`}const cl=new Map;function wd(e,t){try{if(typeof localStorage<"u"){t===null?localStorage.removeItem(e):localStorage.setItem(e,t);return}}catch(n){console.log(n)}t===null?cl.delete(e):cl.set(e,t)}function BT(e){try{if(typeof localStorage<"u")return localStorage.getItem(e)}catch(t){console.log(t)}return cl.get(e)??null}const dt=(e,t)=>{L(t)?wd(e,null):wd(e,JSON.stringify(t))},ht=e=>{const t=BT(e);if(L(t))return null;try{return JSON.parse(t)}catch(n){return console.log(n),null}},fm={cache:!0,cacheTime:1e3*60*15},dm=(e,t,n=!0)=>{if(t={...fm,...t},!t.cache)return null;const r=ht(e);if(L(r))return null;try{let o=new Date().getTime();return n&&o-r.updateTime>(t.cacheTime??0)?null:r.data}catch(o){console.log(o)}return null},hm=(e,t,n)=>{if(n={...fm,...n},n.cache&&!L(t)){let r=new Date().getTime();dt(e,{updateTime:r,data:t})}},Bi=(e,t,n=!0)=>dm(e,t,n),pm=(e,t,n)=>{hm(e,t,n)};function gm(e){if(e==null||typeof e!="object")return e;const t={...e};return delete t.apiDomain,delete t.siteResourceDomain,delete t.imageCdnDomain,delete t.siteBucketSwitchStatus,delete t.ossDomain,delete t.webBucket,delete t.fastOssDomain,delete t.selectedImageCdnDomain,delete t.publicAssetDomain,t}const mm=()=>gm(dm(De.SITE_CONFIG_DATA,void 0,!1)),ds=e=>hm(De.SITE_CONFIG_DATA,gm(e)),HT=()=>ht(De.IMAGE_TYPE),FT=e=>dt(De.IMAGE_TYPE,e),ym=()=>{const e=ht(De.DEVICE_ID);return e=="iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYA"?null:e},WT=e=>dt(De.DEVICE_ID,e);function wm(e){const t=String(e||"").trim().toLowerCase();return L(t)?De.PWA_INSTALL:`${De.PWA_INSTALL}:${t}`}const c1=e=>ht(wm(e))==1,l1=(e=1,t)=>dt(wm(t),e);function Hi(e){const t=String(e||"").trim().toLowerCase();return L(t)?De.PWA_INSTALL_PENDING:`${De.PWA_INSTALL_PENDING}:${t}`}const u1=e=>{const t=ht(Hi(e));
4return t==1||t?.pending==1},f1=e=>{const t=ht(Hi(e));return Number(t?.startedAt||0)},d1=(e=1,t,n)=>e==null?dt(Hi(t),null):dt(Hi(t),{pending:e,startedAt:n||Date.now()}),h1=()=>ht(De.PWA_LOBBY_DOMAIN),p1=e=>dt(De.PWA_LOBBY_DOMAIN,e),g1=()=>ht(De.LOBBY_DOMAINS),m1=e=>dt(De.LOBBY_DOMAINS,e),y1=()=>ht(De.LOBBY_TOKEN),w1=e=>dt(De.LOBBY_TOKEN,e),_1=()=>ht(De.LOBBY_THEME_COLOR),v1=e=>dt(De.LOBBY_THEME_COLOR,e),KT=e=>{const{time:t,times:n=0}=ht(De.SERVICE_TIME)??{};return t!=e?(_d({time:e,times:0}),!1):(_d({time:e,times:n+1}),n>2)},_d=e=>dt(De.SERVICE_TIME,e),jT=()=>ht(De.CONFIG_OSS_DOMAIN),vd=e=>dt(De.CONFIG_OSS_DOMAIN,e),b1=e=>ht(e)==1,S1=e=>dt(e,1),C1=()=>ht(De.LOBBY_URL_PARAMS),T1=e=>dt(De.LOBBY_URL_PARAMS,e);let ll=null;function R1(){const e=ll;return ll=null,e}async function ul(e=!1,t=!0,n="unknown"){const r=Cr("/api/agent/downloadSite/regionAccessV2");try{let o=await Zn().post(r,null,{cacheCodes:[...al,...au],cacheConfig:{cache:t},debugLabel:n,debugExtra:{side:typeof window>"u"?"SSR":"CSR",checkCache:e,cache:t,locale:Er().getLocale(),siteCode:Re().getResolvedSiteCode()}});if(o?.time){const{time:s}=o,i=KT(s);if(e&&i)return await ul(!1,!1,`${n}:retry-no-cache`)}return ll=o?.data?.isAccess===!1?o:null,o??null}catch{if(typeof window<"u"&&!String(n||"").includes(":retry-domain-sync"))try{return await Re().syncDomainsOnClient({force:!0}),await ul(e,t,`${n}:retry-domain-sync`)}catch{}}return null}function wo(e){return new URL(globalThis.location.href)}const VT="$s";function mn(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=VT+n,s=je(),i=cp(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(Le(a))return s.payload.state[o]=a,a;i.value=a}return i}const _m="__UNION_TRACE_ID__",fl="union-trace-id",qT="x-union-trace-id",zT="hydrated-trace-warn-queue",GT="hydrated-request-site-code";function ye(e){return String(e||"").trim()}function Kr(e){return ye(e).replace(/\/+$/,"")}function bd(e){const t=ye(e);return/^\d+$/.test(t)?t:""}function Xn(...e){for(const t of e){if(Array.isArray(t)){const o=Xn(...t);if(o)return o;continue}const n=ye(t);if(!n)continue;const r=n.split(",")[0]?.trim();if(r)return r}return""}function kr(){try{const e=void 0,t=e?.request?.headers,n=e?.node?.req?.headers;return{getHeader:o=>{const s=o.toLowerCase();return Xn(t?.get?.(o),t?.get?.(s),n?.[s],n?.[o])}}}catch{return{getHeader:()=>""}}}function YT(){const{getHeader:e}=kr();return Xn(bd(e("x-sitecode")),bd(e("x-site-code")))}function JT(){try{const e=wo(),t=ye(e.pathname);if(!t.startsWith("/common/store")||/\.[a-z0-9]+$/i.test(t))return!1;const{getHeader:n}=kr(),r=ye(n("sec-fetch-mode")).toLowerCase(),o=ye(n("sec-fetch-dest")).toLowerCase();if(r==="navigate"||o==="document")return!0;const s=ye(n("accept")).toLowerCase();return!s||s.includes("text/html")||s.includes("application/xhtml+xml")}catch{return!1}}function Sd(e,t){const n=String(e||"").trim(),r=ye(t);if(!n||!r)return"";const o=n.split(";").map(s=>s.trim()).find(s=>s.startsWith(`${r}=`));return o?ye(decodeURIComponent(o.slice(r.length+1))):""}function QT(){const{getHeader:e}=kr();return Xn(e("x-client-proto"),e("x-forwarded-proto"),e("x-forwarded-protocol"),e(":scheme"))}function vm(){const{getHeader:e}=kr();return Xn(e("x-client-host"),e("x-forwarded-host"),e("host"),e(":authority"))}function bm(){if(typeof location<"u")return{side:"client",resolvedOrigin:Kr(location.origin),resolvedHost:ye(location.host),resolvedHref:ye(location.href),source:"location"};const{getHeader:e}=kr(),t=e("x-client-proto"),n=e("x-client-host"),r=e("x-forwarded-proto"),o=e("x-forwarded-host"),s=e("host"),i=e(":authority"),a=(()=>{try{return wo()}catch{return null}})(),c=Kr(a?.origin),l=Xn(t,r,e("x-forwarded-protocol"),e(":scheme")),u=Xn(n,o,s,i,a?.host),f=l&&u?Kr(`${l}://${u}`):c;let p="fallback:request-url";return t&&n?p="x-client-*":r&&o?p="x-forwarded-*":(s||i)&&(p="host-header"),{side:"server",source:p,xClientProto:t,xClientHost:n,forwardedProto:r,forwardedHost:o,host:s,authority:i,requestUrlOrigin:c,requestUrlHost:ye(a?.host),resolvedProtocol:l,resolvedHost:u,resolvedOrigin:f}}function XT(){if(typeof location<"u")return ye(location.host);const e=vm();if(e)return e;try{return ye(wo().host)}catch{return""}}function Ue(){if(typeof location<"u")return Kr(location.origin);const e=QT(),t=vm();if(e&&t)return Kr(`${e}://${t}`);try{return Kr(wo().origin)}catch{return""}}function ZT(){try{const e=mn(GT,()=>"");
4if(typeof window>"u"){const t=YT();return t&&(e.value=t),t||ye(e.value)}return ye(e.value)}catch{return""}}function Sm(){if(typeof location<"u")return ye(location.href);try{const e=wo(),t=Ue();return t?`${t}${e.pathname}${e.search}${e.hash}`:ye(e.href)}catch{return""}}function so(e){const t=ye(e);if(!t)return"";try{return ye(typeof location<"u"?new URLSearchParams(location.search).get(t):wo().searchParams.get(t))}catch{return""}}function eR(){return typeof window>"u"?"":ye(window[_m])}function Ze(){const e=eR()||Sd(typeof document<"u"?document.cookie:"",fl);if(e)return e;try{const n=(void 0)?.context??null,r=ye(n?.__unionTraceId||"");if(r)return r;const{getHeader:o}=kr(),s=o("cf-ray");if(JT()&&s)return n&&(n.__unionTraceId=s),s;const i=Xn(o(qT),Sd(o("cookie"),fl),s);return n&&i&&(n.__unionTraceId=i),i}catch{return""}}function rt(){const e=Ze();return e?`[${e}]`:""}function E1(e){const t=ye(e);!t||typeof window>"u"||(window[_m]=t,typeof document<"u"&&(document.cookie=`${fl}=${encodeURIComponent(t)}; path=/; SameSite=Lax`))}function A1(){try{const e=mn(zT,()=>[]),t=[...e.value];return e.value=[],t}catch{return[]}}function tR(){if(typeof location<"u")return{cfRay:"",colo:"",country:"",asn:"",asOrganization:"",httpProtocol:"",tlsVersion:"",clientTcpRtt:"",clientQuicRtt:"",cfConnectingIp:"",trueClientIp:"",xForwardedFor:"",xRealIp:"",userAgent:ye(typeof navigator<"u"?navigator.userAgent:"")};try{const e=void 0,{getHeader:t}=kr(),n=e?.context?.cloudflare??null,r=n?.request?.cf??n?.cf??null;return{cfRay:t("cf-ray"),colo:ye(r?.colo)||t("x-internal-dispatch-cf-colo"),country:ye(r?.country)||t("x-internal-dispatch-cf-country"),asn:ye(r?.asn)||t("x-internal-dispatch-cf-asn"),asOrganization:ye(r?.asOrganization)||t("x-internal-dispatch-cf-as-organization"),httpProtocol:ye(r?.httpProtocol)||t("x-internal-dispatch-cf-http-protocol"),tlsVersion:ye(r?.tlsVersion)||t("x-internal-dispatch-cf-tls-version"),clientTcpRtt:ye(r?.clientTcpRtt)||t("x-internal-dispatch-cf-client-tcp-rtt"),clientQuicRtt:ye(r?.clientQuicRtt)||t("x-internal-dispatch-cf-client-quic-rtt"),cfConnectingIp:t("cf-connecting-ip"),trueClientIp:t("true-client-ip"),xForwardedFor:t("x-forwarded-for"),xRealIp:t("x-real-ip"),userAgent:t("user-agent")}}catch{return{cfRay:"",colo:"",country:"",asn:"",asOrganization:"",httpProtocol:"",tlsVersion:"",clientTcpRtt:"",clientQuicRtt:"",cfConnectingIp:"",trueClientIp:"",xForwardedFor:"",xRealIp:"",userAgent:""}}}const xo={time:+new Date,data:null};function Cm(e){const t=String(Ue()||"").trim().replace(/\/+$/,""),n=e.startsWith("/")?e:`/${e}`;return t?`${t}${n}`:n}async function nR(){const e=+new Date;if(xo.data&&e-xo.time<1e3*60*2)return xo.data;try{const t=Cm("/cocos/maintain-time.json"),n=await Zn().get(t,{t:e},{cacheConfig:{cache:!1}});return xo.time=e,xo.data=n,n}catch(t){console.log(t)}return null}async function k1(){try{const e=Cm("/cocos/maintain-time-default.json");return await Zn().get(e)}catch(e){console.log(e)}return null}function rR(){const e=Bt({show:!1}),t=o=>{e.show=o};return{open:o=>{Object.assign(e,o),t(!0)},close:()=>t(!1),state:e,toggle:t}}function oR(e,t=document.body){const n=ag(e),r=document.createElement("div");return t.appendChild(r),{instance:n.mount(r),unmount(){n.unmount(),t.removeChild(r)}}}var yn=(e=>(e.Default="default",e.Success="success",e.Warn="warn",e))(yn||{});const sR={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"};function iR(e,t){return $e(),qn("svg",sR,[...t[0]||(t[0]=[Tn("path",{fill:"#fff",d:"M0 0h20v20H0z",opacity:".02"},null,-1),Tn("path",{fill:"#5cbe2b",d:"M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9m5.115 6.829-5.648 6.405a1.04 1.04 0 0 1-.72.349H8.68a1.03 1.03 0 0 1-.694-.263l-3.022-2.681a1.048 1.048 0 0 1 1.391-1.568L8.6 12.055l4.959-5.625a1.048 1.048 0 1 1 1.571 1.388Z"},null,-1)])])}const aR={render:iR},cR={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"};function lR(e,t){return $e(),qn("svg",cR,[...t[0]||(t[0]=[Tn("path",{fill:"#fff",d:"M0 0h20v20H0z",opacity:".02"},null,-1),Tn("path",{fill:"#ea4e3d",d:"M1 10a9.01 9.01 0 0 1 9-9 9.01 9.01 0 0 1 9 9 9.01 9.01 0 0 1-9 9 9.01 9.01 0 0 1-9-9m1.8 0a7.21 7.21 0 0 0 7.2 7.2 7.21 7.21 0 0 0 7.2-7.2A7.21 7.21 0 0 0 10 2.8 7.21 7.21 0 0 0 2.8 10m6.561 4.239a.94.94 0 0 1-.262-.638.94.94 0 0 1 .262-.639.95.95 0 0 1 .638-.261.95.95 0 0 1 .639.261.95.95 0 0 1 .262.639.95.95 0 0 1-.262.638.9.9 0 0 1-.639.25.9.9 0 0 1-.638-.25M9.099 10.9V6.4a.9.9 0 0 1 .9-.9.9.9 0 0 1 .9.9v4.5a.9.9 0 0 1-.9.9.9.9 0 0 1-.899-.9Z","data-name":"Union 40"},null,-1)])])}const uR={render:lR},fR=["textContent"],dR={key:1,class:"tip text-success hcenter"},hR={class:"flex-con"},pR={key:2,class:"tip text-warn hcenter"},gR={class:"flex-con"},mR=Rr({name:"CGTip",__name:"index",props:{type:{default:yn.Default},text:{default:""}},setup(e){const t=e;return(n,r)=>t.type==pe(yn).Default?($e(),qn("div",{key:0,class:"tip hcenter text-placeholder",textContent:jo(t.text)},null,8,fR)):t.type==pe(yn).Success?($e(),qn("div",dR,[Ju(n.$slots,"default",{},()=>[Ie(pe(aR),{class:"svg-icon tip-icon"}),Tn("div",hR,jo(t.text),1)],!0)])):t.type==pe(yn).Warn?($e(),qn("div",pR,[Ju(n.$slots,"default",{},()=>[Ie(pe(uR),{class:"svg-icon tip-icon"}),Tn("div",gR,jo(t.text),1)],!0)])):Qp("",!0)}}),cu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},yR=cu(mR,[["__scopeId","data-v-2901e942"]]),wR={key:0,class:"toast-warp vhcenter"},_R=4e3,vR=Rr({name:"CGToast",__name:"index",props:{show:{type:Boolean,default:!1},type:{default:yn.Default},message:{default:""}},emits:["closed","update:show"],setup(e,{emit:t}){const n=t;let r=null;const o=e,s=()=>{i(),r=setTimeout(()=>{n("update:show",!1),setTimeout(()=>{n("closed")},400)},_R)},i=()=>{r&&(clearTimeout(r),r=null)};return Vn(()=>[o.message,o.type],()=>{s()}),mo(()=>{i()}),(a,c)=>{const l=yR;return $e(),Rt(og,{name:"modal"},{default:Bl(()=>[o.show?($e(),qn("div",wR,[Tn("div",{class:_s(["modal-container","toast-"+o.type])},[o.type==pe(yn).Default?($e(),qn(ze,{key:0},[Jl(jo(o.message),1)],64)):($e(),Rt(l,{key:1,class:"toast-tip",text:o.message,type:o.type},null,8,["text","type"]))],2)])):Qp("",!0)]),_:1})}}}),bR=cu(vR,[["__scopeId","data-v-1523d865"]]);let jr=null;function SR(){if(jr)return jr;const{instance:e,unmount:t}=oR({setup(n,{expose:r}){const{open:o,state:s,close:i,toggle:a}=rR(),c=()=>{t(),jr=null},l=()=>Ie(bR,Xp(s,{onClosed:c,"onUpdate:show":a}),null);return r({open:o,close:i,toggle:a}),l}});return e}function Fi(e){return jr=SR(),jr.open(typeof e=="string"?{message:e}:e),jr}function x1(e){return Fi({type:yn.Success,message:e})}function CR(e){return Fi({type:yn.Warn,message:e})}const tc="/";function Cd(e){const t=String(e||"").trim();return!t||!t.startsWith("/")?"":t.endsWith("/")?t:`${t}/`}function _o(){if(typeof window>"u")return tc;const e=Cd(window.__MOUNT_ROOT__||"");if(e)return e;try{return Cd(new URL(".",document.baseURI).pathname)||tc}catch{return tc}}function Sr(e){return`${_o()}${String(e||"").replace(/^\/+/,"")}`}function En(){return typeof window>"u"?!1:typeof window.__MOUNT_ROOT__=="string"}function TR(e){const t=String(e||"").replace(/^\/+/,"");return En()?Sr(t):`/${t}`}function P1(e){const t=_o(),n=String(e||"");return n===t||n===t.replace(/\/$/,"")||n.startsWith(t)}function RR(){function e(t,n){return Er().$t(t,n)}return{title:e("common.title"),back:e("common.back"),loadingError:e("common.loadingError")}}function ER(){return String(Ue()||"").trim().replace(/\/+$/,"")}var Tm=(e=>(e.H5="h5",e.PWA="pwa",e))(Tm||{}),Rm=(e=>(e.LOBBY="lobby",e.DWSITE="dwsite",e))(Rm||{}),AR=(e=>(e.QuickInstall="quick_install",e.RewardInstall="reward_install",e))(AR||{}),Em=(e=>(e.CloakRouteDecision="CloakRouteDecision",e.PwaPreDownload="PwaPreDownload",e.P
4waDownload="PwaDownload",e.PwaDownloadBySystem="PwaDownloadBySystem",e.PwaSupport="PwaSupport",e.PwaInstallSucceed="PwaInstallSucceed",e.PwaDownloadApp="PwaDownloadApp",e.PwaInstallClick="PwaInstallClick",e.PwaRewardInstallExpose="PwaRewardInstallExpose",e.PwaRewardInstallClick="PwaRewardInstallClick",e.SpeedTestNoSiteCode="SPEED_TEST_NO_SITECODE",e))(Em||{});const kR=[{address:"https://apiup-cf.cbfes.com/sa?project=default",allowSites:["024","025","419","032","033","105","5001","local"]},{address:"https://apiup-cf.cbfes.com/sa?project=production",allowSites:["1757","9007"]}];function Rs(){return typeof document<"u"&&!!document.head}function _a(e){return e!=null&&typeof e=="object"}const O1=e=>{if(!_a(e)||!Rs())return;const{title:t,lang:n,link:r,meta:o}=e;n!=null&&(document.documentElement.lang=n?.toUpperCase()),t!==void 0&&(document.title=t),(Array.isArray(r)?r:[]).forEach(s=>{OR(s)}),(Array.isArray(o)?o:[]).forEach(s=>{PR(s)})},xR=1e3*5;async function I1(e){if(L(e)||!Rs())return;const t=n=>{const r={"&":"&","<":"<",">":">",""":'"',"'":"'"};return n.replace(/&|<|>|"|'/g,o=>r[o])};try{const n=t(e),r=document.createRange().createContextualFragment(n).children,s=Array.prototype.slice.call(r).map(i=>()=>new Promise(a=>{if(i.innerHTML?.replace(/\s/g,"")){document.head.appendChild(i),a("");return}let c;const l=()=>{clearTimeout(c),i.removeEventListener("load",l),i.removeEventListener("error",l),a("")};c=setTimeout(l,xR),i.addEventListener("load",l),i.addEventListener("error",l),document.head.appendChild(i)}));if(s.length)for(const i of s)await i();else{const i=document.createElement("script");i.text=e,i.type="text/javascript",document.head.appendChild(i)}}catch(n){console.log(n)}}const PR=e=>{if(!_a(e)||!Rs())return;let t=e.name!==void 0?"name":"property",n=e.name??e.property;if(L(n))return;let r=document.head.querySelector(`meta[${t}='${n}']`);if(L(e.content)){r&&document.head.contains(r)&&document.head.removeChild(r);return}r||(r=document.createElement("meta"),r.setAttribute(t,n),document.head.appendChild(r)),r.content=e.content??""},OR=e=>{if(!_a(e)||!Rs()||L(e.rel))return;let t=e.sizes?`link[rel='${e.rel}'][sizes='${e.sizes}']`:`link[rel='${e.rel}']`,n=document.querySelector(t);if(L(e.href)){n&&document.head.contains(n)&&document.head.removeChild(n);return}const r=document.createElement("link");r.rel=e.rel,e.sizes&&(r.sizes=e.sizes),r.href=e.href,n?document.head.replaceChild(r,n):document.head.appendChild(r)};function IR(e){return new Promise(t=>{if(!_a(e)||!Rs()||L(e.id)||L(e.src)){t(!1);return}const n=document.createElement("script");n.id=e.id,n.type="text/javascript",n.defer=!0,n.onload=function(){t(!0)},n.onerror=function(){t(!1)},n.src=e.src,document.head.appendChild(n)})}function DR(){return IR({id:"script-Sensors",src:TR("sensorsdata.min.js")})}function LR(e,t){e.init({server_url:t?.address,is_track_single_page:!0,use_client_time:!0,send_type:"beacon",heatmap:{clickmap:"default",scroll_notice_map:"not_collect"}})}function NR(e,t){const{cid:n,id:r,fbclid:o}=Kt();e.registerPage({pageType:"B",platform:Tm.H5,version:lm,siteCode:t,uuid:ym(),userAgent:typeof navigator<"u"?navigator.userAgent.toLowerCase():"",webPageType:Rm.DWSITE,...n&&{cid:n},...r&&{dlid:r},language:navigator.language,...o&&{fbclid:o}})}class UR{initialized=!1;loading=!1;pendingQueue=[];async initialize(){if(this.initialized||this.loading)return;const t=Re();let n=t.getResolvedSiteCode();L(n)&&(await t.initConfigData(),n=t.getResolvedSiteCode());const r=kR.find(o=>o.allowSites.includes(n));if(!L(r)){this.loading=!0;try{if(!await DR())return;const s=this.getSensors();LR(s,r),NR(s,n),s.quick("autoTrack"),this.initialized=!0,this.flushPendingQueue()}finally{this.loading=!1}}}report(t,n){if(this.initialized){const r=this.getSensors();r.quick("isReady",()=>{r.track(t,{...n})})}else this.pendingQueue.push({trackName:t,data:n}),this.initialize()}getSensors(){return window.sensorsDataAnalytic201505}flushPendingQueue(){this.pendingQueue.splice(0).forEach(n=>this.report(n.trackName,n.data))}}const MR=new UR;function $R(e){return Promise.any?Promise.any(e):new Promise((t,n)=>{const r=[];let o=0;e.forEach((s,i)=>{Promise.resolve(s).then(t,a=>{r[i]=a,o++,o===e.length&&n(new AggregateError(r,"All promises were rejected"))})})})}function BR(e){return Promise.race?Promise.race(e):new Promise((t,n)=>{for(const r of e)Promise.resolve(r).then(t,n)})}const hs=99999,Bn={};function HR(e){return e.endsWith(".json")?e.replace(/\.json$/,".txt"):e}function FR(e){return[e?.current,...Array.isArray(e?.history)?e.history:[]].map(n=>
4String(n??"").trim()).filter(Boolean)}function WR(e,t,n){console.warn("[speed-test] missing siteCode, bypass domain check",{domain:e,type:t,url:n}),MR.report(Em.SpeedTestNoSiteCode,{domain:e,type:t,url:n})}function dl(e,t){const n=+new Date;Bn[e]={time:n-t,updateTime:n}}async function lu(e,t,n=!1){const r=+new Date;let o=!1;if(t===wt.DW_Site_Domain&&window&&window.isStatic&&_o()==="/"?o=await Am(e,wt.DW_Site_Domain_Self,r):o=await KR(e,t,r),o)return{domain:e};if(t==wt.WEB_Domain&&n)return lu(e,wt.DW_Site_Domain);throw Bn[e]={time:hs,updateTime:r},new Error(`domain test speed failed -> ${e}`)}async function KR(e,t,n){const r=await jR(e,t,n);return r.kind==="hit"||r.kind==="pass"?!0:r.kind==="miss"?!1:await Am(e,t,n)}async function jR(e,t,n){const r=e+um[t]+`?t=${n}`;try{const o=await Es(r,{mode:"cors",cache:"no-store"});if(!o||!o.ok||o.status===404)return{kind:"fallback"};let s;try{s=await o.json()}catch{return{kind:"fallback"}}const i=FR(s);if(i.length===0)return{kind:"fallback"};const a=Re().getResolvedSiteCode();return L(a)?(WR(e,t,r),dl(e,n),{kind:"pass"}):i.includes(a)?(dl(e,n),{kind:"hit"}):{kind:"miss"}}catch{return{kind:"fallback"}}}async function Am(e,t,n){try{const r=e+HR(um[t])+`?t=${n}`,o=await Es(r,{mode:"cors",cache:"no-store"});if(o&&o.ok&&o.status!=404&&(await o.text()).toLowerCase()=="ok")return dl(e,n),!0}catch{}return!1}async function io(e,t,n=5,r=!1){let o=null;const s=[...e];for(;s.length&&o==null;){const a=s.splice(0,n).map(c=>lu(c,t,r));try{const{domain:c}=await $R(a);c&&(o=c)}catch{}}return o}async function Td(e,t,n=5){const o=+new Date,s=e.filter(i=>{const a=Bn[i];return!(a&&o-a.updateTime<6e5)});for(;s.length;){const a=s.splice(0,n).map(c=>new Promise(l=>{lu(c,t).then(l).catch(l)}));await Promise.all(a)}e.sort(function(i,a){const c=Bn[i]?.time??hs,l=Bn[a]?.time??hs;return c-l}),console.log("sortDomainByCheckTimes",e,Bn)}async function hl(e,t,n=wt.WEB_Domain,r=!0){let o="";const s=e.find(a=>!!a)||"";if(t&&e.includes(t)){if(await io([t],n))return t;o=t,e=e.filter(a=>a!=t)}const i=await io(e,n);return r?i||(o||s):i??(o||void 0)}async function D1(e,t,n=5){let o={domain:null,time:hs};const s=+new Date,i=e.filter(a=>{const c=Bn[a],l=c&&s-c.updateTime<6e5;return l&&c.time<o.time&&(o.domain=a,o.time=c.time),!l});return o.domain=o.domain??await io(i,t,n),o.domain}let mi=null;function km(){return mi||(mi={stages:[],lastPayload:{}}),mi}function xm(){mi={stages:[],lastPayload:{}}}function VR(e,t={}){if(!Pm())return;const n=km(),r=rt();console.warn(r?`${r}[domain-setting][trace][summary]`:"[domain-setting][trace][summary]",{traceId:Ze(),stages:Array.from(new Set([...n.stages,e])),...n.lastPayload,...t}),xm()}function Pm(){return typeof window>"u"?!1:so("_trace")==="1"}function At(e,t={}){if(!Pm())return;e==="init-start"&&xm();const n=km();n.stages.includes(e)||n.stages.push(e),n.lastPayload={...n.lastPayload,...t},(e==="init-merged-bucket-final"||e==="image-cdn-final")&&VR(e,t)}function Wi(e,t){const n=e.filter(o=>!L(o)),r=t||"";return!L(r)&&n.includes(r)?r:n[0]||r}async function Rd(e,t,n={}){const r=n.enableSpeedTest??typeof window<"u",o=n.enableImageSpeedTest??r;t.imageCdnCandidates=Array.from(new Set((e.oss_domain||[]).filter(f=>!L(f))));const s=[],i=[...e.non_ma_domain??e.lobby_domain??[]];t.lobbyDomains?.forEach(f=>{i.includes(f)&&s.push(f)}),t.lobbyDomains=Array.from(new Set([...s,...i])),t.fbackWebDomains=e.fback_domain?.web||[],t.commonOssBucket=e.commonOssBucket,t.siteBucketSwitchStatus=!!e.siteBucketSwitchStatus,At("init-start",{enableSpeedTest:r,isProduct:cm,siteBucketSwitchStatus:!!e.siteBucketSwitchStatus,runtimeOrigin:Ue(),runtimeRequest:bm(),webBucketUrl:e?.web_bucket_url?.[0]||"",downloadDomains:e.download_domain||[],lobbyDomains:t.lobbyDomains||[],oldSiteResourceDomain:t.siteResourceDomain||"",oldImageCdnDomain:t.imageCdnDomain||""});const[a,c]=r?await Promise.all([hl(e.api_domain||[],t.apiDomain,wt.API_Domain,!1),zR(e,t)]):[Wi(e.api_domain||[],t.apiDomain),qR(e,t)];t.apiDomain=a||(r?await hl(e.fback_domain?.api||[],"",wt.API_Domain):Wi(e.fback_domain?.api||[]))||"",At("init-resolved",{apiDomain:t.apiDomain,siteResourceDomain:c,siteBucketSwitchStatus:!!e.siteBucketSwitchStatus});const l=fu(e,t);if(!L(l)&&c===l)return Object.assign(t,{siteResourceDomain:c,imageCdnDomain:c}),At("init-merged-bucket-final",{currentOrigin:l,finalSiteResourceDomain:t.siteResourceDomain||"",finalImageC
4dnDomain:t.imageCdnDomain||""}),ds(t);t.siteResourceDomain=c,At("init-non-merged-before-image-cdn",{finalSiteResourceDomain:t.siteResourceDomain||""});const u=ER();if(u)return t.imageCdnDomain=u,ds(t);await GR(e,t,o)}function uu(e){return String(e.imageCdnDomain||e.siteResourceDomain||"").trim().replace(/\/+$/,"")}function fu(e,t){const n=Ue();return At("merged-bucket-current-origin-check",{isProduct:cm,siteBucketSwitchStatus:!!e.siteBucketSwitchStatus,runtimeOrigin:n,runtimeRequest:bm(),usable:!t.isLocalStatic}),t.isLocalStatic?"":n}function qR(e,t){const n=fu(e,t);if(!L(n))return At("site-resource-without-speed-hit-runtime-origin",{runtimeOrigin:n}),n;const r=$m(e?.web_bucket_url[0]),o=[...e.download_domain||[]];e.siteBucketSwitchStatus&&o.push(...t.lobbyDomains||[]);const s=r!=t.siteResourceDomain&&t.siteResourceDomain||"";if(!L(s)&&o.includes(s))return At("site-resource-without-speed-hit-cache",{fallbackSiteResourceDomain:r,domains:o,oldSiteResourceDomain:s}),s;const i=Wi(o,r);return At("site-resource-without-speed-fallback",{fallbackSiteResourceDomain:r,domains:o,oldSiteResourceDomain:s,resolved:i}),i}async function zR(e,t){const n=fu(e,t);if(!L(n))return At("site-resource-with-speed-hit-runtime-origin",{runtimeOrigin:n}),n;const r=$m(e?.web_bucket_url[0]);let o=[...e.download_domain||[]];e.siteBucketSwitchStatus&&o.push(...t.lobbyDomains||[]);const s=wt.DW_Site_Domain,i=r!=t.siteResourceDomain?t.siteResourceDomain:void 0;if(i&&o.includes(i)){if(await io([i],s))return At("site-resource-with-speed-hit-cache",{fallbackSiteResourceDomain:r,domains:o,oldSiteResourceDomain:i,speedTestType:s}),i;o=o.filter(l=>l!=i)}const a=await io(o,s),c=a||r;return At("site-resource-with-speed-fallback",{fallbackSiteResourceDomain:r,domains:o,oldSiteResourceDomain:i||"",speedTestType:s,speedTestResult:a||"",resolved:c}),c}async function GR(e,t,n=!0){const r=e.oss_domain||[],o=n?await hl(r,"",wt.OSS_Domain,!1):Wi(r,t.imageCdnDomain);t.imageCdnDomain=o||"",At("image-cdn-final",{enableSpeedTest:n,ossDomains:e.oss_domain||[],finalImageCdnDomain:t.imageCdnDomain||""}),ds(t)}function Ed(e){return e?.length?e.every(t=>{const n=Bn[t];return!n||n.time>=hs}):!0}function YR(e){typeof window>"u"||setTimeout(async()=>{if(console.log("[sortLobbyDomain] Webååæµé",e.lobbyDomains??[]),await Td(e.lobbyDomains??[],wt.WEB_Domain),Ed(e.lobbyDomains)&&e.fbackWebDomains?.length){const t=e.fbackWebDomains.filter(n=>!e.lobbyDomains?.includes(n));console.error("[sortLobbyDomain] Webååæµéä¸éè¿ï¼ä½¿ç¨å
åºåå",t),t.length&&(e.lobbyDomains=Array.from(new Set([...e.lobbyDomains,...t])),await Td(t,wt.WEB_Domain),Ed(e.lobbyDomains)?console.error("[sortLobbyDomain] Webå
åºååæµéä¸éè¿",t):console.log("[sortLobbyDomain] Webå
åºååæµééè¿",t))}ds(e)},1e3*2)}function Zo(e){return e==null||String(e).trim()===""}function nc(e){return e?Number.parseInt(e,36).toString():void 0}function Ad(e){if(!e)return{};if(e.includes("$")){const[t,n,r,o]=e.split("$");return{baseCode:nc(t),id:nc(n),currency:r,type:o}}return{baseCode:nc(e)}}function kd(e){const t={...e},n=t.qd?Ad(String(t.qd)):{},r=t.dl?Ad(String(t.dl)):{};Zo(t.cid)&&n.baseCode&&(t.cid=n.baseCode);const o=r.baseCode??r.id;return Zo(t.id)&&o&&(t.id=o),t}function JR(e,t=!0){if(Zo(e))return{};const n=String(e);if(typeof URLSearchParams<"u"){const i=new URLSearchParams(n),a={};for(const[c,l]of i.entries())Zo(l)||(a[c]=l);return t?kd(a):a}const o=(n.startsWith("?")?n.slice(1):n).split("&"),s={};return o.forEach(i=>{const[a,c]=i.split("="),l=decodeURIComponent(a);Zo(c)||(s[l]=decodeURIComponent(c))}),t?kd(s):s}var pl={};const gl="/wsd-images-prod/777jtbdtf7/app_store_template/",xd="/cocos/download/",Pd=["/siteadmin/upload/img/","/siteadmin/download/","/siteadmin/newdownloadpage/downloadpage/img/",gl];function Om(){try{const e=Sm();return e?new URL(e):null}catch{return null}}function du(e){return String(e||"").trim().replace(/\/+$/,"")}function Im(){if(typeof process<"u"&&pl?.DEBUG_TRACE==="1")return!0;try{return so("_trace")==="1"}catch{return!1}}function Vr(e,t){if(!Im()||typeof window>"u")return;const n=rt();console.warn(n?`${n}[resource][trace] ${e}`:`[resource][trace] ${e}`,{traceId:Ze(),...t})}function _r(e){return String(e||"").trim()}function QR(){try{return du(mn("special-image-prefix",()=>"").value)}catch{return""}}function XR(e){const t=String(e||"").trim();if(L(t))return!1;if(t.startsWith("/"))return t.includes(gl);try{return new URL(t.startsWith("//")?`https:${t}`:t).pathname.includes(gl)}catch{return t.includes("wsd-images-prod/777jtbdtf7/app_store_template/")}}function ZR(e){if(XR(e)){const t=QR();if(!L(t))return t}return tE()}function eE(){try{const{siteConfigData:e}=Re();return du(e.siteResourceDomain||uu(e)||Ue())}catch{return Ue()}}function tE(){try{const{siteConfigData:e}=Re();return du(e.imageCdnDomain||e.siteResourceDomain||uu(e)||Ue())}catch{return Ue()}}function Dm(e){const t=String(e||"").trim();if(L(t)||t.startsWith("data:"))return!1;if(t.startsWith("/"))return Pd.some(n=>t.includes(n));try{const n=new URL(t.startsWith("//")?`https:${t}`:t);return Pd.some(r=>n.pathname.includes(r))}catch{return!1}}function Ki(e){const t=String(e||"").trim();if(!Dm(t))return t;const n=ZR(t);if(L(n))return t;if(t.startsWith("/")){const r=`${n}${t}`;return Vr("static-image",{originalSrc:_r(t),rewrittenSrc:r,targetOrigin:n}),r}if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("//")){const r=Mm(n,t.startsWith("//")?`https:${t}`:t);return Vr("static-image",{originalSrc:_r(t),rewrittenSrc:r,targetOrigin:n}),r}return Vr("static-image",{originalSrc:_r(t),rewrittenSrc:t,targetOrigin:n}),t}function Lm(e){const t=String(e||"").trim();return L(t)?t:t.replace(/https?:\/\/[^\s"'<>]+|\/\/[^\s"'<>]+/g,n=>Dm(n)?Ki(n):n)}function nE(e){const t=String(e||"").trim();if(L(t)||t.startsWith("data:"))return!1;if(t.startsWith("/"))return t.includes(xd);try{return new URL(t.startsWith("//")?`https:${t}`:t).pathname.includes(xd)}catch{return!1}}function Fs(e){const t=String(e||"").trim();if(!nE(t))return t;const n=eE();if(L(n))return t;if(t.startsWith("/")){const r=`${n}${t}`;return Vr("download-asset",{originalSrc:_r(t),rewrittenSrc:r,targetOrigin:n}),r}if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("//")){const r=Mm(n,t.startsWith("//")?`https:${t}`:t);return Vr("download-asset",{originalSrc:_r(t),rewrittenSrc:r,targetOrigin:n}),r}return Vr("download-asset",{originalSrc:_r(t),rewrittenSrc:t,targetOrigin:n}),t}function L1(e){return _r(e)}function va(e,t){const n=Om(),r=n?.origin||`http://127.0.0.1:${pl.NITRO_PORT||pl.PORT||3e3}`,o=typeof window<"u"?window.location.href:n?.href||"http://localhost/",s=typeof window<"u"?window.location.origin:r,i=L(e)?o:e;if(!t||Object.keys(t).length<1)return i;try{const a=new URL(i,s);for(let c in t){let l=t[c];L(l)?a.searchParams.delete(c):a.searchParams.set(c,l)}return a.toString()}catch(a){console.log(a)}return i}function Kt(e,t=!0){const n=Om(),r=e??(typeof window<"u"?window.location.search:n?.search||"");return L(r)?{}:JR(r,t)}function Nm(e){const t=Lm(e??"");if(!t)return"";let n=16;if(typeof window<"u"&&typeof document<"u")try{const r=window.getComputedStyle(document.documentElement,null),o=parseFloat(r.getPropertyValue("font-size").replace("px",""));Number.isFinite(o)&&o>0&&(n=o)}catch{}return t.replace(/(\d+(\.\d+)?)px/g,function(r,o){let s=Math.ceil(parseFloat(o));return s>=14&&(s-=2),`${ET(s/n)}rem`})}function ps(e){return e?e.includes("://")?e:`https://${e}`:""}function hu(e){if(L(e.href))return;const t=e.noPreFix?e.href:ps(e.href),n=()=>
4{if(e.target=="_blank"){window.open(t,"_blank");return}window.location.href=t};if(e.immediate?n():setTimeout(n,300),Im()){const r=rt();console.warn(r?`${r}[openLink][trace]`:"[openLink][trace]",{traceId:Ze(),...e,immediate:!!e.immediate,resolvedHref:t})}}function N1(e){hu({...e,immediate:!0})}function U1(e){if(L(e.href))return;const t=document.createElement("a");t.href=e.noPreFix?e.href:ps(e.href),t.target=e.target||"_self",setTimeout(()=>{document.body.appendChild(t),t.click(),document.body.removeChild(t)},300)}function Um(e){const t=ps(e.href)||window.location.href;try{const{origin:n,pathname:r,search:o}=new URL(t??""),s=Kt(o,!1);return va(n+r,{languageCode:Er().getLocale(),...Kt(void 0,!1),...s,...e.searchParams})}catch(n){console.log(n)}return t}function M1(e){e.href=Um(e),hu(e)}function Mm(e,t){try{let n=new URL(e),r=new URL(t);return r.href.replace(r.origin,n.origin)}catch(n){console.log(n)}return t}function rE(e=8,t=16){const n=Math.floor(Math.random()*(t-e+1))+e,r="abcdefghijklmnopqrstuvwxyz0123456789";let o="";for(let s=0;s<n;s++)o+=r.charAt(Math.floor(Math.random()*r.length));return o}function ji(e){return L(e)?"":e.replace("*.",`${rE()}.`)}function $m(e){if(L(e))return"";try{return new URL(e).origin}catch(t){console.log(t)}return""}function $1(e,t=!0){return new Promise(n=>{try{let r=null;if(t){let a=document.createElement("iframe");a.style.height="0",a.src=e,setTimeout(()=>{document.body.appendChild(a)},200)}else hu({href:e,target:"_self",noPreFix:!0});const o=setTimeout(()=>{s(),n(!1)},1500),s=()=>{r&&document.body.removeChild(r),r=null},i=()=>{clearTimeout(o),s(),n(!0)};document.addEventListener("visibilitychange",()=>document.visibilityState==="hidden"&&i(),{once:!0}),window.addEventListener("blur",i,{once:!0})}catch(r){console.log("browserWakeUpApp",r),n(!1)}})}const oE=ya(()=>{let e=[],t=[],n=!0,r=!0;function o(l,u,f){const p={fn:u,args:f};p.uniKey=JSON.stringify(p),l.findIndex(m=>p.uniKey==m.uniKey)>-1||(l.push(p),c())}function s(l,u){o(e,l,u)}function i(l,u){o(t,l,u)}async function a(){const l=t.shift()??e.shift();if(!l){r=!0;return}typeof l.fn=="function"&&await l.fn(l.args),setTimeout(a,500)}function c(){r&&(r=!1,setTimeout(a,n?1e3*4:1e3),n=!1)}return{addTask:s,addMainTask:i}});var sE="2.0.3",ml=500,Od="user-agent",ao="",Id="?",Vi="function",Hn="undefined",co="object",yl="string",it="browser",hn="cpu",Zt="device",Dt="engine",Tt="os",qr="result",H="name",D="type",$="vendor",V="version",at="architecture",gs="major",M="model",Ho="console",fe="mobile",Ce="tablet",Be="smarttv",Gt="wearable",rc="xr",Fo="embedded",Po="inapp",pu="brands",ur="formFactors",gu="fullVersionList",zr="platform",mu="platformVersion",ba="bitness",er="sec-ch-ua",iE=er+"-full-version-list",aE=er+"-arch",cE=er+"-"+ba,lE=er+"-form-factors",uE=er+"-"+fe,fE=er+"-"+M,Bm=er+"-"+zr,dE=Bm+"-version",Hm=[pu,gu,fe,M,zr,mu,at,ur,ba],Ws="Amazon",Ir="Apple",Dd="ASUS",Ld="BlackBerry",ir="Google",Nd="Huawei",Ud="Lenovo",Md="Honor",Ks="LG",oc="Microsoft",sc="Motorola",ic="Nvidia",$d="OnePlus",ac="OPPO",Oo="Samsung",Bd="Sharp",Io="Sony",cc="Xiaomi",lc="Zebra",Hd="Chrome",Fd="Chromium",In="Chromecast",hE="Edge",Do="Firefox",Lo="Opera",uc="Facebook",Wd="Sogou",Dr="Mobile ",No=" Browser",wl="Windows",pE=typeof window!==Hn,ct=pE&&window.navigator?window.navigator:void 0,Mn=ct&&ct.userAgentData?ct.userAgentData:void 0,gE=function(e,t){var n={},r=t;if(!qi(t)){r={};for(var o in t)for(var s in t[o])r[s]=t[o][s].concat(r[s]?r[s]:[])}for(var i in e)n[i]=r[i]&&r[i].length%2===0?r[i].concat(e[i]):e[i];return n},Sa=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},_l=function(e,t){if(typeof e===co&&e.length>0){for(var n in e)if(wn(e[n])==wn(t))return!0;return!1}return vo(e)?wn(t).indexOf(wn(e))!==-1:!1},qi=function(e,t){for(var n in e)return/^(browser|cpu|device|engine|os)$/.test(n)||(t?qi(e[n]):!1)},vo=function(e){return typeof e===yl},fc=function(e){if(e){for(var t=[],n=lo(/\\?\"/g,e).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var o=ms(n[r]).split(";v=");t[r]={brand:o[0],version:o[1]}}else t[r]=ms(n[r]);return t}},wn=function(e){return vo(e)?e.toLowerCase():e},dc=function(e){return vo(e)?lo(/[^\d\.]/g,e).split(".")[0]:void 0},_n=function(e){for(var t in e){var n=e[t];typeof n==co&&n.length==2?this[n[0]]=n[1]:this[n]=void 0}return this},lo=function(e,t){return vo(t)?t.replace(e,ao):t},Uo=function(e){return lo(/\\?\"/g,e)},ms=function(e,t){if(vo(e))return e=lo(/^\s\s*/,e),typeof t===Hn?e:e.substring(0,ml)},hc=function(e,t){if(!(!e||!t))for(var n=0,r,o,s,i,a,c;n<t.length&&!a;){var l=t[n],u=t[n+1];for(r=o=0;r<l.length&&!a&&l[r];)if(a=l[r++].exec(e),a)for(s=0;s<u.length;s++)c=a[++o],i=u[s],typeof i===co&&i.length>0?i.length===2?typeof i[1]==Vi?this[i[0]]=i[1].call(this,c):this[i[0]]=i[1]:i.length===3?typeof i[1]===Vi&&!(i[1].exec&&i[1].test)?this[i[0]]=c?i[1].call(this,c,i[2]):void 0:this[i[0]]=c?c.replace(i[1],i[2]):void 0:i.length===4&&(this[i[0]]=c?i[3].call(this,c.replace(i[1],i[2])):void 0):this[i]=c||void 0;n+=2}},$n=function(e,t){for(var n in t)if(typeof t[n]===co&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(_l(t[n][r],e))return n===Id?void 0:n}else if(_l(t[n],e))return n===Id?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},Kd={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},jd={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Vd={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[V,[H,Dr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[V,[H,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[H,V],[/opios[\/ ]+([\w\.]+)/i],[V,[H,Lo+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[V,[H,Lo+" GX"]],[/\bopr\/([\w\.]+)/i],[V,[H,Lo]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[V,[H,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[V,[H,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[H,V],[/quark(?:pc)?\/([-\w\.]+)/i],[V,[H,"Quark"]],[/\bddg\/([\w\.]+)/i],[V,[H,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[V,[H,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[V,[H,"WeChat"]],[/konqueror\/([\w\.]+)/i],[V,[H,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[V,[H,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[V,[H,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[V,[H,"Smart "+Ud+No]],[/(avast|avg)\/([\w\.]+)/i],[[H,/(.+)/,"$1 Secure"+No],V],[/\bfocus\/([\w\.]+)/i],[V,[H,Do+" Focus"]],[/\bopt\/([\w\.]+)/i],[V,[H,Lo+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[V,[H,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[V,[H,"Dolphin"]],[/coast\/([\w\.]+)/i],[V,[H,Lo+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[V,[H,"MIUI"+No]],[/fxios\/([\w\.-]+)/i],[V,[H,Dr+Do]],[/\bqihoobrowser\/?([\w\.]*)/i],[V,[H,"360"]],[/\b(qq)\/([\w\.]+)/i],[[H,/(.+)/,"$1Browser"],V],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[H,/(.+)/,"$1"+No],V],[/samsungbrowser\/([\w\.]+)/i],[V,[H,Oo+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[V,[H,Wd+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[H,Wd+" Mobile"],V],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[H,V],[/(lbbrowser|rekonq)/i],[H],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[V,H],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[H,uc],V,[D,Po]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[H,V,[D,Po]],[/\bgsa\/([\w\.]+) .*safari\//i],[V,[H,"GSA"],[D,Po]],[/musical_ly(?:.
4+app_?version\/|_)([\w\.]+)/i],[V,[H,"TikTok"],[D,Po]],[/\[(linkedin)app\]/i],[H,[D,Po]],[/(chromium)[\/ ]([-\w\.]+)/i],[H,V],[/headlesschrome(?:\/([\w\.]+)| )/i],[V,[H,Hd+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[H,Hd+" WebView"],V],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[V,[H,"Android"+No]],[/chrome\/([\w\.]+) mobile/i],[V,[H,Dr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[H,V],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[V,[H,Dr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[H,Dr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[V,H],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[H,[V,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[H,V],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[H,Dr+Do],V],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[H,"Netscape"],V],[/(wolvic|librewolf)\/([\w\.]+)/i],[H,V],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[V,[H,Do+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[H,[V,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[H,[V,/[^\d\.]+./,ao]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[at,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[at,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[at,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[at,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[at,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[at,/ower/,ao,wn]],[/ sun4\w[;\)]/i],[[at,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[at,wn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[M,[$,Oo],[D,Ce]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[M,[$,Oo],[D,fe]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[M,[$,Ir],[D,fe]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[M,[$,Ir],[D,Ce]],[/(macintosh);/i],[M,[$,Ir]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[M,[$,Bd],[D,fe]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[M,[$,Md],[D,Ce]],[/honor([-\w ]+)[;\)]/i],[M,[$,Md],[D,fe]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[M,[$,Nd],[D,Ce]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[M,[$,Nd],[D,fe]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[M,/_/g," "],[$,cc],[D,Ce]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[M,/_/g," "],[$,cc],[D,fe]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[M,[$,ac],[D,fe]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[M,[$,$n,{OnePlus:["304","403","203"],"*":ac}],[D,Ce]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[M,[$,"BLU"],[D,fe]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[M,[$,"Vivo"],[D,fe]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[M,[$,"Realme"],[D,fe]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[M,[$,sc],[D,fe]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[M,[$,sc],[D,Ce]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4}
vendor: 5,231 bytes, line 4
4)/i],[M,[$,Ks],[D,Ce]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[M,[$,Ks],[D,fe]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[M,[$,Ud],[D,Ce]],[/(nokia) (t[12][01])/i],[$,M,[D,Ce]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[M,/_/g," "],[D,fe],[$,"Nokia"]],[/(pixel (c|tablet))\b/i],[M,[$,ir],[D,Ce]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[M,[$,ir],[D,fe]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[M,[$,Io],[D,fe]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[M,"Xperia Tablet"],[$,Io],[D,Ce]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[M,[$,$d],[D,fe]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[M,[$,Ws],[D,Ce]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[M,/(.+)/g,"Fire Phone $1"],[$,Ws],[D,fe]],[/(playbook);[-\w\),; ]+(rim)/i],[M,$,[D,Ce]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[M,[$,Ld],[D,fe]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[M,[$,Dd],[D,Ce]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[M,[$,Dd],[D,fe]],[/(nexus 9)/i],[M,[$,"HTC"],[D,Ce]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[$,[M,/_/g," "],[D,fe]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[M,[$,"TCL"],[D,Ce]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[M,[$,"TCL"],[D,fe]],[/(itel) ((\w+))/i],[[$,wn],M,[D,$n,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[M,[$,"Acer"],[D,Ce]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[M,[$,"Meizu"],[D,fe]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[M,[$,"Ulefone"],[D,fe]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[M,[$,"Energizer"],[D,fe]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[M,[$,"Cat"],[D,fe]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[M,[$,"Smartfren"],[D,fe]],[/droid.+; (a(?:015|06[35]|142p?))/i],[M,[$,"Nothing"],[D,fe]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[M,[$,"Archos"],[D,Ce]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[M,[$,"Archos"],[D,fe]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[$,M,[D,Ce]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[$,M,[D,fe]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[$,M,[D,Ce]],[/(surface duo)/i],[M,[$,oc],[D,Ce]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[M,[$,"Fairphone"],[D,fe]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[M,[$,ic],[D,Ce]],[/(sprint) (\w+)/i],[$,M,[D,fe]],[/(kin\.[onetw]{3})/i],[[M,/\./g," "],[$,oc],[D,fe]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[M,[$,lc],[D,Ce]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[M,[$,lc],[D,fe]],[/smart-tv.+(samsung)/i],[$,[D,Be]],[/hbbtv.+maple;(\d+)/i],[[M,/^/,"SmartTV"],[$,Oo],[D,Be]],[/tcast.+(lg)e?. ([-\w]+)/i],[$,M,[D,Be]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[$,Ks],[D,Be]],[/(apple) ?tv/i],[$,[M,Ir+" TV"],[D,Be]],[/crkey.*devicetype\/chromecast/i],[[M,In+" Third Generation"],[$,ir],[D,Be]],[/crkey.*devicetype\/([^/]*)/i],[[M,/^/,"Chromecast "],[$,ir],[D,Be]],[/fuchsia.*crkey/i],[[M,In+" Nest Hub"],[$,ir],[D,Be]],[/crkey/i],[[M,In],[$,ir],[D,Be]],[/(portaltv)/i],[M,[$,uc],[D,Be]],[/droid.+aft(\w+)( bui|\))/i],[M,[$,Ws],[D,Be]],[/(shield \w+ tv)/i],[M,[$,ic],[D,Be]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[M,[$,Bd],[D,Be]],[/(bravia[\w ]+)( bui|\))/i],[M,[$,Io],[D,Be]],[/(mi(tv|box)-?\w+) bui/i],[M,[$,cc],[D,Be]],[/Hbbtv.*(technisat) (.*);/i],[$,M,[D,Be]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[$,ms],[M,ms],[D,Be]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[M,[D,Be]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[D,Be]],[/(ouya)/i,/(nintendo) (\w+)/i],[$,M,[D,Ho]],[/droid.+; (shield)( bui|\))/i],[M,[$,ic],[D,Ho]],[/(playstation \w+)/i],[M,[$,Io],[D,Ho]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[M,[$,oc],[D,Ho]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[M,[$,Oo],[D,Gt]],[/((pebble))app/i,/(asu
vendor: 4,438 bytes, line 4
4s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[$,M,[D,Gt]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[M,[$,ac],[D,Gt]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[M,[$,Ir],[D,Gt]],[/(opwwe\d{3})/i],[M,[$,$d],[D,Gt]],[/(moto 360)/i],[M,[$,sc],[D,Gt]],[/(smartwatch 3)/i],[M,[$,Io],[D,Gt]],[/(g watch r)/i],[M,[$,Ks],[D,Gt]],[/droid.+; (wt63?0{2,3})\)/i],[M,[$,lc],[D,Gt]],[/droid.+; (glass) \d/i],[M,[$,ir],[D,rc]],[/(pico) (4|neo3(?: link|pro)?)/i],[$,M,[D,rc]],[/(quest( \d| pro)?s?).+vr/i],[M,[$,uc],[D,rc]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[$,[D,Fo]],[/(aeobc)\b/i],[M,[$,Ws],[D,Fo]],[/(homepod).+mac os/i],[M,[$,Ir],[D,Fo]],[/windows iot/i],[[D,Fo]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[M,[D,$n,{mobile:"Mobile",xr:"VR","*":Ce}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[D,Ce]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[D,fe]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[M,[$,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[V,[H,hE+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[H,V],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[V,[H,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[H,V],[/ladybird\//i],[[H,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[V,H]],os:[[/microsoft (windows) (vista|xp)/i],[H,V],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[H,[V,$n,Kd]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[V,$n,Kd],[H,wl]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[V,/_/g,"."],[H,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[H,"macOS"],[V,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[V,[H,In+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[V,[H,In+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[V,[H,In+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[V,[H,In+" Linux"]],[/crkey\/([\d\.]+)/i],[V,[H,In]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[V,H],[/(ubuntu) ([\w\.]+) like android/i],[[H,/(.+)/,"$1 Touch"],V],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[H,V],[/\(bb(10);/i],[V,[H,Ld]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[V,[H,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[V,[H,Do+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[V,[H,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[V,[H,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[H,"Chrome OS"],V],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[H,V],[/(sunos) ?([\w\.\d]*)/i],[[H,"Solaris"],V],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[H,V]]},js=(function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return _n.call(e.init,[[it,[H,V,gs,D]],[hn,[at]],[Zt,[D,M,$]],[Dt,[H,V]],[Tt,[H,V]]]),_n.call(e.isIgnore,[[it,[V,gs]],[Dt,[V]],[Tt,[V]]]),_n.call(e.isIgnoreRgx,[[it,/ ?browser$/i],[Tt,/ ?os$/i]]),_n.call(e.toString,[[it,[H,V]],[hn,[at]],[Zt,[$,M]],[Dt,[H,V]],[Tt,[H,V]]]),e})(),mE=function(e,t){var n=js.init[t],r=js.isIgnore[t]||0,o=js.isIgnoreRgx[t]||0,s=js.toString[t]||0;function i(){_n.call(this,n)}return i.prototype.getItem=function(){return e},i.prototype.withClientHints=function(){return Mn?Mn.getHighEntropyValues(Hm).then(function(a){return e.setCH(new Fm(a,!1)).parseCH().get()}):e.parseCH().get()}
4,i.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=qr&&(i.prototype.is=function(a){var c=!1;for(var l in this)if(this.hasOwnProperty(l)&&!_l(r,l)&&wn(o?lo(o,this[l]):this[l])==wn(o?lo(o,a):a)){if(c=!0,a!=Hn)break}else if(a==Hn&&c){c=!c;break}return c},i.prototype.toString=function(){var a=ao;for(var c in s)typeof this[s[c]]!==Hn&&(a+=(a?" ":ao)+this[s[c]]);return a||Hn}),Mn||(i.prototype.then=function(a){var c=this,l=function(){for(var f in c)c.hasOwnProperty(f)&&(this[f]=c[f])};l.prototype={is:i.prototype.is,toString:i.prototype.toString};var u=new l;return a(u),u}),new i};function Fm(e,t){if(e=e||{},_n.call(this,Hm),t)_n.call(this,[[pu,fc(e[er])],[gu,fc(e[iE])],[fe,/\?1/.test(e[uE])],[M,Uo(e[fE])],[zr,Uo(e[Bm])],[mu,Uo(e[dE])],[at,Uo(e[aE])],[ur,fc(e[lE])],[ba,Uo(e[cE])]]);else for(var n in e)this.hasOwnProperty(n)&&typeof e[n]!==Hn&&(this[n]=e[n])}function qd(e,t,n,r){return this.get=function(o){return o?this.data.hasOwnProperty(o)?this.data[o]:void 0:this.data},this.set=function(o,s){return this.data[o]=s,this},this.setCH=function(o){return this.uaCH=o,this},this.detectFeature=function(){if(ct&&ct.userAgent==this.ua)switch(this.itemType){case it:ct.brave&&typeof ct.brave.isBrave==Vi&&this.set(H,"Brave");break;case Zt:!this.get(D)&&Mn&&Mn[fe]&&this.set(D,fe),this.get(M)=="Macintosh"&&ct&&typeof ct.standalone!==Hn&&ct.maxTouchPoints&&ct.maxTouchPoints>2&&this.set(M,"iPad").set(D,Ce);break;case Tt:!this.get(H)&&Mn&&Mn[zr]&&this.set(H,Mn[zr]);break;case qr:var o=this.data,s=function(i){return o[i].getItem().detectFeature().get()};this.set(it,s(it)).set(hn,s(hn)).set(Zt,s(Zt)).set(Dt,s(Dt)).set(Tt,s(Tt))}return this},this.parseUA=function(){return this.itemType!=qr&&hc.call(this.data,this.ua,this.rgxMap),this.itemType==it&&this.set(gs,dc(this.get(V))),this},this.parseCH=function(){var o=this.uaCH,s=this.rgxMap;switch(this.itemType){case it:case Dt:var i=o[gu]||o[pu],a;if(i)for(var c in i){var l=i[c].brand||i[c],u=i[c].version;this.itemType==it&&!/not.a.brand/i.test(l)&&(!a||/chrom/i.test(a)&&l!=Fd)&&(l=$n(l,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(H,l).set(V,u).set(gs,dc(u)),a=l),this.itemType==Dt&&l==Fd&&this.set(V,u)}break;case hn:var f=o[at];f&&(f&&o[ba]=="64"&&(f+="64"),hc.call(this.data,f+";",s));break;case Zt:if(o[fe]&&this.set(D,fe),o[M]&&(this.set(M,o[M]),!this.get(D)||!this.get($))){var p={};hc.call(p,"droid 9; "+o[M]+")",s),!this.get(D)&&p.type&&this.set(D,p.type),!this.get($)&&p.vendor&&this.set($,p.vendor)}if(o[ur]){var d;if(typeof o[ur]!="string")for(var m=0;!d&&m<o[ur].length;)d=$n(o[ur][m++],jd);else d=$n(o[ur],jd);this.set(D,d)}break;case Tt:var y=o[zr];if(y){var b=o[mu];y==wl&&(b=parseInt(dc(b),10)>=13?"11":"10"),this.set(H,y).set(V,b)}this.get(H)==wl&&o[M]=="Xbox"&&this.set(H,"Xbox").set(V,void 0);break;case qr:var R=this.data,w=function(h){return R[h].getItem().setCH(o).parseCH().get()};this.set(it,w(it)).set(hn,w(hn)).set(Zt,w(Zt)).set(Dt,w(Dt)).set(Tt,w(Tt))}return this},_n.call(this,[["itemType",e],["ua",t],["uaCH",r],["rgxMap",n],["data",mE(this,e)]]),this}function An(e,t,n){if(typeof e===co?(qi(e,!0)?(typeof t===co&&(n=t),t=e):(n=e,t=void 0),e=void 0):typeof e===yl&&!qi(t,!0)&&(n=t,t=void 0),n&&typeof n.append===Vi){var r={};n.forEach(function(c,l){r[l]=c}),n=r}if(!(this instanceof An))return new An(e,t,n).getResult();var o=typeof e===yl?e:n&&n[Od]?n[Od]:ct&&ct.userAgent?ct.userAgent:ao,s=new Fm(n,!0),i=t?gE(Vd,t):Vd,a=function(c){return c==qr?function(){return new qd(c,o,i,s).set("ua",o).set(it,this.getBrowser()).set(hn,this.getCPU()).set(Zt,this.getDevice()).set(Dt,this.getEngine()).set(Tt,this.getOS()).get()}:function(){return new qd(c,o,i[c],s).parseUA().get()}};return _n.call(this,[["getBrowser",a(it)],["getCPU",a(hn)],["getDevice",a(Zt)],["getEngine",a(Dt)],["getOS",a(Tt)],["getResult",a(qr)],["getUA",function(){return o}],["setUA",function(c){return vo(c)&&(o=c.length>ml?ms(c,ml):c),this}]]).setUA(o),this}An.VERSION=sE;An.BROWSER=Sa([H,V,gs,D]);An.CPU=Sa([at]);An.DEVICE=Sa([M,$,D,Ho,fe,Be,Ce,Gt,Fo]);An.ENGINE=An.OS=Sa([H,V]);class yE{parserData=null;ua="";os="";deviceModel="";browserName="";constructor(){const t=typeof navigator<"u"?navigator.userAgent:"",n=new An(t);this.parserData=n.getResult();const{ua:r,os:o,browser:s,device:i}=this.parserData;this.ua=r,this.os=o.name??"",this.browserName=s.name??"",this.deviceModel=`${i.vendor}-${i.model}`}getDeviceModel(){return this.deviceModel}checkPlatForm(t){return this.ua.toLowerCase().includes(t.toLowerCase())}checkOS(t){return this.os.toLowerCase().includes(t.toLowerCase())}checkBrowser(t){return this.browserName.toLowerCase()==t.toLowerCase()}}function wE(){return typeof window<"u"&&typeof navigator<"u"}const xe=new yE,_E=()=>xe.getDeviceModel(),vE=()=>{const e=typeof navigator<"u"?navigator.userAgent:"";return/Android|webOS|iPhone|iPad|iPod|ios|BlackBerry|IEMobile|Opera Mini/i.test(e)},bE=()=>xe.checkOS("macOS"),yu=()=>xe.checkOS("ios")||bE(),Wm=()=>xe.checkOS("Android"),SE=()=>["XiaoMi","MiuiBrowser"].some(e=>xe.checkPlatForm(e)),CE=()=>xe.checkOS("harmonyos")||["harmonyos","Huawei","HuaweiBrowser"].some(e=>xe.checkPlatForm(e)),TE=()=>["samsung"].some(e=>xe.checkPlatForm(e)),RE=()=>xe.checkBrowser("Facebook"),Km=()=>xe.checkBrowser("TikTok")||["bytedance","bytelocale"].some(e=>xe.checkPlatForm(e)),jm=()=>xe.checkPlatForm("Kwai"),EE=()=>xe.checkBrowser("Instagram"),AE=()=>typeof window<"u"&&(window.TelegramWebview!=null||window.TelegramWebviewProxy!=null)||xe.checkOS("telegram")||xe.checkPlatForm("telegram"),kE=()=>xe.checkBrowser("Edge"),xE=()=>xe.checkBrowser("Mobile Firefox"),Vm=()=>xe.checkBrowser("Mobile Safari"),B1=()=>!OE()&&!Km()&&Vm()&&!/(chrome|crios)\/([0-9.]+)/.test(xe.ua),wu=()=>xe.checkBrowser("Chrome")||xe.checkBrowser("Mobile Chrome"),H1=()=>{const{browser:e}=xe.parserData,{major:t}=e;return(wu()||kE())&&Number(t)>=96},PE=()=>xe.checkBrowser("Chrome WebView"),F1=()=>wE()&&!(yu()||[SE,CE,xE,TE].some(e=>e())),OE=()=>{const e=[RE,EE,jm,AE].some(n=>n()),t=PE()&&!wu()&&!Vm();return e||t};function IE(e){const{os:t}=xe.parserData;return yu()&&parseInt(t.version??"0")>=e}const DE=()=>IE(17),W1=()=>
4{if(!Wm())return!1;const{cpu:e,os:t}=xe.parserData;if((e.architecture??"").includes("64"))return!0;const r=typeof navigator<"u"&&navigator.hardwareConcurrency||4;return(parseInt(t.version??"0")||5)>8&&r>5},K1=function(e){e=e??location.href;try{if(jm())return"";const t=yu();if(t&&Km())return"";const n=new URL(e),r=n.protocol.replace(":","");let o=n.href.replace(`${n.protocol}//`,"");return t?DE()?`x-safari-https://${o}`:"":`intent://${o}#Intent;scheme=${r};end`}catch(t){console.log(t)}return""},j1=function(e){if(!(!Wm()||wu())){e=e??location.href;try{const t=new URL(e),n=t.protocol.replace(":",""),r=t.href.replace(`${t.protocol}//`,"");window.location.href=`intent://${r}#Intent;scheme=${n};package=com.android.chrome;end`}catch(t){console.log(t)}}};function LE(){return typeof location>"u"?"/":location.pathname||"/"}function NE(){return typeof window>"u"?!1:window.isStatic===!0}function qm(e=LE()){return NE()||e==="/normal"||e.startsWith("/normal/")}function UE(e){return qm(e)?_o():"/"}function zm(e,t){const n=t?.preserveCurrentSearch!==!1,r=UE(e);if(typeof location>"u"||!n)return r;try{const o=new URL(location.href);return o.pathname=r,o.hash="",o.toString()}catch{return r}}function V1(e,t,n){return va(zm(t,n),e)}function q1(e,t,n){return typeof location>"u"?"":Um({href:zm(t,n),searchParams:e})}var Gm=(e=>(e[e.SYSTEM=0]="SYSTEM",e[e.CUSTOM=1]="CUSTOM",e))(Gm||{}),Ym=(e=>(e[e.SYSTEM=0]="SYSTEM",e[e.CUSTOM=1]="CUSTOM",e))(Ym||{}),Jm=(e=>(e[e.SYSTEM=0]="SYSTEM",e[e.CUSTOM=1]="CUSTOM",e))(Jm||{});const Fn={Year:"YYYY",SmallYear:"YY",Month:"MM",Day:"DD",Hour:"HH",Minute:"mm",Second:"ss"},ME=`${Fn.Hour}:${Fn.Minute}:${Fn.Second}`;function $E(e){const{Year:t,Month:n,Day:r}=Fn,o=`${r}/${n}/${t}`,s=[{locales:[Jt.TL],format:`${n}/${r}/${t}`},{locales:[Jt.JA,Jt.KO,Jt.ZH,Jt.ZH_HK,Jt.AM,Jt.NE,Jt.SI],format:`${t}/${n}/${r}`}];return e=nm(e||Kt().languageCode),s.find(i=>i.locales.includes(e))?.format??o}function Qm(e=new Date,t=!1,n=""){let r=null;if(e instanceof Date)r=e;else{let m=e.toString().length;r=new Date(e*Math.pow(10,13-m))}const o=m=>m<10?"0"+m:String(m);L(n)&&(n=$E());const s=n.includes(Fn.Hour)||n.includes(Fn.Minute)||n.includes(Fn.Second);n=t||s?n:`${n} ${ME}`;const{Year:i,SmallYear:a,Month:c,Day:l,Hour:u,Minute:f,Second:p}=Fn,d=String(r.getFullYear());return n.replace(i,d).replace(a,d.slice(d.length-2)).replace(c,o(r.getMonth()+1)).replace(l,o(r.getDate())).replace(u,o(r.getHours())).replace(f,o(r.getMinutes())).replace(p,o(r.getSeconds()))}function zd(e,t,n){return L(e)||L(t)?"":Qm(BE(e,t),!1,n)}function BE(e,t){let n=e.toString().length;e=Number(e)*Math.pow(10,13-n);const r=new Date().getTimezoneOffset(),o=Number(t.toLowerCase().replace("utc","").split(":")[0])*60;return e+=(o+r)*60*1e3,e}function HE(){const t=new Date().getTimezoneOffset()*-1/60;return`UTC${t>0?"+":""}${t}`}function Vs(e){return new RegExp("(<|<)"+e+"\\/?(>|>)","g")}function Gd(e){return new RegExp("\\{\\$"+e+"\\$\\}","g")}function FE(e){const t=e*2;return Math.ceil(t)/2}function uo(e,t={}){if(!e)return e;try{const n=typeof e=="object",r=n?JSON.stringify(e):e;if(typeof r!="string"||!r.includes("{$WG_BUCKET_PUBLIC$}")&&!r.includes("{$WG_BUCKET_SITE$}"))return e;const{siteBucket:o,publicBucket:s}=WE(t.publicBucket);if(L(o))return e;const i=r.replace(Gd("WG_BUCKET_PUBLIC"),s).replace(Gd("WG_BUCKET_SITE"),o);return n?JSON.parse(i):i}catch(n){console.log(n)}return e}function WE(e){let t="",n="";try{const{siteConfigData:o}=Re();t=uu(o),n=o.commonOssBucket||""}catch{}const r=t||Yd(Ue());return{siteBucket:r,publicBucket:Yd(e??n)||r}}function Yd(e){return String(e||"").trim().replace(/\/+$/,"")}function Xm(e,t,n){if(L(e))return null;const{start_time:r,end_time:o,site_time_zone:s}=t,i=FE((o-r)/3600);try{e=e.replace(Vs("t_start"),zd(r,s,n)).replace(Vs("t_end"),zd(o,s,n)).replace(Vs("t_duration"),i.toString()).replace(Vs("t"),Qm(void 0,!1,n)),e=uo(e)}catch(a){console.log(a)}return e}function z1(e,t){const n={content:"",maintainUrl:"",bgUrl:""},r=xr(),o=e.annSkinConfig?.find(s=>s.languageCodes?.split(/[,|ï¼]/).includes(r));return o?.maintainContentType==Jm.CUSTOM&&o?.maintainContentText?n.content=Nm(Xm(o?.maintainContentText,e)):n.content=KE(e,t),o?.backgroundColorType==Gm.CUSTOM&&(n.bgUrl=Ki(o?.backgroundColorUrl)),o?.backgroundImageType==Ym.CUSTOM&&(n.maintainUrl=Ki(o?.backgroundImageUrl)),n}function KE(e,t){const n=xr(),r=e.notice_content_list?.find(s=>
4s.language==n),o=Xm(r?.content||e.notice_content,e);return o?Nm(o):t}function G1(e){const t=xr();let n=[];try{const r=JSON.parse(e);console.log("useData->online_service",r),r.forEach(({customerUrl:o,openType:s,showLanguages:i})=>{i.forEach(a=>{a.key?.split(/[,|ï¼]/).includes(t)&&n.push({customerUrl:o,openType:s,languageValue:a.value})})})}catch(r){console.log(r)}return n}var zi={};function jE(e){return String(e||"").trim().replace(/\/+$/,"")}function VE(e,t){if(L(e))return"";if(e.startsWith("http://")||e.startsWith("https://"))return e;const n=e.startsWith("/")?e:`/${e}`,r=jE(t);if(!L(r))return`${r}${n}`;const o=Ue();return L(o)?n:`${o}${n}`}function qE(e){if(L(e)||e.startsWith("http://")||e.startsWith("https://"))return e;const t=Ue();return`${L(t)?`http://127.0.0.1:${zi.NITRO_PORT||zi.PORT||3e3}`:t}${e.startsWith("/")?"":"/"}${e}`}function zE(){return typeof window<"u"&&qm(window.location.pathname||"/")}function GE(e){if(En()||!zE()||!e.startsWith("http://")&&!e.startsWith("https://"))return!1;const t=Ue();if(L(t))return!1;try{const n=new URL(e),r=new URL(t);return n.origin===r.origin||!["127.0.0.1","localhost"].includes(r.hostname)?!1:n.pathname.endsWith(".json")||n.pathname.endsWith(".txt")}catch{return!1}}function YE(e){const t=String(e||"").trim();return t?t.startsWith("/cocos/")||t==="/siteadmin/ssocdn.txt"||t===Sr("dscdn.txt")||t==="/normal/dscdn.txt":!1}function JE(e){if(!GE(e))return e;try{const t=Ue(),n=new URL(e);return!t||!YE(n.pathname)?e:`${t}${n.pathname}${n.search}`}catch{return e}}function _u(){if(typeof process<"u"&&zi?.DEBUG_TRACE==="1")return!0;try{return so("_trace")==="1"}catch{return!1}}function QE(){if(typeof process<"u"&&zi?.TEMPLATE_TRACE==="1")return!0;try{return so("_template_trace")==="1"||so("_trace")==="1"}catch{return!1}}function XE(e,t){return`${String(e||"")} ${String(t||"")}`.includes("/getDownloadTemplate")}function Mo(e){if(!e||typeof e!="object")return{hasPayload:!1,code:"",errorCode:"",hasData:!1,templateName:""};const t=e.data;return{hasPayload:!0,code:e.code,errorCode:e.errorCode,hasData:t!=null,templateName:String(t?.template?.templateName||"")}}function zt(e,t){if(!QE())return;const n=rt();console.warn(n?`${n}[模æ¿åæº][${e}]`:`[模æ¿åæº][${e}]`,{traceId:Ze(),...t})}function qs(e,t){if(e&&typeof e=="object")try{Object.defineProperty(e,"__templateDebug",{value:t,enumerable:!1,configurable:!0})}catch{e.__templateDebug=t}return e}function ZE(){return typeof window<"u"&&_u()}function eA(e){return e.includes(".json")?"static-json":"API"}function tA(e){try{const t=new URL(e,Ue()||"http://127.0.0.1");return`${t.pathname}${t.search}`}catch{return e}}function Gr(e){const t=String(e||"").trim();return t?["/api/statistics/domain/pointer","/api/agent/promote/binding/reportViewV2","/api/agent/promote/binding/reportViewW2","/api/agent/downloadSite/regionAccessV2"].some(n=>t.includes(n)):!1}function Yr(e,t={}){if(!_u())return;const n=rt(),r=String(t.requestUrl||""),o=String(t.method||"GET").toUpperCase(),s=rn(t.siteCode),i=`[${e}] ${L(s)?"空":s}`;console.warn(n?`${n}[siteCode-request] ${i}`:`[siteCode-request] ${i}`,{traceId:Ze(),side:typeof window>"u"?"SSR":"CSR",method:o,requestUrl:r,...L(s)?{}:{siteCode:s}})}function Jd(e){return String(e||"").includes("/api/agent/downloadSite/regionAccessV2")}function Qd(e){const t={},n=(o,s)=>{s==null||s===""||(t[o]=s)};if(e instanceof Headers)return n("language",e.get("language")),n("Accept-Language",e.get("Accept-Language")),n("device",e.get("device")),n("x-version",e.get("x-version")),n("X-Request-Id",e.get("X-Request-Id")),n("X-Custom-Referer",e.get("X-Custom-Referer")),n("X-Union-Trace-Id",e.get("X-Union-Trace-Id")),n("domain",e.get("domain")),n("siteCode",e.get("siteCode")),n("clienttimezone",e.get("clienttimezone")),n("deviceModel",e.get("deviceModel")),n("devicetype",e.get("devicetype")),n("platformtype",e.get("platformtype")),t;const r=Array.isArray(e)?Object.fromEntries(e):e||{};return n("language",r.language),n("Accept-Language",r["Accept-Language"]),n("device",r.device),n("x-version",r["x-version"]),n("X-Request-Id",r["X-Request-Id"]),n("X-Custom-Referer",r["X-Custom-Referer"]),n("X-Union-Trace-Id",r["X-Union-Trace-Id"]),n("domain",r.domain),n("siteCode",r.siteCode),n("clienttimezone",r.clienttimezone),n("deviceModel",r.deviceModel),n("devicetype",r.devicetype),n("platformtype",r.platformtype),t}function pc(e){return e==null?null:{code:e?.code??null,errorCode:e?.errorCode??null,msg:e?.msg??"",time:e?.time??null,hasData:!!e?.data,isAccess:e?.data?.isAccess??null,ip:e?.data?.ipInfo?.ip??"",countryCode:e?.data?.ipInfo?.countryCode??""}}function Xd(e,t,n){return{label:e.debugLabel||"region-access",requestUrl:e.url,method:e.method,cache:e.cacheConfig?.cache??null,sync:e.cacheConfig?.sync??null,cacheKey:t,cacheHit:n,networkStarted:!1,networkStatus:null,networkOk:null,networkError:"",networkErrorBody:"",fallbackStaleCache:!1,hasFallbackCache:!1,cacheWrite:!1,fetchURL:"",requestHeaders:{},requestBody:null,finalSource:"",resultSummary:null,extra:{...e.debugExtra||{},edgeRequest:tR()}}}function gc(e){return e.__regionAccessDebugState}function Zd(e,t){e.__regionAccessDebugState=t}function mc(e){if(!_u())return;const t=rt(),n=t?`${t}[regionAccessV2-request][summary]`:"[regionAccessV2-request][summary]",r={traceId:Ze(),...e};console.warn(n,r)}function eh(e){if(!ZE())return;const t=rt(),n=tA(e.fetchURL),r=e.ok?"hit":"miss",o=typeof e.status=="number"?String(e.status):"æ ååº",s=t?`${t}
4[æ¥å£æéæåJSON请æ±][client] ${n} | ç»æ: ${r} | æç»è¿å: ${o}`:`[æ¥å£æéæåJSON请æ±][client] ${n} | ç»æ: ${r} | æç»è¿å: ${o}`,i={traceId:Ze(),side:"CSR",source:eA(e.fetchURL),method:e.method,requestUrl:e.fetchURL,status:e.status,ok:e.ok,error:e.error||""};console.warn(s,i)}function rn(e,t=""){return String(e??"").trim()||t}function nA(){return rn(Er().getLocale(),"en")}function rA(){const e=rn(_E());return L(e)||e==="undefined-undefined"?"unknown":e}function oA(){return rn(Re().getResolvedSiteCode())}function sA(){const e=rn(gi);return rn(lm,e||"0.0.0")}const{addTask:iA}=oE(),aA={cache:!0,sync:!0,cacheTime:1e3*60*10},cA=1e3*20;function Es(e,t,n=cA){const r=JE(e);let o=new AbortController,s=o.signal,i=new Promise((a,c)=>{setTimeout(()=>{c(new Error("Request timeout")),o.abort()},n)});return BR([i,fetch(r,{...t,signal:s})])}function zs(e){if(e.cacheConfig?.cacheKey)return e.cacheConfig?.cacheKey;const t={...e.data};delete t.t;const n=e.data?`${e.url}${JSON.stringify(t)}`:e.url,r=e.isAboutLocale?`${Er().getLocale()}|${n}`:n;return e.cacheConfig?e.cacheConfig.cacheKey=r:e.cacheConfig={cacheKey:r},r}const lA=(function(){let e=null,t=null;function n(){return e=rn(e,nA()),t=t??ym(),t==null&&(t=typeof window<"u"?xT():fs(),WT(t)),{language:e,"Accept-Language":`${e};q=0.9, *;q=0.5`,device:rn(t,fs()),"x-version":sA()}}return{getOptions:n}})();function uA(e){const t=(+new Date).toString().substring(0,10),n=fs(),r=Ze(),o=oA(),s=String(e.url||""),i=String(e.method||"GET").toUpperCase(),a={...lA.getOptions(),"X-Request-Id":n,"X-Custom-Referer":rn(Sm(),Ue()),domain:rn(XT(),Ue()),clienttimezone:HE(),deviceModel:rA(),nonce:n,timestamp:t,sign:RT(t+n),devicetype:vE()?"3":"4",platformtype:"3"};return Gr(s)&&Yr("getHeaders:resolved",{requestUrl:s,method:i,siteCode:o,customHeaderSiteCode:String(e.options?.headers?.siteCode||"")}),L(o)||(a.siteCode=o),Gr(s)&&Yr("getHeaders:after-siteCode-assign",{requestUrl:s,method:i,siteCode:String(a.siteCode||""),customHeaderSiteCode:String(e.options?.headers?.siteCode||"")}),L(r)||(a["X-Union-Trace-Id"]=r),e.isCrypto&&(a.token=$T),Gr(s)&&Yr("getHeaders:return",{requestUrl:s,method:i,siteCode:String(a.siteCode||o||"")}),a}function fA(e,t){let n=t.url.startsWith("http")?t.url:e+t.url;n=qE(n);let r=uA(t),o={method:t.method,mode:"cors",...t.options};if(t.method==="POST"){const s=t.data?JSON.stringify(t.data):"{}";o.body=t.isCrypto?TT(s,r.token):s,r["Content-Type"]="application/json"}else n.includes(".json")&&(t.data={t:Math.floor(+new Date/1e6),...t.data}),n=va(n,t.data);if(o.headers={...r,...t.options?.headers},Gr(String(t.url||""))){const s=o.headers instanceof Headers?{siteCode:o.headers.get("siteCode")||"",xSiteCode:o.headers.get("x-sitecode")||"",xSiteCodeAlt:o.headers.get("x-site-code")||""}:Array.isArray(o.headers)?(()=>{const i=Object.fromEntries(o.headers);return{siteCode:String(i.siteCode||""),xSiteCode:String(i["x-sitecode"]||""),xSiteCodeAlt:String(i["x-site-code"]||"")}})():{siteCode:String(o.headers?.siteCode||""),xSiteCode:String(o.headers?.["x-sitecode"]||""),xSiteCodeAlt:String(o.headers?.["x-site-code"]||"")};Yr("getFetchOptions:after-merge",{requestUrl:String(t.url||""),method:String(t.method||"GET").toUpperCase(),siteCode:s.siteCode,customHeaderSiteCode:String(t.options?.headers?.siteCode||"")})}return{fetchURL:n,fetchConfig:o}}class dA{baseURL="";staticBaseUrl=cy;constructor(t){this.setBaseURL(t?.baseURL)}setBaseURL(t){t!=null&&(this.baseURL=t)}setStaticBaseUrlURL(t){t!=null&&(this.staticBaseUrl=t)}async fetchData(t){let n=null;if(typeof window<"u")try{const f=await Re().ensureSiteCodeReady();Gr(String(t.url||""))&&Yr("ensure-before-fetch",{requestUrl:String(t.url||""),method:String(t.method||"GET").toUpperCase(),siteCode:f})}catch(f){console.warn("[siteCode-ready] ensureSiteCodeReady failed, will continue without siteCode",f)}const{fetchURL:r,fetchConfig:o}=fA(this.baseURL,t),s=Jd(r)?gc(t)||Xd(t,t.cacheConfig?.cacheKey||zs(t),!1):null;if(s&&(s.networkStarted=!0,s.fetchURL=r,s.requestHeaders=Qd(o.headers),s.requestBody=typeof o.body=="string"?o.body:null,Zd(t,s)),Gr(String(t.url||""))){const f=Qd(o.headers);Yr("fetchData:before-fetch",{requestUrl:String(t.url||""),method:String(t.method||"GET").toUpperCase(),siteCode:String(f.siteCode||"")})}let i=null,a="",c=null,l=null,u=!1;try{const f=await Es(r,o);if(i=f.status,a=f.headers.get("content-type")||"",c=f.ok,s&&(s.networkStatus=f.status,s.networkOk=f.ok),eh({fetchURL:r,method:String(t.method||"GET").toUpperCase(),status:f.status,ok:f.ok&&f.status!==404}),!f.ok||f.status==404){try{l=await f.clone().json()}catch{l=null}if(s)try{s.networkErrorBody=await f.clone().text()}catch{s.networkErrorBody=""}throw new Error("Request error")}const p=f.clone();let d=r.includes(".json"),m=!1;try{n=await f.json(),l=n,m=!0,au.includes(n.code)?Re().checkSiteStatus(n.co
4de):!al.includes(n.code)&&!L(n.msg)&&typeof window<"u"&&Fi(n.msg)}catch(b){if(!d)throw b}if(d&&!m){const b=await p.text();n=wa(b)}n=uo(n),String(t.method||"GET").toUpperCase(),o.headers,t.data,u=!0;const y=d||(t.cacheCodes||al).includes(n.code);if(t.cacheConfig?.cache&&!L(n)&&y){const b=zs(t);pm(b,n,t.cacheConfig),s&&(s.cacheWrite=!0)}}catch(f){s&&(s.networkError=f instanceof Error?f.message:String(f)),eh({fetchURL:r,method:String(t.method||"GET").toUpperCase(),status:null,ok:!1,error:String(f)}),u||(String(t.method||"GET").toUpperCase(),o.headers,t.data,f instanceof Error?f.message:String(f),void 0);const p=f+"";if(!t.cacheConfig?.sync&&!p.includes("is not valid JSON")){const{loadingError:m}=RR();typeof window<"u"&&Fi(m)}const d=zs(t);n=Bi(d,t.cacheConfig,!1),s&&(s.fallbackStaleCache=!0,s.hasFallbackCache=n!=null)}return s&&(s.resultSummary=pc(n),s.finalSource=s.fallbackStaleCache?s.hasFallbackCache?"stale-cache-fallback":"network-error-no-cache":"network",mc({source:s.label,side:typeof window>"u"?"SSR":"CSR",requestUrl:s.requestUrl,fetchURL:s.fetchURL,method:s.method,cache:s.cache,sync:s.sync,cacheKey:s.cacheKey,cacheHit:s.cacheHit,networkStarted:s.networkStarted,networkStatus:s.networkStatus,networkOk:s.networkOk,networkError:s.networkError,networkErrorBody:s.networkErrorBody,fallbackStaleCache:s.fallbackStaleCache,hasFallbackCache:s.hasFallbackCache,cacheWrite:s.cacheWrite,finalSource:s.finalSource,requestHeaders:s.requestHeaders,requestBody:s.requestBody,result:s.resultSummary,...s.extra})),n}async request(t){t.cacheConfig={...aA,...t.cacheConfig};const n=zs(t);let r=Bi(n,t.cacheConfig);const o=Jd(t.url);if(o&&Zd(t,Xd(t,n,r!=null)),r==null){const s=await this.fetchData(t);if(s==null)return null;r=s}else if(t.cacheConfig.sync){if(o){const s=gc(t);s&&(s.finalSource="cache-hit-async-refresh",s.resultSummary=pc(r),mc({source:s.label,side:typeof window>"u"?"SSR":"CSR",requestUrl:s.requestUrl,fetchURL:"",method:s.method,cache:s.cache,sync:s.sync,cacheKey:s.cacheKey,cacheHit:!0,networkStarted:!1,networkStatus:null,networkOk:null,networkError:"",networkErrorBody:"",fallbackStaleCache:!1,hasFallbackCache:!1,cacheWrite:!1,finalSource:s.finalSource,requestHeaders:{},requestBody:null,result:s.resultSummary,...s.extra}))}iA(this.fetchData.bind(this),t)}else if(o){const s=gc(t);s&&(s.finalSource="cache-hit-return",s.resultSummary=pc(r),mc({source:s.label,side:typeof window>"u"?"SSR":"CSR",requestUrl:s.requestUrl,fetchURL:"",method:s.method,cache:s.cache,sync:s.sync,cacheKey:s.cacheKey,cacheHit:!0,networkStarted:!1,networkStatus:null,networkOk:null,networkError:"",networkErrorBody:"",fallbackStaleCache:!1,hasFallbackCache:!1,cacheWrite:!1,finalSource:s.finalSource,requestHeaders:{},requestBody:null,result:s.resultSummary,...s.extra}))}return r}get(t,n,r){return this.request({url:t,method:"GET",data:n,...r})}post(t,n,r){return this.request({url:t,method:"POST",data:n,...r})}async requestForStatic(t){if(typeof window<"u")try{await Re().ensureSiteCodeReady()}catch(l){console.warn("[requestForStatic] ensureSiteCodeReady failed",l)}const n=XE(t.url,t.staticUrl);n&&zt("çç¥",{desc:"1. Prefer static JSON 2. Fall back to API when unavailable",requestUrl:t.url,staticUrl:t.staticUrl,requestData:t.data||null,staticBaseUrl:this.staticBaseUrl||"(空)"});const r=()=>{const l=Re().getResolvedSiteCode();if(L(l)){n&&(t.url,t.staticUrl,t.data,void 0);return}const u=t.data&&typeof t.data=="object"?t.data:{};t.data={siteCode:l,...u},n&&(t.url,t.staticUrl,t.data,void 0)};if(L(t.staticUrl)){n&&zt("æ¥éª¤1-è·³è¿éæ",{reason:"æªæä¾ staticUrlï¼ç´æ¥èµ°API",requestUrl:t.url,staticUrl:t.staticUrl,requestData:t.data}),r();const l=L(t.url)?null:await this.request(t),u=qs(l,{hitBranch:"API",staticResolvedUrl:"",apiUrl:t.url});return n&&zt("å½ä¸åæ¯",{hit:"API",apiUrl:t.url,result:Mo(u)}),u}!t.staticUrl?.startsWith("http")&&n&&(t.url,t.staticUrl,void 0);const o=Ue(),s=VE(t.staticUrl||"",this.staticBaseUrl);if(n&&zt("æ¥éª¤1-éæå°å",{staticRelativeUrl:t.staticUrl||"(空)",staticResolvedUrl:s||"(空)",runtimeOrigin:o||"(空)",staticBaseUrl:this.staticBaseUrl||"(空)"}),!s.startsWith("http")){n&&zt("æ¥éª¤1-éæå¤±è´¥",{reason:"éæå°å䏿¯ httpï¼åéå°API",requestUrl:t.url,staticUrl:t.staticUrl,staticBaseUrl:this.staticBaseUrl,runtimeOrigin:o,resolvedStaticUrl:s}),r();const l=L(t.url)?null:await this.request(t),u=qs(l,{hitBranch:"API",staticResolvedUrl:s,apiUrl:t.url});return n&&zt("å½ä¸åæ¯",{hit:"API",apiUrl:t.url,result:Mo(u)}),u}const i=await this.get(s,null,{cacheConfig:{cache:!1}});if(n&&zt("æ¥éª¤1-éæç»æ",{staticResolvedUrl:s,result:Mo(i)}),n&&(t.url,void 0),i!=null&&L(i.errorCode)){const l=qs(i,{hitBranch:"static-json",staticResolvedUrl:s,apiUrl:t.url});return n&&zt("å½ä¸åæ¯",{hit:"static-json",staticResolvedUrl:s,result:Mo(l)}),n&&(t.url,void 0),l}r(),n&&zt("æ¥éª¤2-åAPI",{reason:"éæç»æä¸ºç©ºææ errorCode",apiUrl:t.url,staticResolvedUrl:s,requestData:t.data||null}),n&&(t.url,t.staticUrl,t.data,void 0);const a=L(t.url)?null:await this.request(t),c=qs(a,{hitBranch:"API",staticResolvedUrl:s,apiUrl:t.url});return n&&zt("å½ä¸åæ¯",{hit:"API",apiUrl:t.url,result:Mo(c)}),c}getForStatic(t,n,r,o){return this.requestForStatic({url:t,staticUrl:n,method:"GET",data:r,...o}
4)}postForStatic(t,n,r,o){return this.requestForStatic({url:t,staticUrl:n,method:"POST",data:r,...o})}}var hA={};function fo(e){return String(e||"").trim().replace(/\/+$/,"")}function Gi(e){const t=fo(e);if(!t)return"";try{return new URL(t).origin}catch{return""}}function vl(){if((typeof process<"u"?String(hA?.CONFIG_DATA_TRACE||"").trim():"")==="1")return!0;try{return so("_trace")==="1"}catch{return!1}}function Jr(e,t,n={}){if(!vl())return;const r=rt();console.warn(r?`${r}[é
ç½®æ°æ®][trace]`:"[é
ç½®æ°æ®][trace]",{traceId:Ze(),source:e,...t,...n})}function Zm(e,t){let n="",r="";try{const i=xn();n=fo(i.bucketUrl||i.public?.bucketUrl||""),r=String(i.public?.bucketProxyEnabled||"")}catch{n="",r=""}!n&&typeof window>"u"&&(n=fo(Ea()?.BUCKET_URL));const o=Gi(t),s=Gi(n);return{prefixUrl:e,requestUrl:t,requestOrigin:o,bucketUrl:n,bucketOrigin:s,isBucketOrigin:!!s&&o===s,bucketProxyEnabled:r}}function pA(e){const t=fo(e);if(typeof location>"u"||En())return t;const n=xn(),r=["127.0.0.1","localhost"].includes(location.hostname),o=String(n.public?.ssrMode??"true").toLowerCase()==="false",s=fo(n.public?.ossUrl||"");if(!r||!o||L(s))return t;if(L(t))return s;const i=Gi(t),a=Gi(location.origin);return!L(i)&&i===a?s:t}async function gA(){if(typeof location>"u")return null;if(En())try{const i=new URL(Sr("config.json"),location.origin).toString(),a=await Es(i,{method:"GET",cache:"no-store"});if(!a?.ok)return null;const c=await a.json(),u=(Array.isArray(c.configData)?c.configData:[c.configData]).map(p=>String(p||"").trim().replace(/\/+$/,"")).filter(p=>/^https?:\/\//i.test(p)),f=String(c.siteCode||"").trim();return!f||u.length===0?null:{configData:u,siteDomain:String(c.siteDomain||"").trim(),siteCode:f,cid:String(c.cid||""),cidMap:c.cidMap}}catch{return null}const e=Ue(),t=["127.0.0.1","localhost"].includes(location.hostname),n=xn(),r=String(n.public?.ssrMode??"true").toLowerCase()==="false",o=fo(n.public?.ossUrl||""),s=String(n.public?.siteCode||"").trim();return t&&r&&!L(o)?{configData:o,siteDomain:e,siteCode:s,cid:""}:null}async function yc(e,t,n=!0){const r=t||Zm("(unknown)",e);try{const o=Math.floor(+new Date/1e6),s=await Es(`${e}?t=${o}`,{mode:"cors",method:"GET"}),i=s.headers.get("x-static-origin")||"",a=r.isBucketOrigin||i==="bucket-url";if(s&&s.ok&&s.status!=404){const c=await s.text(),l=wa(c);return n&&Jr("ç½ç»",r,{ok:s.ok,status:s.status,contentType:s.headers.get("content-type")||"",staticOrigin:i,bucketHit:a,decrypted:l}),pm(e,l),l}n&&Jr("ç½ç»å¤±è´¥",r,{ok:s.ok,status:s.status,contentType:s.headers.get("content-type")||"",staticOrigin:i,bucketHit:a,decrypted:null})}catch(o){n&&Jr("ç½ç»å¼å¸¸",r,{error:String(o)})}return null}async function es(e){try{const t=pA(e);let n=`${t}/cocos/config_data.json`;const r=Ue();if(!n.startsWith("http")){const c=n.startsWith("/")?n:`/${n}`;n=r?r+c:c}if(!n.startsWith("http")){if(vl()){const c=rt();console.warn(c?`${c}[é
ç½®æ°æ®][trace]`:"[é
ç½®æ°æ®][trace]",{traceId:Ze(),source:"æ æURL",prefixUrl:t||"(空)",requestUrl:n,decrypted:null})}return null}const o=Zm(t||"(empty-prefix)",n),s=typeof window<"u"?window.LOBBY_SITE_CONFIG?.INJECT_DATA?.ossGetSiteUrlConfig?.data:null;if(s&&s.data){const c=wa(s.data),l=Bi(n,{},!1);return setTimeout(()=>{yc(n,void 0,!1)},1e3*3),l&&l.issuedTime>c.issuedTime?(Jr("ç¼å(è¦ç注å
¥)",o,{decrypted:l}),l):(Jr("注å
¥",o,{decrypted:c}),c)}const i=Bi(n,{});return i?(Jr("ç¼å",o,{decrypted:i}),yc(n,void 0,!1),i):await yc(n,o)}catch(t){if(vl()){const n=rt();console.warn(n?`${n}[é
ç½®æ°æ®][trace]`:"[é
ç½®æ°æ®][trace]",{traceId:Ze(),source:"å¼å¸¸",prefixUrl:e||"(空)",decrypted:null,error:String(t)})}}return null}const bo=300*1e3,Gn=bo,mA="download-site-worker-kv-cache",yA="https://download-site-worker-cache.local";function wA(){return typeof window>"u"}function ys(e){return String(e??"").trim()}async function vu(){if(!wA())return null;const e=globalThis.caches;if(!e||typeof e.open!="function")return null;try{return await e.open(mA)}catch{return null}}function bu(e){return new Request(`${yA}/entry?key=${encodeURIComponent(e)}`)}function Su(e,t){const n=ys(e),r=ys(t);return n&&r?`${n}:${r}`:r||n}async function Ca(e){const t=ys(e);if(!t)return;const n=await vu();if(!n)return;const r=bu(t),o=await n.match(r);if(o)try{const s=await o.json();if(Number(s?.expiresAt||0)<=Date.now()){await n.delete(r);return}return s.value}catch{await n.delete(r);return}}async function Ta(e,t,n=bo){const r=ys(e);if(!r)return;const o=await vu();if(!o)return;const s=Math.max(0,Number(n)||0),i=bu(r),a=new Response(JSON.stringify({value:t,expiresAt:Date.now()+s}),{headers:{"content-type":"application/json; charset=utf-8","cache-control":`max-age=${Math.max(1,Math.ceil(s/1e3))}`}});await o.put(i,a)}async function Cu(e){const t=ys(e);if(!t)return;const n=await vu();n&&await n.delete(bu(t))}async function _A(e){return Ca(e)}async function vA(e,t,n=bo){await Ta(e,t,n)}async function ey(e){return Ca(e)}async function ty(e,t,n=bo){await Ta(e,t,n)}async function Yi(e){await Cu(e)}async function ny(e){return Ca(e)}async function Ji(e,t,n=bo){await Ta(e,t,n)}async function ry(e){await Cu(e)}async function bA(e){return Ca(e)}async function SA(e,t,n=bo){await Ta(e,t,n)}async function th(e){await Cu(e)}function CA(e){return Su(Ru(),e)}function ho(e){return String(e||"").trim().replace(/\/+$/,"")}function Tu(){return typeof location<"u"&&!L(location.origin)?location.origin:Ue()}function nh(e){const t=ho(Tu()),n=ho(e);return!L(t)&&!L(n)&&t===n}function wc(){const e="/cocos/config_data.json",t=e.startsWith("/")?e:`/${e}`,n=ho(Tu()),r=ho(As()),o=n?`${n}${t}`:t,s=r?`${r}${t}`:t,i=`${s}${s.includes("?")?"&":"?"}t=${Math.floor(+new Date/1e6)}`;return{staticRelativeUrl:t,sameOriginResolvedUrl:o,bucketResolvedUrl:s,bucketResolvedUrlWithTs:i}}async function TA(e,t){const n=Array.from(new Set(e.map(c=>
4ho(c)).filter(Boolean))),r=n.filter(c=>nh(c)),o=n.filter(c=>!nh(c));if(r.length>0){const c=await es("");if(c!=null&&(L(t)||t==c.siteCode))return c}const s=jT();let i=[...o];s&&i.includes(s)&&(i=i.filter(c=>c!=s),i.unshift(s));let a=null;for(;a==null&&i.length>0;){const c=i.shift();if(await io([c],wt.WEB_Domain,5,!0)){const f=await es(c);f!=null&&(L(t)||t==f.siteCode)&&(a=f,vd(c));continue}const u=await es(c);u!=null&&(L(t)||t==u.siteCode)&&(a=u,vd(c))}return a}async function rh(){const e=c=>{({...c})};if(typeof window>"u"&&xa()){const c="config_data",l=wc(),u=CA(c),f=await _A(u);if(f){const p=uo(f,{publicBucket:f.commonOssBucket||""});return e({source:"ç¼å",reason:"å½ä¸Cache APIç¼å",kvKey:c,cacheKey:u,result:p}),{configData:p,isLocalStatic:!1}}try{const p=ka();if(!p)return e({source:"éæé
ç½®",reason:"KVè¿æ¥ä¸å¯ç¨",kvKey:c,cacheKey:u,requestUrl:l.bucketResolvedUrlWithTs,result:null}),{configData:null,isLocalStatic:!1};const d=await Aa(p,c),m=d.value;if(d.error)throw new Error(d.error);if(!m)return e({source:"éæé
ç½®",reason:"KVæ å¼ï¼åééæé
ç½®",kvKey:c,cacheKey:u,requestUrl:l.bucketResolvedUrlWithTs,result:null}),{configData:null,isLocalStatic:!1};try{const y=JSON.parse(m);await vA(u,y,Gn);const b=uo(y,{publicBucket:y.commonOssBucket||""});return e({source:"KV",kvKey:c,cacheKey:u,result:b}),{configData:b,isLocalStatic:!1}}catch(y){return e({source:"éæé
ç½®",reason:`é
ç½®JSONè§£æå¤±è´¥: ${String(y)}`,kvKey:c,cacheKey:u,requestUrl:l.bucketResolvedUrlWithTs,result:null}),{configData:null,isLocalStatic:!1}}}catch(p){return e({source:"éæé
ç½®",reason:`KV读åå¼å¸¸: ${String(p)}`,kvKey:c,requestUrl:l.bucketResolvedUrlWithTs,result:null}),{configData:null,isLocalStatic:!1}}}let n=[];const r=typeof window<"u",o=r?await gA():null;let s=o!=null;if(!s){const c=await es("");if(c!=null)return e({source:"åæºéæ",requestUrl:wc().sameOriginResolvedUrl,result:c}),{configData:c,isLocalStatic:s};const l=As(),u=await es(l);return e({source:"è¿ç«¯éæ",reason:u?"":"è¿ç«¯éæé
置为空",requestUrl:wc().bucketResolvedUrlWithTs,result:u}),{configData:u,isLocalStatic:s}}let i="";if(o!=null){i=o.siteCode;const c=Kt(),l=r?location.host:"",u=c.cid||o.cidMap?.[l]||o.cid;r&&u!=c.cid&&window.history.replaceState(window.history.state,"",va(null,{cid:u}
4)),s=!0,typeof o.configData=="string"?n.push(o.configData):Array.isArray(o.configData)&&o.configData.length&&n.push(...o.configData);const{lobbyDomains:f=[]}=mm()??{};n=Array.from(new Set([...n,...f])),o.siteDomain&&n.push(o.siteDomain)}if(n.length===0){const c=ho(Tu());L(c)||n.push(c)}const a=await TA(n,i);return e({source:"æ¬å°é
ç½®åå",reason:a?"":"ååé¾è·¯æªè·åå°é
ç½®",requestUrl:n.filter(Boolean).join(","),result:a}),{configData:a,isLocalStatic:s}}var RA={};const EA={siteStatus:Un.Normal,siteCode:"",apiDomain:"",imageCdnDomain:""};function pn(e){return String(e??"").trim()}function oy(){if(typeof window>"u")return!1;try{const t=String(xn().public?.ssrMode??"true").toLowerCase()==="false",n=["127.0.0.1","localhost"].includes(window.location.hostname);return t&&n}catch{return!1}}function AA(){if(!oy())return"";try{const t=pn(xn().public?.siteCode);if(!L(t))return t}catch{}try{if(typeof window<"u"){const t=pn(window.__NUXT__?.config?.public?.siteCode);if(!L(t))return t}}catch{}return""}function sy(){return pn(ZT())}function oh(){const e=sy();return L(e)?AA():e}function iy(){if(typeof process<"u"&&RA?.DEBUG_TRACE==="1")return!0;try{return new URLSearchParams(window.location.search).get("_trace")==="1"}catch{return!1}}function kA(e,t){switch(e){case"resolve:store":return`ç¨ config_data éç siteCode: ${t}`;case"resolve:hydrated":return`ç¨ SSR 请æ±å¤´éç siteCode: ${t}`;case"resolve:local-csr-bootstrap":return`ç¨æ¬å° CSR è¿è¡é
ç½®éç siteCode: ${t}`;case"resolve:empty":return"config_dataãSSR 请æ±å¤´ãæ¬å° CSR è¿è¡é
ç½®é齿²¡æ siteCode";default:return e}}function mt(e,t={}){if(!iy()||!new Set(["resolve:store","resolve:hydrated","resolve:local-csr-bootstrap","resolve:empty"]).has(e))return;const r=rt(),o=pn(t.siteCode),s=kA(e,o),i=r?`${r}[siteCode] ${s}`:`[siteCode] ${s}`,a={traceId:Ze(),side:"CSR",...L(o)?{}:{siteCode:o}};console.warn(i,a)}function xA(){const e=mn("legacy-site-config-data",()=>({...EA})),t=mn("legacy-site-config-checking",()=>!1),n=mn("legacy-site-config-domain-checking",()=>!1),r=mn("legacy-site-config-domain-checked",()=>!1);function o(){return e.value}function s(){const h=o();return{storeSiteCode:pn(h.siteCode),hydratedSiteCode:pn(sy()),bootstrapSiteCode:pn(oh()),runtimeFallbackEnabled:oy(),apiDomain:String(h.apiDomain||""),siteResourceDomain:String(h.siteResourceDomain||""),imageCdnDomain:String(h.imageCdnDomain||"")}}function i(h,g={}){if(!iy())return;const v=rt(),T=v?`${v}[regionAccessV2-sync][skip-inflight]`:"[regionAccessV2-sync][skip-inflight]",A={traceId:Ze(),source:h,isCheckingState:t.value,...g};console.warn(T,A)}let a=null;function c(){return a||(a=l().finally(()=>{a=null})),a}async function l(){const h=o();mt("init:start",s());const{configData:g,isLocalStatic:v}=await rh();if(h.isLocalStatic=v,g!=null){mt("init:config-data",{...s(),configSiteCode:pn(g.siteCode)});const T=mm()||{};T.siteCode==g.siteCode&&(delete T.isLocalStatic,Object.assign(h,T)),h.siteCode=g.siteCode;const A=!0;await Rd(g,h,{enableSpeedTest:A,enableImageSpeedTest:!0}),r.value=A,mt("init:after-domains",{...s(),configSiteCode:pn(g.siteCode)})}else{const T=oh();if(L(T)||(h.siteCode=T),mt("init:no-config-data",{siteCode:T}),r.value=!1,!L(h.apiDomain)&&(!L(h.siteResourceDomain)||!L(h.imageCdnDomain)))return;const I=Ue();L(I)||(h.apiDomain=I,h.siteResourceDomain=I,h.imageCdnDomain=I),mt("init:fallback-runtime-origin",{...s()}),L(I)&&CR("Config_Data is Empty")}}function u(){const h=s(),g=h.storeSiteCode;if(!L(g))return mt("resolve:store",{siteCode:g}),g;const v=h.bootstrapSiteCode;return L(v)?(mt("resolve:empty"),""):(mt(h.hydratedSiteCode?"resolve:hydrated":"resolve:local-csr-bootstrap",{siteCode:v}),v)}let f=null;async function p(){const h=u();return L(h)?f?(mt("ensure:reuse-promise",s()),f):(mt("ensure:start",s()),f=(async()=>{try{await c()}catch(v){console.warn("[site-config] ensureSiteCodeReady init failed",v)}const g=u();return mt("ensure:resolved",{siteCode:g}),L(g)&&(f=null,mt("ensure:empty-reset")),g})(),f):(mt("ensure:fast-path",{...s()}),h)}let d=null;async function m(h={}){if(a&&await a.catch(()=>{}),d)return d;const g=h.force===!0;if(!(n.value||!g&&r.value))return n.value=!0,d=(async()=>{try{const{configData:v}=await rh();if(v!=null){const T=o();await Rd(v,T,{enableSpeedTest:!0}),r.value=!0}}catch(v){console.error("[site-config] client domain speed check failed",v)}finally{n.value=!1}})().finally(()=>{d=null}),d}async function y(h){const g=o();if(h==il.SITE_FROZEN)g.siteStatus=Un.Frozen;else{const{isMainTain:v}=await R();v?g.siteStatus=Un.MainTain:h==il.SITE_FROZEN_AND_MAINTAIN&&(g.siteStatus=Un.Frozen)}setTimeout(()=>{t.value=!1},1e3*5)}async function b(h="site-config-sync"){const g=o();if(t.value){i(h,{currentSiteStatus:g.siteStatus});return}t.value=!0,g.siteStatus=Un.Normal;let v=await ul(!0,!0,h);if(v!=null){const{code:T,data:A}=v;au.includes(T)?await y(T):A?.isAccess===!1&&(g.siteStatus=Un.AccessRestricted)}else{const{isMainTain:T}=await R();T&&(g.siteStatus=Un.MainTain)}ds(g),setTimeout(()=>{t.value=!1},1e3*5)}async function R(){let h=!1;const g=await nR();if(g!=null&&!L(g.notice_content)){const{start_time:v,end_time:T}=g,A=+new Date/1e3;A>=v&&A<=T&&(h=!0)}return{isMainTain:h,result:g}}async function w(h){const g=o();if(t.value)return;t.value=!0;const v=g.siteStatus;await y(h),g.siteStatus!=v&&typeof window<"u"&&setTimeout(()=>window.location.reload(),1e3*5)}return{get siteConfigData(){return e.value},initConfigData:c,getResolvedSiteCode:u,ensureSiteCodeReady:p,syncDomainsOnClient:m,syncSiteStatus:b,checkSiteStatus:w}}const PA=ya(xA);function Re(){return PA()}const OA="x-union-trace-id",IA="union-trace-id";function DA(e){const t=String(Ib(e).pathname||"").trim();if(!t.startsWith("/common/store")||/\.[a-z0-9]+$/i.test(t))return!1;const n=String(yr(e,"sec-fetch-mode")||"").trim().toLowerCase(),r=String(yr(e,"sec-fetch-dest")||"").trim().toLowerCase();if(n==="navigate"||r==="document")return!0;const o=String(yr(e,"accept")||"").toLowerCase();return!o||o.includes("text/html")||o.includes("application/xhtml+xml")}function ay(e){if(!e)return"";const t=String(yr(e,"cf-ray")||"").trim();return DA(e)&&t?t:String(yr(e,OA)||Nb(e,IA)||t||"").trim()}function LA(e){const t=ay(e);return t?`[${t}]`:""}var NA={};function Ra(e){return String(e??"").trim()}function UA(e){const t=Ra(e);return/^\d+$/.test(t)?t:""}function MA(e){const t=Ra(e).toLowerCase();return/^[a-z][a-z0-9-]*$/.test(t)?t:""}function $A(e){const t=Ra(e).toLowerCase();return/^[a-z0-9-]+$/.test(t)?t:""}const BA={sitecode:UA,"site-type":MA};function HA(e,t){const n=$A(yr(e,"x-edge")),r=n==="esa"?`x-esa-${t}`:`x-${t}`,o=Ra(yr(e,r)),s=BA[t](o),i={suffix:t,edge:n,headerName:r,rawValue:o,value:s,found:!!s};if(NA.DEBUG_TRACE==="1"){const a=LA(e);console.info(a?`${a}[site-headers] åå¼ ${t}`:`[site-headers] åå¼ ${t}`,{traceId:ay(e),...i})}return i}function FA(e){return HA(e,"sitecode").value}var cn={};const WA="/hall",Cr=e=>`${WA}${e}`,Qr=(e,t)=>
4L(t)?"":`/${e}/${t}`,cy=void 0;function bl(e){return String(e||"").trim().replace(/\/+$/,"")}function KA(e){const t=String(e??"").trim();return/^\d+$/.test(t)?t:""}function Ea(){return null}function Ru(){try{const t=void 0,n=FA(t);if(!L(n))return n}catch{}const e=KA(Ea()?.SITE_CODE);return L(e)?Re().getResolvedSiteCode():e}function ly(){return{accountId:String(cn.CF_KV_ACCOUNT_ID||cn.DEV_CF_ACCOUNT_ID||cn.CLOUDFLARE_ACCOUNT_ID||"").trim(),namespaceId:String(cn.CF_KV_NAMESPACE_ID||cn.DEV_CF_KV_NAMESPACE_ID||cn.SITE_KV_NAMESPACE_ID||"").trim(),apiToken:String(cn.CF_KV_API_TOKEN||cn.DEV_CF_API_TOKEN||cn.CLOUDFLARE_API_TOKEN||"").trim()}}function jA(e){return`${e.accountId}|${e.namespaceId}|${e.apiToken}`}function uy(){return!1}function VA(e,t=160){const n=typeof e=="string"?e:e==null?"":String(e);if(!n)return"(空)";const r=n.replace(/\s+/g," ").trim();return r.length<=t?r:`${r.slice(0,t)}...`}function fy(e,t=160){return VA(e,t)}function qA(e){return["é
ç½®æµç¨","æ¸ éæµç¨","æ¨¡æ¿æµç¨","ä¸è½½ä¿¡æ¯æµç¨"].includes(String(e||"").trim())}function zA(){return!1}function Yn(e,t,n){if(!zA()||t==="KV宿´è¿å"||qA(e))return;const r=rt();console.warn(r?`${r}[${e}][trace-full] ${t}`:`[${e}][trace-full] ${t}`,{traceId:Ze(),...n||{}})}function Jn(){const e=Ea()?.SITE_KV;if(e&&typeof e.get=="function")return"Cloudflareè¿è¡æ¶ç»å®";const t=uy()?dy():void 0;return t&&typeof t.get=="function"?"æ¬å°Dev Cloudflare KV REST":"æªé
ç½®"}async function Aa(e,t){const n=Date.now();let r=null,o=null;try{r=await e.get(t)}catch(s){o=String(s)}return{value:r,startedAt:n,latencyMS:Math.max(0,Date.now()-n),error:o}}function GA(e=ly()){const{accountId:t,namespaceId:n,apiToken:r}=e;if(!t||!n||!r)return;const o=`https://api.cloudflare.com/client/v4/accounts/${t}/storage/kv/namespaces/${n}/values`;return{async get(s){const i=String(s||"").trim();if(!i)return null;const a=`${o}/${encodeURIComponent(i)}`,c=await fetch(a,{method:"GET",headers:{Authorization:`Bearer ${r}`}});if(c.status===404)return null;if(!c.ok){const l=await c.text().catch(()=>"");throw new Error(`Cloudflare KV REST request failed (${c.status}): ${l.slice(0,200)}`)}return c.text()}}}let _c=null,sh=null;function dy(){const e=ly(),t=jA(e);return sh===t||(sh=t,_c=GA(e)||null),_c||void 0}function ka(){const e=Ea()?.SITE_KV;if(e&&typeof e.get=="function")return e;if(uy())return dy()}function xa(){return!1}function As(){try{const e=xn(),t=String(e.public.bucketProxyEnabled??"false").toLowerCase()==="true",n=bl(e.public.ossUrl),r=typeof location<"u"&&["localhost","127.0.0.1"].includes(String(location.hostname||"").trim().toLowerCase());if(t&&!r)return"";if(!L(n))return n}catch{}return bl(cy)}let Gs;function Zn(){const{siteConfigData:e}=Re();Gs??=new dA,Gs.setBaseURL(e.apiDomain||"");const t=e.siteResourceDomain?bl(e.siteResourceDomain):As();return Gs.setStaticBaseUrlURL(t),Gs}var Sl=(e=>(e[e.YES=1]="YES",e[e.NO=0]="NO",e))(Sl||{}),hy=(e=>(e[e.SYSTEM=1]="SYSTEM",e[e.CUSTOM=2]="CUSTOM",e))(hy||{}),Cl=(e=>(e[e.System=0]="System",e[e.Custom=1]="Custom",e))(Cl||{}),yi=(e=>(e[e.System=0]="System",e[e.Custom=1]="Custom",e[e.GENERAL_DOMAIN=2]="GENERAL_DOMAIN",e))(yi||{}),Eu=(e=>(e[e.LOBBY=1]="LOBBY",e[e.CUSTOM=2]="CUSTOM",e))(Eu||{}),Au=(e=>(e[e.PWA=4]="PWA",e))(Au||{}),ku=(e=>(e[e.Lobby=0]="Lobby",e[e.DownLoadSite=1]="DownLoadSite",e))(ku||{}),ks=(e=>(e[e.UnSpecified=0]="UnSpecified",e[e.Force=1]="Force",e))(ks||{}),py=(e=>(e[e.UnSpecified=0]="UnSpecified",e[e.Force=1]="Force",e))(py||{}),Tl={};const YA="æ¨¡æ¿æµç¨",Ys="æ¸ éæµç¨";function JA(){return(typeof process<"u"?String(Tl?.TEMPLATE_TRACE||"").trim():"")==="1"}function QA(e){if(!e||typeof e!="object")return{hasPayload:!1};const t=e.data,n=String(t?.template?.templateName||"");return{hasPayload:!0,code:e.code,errorCode:e.errorCode,hasData:t!=null,hasTemplateName:!!n,templateName:n}}function ih(e,t={}){if(!JA()||e!=="summary")return;const n=t,r=n.params||{},o=n.summary||{},s=String(n.staticUrl||""),i=String(n.staticResolvedUrl||""),a=String(n.hitBranch||""),c=o.error?` | é误:${o.error}`:"",l=rt(),u=`[模æ¿è¯·æ±] static:${s||"(空)"} | static宿´:${i||"(空)"} | å½ä¸:${a||"(æªç¥)"} | tid:${r.tid||"(空)"} | language:${r.language||"(空)"} | promote:${r.promote??"(空)"} | siteCode:${r.siteCode||"(空)"} | è¿å:${o.hasTemplateName?"ææ¨¡æ¿":"空"} | templateName:${o.templateName||"(空)"}${c}`;console.warn(l?`${l}${u}`:u)}function Qi(e){return String(e||"").trim().replace(/\/+$/,"")}function XA(){return typeof process>"u"?"":Qi(Tl?.BUCKET_URL||Tl?.VITE_OSS_URL||"")}function ah(e,t){const n=String(t?.staticResolvedUrl||"").trim();if(!L(n))return n;const r=String(e||"").trim();if(L(r))return"";if(r.startsWith("http://")||r.startsWith("https://"))return r;const o=r.startsWith("/")?r:`/${r}`;if(typeof window<"u"&&!L(location.origin))return`${location.origin}${o}`;const s=XA();return L(s)?o:`${s}${o}`}function gy(e){const t=e.startsWith("/")?e:`/${e}`;let n="";typeof window<"u"&&!L(location.origin)?n=Qi(location.origin):n=Qi(As());const r=n?`${n}${t}`:t,o=`${r}${r.includes("?")?"&":"?"}t=${Math.floor(+new Date/1e6)}`;return{staticRelativeUrl:t,staticResolvedUrl:r,staticResolvedUrlWithTs:o}}function xu(e,t){const n=String(e||"").trim();if(L(n))return"";let r=n;if(!n.startsWith("http://")&&!n.startsWith("https://")){const{siteConfigData:o}=Re(),s=Qi(o.apiDomain||(typeof window<"u"?location.origin:""));r=s?`${s}${n.startsWith("/")?n:`/${n}`}`:n}
4if(!t||!Object.keys(t).length)return r;try{const o=new URL(r,"http://localhost");return Object.entries(t).forEach(([s,i])=>{i==null||i===""||o.searchParams.set(s,String(i))}),o.origin==="http://localhost"&&!r.startsWith("http")?`${o.pathname}${o.search}${o.hash}`:o.toString()}catch{return r}}function my(e){return Su(Ru(),e)}function ZA(e,t){try{Object.defineProperty(e,"__requestDebug",{value:t,enumerable:!1,configurable:!0})}catch{e.__requestDebug=t}return e}function ek(e){const t={};e.languageType==ks.Force&&(t.languageCode=e.languageCode),e.currencyType==py.Force&&(t.currency=e.currency),typeof window<"u"&&(window.channelConfig=t)}function ch(e){return!e||typeof e!="object"||Array.isArray(e)?null:e}function tk(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e;return Array.isArray(t.androidList)&&Array.isArray(t.downloadList)}function lh(e){const t=[e];if(e&&typeof e=="object"&&!Array.isArray(e)){const n=e;n.data!=null&&t.push(n.data);const r=n.result;if(r&&typeof r=="object"&&!Array.isArray(r)){const o=r;o.data!=null&&t.push(o.data)}}for(const n of t)if(tk(n))return n;return null}function Js(e){if(!e)return null;e=uo(e);const t=s=>Lm(s),n=s=>Ki(s),r=s=>String(s||"").split(",").map(i=>i.trim()).filter(Boolean).map(i=>n(i)).join(",");let o=e.onlineService;try{const s=JSON.parse(String(e.onlineService||"[]"));o=JSON.stringify(Array.isArray(s)?s.map(i=>({...i,customerUrl:String(i?.customerUrl||"").trim()})):[])}catch{o=e.onlineService}return{...e,appIcon:n(e.appIcon),tutorialTfSys:n(e.tutorialTfSys),tutorialSuperSys:n(e.tutorialSuperSys),tutorialIosSys:n(e.tutorialIosSys),tutorialEnterpriseSys:n(e.tutorialEnterpriseSys),tutorialIos:t(e.tutorialIos),tutorialEnterprise:t(e.tutorialEnterprise),tutorialTfUrl:t(e.tutorialTfUrl),tutorialUrl:t(e.tutorialUrl),pwaPromoImage:r(e.pwaPromoImage),onlineService:o,androidList:Array.isArray(e.androidList)?e.androidList.map(s=>({...s,customizePath:Fs(s.customizePath),downloadPath:Fs(s.downloadPath),package64Path:Fs(s.package64Path)})):[],downloadList:Array.isArray(e.downloadList)?e.downloadList.map(s=>({...s,value:Fs(s.value),appIconUrl:n(s.appIconUrl)})):[]}}async function uh(e,t,n,r=""){const o=await Zn().getForStatic(t,n.staticRelativeUrl,{id:e}),s=o,i=s?.ResResult?.data??s?.data??null,a=s?.__requestDebug||s?.__templateDebug||{},c=String(a.hitBranch||(i?"static-json":"API")).trim(),l=Re().getResolvedSiteCode();return{channelData:i,hitBranch:c,requestUrl:c==="API"?xu(t,{id:e,siteCode:l}):n.staticResolvedUrlWithTs,requestParams:{id:e,siteCode:l},reason:r,result:o}}async function nk(e){const t=Cr("/api/agent/downloadSite/getDownloadTemplate"),n=`${t+Qr("tid",e.tid)+Qr("language",e.language)+Qr("promote",e.promote)}.json`;try{const r=await Zn().getForStatic(t,n,e,{isAboutLocale:!0}),o=r?.__templateDebug||{},s=QA(r),i=ah(n,o),a=String(o.hitBranch||"").trim();if(Yn(YA,"éæ/API模æ¿å®æ´è¿å",{url:t,staticUrl:n,staticResolvedUrl:i,params:e,debugInfo:o,result:r}),ih("summary",{staticUrl:n,staticResolvedUrl:i,hitBranch:a||(s.hasPayload?"API(æ debug)":""),params:e,summary:s}),r?.data?.template?.templateName){const c=a==="API"?xu(t,{...e,siteCode:Re().getResolvedSiteCode()}):`${i}${i.includes("?")?"&":"?"}t=${Math.floor(+new Date/1e6)}`;return ZA(r.data,{hitBranch:a||(s.hasPayload?"API":""),requestUrl:c,requestParams:{...e,siteCode:Re().getResolvedSiteCode()}})}}catch(r){ih("summary",{staticUrl:n,staticResolvedUrl:ah(n),hitBranch:"å¼å¸¸",params:e,summary:{hasTemplateName:!1,templateName:"",error:String(r)}})}return null}async function rk(e){if(L(e.id))return null;const t=String(e.id).trim();if(L(t))return null;const n=Cr("/api/lobby/channel/go/getChannelInfoById"),r=gy(`${n}/id/${t}/info/channel.json`),o=Date.now();try{let s=null;const i=typeof window>"u"&&xa();let a="";if(i){const c=`download/channel/${t}`,l=my(c),u=await ey(l);let f=u?"ç¼å":"KV";if(u)try{const m=JSON.parse(u);s=ch(m),s||(await Yi(l),f="KV")}catch{await Yi(l),f="KV"}s||(Jn(),void 0);const p=ka();!s&&!p&&(a="KVè¿æ¥ä¸å¯ç¨");let d=null;if(!s&&p&&!a){const y=await Aa(p,c);d=y.value,y.error?(a=`读åKVå¼å¸¸: ${y.error}
4`,Jn(),y.latencyMS,y.error,void 0):(Jn(),y.latencyMS,fy(d),void 0),y.startedAt,y.latencyMS,y.error}if(!s&&!a&&!d&&(a="æ¸ éKVæ å¼"),!s&&!a&&d)try{const m=JSON.parse(d);s=ch(m),s?await ty(l,d,Gn):a="æ¸ éJSONç»æä¸åæ³"}catch(m){a=`æ¸ éJSONè§£æå¤±è´¥: ${String(m)}`}if(s)Math.max(0,Date.now()-o);else{const m=await uh(t,n,r,a||"KVæªå½ä¸");s=m.channelData,Math.max(0,Date.now()-o),m.reason,m.requestUrl,m.requestParams,m.hitBranch}}else{const c=typeof window>"u"?"KVä¸å¯ç¨":"CSRåºå®èµ°éæ/API",l=await uh(t,n,r,c);s=l.channelData,Math.max(0,Date.now()-o),l.requestUrl,l.requestParams,l.hitBranch}return s?(s=uo(s),ek(s),s):null}catch{Re().getResolvedSiteCode()}return null}async function Y1(){const e=Cr("/api/lobby/config/getAppDownloadInfo"),t=gy(`${e}.json`),n=r=>{({...r})};try{const r=typeof window<"u"?window.LOBBY_SITE_CONFIG?.INJECT_DATA?.apiGetAppDownloadInfo?.data:null;if(r&&r.data){const l=Js(r.data);return n({source:"注å
¥æ°æ®",result:l}),l}if(typeof window>"u"){const l="download/app/download/info",u=my(l);if(!xa())return n({source:"è¿å空",reason:"æªæ£æµå°å¯ç¨SITE_KVç»å®æCF_KVåè¯",kvKey:l,requestUrl:t.staticResolvedUrlWithTs,requestParams:{siteCode:Re().getResolvedSiteCode()}}),null;const f=await bA(u);if(f)try{const y=JSON.parse(f),b=lh(y);if(b){const R=Js(b);return n({source:"ç¼å",reason:"å½ä¸Cache APIç¼å",kvKey:l,cacheKey:u,result:R}),R}await th(u)}catch{await th(u)}const p=ka();if(!p)return n({source:"è¿å空",reason:"KVè¿æ¥ä¸å¯ç¨",kvKey:l,requestUrl:t.staticResolvedUrlWithTs,requestParams:{siteCode:Re().getResolvedSiteCode()}}),null;let d=null;const m=await Aa(p,l);if(d=m.value,m.error)return n({source:"è¿å空",reason:`读åKVå¼å¸¸: ${m.error}`,kvKey:l}),null;if(!d)return n({source:"è¿å空",reason:"ä¸è½½ä¿¡æ¯KVæ å¼",kvKey:l}),null;try{const y=JSON.parse(d),b=lh(y);if(b){await SA(u,d,Gn);const R=Js(b);return n({source:"KV",kvKey:l,cacheKey:u,result:R}),R}return n({source:"è¿å空",reason:"ä¸è½½ä¿¡æ¯JSONç»æä¸åæ³",kvKey:l}),null}catch(y){return n({source:"è¿å空",reason:`ä¸è½½ä¿¡æ¯JSONè§£æå¤±è´¥: ${String(y)}`,kvKey:l}),null}}const s=await Zn().postForStatic(e,`${e}.json`),i=s?.__templateDebug||{},a=String(i.hitBranch||(s?.data?"static-json":"API")).trim(),c=J
4s(s?.data||null);return n({source:"éæ/API",reason:c?"":"éæ/APIä¸è½½ä¿¡æ¯ä¸ºç©º",requestUrl:a==="API"?xu(e,{siteCode:Re().getResolvedSiteCode()}):t.staticResolvedUrlWithTs,requestParams:{siteCode:Re().getResolvedSiteCode()},hitBranch:a,result:c}),c}catch(r){n({source:"è¿å空",reason:String(r),requestUrl:t.staticResolvedUrlWithTs,requestParams:{siteCode:Re().getResolvedSiteCode()}})}return null}async function J1(){try{return(await Zn().get(Cr("/api/agent/downloadSite/getDownloadCount")))?.data||null}catch(e){if(typeof window<"u")try{return await Re().syncDomainsOnClient({force:!0}),(await Zn().get(Cr("/api/agent/downloadSite/getDownloadCount")))?.data||null}catch{}console.log(e)}return null}const Qs="data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2266%22 height=%2266%22 viewBox=%220 0 66 66%22 fill=%22none%22%3E%3Cdefs%3E%3CclipPath id=%22a%22%3E%3Cpath d=%22M31.934 10.536a7 7 0 0 1 12.133 0l25.892 44.971A7 7 0 0 1 63.892 66H12.108a7 7 0 0 1-6.067-10.493Z%22 transform=%22translate(101 11) rotate(90)%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path=%22url(%23a)%22 data-name=%22logo%22 transform=%22translate(-35 -16.097)%22%3E%3Cpath fill=%22%23ea4335%22 d=%22M78.764 61.819 63.2 47.485l-30.455 28.29 6.978 8.3Z%22 data-name=%22%E8%B7%AF%E5%BE%84%205%22/%3E%3Cpath fill=%22%2334a853%22 d=%22M78.764 35.74 63.2 50.073l-30.455-28.29 6.978-8.3Z%22 data-name=%22%E8%B7%AF%E5%BE%84%204%22/%3E%3Cpath fill=%22%234285f4%22 d=%22m32.838 21.7 29.3 27.215-29.3 28.686Z%22 data-name=%22%E8%B7%AF%E5%BE%84%201%22/%3E%3Cpath fill=%22%23fbbc04%22 d=%22m62.137 49 18.511-15.9L99.282 49 80.035 65.708Z%22 data-name=%22%E8%B7%AF%E5%BE%84%202%22/%3E%3C/g%3E%3C/svg%3E",ok={data:{appIcon:Qs,defaultImg:{downloadImg:null,goH5Img:null,goWebsiteImg:null,repairToolImg:null,superTeachingImg:null,tfTeachingImg:null,viewpagerTopImg:null,wxTeachingImg:null},languageList:[{languageCode:"en",languageName:"English"}],template:{companyInfo:"COPYRIGHT RESERVED",downloadPageContentVOS:[{type:1,formData:{color:"rgba(255, 255, 255, 1)",title:"Download",content:"Default template loaded from application fallback.",isAndroid:1,isIos:1,hideTag:!1,tags:[]}},{type:3,formData:{isHide:0,comments:[]}}],downloadPageModelVOS:{stationColor:"#1577fe",stationImageMap:[],stationStyle:1},footerConfig:{downloadToWeb:{btnText:"",btnTextType:0,btnValue:1,isHide:!1,pass:"1",textContent:""},licenseConfig:{contentText:"",isHide:1,picList:[]}},id:0,jumpPc:1,languageCode:"en",languageCodeList:["en"],lineConfig:{},pageSetting:{appStoreConfig:{ageLimit:"18",androidDownloadUrl:"",appName:"Default App",bgColor:"#111111",bgImgUrl:"",bgType:1,bgVideoUrl:"",commentNum:"0",developerName:"Default",downloadNum:"0",hideTop:0,installType:1,iosAppName:"Default App",iosDownloadUrl:"",iosLogoUrl:Qs,isAppStoreStyle:!0,logoUrl:Qs},codeType:"",ico:Qs,isPwaDedicated:!1,keyword:"default,download",pageDescription:"Default fallback template",statisticalCode:"",titleMark:"Default Template"},selected:0,sys:0,templateName:"Default Template",templateNameLanguage:null,themeColor:"rgba(17, 17, 17, 1)",timestamp:0,websiteTitleStyleVOS:{isHide:0,logo:null,logoMap:[],titleBackgroundColor:"#111111",titleContent:"Default Template",websiteTitleStyle:1}},siteCode:"default",time:0}};var yy=(e=>(e[e.Style_1=1]="Style_1",e[e.Style_2=2]="Style_2",e[e.Style_3=3]="Style_3",e[e.Style_4=4]="Style_4",e[e.Style_5=5]="Style_5",e[e.Style_6=6]="Style_6",e))(yy||{}),Rl=(e=>(e[e.SYSTEM=0]="SYSTEM",e[e.CUSTOM=1]="CUSTOM",e))(Rl||{}),wi=(e=>(e[e.SYSTEM=0]="SYSTEM",e[e.CHANNEL=1]="CHANNEL",e[e.CUSTOM=2]="CUSTOM",e[e.GENERAL_DOMAIN=3]="GENERAL_DOMAIN",e))(wi||{});function wy(){const e=mn("channel-data",()=>null);return{channelDataState:e,syncChannelData:r=>{e.value=r},getChannelData:()=>e.value}}var ts=(e=>(e[e.BaseStyle=0]="BaseStyle",e[e.AppStore=1]="AppStore",e[e.PWA=2]="PWA",e[e.ProAdStore=3]="ProAdStore",e))(ts||{}),sk=(e=>(e[e.CUSTOM_SELF=1]="CUSTOM_SELF",e[e.CUSTOM_BLANK=2]="CUSTOM_BLANK",e[e.DOWNLOAD_APP=3]="DOWNLOAD_APP",e[e.CHOSE_LINE=4]="CHOSE_LINE",e))(sk||{}),vn=(e=>(e[e.PICTURE=0]="PICTURE",e[e.CONTENT=1]="CONTENT",e[e.LINE=2]="LINE",e[e.COMMENT=3]="COMMENT",e[e.VIDEO=5]="VIDEO",e[e.LICENSE=10]="LICENSE",e[e.title=999]="title",e))(vn||{}),ik=(e=>(e[e.NONE=0]="NONE",e[e.GOOGLE=1]="GOOGLE",e[e.BAIDU=2]="BAIDU",e[e.YOUMENG=3]="YOUMENG",e))(ik||{}),ak=(e=>(e[e.GA4=0]="GA4",e[e.CLARITY=1]="CLARITY",e[e.LA51=2]="LA51",e[e.BAIDU=3]="BAIDU",e[e.CNZZ=4]="CNZZ",e))(ak||{}),ck=(e=>(e[e.SPEED_APP=1]="SPEED_APP",e[e.NATIVE_APP=2]="NATIVE_APP",e[e.ANTI_BLOCK_SPEED_APP=11]="ANTI_BLOCK_SPEED_APP",e[e.ANTI_BLOCK_NATIVE_APP=12]="ANTI_BLOCK_NATIVE_APP",e[e.PWA_APP=99]="PWA_APP",e))(ck||{}),lk=(e=>(e[e.SPEED_APP=1]="SPEED_APP",e[e.NATIVE_APP=2]="NATIVE_APP",e[e.QUICK_APP=3]="QUICK_APP",e[e.VEST_APP=6]="VEST_APP",e))(lk||{}),uk=(e=>(e[e.Super=1]="Super",e[e.Tf=2]="Tf",e[e.EnterPrise=3]="EnterPrise",e))(uk||{}),fk=(e=>(e[e.Default=0]="Default",e[e.Style1=1]="Style1",e))(fk||{});const Oe="æ¨¡æ¿æµç¨",vc="æ¸ éæµç¨";function vr(e,t){const n=rt();console.error(n?`${n}${e}`:e,{traceId:Ze(),error:""})}function xr(){let{languageCode:e}=Kt();return nm(e)}function dk(e,t){const{defaultImg:n}=t,r=t.template;if(!r){vr("[useTemplate] template is undefined or null in formatDownLoadTemplateFixData");return}const{downloadPageModelVOS:o}=r,{stationColor:s,stationImageMap:i,stationStyle:a}=o||{};e.fixOperations={color:s,imagesMap:i,style:a},e.fixDefaultImg={...n}}function hk(e,t){e.templateStyle=ts.AppStore;const{appIcon:n,template:r}=t;if(!r){vr("[useTemplate] template is undefined or null in formatAppStoreDownLoadTemplateData");return}const{pageSetting:o}=r;if(!o){vr("[useTemplate] pageSetting is undefined or null in formatAppStoreDownLoadTemplateData");return}const s=o.appStoreConfig;if(!s){vr("[useTemplate] appStoreConfig is undefined or null in formatAppStoreDownLoadTemplateData");return}
4e.appInfo={type:s.bgType,bgColor:s.bgColor,appName:s.appName,appIcon:s.logoUrl||n,iosAppName:s.iosAppName,iosAppIcon:s.iosLogoUrl||n,developer:s.developerName,bgUrl:s.bgImgUrl,videoUrl:s.bgVideoUrl,ageLimit:s.ageLimit,commentNum:s.commentNum,downloadNum:s.downloadNum},e.pwaConfig={appName:e.appInfo.appName,appIcon:e.appInfo.appIcon},e.headConfig={isHide:s.hideTop};const{installType:i,androidDownloadUrl:a,iosDownloadUrl:c}=s,l=i==hy.SYSTEM?Rl.SYSTEM:Rl.CUSTOM;e.downLoadConfig={...e.downLoadConfig,templateConfig:{type:l,iosUrl:c,androidUrl:a}};const{downloadPageContentVOS:u}=r;let f=[],p=[],d={isHide:!1,data:[]};(u||[]).forEach(({type:m,formData:y})=>{if(m==vn.PICTURE){const b=(y.picList||[]).filter(R=>!L(R.url));f.push(...b)}else if(m==vn.CONTENT){const{isHideTitle:b=!1,isAndroid:R=!1,isIos:w=!1,title:h="",content:g="",hideTag:v=!1,tags:T=[]}=y;p.push({hideTitle:b,title:h,content:g,hideTag:v,isAndroid:R,isIos:w,tags:T})}else m==vn.COMMENT&&(d.isHide=y.isHide??!1,d.data.push(...y.comments??[]))}),e.appImages=f,e.appDescList=p,e.appComments=d}function pk(e){const{btnTextType:t,btnText:n,btnValue:r,textContent:o,inputText:s,generalDomain:i}=e??{};let a="";return t==wi.CHANNEL?a=n:t==wi.CUSTOM?a=r==Eu.LOBBY?o:ji(s):t==wi.GENERAL_DOMAIN&&(a=ji(i)),a}function gk(e){let t=[];const n=e?.btnTextType;if(n==yi.System){const o=Re().siteConfigData;t=o?.lobbyDomains??[],t.length>0&&YR(o)}else n==yi.Custom?t=e?.list.filter(r=>!L(r.url)).map(r=>ji(r.url)):n==yi.GENERAL_DOMAIN&&(t=e?.generalDomains.filter(r=>!L(r.url)).map(r=>ji(r.url)));return t}function fh(e){if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){const t=e.trim().toLowerCase();return t?!["0","false","off","no","null","undefined"].includes(t):!1}return!1}function mk(e,t){const{appIcon:n,template:r}=t;if(!r){vr("[useTemplate] template is undefined or null in formatBaseDownLoadTemplateData");return}const{websiteTitleStyleVOS:o,themeColor:s}=r;e.themeColor=s;const{isHide:i,titleBackgroundColor:a,titleContent:c,websiteTitleStyle:l}=o,u=o.logoMap?.find(S=>S.isChoose)?.url||n;e.headConfig={isHide:i,logo:u,type:l,title:c,bgColor:a},e.pwaConfig={appName:"",appIcon:n};const f=r.footerConfig;if(!f){vr("[useTemplate] footerConfig is undefined or null in formatBaseDownLoadTemplateData");return}const p=r.lineConfig,d=gk(f.domainLineLink);p&&(e.lineConfig={...p,lines:d});const{bg:m,title:y,styleType:b,imgUrl:R,h5Bubble:w,downloadBubble:h,downloadBubbleLink:g,gameDownloadBubbleLink:v}=f||{},{btnTextType:T}=v??{},A=pk(v);e.footerConfig={type:b||"",title:y||"",isHide:f?.isHide||!1,bgColor:m||"",logo:R||"",play:{text:w?.btnTextType==Cl.Custom?w.btnText:"",bubble:w?.isHide?"":w?.textContent||"",bgColor:w?.bg||"",color:w?.color||"",isBold:w?.isBold||!1},playLink:{type:T,url:A},download:{text:h?.btnTextType==Cl.Custom?h.btnText:"",bubble:h?.isHide?"":h?.textContent||"",bgColor:h?.bg||"",color:h?.color||"",isBold:h?.isBold||!1}},e.downLoadConfig={...e.downLoadConfig,templateConfig:{type:g?.btnTextType,iosUrl:g?.textContent,androidUrl:g?.btnText}};const{downloadPageContentVOS:I}=r;let O=[];(I||[]).forEach(({type:S,formData:k})=>{if(S==vn.PICTURE){const{isHideTitle:E=!1,title:x=""}=k,z=(k.picList||[]).filter(X=>!L(X.url));O.push({type:S,data:{isHideTitle:E,title:x,images:[...z]}})}else if(S==vn.CONTENT){const{color:E="",title:x="",content:z=""}=k;O.push({type:S,data:{color:E,title:x,content:z}})}else if(S==vn.LINE){const{isHide:E=!1,bg:x="",btnBgColor:z="",styleType:X=yy.Style_1,textColor:q="",playNowTextColor:oe=""}=k;O.push({type:S,data:{isHide:E,bg:x,btnBgColor:z,styleType:X,textColor:q,playNowTextColor:oe}})}else if(S==vn.VIDEO){const{isHideTitle:E=!1,isAutoPlay:x=!1,title:z=""}=k,X=(k.videoList||[]).filter(q=>!L(q.url));O.push({type:S,data:{isHideTitle:E,isAutoPlay:x,title:z,videos:[...X]}})}}),e.modules=O}function yk(e,t){const n={templateStyle:ts.BaseStyle},{template:r,languageList:o}=e;if(!r)return vr("[useTemplate] template is undefined or null"),n;const{languageCode:s,languageCodeList:i,themeColor:a,pageSetting:c}=r,l=Array.isArray(i)?i:[],u=t?.languageCode||Kt().languageCode;let f={code:l.find(A=>A==u)??s,name:""};const p=o.map(A=>{const I={code:A.languageCode,name:A.languageName};
4return I.code==s&&(f.name=I.name),I});if(Object.assign(n,{language:f,allLanguages:p,themeColor:a,templateName:r.templateName||""}),Er().i18n.setLocale(f.code),c){const{codeType:A,ico:I,keyword:O,pageDescription:S,statisticalCode:k,statCodeType:E,statId:x,titleMark:z}=c;n.siteSetting={codeType:A,ico:I,keyword:O,pageDescription:S,statisticalCode:k,statCodeType:E,statId:x,titleMark:z}}const d=r.footerConfig;if(d?.downloadToWeb){const{btnValue:A,btnTextType:I,textContent:O,pass:S=1,btnText:k}=d.downloadToWeb??{},E=A===Eu.LOBBY?`${ps(O)}`:`${ps(k)}`;n.autoJumpToWeb={type:A,isOpen:I==1,linkUrl:E,time:Number(S)*1e3}}dk(n,e);const{isPwaDedicated:m,appStoreConfig:y,isProAdTemplate:b=!1}=c,R=e?.isPwa,w=t?.isPwa,h=fh(R),g=fh(w);if(n.downLoadConfig={isPwa:h,isPwaDedicated:!!m,isProAdTemplate:!!b},m||b||y?.isAppStoreStyle)hk(n,e),d?.licenseConfig&&(n.licenseConfig=d.licenseConfig),m&&(n.templateStyle=ts.PWA,n.downLoadConfig.isPwa=!0),b&&(n.templateStyle=ts.ProAdStore,n.downLoadConfig.isPwa=!0);else{mk(n,e);const A=d?.licenseConfig;A&&!A.isHide&&n.modules.push({type:vn.LICENSE,data:A})}const v=t!=null&&t.isPwa!=null;return!m&&!b&&v&&(n.downLoadConfig.isPwa=g),n}async function ns(e,t,n,r=Oe){const o=await Aa(e,t),s=o.value;try{if(o.error)throw new Error(o.error);return Jn(),o.latencyMS,fy(s),Yn(r,"KV宿´è¿å",{key:t,step:n,raw:s}),s}catch{return Jn(),o.latencyMS,null}finally{o.startedAt,o.latencyMS,o.error}}function tn(e){if(L(e))return"";const t=String(e).trim();if(!t)return"";const n=tm(t);return n?String(n):t.toLowerCase().replace(/-/g,"_")}function _y(e){if(L(e))return[];const t=String(e);return Array.from(new Set(t.split(/[,|ï¼]/).map(n=>tn(n)).filter(Boolean)))}function vy(e){const t=e?.[0]?.languageCode,r=_y(t)[0]||tn(t);return{raw:t,normalized:r}}function by(){return typeof window<"u"}function dh(e,t=""){const r=Kt(void 0,!1).languageCode,s=e?.languageType==ks.Force?e.languageCode:null,{normalized:i}=vy(e?.channelTemplateInfoList),a=by(),c=a?xr():"",l=tn(r),u=tn(s),f=a?tn(c):"";return Array.from(new Set([l,u,i,f].filter(Boolean)))}function Xi(e){return Array.isArray(e)?e:e&&typeof e=="object"&&Array.isArray(e.data)?e.data:[e]}function Sy(e){const t=e?.data??e;return!t||typeof t!="object"||!t.template||typeof t.template!="object"||!Array.isArray(t.languageList)||!t.template.pageSetting||typeof t.template.pageSetting!="object"?null:t}function Zi(e,t){const n=e.map(r=>{const o=Sy(r);return o?{payload:o,templateName:o?.template?.templateName||"",primaryLanguageCode:tn(o?.template?.languageCode),configuredLanguageCodeList:(o?.template?.languageCodeList||[]).map(s=>tn(s)).filter(Boolean)}:null}).filter(r=>r!==null);if(!n.length)return null;n.map((r,o)=>({åºå·:o+1,模æ¿å:r.templateName||"(空)",主è¯è¨:r.primaryLanguageCode||"(空)",é
ç½®languageCodeList:r.configuredLanguageCodeList.join(" | ")||"(空)"}));for(const r of t){const o=n.findIndex(s=>s.primaryLanguageCode===r);if(o>=0)return n[o].payload}return n[0].payload}function _i(e){return Su(Ru(),e)}async function wk(e,t=2,n=3,r=[],o="download/template/default"){const s=o,i=_i(s);let a=await ny(i)||null,c=a?"ç¼å":"KV";if(a||(a=await ns(e,s,t),a&&await Ji(i,a,Gn)),!a)return null;try{const l=JSON.parse(a);Yn(Oe,"é»è®¤æ¨¡æ¿KVè§£æå宿´è¿å",{key:s,source:c,parsed:l});const u=Xi(l),f=Zi(u,r);return f?(r.join(" > "),f?.template?.languageCode,f?.template?.templateName,f):(r.join(" > "),null)}catch{if(c==="ç¼å"){await ry(i);const u=await ns(e,s,t);if(u){await Ji(i,u,Gn);try{const f=JSON.parse(u);Yn(Oe,"é»è®¤æ¨¡æ¿KVåæºè§£æå宿´è¿å",{key:s,source:"KV",parsed:f});const p=Xi(f),d=Zi(p,r);return d?(r.join(" > "),d?.template?.languageCode,d?.template?.templateName,d):(r.join(" > "),null)}catch{return null}}}return null}}function _k(e,t,n,r){const o={};if(L(e)||(o.siteCode=e),r!=null&&!L(r.tid))o.tid=r.tid;else{const s=L(t)&&!L(n);o.promote=s?Sl.YES:Sl.NO,o.language=xr()}return o}function hh(e){return String(e||"").trim().replace(/\/+$/,"")}function vk(e){const n=`${Cr("/api/agent/downloadSite/getDownloadTemplate")+Qr("tid",e.tid)+Qr("language",e.language)+Qr("promote",e.promote)}.json`,r=n.startsWith("/")?n:`/${n}`,{siteConfigData:o}=Re(),s=typeof window<"u"&&o.siteResourceDomain?hh(o.siteResourceDomain):hh(As()),i=s?`${s}${r}`:r,a=`${i}${i.includes("?")?"&":"?"}t=${Math.floor(+new Date/1e6)}`;return{staticRelativeUrl:n,staticResolvedUrl:i,staticResolvedUrlWithTs:a}}async function ph(e,t,n,r,o=""){let s=r;!s&&t&&(s=await kk(!0));const i=_k(e,t,n,s),a=vk(i),c=Sy(await nk(i));if(Yn(Oe,"éæ/API模æ¿å®æ´è¿å",{cid:t||"(空)",params:i,staticRelativeUrl:a.staticRelativeUrl,staticResolvedUrl:a.staticResolvedUrl,staticResolvedUrlWithTs:a.staticResolvedUrlWithTs,templateRes:c}),!c)return{templateRes:null,channelConfig:s,reason:"éæ/API模æ¿ä¸ºç©º",traceSummary:{source:"éæ/API",reason:o||"éæ/API模æ¿ä¸ºç©º",requestUrl:a.staticResolvedUrlWithTs,requestParam
4s:{...i,siteCode:e||""}}};const l=c?.__requestDebug||{};return{templateRes:c,channelConfig:s,traceSummary:{source:"éæ/API",reason:o||"",requestUrl:String(l.requestUrl||a.staticResolvedUrlWithTs||""),requestParams:l.requestParams||{...i,siteCode:e||""},hitBranch:String(l.hitBranch||"")}}}async function bk(e,t){let n=null,r=null;const o=wy();o.syncChannelData(null),Jn();try{const s=ka();if(!s)return{templateRes:null,channelConfig:n,reason:"KVè¿æ¥ä¸å¯ç¨",traceSummary:{source:"KV",reason:"KVè¿æ¥ä¸å¯ç¨"}};if(!e){const g=!L(t),v=g?"download/template/promote":"download/template/default",A=dh(null,g?"æ cidæid/dl走代çpromote模æ¿":"æ cidç´æ¥è¯»é»è®¤æ¨¡æ¿"),I=await wk(s,2,3,A,v);return I?{templateRes:I,channelConfig:n,traceSummary:{source:"KV",kvKey:v,cacheKey:_i(v)}}:{templateRes:null,channelConfig:n,reason:`${g?"promote":"default"}模æ¿KVæ å¼æè§£æå¤±è´¥`,traceSummary:{source:"KV",reason:`${g?"promote":"default"}模æ¿KVæ å¼æè§£æå¤±è´¥`,kvKey:v}}}const i=`download/channel/${e}`,a=Date.now(),c=g=>{({...g,latencyMS:Math.max(0,Date.now()-a)})},l=_i(i);let u=await ey(l)||null,f=u?"ç¼å":"KV";if(u||(Jn(),u=await ns(s,i,2,vc)),!u)return c({source:"KV",reason:"æ¸ éKVæ å¼",kvKey:i,result:null,channelConfig:n}),{templateRes:null,channelConfig:n,reason:"æ¸ éKVæ å¼",traceSummary:{source:"KV",reason:"æ¸ éKVæ å¼",kvKey:i}};try{const g=JSON.parse(u);if(Yn(vc,"KVè§£æå宿´è¿å",{key:i,parsed:g}),r=Ak(g),!r)return f==="ç¼å"&&await Yi(l),c({source:f,reason:"æ¸ éJSONç»æä¸åæ³",kvKey:i,result:null,channelConfig:n}),{templateRes:null,channelConfig:n,reason:"æ¸ éJSONç»æä¸åæ³",traceSummary:{source:"KV",reason:"æ¸ éJSONç»æä¸åæ³",kvKey:i}}}catch{return f==="ç¼å"&&await Yi(l),c({source:f,reason:"æ¸ éJSONè§£æå¤±è´¥",kvKey:i,result:null,channelConfig:n}),{templateRes:null,channelConfig:n,reason:"æ¸ éJSONè§£æå¤±è´¥",traceSummary:{source:"KV",reason:"æ¸ éJSONè§£æå¤±è´¥",kvKey:i}}}f==="KV"&&await ty(l,u,Gn),n=Rk(r),o.syncChannelData(r);const{languageCode:p,channelTemplate:d,templateGroupId:m}=Cy(r);if(p&&(n.languageCode=p),n.tid=d?.tid,n.templateGroupId=m,!m)return c({source:f,reason:"æ¸ é缺å°templateGroupId",kvKey:i,result:r,channelConfig:n}),{templateRes:null,channelConfig:n,reason:"æ¸ é缺å°templateGroupId",traceSummary:{source:"KV",reason:"æ¸ é缺å°templateGroupId",kvKey:i}};c({source:f,kvKey:i,cacheKey:l,reason:f==="ç¼å"?"å½ä¸Cache APIç¼å":"",result:r,channelConfig:n});const y=dh(r,"æ¸ éæ¨¡æ¿éæ©"),b=`download/template/${m}`,R=_i(b);let w=await ny(R)||null,h=w?"ç¼å":"KV";if(w&&void 0,w||(w=await ns(s,b,4,Oe),w&&await Ji(R,w,Gn)),!w)return{templateRes:null,channelConfig:n,reason:"模æ¿KVæ å¼",traceSummary:{source:"KV",reason:"模æ¿KVæ å¼",kvKey:b}};try{const g=JSON.parse(w);Yn(Oe,"模æ¿KVè§£æå宿´è¿å",{key:b,source:h,parsed:g});const v=Xi(g),T=Zi(v,y);return T?(y.join(" > "),T?.template?.languageCode,T?.template?.templateName,{templateRes:T,channelConfig:n,traceSummary:{source:h,kvKey:b,cacheKey:R}}):{templateRes:null,channelConfig:n,reason:"Template list is empty",traceSummary:{source:"KV",reason:"Template list is empty",kvKey:b}}}catch(g){if(h==="ç¼å"){await ry(R);const v=await ns(s,b,4,Oe);if(v){await Ji(R,v,Gn);try{const T=JSON.parse(v);Yn(Oe,"模æ¿KVåæºè§£æå宿´è¿å",{key:b,source:"KV",parsed:T});const A=Xi(T),I=Zi(A,y);return I?(y.join(" > "),I?.template?.languageCode,I?.template?.templateName,{templateRes:I,channelConfig:n,traceSummary:{source:"KV",kvKey:b,cacheKey:R}}):{templateRes:null,channelConfig:n,reason:"Template list is empty",traceSummary:{source:"KV",reason:"Template list is empty",kvKey:b}}}catch(T){return String(T),{templateRes:null,channelConfig:n,reason:"模æ¿JSONè§£æå¤±è´¥",traceSummary:{source:"KV",reason:"模æ¿JSONè§£æå¤±è´¥",kvKey:b}}}}}return String(g),{templateRes:null,channelConfig:n,reason:"模æ¿JSONè§£æå¤±è´¥",traceSummary:{source:"KV",reason:"模æ¿JSONè§£æå¤±è´¥",kvKey:b}}}}catch(s){return{templateRes:null,channelConfig:n,reason:`模æ¿KVæµç¨å¼å¸¸: ${String(s)}`,traceSummary:{source:"KV",reason:`模æ¿KVæµç¨å¼å¸¸: ${String(s)}`}}}}function Sk(){const{cid:e,id:t}=Kt(),{siteCode:n}=Re().siteConfigData,r=typeof window>"u";return{cid:e,id:t,siteCode:n,isServer:r,useKvTemplateOnServer:r&&xa()}}async function Ck(e){if(e.useKvTemplateOnServer){const t=await bk(e.cid,e.id);return t.templateRes?t:await ph(e.siteCode,e.cid,e.id,t.channelConfig,t.reason||"KVæªå½ä¸")}return e.isServer&&(Jn(),void 0),await ph(e.siteCode,e.cid,e.id,null,e.isServer?"KVä¸å¯ç¨":"CSRåºå®èµ°éæ/API")}function Tk(e){return e.templateRes?{templateRes:e.templateRes,channelConfig:e.channelConfig}:(e.reason,{templateRes:ok.data,channelConfig:e.channelConfig})}async function Q1(){const e=Sk(),t=await Ck(e),{templateRes:n,channelConfig:r}=Tk(t),o=t.traceSummary||{source:"å
ç½®é»è®¤æ¨¡æ¿",reason:t.reason||"éæ/API模æ¿ä¸ºç©º"};o.source,o.reason,o.kvKey,o.cacheKey,o.requestUrl,o.requestParam
4s,o.hitBranch;const s=yk(n,r);return r&&(s.downLoadConfig.channelConfig=r),s}function Rk(e){return{isHideDomain:e.isHideDomain??!1,anywhere:e.anywhere??!1,webDomain:e.webDomain||"",androidType:e.androidBackupLinkType,androidUrl:e.androidBackupLink||"",iosType:e.iosBackupLinkType,iosUrl:e.iosBackupLink||"",isPwa:e.type===Au.PWA&&e.downloadEntrance===ku.DownLoadSite,languageCode:e.languageType===ks.Force?e.languageCode:void 0,debugChannel:e.debugChannel}}function Ek(e){if(!L(e)&&(typeof e=="string"||typeof e=="number"))return e}function Ak(e){return!e||typeof e!="object"||Array.isArray(e)?null:e}function bc(e,t){if(L(t))return null;const n=tn(t);return n&&e.find(r=>_y(r.languageCode).includes(n))||null}function Cy(e){const{channelTemplateInfoList:t=[]}=e,n=Kt().languageCode,r=Ek(e.templateGroupId);if(!t.length)return{languageCode:null,channelTemplate:null,templateGroupId:r};let o=null,s=bc(t,n);if(s&&n&&(o=tn(n)||String(n)),!s){const i=e.languageType==ks.Force?e.languageCode:null;s=bc(t,i),s&&i&&(o=tn(i)||String(i))}if(!s){const{normalized:i}=vy(t);i&&(s=t[0]||null,s&&(o=i))}if(!s&&by()){const i=xr();s=bc(t,i),s&&i&&(o=i)}return s=s||t[0]||null,{languageCode:o,channelTemplate:s,templateGroupId:r}}async function kk(e=!1){const{cid:t}=Kt(),n=wy();n.syncChannelData(null);let r=await rk({id:t});if(r!=null){n.syncChannelData(r);const{isHideDomain:o,anywhere:s,webDomain:i,androidBackupLinkType:a,androidBackupLink:c,iosBackupLinkType:l,iosBackupLink:u}=r,f={isHideDomain:o,anywhere:s,webDomain:i,androidType:a,androidUrl:c,iosType:l,iosUrl:u},{type:p,downloadEntrance:d}=r;if(f.isPwa=p==Au.PWA&&d==ku.DownLoadSite,e){const{languageCode:m,channelTemplate:y,templateGroupId:b}=Cy(r);m&&(f.languageCode=m),f.tid=y?.tid,f.templateGroupId=b}return f}return null}const xk="site-i18n-locale";async function Pk(e){let t=e??xr();const{i18n:n,setLocale:r,$t:o}=Er();await r(t);const s=Pt()?.appContext;s&&(s.config.globalProperties.$t=o,s.config.globalProperties.i18n=n)}const Ok=Ot(async()=>{let e,t;const n=mn(xk,()=>"");n.value&&([e,t]=Wr(()=>Pk(n.value)),await e,t())});function Ty(){}const X1=Object.assign,Ik=typeof window<"u",Ry=e=>e!==null&&typeof e=="object",Z1=e=>e!=null,eP=e=>typeof e=="function",tP=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),nP=()=>Ik?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function rP(e,t){const n=t.split(".");let r=e;return n.forEach(o=>{var s;r=Ry(r)&&(s=r[o])!=null?s:""}),r}var jt=typeof window<"u";function gh(e){return jt?requestAnimationFrame(e):-1}function oP(e){gh(()=>gh(e))}var Dk=e=>e===window,mh=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),Pu=e=>{const t=pe(e);if(Dk(t)){const n=t.innerWidth,r=t.innerHeight;return mh(n,r)}return t?.getBoundingClientRect?t.getBoundingClientRect():mh(0,0)};function sP(e){const t=ft(e,null);if(t){const n=Pt(),{link:r,unlink:o,internalChildren:s}=t;r(n),la(()=>o(n));const i=Et(()=>s.indexOf(n));return{parent:t,index:i}}return{parent:null,index:vt(-1)}}function Lk(e){const t=[],n=r=>{Array.isArray(r)&&r.forEach(o=>{var s;Qn(o)&&(t.push(o),(s=o.component)!=null&&s.subTree&&(t.push(o.component.subTree),n(o.component.subTree.children)),o.children&&n(o.children))})};return n(e),t}var yh=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(r=>t.key!==void 0&&t.key!==null&&r.type===t.type&&r.key===t.key):n};function Nk(e,t,n){const r=Lk(e.subTree.children);n.sort((s,i)=>yh(r,s.vnode)-yh(r,i.vnode));const o=n.map(s=>s.proxy);t.sort((s,i)=>{const a=o.indexOf(s),c=o.indexOf(i);return a-c})}function iP(e){const t=Bt([]),n=Bt([]),r=Pt();return{children:t,linkChildren:s=>{pr(e,Object.assign({link:c=>{c.proxy&&(n.push(c),t.push(c.proxy),Nk(r,t,n))},unlink:c=>{const l=n.indexOf(c);t.splice(l,1),n.splice(l,1)},children:t,internalChildren:n},s))}}}function Uk(e){let t;Ss(()=>{e(),Ut(()=>{t=!0})}),Kl(()=>{t&&e()})}function aP(e,t,n={}){if(!jt)return;const{target:r=window,passive:o=!1,capture:s=!1}=n;let i=!1,a;const c=f=>{if(i)return;const p=pe(f);p&&!a&&(p.addEventListener(e,t,{capture:s,passive:o}),a=!0)},l=f=>{if(i)return;const p=pe(f);p&&a&&(p.removeEventListener(e,t,s),a=!1)};la(()=>l(r)),jl(()=>l(r)),Uk(()=>c(r));let u;return Le(r)&&(u=Vn(r,(f,p)=>
4{l(p),c(f)})),()=>{u?.(),l(r),i=!0}}var Xs,Sc;function cP(){if(!Xs&&(Xs=vt(0),Sc=vt(0),jt)){const e=()=>{Xs.value=window.innerWidth,Sc.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Xs,height:Sc}}var Mk=/scroll|auto|overlay/i,$k=jt?window:void 0;function Bk(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Hk(e,t=$k){let n=e;for(;n&&n!==t&&Bk(n);){const{overflowY:r}=window.getComputedStyle(n);if(Mk.test(r))return n;n=n.parentNode}return t}var Zs;function lP(){if(!Zs&&(Zs=vt("visible"),jt)){const e=()=>{Zs.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return Zs}const wh=jt&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,ar={event:"event",observer:"observer"};function Wo(e,t){if(!e.length)return;const n=e.indexOf(t);if(n>-1)return e.splice(n,1)}function _h(e,t){if(e.tagName!=="IMG"||!e.getAttribute("data-srcset"))return;let n=e.getAttribute("data-srcset");const o=e.parentNode.offsetWidth*t;let s,i,a;n=n.trim().split(",");const c=n.map(f=>(f=f.trim(),s=f.lastIndexOf(" "),s===-1?(i=f,a=999998):(i=f.substr(0,s),a=parseInt(f.substr(s+1,f.length-s-2),10)),[a,i]));c.sort((f,p)=>{if(f[0]<p[0])return 1;if(f[0]>p[0])return-1;if(f[0]===p[0]){if(p[1].indexOf(".webp",p[1].length-5)!==-1)return 1;if(f[1].indexOf(".webp",f[1].length-5)!==-1)return-1}return 0});let l="",u;for(let f=0;f<c.length;f++){u=c[f],l=u[1];const p=c[f+1];if(p&&p[0]<o){l=u[1];break}else if(!p){l=u[1];break}}return l}const Fk=(e=1)=>jt&&window.devicePixelRatio||e;function Wk(){if(!jt)return!1;let e=!0;try{const t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=t.toDataURL("image/webp").indexOf("data:image/webp")===0)}catch{e=!1}return e}function Kk(e,t){let n=null,r=0;return function(...o){if(n)return;const s=Date.now()-r,i=()=>{r=Date.now(),n=!1,e.apply(this,o)};s>=t?i():n=setTimeout(i,t)}}function jk(e,t,n){e.addEventListener(t,n,{capture:!1,passive:!0})}function Vk(e,t,n){e.removeEventListener(t,n,!1)}const El=(e,t,n)=>{const r=new Image;if(!e||!e.src)return n(new Error("image src is required"));r.src=e.src,e.cors&&(r.crossOrigin=e.cors),r.onload=()=>t({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src}),r.onerror=o=>n(o)};class qk{constructor({max:t}){this.options={max:t||100},this.caches=[]}has(t){return this.caches.indexOf(t)>-1}add(t){this.has(t)||(this.caches.push(t),this.caches.length>this.options.max&&this.free())}free(){this.caches.shift()}}class zk{constructor({el:t,src:n,error:r,loading:o,bindType:s,$parent:i,options:a,cors:c,elRenderer:l,imageCache:u}){this.el=t,this.src=n,this.error=r,this.loading=o,this.bindType=s,this.attempt=0,this.cors=c,this.naturalHeight=0,this.naturalWidth=0,this.options=a,this.$parent=i,this.elRenderer=l,this.imageCache=u,this.performanceData={loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}initState(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}record(t){this.performanceData[t]=Date.now()}update({src:t,loading:n,error:r}){const o=this.src;this.src=t,this.loading=n,this.error=r,this.filter(),o!==this.src&&(this.attempt=0,this.initState())}checkInView(){const t=Pu(this.el);return t.top<window.innerHeight*this.options.preLoad&&t.bottom>this.options.preLoadTop&&t.left<window.innerWidth*this.options.preLoad&&t.right>0}filter(){Object.keys(this.options.filter).forEach(t=>{this.options.filter[t](this,this.options)})}renderLoading(t){this.state.loading=!0,El({src:this.loading,cors:this.cors},()=>{this.render("loading",!1),this.state.loading=!1,t()},()=>{t(),this.state.loading=!1})}load(t=Ty){if(this.attempt>this.options.attempt-1&&this.state.error){t();return}if(!(this.state.rendered&&this.state.loaded)){if(this.imageCache.has(this.src))return this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t();this.renderLoading(()=>{var n,r;
4this.attempt++,(r=(n=this.options.adapter).beforeLoad)==null||r.call(n,this,this.options),this.record("loadStart"),El({src:this.src,cors:this.cors},o=>{this.naturalHeight=o.naturalHeight,this.naturalWidth=o.naturalWidth,this.state.loaded=!0,this.state.error=!1,this.record("loadEnd"),this.render("loaded",!1),this.state.rendered=!0,this.imageCache.add(this.src),t()},o=>{!this.options.silent&&console.error(o),this.state.error=!0,this.state.loaded=!1,this.render("error",!1)})})}}render(t,n){this.elRenderer(this,t,n)}performance(){let t="loading",n=0;return this.state.loaded&&(t="loaded",n=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:n}}$destroy(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}const vh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Gk=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],Yk={rootMargin:"0px",threshold:0};function Jk(){return class{constructor({preLoad:t,error:n,throttleWait:r,preLoadTop:o,dispatchEvent:s,loading:i,attempt:a,silent:c=!0,scale:l,listenEvents:u,filter:f,adapter:p,observer:d,observerOptions:m}){this.mode=ar.event,this.listeners=[],this.targetIndex=0,this.targets=[],this.options={silent:c,dispatchEvent:!!s,throttleWait:r||200,preLoad:t||1.3,preLoadTop:o||0,error:n||vh,loading:i||vh,attempt:a||3,scale:l||Fk(l),ListenEvents:u||Gk,supportWebp:Wk(),filter:f||{},adapter:p||{},observer:!!d,observerOptions:m||Yk},this.initEvent(),this.imageCache=new qk({max:200}),this.lazyLoadHandler=Kk(this.lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?ar.observer:ar.event)}config(t={}){Object.assign(this.options,t)}performance(){return this.listeners.map(t=>t.performance())}addLazyBox(t){this.listeners.push(t),jt&&(this.addListenerTarget(window),this.observer&&this.observer.observe(t.el),t.$el&&t.$el.parentNode&&this.addListenerTarget(t.$el.parentNode))}add(t,n,r){if(this.listeners.some(i=>i.el===t))return this.update(t,n),Ut(this.lazyLoadHandler);const o=this.valueFormatter(n.value);let{src:s}=o;Ut(()=>{s=_h(t,this.options.scale)||s,this.observer&&this.observer.observe(t);const i=Object.keys(n.modifiers)[0];let a;i&&(a=r.context.$refs[i],a=a?a.$el||a:document.getElementById(i)),a||(a=Hk(t));const c=new zk({bindType:n.arg,$parent:a,el:t,src:s,loading:o.loading,error:o.error,cors:o.cors,elRenderer:this.elRenderer.bind(this),options:this.options,imageCache:this.imageCache});this.listeners.push(c),jt&&(this.addListenerTarget(window),this.addListenerTarget(a)),this.lazyLoadHandler(),Ut(()=>this.lazyLoadHandler())})}update(t,n,r){const o=this.valueFormatter(n.value);let{src:s}=o;s=_h(t,this.options.scale)||s;const i=this.listeners.find(a=>a.el===t);i?i.update({src:s,error:o.error,loading:o.loading}):this.add(t,n,r),this.observer&&(this.observer.unobserve(t),this.observer.observe(t)),this.lazyLoadHandler(),Ut(()=>this.lazyLoadHandler())}remove(t){if(!t)return;this.observer&&this.observer.unobserve(t);const n=this.listeners.find(r=>r.el===t);n&&(this.removeListenerTarget(n.$parent),this.removeListenerTarget(window),Wo(this.listeners,n),n.$destroy())}removeComponent(t){t&&(Wo(this.listeners,t),this.observer&&this.observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this.removeListenerTarget(t.$el.parentNode),this.removeListenerTarget(window))}setMode(t){!wh&&t===ar.observer&&(t=ar.event),this.mode=t,t===ar.event?(this.observer&&(this.listeners.forEach(n=>{this.observer.unobserve(n.el)}),this.observer=null),this.targets.forEach(n=>{this.initListen(n.el,!0)})):(this.targets.forEach(n=>{this.initListen(n.el,!1)}),this.initIntersectionObserver())}addListenerTarget(t){if(!t)return;let n=this.targets.find(r=>r.el===t);return n?n.childrenCount++:(n={el:t,id:++this.targetIndex,childrenCount:1,listened:!0},this.mode===ar.event&&this.initListen(n.el,!0),this.targets.push(n)),this.targetIndex}removeListenerTarget(t){this.targets.forEach((n,r)=>{n.el===t&&(n.childrenCount--,n.childrenCount||(this.initListen(n.el,!1),this.targets.splice(r,1),n=null))})}
4initListen(t,n){this.options.ListenEvents.forEach(r=>(n?jk:Vk)(t,r,this.lazyLoadHandler))}initEvent(){this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=(t,n)=>{this.Event.listeners[t]||(this.Event.listeners[t]=[]),this.Event.listeners[t].push(n)},this.$once=(t,n)=>{const r=(...o)=>{this.$off(t,r),n.apply(this,o)};this.$on(t,r)},this.$off=(t,n)=>{if(!n){if(!this.Event.listeners[t])return;this.Event.listeners[t].length=0;return}Wo(this.Event.listeners[t],n)},this.$emit=(t,n,r)=>{this.Event.listeners[t]&&this.Event.listeners[t].forEach(o=>o(n,r))}}lazyLoadHandler(){const t=[];this.listeners.forEach(n=>{(!n.el||!n.el.parentNode)&&t.push(n),n.checkInView()&&n.load()}),t.forEach(n=>{Wo(this.listeners,n),n.$destroy()})}initIntersectionObserver(){wh&&(this.observer=new IntersectionObserver(this.observerHandler.bind(this),this.options.observerOptions),this.listeners.length&&this.listeners.forEach(t=>{this.observer.observe(t.el)}))}observerHandler(t){t.forEach(n=>{n.isIntersecting&&this.listeners.forEach(r=>{if(r.el===n.target){if(r.state.loaded)return this.observer.unobserve(r.el);r.load()}})})}elRenderer(t,n,r){if(!t.el)return;const{el:o,bindType:s}=t;let i;switch(n){case"loading":i=t.loading;break;case"error":i=t.error;break;default:({src:i}=t);break}if(s?o.style[s]='url("'+i+'")':o.getAttribute("src")!==i&&o.setAttribute("src",i),o.setAttribute("lazy",n),this.$emit(n,t,r),this.options.adapter[n]&&this.options.adapter[n](t,this.options),this.options.dispatchEvent){const a=new CustomEvent(n,{detail:t});o.dispatchEvent(a)}}valueFormatter(t){let n=t,{loading:r,error:o}=this.options;return Ry(t)&&({src:n}=t,r=t.loading||this.options.loading,o=t.error||this.options.error),{src:n,loading:r,error:o}}}}var Qk=e=>({props:{tag:{type:String,default:"div"}},emits:["show"],render(){return ut(this.tag,this.show&&this.$slots.default?this.$slots.default():null)},data(){return{el:null,state:{loaded:!1},show:!1}},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{checkInView(){const t=Pu(this.$el);return jt&&t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy(){return this.$destroy}}});const Xk={selector:"img"};class Zk{constructor({el:t,binding:n,vnode:r,lazy:o}){this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=o,this.queue=[],this.update({el:t,binding:n})}update({el:t,binding:n}){this.el=t,this.options=Object.assign({},Xk,n.value),this.getImgs().forEach(o=>
4{this.lazy.add(o,Object.assign({},this.binding,{value:{src:"dataset"in o?o.dataset.src:o.getAttribute("data-src"),error:("dataset"in o?o.dataset.error:o.getAttribute("data-error"))||this.options.error,loading:("dataset"in o?o.dataset.loading:o.getAttribute("data-loading"))||this.options.loading}}),this.vnode)})}getImgs(){return Array.from(this.el.querySelectorAll(this.options.selector))}clear(){this.getImgs().forEach(n=>this.lazy.remove(n)),this.vnode=null,this.binding=null,this.lazy=null}}class ex{constructor({lazy:t}){this.lazy=t,this.queue=[]}bind(t,n,r){const o=new Zk({el:t,binding:n,vnode:r,lazy:this.lazy});this.queue.push(o)}update(t,n,r){const o=this.queue.find(s=>s.el===t);o&&o.update({el:t,binding:n,vnode:r})}unbind(t){const n=this.queue.find(r=>r.el===t);n&&(n.clear(),Wo(this.queue,n))}}var tx=e=>({props:{src:[String,Object],tag:{type:String,default:"img"}},render(){var t,n;return ut(this.tag,{src:this.renderSrc},(n=(t=this.$slots).default)==null?void 0:n.call(t))},data(){return{el:null,options:{src:"",error:"",loading:"",attempt:e.options.attempt},state:{loaded:!1,error:!1,attempt:0},renderSrc:""}},watch:{src(){this.init(),e.addLazyBox(this),e.lazyLoadHandler()}},created(){this.init()},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{init(){const{src:t,loading:n,error:r}=e.valueFormatter(this.src);this.state.loaded=!1,this.options.src=t,this.options.error=r,this.options.loading=n,this.renderSrc=this.options.loading},checkInView(){const t=Pu(this.$el);return t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(t=Ty){if(this.state.attempt>this.options.attempt-1&&this.state.error){t();return}const{src:n}=this.options;El({src:n},({src:r})=>{this.renderSrc=r,this.state.loaded=!0},()=>{this.state.attempt++,this.renderSrc=this.options.error,this.state.error=!0})}}});const nx={install(e,t={}){const n=Jk(),r=new n(t),o=new ex({lazy:r});e.config.globalProperties.$Lazyload=r,t.lazyComponent&&e.component("LazyComponent",Qk(r)),t.lazyImage&&e.component("LazyImage",tx(r)),e.directive("lazy",{beforeMount:r.add.bind(r),updated:r.update.bind(r),unmounted:r.remove.bind(r)}),e.directive("lazy-container",{beforeMount:o.bind.bind(o),updated:o.update.bind(o),unmounted:o.unbind.bind(o)})}};function rx(e){e.use(nx,{observer:!0,observerOptions:{rootMargin:"0px",threshold:.1}})}const ox={isSupportWebp:!0,isSupportAvif:!0},sx=ya(()=>{let e={...ox};async function t(){const n=HT();return n==null?(e.isSupportWebp=await AT(),e.isSupportAvif=await kT(),FT(e)):Object.assign(e,n||{}),e}return{supportData:e,initImageSupport:t}}),vi=[],ix=Date.now(),bh=new WeakSet,Sh=new WeakSet;let rs={},Ch=!1;function br(e,t=0){return t>7?"[omitted]":e instanceof Error?{name:e.name,message:br(e.message)}:typeof e=="string"?e.replace(/((?:https?:\/\/|\/)[^\s?"']+)\?[^\s"']*/g,"$1?[query omitted]").slice(0,1200):Array.isArray(e)?e.slice(0,20).map(n=>br(n,t+1)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).slice(0,30).filter(([n])=>!/token|password|secret|cookie|authorization/i.test(n)).map(([n,r])=>[n,br(r,t+1)])):e}function We(e,t={}){try{if(typeof window>"u")return;const n={at:new Date().toISOString(),elapsedMs:Date.now()-ix,stage:e,detail:br(t)};vi.push(n),vi.length>100&&vi.shift();const r=new URLSearchParams(window.location.search);(r.get("_trace")==="1"||r.get("pwaDebug")==="1")&&console.info("[PWA][diagnostic]",n)}catch{}}function Nt(e){return e?{scriptURL:e.scriptURL,state:e.state,buildId:new URL(e.scriptURL).searchParams.get("v")}:null}function Ou(e){try{const t=()=>{We("sw:registration-state",{scope:e.scope,installing:Nt(e.installing),waiting:Nt(e.waiting),active:Nt(e.active)});for(const n of[e.installing,e.waiting,e.active])!n||bh.has(n)||(bh.add(n),n.addEventListener("statechange",()=>{We("sw:statechange",{scope:e.scope,worker:Nt(n)}),t()}),n.addEventListener("error",r=>{We("sw:error",{scope:e.scope,worker:Nt(n),message:r.message})}))};if(Sh.has(e))return;Sh.add(e),e.addEventListener("updatefound",()=>{We("sw:updatefound",{scope:e.scope}),t()}),t()}catch{}}function ax(e){try{if(rs={...e,builtCsrPackage:En(),mountRoot:_o()}
4,We("runtime:init",rs),"serviceWorker"in navigator&&!Ch){Ch=!0;const t=()=>We("sw:controllerchange",{controller:Nt(navigator.serviceWorker.controller)});navigator.serviceWorker.addEventListener("controllerchange",t),We("sw:initial-controller",{controller:Nt(navigator.serviceWorker.controller)})}}catch{}}async function fP(e){const t="[P2A][pwa-install] deferredPrompt unavailable after wait, fallback to APK";let n;try{We("install:prompt-unavailable",e);const r="serviceWorker"in navigator;let o=[],s=null;if(r)try{o=await Promise.race([navigator.serviceWorker.getRegistrations(),new Promise((d,m)=>{n=setTimeout(()=>m(new Error("getRegistrations timed out after 1000ms")),1e3)})])}catch(d){s=br(d)}finally{n!==void 0&&clearTimeout(n)}const i=r?navigator.serviceWorker.controller:null,a=new URL(rs.staticRuntime===!1?"/common/store/":En()?Sr(""):"/",location.origin).href,c=o.find(d=>d.scope===a),l=document.querySelector('link[rel="manifest"]')?.getAttribute("href")||null,u=[];window.isSecureContext||u.push("INSECURE_CONTEXT"),window.top!==window.self&&u.push("NOT_TOP_LEVEL"),r||u.push("SW_UNSUPPORTED"),s&&u.push("SW_REGISTRATION_QUERY_FAILED"),r&&!s&&!c&&u.push("EXPECTED_SCOPE_NOT_REGISTERED"),c?.installing&&u.push("SW_INSTALLING"),c?.waiting&&u.push("SW_WAITING"),r&&!i&&u.push("PAGE_NOT_CONTROLLED"),c?.active&&!i&&u.push("ACTIVE_SW_NOT_CONTROLLING_PAGE"),i&&c&&c.active!==i&&u.push("CONTROLLER_DIFFERS_FROM_EXPECTED_ACTIVE"),l||u.push("MANIFEST_LINK_MISSING");const f={...e,capturedAt:new Date().toISOString(),runtime:rs,page:{origin:location.origin,pathname:location.pathname,secureContext:window.isSecureContext,topLevel:window.top===window.self,visibility:document.visibilityState,standalone:window.matchMedia("(display-mode: standalone)").matches,userAgent:navigator.userAgent},manifestHref:l,serviceWorker:{supported:r,expectedScope:a,expectedScript:rs.staticRuntime===!1?"/common/store/sw.js":En()?Sr("sw.js"):"/sw.js",controller:Nt(i),registrationQueryError:s,registrationCount:s?null:o.length,registrations:o.map(d=>({scope:d.scope,matchesExpectedScope:d.scope===a,coversCurrentPage:location.href.startsWith(d.scope),activeIsController:!!i&&d.active===i,installing:Nt(d.installing),waiting:Nt(d.waiting),active:Nt(d.active)}))},reasonCodes:u,reasonNote:"以䏿¯å¯è§æµç¶æï¼beforeinstallprompt ä¸ä¼æä¾æµè§å¨æç»å®è£
ç宿´å
é¨åå ï¼è¯·ç»åæ¶é´çº¿å¤æã",timeline:vi.slice()},p=br({...f,timeline:void 0});console.warn(t,JSON.stringify({...p,timeline:f.timeline},null,2))}catch(r){try{console.warn(t,"diagnostic collection failed",br(r))}catch{}}}const Ey="__csr_build_id__",ea="__csr_sw_recovery_reload__",Th="__csr_last_cid__";function cx(){const e=window.location.hostname;return e==="127.0.0.1"||e==="localhost"}function lx(){try{return new URLSearchParams(window.location.search).get("pwaDebug")==="1"}catch{return!1}}function ux(){try{return new URLSearchParams(window.location.search).get("_trace")==="1"}catch{return!1}}function Wn(e,t,n){if(We(t,n),!!ux()){if(e==="info"){console.info(t,n||{});return}console.warn(t,n||{})}}async function fx(e){}function Rh(e){const t=window.location.pathname||"/";return e||window.isStatic===!0||t==="/normal"||t.startsWith("/normal/")}function dx(e){if(!e||!cx()||window.isStatic===!0)return!1;const t=window.location.pathname||"/",n=new URLSearchParams(window.location.search||""),r=String(n.get("cid")||n.get("id")||"").trim();if(r)try{localStorage.setItem(Th,r)}catch{}if(t==="/normal"||t.startsWith("/normal/")){if(!r){let a="";try{a=String(localStorage.getItem(Th)||"").trim()}catch{}if(a){const c=new URLSearchParams(window.location.search||"");c.set("cid",a);const l=`${window.location.origin}${t}?${c.toString()}${window.location.hash||""}`;return window.location.replace(l),!0}}return!1}if(["/@","/__","/api/","/devops/","/pwa/","/sw.js","/favicon.ico"].some(a=>t.startsWith(a))||!(t==="/common/store"||t.startsWith("/common/store/")||t==="/"))return!1;let s="/normal/";t==="/"?s="/normal/":t==="/common/store"||t.startsWith("/common/store/")?s=`/normal${t.slice(13)||"/"}`:s=`/normal${t.startsWith("/")?"":"/"}${t}`;const i=`${window.location.origin}${s}${window.location.search||""}${window.location.hash||""}`;return window.location.replace(i),!0}function hx(e){try{return new URL(e).pathname}catch{return""}}function Eh(e){try{return e?new URL(e).pathname:""}catch{return""}}function px(e){try{return sessionStorage.getItem(ea)===e}catch{return!1}}function gx(e){try{sessionStorage.setItem(ea,e)}catch{}}function mx(e){try{sessionStorage.getItem(ea)===e&&sessionStorage.removeItem(ea)}catch{}}function yx(){try{return String(localStorage.getItem(Ey)||"").trim()}catch{return""}}function Ah(e){try{e&&localStorage.setItem(Ey,e)}catch{}}async function wx(e){if(We("sw:cleanup-start",{csrBuildId:e}
4),!("serviceWorker"in navigator))return Ah(e),!1;const t=await navigator.serviceWorker.getRegistrations().catch(l=>(We("sw:cleanup-query-failed",{error:l}),[]));t.forEach(Ou);const n=En()?Sr("sw.js"):"/sw.js",r=t.filter(l=>hx(l.scope)!=="/"?!1:Eh(l.active?.scriptURL||l.waiting?.scriptURL||l.installing?.scriptURL)!==n),o=Eh(navigator.serviceWorker.controller?.scriptURL),s=!!o&&o!==n,i=yx(),a=!!e&&!!i&&i!==e,c=r.length>0||s||a;if(We("sw:cleanup-decision",{expectedScriptPath:n,controllerPath:o,previousBuildId:i,csrBuildId:e,buildChanged:a,hasStaleController:s,shouldClearCaches:c,staleScopes:r.map(l=>l.scope)}),r.length>0&&await Promise.all(r.map(l=>l.unregister().then(u=>(We("sw:cleanup-unregister",{scope:l.scope,result:u}),u)).catch(u=>(We("sw:cleanup-unregister-failed",{scope:l.scope,error:u}),!1)))),c&&"caches"in window)try{const l=await caches.keys();await Promise.all(l.map(u=>caches.delete(u))),We("sw:cleanup-caches-complete",{cacheCount:l.length})}catch(l){We("sw:cleanup-caches-failed",{error:l})}return Ah(e),We("sw:cleanup-complete",{shouldReload:s||r.length>0}),s||r.length>0}function kh(e){if(!("serviceWorker"in navigator)){We("sw:registration-unsupported");return}const t=En(),n=t?_o():"/",o=`${t?Sr("sw.js"):"/sw.js"}?v=${encodeURIComponent(e)}`;We("sw:registration-start",{url:o,scope:n,csrBuildId:e}),navigator.serviceWorker.register(o,{scope:n,updateViaCache:"none"}).then(s=>{Ou(s),Wn("info","[SW] CSR registration success",{scope:s.scope,installing:s.installing?.scriptURL,waiting:s.waiting?.scriptURL,active:s.active?.scriptURL,controller:navigator.serviceWorker.controller?.scriptURL||null})}).catch(s=>{Wn("warn","[SW] CSR registration failed",{url:o,scope:n,error:s
4instanceof Error?{name:s.name,message:s.message}:s})})}async function _x(){}const xh="/common/store/",Ph="/common/store/sw.js?env=production&merchant=777jtbtf7";function vx(){"serviceWorker"in navigator&&navigator.serviceWorker.register(Ph,{scope:xh}).then(e=>{Ou(e),Wn("info","[SW] SSR store service worker registered",{scope:e.scope,active:e.active?.scriptURL||null,controller:navigator.serviceWorker.controller?.scriptURL||null})}).catch(e=>{Wn("warn","[SW] SSR store service worker registration failed",{url:Ph,scope:xh,error:e instanceof Error?{name:e.name,message:e.message}:e})})}const bx=Ot(e=>{const t=xn(),n=String(t.public?.ssrMode??"true").toLowerCase()==="false",r=String(t.public?.csrBuildId||t.public?.csrBuildDate||"").trim();ax({isCsrMode:n,csrBuildId:r,staticRuntime:Rh(n)}),!dx(n)&&(window.isStatic??=n,console.warn("[é¨ç½²æ¨¡å¼]",{mode:n?"CSR":"SSR",csrBuildId:r,pathname:window.location.pathname}),window.LOBBY_SITE_CONFIG??={INJECT_DATA:{apiGetAppDownloadInfo:{data:null},ossGetSiteUrlConfig:{data:null}}},rx(e.vueApp),sx().initImageSupport(),fx(lx()),Rh(n)?wx(r).then(o=>{if(o&&!px(r||"default")){gx(r||"default"),Wn("warn","[SW] stale root service worker detected, reload once to switch CSR bundle",{csrBuildId:r,controller:navigator.serviceWorker.controller?.scriptURL||null,pathname:window.location.pathname}),window.location.reload();return}mx(r||"default"),kh(r)}).catch(o=>{Wn("warn","[SW] CSR stale state cleanup failed",{csrBuildId:r,error:o instanceof Error?{name:o.name,message:o.message}:o}),kh(r)}):(_x(),vx()),window.__legacyPwaPromptBridgeInstalled||(window.__legacyPwaPromptBridgeInstalled=!0,window.addEventListener("beforeinstallprompt",o=>{Wn("info","[P2A bridge] beforeinstallprompt captured in plugin"),o.preventDefault(),window.__legacyDeferredPrompt=o}),window.addEventListener("appinstalled",()=>{Wn("info","[P2A bridge] appinstalled received in plugin"),window.__legacyDeferredPrompt=null})))}),Sx=Ot(()=>{}),Cx=[BS,jS,m0,y0,w0,v0,b0,T0,k0,Ok,bx,Sx],Ay=(e="RouteProvider")=>Rr({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,o={};for(const s in t.route)Object.defineProperty(o,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return pr(pa,gn(o)),()=>t.vnode?ut(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Tx=Ay(),Oh=new WeakMap,Rx=Rr({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,slots:n,expose:r}){const o=je(),s=vt(),i=ft(pa,null);let a;r({pageRef:s});const c=ft(Ub,null);let l;const u=o.deferHydration();let f=!1,p=0;if(o.isHydrating){const m=o.hooks.hookOnce("app:error",u);xt().beforeEach(m)}e.pageKey&&Vn(()=>e.pageKey,(m,y)=>{m!==y&&o.callHook("page:loading:start")});let d=!1;{const m=xt().beforeResolve(()=>{d=!1});mo(()=>{m(),u()})}return()=>ut(Jg,{name:e.name,route:e.route,...t},{default:m=>{const y=Ax(i,m.route,m.Component),b=i&&i.matched.length===m.route.matched.length;if(!m.Component){if(l&&!b)return l;u();return}if(l&&c&&!c.isCurrent(m.route))return l;if(y&&i&&(!c||c?.isCurrent(i)))return b||l?l:null;const R=el(m,e.pageKey),w=kx(i,m.route,m.Component);!o.isHydrating&&a===R&&!w&&Ut(()=>{d||(d=!0,o.callHook("page:loading:end"))}),f&&a!==R&&p++,a=R;const h=!!(e.transition??m.route.meta.pageTransition??kf),g=h&&Ex([e.transition,m.route.meta.pageTransition,kf,{onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",m.Component)}}]),v=e.keepalive??m.route.meta.keepalive??db;return l=s0(h&&g,e0(v,ut(jp,{key:p,suspensible:!0,onPending:()=>{f=!0,h&&(o._runningTransition=!0),o.callHook("page:start",m.Component)}
4,onResolve:async()=>{f=!1;try{await Ut(),o._route.sync?.(),await o.callHook("page:finish",m.Component),delete o._runningTransition,!d&&!w&&(d=!0,await o.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const T={key:R||void 0,vnode:n.default?xx(n.default,m):m.Component,route:m.route,renderKey:R||void 0,trackRootNodes:h,vnodeRef:s};if(!v)return ut(Tx,T);const A=m.Component.type,I=A;let O=Oh.get(I);return O||(O=Ay(A.name||A.__name),Oh.set(I,O)),ut(O,T)}}))).default(),l}})}});function Ex(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?ru(n.onAfterLeave):void 0});return Eg(...t)}function Ax(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>o.components?.default!==e.matched[s]?.components?.default)||n&&el({route:t,Component:n})!==el({route:e,Component:n})}function kx(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}function xx(e,t){const n=e(t);return n.length===1?ut(n[0]):ut(ze,void 0,n)}const Px={};function Ox(e,t){const n=Rx;return $e(),Rt(n)}const Ix=cu(Px,[["render",Ox]]),Dx={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=o?Gu(()=>he(()=>import("./error-404-Cr_NCt2W.js"),__vite__mapDeps([5,2,6]),import.meta.url)):Gu(()=>he(()=>import("./error-500-BXmfIEJG.js"),__vite__mapDeps([7,2,8]),import.meta.url));return(f,p)=>($e(),Rt(pe(u),$y(Jp({status:pe(r),statusText:pe(s),statusCode:pe(r),statusMessage:pe(s),description:pe(i),stack:pe(a)})),null,16))}},Lx={key:0},Ih={__name:"nuxt-root",setup(e){const t=()=>null,n=je(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);xt().beforeEach(l)}const o=!1;pr(pa,Mb()),n.hooks.callHookWith(l=>l.map(u=>u()),"vue:setup");const s=ga(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Tp((l,u,f)=>{if(n.hooks.callHook("vue:error",l,u,f).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",l),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,l),!1;if(xg(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>lr(l)),!1});const c=!1;return(l,u)=>($e(),Rt(jp,{onResolve:pe(r)},{default:Bl(()=>[pe(i)?($e(),qn("div",Lx)):pe(s)?($e(),Rt(pe(Dx),{key:1,error:pe(s)},null,8,["error"])):pe(c)?($e(),Rt(pe(t),{key:2,context:pe(c)},null,8,["context"])):pe(o)?($e(),Rt(Kw(pe(o)),{key:3})):($e(),Rt(pe(Ix),{key:4}))]),_:1},8,["onResolve"]))}};let Dh;{let e;Dh=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?ov(Ih):ag(Ih),o=yb({vueApp:r});async function s(i){await o.callHook("app:error",i),o.payload.error||=wr(i)}r.config.errorHandler=s,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await vb(o,Cx)}catch(i){s(i)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(pb),await o.hooks.callHook("app:mounted",r),await Ut()}catch(i){s(i)}return r},e=Dh().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ft as $,Tn as A,jo as B,Ie as C,Bl as D,Jl as E,Rt as F,rt as G,Ze as H,Ol as I,$i as J,r1 as K,o1 as L,nl as M,Zx as N,Vn as O,t1 as P,Xx as Q,Bt as R,n1 as S,e1 as T,Pt as U,Z1 as V,tP as W,Ry as X,rP as Y,eP as Z,cu as _,je as a,b1 as a$,Xp as a0,Ik as a1,Ut as a2,Nx as a3,Bx as a4,L as a5,O1 as a6,Qp as a7,a1 as a8,R1 as a9,og as aA,jx as aB,_s as aC,ck as aD,uk as aE,Er as aF,lk as aG,Mw as aH,ze as aI,Hx as aJ,Zn as aK,Cr as aL,Kt as aM,DT as aN,ts as aO,kR as aP,MR as aQ,ym as aR,va as aS,Wm as aT,xe as aU,Sr as aV,sl as aW,TR as aX,We as aY,En as aZ,Nt as a_,ul as aa,uo as ab,Nm as ac,Eg as ad,qx as ae,Xl as af,pg as ag,Vx as ah,Fx as ai,pe as aj,Ju as ak,$y as al,Mm as am,Re as an,ER as ao,Ue as ap,D1 as aq,wt as ar,sx as as,yu as at,L1 as au,sa as av,oR as aw,rR as ax,la as ay,cp as az,Xg as b,he as b$,S1 as b0,N1 as b1,F1 as b2,AR as b3,B1 as b4,kE as b5,vE as b6,l1 as b7,c1 as b8,d1 as b9,OE as bA,K1 as bB,hu as bC,Eu as bD,M1 as bE,H1 as bF,$1 as bG,sk as bH,Y1 as bI,nm as bJ,fk as bK,ps as bL,W1 as bM,Jt as bN,mn as bO,Q1 as bP,ik as bQ,rl as bR,so as bS,J1 as bT,Mx as bU,Ar as bV,Ux as bW,j1 as bX,Qm as bY,Un as bZ,Gu as b_,u1 as ba,f1 as bb,Em as bc,fP as bd,q1 as be,Kx as bf,Wx as bg,yy as bh,Kw as bi,Um as bj,U1 as bk,Ki as bl,tE as bm,ak as bn,Rl as bo,Fs as bp,I1 as bq,i1 as br,qm as bs,V1 as bt,UE as bu,h1 as bv,io as bw,p1 as bx,x1 as by,Km as bz,mo as c,IR as c0,w1 as c1,m1 as c2,v1 as c3,T1 as c4,rk as c5,g1 as c6,rh as c7,s1 as c8,y1 as c9,$E as cA,cP as cB,nP as cC,X1 as cD,lP as cE,Kl as cF,jl as cG,aP as cH,iP as cI,oP as cJ,sP as cK,ya as ca,xk as cb,E1 as cc,P1 as cd,Pk as ce,uu as cf,Sm as cg,_1 as ch,CR as ci,we as cj,A1 as ck,Cw as cl,Jx as cm,bb as cn,Hl as co,Ng as cp,vn as cq,Tp as cr,IE as cs,C1 as ct,cw as cu,nR as cv,z1 as cw,G1 as cx,k1 as cy,Xm as cz,Rr as d,Qx as e,$x as f,Hb as g,ut as h,vt as i,Bb as j,C0 as k,Et as l,wg as m,Yx as n,Ss as o,gg as p,yo as q,nd as r,Zr as s,xn as t,xt as u,Li as v,Pv as w,Gx as x,$e as y,qn as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.