@kitbag/router 0.22.1 → 0.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/routerView.d.ts +1 -1
- package/dist/compositions/useRejection.d.ts +2 -4
- package/dist/kitbag-router.js +282 -280
- package/dist/kitbag-router.umd.cjs +2 -2
- package/dist/main.d.ts +7 -0
- package/dist/services/createRouterAssets.d.ts +8 -0
- package/dist/services/createRouterReject.d.ts +4 -1
- package/dist/types/routeContext.d.ts +6 -2
- package/dist/types/router.d.ts +7 -8
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(v,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],y):(v=typeof globalThis<"u"?globalThis:v||self,y(v["@kitbag/router"]={},v.Vue))})(this,(function(v,y){"use strict";class Ln extends Error{constructor(t){super(`Child property on meta for ${t} conflicts with the parent meta.`)}}function Io(e,t){return Ao(e,t),{...e,...t}}function Ao(e,t){const n=Object.keys(e).find(r=>r in t&&typeof t[r]!=typeof e[r]);if(n)throw new Ln(n)}class Vn extends Error{constructor(t){super(`Invalid Param "${t}": Router does not support multiple params by the same name. All param names must be unique.`)}}function vo(e,t){return e.filter(n=>t===n).length}function $e(...e){const t=e.flatMap(n=>Array.isArray(n)?n:Object.keys(n));for(const n of t)if(vo(t,n)>1)throw new Vn(n)}function ko(e,t){return $e(e,t),{...e,...t}}function Vt(e){return"parent"in e&&!!e.parent}function Dt(e){return"component"in e&&!!e.component}function xt(e){return"props"in e&&typeof e.props=="function"}function Mt(e){return"components"in e&&!!e.components}function Bt(e){return"props"in e&&typeof e.props=="object"}function jt(e,t){return{...t,meta:Io(e.meta,t.meta),state:ko(e.state,t.state),hooks:[...e.hooks,...t.hooks],matches:[...e.matches,t.matched],context:[...e.context,...t.context],depth:e.depth+1}}function te(e){return typeof e!="string"?!1:/^(https?:\/\/|\/).*/g.test(e)}function Dn(e){return te(e)?e:`/${e}`}const Ht=Symbol("IS_URL_SYMBOL");function le(e){return typeof e=="object"&&e!==null&&Ht in e}class Ee extends Error{constructor(){super("Router not installed")}}class xn extends Error{constructor(t,n){super(`useRoute called with incorrect route. Given ${t}, expected ${n}`)}}function it(){let e=0;return()=>(++e).toString()}const Co=it()();function Uo(e){return e===Co}const Zt=it();function Mn(e){return e===void 0?"":e}class ge{redirects=new Set;onBeforeRouteEnter=new Set;onBeforeRouteUpdate=new Set;onBeforeRouteLeave=new Set;onAfterRouteEnter=new Set;onAfterRouteUpdate=new Set;onAfterRouteLeave=new Set;onError=new Set}class Lo extends Error{constructor(t){super(`Invalid Route Redirect "${t}": Router does not support multiple redirects to the same route. All redirects must be unique.`)}}function at(){const e=new ge;return{redirect:(l,h)=>{if(e.redirects.size>0)throw new Lo(l.name);const c=(E,{replace:f})=>{f(l.name,h?.(E.params))};return e.redirects.add(c),()=>e.redirects.delete(c)},onBeforeRouteEnter:l=>(e.onBeforeRouteEnter.add(l),()=>e.onBeforeRouteEnter.delete(l)),onBeforeRouteUpdate:l=>(e.onBeforeRouteUpdate.add(l),()=>e.onBeforeRouteUpdate.delete(l)),onBeforeRouteLeave:l=>(e.onBeforeRouteLeave.add(l),()=>e.onBeforeRouteLeave.delete(l)),onAfterRouteEnter:l=>(e.onAfterRouteEnter.add(l),()=>e.onAfterRouteEnter.delete(l)),onAfterRouteUpdate:l=>(e.onAfterRouteUpdate.add(l),()=>e.onAfterRouteUpdate.delete(l)),onAfterRouteLeave:l=>(e.onAfterRouteLeave.add(l),()=>e.onAfterRouteLeave.delete(l)),onError:l=>(e.onError.add(l),()=>e.onError.delete(l)),store:e}}class $t extends Error{context;constructor(t={}){super(t.message??"Uncaught InvalidRouteParamValueError"),this.context={isOptional:!1,isGetter:!1,isSetter:!1,...t}}}const _e="[",Ae="]";function Vo(e){return e!==String&&e!==Boolean&&e!==Number&&e!==Date}function Do(e){return typeof e=="function"&&Vo(e)}function ct(e){return typeof e=="object"&&"get"in e&&typeof e.get=="function"&&"set"in e&&typeof e.set=="function"}function Bn(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function jn(e,t){return ct(e)?{...e,defaultValue:t??e.defaultValue}:{get:n=>me(n,e),set:n=>ce(n,e),defaultValue:t}}function xo(e){return ct(e)&&e.defaultValue!==void 0}function Mo(e,t){return jn(e,t)}function Bo(e){return e!==void 0}function ve(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function se(e){return typeof e=="string"&&e.length>0}let T=null;async function jo(){const{ZodType:e,ZodString:t,ZodIPv4:n,ZodIPv6:r,ZodCIDRv4:o,ZodCIDRv6:s,ZodURL:i,ZodEmail:a,ZodUUID:u,ZodBase64:l,ZodCUID:h,ZodCUID2:c,ZodULID:E,ZodJWT:f,ZodBigInt:d,ZodNaN:R,ZodBoolean:_,ZodDate:m,ZodISODateTime:O,ZodISODate:p,ZodISOTime:g,ZodNumber:I,ZodLiteral:A,ZodObject:P,ZodEnum:S,ZodArray:N,ZodTuple:C,ZodUnion:U,ZodDiscriminatedUnion:B,ZodRecord:M,ZodMap:j,ZodSet:G,ZodIntersection:q,ZodPromise:k}=await import("zod");return{ZodType:e,ZodString:t,ZodIPv4:n,ZodIPv6:r,ZodCIDRv4:o,ZodCIDRv6:s,ZodURL:i,ZodEmail:a,ZodUUID:u,ZodBase64:l,ZodCUID:h,ZodCUID2:c,ZodULID:E,ZodJWT:f,ZodBigInt:d,ZodNaN:R,ZodBoolean:_,ZodDate:m,ZodISODateTime:O,ZodISODate:p,ZodISOTime:g,ZodNumber:I,ZodLiteral:A,ZodObject:P,ZodEnum:S,ZodArray:N,ZodTuple:C,ZodUnion:U,ZodDiscriminatedUnion:B,ZodRecord:M,ZodMap:j,ZodSet:G,ZodIntersection:q,ZodPromise:k}}function Ho(e){return Object.values(e).some(t=>le(t)?Object.values(t.schema.host.params).some(n=>Gt(n))||Object.values(t.schema.path.params).some(n=>Gt(n))||Object.values(t.schema.query.params).some(n=>Gt(n)):!1)}function Gt(e){return ve(e)&&"parse"in e&&typeof e.parse=="function"&&"~standard"in e&&ve(e["~standard"])&&"vendor"in e["~standard"]&&e["~standard"].vendor==="zod"}async function Zo(){try{T=await jo()}catch{throw new Error("Failed to initialize Zod")}}function Hn(e){return T?e instanceof T.ZodType:!1}function Zn(e){return{get:(t,{invalid:n})=>{try{return qt(t,e)}catch{throw n()}},set:(t,{invalid:n})=>{try{return Ft(t,e)}catch{throw n()}}}}const $o=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;function ke(e,t){if(typeof t=="string"&&$o.test(t)){const n=new Date(t);return isNaN(n.getTime())?t:n}return t}function Ge(e){for(const t of e)try{return t()}catch{continue}throw new Error("All functions failed")}function ut(e,t){return T?.ZodString&&e instanceof T.ZodString?1:T?.ZodString&&t instanceof T.ZodString?-1:0}function qt(e,t){if(!T)throw new Error("Zod is not initialized");if(t instanceof T.ZodString)return t.parse(e);if(t instanceof T.ZodBoolean)return t.parse(!!e);if(t instanceof T.ZodDate)return t.parse(new Date(e));if(t instanceof T.ZodNumber)return t.parse(Number(e));if(t instanceof T.ZodBigInt)return t.parse(BigInt(e));if(t instanceof T.ZodNaN)return t.parse(Number(e));if(t instanceof T.ZodLiteral)return Ge([()=>t.parse(Number(e)),()=>t.parse(!!e),()=>t.parse(e)]);if(t instanceof T.ZodObject)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodEnum)return t.parse(e);if(t instanceof T.ZodArray||t instanceof T.ZodTuple)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodUnion){const n=Array.from(t.def.options).sort(ut).map(r=>()=>qt(e,r));return Ge(n)}if(t instanceof T.ZodDiscriminatedUnion){const n=Array.from(t.options).sort(ut).map(r=>()=>qt(e,r));return Ge(n)}if(t instanceof T.ZodRecord)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodMap)return t.parse(new Map(JSON.parse(e,ke)));if(t instanceof T.ZodSet)return t.parse(new Set(JSON.parse(e,ke)));if(t instanceof T.ZodIntersection)throw new Error("Intersection schemas are not supported");if(t instanceof T.ZodPromise)throw new Error("Promise schemas are not supported");return t.parse(e)}function Ft(e,t){if(!T)throw new Error("Zod is not initialized");if(t instanceof T.ZodString||t instanceof T.ZodISODateTime||t instanceof T.ZodISODate||t instanceof T.ZodISOTime||t instanceof T.ZodIPv4||t instanceof T.ZodIPv6||t instanceof T.ZodCIDRv4||t instanceof T.ZodCIDRv6||t instanceof T.ZodURL||t instanceof T.ZodEmail||t instanceof T.ZodUUID||t instanceof T.ZodBase64||t instanceof T.ZodCUID||t instanceof T.ZodCUID2||t instanceof T.ZodULID||t instanceof T.ZodJWT)return t.parse(e);if(t instanceof T.ZodBoolean)return t.parse(e).toString();if(t instanceof T.ZodDate)return t.parse(e).toISOString();if(t instanceof T.ZodNumber)return t.parse(Number(e)).toString();if(t instanceof T.ZodBigInt)return t.parse(BigInt(String(e))).toString();if(t instanceof T.ZodNaN)return t.parse(e).toString();if(t instanceof T.ZodLiteral){const n=t.parse(e);return n!=null?n.toString():String(n)}if(t instanceof T.ZodObject)return JSON.stringify(t.parse(e));if(t instanceof T.ZodEnum){const n=t.parse(e);return typeof n=="string"?n:String(n)}if(t instanceof T.ZodArray||t instanceof T.ZodTuple)return JSON.stringify(t.parse(e));if(t instanceof T.ZodUnion){const n=Array.from(t.def.options).sort(ut).map(r=>()=>Ft(e,r));return Ge(n)}if(t instanceof T.ZodDiscriminatedUnion){const n=Array.from(t.options).sort(ut).map(r=>()=>Ft(e,r));return Ge(n)}if(t instanceof T.ZodRecord)return JSON.stringify(t.parse(e));if(t instanceof T.ZodMap){const n=t.parse(e);return JSON.stringify(Array.from(n.entries()))}if(t instanceof T.ZodSet){const n=t.parse(e);return JSON.stringify(Array.from(n.values()))}if(t instanceof T.ZodIntersection)throw new Error("Intersection schemas are not supported");if(t instanceof T.ZodPromise)throw new Error("Promise schemas are not supported");return JSON.stringify(t.parse(e))}function zt(e){return typeof e=="object"&&e!==null&&"then"in e}function L(e,t){const n=e["~standard"].validate(t);if(zt(n))throw new Error("Promise schemas are not supported");if(n.issues)throw new Error("Validation failed");return n.value}function Go(e){return ve(e)&&"type"in e&&typeof e.type=="string"&&"~standard"in e&&ve(e["~standard"])&&"vendor"in e["~standard"]&&e["~standard"].vendor==="valibot"}function $n(e){return Go(e)}function Gn(e){return{get:(t,{invalid:n})=>{try{return Wt(t,e)}catch{throw n()}},set:(t,{invalid:n})=>{try{return Jt(t,e)}catch{throw n()}}}}const qo=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;function Ce(e,t){if(typeof t=="string"&&qo.test(t)){const n=new Date(t);return isNaN(n.getTime())?t:n}return t}function Ue(e){for(const t of e)try{return t()}catch{continue}throw new Error("All functions failed")}function ft(e,t){return e.type==="string"?1:t.type==="string"?-1:0}function Wt(e,t){if(t.type==="boolean")return L(t,!!e);if(t.type==="date")return L(t,new Date(e));if(t.type==="number")return L(t,Number(e));if(t.type==="literal")return Ue([()=>L(t,Number(e)),()=>L(t,!!e),()=>L(t,e)]);if(t.type==="object")return L(t,JSON.parse(e,Ce));if(t.type==="enum")return Ue([()=>L(t,Number(e)),()=>L(t,!!e),()=>L(t,e)]);if(t.type==="array"||t.type==="tuple")return L(t,JSON.parse(e,Ce));if(t.type==="union"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Wt(e,r));return Ue(n)}if(t.type==="variant"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Wt(e,r));return Ue(n)}if(t.type==="record")return L(t,JSON.parse(e,Ce));if(t.type==="map")return L(t,new Map(JSON.parse(e,Ce)));if(t.type==="set")return L(t,new Set(JSON.parse(e,Ce)));if(t.type==="intersection")throw new Error("Intersection schemas are not supported");if(t.type==="promise")throw new Error("Promise schemas are not supported");if(t.type==="function")throw new Error("Function schemas are not supported");return L(t,e)}function Jt(e,t){if(t.type==="string"||t.type==="boolean")return L(t,e).toString();if(t.type==="date")return L(t,e).toISOString();if(t.type==="number")return L(t,Number(e)).toString();if(t.type==="literal")return L(t,e).toString();if(t.type==="object")return JSON.stringify(L(t,e));if(t.type==="enum"||t.type==="nativeEnum")return L(t,e).toString();if(t.type==="array"||t.type==="tuple")return JSON.stringify(L(t,e));if(t.type==="union"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Jt(e,r));return Ue(n)}if(t.type==="variant"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Jt(e,r));return Ue(n)}if(t.type==="record")return JSON.stringify(L(t,e));if(t.type==="map"){const n=L(t,e);return JSON.stringify(Array.from(n.entries()))}if(t.type==="set"){const n=L(t,e);return JSON.stringify(Array.from(n.values()))}if(t.type==="intersection")throw new Error("Intersection schemas are not supported");if(t.type==="promise")throw new Error("Promise schemas are not supported");if(t.type==="function")throw new Error("Function schemas are not supported");return JSON.stringify(L(t,e))}function Fo(e,t){return e[t]??String}function qn(e){return{invalid:t=>{throw new $t({...e,message:t})}}}const Fn={get:e=>e,set:(e,{invalid:t})=>{if(typeof e!="string")throw t(`Expected string value, received ${JSON.stringify(e)}`);return e}},Kt={get:(e,{invalid:t})=>{if(e==="true")return!0;if(e==="false")return!1;throw t(`Expected boolean value, received ${JSON.stringify(e)}`)},set:(e,{invalid:t})=>{if(typeof e!="boolean")throw t(`Expected boolean value, received ${JSON.stringify(e)}`);return e.toString()}},Yt={get:(e,{invalid:t})=>{const n=Number(e);if(isNaN(n))throw t(`Expected number value, received ${JSON.stringify(e)}`);return n},set:(e,{invalid:t})=>{if(typeof e!="number")throw t(`Expected number value, received ${JSON.stringify(e)}`);return e.toString()}},zn={get:(e,{invalid:t})=>{const n=new Date(e);if(isNaN(n.getTime()))throw t(`Expected date value, received ${JSON.stringify(e)}`);return n},set:(e,{invalid:t})=>{if(typeof e!="object"||!(e instanceof Date))throw t(`Expected date value, received ${JSON.stringify(e)}`);return e.toISOString()}},Wn={get:(e,{invalid:t})=>{try{return JSON.parse(e)}catch{throw t(`Expected JSON value, received "${e}"`)}},set:(e,{invalid:t})=>{try{return JSON.stringify(e)}catch{throw t(`Expected JSON value, received "${e}"`)}}};function zo(e,t,n){switch(typeof t){case"string":return Fn.get(e,n)===t;case"number":return Yt.get(e,n)===t;case"boolean":return Kt.get(e,n)===t;default:return!1}}function me(e,t,n=!1){const r=qn({param:t,value:e,isGetter:!0});if(e===void 0||!se(e)){if(xo(t))return t.defaultValue;if(n)return;throw r.invalid(`Param is not optional, received ${JSON.stringify(e)}`)}if(t===String)return Fn.get(e,r);if(t===Boolean)return Kt.get(e,r);if(t===Number)return Yt.get(e,r);if(t===Date)return zn.get(e,r);if(t===JSON)return Wn.get(e,r);if(Do(t))return t(e,r);if(ct(t))return t.get(e,r);if(t instanceof RegExp){if(t.test(e))return e;throw r.invalid(`Expected value to match regex ${t.toString()}, received ${JSON.stringify(e)}`)}if(Bn(t)){if(zo(e,t,r))return t;throw r.invalid(`Expected value to be ${t}, received ${JSON.stringify(e)}`)}return Hn(t)?Zn(t).get(e,r):$n(t)?Gn(t).get(e,r):e}function Qt(e,t,n=!1){try{return me(e,t,n)}catch(r){if(r instanceof $t)return;throw r}}function Wo(e,t,n=!1){try{return ce(e,t,n)}catch(r){if(r instanceof $t)return;throw r}}function ce(e,t,n=!1){const r=qn({param:t,value:e,isSetter:!0});if(e===void 0){if(n)return"";throw r.invalid(`Param is not optional, received ${JSON.stringify(e)}`)}if(t===Boolean)return Kt.set(e,r);if(t===Number)return Yt.set(e,r);if(t===Date)return zn.set(e,r);if(t===JSON)return Wn.set(e,r);if(ct(t))return t.set(e,r);if(Bn(t)){if(t!==e)throw r.invalid(`Expected value to be literal ${t}, received ${JSON.stringify(e)}`);return e.toString()}if(Hn(t))return Zn(t).set(e,r);if($n(t))return Gn(t).set(e,r);try{return e.toString()}catch{throw r.invalid(`Unable to set param value, received ${JSON.stringify(e)}`)}}const lt=`\\${_e}\\??([\\w-_]+)\\*?\\${Ae}`,Jo=`\\${_e}\\?([\\w-_]+)\\*?\\${Ae}`,Ko=`\\${_e}\\??([\\w-_]+)\\*\\${Ae}`,Yo="[^/]*",Qo=".*",Xo="([^/]*)",es="(.*)";function Xt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ts(e,t){const n=Array.from(e.matchAll(t));if(n.length===0)return[e];let r=0;const o=n.reduce((i,a)=>{const u=Xt(e.slice(r,a.index));u.length&&i.push(u);const[l]=a;return i.push(l),r=a.index+l.length,i},[]),s=e.slice(r);return s&&o.push(s),o}function ns(e){const t=dt(e);return new RegExp(`^${t||".*"}$`,"i")}function rs(e){const t=dt(e);return new RegExp(`^${t}$`,"i")}function os(e){const t=e.replace(/^#*/,""),n=dt(t);return new RegExp(`^#?${n||".*"}$`,"i")}function ss(e){const t=new URLSearchParams(e);return Array.from(t.entries()).filter(([,n])=>!en(n)).map(([n,r])=>{const o=dt(r);return new RegExp(`${Xt(n)}=${o}(&|$)`,"i")})}function dt(e){return ts(e,new RegExp(lt,"g")).map(t=>t.startsWith(_e)?Jn(t):Xt(t)).join("")}function Jn(e){return e.replace(new RegExp(lt,"g"),t=>cs(t)?Qo:Yo)}function is(e,t){const n=Yn(t),r=as(e,t)?es:Xo;return e.replace(n,r)}function Kn(e,t){return us(t).test(e)}function as(e,t){return fs(t).test(e)}function en(e){return new RegExp(Jo,"g").test(e)}function cs(e){return new RegExp(Ko,"g").test(e)}function tn(e){const[t]=Qn(e,new RegExp(lt,"g"));return t}function Yn(e){return new RegExp(`\\${_e}\\??${e}\\*?\\${Ae}`,"g")}function us(e){return new RegExp(`\\${_e}\\?${e}\\*?\\${Ae}`,"g")}function fs(e){return new RegExp(`\\${_e}\\??${e}\\*\\${Ae}`,"g")}function Qn(e,t){return Array.from(e.matchAll(t)).flatMap(([,...r])=>r.map(o=>se(o)?o:""))}function ls(e="",t={}){return se(e)?Array.from(e.matchAll(new RegExp(lt,"g"))).reduce((r,[o,s])=>{const i=tn(o);if(!i)return r;const a=Fo(t,i);return $e([i],r),r[s]=a,r},{}):{}}function ds(e){return ve(e)&&typeof e.value=="string"}function W(e){return e===void 0?qe():ds(e)?e:qe(e,{})}function qe(e,t){return{value:e??"",params:ls(e,t)}}function ps(e,t,n){const r=is(t.value,n),o=Jn(r),[s]=Qn(e,new RegExp(o,"g"));return s}function hs(e,t,n,r){const o=Kn(t.value,n),s=ce(r,t.params[n],o);return e.replace(Yn(n),s)}function Xn(...e){const t=new URLSearchParams;for(const n of e){const r=new URLSearchParams(n);for(const[o,s]of r.entries())t.append(o,s)}return t}const pt="https://internal.invalid";function nn(e){const t=new URL(e.host??pt,pt);return t.pathname=e.path??"",t.search=new URLSearchParams(e.query).toString(),t.hash=e.hash??"",Dn(t.toString().replace(new RegExp(`^${pt}/*`),"/"))}function ue(e){return!e.startsWith("http")?gs(e):Es(e)}function Fe(e,t){if(typeof e=="string"){const r=Fe(ue(e),t);return nn(r)}const n=new URLSearchParams(t.query);return{host:se(t.host)?t.host:e.host,path:se(t.path)?t.path:e.path??"",query:Xn(n,e.query),hash:se(t.hash)?t.hash:e.hash??""}}function Es(e){const{protocol:t,host:n,pathname:r,searchParams:o,hash:s}=new URL(e,e);return{host:`${t}//${n}`,path:r,query:o,hash:s}}function gs(e){const{pathname:t,searchParams:n,hash:r}=new URL(e,pt);return{path:t,query:n,hash:r}}function ye(e){const t={host:W(e.host),path:W(e.path),query:ms(W(e.query)),hash:_s(W(e.hash))};$e(t.path.params,t.query.params,t.host.params,t.hash.params);const n={...t.host,regexp:ns(t.host.value),stringify(h={}){return rn(t.host,h)}},r={...t.path,regexp:rs(t.path.value),stringify(h={}){return rn(t.path,h)}},o={...t.query,regexp:ss(t.query.value),stringify(h={}){return ys(t.query,h).toString()}},s={...t.hash,regexp:os(t.hash.value),stringify(h={}){return rn(t.hash,h)}};function i(h={}){return nn({host:n.stringify(h),path:r.stringify(h),query:o.stringify(h),hash:s.stringify(h)})}function a(h){const c=ue(h);return{...on(n,c.host??""),...on(r,c.path),...Rs(o,c.query.toString()),...on(s,c.hash)}}function u(h){const c=ue(h);if(!n.regexp.test(c.host??""))return{success:!1,params:{},error:new Error("Host does not match")};if(!r.regexp.test(c.path))return{success:!1,params:{},error:new Error("Path does not match")};const E=c.query.toString();if(!o.regexp.every(f=>f.test(E)))return{success:!1,params:{},error:new Error("Query does not match")};if(!s.regexp.test(c.hash))return{success:!1,params:{},error:new Error("Hash does not match")};try{return{success:!0,params:a(h)}}catch(f){return{success:!1,params:{},error:new Error("Failed to parse url",{cause:f})}}}return{...{schema:{host:n,path:r,query:o,hash:s},params:{},[Ht]:!0},isRelative:!se(t.host.value),stringify:i,parse:a,tryParse:u}}function _s(e){return{...e,value:e.value.replace(/^#/,"")}}function ms(e){return{...e,value:e.value.replace(/^\?/,"")}}function rn(e,t){return Object.keys(e.params).reduce((n,r)=>hs(n,e,r,t[r]),e.value)}function ys(e,t){const n=new URLSearchParams(e.value);if(!e.value)return n;for(const[r,o]of Array.from(n.entries())){const s=tn(o);if(!s)continue;const a=en(o),u=ce(t[s],e.params[s],a),l=t[s]===void 0&&u==="";a&&l?n.delete(r,o):n.set(r,u)}return n}function on(e,t){const n={},r=decodeURIComponent(t);for(const[o,s]of Object.entries(e.params)){const i=ps(r,e,o),a=Kn(e.value,o),u=me(i,s,a);n[o]=u}return n}function Rs(e,t){const n={},r=new URLSearchParams(e.value),o=new URLSearchParams(t);for(const[s,i]of Array.from(r.entries())){const a=tn(i);if(!a)continue;const l=en(i),h=o.get(s)??void 0,c=me(h,e.params[a],l);n[a]=c}return n}class er extends Error{constructor(t){super(`Invalid Route Redirect "${t}": Route does not support redirects. Use createRouteRedirects to create redirects.`)}}function tr(e){return"redirect"in e}function nr({getRoute:e}){return{redirectTo:(...[r,o])=>{const s=e();if(!tr(s))throw new er(s.name);r.context.push(s),s.context.push(r),s.redirect(r,o)},redirectFrom:(r,o)=>{const s=e();if(!tr(r))throw new er(r.name);s.context.push(r),r.context.push(s),r.redirect(s,o)}}}function sn(e,t){$e(e.params,t.params);const n=`${e.value}${t.value}`;return qe(n,{...e.params,...t.params})}function rr(e,t){$e(e.params,t.params);const n=[e.value,t.value].filter(se).join("&");return qe(n,{...e.params,...t.params})}function or(e,t){return sn(e,t)}function an(e,t){if(!le(e))throw new Error("Parent is not a valid url");if(!Ss(t))return ye({host:e.schema.host,path:sn(e.schema.path,W(t.path)),query:rr(e.schema.query,W(t.query)),hash:or(e.schema.hash,W(t.hash))});if(!le(t))throw new Error("Child is not a valid url");return ye({host:e.schema.host,path:sn(e.schema.path,t.schema.path),query:rr(e.schema.query,t.schema.query),hash:or(e.schema.hash,t.schema.hash)})}function Ss(e){return le(e)}function Re(e,t){const n=Zt(),r=Mn(e.name),o=W(e.path),s=W(e.query),i=W(e.hash),a=e.meta??{},u=e.state??{},l=e.context??[],{store:h,...c}=at(),E=y.markRaw({id:n,meta:a,state:u,...e,props:t}),f=nr({getRoute:()=>R}),d=ye({path:o,query:s,hash:i}),R={id:n,matched:E,matches:[E],hooks:[h],name:r,meta:a,state:u,context:l,depth:1,prefetch:e.prefetch,...f,...d,...c};if(Vt(e)){const _=jt(e.parent,R),m=an(e.parent,{path:o,query:s,hash:i});return{..._,...m}}return R}function sr(e){return y.defineComponent(()=>()=>y.h("h1",e),{name:e,props:[]})}function Os(e){const t=e.component??sr(e.type);return{type:e.type,component:t}}function ws(e){const t=Zt(),n=Mn(e.name),r=W(e.path),o=W(e.query),s=W(e.hash),i=e.meta??{},a=W(e.host),u=e.context??[],{store:l,...h}=at(),c=nr({getRoute:()=>d}),E=y.markRaw({id:t,meta:{},state:{},...e}),f=ye({host:a,path:r,query:o,hash:s}),d={id:t,matched:E,matches:[E],hooks:[l],name:n,meta:i,depth:1,state:{},context:u,...h,...c,...f};if(Vt(e)){const R=jt(e.parent,d),_=an(e.parent,{path:r,query:o,hash:s});return{...R,..._}}return d}function ze(){const e=new Map;return t=>{const n=e.get(t);if(!n){const r=Symbol();return e.set(t,r),r}return n}}const Ts=ze();function ir(e){const t=Ts(e);return({increment:n=!1}={})=>{const r=y.inject(t,0);return n&&y.provide(t,r+1),r}}const We=(e,t,n)=>{const r=e.matches,o=t?.matches??[];return r.at(n)?.id!==o.at(n)?.id},Je=(e,t,n)=>{const r=e.matches,o=t?.matches??[];return r.at(n)?.id!==o.at(n)?.id},Ke=(e,t,n)=>e.matches.at(n)?.id===t?.matches.at(n)?.id;function Ps(e){switch(e){case"onBeforeRouteEnter":case"onAfterRouteEnter":return We;case"onBeforeRouteUpdate":case"onAfterRouteUpdate":return Ke;case"onBeforeRouteLeave":case"onAfterRouteLeave":return Je;default:throw new Error(`Switch is not exhaustive for lifecycle: ${e}`)}}function Ns(e,t){const n=new ge;return e.hooks.forEach((r,o)=>{if(r.redirects.forEach(s=>n.redirects.add(s)),We(e,t,o))return r.onBeforeRouteEnter.forEach(s=>n.onBeforeRouteEnter.add(s));if(Ke(e,t,o))return r.onBeforeRouteUpdate.forEach(s=>n.onBeforeRouteUpdate.add(s))}),t?.hooks.forEach((r,o)=>{if(Je(e,t,o))return r.onBeforeRouteLeave.forEach(s=>n.onBeforeRouteLeave.add(s))}),n}function bs(e,t){const n=new ge;return e.hooks.forEach((r,o)=>{if(We(e,t,o))return r.onAfterRouteEnter.forEach(s=>n.onAfterRouteEnter.add(s));if(Ke(e,t,o))return r.onAfterRouteUpdate.forEach(s=>n.onAfterRouteUpdate.add(s))}),t?.hooks.forEach((r,o)=>{if(Je(e,t,o))return r.onAfterRouteLeave.forEach(s=>n.onAfterRouteLeave.add(s))}),n}class ht extends Error{}class fe extends ht{response;constructor(t){super("Uncaught ContextPushError"),this.response={status:"PUSH",to:t}}}class Se extends ht{response;constructor(t){super("Uncaught ContextRejectionError"),this.response={status:"REJECT",type:t}}}class ar extends ht{response;constructor(){super("Uncaught ContextAbortError"),this.response={status:"ABORT"}}}function Is(e,t,n){const r=new ge;return e.matches.forEach((o,s)=>{We(e,t,s)&&n.onBeforeRouteEnter.forEach(i=>r.onBeforeRouteEnter.add(i)),Ke(e,t,s)&&n.onBeforeRouteUpdate.forEach(i=>r.onBeforeRouteUpdate.add(i))}),t?.matches.forEach((o,s)=>{Je(e,t,s)&&n.onBeforeRouteLeave.forEach(i=>r.onBeforeRouteLeave.add(i))}),r}function As(e,t,n){const r=new ge;return e.matches.forEach((o,s)=>{We(e,t,s)&&n.onAfterRouteEnter.forEach(i=>r.onAfterRouteEnter.add(i)),Ke(e,t,s)&&n.onAfterRouteUpdate.forEach(i=>r.onAfterRouteUpdate.add(i))}),t?.matches.forEach((o,s)=>{Je(e,t,s)&&n.onAfterRouteLeave.forEach(i=>r.onAfterRouteLeave.add(i))}),r}function cr(){let e=null;function t(r){e=r}function n(r){return e?e.runWithContext(r):r()}return{setVueApp:t,runWithContext:n}}function Ye({to:e}){const t=i=>{throw new Se(i)},n=(...i)=>{throw new fe(i)};return{reject:t,push:n,replace:(i,a,u)=>{if(te(i)){const c=a??{};throw new fe([i,{...c,replace:!0}])}const l=a,h=u??{};throw new fe([i,l,{...h,replace:!0}])},update:(i,a,u)=>{if(typeof i=="object"){const h={...e.params,...i};return n(e.name,h,a)}const l={...e.params,[i]:a};return n(e.name,l,u)},abort:()=>{throw new ar}}}const ur=ze();function vs(){const{setVueApp:e,runWithContext:t}=cr(),{store:n,...r}=at(),o=new ge,s=async({to:h,from:c})=>{const{reject:E,push:f,replace:d,update:R,abort:_}=Ye({to:h}),m=Ns(h,c),O=Is(h,c,n),p=[...m.redirects,...O.onBeforeRouteEnter,...m.onBeforeRouteEnter,...O.onBeforeRouteUpdate,...m.onBeforeRouteUpdate,...o.onBeforeRouteUpdate,...O.onBeforeRouteLeave,...m.onBeforeRouteLeave,...o.onBeforeRouteLeave];try{const g=p.map(I=>t(()=>I(h,{from:c,reject:E,push:f,replace:d,update:R,abort:_})));await Promise.all(g)}catch(g){if(g instanceof fe||g instanceof Se||g instanceof ar)return g.response;try{a(g,{to:h,from:c,source:"hook"})}catch(I){if(I instanceof fe||I instanceof Se)return I.response;throw I}}return{status:"SUCCESS"}},i=async({to:h,from:c})=>{const{reject:E,push:f,replace:d,update:R}=Ye({to:h}),_=bs(h,c),m=As(h,c,n),O=[...o.onAfterRouteLeave,..._.onAfterRouteLeave,...m.onAfterRouteLeave,...o.onAfterRouteUpdate,..._.onAfterRouteUpdate,...m.onAfterRouteUpdate,...o.onAfterRouteEnter,..._.onAfterRouteEnter,...m.onAfterRouteEnter];try{const p=O.map(g=>t(()=>g(h,{from:c,reject:E,push:f,replace:d,update:R})));await Promise.all(p)}catch(p){if(p instanceof fe||p instanceof Se)return p.response;try{a(p,{to:h,from:c,source:"hook"})}catch(g){if(g instanceof fe||g instanceof Se)return g.response;throw g}}return{status:"SUCCESS"}},a=(h,{to:c,from:E,source:f})=>{const{reject:d,push:R,replace:_,update:m}=Ye({to:c});for(const O of n.onError)try{O(h,{to:c,from:E,source:f,reject:d,push:R,replace:_,update:m});return}catch(p){if(p instanceof ht)throw p;if(p===h)continue;throw p}};return{runBeforeRouteHooks:s,runAfterRouteHooks:i,runErrorHooks:a,addComponentHook:({lifecycle:h,depth:c,hook:E})=>{const f=Ps(h),d=o[h],R=(_,m)=>{if(f(_,m.from,c))return E(_,m)};return d.add(R),()=>d.delete(R)},addGlobalRouteHooks:h=>{h.onBeforeRouteEnter.forEach(c=>r.onBeforeRouteEnter(c)),h.onBeforeRouteUpdate.forEach(c=>r.onBeforeRouteUpdate(c)),h.onBeforeRouteLeave.forEach(c=>r.onBeforeRouteLeave(c)),h.onAfterRouteEnter.forEach(c=>r.onAfterRouteEnter(c)),h.onAfterRouteUpdate.forEach(c=>r.onAfterRouteUpdate(c)),h.onAfterRouteLeave.forEach(c=>r.onAfterRouteLeave(c)),h.onError.forEach(c=>r.onError(c))},setVueApp:e,...r}}function ks(e){const t=ur(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}function Et(e,t){const n=ir(e),r=ks(e);return o=>{const s=n(),a=r().addComponentHook({lifecycle:t,hook:o,depth:s-1});return y.onUnmounted(a),a}}function Cs(e){const t=Et(e,"onBeforeRouteLeave"),n=Et(e,"onBeforeRouteUpdate"),r=Et(e,"onAfterRouteLeave"),o=Et(e,"onAfterRouteUpdate");return{onBeforeRouteLeave:t,onBeforeRouteUpdate:n,onAfterRouteLeave:r,onAfterRouteUpdate:o}}const fr=ze();function Us(e){const t=fr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}const lr=ze();function Ls(e){const t=lr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}function Qe(e){return()=>{const t=y.inject(e);if(!t)throw new Ee;return t}}const dr=Symbol("isRouterRouteSymbol");function Vs(e,t){return typeof t=="object"&&t!==null&&dr in t&&e in t}function Ds(e,t,n){function r(O,p,g){if(typeof O=="object"){const A={...t.params,...O};return n(t.name,A,p)}const I={...t.params,[O]:p};return n(t.name,I,g)}const o=(...O)=>{const p=new URLSearchParams(t.query);p.set(...O),r({},{query:p})},s=(...O)=>{const p=new URLSearchParams(t.query);p.append(...O),r({},{query:p})},i=(...O)=>{const p=new URLSearchParams(t.query);p.delete(...O),r({},{query:p})},{id:a,matched:u,matches:l,hooks:h,name:c,hash:E,href:f}=y.toRefs(t),d=y.computed({get(){return new Proxy(t.params,{set(O,p,g){return r(p,g),!0}})},set(O){r(O)}}),R=y.computed({get(){return new Proxy(t.query,{get(O,p,g){switch(p){case"append":return s;case"set":return o;case"delete":return i;default:return Reflect.get(O,p,g)}}})},set(O){r({},{query:O})}}),_=y.computed({get(){return new Proxy(t.state,{set(O,p,g){return r({},{state:{...t.state,[p]:g}}),!0}})},set(O){r({},{state:O})}});return y.reactive({id:a,matched:u,matches:l,hooks:h,state:_,query:R,hash:E,params:d,name:c,href:f,update:r,[dr]:!0,[e]:!0})}function cn(e){return(t,n,{exact:r}={})=>Vs(e,t)?n===void 0?!0:r?t.matched.name===n:t.matches.map(o=>o.name).includes(n):!1}function gt(e){const t=Qe(e),n=cn(e);return(r,o)=>{const s=t();function i(){if(!r)return;if(!n(s.route,r,o))throw new xn(r,s.route.name)}return y.watch(s.route,i,{immediate:!0,deep:!0}),s.route}}function un(e){const t=gt(e),n=Qe(e),r=Ls(e),o=ir(e),s=Us(e);return y.defineComponent((i,a)=>{const u=t(),l=n(),h=r(),c=o({increment:!0});y.onServerPrefetch(async()=>{await l.start()});const{getRouteComponents:E}=s(),f=y.computed(()=>{if(!l.started.value)return null;if(h.value)return h.value.component;const d=u.matches.at(c);if(!d)return null;const R=E(d),_=i.name??"default";return R[_]});return()=>a.slots.default?a.slots.default({route:u,component:f,rejection:h.value}):f.value?y.h(f.value):null},{name:"RouterView",props:["name"]})}const pr=ze();function hr(e){const t=pr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}const xs="lazy",Ms={components:!0,props:!1};function _t(e){return["eager","lazy","intent"].includes(e)}function Er({routerPrefetch:e,routePrefetch:t,linkPrefetch:n},r){const o=fn(n,r),s=fn(t,r),i=fn(e,r),a=[o,s,i,Ms[r],xs].reduce((u,l)=>_t(u)?u:u===!0&&_t(l)?l:u===!0&&!_t(l)?u:u===void 0?l:u,void 0);return _t(a)?a:!1}function fn(e,t){return ve(e)?e[t]:e}const Bs=y.defineAsyncComponent(()=>new Promise(e=>{e({default:{template:"foo"}})}));function gr(e){return e.name===Bs.name&&"__asyncLoader"in e}const _r=Symbol("visibilityObserver");function js(e){const t=y.inject(_r);if(!t)throw new Ee;return y.watch(e,(r,o)=>{r&&t.observe(r),o&&t.unobserve(o)},{immediate:!0}),y.onUnmounted(()=>{e.value&&t.unobserve(e.value)}),{isElementVisible:y.computed(()=>e.value?t.isElementVisible(e.value):!1)}}function mr(e,t,n){y.watch(e,(r,o)=>{r&&r.addEventListener(t,n),o&&o.removeEventListener(t,n)},{immediate:!0}),y.onUnmounted(()=>{e.value&&e.value.removeEventListener(t,n)})}function Hs(e){const t=hr(e);return n=>{const r=new Map,o=y.ref(),{getPrefetchProps:s,setPrefetchProps:i}=t(),{isElementVisible:a}=js(o),u=()=>{const c=Array.from(r.values()).reduce((E,f)=>(Object.assign(E,f),E),{});i(c)};y.watch(()=>y.toValue(n),({route:c,...E})=>{r.clear(),c&&h("eager",c,E)},{immediate:!0}),y.watch(a,c=>{const{route:E,...f}=y.toValue(n);!E||!c||h("lazy",E,f)},{immediate:!0}),mr(o,"focusin",l),mr(o,"mouseover",l);function l(){const{route:c,...E}=y.toValue(n);c&&h("intent",c,E)}function h(c,E,f){Zs(c,E,f),r.has(c)||r.set(c,s(c,E,f))}return{element:o,commit:u}}}function Zs(e,t,n){t.matches.forEach(r=>{Er({...n,routePrefetch:r.prefetch},"components")===e&&(Dt(r)&&gr(r.component)&&r.component.__asyncLoader(),Mt(r)&&Object.values(r.components).forEach(s=>{gr(s)&&s.__asyncLoader()}))})}function yr(e){const t=Qe(e),n=Hs(e),r=cn(e);return(o,s={},i={})=>{const a=t(),u=y.computed(()=>{const g=y.toValue(o);return typeof g!="string"?g:te(g)?a.find(g,y.toValue(i)):a.resolve(g,y.toValue(s),y.toValue(i))}),l=y.computed(()=>{if(u.value)return u.value.href;const g=y.toValue(o);if(te(g))return g;console.error(new Error("Failed to resolve route in RouterLink."))}),h=y.computed(()=>r(a.route)&&a.route.matches.some(g=>g.id===u.value?.id)),c=y.computed(()=>a.route.id===u.value?.id),E=y.computed(()=>r(a.route)&&Bo(u.value)&&a.route.href.startsWith(u.value.href)),f=y.computed(()=>a.route.href===u.value?.href),d=y.computed(()=>!!l.value&&a.isExternal(l.value)),R=y.computed(()=>{const g=y.toValue(o);return typeof g!="string"||te(g)?y.toValue(s):y.toValue(i)}),{element:_,commit:m}=n(()=>({route:u.value,routerPrefetch:a.prefetch,linkPrefetch:R.value.prefetch})),O=g=>{m();const I={replace:g?.replace??R.value.replace,query:Xn(R.value.query,g?.query),hash:g?.hash??R.value.hash,state:{...R.value.state,...g?.state}},A=y.toValue(o);return te(A)||typeof A=="object"?a.push(A,I):a.push(A,y.toValue(s),I)};return{element:_,route:u,href:l,isMatch:h,isExactMatch:c,isActive:E,isExactActive:f,isExternal:d,push:O,replace:g=>O({...g,replace:!0})}}}function Rr(e){const t=Qe(e),n=yr(e);return y.defineComponent((r,o)=>{const s=t(),i=y.computed(()=>m(r.to)),a=y.computed(()=>O(r.to)),u=y.computed(()=>{const{to:g,...I}=r;return I}),{element:l,isMatch:h,isExactMatch:c,isActive:E,isExactActive:f,isExternal:d,push:R}=n(()=>typeof r.to=="function"?r.to(s.resolve):r.to,u),_=y.computed(()=>({"router-link--match":h.value,"router-link--exact-match":c.value,"router-link--active":E.value,"router-link--exact-active":f.value}));function m(g){if(typeof g=="function"){const I=g(s.resolve);return m(I)}return te(g)?s.find(g):g}function O(g){if(typeof g=="function"){const I=g(s.resolve);return O(I)}return te(g)?g:g?.href}function p(g){g.preventDefault(),R()}return()=>y.h("a",{href:a.value,class:["router-link",_.value],ref:l,onClick:p},o.slots.default?.({route:i.value,isMatch:h.value,isExactMatch:c.value,isActive:E.value,isExactActive:f.value,isExternal:d.value}))},{name:"RouterLink",props:["to","prefetch","query","hash","replace","state"]})}function $s(e){const t=gt(e);return(n,r=String)=>{const o=t(),s=y.computed({get(){const a=o.query.get(y.toValue(n));return a===null?null:Qt(a,r)},set(a){o.query.set(y.toValue(n),ce(a,r))}}),i=y.computed({get(){return o.query.getAll(y.toValue(n)).map(u=>Qt(u,r)).filter(u=>u!==null)},set(a){const u=new URLSearchParams(o.query);u.delete(y.toValue(n)),a.forEach(l=>{u.append(y.toValue(n),ce(l,r))}),o.query=u}});return{value:s,values:i,remove:()=>{o.query.delete(y.toValue(n))}}}}function Sr(e){const t=typeof e=="object"?e.key:e,{onBeforeRouteLeave:n,onBeforeRouteUpdate:r,onAfterRouteLeave:o,onAfterRouteUpdate:s}=Cs(t),i=cn(t),a=un(t),u=Rr(t),l=gt(t),h=Qe(t),c=$s(t),E=yr(t);return{onBeforeRouteLeave:n,onBeforeRouteUpdate:r,onAfterRouteLeave:o,onAfterRouteUpdate:s,isRoute:i,RouterView:a,RouterLink:u,useRoute:l,useRouter:h,useQueryValue:c,useLink:E}}function Gs(e){const{store:t,...n}=at();return{routes:e.routes??[],rejections:e.rejections??[],hooks:t,...n}}function Or(e){return{get:(t,{invalid:n})=>{for(const r of e){const o=Qt(t,r);if(o!==void 0)return o}throw n(`Value "${t}" does not satisfy any of the possible values`)},set:(t,{invalid:n})=>{for(const r of e){const o=Wo(t,r);if(o!==void 0)return o}throw n(`Value "${t}" does not satisfy any of the possible values`)}}}const qs={separator:","};function Fs(e,t={}){const{separator:n}={...qs,...t},r=Or(e);return{get:(o,s)=>o.split(n).map(i=>r.get(i,s)),set:(o,s)=>{if(!Array.isArray(o))throw s.invalid("Expected an array");return o.map(i=>r.set(i,s)).join(n)}}}const zs={separator:","};function Ws(e,t={}){const{separator:n}={...zs,...t};return{get:r=>{const o=r.split(n);return e.map((s,i)=>me(o.at(i),s))},set:(r,{invalid:o})=>{if(!Array.isArray(r))throw o("Expected a tuple");if(r.length!==e.length)throw o(`Expected tuple with ${e.length} values but received ${r.length} values`);return e.map((s,i)=>ce(r.at(i),s)).join(n)}}}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(null,arguments)}var J;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(J||(J={}));var Le=process.env.NODE_ENV!=="production"?function(e){return Object.freeze(e)}:function(e){return e};function Oe(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}var mt="beforeunload",Js="hashchange",wr="popstate";function Tr(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function s(){var P=r.location,S=P.pathname,N=P.search,C=P.hash,U=o.state||{};return[U.idx,Le({pathname:S,search:N,hash:C,state:U.usr||null,key:U.key||"default"})]}var i=null;function a(){if(i)f.call(i),i=null;else{var P=J.Pop,S=s(),N=S[0],C=S[1];if(f.length)if(N!=null){var U=h-N;U&&(i={action:P,location:C,retry:function(){I(U*-1)}},I(U))}else process.env.NODE_ENV!=="production"&&Oe(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else O(P)}}r.addEventListener(wr,a);var u=J.Pop,l=s(),h=l[0],c=l[1],E=Ve(),f=Ve();h==null&&(h=0,o.replaceState(de({},o.state,{idx:h}),""));function d(P){return typeof P=="string"?P:we(P)}function R(P,S){return S===void 0&&(S=null),Le(de({pathname:c.pathname,hash:"",search:""},typeof P=="string"?Xe(P):P,{state:S,key:Rt()}))}function _(P,S){return[{usr:P.state,key:P.key,idx:S},d(P)]}function m(P,S,N){return!f.length||(f.call({action:P,location:S,retry:N}),!1)}function O(P){u=P;var S=s();h=S[0],c=S[1],E.call({action:u,location:c})}function p(P,S){var N=J.Push,C=R(P,S);function U(){p(P,S)}if(m(N,C,U)){var B=_(C,h+1),M=B[0],j=B[1];try{o.pushState(M,"",j)}catch{r.location.assign(j)}O(N)}}function g(P,S){var N=J.Replace,C=R(P,S);function U(){g(P,S)}if(m(N,C,U)){var B=_(C,h),M=B[0],j=B[1];o.replaceState(M,"",j),O(N)}}function I(P){o.go(P)}var A={get action(){return u},get location(){return c},createHref:d,push:p,replace:g,go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(S){return E.push(S)},block:function(S){var N=f.push(S);return f.length===1&&r.addEventListener(mt,yt),function(){N(),f.length||r.removeEventListener(mt,yt)}}};return A}function Ks(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function s(){var S=Xe(r.location.hash.substr(1)),N=S.pathname,C=N===void 0?"/":N,U=S.search,B=U===void 0?"":U,M=S.hash,j=M===void 0?"":M,G=o.state||{};return[G.idx,Le({pathname:C,search:B,hash:j,state:G.usr||null,key:G.key||"default"})]}var i=null;function a(){if(i)f.call(i),i=null;else{var S=J.Pop,N=s(),C=N[0],U=N[1];if(f.length)if(C!=null){var B=h-C;B&&(i={action:S,location:U,retry:function(){A(B*-1)}},A(B))}else process.env.NODE_ENV!=="production"&&Oe(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else p(S)}}r.addEventListener(wr,a),r.addEventListener(Js,function(){var S=s(),N=S[1];we(N)!==we(c)&&a()});var u=J.Pop,l=s(),h=l[0],c=l[1],E=Ve(),f=Ve();h==null&&(h=0,o.replaceState(de({},o.state,{idx:h}),""));function d(){var S=document.querySelector("base"),N="";if(S&&S.getAttribute("href")){var C=r.location.href,U=C.indexOf("#");N=U===-1?C:C.slice(0,U)}return N}function R(S){return d()+"#"+(typeof S=="string"?S:we(S))}function _(S,N){return N===void 0&&(N=null),Le(de({pathname:c.pathname,hash:"",search:""},typeof S=="string"?Xe(S):S,{state:N,key:Rt()}))}function m(S,N){return[{usr:S.state,key:S.key,idx:N},R(S)]}function O(S,N,C){return!f.length||(f.call({action:S,location:N,retry:C}),!1)}function p(S){u=S;var N=s();h=N[0],c=N[1],E.call({action:u,location:c})}function g(S,N){var C=J.Push,U=_(S,N);function B(){g(S,N)}if(process.env.NODE_ENV!=="production"&&Oe(U.pathname.charAt(0)==="/","Relative pathnames are not supported in hash history.push("+JSON.stringify(S)+")"),O(C,U,B)){var M=m(U,h+1),j=M[0],G=M[1];try{o.pushState(j,"",G)}catch{r.location.assign(G)}p(C)}}function I(S,N){var C=J.Replace,U=_(S,N);function B(){I(S,N)}if(process.env.NODE_ENV!=="production"&&Oe(U.pathname.charAt(0)==="/","Relative pathnames are not supported in hash history.replace("+JSON.stringify(S)+")"),O(C,U,B)){var M=m(U,h),j=M[0],G=M[1];o.replaceState(j,"",G),p(C)}}function A(S){o.go(S)}var P={get action(){return u},get location(){return c},createHref:R,push:g,replace:I,go:A,back:function(){A(-1)},forward:function(){A(1)},listen:function(N){return E.push(N)},block:function(N){var C=f.push(N);return f.length===1&&r.addEventListener(mt,yt),function(){C(),f.length||r.removeEventListener(mt,yt)}}};return P}function Pr(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,o=t.initialIndex,s=r.map(function(p){var g=Le(de({pathname:"/",search:"",hash:"",state:null,key:Rt()},typeof p=="string"?Xe(p):p));return process.env.NODE_ENV!=="production"&&Oe(g.pathname.charAt(0)==="/","Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: "+JSON.stringify(p)+")"),g}),i=Nr(o??s.length-1,0,s.length-1),a=J.Pop,u=s[i],l=Ve(),h=Ve();function c(p){return typeof p=="string"?p:we(p)}function E(p,g){return g===void 0&&(g=null),Le(de({pathname:u.pathname,search:"",hash:""},typeof p=="string"?Xe(p):p,{state:g,key:Rt()}))}function f(p,g,I){return!h.length||(h.call({action:p,location:g,retry:I}),!1)}function d(p,g){a=p,u=g,l.call({action:a,location:u})}function R(p,g){var I=J.Push,A=E(p,g);function P(){R(p,g)}process.env.NODE_ENV!=="production"&&Oe(u.pathname.charAt(0)==="/","Relative pathnames are not supported in memory history.push("+JSON.stringify(p)+")"),f(I,A,P)&&(i+=1,s.splice(i,s.length,A),d(I,A))}function _(p,g){var I=J.Replace,A=E(p,g);function P(){_(p,g)}process.env.NODE_ENV!=="production"&&Oe(u.pathname.charAt(0)==="/","Relative pathnames are not supported in memory history.replace("+JSON.stringify(p)+")"),f(I,A,P)&&(s[i]=A,d(I,A))}function m(p){var g=Nr(i+p,0,s.length-1),I=J.Pop,A=s[g];function P(){m(p)}f(I,A,P)&&(i=g,d(I,A))}var O={get index(){return i},get action(){return a},get location(){return u},createHref:c,push:R,replace:_,go:m,back:function(){m(-1)},forward:function(){m(1)},listen:function(g){return l.push(g)},block:function(g){return h.push(g)}};return O}function Nr(e,t,n){return Math.min(Math.max(e,t),n)}function yt(e){e.preventDefault(),e.returnValue=""}function Ve(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function Rt(){return Math.random().toString(36).substr(2,8)}function we(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,o=r===void 0?"":r,s=e.hash,i=s===void 0?"":s;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Xe(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ys(e,t,n){const r=y.reactive({...t}),o=a=>{Object.assign(r,{...a})},s=r,i=Ds(e,s,n);return{currentRoute:s,routerRoute:i,updateRoute:o}}function Qs(e){return t=>{const{host:n}=ue(t);return!(n===void 0||n===e)}}function br(e){try{const t=e();return zt(t)?t.catch(n=>n):t}catch(t){return t}}function Xs(){const{setVueApp:e,runWithContext:t}=cr(),n=y.reactive(new Map),r=(E,f,d)=>{const{push:R,replace:_,reject:m,update:O}=Ye({to:f});return f.matches.filter(p=>Er({...d,routePrefetch:p.prefetch},"props")===E).flatMap(p=>h(p)).reduce((p,{id:g,name:I,props:A})=>{if(!A)return p;const P=l(g,I,f),S=t(()=>br(()=>A(f,{push:R,replace:_,reject:m,update:O,parent:a(f,!0)})));return p[P]=S,p},{})},o=E=>{Object.entries(E).forEach(([f,d])=>{n.set(f,d)})},s=async E=>{const{push:f,replace:d,reject:R,update:_}=Ye({to:E}),m=E.matches.flatMap(h),O=[],p=[];for(const{id:g,name:I,props:A}of m){if(!A)continue;const P=l(g,I,E);if(O.push(P),!n.has(P)){const S=t(()=>br(()=>A(E,{push:f,replace:d,reject:R,update:_,parent:a(E)})));n.set(P,S)}p.push((async()=>{const S=await n.get(P);if(S instanceof Error)throw S})())}c(O);try{return await Promise.all(p),{status:"SUCCESS"}}catch(g){if(g instanceof fe||g instanceof Se)return g.response;throw g}},i=(E,f,d)=>{const R=l(E,f,d);return n.get(R)};function a(E,f=!1){const d=E.matches.at(-2);if(d)return xt(d)?{name:d.name??"",get props(){return u(d,"default",E,f)}}:Bt(d)?{name:d.name??"",props:new Proxy({},{get(R,_){return typeof _!="string"?Reflect.get(R,_):u(d,_,E,f)}})}:{name:d.name??"",props:void 0}}function u(E,f,d,R=!1){const _=i(E.id,f,d);if(R&&!_){const m=E.name??"unknown",O=d.name||"unknown";console.warn(`
|
|
1
|
+
(function(v,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],y):(v=typeof globalThis<"u"?globalThis:v||self,y(v["@kitbag/router"]={},v.Vue))})(this,(function(v,y){"use strict";class Ln extends Error{constructor(t){super(`Child property on meta for ${t} conflicts with the parent meta.`)}}function Ao(e,t){return vo(e,t),{...e,...t}}function vo(e,t){const n=Object.keys(e).find(r=>r in t&&typeof t[r]!=typeof e[r]);if(n)throw new Ln(n)}class Vn extends Error{constructor(t){super(`Invalid Param "${t}": Router does not support multiple params by the same name. All param names must be unique.`)}}function ko(e,t){return e.filter(n=>t===n).length}function $e(...e){const t=e.flatMap(n=>Array.isArray(n)?n:Object.keys(n));for(const n of t)if(ko(t,n)>1)throw new Vn(n)}function Co(e,t){return $e(e,t),{...e,...t}}function Vt(e){return"parent"in e&&!!e.parent}function Dt(e){return"component"in e&&!!e.component}function xt(e){return"props"in e&&typeof e.props=="function"}function Mt(e){return"components"in e&&!!e.components}function Bt(e){return"props"in e&&typeof e.props=="object"}function jt(e,t){return{...t,meta:Ao(e.meta,t.meta),state:Co(e.state,t.state),hooks:[...e.hooks,...t.hooks],matches:[...e.matches,t.matched],context:[...e.context,...t.context],depth:e.depth+1}}function te(e){return typeof e!="string"?!1:/^(https?:\/\/|\/).*/g.test(e)}function Dn(e){return te(e)?e:`/${e}`}const Ht=Symbol("IS_URL_SYMBOL");function le(e){return typeof e=="object"&&e!==null&&Ht in e}class Ee extends Error{constructor(){super("Router not installed")}}class xn extends Error{constructor(t,n){super(`useRoute called with incorrect route. Given ${t}, expected ${n}`)}}function it(){let e=0;return()=>(++e).toString()}const Uo=it()();function Lo(e){return e===Uo}const Zt=it();function Mn(e){return e===void 0?"":e}class ge{redirects=new Set;onBeforeRouteEnter=new Set;onBeforeRouteUpdate=new Set;onBeforeRouteLeave=new Set;onAfterRouteEnter=new Set;onAfterRouteUpdate=new Set;onAfterRouteLeave=new Set;onError=new Set}class Vo extends Error{constructor(t){super(`Invalid Route Redirect "${t}": Router does not support multiple redirects to the same route. All redirects must be unique.`)}}function at(){const e=new ge;return{redirect:(l,h)=>{if(e.redirects.size>0)throw new Vo(l.name);const c=(E,{replace:f})=>{f(l.name,h?.(E.params))};return e.redirects.add(c),()=>e.redirects.delete(c)},onBeforeRouteEnter:l=>(e.onBeforeRouteEnter.add(l),()=>e.onBeforeRouteEnter.delete(l)),onBeforeRouteUpdate:l=>(e.onBeforeRouteUpdate.add(l),()=>e.onBeforeRouteUpdate.delete(l)),onBeforeRouteLeave:l=>(e.onBeforeRouteLeave.add(l),()=>e.onBeforeRouteLeave.delete(l)),onAfterRouteEnter:l=>(e.onAfterRouteEnter.add(l),()=>e.onAfterRouteEnter.delete(l)),onAfterRouteUpdate:l=>(e.onAfterRouteUpdate.add(l),()=>e.onAfterRouteUpdate.delete(l)),onAfterRouteLeave:l=>(e.onAfterRouteLeave.add(l),()=>e.onAfterRouteLeave.delete(l)),onError:l=>(e.onError.add(l),()=>e.onError.delete(l)),store:e}}class $t extends Error{context;constructor(t={}){super(t.message??"Uncaught InvalidRouteParamValueError"),this.context={isOptional:!1,isGetter:!1,isSetter:!1,...t}}}const _e="[",Ae="]";function Do(e){return e!==String&&e!==Boolean&&e!==Number&&e!==Date}function xo(e){return typeof e=="function"&&Do(e)}function ct(e){return typeof e=="object"&&"get"in e&&typeof e.get=="function"&&"set"in e&&typeof e.set=="function"}function Bn(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function jn(e,t){return ct(e)?{...e,defaultValue:t??e.defaultValue}:{get:n=>me(n,e),set:n=>ce(n,e),defaultValue:t}}function Mo(e){return ct(e)&&e.defaultValue!==void 0}function Bo(e,t){return jn(e,t)}function jo(e){return e!==void 0}function ve(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function se(e){return typeof e=="string"&&e.length>0}let T=null;async function Ho(){const{ZodType:e,ZodString:t,ZodIPv4:n,ZodIPv6:r,ZodCIDRv4:o,ZodCIDRv6:s,ZodURL:i,ZodEmail:a,ZodUUID:u,ZodBase64:l,ZodCUID:h,ZodCUID2:c,ZodULID:E,ZodJWT:f,ZodBigInt:d,ZodNaN:R,ZodBoolean:_,ZodDate:m,ZodISODateTime:O,ZodISODate:p,ZodISOTime:g,ZodNumber:I,ZodLiteral:A,ZodObject:P,ZodEnum:S,ZodArray:N,ZodTuple:C,ZodUnion:U,ZodDiscriminatedUnion:B,ZodRecord:M,ZodMap:j,ZodSet:G,ZodIntersection:q,ZodPromise:k}=await import("zod");return{ZodType:e,ZodString:t,ZodIPv4:n,ZodIPv6:r,ZodCIDRv4:o,ZodCIDRv6:s,ZodURL:i,ZodEmail:a,ZodUUID:u,ZodBase64:l,ZodCUID:h,ZodCUID2:c,ZodULID:E,ZodJWT:f,ZodBigInt:d,ZodNaN:R,ZodBoolean:_,ZodDate:m,ZodISODateTime:O,ZodISODate:p,ZodISOTime:g,ZodNumber:I,ZodLiteral:A,ZodObject:P,ZodEnum:S,ZodArray:N,ZodTuple:C,ZodUnion:U,ZodDiscriminatedUnion:B,ZodRecord:M,ZodMap:j,ZodSet:G,ZodIntersection:q,ZodPromise:k}}function Zo(e){return Object.values(e).some(t=>le(t)?Object.values(t.schema.host.params).some(n=>Gt(n))||Object.values(t.schema.path.params).some(n=>Gt(n))||Object.values(t.schema.query.params).some(n=>Gt(n)):!1)}function Gt(e){return ve(e)&&"parse"in e&&typeof e.parse=="function"&&"~standard"in e&&ve(e["~standard"])&&"vendor"in e["~standard"]&&e["~standard"].vendor==="zod"}async function $o(){try{T=await Ho()}catch{throw new Error("Failed to initialize Zod")}}function Hn(e){return T?e instanceof T.ZodType:!1}function Zn(e){return{get:(t,{invalid:n})=>{try{return qt(t,e)}catch{throw n()}},set:(t,{invalid:n})=>{try{return Ft(t,e)}catch{throw n()}}}}const Go=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;function ke(e,t){if(typeof t=="string"&&Go.test(t)){const n=new Date(t);return isNaN(n.getTime())?t:n}return t}function Ge(e){for(const t of e)try{return t()}catch{continue}throw new Error("All functions failed")}function ut(e,t){return T?.ZodString&&e instanceof T.ZodString?1:T?.ZodString&&t instanceof T.ZodString?-1:0}function qt(e,t){if(!T)throw new Error("Zod is not initialized");if(t instanceof T.ZodString)return t.parse(e);if(t instanceof T.ZodBoolean)return t.parse(!!e);if(t instanceof T.ZodDate)return t.parse(new Date(e));if(t instanceof T.ZodNumber)return t.parse(Number(e));if(t instanceof T.ZodBigInt)return t.parse(BigInt(e));if(t instanceof T.ZodNaN)return t.parse(Number(e));if(t instanceof T.ZodLiteral)return Ge([()=>t.parse(Number(e)),()=>t.parse(!!e),()=>t.parse(e)]);if(t instanceof T.ZodObject)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodEnum)return t.parse(e);if(t instanceof T.ZodArray||t instanceof T.ZodTuple)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodUnion){const n=Array.from(t.def.options).sort(ut).map(r=>()=>qt(e,r));return Ge(n)}if(t instanceof T.ZodDiscriminatedUnion){const n=Array.from(t.options).sort(ut).map(r=>()=>qt(e,r));return Ge(n)}if(t instanceof T.ZodRecord)return t.parse(JSON.parse(e,ke));if(t instanceof T.ZodMap)return t.parse(new Map(JSON.parse(e,ke)));if(t instanceof T.ZodSet)return t.parse(new Set(JSON.parse(e,ke)));if(t instanceof T.ZodIntersection)throw new Error("Intersection schemas are not supported");if(t instanceof T.ZodPromise)throw new Error("Promise schemas are not supported");return t.parse(e)}function Ft(e,t){if(!T)throw new Error("Zod is not initialized");if(t instanceof T.ZodString||t instanceof T.ZodISODateTime||t instanceof T.ZodISODate||t instanceof T.ZodISOTime||t instanceof T.ZodIPv4||t instanceof T.ZodIPv6||t instanceof T.ZodCIDRv4||t instanceof T.ZodCIDRv6||t instanceof T.ZodURL||t instanceof T.ZodEmail||t instanceof T.ZodUUID||t instanceof T.ZodBase64||t instanceof T.ZodCUID||t instanceof T.ZodCUID2||t instanceof T.ZodULID||t instanceof T.ZodJWT)return t.parse(e);if(t instanceof T.ZodBoolean)return t.parse(e).toString();if(t instanceof T.ZodDate)return t.parse(e).toISOString();if(t instanceof T.ZodNumber)return t.parse(Number(e)).toString();if(t instanceof T.ZodBigInt)return t.parse(BigInt(String(e))).toString();if(t instanceof T.ZodNaN)return t.parse(e).toString();if(t instanceof T.ZodLiteral){const n=t.parse(e);return n!=null?n.toString():String(n)}if(t instanceof T.ZodObject)return JSON.stringify(t.parse(e));if(t instanceof T.ZodEnum){const n=t.parse(e);return typeof n=="string"?n:String(n)}if(t instanceof T.ZodArray||t instanceof T.ZodTuple)return JSON.stringify(t.parse(e));if(t instanceof T.ZodUnion){const n=Array.from(t.def.options).sort(ut).map(r=>()=>Ft(e,r));return Ge(n)}if(t instanceof T.ZodDiscriminatedUnion){const n=Array.from(t.options).sort(ut).map(r=>()=>Ft(e,r));return Ge(n)}if(t instanceof T.ZodRecord)return JSON.stringify(t.parse(e));if(t instanceof T.ZodMap){const n=t.parse(e);return JSON.stringify(Array.from(n.entries()))}if(t instanceof T.ZodSet){const n=t.parse(e);return JSON.stringify(Array.from(n.values()))}if(t instanceof T.ZodIntersection)throw new Error("Intersection schemas are not supported");if(t instanceof T.ZodPromise)throw new Error("Promise schemas are not supported");return JSON.stringify(t.parse(e))}function zt(e){return typeof e=="object"&&e!==null&&"then"in e}function L(e,t){const n=e["~standard"].validate(t);if(zt(n))throw new Error("Promise schemas are not supported");if(n.issues)throw new Error("Validation failed");return n.value}function qo(e){return ve(e)&&"type"in e&&typeof e.type=="string"&&"~standard"in e&&ve(e["~standard"])&&"vendor"in e["~standard"]&&e["~standard"].vendor==="valibot"}function $n(e){return qo(e)}function Gn(e){return{get:(t,{invalid:n})=>{try{return Wt(t,e)}catch{throw n()}},set:(t,{invalid:n})=>{try{return Jt(t,e)}catch{throw n()}}}}const Fo=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;function Ce(e,t){if(typeof t=="string"&&Fo.test(t)){const n=new Date(t);return isNaN(n.getTime())?t:n}return t}function Ue(e){for(const t of e)try{return t()}catch{continue}throw new Error("All functions failed")}function ft(e,t){return e.type==="string"?1:t.type==="string"?-1:0}function Wt(e,t){if(t.type==="boolean")return L(t,!!e);if(t.type==="date")return L(t,new Date(e));if(t.type==="number")return L(t,Number(e));if(t.type==="literal")return Ue([()=>L(t,Number(e)),()=>L(t,!!e),()=>L(t,e)]);if(t.type==="object")return L(t,JSON.parse(e,Ce));if(t.type==="enum")return Ue([()=>L(t,Number(e)),()=>L(t,!!e),()=>L(t,e)]);if(t.type==="array"||t.type==="tuple")return L(t,JSON.parse(e,Ce));if(t.type==="union"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Wt(e,r));return Ue(n)}if(t.type==="variant"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Wt(e,r));return Ue(n)}if(t.type==="record")return L(t,JSON.parse(e,Ce));if(t.type==="map")return L(t,new Map(JSON.parse(e,Ce)));if(t.type==="set")return L(t,new Set(JSON.parse(e,Ce)));if(t.type==="intersection")throw new Error("Intersection schemas are not supported");if(t.type==="promise")throw new Error("Promise schemas are not supported");if(t.type==="function")throw new Error("Function schemas are not supported");return L(t,e)}function Jt(e,t){if(t.type==="string"||t.type==="boolean")return L(t,e).toString();if(t.type==="date")return L(t,e).toISOString();if(t.type==="number")return L(t,Number(e)).toString();if(t.type==="literal")return L(t,e).toString();if(t.type==="object")return JSON.stringify(L(t,e));if(t.type==="enum"||t.type==="nativeEnum")return L(t,e).toString();if(t.type==="array"||t.type==="tuple")return JSON.stringify(L(t,e));if(t.type==="union"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Jt(e,r));return Ue(n)}if(t.type==="variant"&&"options"in t){const n=t.options.sort(ft).map(r=>()=>Jt(e,r));return Ue(n)}if(t.type==="record")return JSON.stringify(L(t,e));if(t.type==="map"){const n=L(t,e);return JSON.stringify(Array.from(n.entries()))}if(t.type==="set"){const n=L(t,e);return JSON.stringify(Array.from(n.values()))}if(t.type==="intersection")throw new Error("Intersection schemas are not supported");if(t.type==="promise")throw new Error("Promise schemas are not supported");if(t.type==="function")throw new Error("Function schemas are not supported");return JSON.stringify(L(t,e))}function zo(e,t){return e[t]??String}function qn(e){return{invalid:t=>{throw new $t({...e,message:t})}}}const Fn={get:e=>e,set:(e,{invalid:t})=>{if(typeof e!="string")throw t(`Expected string value, received ${JSON.stringify(e)}`);return e}},Kt={get:(e,{invalid:t})=>{if(e==="true")return!0;if(e==="false")return!1;throw t(`Expected boolean value, received ${JSON.stringify(e)}`)},set:(e,{invalid:t})=>{if(typeof e!="boolean")throw t(`Expected boolean value, received ${JSON.stringify(e)}`);return e.toString()}},Yt={get:(e,{invalid:t})=>{const n=Number(e);if(isNaN(n))throw t(`Expected number value, received ${JSON.stringify(e)}`);return n},set:(e,{invalid:t})=>{if(typeof e!="number")throw t(`Expected number value, received ${JSON.stringify(e)}`);return e.toString()}},zn={get:(e,{invalid:t})=>{const n=new Date(e);if(isNaN(n.getTime()))throw t(`Expected date value, received ${JSON.stringify(e)}`);return n},set:(e,{invalid:t})=>{if(typeof e!="object"||!(e instanceof Date))throw t(`Expected date value, received ${JSON.stringify(e)}`);return e.toISOString()}},Wn={get:(e,{invalid:t})=>{try{return JSON.parse(e)}catch{throw t(`Expected JSON value, received "${e}"`)}},set:(e,{invalid:t})=>{try{return JSON.stringify(e)}catch{throw t(`Expected JSON value, received "${e}"`)}}};function Wo(e,t,n){switch(typeof t){case"string":return Fn.get(e,n)===t;case"number":return Yt.get(e,n)===t;case"boolean":return Kt.get(e,n)===t;default:return!1}}function me(e,t,n=!1){const r=qn({param:t,value:e,isGetter:!0});if(e===void 0||!se(e)){if(Mo(t))return t.defaultValue;if(n)return;throw r.invalid(`Param is not optional, received ${JSON.stringify(e)}`)}if(t===String)return Fn.get(e,r);if(t===Boolean)return Kt.get(e,r);if(t===Number)return Yt.get(e,r);if(t===Date)return zn.get(e,r);if(t===JSON)return Wn.get(e,r);if(xo(t))return t(e,r);if(ct(t))return t.get(e,r);if(t instanceof RegExp){if(t.test(e))return e;throw r.invalid(`Expected value to match regex ${t.toString()}, received ${JSON.stringify(e)}`)}if(Bn(t)){if(Wo(e,t,r))return t;throw r.invalid(`Expected value to be ${t}, received ${JSON.stringify(e)}`)}return Hn(t)?Zn(t).get(e,r):$n(t)?Gn(t).get(e,r):e}function Qt(e,t,n=!1){try{return me(e,t,n)}catch(r){if(r instanceof $t)return;throw r}}function Jo(e,t,n=!1){try{return ce(e,t,n)}catch(r){if(r instanceof $t)return;throw r}}function ce(e,t,n=!1){const r=qn({param:t,value:e,isSetter:!0});if(e===void 0){if(n)return"";throw r.invalid(`Param is not optional, received ${JSON.stringify(e)}`)}if(t===Boolean)return Kt.set(e,r);if(t===Number)return Yt.set(e,r);if(t===Date)return zn.set(e,r);if(t===JSON)return Wn.set(e,r);if(ct(t))return t.set(e,r);if(Bn(t)){if(t!==e)throw r.invalid(`Expected value to be literal ${t}, received ${JSON.stringify(e)}`);return e.toString()}if(Hn(t))return Zn(t).set(e,r);if($n(t))return Gn(t).set(e,r);try{return e.toString()}catch{throw r.invalid(`Unable to set param value, received ${JSON.stringify(e)}`)}}const lt=`\\${_e}\\??([\\w-_]+)\\*?\\${Ae}`,Ko=`\\${_e}\\?([\\w-_]+)\\*?\\${Ae}`,Yo=`\\${_e}\\??([\\w-_]+)\\*\\${Ae}`,Qo="[^/]*",Xo=".*",es="([^/]*)",ts="(.*)";function Xt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ns(e,t){const n=Array.from(e.matchAll(t));if(n.length===0)return[e];let r=0;const o=n.reduce((i,a)=>{const u=Xt(e.slice(r,a.index));u.length&&i.push(u);const[l]=a;return i.push(l),r=a.index+l.length,i},[]),s=e.slice(r);return s&&o.push(s),o}function rs(e){const t=dt(e);return new RegExp(`^${t||".*"}$`,"i")}function os(e){const t=dt(e);return new RegExp(`^${t}$`,"i")}function ss(e){const t=e.replace(/^#*/,""),n=dt(t);return new RegExp(`^#?${n||".*"}$`,"i")}function is(e){const t=new URLSearchParams(e);return Array.from(t.entries()).filter(([,n])=>!en(n)).map(([n,r])=>{const o=dt(r);return new RegExp(`${Xt(n)}=${o}(&|$)`,"i")})}function dt(e){return ns(e,new RegExp(lt,"g")).map(t=>t.startsWith(_e)?Jn(t):Xt(t)).join("")}function Jn(e){return e.replace(new RegExp(lt,"g"),t=>us(t)?Xo:Qo)}function as(e,t){const n=Yn(t),r=cs(e,t)?ts:es;return e.replace(n,r)}function Kn(e,t){return fs(t).test(e)}function cs(e,t){return ls(t).test(e)}function en(e){return new RegExp(Ko,"g").test(e)}function us(e){return new RegExp(Yo,"g").test(e)}function tn(e){const[t]=Qn(e,new RegExp(lt,"g"));return t}function Yn(e){return new RegExp(`\\${_e}\\??${e}\\*?\\${Ae}`,"g")}function fs(e){return new RegExp(`\\${_e}\\?${e}\\*?\\${Ae}`,"g")}function ls(e){return new RegExp(`\\${_e}\\??${e}\\*\\${Ae}`,"g")}function Qn(e,t){return Array.from(e.matchAll(t)).flatMap(([,...r])=>r.map(o=>se(o)?o:""))}function ds(e="",t={}){return se(e)?Array.from(e.matchAll(new RegExp(lt,"g"))).reduce((r,[o,s])=>{const i=tn(o);if(!i)return r;const a=zo(t,i);return $e([i],r),r[s]=a,r},{}):{}}function ps(e){return ve(e)&&typeof e.value=="string"}function W(e){return e===void 0?qe():ps(e)?e:qe(e,{})}function qe(e,t){return{value:e??"",params:ds(e,t)}}function hs(e,t,n){const r=as(t.value,n),o=Jn(r),[s]=Qn(e,new RegExp(o,"g"));return s}function Es(e,t,n,r){const o=Kn(t.value,n),s=ce(r,t.params[n],o);return e.replace(Yn(n),s)}function Xn(...e){const t=new URLSearchParams;for(const n of e){const r=new URLSearchParams(n);for(const[o,s]of r.entries())t.append(o,s)}return t}const pt="https://internal.invalid";function nn(e){const t=new URL(e.host??pt,pt);return t.pathname=e.path??"",t.search=new URLSearchParams(e.query).toString(),t.hash=e.hash??"",Dn(t.toString().replace(new RegExp(`^${pt}/*`),"/"))}function ue(e){return!e.startsWith("http")?_s(e):gs(e)}function Fe(e,t){if(typeof e=="string"){const r=Fe(ue(e),t);return nn(r)}const n=new URLSearchParams(t.query);return{host:se(t.host)?t.host:e.host,path:se(t.path)?t.path:e.path??"",query:Xn(n,e.query),hash:se(t.hash)?t.hash:e.hash??""}}function gs(e){const{protocol:t,host:n,pathname:r,searchParams:o,hash:s}=new URL(e,e);return{host:`${t}//${n}`,path:r,query:o,hash:s}}function _s(e){const{pathname:t,searchParams:n,hash:r}=new URL(e,pt);return{path:t,query:n,hash:r}}function ye(e){const t={host:W(e.host),path:W(e.path),query:ys(W(e.query)),hash:ms(W(e.hash))};$e(t.path.params,t.query.params,t.host.params,t.hash.params);const n={...t.host,regexp:rs(t.host.value),stringify(h={}){return rn(t.host,h)}},r={...t.path,regexp:os(t.path.value),stringify(h={}){return rn(t.path,h)}},o={...t.query,regexp:is(t.query.value),stringify(h={}){return Rs(t.query,h).toString()}},s={...t.hash,regexp:ss(t.hash.value),stringify(h={}){return rn(t.hash,h)}};function i(h={}){return nn({host:n.stringify(h),path:r.stringify(h),query:o.stringify(h),hash:s.stringify(h)})}function a(h){const c=ue(h);return{...on(n,c.host??""),...on(r,c.path),...Ss(o,c.query.toString()),...on(s,c.hash)}}function u(h){const c=ue(h);if(!n.regexp.test(c.host??""))return{success:!1,params:{},error:new Error("Host does not match")};if(!r.regexp.test(c.path))return{success:!1,params:{},error:new Error("Path does not match")};const E=c.query.toString();if(!o.regexp.every(f=>f.test(E)))return{success:!1,params:{},error:new Error("Query does not match")};if(!s.regexp.test(c.hash))return{success:!1,params:{},error:new Error("Hash does not match")};try{return{success:!0,params:a(h)}}catch(f){return{success:!1,params:{},error:new Error("Failed to parse url",{cause:f})}}}return{...{schema:{host:n,path:r,query:o,hash:s},params:{},[Ht]:!0},isRelative:!se(t.host.value),stringify:i,parse:a,tryParse:u}}function ms(e){return{...e,value:e.value.replace(/^#/,"")}}function ys(e){return{...e,value:e.value.replace(/^\?/,"")}}function rn(e,t){return Object.keys(e.params).reduce((n,r)=>Es(n,e,r,t[r]),e.value)}function Rs(e,t){const n=new URLSearchParams(e.value);if(!e.value)return n;for(const[r,o]of Array.from(n.entries())){const s=tn(o);if(!s)continue;const a=en(o),u=ce(t[s],e.params[s],a),l=t[s]===void 0&&u==="";a&&l?n.delete(r,o):n.set(r,u)}return n}function on(e,t){const n={},r=decodeURIComponent(t);for(const[o,s]of Object.entries(e.params)){const i=hs(r,e,o),a=Kn(e.value,o),u=me(i,s,a);n[o]=u}return n}function Ss(e,t){const n={},r=new URLSearchParams(e.value),o=new URLSearchParams(t);for(const[s,i]of Array.from(r.entries())){const a=tn(i);if(!a)continue;const l=en(i),h=o.get(s)??void 0,c=me(h,e.params[a],l);n[a]=c}return n}class er extends Error{constructor(t){super(`Invalid Route Redirect "${t}": Route does not support redirects. Use createRouteRedirects to create redirects.`)}}function tr(e){return"redirect"in e}function nr({getRoute:e}){return{redirectTo:(...[r,o])=>{const s=e();if(!tr(s))throw new er(s.name);r.context.push(s),s.context.push(r),s.redirect(r,o)},redirectFrom:(r,o)=>{const s=e();if(!tr(r))throw new er(r.name);s.context.push(r),r.context.push(s),r.redirect(s,o)}}}function sn(e,t){$e(e.params,t.params);const n=`${e.value}${t.value}`;return qe(n,{...e.params,...t.params})}function rr(e,t){$e(e.params,t.params);const n=[e.value,t.value].filter(se).join("&");return qe(n,{...e.params,...t.params})}function or(e,t){return sn(e,t)}function an(e,t){if(!le(e))throw new Error("Parent is not a valid url");if(!Os(t))return ye({host:e.schema.host,path:sn(e.schema.path,W(t.path)),query:rr(e.schema.query,W(t.query)),hash:or(e.schema.hash,W(t.hash))});if(!le(t))throw new Error("Child is not a valid url");return ye({host:e.schema.host,path:sn(e.schema.path,t.schema.path),query:rr(e.schema.query,t.schema.query),hash:or(e.schema.hash,t.schema.hash)})}function Os(e){return le(e)}function Re(e,t){const n=Zt(),r=Mn(e.name),o=W(e.path),s=W(e.query),i=W(e.hash),a=e.meta??{},u=e.state??{},l=e.context??[],{store:h,...c}=at(),E=y.markRaw({id:n,meta:a,state:u,...e,props:t}),f=nr({getRoute:()=>R}),d=ye({path:o,query:s,hash:i}),R={id:n,matched:E,matches:[E],hooks:[h],name:r,meta:a,state:u,context:l,depth:1,prefetch:e.prefetch,...f,...d,...c};if(Vt(e)){const _=jt(e.parent,R),m=an(e.parent,{path:o,query:s,hash:i});return{..._,...m}}return R}function sr(e){return y.defineComponent(()=>()=>y.h("h1",e),{name:e,props:[]})}function ws(e){const t=e.component??sr(e.type);return{type:e.type,component:t}}function Ts(e){const t=Zt(),n=Mn(e.name),r=W(e.path),o=W(e.query),s=W(e.hash),i=e.meta??{},a=W(e.host),u=e.context??[],{store:l,...h}=at(),c=nr({getRoute:()=>d}),E=y.markRaw({id:t,meta:{},state:{},...e}),f=ye({host:a,path:r,query:o,hash:s}),d={id:t,matched:E,matches:[E],hooks:[l],name:n,meta:i,depth:1,state:{},context:u,...h,...c,...f};if(Vt(e)){const R=jt(e.parent,d),_=an(e.parent,{path:r,query:o,hash:s});return{...R,..._}}return d}function ze(){const e=new Map;return t=>{const n=e.get(t);if(!n){const r=Symbol();return e.set(t,r),r}return n}}const Ps=ze();function ir(e){const t=Ps(e);return({increment:n=!1}={})=>{const r=y.inject(t,0);return n&&y.provide(t,r+1),r}}const We=(e,t,n)=>{const r=e.matches,o=t?.matches??[];return r.at(n)?.id!==o.at(n)?.id},Je=(e,t,n)=>{const r=e.matches,o=t?.matches??[];return r.at(n)?.id!==o.at(n)?.id},Ke=(e,t,n)=>e.matches.at(n)?.id===t?.matches.at(n)?.id;function Ns(e){switch(e){case"onBeforeRouteEnter":case"onAfterRouteEnter":return We;case"onBeforeRouteUpdate":case"onAfterRouteUpdate":return Ke;case"onBeforeRouteLeave":case"onAfterRouteLeave":return Je;default:throw new Error(`Switch is not exhaustive for lifecycle: ${e}`)}}function bs(e,t){const n=new ge;return e.hooks.forEach((r,o)=>{if(r.redirects.forEach(s=>n.redirects.add(s)),We(e,t,o))return r.onBeforeRouteEnter.forEach(s=>n.onBeforeRouteEnter.add(s));if(Ke(e,t,o))return r.onBeforeRouteUpdate.forEach(s=>n.onBeforeRouteUpdate.add(s))}),t?.hooks.forEach((r,o)=>{if(Je(e,t,o))return r.onBeforeRouteLeave.forEach(s=>n.onBeforeRouteLeave.add(s))}),n}function Is(e,t){const n=new ge;return e.hooks.forEach((r,o)=>{if(We(e,t,o))return r.onAfterRouteEnter.forEach(s=>n.onAfterRouteEnter.add(s));if(Ke(e,t,o))return r.onAfterRouteUpdate.forEach(s=>n.onAfterRouteUpdate.add(s))}),t?.hooks.forEach((r,o)=>{if(Je(e,t,o))return r.onAfterRouteLeave.forEach(s=>n.onAfterRouteLeave.add(s))}),n}class ht extends Error{}class fe extends ht{response;constructor(t){super("Uncaught ContextPushError"),this.response={status:"PUSH",to:t}}}class Se extends ht{response;constructor(t){super("Uncaught ContextRejectionError"),this.response={status:"REJECT",type:t}}}class ar extends ht{response;constructor(){super("Uncaught ContextAbortError"),this.response={status:"ABORT"}}}function As(e,t,n){const r=new ge;return e.matches.forEach((o,s)=>{We(e,t,s)&&n.onBeforeRouteEnter.forEach(i=>r.onBeforeRouteEnter.add(i)),Ke(e,t,s)&&n.onBeforeRouteUpdate.forEach(i=>r.onBeforeRouteUpdate.add(i))}),t?.matches.forEach((o,s)=>{Je(e,t,s)&&n.onBeforeRouteLeave.forEach(i=>r.onBeforeRouteLeave.add(i))}),r}function vs(e,t,n){const r=new ge;return e.matches.forEach((o,s)=>{We(e,t,s)&&n.onAfterRouteEnter.forEach(i=>r.onAfterRouteEnter.add(i)),Ke(e,t,s)&&n.onAfterRouteUpdate.forEach(i=>r.onAfterRouteUpdate.add(i))}),t?.matches.forEach((o,s)=>{Je(e,t,s)&&n.onAfterRouteLeave.forEach(i=>r.onAfterRouteLeave.add(i))}),r}function cr(){let e=null;function t(r){e=r}function n(r){return e?e.runWithContext(r):r()}return{setVueApp:t,runWithContext:n}}function Ye({to:e}){const t=i=>{throw new Se(i)},n=(...i)=>{throw new fe(i)};return{reject:t,push:n,replace:(i,a,u)=>{if(te(i)){const c=a??{};throw new fe([i,{...c,replace:!0}])}const l=a,h=u??{};throw new fe([i,l,{...h,replace:!0}])},update:(i,a,u)=>{if(typeof i=="object"){const h={...e.params,...i};return n(e.name,h,a)}const l={...e.params,[i]:a};return n(e.name,l,u)},abort:()=>{throw new ar}}}const ur=ze();function ks(){const{setVueApp:e,runWithContext:t}=cr(),{store:n,...r}=at(),o=new ge,s=async({to:h,from:c})=>{const{reject:E,push:f,replace:d,update:R,abort:_}=Ye({to:h}),m=bs(h,c),O=As(h,c,n),p=[...m.redirects,...O.onBeforeRouteEnter,...m.onBeforeRouteEnter,...O.onBeforeRouteUpdate,...m.onBeforeRouteUpdate,...o.onBeforeRouteUpdate,...O.onBeforeRouteLeave,...m.onBeforeRouteLeave,...o.onBeforeRouteLeave];try{const g=p.map(I=>t(()=>I(h,{from:c,reject:E,push:f,replace:d,update:R,abort:_})));await Promise.all(g)}catch(g){if(g instanceof fe||g instanceof Se||g instanceof ar)return g.response;try{a(g,{to:h,from:c,source:"hook"})}catch(I){if(I instanceof fe||I instanceof Se)return I.response;throw I}}return{status:"SUCCESS"}},i=async({to:h,from:c})=>{const{reject:E,push:f,replace:d,update:R}=Ye({to:h}),_=Is(h,c),m=vs(h,c,n),O=[...o.onAfterRouteLeave,..._.onAfterRouteLeave,...m.onAfterRouteLeave,...o.onAfterRouteUpdate,..._.onAfterRouteUpdate,...m.onAfterRouteUpdate,...o.onAfterRouteEnter,..._.onAfterRouteEnter,...m.onAfterRouteEnter];try{const p=O.map(g=>t(()=>g(h,{from:c,reject:E,push:f,replace:d,update:R})));await Promise.all(p)}catch(p){if(p instanceof fe||p instanceof Se)return p.response;try{a(p,{to:h,from:c,source:"hook"})}catch(g){if(g instanceof fe||g instanceof Se)return g.response;throw g}}return{status:"SUCCESS"}},a=(h,{to:c,from:E,source:f})=>{const{reject:d,push:R,replace:_,update:m}=Ye({to:c});for(const O of n.onError)try{O(h,{to:c,from:E,source:f,reject:d,push:R,replace:_,update:m});return}catch(p){if(p instanceof ht)throw p;if(p===h)continue;throw p}};return{runBeforeRouteHooks:s,runAfterRouteHooks:i,runErrorHooks:a,addComponentHook:({lifecycle:h,depth:c,hook:E})=>{const f=Ns(h),d=o[h],R=(_,m)=>{if(f(_,m.from,c))return E(_,m)};return d.add(R),()=>d.delete(R)},addGlobalRouteHooks:h=>{h.onBeforeRouteEnter.forEach(c=>r.onBeforeRouteEnter(c)),h.onBeforeRouteUpdate.forEach(c=>r.onBeforeRouteUpdate(c)),h.onBeforeRouteLeave.forEach(c=>r.onBeforeRouteLeave(c)),h.onAfterRouteEnter.forEach(c=>r.onAfterRouteEnter(c)),h.onAfterRouteUpdate.forEach(c=>r.onAfterRouteUpdate(c)),h.onAfterRouteLeave.forEach(c=>r.onAfterRouteLeave(c)),h.onError.forEach(c=>r.onError(c))},setVueApp:e,...r}}function Cs(e){const t=ur(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}function Et(e,t){const n=ir(e),r=Cs(e);return o=>{const s=n(),a=r().addComponentHook({lifecycle:t,hook:o,depth:s-1});return y.onUnmounted(a),a}}function Us(e){const t=Et(e,"onBeforeRouteLeave"),n=Et(e,"onBeforeRouteUpdate"),r=Et(e,"onAfterRouteLeave"),o=Et(e,"onAfterRouteUpdate");return{onBeforeRouteLeave:t,onBeforeRouteUpdate:n,onAfterRouteLeave:r,onAfterRouteUpdate:o}}const fr=ze();function Ls(e){const t=fr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}const lr=ze();function dr(e){const t=lr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}function Qe(e){return()=>{const t=y.inject(e);if(!t)throw new Ee;return t}}const pr=Symbol("isRouterRouteSymbol");function Vs(e,t){return typeof t=="object"&&t!==null&&pr in t&&e in t}function Ds(e,t,n){function r(O,p,g){if(typeof O=="object"){const A={...t.params,...O};return n(t.name,A,p)}const I={...t.params,[O]:p};return n(t.name,I,g)}const o=(...O)=>{const p=new URLSearchParams(t.query);p.set(...O),r({},{query:p})},s=(...O)=>{const p=new URLSearchParams(t.query);p.append(...O),r({},{query:p})},i=(...O)=>{const p=new URLSearchParams(t.query);p.delete(...O),r({},{query:p})},{id:a,matched:u,matches:l,hooks:h,name:c,hash:E,href:f}=y.toRefs(t),d=y.computed({get(){return new Proxy(t.params,{set(O,p,g){return r(p,g),!0}})},set(O){r(O)}}),R=y.computed({get(){return new Proxy(t.query,{get(O,p,g){switch(p){case"append":return s;case"set":return o;case"delete":return i;default:return Reflect.get(O,p,g)}}})},set(O){r({},{query:O})}}),_=y.computed({get(){return new Proxy(t.state,{set(O,p,g){return r({},{state:{...t.state,[p]:g}}),!0}})},set(O){r({},{state:O})}});return y.reactive({id:a,matched:u,matches:l,hooks:h,state:_,query:R,hash:E,params:d,name:c,href:f,update:r,[pr]:!0,[e]:!0})}function cn(e){return(t,n,{exact:r}={})=>Vs(e,t)?n===void 0?!0:r?t.matched.name===n:t.matches.map(o=>o.name).includes(n):!1}function gt(e){const t=Qe(e),n=cn(e);return(r,o)=>{const s=t();function i(){if(!r)return;if(!n(s.route,r,o))throw new xn(r,s.route.name)}return y.watch(s.route,i,{immediate:!0,deep:!0}),s.route}}function un(e){const t=gt(e),n=Qe(e),r=dr(e),o=ir(e),s=Ls(e);return y.defineComponent((i,a)=>{const u=t(),l=n(),h=r(),c=o({increment:!0});y.onServerPrefetch(async()=>{await l.start()});const{getRouteComponents:E}=s(),f=y.computed(()=>{if(!l.started.value)return null;if(h.value)return h.value.component;const d=u.matches.at(c);if(!d)return null;const R=E(d),_=i.name??"default";return R[_]});return()=>a.slots.default?a.slots.default({route:u,component:f.value,rejection:h.value}):f.value?y.h(f.value):null},{name:"RouterView",props:["name"]})}const hr=ze();function Er(e){const t=hr(e);return()=>{const n=y.inject(t);if(!n)throw new Ee;return n}}const xs="lazy",Ms={components:!0,props:!1};function _t(e){return["eager","lazy","intent"].includes(e)}function gr({routerPrefetch:e,routePrefetch:t,linkPrefetch:n},r){const o=fn(n,r),s=fn(t,r),i=fn(e,r),a=[o,s,i,Ms[r],xs].reduce((u,l)=>_t(u)?u:u===!0&&_t(l)?l:u===!0&&!_t(l)?u:u===void 0?l:u,void 0);return _t(a)?a:!1}function fn(e,t){return ve(e)?e[t]:e}const Bs=y.defineAsyncComponent(()=>new Promise(e=>{e({default:{template:"foo"}})}));function _r(e){return e.name===Bs.name&&"__asyncLoader"in e}const mr=Symbol("visibilityObserver");function js(e){const t=y.inject(mr);if(!t)throw new Ee;return y.watch(e,(r,o)=>{r&&t.observe(r),o&&t.unobserve(o)},{immediate:!0}),y.onUnmounted(()=>{e.value&&t.unobserve(e.value)}),{isElementVisible:y.computed(()=>e.value?t.isElementVisible(e.value):!1)}}function yr(e,t,n){y.watch(e,(r,o)=>{r&&r.addEventListener(t,n),o&&o.removeEventListener(t,n)},{immediate:!0}),y.onUnmounted(()=>{e.value&&e.value.removeEventListener(t,n)})}function Hs(e){const t=Er(e);return n=>{const r=new Map,o=y.ref(),{getPrefetchProps:s,setPrefetchProps:i}=t(),{isElementVisible:a}=js(o),u=()=>{const c=Array.from(r.values()).reduce((E,f)=>(Object.assign(E,f),E),{});i(c)};y.watch(()=>y.toValue(n),({route:c,...E})=>{r.clear(),c&&h("eager",c,E)},{immediate:!0}),y.watch(a,c=>{const{route:E,...f}=y.toValue(n);!E||!c||h("lazy",E,f)},{immediate:!0}),yr(o,"focusin",l),yr(o,"mouseover",l);function l(){const{route:c,...E}=y.toValue(n);c&&h("intent",c,E)}function h(c,E,f){Zs(c,E,f),r.has(c)||r.set(c,s(c,E,f))}return{element:o,commit:u}}}function Zs(e,t,n){t.matches.forEach(r=>{gr({...n,routePrefetch:r.prefetch},"components")===e&&(Dt(r)&&_r(r.component)&&r.component.__asyncLoader(),Mt(r)&&Object.values(r.components).forEach(s=>{_r(s)&&s.__asyncLoader()}))})}function Rr(e){const t=Qe(e),n=Hs(e),r=cn(e);return(o,s={},i={})=>{const a=t(),u=y.computed(()=>{const g=y.toValue(o);return typeof g!="string"?g:te(g)?a.find(g,y.toValue(i)):a.resolve(g,y.toValue(s),y.toValue(i))}),l=y.computed(()=>{if(u.value)return u.value.href;const g=y.toValue(o);if(te(g))return g;console.error(new Error("Failed to resolve route in RouterLink."))}),h=y.computed(()=>r(a.route)&&a.route.matches.some(g=>g.id===u.value?.id)),c=y.computed(()=>a.route.id===u.value?.id),E=y.computed(()=>r(a.route)&&jo(u.value)&&a.route.href.startsWith(u.value.href)),f=y.computed(()=>a.route.href===u.value?.href),d=y.computed(()=>!!l.value&&a.isExternal(l.value)),R=y.computed(()=>{const g=y.toValue(o);return typeof g!="string"||te(g)?y.toValue(s):y.toValue(i)}),{element:_,commit:m}=n(()=>({route:u.value,routerPrefetch:a.prefetch,linkPrefetch:R.value.prefetch})),O=g=>{m();const I={replace:g?.replace??R.value.replace,query:Xn(R.value.query,g?.query),hash:g?.hash??R.value.hash,state:{...R.value.state,...g?.state}},A=y.toValue(o);return te(A)||typeof A=="object"?a.push(A,I):a.push(A,y.toValue(s),I)};return{element:_,route:u,href:l,isMatch:h,isExactMatch:c,isActive:E,isExactActive:f,isExternal:d,push:O,replace:g=>O({...g,replace:!0})}}}function Sr(e){const t=Qe(e),n=Rr(e);return y.defineComponent((r,o)=>{const s=t(),i=y.computed(()=>m(r.to)),a=y.computed(()=>O(r.to)),u=y.computed(()=>{const{to:g,...I}=r;return I}),{element:l,isMatch:h,isExactMatch:c,isActive:E,isExactActive:f,isExternal:d,push:R}=n(()=>typeof r.to=="function"?r.to(s.resolve):r.to,u),_=y.computed(()=>({"router-link--match":h.value,"router-link--exact-match":c.value,"router-link--active":E.value,"router-link--exact-active":f.value}));function m(g){if(typeof g=="function"){const I=g(s.resolve);return m(I)}return te(g)?s.find(g):g}function O(g){if(typeof g=="function"){const I=g(s.resolve);return O(I)}return te(g)?g:g?.href}function p(g){g.preventDefault(),R()}return()=>y.h("a",{href:a.value,class:["router-link",_.value],ref:l,onClick:p},o.slots.default?.({route:i.value,isMatch:h.value,isExactMatch:c.value,isActive:E.value,isExactActive:f.value,isExternal:d.value}))},{name:"RouterLink",props:["to","prefetch","query","hash","replace","state"]})}function $s(e){const t=gt(e);return(n,r=String)=>{const o=t(),s=y.computed({get(){const a=o.query.get(y.toValue(n));return a===null?null:Qt(a,r)},set(a){o.query.set(y.toValue(n),ce(a,r))}}),i=y.computed({get(){return o.query.getAll(y.toValue(n)).map(u=>Qt(u,r)).filter(u=>u!==null)},set(a){const u=new URLSearchParams(o.query);u.delete(y.toValue(n)),a.forEach(l=>{u.append(y.toValue(n),ce(l,r))}),o.query=u}});return{value:s,values:i,remove:()=>{o.query.delete(y.toValue(n))}}}}function Or(e){const t=typeof e=="object"?e.key:e,{onBeforeRouteLeave:n,onBeforeRouteUpdate:r,onAfterRouteLeave:o,onAfterRouteUpdate:s}=Us(t),i=cn(t),a=un(t),u=Sr(t),l=gt(t),h=Qe(t),c=$s(t),E=Rr(t),f=dr(t);return{onBeforeRouteLeave:n,onBeforeRouteUpdate:r,onAfterRouteLeave:o,onAfterRouteUpdate:s,isRoute:i,RouterView:a,RouterLink:u,useRoute:l,useRouter:h,useQueryValue:c,useLink:E,useRejection:f}}function Gs(e){const{store:t,...n}=at();return{routes:e.routes??[],rejections:e.rejections??[],hooks:t,...n}}function wr(e){return{get:(t,{invalid:n})=>{for(const r of e){const o=Qt(t,r);if(o!==void 0)return o}throw n(`Value "${t}" does not satisfy any of the possible values`)},set:(t,{invalid:n})=>{for(const r of e){const o=Jo(t,r);if(o!==void 0)return o}throw n(`Value "${t}" does not satisfy any of the possible values`)}}}const qs={separator:","};function Fs(e,t={}){const{separator:n}={...qs,...t},r=wr(e);return{get:(o,s)=>o.split(n).map(i=>r.get(i,s)),set:(o,s)=>{if(!Array.isArray(o))throw s.invalid("Expected an array");return o.map(i=>r.set(i,s)).join(n)}}}const zs={separator:","};function Ws(e,t={}){const{separator:n}={...zs,...t};return{get:r=>{const o=r.split(n);return e.map((s,i)=>me(o.at(i),s))},set:(r,{invalid:o})=>{if(!Array.isArray(r))throw o("Expected a tuple");if(r.length!==e.length)throw o(`Expected tuple with ${e.length} values but received ${r.length} values`);return e.map((s,i)=>ce(r.at(i),s)).join(n)}}}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(null,arguments)}var J;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(J||(J={}));var Le=process.env.NODE_ENV!=="production"?function(e){return Object.freeze(e)}:function(e){return e};function Oe(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}var mt="beforeunload",Js="hashchange",Tr="popstate";function Pr(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function s(){var P=r.location,S=P.pathname,N=P.search,C=P.hash,U=o.state||{};return[U.idx,Le({pathname:S,search:N,hash:C,state:U.usr||null,key:U.key||"default"})]}var i=null;function a(){if(i)f.call(i),i=null;else{var P=J.Pop,S=s(),N=S[0],C=S[1];if(f.length)if(N!=null){var U=h-N;U&&(i={action:P,location:C,retry:function(){I(U*-1)}},I(U))}else process.env.NODE_ENV!=="production"&&Oe(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else O(P)}}r.addEventListener(Tr,a);var u=J.Pop,l=s(),h=l[0],c=l[1],E=Ve(),f=Ve();h==null&&(h=0,o.replaceState(de({},o.state,{idx:h}),""));function d(P){return typeof P=="string"?P:we(P)}function R(P,S){return S===void 0&&(S=null),Le(de({pathname:c.pathname,hash:"",search:""},typeof P=="string"?Xe(P):P,{state:S,key:Rt()}))}function _(P,S){return[{usr:P.state,key:P.key,idx:S},d(P)]}function m(P,S,N){return!f.length||(f.call({action:P,location:S,retry:N}),!1)}function O(P){u=P;var S=s();h=S[0],c=S[1],E.call({action:u,location:c})}function p(P,S){var N=J.Push,C=R(P,S);function U(){p(P,S)}if(m(N,C,U)){var B=_(C,h+1),M=B[0],j=B[1];try{o.pushState(M,"",j)}catch{r.location.assign(j)}O(N)}}function g(P,S){var N=J.Replace,C=R(P,S);function U(){g(P,S)}if(m(N,C,U)){var B=_(C,h),M=B[0],j=B[1];o.replaceState(M,"",j),O(N)}}function I(P){o.go(P)}var A={get action(){return u},get location(){return c},createHref:d,push:p,replace:g,go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(S){return E.push(S)},block:function(S){var N=f.push(S);return f.length===1&&r.addEventListener(mt,yt),function(){N(),f.length||r.removeEventListener(mt,yt)}}};return A}function Ks(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function s(){var S=Xe(r.location.hash.substr(1)),N=S.pathname,C=N===void 0?"/":N,U=S.search,B=U===void 0?"":U,M=S.hash,j=M===void 0?"":M,G=o.state||{};return[G.idx,Le({pathname:C,search:B,hash:j,state:G.usr||null,key:G.key||"default"})]}var i=null;function a(){if(i)f.call(i),i=null;else{var S=J.Pop,N=s(),C=N[0],U=N[1];if(f.length)if(C!=null){var B=h-C;B&&(i={action:S,location:U,retry:function(){A(B*-1)}},A(B))}else process.env.NODE_ENV!=="production"&&Oe(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else p(S)}}r.addEventListener(Tr,a),r.addEventListener(Js,function(){var S=s(),N=S[1];we(N)!==we(c)&&a()});var u=J.Pop,l=s(),h=l[0],c=l[1],E=Ve(),f=Ve();h==null&&(h=0,o.replaceState(de({},o.state,{idx:h}),""));function d(){var S=document.querySelector("base"),N="";if(S&&S.getAttribute("href")){var C=r.location.href,U=C.indexOf("#");N=U===-1?C:C.slice(0,U)}return N}function R(S){return d()+"#"+(typeof S=="string"?S:we(S))}function _(S,N){return N===void 0&&(N=null),Le(de({pathname:c.pathname,hash:"",search:""},typeof S=="string"?Xe(S):S,{state:N,key:Rt()}))}function m(S,N){return[{usr:S.state,key:S.key,idx:N},R(S)]}function O(S,N,C){return!f.length||(f.call({action:S,location:N,retry:C}),!1)}function p(S){u=S;var N=s();h=N[0],c=N[1],E.call({action:u,location:c})}function g(S,N){var C=J.Push,U=_(S,N);function B(){g(S,N)}if(process.env.NODE_ENV!=="production"&&Oe(U.pathname.charAt(0)==="/","Relative pathnames are not supported in hash history.push("+JSON.stringify(S)+")"),O(C,U,B)){var M=m(U,h+1),j=M[0],G=M[1];try{o.pushState(j,"",G)}catch{r.location.assign(G)}p(C)}}function I(S,N){var C=J.Replace,U=_(S,N);function B(){I(S,N)}if(process.env.NODE_ENV!=="production"&&Oe(U.pathname.charAt(0)==="/","Relative pathnames are not supported in hash history.replace("+JSON.stringify(S)+")"),O(C,U,B)){var M=m(U,h),j=M[0],G=M[1];o.replaceState(j,"",G),p(C)}}function A(S){o.go(S)}var P={get action(){return u},get location(){return c},createHref:R,push:g,replace:I,go:A,back:function(){A(-1)},forward:function(){A(1)},listen:function(N){return E.push(N)},block:function(N){var C=f.push(N);return f.length===1&&r.addEventListener(mt,yt),function(){C(),f.length||r.removeEventListener(mt,yt)}}};return P}function Nr(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,o=t.initialIndex,s=r.map(function(p){var g=Le(de({pathname:"/",search:"",hash:"",state:null,key:Rt()},typeof p=="string"?Xe(p):p));return process.env.NODE_ENV!=="production"&&Oe(g.pathname.charAt(0)==="/","Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: "+JSON.stringify(p)+")"),g}),i=br(o??s.length-1,0,s.length-1),a=J.Pop,u=s[i],l=Ve(),h=Ve();function c(p){return typeof p=="string"?p:we(p)}function E(p,g){return g===void 0&&(g=null),Le(de({pathname:u.pathname,search:"",hash:""},typeof p=="string"?Xe(p):p,{state:g,key:Rt()}))}function f(p,g,I){return!h.length||(h.call({action:p,location:g,retry:I}),!1)}function d(p,g){a=p,u=g,l.call({action:a,location:u})}function R(p,g){var I=J.Push,A=E(p,g);function P(){R(p,g)}process.env.NODE_ENV!=="production"&&Oe(u.pathname.charAt(0)==="/","Relative pathnames are not supported in memory history.push("+JSON.stringify(p)+")"),f(I,A,P)&&(i+=1,s.splice(i,s.length,A),d(I,A))}function _(p,g){var I=J.Replace,A=E(p,g);function P(){_(p,g)}process.env.NODE_ENV!=="production"&&Oe(u.pathname.charAt(0)==="/","Relative pathnames are not supported in memory history.replace("+JSON.stringify(p)+")"),f(I,A,P)&&(s[i]=A,d(I,A))}function m(p){var g=br(i+p,0,s.length-1),I=J.Pop,A=s[g];function P(){m(p)}f(I,A,P)&&(i=g,d(I,A))}var O={get index(){return i},get action(){return a},get location(){return u},createHref:c,push:R,replace:_,go:m,back:function(){m(-1)},forward:function(){m(1)},listen:function(g){return l.push(g)},block:function(g){return h.push(g)}};return O}function br(e,t,n){return Math.min(Math.max(e,t),n)}function yt(e){e.preventDefault(),e.returnValue=""}function Ve(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function Rt(){return Math.random().toString(36).substr(2,8)}function we(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,o=r===void 0?"":r,s=e.hash,i=s===void 0?"":s;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Xe(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ys(e,t,n){const r=y.reactive({...t}),o=a=>{Object.assign(r,{...a})},s=r,i=Ds(e,s,n);return{currentRoute:s,routerRoute:i,updateRoute:o}}function Qs(e){return t=>{const{host:n}=ue(t);return!(n===void 0||n===e)}}function Ir(e){try{const t=e();return zt(t)?t.catch(n=>n):t}catch(t){return t}}function Xs(){const{setVueApp:e,runWithContext:t}=cr(),n=y.reactive(new Map),r=(E,f,d)=>{const{push:R,replace:_,reject:m,update:O}=Ye({to:f});return f.matches.filter(p=>gr({...d,routePrefetch:p.prefetch},"props")===E).flatMap(p=>h(p)).reduce((p,{id:g,name:I,props:A})=>{if(!A)return p;const P=l(g,I,f),S=t(()=>Ir(()=>A(f,{push:R,replace:_,reject:m,update:O,parent:a(f,!0)})));return p[P]=S,p},{})},o=E=>{Object.entries(E).forEach(([f,d])=>{n.set(f,d)})},s=async E=>{const{push:f,replace:d,reject:R,update:_}=Ye({to:E}),m=E.matches.flatMap(h),O=[],p=[];for(const{id:g,name:I,props:A}of m){if(!A)continue;const P=l(g,I,E);if(O.push(P),!n.has(P)){const S=t(()=>Ir(()=>A(E,{push:f,replace:d,reject:R,update:_,parent:a(E)})));n.set(P,S)}p.push((async()=>{const S=await n.get(P);if(S instanceof Error)throw S})())}c(O);try{return await Promise.all(p),{status:"SUCCESS"}}catch(g){if(g instanceof fe||g instanceof Se)return g.response;throw g}},i=(E,f,d)=>{const R=l(E,f,d);return n.get(R)};function a(E,f=!1){const d=E.matches.at(-2);if(d)return xt(d)?{name:d.name??"",get props(){return u(d,"default",E,f)}}:Bt(d)?{name:d.name??"",props:new Proxy({},{get(R,_){return typeof _!="string"?Reflect.get(R,_):u(d,_,E,f)}})}:{name:d.name??"",props:void 0}}function u(E,f,d,R=!1){const _=i(E.id,f,d);if(R&&!_){const m=E.name??"unknown",O=d.name||"unknown";console.warn(`
|
|
2
2
|
Unable to access parent props "${f}" from route "${m}" while prefetching props for route "${O}".
|
|
3
3
|
This may occur if the parent route's props were not also prefetched.
|
|
4
|
-
`)}return _}function l(E,f,d){return[E,f,d.id,JSON.stringify(d.params)].join("-")}function h(E){return xt(E)?[{id:E.id,name:"default",props:E.props}]:Bt(E)?Object.entries(E.props).map(([f,d])=>({id:E.id,name:f,props:d})):[]}function c(E){for(const f of n.keys())E.includes(f)||n.delete(f)}return{getPrefetchProps:r,setPrefetchProps:o,getProps:i,setProps:s,setVueApp:e}}function St(){return typeof window<"u"&&typeof window.document<"u"}function ei({mode:e,listener:t}){const n=ti(e),r=(u,l)=>{if(l?.replace){n.replace(u,l.state);return}n.push(u,l?.state)},o=()=>{const u=we(n.location);n.replace(u)};let s;return{...n,update:r,refresh:o,startListening:()=>{s?.(),s=n.listen(t)},stopListening:()=>{s?.()}}}function ti(e="auto"){switch(e){case"auto":return St()?Tr():Pr();case"browser":return Tr();case"memory":return Pr();case"hash":return Ks();default:const t=e;throw new Error(`Switch is not exhaustive for mode: ${t}`)}}function Ir(e){const t=new URLSearchParams(e);return{get:(...n)=>t.get(...n),getAll:(...n)=>t.getAll(...n),set:(...n)=>{t.set(...n)},append:(...n)=>{t.append(...n)},delete:(...n)=>{t.delete(...n)},toString:(...n)=>t.toString(...n),forEach:(...n)=>{t.forEach(...n)},entries:(...n)=>t.entries(...n),keys:(...n)=>t.keys(...n),values:(...n)=>t.values(...n),has:(...n)=>t.has(...n),size:t.size,sort:()=>{t.sort()},[Symbol.iterator]:()=>t[Symbol.iterator]()}}function ni(e){const t=s=>{const i=e.find(a=>a.type===s);return y.markRaw(i?.component??sr(s))},n=s=>{const i=y.markRaw(t(s)),a={id:Zt(),component:i,meta:{},state:{}};return{id:a.id,matched:a,matches:[a],hooks:[],name:s,query:Ir(""),params:{},state:{},href:"/",hash:""}},r=s=>{if(!s){o.value=null;return}const i=t(s);o.value={type:s,component:i}},o=y.ref(null);return{setRejection:r,rejection:o,getRejectionRoute:n}}class ri extends Error{constructor(){super("initialUrl must be set if window.location is unavailable")}}function oi(e){if(e)return e;if(St())return window.location.toString();throw new ri}function Ar(e){return!!e&&typeof e=="object"}const Ot=!0;function si(e,t,n){if(Ar(e)&&t in e){const r=e[t];return typeof r=="string"?me(r,n,Ot):r}return me(void 0,n,Ot)}function ii(e,t){const n={};for(const[r,o]of Object.entries(e)){const s=si(t,r,o);n[r]=s}return n}function ai(e,t,n){if(Ar(e)&&t in e){const r=e[t];return ce(r,n,Ot)}return ce(void 0,n,Ot)}const vr=(e,t)=>{const n={};for(const[r,o]of Object.entries(e)){const s=ai(t,r,o);n[r]=s}return n};function ci(){const e=y.reactive(new Map),t=St()?i():null,n=a=>{e.set(a,!1),t?.observe(a)},r=a=>{e.delete(a),t?.unobserve(a)},o=()=>{t?.disconnect()},s=a=>e.get(a)??!1;function i(){return new IntersectionObserver(a=>{a.forEach(u=>{e.set(u.target,u.isIntersecting)})})}return{observe:n,unobserve:r,disconnect:o,isElementVisible:s}}class ui extends Error{constructor(t){super(`Route not found: "${t}"`)}}function kr(e,t={},n={}){const r=e.stringify(t),o=Fe(r,{query:new URLSearchParams(n.query),hash:n.hash}),{query:s,hash:i}=ue(o);return{id:e.id,matched:e.matched,matches:e.matches,name:e.name,hooks:e.hooks,query:Ir(s),state:ii(e.state,n.state),hash:i,params:t,href:o}}class fi extends Error{constructor(t){super(`Invalid Name "${t}": Router does not support multiple routes with the same name. All name names must be unique.`)}}function Cr(e){return"name"in e&&se(e.name)}function li(e,t){return se(t)?le(e)&&e.schema.path.value==="/"?{...e,...ye({path:t})}:{...e,...an(ye({path:t}),e)}:e}function di(e,t=[],n){const r=new Map,o=[...e,...t.map(a=>a.routes)];function s(a){if(!Cr(a))return;const u=r.get(a.name);if(u&&u.id!==a.id)throw new fi(a.name);if(!(u&&u.id===a.id)){r.set(a.name,li(a,n));for(const l of a.context)pi(l)&&s(l)}}function i(a){for(const u of a)s(u)}for(const a of o){if(hi(a)){i(a);continue}s(a)}return{routes:Array.from(r.values()).sort(Ei),getRouteByName:a=>r.get(a)}}function pi(e){return"id"in e}function hi(e){return Array.isArray(e)}function Ei(e,t){return t.depth-e.depth}function gi(e=[]){const t=new ge;return e.forEach(n=>{n.hooks.onBeforeRouteEnter.forEach(r=>t.onBeforeRouteEnter.add(r)),n.hooks.onBeforeRouteUpdate.forEach(r=>t.onBeforeRouteUpdate.add(r)),n.hooks.onBeforeRouteLeave.forEach(r=>t.onBeforeRouteLeave.add(r)),n.hooks.onAfterRouteEnter.forEach(r=>t.onAfterRouteEnter.add(r)),n.hooks.onAfterRouteUpdate.forEach(r=>t.onAfterRouteUpdate.add(r)),n.hooks.onAfterRouteLeave.forEach(r=>t.onAfterRouteLeave.add(r))}),t}function _i(e,{match:t,name:n,component:r}){const o=hr(e),s=gt(e);return y.defineComponent({name:"PropsWrapper",expose:[],setup(){const i=y.getCurrentInstance(),a=o(),u=s();return()=>{const l=a.getProps(t.id,n,u);return l instanceof Error?"":zt(l)?i?.suspense?y.h(yi,{component:r,props:l}):y.h(mi,{component:r,props:l}):y.h(r,l)}}})}const mi=y.defineComponent(e=>{const t=y.ref();return y.watch(()=>e.props,async n=>{t.value=await n},{immediate:!0,deep:!0}),()=>t.value instanceof Error?"":t.value?y.h(e.component,t.value):""},{props:["component","props"]}),yi=y.defineComponent(async e=>{const t=y.ref();return t.value=await e.props,y.watch(()=>t.value,async n=>{t.value=await n},{deep:!0}),()=>t.value instanceof Error?"":t.value?y.h(e.component,t.value):""},{props:["component","props"]});function Ri(e){const t=new Map;return{getRouteComponents:r=>{const o=t.get(r.id);if(o)return o;const s=Si(e,r);return t.set(r.id,s),s}}}function Si(e,t){const n=un(e);return Mt(t)?Ur(e,t,t.components):Dt(t)?Ur(e,t,{default:t.component}):{default:n}}function Ur(e,t,n){return Object.fromEntries(Object.entries(n).map(([r,o])=>[r,_i(e,{match:t,name:r,component:o})]))}const Lr=Symbol();var Oi=Object.create,Vr=Object.defineProperty,wi=Object.getOwnPropertyDescriptor,Dr=Object.getOwnPropertyNames,Ti=Object.getPrototypeOf,Pi=Object.prototype.hasOwnProperty,Ni=(e,t)=>function(){return t||(0,e[Dr(e)[0]])((t={exports:{}}).exports,t),t.exports},bi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=Dr(t),s=0,i=o.length,a;s<i;s++)a=o[s],!Pi.call(e,a)&&a!==n&&Vr(e,a,{get:(u=>t[u]).bind(null,a),enumerable:!(r=wi(t,a))||r.enumerable});return e},Ii=(e,t,n)=>(n=e!=null?Oi(Ti(e)):{},bi(Vr(n,"default",{value:e,enumerable:!0}),e));const xr=typeof navigator<"u",w=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof w.chrome<"u"&&w.chrome.devtools,xr&&(w.self,w.top),typeof navigator<"u"&&navigator.userAgent?.toLowerCase().includes("electron");var Ai=Ni({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js":((e,t)=>{t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,c=>new Date(c)),i.set(Map,(c,E)=>new Map(u(Array.from(c),E))),i.set(Set,(c,E)=>new Set(u(Array.from(c),E))),s.constructorHandlers)for(const c of s.constructorHandlers)i.set(c[0],c[1]);let a=null;return s.proto?h:l;function u(c,E){const f=Object.keys(c),d=new Array(f.length);for(let R=0;R<f.length;R++){const _=f[R],m=c[_];typeof m!="object"||m===null?d[_]=m:m.constructor!==Object&&(a=i.get(m.constructor))?d[_]=a(m,E):ArrayBuffer.isView(m)?d[_]=n(m):d[_]=E(m)}return d}function l(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,l);if(c.constructor!==Object&&(a=i.get(c.constructor)))return a(c,l);const E={};for(const f in c){if(Object.hasOwnProperty.call(c,f)===!1)continue;const d=c[f];typeof d!="object"||d===null?E[f]=d:d.constructor!==Object&&(a=i.get(d.constructor))?E[f]=a(d,l):ArrayBuffer.isView(d)?E[f]=n(d):E[f]=l(d)}return E}function h(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,h);if(c.constructor!==Object&&(a=i.get(c.constructor)))return a(c,h);const E={};for(const f in c){const d=c[f];typeof d!="object"||d===null?E[f]=d:d.constructor!==Object&&(a=i.get(d.constructor))?E[f]=a(d,h):ArrayBuffer.isView(d)?E[f]=n(d):E[f]=h(d)}return E}}function o(s){const i=[],a=[],u=new Map;if(u.set(Date,f=>new Date(f)),u.set(Map,(f,d)=>new Map(h(Array.from(f),d))),u.set(Set,(f,d)=>new Set(h(Array.from(f),d))),s.constructorHandlers)for(const f of s.constructorHandlers)u.set(f[0],f[1]);let l=null;return s.proto?E:c;function h(f,d){const R=Object.keys(f),_=new Array(R.length);for(let m=0;m<R.length;m++){const O=R[m],p=f[O];if(typeof p!="object"||p===null)_[O]=p;else if(p.constructor!==Object&&(l=u.get(p.constructor)))_[O]=l(p,d);else if(ArrayBuffer.isView(p))_[O]=n(p);else{const g=i.indexOf(p);g!==-1?_[O]=a[g]:_[O]=d(p)}}return _}function c(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return h(f,c);if(f.constructor!==Object&&(l=u.get(f.constructor)))return l(f,c);const d={};i.push(f),a.push(d);for(const R in f){if(Object.hasOwnProperty.call(f,R)===!1)continue;const _=f[R];if(typeof _!="object"||_===null)d[R]=_;else if(_.constructor!==Object&&(l=u.get(_.constructor)))d[R]=l(_,c);else if(ArrayBuffer.isView(_))d[R]=n(_);else{const m=i.indexOf(_);m!==-1?d[R]=a[m]:d[R]=c(_)}}return i.pop(),a.pop(),d}function E(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return h(f,E);if(f.constructor!==Object&&(l=u.get(f.constructor)))return l(f,E);const d={};i.push(f),a.push(d);for(const R in f){const _=f[R];if(typeof _!="object"||_===null)d[R]=_;else if(_.constructor!==Object&&(l=u.get(_.constructor)))d[R]=l(_,E);else if(ArrayBuffer.isView(_))d[R]=n(_);else{const m=i.indexOf(_);m!==-1?d[R]=a[m]:d[R]=E(_)}}return i.pop(),a.pop(),d}}})}),vi=Ii(Ai());const ki=/(?:^|[-_/])(\w)/g;function Ci(e,t){return t?t.toUpperCase():""}function Ui(e){return e&&`${e}`.replace(ki,Ci)}function Li(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}const Mr=(0,vi.default)({circles:!0}),Vi={trailing:!0};function De(e,t=25,n={}){if(n={...Vi,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,a;const u=(c,E)=>(i=Di(e,c,E),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const f=u(c,a);return a=null,f}}),i),l=function(...c){return n.trailing&&(a=c),i||new Promise(E=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:u(this,c);a=null;for(const R of s)R(d);s=[]},t),f?(r=u(this,c),E(r)):s.push(E)})},h=c=>{c&&(clearTimeout(c),o=null)};return l.isPending=()=>!!o,l.cancel=()=>{h(o),s=[],a=null},l.flush=()=>{if(h(o),!a||i)return;const c=a;return a=null,u(this,c)},l}async function Di(e,t,n){return await e.apply(t,n)}function ln(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ln(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const xi={run:e=>e()},Mi=()=>xi,Br=typeof console.createTask<"u"?console.createTask:Mi;function Bi(e,t){const n=t.shift(),r=Br(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function ji(e,t){const n=t.shift(),r=Br(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function dn(e,t){for(const n of[...e])n(t)}class Hi{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=ln(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=ln(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(Bi,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ji,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&dn(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&dn(this._after,o)}):(this._after&&o&&dn(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 jr(){return new Hi}var Zi=Object.create,Hr=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,Zr=Object.getOwnPropertyNames,Gi=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty,$r=(e,t)=>function(){return t||(0,e[Zr(e)[0]])((t={exports:{}}).exports,t),t.exports},Fi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=Zr(t),s=0,i=o.length,a;s<i;s++)a=o[s],!qi.call(e,a)&&a!==n&&Hr(e,a,{get:(u=>t[u]).bind(null,a),enumerable:!(r=$i(t,a))||r.enumerable});return e},zi=(e,t,n)=>(n=e!=null?Zi(Gi(e)):{},Fi(Hr(n,"default",{value:e,enumerable:!0}),e));function Wi(e){const t=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return t==="index"&&e.__file?.endsWith("index.vue")?"":t}function Ji(e){const t=e.__file;if(t)return Ui(Li(t,".vue"))}function Gr(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function pn(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function qr(e){const t=e.subTree?.type,n=pn(e);return n?n?.types?.Fragment===t:!1}function wt(e){const t=Wi(e?.type||{});if(t)return t;if(e?.root===e)return"Root";for(const r in e.parent?.type?.components)if(e.parent.type.components[r]===e?.type)return Gr(e,r);for(const r in e.appContext?.components)if(e.appContext.components[r]===e?.type)return Gr(e,r);const n=Ji(e?.type||{});return n||"Anonymous Component"}function Ki(e){return`${e?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__??0}:${e===e?.root?"root":e.uid}`}function hn(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function Yi(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}let Tt;function Qi(e){return Tt||(Tt=document.createRange()),Tt.selectNode(e),Tt.getBoundingClientRect()}function Xi(e){const t=Yi();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const o=e.children[n];let s;if(o.component)s=Te(o.component);else if(o.el){const i=o.el;i.nodeType===1||i.getBoundingClientRect?s=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(s=Qi(i))}s&&ea(t,s)}return t}function ea(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}const Fr={top:0,left:0,right:0,bottom:0,width:0,height:0};function Te(e){const t=e.subTree.el;return typeof window>"u"?Fr:qr(e)?Xi(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?Te(e.subTree.component):Fr}function En(e){return qr(e)?ta(e.subTree):e.subTree?[e.subTree.el]:[]}function ta(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...En(n.component)):n?.el&&t.push(n.el)}),t}const zr="__vue-devtools-component-inspector__",Wr="__vue-devtools-component-inspector__card__",Jr="__vue-devtools-component-inspector__name__",Kr="__vue-devtools-component-inspector__indicator__",Yr={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},na={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},ra={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function xe(){return document.getElementById(zr)}function oa(){return document.getElementById(Wr)}function sa(){return document.getElementById(Kr)}function ia(){return document.getElementById(Jr)}function gn(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function _n(e){const t=document.createElement("div");t.id=e.elementId??zr,Object.assign(t.style,{...Yr,...gn(e.bounds),...e.style});const n=document.createElement("span");n.id=Wr,Object.assign(n.style,{...na,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Jr,r.innerHTML=`<${e.name}> `;const o=document.createElement("i");return o.id=Kr,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(o.style,ra),n.appendChild(r),n.appendChild(o),t.appendChild(n),document.body.appendChild(t),t}function mn(e){const t=xe(),n=oa(),r=ia(),o=sa();t&&(Object.assign(t.style,{...Yr,...gn(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}> `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function aa(e){const t=Te(e);if(!t.width&&!t.height)return;const n=wt(e);xe()?mn({bounds:t,name:n}):_n({bounds:t,name:n})}function Qr(){const e=xe();e&&(e.style.display="none")}let yn=null;function Rn(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(yn=n,n.vnode.el)){const r=Te(n),o=wt(n);xe()?mn({bounds:r,name:o}):_n({bounds:r,name:o})}}}function ca(e,t){e.preventDefault(),e.stopPropagation(),yn&&t(Ki(yn))}let Pt=null;function ua(){Qr(),window.removeEventListener("mouseover",Rn),window.removeEventListener("click",Pt,!0),Pt=null}function fa(){return window.addEventListener("mouseover",Rn),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),ca(n,r=>{window.removeEventListener("click",t,!0),Pt=null,window.removeEventListener("mouseover",Rn);const o=xe();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}Pt=t,window.addEventListener("click",t,!0)})}function la(e){const t=hn(z.value,e.id);if(t){const[n]=En(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Te(t),o=document.createElement("div"),s={...gn(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Te(t);if(r.width||r.height){const o=wt(t),s=xe();s?mn({...e,name:o,bounds:r}):_n({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}w.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??=!0;function da(e){let t=0;const n=setInterval(()=>{w.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function pa(){const e=w.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function ha(){return new Promise(e=>{function t(){pa(),e(w.__VUE_INSPECTOR__)}w.__VUE_INSPECTOR__?t():da(()=>{t()})})}let Nt=(function(e){return e.SKIP="__v_skip",e.IS_REACTIVE="__v_isReactive",e.IS_READONLY="__v_isReadonly",e.IS_SHALLOW="__v_isShallow",e.RAW="__v_raw",e})({});function Ea(e){return!!(e&&e[Nt.IS_READONLY])}function Xr(e){return Ea(e)?Xr(e[Nt.RAW]):!!(e&&e[Nt.IS_REACTIVE])}function Sn(e){return!!(e&&e.__v_isRef===!0)}function et(e){const t=e&&e[Nt.RAW];return t?et(t):e}var ga=class{constructor(){this.refEditor=new _a}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map?e=e.get(a):e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):et(t)instanceof Map?t.delete(n):et(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):et(t)instanceof Map?t.set(e.newKey||n,r):et(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},_a=class{set(e,t){if(Sn(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Sn(e)?e.value:e}isRef(e){return Sn(e)||Xr(e)}};const ma="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function ya(){if(typeof window>"u"||!xr||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=typeof localStorage.getItem<"u"?localStorage.getItem(ma):null;return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}w.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??=[];const Ra=new Proxy(w.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Sa(e,t){Z.timelineLayersState[t.id]=!1,Ra.push({...e,descriptorId:t.id,appRecord:pn(t.app)})}w.__VUE_DEVTOOLS_KIT_INSPECTOR__??=[];const On=new Proxy(w.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),eo=De(()=>{Be.hooks.callHook(Pe.SEND_INSPECTOR_TO_CLIENT,to())});function Oa(e,t){On.push({options:e,descriptor:t,treeFilterPlaceholder:e.treeFilterPlaceholder??"Search tree...",stateFilterPlaceholder:e.stateFilterPlaceholder??"Search state...",treeFilter:"",selectedNodeId:"",appRecord:pn(t.app)}),eo()}function to(){return On.filter(e=>e.descriptor.app===z.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{const t=e.descriptor,n=e.options;return{id:n.id,label:n.label,logo:t.logo,icon:`custom-ic-baseline-${n?.icon?.replace(/_/g,"-")}`,packageName:t.packageName,homepage:t.homepage,pluginId:t.id}})}function bt(e,t){return On.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}let $=(function(e){return e.VISIT_COMPONENT_TREE="visitComponentTree",e.INSPECT_COMPONENT="inspectComponent",e.EDIT_COMPONENT_STATE="editComponentState",e.GET_INSPECTOR_TREE="getInspectorTree",e.GET_INSPECTOR_STATE="getInspectorState",e.EDIT_INSPECTOR_STATE="editInspectorState",e.INSPECT_TIMELINE_EVENT="inspectTimelineEvent",e.TIMELINE_CLEARED="timelineCleared",e.SET_PLUGIN_SETTINGS="setPluginSettings",e})({}),x=(function(e){return e.ADD_INSPECTOR="addInspector",e.SEND_INSPECTOR_TREE="sendInspectorTree",e.SEND_INSPECTOR_STATE="sendInspectorState",e.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",e.TIMELINE_LAYER_ADDED="timelineLayerAdded",e.TIMELINE_EVENT_ADDED="timelineEventAdded",e.GET_COMPONENT_INSTANCES="getComponentInstances",e.GET_COMPONENT_BOUNDS="getComponentBounds",e.GET_COMPONENT_NAME="getComponentName",e.COMPONENT_HIGHLIGHT="componentHighlight",e.COMPONENT_UNHIGHLIGHT="componentUnhighlight",e})({}),Pe=(function(e){return e.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",e.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",e.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",e.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",e.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",e.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",e.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",e.ROUTER_INFO_UPDATED="routerInfoUpdated",e})({});function wa(){const e=jr();e.hook(x.ADD_INSPECTOR,({inspector:r,plugin:o})=>{Oa(r,o.descriptor)});const t=De(async({inspectorId:r,plugin:o})=>{if(!r||!o?.descriptor?.app||Z.highPerfModeEnabled)return;const s=bt(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,filter:s?.treeFilter||"",rootNodes:[]};await new Promise(a=>{e.callHookWith(async u=>{await Promise.all(u.map(l=>l(i))),a()},$.GET_INSPECTOR_TREE)}),e.callHookWith(async a=>{await Promise.all(a.map(u=>u({inspectorId:r,rootNodes:i.rootNodes})))},Pe.SEND_INSPECTOR_TREE_TO_CLIENT)},120);e.hook(x.SEND_INSPECTOR_TREE,t);const n=De(async({inspectorId:r,plugin:o})=>{if(!r||!o?.descriptor?.app||Z.highPerfModeEnabled)return;const s=bt(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,nodeId:s?.selectedNodeId||"",state:null},a={currentTab:`custom-inspector:${r}`};i.nodeId&&await new Promise(u=>{e.callHookWith(async l=>{await Promise.all(l.map(h=>h(i,a))),u()},$.GET_INSPECTOR_STATE)}),e.callHookWith(async u=>{await Promise.all(u.map(l=>l({inspectorId:r,nodeId:i.nodeId,state:i.state})))},Pe.SEND_INSPECTOR_STATE_TO_CLIENT)},120);return e.hook(x.SEND_INSPECTOR_STATE,n),e.hook(x.CUSTOM_INSPECTOR_SELECT_NODE,({inspectorId:r,nodeId:o,plugin:s})=>{const i=bt(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook(x.TIMELINE_LAYER_ADDED,({options:r,plugin:o})=>{Sa(r,o.descriptor)}),e.hook(x.TIMELINE_EVENT_ADDED,({options:r,plugin:o})=>{Z.highPerfModeEnabled||!Z.timelineLayersState?.[o.descriptor.id]&&!["performance","component-event","keyboard","mouse"].includes(r.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(i=>i(r)))},Pe.SEND_TIMELINE_EVENT_TO_CLIENT)}),e.hook(x.GET_COMPONENT_INSTANCES,async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([i])=>i.split(":")[0]===s).map(([,i])=>i)}),e.hook(x.GET_COMPONENT_BOUNDS,async({instance:r})=>Te(r)),e.hook(x.GET_COMPONENT_NAME,({instance:r})=>wt(r)),e.hook(x.COMPONENT_HIGHLIGHT,({uid:r})=>{const o=z.value.instanceMap.get(r);o&&aa(o)}),e.hook(x.COMPONENT_UNHIGHLIGHT,()=>{Qr()}),e}w.__VUE_DEVTOOLS_KIT_APP_RECORDS__??=[],w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??={},w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??="",w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??=[],w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??=[];const Me="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Ta(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:ya()}}w[Me]??=Ta();const Pa=De(e=>{Be.hooks.callHook(Pe.DEVTOOLS_STATE_UPDATED,{state:e})});De((e,t)=>{Be.hooks.callHook(Pe.DEVTOOLS_CONNECTED_UPDATED,{state:e,oldState:t})});const It=new Proxy(w.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?w.__VUE_DEVTOOLS_KIT_APP_RECORDS__:w.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),z=new Proxy(w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function no(){Pa({...w[Me],appRecords:It.value,activeAppRecordId:z.id,tabs:w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Na(e){w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,no()}function ba(e){w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,no()}const Z=new Proxy(w[Me],{get(e,t){return t==="appRecords"?It:t==="activeAppRecordId"?z.id:t==="tabs"?w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:w[Me][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...w[Me]},e[t]=n,w[Me][t]=n,!0}});function Ia(e={}){const{file:t,host:n,baseUrl:r=window.location.origin,line:o=0,column:s=0}=e;if(t){if(n==="chrome-extension"){const i=t.replace(/\\/g,"\\\\"),a=window.VUE_DEVTOOLS_CONFIG?.openInEditorHost??"/";fetch(`${a}__open-in-editor?file=${encodeURI(t)}`).then(u=>{if(!u.ok){const l=`Opening component ${i} failed`;console.log(`%c${l}`,"color:red")}})}else if(Z.vitePluginDetected){const i=w.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__??r;w.__VUE_INSPECTOR__.openInEditor(i,t,o,s)}}}w.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??=[];const wn=new Proxy(w.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Tn(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Pn(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Aa(e){return(wn.find(t=>t[0].id===e&&!!t[0]?.settings)?.[0]??null)?.settings??null}function ro(e,t){const n=Pn(e);if(n){const r=localStorage.getItem(n);if(r)return JSON.parse(r)}return Tn(e?(wn.find(r=>r[0].id===e)?.[0]??null)?.settings??{}:t)}function va(e,t){const n=Pn(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Tn(t)))}function ka(e,t,n){const r=Pn(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),Be.hooks.callHookWith(a=>{a.forEach(u=>u({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},$.SET_PLUGIN_SETTINGS)}let Q=(function(e){return e.APP_INIT="app:init",e.APP_UNMOUNT="app:unmount",e.COMPONENT_UPDATED="component:updated",e.COMPONENT_ADDED="component:added",e.COMPONENT_REMOVED="component:removed",e.COMPONENT_EMIT="component:emit",e.PERFORMANCE_START="perf:start",e.PERFORMANCE_END="perf:end",e.ADD_ROUTE="router:add-route",e.REMOVE_ROUTE="router:remove-route",e.RENDER_TRACKED="render:tracked",e.RENDER_TRIGGERED="render:triggered",e.APP_CONNECTED="app:connected",e.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",e})({});const X=w.__VUE_DEVTOOLS_HOOK??=jr(),oo={on:{vueAppInit(e){X.hook(Q.APP_INIT,e)},vueAppUnmount(e){X.hook(Q.APP_UNMOUNT,e)},vueAppConnected(e){X.hook(Q.APP_CONNECTED,e)},componentAdded(e){return X.hook(Q.COMPONENT_ADDED,e)},componentEmit(e){return X.hook(Q.COMPONENT_EMIT,e)},componentUpdated(e){return X.hook(Q.COMPONENT_UPDATED,e)},componentRemoved(e){return X.hook(Q.COMPONENT_REMOVED,e)},setupDevtoolsPlugin(e){X.hook(Q.SETUP_DEVTOOLS_PLUGIN,e)},perfStart(e){return X.hook(Q.PERFORMANCE_START,e)},perfEnd(e){return X.hook(Q.PERFORMANCE_END,e)}},setupDevToolsPlugin(e,t){return X.callHook(Q.SETUP_DEVTOOLS_PLUGIN,e,t)}};var Ca=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook($.VISIT_COMPONENT_TREE,e)},inspectComponent:e=>{this.hooks.hook($.INSPECT_COMPONENT,e)},editComponentState:e=>{this.hooks.hook($.EDIT_COMPONENT_STATE,e)},getInspectorTree:e=>{this.hooks.hook($.GET_INSPECTOR_TREE,e)},getInspectorState:e=>{this.hooks.hook($.GET_INSPECTOR_STATE,e)},editInspectorState:e=>{this.hooks.hook($.EDIT_INSPECTOR_STATE,e)},inspectTimelineEvent:e=>{this.hooks.hook($.INSPECT_TIMELINE_EVENT,e)},timelineCleared:e=>{this.hooks.hook($.TIMELINE_CLEARED,e)},setPluginSettings:e=>{this.hooks.hook($.SET_PLUGIN_SETTINGS,e)}}}notifyComponentUpdate(e){if(Z.highPerfModeEnabled)return;const t=to().find(n=>n.packageName===this.plugin.descriptor.packageName);if(t?.id){if(e){const n=[e.appContext.app,e.uid,e.parent?.uid,e];X.callHook(Q.COMPONENT_UPDATED,...n)}else X.callHook(Q.COMPONENT_UPDATED);this.hooks.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:t.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook(x.ADD_INSPECTOR,{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&va(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Z.highPerfModeEnabled||this.hooks.callHook(x.SEND_INSPECTOR_TREE,{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Z.highPerfModeEnabled||this.hooks.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook(x.CUSTOM_INSPECTOR_SELECT_NODE,{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook($.VISIT_COMPONENT_TREE,e)}now(){return Z.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook(x.TIMELINE_LAYER_ADDED,{options:e,plugin:this.plugin})}addTimelineEvent(e){Z.highPerfModeEnabled||this.hooks.callHook(x.TIMELINE_EVENT_ADDED,{options:e,plugin:this.plugin})}getSettings(e){return ro(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook(x.GET_COMPONENT_INSTANCES,{app:e})}getComponentBounds(e){return this.hooks.callHook(x.GET_COMPONENT_BOUNDS,{instance:e})}getComponentName(e){return this.hooks.callHook(x.GET_COMPONENT_NAME,{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook(x.COMPONENT_HIGHLIGHT,{uid:t})}unhighlightElement(){return this.hooks.callHook(x.COMPONENT_UNHIGHLIGHT)}};const Ua=Ca,La="__vue_devtool_undefined__",Va="__vue_devtool_infinity__",Da="__vue_devtool_negative_infinity__",xa="__vue_devtool_nan__",Ma={[La]:"undefined",[xa]:"NaN",[Va]:"Infinity",[Da]:"-Infinity"};Object.entries(Ma).reduce((e,[t,n])=>(e[n]=t,e),{}),w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??=new Set;function Ba(e,t){return oo.setupDevToolsPlugin(e,t)}function ja(e,t){const[n,r]=e;if(n.app!==t)return;const o=new Ua({plugin:{setupFn:r,descriptor:n},ctx:Be});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function so(e,t){w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Z.highPerfModeEnabled&&!t?.inspectingComponent||(w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),wn.forEach(n=>{ja(n,e)}))}const At="__VUE_DEVTOOLS_ROUTER__",tt="__VUE_DEVTOOLS_ROUTER_INFO__";w[tt]??={currentRoute:null,routes:[]},w[At]??={},new Proxy(w[tt],{get(e,t){return w[tt][t]}}),new Proxy(w[At],{get(e,t){if(t==="value")return w[At]}});function Ha(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Nn(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o?.length&&(o=Nn(o)),{path:n,name:r,children:o,meta:s}})}function Za(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:u}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:u,matched:Nn(i)}}return e}function $a(e,t){function n(){const r=e.app?.config.globalProperties.$router,o=Za(r?.currentRoute.value),s=Nn(Ha(r)),i=console.warn;console.warn=()=>{},w[tt]={currentRoute:o?Mr(o):{},routes:Mr(s)},w[At]=r,console.warn=i}n(),oo.on.componentUpdated(De(()=>{t.value?.app===e.app&&(n(),!Z.highPerfModeEnabled&&Be.hooks.callHook(Pe.ROUTER_INFO_UPDATED,{state:w[tt]}))},200))}function Ga(e){return{async getInspectorTree(t){const n={...t,app:z.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},$.GET_INSPECTOR_TREE)}),n.rootNodes},async getInspectorState(t){const n={...t,app:z.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},$.GET_INSPECTOR_STATE)}),n.state},editInspectorState(t){const n=new ga,r={...t,app:z.value.app,set:(o,s=t.path,i=t.state.value,a)=>{n.set(o,s,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},$.EDIT_INSPECTOR_STATE)},sendInspectorState(t){const n=bt(t);e.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return fa()},cancelInspectComponentInspector(){return ua()},getComponentRenderCode(t){const n=hn(z.value,t);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return la({id:t})},openInEditor:Ia,getVueInspector:ha,toggleApp(t,n){const r=It.value.find(o=>o.id===t);r&&(ba(t),Na(r),$a(r,z),eo(),so(r.app,n))},inspectDOM(t){const n=hn(z.value,t);if(n){const[r]=En(n);r&&(w.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){ka(t,n,r)},getPluginSettings(t){return{options:Aa(t),values:ro(t)}}}}w.__VUE_DEVTOOLS_ENV__??={vitePluginDetected:!1};const io=wa();w.__VUE_DEVTOOLS_KIT_CONTEXT__??={hooks:io,get state(){return{...Z,activeAppRecordId:z.id,activeAppRecord:z.value,appRecords:It.value}},api:Ga(io)};const Be=w.__VUE_DEVTOOLS_KIT_CONTEXT__;var qa=$r({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js":((e,t)=>{(function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"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","ⓐ":"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","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),l=[";","?",":","@","&","=","+","$",","].join(""),h=[".","!","~","*","'","(",")"].join(""),c=function(_,m){var O="-",p="",g="",I=!0,A={},P,S,N,C,U,B,M,j,G,q,k,Ne,ne,he,oe="";if(typeof _!="string")return"";if(typeof m=="string"&&(O=m),M=a.en,j=i.en,typeof m=="object"){P=m.maintainCase||!1,A=m.custom&&typeof m.custom=="object"?m.custom:A,N=+m.truncate>1&&m.truncate||!1,C=m.uric||!1,U=m.uricNoSlash||!1,B=m.mark||!1,I=!(m.symbols===!1||m.lang===!1),O=m.separator||O,C&&(oe+=u),U&&(oe+=l),B&&(oe+=h),M=m.lang&&a[m.lang]&&I?a[m.lang]:I?a.en:{},j=m.lang&&i[m.lang]?i[m.lang]:m.lang===!1||m.lang===!0?{}:i.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(ee){A[ee+""]=ee+""}),S=!0):S=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(ee){A[ee+""]=ee+""}),Object.keys(A).forEach(function(ee){var be;ee.length>1?be=new RegExp("\\b"+f(ee)+"\\b","gi"):be=new RegExp(f(ee),"gi"),_=_.replace(be,A[ee])});for(k in A)oe+=k}for(oe+=O,oe=f(oe),_=_.replace(/(^\s+|\s+$)/g,""),ne=!1,he=!1,q=0,Ne=_.length;q<Ne;q++)k=_[q],d(k,A)?ne=!1:j[k]?(k=ne&&j[k].match(/[A-Za-z0-9]/)?" "+j[k]:j[k],ne=!1):k in r?(q+1<Ne&&o.indexOf(_[q+1])>=0?(g+=k,k=""):he===!0?(k=s[g]+r[k],g=""):k=ne&&r[k].match(/[A-Za-z0-9]/)?" "+r[k]:r[k],ne=!1,he=!1):k in s?(g+=k,k="",q===Ne-1&&(k=s[g]),he=!0):M[k]&&!(C&&u.indexOf(k)!==-1)&&!(U&&l.indexOf(k)!==-1)?(k=ne||p.substr(-1).match(/[A-Za-z0-9]/)?O+M[k]:M[k],k+=_[q+1]!==void 0&&_[q+1].match(/[A-Za-z0-9]/)?O:"",ne=!0):(he===!0?(k=s[g]+k,g="",he=!1):ne&&(/[A-Za-z0-9]/.test(k)||p.substr(-1).match(/A-Za-z0-9]/))&&(k=" "+k),ne=!1),p+=k.replace(new RegExp("[^\\w\\s"+oe+"_-]","g"),O);return S&&(p=p.replace(/(\w)(\S*)/g,function(ee,be,Ut){var Ie=be.toUpperCase()+(Ut!==null?Ut:"");return Object.keys(A).indexOf(Ie.toLowerCase())<0?Ie:Ie.toLowerCase()})),p=p.replace(/\s+/g,O).replace(new RegExp("\\"+O+"+","g"),O).replace(new RegExp("(^\\"+O+"+|\\"+O+"+$)","g"),""),N&&p.length>N&&(G=p.charAt(N)===O,p=p.slice(0,N),G||(p=p.slice(0,p.lastIndexOf(O)))),!P&&!S&&(p=p.toLowerCase()),p},E=function(_){return function(O){return c(O,_)}},f=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(R,_){for(var m in _)if(_[m]===R)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=E;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=E}catch{}})(e)})}),Fa=$r({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js":((e,t)=>{t.exports=qa()})});Fa(),w.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__??={id:0,appIds:new Set};function za(e){Z.highPerfModeEnabled=e??!Z.highPerfModeEnabled,!e&&z.value&&so(z.value.app)}function Wa(e){Z.devtoolsClientDetected={...Z.devtoolsClientDetected,...e},za(!Object.values(Z.devtoolsClientDetected).some(Boolean))}w.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??=Wa;var Ja=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},ao=class{constructor(e){this.generateIdentifier=e,this.kv=new Ja}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Ka=class extends ao{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function Ya(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Qa(e,t){const n=Ya(e);if("find"in n)return n.find(t);const r=n;for(let o=0;o<r.length;o++){const s=r[o];if(t(s))return s}}function je(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function vt(e,t){return e.indexOf(t)!==-1}function co(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var Xa=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Qa(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};const ec=e=>Object.prototype.toString.call(e).slice(8,-1),uo=e=>typeof e>"u",tc=e=>e===null,nt=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,bn=e=>nt(e)&&Object.keys(e).length===0,pe=e=>Array.isArray(e),nc=e=>typeof e=="string",rc=e=>typeof e=="number"&&!isNaN(e),oc=e=>typeof e=="boolean",sc=e=>e instanceof RegExp,rt=e=>e instanceof Map,ot=e=>e instanceof Set,fo=e=>ec(e)==="Symbol",ic=e=>e instanceof Date&&!isNaN(e.valueOf()),ac=e=>e instanceof Error,lo=e=>typeof e=="number"&&isNaN(e),cc=e=>oc(e)||tc(e)||uo(e)||rc(e)||nc(e)||fo(e),uc=e=>typeof e=="bigint",fc=e=>e===1/0||e===-1/0,lc=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),dc=e=>e instanceof URL,po=e=>e.replace(/\./g,"\\."),In=e=>e.map(String).map(po).join("."),st=e=>{const t=[];let n="";for(let o=0;o<e.length;o++){let s=e.charAt(o);if(s==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(s==="."){t.push(n),n="";continue}n+=s}const r=n;return t.push(r),t};function ie(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}const ho=[ie(uo,"undefined",()=>null,()=>{}),ie(uc,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),ie(ic,"Date",e=>e.toISOString(),e=>new Date(e)),ie(ac,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),ie(sc,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),ie(ot,"set",e=>[...e.values()],e=>new Set(e)),ie(rt,"map",e=>[...e.entries()],e=>new Map(e)),ie(e=>lo(e)||fc(e),"number",e=>lo(e)?"NaN":e>0?"Infinity":"-Infinity",Number),ie(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),ie(dc,"URL",e=>e.toString(),e=>new URL(e))];function kt(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}const Eo=kt((e,t)=>fo(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),pc=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),go=kt(lc,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=pc[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function _o(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}const mo=kt(_o,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),yo=kt((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),hc=[mo,Eo,yo,go],Ro=(e,t)=>{const n=co(hc,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=co(ho,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},So={};ho.forEach(e=>{So[e.annotation]=e});const Ec=(e,t,n)=>{if(pe(t))switch(t[0]){case"symbol":return Eo.untransform(e,t,n);case"class":return mo.untransform(e,t,n);case"custom":return yo.untransform(e,t,n);case"typed-array":return go.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=So[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},He=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Oo(e){if(vt(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(vt(e,"prototype"))throw new Error("prototype is not allowed as a property");if(vt(e,"constructor"))throw new Error("constructor is not allowed as a property")}const gc=(e,t)=>{Oo(t);for(let n=0;n<t.length;n++){const r=t[n];if(ot(e))e=He(e,+r);else if(rt(e)){const o=+r,s=+t[++n]==0?"key":"value",i=He(e,o);switch(s){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[r]}return e},An=(e,t,n)=>{if(Oo(t),t.length===0)return n(e);let r=e;for(let s=0;s<t.length-1;s++){const i=t[s];if(pe(r)){const a=+i;r=r[a]}else if(nt(r))r=r[i];else if(ot(r)){const a=+i;r=He(r,a)}else if(rt(r)){if(s===t.length-2)break;const a=+i,u=+t[++s]==0?"key":"value",l=He(r,a);switch(u){case"key":r=l;break;case"value":r=r.get(l);break}}}const o=t[t.length-1];if(pe(r)?r[+o]=n(r[+o]):nt(r)&&(r[o]=n(r[o])),ot(r)){const s=He(r,+o),i=n(s);s!==i&&(r.delete(s),r.add(i))}if(rt(r)){const s=+t[t.length-2],i=He(r,s);switch(+o==0?"key":"value"){case"key":{const a=n(i);r.set(a,r.get(i)),a!==i&&r.delete(i);break}case"value":r.set(i,n(r.get(i)));break}}return e};function vn(e,t,n=[]){if(!e)return;if(!pe(e)){je(e,(s,i)=>vn(s,t,[...n,...st(i)]));return}const[r,o]=e;o&&je(o,(s,i)=>{vn(s,t,[...n,...st(i)])}),t(r,n)}function _c(e,t,n){return vn(t,(r,o)=>{e=An(e,o,s=>Ec(s,r,n))}),e}function mc(e,t){function n(r,o){const s=gc(e,st(o));r.map(st).forEach(i=>{e=An(e,i,()=>s)})}if(pe(t)){const[r,o]=t;r.forEach(s=>{e=An(e,st(s),()=>e)}),o&&je(o,n)}else je(t,n);return e}const yc=(e,t)=>nt(e)||pe(e)||rt(e)||ot(e)||_o(e,t);function Rc(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Sc(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,u)=>a.length-u.length));const[s,...i]=o;s.length===0?r=i.map(In):n[In(s)]=i.map(In)}),r?bn(n)?[r]:[r,n]:bn(n)?void 0:n}const wo=(e,t,n,r,o=[],s=[],i=new Map)=>{const a=cc(e);if(!a){Rc(e,o,t);const f=i.get(e);if(f)return r?{transformedValue:null}:f}if(!yc(e,n)){const f=Ro(e,n),d=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:e};return a||i.set(e,d),d}if(vt(s,e))return{transformedValue:null};const u=Ro(e,n),l=u?.value??e,h=pe(l)?[]:{},c={};je(l,(f,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")throw new Error(`Detected property ${d}. This is a prototype pollution risk, please remove it from your object.`);const R=wo(f,t,n,r,[...o,d],[...s,e],i);h[d]=R.transformedValue,pe(R.annotations)?c[d]=R.annotations:nt(R.annotations)&&je(R.annotations,(_,m)=>{c[po(d)+"."+m]=_})});const E=bn(c)?{transformedValue:h,annotations:u?[u.type]:void 0}:{transformedValue:h,annotations:u?[u.type,c]:c};return a||i.set(e,E),E};function To(e){return Object.prototype.toString.call(e).slice(8,-1)}function Po(e){return To(e)==="Array"}function Oc(e){if(To(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function wc(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function kn(e,t={}){if(Po(e))return e.map(o=>kn(o,t));if(!Oc(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(Po(t.props)&&!t.props.includes(s))return o;const i=e[s];return wc(o,s,kn(i,t),e,t.nonenumerable),o},{})}var V=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Ka,this.symbolRegistry=new ao(t=>t.description??""),this.customTransformerRegistry=new Xa,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=wo(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=Sc(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=kn(t);return n?.values&&(r=_c(r,n.values,this)),n?.referentialEqualities&&(r=mc(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};V.defaultInstance=new V,V.serialize=V.defaultInstance.serialize.bind(V.defaultInstance),V.deserialize=V.defaultInstance.deserialize.bind(V.defaultInstance),V.stringify=V.defaultInstance.stringify.bind(V.defaultInstance),V.parse=V.defaultInstance.parse.bind(V.defaultInstance),V.registerClass=V.defaultInstance.registerClass.bind(V.defaultInstance),V.registerSymbol=V.defaultInstance.registerSymbol.bind(V.defaultInstance),V.registerCustom=V.defaultInstance.registerCustom.bind(V.defaultInstance),V.allowErrorProps=V.defaultInstance.allowErrorProps.bind(V.defaultInstance),w.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??=[],w.__VUE_DEVTOOLS_KIT_RPC_CLIENT__??=null,w.__VUE_DEVTOOLS_KIT_RPC_SERVER__??=null,w.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??=null,w.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??=null,w.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??=null;const Ct={template:"<div>This is component</div>"},Cn=Re({name:"parentA",path:"/parentA/[paramA]"}),No=Re({parent:Cn,name:"parentA.childA",path:"/childA/[?paramB]"}),Tc=Re({parent:Cn,name:"parentA.childB",path:"/childB/[paramD]",component:Ct}),Pc=Re({parent:No,name:"parentA.childA.grandChildA",path:"/[paramC]",component:Ct});Re({name:"parentB",path:"/parentB",component:Ct}),Re({name:"parentC",path:"/",component:Ct});function Nc(e,t){return t!=="1"?`${e} ${t}`:e}const bc=({route:e})=>!!e.name,Ic=({route:e,payload:t})=>{if(!t.filter)return!0;if(!le(e))return!1;const n=t.filter.toLowerCase();return!!(e.name.toLowerCase().includes(n)||e.schema.path.value.toLowerCase().includes(n))},Ac=e=>bc(e)&&Ic(e),vc=it(),kc=2282478,Cc=2278750,Uc=1483594;function Lc(e,t={match:!1,exactMatch:!1}){const n=[];return e.name&&n.push({label:e.name,textColor:0,backgroundColor:kc}),t.match&&n.push({label:"match",textColor:0,backgroundColor:Cc}),t.exactMatch&&n.push({label:"exact-match",textColor:0,backgroundColor:Uc}),{id:e.id,label:e.name,tags:n}}function Vc(e,t){if(!t||!("id"in t)||!("matches"in t))return{match:!1,exactMatch:!1};const n=t.id===e.id;return{match:t.matches.some(o=>o.id===e.id),exactMatch:n}}function Dc(e){const t=[];return le(e)&&(t.push({editable:!1,key:"name",value:e.name}),t.push({editable:!1,key:"path",value:e.schema.path.value}),t.push({editable:!1,key:"query",value:e.schema.query.value}),t.push({editable:!1,key:"hash",value:e.schema.hash.value}),t.push({editable:!1,key:"meta",value:e.meta})),t}function xc({router:e,app:t,routes:n}){if(!St()||e.hasDevtools)return;e.hasDevtools=!0;const r=vc(),o=new Map(n.map(a=>[a.id,a])),s=`kitbag-router-routes.${r}`,i=`kitbag-router.${r}`;Ba({id:i,label:"Kitbag Router",packageName:"@kitbag/router",homepage:"https://router.kitbag.dev/",componentStateTypes:["Routing"],logo:"https://kitbag.dev/kitbag-logo-circle.svg",app:t},a=>{a.addInspector({id:s,label:Nc("Routes",r),treeFilterPlaceholder:"Search routes"}),a.on.getInspectorTree(u=>{u.app!==t||u.inspectorId!==s||(u.rootNodes=n.filter(l=>Ac({route:l,payload:u})).map(l=>{const h=Vc(l,e.route);return Lc(l,h)}))}),y.watch(()=>e.route,()=>{a.sendInspectorTree(s)},{deep:!0,immediate:!1}),a.on.getInspectorState(u=>{if(u.app!==t||u.inspectorId!==s)return;const l=o.get(u.nodeId);l&&(u.state={options:Dc(l)})}),a.sendInspectorTree(s),a.sendInspectorState(s)})}function Mc(e,t,n={}){const{query:r,hash:o}=ue(Fe(t,n));for(const s of e){if(!Cr(s))continue;const{success:i,params:a}=s.tryParse(t);if(i)return kr(s,a,{...n,query:r,hash:o})}}const bo=/^(\/.+?)\/+$/;function Bc(e){const{path:t,...n}=ue(e);return nn({...n,path:t.replace(bo,"$1")})}function jc(e){const{path:t}=ue(e);return bo.test(t)}function Hc(e,t,n=[]){const o=t?.isGlobalRouter??!0?Lr:Symbol(),s=[...n.flatMap(b=>b.rejections),...t?.rejections??[]],i=t?.removeTrailingSlashes??!0,{routes:a,getRouteByName:u}=di(e,n,t?.base),l=vs();l.addGlobalRouteHooks(gi(n));const h=it(),c=Xs(),E=Ri(o),f=ci(),d=ei({mode:t?.historyMode,listener:({location:b})=>{const D=we(b);_(D,{state:b.state,replace:!0})}});function R(b,D={}){const K=!q(b),Y=a.filter(H=>H.isRelative===K);return Mc(Y,b,D)}async function _(b,D={}){if(jc(b)&&i){const ae=Bc(b);if(te(ae))return g(ae,D)}const K=h();d.stopListening();const Y=R(b,D)??S("NotFound"),H=be(K),F=await l.runBeforeRouteHooks({to:Y,from:H});switch(F.status){case"ABORT":return;case"PUSH":d.update(b,D),await p(...F.to);return;case"REJECT":d.update(b,D),A(F.type);break;case"SUCCESS":d.update(b,D),A(null);break;default:throw new Error(`Switch is not exhaustive for before hook response status: ${JSON.stringify(F)}`)}q(b)||m(K,Y,H);const Ze=await l.runAfterRouteHooks({to:Y,from:H});switch(Ze.status){case"PUSH":await p(...Ze.to);break;case"REJECT":A(Ze.type);break;case"SUCCESS":break;default:const ae=Ze;throw new Error(`Switch is not exhaustive for after hook response status: ${JSON.stringify(ae)}`)}d.startListening()}function m(b,D,K){const Y=b;c.setProps(D).then(H=>{if(Y===b)switch(H.status){case"SUCCESS":break;case"PUSH":p(...H.to);break;case"REJECT":A(H.type);break;default:const F=H;throw new Error(`Switch is not exhaustive for prop store response status: ${JSON.stringify(F)}`)}}).catch(H=>{try{l.runErrorHooks(H,{to:D,from:K,source:"props"})}catch(F){if(F instanceof fe){p(...F.response.to);return}if(F instanceof Se){A(F.response.type);return}throw F}}),B(D)}const O=(b,D={},K={})=>{const Y=u(b);if(!Y)throw new ui(b);return kr(Y,D,K)},p=(b,D,K)=>{if(te(b)){const ae={...D},Lt=Fe(b,{query:ae.query,hash:ae.hash});return _(Lt,ae)}if(typeof b=="string"){const{replace:ae,...Lt}={...K},Xc={...D},Un=O(b,Xc,Lt),eu=vr({...Un.matched.state},{...Un.state,...Lt.state});return _(Un.href,{replace:ae,state:eu})}const{replace:Y,...H}={...D},F=vr({...b.matched.state},{...b.state,...H.state}),Ze=Fe(b.href,{query:H.query,hash:H.hash});return _(Ze,{replace:Y,state:F})},g=(b,D,K)=>{if(te(b)){const H={...D,replace:!0};return p(b,H)}if(typeof b=="string"){const H={...K,replace:!0},F={...D};return p(b,F,H)}const Y={...D,replace:!0};return p(b,Y)},I=b=>{A(b)},{setRejection:A,rejection:P,getRejectionRoute:S}=ni(s),N=S("NotFound"),{currentRoute:C,routerRoute:U,updateRoute:B}=Ys(o,N,p),M=oi(t?.initialUrl),j=d.location.state,{host:G}=ue(M),q=Qs(G);let k=!1;const Ne=y.ref(!1),{promise:ne,resolve:he}=Promise.withResolvers();async function oe(){if(k)return ne;k=!0,Ho(a)&&await Zo(),await _(M,{replace:!0,state:j}),d.startListening(),he(),Ne.value=!0}function ee(){d.stopListening()}function be(b){return Uo(b)?null:{...C}}function Ut(b){l.setVueApp(b),c.setVueApp(b);const D=un(o),K=Rr(o);b.component("RouterView",D),b.component("RouterLink",K),b.provide(lr(o),P),b.provide(ur(o),l),b.provide(pr(o),c),b.provide(fr(o),E),b.provide(_r,f),b.provide(o,Ie),xc({router:Ie,app:b,routes:a}),oe()}const Ie={route:U,resolve:O,find:R,push:p,replace:g,reject:I,refresh:d.refresh,forward:d.forward,back:d.back,go:d.go,install:Ut,isExternal:q,onBeforeRouteEnter:l.onBeforeRouteEnter,onBeforeRouteUpdate:l.onBeforeRouteUpdate,onBeforeRouteLeave:l.onBeforeRouteLeave,onAfterRouteEnter:l.onAfterRouteEnter,onAfterRouteUpdate:l.onAfterRouteUpdate,onAfterRouteLeave:l.onAfterRouteLeave,onError:l.onError,prefetch:t?.prefetch,start:oe,started:Ne,stop:ee,key:o,hasDevtools:!1};return Ie}const re=Sr(Lr),Zc=re.onBeforeRouteLeave,$c=re.onBeforeRouteUpdate,Gc=re.onAfterRouteLeave,qc=re.onAfterRouteUpdate,Fc=re.isRoute,zc=re.RouterView,Wc=re.RouterLink,Jc=re.useRoute,Kc=re.useRouter,Yc=re.useQueryValue,Qc=re.useLink;v.DuplicateParamsError=Vn,v.IS_URL_SYMBOL=Ht,v.MetaPropertyConflict=Ln,v.RouterLink=Wc,v.RouterNotInstalledError=Ee,v.RouterView=zc,v.UseRouteInvalidError=xn,v.arrayOf=Fs,v.asUrlString=Dn,v.combineRoutes=jt,v.createExternalRoute=ws,v.createParam=jn,v.createRejection=Os,v.createRoute=Re,v.createRouter=Hc,v.createRouterAssets=Sr,v.createRouterPlugin=Gs,v.createUrl=ye,v.isRoute=Fc,v.isUrlString=te,v.isUrlWithSchema=le,v.isWithComponent=Dt,v.isWithComponentProps=xt,v.isWithComponentPropsRecord=Bt,v.isWithComponents=Mt,v.isWithParent=Vt,v.onAfterRouteLeave=Gc,v.onAfterRouteUpdate=qc,v.onBeforeRouteLeave=Zc,v.onBeforeRouteUpdate=$c,v.tupleOf=Ws,v.unionOf=Or,v.useLink=Qc,v.useQueryValue=Yc,v.useRoute=Jc,v.useRouter=Kc,v.withDefault=Mo,v.withParams=qe,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
|
|
4
|
+
`)}return _}function l(E,f,d){return[E,f,d.id,JSON.stringify(d.params)].join("-")}function h(E){return xt(E)?[{id:E.id,name:"default",props:E.props}]:Bt(E)?Object.entries(E.props).map(([f,d])=>({id:E.id,name:f,props:d})):[]}function c(E){for(const f of n.keys())E.includes(f)||n.delete(f)}return{getPrefetchProps:r,setPrefetchProps:o,getProps:i,setProps:s,setVueApp:e}}function St(){return typeof window<"u"&&typeof window.document<"u"}function ei({mode:e,listener:t}){const n=ti(e),r=(u,l)=>{if(l?.replace){n.replace(u,l.state);return}n.push(u,l?.state)},o=()=>{const u=we(n.location);n.replace(u)};let s;return{...n,update:r,refresh:o,startListening:()=>{s?.(),s=n.listen(t)},stopListening:()=>{s?.()}}}function ti(e="auto"){switch(e){case"auto":return St()?Pr():Nr();case"browser":return Pr();case"memory":return Nr();case"hash":return Ks();default:const t=e;throw new Error(`Switch is not exhaustive for mode: ${t}`)}}function Ar(e){const t=new URLSearchParams(e);return{get:(...n)=>t.get(...n),getAll:(...n)=>t.getAll(...n),set:(...n)=>{t.set(...n)},append:(...n)=>{t.append(...n)},delete:(...n)=>{t.delete(...n)},toString:(...n)=>t.toString(...n),forEach:(...n)=>{t.forEach(...n)},entries:(...n)=>t.entries(...n),keys:(...n)=>t.keys(...n),values:(...n)=>t.values(...n),has:(...n)=>t.has(...n),size:t.size,sort:()=>{t.sort()},[Symbol.iterator]:()=>t[Symbol.iterator]()}}function ni(e){const t=s=>{const i=e.find(a=>a.type===s);return y.markRaw(i?.component??sr(s))},n=s=>{const i=y.markRaw(t(s)),a={id:Zt(),component:i,meta:{},state:{}};return{id:a.id,matched:a,matches:[a],hooks:[],name:s,query:Ar(""),params:{},state:{},href:"/",hash:""}},r=s=>{if(!s){o.value=null;return}const i=t(s);o.value={type:s,component:i}},o=y.ref(null);return{setRejection:r,rejection:o,getRejectionRoute:n}}class ri extends Error{constructor(){super("initialUrl must be set if window.location is unavailable")}}function oi(e){if(e)return e;if(St())return window.location.toString();throw new ri}function vr(e){return!!e&&typeof e=="object"}const Ot=!0;function si(e,t,n){if(vr(e)&&t in e){const r=e[t];return typeof r=="string"?me(r,n,Ot):r}return me(void 0,n,Ot)}function ii(e,t){const n={};for(const[r,o]of Object.entries(e)){const s=si(t,r,o);n[r]=s}return n}function ai(e,t,n){if(vr(e)&&t in e){const r=e[t];return ce(r,n,Ot)}return ce(void 0,n,Ot)}const kr=(e,t)=>{const n={};for(const[r,o]of Object.entries(e)){const s=ai(t,r,o);n[r]=s}return n};function ci(){const e=y.reactive(new Map),t=St()?i():null,n=a=>{e.set(a,!1),t?.observe(a)},r=a=>{e.delete(a),t?.unobserve(a)},o=()=>{t?.disconnect()},s=a=>e.get(a)??!1;function i(){return new IntersectionObserver(a=>{a.forEach(u=>{e.set(u.target,u.isIntersecting)})})}return{observe:n,unobserve:r,disconnect:o,isElementVisible:s}}class ui extends Error{constructor(t){super(`Route not found: "${t}"`)}}function Cr(e,t={},n={}){const r=e.stringify(t),o=Fe(r,{query:new URLSearchParams(n.query),hash:n.hash}),{query:s,hash:i}=ue(o);return{id:e.id,matched:e.matched,matches:e.matches,name:e.name,hooks:e.hooks,query:Ar(s),state:ii(e.state,n.state),hash:i,params:t,href:o}}class fi extends Error{constructor(t){super(`Invalid Name "${t}": Router does not support multiple routes with the same name. All name names must be unique.`)}}function Ur(e){return"name"in e&&se(e.name)}function li(e,t){return se(t)?le(e)&&e.schema.path.value==="/"?{...e,...ye({path:t})}:{...e,...an(ye({path:t}),e)}:e}function di(e,t=[],n){const r=new Map,o=[...e,...t.map(a=>a.routes)];function s(a){if(!Ur(a))return;const u=r.get(a.name);if(u&&u.id!==a.id)throw new fi(a.name);if(!(u&&u.id===a.id)){r.set(a.name,li(a,n));for(const l of a.context)pi(l)&&s(l)}}function i(a){for(const u of a)s(u)}for(const a of o){if(hi(a)){i(a);continue}s(a)}return{routes:Array.from(r.values()).sort(Ei),getRouteByName:a=>r.get(a)}}function pi(e){return"id"in e}function hi(e){return Array.isArray(e)}function Ei(e,t){return t.depth-e.depth}function gi(e=[]){const t=new ge;return e.forEach(n=>{n.hooks.onBeforeRouteEnter.forEach(r=>t.onBeforeRouteEnter.add(r)),n.hooks.onBeforeRouteUpdate.forEach(r=>t.onBeforeRouteUpdate.add(r)),n.hooks.onBeforeRouteLeave.forEach(r=>t.onBeforeRouteLeave.add(r)),n.hooks.onAfterRouteEnter.forEach(r=>t.onAfterRouteEnter.add(r)),n.hooks.onAfterRouteUpdate.forEach(r=>t.onAfterRouteUpdate.add(r)),n.hooks.onAfterRouteLeave.forEach(r=>t.onAfterRouteLeave.add(r))}),t}function _i(e,{match:t,name:n,component:r}){const o=Er(e),s=gt(e);return y.defineComponent({name:"PropsWrapper",expose:[],setup(){const i=y.getCurrentInstance(),a=o(),u=s();return()=>{const l=a.getProps(t.id,n,u);return l instanceof Error?"":zt(l)?i?.suspense?y.h(yi,{component:r,props:l}):y.h(mi,{component:r,props:l}):y.h(r,l)}}})}const mi=y.defineComponent(e=>{const t=y.ref();return y.watch(()=>e.props,async n=>{t.value=await n},{immediate:!0,deep:!0}),()=>t.value instanceof Error?"":t.value?y.h(e.component,t.value):""},{props:["component","props"]}),yi=y.defineComponent(async e=>{const t=y.ref();return t.value=await e.props,y.watch(()=>t.value,async n=>{t.value=await n},{deep:!0}),()=>t.value instanceof Error?"":t.value?y.h(e.component,t.value):""},{props:["component","props"]});function Ri(e){const t=new Map;return{getRouteComponents:r=>{const o=t.get(r.id);if(o)return o;const s=Si(e,r);return t.set(r.id,s),s}}}function Si(e,t){const n=un(e);return Mt(t)?Lr(e,t,t.components):Dt(t)?Lr(e,t,{default:t.component}):{default:n}}function Lr(e,t,n){return Object.fromEntries(Object.entries(n).map(([r,o])=>[r,_i(e,{match:t,name:r,component:o})]))}const Vr=Symbol();var Oi=Object.create,Dr=Object.defineProperty,wi=Object.getOwnPropertyDescriptor,xr=Object.getOwnPropertyNames,Ti=Object.getPrototypeOf,Pi=Object.prototype.hasOwnProperty,Ni=(e,t)=>function(){return t||(0,e[xr(e)[0]])((t={exports:{}}).exports,t),t.exports},bi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=xr(t),s=0,i=o.length,a;s<i;s++)a=o[s],!Pi.call(e,a)&&a!==n&&Dr(e,a,{get:(u=>t[u]).bind(null,a),enumerable:!(r=wi(t,a))||r.enumerable});return e},Ii=(e,t,n)=>(n=e!=null?Oi(Ti(e)):{},bi(Dr(n,"default",{value:e,enumerable:!0}),e));const Mr=typeof navigator<"u",w=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof w.chrome<"u"&&w.chrome.devtools,Mr&&(w.self,w.top),typeof navigator<"u"&&navigator.userAgent?.toLowerCase().includes("electron");var Ai=Ni({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js":((e,t)=>{t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,c=>new Date(c)),i.set(Map,(c,E)=>new Map(u(Array.from(c),E))),i.set(Set,(c,E)=>new Set(u(Array.from(c),E))),s.constructorHandlers)for(const c of s.constructorHandlers)i.set(c[0],c[1]);let a=null;return s.proto?h:l;function u(c,E){const f=Object.keys(c),d=new Array(f.length);for(let R=0;R<f.length;R++){const _=f[R],m=c[_];typeof m!="object"||m===null?d[_]=m:m.constructor!==Object&&(a=i.get(m.constructor))?d[_]=a(m,E):ArrayBuffer.isView(m)?d[_]=n(m):d[_]=E(m)}return d}function l(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,l);if(c.constructor!==Object&&(a=i.get(c.constructor)))return a(c,l);const E={};for(const f in c){if(Object.hasOwnProperty.call(c,f)===!1)continue;const d=c[f];typeof d!="object"||d===null?E[f]=d:d.constructor!==Object&&(a=i.get(d.constructor))?E[f]=a(d,l):ArrayBuffer.isView(d)?E[f]=n(d):E[f]=l(d)}return E}function h(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,h);if(c.constructor!==Object&&(a=i.get(c.constructor)))return a(c,h);const E={};for(const f in c){const d=c[f];typeof d!="object"||d===null?E[f]=d:d.constructor!==Object&&(a=i.get(d.constructor))?E[f]=a(d,h):ArrayBuffer.isView(d)?E[f]=n(d):E[f]=h(d)}return E}}function o(s){const i=[],a=[],u=new Map;if(u.set(Date,f=>new Date(f)),u.set(Map,(f,d)=>new Map(h(Array.from(f),d))),u.set(Set,(f,d)=>new Set(h(Array.from(f),d))),s.constructorHandlers)for(const f of s.constructorHandlers)u.set(f[0],f[1]);let l=null;return s.proto?E:c;function h(f,d){const R=Object.keys(f),_=new Array(R.length);for(let m=0;m<R.length;m++){const O=R[m],p=f[O];if(typeof p!="object"||p===null)_[O]=p;else if(p.constructor!==Object&&(l=u.get(p.constructor)))_[O]=l(p,d);else if(ArrayBuffer.isView(p))_[O]=n(p);else{const g=i.indexOf(p);g!==-1?_[O]=a[g]:_[O]=d(p)}}return _}function c(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return h(f,c);if(f.constructor!==Object&&(l=u.get(f.constructor)))return l(f,c);const d={};i.push(f),a.push(d);for(const R in f){if(Object.hasOwnProperty.call(f,R)===!1)continue;const _=f[R];if(typeof _!="object"||_===null)d[R]=_;else if(_.constructor!==Object&&(l=u.get(_.constructor)))d[R]=l(_,c);else if(ArrayBuffer.isView(_))d[R]=n(_);else{const m=i.indexOf(_);m!==-1?d[R]=a[m]:d[R]=c(_)}}return i.pop(),a.pop(),d}function E(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return h(f,E);if(f.constructor!==Object&&(l=u.get(f.constructor)))return l(f,E);const d={};i.push(f),a.push(d);for(const R in f){const _=f[R];if(typeof _!="object"||_===null)d[R]=_;else if(_.constructor!==Object&&(l=u.get(_.constructor)))d[R]=l(_,E);else if(ArrayBuffer.isView(_))d[R]=n(_);else{const m=i.indexOf(_);m!==-1?d[R]=a[m]:d[R]=E(_)}}return i.pop(),a.pop(),d}}})}),vi=Ii(Ai());const ki=/(?:^|[-_/])(\w)/g;function Ci(e,t){return t?t.toUpperCase():""}function Ui(e){return e&&`${e}`.replace(ki,Ci)}function Li(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}const Br=(0,vi.default)({circles:!0}),Vi={trailing:!0};function De(e,t=25,n={}){if(n={...Vi,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,a;const u=(c,E)=>(i=Di(e,c,E),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const f=u(c,a);return a=null,f}}),i),l=function(...c){return n.trailing&&(a=c),i||new Promise(E=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:u(this,c);a=null;for(const R of s)R(d);s=[]},t),f?(r=u(this,c),E(r)):s.push(E)})},h=c=>{c&&(clearTimeout(c),o=null)};return l.isPending=()=>!!o,l.cancel=()=>{h(o),s=[],a=null},l.flush=()=>{if(h(o),!a||i)return;const c=a;return a=null,u(this,c)},l}async function Di(e,t,n){return await e.apply(t,n)}function ln(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ln(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const xi={run:e=>e()},Mi=()=>xi,jr=typeof console.createTask<"u"?console.createTask:Mi;function Bi(e,t){const n=t.shift(),r=jr(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function ji(e,t){const n=t.shift(),r=jr(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function dn(e,t){for(const n of[...e])n(t)}class Hi{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=ln(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=ln(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(Bi,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ji,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&dn(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&dn(this._after,o)}):(this._after&&o&&dn(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 Hr(){return new Hi}var Zi=Object.create,Zr=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,$r=Object.getOwnPropertyNames,Gi=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty,Gr=(e,t)=>function(){return t||(0,e[$r(e)[0]])((t={exports:{}}).exports,t),t.exports},Fi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=$r(t),s=0,i=o.length,a;s<i;s++)a=o[s],!qi.call(e,a)&&a!==n&&Zr(e,a,{get:(u=>t[u]).bind(null,a),enumerable:!(r=$i(t,a))||r.enumerable});return e},zi=(e,t,n)=>(n=e!=null?Zi(Gi(e)):{},Fi(Zr(n,"default",{value:e,enumerable:!0}),e));function Wi(e){const t=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return t==="index"&&e.__file?.endsWith("index.vue")?"":t}function Ji(e){const t=e.__file;if(t)return Ui(Li(t,".vue"))}function qr(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function pn(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Fr(e){const t=e.subTree?.type,n=pn(e);return n?n?.types?.Fragment===t:!1}function wt(e){const t=Wi(e?.type||{});if(t)return t;if(e?.root===e)return"Root";for(const r in e.parent?.type?.components)if(e.parent.type.components[r]===e?.type)return qr(e,r);for(const r in e.appContext?.components)if(e.appContext.components[r]===e?.type)return qr(e,r);const n=Ji(e?.type||{});return n||"Anonymous Component"}function Ki(e){return`${e?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__??0}:${e===e?.root?"root":e.uid}`}function hn(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function Yi(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}let Tt;function Qi(e){return Tt||(Tt=document.createRange()),Tt.selectNode(e),Tt.getBoundingClientRect()}function Xi(e){const t=Yi();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const o=e.children[n];let s;if(o.component)s=Te(o.component);else if(o.el){const i=o.el;i.nodeType===1||i.getBoundingClientRect?s=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(s=Qi(i))}s&&ea(t,s)}return t}function ea(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}const zr={top:0,left:0,right:0,bottom:0,width:0,height:0};function Te(e){const t=e.subTree.el;return typeof window>"u"?zr:Fr(e)?Xi(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?Te(e.subTree.component):zr}function En(e){return Fr(e)?ta(e.subTree):e.subTree?[e.subTree.el]:[]}function ta(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...En(n.component)):n?.el&&t.push(n.el)}),t}const Wr="__vue-devtools-component-inspector__",Jr="__vue-devtools-component-inspector__card__",Kr="__vue-devtools-component-inspector__name__",Yr="__vue-devtools-component-inspector__indicator__",Qr={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},na={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},ra={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function xe(){return document.getElementById(Wr)}function oa(){return document.getElementById(Jr)}function sa(){return document.getElementById(Yr)}function ia(){return document.getElementById(Kr)}function gn(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function _n(e){const t=document.createElement("div");t.id=e.elementId??Wr,Object.assign(t.style,{...Qr,...gn(e.bounds),...e.style});const n=document.createElement("span");n.id=Jr,Object.assign(n.style,{...na,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Kr,r.innerHTML=`<${e.name}> `;const o=document.createElement("i");return o.id=Yr,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(o.style,ra),n.appendChild(r),n.appendChild(o),t.appendChild(n),document.body.appendChild(t),t}function mn(e){const t=xe(),n=oa(),r=ia(),o=sa();t&&(Object.assign(t.style,{...Qr,...gn(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}> `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function aa(e){const t=Te(e);if(!t.width&&!t.height)return;const n=wt(e);xe()?mn({bounds:t,name:n}):_n({bounds:t,name:n})}function Xr(){const e=xe();e&&(e.style.display="none")}let yn=null;function Rn(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(yn=n,n.vnode.el)){const r=Te(n),o=wt(n);xe()?mn({bounds:r,name:o}):_n({bounds:r,name:o})}}}function ca(e,t){e.preventDefault(),e.stopPropagation(),yn&&t(Ki(yn))}let Pt=null;function ua(){Xr(),window.removeEventListener("mouseover",Rn),window.removeEventListener("click",Pt,!0),Pt=null}function fa(){return window.addEventListener("mouseover",Rn),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),ca(n,r=>{window.removeEventListener("click",t,!0),Pt=null,window.removeEventListener("mouseover",Rn);const o=xe();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}Pt=t,window.addEventListener("click",t,!0)})}function la(e){const t=hn(z.value,e.id);if(t){const[n]=En(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Te(t),o=document.createElement("div"),s={...gn(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Te(t);if(r.width||r.height){const o=wt(t),s=xe();s?mn({...e,name:o,bounds:r}):_n({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}w.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??=!0;function da(e){let t=0;const n=setInterval(()=>{w.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function pa(){const e=w.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function ha(){return new Promise(e=>{function t(){pa(),e(w.__VUE_INSPECTOR__)}w.__VUE_INSPECTOR__?t():da(()=>{t()})})}let Nt=(function(e){return e.SKIP="__v_skip",e.IS_REACTIVE="__v_isReactive",e.IS_READONLY="__v_isReadonly",e.IS_SHALLOW="__v_isShallow",e.RAW="__v_raw",e})({});function Ea(e){return!!(e&&e[Nt.IS_READONLY])}function eo(e){return Ea(e)?eo(e[Nt.RAW]):!!(e&&e[Nt.IS_REACTIVE])}function Sn(e){return!!(e&&e.__v_isRef===!0)}function et(e){const t=e&&e[Nt.RAW];return t?et(t):e}var ga=class{constructor(){this.refEditor=new _a}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map?e=e.get(a):e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):et(t)instanceof Map?t.delete(n):et(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):et(t)instanceof Map?t.set(e.newKey||n,r):et(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},_a=class{set(e,t){if(Sn(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Sn(e)?e.value:e}isRef(e){return Sn(e)||eo(e)}};const ma="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function ya(){if(typeof window>"u"||!Mr||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=typeof localStorage.getItem<"u"?localStorage.getItem(ma):null;return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}w.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??=[];const Ra=new Proxy(w.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Sa(e,t){Z.timelineLayersState[t.id]=!1,Ra.push({...e,descriptorId:t.id,appRecord:pn(t.app)})}w.__VUE_DEVTOOLS_KIT_INSPECTOR__??=[];const On=new Proxy(w.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),to=De(()=>{Be.hooks.callHook(Pe.SEND_INSPECTOR_TO_CLIENT,no())});function Oa(e,t){On.push({options:e,descriptor:t,treeFilterPlaceholder:e.treeFilterPlaceholder??"Search tree...",stateFilterPlaceholder:e.stateFilterPlaceholder??"Search state...",treeFilter:"",selectedNodeId:"",appRecord:pn(t.app)}),to()}function no(){return On.filter(e=>e.descriptor.app===z.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{const t=e.descriptor,n=e.options;return{id:n.id,label:n.label,logo:t.logo,icon:`custom-ic-baseline-${n?.icon?.replace(/_/g,"-")}`,packageName:t.packageName,homepage:t.homepage,pluginId:t.id}})}function bt(e,t){return On.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}let $=(function(e){return e.VISIT_COMPONENT_TREE="visitComponentTree",e.INSPECT_COMPONENT="inspectComponent",e.EDIT_COMPONENT_STATE="editComponentState",e.GET_INSPECTOR_TREE="getInspectorTree",e.GET_INSPECTOR_STATE="getInspectorState",e.EDIT_INSPECTOR_STATE="editInspectorState",e.INSPECT_TIMELINE_EVENT="inspectTimelineEvent",e.TIMELINE_CLEARED="timelineCleared",e.SET_PLUGIN_SETTINGS="setPluginSettings",e})({}),x=(function(e){return e.ADD_INSPECTOR="addInspector",e.SEND_INSPECTOR_TREE="sendInspectorTree",e.SEND_INSPECTOR_STATE="sendInspectorState",e.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",e.TIMELINE_LAYER_ADDED="timelineLayerAdded",e.TIMELINE_EVENT_ADDED="timelineEventAdded",e.GET_COMPONENT_INSTANCES="getComponentInstances",e.GET_COMPONENT_BOUNDS="getComponentBounds",e.GET_COMPONENT_NAME="getComponentName",e.COMPONENT_HIGHLIGHT="componentHighlight",e.COMPONENT_UNHIGHLIGHT="componentUnhighlight",e})({}),Pe=(function(e){return e.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",e.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",e.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",e.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",e.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",e.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",e.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",e.ROUTER_INFO_UPDATED="routerInfoUpdated",e})({});function wa(){const e=Hr();e.hook(x.ADD_INSPECTOR,({inspector:r,plugin:o})=>{Oa(r,o.descriptor)});const t=De(async({inspectorId:r,plugin:o})=>{if(!r||!o?.descriptor?.app||Z.highPerfModeEnabled)return;const s=bt(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,filter:s?.treeFilter||"",rootNodes:[]};await new Promise(a=>{e.callHookWith(async u=>{await Promise.all(u.map(l=>l(i))),a()},$.GET_INSPECTOR_TREE)}),e.callHookWith(async a=>{await Promise.all(a.map(u=>u({inspectorId:r,rootNodes:i.rootNodes})))},Pe.SEND_INSPECTOR_TREE_TO_CLIENT)},120);e.hook(x.SEND_INSPECTOR_TREE,t);const n=De(async({inspectorId:r,plugin:o})=>{if(!r||!o?.descriptor?.app||Z.highPerfModeEnabled)return;const s=bt(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,nodeId:s?.selectedNodeId||"",state:null},a={currentTab:`custom-inspector:${r}`};i.nodeId&&await new Promise(u=>{e.callHookWith(async l=>{await Promise.all(l.map(h=>h(i,a))),u()},$.GET_INSPECTOR_STATE)}),e.callHookWith(async u=>{await Promise.all(u.map(l=>l({inspectorId:r,nodeId:i.nodeId,state:i.state})))},Pe.SEND_INSPECTOR_STATE_TO_CLIENT)},120);return e.hook(x.SEND_INSPECTOR_STATE,n),e.hook(x.CUSTOM_INSPECTOR_SELECT_NODE,({inspectorId:r,nodeId:o,plugin:s})=>{const i=bt(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook(x.TIMELINE_LAYER_ADDED,({options:r,plugin:o})=>{Sa(r,o.descriptor)}),e.hook(x.TIMELINE_EVENT_ADDED,({options:r,plugin:o})=>{Z.highPerfModeEnabled||!Z.timelineLayersState?.[o.descriptor.id]&&!["performance","component-event","keyboard","mouse"].includes(r.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(i=>i(r)))},Pe.SEND_TIMELINE_EVENT_TO_CLIENT)}),e.hook(x.GET_COMPONENT_INSTANCES,async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([i])=>i.split(":")[0]===s).map(([,i])=>i)}),e.hook(x.GET_COMPONENT_BOUNDS,async({instance:r})=>Te(r)),e.hook(x.GET_COMPONENT_NAME,({instance:r})=>wt(r)),e.hook(x.COMPONENT_HIGHLIGHT,({uid:r})=>{const o=z.value.instanceMap.get(r);o&&aa(o)}),e.hook(x.COMPONENT_UNHIGHLIGHT,()=>{Xr()}),e}w.__VUE_DEVTOOLS_KIT_APP_RECORDS__??=[],w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??={},w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??="",w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??=[],w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??=[];const Me="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Ta(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:ya()}}w[Me]??=Ta();const Pa=De(e=>{Be.hooks.callHook(Pe.DEVTOOLS_STATE_UPDATED,{state:e})});De((e,t)=>{Be.hooks.callHook(Pe.DEVTOOLS_CONNECTED_UPDATED,{state:e,oldState:t})});const It=new Proxy(w.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?w.__VUE_DEVTOOLS_KIT_APP_RECORDS__:w.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),z=new Proxy(w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function ro(){Pa({...w[Me],appRecords:It.value,activeAppRecordId:z.id,tabs:w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Na(e){w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,ro()}function ba(e){w.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,ro()}const Z=new Proxy(w[Me],{get(e,t){return t==="appRecords"?It:t==="activeAppRecordId"?z.id:t==="tabs"?w.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?w.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:w[Me][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...w[Me]},e[t]=n,w[Me][t]=n,!0}});function Ia(e={}){const{file:t,host:n,baseUrl:r=window.location.origin,line:o=0,column:s=0}=e;if(t){if(n==="chrome-extension"){const i=t.replace(/\\/g,"\\\\"),a=window.VUE_DEVTOOLS_CONFIG?.openInEditorHost??"/";fetch(`${a}__open-in-editor?file=${encodeURI(t)}`).then(u=>{if(!u.ok){const l=`Opening component ${i} failed`;console.log(`%c${l}`,"color:red")}})}else if(Z.vitePluginDetected){const i=w.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__??r;w.__VUE_INSPECTOR__.openInEditor(i,t,o,s)}}}w.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??=[];const wn=new Proxy(w.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Tn(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Pn(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Aa(e){return(wn.find(t=>t[0].id===e&&!!t[0]?.settings)?.[0]??null)?.settings??null}function oo(e,t){const n=Pn(e);if(n){const r=localStorage.getItem(n);if(r)return JSON.parse(r)}return Tn(e?(wn.find(r=>r[0].id===e)?.[0]??null)?.settings??{}:t)}function va(e,t){const n=Pn(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Tn(t)))}function ka(e,t,n){const r=Pn(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),Be.hooks.callHookWith(a=>{a.forEach(u=>u({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},$.SET_PLUGIN_SETTINGS)}let Q=(function(e){return e.APP_INIT="app:init",e.APP_UNMOUNT="app:unmount",e.COMPONENT_UPDATED="component:updated",e.COMPONENT_ADDED="component:added",e.COMPONENT_REMOVED="component:removed",e.COMPONENT_EMIT="component:emit",e.PERFORMANCE_START="perf:start",e.PERFORMANCE_END="perf:end",e.ADD_ROUTE="router:add-route",e.REMOVE_ROUTE="router:remove-route",e.RENDER_TRACKED="render:tracked",e.RENDER_TRIGGERED="render:triggered",e.APP_CONNECTED="app:connected",e.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",e})({});const X=w.__VUE_DEVTOOLS_HOOK??=Hr(),so={on:{vueAppInit(e){X.hook(Q.APP_INIT,e)},vueAppUnmount(e){X.hook(Q.APP_UNMOUNT,e)},vueAppConnected(e){X.hook(Q.APP_CONNECTED,e)},componentAdded(e){return X.hook(Q.COMPONENT_ADDED,e)},componentEmit(e){return X.hook(Q.COMPONENT_EMIT,e)},componentUpdated(e){return X.hook(Q.COMPONENT_UPDATED,e)},componentRemoved(e){return X.hook(Q.COMPONENT_REMOVED,e)},setupDevtoolsPlugin(e){X.hook(Q.SETUP_DEVTOOLS_PLUGIN,e)},perfStart(e){return X.hook(Q.PERFORMANCE_START,e)},perfEnd(e){return X.hook(Q.PERFORMANCE_END,e)}},setupDevToolsPlugin(e,t){return X.callHook(Q.SETUP_DEVTOOLS_PLUGIN,e,t)}};var Ca=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook($.VISIT_COMPONENT_TREE,e)},inspectComponent:e=>{this.hooks.hook($.INSPECT_COMPONENT,e)},editComponentState:e=>{this.hooks.hook($.EDIT_COMPONENT_STATE,e)},getInspectorTree:e=>{this.hooks.hook($.GET_INSPECTOR_TREE,e)},getInspectorState:e=>{this.hooks.hook($.GET_INSPECTOR_STATE,e)},editInspectorState:e=>{this.hooks.hook($.EDIT_INSPECTOR_STATE,e)},inspectTimelineEvent:e=>{this.hooks.hook($.INSPECT_TIMELINE_EVENT,e)},timelineCleared:e=>{this.hooks.hook($.TIMELINE_CLEARED,e)},setPluginSettings:e=>{this.hooks.hook($.SET_PLUGIN_SETTINGS,e)}}}notifyComponentUpdate(e){if(Z.highPerfModeEnabled)return;const t=no().find(n=>n.packageName===this.plugin.descriptor.packageName);if(t?.id){if(e){const n=[e.appContext.app,e.uid,e.parent?.uid,e];X.callHook(Q.COMPONENT_UPDATED,...n)}else X.callHook(Q.COMPONENT_UPDATED);this.hooks.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:t.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook(x.ADD_INSPECTOR,{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&va(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Z.highPerfModeEnabled||this.hooks.callHook(x.SEND_INSPECTOR_TREE,{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Z.highPerfModeEnabled||this.hooks.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook(x.CUSTOM_INSPECTOR_SELECT_NODE,{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook($.VISIT_COMPONENT_TREE,e)}now(){return Z.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook(x.TIMELINE_LAYER_ADDED,{options:e,plugin:this.plugin})}addTimelineEvent(e){Z.highPerfModeEnabled||this.hooks.callHook(x.TIMELINE_EVENT_ADDED,{options:e,plugin:this.plugin})}getSettings(e){return oo(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook(x.GET_COMPONENT_INSTANCES,{app:e})}getComponentBounds(e){return this.hooks.callHook(x.GET_COMPONENT_BOUNDS,{instance:e})}getComponentName(e){return this.hooks.callHook(x.GET_COMPONENT_NAME,{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook(x.COMPONENT_HIGHLIGHT,{uid:t})}unhighlightElement(){return this.hooks.callHook(x.COMPONENT_UNHIGHLIGHT)}};const Ua=Ca,La="__vue_devtool_undefined__",Va="__vue_devtool_infinity__",Da="__vue_devtool_negative_infinity__",xa="__vue_devtool_nan__",Ma={[La]:"undefined",[xa]:"NaN",[Va]:"Infinity",[Da]:"-Infinity"};Object.entries(Ma).reduce((e,[t,n])=>(e[n]=t,e),{}),w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??=new Set;function Ba(e,t){return so.setupDevToolsPlugin(e,t)}function ja(e,t){const[n,r]=e;if(n.app!==t)return;const o=new Ua({plugin:{setupFn:r,descriptor:n},ctx:Be});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function io(e,t){w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Z.highPerfModeEnabled&&!t?.inspectingComponent||(w.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),wn.forEach(n=>{ja(n,e)}))}const At="__VUE_DEVTOOLS_ROUTER__",tt="__VUE_DEVTOOLS_ROUTER_INFO__";w[tt]??={currentRoute:null,routes:[]},w[At]??={},new Proxy(w[tt],{get(e,t){return w[tt][t]}}),new Proxy(w[At],{get(e,t){if(t==="value")return w[At]}});function Ha(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Nn(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o?.length&&(o=Nn(o)),{path:n,name:r,children:o,meta:s}})}function Za(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:u}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:u,matched:Nn(i)}}return e}function $a(e,t){function n(){const r=e.app?.config.globalProperties.$router,o=Za(r?.currentRoute.value),s=Nn(Ha(r)),i=console.warn;console.warn=()=>{},w[tt]={currentRoute:o?Br(o):{},routes:Br(s)},w[At]=r,console.warn=i}n(),so.on.componentUpdated(De(()=>{t.value?.app===e.app&&(n(),!Z.highPerfModeEnabled&&Be.hooks.callHook(Pe.ROUTER_INFO_UPDATED,{state:w[tt]}))},200))}function Ga(e){return{async getInspectorTree(t){const n={...t,app:z.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},$.GET_INSPECTOR_TREE)}),n.rootNodes},async getInspectorState(t){const n={...t,app:z.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},$.GET_INSPECTOR_STATE)}),n.state},editInspectorState(t){const n=new ga,r={...t,app:z.value.app,set:(o,s=t.path,i=t.state.value,a)=>{n.set(o,s,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},$.EDIT_INSPECTOR_STATE)},sendInspectorState(t){const n=bt(t);e.callHook(x.SEND_INSPECTOR_STATE,{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return fa()},cancelInspectComponentInspector(){return ua()},getComponentRenderCode(t){const n=hn(z.value,t);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return la({id:t})},openInEditor:Ia,getVueInspector:ha,toggleApp(t,n){const r=It.value.find(o=>o.id===t);r&&(ba(t),Na(r),$a(r,z),to(),io(r.app,n))},inspectDOM(t){const n=hn(z.value,t);if(n){const[r]=En(n);r&&(w.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){ka(t,n,r)},getPluginSettings(t){return{options:Aa(t),values:oo(t)}}}}w.__VUE_DEVTOOLS_ENV__??={vitePluginDetected:!1};const ao=wa();w.__VUE_DEVTOOLS_KIT_CONTEXT__??={hooks:ao,get state(){return{...Z,activeAppRecordId:z.id,activeAppRecord:z.value,appRecords:It.value}},api:Ga(ao)};const Be=w.__VUE_DEVTOOLS_KIT_CONTEXT__;var qa=Gr({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js":((e,t)=>{(function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"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","ⓐ":"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","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),l=[";","?",":","@","&","=","+","$",","].join(""),h=[".","!","~","*","'","(",")"].join(""),c=function(_,m){var O="-",p="",g="",I=!0,A={},P,S,N,C,U,B,M,j,G,q,k,Ne,re,he,oe="";if(typeof _!="string")return"";if(typeof m=="string"&&(O=m),M=a.en,j=i.en,typeof m=="object"){P=m.maintainCase||!1,A=m.custom&&typeof m.custom=="object"?m.custom:A,N=+m.truncate>1&&m.truncate||!1,C=m.uric||!1,U=m.uricNoSlash||!1,B=m.mark||!1,I=!(m.symbols===!1||m.lang===!1),O=m.separator||O,C&&(oe+=u),U&&(oe+=l),B&&(oe+=h),M=m.lang&&a[m.lang]&&I?a[m.lang]:I?a.en:{},j=m.lang&&i[m.lang]?i[m.lang]:m.lang===!1||m.lang===!0?{}:i.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(ee){A[ee+""]=ee+""}),S=!0):S=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(ee){A[ee+""]=ee+""}),Object.keys(A).forEach(function(ee){var be;ee.length>1?be=new RegExp("\\b"+f(ee)+"\\b","gi"):be=new RegExp(f(ee),"gi"),_=_.replace(be,A[ee])});for(k in A)oe+=k}for(oe+=O,oe=f(oe),_=_.replace(/(^\s+|\s+$)/g,""),re=!1,he=!1,q=0,Ne=_.length;q<Ne;q++)k=_[q],d(k,A)?re=!1:j[k]?(k=re&&j[k].match(/[A-Za-z0-9]/)?" "+j[k]:j[k],re=!1):k in r?(q+1<Ne&&o.indexOf(_[q+1])>=0?(g+=k,k=""):he===!0?(k=s[g]+r[k],g=""):k=re&&r[k].match(/[A-Za-z0-9]/)?" "+r[k]:r[k],re=!1,he=!1):k in s?(g+=k,k="",q===Ne-1&&(k=s[g]),he=!0):M[k]&&!(C&&u.indexOf(k)!==-1)&&!(U&&l.indexOf(k)!==-1)?(k=re||p.substr(-1).match(/[A-Za-z0-9]/)?O+M[k]:M[k],k+=_[q+1]!==void 0&&_[q+1].match(/[A-Za-z0-9]/)?O:"",re=!0):(he===!0?(k=s[g]+k,g="",he=!1):re&&(/[A-Za-z0-9]/.test(k)||p.substr(-1).match(/A-Za-z0-9]/))&&(k=" "+k),re=!1),p+=k.replace(new RegExp("[^\\w\\s"+oe+"_-]","g"),O);return S&&(p=p.replace(/(\w)(\S*)/g,function(ee,be,Ut){var Ie=be.toUpperCase()+(Ut!==null?Ut:"");return Object.keys(A).indexOf(Ie.toLowerCase())<0?Ie:Ie.toLowerCase()})),p=p.replace(/\s+/g,O).replace(new RegExp("\\"+O+"+","g"),O).replace(new RegExp("(^\\"+O+"+|\\"+O+"+$)","g"),""),N&&p.length>N&&(G=p.charAt(N)===O,p=p.slice(0,N),G||(p=p.slice(0,p.lastIndexOf(O)))),!P&&!S&&(p=p.toLowerCase()),p},E=function(_){return function(O){return c(O,_)}},f=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(R,_){for(var m in _)if(_[m]===R)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=E;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=E}catch{}})(e)})}),Fa=Gr({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js":((e,t)=>{t.exports=qa()})});Fa(),w.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__??={id:0,appIds:new Set};function za(e){Z.highPerfModeEnabled=e??!Z.highPerfModeEnabled,!e&&z.value&&io(z.value.app)}function Wa(e){Z.devtoolsClientDetected={...Z.devtoolsClientDetected,...e},za(!Object.values(Z.devtoolsClientDetected).some(Boolean))}w.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??=Wa;var Ja=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},co=class{constructor(e){this.generateIdentifier=e,this.kv=new Ja}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Ka=class extends co{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function Ya(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Qa(e,t){const n=Ya(e);if("find"in n)return n.find(t);const r=n;for(let o=0;o<r.length;o++){const s=r[o];if(t(s))return s}}function je(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function vt(e,t){return e.indexOf(t)!==-1}function uo(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var Xa=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Qa(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};const ec=e=>Object.prototype.toString.call(e).slice(8,-1),fo=e=>typeof e>"u",tc=e=>e===null,nt=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,bn=e=>nt(e)&&Object.keys(e).length===0,pe=e=>Array.isArray(e),nc=e=>typeof e=="string",rc=e=>typeof e=="number"&&!isNaN(e),oc=e=>typeof e=="boolean",sc=e=>e instanceof RegExp,rt=e=>e instanceof Map,ot=e=>e instanceof Set,lo=e=>ec(e)==="Symbol",ic=e=>e instanceof Date&&!isNaN(e.valueOf()),ac=e=>e instanceof Error,po=e=>typeof e=="number"&&isNaN(e),cc=e=>oc(e)||tc(e)||fo(e)||rc(e)||nc(e)||lo(e),uc=e=>typeof e=="bigint",fc=e=>e===1/0||e===-1/0,lc=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),dc=e=>e instanceof URL,ho=e=>e.replace(/\./g,"\\."),In=e=>e.map(String).map(ho).join("."),st=e=>{const t=[];let n="";for(let o=0;o<e.length;o++){let s=e.charAt(o);if(s==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(s==="."){t.push(n),n="";continue}n+=s}const r=n;return t.push(r),t};function ie(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}const Eo=[ie(fo,"undefined",()=>null,()=>{}),ie(uc,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),ie(ic,"Date",e=>e.toISOString(),e=>new Date(e)),ie(ac,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),ie(sc,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),ie(ot,"set",e=>[...e.values()],e=>new Set(e)),ie(rt,"map",e=>[...e.entries()],e=>new Map(e)),ie(e=>po(e)||fc(e),"number",e=>po(e)?"NaN":e>0?"Infinity":"-Infinity",Number),ie(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),ie(dc,"URL",e=>e.toString(),e=>new URL(e))];function kt(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}const go=kt((e,t)=>lo(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),pc=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),_o=kt(lc,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=pc[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function mo(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}const yo=kt(mo,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),Ro=kt((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),hc=[yo,go,Ro,_o],So=(e,t)=>{const n=uo(hc,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=uo(Eo,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},Oo={};Eo.forEach(e=>{Oo[e.annotation]=e});const Ec=(e,t,n)=>{if(pe(t))switch(t[0]){case"symbol":return go.untransform(e,t,n);case"class":return yo.untransform(e,t,n);case"custom":return Ro.untransform(e,t,n);case"typed-array":return _o.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=Oo[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},He=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function wo(e){if(vt(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(vt(e,"prototype"))throw new Error("prototype is not allowed as a property");if(vt(e,"constructor"))throw new Error("constructor is not allowed as a property")}const gc=(e,t)=>{wo(t);for(let n=0;n<t.length;n++){const r=t[n];if(ot(e))e=He(e,+r);else if(rt(e)){const o=+r,s=+t[++n]==0?"key":"value",i=He(e,o);switch(s){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[r]}return e},An=(e,t,n)=>{if(wo(t),t.length===0)return n(e);let r=e;for(let s=0;s<t.length-1;s++){const i=t[s];if(pe(r)){const a=+i;r=r[a]}else if(nt(r))r=r[i];else if(ot(r)){const a=+i;r=He(r,a)}else if(rt(r)){if(s===t.length-2)break;const a=+i,u=+t[++s]==0?"key":"value",l=He(r,a);switch(u){case"key":r=l;break;case"value":r=r.get(l);break}}}const o=t[t.length-1];if(pe(r)?r[+o]=n(r[+o]):nt(r)&&(r[o]=n(r[o])),ot(r)){const s=He(r,+o),i=n(s);s!==i&&(r.delete(s),r.add(i))}if(rt(r)){const s=+t[t.length-2],i=He(r,s);switch(+o==0?"key":"value"){case"key":{const a=n(i);r.set(a,r.get(i)),a!==i&&r.delete(i);break}case"value":r.set(i,n(r.get(i)));break}}return e};function vn(e,t,n=[]){if(!e)return;if(!pe(e)){je(e,(s,i)=>vn(s,t,[...n,...st(i)]));return}const[r,o]=e;o&&je(o,(s,i)=>{vn(s,t,[...n,...st(i)])}),t(r,n)}function _c(e,t,n){return vn(t,(r,o)=>{e=An(e,o,s=>Ec(s,r,n))}),e}function mc(e,t){function n(r,o){const s=gc(e,st(o));r.map(st).forEach(i=>{e=An(e,i,()=>s)})}if(pe(t)){const[r,o]=t;r.forEach(s=>{e=An(e,st(s),()=>e)}),o&&je(o,n)}else je(t,n);return e}const yc=(e,t)=>nt(e)||pe(e)||rt(e)||ot(e)||mo(e,t);function Rc(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Sc(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,u)=>a.length-u.length));const[s,...i]=o;s.length===0?r=i.map(In):n[In(s)]=i.map(In)}),r?bn(n)?[r]:[r,n]:bn(n)?void 0:n}const To=(e,t,n,r,o=[],s=[],i=new Map)=>{const a=cc(e);if(!a){Rc(e,o,t);const f=i.get(e);if(f)return r?{transformedValue:null}:f}if(!yc(e,n)){const f=So(e,n),d=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:e};return a||i.set(e,d),d}if(vt(s,e))return{transformedValue:null};const u=So(e,n),l=u?.value??e,h=pe(l)?[]:{},c={};je(l,(f,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")throw new Error(`Detected property ${d}. This is a prototype pollution risk, please remove it from your object.`);const R=To(f,t,n,r,[...o,d],[...s,e],i);h[d]=R.transformedValue,pe(R.annotations)?c[d]=R.annotations:nt(R.annotations)&&je(R.annotations,(_,m)=>{c[ho(d)+"."+m]=_})});const E=bn(c)?{transformedValue:h,annotations:u?[u.type]:void 0}:{transformedValue:h,annotations:u?[u.type,c]:c};return a||i.set(e,E),E};function Po(e){return Object.prototype.toString.call(e).slice(8,-1)}function No(e){return Po(e)==="Array"}function Oc(e){if(Po(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function wc(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function kn(e,t={}){if(No(e))return e.map(o=>kn(o,t));if(!Oc(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(No(t.props)&&!t.props.includes(s))return o;const i=e[s];return wc(o,s,kn(i,t),e,t.nonenumerable),o},{})}var V=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Ka,this.symbolRegistry=new co(t=>t.description??""),this.customTransformerRegistry=new Xa,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=To(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=Sc(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=kn(t);return n?.values&&(r=_c(r,n.values,this)),n?.referentialEqualities&&(r=mc(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};V.defaultInstance=new V,V.serialize=V.defaultInstance.serialize.bind(V.defaultInstance),V.deserialize=V.defaultInstance.deserialize.bind(V.defaultInstance),V.stringify=V.defaultInstance.stringify.bind(V.defaultInstance),V.parse=V.defaultInstance.parse.bind(V.defaultInstance),V.registerClass=V.defaultInstance.registerClass.bind(V.defaultInstance),V.registerSymbol=V.defaultInstance.registerSymbol.bind(V.defaultInstance),V.registerCustom=V.defaultInstance.registerCustom.bind(V.defaultInstance),V.allowErrorProps=V.defaultInstance.allowErrorProps.bind(V.defaultInstance),w.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??=[],w.__VUE_DEVTOOLS_KIT_RPC_CLIENT__??=null,w.__VUE_DEVTOOLS_KIT_RPC_SERVER__??=null,w.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??=null,w.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??=null,w.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??=null;const Ct={template:"<div>This is component</div>"},Cn=Re({name:"parentA",path:"/parentA/[paramA]"}),bo=Re({parent:Cn,name:"parentA.childA",path:"/childA/[?paramB]"}),Tc=Re({parent:Cn,name:"parentA.childB",path:"/childB/[paramD]",component:Ct}),Pc=Re({parent:bo,name:"parentA.childA.grandChildA",path:"/[paramC]",component:Ct});Re({name:"parentB",path:"/parentB",component:Ct}),Re({name:"parentC",path:"/",component:Ct});function Nc(e,t){return t!=="1"?`${e} ${t}`:e}const bc=({route:e})=>!!e.name,Ic=({route:e,payload:t})=>{if(!t.filter)return!0;if(!le(e))return!1;const n=t.filter.toLowerCase();return!!(e.name.toLowerCase().includes(n)||e.schema.path.value.toLowerCase().includes(n))},Ac=e=>bc(e)&&Ic(e),vc=it(),kc=2282478,Cc=2278750,Uc=1483594;function Lc(e,t={match:!1,exactMatch:!1}){const n=[];return e.name&&n.push({label:e.name,textColor:0,backgroundColor:kc}),t.match&&n.push({label:"match",textColor:0,backgroundColor:Cc}),t.exactMatch&&n.push({label:"exact-match",textColor:0,backgroundColor:Uc}),{id:e.id,label:e.name,tags:n}}function Vc(e,t){if(!t||!("id"in t)||!("matches"in t))return{match:!1,exactMatch:!1};const n=t.id===e.id;return{match:t.matches.some(o=>o.id===e.id),exactMatch:n}}function Dc(e){const t=[];return le(e)&&(t.push({editable:!1,key:"name",value:e.name}),t.push({editable:!1,key:"path",value:e.schema.path.value}),t.push({editable:!1,key:"query",value:e.schema.query.value}),t.push({editable:!1,key:"hash",value:e.schema.hash.value}),t.push({editable:!1,key:"meta",value:e.meta})),t}function xc({router:e,app:t,routes:n}){if(!St()||e.hasDevtools)return;e.hasDevtools=!0;const r=vc(),o=new Map(n.map(a=>[a.id,a])),s=`kitbag-router-routes.${r}`,i=`kitbag-router.${r}`;Ba({id:i,label:"Kitbag Router",packageName:"@kitbag/router",homepage:"https://router.kitbag.dev/",componentStateTypes:["Routing"],logo:"https://kitbag.dev/kitbag-logo-circle.svg",app:t},a=>{a.addInspector({id:s,label:Nc("Routes",r),treeFilterPlaceholder:"Search routes"}),a.on.getInspectorTree(u=>{u.app!==t||u.inspectorId!==s||(u.rootNodes=n.filter(l=>Ac({route:l,payload:u})).map(l=>{const h=Vc(l,e.route);return Lc(l,h)}))}),y.watch(()=>e.route,()=>{a.sendInspectorTree(s)},{deep:!0,immediate:!1}),a.on.getInspectorState(u=>{if(u.app!==t||u.inspectorId!==s)return;const l=o.get(u.nodeId);l&&(u.state={options:Dc(l)})}),a.sendInspectorTree(s),a.sendInspectorState(s)})}function Mc(e,t,n={}){const{query:r,hash:o}=ue(Fe(t,n));for(const s of e){if(!Ur(s))continue;const{success:i,params:a}=s.tryParse(t);if(i)return Cr(s,a,{...n,query:r,hash:o})}}const Io=/^(\/.+?)\/+$/;function Bc(e){const{path:t,...n}=ue(e);return nn({...n,path:t.replace(Io,"$1")})}function jc(e){const{path:t}=ue(e);return Io.test(t)}function Hc(e,t,n=[]){const o=t?.isGlobalRouter??!0?Vr:Symbol(),s=[...n.flatMap(b=>b.rejections),...t?.rejections??[]],i=t?.removeTrailingSlashes??!0,{routes:a,getRouteByName:u}=di(e,n,t?.base),l=ks();l.addGlobalRouteHooks(gi(n));const h=it(),c=Xs(),E=Ri(o),f=ci(),d=ei({mode:t?.historyMode,listener:({location:b})=>{const D=we(b);_(D,{state:b.state,replace:!0})}});function R(b,D={}){const K=!q(b),Y=a.filter(H=>H.isRelative===K);return Mc(Y,b,D)}async function _(b,D={}){if(jc(b)&&i){const ae=Bc(b);if(te(ae))return g(ae,D)}const K=h();d.stopListening();const Y=R(b,D)??S("NotFound"),H=be(K),F=await l.runBeforeRouteHooks({to:Y,from:H});switch(F.status){case"ABORT":return;case"PUSH":d.update(b,D),await p(...F.to);return;case"REJECT":d.update(b,D),A(F.type);break;case"SUCCESS":d.update(b,D),A(null);break;default:throw new Error(`Switch is not exhaustive for before hook response status: ${JSON.stringify(F)}`)}q(b)||m(K,Y,H);const Ze=await l.runAfterRouteHooks({to:Y,from:H});switch(Ze.status){case"PUSH":await p(...Ze.to);break;case"REJECT":A(Ze.type);break;case"SUCCESS":break;default:const ae=Ze;throw new Error(`Switch is not exhaustive for after hook response status: ${JSON.stringify(ae)}`)}d.startListening()}function m(b,D,K){const Y=b;c.setProps(D).then(H=>{if(Y===b)switch(H.status){case"SUCCESS":break;case"PUSH":p(...H.to);break;case"REJECT":A(H.type);break;default:const F=H;throw new Error(`Switch is not exhaustive for prop store response status: ${JSON.stringify(F)}`)}}).catch(H=>{try{l.runErrorHooks(H,{to:D,from:K,source:"props"})}catch(F){if(F instanceof fe){p(...F.response.to);return}if(F instanceof Se){A(F.response.type);return}throw F}}),B(D)}const O=(b,D={},K={})=>{const Y=u(b);if(!Y)throw new ui(b);return Cr(Y,D,K)},p=(b,D,K)=>{if(te(b)){const ae={...D},Lt=Fe(b,{query:ae.query,hash:ae.hash});return _(Lt,ae)}if(typeof b=="string"){const{replace:ae,...Lt}={...K},eu={...D},Un=O(b,eu,Lt),tu=kr({...Un.matched.state},{...Un.state,...Lt.state});return _(Un.href,{replace:ae,state:tu})}const{replace:Y,...H}={...D},F=kr({...b.matched.state},{...b.state,...H.state}),Ze=Fe(b.href,{query:H.query,hash:H.hash});return _(Ze,{replace:Y,state:F})},g=(b,D,K)=>{if(te(b)){const H={...D,replace:!0};return p(b,H)}if(typeof b=="string"){const H={...K,replace:!0},F={...D};return p(b,F,H)}const Y={...D,replace:!0};return p(b,Y)},I=b=>{A(b)},{setRejection:A,rejection:P,getRejectionRoute:S}=ni(s),N=S("NotFound"),{currentRoute:C,routerRoute:U,updateRoute:B}=Ys(o,N,p),M=oi(t?.initialUrl),j=d.location.state,{host:G}=ue(M),q=Qs(G);let k=!1;const Ne=y.ref(!1),{promise:re,resolve:he}=Promise.withResolvers();async function oe(){if(k)return re;k=!0,Zo(a)&&await $o(),await _(M,{replace:!0,state:j}),d.startListening(),he(),Ne.value=!0}function ee(){d.stopListening()}function be(b){return Lo(b)?null:{...C}}function Ut(b){l.setVueApp(b),c.setVueApp(b);const D=un(o),K=Sr(o);b.component("RouterView",D),b.component("RouterLink",K),b.provide(lr(o),P),b.provide(ur(o),l),b.provide(hr(o),c),b.provide(fr(o),E),b.provide(mr,f),b.provide(o,Ie),xc({router:Ie,app:b,routes:a}),oe()}const Ie={route:U,resolve:O,find:R,push:p,replace:g,reject:I,refresh:d.refresh,forward:d.forward,back:d.back,go:d.go,install:Ut,isExternal:q,onBeforeRouteEnter:l.onBeforeRouteEnter,onBeforeRouteUpdate:l.onBeforeRouteUpdate,onBeforeRouteLeave:l.onBeforeRouteLeave,onAfterRouteEnter:l.onAfterRouteEnter,onAfterRouteUpdate:l.onAfterRouteUpdate,onAfterRouteLeave:l.onAfterRouteLeave,onError:l.onError,prefetch:t?.prefetch,start:oe,started:Ne,stop:ee,key:o,hasDevtools:!1};return Ie}const ne=Or(Vr),Zc=ne.onBeforeRouteLeave,$c=ne.onBeforeRouteUpdate,Gc=ne.onAfterRouteLeave,qc=ne.onAfterRouteUpdate,Fc=ne.isRoute,zc=ne.RouterView,Wc=ne.RouterLink,Jc=ne.useRoute,Kc=ne.useRouter,Yc=ne.useQueryValue,Qc=ne.useLink,Xc=ne.useRejection;v.DuplicateParamsError=Vn,v.IS_URL_SYMBOL=Ht,v.MetaPropertyConflict=Ln,v.RouterLink=Wc,v.RouterNotInstalledError=Ee,v.RouterView=zc,v.UseRouteInvalidError=xn,v.arrayOf=Fs,v.asUrlString=Dn,v.combineRoutes=jt,v.createExternalRoute=Ts,v.createParam=jn,v.createRejection=ws,v.createRoute=Re,v.createRouter=Hc,v.createRouterAssets=Or,v.createRouterPlugin=Gs,v.createUrl=ye,v.isRoute=Fc,v.isUrlString=te,v.isUrlWithSchema=le,v.isWithComponent=Dt,v.isWithComponentProps=xt,v.isWithComponentPropsRecord=Bt,v.isWithComponents=Mt,v.isWithParent=Vt,v.onAfterRouteLeave=Gc,v.onAfterRouteUpdate=qc,v.onBeforeRouteLeave=Zc,v.onBeforeRouteUpdate=$c,v.tupleOf=Ws,v.unionOf=wr,v.useLink=Qc,v.useQueryValue=Yc,v.useRejection=Xc,v.useRoute=Jc,v.useRouter=Kc,v.withDefault=Bo,v.withParams=qe,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
|