2025-09-11 00:16:29 +08:00
( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const r of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) s ( r ) ; new MutationObserver ( r => { for ( const o of r ) if ( o . type === "childList" ) for ( const a of o . addedNodes ) a . tagName === "LINK" && a . rel === "modulepreload" && s ( a ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function n ( r ) { const o = { } ; return r . integrity && ( o . integrity = r . integrity ) , r . referrerPolicy && ( o . referrerPolicy = r . referrerPolicy ) , r . crossOrigin === "use-credentials" ? o . credentials = "include" : r . crossOrigin === "anonymous" ? o . credentials = "omit" : o . credentials = "same-origin" , o } function s ( r ) { if ( r . ep ) return ; r . ep = ! 0 ; const o = n ( r ) ; fetch ( r . href , o ) } } ) ( ) ; / * *
* @ vue / shared v3 . 5.16
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
2025-09-16 07:47:29 +08:00
* * //*! #__NO_SIDE_EFFECTS__ */function ml(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const He={},Ws=[],dn=()=>{},ab=()=>!1,zi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gl=e=>e.startsWith("onUpdate:"),nt=Object.assign,_l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lb=Object.prototype.hasOwnProperty,Ie=(e,t)=>lb.call(e,t),he=Array.isArray,Ys=e=>qr(e)==="[object Map]",nr=e=>qr(e)==="[object Set]",wu=e=>qr(e)==="[object Date]",_e=e=>typeof e=="function",Qe=e=>typeof e=="string",hn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",vl=e=>(Ue(e)||_e(e))&&_e(e.then)&&_e(e.catch),yd=Object.prototype.toString,qr=e=>yd.call(e),cb=e=>qr(e).slice(8,-1),Ed=e=>qr(e)==="[object Object]",bl=e=>Qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sr=ml(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ub=/-(\w)/g,Kt=Gi(e=>e.replace(ub,(t,n)=>n?n.toUpperCase():"")),fb=/\B([A-Z])/g,ws=Gi(e=>e.replace(fb,"-$1").toLowerCase()),Ji=Gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ea=Gi(e=>e?`on${Ji(e)}`:""),Un=(e,t)=>!Object.is(e,t),Si=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wd=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ii=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Td=e=>{const t=Qe(e)?Number(e):NaN;return isNaN(t)?e:t};let Tu;const Qi=()=>Tu||(Tu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xi(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Qe(s)?mb(s):Xi(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Qe(e)||Ue(e))return e}const db=/;(?![^(]*\))/g,hb=/:([^]+)/,pb=/\/\*[^]*?\*\//g;function mb(e){const t={};return e.replace(pb,"").split(db).forEach(n=>{if(n){const s=n.split(hb);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Jt(e){let t="";if(Qe(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const s=Jt(e[n]);s&&(t+=s+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const gb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_b=ml(gb);function Ad(e){return!!e||e===""}function vb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=vs(e[s],t[s]);return n}function vs(e,t){if(e===t)return!0;let n=wu(e),s=wu(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=hn(e),s=hn(t),n||s)return e===t;if(n=he(e),s=he(t),n||s)return n&&s?vb(e,t):!1;if(n=Ue(e),s=Ue(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!vs(e[a],t[a]))return!1}}return String(e)===String(t)}function yl(e,t){return e.findIndex(n=>vs(n,t))}const Sd=e=>!!(e&&e.__v_isRef===!0),ut=e=>Qe(e)?e:e==null?"":he(e)||Ue(e)&&(e.toString===yd||!_e(e.toString))?Sd(e)?ut(e.value):JSON.stringify(e,Cd,2):String(e),Cd=(e,t)=>Sd(t)?Cd(e,t.value):Ys(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ta(s,o)+" =>"]=r,n),{})}:nr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ta(n))}:hn(t)?ta(t):Ue(t)&&!he(t)&&!Ed(t)?String(t):t,ta=(e,t="")=>{var n;return hn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
2025-09-11 00:16:29 +08:00
* @ vue / reactivity v3 . 5.16
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
2025-09-16 07:47:29 +08:00
* * / l e t p t ; c l a s s O d { c o n s t r u c t o r ( t = ! 1 ) { t h i s . d e t a c h e d = t , t h i s . _ a c t i v e = ! 0 , t h i s . _ o n = 0 , t h i s . e f f e c t s = [ ] , t h i s . c l e a n u p s = [ ] , t h i s . _ i s P a u s e d = ! 1 , t h i s . p a r e n t = p t , ! t & & p t & & ( t h i s . i n d e x = ( p t . s c o p e s | | ( p t . s c o p e s = [ ] ) ) . p u s h ( t h i s ) - 1 ) } g e t a c t i v e ( ) { r e t u r n t h i s . _ a c t i v e } p a u s e ( ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ i s P a u s e d = ! 0 ; l e t t , n ; i f ( t h i s . s c o p e s ) f o r ( t = 0 , n = t h i s . s c o p e s . l e n g t h ; t < n ; t + + ) t h i s . s c o p e s [ t ] . p a u s e ( ) ; f o r ( t = 0 , n = t h i s . e f f e c t s . l e n g t h ; t < n ; t + + ) t h i s . e f f e c t s [ t ] . p a u s e ( ) } } r e s u m e ( ) { i f ( t h i s . _ a c t i v e & & t h i s . _ i s P a u s e d ) { t h i s . _ i s P a u s e d = ! 1 ; l e t t , n ; i f ( t h i s . s c o p e s ) f o r ( t = 0 , n = t h i s . s c o p e s . l e n g t h ; t < n ; t + + ) t h i s . s c o p e s [ t ] . r e s u m e ( ) ; f o r ( t = 0 , n = t h i s . e f f e c t s . l e n g t h ; t < n ; t + + ) t h i s . e f f e c t s [ t ] . r e s u m e ( ) } } r u n ( t ) { i f ( t h i s . _ a c t i v e ) { c o n s t n = p t ; t r y { r e t u r n p t = t h i s , t ( ) } f i n a l l y { p t = n } } } o n ( ) { + + t h i s . _ o n = = = 1 & & ( t h i s . p r e v S c o p e = p t , p t = t h i s ) } o f f ( ) { t h i s . _ o n > 0 & & - - t h i s . _ o n = = = 0 & & ( p t = t h i s . p r e v S c o p e , t h i s . p r e v S c o p e = v o i d 0 ) } s t o p ( t ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ a c t i v e = ! 1 ; l e t n , s ; f o r ( n = 0 , s = t h i s . e f f e c t s . l e n g t h ; n < s ; n + + ) t h i s . e f f e c t s [ n ] . s t o p ( ) ; f o r ( t h i s . e f f e c t s . l e n g t h = 0 , n = 0 , s = t h i s . c l e a n u p s . l e n g t h ; n < s ; n + + ) t h i s . c l e a n u p s [ n ] ( ) ; i f ( t h i s . c l e a n u p s . l e n g t h = 0 , t h i s . s c o p e s ) { f o r ( n = 0 , s = t h i s . s c o p e s . l e n g t h ; n < s ; n + + ) t h i s . s c o p e s [ n ] . s t o p ( ! 0 ) ; t h i s . s c o p e s . l e n g t h = 0 } i f ( ! t h i s . d e t a c h e d & & t h i s . p a r e n t & & ! t ) { c o n s t r = t h i s . p a r e n t . s c o p e s . p o p ( ) ; r & & r ! = = t h i s & & ( t h i s . p a r e n t . s c o p e s [ t h i s . i n d e x ] = r , r . i n d e x = t h i s . i n d e x ) } t h i s . p a r e n t = v o i d 0 } } } f u n c t i o n x d ( e ) { r e t u r n n e w O d ( e ) } f u n c t i o n R d ( ) { r e t u r n p t } f u n c t i o n b b ( e , t = ! 1 ) { p t & & p t . c l e a n u p s . p u s h ( e ) } l e t K e ; c o n s t n a = n e w W e a k S e t ; c l a s s N d { c o n s t r u c t o r ( t ) { t h i s . f n = t , t h i s . d e p s = v o i d 0 , t h i s . d e p s T a i l = v o i d 0 , t h i s . f l a g s = 5 , t h i s . n e x t = v o i d 0 , t h i s . c l e a n u p = v o i d 0 , t h i s . s c h e d u l e r = v o i d 0 , p t & & p t . a c t i v e & & p t . e f f e c t s . p u s h ( t h i s ) } p a u s e ( ) { t h i s . f l a g s | = 6 4 } r e s u m e ( ) { t h i s . f l a g s & 6 4 & & ( t h i s . f l a g s & = - 6 5 , n a . h a s ( t h i s ) & & ( n a . d e l e t e ( t h i s ) , t h i s . t r i g g e r ( ) ) ) } n o t i f y ( ) { t h i s . f l a g s & 2 & & ! ( t h i s . f l a g s & 3 2 ) | | t h i s . f l a g s & 8 | | P d ( t h i s ) } r u n ( ) { i f ( ! ( t h i s . f l a g s & 1 ) ) r e t u r n t h i s . f n ( ) ; t h i s . f l a g s | = 2 , A u ( t h i s ) , D d ( t h i s ) ; c o n s t t = K e , n = Q t ; K e = t h i s , Q t = ! 0 ; t r y { r e t u r n t h i s . f n ( ) } f i n a l l y { L d ( t h i s ) , K e = t , Q t = n , t h i s . f l a g s & = - 3 } } s t o p ( ) { i f ( t h i s . f l a g s & 1 ) { f o r ( l e t t = t h i s . d e p s ; t ; t = t . n e x t D e p ) T l ( t ) ; t h i s . d e p s = t h i s . d e p s T a i l = v o i d 0 , A u ( t h i s ) , t h i s . o n S t o p & & t h i s . o n S t o p ( ) , t h i s . f l a g s & = - 2 } } t r i g g e r ( ) { t h i s . f l a g s & 6 4 ? n a . a d d ( t h i s ) : t h i s . s c h e d u l e r ? t h i s . s c h e d u l e r ( ) : t h i s . r u n I f D i r t y ( ) } r u n I f D i r t y ( ) { q a ( t h i s ) & & t h i s . r u n ( ) } g e t d i r t y ( ) { r e t u r n q a ( t h i s ) } } l e t $ d = 0 , C r , O r ; f u n c t i o n P d ( e , t = ! 1 ) { i f ( e . f l a g s | = 8 , t ) { e . n e x t = O r , O r = e ; r e t u r n } e . n e x t = C r , C r = e } f u n c t i o n E l ( ) { $ d + + } f u n c t i o n w l ( ) { i f ( - - $ d > 0 ) r e t u r n ; i f ( O r ) { l e t t = O r ; f o r ( O r = v o i d 0 ; t ; ) { c o n s t n = t . n e x t ; t . n e x t = v o i d 0 , t . f l a g s & = - 9 , t = n } } l e t e ; f o r ( ; C r ; ) { l e t t = C r ; f o r ( C r = v o i d 0 ; t ; ) { c o n s t n = t . n e x t ; i f ( t . n e x t = v o i d 0 , t . f l a g s & = - 9 , t . f l a g s & 1 ) t r y { t . t r i g g e r ( ) } c a t c h ( s ) { e | | ( e = s ) } t = n } } i f ( e ) t h r o w e } f u n c t i o n D d ( e ) { f o r ( l e t t = e . d e p s ; t ; t = t . n e x t D e p ) t . v e r s i o n = - 1 , t . p r e v A c t i v e L i n k = t . d e p . a c t i v e L i n k , t . d e p . a c t i v e L i n k = t } f u n c t i o n L d ( e ) { l e t t , n = e . d e p s T a i l , s = n ; f o r ( ; s ; ) { c o n s t r = s . p r e v D e p ; s . v e r s i o n = = = - 1 ? ( s = = = n & & ( n = r ) , T l ( s ) , y b ( s ) ) : t = s , s . d e p . a c t i v e L i n k = s . p r e v A c t i v e L i n k , s . p r e v A c t i v e L i n k = v o i d 0 , s = r } e . d e p s = t , e . d e p s T a i l = n } f u n c t i o n q a ( e ) { f o r ( l e t t = e . d e p s ; t ; t = t . n e x t D e p ) i f ( t . d e p . v e r s i o n ! = = t . v e r s i o n | | t . d e p . c o m p u t e d & & ( I d ( t . d e p . c o m p u t e d ) | | t . d e p . v e r s i o n ! = = t . v e r s i o n ) ) r e t u r n ! 0 ; r e t u r n ! ! e . _ d i r t y } f u n c t i o n I d ( e ) { i f ( e . f l a g s & 4 & & ! ( e . f l a g s & 1 6 ) | | ( e . f l a g s & = - 1 7 , e . g l o b a l V e r s i o n = = = L r ) | | ( e . g l o b a l V e r s i o n = L r , ! e . i s S S R & & e . f l a g s & 1 2 8 & & ( ! e . d e p s & & ! e . _ d i r t y | | ! q a ( e ) ) ) ) r e t u r n ; e . f l a g s | = 2 ; c o n s t t = e . d e p , n = K e , s = Q t ; K e = e , Q t = ! 0 ; t r y { D d ( e ) ; c o n s t r = e . f n ( e . _ v a l u e ) ; ( t . v e r s i o n = = = 0 | | U n ( r , e . _ v a l u e ) ) & & ( e . f l a g s | = 1 2 8 , e . _ v a l u e = r , t . v e r s i o n + + ) } c a t c h ( r ) { t h r o w t . v e r s i o n + + , r } f i n a l l y { K e = n , Q t = s , L d ( e ) , e . f l a g s & = - 3 } } f u n c t i o n T l ( e , t = ! 1 ) { c o n s t { d e p : n , p r e v S u b : s , n e x t S u b : r } = e ; i f ( s & & ( s . n e x t S u b = r , e . p r e v S u b = v o i d 0 ) , r & & ( r . p r e v S u b = s , e . n e x t S u b = v o i d 0 ) , n . s u b s = = = e & & ( n . s u b s = s , ! s & & n . c o m p u t e d ) ) { n . c o m p u t e d . f l a g s & = - 5 ; f o r ( l e t o = n . c o m p u t e d . d e p s ; o ; o = o . n e x t D e p ) T l ( o , ! 0 ) } ! t & & ! - - n . s c & & n . m a p & & n . m a p . d e l e t e ( n . k e y ) } f u n c t i o n y b ( e ) { c o n s t { p r e v D e p : t , n e x t D e p : n } = e ; t & & ( t . n e x t D e p = n , e . p r e v D e p = v o i d 0 ) , n & & ( n . p r e v D e p = t , e . n e x t D e p = v o i d 0 ) } l e t Q t = ! 0 ; c o n s t M d = [ ] ; f u n c t i o n A n ( ) { M d . p u s h ( Q t ) , Q t = ! 1 } f u n c t i o n S n ( ) { c o n s t e = M d . p o p ( ) ; Q t = e = = = v o i d 0 ? ! 0 : e } f u n c t i o n A u ( e ) { c o n s t { c l e a n u p : t } = e ; i f ( e . c l e a n u p = v o i d 0 , t ) { c o n s t n = K e ; K e = v o i d 0 ; t r y { t ( ) } f i n a l l y { K e = n } } } l e t L r = 0 ; c l a s s E b { c o n s t r u c t o r ( t
2025-09-11 00:16:29 +08:00
* @ vue / runtime - core v3 . 5.16
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
2025-09-16 07:47:29 +08:00
* * /function Kr(e,t,n,s){try{return s?e(...s):e()}catch(r){Wr(r,t,n)}}function Xt(e,t,n,s){if(_e(e)){const r=Kr(e,t,n,s);return r&&vl(r)&&r.catch(o=>{Wr(o,t,n)}),r}if(he(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Xt(e[o],t,n,s));return r}}function Wr(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||He;if(t){let l=t.parent;const u=t.proxy,f=`https:/ / vuejs . org / error - reference / # runtime - $ { n } ` ;for(;l;){const h=l.ec;if(h){for(let p=0;p<h.length;p++)if(h[p](e,u,f)===!1)return}l=l.parent}if(o){An(),Kr(o,null,10,[e,u,f]),Sn();return}}Gb(e,n,r,s,a)}function Gb(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Tt=[];let un=-1;const zs=[];let Bn=null,qs=0;const zd=Promise.resolve();let Fi=null;function eo(e){const t=Fi||zd;return e?t.then(this?e.bind(this):e):t}function Jb(e){let t=un+1,n=Tt.length;for(;t<n;){const s=t+n>>>1,r=Tt[s],o=Mr(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Rl(e){if(!(e.flags&1)){const t=Mr(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=Mr(n)?Tt.push(e):Tt.splice(Jb(t),0,e),e.flags|=1,Gd()}}function Gd(){Fi||(Fi=zd.then(Qd))}function Ya(e){he(e)?zs.push(...e):Bn&&e.id===-1?Bn.splice(qs+1,0,e):e.flags&1||(zs.push(e),e.flags|=1),Gd()}function Cu(e,t,n=un+1){for(;n<Tt.length;n++){const s=Tt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Tt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Jd(e){if(zs.length){const t=[...new Set(zs)].sort((n,s)=>Mr(n)-Mr(s));if(zs.length=0,Bn){Bn.push(...t);return}for(Bn=t,qs=0;qs<Bn.length;qs++){const n=Bn[qs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Bn=null,qs=0}}const Mr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Qd(e){try{for(un=0;un<Tt.length;un++){const t=Tt[un];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Kr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;un<Tt.length;un++){const t=Tt[un];t&&(t.flags&=-2)}un=-1,Tt.length=0,Jd(),Fi=null,(Tt.length||zs.length)&&Qd()}}let St=null,Xd=null;function Vi(e){const t=St;return St=e,Xd=e&&e.type.__scopeId||null,t}function it(e,t=St,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Bu(-1);const o=Vi(t);let a;try{a=e(...r)}finally{Vi(o),s._d&&Bu(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Ct(e,t){if(St===null)return e;const n=ao(St),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,u=He]=t[r];o&&(_e(o)&&(o={mounted:o,updated:o}),o.deep&&wn(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function cs(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let u=l.dir[s];u&&(An(),Xt(u,n,8,[e.el,l,e,t]),Sn())}}const Qb=Symbol("_vte"),Zd=e=>e.__isTeleport,Fn=Symbol("_leaveCb"),wi=Symbol("_enterCb");function eh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ts(()=>{e.isMounted=!0}),uh(()=>{e.isUnmounting=!0}),e}const Ut=[Function,Array],th={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},nh=e=>{const t=e.subTree;return t.component?nh(t.component):t},Xb={name:"BaseTransition",props:th,setup(e,{slots:t}){const n=kl(),s=eh();return()=>{const r=t.default&&Nl(t.default(),!0);if(!r||!r.length)return;const o=sh(r),a=Re(e),{mode:l}=a;if(s.isLeaving)return ia(o);const u=Ou(o);if(!u)return ia(o);let f=kr(u,a,s,n,p=>f=p);u.type!==ft&&bs(u,f);let h=n.subTree&&Ou(n.subTree);if(h&&h.type!==ft&&!fn(u,h)&&nh(n).type!==ft){let p=kr(h,a,s,n);if(bs(h,p),l==="out-in"&&u.type!==ft)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},ia(o);l==="in-out"&&u.type!==ft?p.delayLeave=(_,g,E)=>{const C=rh(s,h);C[String(h.key)]=h,_[Fn]=()=>{g(),_[Fn]=void 0,delete f.delayedLeave,h=void 0},f.delayedLeave=()=>{E(),delete f.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function sh(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ft){t=n;break}
2025-09-11 00:16:29 +08:00
* @ vue / runtime - dom v3 . 5.16
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
2025-09-16 07:47:29 +08:00
* * /let nl;const Fu=typeof window<"u"&&window.trustedTypes;if(Fu)try{nl=Fu.createPolicy("vue",{createHTML:e=>e})}catch{}const Bh=nl?e=>nl.createHTML(e):e=>e,nE="http:/ / www . w3 . org / 2000 / svg ",sE=" http : //www.w3.org/1998/Math/MathML",yn=typeof document<"u"?document:null,Vu=yn&&yn.createElement("template"),rE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?yn.createElementNS(nE,e):t==="mathml"?yn.createElementNS(sE,e):n?yn.createElement(e,{is:n}):yn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>yn.createTextNode(e),createComment:e=>yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Vu.innerHTML=Bh(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Vu.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dn="transition",br="animation",Xs=Symbol("_vtc"),Fh={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},Vh=nt({},th,Fh),iE=e=>(e.displayName="Transition",e.props=Vh,e),Yr=iE((e,{slots:t})=>Bl(Zb,Hh(e),t)),fs=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hu=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Hh(e){const t={};for(const L in e)L in Fh||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=oE(r),C=E&&E[0],V=E&&E[1],{onBeforeEnter:I,onEnter:M,onEnterCancelled:w,onLeave:U,onLeaveCancelled:B,onBeforeAppear:R=I,onAppear:N=M,onAppearCancelled:A=w}=t,O=(L,z,q,X)=>{L._enterCancelled=X,Mn(L,z?h:l),Mn(L,z?f:a),q&&q()},k=(L,z)=>{L._isLeaving=!1,Mn(L,p),Mn(L,g),Mn(L,_),z&&z()},F=L=>(z,q)=>{const X=L?N:M,Y=()=>O(z,L,q);fs(X,[z,Y]),Uu(()=>{Mn(z,L?u:o),cn(z,L?h:l),Hu(X)||ju(z,s,C,Y)})};return nt(t,{onBeforeEnter(L){fs(I,[L]),cn(L,o),cn(L,a)},onBeforeAppear(L){fs(R,[L]),cn(L,u),cn(L,f)},onEnter:F(!1),onAppear:F(!0),onLeave(L,z){L._isLeaving=!0;const q=()=>k(L,z);cn(L,p),L._enterCancelled?(cn(L,_),sl()):(sl(),cn(L,_)),Uu(()=>{L._isLeaving&&(Mn(L,p),cn(L,g),Hu(U)||ju(L,s,V,q))}),fs(U,[L,q])},onEnterCancelled(L){O(L,!1,void 0,!0),fs(w,[L])},onAppearCancelled(L){O(L,!0,void 0,!0),fs(A,[L])},onLeaveCancelled(L){k(L),fs(B,[L])}})}function oE(e){if(e==null)return null;if(Ue(e))return[ca(e.enter),ca(e.leave)];{const t=ca(e);return[t,t]}}function ca(e){return Td(e)}function cn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Xs]||(e[Xs]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Xs];n&&(n.delete(t),n.size||(e[Xs]=void 0))}function Uu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let aE=0;function ju(e,t,n,s){const r=e._endId=++aE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=Uh(e,t);if(!a)return s();const f=a+"end";let h=0;const p=()=>{e.removeEventListener(f,_),o()},_=g=>{g.target===e&&++h>=u&&p()};setTimeout(()=>{h<u&&p()},l+1),e.addEventListener(f,_)}function Uh(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${Dn}Delay`),o=s(`${Dn}Duration`),a=qu(r,o),l=s(`${br}Delay`),u=s(`${br}Duration`
2025-09-11 00:16:29 +08:00
* pinia v3 . 0.2
* ( c ) 2025 Eduardo San Martin Morote
* @ license MIT
2025-09-16 07:47:29 +08:00
* /let Wh;const lo=e=>Wh=e,Yh=Symbol();function rl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var $r;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})($r||($r={}));function VE(){const e=xd(!0),t=e.run(()=>Me({}));let n=[],s=[];const r=xl({install(o){lo(r),r._a=o,o.provide(Yh,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const zh=()=>{};function af(e,t,n,s=zh){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Rd()&&bb(r),r}function Us(e,...t){e.slice().forEach(n=>{n(...t)})}const HE=e=>e(),lf=Symbol(),ha=Symbol();function il(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];rl(r)&&rl(s)&&e.hasOwnProperty(n)&&!et(s)&&!jn(s)?e[n]=il(r,s):e[n]=s}return e}const UE=Symbol();function jE(e){return!rl(e)||!Object.prototype.hasOwnProperty.call(e,UE)}const{assign:kn}=Object;function qE(e){return!!(et(e)&&e.effect)}function KE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function f(){l||(n.state.value[e]=r?r():{});const h=Ub(n.state.value[e]);return kn(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=xl(ze(()=>{lo(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return u=Gh(e,f,t,n,s,!0),u}function Gh(e,t,n={},s,r,o){let a;const l=kn({actions:{}},n),u={deep:!0};let f,h,p=[],_=[],g;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),Me({});let C;function V(A){let O;f=h=!1,typeof A=="function"?(A(s.state.value[e]),O={type:$r.patchFunction,storeId:e,events:g}):(il(s.state.value[e],A),O={type:$r.patchObject,payload:A,storeId:e,events:g});const k=C=Symbol();eo().then(()=>{C===k&&(f=!0)}),h=!0,Us(p,O,s.state.value[e])}const I=o?function(){const{state:O}=n,k=O?O():{};this.$patch(F=>{kn(F,k)})}:zh;function M(){a.stop(),p=[],_=[],s._s.delete(e)}const w=(A,O="")=>{if(lf in A)return A[ha]=O,A;const k=function(){lo(s);const F=Array.from(arguments),L=[],z=[];function q(Q){L.push(Q)}function X(Q){z.push(Q)}Us(_,{args:F,name:k[ha],store:B,after:q,onError:X});let Y;try{Y=A.apply(this&&this.$id===e?this:B,F)}catch(Q){throw Us(z,Q),Q}return Y instanceof Promise?Y.then(Q=>(Us(L,Q),Q)).catch(Q=>(Us(z,Q),Promise.reject(Q))):(Us(L,Y),Y)};return k[lf]=!0,k[ha]=O,k},U={_p:s,$id:e,$onAction:af.bind(null,_),$patch:V,$reset:I,$subscribe(A,O={}){const k=af(p,A,O.detached,()=>F()),F=a.run(()=>Gs(()=>s.state.value[e],L=>{(O.flush==="sync"?h:f)&&A({storeId:e,type:$r.direct,events:g},L)},kn({},u,O)));return k},$dispose:M},B=Cn(U);s._s.set(e,B);const N=(s._a&&s._a.runWithContext||HE)(()=>s._e.run(()=>(a=xd()).run(()=>t({action:w}))));for(const A in N){const O=N[A];if(et(O)&&!qE(O)||jn(O))o||(E&&jE(O)&&(et(O)?O.value=E[A]:il(O,E[A])),s.state.value[e][A]=O);else if(typeof O=="function"){const k=w(O,A);N[A]=k,l.actions[A]=O}}return kn(B,N),kn(Re(B),N),Object.defineProperty(B,"$state",{get:()=>s.state.value[e],set:A=>{V(O=>{kn(O,A)})}}),s._p.forEach(A=>{kn(B,a.run(()=>A({store:B,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(B.$state,E),f=!0,h=!0,B}/ * ! # _ _NO _SIDE _EFFECTS _ _ * /function WE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=gy();return a=a||(u?Bt(Yh,null):null),a&&lo(a),a=Wh,a._s.has(e)||(r?Gh(e,t,s,a):KE(e,s,a)),a._s.get(e)}return o.$id=e,o}const lt=[];for(let e=0;e<256;++e)lt.push((e+256).toString(16).slice(1));function YE(e,t=0){return(lt[e[t+0]]+lt[e[t+1]]+lt[e[t+2]]+lt[e[t+3]]+"-"+lt[e[t+4]]+lt[e[t+5]]+"-"+lt[e[t+6]]+lt[e[t+7]]+"-"+lt[e[t+8]]+lt[e[t+9]]+"-"+lt[e[t+10]]+lt[e[t+11]]+lt[e[t+12]]+lt[e[t+13]]+lt[e[t+14]]+lt[e[t+15]]).toLowerCase()}let pa;const zE=new Uint8Array(16);function GE(){if(!pa){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https:/ / github . com / uuidjs / uuid # getrandomvalues - not - supported " ) ; pa = crypto . getRan
` ).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&t0[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},mf=Symbol("internals");function yr(e){return e&&String(e).trim().toLowerCase()}function $ i(e){return e===!1||e==null?e:H.isArray(e)?e.map( $ i):String(e)}function s0(e){const t=Object.create(null),n=/([^ \s ,;=]+) \s *(?:= \s *([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const r0=e=>/^[-_a-zA-Z0-9^ ` | ~ , ! # $ % & ' * + . ] + $ / . test ( e . trim ( ) ) ; function ma ( e , t , n , s , r ) { if ( H . isFunction ( s ) ) return s . call ( this , t , n ) ; if ( r && ( t = n ) , ! ! H . isString ( t ) ) { if ( H . isString ( s ) ) return t . indexOf ( s ) !== - 1 ; if ( H . isRegExp ( s ) ) return s . test ( t ) } } function i0 ( e ) { return e . trim ( ) . toLowerCase ( ) . replace ( /([a-z\d])(\w*)/g , ( t , n , s ) => n . toUpperCase ( ) + s ) } function o0 ( e , t ) { const n = H . toCamelCase ( " " + t ) ; [ "get" , "set" , "has" ] . forEach ( s => { Object . defineProperty ( e , s + n , { value : function ( r , o , a ) { return this [ s ] . call ( this , t , r , o , a ) } , configurable : ! 0 } ) } ) } let Nt = class { constructor ( t ) { t && this . set ( t ) } set ( t , n , s ) { const r = this ; function o ( l , u , f ) { const h = yr ( u ) ; if ( ! h ) throw new Error ( "header name must be a non-empty string" ) ; const p = H . findKey ( r , h ) ; ( ! p || r [ p ] === void 0 || f === ! 0 || f === void 0 && r [ p ] !== ! 1 ) && ( r [ p || u ] = $i ( l ) ) } const a = ( l , u ) => H . forEach ( l , ( f , h ) => o ( f , h , u ) ) ; if ( H . isPlainObject ( t ) || t instanceof this . constructor ) a ( t , n ) ; else if ( H . isString ( t ) && ( t = t . trim ( ) ) && ! r0 ( t ) ) a ( n0 ( t ) , n ) ; else if ( H . isObject ( t ) && H . isIterable ( t ) ) { let l = { } , u , f ; for ( const h of t ) { if ( ! H . isArray ( h ) ) throw TypeError ( "Object iterator must return a key-value pair" ) ; l [ f = h [ 0 ] ] = ( u = l [ f ] ) ? H . isArray ( u ) ? [ ... u , h [ 1 ] ] : [ u , h [ 1 ] ] : h [ 1 ] } a ( l , n ) } else t != null && o ( n , t , s ) ; return this } get ( t , n ) { if ( t = yr ( t ) , t ) { const s = H . findKey ( this , t ) ; if ( s ) { const r = this [ s ] ; if ( ! n ) return r ; if ( n === ! 0 ) return s0 ( r ) ; if ( H . isFunction ( n ) ) return n . call ( this , r , s ) ; if ( H . isRegExp ( n ) ) return n . exec ( r ) ; throw new TypeError ( "parser must be boolean|regexp|function" ) } } } has ( t , n ) { if ( t = yr ( t ) , t ) { const s = H . findKey ( this , t ) ; return ! ! ( s && this [ s ] !== void 0 && ( ! n || ma ( this , this [ s ] , s , n ) ) ) } return ! 1 } delete ( t , n ) { const s = this ; let r = ! 1 ; function o ( a ) { if ( a = yr ( a ) , a ) { const l = H . findKey ( s , a ) ; l && ( ! n || ma ( s , s [ l ] , l , n ) ) && ( delete s [ l ] , r = ! 0 ) } } return H . isArray ( t ) ? t . forEach ( o ) : o ( t ) , r } clear ( t ) { const n = Object . keys ( this ) ; let s = n . length , r = ! 1 ; for ( ; s -- ; ) { const o = n [ s ] ; ( ! t || ma ( this , this [ o ] , o , t , ! 0 ) ) && ( delete this [ o ] , r = ! 0 ) } return r } normalize ( t ) { const n = this , s = { } ; return H . forEach ( this , ( r , o ) => { const a = H . findKey ( s , o ) ; if ( a ) { n [ a ] = $i ( r ) , delete n [ o ] ; return } const l = t ? i0 ( o ) : String ( o ) . trim ( ) ; l !== o && delete n [ o ] , n [ l ] = $i ( r ) , s [ l ] = ! 0 } ) , this } concat ( ... t ) { return this . constructor . concat ( this , ... t ) } toJSON ( t ) { const n = Object . create ( null ) ; return H . forEach ( this , ( s , r ) => { s != null && s !== ! 1 && ( n [ r ] = t && H . isArray ( s ) ? s . join ( ", " ) : s ) } ) , n } [ Symbol . iterator ] ( ) { return Object . entries ( this . toJSON ( ) ) [ Symbol . iterator ] ( ) } toString ( ) { return Object . entries ( this . toJSON ( ) ) . map ( ( [ t , n ] ) => t + ": " + n ) . join ( `
` )}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[mf]=this[mf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=yr(a);s[l]||(o0(r,a),s[l]=!0)}return H.isArray(t)?t.forEach(o):o(t),this}};Nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(Nt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});H.freezeMethods(Nt);function ga(e,t){const n=this||Gr,s=t||n,r=Nt.from(s.headers);let o=s.data;return H.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function dp(e){return!!(e&&e.__CANCEL__)}function ir(e,t,n){Ee.call(this,e??"canceled",Ee.ERR_CANCELED,t,n),this.name="CanceledError"}H.inherits(ir,Ee,{__CANCEL__:!0});function hp(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Ee("Request failed with status code "+n.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function a0(e){const t=/^([-+ \w ]{1,25})(:? \/ \/ |:)/.exec(e);return t&&t[1]||""}function l0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),h=s[o];a||(a=f),n[r]=u,s[r]=f;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),f-a<t)return;const g=h&&f-h;return g?Math.round(_*1e3/g):void 0}}function c0(e,t){let n=0,s=1e3/t,r,o;const a=(f,h=Date.now())=>{n=h,r=null,o&&(clearTimeout(o),o=null),e.apply(null,f)};return[(...f)=>{const h=Date.now(),p=h-n;p>=s?a(f,h):(r=f,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const Ki=(e,t,n=3)=>{let s=0;const r=l0(50,250);return c0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,f=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&h?(l-a)/f:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},gf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},_f=e=>(...t)=>H.asap(()=>e(...t)),u0=gt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,f0=gt.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];H.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),H.isString(s)&&a.push("path="+s),H.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|; \\ s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d0(e){return/^([a-z][a-z \d + \- .]*:)? \/ \/ /i.test(e)}function h0(e,t){return t?e.replace(/ \/ ? \/ $ /,"")+"/"+t.replace(/^ \/ +/,""):e}function pp(e,t,n){let s=!d0(t);return e&&(s||n==!1)?h0(e,t):t}const vf=e=>e instanceof Nt?{...e}:e;function Es(e,t){t=t||{};const n={};function s(f,h,p,_){return H.isPlainObject(f)&&H.isPlainObject(h)?H.merge.call({caseless:_},f,h):H.isPlainObject(h)?H.merge({},h):H.isArray(h)?h.slice():h}function r(f,h,p,_){if(H.isUndefined(h)){if(!H.isUndefined(f))return s(void 0,f,p,_)}else return s(f,h,p,_)}function o(f,h){if(!H.isUndefined(h))return s(void 0,h)}function a(f,h){if(H.isUndefined(h)){if(!H.isUndefined(f))return s(void 0,f)}else return s(void 0,h)}function l(f,h,p){if(p in t)return s(f,h);if(p in e)return s(void 0,f)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelTo
2025-09-11 00:16:29 +08:00
` +o.map(Ef).join( `
2025-09-16 07:47:29 +08:00
` ):" "+Ef(o[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:ul};function _a(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ir(null,e)}function wf(e){return _a(e),e.headers=Nt.from(e.headers),e.data=ga.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vp.getAdapter(e.adapter||Gr.adapter)(e).then(function(s){return _a(e),s.data=ga.call(e,e.transformResponse,s),s.headers=Nt.from(s.headers),s},function(s){return dp(s)||(_a(e),s&&s.response&&(s.response.data=ga.call(e,e.transformResponse,s.response),s.response.headers=Nt.from(s.response.headers))),Promise.reject(s)})}const bp="1.9.0",go={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{go[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Tf={};go.transitional=function(t,n,s){function r(o,a){return"[Axios v"+bp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new Ee(r(a," has been removed"+(n?" in "+n:"")),Ee.ERR_DEPRECATED);return n&&!Tf[a]&&(Tf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};go.spelling=function(t){return(n,s)=>(console.warn( ` $ { s } is likely a misspelling of $ { t } ` ),!0)};function C0(e,t,n){if(typeof e!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new Ee("option "+o+" must be "+u,Ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ee("Unknown option "+o,Ee.ERR_BAD_OPTION)}}const Pi={assertOptions:C0,validators:go},an=Pi.validators;let gs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new pf,response:new pf}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+ \n /,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+ \n .+ \n /,""))&&(s.stack+= `
` +o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Es(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Pi.assertOptions(s,{silentJSONParsing:an.transitional(an.boolean),forcedJSONParsing:an.transitional(an.boolean),clarifyTimeoutError:an.transitional(an.boolean)},!1),r!=null&&(H.isFunction(r)?n.paramsSerializer={serialize:r}:Pi.assertOptions(r,{encode:an.function,serialize:an.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Pi.assertOptions(n,{baseUrl:an.spelling("baseURL"),withXsrfToken:an.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&H.merge(o.common,o[n.method]);o&&H.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=Nt.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(n)===!1||(u=u&&C.synchronous,l.unshift(C.fulfilled,C.rejected))});const f=[];this.interceptors.response.forEach(function(C){f.push(C.fulfilled,C.rejected)});let h,p=0,_;if(!u){const E=[wf.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,f),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],C=l[p++];try{g=E(g)}catch(V){C.call(this,V);break}}try{h=wf.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=f.length;p<_;)h=h.then(f[p++],f[p++]);return h}getUri(t){t=Es(this.defaults,t);const n=pp(t.baseURL,t.url,t.allowAbsoluteUrls);return cp(n,t.params,t.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(t){gs.prototype[t]=function(n,s){return this.request(Es(s||{},{method:t,url:n,data:(s||{}).data}))}});H.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(Es(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}gs.prototype[t]=n(),gs.prototype[t+"Form"]=n(!0)});let O0=class yp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new ir(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new yp(function(r){t=r}),cancel:t}}};function x0(e){return function(n){return e.apply(null,n)}}function R0(e){return H.isObject(e)&&e.isAxiosError===!0}const fl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsToo
2025-09-11 00:16:29 +08:00
* vue - router v4 . 5.1
* ( c ) 2025 Eduardo San Martin Morote
* @ license MIT
2025-09-16 07:47:29 +08:00
* /const Ks=typeof document<"u";function wp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&wp(e.default)}const Le=Object.assign;function va(e,t){const n={};for(const s in t){const r=t[s];n[s]=en(r)?r.map(e):e(r)}return n}const Pr=()=>{},en=Array.isArray,Tp=/ # / g , $0 = /&/g , P0 = /\//g , D0 = /=/g , L0 = /\?/g , Ap = /\+/g , I0 = /%5B/g , M0 = /%5D/g , Sp = /%5E/g , k0 = /%60/g , Cp = /%7B/g , B0 = /%7C/g , Op = /%7D/g , F0 = /%20/g ; function jl ( e ) { return encodeURI ( "" + e ) . replace ( B0 , "|" ) . replace ( I0 , "[" ) . replace ( M0 , "]" ) } function V0 ( e ) { return jl ( e ) . replace ( Cp , "{" ) . replace ( Op , "}" ) . replace ( Sp , "^" ) } function dl ( e ) { return jl ( e ) . replace ( Ap , "%2B" ) . replace ( F0 , "+" ) . replace ( Tp , "%23" ) . replace ( $0 , "%26" ) . replace ( k0 , "`" ) . replace ( Cp , "{" ) . replace ( Op , "}" ) . replace ( Sp , "^" ) } function H0 ( e ) { return dl ( e ) . replace ( D0 , "%3D" ) } function U0 ( e ) { return jl ( e ) . replace ( Tp , "%23" ) . replace ( L0 , "%3F" ) } function j0 ( e ) { return e == null ? "" : U0 ( e ) . replace ( P0 , "%2F" ) } function Ur ( e ) { try { return decodeURIComponent ( "" + e ) } catch { } return "" + e } const q0 = /\/$/ , K0 = e => e . replace ( q0 , "" ) ; function ba ( e , t , n = "/" ) { let s , r = { } , o = "" , a = "" ; const l = t . indexOf ( "#" ) ; let u = t . indexOf ( "?" ) ; return l < u && l >= 0 && ( u = - 1 ) , u > - 1 && ( s = t . slice ( 0 , u ) , o = t . slice ( u + 1 , l > - 1 ? l : t . length ) , r = e ( o ) ) , l > - 1 && ( s = s || t . slice ( 0 , l ) , a = t . slice ( l , t . length ) ) , s = G0 ( s ? ? t , n ) , { fullPath : s + ( o && "?" ) + o + a , path : s , query : r , hash : Ur ( a ) } } function W0 ( e , t ) { const n = t . query ? e ( t . query ) : "" ; return t . path + ( n && "?" ) + n + ( t . hash || "" ) } function Af ( e , t ) { return ! t || ! e . toLowerCase ( ) . startsWith ( t . toLowerCase ( ) ) ? e : e . slice ( t . length ) || "/" } function Y0 ( e , t , n ) { const s = t . matched . length - 1 , r = n . matched . length - 1 ; return s > - 1 && s === r && er ( t . matched [ s ] , n . matched [ r ] ) && xp ( t . params , n . params ) && e ( t . query ) === e ( n . query ) && t . hash === n . hash } function er ( e , t ) { return ( e . aliasOf || e ) === ( t . aliasOf || t ) } function xp ( e , t ) { if ( Object . keys ( e ) . length !== Object . keys ( t ) . length ) return ! 1 ; for ( const n in e ) if ( ! z0 ( e [ n ] , t [ n ] ) ) return ! 1 ; return ! 0 } function z0 ( e , t ) { return en ( e ) ? Sf ( e , t ) : en ( t ) ? Sf ( t , e ) : e === t } function Sf ( e , t ) { return en ( t ) ? e . length === t . length && e . every ( ( n , s ) => n === t [ s ] ) : e . length === 1 && e [ 0 ] === t } function G0 ( e , t ) { if ( e . startsWith ( "/" ) ) return e ; if ( ! e ) return t ; const n = t . split ( "/" ) , s = e . split ( "/" ) , r = s [ s . length - 1 ] ; ( r === ".." || r === "." ) && s . push ( "" ) ; let o = n . length - 1 , a , l ; for ( a = 0 ; a < s . length ; a ++ ) if ( l = s [ a ] , l !== "." ) if ( l === ".." ) o > 1 && o -- ; else break ; return n . slice ( 0 , o ) . join ( "/" ) + "/" + s . slice ( a ) . join ( "/" ) } const Ln = { path : "/" , name : void 0 , params : { } , query : { } , hash : "" , fullPath : "/" , matched : [ ] , meta : { } , redirectedFrom : void 0 } ; var jr ; ( function ( e ) { e . pop = "pop" , e . push = "push" } ) ( jr || ( jr = { } ) ) ; var Dr ; ( function ( e ) { e . back = "back" , e . forward = "forward" , e . unknown = "" } ) ( Dr || ( Dr = { } ) ) ; function J0 ( e ) { if ( ! e ) if ( Ks ) { const t = document . querySelector ( "base" ) ; e = t && t . getAttribute ( "href" ) || "/" , e = e . replace ( /^\w+:\/\/[^\/]+/ , "" ) } else e = "/" ; return e [ 0 ] !== "/" && e [ 0 ] !== "#" && ( e = "/" + e ) , K0 ( e ) } const Q0 = /^[^#]+#/ ; function X0 ( e , t ) { return e . replace ( Q0 , "#" ) + t } function Z0 ( e , t ) { const n = document . documentElement . getBoundingClientRect ( ) , s = e . getBoundingClientRect ( ) ; return { behavior : t . behavior , left : s . left - n . left - ( t . left || 0 ) , top : s . top - n . top - ( t . top || 0 ) } } const _o = ( ) => ( { left : window . scrollX , top : window . scrollY } ) ; function e1 ( e ) { let t ; if ( "el" in e ) { const n = e . el , s = typeof n == "string" && n . startsWith ( "#" ) , r = typeof n == "string" ? s ? document . getElementById ( n . slice ( 1 ) ) : document . querySelector ( n ) : n ; if ( ! r ) return ; t = Z0 ( r , 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 Cf ( e , t ) { return ( history . state ? history . state . position - t : - 1 ) + e } const hl = new Map ; function t1 ( e , t ) { hl . set ( e , t ) } function n1 ( e ) { const t = hl . get ( e ) ; return hl . delete ( e ) , t } let s1 = ( ) => location . protocol + "//" + location . host ; function Rp ( e , t ) { const { pathname : n , search : s , hash : r } = t , o = e . indexOf ( "#" ) ; if ( o > - 1 ) { let l = r . includes ( e . slice ( o ) ) ? e . slice ( o ) . length : 1 , u = r . slice ( l ) ; return u [ 0 ] !== "/" && ( u = "/" + u ) , Af ( u , "" ) } return Af ( n , e ) + s + r } function r1 ( e , t , n , s ) { let r = [ ] , o = [ ] , a = null ; const l = ( { state : _ } ) => { const g = Rp ( e , location ) , E = n . value , C = t . value ; let V = 0 ; if ( _ ) { if ( n . value = g , t . value = _ , a && a === E ) { a = null ; return } V = C ? _ . position
2025-09-11 00:16:29 +08:00
] ) ) + ` ;ln.KANJI=new RegExp(n,"g"),ln.BYTE_KANJI=new RegExp("[^A-Z0-9 $ %*+ \\ -./:]+","g"),ln.BYTE=new RegExp(s,"g"),ln.NUMERIC=new RegExp(e,"g"),ln.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+" $ "),o=new RegExp("^"+e+" $ "),a=new RegExp("^[A-Z0-9 $ %*+ \\ -./:]+ $ ");return ln.testKanji=function(u){return r.test(u)},ln.testNumeric=function(u){return o.test(u)},ln.testAlphanumeric=function(u){return a.test(u)},ln}var td;function Ss(){return td||(td=1,function(e){const t=Mp(),n=kp();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}(Pa)),Pa}var nd;function iT(){return nd||(nd=1,function(e){const t=As(),n=Ip(),s=Kl(),r=Ss(),o=Mp(),a=7973,l=t.getBCHDigit(a);function u(_,g,E){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,E,_))return C}function f(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(C){const V=f(C.mode,g);E+=V+C.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=e.getCapacity(E,g,r.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,C){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=r.BYTE);const V=t.getSymbolTotalCodewords(g),I=n.getTotalCodewordsCount(g,E),M=(V-I)*8;if(C===r.MIXED)return M;const w=M-f(C,g);switch(C){case r.NUMERIC:return Math.floor(w/10*3);case r.ALPHANUMERIC:return Math.floor(w/11*2);case r.KANJI:return Math.floor(w/13);case r.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(g,E){let C;const V=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,V);if(g.length===0)return 1;C=g[0]}else C=g;return u(C.mode,C.getLength(),V)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=a<<t.getBCHDigit(E)-l;return g<<12|E}}( $ a)), $ a}var La={},sd;function oT(){if(sd)return La;sd=1;const e=As(),t=1335,n=21522,s=e.getBCHDigit(t);return La.getEncodedBits=function(o,a){const l=o.bit<<3|a;let u=l<<10;for(;e.getBCHDigit(u)-s>=0;)u^=t<<e.getBCHDigit(u)-s;return(l<<10|u)^n},La}var Ia={},Ma,rd;function aT(){if(rd)return Ma;rd=1;const e=Ss();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(s){let r,o,a;for(r=0;r+3<=this.data.length;r+=3)o=this.data.substr(r,3),a=parseInt(o,10),s.put(a,10);const l=this.data.length-r;l>0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ma=t,Ma}var ka,id;function lT(){if(id)return ka;id=1;const e=Ss(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," "," $ ","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.len
2025-09-16 07:47:29 +08:00
Make sure your charset is UTF - 8 ` );o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Fa=n,Fa}var Va={exports:{}},ld;function fT(){return ld||(ld=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,f,h,p,_,g,E,C,V;!l.empty();){u=l.pop(),f=u.value,p=u.cost,_=n[f]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,C=a[h],V=typeof a[h]>"u",(V||C>E)&&(a[h]=E,l.push(h,E),o[h]=f))}if(typeof r<"u"&&typeof a[r]>"u"){var I=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(I)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Va)),Va.exports}var cd;function dT(){return cd||(cd=1,function(e){const t=Ss(),n=aT(),s=lT(),r=cT(),o=uT(),a=kp(),l=As(),u=fT();function f(I){return unescape(encodeURIComponent(I)).length}function h(I,M,w){const U=[];let B;for(;(B=I.exec(w))!==null;)U.push({data:B[0],index:B.index,mode:M,length:B[0].length});return U}function p(I){const M=h(a.NUMERIC,t.NUMERIC,I),w=h(a.ALPHANUMERIC,t.ALPHANUMERIC,I);let U,B;return l.isKanjiModeEnabled()?(U=h(a.BYTE,t.BYTE,I),B=h(a.KANJI,t.KANJI,I)):(U=h(a.BYTE_KANJI,t.BYTE,I),B=[]),M.concat(w,U,B).sort(function(N,A){return N.index-A.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function _(I,M){switch(M){case t.NUMERIC:return n.getBitsLength(I);case t.ALPHANUMERIC:return s.getBitsLength(I);case t.KANJI:return o.getBitsLength(I);case t.BYTE:return r.getBitsLength(I)}}function g(I){return I.reduce(function(M,w){const U=M.length-1>=0?M[M.length-1]:null;return U&&U.mode===w.mode?(M[M.length-1].data+=w.data,M):(M.push(w),M)},[])}function E(I){const M=[];for(let w=0;w<I.length;w++){const U=I[w];switch(U.mode){case t.NUMERIC:M.push([U,{data:U.data,mode:t.ALPHANUMERIC,length:U.length},{data:U.data,mode:t.BYTE,length:U.length}]);break;case t.ALPHANUMERIC:M.push([U,{data:U.data,mode:t.BYTE,length:U.length}]);break;case t.KANJI:M.push([U,{data:U.data,mode:t.BYTE,length:f(U.data)}]);break;case t.BYTE:M.push([{data:U.data,mode:t.BYTE,length:f(U.data)}])}}return M}function C(I,M){const w={},U={start:{}};let B=["start"];for(let R=0;R<I.length;R++){const N=I[R],A=[];for(let O=0;O<N.length;O++){const k=N[O],F=""+R+O;A.push(F),w[F]={node:k,lastCount:0},U[F]={};for(let L=0;L<B.length;L++){const z=B[L];w[z]&&w[z].node.mode===k.mode?(U[z][F]=_(w[z].lastCount+k.length,k.mode)-_(w[z].lastCount,k.mode),w[z].lastCount+=k.length):(w[z]&&(w[z].lastCount=k.length),U[z][F]=_(k.length,k.mode)+4+t.getCharCountIndicator(k.mode,M))}}B=A}for(let R=0;R<B.length;R++)U[B[R]].end=0;return{map:U,table:w}}function V(I,M){let w;const U=t.getBestModeForData(I);if(w=t.from(M,U),w!==t.BYTE&&w.bit<U.bit)throw new Error('"'+I+'" cannot be encoded with mode '+t.toString(w)+ ` .
Suggested mode is : ` +t.toString(U));switch(w===t.KANJI&&!l.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new n(I);case t.ALPHANUMERIC:return new s(I);case t.KANJI:return new o(I);case t.BYTE:return new r(I)}}e.fromArray=function(M){return M.reduce(function(w,U){return typeof U=="string"?w.push(V(U,null)):U.data&&w.push(V(U.data,U.mode)),w},[])},e.fromString=function(M,w){const U=p(M,l.isKanjiModeEnabled()),B=E(U),R=C(B,w),N=u.find_path(R.map,"start","end"),A=[];for(let O=1;O<N.length-1;O++)A.push(R.table[N[O]].node);return e.fromArray(g(A))},e.rawSplit=function(M){return e.fromArray(p(M,l.isKanjiModeEnabled()))}}(Ia)),Ia}var ud;function hT(){if(ud)return wa;ud=1;const e=As(),t=Kl(),n=Q1(),s=X1(),r=Z1(),o=eT(),a=tT(),l=Ip(),u=rT(),f=iT(),h=oT(),p=Ss(),_=dT();function g(R,N){const A=R.size,O=o.getPositions(N);for(let k=0;k<O.length;k++){const F=O[k][0],L=O[k][1];for(let z=-1;z<=7;z++)if(!(F+z<=-1||A<=F+z))for(let q=-1;q<=7;q++)L+q<=-1||A<=L+q||(z>=0&&z<=6&&(q===0||q===6)||q>=0&&q<=6&&(z===0||z===6)||z>=2&&z<=4&&q>=2&&q<=4?R.set(F+z,L+q,!0,!0):R.set(F+z,L+q,!1,!0))}}function E(R){const N=R.size;for(let A=8;A<N-8;A++){const O=A%2===0;R.set(A,6,O,!0),R.set(6,A,O,!0)}}function C(R,N){const A=r.getPositions(N);for(let O=0;O<A.length;O++){const k=A[O][0],F=A[O][1];for(let L=-2;L<=2;L++)for(let z=-2;z<=2;z++)L===-2||L===2||z===-2||z===2||L===0&&z===0?R.set(k+L,F+z,!0,!0):R.set(k+L,F+z,!1,!0)}}function V(R,N){const A=R.size,O=f.getEncodedBits(N);let k,F,L;for(let z=0;z<18;z++)k=Math.floor(z/3),F=z%3+A-8-3,L=(O>>z&1)===1,R.set(k,F,L,!0),R.set(F,k,L,!0)}function I(R,N,A){const O=R.size,k=h.getEncodedBits(N,A);let F,L;for(F=0;F<15;F++)L=(k>>F&1)===1,F<6?R.set(F,8,L,!0):F<8?R.set(F+1,8,L,!0):R.set(O-15+F,8,L,!0),F<8?R.set(8,O-F-1,L,!0):F<9?R.set(8,15-F-1+1,L,!0):R.set(8,15-F-1,L,!0);R.set(O-8,8,1,!0)}function M(R,N){const A=R.size;let O=-1,k=A-1,F=7,L=0;for(let z=A-1;z>0;z-=2)for(z===6&&z--;;){for(let q=0;q<2;q++)if(!R.isReserved(k,z-q)){let X=!1;L<N.length&&(X=(N[L]>>>F&1)===1),R.set(k,z-q,X),F--,F===-1&&(L++,F=7)}if(k+=O,k<0||A<=k){k-=O,O=-O;break}}}function w(R,N,A){const O=new n;A.forEach(function(q){O.put(q.mode.bit,4),O.put(q.getLength(),p.getCharCountIndicator(q.mode,R)),q.write(O)});const k=e.getSymbolTotalCodewords(R),F=l.getTotalCodewordsCount(R,N),L=(k-F)*8;for(O.getLengthInBits()+4<=L&&O.put(0,4);O.getLengthInBits()%8!==0;)O.putBit(0);const z=(L-O.getLengthInBits())/8;for(let q=0;q<z;q++)O.put(q%2?17:236,8);return U(O,R,N)}function U(R,N,A){const O=e.getSymbolTotalCodewords(N),k=l.getTotalCodewordsCount(N,A),F=O-k,L=l.getBlocksCount(N,A),z=O%L,q=L-z,X=Math.floor(O/L),Y=Math.floor(F/L),Q=Y+1,J=X-Y,ue=new u(J);let fe=0;const ve=new Array(L),ye=new Array(L);let $ e=0;const ke=new Uint8Array(R.buffer);for(let te=0;te<L;te++){const ie=te<q?Y:Q;ve[te]=ke.slice(fe,fe+ie),ye[te]=ue.encode(ve[te]),fe+=ie, $ e=Math.max( $ e,ie)}const We=new Uint8Array(O);let Ge=0,j,S;for(j=0;j< $ e;j++)for(S=0;S<L;S++)j<ve[S].length&&(We[Ge++]=ve[S][j]);for(j=0;j<J;j++)for(S=0;S<L;S++)We[Ge++]=ye[S][j];return We}function B(R,N,A,O){let k;if(Array.isArray(R))k=_.fromArray(R);else if(typeof R=="string"){let X=N;if(!X){const Y=_.rawSplit(R);X=f.getBestVersionForData(Y,A)}k=_.fromString(R,X||40)}else throw new Error("Invalid data");const F=f.getBestVersionForData(k,A);if(!F)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=F;else if(N<F)throw new Error( `
2025-09-11 00:16:29 +08:00
The chosen QR Code version cannot contain this amount of data .
Minimum version required to store current data is : ` +F+ ` .
2025-09-16 07:47:29 +08:00
` );const L=w(N,A,k),z=e.getSymbolSize(N),q=new s(z);return g(q,N),E(q),C(q,N),I(q,A,0),N>=7&&V(q,N),M(q,L),isNaN(O)&&(O=a.getBestMask(q,I.bind(null,q,A))),a.applyMask(O,q),I(q,A,O),{modules:q,version:N,errorCorrectionLevel:A,maskPattern:O,segments:k}}return wa.create=function(N,A){if(typeof N>"u"||N==="")throw new Error("No input text");let O=t.M,k,F;return typeof A<"u"&&(O=t.from(A.errorCorrectionLevel,t.M),k=f.from(A.version),F=a.from(A.maskPattern),A.toSJISFunc&&e.setToSJISFunction(A.toSJISFunc)),B(N,k,O,F)},wa}var Ha={},Ua={},fd;function Bp(){return fd||(fd=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),f=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_<f;_++)for(let g=0;g<f;g++){let E=(_*f+g)*4,C=o.color.light;if(_>=h&&g>=h&&_<f-h&&g<f-h){const V=Math.floor((_-h)/u),I=Math.floor((g-h)/u);C=p[l[V*a+I]?1:0]}s[E++]=C.r,s[E++]=C.g,s[E++]=C.b,s[E]=C.a}}}(Ua)),Ua}var dd;function pT(){return dd||(dd=1,function(e){const t=Bp();function n(r,o,a){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,a,l){let u=l,f=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(f=s()),u=t.getOptions(u);const h=t.getImageWidth(o.modules.size,u),p=f.getContext("2d"),_=p.createImageData(h,h);return t.qrToImageData(_.data,o,u),n(p,f,h),p.putImageData(_,0,0),f},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const f=e.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return f.toDataURL(h,p.quality)}}(Ha)),Ha}var ja={},hd;function mT(){if(hd)return ja;hd=1;const e=Bp();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,f=!1,h=0;for(let p=0;p<r.length;p++){const _=Math.floor(p%o),g=Math.floor(p/o);!_&&!f&&(f=!0),r[p]?(h++,p>0&&_>0&&r[p-1]||(l+=f?n("M",_+a,.5+g+a):n("m",u,0),u=0,f=!1),_+1<o&&r[p+1]||(l+=n("h",h),h=0)):u++}return l}return ja.render=function(o,a,l){const u=e.getOptions(a),f=o.modules.size,h=o.modules.data,p=f+u.margin*2,_=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",g="<path "+t(u.color.dark,"stroke")+' d="'+s(h,f,u.margin)+'"/>',E='viewBox="0 0 '+p+" "+p+'"',V='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+E+' shape-rendering="crispEdges">'+_+g+ ` < / s v g >
` ;return typeof l=="function"&&l(null,V),V},ja}var pd;function gT(){if(pd)return js;pd=1;const e=J1(),t=hT(),n=pT(),s=mT();function r(o,a,l,u,f){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!e())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(f=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof f>"u"?(f=u,u=void 0):(f=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const C=t.create(l,u);g(o(C,a,u))}catch(C){E(C)}})}try{const g=t.create(l,u);f(null,o(g,a,u))}catch(g){f(g)}}return js.create=t.create,js.toCanvas=r.bind(null,n.render),js.toDataURL=r.bind(null,n.renderToDataURL),js.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),js}var _T=gT();const vT=Fl(_T),bT={class:"d-flex gap-2 flex-column"},yT=["id"],Fp={__name:"qrcode",props:["content"],setup(e){const t=e,n=Jh().toString();return Ts(()=>{vT.toCanvas(document.getElementById( ` qrcode _$ { n } ` ),t.content,function(s){})}),(s,r)=>(ce(),ge("div",bT,[T("canvas",{id:"qrcode_"+xt(n),class:"rounded-3"},null,8,yT)]))}},ET={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll flex-column"},wT={class:"m-auto d-flex gap-3 flex-column p-3",style:{width:"400px"}},TT={class:"d-flex flex-column gap-2 align-items-center"},AT={key:0,class:"text-center text-muted"},ST={__name:"configurationQRCode",props:["qrcodeData","protocol"],emits:["back"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(ce(),ge("div",ET,[T("div",null,[T("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-outline-body rounded-3 btn-sm"},o[1]||(o[1]=[T("i",{class:"me-2 bi bi-chevron-left"},null,-1),Se(" Back ")]))]),T("div",wT,[T("div",TT,[Ne(Fp,{content:n.qrcodeData},null,8,["content"]),T("small",null," Scan with "+ut(e.protocol==="wg"?"WireGuard":"AmneziaWG")+" App ",1),o[2]||(o[2]=T("hr",{class:"border-white w-100 my-2"},null,-1)),o[3]||(o[3]=T("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[T("i",{class:"bi bi-download me-2"}),Se("Download ")],-1)),e.protocol==="wg"?(ce(),ge("small",AT," For AmneziaVPN App, please download the configuration file and import into it. ")):pn("",!0)])])]))}},CT=ar(ST,[["__scopeId","data-v-7533658b"]]);var Di={exports:{}},OT=Di.exports,md;function xT(){return md||(md=1,function(e,t){(function(n,s){e.exports=s()})(OT,function(){var n,s,r=1e3,o=6e4,a=36e5,l=864e5,u=/ \[ ([^ \] ]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=31536e6,h=2628e6,p=/^(-| \+ )?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)? $ /,_={years:f,months:h,days:l,hours:a,minutes:o,seconds:r,milliseconds:1,weeks:6048e5},g=function(R){return R instanceof U},E=function(R,N,A){return new U(R,A,N. $ l)},C=function(R){return s.p(R)+"s"},V=function(R){return R<0},I=function(R){return V(R)?Math.ceil(R):Math.floor(R)},M=function(R){return Math.abs(R)},w=function(R,N){return R?V(R)?{negative:!0,format:""+M(R)+N}:{negative:!1,format:""+R+N}:{negative:!1,format:""}},U=function(){function R(A,O,k){var F=this;if(this. $ d={},this. $ l=k,A===void 0&&(this. $ ms=0,this.parseFromMilliseconds()),O)return E(A*_[C(O)],this);if(typeof A=="number")return this. $ ms=A,this.parseFromMilliseconds(),this;if(typeof A=="object")return Object.keys(A).forEach(function(q){F. $ d[C(q)]=A[q]}),this.calMilliseconds(),this;if(typeof A=="string"){var L=A.match(p);if(L){var z=L.slice(2).map(function(q){return q!=null?Number(q):0});return this. $ d.years=z[0],this. $ d.months=z[1],this. $ d.weeks=z[2],this. $ d.days=z[3],this. $ d.hours=z[4],this. $ d.minutes=z[5],this. $ d.seconds=z[6],this.calMilliseconds(),this}}return this}var N=R.prototype;return N.calMilliseconds=function(){var A=this;this. $ ms=Object.keys(this. $ d).reduce(function(O,k){return O+(A. $ d[k]||0)*_[k]},0)},N.parseFromMilliseconds=function(){var A=this. $ ms;this. $ d.years
2025-09-11 00:16:29 +08:00
* Bootstrap v5 . 3.6 ( https : //getbootstrap.com/)
* Copyright 2011 - 2025 The Bootstrap Authors ( https : //github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT ( https : //github.com/twbs/bootstrap/blob/main/LICENSE)
2025-09-16 07:47:29 +08:00
* /var $S=Li.exports,gd;function PS(){return gd||(gd=1,function(e,t){(function(n,s){e.exports=s()})($S,function(){const n=new Map,s={set(d,i,c){n.has(d)||n.set(d,new Map);const m=n.get(d);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(d,i){return n.has(d)&&n.get(d).get(i)||null},remove(d,i){if(!n.has(d))return;const c=n.get(d);c.delete(i),c.size===0&&n.delete(d)}},r=1e6,o=1e3,a="transitionend",l=d=>(d&&window.CSS&&window.CSS.escape&&(d=d.replace(/ # ( [ ^ \ s "#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),d),u=d=>d==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase(),f=d=>{do d+=Math.floor(Math.random()*r);while(document.getElementById(d));return d},h=d=>{if(!d)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(d);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(" , ")[0],c=c.split(" , ")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=d=>{d.dispatchEvent(new Event(a))},_=d=>!d||typeof d!=" object "?!1:(typeof d.jquery<" u "&&(d=d[0]),typeof d.nodeType<" u "),g=d=>_(d)?d.jquery?d[0]:d:typeof d==" string "&&d.length>0?document.querySelector(l(d)):null,E=d=>{if(!_(d)||d.getClientRects().length===0)return!1;const i=getComputedStyle(d).getPropertyValue(" visibility ")===" visible ",c=d.closest(" details : not ( [ open ] ) ");if(!c)return i;if(c!==d){const m=d.closest(" summary ");if(m&&m.parentNode!==c||m===null)return!1}return i},C=d=>!d||d.nodeType!==Node.ELEMENT_NODE||d.classList.contains(" disabled ")?!0:typeof d.disabled<" u "?d.disabled:d.hasAttribute(" disabled ")&&d.getAttribute(" disabled ")!==" false ",V=d=>{if(!document.documentElement.attachShadow)return null;if(typeof d.getRootNode==" function "){const i=d.getRootNode();return i instanceof ShadowRoot?i:null}return d instanceof ShadowRoot?d:d.parentNode?V(d.parentNode):null},I=()=>{},M=d=>{d.offsetHeight},w=()=>window.jQuery&&!document.body.hasAttribute(" data - bs - no - jquery ")?window.jQuery:null,U=[],B=d=>{document.readyState===" loading "?(U.length||document.addEventListener(" DOMContentLoaded ",()=>{for(const i of U)i()}),U.push(d)):d()},R=()=>document.documentElement.dir===" rtl ",N=d=>{B(()=>{const i=w();if(i){const c=d.NAME,m=i.fn[c];i.fn[c]=d.jQueryInterface,i.fn[c].Constructor=d,i.fn[c].noConflict=()=>(i.fn[c]=m,d.jQueryInterface)}})},A=(d,i=[],c=d)=>typeof d==" function "?d.call(...i):c,O=(d,i,c=!0)=>{if(!c){A(d);return}const y=h(i)+5;let P=!1;const D=({target:W})=>{W===i&&(P=!0,i.removeEventListener(a,D),A(d))};i.addEventListener(a,D),setTimeout(()=>{P||p(i)},y)},k=(d,i,c,m)=>{const y=d.length;let P=d.indexOf(i);return P===-1?!c&&m?d[y-1]:d[0]:(P+=c?1:-1,m&&(P=(P+y)%y),d[Math.max(0,Math.min(P,y-1))])},F=/[^.]*(?=\..*)\.|.*/,L=/\..*/,z=/::\d+$/,q={};let X=1;const Y={mouseenter:" mouseover ",mouseleave:" mouseout "},Q=new Set([" click "," dblclick "," mouseup "," mousedown "," contextmenu "," mousewheel "," DOMMouseScroll "," mouseover "," mouseout "," mousemove "," selectstart "," selectend "," keydown "," keypress "," keyup "," orientationchange "," touchstart "," touchmove "," touchend "," touchcancel "," pointerdown "," pointermove "," pointerup "," pointerleave "," pointercancel "," gesturestart "," gesturechange "," gestureend "," focus "," blur "," change "," reset "," select "," submit "," focusin "," focusout "," load "," unload "," beforeunload "," resize "," move "," DOMContentLoaded "," readystatechange "," error "," abort "," scroll "]);function J(d,i){return i&&`${i}::${X++}`||d.uidEvent||X++}function ue(d){const i=J(d);return d.uidEvent=i,q[i]=q[i]||{},q[i]}function fe(d,i){return function c(m){return te(m,{delegateTarget:d}),c.oneOff&&S.off(d,m.type,i),i.apply(d,[m])}}function ve(d,i,c){return function m(y){const P=d.querySelectorAll(i);for(let{target:D}=y;D&&D!==this;D=D.parentNode)for(const W of P)if(W===D)return te(y,{delegateTarget:D}),m.oneOff&&S.off(d,y.type,i,c),c.apply(D,[y])}}function ye(d,i,c=null){return Object.values(d).find(m=>m.callable===i&&m.delegationSelector===c)}function $e(d,i,c){const m=typeof i==" string " , y = m ? c : i || c ; let P = j ( d ) ; return Q . has ( P ) || ( P = d ) , [ m , y , P ] } function