frp/assets/frpc/static/index-a2ed7ed4.js

33 lines
332 KiB
JavaScript
Raw Normal View History

var Dh=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N$=Dh((At,Mt)=>{(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 l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).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 Ra(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function et(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=xe(r)?Kh(r):et(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(xe(e))return e;if(Pe(e))return e}}const zh=/;(?![^(]*\))/g,jh=/:([^]+)/,Wh=/\/\*.*?\*\//gs;function Kh(e){const t={};return e.replace(Wh,"").split(zh).forEach(n=>{if(n){const r=n.split(jh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function K(e){let t="";if(xe(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=K(e[n]);r&&(t+=r+" ")}else if(Pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Uh=Ra(Vh);function mf(e){return!!e||e===""}function qh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Vs(e[r],t[r]);return n}function Vs(e,t){if(e===t)return!0;let n=Bi(e),r=Bi(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=So(e),r=So(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?qh(e,t):!1;if(n=Pe(e),r=Pe(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 l in e){const a=e.hasOwnProperty(l),i=t.hasOwnProperty(l);if(a&&!i||!a&&i||!Vs(e[l],t[l]))return!1}}return String(e)===String(t)}function gf(e,t){return e.findIndex(n=>Vs(n,t))}const Ze=e=>xe(e)?e:e==null?"":fe(e)||Pe(e)&&(e.toString===bf||!be(e.toString))?JSON.stringify(e,yf,2):String(e),yf=(e,t)=>t&&t.__v_isRef?yf(e,t.value):Pr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:qs(t)?{[`Set(${t.size})`]:[...t.values()]}:Pe(t)&&!fe(t)&&!wf(t)?String(t):t,Ge={},Mr=[],at=()=>{},Yh=()=>!1,Gh=/^on[^a-z]/,Us=e=>Gh.test(e),ka=e=>e.startsWith("onUpdate:"),pt=Object.assign,Ia=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Xh=Object.prototype.hasOwnProperty,$e=(e,t)=>Xh.call(e,t),fe=Array.isArray,Pr=e=>Do(e)==="[object Map]",qs=e=>Do(e)==="[object Set]",Bi=e=>Do(e)==="[object Date]",be=e=>typeof e=="function",xe=e=>typeof e=="string",So=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",Ss=e=>Pe(e)&&be(e.then)&&be(e.catch),bf=Object.prototype.toString,Do=e=>bf.call(e),Jh=e=>Do(e).slice(8,-1),wf=e=>Do(e)==="[object Object]",La=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fs=Ra(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zh=/-(\w)/g,Yt=Ys(e=>e.replace(Zh,(t,n)=>n?n.toUpperCase():"")),Qh=/\B([A-Z])/g,wr=Ys(e=>e.replace(Qh,"-$1").toLowerCase()),Gs=Ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),ds=Ys(e=>e?`on${Gs(e)}`:""),xo=(e,t)=>!Object.is(e,t),ps=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},xs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ev=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tv=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let Hi;const nv=()=>Hi||(Hi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let $t;class rv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$t,!t&&$t&&
height:0 !important;
visibility:hidden !important;
${RC()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,dS=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function pS(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:dS.map(l=>`${l}:${t.getPropertyValue(l)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function $c(e,t=1,n){var r;Dt||(Dt=document.createElement("textarea"),document.body.appendChild(Dt));const{paddingSize:o,borderSize:s,boxSizing:l,contextStyle:a}=pS(e);Dt.setAttribute("style",`${a};${fS}`),Dt.value=e.value||e.placeholder||"";let i=Dt.scrollHeight;const u={};l==="border-box"?i=i+s:l==="content-box"&&(i=i-o),Dt.value="";const c=Dt.scrollHeight-o;if(lt(t)){let f=c*t;l==="border-box"&&(f=f+o+s),i=Math.max(f,i),u.minHeight=`${f}px`}if(lt(n)){let f=c*n;l==="border-box"&&(f=f+o+s),i=Math.min(f,i)}return u.height=`${i}px`,(r=Dt.parentNode)==null||r.removeChild(Dt),Dt=void 0,u}const hS=qe({id:{type:String,default:void 0},size:no,disabled:Boolean,modelValue:{type:Ce([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ce([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Kt},prefixIcon:{type:Kt},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ce([Object,Array,String]),default:()=>Nn({})}}),vS={[un]:e=>xe(e),input:e=>xe(e),change:e=>xe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},mS=["role"],gS=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],yS=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],bS=ue({name:"ElInput",inheritAttrs:!1}),wS=ue({...bS,props:hS,emits:vS,setup(e,{expose:t,emit:n}){const r=e,o=Bm(),s=ol(),l=$(()=>{const I={};return r.containerRole==="combobox"&&(I["aria-haspopup"]=o["aria-haspopup"],I["aria-owns"]=o["aria-owns"],I["aria-expanded"]=o["aria-expanded"]),I}),a=$(()=>[r.type==="textarea"?b.b():v.b(),v.m(h.value),v.is("disabled",p.value),v.is("exceed",he.value),{[v.b("group")]:s.prepend||s.append,[v.bm("group","append")]:s.append,[v.bm("group","prepend")]:s.prepend,[v.m("prefix")]:s.prefix||r.prefixIcon,[v.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[v.bm("suffix","password-clear")]:se.value&&j.value},o.class]),i=$(()=>[v.e("wrapper"),v.is("focus",S.value)]),u=NC({excludeKeys:$(()=>Object.keys(l.value))}),{form:c,formItem:f}=ro(),{inputId:d}=hl(r,{formItemContext:f}),h=br(),p=Vo(),v=Se("input"),b=Se("textarea"),m=kr(),w=kr(),S=P(!1),g=P(!1),E=P(!1),O=P(!1),C=P(),x=kr(r.inputStyle),k=$(()=>m.value||w.value),M=$(()=>{var I;return(I=c==null?void 0:c.statusIcon)!=null?I:!1}),F=$(()=>(f==null?void 0:f.validateState)||""),A=$(()=>F.value&&MC[F.value]),D=$(()=>O.value?EC:X_),Q=$(()=>[o.style,r.inputStyle]),V=$(()=>[r.inputStyle,x.value,{resize:r.resize}]),Z=$(()=>fl(r.modelValue)?"":String(r.modelValue)),se=$(()=>r.clearable&&!p.value&&!r.readonly&&!!Z.value&&(S.value||g.value)),j=$(()=>r.showPassword&&!p.value&&!r.readonly&&!!Z.value&&(!!Z.value||
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const Cx=function(e,t){if(e&&e.addEventListener){const n=function(r){const o=_x(r);t&&Reflect.apply(t,this,[r,o])};e.addEventListener("wheel",n,{passive:!0})}},Ex={beforeMount(e,t){Cx(e,t.value)}},rh={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:no,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},oh={[un]:e=>xe(e)||lt(e)||on(e),change:e=>xe(e)||lt(e)||on(e)},Sx=({model:e,isChecked:t})=>{const n=Te(to,void 0),r=$(()=>{var s,l;const a=(s=n==null?void 0:n.max)==null?void 0:s.value,i=(l=n==null?void 0:n.min)==null?void 0:l.value;return!Lo(a)&&e.value.length>=a&&!t.value||!Lo(i)&&e.value.length<=i&&t.value});return{isDisabled:Vo($(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},xx=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:s})=>{const l=Te(to,void 0),{formItem:a}=ro(),{emit:i}=We();function u(p){var v,b;return p===e.trueLabel||p===!0?(v=e.trueLabel)!=null?v:!0:(b=e.falseLabel)!=null?b:!1}function c(p,v){i("change",u(p),v)}function f(p){if(n.value)return;const v=p.target;i("change",u(v.checked),p)}async function d(p){n.value||!r.value&&!o.value&&s.value&&(p.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ke(),c(t.value,p)))}const h=$(()=>(l==null?void 0:l.validateEvent)||e.validateEvent);return de(()=>e.modelValue,()=>{h.value&&(a==null||a.validate("change").catch(p=>void 0))}),{handleChange:f,onClickRoot:d}},Tx=e=>{const t=P(!1),{emit:n}=We(),r=Te(to,void 0),o=$(()=>Lo(r)===!1),s=P(!1);return{model:$({get(){var a,i;return o.value?(a=r==null?void 0:r.modelValue)==null?void 0:a.value:(i=e.modelValue)!=null?i:t.value},set(a){var i,u;o.value&&fe(a)?(s.value=((i=r==null?void 0:r.max)==null?void 0:i.value)!==void 0&&a.length>(r==null?void 0:r.max.value),s.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,a))):(n(un,a),t.value=a)}}),isGroup:o,isLimitExceeded:s}},Ox=(e,t,{model:n})=>{const r=Te(to,void 0),o=P(!1),s=$(()=>{const u=n.value;return on(u)?u:fe(u)?Pe(e.label)?u.map(Ie).some(c=>Yw(c,e.label)):u.map(Ie).includes(e.label):u!=null?u===e.trueLabel:!!u}),l=br($(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value}),{prop:!0}),a=br($(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value})),i=$(()=>!!(t.default||e.label));return{checkboxButtonSize:l,isChecked:s,isFocused:o,checkboxSize:a,hasOwnLabel:i}},$x=(e,{model:t})=>{function n(){fe(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},sh=(e,t)=>{const{formItem:n}=ro(),{model:r,isGroup:o,isLimitExceeded:s}=Tx(e),{isFocused:l,isChecked:a,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c}=Ox(e,t,{model:r}),{isDisabled:f}=Sx({model:r,isChecked:a}),{inputId:d,isLabeledByFormItem:h}=hl(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:o}),{handleChange:p,onClickRoot:v}=xx(e,{model:r,isLimitExceeded:s,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return $x(e,{model:r}),{inputId:d,isLabeledByFormItem:h,isChecked:a,isDisabled:f,isFocused:l,checkboxButtonSize:i,checkboxSize:u,hasOwnLabel:c,model:r,handleChange:p,onClickRoot:v}},Ax=["tabindex","role","aria-checked"],Mx=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Px=["id","aria-hidden","disabled","value","name","tabindex"],Rx=ue({name:"ElCheckbox"}),kx=ue({...Rx,props:rh,emits:oh,setup(e){const t=e,n=ol(),{inputId:r,isLabeledByFormItem:o,isChecked:s,isDisabled:l,isFocused:a,checkboxSize:i,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=sh(t,n),h=Se("checkbox"),p=$(()=>[h.b(),h.m(i.value),h.is("disabled",l.value),h.is("bordered",t.border),h.is("checked",s.value)]),v=$(()=>[h.e("input"),h.is("disabled",l.value),h.is("checked",s.value),h.is("indeterminate",t.i
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var HT=/["'&<>]/,DT=zT;function zT(e){var t=""+e,n=HT.exec(t);if(!n)return t;var r,o="",s=0,l=0;for(s=n.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}l!==s&&(o+=t.substring(l,s)),l=s+1,o+=r}return l!==s?o+t.substring(l,s):o}const Bl=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},jT=function(e,t,n,r,o){if(!t&&!r&&(!o||Array.isArray(o)&&!o.length))return e;typeof n=="string"?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const s=r?null:function(a,i){return o?(Array.isArray(o)||(o=[o]),o.map(u=>typeof u=="string"?Io(a,u):u(a,i,e))):(t!=="$key"&&Pe(a)&&"$value"in a&&(a=a.$value),[Pe(a)?Io(a,t):a])},l=function(a,i){if(r)return r(a.value,i.value);for(let u=0,c=a.key.length;u<c;u++){if(a.key[u]<i.key[u])return-1;if(a.key[u]>i.key[u])return 1}return 0};return e.map((a,i)=>({value:a,index:i,key:s?s(a,i):null})).sort((a,i)=>{let u=l(a,i);return u||(u=a.index-i.index),u*+n}).map(a=>a.value)},ph=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},WT=function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const o=e.columns[r];if(o.columnKey===t){n=o;break}}return n||Un("ElTable",`No column matching with column-key: ${t}`),n},Gc=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?ph(e,r[0]):null},ct=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const o of n)r=r[o];return`${r}`}else if(typeof t=="function")return t.call(null,e)},dr=function(e,t){const n={};return(e||[]).forEach((r,o)=>{n[ct(r,t)]={row:r,index:o}}),n};function KT(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if($e(t,r)){const o=t[r];typeof o<"u"&&(n[r]=o)}return n}function Ri(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function hh(e){return e===""||e!==void 0&&(e=Ri(e),Number.isNaN(e)&&(e=80)),e}function VT(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function UT(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function wo(e,t,n){let r=!1;const o=e.indexOf(t),s=o!==-1,l=a=>{a==="add"?e.push(t):e.splice(o,1),r=!0,fe(t.children)&&t.children.forEach(i=>{wo(e,i,n??!s)})};return on(n)?n&&!s?l("add"):!n&&s&&l("remove"):l(s?"remove":"add"),r}function qT(e,t,n="children",r="hasChildren"){const o=l=>!(Array.isArray(l)&&l.length);function s(l,a,i){t(l,a,i),a.forEach(u=>{if(u[r]){t(u,null,i+1);return}const c=u[n];o(c)||s(u,c,i+1)})}e.forEach(l=>{if(l[r]){t(l,null,0);return}const a=l[n];o(a)||s(l,a,0)})}let mn;function YT(e,t,n,r){r=Kd({enterable:!0,showArrow:!0},r);const{nextZIndex:o}=ml(),s=e==null?void 0:e.dataset.prefix,l=e==null?void 0:e.querySelector(`.${s}-scrollbar__wrap`);function a(){const b=r.effect==="light",m=document.createElement("div");return m.className=[`${s}-popper`,b?"is-light":"is-dark",r.popperClass||""].join(" "),n=DT(n),m.innerHTML=n,m.style.zIndex=String(o()),e==null||e.appendChild(m),m}function i(){const b=document.createElement("div");return b.className=`${s}-popper__arrow`,b}function u(){c&&c.update()}mn==null||mn(),mn=()=>{try{c&&c.destroy(),h&&(e==null||e.removeChild(h)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),l==null||l.removeEventListener("scroll",mn),mn=void 0}catch{}};let c=null,f=u,d=mn;r.enterable&&({onOpen:f,onClose:d}=kp({showAfter:r.showAfter,hideAfter:r.hideAfter,open:u,close:mn}));const h=a();h.onmouseenter=f,h.onmouseleave=d;const p=[];if(r.offset&&p.push({name:"offset",options:{offset:[0,r.offset]}}),r.showArrow){const b=h.appendChild(i());p.push({name:"arrow",options:{element:b,padding:10}})}const v=r.popperOptions||{};return c=Mp(t,h,{placement:r.placement||"top",strategy:"fixed",...v,modifiers:v.modifiers?p.concat(v.modifiers):p}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),l==null||l.addEventListener("scr
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const $r=typeof window<"u";function A4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Hl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gt(o)?o.map(e):e(o)}return n}const Co=()=>{},Gt=Array.isArray,M4=/\/$/,P4=e=>e.replace(M4,"");function Dl(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=L4(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:l}}function R4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function k4(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Yr(t.matched[r],n.matched[o])&&Sh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!I4(e[n],t[n]))return!1;return!0}function I4(e,t){return Gt(e)?ef(e,t):Gt(t)?ef(t,e):e===t}function ef(e,t){return Gt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function L4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,l;for(s=0;s<r.length;s++)if(l=r[s],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ho;(function(e){e.pop="pop",e.push="push"})(Ho||(Ho={}));var Eo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Eo||(Eo={}));function N4(e){if(!e)if($r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),P4(e)}const F4=/^[^#]+#/;function B4(e,t){return e.replace(F4,"#")+t}function H4(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 yl=()=>({left:window.pageXOffset,top:window.pageYOffset});function D4(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=H4(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function tf(e,t){return(history.state?history.state.position-t:-1)+e}const Aa=new Map;function z4(e,t){Aa.set(e,t)}function j4(e){const t=Aa.get(e);return Aa.delete(e),t}let W4=()=>location.protocol+"//"+location.host;function xh(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),Qc(i,"")}return Qc(n,e)+r+o}function K4(e,t,n,r){let o=[],s=[],l=null;const a=({state:d})=>{const h=xh(e,location),p=n.value,v=t.value;let b=0;if(d){if(n.value=h,t.value=d,l&&l===p){l=null;return}b=v?d.position-v.position:0}else r(h);o.forEach(m=>{m(n.value,p,{delta:b,type:Ho.pop,direction:b?b>0?Eo.forward:Eo.back:Eo.unknown})})};function i(){l=n.value}function u(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:yl()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:i,listen:u,destroy:f}}function nf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?yl():null}}function V4(e){const{history:t,location:n}=window,r={value:xh(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(i,u,c){const f=e.indexOf("#"