@x18n/ui 0.0.6 → 0.0.7
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/index.d.mts +15 -6
- package/dist/index.mjs +29 -15
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/02DyCwxD.js +1 -0
- package/dist/public/_nuxt/B-pOeIed.js +1 -0
- package/dist/public/_nuxt/{Df7YC0e0.js → B48W2q7f.js} +1 -1
- package/dist/public/_nuxt/B95Xo308.js +1 -0
- package/dist/public/_nuxt/BEQcjiBv.js +1 -0
- package/dist/public/_nuxt/BLH-zAnn.js +1 -0
- package/dist/public/_nuxt/BQFxnUqO.js +1 -0
- package/dist/public/_nuxt/BQbZdzYt.js +1 -0
- package/dist/public/_nuxt/BWmypMON.js +3 -0
- package/dist/public/_nuxt/{DiDiLO9x.js → BZwyJa72.js} +1 -1
- package/dist/public/_nuxt/Bqlbbq4u.js +1 -0
- package/dist/public/_nuxt/C-7DUGFU.js +1 -0
- package/dist/public/_nuxt/C67ZD0uD.js +1 -0
- package/dist/public/_nuxt/{DqvFL0Kd.js → CEb7njzd.js} +1 -1
- package/dist/public/_nuxt/{Ccxs59XZ.js → CJr8eCPg.js} +1 -1
- package/dist/public/_nuxt/{D1ZHlQ5G.js → CQOvHI-h.js} +1 -1
- package/dist/public/_nuxt/CZm1hx3M.js +1 -0
- package/dist/public/_nuxt/Cbqdjx_Y.js +1 -0
- package/dist/public/_nuxt/CgfzuETb.js +1 -0
- package/dist/public/_nuxt/ChIAts7W.js +1 -0
- package/dist/public/_nuxt/{BQsRGoRo.js → D3K1nMHN.js} +1 -1
- package/dist/public/_nuxt/D7-xsrqe.js +1 -0
- package/dist/public/_nuxt/DBxHLmxb.js +1 -0
- package/dist/public/_nuxt/DQNu8teu.js +1 -0
- package/dist/public/_nuxt/DWpOVjuS.js +1 -0
- package/dist/public/_nuxt/SGqoyjTw.js +1 -0
- package/dist/public/_nuxt/{BL7WZl0t.js → Vq2dNnuk.js} +1 -1
- package/dist/public/_nuxt/Ze5G054N.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/33bfcf49-6c29-4ff2-8a7c-2676280e43b0.json +1 -0
- package/dist/public/_nuxt/entry.D2md-EYL.css +1 -0
- package/dist/public/_nuxt/n6pi28wD.js +5 -0
- package/dist/public/_nuxt/ztSLDBsK.js +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +4 -4
- package/dist/public/_nuxt/BAuZ_bOg.js +0 -1
- package/dist/public/_nuxt/BDNMzG2s.js +0 -1
- package/dist/public/_nuxt/BF0GwwSj.js +0 -1
- package/dist/public/_nuxt/BOzFHLxb.js +0 -1
- package/dist/public/_nuxt/BPDtdGtS.js +0 -1
- package/dist/public/_nuxt/BhEbR39R.js +0 -1
- package/dist/public/_nuxt/BriO7i_e.js +0 -1
- package/dist/public/_nuxt/Bx_-K8sr.js +0 -1
- package/dist/public/_nuxt/CSj9m9n-.js +0 -1
- package/dist/public/_nuxt/C_0Sx1sV.js +0 -1
- package/dist/public/_nuxt/CiBP4H8h.js +0 -1
- package/dist/public/_nuxt/CleZzkRG.js +0 -1
- package/dist/public/_nuxt/CoPvbHfg.js +0 -1
- package/dist/public/_nuxt/CvZr1WUA.js +0 -1
- package/dist/public/_nuxt/D0iElgch.js +0 -1
- package/dist/public/_nuxt/DCrEftnh.js +0 -1
- package/dist/public/_nuxt/DH5mSOoi.js +0 -1
- package/dist/public/_nuxt/OQ06FBli.js +0 -1
- package/dist/public/_nuxt/UNS2zuJ1.js +0 -1
- package/dist/public/_nuxt/_cWgq-kS.js +0 -1
- package/dist/public/_nuxt/builds/meta/a7ef99ac-b138-4298-b2dc-ae64ec7bd8dc.json +0 -1
- package/dist/public/_nuxt/entry.By1Oc4Ii.css +0 -1
- package/dist/public/_nuxt/g7nJ86t7.js +0 -5
- package/dist/public/_nuxt/k4SpML6D.js +0 -1
- package/dist/public/_nuxt/pmF1D2Eh.js +0 -1
- package/dist/public/_nuxt/xKaCciGs.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ct as e,Et as t,H as n,L as ee,M as r,P as i,Tt as a,_ as te,c as o,d as s,h as c,it as l,l as u,m as d,r as f,s as p,u as m}from"./B4prFwj0.js";import{u as ne}from"./D4dwYDex.js";import{S as h,i as re,m as g,n as _,p as ie,v as ae,y as oe}from"./Bqlbbq4u.js";import{i as v,n as y}from"#entry";import{t as b}from"./ztSLDBsK.js";import{t as x}from"./DQNu8teu.js";import{n as se,t as ce}from"./BWmypMON.js";import{t as S}from"./BZwyJa72.js";var le={class:`grid gap-4 border-b border-base px-4 py-5`},C={class:`flex items-end gap-3`},w={class:`grid gap-1`},T={class:`label`},E={class:`flex items-center gap-3 font-mono text-2xl font-medium`},D={key:0,class:`pb-1 color-muted`},O={key:1,class:`badge mb-1.5`},k={key:0,class:`grid gap-1.5`},A={class:`h-2 flex border border-strong`},j={class:`font-mono text-xs color-muted tabular-nums`},M={key:1,class:`color-muted`},N={class:`truncate font-mono text-xs`},P={class:`truncate color-muted`},F={class:`truncate font-mono text-xs`},I={class:`truncate color-muted`},L={class:`flex min-w-0 items-center gap-2 font-mono text-xs`},ue={class:`truncate`},R={class:`truncate`},z={class:`truncate color-muted`},B={class:`font-mono text-xs color-muted`},V={key:0,class:`font-mono text-xs`},H={class:`flex-auto truncate`},U={key:4,class:`flex items-center gap-2 px-4 py-3 color-ok`},W=te({__name:`[locale]`,setup(te){let W=ne(),G=p(()=>String(W.params.locale)),K=p(()=>_.value?.locales.find(e=>e.code===G.value)),q=p(()=>G.value===_.value?.sourceLocale),J=g((e,t)=>e.keys(t)),de=g((e,t)=>e.analysis(t)),Y=p(()=>(J.value?.rows??[]).filter(e=>e.missing.includes(G.value)&&e.values[G.value]===void 0)),X=p(()=>(J.value?.rows??[]).filter(e=>e.missing.includes(G.value)&&e.values[G.value]!==void 0)),Z=p(()=>(J.value?.rows??[]).filter(e=>e.outdated.includes(G.value))),Q=p(()=>K.value&&K.value.total?K.value.outdated/K.value.total*100:0),$=p(()=>(de.value?.diagnostics??[]).filter(e=>e.locale===G.value&&(e.code===`placeholder-mismatch`||e.code===`invalid-syntax`)));function fe(){re(G.value)||ie(G.value)}return(te,p)=>(r(),u(b,null,{default:n(()=>[o(`header`,le,[o(`div`,C,[o(`div`,w,[o(`span`,T,t(l(h)(`locale.label`)),1),o(`h1`,E,[c(y,{code:G.value},null,8,[`code`]),d(` `+t(G.value),1)])]),K.value?(r(),s(`span`,D,t(l(oe)(G.value)??K.value.displayName),1)):m(``,!0),q.value?(r(),s(`span`,O,t(l(h)(`overview.source`)),1)):m(``,!0),p[1]||=o(`span`,{class:`flex-auto`},null,-1),c(l(v),{to:{path:`/keys`,query:{missing:G.value}},class:`btn-outline`,onClick:fe},{default:n(()=>[p[0]||=o(`span`,{class:`i-ph-table-duotone`},null,-1),d(` `+t(l(h)(`locale.openInGrid`)),1)]),_:1},8,[`to`]),q.value?m(``,!0):(r(),u(se,{key:2,text:l(ce)([{locale:G.value,stale:Z.value.length>0}]),label:Z.value.length?l(h)(`prompt.copyStale`):l(h)(`prompt.copy`),hint:Z.value.length?l(h)(`prompt.staleHint`):l(h)(`prompt.hint`)},null,8,[`text`,`label`,`hint`]))]),K.value?(r(),s(`div`,k,[o(`span`,A,[o(`span`,{class:`h-full bg-inverse`,style:a({width:`${Math.max(0,K.value.percent-Q.value)}%`})},null,4),o(`span`,{class:`h-full bg-[var(--x-warn)]`,style:a({width:`${Q.value}%`})},null,4)]),o(`span`,j,t(l(h)(`locale.progress`,{translated:K.value.translated,total:K.value.total,percent:l(ae)(K.value.percent)})),1)])):l(_)?(r(),s(`p`,M,t(l(h)(`locale.notFound`)),1)):m(``,!0)]),Y.value.length?(r(),u(x,{key:0,index:`01`,title:l(h)(`locale.missing`,{count:Y.value.length})},{default:n(()=>[(r(!0),s(f,null,i(Y.value,e=>(r(),u(l(v),{key:e.key,to:`/keys/${encodeURIComponent(e.key)}`,class:`focus-ring grid grid-cols-[minmax(0,20rem)_1fr] items-baseline gap-4 border-b border-base px-4 py-1.5 transition-colors last:border-b-0 hover:bg-hover`},{default:n(()=>[o(`span`,N,t(e.key),1),o(`span`,P,[c(S,{value:e.values[l(_)?.sourceLocale??``],inline:``},null,8,[`value`])])]),_:2},1032,[`to`]))),128))]),_:1},8,[`title`])):m(``,!0),X.value.length?(r(),u(x,{key:1,index:`02`,title:l(h)(`locale.empty`,{count:X.value.length})},{default:n(()=>[(r(!0),s(f,null,i(X.value,e=>(r(),u(l(v),{key:e.key,to:`/keys/${encodeURIComponent(e.key)}`,class:`focus-ring grid grid-cols-[minmax(0,20rem)_1fr] items-baseline gap-4 border-b border-base px-4 py-1.5 transition-colors last:border-b-0 hover:bg-hover`},{default:n(()=>[o(`span`,F,t(e.key),1),o(`span`,I,[c(S,{value:e.values[l(_)?.sourceLocale??``],inline:``},null,8,[`value`])])]),_:2},1032,[`to`]))),128))]),_:1},8,[`title`])):m(``,!0),Z.value.length?(r(),u(x,{key:2,index:`03`,title:l(h)(`locale.outdated`,{count:Z.value.length})},{default:n(()=>[(r(!0),s(f,null,i(Z.value,e=>(r(),u(l(v),{key:e.key,to:`/keys/${encodeURIComponent(e.key)}`,class:`focus-ring grid grid-cols-[minmax(0,20rem)_1fr_1fr] items-center gap-4 border-b border-base px-4 py-1.5 transition-colors last:border-b-0 hover:bg-hover`},{default:n(()=>[o(`span`,L,[p[2]||=o(`span`,{class:`i-ph-clock-counter-clockwise-duotone shrink-0 color-warn`},null,-1),o(`span`,ue,t(e.key),1)]),o(`span`,R,[c(S,{value:e.values[l(_)?.sourceLocale??``],inline:``},null,8,[`value`])]),o(`span`,z,[c(S,{value:e.values[G.value],inline:``},null,8,[`value`])])]),_:2},1032,[`to`]))),128))]),_:1},8,[`title`])):m(``,!0),$.value.length?(r(),u(x,{key:3,index:`04`,title:l(h)(`locale.problems`,{count:$.value.length})},{default:n(()=>[(r(!0),s(f,null,i($.value,(i,a)=>(r(),u(ee(i.key?l(v):`div`),{key:a,to:i.key?`/keys/${encodeURIComponent(i.key)}`:void 0,class:e([`flex items-center gap-2 border-b border-base px-4 py-1.5 last:border-b-0`,i.key&&`transition-colors hover:bg-hover`])},{default:n(()=>[o(`span`,{class:e(i.severity===`error`?`i-ph-x-circle-duotone color-error`:`i-ph-warning-duotone color-warn`)},null,2),o(`span`,B,t(i.code),1),i.key?(r(),s(`span`,V,t(i.key),1)):m(``,!0),o(`span`,H,t(i.message),1)]),_:2},1032,[`to`,`class`]))),128))]),_:1},8,[`title`])):m(``,!0),K.value&&l(J)&&!Y.value.length&&!X.value.length&&!Z.value.length&&!$.value.length?(r(),s(`p`,U,[p[3]||=o(`span`,{class:`i-ph-check-circle-duotone`},null,-1),d(` `+t(l(h)(`locale.complete`)),1)])):m(``,!0)]),_:1}))}});export{W as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"33bfcf49-6c29-4ff2-8a7c-2676280e43b0","timestamp":1792557716204}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"33bfcf49-6c29-4ff2-8a7c-2676280e43b0","timestamp":1792557716204,"prerendered":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}:host,html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}code,kbd,pre,samp{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}dialog,fieldset,legend,menu,ol,ul{padding:0}menu,ol,ul{margin:0;list-style:none}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}[hidden]:where(:not([hidden=until-found])){display:none}@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--un-accent-opacity:100%;--un-bg-opacity:100%;--un-border-opacity:100%;--un-leading:initial;--un-line-opacity:100%;--un-outline-opacity:100%;--un-outline-style:solid;--un-text-opacity:100%}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-leading{syntax:"*";inherits:false}@property --un-outline-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --un-accent-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-line-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-inset-ring-color{syntax:"*";inherits:false}@property --un-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow-color{syntax:"*";inherits:false}@property --un-ring-color{syntax:"*";inherits:false}@property --un-ring-inset{syntax:"*";inherits:false}@property --un-ring-offset-color{syntax:"*";inherits:false}@property --un-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --un-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow-color{syntax:"*";inherits:false}@property --un-blur{syntax:"*";inherits:false}@property --un-brightness{syntax:"*";inherits:false}@property --un-contrast{syntax:"*";inherits:false}@property --un-drop-shadow{syntax:"*";inherits:false}@property --un-grayscale{syntax:"*";inherits:false}@property --un-hue-rotate{syntax:"*";inherits:false}@property --un-invert{syntax:"*";inherits:false}@property --un-saturate{syntax:"*";inherits:false}@property --un-sepia{syntax:"*";inherits:false}@property --un-numeric-figure{syntax:"*";inherits:false}@property --un-numeric-fraction{syntax:"*";inherits:false}@property --un-numeric-spacing{syntax:"*";inherits:false}@property --un-ordinal{syntax:"*";inherits:false}@property --un-slashed-zero{syntax:"*";inherits:false}:host,:root{--default-transition-timingFunction:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--spacing:.25rem;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--fontWeight-medium:500;--font-sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--container-sm:24rem;--fontWeight-semibold:600;--tracking-tight:-.025em;--colors-teal-DEFAULT:oklch(77.7% .152 181.912);--radius-DEFAULT:.25rem;--container-6xl:72rem;--tracking-wide:.025em;--leading-none:1;--colors-teal-700:oklch(51.1% .096 186.391);--colors-white:#fff;--colors-neutral-950:oklch(14.5% 0 0);--colors-neutral-500:oklch(55.6% 0 0);--text-xs-fontSize:.75rem;--text-xs-lineHeight:1rem;--text-xl-fontSize:1.25rem;--text-xl-lineHeight:1.75rem;--text-2xl-fontSize:1.5rem;--text-2xl-lineHeight:2rem;--text-sm-fontSize:.875rem;--text-sm-lineHeight:1.25rem;--text-lg-fontSize:1.125rem;--text-lg-lineHeight:1.75rem;--text-base-fontSize:1rem;--text-base-lineHeight:1.5rem;--text-3xl-fontSize:1.875rem;--text-3xl-lineHeight:2.25rem;--colors-teal-200:oklch(91% .096 180.426);--radius-none:0;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono)}*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-monoFont-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-monoFont-featureSettings,normal);font-variation-settings:var(--default-monoFont-variationSettings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}:root{--x-bg:#fff;--x-fg:#0a0a0a;--x-muted:#0a0a0a9e;--x-faint:#0a0a0a59;--x-line:#0a0a0a1f;--x-line-strong:#0a0a0a66;--x-hover:#0a0a0a0a;--x-error:#dc2626;--x-warn:#b45309;--x-ok:#15803d;--x-info:#0369a1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html.dark{--x-bg:#0a0a0a;--x-fg:#fafafa;--x-muted:#fafafa9e;--x-faint:#fafafa59;--x-line:#fafafa24;--x-line-strong:#fafafa66;--x-hover:#fafafa0f;--x-error:#f87171;--x-warn:#fbbf24;--x-ok:#4ade80;--x-info:#7dd3fc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html.high-contrast{--x-bg:#000;--x-fg:#fff;--x-muted:#fffd;--x-faint:#fffa;--x-line:#fffa;--x-line-strong:#fff}#__nuxt,body,html{background:var(--x-bg);height:100%;color:var(--x-fg);margin:0}.antialiased,body{-webkit-font-smoothing:antialiased}::selection{background:var(--x-fg);color:var(--x-bg)}.i-catppuccin\:astro{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%23cad3f5' d='M10.561 1.61L13.5 10.5c-.995-.517-2.395-1.298-3.5-1.493L8 3.5L6 9.007c-1.11.194-2.5.974-3.5 1.493l3.163-8.891c.121-.398.182-.597.302-.745A1 1 0 0 1 6.36.57c.176-.07.384-.07.8-.07h1.902c.416 0 .625 0 .801.071a1 1 0 0 1 .396.293c.12.148.18.347.301.746'/%3E%3Cpath stroke='%23c6a0f6' d='M10.411 11.266c-.43.365-1.292.613-2.283.613c-1.217 0-2.237-.374-2.508-.879a2.8 2.8 0 0 0-.119.831s-.063 1.038.666 1.76c0-.374.307-.679.686-.679c.648 0 .648.561.647 1.016v.04c0 .691.426 1.282 1.032 1.532a1.4 1.4 0 0 1-.141-.61c0-.658.39-.903.845-1.188c.36-.227.761-.479 1.038-.985a1.84 1.84 0 0 0 .137-1.451'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:astro,.i-catppuccin\:file,.i-catppuccin\:html,.i-catppuccin\:javascript,.i-catppuccin\:javascript-react,.i-catppuccin\:json,.i-catppuccin\:markdown,.i-catppuccin\:php,.i-catppuccin\:properties,.i-catppuccin\:ruby,.i-catppuccin\:svelte,.i-catppuccin\:text,.i-catppuccin\:toml,.i-catppuccin\:typescript{width:1.11em;height:1.11em}.i-catppuccin\:file{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round' d='M13.5 6.5v6a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h4.01m-.01 0l5 5h-4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:html{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%23f5a97f' d='M1.5 1.5h13L13 13l-5 2l-5-2z'/%3E%3Cpath stroke='%23cad3f5' d='M11 4.5H5l.25 3h5.5l-.25 3l-2.5 1l-2.5-1l-.08-1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:javascript{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23eed49f' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11a1.5 1.5 0 0 0 3 0V7.5m5 1.25c0-.69-.537-1.25-1.2-1.25h-.6c-.663 0-1.2.56-1.2 1.25S10.037 10 10.7 10h.6c.663 0 1.2.56 1.2 1.25s-.537 1.25-1.2 1.25h-.6c-.663 0-1.2-.56-1.2-1.25'/%3E%3Cpath d='M4 1.5h8c1.385 0 2.5 1.115 2.5 2.5v8c0 1.385-1.115 2.5-2.5 2.5H4A2.495 2.495 0 0 1 1.5 12V4c0-1.385 1.115-2.5 2.5-2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:javascript-react{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%2391d7e3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10.8c4.14 0 7.5-1.25 7.5-2.8S12.14 5.2 8 5.2S.5 6.45.5 8s3.36 2.8 7.5 2.8'/%3E%3Cpath d='M5.52 9.4c2.07 3.5 4.86 5.72 6.23 4.95c1.37-.78.8-4.24-1.27-7.75C8.41 3.1 5.62.88 4.25 1.65c-1.37.78-.8 4.24 1.27 7.75'/%3E%3Cpath d='M5.52 6.6c-2.07 3.5-2.64 6.97-1.27 7.75c1.37.77 4.16-1.45 6.23-4.95s2.64-6.97 1.27-7.75C10.38.88 7.59 3.1 5.52 6.6'/%3E%3Cpath d='M8.5 8a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5a.5.5 0 0 1 .5.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:json{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23eed49f' stroke-linecap='round' stroke-linejoin='round' d='M4.5 2.5H4c-.75 0-1.5.75-1.5 1.5v2c0 1.1-1 2-1.83 2c.83 0 1.83.9 1.83 2v2c0 .75.75 1.5 1.5 1.5h.5m7-11h.5c.75 0 1.5.75 1.5 1.5v2c0 1.1 1 2 1.83 2c-.83 0-1.83.9-1.83 2v2c0 .74-.75 1.5-1.5 1.5h-.5m-6.5-3a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m3 0a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m3 0a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:markdown{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%237dc4e4' stroke-linecap='round' stroke-linejoin='round' d='m9.25 8.25l2.25 2.25l2.25-2.25M3.5 11V5.5l2.04 3l1.96-3V11m4-.5V5M1.65 2.5h12.7c.59 0 1.15.49 1.15 1v9c0 .51-.56 1-1.15 1H1.65c-.59 0-1.15-.49-1.15-1V3.58c0-.5.56-1.08 1.15-1.08'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:php{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round' d='M.5 12.5v.74c0 .76.774 1.26 1.5 1.26c.938 0 1.5-.5 1.5-1.255V6c0-1.715 1.494-3.478 3.65-3.501c2.344 0 3.85 1.558 3.85 3c.166 2.99-1.422 4.137-3.504 5v4h8.002V9c.041-.635-.56-1.844-1.367-2.5c-.937-.692-2.073-.997-3.131-1m.5 9v-3M6 6.5a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:properties{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round' d='M8 1.5c-.87 0-1.17 1.32-2.03 1.63c-.86.3-2.17-.68-2.84 0c-.68.67.3 1.98 0 2.84S1.5 7.13 1.5 8s1.32 1.17 1.63 2.03c.3.86-.68 2.17 0 2.85c.67.67 1.98-.3 2.84 0c.85.3 1.16 1.62 2.03 1.62s1.17-1.32 2.03-1.63c.86-.3 2.17.68 2.85 0c.67-.67-.3-1.98 0-2.84c.3-.85 1.62-1.16 1.62-2.03s-1.32-1.17-1.63-2.03c-.3-.86.68-2.17 0-2.84c-.67-.68-1.98.3-2.84 0S8.87 1.5 8 1.5m0 9a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:ruby{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ed8796' stroke-linecap='round' stroke-linejoin='round' d='M1.5 9.06v2.5c.02.86.36 1.61.9 2.15c1.76 1.76 5.71.65 8.84-2.47c3.12-3.13 4.23-7.08 2.47-8.84a3.1 3.1 0 0 0-2.15-.9h-2.5M14.5 4l-.25 10.25L4 14.5m4.39-6.11c2.34-2.35 3.29-5.2 2.12-6.37S6.49 1.8 4.14 4.14C1.8 6.5.85 9.34 2.02 10.51s4.02.22 6.37-2.12M5.5 14.5l.25-3.75L11 11l-.25-5.25l3.75-.25'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:svelte{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23f5a97f' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.86 6.72s1.39-1.98.08-3.87C11.286.763 9.44 1.6 9.44 1.6S6.15 3.35 4.33 4.59c-1.4 1-2.24 2.26-1.03 4.37c1.22 2.1 4.58 1.21 4.58 1.21'/%3E%3Cpath d='M3.14 9.28s-1.39 1.98-.08 3.87c1.31 1.9 3.5 1.24 3.5 1.24s3.29-1.74 5.11-2.98c1.4-1 2.24-2.26 1.03-4.37c-1.22-2.1-4.58-1.21-4.58-1.21M6.3 6.96l4.14-2.56m-4.92 7.25L9.66 9.1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:text{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 6.5v6a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h4.01'/%3E%3Cpath d='m8.5 1.5l5 5h-4a1 1 0 0 1-1-1zm-3 10h5m-5-3h5m-5-3h1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:toml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ee99a0' stroke-linecap='round' stroke-linejoin='round' d='M3.5 1.5h-2v13h2m9-13h2v13h-2m-8-11h7v3h-2v6h-3v-6h-2z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 1.5h8A2.5 2.5 0 0 1 14.5 4v8a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 12V4A2.5 2.5 0 0 1 4 1.5'/%3E%3Cpath d='M12.5 8.75c0-.69-.54-1.25-1.2-1.25h-.6c-.66 0-1.2.56-1.2 1.25S10.04 10 10.7 10h.6c.66 0 1.2.56 1.2 1.25s-.54 1.25-1.2 1.25h-.6c-.66 0-1.2-.56-1.2-1.25m-3-3.75v5M5 7.5h3'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript-def{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%238aadf4' d='M12.5 4.5h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V10'/%3E%3Cpath stroke='%238aadf4' d='M13.5 9c-.33-.33-.83-.5-1.5-.5c-1 0-1.5.5-1.5 1s.5 1 1.5 1s1.5.5 1.5 1s-.5 1-1.5 1c-.67 0-1.17-.17-1.5-.5M8 8.5v4m-1.5-4h3'/%3E%3Cpath stroke='%237dc4e4' d='M2.04 7.88L.5 3.02c-.05-.15.06-.31.23-.37L7.54.52c.1-.04.21-.02.3.04l2.63 1.84c.1.07.13.19.1.3L9.44 5.72a.34.34 0 0 1-.22.2l-6.8 2.13a.31.31 0 0 1-.4-.17Zm5.13-3.23a1.21 1.21 0 1 0 .62-2.35a1.21 1.21 0 0 0-.62 2.35'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:1.11em;height:1.11em}.i-catppuccin\:typescript-react{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 11.3c4.14 0 7.5-1.28 7.5-2.86S12.14 5.58 8 5.58S.5 6.86.5 8.44s3.36 2.87 7.5 2.87Z'/%3E%3Cpath d='M5.52 9.87c2.07 3.6 4.86 5.86 6.23 5.07c1.37-.8.8-4.34-1.27-7.93S5.62 1.16 4.25 1.95s-.8 4.34 1.27 7.92'/%3E%3Cpath d='M5.52 7.01c-2.07 3.59-2.64 7.14-1.27 7.93s4.16-1.48 6.23-5.07c2.07-3.58 2.64-7.13 1.27-7.92c-1.37-.8-4.16 1.47-6.23 5.06'/%3E%3Cpath d='M8.5 8.44a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5a.5.5 0 0 1 .5.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:1.11em;height:1.11em}.i-catppuccin\:typescript-test{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round' d='M15.5 12c-.33-.33-.83-.5-1.5-.5c-1 0-1.5.5-1.5 1s.5 1 1.5 1s1.5.5 1.5 1s-.5 1-1.5 1c-.67 0-1.17-.17-1.5-.5m-3-3.5v4m-1.5-4h3m-.28-9.75l-8.49 8.48a2.5 2.5 0 1 0 3.54 3.54l.77-.77m3.59-3.59l.59-.59l1.17-1.18l2.36-2.36M9.5.5l6 6m-3.5 1H4.98'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript-test,.i-catppuccin\:vue,.i-catppuccin\:xml,.i-catppuccin\:yaml,.i-ph-arrow-left-duotone,.i-ph-arrow-square-out-duotone,.i-ph-caret-right-duotone,.i-ph-check-circle-duotone,.i-ph-check-duotone,.i-ph-circle-duotone,.i-ph-clock-counter-clockwise-duotone,.i-ph-dots-three-duotone,.i-ph-eye-duotone,.i-ph-eye-slash-duotone,.i-ph-file-text-duotone,.i-ph-flag-duotone,.i-ph-flag-fill,.i-ph-ghost-duotone,.i-ph-magnifying-glass-duotone,.i-ph-sparkle-duotone,.i-ph-table-duotone,.i-ph-translate-duotone,.i-ph-warning-duotone,.i-ph-x-circle-duotone{width:1.11em;height:1.11em}.i-catppuccin\:vue{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23a6da95' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5h5.44L8 4.56L9.56 1.5H15l-6.99 13z'/%3E%3Cpath d='M12.05 1.73L8 9.28L3.95 1.73'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:xml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23f5a97f' stroke-linecap='round' stroke-linejoin='round' d='M4.5 4.5L1 8l3.5 3.5m7-7L15 8l-3.5 3.5M9.5 2l-3 12'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:yaml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ed8796' stroke-linecap='round' stroke-linejoin='round' d='M2.5 1.5h3l3 4l3-4h3l-9 13h-3L7 8z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-ph-arrow-left-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M112 56v144l-72-72Z' opacity='.2'/%3E%3Cpath d='M216 120h-96V56a8 8 0 0 0-13.66-5.66l-72 72a8 8 0 0 0 0 11.32l72 72A8 8 0 0 0 120 200v-64h96a8 8 0 0 0 0-16m-112 60.69L51.31 128L104 75.31Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-arrow-left-duotone,.i-ph-arrow-square-out-duotone,.i-ph-caret-right-duotone,.i-ph-check-circle-duotone,.i-ph-check-duotone,.i-ph-circle-duotone,.i-ph-clock-counter-clockwise-duotone,.i-ph-dots-three-duotone,.i-ph-eye-duotone,.i-ph-eye-slash-duotone,.i-ph-file-text-duotone,.i-ph-flag-duotone,.i-ph-flag-fill,.i-ph-ghost-duotone,.i-ph-magnifying-glass-duotone,.i-ph-sparkle-duotone,.i-ph-table-duotone,.i-ph-translate-duotone,.i-ph-warning-duotone,.i-ph-x-circle-duotone{-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph-arrow-square-out-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M184 80v128a8 8 0 0 1-8 8H48a8 8 0 0 1-8-8V80a8 8 0 0 1 8-8h128a8 8 0 0 1 8 8' opacity='.2'/%3E%3Cpath d='M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-caret-right-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m176 128l-80 80V48Z' opacity='.2'/%3E%3Cpath d='m181.66 122.34l-80-80A8 8 0 0 0 88 48v160a8 8 0 0 0 13.66 5.66l80-80a8 8 0 0 0 0-11.32M104 188.69V67.31L164.69 128Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-check-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-check-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M232 56v144a16 16 0 0 1-16 16H40a16 16 0 0 1-16-16V56a16 16 0 0 1 16-16h176a16 16 0 0 1 16 16' opacity='.2'/%3E%3Cpath d='m205.66 85.66l-96 96a8 8 0 0 1-11.32 0l-40-40a8 8 0 0 1 11.32-11.32L104 164.69l90.34-90.35a8 8 0 0 1 11.32 11.32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-clock-counter-clockwise-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 128a88 88 0 1 1-88-88a88 88 0 0 1 88 88' opacity='.2'/%3E%3Cpath d='M136 80v43.47l36.12 21.67a8 8 0 0 1-8.24 13.72l-40-24A8 8 0 0 1 120 128V80a8 8 0 0 1 16 0m-8-48a95.44 95.44 0 0 0-67.92 28.15C52.81 67.51 46.35 74.59 40 82V64a8 8 0 0 0-16 0v40a8 8 0 0 0 8 8h40a8 8 0 0 0 0-16H49c7.15-8.42 14.27-16.35 22.39-24.57a80 80 0 1 1 1.66 114.75a8 8 0 1 0-11 11.64A96 96 0 1 0 128 32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-dots-three-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M240 96v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16' opacity='.2'/%3E%3Cpath d='M140 128a12 12 0 1 1-12-12a12 12 0 0 1 12 12m56-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m-136 0a12 12 0 1 0 12 12a12 12 0 0 0-12-12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-eye-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M128 56c-80 0-112 72-112 72s32 72 112 72s112-72 112-72s-32-72-112-72m0 112a40 40 0 1 1 40-40a40 40 0 0 1-40 40' opacity='.2'/%3E%3Cpath d='M247.31 124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57 61.26 162.88 48 128 48S61.43 61.26 36.34 86.35C17.51 105.18 9 124 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208s66.57-13.26 91.66-38.34c18.83-18.83 27.3-37.61 27.65-38.4a8 8 0 0 0 0-6.5M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.5 133.5 0 0 1 25 128a133.3 133.3 0 0 1 23.07-30.75C70.33 75.19 97.22 64 128 64s57.67 11.19 79.93 33.25A133.5 133.5 0 0 1 231.05 128c-7.21 13.46-38.62 64-103.05 64m0-112a48 48 0 1 0 48 48a48.05 48.05 0 0 0-48-48m0 80a32 32 0 1 1 32-32a32 32 0 0 1-32 32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-eye-slash-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M128 56c-80 0-112 72-112 72s32 72 112 72s112-72 112-72s-32-72-112-72m0 112a40 40 0 1 1 40-40a40 40 0 0 1-40 40' opacity='.2'/%3E%3Cpath d='M53.92 34.62a8 8 0 1 0-11.84 10.76l19.24 21.17C25 88.84 9.38 123.2 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208a127.1 127.1 0 0 0 52.07-10.83l22 24.21a8 8 0 1 0 11.84-10.76Zm47.33 75.84l41.67 45.85a32 32 0 0 1-41.67-45.85M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.2 133.2 0 0 1 25 128c4.69-8.79 19.66-33.39 47.35-49.38l18 19.75a48 48 0 0 0 63.66 70l14.73 16.2A112 112 0 0 1 128 192m6-95.43a8 8 0 0 1 3-15.72a48.16 48.16 0 0 1 38.77 42.64a8 8 0 0 1-7.22 8.71a6 6 0 0 1-.75 0a8 8 0 0 1-8-7.26A32.09 32.09 0 0 0 134 96.57m113.28 34.69c-.42.94-10.55 23.37-33.36 43.8a8 8 0 1 1-10.67-11.92a132.8 132.8 0 0 0 27.8-35.14a133.2 133.2 0 0 0-23.12-30.77C185.67 75.19 158.78 64 128 64a118.4 118.4 0 0 0-19.36 1.57A8 8 0 1 1 106 49.79A134 134 0 0 1 128 48c34.88 0 66.57 13.26 91.66 38.35c18.83 18.83 27.3 37.62 27.65 38.41a8 8 0 0 1 0 6.5Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-file-text-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 88h-56V32Z' opacity='.2'/%3E%3Cpath d='m213.66 82.34l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31L188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48zm-32-80a8 8 0 0 1-8 8H96a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8m0 32a8 8 0 0 1-8 8H96a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-flag-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 56v120c-64 55.43-112-55.43-176 0V56c64-55.43 112 55.43 176 0' opacity='.2'/%3E%3Cpath d='M42.76 50A8 8 0 0 0 40 56v168a8 8 0 0 0 16 0v-44.23c26.79-21.16 49.87-9.75 76.45 3.41c16.4 8.11 34.06 16.85 53 16.85c13.93 0 28.54-4.75 43.82-18a8 8 0 0 0 2.76-6V56a8 8 0 0 0-13.27-6c-28 24.23-51.72 12.49-79.21-1.12C111.07 34.76 78.78 18.79 42.76 50M216 172.25c-26.79 21.16-49.87 9.74-76.45-3.41c-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16 49.87-9.75 76.45 3.4c25 12.35 52.82 26.13 83.55 8.4Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-flag-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M232 56v120a8 8 0 0 1-2.76 6c-15.28 13.23-29.89 18-43.82 18c-18.91 0-36.57-8.74-53-16.85C105.87 170 82.79 158.61 56 179.77V224a8 8 0 0 1-16 0V56a8 8 0 0 1 2.77-6c36-31.18 68.31-15.21 96.79-1.12C167 62.46 190.79 74.2 218.76 50A8 8 0 0 1 232 56'/%3E%3C/svg%3E")}.i-ph-ghost-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 120v96l-29.33-24l-29.34 24L128 192l-29.33 24l-29.34-24L40 216v-96a88 88 0 0 1 176 0' opacity='.2'/%3E%3Cpath d='M112 116a12 12 0 1 1-12-12a12 12 0 0 1 12 12m44-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m68 16v96a8 8 0 0 1-13.07 6.19l-24.26-19.85l-24.27 19.85a8 8 0 0 1-10.13 0L128 202.34l-24.27 19.85a8 8 0 0 1-10.13 0l-24.27-19.85l-24.26 19.85A8 8 0 0 1 32 216v-96a96 96 0 0 1 192 0m-16 0a80 80 0 0 0-160 0v79.12l16.27-13.31a8 8 0 0 1 10.13 0l24.27 19.85l24.26-19.85a8 8 0 0 1 10.14 0l24.26 19.85l24.27-19.85a8 8 0 0 1 10.13 0L208 199.12Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-magnifying-glass-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M192 112a80 80 0 1 1-80-80a80 80 0 0 1 80 80' opacity='.2'/%3E%3Cpath d='m229.66 218.34l-50.06-50.06a88.21 88.21 0 1 0-11.32 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-sparkle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m194.82 151.43l-55.09 20.3l-20.3 55.09a7.92 7.92 0 0 1-14.86 0l-20.3-55.09l-55.09-20.3a7.92 7.92 0 0 1 0-14.86l55.09-20.3l20.3-55.09a7.92 7.92 0 0 1 14.86 0l20.3 55.09l55.09 20.3a7.92 7.92 0 0 1 0 14.86' opacity='.2'/%3E%3Cpath d='M197.58 129.06L146 110l-19-51.62a15.92 15.92 0 0 0-29.88 0L78 110l-51.62 19a15.92 15.92 0 0 0 0 29.88L78 178l19 51.62a15.92 15.92 0 0 0 29.88 0L146 178l51.62-19a15.92 15.92 0 0 0 0-29.88ZM137 164.22a8 8 0 0 0-4.74 4.74L112 223.85L91.78 169a8 8 0 0 0-4.78-4.78L32.15 144L87 123.78a8 8 0 0 0 4.78-4.78L112 64.15L132.22 119a8 8 0 0 0 4.74 4.74L191.85 144ZM144 40a8 8 0 0 1 8-8h16V16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16h-16v16a8 8 0 0 1-16 0V48h-16a8 8 0 0 1-8-8m104 48a8 8 0 0 1-8 8h-8v8a8 8 0 0 1-16 0v-8h-8a8 8 0 0 1 0-16h8v-8a8 8 0 0 1 16 0v8h8a8 8 0 0 1 8 8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-table-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M88 104v96H32v-96Z' opacity='.2'/%3E%3Cpath d='M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8M40 112h40v32H40Zm56 0h120v32H96Zm120-48v32H40V64ZM40 160h40v32H40Zm176 32H96v-32h120z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-translate-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 184h-80l40-80ZM96 127.56A95.78 95.78 0 0 0 128 56H64a95.78 95.78 0 0 0 32 71.56' opacity='.2'/%3E%3Cpath d='m247.15 212.42l-56-112a8 8 0 0 0-14.31 0l-21.71 43.43A88 88 0 0 1 108 126.93A103.65 103.65 0 0 0 135.69 64H160a8 8 0 0 0 0-16h-56V32a8 8 0 0 0-16 0v16H32a8 8 0 0 0 0 16h87.63A87.7 87.7 0 0 1 96 116.35a87.7 87.7 0 0 1-19-31a8 8 0 1 0-15.08 5.34A103.6 103.6 0 0 0 84 127a87.55 87.55 0 0 1-52 17a8 8 0 0 0 0 16a103.46 103.46 0 0 0 64-22.08a104.2 104.2 0 0 0 51.44 21.31l-26.6 53.19a8 8 0 0 0 14.31 7.16L148.94 192h70.11l13.79 27.58A8 8 0 0 0 240 224a8 8 0 0 0 7.15-11.58M156.94 176L184 121.89L211.05 176Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-warning-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M215.46 216H40.54c-12.62 0-20.54-13.21-14.41-23.91l87.46-151.87c6.3-11 22.52-11 28.82 0l87.46 151.87c6.13 10.7-1.79 23.91-14.41 23.91' opacity='.2'/%3E%3Cpath d='M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-x-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M165.66 101.66L139.31 128l26.35 26.34a8 8 0 0 1-11.32 11.32L128 139.31l-26.34 26.35a8 8 0 0 1-11.32-11.32L116.69 128l-26.35-26.34a8 8 0 0 1 11.32-11.32L128 116.69l26.34-26.35a8 8 0 0 1 11.32 11.32M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E")}.btn-ghost{padding-inline:calc(var(--spacing) * 3)}.btn-ghost,.btn-icon{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);gap:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 8);-webkit-user-select:none;user-select:none;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));--un-duration:.15s;border-width:1px;border-color:#0000;justify-content:center;align-items:center;transition-duration:.15s;display:inline-flex}.btn-icon{padding-inline:calc(var(--spacing) * 0);width:calc(var(--spacing) * 8)}.btn-outline{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-line-strong) var(--un-border-opacity),transparent)}.btn-outline,.btn-solid{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);padding-inline:calc(var(--spacing) * 3);gap:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 8);-webkit-user-select:none;user-select:none;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));--un-duration:.15s;border-width:1px;justify-content:center;align-items:center;transition-duration:.15s;display:inline-flex}.btn-solid{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent);background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.input{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight));color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);padding-inline:calc(var(--spacing) * 2);--un-outline-style:none;border-radius:var(--radius-none);height:calc(var(--spacing) * 8);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));background-color:#0000;outline-style:none}.badge,.input{border-width:1px;border-color:color-mix(in oklab,var(--x-line) var(--un-border-opacity),transparent)}.badge{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-leading:calc(var(--spacing) * 4);font-size:10px;line-height:calc(var(--spacing) * 4);--un-tracking:.08em;letter-spacing:.08em;font-family:var(--font-mono);padding-inline:calc(var(--spacing));white-space:nowrap;text-transform:uppercase;align-items:center;display:inline-flex}.\!color-base{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)!important}.color-base{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)}.color-error{color:color-mix(in oklab,var(--x-error) var(--un-text-opacity),transparent)}.color-faint{color:color-mix(in oklab,var(--x-faint) var(--un-text-opacity),transparent)}.color-info{color:color-mix(in oklab,var(--x-info) var(--un-text-opacity),transparent)}.color-inverse{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent)}.color-muted{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent)}.color-ok{color:color-mix(in oklab,var(--x-ok) var(--un-text-opacity),transparent)}.color-warn{color:color-mix(in oklab,var(--x-warn) var(--un-text-opacity),transparent)}.label{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-leading:1.45;--un-tracking:.12em;letter-spacing:.12em;font-size:11px;line-height:1.45;font-family:var(--font-mono);text-transform:uppercase}.btn-ghost:hover,.btn-icon:hover{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.btn-outline:hover{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent);background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.hover\:color-base:hover{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)}.hover\:color-muted:hover{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent)}.input::placeholder{color:color-mix(in oklab,var(--x-faint) var(--un-text-opacity),transparent)}.btn-ghost:focus-visible,.btn-icon:focus-visible,.btn-outline:focus-visible,.btn-solid:focus-visible{outline-style:var(--un-outline-style);outline-width:2px;outline-color:color-mix(in oklab,var(--x-fg) var(--un-outline-opacity),transparent);outline-offset:2px}.border-base{border-color:color-mix(in oklab,var(--x-line) var(--un-border-opacity),transparent)}.border-inverse{border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent)}.border-strong{border-color:color-mix(in oklab,var(--x-line-strong) var(--un-border-opacity),transparent)}.focus-within\:border-inverse:focus-within,.hover\:border-inverse:hover,.input:focus{border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent)}.bg-base{background-color:color-mix(in oklab,var(--x-bg) var(--un-bg-opacity),transparent)}.bg-hover{background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.bg-inverse{background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.hover\:bg-hover:hover{background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.btn-solid:hover{opacity:.85}.btn-ghost:disabled,.btn-icon:disabled,.btn-outline:disabled,.btn-solid:disabled{opacity:.4;cursor:not-allowed}.dark .icon-catppuccin{--un-brightness:brightness(100%);--un-hue-rotate:hue-rotate(0deg);--un-invert:invert(0%)}.dark .icon-catppuccin,.filter,.grayscale,.icon-catppuccin{filter:var(--un-blur,) var(--un-brightness,) var(--un-contrast,) var(--un-grayscale,) var(--un-hue-rotate,) var(--un-invert,) var(--un-saturate,) var(--un-sepia,) var(--un-drop-shadow,)}.icon-catppuccin{--un-brightness:brightness(80%);--un-hue-rotate:hue-rotate(180deg);--un-invert:invert(100%)}.text-2xl{font-size:var(--text-2xl-fontSize);line-height:var(--un-leading,var(--text-2xl-lineHeight))}.text-base{font-size:var(--text-base-fontSize);line-height:var(--un-leading,var(--text-base-lineHeight))}.text-lg{font-size:var(--text-lg-fontSize);line-height:var(--un-leading,var(--text-lg-lineHeight))}.text-sm{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xl{font-size:var(--text-xl-fontSize);line-height:var(--un-leading,var(--text-xl-lineHeight))}.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.dark .dark\:text-teal-200{color:color-mix(in srgb,var(--colors-teal-200) var(--un-text-opacity),transparent)}.dark .dark\:text-white{color:color-mix(in srgb,var(--colors-white) var(--un-text-opacity),transparent)}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-\[56px\]{font-size:56px}.text-neutral-500{color:color-mix(in srgb,var(--colors-neutral-500) var(--un-text-opacity),transparent)}.text-neutral-950{color:color-mix(in srgb,var(--colors-neutral-950) var(--un-text-opacity),transparent)}.text-teal-700{color:color-mix(in srgb,var(--colors-teal-700) var(--un-text-opacity),transparent)}.hover\:text-\[\#00DC82\]:hover{color:color-mix(in oklab,#00dc82 var(--un-text-opacity),transparent)}.text-inherit{color:inherit}.leading-4{--un-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--un-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-none{--un-leading:var(--leading-none);line-height:var(--leading-none)}.tracking-\[0\.08em\]{--un-tracking:.08em;letter-spacing:.08em}.tracking-\[0\.12em\]{--un-tracking:.12em;letter-spacing:.12em}.tracking-\[0\.4em\]{--un-tracking:.4em;letter-spacing:.4em}.tracking-tight{--un-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--un-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.font-medium{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-semibold{--un-font-weight:var(--fontWeight-semibold);font-weight:var(--fontWeight-semibold)}.tab{tab-size:4}.mx-auto{margin-inline:auto}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.mt-1{margin-top:calc(var(--spacing))}.mt-20{margin-top:calc(var(--spacing) * 20)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.px,.px-4{padding-inline:calc(var(--spacing) * 4)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px0\.5{padding-inline:calc(var(--spacing) * .5)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing))}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py0\.1{padding-block:calc(var(--spacing) * .1)}.pb-1{padding-bottom:calc(var(--spacing))}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-10{padding-left:calc(var(--spacing) * 10)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:calc(var(--spacing))}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.appearance-none{appearance:none}.outline-\[var\(--x-fg\)\],.peer:focus-visible~.peer-focus-visible\:outline-\[var\(--x-fg\)\]{outline-color:color-mix(in oklab,var(--x-fg) var(--un-outline-opacity),transparent)}.outline,.outline-1{outline-style:var(--un-outline-style);outline-width:1px}.peer:focus-visible~.peer-focus-visible\:outline-2{outline-style:var(--un-outline-style);outline-width:2px}.-outline-offset-1{outline-offset:-1px}.peer:focus-visible~.peer-focus-visible\:outline-offset-2{outline-offset:2px}.outline-none{--un-outline-style:none;outline-style:none}.list-none{list-style-type:none}.accent-\[var\(--x-fg\)\]{accent-color:color-mix(in oklab,var(--x-fg) var(--un-accent-opacity),transparent)}.b,.border{border-width:1px}.border-x{border-inline-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[var\(--x-warn\)\]{border-color:color-mix(in oklab,var(--x-warn) var(--un-border-opacity),transparent)}.border-0{border-width:0}.border-current{border-color:currentColor}.border-teal\:50{border-color:color-mix(in srgb,var(--colors-teal-DEFAULT) 50%,transparent)}.border-l-2{border-left-width:2px}.last\:border-b-0:last-child{border-bottom-width:0}.last\:border-r-0:last-child{border-right-width:0}.rounded{border-radius:var(--radius-DEFAULT)}.border-dashed{--un-border-style:dashed;border-style:dashed}.bg-\[var\(--x-warn\)\]{background-color:color-mix(in oklab,var(--x-warn) var(--un-bg-opacity),transparent)}.bg-teal\:10{background-color:color-mix(in srgb,var(--colors-teal-DEFAULT) 10%,transparent)}.bg-transparent{background-color:#0000}.bg-white{background-color:color-mix(in srgb,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-neutral-950{background-color:color-mix(in srgb,var(--colors-neutral-950) var(--un-bg-opacity),transparent)}.op-0{opacity:0}.op-40{opacity:.4}.op-50{opacity:.5}.op-70{opacity:.7}.op-80{opacity:.8}.line-through{text-decoration-line:line-through}.hover\:underline:hover,.underline{text-decoration-line:underline}.decoration-\[var\(--x-faint\)\]{-webkit-text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent);text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent);-webkit-text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent)}.underline-offset-3{text-underline-offset:3px}.flex{display:flex}.inline-flex{display:inline-flex}.flex-auto{flex:auto}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-1{gap:calc(var(--spacing))}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-x-3{-moz-column-gap:calc(var(--spacing) * 3);column-gap:calc(var(--spacing) * 3)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:calc(var(--spacing))}.grid{display:grid}.grid-cols-\[7rem_1fr_4\.5rem_14rem\]{grid-template-columns:7rem 1fr 4.5rem 14rem}.grid-cols-\[7rem_1fr_auto\]{grid-template-columns:7rem 1fr auto}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_3rem_1fr_18rem\]{grid-template-columns:auto 3rem 1fr 18rem}.grid-cols-\[minmax\(0\,20rem\)_1fr_1fr\]{grid-template-columns:minmax(0,20rem) 1fr 1fr}.grid-cols-\[minmax\(0\,20rem\)_1fr\]{grid-template-columns:minmax(0,20rem) 1fr}.grid-cols-\[minmax\(0\,22rem\)_1fr\]{grid-template-columns:minmax(0,22rem) 1fr}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.size-\[1\.1em\]{width:1.1em;height:1.1em}.size-\[10px\]{width:10px;height:10px}.size-\[11px\]{width:11px;height:11px}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-2,.h2{height:calc(var(--spacing) * 2)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-auto{height:auto}.h-full{height:100%}.h1{height:calc(var(--spacing))}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-w-520px{max-width:520px}.max-w-6xl{max-width:var(--container-6xl)}.max-w-96{max-width:calc(var(--spacing) * 96)}.max-w-full{max-width:100%}.max-w-sm{max-width:var(--container-sm)}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-36{min-width:calc(var(--spacing) * 36)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.cursor-pointer{cursor:pointer}.cursor-grab{cursor:grab}.active\:cursor-grabbing:active{cursor:grabbing}.pointer-events-none{pointer-events:none}.select-none{-webkit-user-select:none;user-select:none}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uppercase{text-transform:uppercase}.antialiased{-moz-osx-font-smoothing:grayscale}.focus-ring:focus{--un-ring-shadow:var(--un-ring-inset,) 0 0 0 calc(1px + var(--un-ring-offset-width)) var(--un-ring-color,currentColor)}.focus-ring:focus,.shadow-\[-3px_0_0_var\(--x-fg\)\],.shadow-\[3px_0_0_var\(--x-fg\)\],.shadow-\[inset_2px_0_var\(--x-fg\)\],.shadow-lg{box-shadow:var(--un-inset-shadow),var(--un-inset-ring-shadow),var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\[-3px_0_0_var\(--x-fg\)\]{--un-shadow:-3px 0 0 var(--un-shadow-color,var(--x-fg))}.shadow-\[3px_0_0_var\(--x-fg\)\]{--un-shadow:3px 0 0 var(--un-shadow-color,var(--x-fg))}.shadow-\[inset_2px_0_var\(--x-fg\)\]{--un-shadow:inset 2px 0 var(--un-shadow-color,var(--x-fg))}.shadow-lg{--un-shadow:0 10px 15px -3px var(--un-shadow-color,#0000001a),0 4px 6px -4px var(--un-shadow-color,#0000001a)}.group:is([open],:popover-open,:open) .group-open\:rotate-90,.rotate-90{rotate:90deg}.transition-all{transition-property:all}.transition-all,.transition-colors,.transition-transform{transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to}.transition-transform{transition-property:transform,translate,scale,rotate}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.-bottom-\[6px\]{bottom:-6px}.-left-\[6px\]{left:-6px}.-right-\[6px\]{right:-6px}.left-\[14px\]{left:14px}.left-\[2px\]{left:2px}.left-0{left:calc(var(--spacing) * 0)}.right-0{right:calc(var(--spacing) * 0)}.top-\[2px\]{top:2px}.top-0{top:calc(var(--spacing) * 0)}.top-full{top:100%}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.place-content-center{place-content:center}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.static{position:static}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.of-x-auto{overflow-x:auto}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.grayscale{--un-grayscale:grayscale(100%)}.table{display:table}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)}@supports (color:color-mix(in lab,red,red)){.dark .dark\:text-teal-200{color:color-mix(in oklab,var(--colors-teal-200) var(--un-text-opacity),transparent)}.dark .dark\:text-white{color:color-mix(in oklab,var(--colors-white) var(--un-text-opacity),transparent)}.text-neutral-500{color:color-mix(in oklab,var(--colors-neutral-500) var(--un-text-opacity),transparent)}.text-neutral-950{color:color-mix(in oklab,var(--colors-neutral-950) var(--un-text-opacity),transparent)}.text-teal-700{color:color-mix(in oklab,var(--colors-teal-700) var(--un-text-opacity),transparent)}.border-teal\:50{border-color:color-mix(in oklab,var(--colors-teal-DEFAULT) 50%,transparent)}.bg-teal\:10{background-color:color-mix(in oklab,var(--colors-teal-DEFAULT) 10%,transparent)}.bg-white{background-color:color-mix(in oklab,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-neutral-950{background-color:color-mix(in oklab,var(--colors-neutral-950) var(--un-bg-opacity),transparent)}}@media (width>=40rem){.sm\:text-3xl{font-size:var(--text-3xl-fontSize);line-height:var(--un-leading,var(--text-3xl-lineHeight))}.sm\:text-\[72px\]{font-size:72px}}@media (width>=48rem){.md\:border-r{border-right-width:1px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D7-xsrqe.js","./B4prFwj0.js","./DoHg1T7s.js","./D4dwYDex.js","./Bw3sjlsE.js","./Bqlbbq4u.js","./SGqoyjTw.js","./ztSLDBsK.js","./DQNu8teu.js","./BWmypMON.js","./BZwyJa72.js","./02DyCwxD.js","./BEQcjiBv.js","./CEb7njzd.js","./Ze5G054N.js","./CJr8eCPg.js","./D3K1nMHN.js","./C7ReGOzp.js","./C67ZD0uD.js","./Vq2dNnuk.js","./B-pOeIed.js","./DWpOVjuS.js","./CQOvHI-h.js","./error-404.B3F8lAkA.css","./ChIAts7W.js","./error-500.BO-H0E44.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e,a as t,d as n,f as r,g as i,h as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,s as p,t as m,u as h,v as g}from"./Bw3sjlsE.js";import{$ as _,A as v,B as y,C as b,Ct as x,E as S,Et as C,H as w,I as T,J as E,L as D,M as O,N as k,O as ee,P as A,Q as j,S as M,U as te,V as ne,X as re,_ as N,a as ie,b as P,c as F,d as I,g as ae,h as oe,i as se,it as L,j as ce,l as R,m as le,q as ue,r as de,s as z,tt as fe,u as pe,v as me,wt as he,x as ge,y as _e,z as ve}from"./B4prFwj0.js";import{a as ye,c as be,n as xe,o as Se,r as Ce,s as we,t as Te}from"./DoHg1T7s.js";import{A as Ee,C as De,D as Oe,E as ke,M as Ae,O as je,S as Me,T as Ne,_ as Pe,a as Fe,b as Ie,c as Le,d as B,f as Re,g as ze,h as Be,i as Ve,j as He,k as Ue,l as We,m as Ge,n as Ke,o as qe,p as Je,r as Ye,s as Xe,t as Ze,u as Qe,v as $e,w as et,x as tt,y as nt}from"./D4dwYDex.js";import{C as rt,E as it,O as V,S as H,T as at,a as ot,b as st,c as ct,d as lt,f as ut,g as dt,h as ft,i as pt,l as mt,n as ht,o as gt,p as _t,r as vt,s as yt,t as bt,u as xt,v as St,w as Ct,x as wt,y as Tt}from"./Bqlbbq4u.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function Et(e){return t=>{let n=`${e.bold(e.red(`[${t.name}]`))} ${t.message}`,r=[];return t.fix&&r.push(`${e.dim(`fix:`)} ${t.fix}`),t.sources?.length&&r.push(`${e.dim(`sources:`)} ${t.sources.join(`, `)}`),t.docs&&r.push(`${e.dim(`see:`)} ${e.cyan(t.docs)}`),r.length===0?n:[n,...r.map((t,n)=>`${e.dim(n<r.length-1?`├▶`:`╰▶`)} ${t}`)].join(`
|
|
3
|
+
`)}}var Dt=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ot=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kt=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function At(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t)jt(e);else return t}function jt(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Mt(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!kt.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(Dt.test(e)||Ot.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,At)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var Nt=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function Pt(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,i=new Nt(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(i,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(i,t,{get(){return e.response&&e.response[n]}});return i}var Ft=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function It(e=`GET`){return Ft.has(e.toUpperCase())}function Lt(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var Rt=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),zt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bt(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return zt.test(t)?`json`:t===`text/event-stream`?`stream`:Rt.has(t)||t.startsWith(`text/`)?`text`:`blob`}function Vt(e,t,n,r){let i=Ht(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function Ht(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function Ut(e,t){if(t){if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}}var Wt=new Set([408,409,425,429,500,502,503,504]),Gt=new Set([101,204,205,304]);function Kt(e={}){let{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:+!It(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):Wt.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),a(e.request,{...e.options,retry:t-1})}}let n=Pt(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,a),n}let a=async function(a,o={}){let s={request:a,options:Vt(a,o,e.defaults,n),response:void 0,error:void 0};if(s.options.method&&(s.options.method=s.options.method.toUpperCase()),s.options.onRequest&&(await Ut(s,s.options.onRequest),s.options.headers instanceof n||(s.options.headers=new n(s.options.headers||{}))),typeof s.request==`string`&&(s.options.baseURL&&(s.request=je(s.request,s.options.baseURL)),s.options.query&&(s.request=Ue(s.request,s.options.query),delete s.options.query),`query`in s.options&&delete s.options.query,`params`in s.options&&delete s.options.params),s.options.body&&It(s.options.method)){if(Lt(s.options.body)){let e=s.options.headers.get(`content-type`);typeof s.options.body!=`string`&&(s.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(s.options.body).toString():JSON.stringify(s.options.body)),e||s.options.headers.set(`content-type`,`application/json`),s.options.headers.has(`accept`)||s.options.headers.set(`accept`,`application/json`)}else(`pipeTo`in s.options.body&&typeof s.options.body.pipeTo==`function`||typeof s.options.body.pipe==`function`)&&(`duplex`in s.options||(s.options.duplex=`half`))}let c;if(!s.options.signal&&s.options.timeout){let e=new r;c=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},s.options.timeout),s.options.signal=e.signal}try{s.response=await t(s.request,s.options)}catch(e){return s.error=e,s.options.onRequestError&&await Ut(s,s.options.onRequestError),await i(s)}finally{c&&clearTimeout(c)}if((s.response.body||s.response._bodyInit)&&!Gt.has(s.response.status)&&s.options.method!==`HEAD`){let e=(s.options.parseResponse?`json`:s.options.responseType)||Bt(s.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await s.response.text(),t=s.options.parseResponse||Mt;s.response._data=t(e);break}case`stream`:s.response._data=s.response.body||s.response._bodyInit;break;default:s.response._data=await s.response[e]()}}return s.options.onResponse&&await Ut(s,s.options.onResponse),!s.options.ignoreResponseError&&s.response.status>=400&&s.response.status<600?(s.options.onResponseError&&await Ut(s,s.options.onResponseError),await i(s)):s.response},o=async function(e,t){return(await a(e,t))._data};return o.raw=a,o.native=(...e)=>t(...e),o.create=(t={},n={})=>Kt({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),o}var qt=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)})(),Jt=qt.fetch?(...e)=>qt.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),Yt=qt.Headers,Xt=qt.AbortController,Zt=Kt({fetch:Jt,Headers:Yt,AbortController:Xt}),Qt=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,$t=()=>Qt().app,en=()=>$t().baseURL,tn=()=>$t().buildAssetsDir,nn=(...e)=>Ne(rn(),tn(),...e),rn=(...e)=>{let t=$t(),n=t.cdnURL||t.baseURL;return e.length?Ne(n,...e):n};globalThis.__buildAssetsURL=nn,globalThis.__publicAssetsURL=rn,globalThis.$fetch||(globalThis.$fetch=Zt.create({baseURL:en()}));var an=globalThis.$fetch;`global`in globalThis||(globalThis.global=globalThis);function on(e,t){t.push(p),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function sn(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function cn(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>sn(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var ln=new Set([`link`,`style`,`script`,`noscript`]),un=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),dn=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),fn=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),pn=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),mn=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),hn=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),gn=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),_n={critical:-8,high:-1,low:2},vn=e=>typeof e==`number`?Number.isFinite(e):e;function yn(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function bn(e){let t=new d;for(let n in e||{})t.hook(n,e[n]);return t}function xn(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function Sn(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>sn(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var Cn=/^(?:viewport|description|keywords|robots)$/,wn=[`name`,`property`,`http-equiv`];function Tn(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return gn.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function En(e){let{props:t,tag:n,key:r}=e;if(pn.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of wn){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Cn.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:un.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function Dn(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function On(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=On(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=yn(n),a=i?void 0:On(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var kn=/[\s"'<>/=\x00-\x1F\x7F]/;function An(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function jn(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=dn.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(yn(r))continue;let i=r.startsWith(`data-`),a=n&&!mn.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||kn.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=An(r,s);else if(mn.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function Mn(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),On(e,n)}function Nn(e,t){let n=jn({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&ln.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function Pn(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function Fn(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=Mn(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)Pn(n,Nn(t,e));else Pn(n,Nn(t,r))}}return n}var In=/</g,Ln=/<\/script/g,Rn=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,zn=()=>100;function Bn(e){for(let t in e)return!1;return!0}var Vn=/^tags:|:render/;function Hn(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function Un(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function Wn(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(Rn)}function Gn(e){let t=!1;for(let n of e.tags.sort(Rn)){let r=n._d||Dn(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(hn.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Tn(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Kn(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function qn(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(fn.has(i)&&(!Bn(a)||vn(r)||vn(n.textContent))&&(i!==`meta`||vn(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(In,`\\u003C`):typeof e==`string`?e.replace(Ln,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=En(n)}e[t++]=n}}return e.length=t,e}function Jn(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??zn,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};Hn(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&xn(e,`entries:resolve`,{entries:a,...r})),Hn(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||Bn(t.options)))a=t._precomputedTags;else{if(a=Fn(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!Bn(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};xn(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=En(r),r._d||(r._h=Dn(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&Vn.test(e)){Un(r.tags);break}let o=Gn(r);return Kn(r,e),Wn(r,o),xn(e,`tags:beforeResolve`,r),xn(e,`tags:resolve`,r),xn(e,`tags:afterResolve`,r),qn(r.tags)}var Yn=/\s+/;function Xn(e={}){return t=>$n(t,e)}function Zn(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Qn(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(Yn))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function $n(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!Zn(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(xn(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Qn(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=Jn(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&Tn(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):dn.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!dn.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=jn({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=En(i)||Dn(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,xn(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||Zn(e))&&$n(e,t),a}var er=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(_n[e.tagPriority]||0);function tr(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Xn({document:e.document}),n=Sn(cn(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:er,init:[]}),bn(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}var nr=`usehead`;function rr(){if(ge()){let e=M(nr);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function ir(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(nr,e)}}.install}function ar(e,t){return t&&typeof e==`function`&&(e.key=t),e}var or=/\\/g,sr=/</g,cr=/"/g,lr=/%\w+(?:\.\w+)?/g,ur=`%separator`;function dr(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0){let e=String(typeof r==`number`?r:r||``);return n?e.replace(or,`\\\\`).replace(sr,`\\u003C`).replace(cr,`\\"`):e}}function fr(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(lr);if(!a)return e;let o=e.includes(ur);return e=e.replace(lr,e=>{if(e===ur||!a.includes(e))return e;let n=dr(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(ur).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var pr=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,mr=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),hr=ar({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=mr(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=mr(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(pr))}}}),gr=ar({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function _r(e){return typeof e?.then==`function`}var vr=256;function yr(e,t){if(t===e.length)return;if(t===vr){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=xr(e[t]);n[t]=i,r||=_r(i)}return r?n:void 0}let n=xr(e[t]);if(_r(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=xr(e[n]);return r}let r=yr(e,t+1);return r&&(r[t]=n),r}function br(e,t,n){if(n===t.length)return;if(n===vr){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=xr(e[t[n]]);r[n]=a,i||=_r(a)}return i?r:void 0}let r=xr(e[t[n]]);if(_r(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=xr(e[t[r]]);return i}let i=br(e,t,n+1);return i&&(i[n]=r),i}function xr(e){if(typeof e==`function`)return e;if(_r(e))return Promise.resolve(e).then(xr);if(Array.isArray(e)){let t=yr(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=br(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var Sr=ar(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=xr(a);_r(o)?(t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})):t.delete(i)}}}}},`promises`),Cr={meta:`content`,link:`href`,htmlAttrs:`lang`},wr=[`innerHTML`,`textContent`];function Tr(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?fr(e,t,n,r):e}var Er=ar(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Tr(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Cr[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Tr(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of wr)typeof e[t]==`string`&&(e[t]=Tr(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Tr(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function Dr(e={}){let t=Xn(),n,r=0;return n=tr({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=ir(n),n}var Or={disableDefaults:!0,plugins:[gr,Sr,Er,hr]},kr=f({name:`nuxt:head`,enforce:`pre`,setup(e){on(e,Dr(Or))}}),Ar=/(:\w+)\([^)]+\)/g,jr=/(:\w+)[?+*]/g,Mr=/:\w+/g,Nr=(e,t)=>t.path.replace(Ar,`$1`).replace(jr,`$1`).replace(Mr,t=>e.params[t.slice(1)]?.toString()||``),Pr=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Nr(e.route,n));return typeof r==`function`?r(e.route):r},Fr=(e,t)=>({default:()=>e?P(se,e===!0?{}:e,t):t});function Ir(e){return Array.isArray(e)?e:[e]}var Lr=()=>({}),Rr=e=>e.startsWith(`/`);function zr(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Br(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&zr(e.default)}var U=Object.assign;function Vr(e,t){let n={};for(let r in t){let i=t[r];n[r]=W(i)?i.map(e):e(i)}return n}var Hr=()=>{},W=Array.isArray;function Ur(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Wr=Symbol(``),Gr=function(e){return e[e.aborted=4]=`aborted`,e[e.cancelled=8]=`cancelled`,e[e.duplicated=16]=`duplicated`,e}({});function Kr(e,t){return U(Error(),{type:e,[Wr]:!0},t)}function G(e,t){return e instanceof Error&&Wr in e&&(t==null||!!(e.type&t))}var qr=Symbol(``),Jr=Symbol(``),Yr=Symbol(``),Xr=Symbol(``),Zr=Symbol(``),Qr=Symbol(``),$r=typeof document<`u`,ei=/#/g,ti=/&/g,ni=/\//g,ri=/=/g,ii=/\?/g,ai=/\+/g,oi=/%5B/g,si=/%5D/g,ci=/%5E/g,li=/%60/g,ui=/%7B/g,di=/%7C/g,fi=/%7D/g,pi=/%20/g;function mi(e){return e==null?``:encodeURI(``+e).replace(di,`|`).replace(oi,`[`).replace(si,`]`)}function hi(e){return mi(e).replace(ui,`{`).replace(fi,`}`).replace(ci,`^`)}function gi(e){return mi(e).replace(ai,`%2B`).replace(pi,`+`).replace(ei,`%23`).replace(ti,`%26`).replace(li,"`").replace(ui,`{`).replace(fi,`}`).replace(ci,`^`)}function _i(e){return gi(e).replace(ri,`%3D`)}function vi(e){return mi(e).replace(ei,`%23`).replace(ii,`%3F`)}function yi(e){return vi(e).replace(ni,`%2F`)}function bi(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var xi=/\/$/,Si=e=>e.replace(xi,``);function Ci(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=ji(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:bi(o)}}function wi(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Ti(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Ei(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Di(t.matched[r],n.matched[i])&&Oi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Di(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Oi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ki(e[n],t[n]))return!1;return!0}function ki(e,t){return W(e)?Ai(e,t):W(t)?Ai(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ai(e,t){return W(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function ji(e,t){if(Rr(e))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var K={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function Mi(e){if(!e){if($r){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Si(e)}var Ni=/^[^#]+#/;function Pi(e,t){return e.replace(Ni,`#`)+t}function Fi(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Ii=()=>history.scrollRestoration===`manual`?{left:window.scrollX,top:window.scrollY}:null;function Li(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Fi(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ri(e,t){return(history.state?history.state.position-t:-1)+e}var zi=new Map;function Bi(e){zi.set(e,Ii())}function Vi(e){let t=zi.get(e);return zi.delete(e),t}function Hi(e,t=!1){for(let n of zi.keys()){let r=parseInt(n,10);(r===e||!t&&r>e)&&zi.delete(n)}}function Ui(e){return typeof e==`string`||e&&typeof e==`object`}function Wi(e){return typeof e==`string`||typeof e==`symbol`}function Gi(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(ai,` `),i=r.indexOf(`=`),a=bi(i<0?r:r.slice(0,i)),o=i<0?null:bi(r.slice(i+1));if(a in t){let e=t[a];W(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Ki(e){let t=``;for(let n in e){let r=e[n];n=_i(n),r==null?r!==void 0&&(t+=(t.length?`&`:``)+n):(W(r)?r.map(e=>e&&gi(e)):[r&&gi(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function qi(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=W(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Ji(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yi(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Kr(4,{from:n,to:t})):e instanceof Error?c(e):Ui(e)?c(Kr(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Xi(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(zr(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Yi(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Br(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Yi(c,n,r,o,e,i)()}))}}}return a}function Zi(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Di(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Di(e,s))||i.push(s))}return[n,r,i]}var Qi=()=>location.protocol+`//`+location.host;function $i(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Ti(n,``)}return Ti(n,e)+r+i}function ea(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=$i(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(U({},e.state,{scroll:Ii()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function ta(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function na(e){let{history:t,location:n}=window,r={value:$i(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Qi()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=U({},t.state,ta(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),Hi(o.position,!0),r.value=e}function s(e,n){let o=U({},i.value,t.state,{forward:e,scroll:Ii()});a(o.current,o,!0),a(e,U({},ta(r.value,e,null),{position:o.position+1},n),!1),Hi(o.position),r.value=e}return{location:r,state:i,push:s,replace:o}}function ra(e){e=Mi(e);let t=na(e),n=ea(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=U({location:``,base:e,go:r,createHref:Pi.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function ia(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),ra(e)}var aa={type:0,value:``},oa=/[a-zA-Z0-9_]/;function sa(e){if(!e)return[[]];if(e===`/`)return[[aa]];if(!Rr(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:oa.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ca=`[^/]+?`,la={sensitive:!1,strict:!1,start:!0,end:!0},ua=/[.+*?^${}()[\]/\\]/g;function da(e,t){let n=U({},la,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(ua,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ca;if(u!==ca){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(W(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=W(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function fa(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pa(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=fa(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ma(r))return 1;if(ma(i))return-1}return i.length-r.length}function ma(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var ha={strict:!1,end:!0,sensitive:!1};function ga(e,t,n){let r=U(da(sa(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _a(e,t){let n=[],r=new Map;t=Ur(ha,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ya(e);s.aliasOf=r&&r.record;let l=Ur(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(ya(U({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!Rr(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=ga(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!xa(d)&&o(e.name)),Ta(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Hr}function o(e){if(Wi(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Ca(e,n);n.splice(t,0,e),e.record.name&&!xa(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Kr(1,{location:e});s=i.record.name,a=U(va(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&va(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Kr(1,{location:e,currentLocation:t});s=i.record.name,a=U({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Sa(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function va(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ya(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ba(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ba(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function xa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sa(e){return e.reduce((e,t)=>U(e,t.meta),{})}function Ca(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;pa(e,t[i])<0?r=i:n=i+1}let i=wa(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function wa(e){let t=e;for(;t=t.parent;)if(Ta(t)&&pa(e,t)===0)return t}function Ta({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ea(e){let t=M(Yr),n=M(Xr),r=z(()=>{let n=L(e.to);return t.resolve(n)}),i=z(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Di.bind(null,i));if(o>-1)return o;let s=ja(e[t-2]);return t>1&&ja(i)===s&&a[a.length-1].path!==s?a.findIndex(Di.bind(null,e[t-2])):o}),a=z(()=>i.value>-1&&Aa(n.params,r.value.params)),o=z(()=>i.value>-1&&i.value===n.matched.length-1&&Oi(n.params,r.value.params));function s(n={}){if(ka(n)){let n=t[L(e.replace)?`replace`:`push`](L(e.to)).catch(Hr);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:z(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Da(e){return e.length===1?e[0]:e}var Oa=N({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Ea,setup(e,{slots:t}){let n=re(Ea(e)),{options:r}=M(Yr),i=z(()=>({[Ma(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ma(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Da(t.default(n));return e.custom?r:P(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function ka(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Aa(e,t){for(let n in t){let r=t[n],i=e[n];if(W(r)){if(!W(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function ja(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ma=(e,t,n)=>e??t??n,Na=N({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=M(Zr),i=z(()=>e.route||r.value),a=M(Jr,0),o=z(()=>{let e=L(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=z(()=>i.value.matched[o.value]);k(Jr,z(()=>o.value+1)),k(qr,s),k(Zr,i);let c=new Set;k(Qr,c);let l=j(),u=K,{app:d}=me().appContext;return y(()=>[l.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Di(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,f=o&&o.components[a];if(!f)return Pa(n.default,{Component:f,route:r});let p=o.props[a],m=p?p===!0?r.params:typeof p==`function`?p(r):p:null,h=e=>{e.component.isUnmounted&&(o.instances[a]=null)},g=e=>S(()=>{if(u===r||i.value!==r||e.el.getRootNode()!==d._container.getRootNode())return;let t=u;u=r;for(let e of c)e(r,t)}),_=P(f,U({},m,t,{onVnodeUnmounted:h,onVnodeMounted:g,onVnodeUpdated:g,ref:l}));return Pa(n.default,{Component:_,route:r})||_}}});function Pa(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Fa=Na;function Ia(e){let t=e.matcher||_a(e.routes,e),n=e.parseQuery||Gi,r=e.stringifyQuery||Ki,i=e.history,a=Ji(),o=Ji(),s=Ji(),c=fe(K),l=fe(0),u=K;$r&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=Vr.bind(null,e=>``+e),f=Vr.bind(null,yi),p=Vr.bind(null,bi);function m(e,n){let r,i;Wi(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function v(){return t.getRoutes().map(e=>e.record)}function y(e){return!!t.getRecordMatcher(e)}function b(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?K:c.value;let r=Ci(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return U(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=U({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?K:c.value));let o;if(e.path!=null)o=U({},e,{path:Ci(n,e.path,a.path).path});else{let t=U({},e.params);for(let e in t)t[e]??delete t[e];o=U({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=wi(r,U({},e,{hash:hi(u),path:s.path})),h=i.createHref(m);return U({fullPath:m,hash:u,query:r===Ki?qi(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function x(e){return typeof e==`string`?Ci(n,e,c.value.path):U({},e)}function C(e,t){if(u!==e)return Kr(8,{from:t,to:e})}function w(e){return D(e)}function T(e){return w(U(x(e),{replace:!0}))}function E(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=x(i):{path:i},i.params={}),U({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function D(e,t){let n=u=b(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=E(n,i);if(l)return D(U(x(l),{state:typeof l==`object`?U({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Ei(r,i,n)&&(f=Kr(16,{to:d,from:i}),I(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>G(e)?G(e,2)?e:F(e):ie(e,d,i)).then(e=>{if(e){if(G(e,2))return D(U({replace:s},x(e.to),{state:typeof e.to==`object`?U({},a,e.to.state):a,force:o}),t||d)}else e=j(d,i,!0,s,a);return A(d,i,e),e})}function O(e,t){let n=C(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e){let t=se.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=Zi(e,t);n=Xi(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Yi(r,e,t))});let c=O.bind(null,e,t);return n.push(c),R(n).then(()=>{n=[];for(let r of a.list())n.push(Yi(r,e,t));return n.push(c),R(n)}).then(()=>{n=Xi(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Yi(r,e,t))});return n.push(c),R(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(W(r.beforeEnter))for(let i of r.beforeEnter)n.push(Yi(i,e,t));else n.push(Yi(r.beforeEnter,e,t))}return n.push(c),R(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Xi(s,`beforeRouteEnter`,e,t,k),n.push(c),R(n))).then(()=>{n=[];for(let r of o.list())n.push(Yi(r,e,t));return n.push(c),R(n)}).catch(e=>G(e,8)?e:Promise.reject(e))}function A(e,t,n){s.list().forEach(r=>k(()=>r(e,t,n)))}function j(e,t,n,r,a){let o=C(e,t);if(o)return o;let s=t===K,l=$r?history.state:{};n&&(r||s?i.replace(e.fullPath,U({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,I(e,t,n,s),F()}let M;function te(){M||=i.listen((e,t,n)=>{if(!ce.listening)return;let r=b(e),a=E(r,ce.currentRoute.value);if(a){D(U(a,{replace:!0,force:!0}),r).catch(Hr);return}u=r;let o=c.value;$r&&n.delta&&Bi(Ri(o.fullPath,n.delta)),ee(r,o).catch(e=>G(e,12)?e:G(e,2)?(D(U(x(e.to),{force:!0}),r).then(e=>{G(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Hr),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ie(e,r,o))).then(e=>{e||=j(r,o,!1),e&&(n.delta&&!G(e,8)?i.go(-n.delta,!1):n.type===`pop`&&G(e,20)&&i.go(-1,!1)),A(r,o,e)}).catch(Hr)})}let ne=Ji(),re=Ji(),N;function ie(e,t,n){F(e);let r=re.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function P(){return N&&c.value!==K?Promise.resolve():new Promise((e,t)=>{ne.add([e,t])})}function F(e){return N||(N=!e,te(),ne.list().forEach(([t,n])=>e?n(e):t()),ne.reset()),e}function I(t,n,r,i){let{scrollBehavior:a}=e;if(!$r||!a)return Promise.resolve();let o=!r&&Vi(Ri(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return S().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&Li(e)).catch(e=>t===c.value&&ie(e,t,n))}let ae=e=>i.go(e),oe,se=new Set,ce={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:y,getRoutes:v,resolve:b,options:e,push:w,replace:T,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:re.add,isReady:P,install(e){e.component(`RouterLink`,Oa),e.component(`RouterView`,Fa),e.config.globalProperties.$router=ce,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>L(c)}),$r&&!oe&&c.value===K&&(oe=!0,w(i.location).catch(e=>{}));let t={};for(let e in K)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Yr,ce),e.provide(Xr,_(t)),e.provide(Zr,c);let n=e.unmount;se.add(e),e.unmount=function(){se.delete(e),se.size<1&&(u=K,M&&M(),M=null,c.value=K,oe=!1,N=!1),n()}}};function R(e){return e.reduce((e,t)=>e.then(()=>k(t)),Promise.resolve())}return ce}var La=(e,t)=>({default:()=>e?P(Te,e===!0?{}:e,t):t.default?.()}),Ra=/(:\w+)\([^)]+\)/g,za=/(:\w+)[?+*]/g,Ba=/:\w+/g;function Va(e){let t=e?.meta.key??e.path.replace(Ra,`$1`).replace(za,`$1`).replace(Ba,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Ha(e,t){return e===t||t===K?!1:Va(e)!==Va(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}function Ua(e){return Array.isArray(e)?e:[e]}function Wa(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Ua(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Ua(n.onBeforeLeave):void 0});return tt(...t)}function Ga(e){e[`~transitionPromise`]||=new Promise(t=>{e[`~transitionFinish`]=t})}function Ka(e){e[`~transitionFinish`]?.(),delete e[`~transitionFinish`],delete e[`~transitionPromise`]}var qa={scrollBehavior(e,n,r){let i=t(),a=B(),o=a.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===n.path.replace(/\/$/,``)?n.hash&&!e.hash?r??{left:0,top:0}:e.hash?{el:e.hash,top:Ja(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,n):e.meta.scrollToTop)===!1?!1:n===K?Ya(e,n,r,o):new Promise(t=>{let s=()=>{requestAnimationFrame(()=>{a.currentRoute.value.fullPath===e.fullPath?t(Ya(e,n,r,o)):t(!1)})};i.hooks.hookOnce(`page:loading:end`,()=>{let e=i[`~transitionPromise`];e?e.then(s):s()})})}};function Ja(e){let t=document.getElementById(e.slice(1));return t?(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0):0}function Ya(e,t,n,r){return n||(e.hash?{el:e.hash,top:Ja(e.hash),behavior:Ha(e,t)?r:`instant`}:{left:0,top:0})}var Xa={hashMode:!0,scrollBehaviorType:`auto`,sensitive:!1,...qa},Za=qe(async e=>{if(!e.meta?.validate)return;let t=await Promise.resolve(e.meta.validate(e));if(t!==!0)return nt({fatal:!0,status:t&&(t.status||t.statusCode)||404,statusText:t&&(t.statusText||t.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})}),Qa=g({docsBase:a,reporters:i}),$a=an;function eo(e){return Lr(e)}var to;function no(){let e;return e=$a(nn(`builds/meta/${u().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw Qa.NUXT_E5004();return e}),to=e,e.catch(t=>{to===e&&(to=void 0),Qa.NUXT_E5002({cause:t})}),e}function ro(){return to||no()}function io(e){let t=typeof e==`string`?e:e.path;try{return eo(t)}catch(e){return Qa.NUXT_E5003({path:t,cause:e}),{}}}var ao=[Za,qe(e=>{let t=io({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Be(n)?(window.location.href=n,!1):n}})],oo={},so=[{name:`keys-key`,path:`/keys/:key()`,component:()=>V(()=>import(`./D7-xsrqe.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)},{name:`locales-locale`,path:`/locales/:locale()`,component:()=>V(()=>import(`./Ze5G054N.js`),__vite__mapDeps([14,1,3,4,5,7,8,9,2,10]),import.meta.url)},{name:`extract`,path:`/extract`,component:()=>V(()=>import(`./CJr8eCPg.js`),__vite__mapDeps([15,1,2,5,6,7,8]),import.meta.url)},{name:`keys`,path:`/keys`,component:()=>V(()=>import(`./D3K1nMHN.js`),__vite__mapDeps([16,1,2,3,4,5,10,13,17]),import.meta.url)},{name:`project`,path:`/project`,component:()=>V(()=>import(`./C67ZD0uD.js`),__vite__mapDeps([18,1,5,6,7,8]),import.meta.url)},{name:`usages`,path:`/usages`,component:()=>V(()=>import(`./Vq2dNnuk.js`),__vite__mapDeps([19,1,2,5,6,7,12,17]),import.meta.url)},{name:`index`,path:`/`,component:()=>V(()=>import(`./B-pOeIed.js`),__vite__mapDeps([20,1,5,7,8,9,2,10,11]),import.meta.url)}],co=/\/(?=$|[?#])/;function lo(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),He(n,``)}let s=He(r,e),c=!n||De(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var uo=f({name:`nuxt:router`,enforce:`pre`,async setup(e){let t=u().app.baseURL;t.includes(`#`)||(t+=`#`);let n=Xa.history?.(t)??ia(t),r=Xa.routes?await Xa.routes(so)??so:so,i,a=Ia({...Xa,scrollBehavior:(e,t,n)=>{if(t===K)i=n;else if(Xa.scrollBehavior){if(a.options.scrollBehavior=Xa.scrollBehavior,`scrollRestoration`in window.history){let e=a.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return Xa.scrollBehavior(e,K,i||n)}},history:n,routes:r});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(a);let o=fe(a.currentRoute.value);a.afterEach((e,t)=>{o.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>o.value});let s=lo(t,window.location,e.payload.path);He(window.location.pathname,t);let c=fe(a.currentRoute.value),l=()=>{c.value=a.currentRoute.value};a.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n===r?Pr({route:e,Component:{type:n}})===Pr({route:t,Component:{type:r}})&&l():e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&l()});let d={sync:l};for(let e in c.value)Object.defineProperty(d,e,{get:()=>c.value[e],enumerable:!0});e._route=_(d),e._middleware||={global:[],named:{}};let f=Fe();a.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&!G(r,Gr.aborted|Gr.cancelled)&&await e.runWithContext(Ye),r&&await e.callHook(`page:loading:end`)}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)});try{await a.isReady()}catch(t){await Ke(e,t)}let p=s===a.currentRoute.value.fullPath?a.currentRoute.value:a.resolve(s),m=a.currentRoute.value.fullPath,h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&s.replace(co,``)!==e.payload.path.replace(co,``)&&De(a.currentRoute.value.path,e.payload.path);l();function g(r){!e.isHydrating&&r.fullPath!==lo(t,window.location)&&n.push(r.fullPath)}a.beforeEach(t=>{if(!e.isHydrating&&Lr(t.path).noScripts)return window.location.assign(a.resolve(t.fullPath).href),!1});let v=e.payload.state._layout;return a.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=re(t.meta),e.isHydrating&&v&&!ue(t.meta.layout)&&(t.meta.layout=v),e._processingMiddleware=!0;{let r=new Set([...ao,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Ir(t))r.add(e)}let i=io({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await oo[i]?.().then(e=>e.default||e):i;if(!r)throw Re.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||nt({status:404,statusText:`Page Not Found: ${s}`});return await e.runWithContext(()=>Ve(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Ie(i)&&i.fatal&&(await e.runWithContext(()=>Ve(i)),g(t)),i}catch(n){let r=nt(n);return r.fatal&&(await e.runWithContext(()=>Ve(r)),g(t)),r}}}}),a.afterEach((t,n,r)=>{if(t.matched.length===0&&!f.value&&!G(r,Gr.aborted|Gr.cancelled))return e.runWithContext(()=>Ve(nt({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in p&&(p.name=void 0),a.currentRoute.value.fullPath===m){if(h){let t=a.resolve(e.payload.path);`name`in t&&(t.name=void 0),await a.replace({...t,force:!0});let n=()=>{if(!e[`~restoreDeferredRoute`])return;e[`~restoreDeferredRoute`]=void 0;let t=a.currentRoute,n=a.resolve(s);n.matched.at(-1)===t.value.matched.at(-1)&&(n.meta=t.value.meta),t.value=n,l(),a.replace({...p,force:!0}).catch(()=>{})};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await a.replace({...p,force:!0})}a.options.scrollBehavior=Xa.scrollBehavior}catch(t){await Ke(e,t)}}),{provide:{router:a}}}}),fo=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),po=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),mo=e=>{let n=t();n.isHydrating?n.hooks.hookOnce(`app:suspense:resolve`,()=>{fo(()=>e())}):fo(()=>e())},ho=f(()=>{let e=B();mo(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),go=f(e=>{let t;async function r(){let i;try{i=await ro()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(r,n);try{let n=await an(nn(`builds/latest.json`)+`?${Date.now()}`);n.id!==i?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}mo(()=>{t=setTimeout(r,n)})});function _o(e={}){let n=e.path||window.location.pathname,r=new URL(n,window.location.href);if(r.host!==window.location.host)throw Re.NUXT_E2010({path:n});if(r.protocol&&et(r.protocol))throw Re.NUXT_E2002({toPath:n,protocol:r.protocol});let i={};try{i=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||i?.path!==n||i?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:n,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:t().payload.state}))}catch{}window.location.pathname===n?window.location.reload():window.location.href=n}}var vo=f({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&ze(navigator.userAgent)&&_o()})}}),yo=f({name:`nuxt:chunk-reload`,setup(e){let t=B(),n=u(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){_o({path:ke(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),bo=/2g/;function xo(){let e=navigator.connection;return!e||!e.saveData&&!bo.test(e.effectiveType||``)}function So(e){let{pathname:t,search:n}=new URL(e,window.location.href);return t+n}function Co(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function wo(e){return Promise.all(e.map(e=>{let t=e.components?.default;return typeof t==`function`?Promise.resolve(t()).catch(()=>{}):void 0}))}function To(e,t){let{fullPath:n,path:r,matched:i}=t.resolve(e);if(!i.length)return;let a=o()?._prefetch;a?a.schedule({key:`route:${r}`,priority:`route`,scope:`navigation`,group:So(n),run:e=>e.aborted?void 0:wo(i)}):wo(i)}var Eo=(...e)=>e.find(e=>e!==void 0);function Do(e){let n=e.componentName||`NuxtLink`;function r(e){return!1}function i(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return ko(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:ko(a,i)}}function a(t){let n=B(),a=u(),o=n.options?.history?.createHref??(e=>ke(a.app.baseURL,e)),s=z(()=>!!L(t.target)&&L(t.target)!==`_self`),c=z(()=>{let e=L(t.to)||L(t.href)||``;return typeof e==`string`&&Be(e)}),l=z(()=>{if(L(t.external))return!0;let e=L(t.to)||L(t.href)||``;return typeof e==`object`?!1:e===``||c.value}),d=z(()=>{let e=L(t.to)||L(t.href)||``;return l.value?e:i(e,n.resolve,L(t.trailingSlash))}),f=z(()=>{let i=L(t.trailingSlash)??e.trailingSlash;if(!d.value||c.value||r(d.value)){let e=d.value;return typeof e==`string`?$e(e):e}if(l.value){let e=typeof d.value==`object`&&`path`in d.value?We(d.value):d.value,t=typeof e==`object`?n.resolve(e).href:e,r=typeof t==`string`?$e(t):t;return r===null?null:ko(r,i)}return typeof d.value==`object`?n.resolve(d.value)?.href??null:ko(Pe(d.value)?o(d.value):n.resolve(d.value).href,i)});return{to:d,hasTarget:s,isAbsoluteUrl:c,isExternal:l,href:f,async navigate(e){f.value!==null&&await Le(f.value,{replace:L(t.replace),external:l.value||s.value})}}}function o(e){let t=B(),n=a(e),r=T(`RouterLink`),i=r&&typeof r!=`string`?r.useLink:void 0,o=n.isExternal.value?void 0:i?.({...e,to:n.to,viewTransition:L(e.viewTransition)});return{...n,isActive:o?.isActive??z(()=>n.to.value===t.currentRoute.value.path),isExactActive:o?.isExactActive??z(()=>n.to.value===t.currentRoute.value.path),route:o?.route??z(()=>t.resolve(n.to.value))}}return N({name:n,props:{to:{type:[String,Object],required:!1},href:{type:[String,Object],required:!1},target:{type:String,required:!1},rel:{type:String,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},prefetchedClass:{type:String,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,required:!1}},useLink:o,setup(n,{slots:i}){let o=B(),s=T(`RouterLink`),{to:c,href:l,navigate:u,isExternal:d,hasTarget:f,isAbsoluteUrl:p}=a(n),m=fe(!1),h=j(null),g=e=>{h.value=n.custom?e?.$el?.nextElementSibling:e?.$el};function _(t){return typeof n.prefetchOn==`string`?n.prefetchOn===t:n.prefetchOn?.[t]??e.prefetchOn?.[t]}function v(){return!!((n.prefetch??e.prefetch)!==!1&&n.noPrefetch!==!0&&n.target!==`_blank`&&xo())}function y(e){return!!(!m.value&&_(e)&&v())}function b(){let e=typeof c.value==`string`?c.value:d.value?We(c.value):o.resolve(c.value).fullPath;return d.value?new URL(e,window.location.href).href:e}function x(){m.value?d.value||t()._prefetch?.promote(So(b())):_(`interaction`)&&S()}async function S(e=t()){if(m.value||l.value===null)return;m.value=!0;let n=b();await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!d.value&&!f.value&&To(c.value,o)])}if(!n.custom&&y(`visibility`)){let e=t(),n,r=null;ce(()=>{let t=Ao();mo(()=>{n=fo(()=>{h?.value?.tagName&&(r=t.observe(h.value,async()=>{r?.(),r=null,await S(e)}))})})}),ee(()=>{n&&po(n),r?.(),r=null})}return()=>{let t=n.target||null,a=Eo(n.noRel?``:n.rel,e.externalRelAttribute,p.value||f.value?`noopener noreferrer`:``)||null,b=e=>({navigate:u,get route(){if(!l.value)return;let e=new URL(l.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return Oe(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:a,target:t,isExternal:d.value||f.value,isActive:!1,isExactActive:!1,...e,href:typeof e?.href==`string`?$e(e.href):l.value,prefetch:S,prefetched:m.value,shouldPrefetch:y});if(!d.value&&!f.value&&!r(c.value)){let t={ref:g,to:c.value,activeClass:n.activeClass||e.activeClass,exactActiveClass:n.exactActiveClass||e.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom};return n.custom||((_(`interaction`)||m.value)&&v()&&(t.onPointerenter=x,t.onFocus=x,t.onPointerdown=x),m.value&&(t.class=n.prefetchedClass||e.prefetchedClass),t.rel=n.rel||void 0),P(s,t,n.custom&&i.default?{default:e=>i.default(b(e))}:i.default)}return n.custom?i.default?i.default(b()):null:P(`a`,{ref:h,href:l.value||null,rel:a,target:t,onClick:async e=>{if(!(d.value||f.value)){e.preventDefault();try{let e=Xe(l.value??``);return await(n.replace?o.replace(e):o.push(e))}finally{if(r(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},i.default?.())}}})}var Oo=Do(h);function ko(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?Ee:Ae;return Me(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Ao(){let e=t();if(e._observer)return e._observer;let n=null,r=new Map;return e._observer={observe:(e,t)=>(n||=new IntersectionObserver(e=>{for(let t of e){let e=r.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),r.set(e,t),n.observe(e),()=>{r.delete(e),n?.unobserve(e),r.size===0&&(n?.disconnect(),n=null)})}}var jo=f({name:`nuxt:island-link-navigation`,setup(e){}}),Mo=f({name:`nuxt:global-components`}),No={},Po=[`route`,`payload`,`island`,`hint`],Fo=12,Io={route:8,payload:8,island:4,hint:8};function Lo(e={}){let t={...Io,...e.concurrency},n=e.total??Fo,r=e.canPrefetch,i=e.defer,a={route:[],payload:[],island:[],hint:[]},o=Po.map(e=>a[e]),s=new WeakSet,c=new Map,l={route:0,payload:0,island:0,hint:0},u=0,d=new Map,f=new AbortController,p=new AbortController;p.abort();function m(e){c.get(e.key)===e&&c.delete(e.key)}function h(e){m(e),Promise.resolve().then(()=>e.run(p.signal,!1)).catch(()=>{})}function g(){if(!r||r())for(;u<n;){let e=Po.find(e=>a[e].length&&l[e]<t[e]);if(!e)return;let n=a[e].shift();_(n,s.delete(n))}}function _(e,t){let n=e.scope===`app`?f:new AbortController;e.scope===`navigation`&&d.set(e,n),l[e.priority]++,u++;let r=!1,a=()=>{r||(r=!0,l[e.priority]--,u--,d.delete(e),m(e),g())};n.signal.addEventListener(`abort`,a,{once:!0});let o=()=>Promise.resolve().then(()=>e.run(n.signal,t)).then(a,a);i?i(o,t,e.priority):o()}let v=(e,t)=>t!==void 0&&e.group===t&&e.priority!==`hint`;return{schedule(e){let t=[];for(let n of Array.isArray(e)?e:[e])c.has(n.key)?h(n):(c.set(n.key,n),t.push(n));for(let e=t.length-1;e>=0;e--)a[t[e].priority].unshift(t[e]);g()},promote(e){for(let t of o){let n=[],r=[];for(let i of t)i.group===e&&s.add(i),(i.group===e?n:r).push(i);t.length=0,t.push(...n,...r)}g()},reset(e){for(let t of o)for(let n=t.length-1;n>=0;n--){let r=t[n];r.scope===`navigation`&&!v(r,e)&&(t.splice(n,1),h(r))}for(let[t,n]of[...d])v(t,e)||n.abort();g()},resume:g}}var Ro=1e3;function zo(e,t,n){if(t||n===`route`)return e();let r=globalThis.scheduler;r?.postTask?r.postTask(e,{priority:`background`}).catch(()=>{}):fo(e,{timeout:Ro})}function Bo(e=t()){if(e._prefetch)return e._prefetch;let n=!1,r=Lo({canPrefetch:()=>xo()&&!n&&document.visibilityState!==`hidden`,defer:zo});e._prefetch=r,navigator.connection?.addEventListener?.(`change`,()=>r.resume()),document.addEventListener(`visibilitychange`,()=>r.resume());let i=e.$router;return i.beforeEach(()=>{n=!0}),i.afterEach(e=>{n=!1,r.reset(So(e.fullPath))}),i.onError(()=>{n=!1,r.resume()}),r}var Vo=[kr,uo,ho,go,vo,yo,jo,Mo,f({name:`nuxt:prefetch`,setup(e){let t=B();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;typeof t==`string`&&t in No&&await Co(No[t])})});let{schedule:n}=Bo(e);e.hooks.hook(`link:prefetch`,async e=>{if(Me(e))return;let r=t.resolve(e);if(!r)return;let i=r.meta.layout,a=Ir(r.meta.middleware).filter(e=>typeof e==`string`);n({key:`route:chunks:${e}`,priority:`route`,scope:`navigation`,group:So(e),run:e=>{if(e.aborted)return;let t=[];for(let e of a){let n=oo[e];typeof n==`function`&&t.push(n())}return typeof i==`string`&&i in No&&t.push(Co(No[i])),Promise.all(t).catch(()=>{})}})})}}),f(()=>{})];function Ho(e=me()){let t=e;t&&!t.sp&&(t.sp=[])}function q(e,t){let n=`\x1B[${e}m`,r=`\x1B[${t}m`;return((e,...t)=>{if(Array.isArray(e)&&`raw`in e){let i=e,a=``;for(let e=0;e<i.length;e++)a+=i[e],e<t.length&&(a+=String(t[e]));return`${n}${a}${r}`}return`${n}${String(e)}${r}`})}var Uo={blue:q(34,39),cyan:q(36,39),gray:q(90,39),green:q(32,39),red:q(31,39),yellow:q(33,39),bold:q(1,22),dim:q(2,22),reset:q(0,0),underline:q(4,24)},J={bus:{agentManifestChanged:`agent:manifest:changed`,agentToolRegistered:`agent:tool:registered`,agentToolUnregistered:`agent:tool:unregistered`,agentResourceRegistered:`agent:resource:registered`,agentResourceUnregistered:`agent:resource:unregistered`},client:{isTrustedUpdated:`rpc:is-trusted:updated`,error:`rpc:error`,connectionStatus:`connection:status`,connectionError:`connection:error`},broadcast:{authRevoked:`devframe:auth:revoked`,cacheInvalidate:`devframe:rpc:cache:invalidate`,clientStateUpdated:`devframe:rpc:client-state:updated`,clientStatePatch:`devframe:rpc:client-state:patch`,streamingChunk:`devframe:streaming:chunk`,streamingEnd:`devframe:streaming:end`,streamingUploadCancel:`devframe:streaming:upload-cancel`},inPageChannel:{panelStateUpdated:`devframe:in-page:panel-state:updated`,panelStatePatch:`devframe:in-page:panel-state:patch`},postMessage:{remoteAssetsError:`devframe:remote-assets-error`,inPageChannel:`devframe:in-page-channel`}},Wo=Et(Uo);function Go(e,{method:t=`warn`}={}){console[t](Wo(e))}function Ko(t){return e({...t,reporters:[Go,...t.reporters??[]]})}function qo(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Jo=Math.random.bind(Math),Yo=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function Xo(e=21){let t=``,n=e;for(;n--;)t+=Yo[Jo()*64|0];return t}var Zo=6e4,Qo=e=>e,$o=Qo,{clearTimeout:es,setTimeout:ts}=globalThis;function ns(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=Qo,deserialize:s=$o,resolver:c,bind:l=`rpc`,timeout:u=Zo,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:`q`};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=qo(),_=Xo();s.i=_;let v;async function y(n=s){return u>=0&&(v=ts(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{es(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.hasOwn(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===`q`){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:`s`,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:`s`,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(es(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}function rs(e,t){return t.safety?t.safety:e===`static`||e===`query`||e==null?`read`:`action`}var is=Object.freeze({type:`object`,additionalProperties:!0});function as(e){let t=e[`~standard`];if(t.jsonSchema)try{return t.jsonSchema.input({target:`draft-2020-12`})}catch{return is}return is}function os(e){if(!e||e.length===0)return{type:`object`,properties:{}};let t={},n=[];for(let r=0;r<e.length;r++){let i=`arg${r}`;t[i]=as(e[r]),n.push(i)}return{type:`object`,properties:t,required:n,additionalProperties:!1}}function ss(e,t){if(Array.isArray(e))return e;if(e==null)return[];if(typeof e!=`object`)return;let n=e;if(t!=null)return Array.from({length:t},(e,t)=>n[`arg${t}`]);if(`arg0`in n){let e=[];for(;`arg${e.length}`in n;)e.push(n[`arg${e.length}`]);return e}return Object.keys(n).length===0?[]:void 0}function cs(e,t){return ss(e,t)??[e]}function ls(e){return typeof e==`string`?`'${e}'`:new ps().serialize(e)}var us=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,ds=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[us.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function fs(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&ds[n]?ds[n]:n+128,s=a<128&&ds[a]?ds[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var ps=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?fs(e,t):n===`number`&&r===`number`?e-t:fs(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(fs),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})(),ms=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],hs=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],gs=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,_s=[],vs=class{_data=new ys;_hash=new ys([...ms]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)_s[n]=e[t+n]|0;else{let e=_s[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=_s[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;_s[n]=t+_s[n-7]+i+_s[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+hs[n]+_s[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=ys.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new ys(t,i)}},ys=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(gs.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function bs(e){return new vs().finalize(e).toBase64()}function xs(e){return bs(ls(e))}function Ss(e){return xs(e)}function Cs(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var ws=/^[\w+.-]{2,}:\/\//;function Ts(e){return e.endsWith(`/`)?e:`${e}/`}function Es(e){return(e.endsWith(`/`)?e.slice(0,-1):e)||`/`}function Ds(e,...t){let n=e;for(let e of t)e&&e!==`/`&&(n=n?Ts(n)+e.replace(/^\.?\//,``):e);return n}function Os(e,t){if(!t||t===`/`||ws.test(e))return e;let n=Es(t);return e.startsWith(n)?e:Ds(n,e)}function ks(e,t){let n=e.match(ws);return t+(n?e.slice(n[0].length):e)}var As=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function js(e=21){let t=``,n=e;for(;n--;)t+=As[Math.random()*64|0];return t}var Ms=Symbol.for(`immer-nothing`),Ns=Symbol.for(`immer-draftable`),Y=Symbol.for(`immer-state`),Ps=[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},`This object has been frozen and should not be mutated`,function(e){return`Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? `+e},`An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.`,`Immer forbids circular references`,"The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},`Object.defineProperty() cannot be used on an Immer draft`,`Object.setPrototypeOf() cannot be used on an Immer draft`,`Immer only supports deleting array indices`,`Immer only supports setting array indices and the 'length' property`,function(e){return`'original' expects a draft, got: ${e}`}];function X(e,...t){{let n=Ps[e],r=tc(n)?n.apply(null,t):n;throw Error(`[Immer] ${r}`)}}var Z=Object,Fs=Z.getPrototypeOf,Is=`constructor`,Ls=`prototype`,Rs=`configurable`,zs=`enumerable`,Bs=`writable`,Vs=`value`,Q=e=>!!e&&!!e[Y];function $(e){return e?Ws(e)||Zs(e)||!!e[Ns]||!!e[Is]?.[Ns]||Qs(e)||$s(e):!1}var Hs=Z[Ls][Is].toString(),Us=new WeakMap;function Ws(e){if(!e||!ec(e))return!1;let t=Fs(e);if(t===null||t===Z[Ls])return!0;let n=Z.hasOwnProperty.call(t,Is)&&t[Is];if(n===Object)return!0;if(!tc(n))return!1;let r=Us.get(n);return r===void 0&&(r=Function.toString.call(n),Us.set(n,r)),r===Hs}function Gs(e,t,n=!0){Ks(e)===0?(n?Reflect.ownKeys(e):Z.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ks(e){let t=e[Y];return t?t.type_:Zs(e)?1:Qs(e)?2:$s(e)?3:0}var qs=(e,t,n=Ks(e))=>n===2?e.has(t):Z[Ls].hasOwnProperty.call(e,t),Js=(e,t,n=Ks(e))=>n===2?e.get(t):e[t],Ys=(e,t,n,r=Ks(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Xs(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Zs=Array.isArray,Qs=e=>e instanceof Map,$s=e=>e instanceof Set,ec=e=>typeof e==`object`,tc=e=>typeof e==`function`,nc=e=>typeof e==`boolean`;function rc(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var ic=e=>ec(e)?e?.[Y]:null,ac=e=>e.copy_||e.base_,oc=e=>e.modified_?e.copy_:e.base_;function sc(e,t){if(Qs(e))return new Map(e);if($s(e))return new Set(e);if(Zs(e))return Array[Ls].slice.call(e);let n=Ws(e);if(t===!0||t===`class_only`&&!n){let t=Z.getOwnPropertyDescriptors(e);delete t[Y];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Bs]===!1&&(a[Bs]=!0,a[Rs]=!0),(a.get||a.set)&&(t[i]={[Rs]:!0,[Bs]:!0,[zs]:a[zs],[Vs]:e[i]})}return Z.create(Fs(e),t)}{let t=Fs(e);if(t!==null&&n)return{...e};let r=Z.create(t);return Z.assign(r,e)}}function cc(e,t=!1){return dc(e)||Q(e)||!$(e)||(Ks(e)>1&&Z.defineProperties(e,{set:uc,add:uc,clear:uc,delete:uc}),Z.freeze(e),t&&Gs(e,(e,t)=>{cc(t,!0)},!1)),e}function lc(){X(2)}var uc={[Vs]:lc};function dc(e){return e===null||!ec(e)||Z.isFrozen(e)}var fc=`MapSet`,pc=`Patches`,mc=`ArrayMethods`,hc={};function gc(e){let t=hc[e];return t||X(0,e),t}var _c=e=>!!hc[e];function vc(e,t){hc[e]||(hc[e]=t)}var yc,bc=()=>yc,xc=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:_c(fc)?gc(fc):void 0,arrayMethodsPlugin_:_c(mc)?gc(mc):void 0});function Sc(e,t){t&&(e.patchPlugin_=gc(pc),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Cc(e){wc(e),e.drafts_.forEach(Ec),e.drafts_=null}function wc(e){e===yc&&(yc=e.parent_)}var Tc=e=>yc=xc(yc,e);function Ec(e){let t=e[Y];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Dc(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Y].modified_&&(Cc(t),X(4)),$(e)&&(e=Oc(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Y].base_,e,t)}else e=Oc(t,n);return kc(t,e,!0),Cc(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Ms?void 0:e}function Oc(e,t){if(dc(t))return t;let n=t[Y];if(!n)return Lc(t,e.handledSet_,e);if(!jc(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);Fc(n,e)}return n.copy_}function kc(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&cc(t,n)}function Ac(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var jc=(e,t)=>e.scope_===t,Mc=[];function Nc(e,t,n,r){let i=ac(e),a=e.type_;if(r!==void 0&&Js(i,r,a)===t){Ys(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Gs(i,(e,n)=>{if(Q(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Mc;for(let e of o)Ys(i,e,n,a)}function Pc(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!jc(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=oc(i);Nc(e,i.draft_??i,a,n),Fc(i,r)})}function Fc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}Ac(e)}}function Ic(e,t,n){let{scope_:r}=e;if(Q(n)){let i=n[Y];jc(i,r)&&i.callbacks_.push(function(){Kc(e),Nc(e,n,oc(i),t)})}else $(n)&&e.callbacks_.push(function(){let i=ac(e);e.type_===3?i.has(n)&&Lc(n,r.handledSet_,r):Js(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Lc(Js(e.copy_,t,e.type_),r.handledSet_,r)})}function Lc(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Q(e)||t.has(e)||!$(e)||dc(e)||(t.add(e),Gs(e,(r,i)=>{if(Q(i)){let t=i[Y];jc(t,n)&&(Ys(e,r,oc(t),e.type_),Ac(t))}else $(i)&&Lc(i,t,n)})),e}function Rc(e,t){let n=Zs(e),r={type_:+!!n,scope_:t?t.scope_:bc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=zc;n&&(i=[r],a=Bc);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var zc={get(e,t){if(t===Y)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=ac(e);if(!qs(i,t,e.type_))return Uc(e,i,t);let a=i[t];if(e.finalized_||!$(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&rc(t))return a;if(a===Vc(e.base_,t)||Hc(e,t,a)){Kc(e);let n=e.type_===1?+t:t,r=Jc(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in ac(e)},ownKeys(e){return Reflect.ownKeys(ac(e))},set(e,t,n){let r=Wc(ac(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Vc(ac(e),t),i=r?.[Y];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.delete(t),!0;if(Xs(n,r)&&(n!==void 0||qs(e.base_,t,e.type_)))return!0;Kc(e),Gc(e)}return e.copy_[t]===n&&(n!==void 0||qs(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),Ic(e,t,n)),!0},deleteProperty(e,t){return Kc(e),Vc(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Gc(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=ac(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Bs]:!0,[Rs]:e.type_!==1||t!==`length`,[zs]:r[zs],[Vs]:n[t]}},defineProperty(){X(11)},getPrototypeOf(e){return Fs(e.base_)},setPrototypeOf(){X(12)}},Bc={};for(let e in zc){let t=zc[e];Bc[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Bc.deleteProperty=function(e,t){return isNaN(parseInt(t))&&X(13),Bc.set.call(this,e,t,void 0)},Bc.set=function(e,t,n){return t!==`length`&&isNaN(parseInt(t))&&X(14),zc.set.call(this,e[0],t,n,e[0])};function Vc(e,t){let n=e[Y];return(n?ac(n):e)[t]}function Hc(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!$(n)||n[Y]?!1:e.baseRefs_.has(n)}function Uc(e,t,n){let r=Wc(t,n);return r?Vs in r?r[Vs]:r.get?.call(e.draft_):void 0}function Wc(e,t){if(!(t in e))return;let n=Fs(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Fs(n)}}function Gc(e){e.modified_||(e.modified_=!0,e.parent_&&Gc(e.parent_))}function Kc(e){e.copy_||=(e.assigned_=new Map,sc(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var qc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(tc(e)&&!tc(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}tc(t)||X(6),n!==void 0&&!tc(n)&&X(7);let r;if($(e)){let i=Tc(this),a=Jc(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Cc(i):wc(i)}return Sc(i,n),Dc(r,i)}if(!e||!ec(e)){if(r=t(e),r===void 0&&(r=e),r===Ms&&(r=void 0),this.autoFreeze_&&cc(r,!0),n){let t=[],i=[];gc(pc).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}X(1,e)},this.produceWithPatches=(e,t)=>{if(tc(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},nc(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),nc(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),nc(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){$(e)||X(8),Q(e)&&(e=Yc(e));let t=Tc(this),n=Jc(t,e,void 0);return n[Y].isManual_=!0,wc(t),n}finishDraft(e,t){let n=e&&e[Y];(!n||!n.isManual_)&&X(9);let{scope_:r}=n;return Sc(r,t),Dc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=gc(pc).applyPatches_;return Q(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Jc(e,t,n,r){let[i,a]=Qs(t)?gc(fc).proxyMap_(t,n):$s(t)?gc(fc).proxySet_(t,n):Rc(t,n);return(n?.scope_??bc()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?Pc(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Yc(e){return Q(e)||X(10,e),Xc(e)}function Xc(e){if(!$(e)||dc(e))return e;let t=e[Y],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=sc(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=sc(e,!0);return Gs(n,(e,t)=>{Ys(n,e,Xc(t))},r),t&&(t.finalized_=!1),n}function Zc(){Ps.push(`Sets cannot have "replace" patches.`,function(e){return`Unsupported patch operation: `+e},function(e){return`Cannot apply patch, path doesn't resolve: `+e},`Patching reserved attributes like __proto__, prototype and constructor is not allowed`);function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=ic(Js(e,n.key_)),i=Js(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||qs(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=Js(n,r),!ec(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[Y];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Gs(e.assigned_,(e,l)=>{let u=Js(o,e,c),f=Js(s,e,c),p=l?qs(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===Ms?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=Ks(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===Is)&&X(19),tc(o)&&n===Ls&&X(19),o=Js(o,n),(o===null||!ec(o))&&X(18,i.join(`/`))}let s=Ks(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:X(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:X(17,a)}}),e}function u(e){if(!$(e))return e;if(Zs(e))return e.map(u);if(Qs(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if($s(e))return new Set(Array.from(e).map(u));let t=Object.create(Fs(e));for(let n in e)t[n]=u(e[n]);return qs(e,Ns)&&(t[Ns]=e[Ns]),t}function d(e){return Q(e)?u(e):e}vc(pc,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}globalThis.Iterator?.from;var Qc=new qc,$c=Qc.produce,el=Qc.produceWithPatches.bind(Qc),tl=Qc.applyPatches.bind(Qc),nl=1e3;function rl(e,t){if(e.add(t),e.size>nl){let t=e.values().next().value;t!==void 0&&e.delete(t)}}function il(e){let{enablePatches:t=!1}=e;t&&Zc();let n=Cs(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=js())=>{i.has(t)||(Zc(),r=tl(r,e),rl(i,t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=js())=>{if(!i.has(a)){if(rl(i,a),t){let[t,i]=el(r,e);if(t===r)return;r=t,n.emit(`updated`,r,i,a)}else{let t=$c(r,e);if(t===r)return;r=t,n.emit(`updated`,r,void 0,a)}}},syncIds:i}}var al=typeof self==`object`?self:globalThis,ol=new Set([`Error`,`EvalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`,`AggregateError`]),sl=new Set([`Boolean`,`Number`,`String`,`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float16Array`,`Float32Array`,`Float64Array`,`BigInt64Array`,`BigUint64Array`]);function cl(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o,r=ol.has(e)?al[e]:void 0;return n(new(r??al.Error)(t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}if(typeof a==`string`&&sl.has(a))return n(new al[a](o),i);throw TypeError(`unable to deserialize unsafe or unknown type: ${String(a)}`)};return r}function ll(e){return cl(new Map,e)(0)}var ul=``,{toString:dl}={},{keys:fl}=Object;function pl(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=dl.call(e).slice(8,-1);switch(n){case`Array`:return[1,ul];case`Object`:return[2,ul];case`Date`:return[3,ul];case`RegExp`:return[4,ul];case`Map`:return[5,ul];case`Set`:return[6,ul];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function ml([e,t]){return e===0&&(t===`function`||t===`symbol`)}function hl(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=pl(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of fl(r))(e||!ml(pl(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(ml(pl(n))||ml(pl(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!ml(pl(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function gl(e,t={}){let n=[];return hl(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:_l,stringify:vl}=JSON,yl={json:!0,lossy:!0};function bl(e){return ll(_l(e))}function xl(e){return vl(gl(e,yl))}function Sl(e){return ll(e)}function Cl(e){return xl(e)}function wl(e){return bl(e)}var Tl=256,El=class extends Error{name=`StreamClosedError`};function Dl(e={}){let t=e.id??js(),n=Math.max(0,e.replayWindow??0),r=Cs(),i=new AbortController,a=[],o=!1,s=0;function c(e){if(o)throw new El(`Cannot write to a closed stream "${t}"`);s+=1,n>0&&(a.push({seq:s,chunk:e}),a.length>n&&(a.length-n===1?a.shift():a.splice(0,a.length-n))),r.emit(`chunk`,s,e)}function l(e){if(o)return;o=!0;let t=kl(e);i.abort(e),r.emit(`end`,t)}function u(){o||(o=!0,i.signal.aborted||i.abort(`stream closed`),r.emit(`end`,void 0))}function d(e){o||i.signal.aborted||i.abort(e??`aborted`)}let f=new WritableStream({write(e){c(e)},close(){u()},abort(e){l(e)}});return{id:t,signal:i.signal,get closed(){return o},get lastSeq(){return s},write:c,error:l,close:u,abort:d,writable:f,events:r,buffer:a}}function Ol(e={}){let t=e.id??js(),n=Math.max(1,e.highWaterMark??Tl),r=[],i=0,a=!1,o=!1,s,c,l,u;function d(){if(c){if(r.length>0){let e=r.shift(),t=c;c=void 0,t.resolve({value:e,done:!1})}else if(a){let e=c;if(c=void 0,s){let t=Error(s.message);t.name=s.name,e.reject(t)}else e.resolve({value:void 0,done:!0})}}}function f(){if(l){for(;r.length>0;){let e=r.shift();try{l.enqueue(e)}catch{break}}if(a&&l){try{if(s){let e=Error(s.message);e.name=s.name,l.error(e)}else l.close()}catch{}l=void 0}}}function p(t,s){if(!(a||o)&&!(t<=i)){if(i=t,r.push(s),r.length>n){let t=r.length-n;r.splice(0,t),e.onOverflow?.(t)}d(),u&&f()}}function m(e){a||(a=!0,s=e,d(),u&&f())}function h(){o||a||(o=!0,e.onCancel?.(),m(void 0))}function g(){return u||(u=new ReadableStream({start(e){l=e,f()},cancel(){h()}}),u)}return{id:t,get cancelled(){return o},get done(){return a},get lastSeenSeq(){return i},get readable(){return g()},cancel:h,_push:p,_end:m,[Symbol.asyncIterator](){return{next(){if(r.length>0)return Promise.resolve({value:r.shift(),done:!1});if(a){if(s){let e=Error(s.message);return e.name=s.name,Promise.reject(e)}return Promise.resolve({value:void 0,done:!0})}return new Promise((e,t)=>{c={resolve:e,reject:t}})},return(){return h(),Promise.resolve({value:void 0,done:!0})}}}}}function kl(e){if(e instanceof Error)return{name:e.name||`Error`,message:e.message};if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)}}catch{return{name:`Error`,message:String(e)}}}var Al=128;function jl(e){return e.replace(/[^\w-]+/g,`_`).slice(0,Al)}var Ml=`__connection.json`,Nl=`__DEVFRAME_CONNECTION__`,Pl=`x-birpc-session`,Fl=`__rpc-dump/index.json`,Il=`devframe:services`,Ll=`devframe_otp`,Rl=`devframe_auth_token`;J.postMessage.remoteAssetsError;var zl=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>Ss(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}has(e,t){return this.cacheMap.get(e)?.has(this.keySerializer(t))??!1}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}},Bl=Ko({docsBase:`https://devfra.me/errors`,codes:{DF0019:{why:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is \`false\`; MCP requires JSON-serializable data.`,fix:"Remove `jsonSerializable: false`, or remove `agent` to keep it RPC-only."},DF0020:{why:e=>`RPC function "${e.name}" declares \`jsonSerializable: true\` but the value at "${e.path}" is a ${e.type}.`,fix:"Either drop `jsonSerializable: true` (falls back to structured-clone) or change the value to a JSON-safe shape."},DF0021:{why:e=>`RPC function "${e.name}" is already registered`,fix:"Use the `force` parameter to overwrite an existing registration."},DF0022:{why:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DF0023:{why:e=>`RPC function "${e.name}" is not registered`},DF0024:{why:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DF0025:{why:e=>`Function "${e.name}" not found in dump store`},DF0026:{why:e=>`No dump match for "${e.name}" with args: ${e.args}`},DF0027:{why:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`},DF0028:{why:e=>`Function "${e.name}" with type "${e.type}" cannot use \`snapshot: true\`. Only "query" functions support this sugar; "static" functions have equivalent default behavior already.`,fix:"Remove `snapshot: true`, or change the function type to `query`."},DF0043:{why:e=>`RPC function "${e.name}" received an invalid argument at position ${e.index}: ${e.issues}`,fix:"Pass a value that satisfies the `args` schema declared for this function."},DF0044:{why:e=>`RPC function "${e.name}" returned a value that failed its \`returns\` schema: ${e.issues}`,fix:"Make the handler return a value that satisfies the `returns` schema, or relax the schema."}}});function Vl(e){if(e.agent&&e.jsonSerializable===!1)throw Bl.DF0019({name:e.name});e.agent&&!e.jsonSerializable&&(e.jsonSerializable=!0)}async function Hl(e,t){let n=e[`~standard`].validate(t);return n instanceof Promise?await n:n}function Ul(e){return e.map(e=>{let t=e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`);return t?`${t}: ${e.message}`:e.message}).join(`; `)}async function Wl(e,t,n){let r=n.slice();if(!t||t.length===0)return r;for(let r=0;r<t.length;r++){let i=t[r];if(!i)continue;let a=await Hl(i,n[r]);if(a.issues)throw Bl.DF0043({name:e,index:r,issues:Ul(a.issues)})}return r}async function Gl(e,t,n){if(!t)return n;let r=await Hl(t,n);if(r.issues)throw Bl.DF0044({name:e,issues:Ul(r.issues)});return n}async function Kl(e,t){if(!e.setup)return{};if(typeof t==`object`&&t){e.__cache??=new WeakMap;let n=e.__cache,r=n.get(t);return r||(r=Promise.resolve(e.setup(t)),r.catch(()=>{n.get(t)===r&&n.delete(t)}),n.set(t,r)),await r}if(!e.__promise){let n=Promise.resolve(e.setup(t));n.catch(()=>{e.__promise===n&&(e.__promise=void 0)}),e.__promise=n}return await e.__promise}async function ql(e,t){let n=e.handler;if(!n){let r=await Kl(e,t);if(!r.handler)throw Bl.DF0024({name:e.name});n=r.handler}let r=e.args,i=e.returns;if(!r&&!i)return n;let a=n;return async(...t)=>{let n=await Wl(e.name,r,t),o=await a(...n);return await Gl(e.name,i,o)}}var Jl=class{context;definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return ql(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw Bl.DF0021({name:e.name});Vl(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw Bl.DF0022({name:e.name});Vl(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await ql(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw Bl.DF0023({name:String(e)});return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}};function Yl(e,t=``){return JSON.stringify(e,function(e,n){let r=this,i=r==null?n:r[e];if(i===void 0){if(Array.isArray(r))throw Zl(t,`undefined`,r,e);return n}return i!==null&&Xl(i,r,e,t),n})}function Xl(e,t,n,r){if(typeof e==`bigint`)throw Zl(r,`BigInt`,t,n);if(typeof e!=`object`)return;if(e instanceof Map)throw Zl(r,`Map`,t,n);if(e instanceof Set)throw Zl(r,`Set`,t,n);if(e instanceof Date)throw Zl(r,`Date`,t,n);if(Array.isArray(e))return;let i=Object.getPrototypeOf(e);if(i!==null&&i!==Object.prototype)throw Zl(r,e.constructor?.name??`class instance`,t,n)}function Zl(e,t,n,r){let i=Ql(n,r);return Bl.DF0020({name:e||`<anonymous>`,type:t,path:i})}function Ql(e,t){return Array.isArray(e)?`[${t}]`:t===``?`<root>`:t}var $l=`__DEVFRAME_CONNECTION_META__`,eu=`__DEVFRAME_CONNECTION_AUTH_TOKEN__`;function tu(e){let t=[()=>window?.[e],()=>globalThis?.[e],()=>parent.window?.[e]];for(let e of t)try{let t=e();if(t)return t}catch{}}function nu(){return tu(Nl)}function ru(){return tu($l)}function iu(e){if(e)return e;try{let e=localStorage.getItem(eu);if(e)return e}catch{}return tu(eu)}function au(e){globalThis[Nl]=e,globalThis[$l]={...e.connectionMeta,baseUrl:e.metaBaseUrl},e.authToken&&ou(e.authToken)}function ou(e){try{localStorage.setItem(eu,e)}catch{}globalThis[eu]=e;let t=nu();t&&(globalThis[Nl]={...t,authToken:e})}function su(e){let t=Os(Ml,e);try{return new URL(t,globalThis.location?.href).href}catch{return t}}function cu(e,t){return t&&t!==e.authToken?{...e,authToken:t}:e}function lu(){let e=nu();if(e)return cu(e,iu()??e.authToken??e.connectionMeta.authToken);let t=ru();if(t)return{connectionMeta:t,metaBaseUrl:t.baseUrl??su(`./`),authToken:iu(t.authToken)}}async function uu(e={}){if(e.connection){let t=cu(e.connection,iu(e.authToken??e.connection.authToken??e.connection.connectionMeta.authToken));return au(t),t}let t=Array.isArray(e.baseURL)?e.baseURL:[e.baseURL??`./`];if(e.connectionMeta){let n={connectionMeta:e.connectionMeta,metaBaseUrl:su(t[0]??`./`),authToken:iu(e.authToken??e.connectionMeta.authToken)};return au(n),n}let n=lu();if(n){let t=cu(n,iu(e.authToken??n.authToken??n.connectionMeta.authToken));return au(t),t}let r=[];for(let n of t){let t=Os(Ml,n),i=su(n);try{let n=await fetch(t);if(!n.ok)throw Error(`Failed to fetch connection meta from ${i}: ${n.status}`);let r=await n.json(),a=n.url||i,o={connectionMeta:r,metaBaseUrl:r.baseUrl?new URL(r.baseUrl,a).href:a,authToken:iu(e.authToken??r.authToken)};return au(o),o}catch(e){r.push(e)}}throw Error(`Failed to get connection meta from ${t.join(`, `)}`,{cause:r})}var du=class extends Error{name=`DevframeConnectionError`;kind;constructor(e,t,n){super(t,n),this.kind=e}};function fu(e=Ll){try{let t=globalThis.location?.hash?.replace(/^#/,``)??``;return new URLSearchParams(t).get(e)||void 0}catch{return}}function pu(e){try{let t=new URL(globalThis.location.href),n=new URLSearchParams(t.hash.replace(/^#/,``));if(!n.has(e))return;n.delete(e),t.hash=n.toString(),globalThis.history?.replaceState(globalThis.history.state,``,t.href)}catch{}}function mu(e=Ll){let t=fu(e);return t&&pu(e),t}async function hu(e,t={}){let n=mu(t.param??`devframe_otp`);return n?e.isTrusted?!0:e.requestTrustWithCode(n):!1}function gu(e){let t={},n=new WeakMap,r,i=()=>(r??=e.sharedState.get(Il,{initialValue:{}}).then(e=>(t=e.value(),e.on(`updated`,e=>{t=e}),e)),r);return i(),{state:i,has:e=>e in t,keys:()=>Object.keys(t),get:r=>{let i=t[r];if(!i)return;let a=n.get(i);return a||(a={...i,rpc:e.scope(i.scope).rpc},n.set(i,a)),a}}}function _u(e){let t=new Map,n=new Map,r=new Map,i=new Set,a=e.connectionMeta.backend===`static`;function o(e,t){let n=r.get(e);return n&&typeof n==`object`&&!Array.isArray(n)&&typeof t==`object`&&!Array.isArray(t)?{...n,...t}:t}e.client.register({name:J.broadcast.clientStateUpdated,type:`event`,handler:(e,n,r)=>{let i=t.get(e);i&&!i.syncIds.has(r)&&i.mutate(()=>o(e,n),r)}}),e.client.register({name:J.broadcast.clientStatePatch,type:`event`,handler:(e,n,r)=>{let i=t.get(e);i&&!i.syncIds.has(r)&&i.patch(n,r)}});function s(t,n){let r=[];return r.push(n.on(`updated`,(n,r,i)=>{a||(r?e.callEvent(`devframe:rpc:server-state:patch`,t,r,i):e.callEvent(`devframe:rpc:server-state:set`,t,n,i))})),()=>{for(let e of r)e()}}return{keys:()=>Array.from(t.keys()),onKeyAdded(e){return i.add(e),()=>{i.delete(e)}},delete(e){let i=n.get(e);n.delete(e);let a=t.delete(e);return r.delete(e),i?.(),a},get:async(c,l)=>{if(l?.initialValue!==void 0&&r.set(c,l.initialValue),t.has(c))return t.get(c);let u=il({initialValue:l?.initialValue,enablePatches:!1});async function d(){if(a||e.callEvent(`devframe:rpc:server-state:subscribe`,c),l?.initialValue!==void 0){t.set(c,u);for(let e of i)e(c);return e.call(`devframe:rpc:server-state:get`,c).then(e=>{e!==void 0&&u.mutate(()=>o(c,e))}).catch(e=>{console.error(`Error getting server state`,e)}),n.set(c,s(c,u)),u}{let r=await e.call(`devframe:rpc:server-state:get`,c);u.mutate(()=>o(c,r)),t.set(c,u);for(let e of i)e(c);return n.set(c,s(c,u)),u}}return new Promise((t,n)=>{if(e.isTrusted)d().then(t,n);else{t(u);let n=!1;e.events.on(J.client.isTrustedUpdated,e=>{e&&!n&&(n=!0,d())})}})}}}var vu=new Map;function yu(e=vu){let t=new Map;return{serialize:n=>{let r;return n.t===`q`?r=n.m:(r=t.get(n.i),t.delete(n.i)),!(n.t===`s`&&`e`in n)&&r&&e.get(r)?.jsonSerializable===!0?Yl(n,r??``):`s:${Cl(n)}`},deserialize:e=>{let n=e.startsWith(`s:`)?wl(e.slice(2)):JSON.parse(e);return n.t===`q`&&n.i&&n.m&&t.set(n.i,n.m),n}}}function bu(){}function xu(e){let t=e.search(/\n\n|\r\n\r\n/);if(!(t<0))return{frame:e.slice(0,t),rest:e.slice(t+(e[t]===`\r`?4:2))}}function Su(e){let t=`message`,n=[];for(let r of e.split(/\r?\n/))r.startsWith(`:`)||(r.startsWith(`event:`)?t=r.slice(6).trimStart():r.startsWith(`data:`)&&n.push(r.slice(5).replace(/^ /,``)));return{event:t,data:n}}function Cu(e){let{onConnected:t=bu,onError:n=bu,onDisconnected:r=bu,definitions:i,fetch:a=globalThis.fetch.bind(globalThis)}=e,o=e.url;e.authToken&&(o=`${o}${o.includes(`?`)?`&`:`?`}${Rl}=${encodeURIComponent(e.authToken)}`);let s=yu(i),c=new AbortController,l=!1,u,d,f,p,m=new Promise((e,t)=>{f=e,p=t});m.catch(()=>{});function h(e){l||(l=!0,p(e),n(e),r())}function g(){l||(l=!0,p(Error(`Devframe SSE stream closed`)),r())}function _(e,n){e===`session`?(f(n),t()):u?.(n)}async function v(e){let t=e.getReader();d=t;let n=new TextDecoder,r=``;for(;;){let{done:e,value:i}=await t.read();if(e)break;for(r+=n.decode(i,{stream:!0});;){let e=xu(r);if(!e)break;r=e.rest;let{event:t,data:n}=Su(e.frame);n.length>0&&_(t,n.join(`
|
|
4
|
+
`))}}g()}return(async()=>{try{let e=await a(o,{headers:{accept:`text/event-stream`},signal:c.signal});if(!e.ok||!e.body)throw Error(`Devframe SSE stream request failed: ${e.status}`);await v(e.body)}catch(e){if(c.signal.aborted){g();return}h(e instanceof Error?e:Error(String(e)))}})(),{close:()=>{l=!0,c.abort(),d?.cancel().catch(()=>{})},on:e=>{u=e},post:async e=>{let t;try{t=await m}catch{return}if(l)n(Error(`Devframe SSE channel is closed; message dropped`));else try{let n=await a(o,{method:`POST`,headers:{"content-type":`text/plain; charset=utf-8`,[Pl]:t},body:e});if(n.status===200){let e=await n.text();e&&u?.(e);return}if(!n.ok)throw Error(`Devframe SSE POST failed: ${n.status}`)}catch(e){n(e instanceof Error?e:Error(String(e)))}},serialize:s.serialize,deserialize:s.deserialize}}function wu(e,t){let{channel:n,rpcOptions:r={}}=t;return ns(e,{...n,timeout:-1,...r,proxify:!1})}function Tu(e){let{transport:t,authToken:n,connectionMeta:r,events:i,clientRpc:a,rpcOptions:o={},callTimeout:s=0}=e,c=!1,l=`connecting`,u=null,d=Promise.withResolvers();function f(e,t=null){if(t?u=t:e===`connected`&&(u=null),e===l)return;let n=l;l=e,i.emit(J.client.connectionStatus,e,n)}let p=new Set;function m(e){for(let t of[...p])t.reject(e)}function h(){return l===`disconnected`||l===`error`?new du(`connection`,`[devframe] Not connected to the devframe server`,{cause:u??void 0}):l===`unauthorized`?new du(`auth`,`[devframe] Not authorized by the devframe server`,{cause:u??void 0}):null}function g(e,t){return new Promise((n,r)=>{let a=!1,o,c={reject(e){a||(l(),i.emit(J.client.error,e,t),r(e))}};function l(){a=!0,p.delete(c),o&&clearTimeout(o)}p.add(c),s>0&&(o=setTimeout(()=>{c.reject(new du(`timeout`,`[devframe] RPC call "${t}" timed out after ${s}ms`))},s)),e.then(e=>{a||(l(),n(e))},e=>{if(a)return;l();let n=e instanceof Error?e:Error(String(e));i.emit(J.client.error,n,t),r(n)})})}let _=new Map;for(let e of r.jsonSerializableMethods??[])_.set(e,{jsonSerializable:!0});let v=e.createChannel({definitions:_,onError(e){f(`error`,e),i.emit(J.client.connectionError,e),m(new du(`connection`,`[devframe] Connection to the devframe server failed`,{cause:e}))},onDisconnected(){l!==`error`&&f(`disconnected`),m(new du(`connection`,`[devframe] Disconnected from the devframe server`,{cause:u??void 0}))}}),y=wu(a.functions,{channel:v,rpcOptions:o});a.register({name:J.broadcast.authRevoked,type:`event`,handler:()=>{c=!1;let e=new du(`auth`,`[devframe] The devframe server revoked this client's trust`);f(`unauthorized`,e),i.emit(J.client.connectionError,e),m(e),i.emit(J.client.isTrustedUpdated,!1)}});let b=n;async function x(e){b=e;let t=await y.$call(`anonymous:devframe:auth`,{authToken:e,ua:navigator.userAgent,origin:location.origin});if(c=t.isTrusted,c)d.resolve(!0),f(`connected`);else{let e=new du(`auth`,`[devframe] The devframe server refused this client's credentials`);f(`unauthorized`,e),i.emit(J.client.connectionError,e)}return i.emit(J.client.isTrustedUpdated,c),t.isTrusted}async function S(e){let t=(await y.$call(`anonymous:devframe:auth:exchange`,{code:e,ua:navigator.userAgent,origin:location.origin}))?.authToken??null;return t&&(b=t,c=!0,d.resolve(!0),f(`connected`),i.emit(J.client.isTrustedUpdated,!0)),t}async function C(e={}){await y.$call(`anonymous:devframe:auth:request-code`,{ua:navigator.userAgent,origin:location.origin,...e.reissue?{reissue:!0}:{}})}async function w(){return c?!0:x(b??``)}async function T(e=6e4){if(c&&d.resolve(!0),e<=0)return d.promise;let t;try{return await Promise.race([d.promise,new Promise((n,r)=>{t=setTimeout(()=>{r(Error(`[devframe] Timeout waiting for rpc to be trusted`))},e)})]),c}finally{clearTimeout(t)}}return{transport:t,get isTrusted(){return c},get status(){return l},get connectionError(){return u},requestTrust:w,requestTrustWithToken:x,requestTrustWithCode:S,requestAuthCode:C,ensureTrusted:T,call:(...e)=>{let t=String(e[0]),n=h();return n?(i.emit(J.client.error,n,t),Promise.reject(n)):g(y.$call(...e),t)},callEvent:(...e)=>{let t=h();if(t)i.emit(J.client.error,t,String(e[0]));else return y.$callEvent(...e)},callOptional:(...e)=>{let t=String(e[0]),n=h();return n?(i.emit(J.client.error,n,t),Promise.reject(n)):g(y.$callOptional(...e),t)},close:()=>{v.close()}}}function Eu(e,t,n){let r=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})();if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${r.hostname}:${e.port}`;return new URL(e.path??`/`,`${r.protocol}//${t}`).href}return new URL(e.path??``,r).href}let i=e??``;return/^https?:\/\//i.test(i)?i:new URL(i,r).href}function Du(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},sseOptions:s={},callTimeout:c=0}=e,l=Eu(n.sse,r??`./`,location);return Tu({transport:`sse`,authToken:t,connectionMeta:n,events:i,clientRpc:a,rpcOptions:o,callTimeout:c,createChannel:e=>Cu({url:l,authToken:t,definitions:e.definitions,...s,onConnected(){s.onConnected?.()},onError(t){e.onError(t),s.onError?.(t)},onDisconnected(){e.onDisconnected(),s.onDisconnected?.()}})})}function Ou(e){let{name:t,message:n,cause:r,...i}=e,a=r instanceof Error?r:ku(r)?Ou(r):r,o=a===void 0?Error(n):Error(n,{cause:a});return o.name=t,Object.assign(o,i),o}function ku(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`}function Au(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function ju(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Mu(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function Nu(e){if(e.error)throw Ou(e.error);return e.output}function Pu(e){return e.some(e=>e!=null)}function Fu(e){return typeof e==`object`&&e&&`serialization`in e&&`data`in e?e.data:e}function Iu(e,t){let n=new Map,r=new Map;function i(e,t){return t===`structured-clone`&&Array.isArray(e)?Sl(e):e}function a(e,t){return i(Fu(e),t)}async function o(e){n.has(e.path)||n.set(e.path,t(e.path).then(t=>a(t,e.serialization)));let r=await n.get(e.path);return Mu(r)?Nu(r):r}async function s(e,n){return r.has(e)||r.set(e,t(e).then(e=>a(e,n))),await r.get(e)}async function c(t,n){if(!(t in e))throw Error(`[devframe-rpc] Function "${t}" not found in dump store`);let r=e[t];if(Au(r)){if(Pu(n))throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await o(r)}if(ju(r)){let e=Ss(n),i=r.records[e];if(i)return Nu(await s(i,r.serialization));if(r.fallback)return Nu(await s(r.fallback,r.serialization));throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(!Pu(n))return r;throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await c(e,t),callOptional:async(t,n)=>{if(t in e)return await c(t,n)},callEvent:async(e,t)=>{}}}async function Lu(e){let t=Iu(await e.fetchJsonFromBases(Fl),e.fetchJsonFromBases);return{transport:`static`,isTrusted:!0,status:`connected`,connectionError:null,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,requestTrustWithCode:async()=>null,requestAuthCode:async()=>{},ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1)),close:()=>{}}}var Ru=``;function zu(e,t){return`${e}${Ru}${t}`}function Bu(e){let t=new Map,n=new Map;e.client.register({name:J.broadcast.streamingChunk,type:`event`,handler(e,n,r,i){t.get(zu(e,n))?._push(r,i)}}),e.client.register({name:J.broadcast.streamingEnd,type:`event`,handler(e,n,r){let i=zu(e,n),a=t.get(i);a&&(a._end(r),t.delete(i))}}),e.client.register({name:J.broadcast.streamingUploadCancel,type:`event`,handler(e,t){let r=zu(e,t),i=n.get(r);i&&(i.abort(`server cancelled upload`),n.delete(r))}}),e.events.on(J.client.isTrustedUpdated,n=>{if(n)for(let[n,r]of t){if(r.cancelled||r.done)continue;let t=n.indexOf(Ru);if(t<0)continue;let i=n.slice(0,t),a=n.slice(t+1);e.callEvent(`devframe:streaming:subscribe`,i,a,{afterSeq:r.lastSeenSeq})}});function r(n,r,i={}){let a=zu(n,r),o=t.get(a);if(o)return o;let s=Ol({id:r,highWaterMark:i.highWaterMark,onOverflow(e){console.warn(`[devframe] DF0029: Stream "${n}#${r}" dropped ${e} chunk(s) after exceeding the client high-water mark.`)},onCancel(){e.callEvent(`devframe:streaming:cancel`,n,r),t.delete(a)}});if(t.set(a,s),e.isTrusted)e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:0});else{let i=e.events.on(J.client.isTrustedUpdated,o=>{o&&(i(),t.has(a)&&!s.cancelled&&!s.done&&e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:s.lastSeenSeq}))})}return s}function i(t,r){let i=zu(t,r),a=n.get(i);if(a)return a;let o=Dl({id:r});return o.events.on(`chunk`,(n,i)=>{e.callEvent(`devframe:streaming:upload-chunk`,t,r,n,i)}),o.events.on(`end`,a=>{e.callEvent(`devframe:streaming:upload-end`,t,r,a),n.delete(i)}),n.set(i,o),o}return{subscribe:r,upload:i}}function Vu(){}var Hu=new Map;function Uu(e){let t=e.url;e.authToken&&(t=`${t}?${Rl}=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=Vu,onError:i=Vu,onDisconnected:a=Vu,definitions:o=Hu}=e;n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{let t=e instanceof Error?e:Error(e.type);i(t)}),n.addEventListener(`close`,e=>{a(e)});let s=yu(o);return{close:()=>{n.close()},on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN)n.send(e);else if(n.readyState===WebSocket.CONNECTING){let t=()=>{i(),n.readyState===WebSocket.OPEN&&n.send(e)},r=()=>i();function i(){n.removeEventListener(`open`,t),n.removeEventListener(`close`,r)}n.addEventListener(`open`,t),n.addEventListener(`close`,r)}else i(Error(`Devframe WebSocket is not open; message dropped`))},serialize:s.serialize,deserialize:s.deserialize}}function Wu(e,t,n){let r=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})(),i=r.protocol===`https:`?`wss:`:`ws:`;if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${r.hostname}:${e.port}`,n=new URL(e.path??`/`,`${i}//${t}`);return n.protocol=i,n.href}let t=new URL(e.path??``,r);return t.protocol=i,t.href}if(typeof e==`number`)return`${i}//${r.hostname}:${e}`;let a=e??``;if(/^wss?:\/\//i.test(a))return a;if(/^https?:\/\//i.test(a))return ks(a,/^https/i.test(a)?`wss://`:`ws://`);let o=new URL(a,r);return o.protocol=i,o.href}function Gu(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},wsOptions:s={},callTimeout:c=0}=e,l=Wu(n.websocket,r??`./`,location);return Tu({transport:`websocket`,authToken:t,connectionMeta:n,events:i,clientRpc:a,rpcOptions:o,callTimeout:c,createChannel:e=>Uu({url:l,authToken:t,definitions:e.definitions,...s,onConnected(e){s.onConnected?.(e)},onError(t){e.onError(t),s.onError?.(t)},onDisconnected(t){e.onDisconnected(),s.onDisconnected?.(t)}})})}function Ku(e){return e.includes(`:`)}function qu(e,t){return Ku(t)?t:`${e}:${t}`}function Ju(e){return{async get(t){return(await e()).value()?.[t]},async set(t,n){(await e()).mutate(e=>{if(e===void 0)return{[t]:n};e[t]=n})},async delete(t){(await e()).mutate(e=>{e!==void 0&&delete e[t]})},async all(){return(await e()).value()??{}},async onChange(t){return(await e()).on(`updated`,e=>t(e??{}))}}}function Yu(e,t,n){let r=`devframe:settings:${n}:${t}`,i;function a(){return i||=(async()=>(await e.ensureTrusted(),e.sharedState.get(r)))().catch(e=>{throw i=void 0,e}),i}return Ju(a)}function Xu(e,t){return{global:Yu(e,t,`global`),project:Yu(e,t,`project`)}}function Zu(e,t){return{namespace:t,base:e,rpc:{namespace:t,register(n){if(Ku(n.name))throw Error(`[devframe] Scoped client RPC registration for namespace "${t}" received an already-namespaced function name "${n.name}". Pass a bare name without a ":" separator.`);e.client.register({...n,name:`${t}:${n.name}`})},call:((n,...r)=>e.call(qu(t,n),...r)),callEvent:((n,...r)=>e.callEvent(qu(t,n),...r)),callOptional:((n,...r)=>e.callOptional(qu(t,n),...r)),sharedState:((n,r)=>e.sharedState.get(qu(t,n),r)),streaming:{subscribe:(n,r,i)=>e.streaming.subscribe(qu(t,n),r,i),upload:(n,r)=>e.streaming.upload(qu(t,n),r)}},settings:Xu(e,t),scope:e.scope}}function Qu(){if(typeof document<`u`){let e=document.modelContext;if(e)return e}if(typeof navigator<`u`){let e=navigator.modelContext;if(e)return e}}function $u(e,t={}){let n=t.modelContext??Qu();if(!n)return()=>{};let r=n,i=new Map,a=new Map;function o(t,n){let o=jl(t.name),s=a.get(o);if(s&&s!==t.name){console.warn(`[devframe] WebMCP tool name "${o}" (from "${t.name}") collides with "${s}"; keeping the first registration.`);return}let c=new AbortController,l=rs(t.type,n),u=r.registerTool({name:o,description:n.description,inputSchema:os(t.args),annotations:{title:n.title??t.name,readOnlyHint:l===`read`,destructiveHint:l===`destructive`},execute:n=>ed(t,e.context,n)},{signal:c.signal});u&&`then`in u&&u.then(()=>{},()=>{}),a.set(o,t.name),i.set(t.name,()=>{c.abort(),u&&`unregister`in u&&typeof u.unregister==`function`&&u.unregister(),a.delete(o)})}function s(t){let n=t?[t]:[...e.definitions.keys()];for(let t of n){i.get(t)?.(),i.delete(t);let n=e.definitions.get(t),r=n?.agent;n&&r&&o(n,r)}}s();let c=e.onChanged(e=>s(e));return()=>{c();for(let e of i.values())e();i.clear()}}async function ed(e,t,n){try{let r=cs(n,e.args?.length);return{content:[{type:`text`,text:td(await(await ql(e,t))(...r))}]}}catch(e){return{isError:!0,content:[{type:`text`,text:nd(e)}]}}}function td(e){return e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e,null,2)}function nd(e){if(!(e instanceof Error))return String(e);let t=e.cause instanceof Error?` (cause: ${e.cause.message})`:``;return`${e.name}: ${e.message}${t}`}function rd(e,t){if(t.backend===`static`)return`static`;let n=t.websocket!==void 0,r=t.sse!==void 0;if(e===`websocket`){if(!n)throw Error(`[devframe] transport: 'websocket' was requested, but this server does not advertise a WebSocket endpoint`);return`websocket`}if(e===`sse`){if(!r)throw Error(`[devframe] transport: 'sse' was requested, but this server does not advertise an SSE endpoint`);return`sse`}if(t.backend===`sse`&&r)return`sse`;if(n)return`websocket`;if(r)return`sse`;throw Error(`[devframe] This server advertises no RPC transport (backend "none"), so there is nothing to connect to. Enable the WebSocket or SSE endpoint on the server, or use its static/MCP surfaces instead.`)}async function id(e={}){let{baseURL:t=`./`,rpcOptions:n={},cacheOptions:r=!1}=e,i=Cs(),a=Array.isArray(t)?t:[t],o=await uu(e),{connectionMeta:s,metaBaseUrl:c,authToken:l}=o,u=a[0]??`./`;try{u=new URL(`.`,c).href}catch{}let d=new zl({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),f={rpc:void 0},p=new Jl(f),m=e.webmcp===!1?void 0:$u(p),h,g=!1,_=0,v;function y(){_++,v=void 0,d.clear(),r===!0&&d.updateOptions({functions:[]})}r&&(p.register({name:J.broadcast.cacheInvalidate,type:`event`,handler:y}),i.on(J.client.connectionStatus,y),i.on(J.client.isTrustedUpdated,y));async function b(e){let t=[u,...a.filter(e=>e!==u)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(Os(e,r)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let x=e.callTimeout??0,S=x>0?x:1/0,C,w={authToken:l,connectionMeta:s,metaBaseUrl:c,events:i,clientRpc:p,callTimeout:e.callTimeout,rpcOptions:{...n,async onRequest(e,t,i){let a=performance.now()+S;if(await n.onRequest?.call(this,e,t,i),r===!0&&e.i&&C.isTrusted&&!e.m.startsWith(`anonymous:`)&&e.m!==`devframe:rpc:cacheable-functions`){function t(){if(performance.now()>=a)throw new du(`timeout`,`[devframe] RPC call "${e.m}" timed out after ${x}ms`)}for(;!v&&(t(),!(g||C.status!==`connected`));){let e=_;v=C.callOptional(`devframe:rpc:cacheable-functions`).then(t=>{e===_&&d.updateOptions({functions:t??[]})}).catch(t=>{throw e===_&&(v=void 0),t}),await v}await v,t()}let o=_;if(r&&e.i&&!g&&C.isTrusted&&d.validate(e.m)){if(d.has(e.m,e.a))return i(d.cached(e.m,e.a));let n=await t(e);o===_&&!g&&d.apply(e,n)}else await t(e)}}},T=rd(e.transport??`auto`,s);C=T===`static`?await Lu({fetchJsonFromBases:b}):T===`sse`?Du({...w,sseOptions:e.sseOptions}):Gu({...w,wsOptions:e.wsOptions});let E;try{E=new BroadcastChannel(`devframe-auth`)}catch{}let D,O=!1;function k(e){return((...t)=>O||!D?e(...t):D.then(()=>e(...t)))}function ee(){g=!0,y();try{h?.(),m?.()}finally{try{E?.close()}finally{C.close?.()}}}let A={events:i,get isTrusted(){return C.isTrusted},get status(){return C.status},get connectionError(){return C.connectionError},get transport(){return C.transport??T},get connection(){return o},connectionMeta:s,ensureTrusted:C.ensureTrusted,requestTrust:C.requestTrust,requestTrustWithToken:async e=>(ou(e),o={...o,authToken:e},C.requestTrustWithToken(e)),requestTrustWithCode:async e=>{let t=await C.requestTrustWithCode(e);if(!t)return!1;ou(t),o={...o,authToken:t};try{E?.postMessage({type:`auth-update`,authToken:t})}catch{}return!0},requestAuthCode:e=>C.requestAuthCode(e),call:k(C.call),callEvent:k(C.callEvent),callOptional:k(C.callOptional),client:p,sharedState:void 0,services:void 0,streaming:void 0,cacheManager:d,scope:void 0,close:ee};A.sharedState=_u(A),A.streaming=Bu(A),A.services=gu(A);let j=new Map;A.scope=(e=>{if(!e)return A;let t=j.get(e);return t||(t=Zu(A,e),j.set(e,t)),t}),f.rpc=A;function M(){try{return typeof window<`u`&&window.self===window.top}catch{return!1}}async function te(){if(e.simpleAuth!==!1&&M()&&typeof globalThis.prompt==`function`)for(await A.requestAuthCode().catch(()=>{});!A.isTrusted;){let e=globalThis.prompt(`devframe: enter the authentication code shown in your terminal`);if(e==null)return;let t=e.trim();if(t&&await A.requestTrustWithCode(t))return}}async function ne(){let t=await C.requestTrust(),n=e.otpParam??`devframe_otp`,r=n?await hu(A,{param:n}):!1;t||r||A.isTrusted||await te()}return D=ne().then(()=>{O=!0},()=>{O=!0}),s.mcp&&V(async()=>{let{setupBrowserAgentRpcBridge:e}=await import(`./B48W2q7f.js`);return{setupBrowserAgentRpcBridge:e}},[],import.meta.url).then(({setupBrowserAgentRpcBridge:e})=>{g||(h=e(A))}).catch(()=>{}),E&&(E.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&A.requestTrustWithToken(e.data.authToken)}),A}var ad=id;function od(e){return{project:()=>e.call(`x18n:project`),keys:t=>e.call(`x18n:keys`,{project:t}),key:(t,n)=>e.call(`x18n:key`,{project:t,key:n}),usages:t=>e.call(`x18n:usages`,{project:t}),analysis:t=>e.call(`x18n:analysis`,{project:t}),explain:()=>e.call(`x18n:explain`),extractCandidates:t=>e.call(`x18n:extract-candidates`,{project:t})}}function sd(){throw Error(`This report is read-only.`)}function cd(e){return{mode:`static`,capabilities:{write:!1,prompts:!1,openInEditor:!1},...od(e),plan:sd,apply:sd,extractApply:sd,openInEditor:sd,onChange:()=>()=>{}}}async function ld(e){let{openInEditor:t}=await e.call(`x18n:project`),n=await e.sharedState.get(`x18n:state`);return{mode:`server`,capabilities:{write:!0,prompts:!0,openInEditor:t},...od(e),plan:t=>e.call(`x18n:plan`,t),apply:t=>e.call(`x18n:apply`,t),extractApply:t=>e.call(`x18n:extract-apply`,t),openInEditor:t=>e.call(`x18n:open-in-editor`,t),onChange:e=>n.on(`updated`,t=>e(t))}}var ud=fe();async function dd(e){let t=sessionStorage.getItem(`x18n:otp`);sessionStorage.removeItem(`x18n:otp`),!(t&&await e.requestTrustWithCode(t))&&(e.isTrusted||await e.requestTrust()||(await e.requestAuthCode(),await new Promise(t=>{ud.value=async n=>{let r=await e.requestTrustWithCode(n);return r&&(ud.value=void 0,t()),r}})))}var fd;function pd(){return fd??=ad({otpParam:!1,simpleAuth:!1}).then(async e=>e.transport===`static`?cd(e):(await dd(e),ld(e))),fd}var md=[`aria-label`,`aria-expanded`],hd={key:0,class:`absolute right-0 top-full z-20 mt-1 min-w-36 border border-strong bg-base py-1 shadow-lg`,role:`menu`},gd=[`aria-checked`,`lang`,`onClick`],_d=N({__name:`LanguageMenu`,setup(e){let t=ve(`root`),n=j(!1);at(t,()=>n.value=!1);function r(e){st(e),n.value=!1}return(e,i)=>(O(),I(`div`,{ref_key:`root`,ref:t,class:`relative`,onKeydown:i[1]||=we(e=>n.value=!1,[`escape`])},[F(`button`,{type:`button`,class:x([`btn-icon`,n.value&&`bg-hover color-base`]),"aria-label":L(H)(`app.language`),"aria-haspopup":`menu`,"aria-expanded":n.value,onClick:i[0]||=e=>n.value=!n.value},[...i[2]||=[F(`span`,{class:`i-ph-translate-duotone text-base`},null,-1)]],10,md),n.value?(O(),I(`div`,hd,[(O(!0),I(de,null,A(L(Ct),e=>(O(),I(`button`,{key:e,type:`button`,role:`menuitemradio`,"aria-checked":e===L(rt),lang:e,class:x([`focus-ring flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs transition-colors hover:bg-hover`,e===L(rt)?`color-base`:`color-muted`]),onClick:t=>r(e)},[F(`span`,{class:x([`i-ph-check-duotone shrink-0`,e!==L(rt)&&`op-0`])},null,2),le(` `+C(L(dt)(e)),1)],10,gd))),128))])):pe(``,!0)],544))}}),vd=it(`x18n:flags`,!0),yd=fe();ne(()=>{vd.value&&!yd.value&&V(()=>import(`./ChbLIx1c.js`).then(e=>yd.value=e.icons),[],import.meta.url)});function bd(e){return[...e].map(e=>String.fromCharCode(e.codePointAt(0)-127462+65)).join(``)}function xd(e){let t=yd.value;if(!t)return;let n=e.toLowerCase(),r=t.icons[t.aliases?.[n]?.parent??n]?.body;if(r)return`data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${t.width??512} ${t.height??512}">${r}</svg>`)}`}var Sd=[`src`],Cd=N({__name:`LocaleFlag`,props:{code:{}},setup(e){function t(e){let t=ot.value.find(t=>t.code===e)?.flag;if(t)return bd(t);try{return new Intl.Locale(e).maximize().region}catch{return}}let n=z(()=>{let n=vd.value?t(e.code):void 0;return n&&xd(n)});return(e,t)=>n.value?(O(),I(`img`,{key:0,src:n.value,alt:``,class:`size-[1.1em] shrink-0 select-none`,draggable:`false`,"data-flag":``},null,8,Sd)):pe(``,!0)}}),wd=[`aria-label`],Td={class:`label`},Ed=[`aria-pressed`,`title`,`data-locale-toggle`,`onClick`,`onKeydown`,`onDragstart`,`onDragover`],Dd={class:`font-mono text-[11px] color-muted tabular-nums`},Od=[`aria-pressed`,`title`],kd=N({__name:`LocaleBar`,setup(e){let t=j(),n=j();function r(e,n){t.value=n,e.dataTransfer?.setData(`text/plain`,n),e.dataTransfer&&(e.dataTransfer.effectAllowed=`move`)}function i(e,r){if(!t.value||!(e.currentTarget instanceof HTMLElement))return;e.preventDefault();let{left:i,width:a}=e.currentTarget.getBoundingClientRect();n.value=e.clientX<i+a/2?r:r+1}function a(){let e=t.value,r=n.value;if(e!==void 0&&r!==void 0){let t=ot.value.findIndex(t=>t.code===e);gt(e,t<r?r-1:r)}o()}function o(){t.value=void 0,n.value=void 0}return(e,s)=>(O(),I(`div`,{class:`flex min-h-10 flex-wrap items-center gap-x-3 gap-y-1 px-4 py-1.5`,role:`toolbar`,"aria-label":L(H)(`localeBar.bar`)},[F(`span`,Td,C(L(H)(`localeBar.title`)),1),F(`div`,{class:`flex flex-wrap gap-1`,onDragleave:s[0]||=be(e=>n.value=void 0,[`self`])},[(O(!0),I(de,null,A(L(ot),(e,s)=>(O(),I(`button`,{key:e.code,type:`button`,draggable:`true`,class:x([`focus-ring h-7 flex cursor-grab items-center gap-1.5 border px-2 font-mono text-xs transition-colors active:cursor-grabbing`,[L(pt)(e.code)?`border-strong color-base hover:border-inverse`:`border-dashed border-base color-faint hover:color-muted`,t.value===e.code&&`op-40`,n.value===s&&`shadow-[-3px_0_0_var(--x-fg)]`,n.value===s+1&&s===L(ot).length-1&&`shadow-[3px_0_0_var(--x-fg)]`]]),"aria-pressed":L(pt)(e.code),title:[L(H)(`localeBar.toggle`,{locale:L(Tt)(e.code)??e.code}),e.code===L(ht)?.sourceLocale?L(H)(`overview.source`):L(St)(e.percent),L(H)(`localeBar.reorder`)].join(`
|
|
5
|
+
`),"data-locale-toggle":e.code,onClick:t=>L(_t)(e.code),onKeydown:[we(be(t=>L(gt)(e.code,s-1),[`alt`,`prevent`]),[`left`]),we(be(t=>L(gt)(e.code,s+1),[`alt`,`prevent`]),[`right`])],onDragstart:t=>r(t,e.code),onDragover:e=>i(e,s),onDrop:be(a,[`prevent`]),onDragend:o},[L(vd)?(O(),R(Cd,{key:0,code:e.code,class:x(!L(pt)(e.code)&&`grayscale op-50`)},null,8,[`code`,`class`])):(O(),I(`span`,{key:1,class:x([L(pt)(e.code)?`i-ph-eye-duotone`:`i-ph-eye-slash-duotone`,`text-[13px] op-70`]),"aria-hidden":`true`},null,2)),le(` `+C(e.code),1)],42,Ed))),128))],32),s[4]||=F(`div`,{class:`flex-auto`},null,-1),F(`span`,Dd,C(L(H)(`localeBar.shown`,{shown:L(ft).length,total:L(ot).length})),1),L(ft).length<L(ot).length?(O(),I(`button`,{key:0,type:`button`,class:`btn-ghost h-7`,onClick:s[1]||=(...e)=>L(ut)&&L(ut)(...e)},C(L(H)(`localeBar.showAll`)),1)):pe(``,!0),L(vt)?(O(),I(`button`,{key:1,type:`button`,class:`btn-ghost h-7`,onClick:s[2]||=(...e)=>L(xt)&&L(xt)(...e)},C(L(H)(`localeBar.resetOrder`)),1)):pe(``,!0),F(`button`,{type:`button`,class:`btn-icon h-7 w-7`,"aria-pressed":L(vd),title:L(H)(`localeBar.flags`),onClick:s[3]||=e=>vd.value=!L(vd)},[F(`span`,{class:x(L(vd)?`i-ph-flag-fill`:`i-ph-flag-duotone`)},null,2)],8,Od)],8,wd))}}),Ad=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},jd={},Md={viewBox:`0 0 210 210`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`};function Nd(e,t){return O(),I(`svg`,Md,[...t[0]||=[F(`path`,{d:`M44.7227 205H6C5.44772 205 5 204.552 5 204V152.245C11.1284 152.171 16.1835 152.023 20.165 151.796C26.2411 151.29 31.0513 150.445 34.5957 149.264C38.3088 148.082 41.6846 146.31 44.7227 143.947V205Z`},null,-1),F(`path`,{d:`M125.892 5C124.41 6.62363 123.041 8.33995 121.785 10.1494C116.216 18.2508 113.431 27.9555 113.431 39.2637C113.431 48.5465 115.962 57.0702 121.025 64.834C126.089 72.5978 133.178 78.3357 142.292 82.0488C132.503 85.5932 124.738 91.4162 119 99.5176C113.43 107.45 110.646 116.311 110.646 126.101C110.646 137.577 113.6 147.536 119.507 155.975C125.414 164.245 133.853 170.658 144.823 175.215C155.794 179.772 168.706 182.051 183.559 182.051C191.275 182.051 198.422 181.433 205 180.203V204C205 204.552 204.552 205 204 205H88.7734V78.6299H46.748C44.5539 87.4064 42.0216 94.2421 39.1523 99.1367C36.2831 104.031 32.8231 107.575 28.7725 109.77C24.8907 111.795 20.1652 113.061 14.5957 113.567C11.6903 113.749 8.49151 113.879 5 113.963V6C5 5.44772 5.44772 5 6 5H125.892Z`},null,-1),F(`path`,{d:`M183.306 97.4922C191.913 97.4923 199.002 99.687 204.571 104.075C204.716 104.189 204.859 104.305 205 104.421V138.865C204.941 138.914 204.884 138.964 204.824 139.012C199.423 143.4 192.251 145.595 183.306 145.595C174.36 145.595 167.187 143.4 161.786 139.012C156.554 134.623 153.938 128.716 153.938 121.29C153.938 114.201 156.638 108.463 162.039 104.075C167.609 99.6869 174.698 97.4922 183.306 97.4922Z`},null,-1),F(`path`,{d:`M183.306 21.2891C192.082 21.2891 198.917 23.2296 203.812 27.1113C204.225 27.4282 204.62 27.7559 205 28.0918V57.5059C204.544 57.9322 204.064 58.3504 203.559 58.7578C198.495 62.8084 191.744 64.8339 183.306 64.834C175.036 64.834 168.284 62.8084 163.052 58.7578C157.82 54.5384 155.203 49.3062 155.203 43.0615C155.203 36.3104 157.65 30.9932 162.545 27.1113C167.608 23.2294 174.529 21.2891 183.306 21.2891Z`},null,-1)]])}var Pd=Ad(jd,[[`render`,Nd]]);function Fd(e){return e===`dark`||e===`light`||e===`high-contrast`}function Id(e){let t=document.documentElement;t.classList.toggle(`dark`,e!==`light`),t.classList.toggle(`high-contrast`,e===`high-contrast`)}function Ld(){let e=new URLSearchParams(location.search).get(`theme`);Id(Fd(e)?e:matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`),window.addEventListener(`message`,e=>{e.source===window.parent&&e.source!==window&&e.data?.type===`x18n:theme`&&Fd(e.data.theme)&&Id(e.data.theme)})}var Rd=(e=`RouteProvider`)=>N({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return k(Ge,_(r)),()=>e.vnode?P(e.vnode,{ref:e.vnodeRef}):e.vnode}}),zd=Rd(),Bd=new WeakMap,Vd=N({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:n,slots:r,expose:i}){let a=t(),o=j(),s=M(Ge,null),c=new Set,l;i({pageRef:o});let u=M(Je,null),d,f=a.deferHydration(),p=!1,m=!1,h,g=0;if(a.isHydrating){let e=a.hooks.hookOnce(`app:error`,f),t=B().beforeEach(()=>{e(),t()})}e.pageKey&&y(()=>e.pageKey,(e,t)=>{e!==t&&a.callHook(`page:loading:start`)});let _=!1;{let e=B().beforeResolve(()=>{_=!1});ee(()=>{e(),f()})}return()=>P(Fa,{name:e.name,route:e.route,...n},{default:Wd(t=>{let n=Hd(s,t.route,t.Component),i=s&&s.matched.length===t.route.matched.length;if(!t.Component)return d&&!i&&!Kd(d)?d:(f(),e.transition??t.route.meta.pageTransition??!1?La(Wa([e.transition,t.route.meta.pageTransition,!1]),null).default():void 0);if(d&&u&&!Kd(d)&&!u.isCurrent(t.route))return d;if(n&&s&&(!u||u?.isCurrent(s)))return(i||d)&&!Kd(d)?d:null;let v=Pr(t,e.pageKey),y=Ud(s,t.route,t.Component);!a.isHydrating&&l===v&&!y&&S(()=>{_||(_=!0,a.callHook(`page:loading:end`))}),p&&l!==v&&m&&g++,l=v;let b=!!(e.transition??t.route.meta.pageTransition??!1),x=b&&Wa([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){Ka(a),a.callHook(`page:transition:finish`,t.Component)}}]),C=e.keepalive??t.route.meta.keepalive??!1,w=t.Component.type,T=w.name||w.__name;t.route.meta.keepalive&&T&&c.add(T);let E;if(c.size>0&&e.keepalive==null&&(!C||typeof C==`object`&&C&&C.include)){let e=typeof C==`object`&&C?{...C}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];E={...e,include:Array.from(new Set([...t,...c]))}}else E=C;return d=La(b&&x,Fr(E,P(ie,{key:g,suspensible:!0,onPending:()=>{p=!0,b&&m&&Ga(a),h=a.callHook(`page:start`,t.Component)},onResolve:async()=>{p=!1,m=!0,a.isHydrating&&a[`~restoreDeferredRoute`]?.();try{await S(),a._route.sync?.(),await h,await a.callHook(`page:finish`,t.Component),!_&&!y&&(_=!0,await a.callHook(`page:loading:end`))}finally{f()}}},{default:()=>{let e={key:v||void 0,vnode:r.default?Gd(r.default,t):t.Component,route:t.route,renderKey:v||void 0,trackRootNodes:b,vnodeRef:o,routeRecord:void 0};if(!E)return P(zd,e);let n=w,i=Bd.get(n);return i||(i=Rd(T),Bd.set(n,i)),P(i,e)}}))).default(),d})})}});function Hd(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&Pr({route:t,Component:n})!==Pr({route:e,Component:n})}function Ud(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function Wd(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!b(n)?[pe()]:[n]});return t._n=!0,t}function Gd(e,t){let n=e(t);return n.length===1?P(n[0]):P(de,void 0,n)}function Kd(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var qd={class:`h-full flex flex-col bg-base color-base font-sans text-sm`},Jd={class:`shrink-0 border-b border-base`},Yd={class:`h-12 flex items-center gap-6 border-b border-base px-4`},Xd={class:`flex items-center gap-1`},Zd=[`title`],Qd={key:1,class:`flex items-center gap-2`},$d={class:`label`},ef=[`value`],tf={class:`flex-auto min-h-0 of-auto`},nf={class:`label`},rf={class:`text-2xl font-semibold tracking-tight`},af={class:`color-muted`},of=[`aria-label`],sf={key:0,class:`color-error`},cf={class:`btn-solid self-start`,type:`submit`},lf={key:1,class:`p-4 color-error`},uf={key:2,class:`p-4 label`},df=N({__name:`app`,setup(e){let t=z(()=>[{to:`/`,label:H(`nav.overview`)},{to:`/keys`,label:H(`nav.keys`)},{to:`/usages`,label:H(`nav.usages`)},{to:`/extract`,label:H(`nav.extract`)},{to:`/project`,label:H(`nav.project`)}]),n=j(),r=j(``),i=j(!1);async function a(){i.value=!await ud.value?.(r.value.trim())}async function o(){let e=await bt.value.project();yt.value=e,e.projects.some(e=>e.name===ct.value)||(ct.value=e.projects[0]?.name)}return Ld(),wt(),ce(async()=>{try{let e=await pd();bt.value=e,await o(),e.onChange(e=>{mt.value=e.changedKeys,lt.value++,o()})}catch(e){n.value=e instanceof Error?e.message:String(e)}}),(e,o)=>(O(),I(`div`,qd,[F(`header`,Jd,[F(`div`,Yd,[oe(L(Oo),{to:`/`,class:`focus-ring flex items-center gap-2.5 font-mono text-sm font-medium`},{default:w(()=>[oe(Pd,{class:`size-6 shrink-0`}),le(` `+C(L(H)(`app.name`)),1)]),_:1}),F(`nav`,Xd,[(O(!0),I(de,null,A(t.value,e=>(O(),R(L(Oo),{key:e.to,to:e.to,class:`focus-ring whitespace-nowrap px-2 py-1 font-mono text-xs uppercase tracking-[0.12em] color-muted transition-colors hover:color-base`,"active-class":e.to===`/`?``:`!color-base`,"exact-active-class":`!color-base`},{default:w(()=>[le(C(e.label),1)]),_:2},1032,[`to`,`active-class`]))),128))]),o[2]||=F(`div`,{class:`flex-auto`},null,-1),L(bt)?.mode===`static`?(O(),I(`span`,{key:0,class:`badge`,title:L(H)(`app.staticHint`)},C(L(H)(`app.static`)),9,Zd)):pe(``,!0),(L(yt)?.projects.length??0)>1?(O(),I(`label`,Qd,[F(`span`,$d,C(L(H)(`app.project`)),1),te(F(`select`,{"onUpdate:modelValue":o[0]||=e=>E(ct)?ct.value=e:null,class:`input font-mono text-xs`},[(O(!0),I(de,null,A(L(yt)?.projects,e=>(O(),I(`option`,{key:e.name,value:e.name},C(e.name),9,ef))),128))],512),[[ye,L(ct)]])])):pe(``,!0),oe(_d)]),L(ct)&&!L(ud)?(O(),R(kd,{key:0})):pe(``,!0)]),F(`main`,tf,[L(ud)?(O(),I(`form`,{key:0,class:`max-w-sm mx-auto mt-20 flex flex-col gap-4`,onSubmit:be(a,[`prevent`])},[F(`span`,nf,C(L(H)(`auth.label`)),1),F(`h1`,rf,C(L(H)(`auth.title`)),1),F(`p`,af,C(L(H)(`auth.hint`)),1),te(F(`input`,{"onUpdate:modelValue":o[1]||=e=>r.value=e,class:`input h-11 font-mono text-lg tracking-[0.4em]`,inputmode:`numeric`,autocomplete:`one-time-code`,"aria-label":L(H)(`auth.code`),autofocus:``},null,8,of),[[Se,r.value]]),i.value?(O(),I(`p`,sf,C(L(H)(`auth.rejected`)),1)):pe(``,!0),F(`button`,cf,C(L(H)(`auth.submit`)),1)],32)):n.value?(O(),I(`p`,lf,C(L(H)(`app.error`,{message:n.value})),1)):L(ct)?(O(),R(L(Vd),{key:3})):(O(),I(`p`,uf,C(L(H)(`app.loading`)),1))])]))}}),ff={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=ae(()=>V(()=>import(`./DWpOVjuS.js`),__vite__mapDeps([21,1,22,4,23]),import.meta.url)),s=ae(()=>V(()=>import(`./ChIAts7W.js`),__vite__mapDeps([24,1,22,4,25]),import.meta.url)),c=r?o:s;return(e,t)=>(O(),R(L(c),he(_e({status:L(n),statusText:L(i),statusCode:L(n),statusMessage:L(i),description:L(a),stack:L(void 0)})),null,16))}},pf=()=>null,mf={key:0},hf={__name:`nuxt-root`,setup(e){let n=t(),r=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,r),t=B().beforeEach(()=>{e(),t()})}window.location.pathname,k(Ge,Qe()),n.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let i=Fe();function a(e,t,r){let i=n.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,t,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return v((e,t,r)=>{if(n.hooks.callHook(`vue:error`,e,t,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),ze(navigator.userAgent))return Ze(n,e),!1;if(Ie(e)&&(e.fatal||e.unhandled))return n.runWithContext(()=>Ve(e)),Ho(),a(e,t,r),!1}),(e,t)=>(O(),R(ie,{onResolve:L(r)},{default:w(()=>[L(!1)?(O(),I(`div`,mf)):L(i)?(O(),R(L(ff),{key:1,error:L(i)},null,8,[`error`])):L(!1)?(O(),R(L(pf),{key:2,context:L(!1)},null,8,[`context`])):L(!1)?(O(),R(D(L(!1)),{key:3})):(O(),R(L(df),{key:4}))]),_:1},8,[`onResolve`]))}},gf;{let e;gf=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Ce(hf):xe(hf),i=l({vueApp:n});async function a(e){await i.callHook(`app:error`,e),i.payload.error||=nt(e)}a.__nuxt_default=!0,n.config.errorHandler=a,i.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===a&&(n.config.errorHandler=void 0)}),!t&&s.id&&i.hook(`app:suspense:resolve`,()=>{document.getElementById(s.id)?.remove()});try{await m(i,Vo)}catch(e){a(e)}try{await i.hooks.callHook(`app:created`,n),await i.hooks.callHook(`app:beforeMount`,n),n.mount(r),await i.hooks.callHook(`app:mounted`,n),await S()}catch(e){a(e)}return n},e=gf().catch(e=>{throw c.NUXT_E1009({cause:e}),e})}export{nr as a,Oo as i,Cd as n,rr as o,js as r,On as s,Ad as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F as e,M as t,d as n}from"./B4prFwj0.js";import{t as r}from"#entry";var i={},a={class:`mx-auto min-h-full w-full max-w-6xl border-x border-base`};function o(r,i){return t(),n(`div`,a,[e(r.$slots,`default`)])}var s=r(i,[[`render`,o]]);export{s as t};
|
package/dist/public/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>x18n</title><script type="importmap">{"imports":{"#entry":"/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>x18n</title><script type="importmap">{"imports":{"#entry":"/_nuxt/n6pi28wD.js"}}</script><script>{const p=new URLSearchParams(location.hash.slice(1)),c=p.get('devframe_otp');if(c){sessionStorage.setItem('x18n:otp',c);history.replaceState(null,'',location.pathname+location.search+'#'+(p.get('route')||'/'))}}</script><link rel="stylesheet" href="/_nuxt/entry.D2md-EYL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/n6pi28wD.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/Bw3sjlsE.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/B4prFwj0.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DoHg1T7s.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D4dwYDex.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/Bqlbbq4u.js"><script type="module" src="/_nuxt/n6pi28wD.js" crossorigin></script><link rel="prefetch" as="script" crossorigin href="/_nuxt/B48W2q7f.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChbLIx1c.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-404.B3F8lAkA.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/DWpOVjuS.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/CQOvHI-h.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-500.BO-H0E44.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChIAts7W.js"><link rel="icon" href="./logo.svg" type="image/svg+xml"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"33bfcf49-6c29-4ff2-8a7c-2676280e43b0",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1792557719684,false]</script></body></html>
|