@autocode-cli/autocode 0.28.0 → 0.28.1
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{Bbamth_u.js → 2UKQ6Srj.js} +3 -3
- package/.output/public/_nuxt/{DL-FFU6s.js → 5FWvGp_V.js} +1 -1
- package/.output/public/_nuxt/{bG1h8n43.js → 7OrNJZ8q.js} +1 -1
- package/.output/public/_nuxt/{a6BlXzEY.js → AM5G3Gb5.js} +1 -1
- package/.output/public/_nuxt/{CmoD8XpE.js → B1Etvs3c.js} +1 -1
- package/.output/public/_nuxt/{0vFjHnhy.js → B2zBdK3d.js} +1 -1
- package/.output/public/_nuxt/{_kAyR6AY.js → B9C0HWuW.js} +1 -1
- package/.output/public/_nuxt/{DHXe9jd8.js → BHVpJd4P.js} +1 -1
- package/.output/public/_nuxt/{BvbNSCds.js → BLgRKHG3.js} +1 -1
- package/.output/public/_nuxt/{CDPEKNoo.js → BPzjv_6i.js} +1 -1
- package/.output/public/_nuxt/{Z_dxCftm.js → BQNoAdwZ.js} +1 -1
- package/.output/public/_nuxt/{DOjxJ7UY.js → BTpkhX3G.js} +1 -1
- package/.output/public/_nuxt/{BMfT5h74.js → BVJEdOBz.js} +1 -1
- package/.output/public/_nuxt/{BNFaotau.js → BWz5jw0L.js} +1 -1
- package/.output/public/_nuxt/{S2Gf1icO.js → BZwqSlWD.js} +1 -1
- package/.output/public/_nuxt/{CDM8qK4y.js → BeGyjVK0.js} +1 -1
- package/.output/public/_nuxt/{C_wcoBoX.js → Bpmmm66_.js} +1 -1
- package/.output/public/_nuxt/{DOcJD0c8.js → BsL_VgkM.js} +1 -1
- package/.output/public/_nuxt/{D1RW2tNz.js → C2GaASXz.js} +1 -1
- package/.output/public/_nuxt/{DFrwQhDb.js → C6NP8L7w.js} +1 -1
- package/.output/public/_nuxt/{BLvmbNgt.js → C7oKuzsd.js} +1 -1
- package/.output/public/_nuxt/{C1zDInzY.js → CBV4OF4H.js} +1 -1
- package/.output/public/_nuxt/{20gkSdjj.js → CEVkryQZ.js} +1 -1
- package/.output/public/_nuxt/{DSfBuPRM.js → CGLkc3In.js} +1 -1
- package/.output/public/_nuxt/{C4aJJ6Mo.js → CKs1TwM-.js} +1 -1
- package/.output/public/_nuxt/{KjKTnYG8.js → CNa2gyMe.js} +1 -1
- package/.output/public/_nuxt/CPo_B76D.js +1 -0
- package/.output/public/_nuxt/{D6j59rvy.js → CTBcrkyt.js} +1 -1
- package/.output/public/_nuxt/{D978nqFc.js → CWOdQCPj.js} +1 -1
- package/.output/public/_nuxt/{DpnAmfV8.js → CebUck3P.js} +1 -1
- package/.output/public/_nuxt/{BbZWnKq5.js → Ch6U-XfV.js} +1 -1
- package/.output/public/_nuxt/{CZsaDCR9.js → Cm0Kz8KR.js} +1 -1
- package/.output/public/_nuxt/{qh-nXX83.js → Cx_L8WQj.js} +1 -1
- package/.output/public/_nuxt/{CkJnA1DX.js → D1HszwGo.js} +1 -1
- package/.output/public/_nuxt/{C-aBv1AM.js → D1bOowq2.js} +1 -1
- package/.output/public/_nuxt/{F4T7kofv.js → D2RHUlLB.js} +1 -1
- package/.output/public/_nuxt/D3gNfEFX.js +1 -0
- package/.output/public/_nuxt/{DzsoJNSI.js → D5ooCSL9.js} +1 -1
- package/.output/public/_nuxt/{D8ueuCrw.js → D8OjLiok.js} +1 -1
- package/.output/public/_nuxt/{Bu9KETNm.js → DBPjp5rm.js} +1 -1
- package/.output/public/_nuxt/{CCXVDoMq.js → DDBIX1Ge.js} +1 -1
- package/.output/public/_nuxt/{xe-XSA2O.js → DDhcSt_S.js} +1 -1
- package/.output/public/_nuxt/{C6yVy54c.js → DGllJptg.js} +1 -1
- package/.output/public/_nuxt/{BgdKbwq9.js → DHK6Urm7.js} +1 -1
- package/.output/public/_nuxt/{BEhWFcrL.js → DUmRoRZn.js} +1 -1
- package/.output/public/_nuxt/{DO8RLgEh.js → DVrAHktU.js} +1 -1
- package/.output/public/_nuxt/DYSILRDe.js +1 -0
- package/.output/public/_nuxt/{CVAoId-J.js → DadxcRMs.js} +1 -1
- package/.output/public/_nuxt/{CH2HVxl0.js → Dg0UerBw.js} +1 -1
- package/.output/public/_nuxt/{D27mFAK1.js → Dh-Zeb3O.js} +1 -1
- package/.output/public/_nuxt/{CpDU9vCX.js → Dk0kqhok.js} +1 -1
- package/.output/public/_nuxt/{B_CNj_Uc.js → Dn7Pqpyg.js} +1 -1
- package/.output/public/_nuxt/{kLas58sH.js → Dq2LFE1d.js} +1 -1
- package/.output/public/_nuxt/{4quhA2Ah.js → DqQxVbWA.js} +1 -1
- package/.output/public/_nuxt/{BKXAVY4O.js → DrakT86i.js} +1 -1
- package/.output/public/_nuxt/{BO679DgI.js → Dye3__N7.js} +3 -3
- package/.output/public/_nuxt/{DRMilGSA.js → E6PL7Nzd.js} +1 -1
- package/.output/public/_nuxt/{b7AxcsVG.js → F0VLILv_.js} +1 -1
- package/.output/public/_nuxt/{B8kAlMuF.js → H1ZdG1j9.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/869ae272-5034-4cd9-bcf3-c435cd504497.json +1 -0
- package/.output/public/_nuxt/{BsOO_izr.js → eYN6S-_a.js} +1 -1
- package/.output/public/_nuxt/{73MppsLs.js → hAo59O9E.js} +1 -1
- package/.output/public/_nuxt/{BUNMQgUS.js → sXDQPz8X.js} +1 -1
- package/.output/public/_nuxt/{ClhsjbEU.js → x-ybRJG0.js} +1 -1
- package/.output/public/_nuxt/xFbyDfcC.js +1 -0
- package/.output/public/_nuxt/{CvaId22K.js → xPRPCEbj.js} +1 -1
- package/.output/public/_nuxt/{BBm0kqB1.js → xpS189GL.js} +1 -1
- package/.output/public/_payload.json +1 -1
- package/.output/public/api/_openapi.json +1 -1
- package/.output/public/docs/api/_payload.json +1 -1
- package/.output/public/docs/api/index.html +3 -3
- package/.output/public/docs/cli/_payload.json +1 -1
- package/.output/public/docs/cli/index.html +2 -2
- package/.output/public/index.html +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/server.mjs +2 -2
- package/.output/server/chunks/build/styles.mjs +12 -12
- package/.output/server/chunks/build/useWebSocket-UbMCn0vY.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +425 -431
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/BWnmHeD2.js +0 -1
- package/.output/public/_nuxt/BsoDJU1z.js +0 -1
- package/.output/public/_nuxt/CKF9LlaM.js +0 -1
- package/.output/public/_nuxt/QTaSMAwo.js +0 -1
- package/.output/public/_nuxt/builds/meta/f8f610d7-2644-4c00-8307-ffee462695d8.json +0 -1
- /package/.output/public/_i18n/{0coKTg3M → 1tr7GMXh}/en/messages.json +0 -0
- /package/.output/public/_i18n/{0coKTg3M → 1tr7GMXh}/fr/messages.json +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./
|
|
2
|
-
import{r as ee,m as I,a8 as dn,a9 as kn,aa as Gt,z as tr,ab as Mn,o as mt,ac as zK,ad as qt,F as he,d as Z,a as Kr,n as Ke,ae as Nr,af as ul,ag as $C,C as tn,ah as _n,ai as q5,c as w,k as j,b as g,s as Oe,l as Cu,e as k,aj as wt,ak as ve,h as O,j as R,w as T,al as H,am as Zt,f as P,an as Rt,ao as Qn,ap as qn,D as mo,aq as EC,q as rt,g as ie,t as me,p as nr,ar as Pu,I as Z5,as as _C,E as ob,J as Zr,A as Wt,at as tf,au as Vf,av as Xf,aw as Nc,ax as ke,ay as Sr,az as qK,aA as ZK,aB as li,aC as HK,aD as w$,aE as zr,aF as VK,aG as TC,aH as Xa,aI as AC,B as o3,aJ as CC,aK as ov,R as a0,aL as PC,aM as XK,aN as WK,aO as Ig,aP as YK,aQ as GK,aR as KK,aS as IC,H as a3,aT as JK,x as S$,v as eJ,aU as tJ}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DUmRoRZn.js","./Dye3__N7.js","./entry.DJwmEJ6p.css","./AM5G3Gb5.js","./D1bOowq2.js","./BVJEdOBz.js","./E6PL7Nzd.js","./BHVpJd4P.js","./BsL_VgkM.js","./hAo59O9E.js","./D8OjLiok.js","./H1ZdG1j9.js","./92s3wAHG.js","./xpS189GL.js","./BeGyjVK0.js","./DDBIX1Ge.js","./Dq2LFE1d.js","./Dg0UerBw.js","./B2zBdK3d.js","./B9C0HWuW.js","./sXDQPz8X.js","./BWz5jw0L.js","./DBPjp5rm.js","./Dk0kqhok.js","./C6NP8L7w.js","./CNa2gyMe.js","./Dh-Zeb3O.js","./B1Etvs3c.js","./Bpmmm66_.js","./BTpkhX3G.js","./BZwqSlWD.js","./D3gNfEFX.js","./xFbyDfcC.js","./DYSILRDe.js","./7OrNJZ8q.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as ee,m as I,a8 as dn,a9 as kn,aa as Gt,z as tr,ab as Mn,o as mt,ac as zK,ad as qt,F as he,d as Z,a as Kr,n as Ke,ae as Nr,af as ul,ag as $C,C as tn,ah as _n,ai as q5,c as w,k as j,b as g,s as Oe,l as Cu,e as k,aj as wt,ak as ve,h as O,j as R,w as T,al as H,am as Zt,f as P,an as Rt,ao as Qn,ap as qn,D as mo,aq as EC,q as rt,g as ie,t as me,p as nr,ar as Pu,I as Z5,as as _C,E as ob,J as Zr,A as Wt,at as tf,au as Vf,av as Xf,aw as Nc,ax as ke,ay as Sr,az as qK,aA as ZK,aB as li,aC as HK,aD as w$,aE as zr,aF as VK,aG as TC,aH as Xa,aI as AC,B as o3,aJ as CC,aK as ov,R as a0,aL as PC,aM as XK,aN as WK,aO as Ig,aP as YK,aQ as GK,aR as KK,aS as IC,H as a3,aT as JK,x as S$,v as eJ,aU as tJ}from"./Dye3__N7.js";import{a as ab}from"./92s3wAHG.js";import{u as nJ,a as rJ}from"./xpS189GL.js";import"./BeGyjVK0.js";import"./DDBIX1Ge.js";function iJ(e,t,n){let r=ee(n?.value),i=I(()=>e.value!==void 0);return[I(()=>i.value?e.value:r.value),function(o){return i.value||(r.value=o),t?.(o)}]}function sb(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function H5(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return sb(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=H5();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}var k$;let DC=Symbol("headlessui.useid"),oJ=0;const ci=(k$=kn)!=null?k$:function(){return Gt(DC,()=>`${++oJ}`)()};function aJ(e){dn(DC,e)}function xe(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function fn(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,fn),r}var sJ=Object.defineProperty,lJ=(e,t,n)=>t in e?sJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x$=(e,t,n)=>(lJ(e,typeof t!="symbol"?t+"":t,n),n);let cJ=class{constructor(){x$(this,"current",this.detect()),x$(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},lb=new cJ;function Pa(e){if(lb.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=xe(e);if(t)return t.ownerDocument}return document}let s3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var wn=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(wn||{}),Qs=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Qs||{}),uJ=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(uJ||{});function Ih(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(s3)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var cb=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(cb||{});function ub(e,t=0){var n;return e===((n=Pa(e))==null?void 0:n.body)?!1:fn(t,{0(){return e.matches(s3)},1(){let r=e;for(;r!==null;){if(r.matches(s3))return!0;r=r.parentElement}return!1}})}function E0t(e){let t=Pa(e);tr(()=>{t&&!ub(t.activeElement,0)&&Bl(e)})}var dJ=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(dJ||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Bl(e){e?.focus({preventScroll:!0})}let fJ=["textarea","input"].join(",");function pJ(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,fJ))!=null?n:!1}function Lc(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let a=i.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _0t(e,t){return Cr(Ih(),t,{relativeTo:e})}function Cr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var o;let a=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?o:document,s=Array.isArray(e)?n?Lc(e):e:Ih(e);i.length>0&&s.length>1&&(s=s.filter(h=>!i.includes(h))),r=r??a.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=s.length,p;do{if(d>=f||d+f<=0)return 0;let h=c+d;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}p=s[h],p?.focus(u),d+=l}while(p!==a.activeElement);return t&6&&pJ(p)&&p.select(),2}function NC(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function hJ(){return/Android/gi.test(window.navigator.userAgent)}function mJ(){return NC()||hJ()}function Vm(e,t,n){lb.isServer||Mn(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function MC(e,t,n){lb.isServer||Mn(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function V5(e,t,n=I(()=>!0)){function r(o,a){if(!n.value||o.defaultPrevented)return;let s=a(o);if(s===null||!s.getRootNode().contains(s))return;let l=(function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]})(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:xe(c);if(u!=null&&u.contains(s)||o.composed&&o.composedPath().includes(u))return}return!ub(s,cb.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let i=ee(null);Vm("pointerdown",o=>{var a,s;n.value&&(i.value=((s=(a=o.composedPath)==null?void 0:a.call(o))==null?void 0:s[0])||o.target)},!0),Vm("mousedown",o=>{var a,s;n.value&&(i.value=((s=(a=o.composedPath)==null?void 0:a.call(o))==null?void 0:s[0])||o.target)},!0),Vm("click",o=>{mJ()||i.value&&(r(o,()=>i.value),i.value=null)},!0),Vm("touchend",o=>r(o,()=>o.target instanceof HTMLElement?o.target:null),!0),MC("blur",o=>r(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function $$(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function db(e,t){let n=ee($$(e.value.type,e.value.as));return mt(()=>{n.value=$$(e.value.type,e.value.as)}),Mn(()=>{var r;n.value||xe(t)&&xe(t)instanceof HTMLButtonElement&&!((r=xe(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}function E$(e){return[e.screenX,e.screenY]}function gJ(){let e=ee([-1,-1]);return{wasMoved(t){let n=E$(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=E$(t)}}}var wa=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(wa||{}),bJ=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(bJ||{});function Cn({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var o;let a=LC(r,n),s=Object.assign(i,{props:a});if(e||t&2&&a.static)return av(s);if(t&1){let l=(o=a.unmount)==null||o?0:1;return fn(l,{0(){return null},1(){return av({...i,props:{...a,hidden:!0,style:{display:"none"}}})}})}return av(s)}function av({props:e,attrs:t,slots:n,slot:r,name:i}){var o,a;let{as:s,...l}=X5(e,["unmount","static"]),c=(o=n.default)==null?void 0:o.call(n,r),u={};if(r){let d=!1,f=[];for(let[p,h]of Object.entries(r))typeof h=="boolean"&&(d=!0),h===!0&&f.push(p);d&&(u["data-headlessui-state"]=f.join(" "))}if(s==="template"){if(c=RC(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[d,...f]=c??[];if(!yJ(d)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(m=>m.trim()).filter((m,b,y)=>y.indexOf(m)===b).sort((m,b)=>m.localeCompare(b)).map(m=>` - ${m}`).join(`
|
|
3
3
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>` - ${m}`).join(`
|
|
4
4
|
`)].join(`
|
|
5
5
|
`));let p=LC((a=d.props)!=null?a:{},l,u),h=zK(d,p,!0);for(let m in p)m.startsWith("on")&&(h.props||(h.props={}),h.props[m]=p[m]);return h}return Array.isArray(c)&&c.length===1?c[0]:c}return qt(s,Object.assign({},l,u),{default:()=>c})}function RC(e){return e.flatMap(t=>t.type===he?RC(t.children):[t])}function LC(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...o){let a=n[r];for(let s of a){if(i instanceof Event&&i.defaultPrevented)return;s(i,...o)}}});return t}function OJ(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function X5(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function yJ(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Ks=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ks||{});let Js=Z({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:i,...o}=e,a={"aria-hidden":(i&2)===2?!0:(r=o["aria-hidden"])!=null?r:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return Cn({ourProps:a,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),BC=Symbol("Context");var Yr=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Yr||{});function fb(){return Gt(BC,null)}function W5(e){dn(BC,e)}var yt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(yt||{});function vJ(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Bc=[];vJ(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Bc[0]!==t.target&&(Bc.unshift(t.target),Bc=Bc.filter(n=>n!=null&&n.isConnected),Bc.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function wJ(e){throw new Error("Unexpected object: "+e)}var ki=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ki||{});function SJ(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:{for(let o=0;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 1:{i===-1&&(i=n.length);for(let o=i-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 2:{for(let o=i+1;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 3:{for(let o=n.length-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return r}case 4:{for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return r}case 5:return null;default:wJ(e)}}function jC(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))UC(n,FC(t,r),i);return n}function FC(e,t){return e?e+"["+t+"]":t}function UC(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())UC(e,FC(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):jC(n,t,e)}function T0t(e){var t,n;let r=(t=e?.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}function Y5(e,t,n,r){lb.isServer||Mn(i=>{e=e??window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var fo=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(fo||{});function G5(){let e=ee(0);return MC("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function QC(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=xe(n);r instanceof HTMLElement&&t.add(r)}return t}var zC=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(zC||{});let Cp=Object.assign(Z({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:ee(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=ee(null);r({el:i,$el:i});let o=I(()=>Pa(i)),a=ee(!1);mt(()=>a.value=!0),Kr(()=>a.value=!1),xJ({ownerDocument:o},I(()=>a.value&&!!(e.features&16)));let s=$J({ownerDocument:o,container:i,initialFocus:I(()=>e.initialFocus)},I(()=>a.value&&!!(e.features&2)));EJ({ownerDocument:o,container:i,containers:e.containers,previousActiveElement:s},I(()=>a.value&&!!(e.features&8)));let l=G5();function c(p){let h=xe(i);h&&(m=>m())(()=>{fn(l.value,{[fo.Forwards]:()=>{Cr(h,wn.First,{skipElements:[p.relatedTarget]})},[fo.Backwards]:()=>{Cr(h,wn.Last,{skipElements:[p.relatedTarget]})}})})}let u=ee(!1);function d(p){p.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(p){if(!a.value)return;let h=QC(e.containers);xe(i)instanceof HTMLElement&&h.add(xe(i));let m=p.relatedTarget;m instanceof HTMLElement&&m.dataset.headlessuiFocusGuard!=="true"&&(qC(h,m)||(u.value?Cr(xe(i),fn(l.value,{[fo.Forwards]:()=>wn.Next,[fo.Backwards]:()=>wn.Previous})|wn.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&Bl(p.target)))}return()=>{let p={},h={ref:i,onKeydown:d,onFocusout:f},{features:m,initialFocus:b,containers:y,...$}=e;return qt(he,[!!(m&4)&&qt(Js,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Ks.Focusable}),Cn({ourProps:h,theirProps:{...t,...$},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(m&4)&&qt(Js,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Ks.Focusable})])}}}),{features:zC});function kJ(e){let t=ee(Bc.slice());return Ke([e],([n],[r])=>{r===!0&&n===!1?sb(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=Bc.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function xJ({ownerDocument:e},t){let n=kJ(t);mt(()=>{Mn(()=>{var r,i;t.value||((r=e.value)==null?void 0:r.activeElement)===((i=e.value)==null?void 0:i.body)&&Bl(n())},{flush:"post"})}),Kr(()=>{t.value&&Bl(n())})}function $J({ownerDocument:e,container:t,initialFocus:n},r){let i=ee(null),o=ee(!1);return mt(()=>o.value=!0),Kr(()=>o.value=!1),mt(()=>{Ke([t,n,r],(a,s)=>{if(a.every((c,u)=>s?.[u]===c)||!r.value)return;let l=xe(t);l&&sb(()=>{var c,u;if(!o.value)return;let d=xe(n),f=(c=e.value)==null?void 0:c.activeElement;if(d){if(d===f){i.value=f;return}}else if(l.contains(f)){i.value=f;return}d?Bl(d):Cr(l,wn.First|wn.NoScroll)===Qs.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),i}function EJ({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){var o;Y5((o=e.value)==null?void 0:o.defaultView,"focus",a=>{if(!i.value)return;let s=QC(n);xe(t)instanceof HTMLElement&&s.add(xe(t));let l=r.value;if(!l)return;let c=a.target;c&&c instanceof HTMLElement?qC(s,c)?(r.value=c,Bl(c)):(a.preventDefault(),a.stopPropagation(),Bl(l)):Bl(r.value)},!0)}function qC(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function _J(e){let t=Nr(e.getSnapshot());return Kr(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function TJ(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let a=t[i].call(n,...o);a&&(n=a,r.forEach(s=>s()))}}}function AJ(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,o=e-i;n.style(r,"paddingRight",`${o}px`)}}}function CJ(){return NC()?{before({doc:e,d:t,meta:n}){function r(i){return n.containers.flatMap(o=>o()).some(o=>o.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=H5();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,a=null;t.addEventListener(e,"click",s=>{if(s.target instanceof HTMLElement)try{let l=s.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),u=e.querySelector(c);u&&!r(u)&&(a=u)}catch{}},!0),t.addEventListener(e,"touchstart",s=>{if(s.target instanceof HTMLElement)if(r(s.target)){let l=s.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(s.target,"touchAction","none")}),t.addEventListener(e,"touchmove",s=>{if(s.target instanceof HTMLElement){if(s.target.tagName==="INPUT")return;if(r(s.target)){let l=s.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),t.add(()=>{var s;let l=(s=window.scrollY)!=null?s:window.pageYOffset;o!==l&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function PJ(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function IJ(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let qc=TJ(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:H5(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:IJ(n)},i=[CJ(),AJ(),PJ()];i.forEach(({before:o})=>o?.(r)),i.forEach(({after:o})=>o?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});qc.subscribe(()=>{let e=qc.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&qc.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&qc.dispatch("TEARDOWN",n)}});function DJ(e,t,n){let r=_J(qc),i=I(()=>{let o=e.value?r.value.get(e.value):void 0;return o?o.count>0:!1});return Ke([e,t],([o,a],[s],l)=>{if(!o||!a)return;qc.dispatch("PUSH",o,n);let c=!1;l(()=>{c||(qc.dispatch("POP",s??o,n),c=!0)})},{immediate:!0}),i}let sv=new Map,Pp=new Map;function _$(e,t=ee(!0)){Mn(n=>{var r;if(!t.value)return;let i=xe(e);if(!i)return;n(function(){var a;if(!i)return;let s=(a=Pp.get(i))!=null?a:1;if(s===1?Pp.delete(i):Pp.set(i,s-1),s!==1)return;let l=sv.get(i);l&&(l["aria-hidden"]===null?i.removeAttribute("aria-hidden"):i.setAttribute("aria-hidden",l["aria-hidden"]),i.inert=l.inert,sv.delete(i))});let o=(r=Pp.get(i))!=null?r:0;Pp.set(i,o+1),o===0&&(sv.set(i,{"aria-hidden":i.getAttribute("aria-hidden"),inert:i.inert}),i.setAttribute("aria-hidden","true"),i.inert=!0)})}function ZC({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=ee(null),i=Pa(r);function o(){var a,s,l;let c=[];for(let u of e)u!==null&&(u instanceof HTMLElement?c.push(u):"value"in u&&u.value instanceof HTMLElement&&c.push(u.value));if(t!=null&&t.value)for(let u of t.value)c.push(u);for(let u of(a=i?.querySelectorAll("html > *, body > *"))!=null?a:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(xe(r))||u.contains((l=(s=xe(r))==null?void 0:s.getRootNode())==null?void 0:l.host)||c.some(d=>u.contains(d))||c.push(u));return c}return{resolveContainers:o,contains(a){return o().some(s=>s.contains(a))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:qt(Js,{features:Ks.Hidden,ref:r})}}}let HC=Symbol("ForcePortalRootContext");function NJ(){return Gt(HC,!1)}let T$=Z({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return dn(HC,e.force),()=>{let{force:r,...i}=e;return Cn({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),VC=Symbol("StackContext");var l3=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(l3||{});function MJ(){return Gt(VC,()=>{})}function RJ({type:e,enabled:t,element:n,onUpdate:r}){let i=MJ();function o(...a){r?.(...a),i(...a)}mt(()=>{Ke(t,(a,s)=>{a?o(0,e,n):s===!0&&o(1,e,n)},{immediate:!0,flush:"sync"})}),Kr(()=>{t.value&&o(1,e,n)}),dn(VC,o)}let LJ=Symbol("DescriptionContext");function BJ({slot:e=ee({}),name:t="Description",props:n={}}={}){let r=ee([]);function i(o){return r.value.push(o),()=>{let a=r.value.indexOf(o);a!==-1&&r.value.splice(a,1)}}return dn(LJ,{register:i,slot:e,name:t,props:n}),I(()=>r.value.length>0?r.value.join(" "):void 0)}function jJ(e){let t=Pa(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}const c3=new WeakMap;function FJ(e){var t;return(t=c3.get(e))!=null?t:0}function A$(e,t){let n=t(FJ(e));return n<=0?c3.delete(e):c3.set(e,n),n}let UJ=Z({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=ee(null),i=I(()=>Pa(r)),o=NJ(),a=Gt(WC,null),s=ee(o===!0||a==null?jJ(r.value):a.resolveTarget());s.value&&A$(s.value,f=>f+1);let l=ee(!1);mt(()=>{l.value=!0}),Mn(()=>{o||a!=null&&(s.value=a.resolveTarget())});let c=Gt(u3,null),u=!1,d=ul();return Ke(r,()=>{if(u||!c)return;let f=xe(r);f&&(Kr(c.register(f),d),u=!0)}),Kr(()=>{var f,p;let h=(f=i.value)==null?void 0:f.getElementById("headlessui-portal-root");!h||s.value!==h||A$(s.value,m=>m-1)||s.value.children.length>0||(p=s.value.parentElement)==null||p.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return qt($C,{to:s.value},Cn({ourProps:f,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),u3=Symbol("PortalParentContext");function XC(){let e=Gt(u3,null),t=ee([]);function n(o){return t.value.push(o),e&&e.register(o),()=>r(o)}function r(o){let a=t.value.indexOf(o);a!==-1&&t.value.splice(a,1),e&&e.unregister(o)}let i={register:n,unregister:r,portals:t};return[t,Z({name:"PortalWrapper",setup(o,{slots:a}){return dn(u3,i),()=>{var s;return(s=a.default)==null?void 0:s.call(a)}}})]}let WC=Symbol("PortalGroupContext"),QJ=Z({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=tn({resolveTarget(){return e.target}});return dn(WC,r),()=>{let{target:i,...o}=e;return Cn({theirProps:o,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var zJ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zJ||{});let d3=Symbol("DialogContext");function K5(e){let t=Gt(d3,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,K5),n}return t}let Xm="DC8F892D-2EBD-447C-A4C8-A03058436FF4",qJ=Z({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Xm},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){var o,a;let s=(o=e.id)!=null?o:`headlessui-dialog-${ci()}`,l=ee(!1);mt(()=>{l.value=!0});let c=!1,u=I(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),d=ee(0),f=fb(),p=I(()=>e.open===Xm&&f!==null?(f.value&Yr.Open)===Yr.Open:e.open),h=ee(null),m=I(()=>Pa(h));if(i({el:h,$el:h}),!(e.open!==Xm||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof p.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${p.value===Xm?void 0:e.open}`);let b=I(()=>l.value&&p.value?0:1),y=I(()=>b.value===0),$=I(()=>d.value>1),x=Gt(d3,null)!==null,[_,E]=XC(),{resolveContainers:A,mainTreeNodeRef:C,MainTreeNode:D}=ZC({portals:_,defaultContainers:[I(()=>{var pe;return(pe=oe.panelRef.value)!=null?pe:h.value})]}),q=I(()=>$.value?"parent":"leaf"),B=I(()=>f!==null?(f.value&Yr.Closing)===Yr.Closing:!1),Y=I(()=>x||B.value?!1:y.value),V=I(()=>{var pe,ge,Q;return(Q=Array.from((ge=(pe=m.value)==null?void 0:pe.querySelectorAll("body > *"))!=null?ge:[]).find(Ve=>Ve.id==="headlessui-portal-root"?!1:Ve.contains(xe(C))&&Ve instanceof HTMLElement))!=null?Q:null});_$(V,Y);let ne=I(()=>$.value?!0:y.value),X=I(()=>{var pe,ge,Q;return(Q=Array.from((ge=(pe=m.value)==null?void 0:pe.querySelectorAll("[data-headlessui-portal]"))!=null?ge:[]).find(Ve=>Ve.contains(xe(C))&&Ve instanceof HTMLElement))!=null?Q:null});_$(X,ne),RJ({type:"Dialog",enabled:I(()=>b.value===0),element:h,onUpdate:(pe,ge)=>{if(ge==="Dialog")return fn(pe,{[l3.Add]:()=>d.value+=1,[l3.Remove]:()=>d.value-=1})}});let L=BJ({name:"DialogDescription",slot:I(()=>({open:p.value}))}),K=ee(null),oe={titleId:K,panelRef:ee(null),dialogState:b,setTitleId(pe){K.value!==pe&&(K.value=pe)},close(){t("close",!1)}};dn(d3,oe);let ae=I(()=>!(!y.value||$.value));V5(A,(pe,ge)=>{pe.preventDefault(),oe.close(),tr(()=>ge?.focus())},ae);let fe=I(()=>!($.value||b.value!==0));Y5((a=m.value)==null?void 0:a.defaultView,"keydown",pe=>{fe.value&&(pe.defaultPrevented||pe.key===yt.Escape&&(pe.preventDefault(),pe.stopPropagation(),oe.close()))});let N=I(()=>!(B.value||b.value!==0||x));return DJ(m,N,pe=>{var ge;return{containers:[...(ge=pe.containers)!=null?ge:[],A]}}),Mn(pe=>{if(b.value!==0)return;let ge=xe(h);if(!ge)return;let Q=new ResizeObserver(Ve=>{for(let z of Ve){let le=z.target.getBoundingClientRect();le.x===0&&le.y===0&&le.width===0&&le.height===0&&oe.close()}});Q.observe(ge),pe(()=>Q.disconnect())}),()=>{let{open:pe,initialFocus:ge,...Q}=e,Ve={...n,ref:h,id:s,role:u.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":K.value,"aria-describedby":L.value},z={open:b.value===0};return qt(T$,{force:!0},()=>[qt(UJ,()=>qt(QJ,{target:h.value},()=>qt(T$,{force:!1},()=>qt(Cp,{initialFocus:ge,containers:A,features:y.value?fn(q.value,{parent:Cp.features.RestoreFocus,leaf:Cp.features.All&~Cp.features.FocusLock}):Cp.features.None},()=>qt(E,{},()=>Cn({ourProps:Ve,theirProps:{...Q,...n},slot:z,attrs:n,slots:r,visible:b.value===0,features:wa.RenderStrategy|wa.Static,name:"Dialog"})))))),qt(D)])}}}),ZJ=Z({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-dialog-panel-${ci()}`,a=K5("DialogPanel");r({el:a.panelRef,$el:a.panelRef});function s(l){l.stopPropagation()}return()=>{let{...l}=e,c={id:o,ref:a.panelRef,onClick:s};return Cn({ourProps:c,theirProps:l,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}}),HJ=Z({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let i=(r=e.id)!=null?r:`headlessui-dialog-title-${ci()}`,o=K5("DialogTitle");return mt(()=>{o.setTitleId(i),Kr(()=>o.setTitleId(null))}),()=>{let{...a}=e;return Cn({ourProps:{id:i},theirProps:a,slot:{open:o.dialogState.value===0},attrs:t,slots:n,name:"DialogTitle"})}}});var VJ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(VJ||{});let YC=Symbol("DisclosureContext");function J5(e){let t=Gt(YC,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,J5),n}return t}let GC=Symbol("DisclosurePanelContext");function XJ(){return Gt(GC,null)}let Iu=Z({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=ee(e.defaultOpen?0:1),i=ee(null),o=ee(null),a={buttonId:ee(`headlessui-disclosure-button-${ci()}`),panelId:ee(`headlessui-disclosure-panel-${ci()}`),disclosureState:r,panel:i,button:o,toggleDisclosure(){r.value=fn(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(s){a.closeDisclosure();let l=s?s instanceof HTMLElement?s:s.value instanceof HTMLElement?xe(s):xe(a.button):xe(a.button);l?.focus()}};return dn(YC,a),W5(I(()=>fn(r.value,{0:Yr.Open,1:Yr.Closed}))),()=>{let{defaultOpen:s,...l}=e,c={open:r.value===0,close:a.close};return Cn({theirProps:l,ourProps:{},slot:c,slots:t,attrs:n,name:"Disclosure"})}}}),Zl=Z({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=J5("DisclosureButton"),o=XJ(),a=I(()=>o===null?!1:o.value===i.panelId.value);mt(()=>{a.value||e.id!==null&&(i.buttonId.value=e.id)}),Kr(()=>{a.value||(i.buttonId.value=null)});let s=ee(null);r({el:s,$el:s}),a.value||Mn(()=>{i.button.value=s.value});let l=db(I(()=>({as:e.as,type:t.type})),s);function c(){var f;e.disabled||(a.value?(i.toggleDisclosure(),(f=xe(i.button))==null||f.focus()):i.toggleDisclosure())}function u(f){var p;if(!e.disabled)if(a.value)switch(f.key){case yt.Space:case yt.Enter:f.preventDefault(),f.stopPropagation(),i.toggleDisclosure(),(p=xe(i.button))==null||p.focus();break}else switch(f.key){case yt.Space:case yt.Enter:f.preventDefault(),f.stopPropagation(),i.toggleDisclosure();break}}function d(f){f.key===yt.Space&&f.preventDefault()}return()=>{var f;let p={open:i.disclosureState.value===0},{id:h,...m}=e,b=a.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:(f=i.buttonId.value)!=null?f:h,ref:s,type:l.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||xe(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:d};return Cn({ourProps:b,theirProps:m,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),Du=Z({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=J5("DisclosurePanel");mt(()=>{e.id!==null&&(i.panelId.value=e.id)}),Kr(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),dn(GC,i.panelId);let o=fb(),a=I(()=>o!==null?(o.value&Yr.Open)===Yr.Open:i.disclosureState.value===0);return()=>{var s;let l={open:i.disclosureState.value===0,close:i.close},{id:c,...u}=e,d={id:(s=i.panelId.value)!=null?s:c,ref:i.panel};return Cn({ourProps:d,theirProps:u,slot:l,attrs:t,slots:n,features:wa.RenderStrategy|wa.Static,visible:a.value,name:"DisclosurePanel"})}}}),C$=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function P$(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),o=!0;let a=o?(n=i.innerText)!=null?n:"":r;return C$.test(a)&&(a=a.replace(C$,"")),a}function WJ(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let o=document.getElementById(i);if(o){let a=o.getAttribute("aria-label");return typeof a=="string"?a.trim():P$(o).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return P$(e).trim()}function YJ(e){let t=ee(""),n=ee("");return()=>{let r=xe(e);if(!r)return"";let i=r.innerText;if(t.value===i)return n.value;let o=WJ(r).trim().toLowerCase();return t.value=i,n.value=o,o}}function GJ(e,t){return e===t}var KJ=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(KJ||{}),JJ=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(JJ||{}),eee=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(eee||{});function tee(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let KC=Symbol("ListboxContext");function Dh(e){let t=Gt(KC,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Dh),n}return t}let nee=Z({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>GJ},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let i=ee(1),o=ee(null),a=ee(null),s=ee(null),l=ee([]),c=ee(""),u=ee(null),d=ee(1);function f(x=_=>_){let _=u.value!==null?l.value[u.value]:null,E=Lc(x(l.value.slice()),C=>xe(C.dataRef.domRef)),A=_?E.indexOf(_):null;return A===-1&&(A=null),{options:E,activeOptionIndex:A}}let p=I(()=>e.multiple?1:0),[h,m]=iJ(I(()=>e.modelValue),x=>r("update:modelValue",x),I(()=>e.defaultValue)),b=I(()=>h.value===void 0?fn(p.value,{1:[],0:void 0}):h.value),y={listboxState:i,value:b,mode:p,compare(x,_){if(typeof e.by=="string"){let E=e.by;return x?.[E]===_?.[E]}return e.by(x,_)},orientation:I(()=>e.horizontal?"horizontal":"vertical"),labelRef:o,buttonRef:a,optionsRef:s,disabled:I(()=>e.disabled),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(x,_,E){if(e.disabled||i.value===1)return;let A=f(),C=SJ(x===ki.Specific?{focus:ki.Specific,id:_}:{focus:x},{resolveItems:()=>A.options,resolveActiveIndex:()=>A.activeOptionIndex,resolveId:D=>D.id,resolveDisabled:D=>D.dataRef.disabled});c.value="",u.value=C,d.value=E??1,l.value=A.options},search(x){if(e.disabled||i.value===1)return;let _=c.value!==""?0:1;c.value+=x.toLowerCase();let E=(u.value!==null?l.value.slice(u.value+_).concat(l.value.slice(0,u.value+_)):l.value).find(C=>C.dataRef.textValue.startsWith(c.value)&&!C.dataRef.disabled),A=E?l.value.indexOf(E):-1;A===-1||A===u.value||(u.value=A,d.value=1)},clearSearch(){e.disabled||i.value!==1&&c.value!==""&&(c.value="")},registerOption(x,_){let E=f(A=>[...A,{id:x,dataRef:_}]);l.value=E.options,u.value=E.activeOptionIndex},unregisterOption(x){let _=f(E=>{let A=E.findIndex(C=>C.id===x);return A!==-1&&E.splice(A,1),E});l.value=_.options,u.value=_.activeOptionIndex,d.value=1},theirOnChange(x){e.disabled||m(x)},select(x){e.disabled||m(fn(p.value,{0:()=>x,1:()=>{let _=_n(y.value.value).slice(),E=_n(x),A=_.findIndex(C=>y.compare(E,_n(C)));return A===-1?_.push(E):_.splice(A,1),_}}))}};V5([a,s],(x,_)=>{var E;y.closeListbox(),ub(_,cb.Loose)||(x.preventDefault(),(E=xe(a))==null||E.focus())},I(()=>i.value===0)),dn(KC,y),W5(I(()=>fn(i.value,{0:Yr.Open,1:Yr.Closed})));let $=I(()=>{var x;return(x=xe(a))==null?void 0:x.closest("form")});return mt(()=>{Ke([$],()=>{if(!$.value||e.defaultValue===void 0)return;function x(){y.theirOnChange(e.defaultValue)}return $.value.addEventListener("reset",x),()=>{var _;(_=$.value)==null||_.removeEventListener("reset",x)}},{immediate:!0})}),()=>{let{name:x,modelValue:_,disabled:E,form:A,...C}=e,D={open:i.value===0,disabled:E,value:b.value};return qt(he,[...x!=null&&b.value!=null?jC({[x]:b.value}).map(([q,B])=>qt(Js,OJ({features:Ks.Hidden,key:q,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:A,disabled:E,name:q,value:B}))):[],Cn({ourProps:{},theirProps:{...n,...X5(C,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:D,slots:t,attrs:n,name:"Listbox"})])}}}),ree=Z({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let i=(r=e.id)!=null?r:`headlessui-listbox-label-${ci()}`,o=Dh("ListboxLabel");function a(){var s;(s=xe(o.buttonRef))==null||s.focus({preventScroll:!0})}return()=>{let s={open:o.listboxState.value===0,disabled:o.disabled.value},{...l}=e,c={id:i,ref:o.labelRef,onClick:a};return Cn({ourProps:c,theirProps:l,slot:s,attrs:t,slots:n,name:"ListboxLabel"})}}}),iee=Z({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-listbox-button-${ci()}`,a=Dh("ListboxButton");r({el:a.buttonRef,$el:a.buttonRef});function s(d){switch(d.key){case yt.Space:case yt.Enter:case yt.ArrowDown:d.preventDefault(),a.openListbox(),tr(()=>{var f;(f=xe(a.optionsRef))==null||f.focus({preventScroll:!0}),a.value.value||a.goToOption(ki.First)});break;case yt.ArrowUp:d.preventDefault(),a.openListbox(),tr(()=>{var f;(f=xe(a.optionsRef))==null||f.focus({preventScroll:!0}),a.value.value||a.goToOption(ki.Last)});break}}function l(d){d.key===yt.Space&&d.preventDefault()}function c(d){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),tr(()=>{var f;return(f=xe(a.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(d.preventDefault(),a.openListbox(),tee(()=>{var f;return(f=xe(a.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let u=db(I(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{var d,f;let p={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...h}=e,m={ref:a.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":(d=xe(a.optionsRef))==null?void 0:d.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[(f=xe(a.labelRef))==null?void 0:f.id,o].join(" "):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:s,onKeyup:l,onClick:c};return Cn({ourProps:m,theirProps:h,slot:p,attrs:t,slots:n,name:"ListboxButton"})}}}),oee=Z({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-listbox-options-${ci()}`,a=Dh("ListboxOptions"),s=ee(null);r({el:a.optionsRef,$el:a.optionsRef});function l(d){switch(s.value&&clearTimeout(s.value),d.key){case yt.Space:if(a.searchQuery.value!=="")return d.preventDefault(),d.stopPropagation(),a.search(d.key);case yt.Enter:if(d.preventDefault(),d.stopPropagation(),a.activeOptionIndex.value!==null){let f=a.options.value[a.activeOptionIndex.value];a.select(f.dataRef.value)}a.mode.value===0&&(a.closeListbox(),tr(()=>{var f;return(f=xe(a.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case fn(a.orientation.value,{vertical:yt.ArrowDown,horizontal:yt.ArrowRight}):return d.preventDefault(),d.stopPropagation(),a.goToOption(ki.Next);case fn(a.orientation.value,{vertical:yt.ArrowUp,horizontal:yt.ArrowLeft}):return d.preventDefault(),d.stopPropagation(),a.goToOption(ki.Previous);case yt.Home:case yt.PageUp:return d.preventDefault(),d.stopPropagation(),a.goToOption(ki.First);case yt.End:case yt.PageDown:return d.preventDefault(),d.stopPropagation(),a.goToOption(ki.Last);case yt.Escape:d.preventDefault(),d.stopPropagation(),a.closeListbox(),tr(()=>{var f;return(f=xe(a.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case yt.Tab:d.preventDefault(),d.stopPropagation();break;default:d.key.length===1&&(a.search(d.key),s.value=setTimeout(()=>a.clearSearch(),350));break}}let c=fb(),u=I(()=>c!==null?(c.value&Yr.Open)===Yr.Open:a.listboxState.value===0);return()=>{var d,f;let p={open:a.listboxState.value===0},{...h}=e,m={"aria-activedescendant":a.activeOptionIndex.value===null||(d=a.options.value[a.activeOptionIndex.value])==null?void 0:d.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":(f=xe(a.buttonRef))==null?void 0:f.id,"aria-orientation":a.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:a.optionsRef};return Cn({ourProps:m,theirProps:h,slot:p,attrs:t,slots:n,features:wa.RenderStrategy|wa.Static,visible:u.value,name:"ListboxOptions"})}}}),aee=Z({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-listbox-option-${ci()}`,a=Dh("ListboxOption"),s=ee(null);r({el:s,$el:s});let l=I(()=>a.activeOptionIndex.value!==null?a.options.value[a.activeOptionIndex.value].id===o:!1),c=I(()=>fn(a.mode.value,{0:()=>a.compare(_n(a.value.value),_n(e.value)),1:()=>_n(a.value.value).some(x=>a.compare(_n(x),_n(e.value)))})),u=I(()=>fn(a.mode.value,{1:()=>{var x;let _=_n(a.value.value);return((x=a.options.value.find(E=>_.some(A=>a.compare(_n(A),_n(E.dataRef.value)))))==null?void 0:x.id)===o},0:()=>c.value})),d=YJ(s),f=I(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s}));mt(()=>a.registerOption(o,f)),Kr(()=>a.unregisterOption(o)),mt(()=>{Ke([a.listboxState,c],()=>{a.listboxState.value===0&&c.value&&fn(a.mode.value,{1:()=>{u.value&&a.goToOption(ki.Specific,o)},0:()=>{a.goToOption(ki.Specific,o)}})},{immediate:!0})}),Mn(()=>{a.listboxState.value===0&&l.value&&a.activationTrigger.value!==0&&tr(()=>{var x,_;return(_=(x=xe(s))==null?void 0:x.scrollIntoView)==null?void 0:_.call(x,{block:"nearest"})})});function p(x){if(e.disabled)return x.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),tr(()=>{var _;return(_=xe(a.buttonRef))==null?void 0:_.focus({preventScroll:!0})}))}function h(){if(e.disabled)return a.goToOption(ki.Nothing);a.goToOption(ki.Specific,o)}let m=gJ();function b(x){m.update(x)}function y(x){m.wasMoved(x)&&(e.disabled||l.value||a.goToOption(ki.Specific,o,0))}function $(x){m.wasMoved(x)&&(e.disabled||l.value&&a.goToOption(ki.Nothing))}return()=>{let{disabled:x}=e,_={active:l.value,selected:c.value,disabled:x},{value:E,disabled:A,...C}=e,D={id:o,ref:s,role:"option",tabIndex:x===!0?void 0:-1,"aria-disabled":x===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:p,onFocus:h,onPointerenter:b,onMouseenter:b,onPointermove:y,onMousemove:y,onPointerleave:$,onMouseleave:$};return Cn({ourProps:D,theirProps:C,slot:_,attrs:n,slots:t,name:"ListboxOption"})}}});var see=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(see||{});let JC=Symbol("PopoverContext");function e8(e){let t=Gt(JC,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${t8.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,e8),n}return t}let lee=Symbol("PopoverGroupContext");function eP(){return Gt(lee,null)}let tP=Symbol("PopoverPanelContext");function cee(){return Gt(tP,null)}let t8=Z({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var i;let o=ee(null);r({el:o,$el:o});let a=ee(1),s=ee(null),l=ee(null),c=ee(null),u=ee(null),d=I(()=>Pa(o)),f=I(()=>{var E,A;if(!xe(s)||!xe(u))return!1;for(let ne of document.querySelectorAll("body > *"))if(Number(ne?.contains(xe(s)))^Number(ne?.contains(xe(u))))return!0;let C=Ih(),D=C.indexOf(xe(s)),q=(D+C.length-1)%C.length,B=(D+1)%C.length,Y=C[q],V=C[B];return!((E=xe(u))!=null&&E.contains(Y))&&!((A=xe(u))!=null&&A.contains(V))}),p={popoverState:a,buttonId:ee(null),panelId:ee(null),panel:u,button:s,isPortalled:f,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){a.value=fn(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(E){p.closePopover();let A=E?E instanceof HTMLElement?E:E.value instanceof HTMLElement?xe(E):xe(p.button):xe(p.button);A?.focus()}};dn(JC,p),W5(I(()=>fn(a.value,{0:Yr.Open,1:Yr.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},m=eP(),b=m?.registerPopover,[y,$]=XC(),x=ZC({mainTreeNodeRef:m?.mainTreeNodeRef,portals:y,defaultContainers:[s,u]});function _(){var E,A,C,D;return(D=m?.isFocusWithinPopoverGroup())!=null?D:((E=d.value)==null?void 0:E.activeElement)&&(((A=xe(s))==null?void 0:A.contains(d.value.activeElement))||((C=xe(u))==null?void 0:C.contains(d.value.activeElement)))}return Mn(()=>b?.(h)),Y5((i=d.value)==null?void 0:i.defaultView,"focus",E=>{var A,C;E.target!==window&&E.target instanceof HTMLElement&&a.value===0&&(_()||s&&u&&(x.contains(E.target)||(A=xe(p.beforePanelSentinel))!=null&&A.contains(E.target)||(C=xe(p.afterPanelSentinel))!=null&&C.contains(E.target)||p.closePopover()))},!0),V5(x.resolveContainers,(E,A)=>{var C;p.closePopover(),ub(A,cb.Loose)||(E.preventDefault(),(C=xe(s))==null||C.focus())},I(()=>a.value===0)),()=>{let E={open:a.value===0,close:p.close};return qt(he,[qt($,{},()=>Cn({theirProps:{...e,...n},ourProps:{ref:o},slot:E,slots:t,attrs:n,name:"Popover"})),qt(x.MainTreeNode)])}}}),nP=Z({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-popover-button-${ci()}`,a=e8("PopoverButton"),s=I(()=>Pa(a.button));r({el:a.button,$el:a.button}),mt(()=>{a.buttonId.value=o}),Kr(()=>{a.buttonId.value=null});let l=eP(),c=l?.closeOthers,u=cee(),d=I(()=>u===null?!1:u.value===a.panelId.value),f=ee(null),p=`headlessui-focus-sentinel-${ci()}`;d.value||Mn(()=>{a.button.value=xe(f)});let h=db(I(()=>({as:e.as,type:t.type})),f);function m(E){var A,C,D,q,B;if(d.value){if(a.popoverState.value===1)return;switch(E.key){case yt.Space:case yt.Enter:E.preventDefault(),(C=(A=E.target).click)==null||C.call(A),a.closePopover(),(D=xe(a.button))==null||D.focus();break}}else switch(E.key){case yt.Space:case yt.Enter:E.preventDefault(),E.stopPropagation(),a.popoverState.value===1&&c?.(a.buttonId.value),a.togglePopover();break;case yt.Escape:if(a.popoverState.value!==0)return c?.(a.buttonId.value);if(!xe(a.button)||(q=s.value)!=null&&q.activeElement&&!((B=xe(a.button))!=null&&B.contains(s.value.activeElement)))return;E.preventDefault(),E.stopPropagation(),a.closePopover();break}}function b(E){d.value||E.key===yt.Space&&E.preventDefault()}function y(E){var A,C;e.disabled||(d.value?(a.closePopover(),(A=xe(a.button))==null||A.focus()):(E.preventDefault(),E.stopPropagation(),a.popoverState.value===1&&c?.(a.buttonId.value),a.togglePopover(),(C=xe(a.button))==null||C.focus()))}function $(E){E.preventDefault(),E.stopPropagation()}let x=G5();function _(){let E=xe(a.panel);if(!E)return;function A(){fn(x.value,{[fo.Forwards]:()=>Cr(E,wn.First),[fo.Backwards]:()=>Cr(E,wn.Last)})===Qs.Error&&Cr(Ih().filter(C=>C.dataset.headlessuiFocusGuard!=="true"),fn(x.value,{[fo.Forwards]:wn.Next,[fo.Backwards]:wn.Previous}),{relativeTo:xe(a.button)})}A()}return()=>{let E=a.popoverState.value===0,A={open:E},{...C}=e,D=d.value?{ref:f,type:h.value,onKeydown:m,onClick:y}:{ref:f,id:o,type:h.value,"aria-expanded":a.popoverState.value===0,"aria-controls":xe(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:b,onClick:y,onMousedown:$};return qt(he,[Cn({ourProps:D,theirProps:{...t,...C},slot:A,attrs:t,slots:n,name:"PopoverButton"}),E&&!d.value&&a.isPortalled.value&&qt(Js,{id:p,features:Ks.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_})])}}}),rP=Z({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-popover-panel-${ci()}`,{focus:a}=e,s=e8("PopoverPanel"),l=I(()=>Pa(s.panel)),c=`headlessui-focus-sentinel-before-${ci()}`,u=`headlessui-focus-sentinel-after-${ci()}`;r({el:s.panel,$el:s.panel}),mt(()=>{s.panelId.value=o}),Kr(()=>{s.panelId.value=null}),dn(tP,s.panelId),Mn(()=>{var $,x;if(!a||s.popoverState.value!==0||!s.panel)return;let _=($=l.value)==null?void 0:$.activeElement;(x=xe(s.panel))!=null&&x.contains(_)||Cr(xe(s.panel),wn.First)});let d=fb(),f=I(()=>d!==null?(d.value&Yr.Open)===Yr.Open:s.popoverState.value===0);function p($){var x,_;switch($.key){case yt.Escape:if(s.popoverState.value!==0||!xe(s.panel)||l.value&&!((x=xe(s.panel))!=null&&x.contains(l.value.activeElement)))return;$.preventDefault(),$.stopPropagation(),s.closePopover(),(_=xe(s.button))==null||_.focus();break}}function h($){var x,_,E,A,C;let D=$.relatedTarget;D&&xe(s.panel)&&((x=xe(s.panel))!=null&&x.contains(D)||(s.closePopover(),((E=(_=xe(s.beforePanelSentinel))==null?void 0:_.contains)!=null&&E.call(_,D)||(C=(A=xe(s.afterPanelSentinel))==null?void 0:A.contains)!=null&&C.call(A,D))&&D.focus({preventScroll:!0})))}let m=G5();function b(){let $=xe(s.panel);if(!$)return;function x(){fn(m.value,{[fo.Forwards]:()=>{var _;Cr($,wn.First)===Qs.Error&&((_=xe(s.afterPanelSentinel))==null||_.focus())},[fo.Backwards]:()=>{var _;(_=xe(s.button))==null||_.focus({preventScroll:!0})}})}x()}function y(){let $=xe(s.panel);if(!$)return;function x(){fn(m.value,{[fo.Forwards]:()=>{let _=xe(s.button),E=xe(s.panel);if(!_)return;let A=Ih(),C=A.indexOf(_),D=A.slice(0,C+1),q=[...A.slice(C+1),...D];for(let B of q.slice())if(B.dataset.headlessuiFocusGuard==="true"||E!=null&&E.contains(B)){let Y=q.indexOf(B);Y!==-1&&q.splice(Y,1)}Cr(q,wn.First,{sorted:!1})},[fo.Backwards]:()=>{var _;Cr($,wn.Previous)===Qs.Error&&((_=xe(s.button))==null||_.focus())}})}x()}return()=>{let $={open:s.popoverState.value===0,close:s.close},{focus:x,..._}=e,E={ref:s.panel,id:o,onKeydown:p,onFocusout:a&&s.popoverState.value===0?h:void 0,tabIndex:-1};return Cn({ourProps:E,theirProps:{...t,..._},attrs:t,slot:$,slots:{...n,default:(...A)=>{var C;return[qt(he,[f.value&&s.isPortalled.value&&qt(Js,{id:c,ref:s.beforePanelSentinel,features:Ks.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b}),(C=n.default)==null?void 0:C.call(n,...A),f.value&&s.isPortalled.value&&qt(Js,{id:u,ref:s.afterPanelSentinel,features:Ks.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:y})])]}},features:wa.RenderStrategy|wa.Static,visible:f.value,name:"PopoverPanel"})}}}),uee=Z({props:{onFocus:{type:Function,required:!0}},setup(e){let t=ee(!0);return()=>t.value?qt(Js,{as:"button",type:"button",features:Ks.Focusable,onFocus(n){n.preventDefault();let r,i=50;function o(){var a;if(i--<=0){r&&cancelAnimationFrame(r);return}if((a=e.onFocus)!=null&&a.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(o)}r=requestAnimationFrame(o)}}):null}});var dee=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(dee||{}),fee=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(fee||{});let iP=Symbol("TabsContext");function Nh(e){let t=Gt(iP,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Nh),n}return t}let n8=Symbol("TabsSSRContext"),oP=Z({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){var i;let o=ee((i=e.selectedIndex)!=null?i:e.defaultIndex),a=ee([]),s=ee([]),l=I(()=>e.selectedIndex!==null),c=I(()=>l.value?e.selectedIndex:o.value);function u(m){var b;let y=Lc(d.tabs.value,xe),$=Lc(d.panels.value,xe),x=y.filter(_=>{var E;return!((E=xe(_))!=null&&E.hasAttribute("disabled"))});if(m<0||m>y.length-1){let _=fn(o.value===null?0:Math.sign(m-o.value),{[-1]:()=>1,0:()=>fn(Math.sign(m),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),E=fn(_,{0:()=>y.indexOf(x[0]),1:()=>y.indexOf(x[x.length-1])});E!==-1&&(o.value=E),d.tabs.value=y,d.panels.value=$}else{let _=y.slice(0,m),E=[...y.slice(m),..._].find(C=>x.includes(C));if(!E)return;let A=(b=y.indexOf(E))!=null?b:d.selectedIndex.value;A===-1&&(A=d.selectedIndex.value),o.value=A,d.tabs.value=y,d.panels.value=$}}let d={selectedIndex:I(()=>{var m,b;return(b=(m=o.value)!=null?m:e.defaultIndex)!=null?b:null}),orientation:I(()=>e.vertical?"vertical":"horizontal"),activation:I(()=>e.manual?"manual":"auto"),tabs:a,panels:s,setSelectedIndex(m){c.value!==m&&r("change",m),l.value||u(m)},registerTab(m){var b;if(a.value.includes(m))return;let y=a.value[o.value];if(a.value.push(m),a.value=Lc(a.value,xe),!l.value){let $=(b=a.value.indexOf(y))!=null?b:o.value;$!==-1&&(o.value=$)}},unregisterTab(m){let b=a.value.indexOf(m);b!==-1&&a.value.splice(b,1)},registerPanel(m){s.value.includes(m)||(s.value.push(m),s.value=Lc(s.value,xe))},unregisterPanel(m){let b=s.value.indexOf(m);b!==-1&&s.value.splice(b,1)}};dn(iP,d);let f=ee({tabs:[],panels:[]}),p=ee(!1);mt(()=>{p.value=!0}),dn(n8,I(()=>p.value?null:f.value));let h=I(()=>e.selectedIndex);return mt(()=>{Ke([h],()=>{var m;return u((m=e.selectedIndex)!=null?m:e.defaultIndex)},{immediate:!0})}),Mn(()=>{if(!l.value||c.value==null||d.tabs.value.length<=0)return;let m=Lc(d.tabs.value,xe);m.some((b,y)=>xe(d.tabs.value[y])!==xe(b))&&d.setSelectedIndex(m.findIndex(b=>xe(b)===xe(d.tabs.value[c.value])))}),()=>{let m={selectedIndex:o.value};return qt(he,[a.value.length<=0&&qt(uee,{onFocus:()=>{for(let b of a.value){let y=xe(b);if(y?.tabIndex===0)return y.focus(),!0}return!1}}),Cn({theirProps:{...n,...X5(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:m,slots:t,attrs:n,name:"TabGroup"})])}}}),aP=Z({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=Nh("TabList");return()=>{let i={selectedIndex:r.selectedIndex.value},o={role:"tablist","aria-orientation":r.orientation.value};return Cn({ourProps:o,theirProps:e,slot:i,attrs:t,slots:n,name:"TabList"})}}}),sP=Z({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-tabs-tab-${ci()}`,a=Nh("Tab"),s=ee(null);r({el:s,$el:s}),mt(()=>a.registerTab(s)),Kr(()=>a.unregisterTab(s));let l=Gt(n8),c=I(()=>{if(l.value){let $=l.value.tabs.indexOf(o);return $===-1?l.value.tabs.push(o)-1:$}return-1}),u=I(()=>{let $=a.tabs.value.indexOf(s);return $===-1?c.value:$}),d=I(()=>u.value===a.selectedIndex.value);function f($){var x;let _=$();if(_===Qs.Success&&a.activation.value==="auto"){let E=(x=Pa(s))==null?void 0:x.activeElement,A=a.tabs.value.findIndex(C=>xe(C)===E);A!==-1&&a.setSelectedIndex(A)}return _}function p($){let x=a.tabs.value.map(_=>xe(_)).filter(Boolean);if($.key===yt.Space||$.key===yt.Enter){$.preventDefault(),$.stopPropagation(),a.setSelectedIndex(u.value);return}switch($.key){case yt.Home:case yt.PageUp:return $.preventDefault(),$.stopPropagation(),f(()=>Cr(x,wn.First));case yt.End:case yt.PageDown:return $.preventDefault(),$.stopPropagation(),f(()=>Cr(x,wn.Last))}if(f(()=>fn(a.orientation.value,{vertical(){return $.key===yt.ArrowUp?Cr(x,wn.Previous|wn.WrapAround):$.key===yt.ArrowDown?Cr(x,wn.Next|wn.WrapAround):Qs.Error},horizontal(){return $.key===yt.ArrowLeft?Cr(x,wn.Previous|wn.WrapAround):$.key===yt.ArrowRight?Cr(x,wn.Next|wn.WrapAround):Qs.Error}}))===Qs.Success)return $.preventDefault()}let h=ee(!1);function m(){var $;h.value||(h.value=!0,!e.disabled&&(($=xe(s))==null||$.focus({preventScroll:!0}),a.setSelectedIndex(u.value),sb(()=>{h.value=!1})))}function b($){$.preventDefault()}let y=db(I(()=>({as:e.as,type:t.type})),s);return()=>{var $,x;let _={selected:d.value,disabled:($=e.disabled)!=null?$:!1},{...E}=e,A={ref:s,onKeydown:p,onMousedown:b,onClick:m,id:o,role:"tab",type:y.value,"aria-controls":(x=xe(a.panels.value[u.value]))==null?void 0:x.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:e.disabled?!0:void 0};return Cn({ourProps:A,theirProps:E,slot:_,attrs:t,slots:n,name:"Tab"})}}}),pee=Z({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=Nh("TabPanels");return()=>{let i={selectedIndex:r.selectedIndex.value};return Cn({theirProps:e,ourProps:{},slot:i,attrs:n,slots:t,name:"TabPanels"})}}}),hee=Z({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:n,expose:r}){var i;let o=(i=e.id)!=null?i:`headlessui-tabs-panel-${ci()}`,a=Nh("TabPanel"),s=ee(null);r({el:s,$el:s}),mt(()=>a.registerPanel(s)),Kr(()=>a.unregisterPanel(s));let l=Gt(n8),c=I(()=>{if(l.value){let f=l.value.panels.indexOf(o);return f===-1?l.value.panels.push(o)-1:f}return-1}),u=I(()=>{let f=a.panels.value.indexOf(s);return f===-1?c.value:f}),d=I(()=>u.value===a.selectedIndex.value);return()=>{var f;let p={selected:d.value},{tabIndex:h,...m}=e,b={ref:s,id:o,role:"tabpanel","aria-labelledby":(f=xe(a.tabs.value[u.value]))==null?void 0:f.id,tabIndex:d.value?h:-1};return!d.value&&e.unmount&&!e.static?qt(Js,{as:"span","aria-hidden":!0,...b}):Cn({ourProps:b,theirProps:m,slot:p,attrs:t,slots:n,features:wa.Static|wa.RenderStrategy,visible:d.value,name:"TabPanel"})}}});function lP(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=lP(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function lv(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=lP(e))&&(r&&(r+=" "),r+=t);return r}const I$=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,mee=e=>{const t=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e?.hooks["cx:done"](lv(o)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e?.hooks.onComplete(lv(o)):lv(o)};return{compose:function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(c=>{let[u]=c;return!["class","className"].includes(u)}));return t(o.map(c=>c(l)),s?.class,s?.className)}},cva:i=>o=>{var a;if(i?.variants==null)return t(i?.base,o?.class,o?.className);const{variants:s,defaultVariants:l}=i,c=Object.keys(s).map(f=>{const p=o?.[f],h=l?.[f],m=I$(p)||I$(h);return s[f][m]}),u={...l,...o&&Object.entries(o).reduce((f,p)=>{let[h,m]=p;return typeof m>"u"?f:{...f,[h]:m}},{})},d=i==null||(a=i.compoundVariants)===null||a===void 0?void 0:a.reduce((f,p)=>{let{class:h,className:m,...b}=p;return Object.entries(b).every(y=>{let[$,x]=y;const _=u[$];return Array.isArray(x)?x.includes(_):_===x})?[...f,h,m]:f},[]);return t(i?.base,c,d,o?.class,o?.className)},cx:t}},r8="-",gee=e=>{const t=Oee(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(r8);return s[0]===""&&s.length!==1&&s.shift(),cP(s,t)||bee(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},cP=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?cP(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(r8);return t.validators.find(({validator:a})=>a(o))?.classGroupId},D$=/^\[(.+)\]$/,bee=e=>{if(D$.test(e)){const t=D$.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Oee=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return vee(Object.entries(e.classGroups),n).forEach(([o,a])=>{f3(a,r,o,t)}),r},f3=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:N$(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(yee(i)){f3(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{f3(a,N$(t,o),n,r)})})},N$=(e,t)=>{let n=e;return t.split(r8).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},yee=e=>e.isThemeGetter,vee=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[t+a,s])):o);return[n,i]}):e,wee=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},uP="!",See=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=s=>{const l=[];let c=0,u=0,d;for(let b=0;b<s.length;b++){let y=s[b];if(c===0){if(y===i&&(r||s.slice(b,b+o)===t)){l.push(s.slice(u,b)),u=b+o;continue}if(y==="/"){d=b;continue}}y==="["?c++:y==="]"&&c--}const f=l.length===0?s:s.substring(u),p=f.startsWith(uP),h=p?f.substring(1):f,m=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}};return n?s=>n({className:s,parseClassName:a}):a},kee=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},xee=e=>({cache:wee(e.cacheSize),parseClassName:See(e),...gee(e)}),$ee=/\s+/,Eee=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split($ee);let s="";for(let l=a.length-1;l>=0;l-=1){const c=a[l],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(c);let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=c+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=c+(s.length>0?" "+s:s);continue}h=!1}const b=kee(u).join(":"),y=d?b+uP:b,$=y+m;if(o.includes($))continue;o.push($);const x=i(m,h);for(let _=0;_<x.length;++_){const E=x[_];o.push(y+E)}s=c+(s.length>0?" "+s:s)}return s};function _ee(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=dP(t))&&(r&&(r+=" "),r+=n);return r}const dP=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=dP(e[r]))&&(n&&(n+=" "),n+=t);return n};function M$(e,...t){let n,r,i,o=a;function a(l){const c=t.reduce((u,d)=>d(u),e());return n=xee(c),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const c=r(l);if(c)return c;const u=Eee(l,n);return i(l,u),u}return function(){return o(_ee.apply(null,arguments))}}const xn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},fP=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tee=/^\d+\/\d+$/,Aee=new Set(["px","full","screen"]),Cee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Iee=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,As=e=>Ld(e)||Aee.has(e)||Tee.test(e),xl=e=>Wf(e,"length",Qee),Ld=e=>!!e&&!Number.isNaN(Number(e)),cv=e=>Wf(e,"number",Ld),Ip=e=>!!e&&Number.isInteger(Number(e)),Mee=e=>e.endsWith("%")&&Ld(e.slice(0,-1)),bt=e=>fP.test(e),$l=e=>Cee.test(e),Ree=new Set(["length","size","percentage"]),Lee=e=>Wf(e,Ree,pP),Bee=e=>Wf(e,"position",pP),jee=new Set(["image","url"]),Fee=e=>Wf(e,jee,qee),Uee=e=>Wf(e,"",zee),Dp=()=>!0,Wf=(e,t,n)=>{const r=fP.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Qee=e=>Pee.test(e)&&!Iee.test(e),pP=()=>!1,zee=e=>Dee.test(e),qee=e=>Nee.test(e),R$=()=>{const e=xn("colors"),t=xn("spacing"),n=xn("blur"),r=xn("brightness"),i=xn("borderColor"),o=xn("borderRadius"),a=xn("borderSpacing"),s=xn("borderWidth"),l=xn("contrast"),c=xn("grayscale"),u=xn("hueRotate"),d=xn("invert"),f=xn("gap"),p=xn("gradientColorStops"),h=xn("gradientColorStopPositions"),m=xn("inset"),b=xn("margin"),y=xn("opacity"),$=xn("padding"),x=xn("saturate"),_=xn("scale"),E=xn("sepia"),A=xn("skew"),C=xn("space"),D=xn("translate"),q=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",bt,t],V=()=>[bt,t],ne=()=>["",As,xl],X=()=>["auto",Ld,bt],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],fe=()=>["","0",bt],N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],pe=()=>[Ld,bt];return{cacheSize:500,separator:":",theme:{colors:[Dp],spacing:[As,xl],blur:["none","",$l,bt],brightness:pe(),borderColor:[e],borderRadius:["none","","full",$l,bt],borderSpacing:V(),borderWidth:ne(),contrast:pe(),grayscale:fe(),hueRotate:pe(),invert:fe(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[Mee,xl],inset:Y(),margin:Y(),opacity:pe(),padding:V(),saturate:pe(),scale:pe(),sepia:fe(),skew:pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",bt]}],container:["container"],columns:[{columns:[$l]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),bt]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ip,bt]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",bt]}],grow:[{grow:fe()}],shrink:[{shrink:fe()}],order:[{order:["first","last","none",Ip,bt]}],"grid-cols":[{"grid-cols":[Dp]}],"col-start-end":[{col:["auto",{span:["full",Ip,bt]},bt]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[Dp]}],"row-start-end":[{row:["auto",{span:[Ip,bt]},bt]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",bt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",bt]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[$]}],px:[{px:[$]}],py:[{py:[$]}],ps:[{ps:[$]}],pe:[{pe:[$]}],pt:[{pt:[$]}],pr:[{pr:[$]}],pb:[{pb:[$]}],pl:[{pl:[$]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",bt,t]}],"min-w":[{"min-w":[bt,t,"min","max","fit"]}],"max-w":[{"max-w":[bt,t,"none","full","min","max","fit","prose",{screen:[$l]},$l]}],h:[{h:[bt,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[bt,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[bt,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[bt,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$l,xl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",cv]}],"font-family":[{font:[Dp]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",bt]}],"line-clamp":[{"line-clamp":["none",Ld,cv]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",As,bt]}],"list-image":[{"list-image":["none",bt]}],"list-style-type":[{list:["none","disc","decimal",bt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",As,xl]}],"underline-offset":[{"underline-offset":["auto",As,bt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",bt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",bt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),Bee]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Fee]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:K()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[As,bt]}],"outline-w":[{outline:[As,xl]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[As,xl]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$l,Uee]}],"shadow-color":[{shadow:[Dp]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",$l,bt]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",bt]}],duration:[{duration:pe()}],ease:[{ease:["linear","in","out","in-out",bt]}],delay:[{delay:pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",bt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[Ip,bt]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",bt]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",bt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",bt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[As,xl,cv]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Zee=(e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:i,extend:o={},override:a={}})=>{s0(e,"cacheSize",t),s0(e,"prefix",n),s0(e,"separator",r),s0(e,"experimentalParseClassName",i);for(const s in a)Hee(e[s],a[s]);for(const s in o)Vee(e[s],o[s]);return e},s0=(e,t,n)=>{n!==void 0&&(e[t]=n)},Hee=(e,t)=>{if(t)for(const n in t)s0(e,n,t[n])},Vee=(e,t)=>{if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}},Xee=(e,...t)=>typeof e=="function"?M$(R$,e,...t):M$(()=>Zee(R$(),e),...t),Wee=Xee({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"]}}}),{cva:rr,cx:ms}=mee({hooks:{onComplete:e=>Wee(e)}});function gt(){const e=q5(),t=I(()=>{const{class:i,style:o,...a}=e;return{class:i||"",style:o,rest:a}});function n(...i){return{class:ms(...i,t.value.class),style:t.value.style,...t.value.rest}}function r(...i){return{class:ms(...i,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:I(()=>t.value.rest)}}const hP={solid:["scalar-button-solid","bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-b-1 text-c-1 hover:bg-b-2"],ghost:["scalar-button-ghost","bg-transparent text-c-3 active:text-c-1 hover:text-c-1"],gradient:["scalar-button-gradient","border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t","dark:bg-linear-to-t dark:hover:bg-linear-to-b"],danger:["scalar-button-danger","bg-c-danger text-white active:brightness-90 hover:brightness-90"]},Yee={class:"circular-loader"},Gee={},Kee=Z({...Gee,inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){const{cx:t}=gt(),n=rr({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}});return(r,i)=>r.loader?(g(),w("div",wt(ve({key:0},O(t)("loader-wrapper",O(n)({size:r.size})))),[(g(),w("svg",{class:Oe(["svg-loader",{"icon-is-valid":r.loader.isValid,"icon-is-invalid":r.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[i[0]||(i[0]=Cu('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-8e99b97a></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-8e99b97a></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-8e99b97a></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-8e99b97a></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-8e99b97a></path>',5)),k("g",Yee,[k("circle",{class:Oe(["loader-path",{"loader-path-off":!r.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):j("",!0)}}),vs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},mP=vs(Kee,[["__scopeId","data-v-8e99b97a"]]),Jee={key:3,class:"centered"},ete={},pr=Z({...ete,inheritAttrs:!1,__name:"ScalarButton",props:{is:{default:"button"},variant:{default:"solid"},size:{default:"md"},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){const t=rr({base:"scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1",variants:{disabled:{true:"bg-b-2 text-color-3 shadow-none"},size:{xs:"px-2 py-1 text-xs leading-5",sm:"px-3.5 py-2 text-sm leading-5",md:"px-5 py-3 text-sm leading-5"},variant:hP},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","gradient","danger"],class:"bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]"},{disabled:!0,variant:["gradient"],class:"to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t"}]}),n=rr({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.25 -ml-0.5 mr-1.5",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=rr({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:i}=gt();return(o,a)=>(g(),R(Zt(o.is),ve({"aria-disabled":o.disabled||void 0,type:o.is==="button"?"button":void 0},O(i)(O(t)({disabled:o.disabled,size:o.size,variant:o.variant}),{relative:o.loader?.isActive})),{default:T(()=>[o.$slots.icon||o.icon?(g(),w("div",{key:0,class:Oe([O(n)({size:o.size}),{invisible:o.loader?.isActive}])},[H(o.$slots,"icon",{},()=>[(g(),R(Zt(o.icon),{class:"size-full"}))])],2)):j("",!0),o.loader?(g(),w("span",{key:1,class:Oe({invisible:o.loader?.isActive})},[H(o.$slots,"default")],2)):H(o.$slots,"default",{key:2}),o.loader?.isActive?(g(),w("div",Jee,[P(O(mP),{class:Oe(O(r)({size:o.size})),loader:o.loader},null,8,["class","loader"])])):j("",!0)]),_:3},16,["aria-disabled","type"]))}}),gP=Symbol(),tte=e=>{const t=Gt(gP,void 0);t&&(t.value=e)},nte=()=>{const e=ee();return dn(gP,e),{id:e}},rte={},Dg=Z({...rte,inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){const{id:t}=nte(),n=I(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=gt();return(i,o)=>(g(),w("div",ve({role:"group"},{...n.value,...O(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-lg border *:first:rounded-t-[inherit] *:last:rounded-b-[inherit]")}),[H(i.$slots,"default")],16))}}),ite={},nf=Z({...ite,inheritAttrs:!1,__name:"ScalarCardSection",setup(e){const{cx:t}=gt();return(n,r)=>(g(),w("div",wt(Rt(O(t)("scalar-card-content flex overflow-auto"))),[H(n.$slots,"default")],16))}}),ote=["id"],ate={key:0,class:"flex"},ste={},i8=Z({...ste,inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){const{cx:t}=gt(),n=kn();return tte(n),(r,i)=>(g(),R(nf,wt(Rt(O(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:T(()=>[k("div",{id:O(n),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[H(r.$slots,"default")],8,ote),r.$slots.actions?(g(),w("div",ate,[H(r.$slots,"actions")])):j("",!0)]),_:3},16))}}),lte={},bP=Z({...lte,inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){const{cx:t}=gt();return(n,r)=>(g(),R(nf,wt(Rt(O(t)("scalar-card-footer"))),{default:T(()=>[H(n.$slots,"default")]),_:3},16))}}),cte="regular";function Kt(e={}){const t=I(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:I(()=>({width:"1em",height:"1em",...t.value})),weight:I(()=>e.weight??cte)}}const ute={key:0},dte={key:1},fte={key:2},pte={key:3},hte={key:4},mte={key:5},gte={name:"ScalarIconBook"},bte=Z({...gte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",ute,[...o[0]||(o[0]=[k("path",{d:"M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",dte,[...o[1]||(o[1]=[k("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),k("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",fte,[...o[2]||(o[2]=[k("path",{d:"M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"},null,-1)])])):O(r)==="light"?(g(),w("g",pte,[...o[3]||(o[3]=[k("path",{d:"M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",hte,[...o[4]||(o[4]=[k("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",mte,[...o[5]||(o[5]=[k("path",{d:"M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z"},null,-1)])])):j("",!0)],16))}}),Ote={key:0},yte={key:1},vte={key:2},wte={key:3},Ste={key:4},kte={key:5},xte={name:"ScalarIconBracketsCurly"},OP=Z({...xte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Ote,[...o[0]||(o[0]=[k("path",{d:"M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",yte,[...o[1]||(o[1]=[k("path",{d:"M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z",opacity:"0.2"},null,-1),k("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",vte,[...o[2]||(o[2]=[k("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.17,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",wte,[...o[3]||(o[3]=[k("path",{d:"M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Ste,[...o[4]||(o[4]=[k("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",kte,[...o[5]||(o[5]=[k("path",{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},null,-1)])])):j("",!0)],16))}}),$te={key:0},Ete={key:1},_te={key:2},Tte={key:3},Ate={key:4},Cte={key:5},Pte={name:"ScalarIconCaretDown"},ws=Z({...Pte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",$te,[...o[0]||(o[0]=[k("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Ete,[...o[1]||(o[1]=[k("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),k("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",_te,[...o[2]||(o[2]=[k("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Tte,[...o[3]||(o[3]=[k("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Ate,[...o[4]||(o[4]=[k("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Cte,[...o[5]||(o[5]=[k("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):j("",!0)],16))}}),Ite={key:0},Dte={key:1},Nte={key:2},Mte={key:3},Rte={key:4},Lte={key:5},Bte={name:"ScalarIconCaretRight"},Yf=Z({...Bte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Ite,[...o[0]||(o[0]=[k("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Dte,[...o[1]||(o[1]=[k("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),k("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Nte,[...o[2]||(o[2]=[k("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Mte,[...o[3]||(o[3]=[k("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Rte,[...o[4]||(o[4]=[k("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Lte,[...o[5]||(o[5]=[k("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1)])])):j("",!0)],16))}}),jte={key:0},Fte={key:1},Ute={key:2},Qte={key:3},zte={key:4},qte={key:5},Zte={name:"ScalarIconCaretUpDown"},Hte=Z({...Zte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",jte,[...o[0]||(o[0]=[k("path",{d:"M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Fte,[...o[1]||(o[1]=[k("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),k("path",{d:"M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Ute,[...o[2]||(o[2]=[k("path",{d:"M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Qte,[...o[3]||(o[3]=[k("path",{d:"M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",zte,[...o[4]||(o[4]=[k("path",{d:"M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",qte,[...o[5]||(o[5]=[k("path",{d:"M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66Z"},null,-1)])])):j("",!0)],16))}}),Vte={key:0},Xte={key:1},Wte={key:2},Yte={key:3},Gte={key:4},Kte={key:5},Jte={name:"ScalarIconCheck"},o8=Z({...Jte,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Vte,[...o[0]||(o[0]=[k("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Xte,[...o[1]||(o[1]=[k("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"},null,-1),k("path",{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.32Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Wte,[...o[2]||(o[2]=[k("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.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.32Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Yte,[...o[3]||(o[3]=[k("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Gte,[...o[4]||(o[4]=[k("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Kte,[...o[5]||(o[5]=[k("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1)])])):j("",!0)],16))}}),ene={key:0},tne={key:1},nne={key:2},rne={key:3},ine={key:4},one={key:5},ane={name:"ScalarIconCopy"},pb=Z({...ane,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",ene,[...o[0]||(o[0]=[k("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",tne,[...o[1]||(o[1]=[k("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),k("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",nne,[...o[2]||(o[2]=[k("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):O(r)==="light"?(g(),w("g",rne,[...o[3]||(o[3]=[k("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",ine,[...o[4]||(o[4]=[k("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",one,[...o[5]||(o[5]=[k("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1)])])):j("",!0)],16))}}),sne={key:0},lne={key:1},cne={key:2},une={key:3},dne={key:4},fne={key:5},pne={name:"ScalarIconEnvelopeSimple"},hne=Z({...pne,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",sne,[...o[0]||(o[0]=[k("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",lne,[...o[1]||(o[1]=[k("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),k("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",cne,[...o[2]||(o[2]=[k("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):O(r)==="light"?(g(),w("g",une,[...o[3]||(o[3]=[k("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",dne,[...o[4]||(o[4]=[k("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",fne,[...o[5]||(o[5]=[k("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z"},null,-1)])])):j("",!0)],16))}}),mne={key:0},gne={key:1},bne={key:2},One={key:3},yne={key:4},vne={key:5},wne={name:"ScalarIconEye"},Sne=Z({...wne,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",mne,[...o[0]||(o[0]=[k("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",gne,[...o[1]||(o[1]=[k("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),k("path",{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,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",bne,[...o[2]||(o[2]=[k("path",{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,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):O(r)==="light"?(g(),w("g",One,[...o[3]||(o[3]=[k("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",yne,[...o[4]||(o[4]=[k("path",{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,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",vne,[...o[5]||(o[5]=[k("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},null,-1)])])):j("",!0)],16))}}),kne={key:0},xne={key:1},$ne={key:2},Ene={key:3},_ne={key:4},Tne={key:5},Ane={name:"ScalarIconEyeSlash"},Cne=Z({...Ane,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",kne,[...o[0]||(o[0]=[k("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",xne,[...o[1]||(o[1]=[k("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),k("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,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.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,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,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",$ne,[...o[2]||(o[2]=[k("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Ene,[...o[3]||(o[3]=[k("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",_ne,[...o[4]||(o[4]=[k("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,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.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,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,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Tne,[...o[5]||(o[5]=[k("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"},null,-1)])])):j("",!0)],16))}}),Pne={key:0},Ine={key:1},Dne={key:2},Nne={key:3},Mne={key:4},Rne={key:5},Lne={name:"ScalarIconFileMd"},Bne=Z({...Lne,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Pne,[...o[0]||(o[0]=[k("path",{d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Ine,[...o[1]||(o[1]=[k("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),k("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Dne,[...o[2]||(o[2]=[k("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Nne,[...o[3]||(o[3]=[k("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Mne,[...o[4]||(o[4]=[k("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Rne,[...o[5]||(o[5]=[k("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z"},null,-1)])])):j("",!0)],16))}}),jne={key:0},Fne={key:1},Une={key:2},Qne={key:3},zne={key:4},qne={key:5},Zne={name:"ScalarIconGavel"},L$=Z({...Zne,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",jne,[...o[0]||(o[0]=[k("path",{d:"M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Fne,[...o[1]||(o[1]=[k("path",{d:"M149.66,45.66l-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,0-11.32l64-64a8,8,0,0,1,11.32,0l16,16A8,8,0,0,1,149.66,45.66Zm88,76.68-16-16a8,8,0,0,0-11.32,0l-64,64a8,8,0,0,0,0,11.32l16,16a8,8,0,0,0,11.32,0l64-64A8,8,0,0,0,237.66,122.34Z",opacity:"0.2"},null,-1),k("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Une,[...o[2]||(o[2]=[k("path",{d:"M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Qne,[...o[3]||(o[3]=[k("path",{d:"M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",zne,[...o[4]||(o[4]=[k("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",qne,[...o[5]||(o[5]=[k("path",{d:"M240.49,119.52l-16-16a12,12,0,0,0-17,0l-1.17,1.17-55-55,1.18-1.17a12,12,0,0,0,0-17l-16-16a12,12,0,0,0-17,0l-64,64a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l1.17-1.18L102.34,124l-68.2,68.21A21,21,0,0,0,63.8,221.87L132,153.66l12.69,12.69-1.18,1.17a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l64-64a12,12,0,0,0,0-17ZM77.17,106.83l-16-16a4,4,0,0,1,0-5.66l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.65l-64,64A4,4,0,0,1,77.17,106.83Zm-19,109.38A13,13,0,1,1,39.8,197.87L108,129.66,126.34,148ZM95.31,105.66l50.35-50.35,55,55-50.35,50.35Zm139.52,25.17-64,64a4,4,0,0,1-5.66,0l-16-16a4,4,0,0,1,0-5.65l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.66Z"},null,-1)])])):j("",!0)],16))}}),Hne={key:0},Vne={key:1},Xne={key:2},Wne={key:3},Yne={key:4},Gne={key:5},Kne={name:"ScalarIconGitBranch"},Jne=Z({...Kne,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Hne,[...o[0]||(o[0]=[k("path",{d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Vne,[...o[1]||(o[1]=[k("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),k("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Xne,[...o[2]||(o[2]=[k("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Wne,[...o[3]||(o[3]=[k("path",{d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Yne,[...o[4]||(o[4]=[k("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Gne,[...o[5]||(o[5]=[k("path",{d:"M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z"},null,-1)])])):j("",!0)],16))}}),ere={key:0},tre={key:1},nre={key:2},rre={key:3},ire={key:4},ore={key:5},are={name:"ScalarIconGlobe"},yP=Z({...are,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",ere,[...o[0]||(o[0]=[k("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",tre,[...o[1]||(o[1]=[k("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",nre,[...o[2]||(o[2]=[k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="light"?(g(),w("g",rre,[...o[3]||(o[3]=[k("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",ire,[...o[4]||(o[4]=[k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",ore,[...o[5]||(o[5]=[k("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1)])])):j("",!0)],16))}}),sre={key:0},lre={key:1},cre={key:2},ure={key:3},dre={key:4},fre={key:5},pre={name:"ScalarIconGlobeSimple"},hre=Z({...pre,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",sre,[...o[0]||(o[0]=[k("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",lre,[...o[1]||(o[1]=[k("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",cre,[...o[2]||(o[2]=[k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="light"?(g(),w("g",ure,[...o[3]||(o[3]=[k("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",dre,[...o[4]||(o[4]=[k("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",fre,[...o[5]||(o[5]=[k("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z"},null,-1)])])):j("",!0)],16))}}),mre={key:0},gre={key:1},bre={key:2},Ore={key:3},yre={key:4},vre={key:5},wre={name:"ScalarIconHash"},Sre=Z({...wre,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",mre,[...o[0]||(o[0]=[k("path",{d:"M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",gre,[...o[1]||(o[1]=[k("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),k("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",bre,[...o[2]||(o[2]=[k("path",{d:"M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Ore,[...o[3]||(o[3]=[k("path",{d:"M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",yre,[...o[4]||(o[4]=[k("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",vre,[...o[5]||(o[5]=[k("path",{d:"M224,92H170.61l9.33-51.28a4,4,0,1,0-7.88-1.44L162.48,92H106.61l9.33-51.28a4,4,0,1,0-7.88-1.44L98.48,92H48a4,4,0,0,0,0,8H97L86.84,156H32a4,4,0,0,0,0,8H85.39l-9.33,51.28a4,4,0,0,0,3.22,4.65A3.65,3.65,0,0,0,80,220a4,4,0,0,0,3.94-3.29L93.52,164h55.87l-9.33,51.28a4,4,0,0,0,3.22,4.65,3.65,3.65,0,0,0,.72.07,4,4,0,0,0,3.94-3.29L157.52,164H208a4,4,0,0,0,0-8H159l10.19-56H224a4,4,0,0,0,0-8Zm-73.16,64H95l10.19-56H161Z"},null,-1)])])):j("",!0)],16))}}),kre={key:0},xre={key:1},$re={key:2},Ere={key:3},_re={key:4},Tre={key:5},Are={name:"ScalarIconInfo"},vP=Z({...Are,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",kre,[...o[0]||(o[0]=[k("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",xre,[...o[1]||(o[1]=[k("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),k("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",$re,[...o[2]||(o[2]=[k("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Ere,[...o[3]||(o[3]=[k("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",_re,[...o[4]||(o[4]=[k("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Tre,[...o[5]||(o[5]=[k("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1)])])):j("",!0)],16))}}),Cre={key:0},Pre={key:1},Ire={key:2},Dre={key:3},Nre={key:4},Mre={key:5},Rre={name:"ScalarIconLink"},Lre=Z({...Rre,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Cre,[...o[0]||(o[0]=[k("path",{d:"M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Pre,[...o[1]||(o[1]=[k("path",{d:"M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L152.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),k("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Ire,[...o[2]||(o[2]=[k("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Dre,[...o[3]||(o[3]=[k("path",{d:"M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Nre,[...o[4]||(o[4]=[k("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Mre,[...o[5]||(o[5]=[k("path",{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},null,-1)])])):j("",!0)],16))}}),Bre={key:0},jre={key:1},Fre={key:2},Ure={key:3},Qre={key:4},zre={key:5},qre={name:"ScalarIconList"},Zre=Z({...qre,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Bre,[...o[0]||(o[0]=[k("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",jre,[...o[1]||(o[1]=[k("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),k("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Fre,[...o[2]||(o[2]=[k("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Ure,[...o[3]||(o[3]=[k("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Qre,[...o[4]||(o[4]=[k("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",zre,[...o[5]||(o[5]=[k("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1)])])):j("",!0)],16))}}),Hre={key:0},Vre={key:1},Xre={key:2},Wre={key:3},Yre={key:4},Gre={key:5},Kre={name:"ScalarIconLockSimple"},Jre=Z({...Kre,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Hre,[...o[0]||(o[0]=[k("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Vre,[...o[1]||(o[1]=[k("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),k("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Xre,[...o[2]||(o[2]=[k("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Wre,[...o[3]||(o[3]=[k("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Yre,[...o[4]||(o[4]=[k("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Gre,[...o[5]||(o[5]=[k("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)])])):j("",!0)],16))}}),eie={key:0},tie={key:1},nie={key:2},rie={key:3},iie={key:4},oie={key:5},aie={name:"ScalarIconMagnifyingGlass"},hb=Z({...aie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",eie,[...o[0]||(o[0]=[k("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",tie,[...o[1]||(o[1]=[k("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),k("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",nie,[...o[2]||(o[2]=[k("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"},null,-1)])])):O(r)==="light"?(g(),w("g",rie,[...o[3]||(o[3]=[k("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",iie,[...o[4]||(o[4]=[k("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",oie,[...o[5]||(o[5]=[k("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"},null,-1)])])):j("",!0)],16))}}),sie={key:0},lie={key:1},cie={key:2},uie={key:3},die={key:4},fie={key:5},pie={name:"ScalarIconPlay"},wP=Z({...pie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",sie,[...o[0]||(o[0]=[k("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",lie,[...o[1]||(o[1]=[k("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),k("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",cie,[...o[2]||(o[2]=[k("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1)])])):O(r)==="light"?(g(),w("g",uie,[...o[3]||(o[3]=[k("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",die,[...o[4]||(o[4]=[k("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",fie,[...o[5]||(o[5]=[k("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1)])])):j("",!0)],16))}}),hie={key:0},mie={key:1},gie={key:2},bie={key:3},Oie={key:4},yie={key:5},vie={name:"ScalarIconPlus"},a8=Z({...vie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",hie,[...o[0]||(o[0]=[k("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",mie,[...o[1]||(o[1]=[k("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),k("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",gie,[...o[2]||(o[2]=[k("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",bie,[...o[3]||(o[3]=[k("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Oie,[...o[4]||(o[4]=[k("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",yie,[...o[5]||(o[5]=[k("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"},null,-1)])])):j("",!0)],16))}}),wie={key:0},Sie={key:1},kie={key:2},xie={key:3},$ie={key:4},Eie={key:5},_ie={name:"ScalarIconScroll"},Tie=Z({..._ie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",wie,[...o[0]||(o[0]=[k("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Sie,[...o[1]||(o[1]=[k("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),k("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",kie,[...o[2]||(o[2]=[k("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1)])])):O(r)==="light"?(g(),w("g",xie,[...o[3]||(o[3]=[k("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",$ie,[...o[4]||(o[4]=[k("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Eie,[...o[5]||(o[5]=[k("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1)])])):j("",!0)],16))}}),Aie={key:0},Cie={key:1},Pie={key:2},Iie={key:3},Die={key:4},Nie={key:5},Mie={name:"ScalarIconTag"},Rie=Z({...Mie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Aie,[...o[0]||(o[0]=[k("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Cie,[...o[1]||(o[1]=[k("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"},null,-1),k("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Pie,[...o[2]||(o[2]=[k("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Iie,[...o[3]||(o[3]=[k("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Die,[...o[4]||(o[4]=[k("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Nie,[...o[5]||(o[5]=[k("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"},null,-1)])])):j("",!0)],16))}}),Lie={key:0},Bie={key:1},jie={key:2},Fie={key:3},Uie={key:4},Qie={key:5},zie={name:"ScalarIconTerminalWindow"},B$=Z({...zie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Lie,[...o[0]||(o[0]=[k("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Bie,[...o[1]||(o[1]=[k("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),k("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",jie,[...o[2]||(o[2]=[k("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Fie,[...o[3]||(o[3]=[k("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Uie,[...o[4]||(o[4]=[k("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Qie,[...o[5]||(o[5]=[k("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1)])])):j("",!0)],16))}}),qie={key:0},Zie={key:1},Hie={key:2},Vie={key:3},Xie={key:4},Wie={key:5},Yie={name:"ScalarIconTextAlignLeft"},Gie=Z({...Yie,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",qie,[...o[0]||(o[0]=[k("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Zie,[...o[1]||(o[1]=[k("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),k("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",Hie,[...o[2]||(o[2]=[k("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)])])):O(r)==="light"?(g(),w("g",Vie,[...o[3]||(o[3]=[k("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Xie,[...o[4]||(o[4]=[k("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Wie,[...o[5]||(o[5]=[k("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z"},null,-1)])])):j("",!0)],16))}}),Kie={key:0},Jie={key:1},eoe={key:2},toe={key:3},noe={key:4},roe={key:5},ioe={name:"ScalarIconTrash"},ooe=Z({...ioe,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",Kie,[...o[0]||(o[0]=[k("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Jie,[...o[1]||(o[1]=[k("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),k("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",eoe,[...o[2]||(o[2]=[k("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1)])])):O(r)==="light"?(g(),w("g",toe,[...o[3]||(o[3]=[k("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",noe,[...o[4]||(o[4]=[k("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",roe,[...o[5]||(o[5]=[k("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1)])])):j("",!0)],16))}}),aoe={key:0},soe={key:1},loe={key:2},coe={key:3},uoe={key:4},doe={key:5},foe={name:"ScalarIconWarningOctagon"},poe=Z({...foe,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",aoe,[...o[0]||(o[0]=[k("path",{d:"M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",soe,[...o[1]||(o[1]=[k("path",{d:"M224,91.55v72.9a8,8,0,0,1-2.34,5.66l-51.55,51.55a8,8,0,0,1-5.66,2.34H91.55a8,8,0,0,1-5.66-2.34L34.34,170.11A8,8,0,0,1,32,164.45V91.55a8,8,0,0,1,2.34-5.66L85.89,34.34A8,8,0,0,1,91.55,32h72.9a8,8,0,0,1,5.66,2.34l51.55,51.55A8,8,0,0,1,224,91.55Z",opacity:"0.2"},null,-1),k("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",loe,[...o[2]||(o[2]=[k("path",{d:"M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1)])])):O(r)==="light"?(g(),w("g",coe,[...o[3]||(o[3]=[k("path",{d:"M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",uoe,[...o[4]||(o[4]=[k("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",doe,[...o[5]||(o[5]=[k("path",{d:"M124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0ZM228,91.55v72.9a12,12,0,0,1-3.51,8.49l-51.55,51.55a12,12,0,0,1-8.49,3.51H91.55a12,12,0,0,1-8.49-3.51L31.51,172.94A12,12,0,0,1,28,164.45V91.55a12,12,0,0,1,3.51-8.49L83.06,31.51A12,12,0,0,1,91.55,28h72.9a12,12,0,0,1,8.49,3.51l51.55,51.55A12,12,0,0,1,228,91.55Zm-8,0a4,4,0,0,0-1.17-2.83L167.28,37.17A4.06,4.06,0,0,0,164.45,36H91.55a4.06,4.06,0,0,0-2.83,1.17L37.17,88.72A4,4,0,0,0,36,91.55v72.9a4,4,0,0,0,1.17,2.83l51.55,51.55A4.06,4.06,0,0,0,91.55,220h72.9a4.06,4.06,0,0,0,2.83-1.17l51.55-51.55a4,4,0,0,0,1.17-2.83ZM128,164a8,8,0,1,0,8,8A8,8,0,0,0,128,164Z"},null,-1)])])):j("",!0)],16))}}),hoe={key:0},moe={key:1},goe={key:2},boe={key:3},Ooe={key:4},yoe={key:5},voe={name:"ScalarIconWebhooksLogo"},mb=Z({...voe,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",hoe,[...o[0]||(o[0]=[k("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",moe,[...o[1]||(o[1]=[k("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),k("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",goe,[...o[2]||(o[2]=[k("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1)])])):O(r)==="light"?(g(),w("g",boe,[...o[3]||(o[3]=[k("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",Ooe,[...o[4]||(o[4]=[k("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",yoe,[...o[5]||(o[5]=[k("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1)])])):j("",!0)],16))}}),woe={key:0},Soe={key:1},koe={key:2},xoe={key:3},$oe={key:4},Eoe={key:5},_oe={name:"ScalarIconX"},Toe=Z({..._oe,props:{label:{},weight:{}},setup(e){const t=e,{bind:n,weight:r}=Kt(t);return(i,o)=>(g(),w("svg",ve({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},O(n)),[H(i.$slots,"default"),O(r)==="bold"?(g(),w("g",woe,[...o[0]||(o[0]=[k("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1)])])):O(r)==="duotone"?(g(),w("g",Soe,[...o[1]||(o[1]=[k("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),k("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):O(r)==="fill"?(g(),w("g",koe,[...o[2]||(o[2]=[k("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):O(r)==="light"?(g(),w("g",xoe,[...o[3]||(o[3]=[k("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1)])])):O(r)==="regular"?(g(),w("g",$oe,[...o[4]||(o[4]=[k("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)])])):O(r)==="thin"?(g(),w("g",Eoe,[...o[5]||(o[5]=[k("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1)])])):j("",!0)],16))}}),Aoe={},Coe=Z({...Aoe,__name:"ScalarCheckbox",props:{selected:{type:Boolean},type:{default:"checkbox"}},setup(e){return(t,n)=>(g(),w("div",{class:Oe(["flex size-4 items-center justify-center p-0.75",[t.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",t.type==="checkbox"?"rounded":"rounded-full"]])},[t.selected?(g(),R(O(o8),{key:0,class:"size-3",weight:"bold"})):j("",!0)],2))}}),SP=Symbol(),Poe=()=>Gt(SP,!1),Ioe=()=>{dn(SP,!0)},Doe={},gb=Z({...Doe,inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){const{cx:t}=gt(),n=Poe(),r=rr({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 px-3 py-2.5 ","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(i,o)=>(g(),R(Zt(i.is),ve({type:i.is==="button"?"button":void 0},O(t)(O(r)({button:i.is==="button",grouped:O(n)}))),{default:T(()=>[H(i.$slots,"default")]),_:3},16,["type"]))}}),Noe={class:"flex-1 text-left min-w-0 truncate"},Moe=["type"],Roe={},Loe=Z({...Roe,inheritAttrs:!1,__name:"ScalarCheckboxInput",props:Qn({type:{default:"checkbox"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=qn(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=gt();return(i,o)=>(g(),R(O(gb),ve({is:"label"},O(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:T(()=>[P(Coe,{selected:t.value,type:i.type,class:"shrink-0"},null,8,["selected","type"]),k("div",Noe,[H(i.$slots,"default")]),mo(k("input",ve({type:i.type,"onUpdate:modelValue":o[0]||(o[0]=a=>t.value=a),class:"sr-only"},O(r)),null,16,Moe),[[EC,t.value]])]),_:3},16))}}),Boe={},s8=Z({...Boe,inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){const{cx:t}=gt();return Ioe(),(n,r)=>(g(),R(Zt(n.is),wt(Rt(O(t)("flex flex-col border rounded divide-y"))),{default:T(()=>[H(n.$slots,"default")]),_:3},16))}}),joe={},Foe=Z({...joe,__name:"ScalarCheckboxRadioGroup",props:Qn({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=qn(e,"modelValue"),n=kn();return(r,i)=>(g(),R(O(s8),null,{default:T(()=>[(g(!0),w(he,null,rt(r.options,o=>(g(),R(Loe,{type:"radio",value:o.value,name:O(n),modelValue:t.value?.value===o.value,"onUpdate:modelValue":a=>t.value=a?o:void 0,key:o.value},{default:T(()=>[ie(me(o.label),1)]),_:2},1032,["value","name","modelValue","onUpdate:modelValue"]))),128))]),_:1}))}});let Mh=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Mh.prototype.normal={};Mh.prototype.property={};Mh.prototype.space=void 0;function kP(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Mh(n,r,t)}function U0(e){return e.toLowerCase()}class Yi{constructor(t,n){this.attribute=n,this.property=t}}Yi.prototype.attribute="";Yi.prototype.booleanish=!1;Yi.prototype.boolean=!1;Yi.prototype.commaOrSpaceSeparated=!1;Yi.prototype.commaSeparated=!1;Yi.prototype.defined=!1;Yi.prototype.mustUseProperty=!1;Yi.prototype.number=!1;Yi.prototype.overloadedBoolean=!1;Yi.prototype.property="";Yi.prototype.spaceSeparated=!1;Yi.prototype.space=void 0;let Uoe=0;const Ot=Nu(),sr=Nu(),p3=Nu(),_e=Nu(),yn=Nu(),Bd=Nu(),io=Nu();function Nu(){return 2**++Uoe}const h3=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ot,booleanish:sr,commaOrSpaceSeparated:io,commaSeparated:Bd,number:_e,overloadedBoolean:p3,spaceSeparated:yn},Symbol.toStringTag,{value:"Module"})),uv=Object.keys(h3);class l8 extends Yi{constructor(t,n,r,i){let o=-1;if(super(t,n),j$(this,"space",i),typeof r=="number")for(;++o<uv.length;){const a=uv[o];j$(this,uv[o],(r&h3[a])===h3[a])}}}l8.prototype.defined=!0;function j$(e,t,n){n&&(e[t]=n)}function Gf(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new l8(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[U0(r)]=r,n[U0(o.attribute)]=r}return new Mh(t,n,e.space)}const xP=Gf({properties:{ariaActiveDescendant:null,ariaAtomic:sr,ariaAutoComplete:null,ariaBusy:sr,ariaChecked:sr,ariaColCount:_e,ariaColIndex:_e,ariaColSpan:_e,ariaControls:yn,ariaCurrent:null,ariaDescribedBy:yn,ariaDetails:null,ariaDisabled:sr,ariaDropEffect:yn,ariaErrorMessage:null,ariaExpanded:sr,ariaFlowTo:yn,ariaGrabbed:sr,ariaHasPopup:null,ariaHidden:sr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:yn,ariaLevel:_e,ariaLive:null,ariaModal:sr,ariaMultiLine:sr,ariaMultiSelectable:sr,ariaOrientation:null,ariaOwns:yn,ariaPlaceholder:null,ariaPosInSet:_e,ariaPressed:sr,ariaReadOnly:sr,ariaRelevant:null,ariaRequired:sr,ariaRoleDescription:yn,ariaRowCount:_e,ariaRowIndex:_e,ariaRowSpan:_e,ariaSelected:sr,ariaSetSize:_e,ariaSort:null,ariaValueMax:_e,ariaValueMin:_e,ariaValueNow:_e,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function $P(e,t){return t in e?e[t]:t}function EP(e,t){return $P(e,t.toLowerCase())}const Qoe=Gf({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Bd,acceptCharset:yn,accessKey:yn,action:null,allow:null,allowFullScreen:Ot,allowPaymentRequest:Ot,allowUserMedia:Ot,alt:null,as:null,async:Ot,autoCapitalize:null,autoComplete:yn,autoFocus:Ot,autoPlay:Ot,blocking:yn,capture:null,charSet:null,checked:Ot,cite:null,className:yn,cols:_e,colSpan:null,content:null,contentEditable:sr,controls:Ot,controlsList:yn,coords:_e|Bd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ot,defer:Ot,dir:null,dirName:null,disabled:Ot,download:p3,draggable:sr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ot,formTarget:null,headers:yn,height:_e,hidden:p3,high:_e,href:null,hrefLang:null,htmlFor:yn,httpEquiv:yn,id:null,imageSizes:null,imageSrcSet:null,inert:Ot,inputMode:null,integrity:null,is:null,isMap:Ot,itemId:null,itemProp:yn,itemRef:yn,itemScope:Ot,itemType:yn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ot,low:_e,manifest:null,max:null,maxLength:_e,media:null,method:null,min:null,minLength:_e,multiple:Ot,muted:Ot,name:null,nonce:null,noModule:Ot,noValidate:Ot,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ot,optimum:_e,pattern:null,ping:yn,placeholder:null,playsInline:Ot,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ot,referrerPolicy:null,rel:yn,required:Ot,reversed:Ot,rows:_e,rowSpan:_e,sandbox:yn,scope:null,scoped:Ot,seamless:Ot,selected:Ot,shadowRootClonable:Ot,shadowRootDelegatesFocus:Ot,shadowRootMode:null,shape:null,size:_e,sizes:null,slot:null,span:_e,spellCheck:sr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:_e,step:null,style:null,tabIndex:_e,target:null,title:null,translate:null,type:null,typeMustMatch:Ot,useMap:null,value:sr,width:_e,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:yn,axis:null,background:null,bgColor:null,border:_e,borderColor:null,bottomMargin:_e,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ot,declare:Ot,event:null,face:null,frame:null,frameBorder:null,hSpace:_e,leftMargin:_e,link:null,longDesc:null,lowSrc:null,marginHeight:_e,marginWidth:_e,noResize:Ot,noHref:Ot,noShade:Ot,noWrap:Ot,object:null,profile:null,prompt:null,rev:null,rightMargin:_e,rules:null,scheme:null,scrolling:sr,standby:null,summary:null,text:null,topMargin:_e,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_e,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ot,disableRemotePlayback:Ot,prefix:null,property:null,results:_e,security:null,unselectable:null},space:"html",transform:EP}),zoe=Gf({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:io,accentHeight:_e,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:_e,amplitude:_e,arabicForm:null,ascent:_e,attributeName:null,attributeType:null,azimuth:_e,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:_e,by:null,calcMode:null,capHeight:_e,className:yn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:_e,diffuseConstant:_e,direction:null,display:null,dur:null,divisor:_e,dominantBaseline:null,download:Ot,dx:null,dy:null,edgeMode:null,editable:null,elevation:_e,enableBackground:null,end:null,event:null,exponent:_e,externalResourcesRequired:null,fill:null,fillOpacity:_e,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Bd,g2:Bd,glyphName:Bd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:_e,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:_e,horizOriginX:_e,horizOriginY:_e,id:null,ideographic:_e,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:_e,k:_e,k1:_e,k2:_e,k3:_e,k4:_e,kernelMatrix:io,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:_e,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:_e,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:_e,overlineThickness:_e,paintOrder:null,panose1:null,path:null,pathLength:_e,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:yn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:_e,pointsAtY:_e,pointsAtZ:_e,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:io,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:io,rev:io,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:io,requiredFeatures:io,requiredFonts:io,requiredFormats:io,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:_e,specularExponent:_e,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:_e,strikethroughThickness:_e,string:null,stroke:null,strokeDashArray:io,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:_e,strokeOpacity:_e,strokeWidth:null,style:null,surfaceScale:_e,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:io,tabIndex:_e,tableValues:null,target:null,targetX:_e,targetY:_e,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:io,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:_e,underlineThickness:_e,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:_e,values:null,vAlphabetic:_e,vMathematical:_e,vectorEffect:null,vHanging:_e,vIdeographic:_e,version:null,vertAdvY:_e,vertOriginX:_e,vertOriginY:_e,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:_e,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$P}),_P=Gf({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),TP=Gf({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:EP}),AP=Gf({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),qoe=/[A-Z]/g,F$=/-[a-z]/g,Zoe=/^data[-\w.:]+$/i;function bb(e,t){const n=U0(t);let r=t,i=Yi;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Zoe.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(F$,Voe);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!F$.test(o)){let a=o.replace(qoe,Hoe);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=l8}return new i(r,t)}function Hoe(e){return"-"+e.toLowerCase()}function Voe(e){return e.charAt(1).toUpperCase()}const Rh=kP([xP,Qoe,_P,TP,AP],"html"),Mu=kP([xP,zoe,_P,TP,AP],"svg");function U$(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);const a=n.slice(i,r).trim();(a||!o)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function CP(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Q$=/[#.]/g;function Xoe(e,t){const n=e||"",r={};let i=0,o,a;for(;i<n.length;){Q$.lastIndex=i;const s=Q$.exec(n),l=n.slice(i,s?s.index:n.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),s&&(o=s[0],i++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function m3(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function PP(e){return e.join(" ").trim()}function IP(e,t,n){const r=n?Koe(n):void 0;function i(o,a,...s){let l;if(o==null){l={type:"root",children:[]};const c=a;s.unshift(c)}else{l=Xoe(o,t);const c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,Woe(a))s.unshift(a);else for(const[d,f]of Object.entries(a))Yoe(e,l.properties,d,f)}for(const c of s)g3(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return i}function Woe(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const o=i;for(const a of o)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Yoe(e,t,n,r){const i=bb(e,n);let o;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;o=r}else typeof r=="boolean"?o=r:typeof r=="string"?i.spaceSeparated?o=m3(r):i.commaSeparated?o=U$(r):i.commaOrSpaceSeparated?o=m3(U$(r).join(" ")):o=z$(i,i.property,r):Array.isArray(r)?o=[...r]:o=i.property==="style"?Goe(r):String(r);if(Array.isArray(o)){const a=[];for(const s of o)a.push(z$(i,i.property,s));o=a}i.property==="className"&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function g3(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)g3(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?g3(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function z$(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||U0(n)===U0(t)))return!0}return n}function Goe(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Koe(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Joe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],eae=IP(Rh,"div"),tae=IP(Mu,"g",Joe);function nae(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(o){if(typeof o=="number"&&o>-1&&o<=t.length){let a=0;for(;;){let s=n[a];if(s===void 0){const l=q$(t,n[a-1]);s=l===-1?t.length+1:l+1,n[a]=s}if(s>o)return{line:a+1,column:o-(a>0?n[a-1]:0)+1,offset:o};a++}}}function i(o){if(o&&typeof o.line=="number"&&typeof o.column=="number"&&!Number.isNaN(o.line)&&!Number.isNaN(o.column)){for(;n.length<o.line;){const s=n[n.length-1],l=q$(t,s),c=l===-1?t.length+1:l+1;if(s===c)break;n.push(c)}const a=(o.line>1?n[o.line-2]:0)+o.column-1;if(a<n[o.line-1])return a}}}function q$(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
@@ -276,7 +276,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
276
276
|
constructor(\${params}) {
|
|
277
277
|
\${}
|
|
278
278
|
}
|
|
279
|
-
}`,{label:"class",detail:"definition",type:"keyword"}),Li('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Li('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],HDe=_H.concat([Li("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Li("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Li("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),fA=new SZ,TH=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Xp(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const VDe=["FunctionDeclaration"],XDe={FunctionDeclaration:Xp("function"),ClassDeclaration:Xp("class"),ClassExpression:()=>!0,EnumDeclaration:Xp("constant"),TypeAliasDeclaration:Xp("type"),NamespaceDeclaration:Xp("namespace"),VariableDefinition(e,t){e.matchContext(VDe)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function AH(e,t){let n=fA.get(t);if(n)return n;let r=[],i=!0;function o(a,s){let l=e.sliceString(a.from,a.to);r.push({label:l,type:s})}return t.cursor(en.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let s=XDe[a.name];if(s&&s(a,o)||TH.has(a.name))return!1}else if(a.to-a.from>8192){for(let s of AH(e,a.node))r.push(s);return!1}}),fA.set(t,r),r}const pA=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,CH=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function WDe(e){let t=zn(e.state).resolveInner(e.pos,-1);if(CH.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&pA.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)TH.has(i.name)&&(r=r.concat(AH(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:pA}}const ps=il.define({name:"javascript",parser:ZDe.configure({props:[Zu.add({IfStatement:Wd({except:/^\s*({|else\b)/}),TryStatement:Wd({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:z9e,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:R6({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Wd({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Hu.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":KO,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),PH={test:e=>/^JSX/.test(e.name),facet:EZ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},IH=ps.configure({dialect:"ts"},"typescript"),DH=ps.configure({dialect:"jsx",props:[kk.add(e=>e.isTop?[PH]:void 0)]}),NH=ps.configure({dialect:"jsx ts",props:[kk.add(e=>e.isTop?[PH]:void 0)]},"typescript");let MH=e=>({label:e,type:"keyword"});const RH="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(MH),YDe=RH.concat(["declare","implements","private","protected","public"].map(MH));function GDe(e={}){let t=e.jsx?e.typescript?NH:DH:e.typescript?IH:ps,n=e.typescript?HDe.concat(YDe):_H.concat(RH);return new mp(t,[ps.data.of({autocomplete:PCe(CH,HZ(n))}),ps.data.of({autocomplete:WDe}),e.jsx?eNe:[]])}function KDe(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function hA(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return e.sliceString(r.from,Math.min(r.to,n));return""}const JDe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),eNe=Ze.inputHandler.of((e,t,n,r,i)=>{if((JDe?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!ps.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c;let{head:u}=l,d=zn(a).resolveInner(u-1,-1),f;if(d.name=="JSXStartTag"&&(d=d.parent),!(a.doc.sliceString(u-1,u)!=r||d.name=="JSXAttributeValue"&&d.to>u)){if(r==">"&&d.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(r=="/"&&d.name=="JSXStartCloseTag"){let p=d.parent,h=p.parent;if(h&&p.from==u-2&&((f=hA(a.doc,h.firstChild,u))||((c=h.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:Ce.cursor(u+m.length,-1),changes:{from:u,insert:m}}}}else if(r==">"){let p=KDe(d);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(u,u+2))&&(f=hA(a.doc,p,u)))return{range:l,changes:{from:u,insert:`</${f}>`}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),Wp=["_blank","_self","_top","_parent"],T4=["ascii","utf-8","utf-16","latin1","latin1"],A4=["get","post","put","delete"],C4=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],no=["true","false"],We={},tNe={a:{attrs:{href:null,ping:null,type:null,media:null,target:Wp,hreflang:null}},abbr:We,address:We,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:We,aside:We,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:We,base:{attrs:{href:null,target:Wp}},bdi:We,bdo:We,blockquote:{attrs:{cite:null}},body:We,br:We,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C4,formmethod:A4,formnovalidate:["novalidate"],formtarget:Wp,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:We,center:We,cite:We,code:We,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:We,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:We,div:We,dl:We,dt:We,em:We,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:We,figure:We,footer:We,form:{attrs:{action:null,name:null,"accept-charset":T4,autocomplete:["on","off"],enctype:C4,method:A4,novalidate:["novalidate"],target:Wp}},h1:We,h2:We,h3:We,h4:We,h5:We,h6:We,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:We,hgroup:We,hr:We,html:{attrs:{manifest:null}},i:We,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C4,formmethod:A4,formnovalidate:["novalidate"],formtarget:Wp,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:We,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:We,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:We,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:T4,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:We,noscript:We,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:We,param:{attrs:{name:null,value:null}},pre:We,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:We,rt:We,ruby:We,samp:We,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:T4}},section:We,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:We,source:{attrs:{src:null,type:null,media:null}},span:We,strong:We,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:We,summary:We,sup:We,table:We,tbody:We,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:We,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:We,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:We,time:{attrs:{datetime:null}},title:We,tr:We,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:We,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:We},LH={accesskey:null,class:null,contenteditable:no,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:no,autocorrect:no,autocapitalize:no,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":no,"aria-autocomplete":["inline","list","both","none"],"aria-busy":no,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":no,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":no,"aria-hidden":no,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":no,"aria-multiselectable":no,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":no,"aria-relevant":null,"aria-required":no,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},BH="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of BH)LH[e]=null;let I2=class{constructor(t,n){this.tags={...tNe,...t},this.globalAttrs={...LH,...n},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};I2.default=new I2;function Af(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function Cf(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function jH(e,t,n){let r=n.tags[Af(e,Cf(t))];return r?.children||n.allTags}function Bk(e,t){let n=[];for(let r=Cf(t);r&&!r.type.isTop;r=Cf(r.parent)){let i=Af(e,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(i)}return n}const FH=/^[:\-\.\w\u00b7-\uffff]*$/;function mA(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=Cf(n,n.name=="StartTag"||n.name=="TagName");return{from:r,to:i,options:jH(e.doc,a,t).map(s=>({label:s,type:"type"})).concat(Bk(e.doc,n).map((s,l)=>({label:"/"+s,apply:"/"+s+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function gA(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:Bk(e.doc,t).map((o,a)=>({label:o,apply:o+i,type:"type",boost:99-a})),validFor:FH}}function nNe(e,t,n,r){let i=[],o=0;for(let a of jH(e.doc,n,t))i.push({label:"<"+a,type:"type"});for(let a of Bk(e.doc,n))i.push({label:"</"+a+">",type:"type",boost:99-o++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function rNe(e,t,n,r,i){let o=Cf(n),a=o?t.tags[Af(e.doc,o)]:null,s=a&&a.attrs?Object.keys(a.attrs):[],l=a&&a.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:FH}}function iNe(e,t,n,r,i){var o;let a=(o=n.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),s=[],l;if(a){let c=e.sliceDoc(a.from,a.to),u=t.globalAttrs[c];if(!u){let d=Cf(n),f=d?t.tags[Af(e.doc,d)]:null;u=f?.attrs&&f.attrs[c]}if(u){let d=e.sliceDoc(r,i).toLowerCase(),f='"',p='"';/^['"]/.test(d)?(l=d[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",p=e.sliceDoc(i,i+1)==d[0]?"":d[0],d=d.slice(1),r++):l=/^[^\s<>='"]*$/;for(let h of u)s.push({label:h,apply:f+h+p,type:"constant"})}}return{from:r,to:i,options:s,validFor:l}}function oNe(e,t){let{state:n,pos:r}=t,i=zn(n).resolveInner(r,-1),o=i.resolve(r);for(let a=r,s;o==i&&(s=i.childBefore(a));){let l=s.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=i=s,a=l.from}return i.name=="TagName"?i.parent&&/CloseTag$/.test(i.parent.name)?gA(n,i,i.from,r):mA(n,e,i,i.from,r):i.name=="StartTag"||i.name=="IncompleteTag"?mA(n,e,i,r,r):i.name=="StartCloseTag"||i.name=="IncompleteCloseTag"?gA(n,i,r,r):i.name=="OpenTag"||i.name=="SelfClosingTag"||i.name=="AttributeName"?rNe(n,e,i,i.name=="AttributeName"?i.from:r,r):i.name=="Is"||i.name=="AttributeValue"||i.name=="UnquotedAttributeValue"?iNe(n,e,i,i.name=="Is"?r:i.from,r):t.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?nNe(n,e,i,r):null}function aNe(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new I2(t,n):I2.default;return i=>oNe(r,i)}const sNe=ps.parser.configure({top:"SingleExpression"}),UH=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:IH.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:DH.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:NH.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:sNe},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:ps.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:C2.parser}],QH=[{name:"style",parser:C2.parser.configure({top:"Styles"})}].concat(BH.map(e=>({name:e,parser:ps.parser}))),zH=il.define({name:"html",parser:hDe.configure({props:[Zu.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let r=e.node;;){let i=r.lastChild;if(!i||i.name!="Element"||i.to!=r.to)break;t=r=i}return t&&!((n=t.lastChild)&&(n.name=="CloseTag"||n.name=="SelfClosingTag"))?e.lineIndent(t.from)+e.unit:null}}),Hu.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),Ek.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),yg=zH.configure({wrap:$H(UH,QH)});function lNe(e={}){let t="",n;e.matchClosingTags===!1&&(t="noMatch"),e.selfClosingTags===!0&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=$H((e.nestedLanguages||[]).concat(UH),(e.nestedAttributes||[]).concat(QH)));let r=n?zH.configure({wrap:n,dialect:t}):t?yg.configure({dialect:t}):yg;return new mp(r,[yg.data.of({autocomplete:aNe(e)}),e.autoCloseTags!==!1?cNe:[],GDe().support,mH().support])}const bA=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),cNe=Ze.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!yg.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c,u,d;let f=a.doc.sliceString(l.from-1,l.to)==r,{head:p}=l,h=zn(a).resolveInner(p,-1),m;if(f&&r==">"&&h.name=="EndTag"){let b=h.parent;if(((u=(c=b.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(m=Af(a.doc,b.parent,p))&&!bA.has(m)){let y=p+(a.doc.sliceString(p,p+1)===">"?1:0),$=`</${m}>`;return{range:l,changes:{from:p,to:y,insert:$}}}}else if(f&&r=="/"&&h.name=="IncompleteCloseTag"){let b=h.parent;if(h.from==p-2&&((d=b.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(m=Af(a.doc,b,p))&&!bA.has(m)){let y=p+(a.doc.sliceString(p,p+1)===">"?1:0),$=`${m}>`;return{range:Ce.cursor(p+$.length,-1),changes:{from:p,to:y,insert:$}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),uNe=qu({String:U.string,Number:U.number,"True False":U.bool,PropertyName:U.propertyName,Null:U.null,", :":U.separator,"[ ]":U.squareBracket,"{ }":U.brace}),dNe=al.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[uNe],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),fNe=il.define({name:"json",parser:dNe.configure({props:[Zu.add({Object:Wd({except:/^\s*\}/}),Array:Wd({except:/^\s*\]/})}),Hu.add({"Object Array":KO})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function pNe(){return new mp(fNe)}const V6=1,hNe=2,mNe=3,gNe=4,bNe=5,ONe=36,yNe=37,vNe=38,wNe=11,SNe=13;function kNe(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function xNe(e){return e==9||e==10||e==13||e==32}let OA=null,yA=null,vA=0;function X6(e,t){let n=e.pos+t;if(yA==e&&vA==n)return OA;for(;xNe(e.peek(t));)t++;let r="";for(;;){let i=e.peek(t);if(!kNe(i))break;r+=String.fromCharCode(i),t++}return yA=e,vA=n,OA=r||null}function wA(e,t){this.name=e,this.parent=t}const $Ne=new ty({start:null,shift(e,t,n,r){return t==V6?new wA(X6(r,1)||"",e):e},reduce(e,t){return t==wNe&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==V6||i==SNe?new wA(X6(r,1)||"",e):e},strict:!1}),ENe=new Er((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=X6(e,0);if(!n)return e.acceptToken(bNe);if(t.context&&n==t.context.name)return e.acceptToken(hNe);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(mNe,-2);e.acceptToken(gNe)}else if(e.next!=33&&e.next!=63)return e.acceptToken(V6)}},{contextual:!0});function jk(e,t){return new Er(n=>{let r=0,i=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==i){for(let o=1;o<t.length;o++)if(n.peek(o)!=t.charCodeAt(o))continue e;break}r&&n.acceptToken(e)})}const _Ne=jk(ONe,"-->"),TNe=jk(yNe,"?>"),ANe=jk(vNe,"]]>"),CNe=qu({Text:U.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":U.angleBracket,TagName:U.tagName,"MismatchedCloseTag/TagName":[U.tagName,U.invalid],AttributeName:U.attributeName,AttributeValue:U.attributeValue,Is:U.definitionOperator,"EntityReference CharacterReference":U.character,Comment:U.blockComment,ProcessingInst:U.processingInstruction,DoctypeDecl:U.documentMeta,Cdata:U.special(U.string)}),PNe=al.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:$Ne,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[CNe],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[ENe,_Ne,TNe,ANe,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function vg(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function P4(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":vg(e,n)}function INe(e,t,n){let r=t&&t.getChildren("Attribute").find(o=>o.from<=n&&o.to>=n),i=r&&r.getChild("AttributeName");return i?e.sliceString(i.from,i.to):""}function I4(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function DNe(e,t){var n;let r=zn(e).resolveInner(t,-1),i=null;for(let o=r;!i&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(i=o);if(i&&(i.to>t||i.lastChild.type.isError)){let o=i.parent;if(r.name=="TagName")return i.name=="CloseTag"||i.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:o}:{type:"openTag",from:r.from,context:I4(o)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:i};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:i};let a=r==i||r.name=="Attribute"?r.childBefore(t):r;return a?.name=="StartTag"?{type:"openTag",from:t,context:I4(o)}:a?.name=="StartCloseTag"&&a.to<=t?{type:"closeTag",from:t,context:o}:a?.name=="Is"?{type:"attrValue",from:t,context:i}:a?{type:"attrName",from:t,context:i}:null}else if(r.name=="StartCloseTag")return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(!((n=r.lastChild)===null||n===void 0)&&n.type.isError);)r=r.parent;return r.name=="Element"||r.name=="Text"||r.name=="Document"?{type:"tag",from:t,context:r.name=="Element"?r:I4(r)}:null}let NNe=class{constructor(t,n,r){this.attrs=n,this.attrValues=r,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(i=>({label:i,type:"text"})):[]}};const D4=/^[:\-\.\w\u00b7-\uffff]*$/;function SA(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function kA(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function MNe(e,t){let n=[],r=[],i=Object.create(null);for(let l of t){let c=SA(l);n.push(c),l.global&&r.push(c),l.values&&(i[l.name]=l.values.map(kA))}let o=[],a=[],s=Object.create(null);for(let l of e){let c=r,u=i;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(p=>p.label==f)||{label:f,type:"property"}:(f.values&&(u==i&&(u=Object.create(u)),u[f.name]=f.values.map(kA)),SA(f)))));let d=new NNe(l,c,u);s[d.name]=d,o.push(d),l.top&&a.push(d)}a.length||(a=o);for(let l=0;l<o.length;l++){let c=e[l],u=o[l];if(c.children)for(let d of c.children)s[d]&&u.children.push(s[d]);else u.children=o}return l=>{var c;let{doc:u}=l.state,d=DNe(l.state,l.pos);if(!d||d.type=="tag"&&!l.explicit)return null;let{type:f,from:p,context:h}=d;if(f=="openTag"){let m=a,b=P4(u,h);if(b){let y=s[b];m=y?.children||o}return{from:p,options:m.map(y=>y.completion),validFor:D4}}else if(f=="closeTag"){let m=P4(u,h);return m?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=s[m])===null||c===void 0?void 0:c.closeNameCompletion)||{label:m+">",type:"type"}],validFor:D4}:null}else if(f=="attrName"){let m=s[vg(u,h)];return{from:p,options:m?.attrs||r,validFor:D4}}else if(f=="attrValue"){let m=INe(u,h,p);if(!m)return null;let b=s[vg(u,h)],y=(b?.attrValues||i)[m];return!y||!y.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:y,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let m=P4(u,h),b=s[m],y=[],$=h&&h.lastChild;m&&(!$||$.name!="CloseTag"||vg(u,$)!=m)&&y.push(b?b.closeCompletion:{label:"</"+m+">",type:"type",boost:2});let x=y.concat((b?.children||(h?o:a)).map(_=>_.openCompletion));if(h&&b?.text.length){let _=h.firstChild;_.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(_.to,l.pos))&&(x=x.concat(b.text))}return{from:p,options:x,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W6=il.define({name:"xml",parser:PNe.configure({props:[Zu.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Hu.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),Ek.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function RNe(e={}){let t=[W6.data.of({autocomplete:MNe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(LNe),new mp(W6,t)}function xA(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}const LNe=Ze.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!W6.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c,u,d;let{head:f}=l,p=a.doc.sliceString(f-1,f)==r,h=zn(a).resolveInner(f,-1),m;if(p&&r==">"&&h.name=="EndTag"){let b=h.parent;if(((u=(c=b.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(m=xA(a.doc,b.parent,f))){let y=f+(a.doc.sliceString(f,f+1)===">"?1:0),$=`</${m}>`;return{range:l,changes:{from:f,to:y,insert:$}}}}else if(p&&r=="/"&&h.name=="StartCloseTag"){let b=h.parent;if(h.from==f-2&&((d=b.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(m=xA(a.doc,b,f))){let y=f+(a.doc.sliceString(f,f+1)===">"?1:0),$=`${m}>`;return{range:Ce.cursor(f+$.length,-1),changes:{from:f,to:y,insert:$}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),kd=63,$A=64,BNe=1,jNe=2,qH=3,FNe=4,ZH=5,UNe=6,QNe=7,HH=65,zNe=66,qNe=8,ZNe=9,HNe=10,VNe=11,XNe=12,VH=13,WNe=19,YNe=20,GNe=29,KNe=33,JNe=34,eMe=47,tMe=0,Fk=1,Y6=2,hh=3,G6=4;class Fc{constructor(t,n,r){this.parent=t,this.depth=n,this.type=r,this.hash=(t?t.hash+t.hash<<8:0)+n+(n<<4)+r}}Fc.top=new Fc(null,-1,tMe);function D0(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let i=e.peek(r);if(sl(i)||i==-1)return n}}function K6(e){return e==32||e==9}function sl(e){return e==10||e==13}function XH(e){return K6(e)||sl(e)}function tu(e){return e<0||XH(e)}const nMe=new ty({start:Fc.top,reduce(e,t){return e.type==hh&&(t==YNe||t==JNe)?e.parent:e},shift(e,t,n,r){if(t==qH)return new Fc(e,D0(r,r.pos),Fk);if(t==HH||t==ZH)return new Fc(e,D0(r,r.pos),Y6);if(t==kd)return e.parent;if(t==WNe||t==KNe)return new Fc(e,0,hh);if(t==VH&&e.type==G6)return e.parent;if(t==eMe){let i=/[1-9]/.exec(r.read(r.pos,n.pos));if(i)return new Fc(e,e.depth+ +i[0],G6)}return e},hash(e){return e.hash}});function Pf(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&tu(e.peek(n+3))}const rMe=new Er((e,t)=>{if(e.next==-1&&t.canShift($A))return e.acceptToken($A);let n=e.peek(-1);if((sl(n)||n<0)&&t.context.type!=hh){if(Pf(e,45))if(t.canShift(kd))e.acceptToken(kd);else return e.acceptToken(BNe,3);if(Pf(e,46))if(t.canShift(kd))e.acceptToken(kd);else return e.acceptToken(jNe,3);let r=0;for(;e.next==32;)r++,e.advance();(r<t.context.depth||r==t.context.depth&&t.context.type==Fk&&(e.next!=45||!tu(e.peek(1))))&&e.next!=-1&&!sl(e.next)&&e.next!=35&&e.acceptToken(kd,-r)}},{contextual:!0}),iMe=new Er((e,t)=>{if(t.context.type==hh){e.next==63&&(e.advance(),tu(e.next)&&e.acceptToken(QNe));return}if(e.next==45)e.advance(),tu(e.next)&&e.acceptToken(t.context.type==Fk&&t.context.depth==D0(e,e.pos-1)?FNe:qH);else if(e.next==63)e.advance(),tu(e.next)&&e.acceptToken(t.context.type==Y6&&t.context.depth==D0(e,e.pos-1)?UNe:ZH);else{let n=e.pos;for(;;)if(K6(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)WH(e);else if(e.next==38)J6(e);else if(e.next==42){J6(e);break}else if(e.next==39||e.next==34){if(Uk(e,!0))break;return}else if(e.next==91||e.next==123){if(!aMe(e))return;break}else{YH(e,!0,!1,0);break}for(;K6(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(GNe))return;let r=e.peek(1);tu(r)&&e.acceptTokenTo(t.context.type==Y6&&t.context.depth==D0(e,n)?zNe:HH,n)}}},{contextual:!0});function oMe(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function EA(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function _A(e,t){return e.next==37?(e.advance(),EA(e.next)&&e.advance(),EA(e.next)&&e.advance(),!0):oMe(e.next)||t&&e.next==44?(e.advance(),!0):!1}function WH(e){if(e.advance(),e.next==60){for(e.advance();;)if(!_A(e,!0)){e.next==62&&e.advance();break}}else for(;_A(e,!1););}function J6(e){for(e.advance();!tu(e.next)&&D2(e.tag)!="f";)e.advance()}function Uk(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==n)if(o==39)if(e.next==39)e.advance();else break;else break;else if(o==92&&n==34)e.next>=0&&e.advance();else if(sl(o)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function aMe(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!Uk(e,!0))return!1}else if(e.next==93||e.next==125){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>n||sl(e.next))return!1;e.advance()}}const sMe="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function D2(e){return e<33?"u":e>125?"s":sMe[e-33]}function N4(e,t){let n=D2(e);return n!="u"&&!(t&&n=="f")}function YH(e,t,n,r){if(D2(e.next)=="s"||(e.next==63||e.next==58||e.next==45)&&N4(e.peek(1),n))e.advance();else return!1;let i=e.pos;for(;;){let o=e.next,a=0,s=r+1;for(;XH(o);){if(sl(o)){if(t)return!1;s=0}else s++;o=e.peek(++a)}if(!(o>=0&&(o==58?N4(e.peek(a+1),n):o==35?e.peek(a-1)!=32:N4(o,n)))||!n&&s<=r||s==0&&!n&&(Pf(e,45,a)||Pf(e,46,a)))break;if(t&&D2(o)=="f")return!1;for(let c=a;c>=0;c--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}const lMe=new Er((e,t)=>{if(e.next==33)WH(e),e.acceptToken(XNe);else if(e.next==38||e.next==42){let n=e.next==38?HNe:VNe;J6(e),e.acceptToken(n)}else e.next==39||e.next==34?(Uk(e,!1),e.acceptToken(ZNe)):YH(e,!1,t.context.type==hh,t.context.depth)&&e.acceptToken(qNe)}),cMe=new Er((e,t)=>{let n=t.context.type==G6?t.context.depth:-1,r=e.pos;e:for(;;){let i=0,o=e.next;for(;o==32;)o=e.peek(++i);if(!i&&(Pf(e,45,i)||Pf(e,46,i))||!sl(o)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break e;let a=sl(e.next);if(e.advance(),a)continue e;r=e.pos}}e.acceptTokenTo(VH,r)}),uMe=qu({DirectiveName:U.keyword,DirectiveContent:U.attributeValue,"DirectiveEnd DocEnd":U.meta,QuotedLiteral:U.string,BlockLiteralHeader:U.special(U.string),BlockLiteralContent:U.content,Literal:U.content,"Key/Literal Key/QuotedLiteral":U.definition(U.propertyName),"Anchor Alias":U.labelName,Tag:U.typeName,Comment:U.lineComment,": , -":U.separator,"?":U.punctuation,"[ ]":U.squareBracket,"{ }":U.brace}),dMe=al.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:nMe,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[uMe],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[rMe,iMe,lMe,cMe,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),fMe=il.define({name:"yaml",parser:dMe.configure({props:[Zu.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name=="BlockLiteralContent"&&t.from<t.to)return e.baseIndentFor(t);if(t.name=="BlockLiteral")return e.baseIndentFor(t)+e.unit;if(t.name=="BlockSequence"||t.name=="BlockMapping")return e.column(t.from,1);if(t.name=="QuotedLiteral")return null;if(t.name=="Literal"){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:R6({closing:"}"}),FlowSequence:R6({closing:"]"})}),Hu.add({"FlowMapping FlowSequence":KO,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function pMe(){return new mp(fMe)}class TA{constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class Uc{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let i=r.facet(os).markerFilter;i&&(t=i(t,r));let o=t.slice().sort((p,h)=>p.from-h.from||p.to-h.to),a=new nl,s=[],l=0,c=r.doc.iter(),u=0,d=r.doc.length;for(let p=0;;){let h=p==o.length?null:o[p];if(!h&&!s.length)break;let m,b;if(s.length)m=l,b=s.reduce((x,_)=>Math.min(x,_.to),h&&h.from>m?h.from:1e8);else{if(m=h.from,m>d)break;b=h.to,s.push(h),p++}for(;p<o.length;){let x=o[p];if(x.from==m&&(x.to>x.from||x.to==m))s.push(x),p++,b=Math.min(x.to,b);else{b=Math.min(x.from,b);break}}b=Math.min(b,d);let y=!1;if(s.some(x=>x.from==m&&(x.to==b||b==d))&&(y=m==b,!y&&b-m<10)){let x=m-(u+c.value.length);x>0&&(c.next(x),u=m);for(let _=m;;){if(_>=b){y=!0;break}if(!c.lineBreak&&u+c.value.length>_)break;_=u+c.value.length,u+=c.value.length,c.next()}}let $=_Me(s);if(y)a.add(m,m,st.widget({widget:new kMe($),diagnostics:s.slice()}));else{let x=s.reduce((_,E)=>E.markClass?_+" "+E.markClass:_,"");a.add(m,b,st.mark({class:"cm-lintRange cm-lintRange-"+$+x,diagnostics:s.slice(),inclusiveEnd:s.some(_=>_.to>b)}))}if(l=b,l==d)break;for(let x=0;x<s.length;x++)s[x].to<=l&&s.splice(x--,1)}let f=a.finish();return new Uc(f,n,If(f))}}function If(e,t=null,n=0){let r=null;return e.between(n,1e9,(i,o,{spec:a})=>{if(!(t&&a.diagnostics.indexOf(t)<0))if(!r)r=new TA(i,o,t||a.diagnostics[0]);else{if(a.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new TA(r.from,o,r.diagnostic)}}),r}function hMe(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(os).hideOn(e,n,r);if(i!=null)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(a=>a.is(Qk))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}function mMe(e,t){return e.field(ha,!1)?t:t.concat(Et.appendConfig.of(tV))}function gMe(e,t){return{effects:mMe(e,[Qk.of(t)])}}const Qk=Et.define(),GH=Et.define(),KH=Et.define(),ha=Ii.define({create(){return new Uc(st.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let o=t.changes.mapPos(e.selected.from,1);r=If(n,e.selected.diagnostic,o)||If(n,null,o)}!n.size&&i&&t.state.facet(os).autoPanel&&(i=null),e=new Uc(n,i,r)}for(let n of t.effects)if(n.is(Qk)){let r=t.state.facet(os).autoPanel?n.value.length?N2.open:null:e.panel;e=Uc.init(n.value,r,t.state)}else n.is(GH)?e=new Uc(e.diagnostics,n.value?N2.open:null,e.selected):n.is(KH)&&(e=new Uc(e.diagnostics,e.panel,n.value));return e},provide:e=>[C6.from(e,t=>t.panel),Ze.decorations.from(e,t=>t.diagnostics)]}),bMe=st.mark({class:"cm-lintRange cm-lintRange-active"});function OMe(e,t,n){let{diagnostics:r}=e.state.field(ha),i,o=-1,a=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(l,c,{spec:u})=>{if(t>=l&&t<=c&&(l==c||(t>l||n>0)&&(t<c||n<0)))return i=u.diagnostics,o=l,a=c,!1});let s=e.state.facet(os).tooltipFilter;return i&&s&&(i=s(i,e.state)),i?{pos:o,end:a,above:e.state.doc.lineAt(o).to<a,create(){return{dom:yMe(e,i)}}}:null}function yMe(e,t){return Ja("ul",{class:"cm-tooltip-lint"},t.map(n=>eV(e,n,!1)))}const AA=e=>{let t=e.state.field(ha,!1);return!t||!t.panel?!1:(e.dispatch({effects:GH.of(!1)}),!0)},vMe=xr.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(os);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:t}=this.view,{sources:n}=t.facet(os);n.length&&wMe(n.map(r=>Promise.resolve(r(this.view))),r=>{this.view.state.doc==t.doc&&this.view.dispatch(gMe(this.view.state,r.reduce((i,o)=>i.concat(o))))},r=>{Ei(this.view.state,r)})}}update(e){let t=e.state.facet(os);(e.docChanged||t!=e.startState.facet(os)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function wMe(e,t,n){let r=[],i=-1;for(let o of e)o.then(a=>{r.push(a),clearTimeout(i),r.length==e.length?t(r):i=setTimeout(()=>t(r),200)},n)}const os=Qe.define({combine(e){return{sources:e.map(t=>t.source).filter(t=>t!=null),...zu(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:CA,tooltipFilter:CA,needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n,hideOn:(t,n)=>t?n?(r,i,o)=>t(r,i,o)||n(r,i,o):t:n,autoPanel:(t,n)=>t||n})}}});function CA(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function SMe(e,t={}){return[os.of({source:e,config:t}),vMe,tV]}function JH(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;r<n.length;r++){let i=n[r];if(/[a-zA-Z]/.test(i)&&!t.some(o=>o.toLowerCase()==i.toLowerCase())){t.push(i);continue e}}t.push("")}return t}function eV(e,t,n){var r;let i=n?JH(t.actions):[];return Ja("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ja("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((o,a)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let h=If(e.state.field(ha).diagnostics,t);h&&o.apply(e,h.from,h.to)},{name:c}=o,u=i[a]?c.indexOf(i[a]):-1,d=u<0?c:[c.slice(0,u),Ja("u",c.slice(u,u+1)),c.slice(u+1)],f=o.markClass?" "+o.markClass:"";return Ja("button",{type:"button",class:"cm-diagnosticAction"+f,onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${i[a]})"`}.`},d)}),t.source&&Ja("div",{class:"cm-diagnosticSource"},t.source))}class kMe extends xo{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return Ja("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class PA{constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=eV(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class N2{constructor(t){this.view=t,this.items=[];let n=i=>{if(i.keyCode==27)AA(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],a=JH(o.actions);for(let s=0;s<a.length;s++)if(a[s].toUpperCase().charCodeAt(0)==i.keyCode){let l=If(this.view.state.field(ha).diagnostics,o);l&&o.actions[s].apply(t,l.from,l.to)}}else return;i.preventDefault()},r=i=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(i.target)&&this.moveSelection(o)};this.list=Ja("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:n,onclick:r}),this.dom=Ja("div",{class:"cm-panel-lint"},this.list,Ja("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>AA(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(ha).selected;if(!t)return-1;for(let n=0;n<this.items.length;n++)if(this.items[n].diagnostic==t.diagnostic)return n;return-1}update(){let{diagnostics:t,selected:n}=this.view.state.field(ha),r=0,i=!1,o=null,a=new Set;for(t.between(0,this.view.state.doc.length,(s,l,{spec:c})=>{for(let u of c.diagnostics){if(a.has(u))continue;a.add(u);let d=-1,f;for(let p=r;p<this.items.length;p++)if(this.items[p].diagnostic==u){d=p;break}d<0?(f=new PA(this.view,u),this.items.splice(r,0,f),i=!0):(f=this.items[d],d>r&&(this.items.splice(r,d-r),i=!0)),n&&f.diagnostic==n.diagnostic?f.dom.hasAttribute("aria-selected")||(f.dom.setAttribute("aria-selected","true"),o=f):f.dom.hasAttribute("aria-selected")&&f.dom.removeAttribute("aria-selected"),r++}});r<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new PA(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:l})=>{let c=l.height/this.list.offsetHeight;s.top<l.top?this.list.scrollTop-=(l.top-s.top)/c:s.bottom>l.bottom&&(this.list.scrollTop+=(s.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let t=this.list.firstChild;function n(){let r=t;t=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;t!=r.dom;)n();t=r.dom.nextSibling}else this.list.insertBefore(r.dom,t);for(;t;)n()}moveSelection(t){if(this.selectedIndex<0)return;let n=this.view.state.field(ha),r=If(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:KH.of(r)})}static open(t){return new N2(t)}}function xMe(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function F1(e){return xMe(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const $Me=Ze.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:F1("#d11")},".cm-lintRange-warning":{backgroundImage:F1("orange")},".cm-lintRange-info":{backgroundImage:F1("#999")},".cm-lintRange-hint":{backgroundImage:F1("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function EMe(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function _Me(e){let t="hint",n=1;for(let r of e){let i=EMe(r.severity);i>n&&(n=i,t=r.severity)}return t}const tV=[ha,Ze.decorations.compute([ha],e=>{let{selected:t,panel:n}=e.field(ha);return!t||!n||t.from==t.to?st.none:st.set([bMe.range(t.from,t.to)])}),KAe(OMe,{hideOn:hMe}),$Me],TMe=({theme:e,settings:t={},styles:n=[]})=>{const r={".cm-gutters":{}},i={};t.background&&(i.backgroundColor=t.background),t.backgroundImage&&(i.backgroundImage=t.backgroundImage),t.foreground&&(i.color=t.foreground),t.fontSize&&(i.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=i),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});const o={};t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},o.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=o,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch});const a=Ze.theme(r,{dark:e==="dark"}),s=wm.define(n);return[a,BZ(s)]},AMe=TMe({theme:"light",settings:{background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",caret:"var(--scalar-color-1)",selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"},styles:[{tag:[U.standard(U.tagName),U.tagName],color:"var(--scalar-color-purple)"},{tag:[U.comment],color:"var(--scalar-color-3)"},{tag:[U.className],color:"var(--scalar-color-orange)"},{tag:[U.variableName,U.propertyName,U.attributeName],color:"var(--scalar-color-1)"},{tag:[U.operator],color:"var(--scalar-color-2)"},{tag:[U.keyword,U.typeName,U.typeOperator],color:"var(--scalar-color-green)"},{tag:[U.string],color:"var(--scalar-color-blue)"},{tag:[U.bracket,U.regexp,U.meta],color:"var(--scalar-color-3)"},{tag:[U.number],color:"var(--scalar-color-orange)"},{tag:[U.name,U.quote],color:"var(--scalar-color-3)"},{tag:[U.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[U.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[U.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[U.atom,U.bool,U.special(U.variableName)],color:"var(--scalar-color-3)"},{tag:[U.url,U.escape,U.regexp,U.link],color:"var(--scalar-color-1)"},{tag:U.link,textDecoration:"underline"},{tag:U.strikethrough,textDecoration:"line-through"},{tag:U.invalid,color:"var(--scalar-color-3)"}]}),IA=new pZ({regexp:/(\{[^}]+\})/g,decoration:()=>st.mark({attributes:{class:"api-client-url-variable"}})}),CMe=()=>xr.fromClass(class{variables;constructor(e){this.variables=IA.createDeco(e)}update(e){this.variables=IA.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>Ze.atomicRanges.of(t=>t.plugin(e)?.variables||st.none)}),fd=e=>"provider"in e&&!!ke(e.provider),PMe={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},IMe=e=>{const t=ee(null),n=(o="")=>{t.value&&t.value.state.doc.toString()!==o&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:o},selection:{anchor:Math.min(t.value.state.selection.main.anchor,o.length)}})},r=I(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:ke(e.disableTabIndent),language:ke(e.language),classes:ke(e.classes),readOnly:ke(e.readOnly),lineNumbers:ke(e.lineNumbers),withVariables:ke(e.withVariables),forceFoldGutter:ke(e.forceFoldGutter),disableEnter:ke(e.disableEnter),disableCloseBrackets:ke(e.disableCloseBrackets),withoutTheme:ke(e.withoutTheme),lint:ke(e.lint),additionalExtensions:ke(e.extensions),placeholder:ke(e.placeholder)}));Ke(e.codeMirrorRef,()=>{t.value?.destroy(),i()},{immediate:!0}),Pu(()=>t.value?.destroy());function i(){if(e.codeMirrorRef.value){const o=fd(e)?ke(e.provider):null,a=NA({...r.value,provider:o});t.value=new Ze({parent:e.codeMirrorRef.value,extensions:a}),fd(e)||n(ke(e.content))}}return Ke(()=>fd(e)?ke(e.provider):null,()=>{fd(e)&&(t.value?.destroy(),i())}),Ke(r,()=>{if(!t.value)return;const o=fd(e)?ke(e.provider):null,a=NA({...r.value,provider:o});requestAnimationFrame(()=>{t.value?.dispatch({effects:Et.reconfigure.of(a)})})},{immediate:!0}),Ke(()=>ke(e.content),()=>{fd(e)||n(ke(e.content))},{immediate:!0}),{setCodeMirrorContent:n,codeMirror:t}},DA={html:lNe,json:pNe,yaml:pMe,css:mH,xml:RNe};function NA({onChange:e,onBlur:t,onFocus:n,provider:r,language:i,classes:o=[],readOnly:a=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:p=!1,lint:h=!1,additionalExtensions:m=[],placeholder:b}){const y=[LAe(),TPe(),Ya.of(LPe),BZ(rCe,{fallback:!0}),Ze.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-tooltip":{border:"1px solid #f5c6cb",fontSize:"12px"},".cm-tooltip-lint":{backgroundColor:"#ffffff"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),Ze.updateListener.of($=>{$.docChanged&&e?.($.state.doc.toString())}),Ze.domEventHandlers({blur:($,x)=>{t?.(x.state.doc.toString())},focus:($,x)=>{n?.(x.state.doc.toString())}}),Ze.editorAttributes.of({class:o.join(" ")}),...m];if(r&&y.push(r),p||y.push(AMe),a?y.push(Ze.editable.of(!1)):(y.push(Z9e(),TT(),xPe(),Ya.of([...nH,PMe]),TT()),d||y.push(pPe(),Ya.of([...bPe])),f?y.push(Ya.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):y.push(Ya.of([UPe]))),b&&y.push(qAe(b)),s&&y.push(u9e()),c&&y.push(_T({markerDOM:$=>{const x=document.createElement("div");x.classList.add("cm-foldMarker");const _=qt(er,{icon:$?"ChevronDown":"ChevronRight",size:"md"});return w$(_,x),x}})),i&&DA[i]&&(y.push(DA[i]()),c||y.push(_T({markerDOM:$=>{const x=document.createElement("div");x.classList.add("cm-foldMarker");const _=qt(er,{icon:$?"ChevronDown":"ChevronRight",size:"md"});return w$(_,x),x}}))),h&&i==="json"){const $=SMe(x=>{const _=[],E=x.state.doc.toString();if(E.trim())try{JSON.parse(E)}catch(A){A instanceof Error&&_.push({from:0,to:x.state.doc.length,severity:"error",message:A.message})}return _});y.push($)}return l&&y.push(CMe()),u?y.push(Ya.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):y.push(Ya.of([{key:"Enter",run:BPe}])),y}function DMe(e){const{codeMirror:t,query:n,showDropdown:r,dropdownPosition:i}=e;function o(){return t.value?.state.selection.main.head||0}function a(u){return t.value?.coordsAtPos(u)}function s(){const u=o();requestAnimationFrame(()=>{const d=a(u-n.value.length-2);d&&(i.value={left:d.left,top:Math.max(d.bottom)})})}Ke(n,s);function l(u){const d=`{{${u}}}`,f=o(),p=Math.max(0,f-n.value.length-2),h=f;t.value?.dispatch({changes:{from:p,to:h,insert:d}}),r.value=!1}function c(){const u=o(),d=t.value?.state.doc.sliceString(0,u)||"",f=d.lastIndexOf("{{"),p=d.lastIndexOf("}}");f>p?(n.value=d.slice(f+2),r.value=!0,i.value=a(u)||{left:0,top:0},n.value===""&&s()):r.value=!1}return Ke(()=>t.value?.state.doc.toString(),c),{handleDropdownSelect:l,updateDropdownVisibility:c}}const NMe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nV=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=NMe[n[e]&63];return t};function ny(e){return Vf()?(Xf(e),!0):!1}const ry=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const MMe=e=>e!=null,RMe=Object.prototype.toString,LMe=e=>RMe.call(e)==="[object Object]",Mo=()=>{},BMe=jMe();function jMe(){var e,t;return ry&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function rV(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}function FMe(e,t={}){let n,r,i=Mo;const o=l=>{clearTimeout(l),i(),i=Mo};let a;return l=>{const c=ke(e),u=ke(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((d,f)=>{i=t.rejectOnCancel?f:d,a=l,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,d(a())},u)),n=setTimeout(()=>{r&&o(r),r=void 0,d(l())},c)})}}function UMe(...e){let t=0,n,r=!0,i=Mo,o,a,s,l,c;!Z5(e[0])&&typeof e[0]=="object"?{delay:a,trailing:s=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[a,s=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=Mo)};return f=>{const p=ke(a),h=Date.now()-t,m=()=>o=f();return u(),p<=0?(t=Date.now(),m()):(h>p&&(l||!r)?(t=Date.now(),m()):s&&(o=new Promise((b,y)=>{i=c?y:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(m()),u()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,o)}}function wg(e){return Array.isArray(e)?e:[e]}function QMe(e){return ul()}function zMe(e,t=200,n={}){return rV(FMe(t,n),e)}function qMe(e,t=200,n=!1,r=!0,i=!1){return rV(UMe(t,n,r,i),e)}function ZMe(e,t=!0,n){QMe()?mt(e,n):t?e():tr(e)}function HMe(e,t,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n,o=Nr(!1);let a;function s(){a&&(clearTimeout(a),a=void 0)}function l(){o.value=!1,s()}function c(...u){i&&e(),s(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=void 0,e(...u)},ke(t))}return r&&(o.value=!0,ry&&c()),ny(l),{isPending:Nc(o),start:c,stop:l}}function VMe(e,t,n){return Ke(e,t,{...n,immediate:!0})}const iy=ry?window:void 0;function nu(e){var t;const n=ke(e);return(t=n?.$el)!=null?t:n}function N0(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,l,c,u)=>(s.addEventListener(l,c,u),()=>s.removeEventListener(l,c,u)),i=I(()=>{const s=wg(ke(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),o=VMe(()=>{var s,l;return[(l=(s=i.value)==null?void 0:s.map(c=>nu(c)))!=null?l:[iy].filter(c=>c!=null),wg(ke(i.value?e[1]:e[0])),wg(O(i.value?e[2]:e[1])),ke(i.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!s?.length||!l?.length||!c?.length)return;const d=LMe(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(p=>c.map(h=>r(f,p,h,d)))))},{flush:"post"}),a=()=>{o(),n()};return ny(n),a}let MA=!1;function XMe(e,t,n={}){const{window:r=iy,ignore:i=[],capture:o=!0,detectIframe:a=!1,controls:s=!1}=n;if(!r)return s?{stop:Mo,cancel:Mo,trigger:Mo}:Mo;if(BMe&&!MA){MA=!0;const b={passive:!0};Array.from(r.document.body.children).forEach(y=>y.addEventListener("click",Mo,b)),r.document.documentElement.addEventListener("click",Mo,b)}let l=!0;const c=b=>ke(i).some(y=>{if(typeof y=="string")return Array.from(r.document.querySelectorAll(y)).some($=>$===b.target||b.composedPath().includes($));{const $=nu(y);return $&&(b.target===$||b.composedPath().includes($))}});function u(b){const y=ke(b);return y&&y.$.subTree.shapeFlag===16}function d(b,y){const $=ke(b),x=$.$.subTree&&$.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(_=>_.el===y.target||y.composedPath().includes(_.el))}const f=b=>{const y=nu(e);if(b.target!=null&&!(!(y instanceof Element)&&u(e)&&d(e,b))&&!(!y||y===b.target||b.composedPath().includes(y))){if("detail"in b&&b.detail===0&&(l=!c(b)),!l){l=!0;return}t(b)}};let p=!1;const h=[N0(r,"click",b=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(b))},{passive:!0,capture:o}),N0(r,"pointerdown",b=>{const y=nu(e);l=!c(b)&&!!(y&&!b.composedPath().includes(y))},{passive:!0}),a&&N0(r,"blur",b=>{setTimeout(()=>{var y;const $=nu(e);((y=r.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!$?.contains(r.document.activeElement)&&t(b)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(b=>b());return s?{stop:m,cancel:()=>{l=!1},trigger:b=>{l=!0,f(b),l=!1}}:m}function WMe(){const e=Nr(!1),t=ul();return t&&mt(()=>{e.value=!0},t),e}function YMe(e){const t=WMe();return I(()=>(t.value,!!e()))}function GMe(e,t,n={}){const{window:r=iy,...i}=n;let o;const a=YMe(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=I(()=>{const f=ke(e),p=wg(f).map(nu).filter(MMe);return new Set(p)}),c=Ke(l,f=>{s(),a.value&&f.size&&(o=new MutationObserver(t),f.forEach(p=>o.observe(p,i)))},{immediate:!0,flush:"post"}),u=()=>o?.takeRecords(),d=()=>{c(),s()};return ny(d),{isSupported:a,stop:d,takeRecords:u}}const RA=1;function F0t(e,t={}){const{throttle:n=0,idle:r=200,onStop:i=Mo,onScroll:o=Mo,offset:a={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=iy,onError:d=q=>{console.error(q)}}=t,f=typeof s=="boolean"?{mutation:s}:s,p=Nr(0),h=Nr(0),m=I({get(){return p.value},set(q){y(q,void 0)}}),b=I({get(){return h.value},set(q){y(void 0,q)}});function y(q,B){var Y,V,ne,X;if(!u)return;const L=ke(e);if(!L)return;(ne=L instanceof Document?u.document.body:L)==null||ne.scrollTo({top:(Y=ke(B))!=null?Y:b.value,left:(V=ke(q))!=null?V:m.value,behavior:ke(c)});const K=((X=L?.document)==null?void 0:X.documentElement)||L?.documentElement||L;m!=null&&(p.value=K.scrollLeft),b!=null&&(h.value=K.scrollTop)}const $=Nr(!1),x=tn({left:!0,right:!1,top:!0,bottom:!1}),_=tn({left:!1,right:!1,top:!1,bottom:!1}),E=q=>{$.value&&($.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,i(q))},A=zMe(E,n+r),C=q=>{var B;if(!u)return;const Y=((B=q?.document)==null?void 0:B.documentElement)||q?.documentElement||nu(q),{display:V,flexDirection:ne,direction:X}=getComputedStyle(Y),L=X==="rtl"?-1:1,K=Y.scrollLeft;_.left=K<p.value,_.right=K>p.value;const oe=Math.abs(K*L)<=(a.left||0),ae=Math.abs(K*L)+Y.clientWidth>=Y.scrollWidth-(a.right||0)-RA;V==="flex"&&ne==="row-reverse"?(x.left=ae,x.right=oe):(x.left=oe,x.right=ae),p.value=K;let fe=Y.scrollTop;q===u.document&&!fe&&(fe=u.document.body.scrollTop),_.top=fe<h.value,_.bottom=fe>h.value;const N=Math.abs(fe)<=(a.top||0),pe=Math.abs(fe)+Y.clientHeight>=Y.scrollHeight-(a.bottom||0)-RA;V==="flex"&&ne==="column-reverse"?(x.top=pe,x.bottom=N):(x.top=N,x.bottom=pe),h.value=fe},D=q=>{var B;if(!u)return;const Y=(B=q.target.documentElement)!=null?B:q.target;C(Y),$.value=!0,A(q),o(q)};return N0(e,"scroll",n?qMe(D,n,!0,!1):D,l),ZMe(()=>{try{const q=ke(e);if(!q)return;C(q)}catch(q){d(q)}}),f?.mutation&&e!=null&&e!==u&&e!==document&&GMe(e,()=>{const q=ke(e);q&&C(q)},{attributes:!0,childList:!0,subtree:!0}),N0(e,"scrollend",E,l),{x:m,y:b,isScrolling:$,arrivedState:x,directions:_,measure(){const q=ke(e);u&&q&&C(q)}}}function U0t(e,t,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n,{start:o}=HMe(s,t,{immediate:r}),a=Nr(!1);async function s(){a.value&&(await e(),o())}function l(){a.value||(a.value=!0,i&&e(),o())}function c(){a.value=!1}return r&&ry&&l(),ny(c),{isActive:a,pause:c,resume:l}}function ll(e){return Array.isArray?Array.isArray(e):aV(e)==="[object Array]"}function KMe(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function JMe(e){return e==null?"":KMe(e)}function as(e){return typeof e=="string"}function iV(e){return typeof e=="number"}function eRe(e){return e===!0||e===!1||tRe(e)&&aV(e)=="[object Boolean]"}function oV(e){return typeof e=="object"}function tRe(e){return oV(e)&&e!==null}function co(e){return e!=null}function M4(e){return!e.trim().length}function aV(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const nRe="Incorrect 'index' type",rRe=e=>`Invalid value for key ${e}`,iRe=e=>`Pattern length exceeds max of ${e}.`,oRe=e=>`Missing ${e} property in key`,aRe=e=>`Property 'weight' in key '${e}' must be a positive integer`,LA=Object.prototype.hasOwnProperty;class sRe{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let i=sV(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function sV(e){let t=null,n=null,r=null,i=1,o=null;if(as(e)||ll(e))r=e,t=BA(e),n=e5(e);else{if(!LA.call(e,"name"))throw new Error(oRe("name"));const a=e.name;if(r=a,LA.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(aRe(a));t=BA(a),n=e5(a),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function BA(e){return ll(e)?e:e.split(".")}function e5(e){return ll(e)?e.join("."):e}function lRe(e,t){let n=[],r=!1;const i=(o,a,s)=>{if(co(o))if(!a[s])n.push(o);else{let l=a[s];const c=o[l];if(!co(c))return;if(s===a.length-1&&(as(c)||iV(c)||eRe(c)))n.push(JMe(c));else if(ll(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)i(c[u],a,s+1)}else a.length&&i(c,a,s+1)}};return i(e,as(t)?t.split("."):t,0),r?n:n[0]}const cRe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},uRe={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},dRe={location:0,threshold:.6,distance:100},fRe={useExtendedSearch:!1,getFn:lRe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var lt={...uRe,...cRe,...dRe,...fRe};const pRe=/[^ ]+/g;function hRe(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(i){const o=i.match(pRe).length;if(n.has(o))return n.get(o);const a=1/Math.pow(o,.5*e),s=parseFloat(Math.round(a*r)/r);return n.set(o,s),s},clear(){n.clear()}}}class zk{constructor({getFn:t=lt.getFn,fieldNormWeight:n=lt.fieldNormWeight}={}){this.norm=hRe(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,as(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();as(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!co(t)||M4(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(t):this.getFn(t,i.path);if(co(a)){if(ll(a)){let s=[];const l=[{nestedArrIndex:-1,value:a}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(co(u))if(as(u)&&!M4(u)){let d={v:u,i:c,n:this.norm.get(u)};s.push(d)}else ll(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}r.$[o]=s}else if(as(a)&&!M4(a)){let s={v:a,n:this.norm.get(a)};r.$[o]=s}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function lV(e,t,{getFn:n=lt.getFn,fieldNormWeight:r=lt.fieldNormWeight}={}){const i=new zk({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(sV)),i.setSources(t),i.create(),i}function mRe(e,{getFn:t=lt.getFn,fieldNormWeight:n=lt.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new zk({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function U1(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=lt.distance,ignoreLocation:o=lt.ignoreLocation}={}){const a=t/e.length;if(o)return a;const s=Math.abs(r-n);return i?a+s/i:s?1:a}function gRe(e=[],t=lt.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let a=e.length;o<a;o+=1){let s=e[o];s&&r===-1?r=o:!s&&r!==-1&&(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Qc=32;function bRe(e,t,n,{location:r=lt.location,distance:i=lt.distance,threshold:o=lt.threshold,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,includeMatches:l=lt.includeMatches,ignoreLocation:c=lt.ignoreLocation}={}){if(t.length>Qc)throw new Error(iRe(Qc));const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let p=o,h=f;const m=s>1||l,b=m?Array(d):[];let y;for(;(y=e.indexOf(t,h))>-1;){let C=U1(t,{currentLocation:y,expectedLocation:f,distance:i,ignoreLocation:c});if(p=Math.min(C,p),h=y+u,m){let D=0;for(;D<u;)b[y+D]=1,D+=1}}h=-1;let $=[],x=1,_=u+d;const E=1<<u-1;for(let C=0;C<u;C+=1){let D=0,q=_;for(;D<q;)U1(t,{errors:C,currentLocation:f+q,expectedLocation:f,distance:i,ignoreLocation:c})<=p?D=q:_=q,q=Math.floor((_-D)/2+D);_=q;let B=Math.max(1,f-q+1),Y=a?d:Math.min(f+q,d)+u,V=Array(Y+2);V[Y+1]=(1<<C)-1;for(let X=Y;X>=B;X-=1){let L=X-1,K=n[e.charAt(L)];if(m&&(b[L]=+!!K),V[X]=(V[X+1]<<1|1)&K,C&&(V[X]|=($[X+1]|$[X])<<1|1|$[X+1]),V[X]&E&&(x=U1(t,{errors:C,currentLocation:L,expectedLocation:f,distance:i,ignoreLocation:c}),x<=p)){if(p=x,h=L,h<=f)break;B=Math.max(1,2*f-h)}}if(U1(t,{errors:C+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>p)break;$=V}const A={isMatch:h>=0,score:Math.max(.001,x)};if(m){const C=gRe(b,s);C.length?l&&(A.indices=C):A.isMatch=!1}return A}function ORe(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const M2=String.prototype.normalize?(e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(e=>e);class cV{constructor(t,{location:n=lt.location,threshold:r=lt.threshold,distance:i=lt.distance,includeMatches:o=lt.includeMatches,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,isCaseSensitive:l=lt.isCaseSensitive,ignoreDiacritics:c=lt.ignoreDiacritics,ignoreLocation:u=lt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u},t=l?t:t.toLowerCase(),t=c?M2(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const d=(p,h)=>{this.chunks.push({pattern:p,alphabet:ORe(p),startIndex:h})},f=this.pattern.length;if(f>Qc){let p=0;const h=f%Qc,m=f-h;for(;p<m;)d(this.pattern.substr(p,Qc),p),p+=Qc;if(h){const b=f-Qc;d(this.pattern.substr(b),b)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=r?M2(t):t,this.pattern===t){let m={isMatch:!0,score:0};return i&&(m.indices=[[0,t.length-1]]),m}const{location:o,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:c,ignoreLocation:u}=this.options;let d=[],f=0,p=!1;this.chunks.forEach(({pattern:m,alphabet:b,startIndex:y})=>{const{isMatch:$,score:x,indices:_}=bRe(t,m,b,{location:o+y,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:c,includeMatches:i,ignoreLocation:u});$&&(p=!0),f+=x,$&&_&&(d=[...d,..._])});let h={isMatch:p,score:p?f/this.chunks.length:1};return p&&i&&(h.indices=d),h}}class fc{constructor(t){this.pattern=t}static isMultiMatch(t){return jA(t,this.multiRegex)}static isSingleMatch(t){return jA(t,this.singleRegex)}search(){}}function jA(e,t){const n=e.match(t);return n?n[1]:null}class yRe extends fc{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class vRe extends fc{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class wRe extends fc{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class SRe extends fc{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class kRe extends fc{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class xRe extends fc{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class uV extends fc{constructor(t,{location:n=lt.location,threshold:r=lt.threshold,distance:i=lt.distance,includeMatches:o=lt.includeMatches,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,isCaseSensitive:l=lt.isCaseSensitive,ignoreDiacritics:c=lt.ignoreDiacritics,ignoreLocation:u=lt.ignoreLocation}={}){super(t),this._bitapSearch=new cV(t,{location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class dV extends fc{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const i=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,i.push([r,n-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const t5=[yRe,dV,wRe,SRe,xRe,kRe,vRe,uV],FA=t5.length,$Re=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ERe="|";function _Re(e,t={}){return e.split(ERe).map(n=>{let r=n.trim().split($Re).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=r.length;o<a;o+=1){const s=r[o];let l=!1,c=-1;for(;!l&&++c<FA;){const u=t5[c];let d=u.isMultiMatch(s);d&&(i.push(new u(d,t)),l=!0)}if(!l)for(c=-1;++c<FA;){const u=t5[c];let d=u.isSingleMatch(s);if(d){i.push(new u(d,t));break}}}return i})}const TRe=new Set([uV.type,dV.type]);class ARe{constructor(t,{isCaseSensitive:n=lt.isCaseSensitive,ignoreDiacritics:r=lt.ignoreDiacritics,includeMatches:i=lt.includeMatches,minMatchCharLength:o=lt.minMatchCharLength,ignoreLocation:a=lt.ignoreLocation,findAllMatches:s=lt.findAllMatches,location:l=lt.location,threshold:c=lt.threshold,distance:u=lt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:o,findAllMatches:s,ignoreLocation:a,location:l,threshold:c,distance:u},t=n?t:t.toLowerCase(),t=r?M2(t):t,this.pattern=t,this.query=_Re(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:o}=this.options;t=i?t:t.toLowerCase(),t=o?M2(t):t;let a=0,s=[],l=0;for(let c=0,u=n.length;c<u;c+=1){const d=n[c];s.length=0,a=0;for(let f=0,p=d.length;f<p;f+=1){const h=d[f],{isMatch:m,indices:b,score:y}=h.search(t);if(m){if(a+=1,l+=y,r){const $=h.constructor.type;TRe.has($)?s=[...s,...b]:s.push(b)}}else{l=0,a=0,s.length=0;break}}if(a){let f={isMatch:!0,score:l/a};return r&&(f.indices=s),f}}return{isMatch:!1,score:1}}}const n5=[];function CRe(...e){n5.push(...e)}function r5(e,t){for(let n=0,r=n5.length;n<r;n+=1){let i=n5[n];if(i.condition(e,t))return new i(e,t)}return new cV(e,t)}const R2={AND:"$and",OR:"$or"},i5={PATH:"$path",PATTERN:"$val"},o5=e=>!!(e[R2.AND]||e[R2.OR]),PRe=e=>!!e[i5.PATH],IRe=e=>!ll(e)&&oV(e)&&!o5(e),UA=e=>({[R2.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function fV(e,t,{auto:n=!0}={}){const r=i=>{let o=Object.keys(i);const a=PRe(i);if(!a&&o.length>1&&!o5(i))return r(UA(i));if(IRe(i)){const l=a?i[i5.PATH]:o[0],c=a?i[i5.PATTERN]:i[l];if(!as(c))throw new Error(rRe(l));const u={keyId:e5(l),pattern:c};return n&&(u.searcher=r5(c,t)),u}let s={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];ll(c)&&c.forEach(u=>{s.children.push(r(u))})}),s};return o5(e)||(e=UA(e)),r(e)}function DRe(e,{ignoreFieldNorm:t=lt.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:o,score:a})=>{const s=i?i.weight:null;r*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(t?1:o))}),n.score=r})}function NRe(e,t){const n=e.matches;t.matches=[],co(n)&&n.forEach(r=>{if(!co(r.indices)||!r.indices.length)return;const{indices:i,value:o}=r;let a={indices:i,value:o};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),t.matches.push(a)})}function MRe(e,t){t.score=e.score}function RRe(e,t,{includeMatches:n=lt.includeMatches,includeScore:r=lt.includeScore}={}){const i=[];return n&&i.push(NRe),r&&i.push(MRe),e.map(o=>{const{idx:a}=o,s={item:t[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Vu{constructor(t,n={},r){this.options={...lt,...n},this.options.useExtendedSearch,this._keyStore=new sRe(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof zk))throw new Error(nRe);this._myIndex=n||lV(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){co(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,i-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;let l=as(t)?as(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return DRe(l,{ignoreFieldNorm:s}),o&&l.sort(a),iV(n)&&n>-1&&(l=l.slice(0,n)),RRe(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){const n=r5(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:o,i:a,n:s})=>{if(!co(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:a,matches:[{score:c,value:o,norm:s,indices:u}]})}),i}_searchLogical(t){const n=fV(t,this.options),r=(s,l,c)=>{if(!s.children){const{keyId:d,searcher:f}=s,p=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let d=0,f=s.children.length;d<f;d+=1){const p=s.children[d],h=r(p,l,c);if(h.length)u.push(...h);else if(s.operator===R2.AND)return[]}return u},i=this._myIndex.records,o={},a=[];return i.forEach(({$:s,i:l})=>{if(co(s)){let c=r(n,s,l);c.length&&(o[l]||(o[l]={idx:l,item:s,matches:[]},a.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),a}_searchObjectList(t){const n=r5(t,this.options),{keys:r,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:s})=>{if(!co(a))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:a[u],searcher:n}))}),l.length&&o.push({idx:s,item:a,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!co(n))return[];let i=[];if(ll(n))n.forEach(({v:o,i:a,n:s})=>{if(!co(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&i.push({score:c,key:t,value:o,idx:a,norm:s,indices:u})});else{const{v:o,n:a}=n,{isMatch:s,score:l,indices:c}=r.searchIn(o);s&&i.push({score:l,key:t,value:o,norm:a,indices:c})}return i}}Vu.version="7.1.0";Vu.createIndex=lV;Vu.parseIndex=mRe;Vu.config=lt;Vu.parseQuery=fV;CRe(ARe);function pV(e){return e?.color||"#FFFFFF"}var yr=(e=>(e.Request="request",e.Examples="examples",e.Cookies="cookies",e.Collection="collection",e.Schema="schema",e.Environment="environment",e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(yr||{});const LRe="activeWorkspace";function hV(){const e=localStorage.getItem(LRe);return e?{name:"request.root",params:{workspace:e}}:{name:"workspace.default"}}const mV=[{name:"request.root",path:"",component:()=>zr(()=>import("./BEhWFcrL.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),redirect:(e,t)=>({name:"request",params:{...e.params,request:"default"}}),children:[{name:"request",path:"request/:request",component:()=>zr(()=>import("./kLas58sH.js"),__vite__mapDeps([16,17,6,1,2,4,18,19,3,20,21,22,9,12,13,14,15]),import.meta.url)},{name:"request.examples",path:"request/:request/examples/:examples",component:()=>zr(()=>import("./kLas58sH.js"),__vite__mapDeps([16,17,6,1,2,4,18,19,3,20,21,22,9,12,13,14,15]),import.meta.url)},{name:"collection",path:"collection/:collection",component:()=>zr(()=>import("./CpDU9vCX.js"),__vite__mapDeps([23,1,2,18,20,8,9,12,13,14,15]),import.meta.url),redirect:(e,t)=>({name:"collection.overview"}),children:[{name:"collection.overview",path:"overview",component:()=>zr(()=>import("./DFrwQhDb.js"),__vite__mapDeps([24,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.servers",path:"servers",component:()=>zr(()=>import("./KjKTnYG8.js"),__vite__mapDeps([25,7,1,2,26,20,12,13,14,15]),import.meta.url),children:[{name:"collection.servers.edit",path:":servers",component:()=>zr(()=>import("./KjKTnYG8.js"),__vite__mapDeps([25,7,1,2,26,20,12,13,14,15]),import.meta.url)}]},{name:"collection.environment",path:"environment",component:()=>zr(()=>import("./CmoD8XpE.js"),__vite__mapDeps([27,11,1,2,7,10,20,28,29,21,12,13,14,15]),import.meta.url)},{name:"collection.authentication",path:"authentication",component:()=>zr(()=>import("./S2Gf1icO.js"),__vite__mapDeps([30,22,1,2,12,13,14,15]),import.meta.url)},{name:"collection.cookies",path:"cookies",component:()=>zr(()=>import("./QTaSMAwo.js"),__vite__mapDeps([31,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.scripts",path:"scripts",component:()=>zr(()=>import("./CKF9LlaM.js"),__vite__mapDeps([32,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.sync",path:"sync",component:()=>zr(()=>import("./BWnmHeD2.js"),__vite__mapDeps([33,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.settings",path:"settings",component:()=>zr(()=>import("./bG1h8n43.js"),__vite__mapDeps([34,1,2,7,12,13,14,15]),import.meta.url)}]}]}],BRe=[{name:"root",path:"/",redirect:hV},{name:"workspace.default",path:"/workspace",redirect:{name:"workspace",params:{workspace:"default"}}},{name:"workspace",path:"/workspace/:workspace",redirect:{name:"request.root"},children:mV}];[...mV];const M0=Fe({uid:J().brand(),name:J().optional().default("Default Environment"),color:J().optional().default("#FFFFFF"),value:J().default(""),isDefault:Xt().optional()});function R4(e,t){const n=e.split(".").reduce((r,i)=>r?.[i],t);return typeof n=="string"?n:JSON.stringify(n)}function Q0t(e,t){let n=e;const r=new Set;return n=n.replace(hu.VARIABLES,(i,o)=>{const a=o.trim();r.add(a);const s=R4(a,t);return Lt(s)&&s!==""?s:`{{${a}}}`}),n=n.replace(hu.PATH,(i,o)=>{const a=o.trim();if(r.has(a))return`{${a}}`;const s=R4(a,t);return Lt(s)&&s!==""?s:`{${a}}`}),n=n.replace(/:\b[\w.]+\b/g,i=>{const o=i.slice(1);if(r.has(o))return i;const a=R4(o,t);return Lt(a)&&a!==""?a:i}),n}function QA(e){function t(n,r){const i=Object.keys(n),o=[];return i.forEach(a=>{const s=r?`${r}.${a}`:a;typeof n[a]=="object"?o.push(...t(n[a],s)):o.push([s,String(n[a])])}),o}return t(e)}function jRe(e){return()=>{const t={[yr.Collection]:"default",[yr.Environment]:"default",[yr.Request]:"default",[yr.Examples]:"default",[yr.Schema]:"default",[yr.Cookies]:"default",[yr.Servers]:"default",[yr.Workspace]:"default",[yr.Settings]:"default"},n=e?.currentRoute.value;return n&&Object.keys(t).forEach(r=>{n.params[r]&&(t[r]=n.params[r])}),t}}const gV=({collections:e,requestExamples:t,requests:n,router:r,servers:i,workspaces:o})=>{const a=I(jRe(r)),s=I(()=>o[a.value[yr.Workspace]]??Object.values(o)[0]),l=I(()=>s.value?.collections.map($=>e[$]).filter(Lt).sort(($,x)=>$.info?.title==="Drafts"?1:x.info?.title==="Drafts"?-1:0)??[]),c=I(()=>l.value?.flatMap($=>$.servers.map(x=>i[x]))),u=I(()=>l.value?.flatMap($=>$.requests)??[]),d=I(()=>{if(!s.value?.activeEnvironmentId)return M0.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value?.environments,null,2)});const $=l.value.find(x=>x["x-scalar-environments"]?.[s.value?.activeEnvironmentId??""]);return $&&s.value?.activeEnvironmentId?M0.parse({uid:s.value.activeEnvironmentId,name:s.value.activeEnvironmentId,value:JSON.stringify($["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.variables,null,2),color:$["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.color||"#FFFFFF",isDefault:!1}):M0.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value.environments,null,2)})}),f=I(()=>{const $=a.value[yr.Request],x=e[a.value.collection]||e[s.value?.collections[0]??""];return n[$]||n[x?.requests[0]??""]||Object.values(n)[0]}),p=I(()=>{const $=a.value[yr.Examples]==="default"?f.value?.examples[0]||"":a.value[yr.Examples];return t[$]}),h=I(()=>{const $=e[a.value[yr.Collection]];if($)return $;const x=f.value?.uid;if(x)return Object.values(e).find(E=>E.requests?.includes(x));const _=s.value?.collections[0]??e[0]?.uid??"";return e[_]}),m=I(()=>{if(f.value?.selectedServerUid){const $=i[f.value.selectedServerUid];if($)return $}if(h.value?.selectedServerUid){const $=i[h.value.selectedServerUid];if($)return $}}),b=I(()=>a.value[yr.Cookies]==="default"?s.value?.cookies[0]??"default":a.value[yr.Cookies]),y=I(()=>{const $=s.value?.environments??{},x=d.value.uid?JSON.parse(d.value.value):{},_=QA($).map(([C,D])=>({key:C,value:D,source:"global"})),E=QA(x).map(([C,D])=>({key:C,value:D,source:"collection"})),A=new Map;return E.forEach(C=>{A.set(C.key,C)}),_.forEach(C=>{A.has(C.key)||A.set(C.key,C)}),Array.from(A.values())});return{activeCollection:h,activeCookieId:b,activeExample:p,activeRequest:f,activeRouterParams:a,activeEnvironment:d,activeServer:m,activeWorkspace:s,activeWorkspaceCollections:l,activeWorkspaceServers:c,activeEnvVariables:y,activeWorkspaceRequests:u}},qk=Symbol(),Zk=()=>{const e=Gt(qk);if(!e)throw new Error("Active entities store not provided");return e};function a5(e){return e.flatMap(t=>{if(t.key==="value")try{const n=JSON.parse(t.value);return Object.keys(n).map(r=>({key:r,value:n[r],source:t.source}))}catch{}return[t]})}const FRe={key:0,class:"gap-1/2 flex flex-col"},URe=["onClick"],QRe={class:"flex items-center gap-2 whitespace-nowrap"},zRe={class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"},qRe=Z({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:["select"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ee(!0),a=ee(null),s=ee(0),l=VK(),{activeCollection:c}=Zk(),u=()=>{if(!l)return;const{currentRoute:m,push:b}=l,y=m.value.params.workspace;!c.value||c.value.info?.title==="Drafts"?b({name:"environment.default",params:{[yr.Workspace]:y}}):b({name:"collection.environment",params:{[yr.Collection]:c.value.uid}}),o.value=!1},d=new Vu(a5(r.envVariables),{keys:["key","value"]}),f=I(()=>{const m=r.query;if(!m)return a5(r.envVariables).slice(-4).filter(({key:y,value:$})=>y!==""||$!=="");const b=d.search(m,{limit:10});return b.length>0?b.map(y=>y.item).filter(({key:y,value:$})=>y!==""||$!==""):[]}),p=m=>{i("select",m)};t({handleArrowKey:m=>{const b=m==="up"?-1:1,y=f.value.length;y!==0&&(s.value=(s.value+b+y)%y)},handleSelect:()=>{if(s.value>=0){const m=f.value[s.value];m&&p(m.key)}}}),mt(()=>{s.value=0});const h=I(()=>({left:(r.dropdownPosition?.left??0)+"px",top:(r.dropdownPosition?.top??0)+5+"px"}));return XMe(a,()=>{o.value=!1},{ignore:[a]}),(m,b)=>o.value?(g(),R(O(pU),{key:0,class:"scalar-client"},{default:T(()=>[k("div",{ref_key:"dropdownRef",ref:a,class:"custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:nr(h.value)},[f.value.length?(g(),w("ul",FRe,[(g(!0),w(he,null,rt(f.value,(y,$)=>(g(),w("li",{key:y.key,class:Oe(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":$===s.value}]),onClick:x=>p(y.key)},[k("div",QRe,[y.source==="collection"&&m.environment.name!=="No Environment"?(g(),w("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:nr({backgroundColor:O(pV)(m.environment)})},null,4)):(g(),R(O(yP),{key:1,class:"-ml-0.25 size-2.5",icon:"Globe"})),ie(" "+me(y.key),1)]),k("span",zRe,me(y.value),1)],10,URe))),128))])):O(l)?(g(),R(O(pr),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:u},{default:T(()=>[P(O(a8),{class:"size-3"}),b[0]||(b[0]=ie(" Add Variable ",-1))]),_:1})):j("",!0),b[1]||(b[1]=k("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)]),_:1})):j("",!0)}}),ZRe={class:"group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline"},HRe={class:"text-c-1 whitespace-nowrap"},VRe={class:"text-c-1 overflow-hidden text-ellipsis"},XRe={class:"overflow-hidden text-ellipsis"},WRe={class:"flex h-4 w-4 items-center justify-center"},Sg=Z({__name:"DataTableInputSelect",props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,i=I(()=>n.value??[]),o=ee(!1),a=ee(""),s=ee(null);Ke(a,b=>{r("update:modelValue",b)});const l=b=>{r("update:modelValue",b),o.value=!1},c=()=>{a.value.trim()&&l(a.value)},u=()=>{a.value.trim()||r("update:modelValue",""),o.value=!1},d=b=>n.modelValue.toString()===b;Ke(o,b=>{b&&tr(()=>{s.value?.focus()})});const f=I(()=>n.modelValue!==void 0?n.modelValue:n.default),p=I(()=>{const b=new Set(n.modelValue.toString().split(", "));return i.value.filter(y=>b.has(y)).map(y=>({id:y,label:y,value:y}))}),h=I(()=>i.value.map(b=>({id:b,label:b,value:b}))),m=b=>{const y=b.map($=>$.value);r("update:modelValue",y.join(", "))};return(b,y)=>(g(),w("div",ZRe,[b.type==="array"?(g(),R(O(mU),{key:0,modelValue:p.value,options:h.value,"onUpdate:modelValue":m},{default:T(()=>[P(O(pr),{class:"custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none",fullWidth:"",variant:"ghost"},{default:T(()=>[k("span",HRe,me(p.value.length>0?p.value.map($=>$.label).join(", "):"Select a value"),1),P(O(er),{icon:"ChevronDown",size:"md",class:"min-w-4"})]),_:1})]),_:1},8,["modelValue","options"])):o.value?mo((g(),w("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":y[0]||(y[0]=$=>a.value=$),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:u,onKeyup:Zr(c,["enter"])},null,544)),[[ob,a.value]]):(g(),R(O(B6e),{key:2,resize:"",value:f.value},{items:T(()=>[(g(!0),w(he,null,rt(i.value,$=>(g(),R(O(u7),{key:$,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:$,onClick:x=>l($)},{default:T(()=>[k("div",{class:Oe(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",d($)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[P(O(er),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),k("span",XRe,me($),1)]),_:2},1032,["value","onClick"]))),128)),b.canAddCustomValue?(g(),w(he,{key:0},[i.value.length?(g(),R(O(ZEe),{key:0})):j("",!0),P(O(u7),{class:"flex items-center gap-1.5",onClick:y[1]||(y[1]=$=>o.value=!0)},{default:T(()=>[k("div",WRe,[P(O(er),{icon:"Add",size:"sm"})]),y[2]||(y[2]=k("span",null,"Add value",-1))]),_:1})],64)):j("",!0)]),default:T(()=>[P(O(pr),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:T(()=>[k("span",VRe,me(f.value||"Select a value"),1),P(O(er),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}});let YRe=class bV extends xo{constructor(t,n,r,i){super(),this.variableName=t,this.variableName=t,this.environment=n,this.envVariables=r,this.isReadOnly=i??!1,this.uid=nV()}app;uid;environment;envVariables;isReadOnly;toDOM(){const t=document.createElement("span");t.className="cm-pill",t.textContent=`${this.variableName}`;const n=Z({props:{variableName:{type:String,default:null}},render:()=>{const r=this.envVariables?a5(this.envVariables).find(l=>l.key===this.variableName):void 0,i=r?.source==="global",o=i?"var(--scalar-color-1)":r&&this.environment&&this.environment.name!=="No Environment"?pV(this.environment):"var(--scalar-color-1)";t.style.setProperty("--tw-bg-base",o),t.style.opacity=r?.value?"1":"0.5";const a=r?.value||"No value",s=qt("div",{class:"flex items-center gap-1 whitespace-nowrap"},[(i||this.environment?.name==="No Environment"&&r?.value)&&qt(yP,{class:"size-3 -ml-1",icon:"Globe"}),qt("span",this.variableName)]);return qt(i7e,{content:a,delay:0,placement:"bottom",offset:6},{default:()=>s})}});return this.app=TC(n,{variableName:this.variableName}),this.app.mount(t),t}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof bV&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}};const GRe=e=>xr.fromClass(class{decorations;constructor(t){this.decorations=this.buildDecorations(t)}update(t){(t.docChanged||t.viewportChanged)&&requestAnimationFrame(()=>{this.decorations=this.buildDecorations(t.view),t.view.update([])})}buildDecorations(t){const n=new nl;for(const{from:r,to:i}of t.visibleRanges){const o=t.state.doc.sliceString(r,i);let a;for(;(a=hu.VARIABLES.exec(o))!==null;){const s=r+a.index,l=s+a[0].length,c=a[1]??"";n.add(s,l,st.widget({widget:new YRe(c,e.environment,e.envVariables,e.isReadOnly),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}),KRe=Ze.domEventHandlers({keydown(e,t){if(e.key==="Backspace"){const{state:n}=t,{from:r,to:i}=n.selection.main;if(r===0&&i===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(r===i&&r>0&&n.doc.sliceString(r-2,r)==="}}")return t.dispatch({changes:{from:r-2,to:i},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}}),Hk=Symbol(),OV=()=>({layout:Gt(Hk,"desktop")}),JRe={class:"whitespace-nowrap"},eLe=["id"],tLe={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},nLe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},rLe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},iLe={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"},oLe={inheritAttrs:!1},aLe=Z({...oLe,__name:"CodeInput",props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},lineWrapping:{type:Boolean,default:!1}},emits:["submit","update:modelValue","curl","blur"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=q5(),a=o.id||`id-${nV()}`,s=ee(!1),l=ee(!1),c=ee(""),u=ee({left:0,top:0}),d=ee(null),{layout:f}=OV();function p(Y){return Y===r.modelValue?null:r.importCurl&&Y.trim().toLowerCase().startsWith("curl")?(i("curl",Y),_.value?.dispatch({changes:{from:0,to:_.value.state.doc.length,insert:String(r.modelValue)}}),null):r.handleFieldChange?r.handleFieldChange(Y):i("update:modelValue",Y)}function h(Y){return r.handleFieldSubmit?r.handleFieldSubmit(Y):i("submit",Y)}function m(Y){s.value=!1,r.emitOnBlur&&r.modelValue&&h(Y),i("blur",Y)}const b=[...r.extensions];r.colorPicker&&b.push(ACe);const y=I(()=>GRe({environment:r.environment,envVariables:r.envVariables,isReadOnly:f==="modal"})),$=I(()=>[...b,y.value,KRe]),x=ee(null),{codeMirror:_}=IMe({content:Xa(()=>r.modelValue!==void 0?String(r.modelValue):""),onChange:Y=>{p(Y),A()},onFocus:()=>s.value=!0,onBlur:Y=>m(Y),codeMirrorRef:x,disableTabIndent:Xa(()=>r.disableTabIndent),disableEnter:Xa(()=>r.disableEnter),disableCloseBrackets:Xa(()=>r.disableCloseBrackets),lineNumbers:Xa(()=>r.lineNumbers),language:Xa(()=>r.language),lint:Xa(()=>r.lint),extensions:$,placeholder:Xa(()=>r.placeholder)});_.value?.focus(),Ke(_,()=>{_.value&&Object.hasOwn(o,"autofocus")&&_.value.focus()});const{handleDropdownSelect:E,updateDropdownVisibility:A}=DMe({codeMirror:_,query:c,showDropdown:l,dropdownPosition:u}),C=I(()=>r.nullable?["true","false","null"]:["true","false"]),D=(Y,V)=>{l.value?Y==="down"?(V.preventDefault(),d.value?.handleArrowKey("down")):Y==="up"?(V.preventDefault(),d.value?.handleArrowKey("up")):Y==="enter"&&(V.preventDefault(),d.value?.handleSelect()):Y==="escape"?r.disableTabIndent||V.stopPropagation():Y==="enter"&&V.target instanceof HTMLDivElement&&h(V.target.textContent??"")},q=I(()=>Array.isArray(r.type)?r.type.find(Y=>Y!=="null")??"string":r.type),B=I(()=>l.value&&r.withVariables&&f!=="modal"&&r.environment);return t({focus:()=>{_.value?.focus()},handleChange:p,handleSubmit:h,handleBlur:m,booleanOptions:C,codeMirror:_,modelValue:r.modelValue}),(Y,V)=>(g(),w(he,null,[Y.disabled?(g(),w("div",{key:0,class:Oe(["text-c-2 flex cursor-default items-center justify-center",O(f)==="modal"?"font-code pr-2 pl-1 text-base":"px-2"]),"data-testid":"code-input-disabled"},[k("span",JRe,me(Y.modelValue),1)],2)):r.enum&&r.enum.length?(g(),R(Sg,{key:1,default:r.default,modelValue:Y.modelValue,type:q.value,value:r.enum,"onUpdate:modelValue":V[0]||(V[0]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","type","value"])):Y.type==="boolean"||Y.type?.includes("boolean")?(g(),R(Sg,{key:2,default:r.default,modelValue:Y.modelValue,value:C.value,"onUpdate:modelValue":V[1]||(V[1]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","value"])):r.examples&&r.examples.length?(g(),R(Sg,{key:3,default:r.default,modelValue:r.modelValue,value:r.examples,"onUpdate:modelValue":V[2]||(V[2]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","value"])):(g(),w("div",ve({key:4,id:O(a)},Y.$attrs,{ref_key:"codeMirrorRef",ref:x,class:["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":Y.lineWrapping,"flow-code-input--error":Y.error}],onKeydown:[V[3]||(V[3]=Zr(Wt(ne=>D("down",ne),["stop"]),["down"])),V[4]||(V[4]=Zr(ne=>D("enter",ne),["enter"])),V[5]||(V[5]=Zr(ne=>D("escape",ne),["escape"])),V[6]||(V[6]=Zr(Wt(ne=>D("up",ne),["stop"]),["up"]))]}),[Y.disableTabIndent?j("",!0):(g(),w("div",tLe,[...V[7]||(V[7]=[ie(" Press ",-1),k("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),ie(" then ",-1),k("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),ie(" to exit ",-1)])]))],16,eLe)),Y.$slots.warning?(g(),w("div",nLe,[H(Y.$slots,"warning",{},void 0,!0)])):j("",!0),Y.$slots.icon?(g(),w("div",rLe,[H(Y.$slots,"icon",{},void 0,!0)])):j("",!0),Y.required?(g(),w("div",iLe," Required ")):j("",!0),B.value?(g(),R(qRe,{key:8,ref_key:"dropdownRef",ref:d,dropdownPosition:u.value,envVariables:Y.envVariables,environment:Y.environment,query:c.value,onSelect:O(E)},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):j("",!0)],64))}}),sLe=pp(aLe,[["__scopeId","data-v-103d9d56"]]),oy=Fe({description:J().optional()}),ay=Fe({uid:dc.brand(),nameKey:J().optional().default("")}),lLe=["query","header","cookie"],yV=oy.extend({type:It("apiKey"),name:J().optional().default(""),in:Bn(lLe).optional().default("header").catch("header")}),cLe=Fe({value:J().default("")}),uLe=yV.merge(ay).merge(cLe),vV=oy.extend({type:It("http"),scheme:J().toLowerCase().pipe(Bn(["basic","bearer"])).optional().default("basic"),bearerFormat:Nn([It("JWT"),J()]).optional().default("JWT")}),dLe=Fe({username:J().default(""),password:J().default(""),token:J().default("")}),fLe=vV.merge(ay).merge(dLe),wV=oy.extend({type:It("openIdConnect"),openIdConnectUrl:J().optional().default("")}),pLe=wV.merge(ay),zA=J().default(""),L4=J().default(""),Q1=Fe({refreshUrl:J().optional().default(""),scopes:cn(J(),J().optional().default("")).optional().default({}).catch({}),selectedScopes:Sn(J()).optional().default([]),"x-scalar-client-id":J().optional().default(""),token:J().default(""),"x-scalar-security-query":cn(J(),J()).optional(),"x-scalar-security-body":cn(J(),J()).optional(),"x-tokenName":J().optional()}),B4=typeof window<"u"?window.location.origin+window.location.pathname:"",SV=["SHA-256","plain","no"],j4=Bn(["header","body"]).optional(),kV=oy.extend({type:It("oauth2"),"x-default-scopes":Sn(J()).optional(),flows:Fe({implicit:Q1.extend({type:It("implicit").default("implicit"),authorizationUrl:zA,"x-scalar-redirect-uri":J().optional().default(B4)}),password:Q1.extend({type:It("password").default("password"),tokenUrl:L4,clientSecret:J().default(""),username:J().default(""),password:J().default(""),"x-scalar-credentials-location":j4}),clientCredentials:Q1.extend({type:It("clientCredentials").default("clientCredentials"),tokenUrl:L4,clientSecret:J().default(""),"x-scalar-credentials-location":j4}),authorizationCode:Q1.extend({type:It("authorizationCode").default("authorizationCode"),authorizationUrl:zA,"x-usePkce":Bn(SV).optional().default("no"),"x-scalar-redirect-uri":J().optional().default(B4),tokenUrl:L4,clientSecret:J().default(""),"x-scalar-credentials-location":j4})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":B4}})}),hLe=kV.merge(ay),xV=cn(J(),Sn(J()).optional().default([]));Nn([yV,vV,kV,wV]);const mh=dS("type",[uLe,fLe,pLe,hLe]).transform(e=>(e.type==="oauth2"&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(n=>{e.flows[n]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[n].selectedScopes=[e["x-default-scopes"]].flat())}),e)),$V=Nn([J().brand(),J().brand().array()]).array().default([]),mLe=Nn([Fe({description:J().optional(),default:J().default("")}),J()]),gLe=Fe({description:J().optional(),color:J().optional(),variables:cn(J(),mLe)}),bLe=cn(J(),gLe),OLe=Fe({description:J().optional(),example:J().optional()}),yLe=cn(J(),OLe),Df=e=>Array.isArray(e)?e.map(t=>typeof t=="object"&&t!==null?Df(t):t):Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0).map(([t,n])=>typeof n=="object"&&n!==null?[t,Df(n)]:[t,n])),vLe=Fe({name:J().optional().nullable().catch(null),identifier:J().optional().catch(void 0),url:J().url().optional().catch(void 0)}).transform(Df),wLe=Fe({name:J().optional(),url:J().url().optional().catch(void 0),email:J().optional().catch(void 0)}).transform(Df),SLe=Fe({title:J().catch("API"),summary:J().optional().catch(void 0),description:J().optional().catch(void 0),termsOfService:J().url().optional().catch(void 0),contact:wLe.optional().catch(void 0),license:vLe.optional().catch(void 0),version:J().catch("1.0")}).merge(qve).transform(Df),Vk=Fe({description:J().optional().catch(void 0),url:J()}).transform(Df),kLe=Fe({tagName:J()}).array(),xLe=Fe({type:It("tag").optional().default("tag"),name:J(),description:J().optional().catch(void 0),externalDocs:Vk.optional(),"x-scalar-children":kLe.default([]).optional(),"x-internal":Xt().optional(),"x-scalar-ignore":Xt().optional()}),Nf=xLe.extend({uid:dc.brand(),children:Nn([J().brand(),J().brand()]).array().default([])}),$Le=Fe({type:It("collection").optional().default("collection"),openapi:Nn([J(),It("3.0.0"),It("3.1.0"),It("4.0.0")]).optional().default("3.1.0"),jsonSchemaDialect:J().optional(),info:SLe.catch({title:"API",version:"1.0"}),security:Sn(xV).optional().default([]),externalDocs:Vk.optional().catch(void 0),components:cn(J(),wr()).optional(),webhooks:cn(J(),wr()).optional(),"x-scalar-icon":J().optional().default("interface-content-folder"),"x-scalar-active-environment":J().optional(),"x-scalar-environments":bLe.optional(),"x-scalar-secrets":yLe.optional()}),ELe=Fe({uid:dc.brand(),securitySchemes:J().array().default([]),selectedSecuritySchemeUids:$V,selectedServerUid:J().brand().optional(),servers:J().brand().array().default([]),requests:J().brand().array().default([]),tags:J().brand().array().default([]),children:Nn([J().brand(),J().brand()]).array().default([]),documentUrl:J().optional(),watchMode:Xt().optional().default(!1),integration:J().nullable().optional(),useCollectionSecurity:Xt().optional().default(!1),watchModeStatus:Bn(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")}),Mf=$Le.merge(ELe);var kg=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable",e))(kg||{});const _Le=Bn(["path","query","header","cookie"]),TLe=Bn(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),ALe=Fe({in:_Le,name:J(),description:J().optional(),required:Xt().optional().default(!1),deprecated:Xt().optional().default(!1),schema:wr().optional(),content:wr().optional(),style:TLe.optional(),explode:Xt().optional(),example:wr().optional(),examples:Nn([cn(J(),Fe({value:wr().optional(),summary:J().optional(),externalValue:J().optional()})),Sn(wr())]).optional()});function qA(e,t,n){const r={};t.forEach((a,s)=>r[a]=s);const i=[],o=[];return e.forEach(a=>{const s=r[a[n]]??-1;s>=0?i[s]=a:o.push(a)}),i.filter(Boolean).concat(...o)}function CLe(e){return e?Object.keys(e).map(t=>String(t)):[]}const PLe=e=>e["$ref-value"],Se=(e,t=PLe)=>typeof e=="object"&&e!==null&&"$ref"in e?t(e):e,s5=(e,t,n)=>{const[r,i]=e.split("#",2);if(r)return n.has(r)?i?i.startsWith("/")?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith("/")?i.slice(1):n.get(`${t}#${i}`)},gh=e=>{if(e&&typeof e=="object"&&e.$id&&typeof e.$id=="string")return e.$id},ZA=e=>e.join("/"),Xk=(e,t="",n=[],r=new Map,i=new WeakSet)=>{if(typeof e!="object"||e===null||i.has(e))return r;i.add(e);const o=gh(e);o&&r.set(o,ZA(n));const a=o??t;e.$anchor&&typeof e.$anchor=="string"&&r.set(`${a}#${e.$anchor}`,ZA(n));for(const s in e)typeof e[s]=="object"&&e[s]!==null&&Xk(e[s],a,[...n,s],r,i);return r};function bh(e,t){return t.reduce((n,r)=>n.value===void 0?{context:"",value:void 0}:typeof n.value!="object"||n.value===null?{context:"",value:void 0}:{context:gh(n.value)??n.context,value:n.value?.[r]},{context:"",value:e})}const sy=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null;function HA(e){return e.split("/").filter((t,n)=>(n!==0||t!=="#")&&t)}function ILe(e,t){return t.reduce((n,r)=>(n[r]===void 0&&(isNaN(Number(r))?n[r]={}:n[r]=[]),n[r]),e)}const Wk=Symbol("isMagicProxy"),EV=Symbol("magicProxyTarget"),pd="$ref-value",Yp="$ref",R0=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Xk(e),currentContext:""})=>{if(!sy(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r={get(o,a,s){if(a===Wk)return!0;if(a===EV)return o;if(typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal)return;const l=Reflect.get(o,Yp,s),c=gh(o);if(a===pd&&typeof l=="string"){if(n.cache.has(l))return n.cache.get(l);const d=s5(l,c??n.currentContext,n.schemas);if(d===void 0)return;const f=bh(n.root,HA(`#/${d}`));if(VA(f.value))return f.value;const p=R0(f.value,t,{...n,currentContext:f.context});return n.cache.set(l,p),p}const u=Reflect.get(o,a,s);return VA(u)?u:R0(u,t,{...n,currentContext:c??n.currentContext})},set(o,a,s,l){const c=Reflect.get(o,Yp,l);if(typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal)return!0;if(a===pd&&typeof c=="string"){const u=gh(o),d=s5(c,u??n.currentContext,n.schemas);if(d===void 0)return;const f=HA(`#/${d}`);if(f.length===0)return!1;const p=()=>bh(n.root,f.slice(0,-1)).value;return p()===void 0&&(ILe(n.root,f.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${c}
|
|
279
|
+
}`,{label:"class",detail:"definition",type:"keyword"}),Li('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Li('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],HDe=_H.concat([Li("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Li("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Li("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),fA=new SZ,TH=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Xp(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const VDe=["FunctionDeclaration"],XDe={FunctionDeclaration:Xp("function"),ClassDeclaration:Xp("class"),ClassExpression:()=>!0,EnumDeclaration:Xp("constant"),TypeAliasDeclaration:Xp("type"),NamespaceDeclaration:Xp("namespace"),VariableDefinition(e,t){e.matchContext(VDe)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function AH(e,t){let n=fA.get(t);if(n)return n;let r=[],i=!0;function o(a,s){let l=e.sliceString(a.from,a.to);r.push({label:l,type:s})}return t.cursor(en.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let s=XDe[a.name];if(s&&s(a,o)||TH.has(a.name))return!1}else if(a.to-a.from>8192){for(let s of AH(e,a.node))r.push(s);return!1}}),fA.set(t,r),r}const pA=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,CH=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function WDe(e){let t=zn(e.state).resolveInner(e.pos,-1);if(CH.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&pA.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)TH.has(i.name)&&(r=r.concat(AH(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:pA}}const ps=il.define({name:"javascript",parser:ZDe.configure({props:[Zu.add({IfStatement:Wd({except:/^\s*({|else\b)/}),TryStatement:Wd({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:z9e,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:R6({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Wd({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Hu.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":KO,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),PH={test:e=>/^JSX/.test(e.name),facet:EZ({commentTokens:{block:{open:"{/*",close:"*/}"}}})},IH=ps.configure({dialect:"ts"},"typescript"),DH=ps.configure({dialect:"jsx",props:[kk.add(e=>e.isTop?[PH]:void 0)]}),NH=ps.configure({dialect:"jsx ts",props:[kk.add(e=>e.isTop?[PH]:void 0)]},"typescript");let MH=e=>({label:e,type:"keyword"});const RH="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(MH),YDe=RH.concat(["declare","implements","private","protected","public"].map(MH));function GDe(e={}){let t=e.jsx?e.typescript?NH:DH:e.typescript?IH:ps,n=e.typescript?HDe.concat(YDe):_H.concat(RH);return new mp(t,[ps.data.of({autocomplete:PCe(CH,HZ(n))}),ps.data.of({autocomplete:WDe}),e.jsx?eNe:[]])}function KDe(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function hA(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return e.sliceString(r.from,Math.min(r.to,n));return""}const JDe=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),eNe=Ze.inputHandler.of((e,t,n,r,i)=>{if((JDe?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!ps.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c;let{head:u}=l,d=zn(a).resolveInner(u-1,-1),f;if(d.name=="JSXStartTag"&&(d=d.parent),!(a.doc.sliceString(u-1,u)!=r||d.name=="JSXAttributeValue"&&d.to>u)){if(r==">"&&d.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(r=="/"&&d.name=="JSXStartCloseTag"){let p=d.parent,h=p.parent;if(h&&p.from==u-2&&((f=hA(a.doc,h.firstChild,u))||((c=h.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:Ce.cursor(u+m.length,-1),changes:{from:u,insert:m}}}}else if(r==">"){let p=KDe(d);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(u,u+2))&&(f=hA(a.doc,p,u)))return{range:l,changes:{from:u,insert:`</${f}>`}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),Wp=["_blank","_self","_top","_parent"],T4=["ascii","utf-8","utf-16","latin1","latin1"],A4=["get","post","put","delete"],C4=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],no=["true","false"],We={},tNe={a:{attrs:{href:null,ping:null,type:null,media:null,target:Wp,hreflang:null}},abbr:We,address:We,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:We,aside:We,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:We,base:{attrs:{href:null,target:Wp}},bdi:We,bdo:We,blockquote:{attrs:{cite:null}},body:We,br:We,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C4,formmethod:A4,formnovalidate:["novalidate"],formtarget:Wp,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:We,center:We,cite:We,code:We,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:We,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:We,div:We,dl:We,dt:We,em:We,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:We,figure:We,footer:We,form:{attrs:{action:null,name:null,"accept-charset":T4,autocomplete:["on","off"],enctype:C4,method:A4,novalidate:["novalidate"],target:Wp}},h1:We,h2:We,h3:We,h4:We,h5:We,h6:We,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:We,hgroup:We,hr:We,html:{attrs:{manifest:null}},i:We,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C4,formmethod:A4,formnovalidate:["novalidate"],formtarget:Wp,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:We,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:We,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:We,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:T4,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:We,noscript:We,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:We,param:{attrs:{name:null,value:null}},pre:We,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:We,rt:We,ruby:We,samp:We,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:T4}},section:We,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:We,source:{attrs:{src:null,type:null,media:null}},span:We,strong:We,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:We,summary:We,sup:We,table:We,tbody:We,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:We,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:We,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:We,time:{attrs:{datetime:null}},title:We,tr:We,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:We,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:We},LH={accesskey:null,class:null,contenteditable:no,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:no,autocorrect:no,autocapitalize:no,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":no,"aria-autocomplete":["inline","list","both","none"],"aria-busy":no,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":no,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":no,"aria-hidden":no,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":no,"aria-multiselectable":no,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":no,"aria-relevant":null,"aria-required":no,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},BH="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of BH)LH[e]=null;let I2=class{constructor(t,n){this.tags={...tNe,...t},this.globalAttrs={...LH,...n},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};I2.default=new I2;function Af(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function Cf(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function jH(e,t,n){let r=n.tags[Af(e,Cf(t))];return r?.children||n.allTags}function Bk(e,t){let n=[];for(let r=Cf(t);r&&!r.type.isTop;r=Cf(r.parent)){let i=Af(e,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(i)}return n}const FH=/^[:\-\.\w\u00b7-\uffff]*$/;function mA(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=Cf(n,n.name=="StartTag"||n.name=="TagName");return{from:r,to:i,options:jH(e.doc,a,t).map(s=>({label:s,type:"type"})).concat(Bk(e.doc,n).map((s,l)=>({label:"/"+s,apply:"/"+s+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function gA(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:Bk(e.doc,t).map((o,a)=>({label:o,apply:o+i,type:"type",boost:99-a})),validFor:FH}}function nNe(e,t,n,r){let i=[],o=0;for(let a of jH(e.doc,n,t))i.push({label:"<"+a,type:"type"});for(let a of Bk(e.doc,n))i.push({label:"</"+a+">",type:"type",boost:99-o++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function rNe(e,t,n,r,i){let o=Cf(n),a=o?t.tags[Af(e.doc,o)]:null,s=a&&a.attrs?Object.keys(a.attrs):[],l=a&&a.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:FH}}function iNe(e,t,n,r,i){var o;let a=(o=n.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),s=[],l;if(a){let c=e.sliceDoc(a.from,a.to),u=t.globalAttrs[c];if(!u){let d=Cf(n),f=d?t.tags[Af(e.doc,d)]:null;u=f?.attrs&&f.attrs[c]}if(u){let d=e.sliceDoc(r,i).toLowerCase(),f='"',p='"';/^['"]/.test(d)?(l=d[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",p=e.sliceDoc(i,i+1)==d[0]?"":d[0],d=d.slice(1),r++):l=/^[^\s<>='"]*$/;for(let h of u)s.push({label:h,apply:f+h+p,type:"constant"})}}return{from:r,to:i,options:s,validFor:l}}function oNe(e,t){let{state:n,pos:r}=t,i=zn(n).resolveInner(r,-1),o=i.resolve(r);for(let a=r,s;o==i&&(s=i.childBefore(a));){let l=s.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=i=s,a=l.from}return i.name=="TagName"?i.parent&&/CloseTag$/.test(i.parent.name)?gA(n,i,i.from,r):mA(n,e,i,i.from,r):i.name=="StartTag"||i.name=="IncompleteTag"?mA(n,e,i,r,r):i.name=="StartCloseTag"||i.name=="IncompleteCloseTag"?gA(n,i,r,r):i.name=="OpenTag"||i.name=="SelfClosingTag"||i.name=="AttributeName"?rNe(n,e,i,i.name=="AttributeName"?i.from:r,r):i.name=="Is"||i.name=="AttributeValue"||i.name=="UnquotedAttributeValue"?iNe(n,e,i,i.name=="Is"?r:i.from,r):t.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?nNe(n,e,i,r):null}function aNe(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new I2(t,n):I2.default;return i=>oNe(r,i)}const sNe=ps.parser.configure({top:"SingleExpression"}),UH=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:IH.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:DH.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:NH.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:sNe},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:ps.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:C2.parser}],QH=[{name:"style",parser:C2.parser.configure({top:"Styles"})}].concat(BH.map(e=>({name:e,parser:ps.parser}))),zH=il.define({name:"html",parser:hDe.configure({props:[Zu.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let r=e.node;;){let i=r.lastChild;if(!i||i.name!="Element"||i.to!=r.to)break;t=r=i}return t&&!((n=t.lastChild)&&(n.name=="CloseTag"||n.name=="SelfClosingTag"))?e.lineIndent(t.from)+e.unit:null}}),Hu.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),Ek.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),yg=zH.configure({wrap:$H(UH,QH)});function lNe(e={}){let t="",n;e.matchClosingTags===!1&&(t="noMatch"),e.selfClosingTags===!0&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=$H((e.nestedLanguages||[]).concat(UH),(e.nestedAttributes||[]).concat(QH)));let r=n?zH.configure({wrap:n,dialect:t}):t?yg.configure({dialect:t}):yg;return new mp(r,[yg.data.of({autocomplete:aNe(e)}),e.autoCloseTags!==!1?cNe:[],GDe().support,mH().support])}const bA=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),cNe=Ze.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!yg.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c,u,d;let f=a.doc.sliceString(l.from-1,l.to)==r,{head:p}=l,h=zn(a).resolveInner(p,-1),m;if(f&&r==">"&&h.name=="EndTag"){let b=h.parent;if(((u=(c=b.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(m=Af(a.doc,b.parent,p))&&!bA.has(m)){let y=p+(a.doc.sliceString(p,p+1)===">"?1:0),$=`</${m}>`;return{range:l,changes:{from:p,to:y,insert:$}}}}else if(f&&r=="/"&&h.name=="IncompleteCloseTag"){let b=h.parent;if(h.from==p-2&&((d=b.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(m=Af(a.doc,b,p))&&!bA.has(m)){let y=p+(a.doc.sliceString(p,p+1)===">"?1:0),$=`${m}>`;return{range:Ce.cursor(p+$.length,-1),changes:{from:p,to:y,insert:$}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),uNe=qu({String:U.string,Number:U.number,"True False":U.bool,PropertyName:U.propertyName,Null:U.null,", :":U.separator,"[ ]":U.squareBracket,"{ }":U.brace}),dNe=al.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[uNe],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),fNe=il.define({name:"json",parser:dNe.configure({props:[Zu.add({Object:Wd({except:/^\s*\}/}),Array:Wd({except:/^\s*\]/})}),Hu.add({"Object Array":KO})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function pNe(){return new mp(fNe)}const V6=1,hNe=2,mNe=3,gNe=4,bNe=5,ONe=36,yNe=37,vNe=38,wNe=11,SNe=13;function kNe(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function xNe(e){return e==9||e==10||e==13||e==32}let OA=null,yA=null,vA=0;function X6(e,t){let n=e.pos+t;if(yA==e&&vA==n)return OA;for(;xNe(e.peek(t));)t++;let r="";for(;;){let i=e.peek(t);if(!kNe(i))break;r+=String.fromCharCode(i),t++}return yA=e,vA=n,OA=r||null}function wA(e,t){this.name=e,this.parent=t}const $Ne=new ty({start:null,shift(e,t,n,r){return t==V6?new wA(X6(r,1)||"",e):e},reduce(e,t){return t==wNe&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==V6||i==SNe?new wA(X6(r,1)||"",e):e},strict:!1}),ENe=new Er((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=X6(e,0);if(!n)return e.acceptToken(bNe);if(t.context&&n==t.context.name)return e.acceptToken(hNe);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(mNe,-2);e.acceptToken(gNe)}else if(e.next!=33&&e.next!=63)return e.acceptToken(V6)}},{contextual:!0});function jk(e,t){return new Er(n=>{let r=0,i=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==i){for(let o=1;o<t.length;o++)if(n.peek(o)!=t.charCodeAt(o))continue e;break}r&&n.acceptToken(e)})}const _Ne=jk(ONe,"-->"),TNe=jk(yNe,"?>"),ANe=jk(vNe,"]]>"),CNe=qu({Text:U.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":U.angleBracket,TagName:U.tagName,"MismatchedCloseTag/TagName":[U.tagName,U.invalid],AttributeName:U.attributeName,AttributeValue:U.attributeValue,Is:U.definitionOperator,"EntityReference CharacterReference":U.character,Comment:U.blockComment,ProcessingInst:U.processingInstruction,DoctypeDecl:U.documentMeta,Cdata:U.special(U.string)}),PNe=al.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",stateData:")z~OPQOSVOTWOVWOWWOXWOiXOyPO!QTO!SUO~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:$Ne,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[CNe],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;=`<%l'^h(vV|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oh)`P;=`<%l(oi)fP;=`<%l$qo)t`VP|W!O`zUOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk+PV{YVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%g~+iast,n![!]-r!c!}-r#R#S-r#T#o-r%W%o-r%p&a-r&b1p-r4U4d-r4e$IS-r$I`$Ib-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~,qQ!Q![,w#l#m-V~,zQ!Q![,w!]!^-Q~-VOX~~-YR!Q![-c!c!i-c#T#Z-c~-fS!Q![-c!]!^-Q!c!i-c#T#Z-c~-ug}!O-r!O!P-r!Q![-r![!]-r!]!^/^!c!}-r#R#S-r#T#o-r$}%O-r%W%o-r%p&a-r&b1p-r1p4U-r4U4d-r4e$IS-r$I`$Ib-r$Je$Jg-r$Kh%#t-r&/x&Et-r&FV;'S-r;'S;:j/c?&r?Ah-r?BY?Mn-r~/cOW~~/fP;=`<%l-rk/rW}bVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^k0eZVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O1W!O!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk1aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a2S!a;'S$q;'S;=`)c<%lO$qk2_X!PQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qm3TZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a3v!a;'S$q;'S;=`)c<%lO$qm4RXdSVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo4{!P`S^QVP|W!O`Or$qrs%gsv$qwx'^x}$q}!O4n!O!P4n!P!Q$q!Q![4n![!]4n!]!^$q!^!_(o!_!c$q!c!}4n!}#R$q#R#S4n#S#T$q#T#o4n#o$}$q$}%O4n%O%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U4n4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Je$q$Je$Jg4n$Jg$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qo8RP;=`<%l4ni8]Y|W!O`Oq(oqr8{rs&osv(owx'}x!a(o!a!b!#U!b;'S(o;'S;=`)]<%lO(oi9S_|W!O`Or(ors&osv(owx'}x}(o}!O:R!O!f(o!f!g;e!g!}(o!}#ODh#O#W(o#W#XLp#X;'S(o;'S;=`)]<%lO(oi:YX|W!O`Or(ors&osv(owx'}x}(o}!O:u!O;'S(o;'S;=`)]<%lO(oi;OV!QP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oi;lX|W!O`Or(ors&osv(owx'}x!q(o!q!r<X!r;'S(o;'S;=`)]<%lO(oi<`X|W!O`Or(ors&osv(owx'}x!e(o!e!f<{!f;'S(o;'S;=`)]<%lO(oi=SX|W!O`Or(ors&osv(owx'}x!v(o!v!w=o!w;'S(o;'S;=`)]<%lO(oi=vX|W!O`Or(ors&osv(owx'}x!{(o!{!|>c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[ENe,_Ne,TNe,ANe,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function vg(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function P4(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":vg(e,n)}function INe(e,t,n){let r=t&&t.getChildren("Attribute").find(o=>o.from<=n&&o.to>=n),i=r&&r.getChild("AttributeName");return i?e.sliceString(i.from,i.to):""}function I4(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function DNe(e,t){var n;let r=zn(e).resolveInner(t,-1),i=null;for(let o=r;!i&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(i=o);if(i&&(i.to>t||i.lastChild.type.isError)){let o=i.parent;if(r.name=="TagName")return i.name=="CloseTag"||i.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:o}:{type:"openTag",from:r.from,context:I4(o)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:i};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:i};let a=r==i||r.name=="Attribute"?r.childBefore(t):r;return a?.name=="StartTag"?{type:"openTag",from:t,context:I4(o)}:a?.name=="StartCloseTag"&&a.to<=t?{type:"closeTag",from:t,context:o}:a?.name=="Is"?{type:"attrValue",from:t,context:i}:a?{type:"attrName",from:t,context:i}:null}else if(r.name=="StartCloseTag")return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(!((n=r.lastChild)===null||n===void 0)&&n.type.isError);)r=r.parent;return r.name=="Element"||r.name=="Text"||r.name=="Document"?{type:"tag",from:t,context:r.name=="Element"?r:I4(r)}:null}let NNe=class{constructor(t,n,r){this.attrs=n,this.attrValues=r,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(i=>({label:i,type:"text"})):[]}};const D4=/^[:\-\.\w\u00b7-\uffff]*$/;function SA(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function kA(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function MNe(e,t){let n=[],r=[],i=Object.create(null);for(let l of t){let c=SA(l);n.push(c),l.global&&r.push(c),l.values&&(i[l.name]=l.values.map(kA))}let o=[],a=[],s=Object.create(null);for(let l of e){let c=r,u=i;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(p=>p.label==f)||{label:f,type:"property"}:(f.values&&(u==i&&(u=Object.create(u)),u[f.name]=f.values.map(kA)),SA(f)))));let d=new NNe(l,c,u);s[d.name]=d,o.push(d),l.top&&a.push(d)}a.length||(a=o);for(let l=0;l<o.length;l++){let c=e[l],u=o[l];if(c.children)for(let d of c.children)s[d]&&u.children.push(s[d]);else u.children=o}return l=>{var c;let{doc:u}=l.state,d=DNe(l.state,l.pos);if(!d||d.type=="tag"&&!l.explicit)return null;let{type:f,from:p,context:h}=d;if(f=="openTag"){let m=a,b=P4(u,h);if(b){let y=s[b];m=y?.children||o}return{from:p,options:m.map(y=>y.completion),validFor:D4}}else if(f=="closeTag"){let m=P4(u,h);return m?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=s[m])===null||c===void 0?void 0:c.closeNameCompletion)||{label:m+">",type:"type"}],validFor:D4}:null}else if(f=="attrName"){let m=s[vg(u,h)];return{from:p,options:m?.attrs||r,validFor:D4}}else if(f=="attrValue"){let m=INe(u,h,p);if(!m)return null;let b=s[vg(u,h)],y=(b?.attrValues||i)[m];return!y||!y.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:y,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let m=P4(u,h),b=s[m],y=[],$=h&&h.lastChild;m&&(!$||$.name!="CloseTag"||vg(u,$)!=m)&&y.push(b?b.closeCompletion:{label:"</"+m+">",type:"type",boost:2});let x=y.concat((b?.children||(h?o:a)).map(_=>_.openCompletion));if(h&&b?.text.length){let _=h.firstChild;_.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(_.to,l.pos))&&(x=x.concat(b.text))}return{from:p,options:x,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W6=il.define({name:"xml",parser:PNe.configure({props:[Zu.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Hu.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),Ek.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function RNe(e={}){let t=[W6.data.of({autocomplete:MNe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(LNe),new mp(W6,t)}function xA(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}const LNe=Ze.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!W6.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(l=>{var c,u,d;let{head:f}=l,p=a.doc.sliceString(f-1,f)==r,h=zn(a).resolveInner(f,-1),m;if(p&&r==">"&&h.name=="EndTag"){let b=h.parent;if(((u=(c=b.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(m=xA(a.doc,b.parent,f))){let y=f+(a.doc.sliceString(f,f+1)===">"?1:0),$=`</${m}>`;return{range:l,changes:{from:f,to:y,insert:$}}}}else if(p&&r=="/"&&h.name=="StartCloseTag"){let b=h.parent;if(h.from==f-2&&((d=b.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(m=xA(a.doc,b,f))){let y=f+(a.doc.sliceString(f,f+1)===">"?1:0),$=`${m}>`;return{range:Ce.cursor(f+$.length,-1),changes:{from:f,to:y,insert:$}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),kd=63,$A=64,BNe=1,jNe=2,qH=3,FNe=4,ZH=5,UNe=6,QNe=7,HH=65,zNe=66,qNe=8,ZNe=9,HNe=10,VNe=11,XNe=12,VH=13,WNe=19,YNe=20,GNe=29,KNe=33,JNe=34,eMe=47,tMe=0,Fk=1,Y6=2,hh=3,G6=4;class Fc{constructor(t,n,r){this.parent=t,this.depth=n,this.type=r,this.hash=(t?t.hash+t.hash<<8:0)+n+(n<<4)+r}}Fc.top=new Fc(null,-1,tMe);function D0(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let i=e.peek(r);if(sl(i)||i==-1)return n}}function K6(e){return e==32||e==9}function sl(e){return e==10||e==13}function XH(e){return K6(e)||sl(e)}function tu(e){return e<0||XH(e)}const nMe=new ty({start:Fc.top,reduce(e,t){return e.type==hh&&(t==YNe||t==JNe)?e.parent:e},shift(e,t,n,r){if(t==qH)return new Fc(e,D0(r,r.pos),Fk);if(t==HH||t==ZH)return new Fc(e,D0(r,r.pos),Y6);if(t==kd)return e.parent;if(t==WNe||t==KNe)return new Fc(e,0,hh);if(t==VH&&e.type==G6)return e.parent;if(t==eMe){let i=/[1-9]/.exec(r.read(r.pos,n.pos));if(i)return new Fc(e,e.depth+ +i[0],G6)}return e},hash(e){return e.hash}});function Pf(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&tu(e.peek(n+3))}const rMe=new Er((e,t)=>{if(e.next==-1&&t.canShift($A))return e.acceptToken($A);let n=e.peek(-1);if((sl(n)||n<0)&&t.context.type!=hh){if(Pf(e,45))if(t.canShift(kd))e.acceptToken(kd);else return e.acceptToken(BNe,3);if(Pf(e,46))if(t.canShift(kd))e.acceptToken(kd);else return e.acceptToken(jNe,3);let r=0;for(;e.next==32;)r++,e.advance();(r<t.context.depth||r==t.context.depth&&t.context.type==Fk&&(e.next!=45||!tu(e.peek(1))))&&e.next!=-1&&!sl(e.next)&&e.next!=35&&e.acceptToken(kd,-r)}},{contextual:!0}),iMe=new Er((e,t)=>{if(t.context.type==hh){e.next==63&&(e.advance(),tu(e.next)&&e.acceptToken(QNe));return}if(e.next==45)e.advance(),tu(e.next)&&e.acceptToken(t.context.type==Fk&&t.context.depth==D0(e,e.pos-1)?FNe:qH);else if(e.next==63)e.advance(),tu(e.next)&&e.acceptToken(t.context.type==Y6&&t.context.depth==D0(e,e.pos-1)?UNe:ZH);else{let n=e.pos;for(;;)if(K6(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)WH(e);else if(e.next==38)J6(e);else if(e.next==42){J6(e);break}else if(e.next==39||e.next==34){if(Uk(e,!0))break;return}else if(e.next==91||e.next==123){if(!aMe(e))return;break}else{YH(e,!0,!1,0);break}for(;K6(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(GNe))return;let r=e.peek(1);tu(r)&&e.acceptTokenTo(t.context.type==Y6&&t.context.depth==D0(e,n)?zNe:HH,n)}}},{contextual:!0});function oMe(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function EA(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function _A(e,t){return e.next==37?(e.advance(),EA(e.next)&&e.advance(),EA(e.next)&&e.advance(),!0):oMe(e.next)||t&&e.next==44?(e.advance(),!0):!1}function WH(e){if(e.advance(),e.next==60){for(e.advance();;)if(!_A(e,!0)){e.next==62&&e.advance();break}}else for(;_A(e,!1););}function J6(e){for(e.advance();!tu(e.next)&&D2(e.tag)!="f";)e.advance()}function Uk(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==n)if(o==39)if(e.next==39)e.advance();else break;else break;else if(o==92&&n==34)e.next>=0&&e.advance();else if(sl(o)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function aMe(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!Uk(e,!0))return!1}else if(e.next==93||e.next==125){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>n||sl(e.next))return!1;e.advance()}}const sMe="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function D2(e){return e<33?"u":e>125?"s":sMe[e-33]}function N4(e,t){let n=D2(e);return n!="u"&&!(t&&n=="f")}function YH(e,t,n,r){if(D2(e.next)=="s"||(e.next==63||e.next==58||e.next==45)&&N4(e.peek(1),n))e.advance();else return!1;let i=e.pos;for(;;){let o=e.next,a=0,s=r+1;for(;XH(o);){if(sl(o)){if(t)return!1;s=0}else s++;o=e.peek(++a)}if(!(o>=0&&(o==58?N4(e.peek(a+1),n):o==35?e.peek(a-1)!=32:N4(o,n)))||!n&&s<=r||s==0&&!n&&(Pf(e,45,a)||Pf(e,46,a)))break;if(t&&D2(o)=="f")return!1;for(let c=a;c>=0;c--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}const lMe=new Er((e,t)=>{if(e.next==33)WH(e),e.acceptToken(XNe);else if(e.next==38||e.next==42){let n=e.next==38?HNe:VNe;J6(e),e.acceptToken(n)}else e.next==39||e.next==34?(Uk(e,!1),e.acceptToken(ZNe)):YH(e,!1,t.context.type==hh,t.context.depth)&&e.acceptToken(qNe)}),cMe=new Er((e,t)=>{let n=t.context.type==G6?t.context.depth:-1,r=e.pos;e:for(;;){let i=0,o=e.next;for(;o==32;)o=e.peek(++i);if(!i&&(Pf(e,45,i)||Pf(e,46,i))||!sl(o)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break e;let a=sl(e.next);if(e.advance(),a)continue e;r=e.pos}}e.acceptTokenTo(VH,r)}),uMe=qu({DirectiveName:U.keyword,DirectiveContent:U.attributeValue,"DirectiveEnd DocEnd":U.meta,QuotedLiteral:U.string,BlockLiteralHeader:U.special(U.string),BlockLiteralContent:U.content,Literal:U.content,"Key/Literal Key/QuotedLiteral":U.definition(U.propertyName),"Anchor Alias":U.labelName,Tag:U.typeName,Comment:U.lineComment,": , -":U.separator,"?":U.punctuation,"[ ]":U.squareBracket,"{ }":U.brace}),dMe=al.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:nMe,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[uMe],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[rMe,iMe,lMe,cMe,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),fMe=il.define({name:"yaml",parser:dMe.configure({props:[Zu.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name=="BlockLiteralContent"&&t.from<t.to)return e.baseIndentFor(t);if(t.name=="BlockLiteral")return e.baseIndentFor(t)+e.unit;if(t.name=="BlockSequence"||t.name=="BlockMapping")return e.column(t.from,1);if(t.name=="QuotedLiteral")return null;if(t.name=="Literal"){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:R6({closing:"}"}),FlowSequence:R6({closing:"]"})}),Hu.add({"FlowMapping FlowSequence":KO,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function pMe(){return new mp(fMe)}class TA{constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class Uc{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let i=r.facet(os).markerFilter;i&&(t=i(t,r));let o=t.slice().sort((p,h)=>p.from-h.from||p.to-h.to),a=new nl,s=[],l=0,c=r.doc.iter(),u=0,d=r.doc.length;for(let p=0;;){let h=p==o.length?null:o[p];if(!h&&!s.length)break;let m,b;if(s.length)m=l,b=s.reduce((x,_)=>Math.min(x,_.to),h&&h.from>m?h.from:1e8);else{if(m=h.from,m>d)break;b=h.to,s.push(h),p++}for(;p<o.length;){let x=o[p];if(x.from==m&&(x.to>x.from||x.to==m))s.push(x),p++,b=Math.min(x.to,b);else{b=Math.min(x.from,b);break}}b=Math.min(b,d);let y=!1;if(s.some(x=>x.from==m&&(x.to==b||b==d))&&(y=m==b,!y&&b-m<10)){let x=m-(u+c.value.length);x>0&&(c.next(x),u=m);for(let _=m;;){if(_>=b){y=!0;break}if(!c.lineBreak&&u+c.value.length>_)break;_=u+c.value.length,u+=c.value.length,c.next()}}let $=_Me(s);if(y)a.add(m,m,st.widget({widget:new kMe($),diagnostics:s.slice()}));else{let x=s.reduce((_,E)=>E.markClass?_+" "+E.markClass:_,"");a.add(m,b,st.mark({class:"cm-lintRange cm-lintRange-"+$+x,diagnostics:s.slice(),inclusiveEnd:s.some(_=>_.to>b)}))}if(l=b,l==d)break;for(let x=0;x<s.length;x++)s[x].to<=l&&s.splice(x--,1)}let f=a.finish();return new Uc(f,n,If(f))}}function If(e,t=null,n=0){let r=null;return e.between(n,1e9,(i,o,{spec:a})=>{if(!(t&&a.diagnostics.indexOf(t)<0))if(!r)r=new TA(i,o,t||a.diagnostics[0]);else{if(a.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new TA(r.from,o,r.diagnostic)}}),r}function hMe(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(os).hideOn(e,n,r);if(i!=null)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(a=>a.is(Qk))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}function mMe(e,t){return e.field(ha,!1)?t:t.concat(Et.appendConfig.of(tV))}function gMe(e,t){return{effects:mMe(e,[Qk.of(t)])}}const Qk=Et.define(),GH=Et.define(),KH=Et.define(),ha=Ii.define({create(){return new Uc(st.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let o=t.changes.mapPos(e.selected.from,1);r=If(n,e.selected.diagnostic,o)||If(n,null,o)}!n.size&&i&&t.state.facet(os).autoPanel&&(i=null),e=new Uc(n,i,r)}for(let n of t.effects)if(n.is(Qk)){let r=t.state.facet(os).autoPanel?n.value.length?N2.open:null:e.panel;e=Uc.init(n.value,r,t.state)}else n.is(GH)?e=new Uc(e.diagnostics,n.value?N2.open:null,e.selected):n.is(KH)&&(e=new Uc(e.diagnostics,e.panel,n.value));return e},provide:e=>[C6.from(e,t=>t.panel),Ze.decorations.from(e,t=>t.diagnostics)]}),bMe=st.mark({class:"cm-lintRange cm-lintRange-active"});function OMe(e,t,n){let{diagnostics:r}=e.state.field(ha),i,o=-1,a=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(l,c,{spec:u})=>{if(t>=l&&t<=c&&(l==c||(t>l||n>0)&&(t<c||n<0)))return i=u.diagnostics,o=l,a=c,!1});let s=e.state.facet(os).tooltipFilter;return i&&s&&(i=s(i,e.state)),i?{pos:o,end:a,above:e.state.doc.lineAt(o).to<a,create(){return{dom:yMe(e,i)}}}:null}function yMe(e,t){return Ja("ul",{class:"cm-tooltip-lint"},t.map(n=>eV(e,n,!1)))}const AA=e=>{let t=e.state.field(ha,!1);return!t||!t.panel?!1:(e.dispatch({effects:GH.of(!1)}),!0)},vMe=xr.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(os);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:t}=this.view,{sources:n}=t.facet(os);n.length&&wMe(n.map(r=>Promise.resolve(r(this.view))),r=>{this.view.state.doc==t.doc&&this.view.dispatch(gMe(this.view.state,r.reduce((i,o)=>i.concat(o))))},r=>{Ei(this.view.state,r)})}}update(e){let t=e.state.facet(os);(e.docChanged||t!=e.startState.facet(os)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function wMe(e,t,n){let r=[],i=-1;for(let o of e)o.then(a=>{r.push(a),clearTimeout(i),r.length==e.length?t(r):i=setTimeout(()=>t(r),200)},n)}const os=Qe.define({combine(e){return{sources:e.map(t=>t.source).filter(t=>t!=null),...zu(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:CA,tooltipFilter:CA,needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n,hideOn:(t,n)=>t?n?(r,i,o)=>t(r,i,o)||n(r,i,o):t:n,autoPanel:(t,n)=>t||n})}}});function CA(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function SMe(e,t={}){return[os.of({source:e,config:t}),vMe,tV]}function JH(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;r<n.length;r++){let i=n[r];if(/[a-zA-Z]/.test(i)&&!t.some(o=>o.toLowerCase()==i.toLowerCase())){t.push(i);continue e}}t.push("")}return t}function eV(e,t,n){var r;let i=n?JH(t.actions):[];return Ja("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ja("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((o,a)=>{let s=!1,l=p=>{if(p.preventDefault(),s)return;s=!0;let h=If(e.state.field(ha).diagnostics,t);h&&o.apply(e,h.from,h.to)},{name:c}=o,u=i[a]?c.indexOf(i[a]):-1,d=u<0?c:[c.slice(0,u),Ja("u",c.slice(u,u+1)),c.slice(u+1)],f=o.markClass?" "+o.markClass:"";return Ja("button",{type:"button",class:"cm-diagnosticAction"+f,onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${i[a]})"`}.`},d)}),t.source&&Ja("div",{class:"cm-diagnosticSource"},t.source))}class kMe extends xo{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return Ja("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class PA{constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=eV(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class N2{constructor(t){this.view=t,this.items=[];let n=i=>{if(i.keyCode==27)AA(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],a=JH(o.actions);for(let s=0;s<a.length;s++)if(a[s].toUpperCase().charCodeAt(0)==i.keyCode){let l=If(this.view.state.field(ha).diagnostics,o);l&&o.actions[s].apply(t,l.from,l.to)}}else return;i.preventDefault()},r=i=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(i.target)&&this.moveSelection(o)};this.list=Ja("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:n,onclick:r}),this.dom=Ja("div",{class:"cm-panel-lint"},this.list,Ja("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>AA(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(ha).selected;if(!t)return-1;for(let n=0;n<this.items.length;n++)if(this.items[n].diagnostic==t.diagnostic)return n;return-1}update(){let{diagnostics:t,selected:n}=this.view.state.field(ha),r=0,i=!1,o=null,a=new Set;for(t.between(0,this.view.state.doc.length,(s,l,{spec:c})=>{for(let u of c.diagnostics){if(a.has(u))continue;a.add(u);let d=-1,f;for(let p=r;p<this.items.length;p++)if(this.items[p].diagnostic==u){d=p;break}d<0?(f=new PA(this.view,u),this.items.splice(r,0,f),i=!0):(f=this.items[d],d>r&&(this.items.splice(r,d-r),i=!0)),n&&f.diagnostic==n.diagnostic?f.dom.hasAttribute("aria-selected")||(f.dom.setAttribute("aria-selected","true"),o=f):f.dom.hasAttribute("aria-selected")&&f.dom.removeAttribute("aria-selected"),r++}});r<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new PA(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:l})=>{let c=l.height/this.list.offsetHeight;s.top<l.top?this.list.scrollTop-=(l.top-s.top)/c:s.bottom>l.bottom&&(this.list.scrollTop+=(s.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let t=this.list.firstChild;function n(){let r=t;t=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;t!=r.dom;)n();t=r.dom.nextSibling}else this.list.insertBefore(r.dom,t);for(;t;)n()}moveSelection(t){if(this.selectedIndex<0)return;let n=this.view.state.field(ha),r=If(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:KH.of(r)})}static open(t){return new N2(t)}}function xMe(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function F1(e){return xMe(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const $Me=Ze.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:F1("#d11")},".cm-lintRange-warning":{backgroundImage:F1("orange")},".cm-lintRange-info":{backgroundImage:F1("#999")},".cm-lintRange-hint":{backgroundImage:F1("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function EMe(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function _Me(e){let t="hint",n=1;for(let r of e){let i=EMe(r.severity);i>n&&(n=i,t=r.severity)}return t}const tV=[ha,Ze.decorations.compute([ha],e=>{let{selected:t,panel:n}=e.field(ha);return!t||!n||t.from==t.to?st.none:st.set([bMe.range(t.from,t.to)])}),KAe(OMe,{hideOn:hMe}),$Me],TMe=({theme:e,settings:t={},styles:n=[]})=>{const r={".cm-gutters":{}},i={};t.background&&(i.backgroundColor=t.background),t.backgroundImage&&(i.backgroundImage=t.backgroundImage),t.foreground&&(i.color=t.foreground),t.fontSize&&(i.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=i),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});const o={};t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},o.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=o,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch});const a=Ze.theme(r,{dark:e==="dark"}),s=wm.define(n);return[a,BZ(s)]},AMe=TMe({theme:"light",settings:{background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",caret:"var(--scalar-color-1)",selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"},styles:[{tag:[U.standard(U.tagName),U.tagName],color:"var(--scalar-color-purple)"},{tag:[U.comment],color:"var(--scalar-color-3)"},{tag:[U.className],color:"var(--scalar-color-orange)"},{tag:[U.variableName,U.propertyName,U.attributeName],color:"var(--scalar-color-1)"},{tag:[U.operator],color:"var(--scalar-color-2)"},{tag:[U.keyword,U.typeName,U.typeOperator],color:"var(--scalar-color-green)"},{tag:[U.string],color:"var(--scalar-color-blue)"},{tag:[U.bracket,U.regexp,U.meta],color:"var(--scalar-color-3)"},{tag:[U.number],color:"var(--scalar-color-orange)"},{tag:[U.name,U.quote],color:"var(--scalar-color-3)"},{tag:[U.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[U.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[U.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[U.atom,U.bool,U.special(U.variableName)],color:"var(--scalar-color-3)"},{tag:[U.url,U.escape,U.regexp,U.link],color:"var(--scalar-color-1)"},{tag:U.link,textDecoration:"underline"},{tag:U.strikethrough,textDecoration:"line-through"},{tag:U.invalid,color:"var(--scalar-color-3)"}]}),IA=new pZ({regexp:/(\{[^}]+\})/g,decoration:()=>st.mark({attributes:{class:"api-client-url-variable"}})}),CMe=()=>xr.fromClass(class{variables;constructor(e){this.variables=IA.createDeco(e)}update(e){this.variables=IA.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>Ze.atomicRanges.of(t=>t.plugin(e)?.variables||st.none)}),fd=e=>"provider"in e&&!!ke(e.provider),PMe={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},IMe=e=>{const t=ee(null),n=(o="")=>{t.value&&t.value.state.doc.toString()!==o&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:o},selection:{anchor:Math.min(t.value.state.selection.main.anchor,o.length)}})},r=I(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:ke(e.disableTabIndent),language:ke(e.language),classes:ke(e.classes),readOnly:ke(e.readOnly),lineNumbers:ke(e.lineNumbers),withVariables:ke(e.withVariables),forceFoldGutter:ke(e.forceFoldGutter),disableEnter:ke(e.disableEnter),disableCloseBrackets:ke(e.disableCloseBrackets),withoutTheme:ke(e.withoutTheme),lint:ke(e.lint),additionalExtensions:ke(e.extensions),placeholder:ke(e.placeholder)}));Ke(e.codeMirrorRef,()=>{t.value?.destroy(),i()},{immediate:!0}),Pu(()=>t.value?.destroy());function i(){if(e.codeMirrorRef.value){const o=fd(e)?ke(e.provider):null,a=NA({...r.value,provider:o});t.value=new Ze({parent:e.codeMirrorRef.value,extensions:a}),fd(e)||n(ke(e.content))}}return Ke(()=>fd(e)?ke(e.provider):null,()=>{fd(e)&&(t.value?.destroy(),i())}),Ke(r,()=>{if(!t.value)return;const o=fd(e)?ke(e.provider):null,a=NA({...r.value,provider:o});requestAnimationFrame(()=>{t.value?.dispatch({effects:Et.reconfigure.of(a)})})},{immediate:!0}),Ke(()=>ke(e.content),()=>{fd(e)||n(ke(e.content))},{immediate:!0}),{setCodeMirrorContent:n,codeMirror:t}},DA={html:lNe,json:pNe,yaml:pMe,css:mH,xml:RNe};function NA({onChange:e,onBlur:t,onFocus:n,provider:r,language:i,classes:o=[],readOnly:a=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:p=!1,lint:h=!1,additionalExtensions:m=[],placeholder:b}){const y=[LAe(),TPe(),Ya.of(LPe),BZ(rCe,{fallback:!0}),Ze.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-tooltip":{border:"1px solid #f5c6cb",fontSize:"12px"},".cm-tooltip-lint":{backgroundColor:"#ffffff"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),Ze.updateListener.of($=>{$.docChanged&&e?.($.state.doc.toString())}),Ze.domEventHandlers({blur:($,x)=>{t?.(x.state.doc.toString())},focus:($,x)=>{n?.(x.state.doc.toString())}}),Ze.editorAttributes.of({class:o.join(" ")}),...m];if(r&&y.push(r),p||y.push(AMe),a?y.push(Ze.editable.of(!1)):(y.push(Z9e(),TT(),xPe(),Ya.of([...nH,PMe]),TT()),d||y.push(pPe(),Ya.of([...bPe])),f?y.push(Ya.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):y.push(Ya.of([UPe]))),b&&y.push(qAe(b)),s&&y.push(u9e()),c&&y.push(_T({markerDOM:$=>{const x=document.createElement("div");x.classList.add("cm-foldMarker");const _=qt(er,{icon:$?"ChevronDown":"ChevronRight",size:"md"});return w$(_,x),x}})),i&&DA[i]&&(y.push(DA[i]()),c||y.push(_T({markerDOM:$=>{const x=document.createElement("div");x.classList.add("cm-foldMarker");const _=qt(er,{icon:$?"ChevronDown":"ChevronRight",size:"md"});return w$(_,x),x}}))),h&&i==="json"){const $=SMe(x=>{const _=[],E=x.state.doc.toString();if(E.trim())try{JSON.parse(E)}catch(A){A instanceof Error&&_.push({from:0,to:x.state.doc.length,severity:"error",message:A.message})}return _});y.push($)}return l&&y.push(CMe()),u?y.push(Ya.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):y.push(Ya.of([{key:"Enter",run:BPe}])),y}function DMe(e){const{codeMirror:t,query:n,showDropdown:r,dropdownPosition:i}=e;function o(){return t.value?.state.selection.main.head||0}function a(u){return t.value?.coordsAtPos(u)}function s(){const u=o();requestAnimationFrame(()=>{const d=a(u-n.value.length-2);d&&(i.value={left:d.left,top:Math.max(d.bottom)})})}Ke(n,s);function l(u){const d=`{{${u}}}`,f=o(),p=Math.max(0,f-n.value.length-2),h=f;t.value?.dispatch({changes:{from:p,to:h,insert:d}}),r.value=!1}function c(){const u=o(),d=t.value?.state.doc.sliceString(0,u)||"",f=d.lastIndexOf("{{"),p=d.lastIndexOf("}}");f>p?(n.value=d.slice(f+2),r.value=!0,i.value=a(u)||{left:0,top:0},n.value===""&&s()):r.value=!1}return Ke(()=>t.value?.state.doc.toString(),c),{handleDropdownSelect:l,updateDropdownVisibility:c}}const NMe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nV=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=NMe[n[e]&63];return t};function ny(e){return Vf()?(Xf(e),!0):!1}const ry=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const MMe=e=>e!=null,RMe=Object.prototype.toString,LMe=e=>RMe.call(e)==="[object Object]",Mo=()=>{},BMe=jMe();function jMe(){var e,t;return ry&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function rV(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}function FMe(e,t={}){let n,r,i=Mo;const o=l=>{clearTimeout(l),i(),i=Mo};let a;return l=>{const c=ke(e),u=ke(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((d,f)=>{i=t.rejectOnCancel?f:d,a=l,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,d(a())},u)),n=setTimeout(()=>{r&&o(r),r=void 0,d(l())},c)})}}function UMe(...e){let t=0,n,r=!0,i=Mo,o,a,s,l,c;!Z5(e[0])&&typeof e[0]=="object"?{delay:a,trailing:s=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[a,s=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=Mo)};return f=>{const p=ke(a),h=Date.now()-t,m=()=>o=f();return u(),p<=0?(t=Date.now(),m()):(h>p&&(l||!r)?(t=Date.now(),m()):s&&(o=new Promise((b,y)=>{i=c?y:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(m()),u()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,o)}}function wg(e){return Array.isArray(e)?e:[e]}function QMe(e){return ul()}function zMe(e,t=200,n={}){return rV(FMe(t,n),e)}function qMe(e,t=200,n=!1,r=!0,i=!1){return rV(UMe(t,n,r,i),e)}function ZMe(e,t=!0,n){QMe()?mt(e,n):t?e():tr(e)}function HMe(e,t,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n,o=Nr(!1);let a;function s(){a&&(clearTimeout(a),a=void 0)}function l(){o.value=!1,s()}function c(...u){i&&e(),s(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=void 0,e(...u)},ke(t))}return r&&(o.value=!0,ry&&c()),ny(l),{isPending:Nc(o),start:c,stop:l}}function VMe(e,t,n){return Ke(e,t,{...n,immediate:!0})}const iy=ry?window:void 0;function nu(e){var t;const n=ke(e);return(t=n?.$el)!=null?t:n}function N0(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,l,c,u)=>(s.addEventListener(l,c,u),()=>s.removeEventListener(l,c,u)),i=I(()=>{const s=wg(ke(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),o=VMe(()=>{var s,l;return[(l=(s=i.value)==null?void 0:s.map(c=>nu(c)))!=null?l:[iy].filter(c=>c!=null),wg(ke(i.value?e[1]:e[0])),wg(O(i.value?e[2]:e[1])),ke(i.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!s?.length||!l?.length||!c?.length)return;const d=LMe(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(p=>c.map(h=>r(f,p,h,d)))))},{flush:"post"}),a=()=>{o(),n()};return ny(n),a}let MA=!1;function XMe(e,t,n={}){const{window:r=iy,ignore:i=[],capture:o=!0,detectIframe:a=!1,controls:s=!1}=n;if(!r)return s?{stop:Mo,cancel:Mo,trigger:Mo}:Mo;if(BMe&&!MA){MA=!0;const b={passive:!0};Array.from(r.document.body.children).forEach(y=>y.addEventListener("click",Mo,b)),r.document.documentElement.addEventListener("click",Mo,b)}let l=!0;const c=b=>ke(i).some(y=>{if(typeof y=="string")return Array.from(r.document.querySelectorAll(y)).some($=>$===b.target||b.composedPath().includes($));{const $=nu(y);return $&&(b.target===$||b.composedPath().includes($))}});function u(b){const y=ke(b);return y&&y.$.subTree.shapeFlag===16}function d(b,y){const $=ke(b),x=$.$.subTree&&$.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(_=>_.el===y.target||y.composedPath().includes(_.el))}const f=b=>{const y=nu(e);if(b.target!=null&&!(!(y instanceof Element)&&u(e)&&d(e,b))&&!(!y||y===b.target||b.composedPath().includes(y))){if("detail"in b&&b.detail===0&&(l=!c(b)),!l){l=!0;return}t(b)}};let p=!1;const h=[N0(r,"click",b=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(b))},{passive:!0,capture:o}),N0(r,"pointerdown",b=>{const y=nu(e);l=!c(b)&&!!(y&&!b.composedPath().includes(y))},{passive:!0}),a&&N0(r,"blur",b=>{setTimeout(()=>{var y;const $=nu(e);((y=r.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!$?.contains(r.document.activeElement)&&t(b)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(b=>b());return s?{stop:m,cancel:()=>{l=!1},trigger:b=>{l=!0,f(b),l=!1}}:m}function WMe(){const e=Nr(!1),t=ul();return t&&mt(()=>{e.value=!0},t),e}function YMe(e){const t=WMe();return I(()=>(t.value,!!e()))}function GMe(e,t,n={}){const{window:r=iy,...i}=n;let o;const a=YMe(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=I(()=>{const f=ke(e),p=wg(f).map(nu).filter(MMe);return new Set(p)}),c=Ke(l,f=>{s(),a.value&&f.size&&(o=new MutationObserver(t),f.forEach(p=>o.observe(p,i)))},{immediate:!0,flush:"post"}),u=()=>o?.takeRecords(),d=()=>{c(),s()};return ny(d),{isSupported:a,stop:d,takeRecords:u}}const RA=1;function F0t(e,t={}){const{throttle:n=0,idle:r=200,onStop:i=Mo,onScroll:o=Mo,offset:a={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=iy,onError:d=q=>{console.error(q)}}=t,f=typeof s=="boolean"?{mutation:s}:s,p=Nr(0),h=Nr(0),m=I({get(){return p.value},set(q){y(q,void 0)}}),b=I({get(){return h.value},set(q){y(void 0,q)}});function y(q,B){var Y,V,ne,X;if(!u)return;const L=ke(e);if(!L)return;(ne=L instanceof Document?u.document.body:L)==null||ne.scrollTo({top:(Y=ke(B))!=null?Y:b.value,left:(V=ke(q))!=null?V:m.value,behavior:ke(c)});const K=((X=L?.document)==null?void 0:X.documentElement)||L?.documentElement||L;m!=null&&(p.value=K.scrollLeft),b!=null&&(h.value=K.scrollTop)}const $=Nr(!1),x=tn({left:!0,right:!1,top:!0,bottom:!1}),_=tn({left:!1,right:!1,top:!1,bottom:!1}),E=q=>{$.value&&($.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,i(q))},A=zMe(E,n+r),C=q=>{var B;if(!u)return;const Y=((B=q?.document)==null?void 0:B.documentElement)||q?.documentElement||nu(q),{display:V,flexDirection:ne,direction:X}=getComputedStyle(Y),L=X==="rtl"?-1:1,K=Y.scrollLeft;_.left=K<p.value,_.right=K>p.value;const oe=Math.abs(K*L)<=(a.left||0),ae=Math.abs(K*L)+Y.clientWidth>=Y.scrollWidth-(a.right||0)-RA;V==="flex"&&ne==="row-reverse"?(x.left=ae,x.right=oe):(x.left=oe,x.right=ae),p.value=K;let fe=Y.scrollTop;q===u.document&&!fe&&(fe=u.document.body.scrollTop),_.top=fe<h.value,_.bottom=fe>h.value;const N=Math.abs(fe)<=(a.top||0),pe=Math.abs(fe)+Y.clientHeight>=Y.scrollHeight-(a.bottom||0)-RA;V==="flex"&&ne==="column-reverse"?(x.top=pe,x.bottom=N):(x.top=N,x.bottom=pe),h.value=fe},D=q=>{var B;if(!u)return;const Y=(B=q.target.documentElement)!=null?B:q.target;C(Y),$.value=!0,A(q),o(q)};return N0(e,"scroll",n?qMe(D,n,!0,!1):D,l),ZMe(()=>{try{const q=ke(e);if(!q)return;C(q)}catch(q){d(q)}}),f?.mutation&&e!=null&&e!==u&&e!==document&&GMe(e,()=>{const q=ke(e);q&&C(q)},{attributes:!0,childList:!0,subtree:!0}),N0(e,"scrollend",E,l),{x:m,y:b,isScrolling:$,arrivedState:x,directions:_,measure(){const q=ke(e);u&&q&&C(q)}}}function U0t(e,t,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n,{start:o}=HMe(s,t,{immediate:r}),a=Nr(!1);async function s(){a.value&&(await e(),o())}function l(){a.value||(a.value=!0,i&&e(),o())}function c(){a.value=!1}return r&&ry&&l(),ny(c),{isActive:a,pause:c,resume:l}}function ll(e){return Array.isArray?Array.isArray(e):aV(e)==="[object Array]"}function KMe(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function JMe(e){return e==null?"":KMe(e)}function as(e){return typeof e=="string"}function iV(e){return typeof e=="number"}function eRe(e){return e===!0||e===!1||tRe(e)&&aV(e)=="[object Boolean]"}function oV(e){return typeof e=="object"}function tRe(e){return oV(e)&&e!==null}function co(e){return e!=null}function M4(e){return!e.trim().length}function aV(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const nRe="Incorrect 'index' type",rRe=e=>`Invalid value for key ${e}`,iRe=e=>`Pattern length exceeds max of ${e}.`,oRe=e=>`Missing ${e} property in key`,aRe=e=>`Property 'weight' in key '${e}' must be a positive integer`,LA=Object.prototype.hasOwnProperty;class sRe{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let i=sV(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function sV(e){let t=null,n=null,r=null,i=1,o=null;if(as(e)||ll(e))r=e,t=BA(e),n=e5(e);else{if(!LA.call(e,"name"))throw new Error(oRe("name"));const a=e.name;if(r=a,LA.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(aRe(a));t=BA(a),n=e5(a),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function BA(e){return ll(e)?e:e.split(".")}function e5(e){return ll(e)?e.join("."):e}function lRe(e,t){let n=[],r=!1;const i=(o,a,s)=>{if(co(o))if(!a[s])n.push(o);else{let l=a[s];const c=o[l];if(!co(c))return;if(s===a.length-1&&(as(c)||iV(c)||eRe(c)))n.push(JMe(c));else if(ll(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)i(c[u],a,s+1)}else a.length&&i(c,a,s+1)}};return i(e,as(t)?t.split("."):t,0),r?n:n[0]}const cRe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},uRe={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},dRe={location:0,threshold:.6,distance:100},fRe={useExtendedSearch:!1,getFn:lRe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var lt={...uRe,...cRe,...dRe,...fRe};const pRe=/[^ ]+/g;function hRe(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(i){const o=i.match(pRe).length;if(n.has(o))return n.get(o);const a=1/Math.pow(o,.5*e),s=parseFloat(Math.round(a*r)/r);return n.set(o,s),s},clear(){n.clear()}}}class zk{constructor({getFn:t=lt.getFn,fieldNormWeight:n=lt.fieldNormWeight}={}){this.norm=hRe(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,as(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();as(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!co(t)||M4(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((i,o)=>{let a=i.getFn?i.getFn(t):this.getFn(t,i.path);if(co(a)){if(ll(a)){let s=[];const l=[{nestedArrIndex:-1,value:a}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(co(u))if(as(u)&&!M4(u)){let d={v:u,i:c,n:this.norm.get(u)};s.push(d)}else ll(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}r.$[o]=s}else if(as(a)&&!M4(a)){let s={v:a,n:this.norm.get(a)};r.$[o]=s}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function lV(e,t,{getFn:n=lt.getFn,fieldNormWeight:r=lt.fieldNormWeight}={}){const i=new zk({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(sV)),i.setSources(t),i.create(),i}function mRe(e,{getFn:t=lt.getFn,fieldNormWeight:n=lt.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new zk({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function U1(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=lt.distance,ignoreLocation:o=lt.ignoreLocation}={}){const a=t/e.length;if(o)return a;const s=Math.abs(r-n);return i?a+s/i:s?1:a}function gRe(e=[],t=lt.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let a=e.length;o<a;o+=1){let s=e[o];s&&r===-1?r=o:!s&&r!==-1&&(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Qc=32;function bRe(e,t,n,{location:r=lt.location,distance:i=lt.distance,threshold:o=lt.threshold,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,includeMatches:l=lt.includeMatches,ignoreLocation:c=lt.ignoreLocation}={}){if(t.length>Qc)throw new Error(iRe(Qc));const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let p=o,h=f;const m=s>1||l,b=m?Array(d):[];let y;for(;(y=e.indexOf(t,h))>-1;){let C=U1(t,{currentLocation:y,expectedLocation:f,distance:i,ignoreLocation:c});if(p=Math.min(C,p),h=y+u,m){let D=0;for(;D<u;)b[y+D]=1,D+=1}}h=-1;let $=[],x=1,_=u+d;const E=1<<u-1;for(let C=0;C<u;C+=1){let D=0,q=_;for(;D<q;)U1(t,{errors:C,currentLocation:f+q,expectedLocation:f,distance:i,ignoreLocation:c})<=p?D=q:_=q,q=Math.floor((_-D)/2+D);_=q;let B=Math.max(1,f-q+1),Y=a?d:Math.min(f+q,d)+u,V=Array(Y+2);V[Y+1]=(1<<C)-1;for(let X=Y;X>=B;X-=1){let L=X-1,K=n[e.charAt(L)];if(m&&(b[L]=+!!K),V[X]=(V[X+1]<<1|1)&K,C&&(V[X]|=($[X+1]|$[X])<<1|1|$[X+1]),V[X]&E&&(x=U1(t,{errors:C,currentLocation:L,expectedLocation:f,distance:i,ignoreLocation:c}),x<=p)){if(p=x,h=L,h<=f)break;B=Math.max(1,2*f-h)}}if(U1(t,{errors:C+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>p)break;$=V}const A={isMatch:h>=0,score:Math.max(.001,x)};if(m){const C=gRe(b,s);C.length?l&&(A.indices=C):A.isMatch=!1}return A}function ORe(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const M2=String.prototype.normalize?(e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(e=>e);class cV{constructor(t,{location:n=lt.location,threshold:r=lt.threshold,distance:i=lt.distance,includeMatches:o=lt.includeMatches,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,isCaseSensitive:l=lt.isCaseSensitive,ignoreDiacritics:c=lt.ignoreDiacritics,ignoreLocation:u=lt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u},t=l?t:t.toLowerCase(),t=c?M2(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const d=(p,h)=>{this.chunks.push({pattern:p,alphabet:ORe(p),startIndex:h})},f=this.pattern.length;if(f>Qc){let p=0;const h=f%Qc,m=f-h;for(;p<m;)d(this.pattern.substr(p,Qc),p),p+=Qc;if(h){const b=f-Qc;d(this.pattern.substr(b),b)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=r?M2(t):t,this.pattern===t){let m={isMatch:!0,score:0};return i&&(m.indices=[[0,t.length-1]]),m}const{location:o,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:c,ignoreLocation:u}=this.options;let d=[],f=0,p=!1;this.chunks.forEach(({pattern:m,alphabet:b,startIndex:y})=>{const{isMatch:$,score:x,indices:_}=bRe(t,m,b,{location:o+y,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:c,includeMatches:i,ignoreLocation:u});$&&(p=!0),f+=x,$&&_&&(d=[...d,..._])});let h={isMatch:p,score:p?f/this.chunks.length:1};return p&&i&&(h.indices=d),h}}class fc{constructor(t){this.pattern=t}static isMultiMatch(t){return jA(t,this.multiRegex)}static isSingleMatch(t){return jA(t,this.singleRegex)}search(){}}function jA(e,t){const n=e.match(t);return n?n[1]:null}class yRe extends fc{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class vRe extends fc{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class wRe extends fc{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class SRe extends fc{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class kRe extends fc{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class xRe extends fc{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class uV extends fc{constructor(t,{location:n=lt.location,threshold:r=lt.threshold,distance:i=lt.distance,includeMatches:o=lt.includeMatches,findAllMatches:a=lt.findAllMatches,minMatchCharLength:s=lt.minMatchCharLength,isCaseSensitive:l=lt.isCaseSensitive,ignoreDiacritics:c=lt.ignoreDiacritics,ignoreLocation:u=lt.ignoreLocation}={}){super(t),this._bitapSearch=new cV(t,{location:n,threshold:r,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:s,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class dV extends fc{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const i=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,i.push([r,n-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const t5=[yRe,dV,wRe,SRe,xRe,kRe,vRe,uV],FA=t5.length,$Re=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ERe="|";function _Re(e,t={}){return e.split(ERe).map(n=>{let r=n.trim().split($Re).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=r.length;o<a;o+=1){const s=r[o];let l=!1,c=-1;for(;!l&&++c<FA;){const u=t5[c];let d=u.isMultiMatch(s);d&&(i.push(new u(d,t)),l=!0)}if(!l)for(c=-1;++c<FA;){const u=t5[c];let d=u.isSingleMatch(s);if(d){i.push(new u(d,t));break}}}return i})}const TRe=new Set([uV.type,dV.type]);class ARe{constructor(t,{isCaseSensitive:n=lt.isCaseSensitive,ignoreDiacritics:r=lt.ignoreDiacritics,includeMatches:i=lt.includeMatches,minMatchCharLength:o=lt.minMatchCharLength,ignoreLocation:a=lt.ignoreLocation,findAllMatches:s=lt.findAllMatches,location:l=lt.location,threshold:c=lt.threshold,distance:u=lt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:i,minMatchCharLength:o,findAllMatches:s,ignoreLocation:a,location:l,threshold:c,distance:u},t=n?t:t.toLowerCase(),t=r?M2(t):t,this.pattern=t,this.query=_Re(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i,ignoreDiacritics:o}=this.options;t=i?t:t.toLowerCase(),t=o?M2(t):t;let a=0,s=[],l=0;for(let c=0,u=n.length;c<u;c+=1){const d=n[c];s.length=0,a=0;for(let f=0,p=d.length;f<p;f+=1){const h=d[f],{isMatch:m,indices:b,score:y}=h.search(t);if(m){if(a+=1,l+=y,r){const $=h.constructor.type;TRe.has($)?s=[...s,...b]:s.push(b)}}else{l=0,a=0,s.length=0;break}}if(a){let f={isMatch:!0,score:l/a};return r&&(f.indices=s),f}}return{isMatch:!1,score:1}}}const n5=[];function CRe(...e){n5.push(...e)}function r5(e,t){for(let n=0,r=n5.length;n<r;n+=1){let i=n5[n];if(i.condition(e,t))return new i(e,t)}return new cV(e,t)}const R2={AND:"$and",OR:"$or"},i5={PATH:"$path",PATTERN:"$val"},o5=e=>!!(e[R2.AND]||e[R2.OR]),PRe=e=>!!e[i5.PATH],IRe=e=>!ll(e)&&oV(e)&&!o5(e),UA=e=>({[R2.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function fV(e,t,{auto:n=!0}={}){const r=i=>{let o=Object.keys(i);const a=PRe(i);if(!a&&o.length>1&&!o5(i))return r(UA(i));if(IRe(i)){const l=a?i[i5.PATH]:o[0],c=a?i[i5.PATTERN]:i[l];if(!as(c))throw new Error(rRe(l));const u={keyId:e5(l),pattern:c};return n&&(u.searcher=r5(c,t)),u}let s={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];ll(c)&&c.forEach(u=>{s.children.push(r(u))})}),s};return o5(e)||(e=UA(e)),r(e)}function DRe(e,{ignoreFieldNorm:t=lt.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:o,score:a})=>{const s=i?i.weight:null;r*=Math.pow(a===0&&s?Number.EPSILON:a,(s||1)*(t?1:o))}),n.score=r})}function NRe(e,t){const n=e.matches;t.matches=[],co(n)&&n.forEach(r=>{if(!co(r.indices)||!r.indices.length)return;const{indices:i,value:o}=r;let a={indices:i,value:o};r.key&&(a.key=r.key.src),r.idx>-1&&(a.refIndex=r.idx),t.matches.push(a)})}function MRe(e,t){t.score=e.score}function RRe(e,t,{includeMatches:n=lt.includeMatches,includeScore:r=lt.includeScore}={}){const i=[];return n&&i.push(NRe),r&&i.push(MRe),e.map(o=>{const{idx:a}=o,s={item:t[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,s)}),s})}class Vu{constructor(t,n={},r){this.options={...lt,...n},this.options.useExtendedSearch,this._keyStore=new sRe(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof zk))throw new Error(nRe);this._myIndex=n||lV(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){co(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,i-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;let l=as(t)?as(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return DRe(l,{ignoreFieldNorm:s}),o&&l.sort(a),iV(n)&&n>-1&&(l=l.slice(0,n)),RRe(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){const n=r5(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:o,i:a,n:s})=>{if(!co(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:a,matches:[{score:c,value:o,norm:s,indices:u}]})}),i}_searchLogical(t){const n=fV(t,this.options),r=(s,l,c)=>{if(!s.children){const{keyId:d,searcher:f}=s,p=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let d=0,f=s.children.length;d<f;d+=1){const p=s.children[d],h=r(p,l,c);if(h.length)u.push(...h);else if(s.operator===R2.AND)return[]}return u},i=this._myIndex.records,o={},a=[];return i.forEach(({$:s,i:l})=>{if(co(s)){let c=r(n,s,l);c.length&&(o[l]||(o[l]={idx:l,item:s,matches:[]},a.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),a}_searchObjectList(t){const n=r5(t,this.options),{keys:r,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:s})=>{if(!co(a))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:a[u],searcher:n}))}),l.length&&o.push({idx:s,item:a,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!co(n))return[];let i=[];if(ll(n))n.forEach(({v:o,i:a,n:s})=>{if(!co(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&i.push({score:c,key:t,value:o,idx:a,norm:s,indices:u})});else{const{v:o,n:a}=n,{isMatch:s,score:l,indices:c}=r.searchIn(o);s&&i.push({score:l,key:t,value:o,norm:a,indices:c})}return i}}Vu.version="7.1.0";Vu.createIndex=lV;Vu.parseIndex=mRe;Vu.config=lt;Vu.parseQuery=fV;CRe(ARe);function pV(e){return e?.color||"#FFFFFF"}var yr=(e=>(e.Request="request",e.Examples="examples",e.Cookies="cookies",e.Collection="collection",e.Schema="schema",e.Environment="environment",e.Servers="servers",e.Workspace="workspace",e.Settings="settings",e))(yr||{});const LRe="activeWorkspace";function hV(){const e=localStorage.getItem(LRe);return e?{name:"request.root",params:{workspace:e}}:{name:"workspace.default"}}const mV=[{name:"request.root",path:"",component:()=>zr(()=>import("./DUmRoRZn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),redirect:(e,t)=>({name:"request",params:{...e.params,request:"default"}}),children:[{name:"request",path:"request/:request",component:()=>zr(()=>import("./Dq2LFE1d.js"),__vite__mapDeps([16,17,6,1,2,4,18,19,3,20,21,22,9,12,13,14,15]),import.meta.url)},{name:"request.examples",path:"request/:request/examples/:examples",component:()=>zr(()=>import("./Dq2LFE1d.js"),__vite__mapDeps([16,17,6,1,2,4,18,19,3,20,21,22,9,12,13,14,15]),import.meta.url)},{name:"collection",path:"collection/:collection",component:()=>zr(()=>import("./Dk0kqhok.js"),__vite__mapDeps([23,1,2,18,20,8,9,12,13,14,15]),import.meta.url),redirect:(e,t)=>({name:"collection.overview"}),children:[{name:"collection.overview",path:"overview",component:()=>zr(()=>import("./C6NP8L7w.js"),__vite__mapDeps([24,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.servers",path:"servers",component:()=>zr(()=>import("./CNa2gyMe.js"),__vite__mapDeps([25,7,1,2,26,20,12,13,14,15]),import.meta.url),children:[{name:"collection.servers.edit",path:":servers",component:()=>zr(()=>import("./CNa2gyMe.js"),__vite__mapDeps([25,7,1,2,26,20,12,13,14,15]),import.meta.url)}]},{name:"collection.environment",path:"environment",component:()=>zr(()=>import("./B1Etvs3c.js"),__vite__mapDeps([27,11,1,2,7,10,20,28,29,21,12,13,14,15]),import.meta.url)},{name:"collection.authentication",path:"authentication",component:()=>zr(()=>import("./BZwqSlWD.js"),__vite__mapDeps([30,22,1,2,12,13,14,15]),import.meta.url)},{name:"collection.cookies",path:"cookies",component:()=>zr(()=>import("./D3gNfEFX.js"),__vite__mapDeps([31,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.scripts",path:"scripts",component:()=>zr(()=>import("./xFbyDfcC.js"),__vite__mapDeps([32,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.sync",path:"sync",component:()=>zr(()=>import("./DYSILRDe.js"),__vite__mapDeps([33,20,1,2,12,13,14,15]),import.meta.url)},{name:"collection.settings",path:"settings",component:()=>zr(()=>import("./7OrNJZ8q.js"),__vite__mapDeps([34,1,2,7,12,13,14,15]),import.meta.url)}]}]}],BRe=[{name:"root",path:"/",redirect:hV},{name:"workspace.default",path:"/workspace",redirect:{name:"workspace",params:{workspace:"default"}}},{name:"workspace",path:"/workspace/:workspace",redirect:{name:"request.root"},children:mV}];[...mV];const M0=Fe({uid:J().brand(),name:J().optional().default("Default Environment"),color:J().optional().default("#FFFFFF"),value:J().default(""),isDefault:Xt().optional()});function R4(e,t){const n=e.split(".").reduce((r,i)=>r?.[i],t);return typeof n=="string"?n:JSON.stringify(n)}function Q0t(e,t){let n=e;const r=new Set;return n=n.replace(hu.VARIABLES,(i,o)=>{const a=o.trim();r.add(a);const s=R4(a,t);return Lt(s)&&s!==""?s:`{{${a}}}`}),n=n.replace(hu.PATH,(i,o)=>{const a=o.trim();if(r.has(a))return`{${a}}`;const s=R4(a,t);return Lt(s)&&s!==""?s:`{${a}}`}),n=n.replace(/:\b[\w.]+\b/g,i=>{const o=i.slice(1);if(r.has(o))return i;const a=R4(o,t);return Lt(a)&&a!==""?a:i}),n}function QA(e){function t(n,r){const i=Object.keys(n),o=[];return i.forEach(a=>{const s=r?`${r}.${a}`:a;typeof n[a]=="object"?o.push(...t(n[a],s)):o.push([s,String(n[a])])}),o}return t(e)}function jRe(e){return()=>{const t={[yr.Collection]:"default",[yr.Environment]:"default",[yr.Request]:"default",[yr.Examples]:"default",[yr.Schema]:"default",[yr.Cookies]:"default",[yr.Servers]:"default",[yr.Workspace]:"default",[yr.Settings]:"default"},n=e?.currentRoute.value;return n&&Object.keys(t).forEach(r=>{n.params[r]&&(t[r]=n.params[r])}),t}}const gV=({collections:e,requestExamples:t,requests:n,router:r,servers:i,workspaces:o})=>{const a=I(jRe(r)),s=I(()=>o[a.value[yr.Workspace]]??Object.values(o)[0]),l=I(()=>s.value?.collections.map($=>e[$]).filter(Lt).sort(($,x)=>$.info?.title==="Drafts"?1:x.info?.title==="Drafts"?-1:0)??[]),c=I(()=>l.value?.flatMap($=>$.servers.map(x=>i[x]))),u=I(()=>l.value?.flatMap($=>$.requests)??[]),d=I(()=>{if(!s.value?.activeEnvironmentId)return M0.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value?.environments,null,2)});const $=l.value.find(x=>x["x-scalar-environments"]?.[s.value?.activeEnvironmentId??""]);return $&&s.value?.activeEnvironmentId?M0.parse({uid:s.value.activeEnvironmentId,name:s.value.activeEnvironmentId,value:JSON.stringify($["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.variables,null,2),color:$["x-scalar-environments"]?.[s.value?.activeEnvironmentId]?.color||"#FFFFFF",isDefault:!1}):M0.parse({uid:"default",color:"#FFFFFF",name:"No Environment",value:JSON.stringify(s.value.environments,null,2)})}),f=I(()=>{const $=a.value[yr.Request],x=e[a.value.collection]||e[s.value?.collections[0]??""];return n[$]||n[x?.requests[0]??""]||Object.values(n)[0]}),p=I(()=>{const $=a.value[yr.Examples]==="default"?f.value?.examples[0]||"":a.value[yr.Examples];return t[$]}),h=I(()=>{const $=e[a.value[yr.Collection]];if($)return $;const x=f.value?.uid;if(x)return Object.values(e).find(E=>E.requests?.includes(x));const _=s.value?.collections[0]??e[0]?.uid??"";return e[_]}),m=I(()=>{if(f.value?.selectedServerUid){const $=i[f.value.selectedServerUid];if($)return $}if(h.value?.selectedServerUid){const $=i[h.value.selectedServerUid];if($)return $}}),b=I(()=>a.value[yr.Cookies]==="default"?s.value?.cookies[0]??"default":a.value[yr.Cookies]),y=I(()=>{const $=s.value?.environments??{},x=d.value.uid?JSON.parse(d.value.value):{},_=QA($).map(([C,D])=>({key:C,value:D,source:"global"})),E=QA(x).map(([C,D])=>({key:C,value:D,source:"collection"})),A=new Map;return E.forEach(C=>{A.set(C.key,C)}),_.forEach(C=>{A.has(C.key)||A.set(C.key,C)}),Array.from(A.values())});return{activeCollection:h,activeCookieId:b,activeExample:p,activeRequest:f,activeRouterParams:a,activeEnvironment:d,activeServer:m,activeWorkspace:s,activeWorkspaceCollections:l,activeWorkspaceServers:c,activeEnvVariables:y,activeWorkspaceRequests:u}},qk=Symbol(),Zk=()=>{const e=Gt(qk);if(!e)throw new Error("Active entities store not provided");return e};function a5(e){return e.flatMap(t=>{if(t.key==="value")try{const n=JSON.parse(t.value);return Object.keys(n).map(r=>({key:r,value:n[r],source:t.source}))}catch{}return[t]})}const FRe={key:0,class:"gap-1/2 flex flex-col"},URe=["onClick"],QRe={class:"flex items-center gap-2 whitespace-nowrap"},zRe={class:"w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap"},qRe=Z({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},envVariables:{},dropdownPosition:{}},emits:["select"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ee(!0),a=ee(null),s=ee(0),l=VK(),{activeCollection:c}=Zk(),u=()=>{if(!l)return;const{currentRoute:m,push:b}=l,y=m.value.params.workspace;!c.value||c.value.info?.title==="Drafts"?b({name:"environment.default",params:{[yr.Workspace]:y}}):b({name:"collection.environment",params:{[yr.Collection]:c.value.uid}}),o.value=!1},d=new Vu(a5(r.envVariables),{keys:["key","value"]}),f=I(()=>{const m=r.query;if(!m)return a5(r.envVariables).slice(-4).filter(({key:y,value:$})=>y!==""||$!=="");const b=d.search(m,{limit:10});return b.length>0?b.map(y=>y.item).filter(({key:y,value:$})=>y!==""||$!==""):[]}),p=m=>{i("select",m)};t({handleArrowKey:m=>{const b=m==="up"?-1:1,y=f.value.length;y!==0&&(s.value=(s.value+b+y)%y)},handleSelect:()=>{if(s.value>=0){const m=f.value[s.value];m&&p(m.key)}}}),mt(()=>{s.value=0});const h=I(()=>({left:(r.dropdownPosition?.left??0)+"px",top:(r.dropdownPosition?.top??0)+5+"px"}));return XMe(a,()=>{o.value=!1},{ignore:[a]}),(m,b)=>o.value?(g(),R(O(pU),{key:0,class:"scalar-client"},{default:T(()=>[k("div",{ref_key:"dropdownRef",ref:a,class:"custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:nr(h.value)},[f.value.length?(g(),w("ul",FRe,[(g(!0),w(he,null,rt(f.value,(y,$)=>(g(),w("li",{key:y.key,class:Oe(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":$===s.value}]),onClick:x=>p(y.key)},[k("div",QRe,[y.source==="collection"&&m.environment.name!=="No Environment"?(g(),w("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:nr({backgroundColor:O(pV)(m.environment)})},null,4)):(g(),R(O(yP),{key:1,class:"-ml-0.25 size-2.5",icon:"Globe"})),ie(" "+me(y.key),1)]),k("span",zRe,me(y.value),1)],10,URe))),128))])):O(l)?(g(),R(O(pr),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:u},{default:T(()=>[P(O(a8),{class:"size-3"}),b[0]||(b[0]=ie(" Add Variable ",-1))]),_:1})):j("",!0),b[1]||(b[1]=k("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],4)]),_:1})):j("",!0)}}),ZRe={class:"group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline"},HRe={class:"text-c-1 whitespace-nowrap"},VRe={class:"text-c-1 overflow-hidden text-ellipsis"},XRe={class:"overflow-hidden text-ellipsis"},WRe={class:"flex h-4 w-4 items-center justify-center"},Sg=Z({__name:"DataTableInputSelect",props:{modelValue:{},value:{},default:{},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,i=I(()=>n.value??[]),o=ee(!1),a=ee(""),s=ee(null);Ke(a,b=>{r("update:modelValue",b)});const l=b=>{r("update:modelValue",b),o.value=!1},c=()=>{a.value.trim()&&l(a.value)},u=()=>{a.value.trim()||r("update:modelValue",""),o.value=!1},d=b=>n.modelValue.toString()===b;Ke(o,b=>{b&&tr(()=>{s.value?.focus()})});const f=I(()=>n.modelValue!==void 0?n.modelValue:n.default),p=I(()=>{const b=new Set(n.modelValue.toString().split(", "));return i.value.filter(y=>b.has(y)).map(y=>({id:y,label:y,value:y}))}),h=I(()=>i.value.map(b=>({id:b,label:b,value:b}))),m=b=>{const y=b.map($=>$.value);r("update:modelValue",y.join(", "))};return(b,y)=>(g(),w("div",ZRe,[b.type==="array"?(g(),R(O(mU),{key:0,modelValue:p.value,options:h.value,"onUpdate:modelValue":m},{default:T(()=>[P(O(pr),{class:"custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none",fullWidth:"",variant:"ghost"},{default:T(()=>[k("span",HRe,me(p.value.length>0?p.value.map($=>$.label).join(", "):"Select a value"),1),P(O(er),{icon:"ChevronDown",size:"md",class:"min-w-4"})]),_:1})]),_:1},8,["modelValue","options"])):o.value?mo((g(),w("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":y[0]||(y[0]=$=>a.value=$),class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:u,onKeyup:Zr(c,["enter"])},null,544)),[[ob,a.value]]):(g(),R(O(B6e),{key:2,resize:"",value:f.value},{items:T(()=>[(g(!0),w(he,null,rt(i.value,$=>(g(),R(O(u7),{key:$,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:$,onClick:x=>l($)},{default:T(()=>[k("div",{class:Oe(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",d($)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[P(O(er),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),k("span",XRe,me($),1)]),_:2},1032,["value","onClick"]))),128)),b.canAddCustomValue?(g(),w(he,{key:0},[i.value.length?(g(),R(O(ZEe),{key:0})):j("",!0),P(O(u7),{class:"flex items-center gap-1.5",onClick:y[1]||(y[1]=$=>o.value=!0)},{default:T(()=>[k("div",WRe,[P(O(er),{icon:"Add",size:"sm"})]),y[2]||(y[2]=k("span",null,"Add value",-1))]),_:1})],64)):j("",!0)]),default:T(()=>[P(O(pr),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:T(()=>[k("span",VRe,me(f.value||"Select a value"),1),P(O(er),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}});let YRe=class bV extends xo{constructor(t,n,r,i){super(),this.variableName=t,this.variableName=t,this.environment=n,this.envVariables=r,this.isReadOnly=i??!1,this.uid=nV()}app;uid;environment;envVariables;isReadOnly;toDOM(){const t=document.createElement("span");t.className="cm-pill",t.textContent=`${this.variableName}`;const n=Z({props:{variableName:{type:String,default:null}},render:()=>{const r=this.envVariables?a5(this.envVariables).find(l=>l.key===this.variableName):void 0,i=r?.source==="global",o=i?"var(--scalar-color-1)":r&&this.environment&&this.environment.name!=="No Environment"?pV(this.environment):"var(--scalar-color-1)";t.style.setProperty("--tw-bg-base",o),t.style.opacity=r?.value?"1":"0.5";const a=r?.value||"No value",s=qt("div",{class:"flex items-center gap-1 whitespace-nowrap"},[(i||this.environment?.name==="No Environment"&&r?.value)&&qt(yP,{class:"size-3 -ml-1",icon:"Globe"}),qt("span",this.variableName)]);return qt(i7e,{content:a,delay:0,placement:"bottom",offset:6},{default:()=>s})}});return this.app=TC(n,{variableName:this.variableName}),this.app.mount(t),t}destroy(){this.app&&this.app.unmount()}eq(t){return t instanceof bV&&t.variableName===this.variableName&&t.uid===this.uid}ignoreEvent(){return!1}};const GRe=e=>xr.fromClass(class{decorations;constructor(t){this.decorations=this.buildDecorations(t)}update(t){(t.docChanged||t.viewportChanged)&&requestAnimationFrame(()=>{this.decorations=this.buildDecorations(t.view),t.view.update([])})}buildDecorations(t){const n=new nl;for(const{from:r,to:i}of t.visibleRanges){const o=t.state.doc.sliceString(r,i);let a;for(;(a=hu.VARIABLES.exec(o))!==null;){const s=r+a.index,l=s+a[0].length,c=a[1]??"";n.add(s,l,st.widget({widget:new YRe(c,e.environment,e.envVariables,e.isReadOnly),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}),KRe=Ze.domEventHandlers({keydown(e,t){if(e.key==="Backspace"){const{state:n}=t,{from:r,to:i}=n.selection.main;if(r===0&&i===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0;if(r===i&&r>0&&n.doc.sliceString(r-2,r)==="}}")return t.dispatch({changes:{from:r-2,to:i},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}}),Hk=Symbol(),OV=()=>({layout:Gt(Hk,"desktop")}),JRe={class:"whitespace-nowrap"},eLe=["id"],tLe={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},nLe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},rLe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},iLe={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"},oLe={inheritAttrs:!1},aLe=Z({...oLe,__name:"CodeInput",props:{colorPicker:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,default:!0},extensions:{default:()=>[]},lineNumbers:{type:Boolean},lint:{type:Boolean},disableTabIndent:{type:Boolean,default:!1},language:{},handleFieldSubmit:{},handleFieldChange:{},placeholder:{},required:{type:Boolean},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},enum:{},examples:{},type:{},nullable:{type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{type:Boolean},default:{},environment:{},envVariables:{},lineWrapping:{type:Boolean,default:!1}},emits:["submit","update:modelValue","curl","blur"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=q5(),a=o.id||`id-${nV()}`,s=ee(!1),l=ee(!1),c=ee(""),u=ee({left:0,top:0}),d=ee(null),{layout:f}=OV();function p(Y){return Y===r.modelValue?null:r.importCurl&&Y.trim().toLowerCase().startsWith("curl")?(i("curl",Y),_.value?.dispatch({changes:{from:0,to:_.value.state.doc.length,insert:String(r.modelValue)}}),null):r.handleFieldChange?r.handleFieldChange(Y):i("update:modelValue",Y)}function h(Y){return r.handleFieldSubmit?r.handleFieldSubmit(Y):i("submit",Y)}function m(Y){s.value=!1,r.emitOnBlur&&r.modelValue&&h(Y),i("blur",Y)}const b=[...r.extensions];r.colorPicker&&b.push(ACe);const y=I(()=>GRe({environment:r.environment,envVariables:r.envVariables,isReadOnly:f==="modal"})),$=I(()=>[...b,y.value,KRe]),x=ee(null),{codeMirror:_}=IMe({content:Xa(()=>r.modelValue!==void 0?String(r.modelValue):""),onChange:Y=>{p(Y),A()},onFocus:()=>s.value=!0,onBlur:Y=>m(Y),codeMirrorRef:x,disableTabIndent:Xa(()=>r.disableTabIndent),disableEnter:Xa(()=>r.disableEnter),disableCloseBrackets:Xa(()=>r.disableCloseBrackets),lineNumbers:Xa(()=>r.lineNumbers),language:Xa(()=>r.language),lint:Xa(()=>r.lint),extensions:$,placeholder:Xa(()=>r.placeholder)});_.value?.focus(),Ke(_,()=>{_.value&&Object.hasOwn(o,"autofocus")&&_.value.focus()});const{handleDropdownSelect:E,updateDropdownVisibility:A}=DMe({codeMirror:_,query:c,showDropdown:l,dropdownPosition:u}),C=I(()=>r.nullable?["true","false","null"]:["true","false"]),D=(Y,V)=>{l.value?Y==="down"?(V.preventDefault(),d.value?.handleArrowKey("down")):Y==="up"?(V.preventDefault(),d.value?.handleArrowKey("up")):Y==="enter"&&(V.preventDefault(),d.value?.handleSelect()):Y==="escape"?r.disableTabIndent||V.stopPropagation():Y==="enter"&&V.target instanceof HTMLDivElement&&h(V.target.textContent??"")},q=I(()=>Array.isArray(r.type)?r.type.find(Y=>Y!=="null")??"string":r.type),B=I(()=>l.value&&r.withVariables&&f!=="modal"&&r.environment);return t({focus:()=>{_.value?.focus()},handleChange:p,handleSubmit:h,handleBlur:m,booleanOptions:C,codeMirror:_,modelValue:r.modelValue}),(Y,V)=>(g(),w(he,null,[Y.disabled?(g(),w("div",{key:0,class:Oe(["text-c-2 flex cursor-default items-center justify-center",O(f)==="modal"?"font-code pr-2 pl-1 text-base":"px-2"]),"data-testid":"code-input-disabled"},[k("span",JRe,me(Y.modelValue),1)],2)):r.enum&&r.enum.length?(g(),R(Sg,{key:1,default:r.default,modelValue:Y.modelValue,type:q.value,value:r.enum,"onUpdate:modelValue":V[0]||(V[0]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","type","value"])):Y.type==="boolean"||Y.type?.includes("boolean")?(g(),R(Sg,{key:2,default:r.default,modelValue:Y.modelValue,value:C.value,"onUpdate:modelValue":V[1]||(V[1]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","value"])):r.examples&&r.examples.length?(g(),R(Sg,{key:3,default:r.default,modelValue:r.modelValue,value:r.examples,"onUpdate:modelValue":V[2]||(V[2]=ne=>i("update:modelValue",ne))},null,8,["default","modelValue","value"])):(g(),w("div",ve({key:4,id:O(a)},Y.$attrs,{ref_key:"codeMirrorRef",ref:x,class:["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":Y.lineWrapping,"flow-code-input--error":Y.error}],onKeydown:[V[3]||(V[3]=Zr(Wt(ne=>D("down",ne),["stop"]),["down"])),V[4]||(V[4]=Zr(ne=>D("enter",ne),["enter"])),V[5]||(V[5]=Zr(ne=>D("escape",ne),["escape"])),V[6]||(V[6]=Zr(Wt(ne=>D("up",ne),["stop"]),["up"]))]}),[Y.disableTabIndent?j("",!0):(g(),w("div",tLe,[...V[7]||(V[7]=[ie(" Press ",-1),k("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),ie(" then ",-1),k("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),ie(" to exit ",-1)])]))],16,eLe)),Y.$slots.warning?(g(),w("div",nLe,[H(Y.$slots,"warning",{},void 0,!0)])):j("",!0),Y.$slots.icon?(g(),w("div",rLe,[H(Y.$slots,"icon",{},void 0,!0)])):j("",!0),Y.required?(g(),w("div",iLe," Required ")):j("",!0),B.value?(g(),R(qRe,{key:8,ref_key:"dropdownRef",ref:d,dropdownPosition:u.value,envVariables:Y.envVariables,environment:Y.environment,query:c.value,onSelect:O(E)},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):j("",!0)],64))}}),sLe=pp(aLe,[["__scopeId","data-v-103d9d56"]]),oy=Fe({description:J().optional()}),ay=Fe({uid:dc.brand(),nameKey:J().optional().default("")}),lLe=["query","header","cookie"],yV=oy.extend({type:It("apiKey"),name:J().optional().default(""),in:Bn(lLe).optional().default("header").catch("header")}),cLe=Fe({value:J().default("")}),uLe=yV.merge(ay).merge(cLe),vV=oy.extend({type:It("http"),scheme:J().toLowerCase().pipe(Bn(["basic","bearer"])).optional().default("basic"),bearerFormat:Nn([It("JWT"),J()]).optional().default("JWT")}),dLe=Fe({username:J().default(""),password:J().default(""),token:J().default("")}),fLe=vV.merge(ay).merge(dLe),wV=oy.extend({type:It("openIdConnect"),openIdConnectUrl:J().optional().default("")}),pLe=wV.merge(ay),zA=J().default(""),L4=J().default(""),Q1=Fe({refreshUrl:J().optional().default(""),scopes:cn(J(),J().optional().default("")).optional().default({}).catch({}),selectedScopes:Sn(J()).optional().default([]),"x-scalar-client-id":J().optional().default(""),token:J().default(""),"x-scalar-security-query":cn(J(),J()).optional(),"x-scalar-security-body":cn(J(),J()).optional(),"x-tokenName":J().optional()}),B4=typeof window<"u"?window.location.origin+window.location.pathname:"",SV=["SHA-256","plain","no"],j4=Bn(["header","body"]).optional(),kV=oy.extend({type:It("oauth2"),"x-default-scopes":Sn(J()).optional(),flows:Fe({implicit:Q1.extend({type:It("implicit").default("implicit"),authorizationUrl:zA,"x-scalar-redirect-uri":J().optional().default(B4)}),password:Q1.extend({type:It("password").default("password"),tokenUrl:L4,clientSecret:J().default(""),username:J().default(""),password:J().default(""),"x-scalar-credentials-location":j4}),clientCredentials:Q1.extend({type:It("clientCredentials").default("clientCredentials"),tokenUrl:L4,clientSecret:J().default(""),"x-scalar-credentials-location":j4}),authorizationCode:Q1.extend({type:It("authorizationCode").default("authorizationCode"),authorizationUrl:zA,"x-usePkce":Bn(SV).optional().default("no"),"x-scalar-redirect-uri":J().optional().default(B4),tokenUrl:L4,clientSecret:J().default(""),"x-scalar-credentials-location":j4})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":B4}})}),hLe=kV.merge(ay),xV=cn(J(),Sn(J()).optional().default([]));Nn([yV,vV,kV,wV]);const mh=dS("type",[uLe,fLe,pLe,hLe]).transform(e=>(e.type==="oauth2"&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(n=>{e.flows[n]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[n].selectedScopes=[e["x-default-scopes"]].flat())}),e)),$V=Nn([J().brand(),J().brand().array()]).array().default([]),mLe=Nn([Fe({description:J().optional(),default:J().default("")}),J()]),gLe=Fe({description:J().optional(),color:J().optional(),variables:cn(J(),mLe)}),bLe=cn(J(),gLe),OLe=Fe({description:J().optional(),example:J().optional()}),yLe=cn(J(),OLe),Df=e=>Array.isArray(e)?e.map(t=>typeof t=="object"&&t!==null?Df(t):t):Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0).map(([t,n])=>typeof n=="object"&&n!==null?[t,Df(n)]:[t,n])),vLe=Fe({name:J().optional().nullable().catch(null),identifier:J().optional().catch(void 0),url:J().url().optional().catch(void 0)}).transform(Df),wLe=Fe({name:J().optional(),url:J().url().optional().catch(void 0),email:J().optional().catch(void 0)}).transform(Df),SLe=Fe({title:J().catch("API"),summary:J().optional().catch(void 0),description:J().optional().catch(void 0),termsOfService:J().url().optional().catch(void 0),contact:wLe.optional().catch(void 0),license:vLe.optional().catch(void 0),version:J().catch("1.0")}).merge(qve).transform(Df),Vk=Fe({description:J().optional().catch(void 0),url:J()}).transform(Df),kLe=Fe({tagName:J()}).array(),xLe=Fe({type:It("tag").optional().default("tag"),name:J(),description:J().optional().catch(void 0),externalDocs:Vk.optional(),"x-scalar-children":kLe.default([]).optional(),"x-internal":Xt().optional(),"x-scalar-ignore":Xt().optional()}),Nf=xLe.extend({uid:dc.brand(),children:Nn([J().brand(),J().brand()]).array().default([])}),$Le=Fe({type:It("collection").optional().default("collection"),openapi:Nn([J(),It("3.0.0"),It("3.1.0"),It("4.0.0")]).optional().default("3.1.0"),jsonSchemaDialect:J().optional(),info:SLe.catch({title:"API",version:"1.0"}),security:Sn(xV).optional().default([]),externalDocs:Vk.optional().catch(void 0),components:cn(J(),wr()).optional(),webhooks:cn(J(),wr()).optional(),"x-scalar-icon":J().optional().default("interface-content-folder"),"x-scalar-active-environment":J().optional(),"x-scalar-environments":bLe.optional(),"x-scalar-secrets":yLe.optional()}),ELe=Fe({uid:dc.brand(),securitySchemes:J().array().default([]),selectedSecuritySchemeUids:$V,selectedServerUid:J().brand().optional(),servers:J().brand().array().default([]),requests:J().brand().array().default([]),tags:J().brand().array().default([]),children:Nn([J().brand(),J().brand()]).array().default([]),documentUrl:J().optional(),watchMode:Xt().optional().default(!1),integration:J().nullable().optional(),useCollectionSecurity:Xt().optional().default(!1),watchModeStatus:Bn(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")}),Mf=$Le.merge(ELe);var kg=(e=>(e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable",e))(kg||{});const _Le=Bn(["path","query","header","cookie"]),TLe=Bn(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),ALe=Fe({in:_Le,name:J(),description:J().optional(),required:Xt().optional().default(!1),deprecated:Xt().optional().default(!1),schema:wr().optional(),content:wr().optional(),style:TLe.optional(),explode:Xt().optional(),example:wr().optional(),examples:Nn([cn(J(),Fe({value:wr().optional(),summary:J().optional(),externalValue:J().optional()})),Sn(wr())]).optional()});function qA(e,t,n){const r={};t.forEach((a,s)=>r[a]=s);const i=[],o=[];return e.forEach(a=>{const s=r[a[n]]??-1;s>=0?i[s]=a:o.push(a)}),i.filter(Boolean).concat(...o)}function CLe(e){return e?Object.keys(e).map(t=>String(t)):[]}const PLe=e=>e["$ref-value"],Se=(e,t=PLe)=>typeof e=="object"&&e!==null&&"$ref"in e?t(e):e,s5=(e,t,n)=>{const[r,i]=e.split("#",2);if(r)return n.has(r)?i?i.startsWith("/")?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith("/")?i.slice(1):n.get(`${t}#${i}`)},gh=e=>{if(e&&typeof e=="object"&&e.$id&&typeof e.$id=="string")return e.$id},ZA=e=>e.join("/"),Xk=(e,t="",n=[],r=new Map,i=new WeakSet)=>{if(typeof e!="object"||e===null||i.has(e))return r;i.add(e);const o=gh(e);o&&r.set(o,ZA(n));const a=o??t;e.$anchor&&typeof e.$anchor=="string"&&r.set(`${a}#${e.$anchor}`,ZA(n));for(const s in e)typeof e[s]=="object"&&e[s]!==null&&Xk(e[s],a,[...n,s],r,i);return r};function bh(e,t){return t.reduce((n,r)=>n.value===void 0?{context:"",value:void 0}:typeof n.value!="object"||n.value===null?{context:"",value:void 0}:{context:gh(n.value)??n.context,value:n.value?.[r]},{context:"",value:e})}const sy=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null;function HA(e){return e.split("/").filter((t,n)=>(n!==0||t!=="#")&&t)}function ILe(e,t){return t.reduce((n,r)=>(n[r]===void 0&&(isNaN(Number(r))?n[r]={}:n[r]=[]),n[r]),e)}const Wk=Symbol("isMagicProxy"),EV=Symbol("magicProxyTarget"),pd="$ref-value",Yp="$ref",R0=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Xk(e),currentContext:""})=>{if(!sy(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r={get(o,a,s){if(a===Wk)return!0;if(a===EV)return o;if(typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal)return;const l=Reflect.get(o,Yp,s),c=gh(o);if(a===pd&&typeof l=="string"){if(n.cache.has(l))return n.cache.get(l);const d=s5(l,c??n.currentContext,n.schemas);if(d===void 0)return;const f=bh(n.root,HA(`#/${d}`));if(VA(f.value))return f.value;const p=R0(f.value,t,{...n,currentContext:f.context});return n.cache.set(l,p),p}const u=Reflect.get(o,a,s);return VA(u)?u:R0(u,t,{...n,currentContext:c??n.currentContext})},set(o,a,s,l){const c=Reflect.get(o,Yp,l);if(typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal)return!0;if(a===pd&&typeof c=="string"){const u=gh(o),d=s5(c,u??n.currentContext,n.schemas);if(d===void 0)return;const f=HA(`#/${d}`);if(f.length===0)return!1;const p=()=>bh(n.root,f.slice(0,-1)).value;return p()===void 0&&(ILe(n.root,f.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${c}
|
|
280
280
|
|
|
281
281
|
Please fix your input file to fix this issue.`)),p()[f.at(-1)]=s,!0}return Reflect.set(o,a,s,l)},deleteProperty(o,a){return Reflect.deleteProperty(o,a)},has(o,a){return typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal?!1:a===pd&&Yp in o?!0:Reflect.has(o,a)},ownKeys(o){const s=Reflect.ownKeys(o).filter(l=>typeof l!="string"||!(l.startsWith("__scalar_")&&!t?.showInternal));return Yp in o&&!s.includes(pd)&&s.push(pd),s},getOwnPropertyDescriptor(o,a){if(typeof a=="string"&&a.startsWith("__scalar_")&&!t?.showInternal)return;const s=Reflect.get(o,Yp);return a===pd&&typeof s=="string"?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(o,a)}},i=new Proxy(e,r);return n.proxyCache.set(e,i),i},VA=e=>typeof e=="object"&&e!==null&&e[Wk]===!0;function zi(e){return typeof e!="object"||e===null?e:e[Wk]?e[EV]:e}function L0(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function DLe(e){return e.startsWith("#")}const NLe=(e,t)=>e.reduce(([n,r],i)=>t(i)?[[...n,i],r]:[n,[...r,i]],[[],[]]),Pc=(e,t)=>{Object.assign(e,t)},L2=Symbol("isOverridesProxy"),l5=Symbol("getOverridesTarget"),c5=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!="object")return e;if(n.cache.has(e))return n.cache.get(e);const{overrides:r}=t??{},i={get(a,s,l){if(s===L2)return!0;if(s===l5)return a;const c=Reflect.get(a,s,l);return MLe(c)?c:L0(c)?c5(c,{overrides:Reflect.get(r??{},s)},n):Reflect.get(r??{},s)??c},set(a,s,l,c){return s===L2||s===l5?!1:r&&Reflect.has(r,s)&&r&&typeof r=="object"?(r[s]=l,!0):Reflect.set(a,s,l,c)}},o=new Proxy(e,i);return n.cache.set(e,o),o},MLe=e=>typeof e=="object"&&e!==null&&e[L2]===!0;function bp(e){return typeof e=="object"&&e!==null&&e[L2]?e[l5]:e}const RLe=10,XA=10,LLe="propertyName*",Yk=new Date().toISOString(),BLe=Yk.split("T")[0],jLe=Yk.split("T")[1].split(".")[0],FLe={"date-time":Yk,date:BLe,email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:jLe,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},_V=(e,t=!1,n="")=>"type"in e&&e.type==="string"&&"format"in e&&e.format==="binary"?new File([""],"filename"):t&&"format"in e&&e.format?FLe[e.format]??n:n,u5=new WeakMap,WA=new WeakMap,ULe=e=>{if(!e)return;const t=WA.get(e);if(t)return t;if("required"in e){const n=e.required;if(Array.isArray(n)&&n.length>0){const r=new Set(n);return WA.set(e,r),r}}},Yn=(e,t)=>(typeof t!="object"||t===null||u5.set(zi(bp(e)),t),t),QLe=e=>!!(e.allOf||e.oneOf||e.anyOf),zLe=(e,t,n,r)=>{if(r?.omitEmptyAndOptionalProperties!==!0||"type"in e&&(e.type==="object"||e.type==="array")||QLe(e)||"examples"in e&&Array.isArray(e.examples)&&e.examples.length>0||"example"in e&&e.example!==void 0||"default"in e&&e.default!==void 0||"const"in e&&e.const!==void 0||"enum"in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;const o=n??e.title??"",a=ULe(t);return!(a?a.has(o):!1)},TV=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e=="object"&&t&&typeof t=="object"?{...e,...t}:t,qLe=(e,t,n,r)=>{const i={};if("properties"in e&&e.properties){const o=Object.keys(e.properties),a=n>3?Math.min(XA,o.length):o.length;for(let s=0;s<a;s++){const l=o[s],c=Se(e.properties[l]);if(!c)continue;const u=t?.xml&&"xml"in c?c.xml?.name:void 0,d=Vr(c,t,{level:n+1,parentSchema:e,name:l,seen:r});typeof d<"u"&&(i[u??l]=d)}n>3&&o.length>XA&&(i["..."]="[Additional Properties Truncated]")}if("patternProperties"in e&&e.patternProperties)for(const o of Object.keys(e.patternProperties)){const a=Se(e.patternProperties[o]);a&&(i[o]=Vr(a,t,{level:n+1,parentSchema:e,name:o,seen:r}))}if("additionalProperties"in e&&e.additionalProperties!==void 0&&e.additionalProperties!==!1){const o=Se(e.additionalProperties),a=e.additionalProperties===!0||typeof e.additionalProperties=="object"&&Object.keys(e.additionalProperties).length===0,s=typeof o=="object"&&"x-additionalPropertiesName"in o&&typeof o["x-additionalPropertiesName"]=="string"&&o["x-additionalPropertiesName"].trim().length>0?`${o["x-additionalPropertiesName"].trim()}*`:LLe;i[s]=a?"anything":typeof o=="object"?Vr(o,t,{level:n+1,seen:r}):"anything"}if(e.oneOf?.[0])Object.assign(i,Vr(Se(e.oneOf[0]),t,{level:n+1,seen:r}));else if(e.anyOf?.[0])Object.assign(i,Vr(Se(e.anyOf[0]),t,{level:n+1,seen:r}));else if(Array.isArray(e.allOf)&&e.allOf.length>0){let o=i;for(const a of e.allOf){const s=Vr(Se(a),t,{level:n+1,parentSchema:e,seen:r});o=TV(o,s)}o&&typeof o=="object"&&Object.assign(i,o)}if(t?.xml&&"xml"in e&&e.xml?.name&&n===0){const o={};return o[e.xml.name]=i,Yn(e,o)}return Yn(e,i)},ZLe=(e,t,n,r)=>{const i="items"in e?Se(e.items):void 0,o=i&&typeof i=="object"&&"xml"in i?i.xml?.name:void 0,a=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&o);if(e.example!==void 0)return Yn(e,a?{[o]:e.example}:e.example);if(i&&typeof i=="object"){if(Array.isArray(i.allOf)&&i.allOf.length>0){const u=i.allOf.filter(Lt),d=Se(u[0]);if(d&&typeof d=="object"&&"type"in d&&d.type==="object"){const h=Vr({type:"object",allOf:u},t,{level:n+1,parentSchema:e,seen:r});return Yn(e,a?[{[o]:h}]:[h])}const f=u.map(p=>Vr(Se(p),t,{level:n+1,parentSchema:e,seen:r})).filter(Lt);return Yn(e,a?f.map(p=>({[o]:p})):f)}const c=i.anyOf||i.oneOf;if(c&&c.length>0){const u=c[0],d=Vr(Se(u),t,{level:n+1,parentSchema:e,seen:r});return Yn(e,a?[{[o]:d}]:[d])}}const s=i&&typeof i=="object"&&("type"in i&&i.type==="object"||"properties"in i),l=i&&typeof i=="object"&&("type"in i&&i.type==="array"||"items"in i);if(i&&typeof i=="object"&&("type"in i&&i.type||s||l)){const c=Vr(i,t,{level:n+1,seen:r});return Yn(e,a?[{[o]:c}]:[c])}return Yn(e,[])},HLe=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return _V(e,t,n??"");case"boolean":return!0;case"integer":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"number":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"array":return[];default:return}},VLe=(e,t,n)=>{if("type"in e&&Array.isArray(e.type)){if(e.type.includes("null"))return null;const r=e.type[0];if(r)switch(r){case"string":return _V(e,t,n??"");case"boolean":return!0;case"integer":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"number":return"minimum"in e&&typeof e.minimum=="number"?e.minimum:1;case"null":return null;default:return}}},Vr=(e,t,n)=>{const{level:r=0,parentSchema:i,name:o,seen:a=new WeakSet}=n??{},s=Se(e);if(!Lt(s))return;const l=zi(bp(s));if(a.has(l))return"[Circular Reference]";if(a.add(l),u5.has(l))return a.delete(l),u5.get(l);if(r>RLe)return a.delete(l),"[Max Depth Exceeded]";const c=!!t?.emptyString;if(s.deprecated||t?.mode==="write"&&s.readOnly||t?.mode==="read"&&s.writeOnly||zLe(s,i,o,t)){a.delete(l);return}if("x-variable"in s&&s["x-variable"]){const p=t?.variables?.[s["x-variable"]];if(p!==void 0)return"type"in s&&(s.type==="number"||s.type==="integer")?(a.delete(l),Yn(s,Number(p))):(a.delete(l),Yn(s,p))}if(Array.isArray(s.examples)&&s.examples.length>0)return a.delete(l),Yn(s,s.examples[0]);if(s.example!==void 0)return a.delete(l),Yn(s,s.example);if(s.default!==void 0)return a.delete(l),Yn(s,s.default);if(s.const!==void 0)return a.delete(l),Yn(s,s.const);if(Array.isArray(s.enum)&&s.enum.length>0)return a.delete(l),Yn(s,s.enum[0]);if("properties"in s||"type"in s&&s.type==="object"){const p=qLe(s,t,r,a);return a.delete(l),p}if("type"in s&&s.type==="array"||"items"in s){const p=ZLe(s,t,r,a);return a.delete(l),p}const u=HLe(s,c,t?.emptyString);if(u!==void 0)return a.delete(l),Yn(s,u);const d=s.oneOf||s.anyOf;if(Array.isArray(d)&&d.length>0){for(const p of d){const h=Se(p);if(h&&(!("type"in h)||h.type!=="null"))return a.delete(l),Yn(s,Vr(h,t,{level:r+1,seen:a}))}return a.delete(l),Yn(s,null)}if(Array.isArray(s.allOf)&&s.allOf.length>0){let p;const h=s.allOf;for(const m of h){const b=Vr(m,t,{level:r+1,parentSchema:s,seen:a});p===void 0?p=b:p&&typeof p=="object"&&b&&typeof b=="object"?p=TV(p,b):b!==void 0&&(p=b)}return a.delete(l),Yn(s,p??null)}const f=VLe(s,c,t?.emptyString);return f!==void 0?(a.delete(l),Yn(s,f)):(a.delete(l),Yn(s,null))};function YA(e=[],t=[],n,r=!0){return[...t||[],...e||[]].filter(a=>a.in===n).filter(a=>r&&a.required||!r).map(a=>({name:a.name??"Unknown Parameter",description:a.description??null,value:a.example?a.example:a.schema?Vr(a.schema,{mode:"write"}):"",required:a.required??!1,enabled:a.required??!1})).sort((a,s)=>a.required&&!s.required?-1:!a.required&&s.required?1:0)}function AV(e,t=!1,n){return Object.entries(e).flatMap(([r,i])=>{const o=n??r;return Array.isArray(i)&&!t?AV(i,!0,r):(typeof i=="object"&&!(i instanceof File)&&i!==null&&(i=JSON.stringify(i)),[{name:o,value:i}])})}const XLe=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"];function WLe(e,t,n){const r=e.requestBody?.content,i=JN(r),o=XLe.find(p=>!!i?.[p])??(Object.keys(i??{})[0]||"application/json"),a=o.includes("json")||o.endsWith("+json"),s=i?.[o]?.examples??i?.["application/json"]?.examples,l=s?.[Object.keys(s??{})[0]??""];if(l)return{mimeType:o,text:cf("value"in l?l.value:l)};const c=YA(e.parameters??[],[],"body",!1);if(c.length>0)return{mimeType:"application/json",text:cf(c[0]?.value??"")};const u=YA(e.parameters??[],[],"formData",!1);if(u.length>0)return{mimeType:"application/x-www-form-urlencoded",params:u.map(p=>({name:p.name,value:typeof p.value=="string"?p.value:JSON.stringify(p.value)}))};if(!o)return null;const d=i?.[o],f=d?.example?d?.example:void 0;if(a){const p=d?.schema?Vr(Se(d?.schema),{mode:"write",omitEmptyAndOptionalProperties:!1}):null,h=f??p;return{mimeType:o,text:h?typeof h=="string"?h:JSON.stringify(h,null,2):void 0}}if(o==="application/xml"){const p=d?.schema?Vr(Se(d?.schema),{xml:!0,mode:"write"}):null;return{mimeType:o,text:f??H3(p)}}if(o==="application/octet-stream")return{mimeType:o,text:"BINARY"};if(o==="text/plain"){const p=d?.schema?Vr(Se(d?.schema),{xml:!0,mode:"write"}):null;return{mimeType:o,text:f??p??""}}if(o==="multipart/form-data"||o==="application/x-www-form-urlencoded"){const p=d?.schema?Vr(Se(d?.schema),{xml:!0,mode:"write"}):null;return{mimeType:o,params:AV(f??p??{})}}return null}const ru=Fe({key:J().default(""),value:UF().default(""),enabled:Xt().default(!0),file:Xr().optional(),description:J().optional(),required:Xt().optional(),enum:Sn(J()).optional(),examples:Sn(Xr()).optional(),type:Nn([J(),Sn(J())]).optional(),format:J().optional(),minimum:bu().optional(),maximum:bu().optional(),default:Xr().optional(),nullable:Xt().optional()}).transform(e=>{const t={...e};return Array.isArray(t.type)&&t.type.includes("null")&&(t.nullable=!0),Array.isArray(t.type)&&t.type.length===2&&t.type.includes("null")&&(t.type=t.type.find(n=>n!=="null")),t}),CV=Fe({url:J(),base64:J().optional()}).nullable();Nn([Fe({type:It("string"),value:J()}),Fe({type:It("file"),file:CV})]);const YLe=["json","text","html","javascript","xml","yaml","edn"],GLe=["application/json","text/plain","text/html","application/javascript","application/xml","application/yaml","application/edn","application/octet-stream","application/x-www-form-urlencoded","multipart/form-data","binary"],KLe=Fe({raw:Fe({encoding:Bn(YLe),value:J().default(""),mimeType:J().optional()}).optional(),formData:Fe({encoding:Nn([It("form-data"),It("urlencoded")]).default("form-data"),value:ru.array().default([])}).optional(),binary:yf(Blob).optional(),activeBody:Nn([It("raw"),It("formData"),It("binary")]).default("raw")}),JLe=Fe({encoding:Bn(GLe),content:Nn([cn(J(),Xr()),J()]),file:CV.optional()}),B2=Fe({uid:dc.brand(),type:It("requestExample").optional().default("requestExample"),requestUid:J().brand().optional(),name:J().optional().default("Name"),body:KLe.optional().default({activeBody:"raw"}),parameters:Fe({path:ru.array().default([]),query:ru.array().default([]),headers:ru.array().default([{key:"Accept",value:"*/*",enabled:!0}]),cookies:ru.array().default([])}).optional().default({path:[],query:[],headers:[{key:"Accept",value:"*/*",enabled:!0}],cookies:[]}),serverVariables:cn(J(),Sn(J())).optional()}),z1=cn(J(),J()).optional(),eBe=Fe({name:J().optional(),body:JLe.optional(),parameters:Fe({path:z1,query:z1,headers:z1,cookies:z1})});function tBe(e){const t=e.schema,n=(()=>{if(e.examples&&!Array.isArray(e.examples)&&vu(e.examples).length>0){const s=Object.entries(e.examples).map(([l,c])=>c.externalValue?c.externalValue:c.value);return{value:s[0],examples:s}}if(Lt(e.example))return{value:e.example};if(Array.isArray(e.examples)&&e.examples.length>0)return{value:e.examples[0]};if(Lt(t?.example))return{value:t.example};if(Array.isArray(t?.examples)&&t.examples.length>0)return t?.type==="boolean"?{value:t.default??!1}:{value:t.examples[0]};if(e.content){const s=vu(e.content)[0];if(s){const l=e.content[s];if(l?.examples){const c=Object.keys(l.examples)[0];if(c){const u=l.examples[c];if(Lt(u?.value))return{value:u.value}}}if(Lt(l?.example))return{value:l.example}}}return null})(),r=String(n?.value??t?.default??""),i=t?.enum&&t?.type!=="string"?t.enum?.map(String):t?.items?.enum&&t?.type==="array"?t.items.enum.map(String):t?.enum,o=n?.examples||(t?.examples&&t?.type!=="string"?t.examples?.map(String):t?.examples),a=Ho({...t,key:e.name,value:r,description:e.description,required:e.required,enabled:!!e.required,enum:i,examples:o},ru,!1);return a||(console.warn(`Example at ${e.name} is invalid.`),ru.parse({}))}function ly(e,t,n){const r={path:[],query:[],cookie:[],header:[],headers:[{key:"Accept",value:"*/*",enabled:!0}]};e.parameters?.forEach(l=>r[l.in].push(tBe(l))),r.header.length>0&&(r.headers=r.header,r.header=[]);const i=r.headers.find(l=>l.key.toLowerCase()==="content-type"),o={activeBody:"raw"};if(e.requestBody||i?.value){const l=WLe(e),c=e.requestBody?l?.mimeType:i?.value;(c?.includes("/json")||c?.endsWith("+json"))&&(o.activeBody="raw",o.raw={encoding:"json",mimeType:c,value:l?.text??JSON.stringify({})}),c==="application/xml"&&(o.activeBody="raw",o.raw={encoding:"xml",value:l?.text??""}),c==="application/octet-stream"&&(o.activeBody="binary",o.binary=void 0),(c==="application/x-www-form-urlencoded"||c==="multipart/form-data")&&(o.activeBody="formData",o.formData={encoding:c==="application/x-www-form-urlencoded"?"urlencoded":"form-data",value:(l?.params||[]).map(u=>u.value instanceof File?{key:u.name,value:"BINARY",file:u.value,enabled:!0}:{key:u.name,value:u.value||"",enabled:!0})}),c?.startsWith("text/")&&(o.activeBody="raw",o.raw={encoding:"text",value:l?.text??""}),l?.mimeType&&!i&&!l.mimeType.startsWith("multipart/")&&r.headers.push({key:"Content-Type",value:l.mimeType,enabled:!0})}const a={},s=Ho({requestUid:e.uid,parameters:r,name:t,body:o,serverVariables:a},B2,!1);return s||(console.warn(`Example at ${e.uid} is invalid.`),B2.parse({}))}const nBe=["delete","get","head","options","patch","post","put","trace"],rBe=Xr(),iBe=Fe({tags:J().array().optional(),summary:J().optional(),description:J().optional(),operationId:J().optional(),security:Sn(xV).optional(),requestBody:rBe.optional(),parameters:ALe.array().optional(),externalDocs:Vk.optional(),deprecated:Xt().optional(),responses:cn(J(),Xr()).optional(),callbacks:cn(J(),cn(J(),cn(J(),Xr()))).optional(),"x-scalar-examples":cn(J(),eBe).optional(),"x-internal":Xt().optional(),"x-scalar-ignore":Xt().optional()}),oBe=Fe({"x-scalar-stability":Bn([kg.Deprecated,kg.Experimental,kg.Stable]).optional().catch(void 0)}),aBe=Fe({type:It("request").optional().default("request"),uid:dc.brand(),path:J().optional().default(""),method:Bn(nBe).default("get"),servers:J().brand().array().default([]),selectedServerUid:J().brand().optional().nullable().default(null),examples:J().brand().array().default([]),selectedSecuritySchemeUids:$V}),lu=iBe.omit({"x-scalar-examples":!0}).merge(Uve).merge(oBe).merge(aBe).merge(zve),Es={COLLECTION:"collection",COOKIE:"cookie",ENVIRONMENT:"environment",REQUEST:"request",REQUEST_EXAMPLE:"requestExample",SECURITY_SCHEME:"securityScheme",SERVER:"server",TAG:"tag",WORKSPACE:"workspace"},PV={SELECTED_CLIENT:"scalar-reference-selected-client-v2"},Oh={AUTH:"scalar-client-auth",SELECTED_SECURITY_SCHEMES:"scalar-client-selected-security-schemes"},ac=()=>typeof window>"u"?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage,IV=(e={})=>{const{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,o=new Map,a=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),o.clear()},s=c=>{const u=o.get(c),d=r.get(c);d!==void 0&&(clearTimeout(d),r.delete(c));const f=i.get(c);if(f!==void 0&&(clearTimeout(f),i.delete(c)),o.delete(c),u!==void 0)try{u()}catch{}};return{execute:(c,u)=>{o.set(c,u);const d=r.get(c);d!==void 0&&clearTimeout(d),r.set(c,setTimeout(()=>s(c),t)),n!==void 0&&!i.has(c)&&i.set(c,setTimeout(()=>s(c),n))},cleanup:a}},{parse:sBe,stringify:lBe}=JSON,{keys:cBe}=Object,yh=String,DV="string",GA={},Gk="object",NV=(e,t)=>t,uBe=e=>e instanceof yh?yh(e):e,dBe=(e,t)=>typeof t===DV?new yh(t):t,MV=(e,t,n,r)=>{const i=[];for(let o=cBe(n),{length:a}=o,s=0;s<a;s++){const l=o[s],c=n[l];if(c instanceof yh){const u=e[c];typeof u===Gk&&!t.has(u)?(t.add(u),n[l]=GA,i.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==GA&&(n[l]=r.call(n,l,c))}for(let{length:o}=i,a=0;a<o;a++){const{k:s,a:l}=i[a];n[s]=r.call(n,s,MV.apply(null,l))}return n},KA=(e,t,n)=>{const r=yh(t.push(n)-1);return e.set(n,r),r},RV=(e,t)=>{const n=sBe(e,dBe).map(uBe),r=n[0],i=NV,o=typeof r===Gk&&r?MV(n,new Set,r,i):r;return i.call({"":o},"",o)},fBe=(e,t,n)=>{const r=NV,i=new Map,o=[],a=[];let s=+KA(i,o,r.call({"":e},"",e)),l=!s;for(;s<o.length;)l=!0,a[s]=lBe(o[s++],c,n);return"["+a.join(",")+"]";function c(u,d){if(l)return l=!l,d;const f=r.call(this,u,d);switch(typeof f){case Gk:if(f===null)return f;case DV:return i.get(f)||KA(i,o,f)}return f}};function JA(e,t,n){const r=t.split(".");return r.reduce((i,o,a)=>(a===r.length-1&&(i[o]=n),i[o]),e),e}function Kk(e,t){return t.split(".").reduce((r,i)=>r[i],e)}class e9{parentData;maxRecords;records=[];sideEffects=[];idx=0;debug;constructor(t,n=5e3,r=!1){this.maxRecords=n,this.parentData=t,this.debug=r}_unsavedMutate(t,n){JA(this.parentData,t,n),this.runSideEffects(t)}addSideEffect(t,n,r,i=!0){this.sideEffects.push({triggers:t,effect:n,name:r}),i&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}runSideEffects(t){this.sideEffects.forEach(({effect:n,triggers:r,name:i})=>{(r.some(a=>t.includes(a))||t.length<1)&&(n(this.parentData),this.debug&&console.info(`Running mutation side effect: ${i}`,"debug"))})}mutate(t,n,r=null){this.idx<this.records.length-1&&this.records.splice(this.idx+1);const i=Kk(this.parentData,t);i!==n&&(JA(this.parentData,t,n),this.runSideEffects(t),this.records.push({prev:r??i,value:n,path:t}),this.idx=this.records.length-1,this.records.length>this.maxRecords&&this.records.shift(),this.debug&&console.info(`Set object '${this.idx}' '${t}' to ${n}`,"debug"))}undo(){if(this.idx<0||this.records.length<1)return!1;this.debug&&console.info("Undoing Mutation","debug");const t=this.records[this.idx];return this.idx-=1,t&&this._unsavedMutate(t.path,t.prev),!0}redo(){if(this.idx>this.records.length-2)return!1;this.debug&&console.info("Redoing Mutation","debug");const t=this.records[this.idx+1];return this.idx+=1,t&&this._unsavedMutate(t.path,t.value),!0}}const t9={DEBOUNCE_MS:328,MAX_WAIT_MS:1e3},pBe=500;function gl(e,t,n,r=pBe){const{execute:i}=IV({delay:t9.DEBOUNCE_MS,maxWait:t9.MAX_WAIT_MS});function o(s){const l=t[s];return l||console.warn(`Missing ${e[s]?"mutator":"object"} for uid: ${s}`),l??null}const a=n?()=>i(n,()=>ac().setItem(n,fBe(e))):()=>null;return{add:s=>{e[s.uid]=s,t[s.uid]=new e9(s,r),a()},delete:s=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to delete");return}delete e[s],delete t[s],a()},set:s=>{e[s.uid]=s,t[s.uid]=new e9(s,r),a()},edit:(s,l,c)=>{if(!s){console.warn("[@scalar/object-utils] No uid provided to edit",l,c);return}o(s)?.mutate(l,c),a()},untrackedEdit:(s,l,c)=>{o(s)?._unsavedMutate(l,c),a()},undo:s=>{o(s)?.undo(),a()},redo:s=>{o(s)?.redo(),a()},reset:()=>{Object.keys(e).forEach(s=>{delete e[s],delete t[s]}),a()}}}function hBe(e){const t=tn({}),n=gl(t,tn({}),e&&Es.COLLECTION);return{collections:t,collectionMutators:n}}function n9({requests:e,requestMutators:t,requestExamples:n,requestExampleMutators:r,workspaces:i,workspaceMutators:o,collections:a,collectionMutators:s,tagMutators:l,serverMutators:c}){return{addCollection:(u,d)=>{const f=Mf.parse(u),p=i[d];return p&&o.edit(d,"collections",[...p.collections,f.uid]),s.add(f),f},deleteCollection:(u,d)=>{if(d.uid){if(a[u.uid]?.info?.title==="Drafts"){console.warn("The drafts collection cannot be deleted");return}if(Object.values(a).length===1){console.warn("You must have at least one collection");return}u.tags.forEach(f=>l.delete(f)),u.requests.forEach(f=>{const p=e[f];p&&(t.delete(f),p.examples.forEach(h=>n[h]&&r.delete(h)))}),u.servers.forEach(f=>{f&&c.delete(f)}),o.edit(d.uid,"collections",d.collections.filter(f=>f!==u.uid)),s.delete(u.uid)}},addCollectionEnvironment:(u,d,f)=>{const p=a[f];if(p){const h=p["x-scalar-environments"]||{};s.edit(f,"x-scalar-environments",{...h,[u]:d})}},removeCollectionEnvironment:(u,d)=>{const f=a[d];if(f){const p=f["x-scalar-environments"]||{};u in p&&(delete p[u],s.edit(d,"x-scalar-environments",p))}}}}function mBe(e){const t=tn({}),n=gl(t,tn({}),e&&Es.COOKIE);return{cookies:t,cookieMutators:n}}function gBe(e){const t=tn({}),n=gl(t,tn({}),e&&Es.ENVIRONMENT);return n.add(M0.parse({uid:"default",name:"Default Environment",color:"#FFFFFF",value:JSON.stringify({exampleKey:"exampleValue"},null,2),isDefault:!0})),{environments:t,environmentMutators:n}}function bBe({environmentMutators:e}){return{deleteEnvironment:t=>{if(t==="default"){console.warn("Default environment cannot be deleted.");return}e.delete(t)}}}function hd(){const e=new Set;function t(a){return e.add(a),()=>r(a)}function n(a){function s(...l){r(s),a(...l)}return t(s)}function r(a){e.delete(a)}function i(){e.clear()}function o(a){e?.forEach(s=>s(a))}return{on:t,once:n,off:r,emit:o,reset:i,listeners:()=>Array.from(e)}}function OBe(){return{executeRequest:hd(),focusAddressBar:hd(),cancelRequest:hd(),requestStatus:hd(),commandPalette:hd(),hotKeys:hd()}}function cy(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Kd(e,t,n=[]){const r={};for(const[i,o]of Object.entries(e)){const a=[...n,i];if(Array.isArray(o)){r[i]=o.map((s,l)=>typeof s=="object"&&!Array.isArray(s)&&s!==null?Kd(s,t,[...a,l.toString()]):s);continue}if(typeof o=="object"&&o!==null){r[i]=Kd(o,t,a);continue}r[i]=o}return t(r,n)}const yBe=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function vBe(e){let t=e;if(t!==null&&typeof t=="object"&&typeof t.swagger=="string"&&t.swagger?.startsWith("2.0"))t.openapi="3.0.4",delete t.swagger;else return t;if(t.host){const n=Array.isArray(t.schemes)&&t.schemes?.length?t.schemes:["http"];t.servers=n.map(r=>({url:`${r}://${t.host}${t.basePath??""}`})),delete t.basePath,delete t.schemes,delete t.host}else t.basePath&&(t.servers=[{url:t.basePath}],delete t.basePath);if(t.definitions&&(t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=Kd(t,n=>(typeof n.$ref=="string"&&n.$ref.startsWith("#/definitions/")&&(n.$ref=n.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),n))),t=Kd(t,n=>(n.type==="file"&&(n.type="string",n.format="binary"),n)),Object.hasOwn(t,"parameters")){t=Kd(t,o=>{if(typeof o.$ref=="string"&&o.$ref.startsWith("#/parameters/")){const a=o.$ref.split("/")[2];if(!a)return o;const s=t.parameters&&typeof t.parameters=="object"&&a in t.parameters?t.parameters[a]:void 0;s&&typeof s=="object"&&"in"in s&&(s.in==="body"||s.in==="formData")?o.$ref=o.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):o.$ref=o.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return o}),t.components??={};const n={},r={},i=t.parameters&&typeof t.parameters=="object"?t.parameters:{};for(const[o,a]of Object.entries(i))if(a&&typeof a=="object"){if("$ref"in a){const s=d5(a);n[o]=s}else if("in"in a)if(a.in==="body")r[o]=BV(a,t.consumes??["application/json"]);else if(a.in==="formData")r[o]=jV([a]);else{const s=d5(a);n[o]=s}}Object.keys(n).length>0&&(t.components.parameters=n),Object.keys(r).length>0&&(t.components.requestBodies=r),delete t.parameters}if(typeof t.paths=="object"){for(const n in t.paths)if(Object.hasOwn(t.paths,n)){const r=t.paths&&typeof t.paths=="object"&&n in t.paths?t.paths[n]:void 0;if(!r||typeof r!="object")continue;let i;for(const o in r)if(o==="parameters"&&Object.hasOwn(r,o)){const a=i9(r.parameters,t.consumes??["application/json"]);r.parameters=a.parameters,i=a.requestBody}else if(Object.hasOwn(r,o)){const a=r[o];if(i&&(a.requestBody=i),a.parameters){const s=i9(a.parameters,a.consumes??t.consumes??["application/json"]);a.parameters=s.parameters,s.requestBody&&(a.requestBody=s.requestBody)}if(delete a.consumes,a.responses){for(const s in a.responses)if(Object.hasOwn(a.responses,s)){const l=a.responses[s];if(l.headers&&typeof l.headers=="object"&&(l.headers=Object.entries(l.headers).reduce((c,[u,d])=>d&&typeof d=="object"?{[u]:SBe(d),...c}:c,{})),l.schema){const c=t.produces??a.produces??["application/json"];typeof l.content!="object"&&(l.content={});for(const u of c)l.content[u]={schema:l.schema};delete l.schema}}}delete a.produces,a.parameters?.length===0&&delete a.parameters}}}if(t.securityDefinitions){(typeof t.components!="object"||t.components===null)&&(t.components={}),t.components&&typeof t.components=="object"&&Object.assign(t.components,{securitySchemes:{}});for(const[n,r]of Object.entries(t.securityDefinitions))if(typeof r=="object")if("type"in r&&r.type==="oauth2"){const{flow:i,authorizationUrl:o,tokenUrl:a,scopes:s}=r;t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:{type:"oauth2",flows:{[yBe(i||"implicit")]:Object.assign({},o&&{authorizationUrl:o},a&&{tokenUrl:a},s&&{scopes:s})}}})}else"type"in r&&r.type==="basic"?t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:{type:"http",scheme:"basic"}}):t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[n]:r});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}function LV(e){return["type","format","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce((n,r)=>(Object.hasOwn(e,r)&&(n[r]=e[r],delete e[r]),n),{})}function wBe(e){if(e==="formData")throw new Error("Encountered a formData parameter which should have been filtered out by the caller");if(e==="body")throw new Error("Encountered a body parameter which should have been filtered out by the caller");return e}function d5(e){if(Object.hasOwn(e,"$ref")&&"$ref"in e)return{$ref:e.$ref};const t=xBe(e),n=LV(e);if(delete e.collectionFormat,delete e.default,!e.in)throw new Error('Parameter object must have an "in" property');return{schema:n,...t,...e,in:wBe(e.in)}}function SBe(e){if(Object.hasOwn(e,"$ref")&&"$ref"in e)return{$ref:e.$ref};const t=LV(e);return{...e,schema:t}}const kBe={ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},r9={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},F4={header:r9,query:kBe,path:r9};function xBe(e){if(e.type!=="array"||!(e.in==="query"||e.in==="path"||e.in==="header"))return{};const t=e.collectionFormat??"csv";return e.in in F4&&t in F4[e.in]?F4[e.in][t]:{}}function BV(e,t){delete e.name,delete e.in;const{schema:n,...r}=e,i={content:{},...r};if(i.content)for(const o of t)i.content[o]={schema:n};return i}function jV(e){const t={content:{}};if(t.content){t.content["application/x-www-form-urlencoded"]={schema:{type:"object",properties:{},required:[]}};const n=t.content?.["application/x-www-form-urlencoded"];if(n?.schema&&typeof n.schema=="object"&&"properties"in n.schema)for(const r of e)r.name&&n.schema.properties&&(n.schema.properties[r.name]={type:r.type,description:r.description},r.required&&Array.isArray(n.schema.required)&&n.schema.required.push(r.name))}return t}function i9(e,t){const n={parameters:e.filter(o=>!(o.in==="body"||o.in==="formData")).map(o=>d5(o))},r=structuredClone(e.find(o=>o.in==="body")??{});r&&Object.keys(r).length&&(n.requestBody=BV(r,t));const i=e.filter(o=>o.in==="formData");if(i.length>0){const o=jV(i);typeof n.requestBody!="object"?n.requestBody=o:n.requestBody={...n.requestBody,content:{...n.requestBody.content,...o.content}},typeof n.requestBody!="object"&&(n.requestBody={content:{}})}return n}const $Be=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]);function EBe(e){return e?!!(e.some(t=>$Be.has(t))||e.some(t=>t.endsWith("Schema"))||e.length>=2&&e[0]==="components"&&e[1]==="schemas"):!1}function _Be(e){let t=e;return t===null||typeof t.openapi!="string"||!t.openapi.startsWith("3.0")||(t.openapi="3.1.1",t=Kd(t,TBe)),t}const TBe=(e,t)=>{e.type!==void 0&&e.nullable===!0&&(e.type=[e.type,"null"],delete e.nullable),e.exclusiveMinimum===!0?(e.exclusiveMinimum=e.minimum,delete e.minimum):e.exclusiveMinimum===!1&&delete e.exclusiveMinimum,e.exclusiveMaximum===!0?(e.exclusiveMaximum=e.maximum,delete e.maximum):e.exclusiveMaximum===!1&&delete e.exclusiveMaximum;const n=t?.some((o,a)=>o==="examples"&&a>0?t[a-1]!=="properties":!1);if(e.example!==void 0&&!n&&(EBe(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),e.type==="object"&&e.properties!==void 0&&t?.slice(0,-1)?.some((s,l)=>s==="content"&&t?.[l+1]==="multipart/form-data")&&e.properties!==null)for(const s of Object.values(e.properties))typeof s=="object"&&s!==null&&"type"in s&&"format"in s&&s.type==="string"&&s.format==="binary"&&(s.contentMediaType="application/octet-stream",delete s.format);if(t?.includes("content")&&t?.includes("application/octet-stream"))return{};const{format:r,...i}=e;if(e.type==="string"){if(e.format==="binary")return{...i,type:"string",contentMediaType:"application/octet-stream"};if(e.format==="base64")return{...i,type:"string",contentEncoding:"base64"};if(e.format==="byte"){const a=t?.slice(0,-1)?.find((s,l)=>t?.[l-1]==="content");return{...i,type:"string",contentEncoding:"base64",contentMediaType:a}}}return e["x-webhooks"]!==void 0&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};var ABe={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},CBe={id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},PBe={$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri-reference",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri-reference"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri-reference"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}},IBe={$id:"https://spec.openapis.org/oas/3.2/schema/2025-09-17",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.2.x Documents without Schema Object validation",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.2\\.\\d+(-.+)?$"},$self:{type:"string",format:"uri-reference",$comment:"MUST NOT contain a fragment",pattern:"^[^#]*$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri-reference",default:"https://spec.openapis.org/oas/3.2/dialect/2025-09-17"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.2#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.2#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.2#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.2#server-object",type:"object",properties:{url:{type:"string"},description:{type:"string"},name:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.2#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.2#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item"}},mediaTypes:{type:"object",additionalProperties:{$ref:"#/$defs/media-type-or-reference"}}},patternProperties:{"^(?:schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems|mediaTypes)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.2#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.2#path-item-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{$ref:"#/$defs/parameters"},additionalOperations:{type:"object",additionalProperties:{$ref:"#/$defs/operation"},propertyNames:{$comment:'RFC9110 restricts methods to "1*tchar" in ABNF',pattern:"^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$",not:{enum:["GET","PUT","POST","DELETE","OPTIONS","HEAD","PATCH","TRACE","QUERY"]}}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"},query:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},operation:{$comment:"https://spec.openapis.org/oas/v3.2#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{$ref:"#/$defs/parameters"},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.2#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"},not:{allOf:[{contains:{type:"object",properties:{in:{const:"query"}},required:["in"]}},{contains:{type:"object",properties:{in:{const:"querystring"}},required:["in"]}}]},contains:{type:"object",properties:{in:{const:"querystring"}},required:["in"]},minContains:0,maxContains:1},parameter:{$comment:"https://spec.openapis.org/oas/v3.2#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","querystring","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/specification-extensions"},{if:{properties:{in:{const:"query"}}},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}}},{if:{properties:{in:{const:"querystring"}}},then:{required:["content"]}}],dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}}},then:{properties:{style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}}},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}}},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}}},then:{properties:{style:{default:"form",enum:["form","cookie"]}}}}}}},unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.2#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.2#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type-or-reference"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.2#media-type-object",type:"object",properties:{description:{type:"string"},schema:{$dynamicRef:"#meta"},itemSchema:{$dynamicRef:"#meta"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}},prefixEncoding:{type:"array",items:{$ref:"#/$defs/encoding"}},itemEncoding:{$ref:"#/$defs/encoding"}},dependentSchemas:{encoding:{properties:{prefixEncoding:!1,itemEncoding:!1}}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/specification-extensions"}],unevaluatedProperties:!1},"media-type-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/media-type"}},encoding:{$comment:"https://spec.openapis.org/oas/v3.2#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}},prefixEncoding:{type:"array",items:{$ref:"#/$defs/encoding"}},itemEncoding:{$ref:"#/$defs/encoding"}},dependentSchemas:{encoding:{properties:{prefixEncoding:!1,itemEncoding:!1}},style:{properties:{allowReserved:{default:!1}}},explode:{properties:{style:{default:"form"},allowReserved:{default:!1}}},allowReserved:{properties:{style:{default:"form"}}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/styles-for-form"}],unevaluatedProperties:!1},responses:{$comment:"https://spec.openapis.org/oas/v3.2#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,if:{$comment:"either default, or at least one response code property must exist",patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":!1}},then:{required:["default"]}},response:{$comment:"https://spec.openapis.org/oas/v3.2#response-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.2#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.2#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},dataValue:!0,serializedValue:{type:"string"},value:!0,externalValue:{type:"string",format:"uri-reference"}},allOf:[{not:{required:["value","externalValue"]}},{not:{required:["value","dataValue"]}},{not:{required:["value","serializedValue"]}},{not:{required:["serializedValue","externalValue"]}}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.2#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},server:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.2#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$dynamicRef:"#meta"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"},allowReserved:{default:!1,type:"boolean"}}}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/specification-extensions"}],unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.2#tag-object",type:"object",properties:{name:{type:"string"},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},parent:{type:"string"},kind:{type:"string"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.2#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}}},schema:{$comment:"https://spec.openapis.org/oas/v3.2#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.2#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"},deprecated:{default:!1,type:"boolean"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}}},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}}},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}}},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"},oauth2MetadataUrl:{type:"string",format:"uri-reference"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}}},then:{properties:{openIdConnectUrl:{type:"string",format:"uri-reference"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"},deviceAuthorization:{$ref:"#/$defs/oauth-flows/$defs/device-authorization"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"device-authorization":{type:"object",properties:{deviceAuthorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["deviceAuthorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.2#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.2#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}},not:{required:["example","examples"]}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}};const DBe={"2.0":ABe,"3.0":CBe,"3.1":PBe,"3.2":IBe},NBe=Object.keys(DBe),xg={INVALID_REFERENCE:"Can't resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can't resolve external reference: %s",NO_CONTENT:"No content found"},FV=e=>typeof e=="object"&&!Array.isArray(e)&&e!==null;function MBe(e){if(e===null)return{version:void 0,specificationType:void 0,specificationVersion:void 0};if(FV(e))for(const t of new Set(NBe)){const n=t==="2.0"?"swagger":"openapi",r=e[n];if(typeof r=="string"&&r.startsWith(t))return{version:t,specificationType:n,specificationVersion:r}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function Jd(e){return e?.find(t=>t.isEntrypoint)}function f5(e,t,n=[]){const r={};for(const[i,o]of Object.entries(e)){const a=[...n,i];if(Array.isArray(o)){r[i]=o.map((s,l)=>typeof s=="object"&&!Array.isArray(s)&&s!==null?f5(s,t,[...a,l.toString()]):s);continue}if(typeof o=="object"&&o!==null){r[i]=f5(o,t,a);continue}r[i]=o}return t(r,n)}function UV(e){const t=[];return!e||typeof e!="object"?t:(f5(e,n=>(n.$ref&&typeof n.$ref=="string"&&!n.$ref.startsWith("#")&&t.push(n.$ref.split("#")[0]),n)),[...new Set(t)])}function Jk(e){return typeof e<"u"&&Array.isArray(e)&&e.length>0&&e.some(t=>t.isEntrypoint===!0)}function vh(e){if(e!==null){if(typeof e=="string"){if(e.trim()==="")return;try{return JSON.parse(e)}catch{const t=/^[^:]+:/.test(e),n=e.slice(0,50).trimStart().startsWith("{");return!t||n?void 0:zb(e,{maxAliasCount:1e4,merge:!0})}}return Jk(e),e}}function ex(e,t={}){if(Jk(e))return e;const n=vh(e);return[{isEntrypoint:!0,specification:n,filename:null,dir:"./",references:UV(n),...t}]}function RBe(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function LBe(e){return e.split("/").slice(1).map(RBe)}function BBe(e,t,n,r=[]){const i=structuredClone(e),o=ex(i),a=Jd(o),s=n?.specification??a.specification;return FV(s)?(p5(s,o,a,new WeakSet,r,t),r=r.filter((l,c,u)=>c===u.findIndex(d=>d.message===l.message&&d.code===l.code)),{valid:r.length===0,errors:r,schema:s}):{valid:!1,errors:r,schema:s}}function p5(e,t,n,r,i,o){if(e===null||r.has(e))return;r.add(e);function a(s){return p5(s.specification,t,s,r,i,o),s}for(;e.$ref!==void 0;){const s=QV(e.$ref,o,n,t,a,i);if(typeof s!="object"||s===null)break;e.$ref,delete e.$ref;for(const l of Object.keys(s))e[l]===void 0&&(e[l]=s[l])}for(const s of Object.values(e))typeof s=="object"&&s!==null&&p5(s,t,n,r,i,o)}function QV(e,t,n,r,i,o){if(typeof e!="string"){o.push({code:"INVALID_REFERENCE",message:xg.INVALID_REFERENCE.replace("%s",e)});return}const[a,s]=e.split("#",2),l=a!==n.filename;if(a&&l){const u=r.find(d=>d.filename===a);if(!u){o.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",message:xg.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});return}return s===void 0?u.specification:QV(`#${s}`,t,i(u),r,i,o)}const c=LBe(s);try{return c.reduce((u,d)=>u[d],n.specification)}catch{o.push({code:"INVALID_REFERENCE",message:xg.INVALID_REFERENCE.replace("%s",e)})}}function zV(e,t){const n=ex(e),r=Jd(n),i=BBe(n,t);return{specification:r.specification,errors:i.errors,schema:i.schema,...MBe(r.specification)}}function qV(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const i=e[r];i==="."?e.splice(r,1):i===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}const jBe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/,tx=e=>jBe.exec(e).slice(1);function h5(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,n=i.charAt(0)==="/")}return t=qV(t.split("/").filter(r=>!!r),!n).join("/"),(n?"/":"")+t||"."}function ZV(e){const t=HV(e),n=e.slice(-1)==="/";let r=qV(e.split("/").filter(i=>!!i),!t).join("/");return!r&&!t&&(r="."),r&&n&&(r+="/"),(t?"/":"")+r}function HV(e){return e.charAt(0)==="/"}function FBe(...e){return ZV(e.filter(t=>{if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function UBe(e,t){const n=h5(e).substring(1),r=h5(t).substring(1);function i(u){let d=0;for(;d<u.length&&u[d]==="";d++);let f=u.length-1;for(;f>=0&&u[f]==="";f--);return d>f?[]:u.slice(d,f-d+1)}const o=i(n.split("/")),a=i(r.split("/")),s=Math.min(o.length,a.length);let l=s;for(let u=0;u<s;u++)if(o[u]!==a[u]){l=u;break}let c=[];for(let u=l;u<o.length;u++)c.push("..");return c=c.concat(a.slice(l)),c.join("/")}const QBe="/",zBe=":";function qBe(e){const t=tx(e),n=t[0];let r=t[1];return!n&&!r?".":(r&&(r=r.slice(0,-1)),n+r)}function ZBe(e,t){let n=tx(e)[2];return t&&n.slice(-t.length)===t&&(n=n.slice(0,-t.length)),n}function HBe(e){return tx(e)[3]}const q1={extname:HBe,basename:ZBe,dirname:qBe,sep:QBe,delimiter:zBe,relative:UBe,join:FBe,isAbsolute:HV,normalize:ZV,resolve:h5};function VBe(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function nx(e){return e.split("/").slice(1).map(VBe)}function XBe(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{const t=JSON.parse(e);return sy(t)}catch{return!1}}function WBe(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}const $g=e=>{let n=0,r=0;const i=e.length,o=i&15,a=i-o,s=2277735313,l=1291169091,c=1390208809,u=944331445;for(let d=0;d<a;d+=16){let f=e.charCodeAt(d)&255|(e.charCodeAt(d+1)&255)<<8|(e.charCodeAt(d+2)&255)<<16|(e.charCodeAt(d+3)&255)<<24,p=e.charCodeAt(d+4)&255|(e.charCodeAt(d+5)&255)<<8|(e.charCodeAt(d+6)&255)<<16|(e.charCodeAt(d+7)&255)<<24,h=e.charCodeAt(d+8)&255|(e.charCodeAt(d+9)&255)<<8|(e.charCodeAt(d+10)&255)<<16|(e.charCodeAt(d+11)&255)<<24,m=e.charCodeAt(d+12)&255|(e.charCodeAt(d+13)&255)<<8|(e.charCodeAt(d+14)&255)<<16|(e.charCodeAt(d+15)&255)<<24;f=Math.imul(f,s),f=f<<15|f>>>17,f=Math.imul(f,l),n^=f,n=n<<13|n>>>19,n=Math.imul(n,5)+3864292196,p=Math.imul(p,l),p=p<<16|p>>>16,p=Math.imul(p,c),r^=p,r=r<<17|r>>>15,r=Math.imul(r,5)+461845907,h=Math.imul(h,c),h=h<<17|h>>>15,h=Math.imul(h,u),n^=h,n=n<<15|n>>>17,n=Math.imul(n,5)+1390208809,m=Math.imul(m,u),m=m<<18|m>>>14,m=Math.imul(m,s),r^=m,r=r<<13|r>>>19,r=Math.imul(r,5)+944331445}if(o>0){let d=0,f=0,p=0,h=0;o>=15&&(h^=(e.charCodeAt(a+14)&255)<<16),o>=14&&(h^=(e.charCodeAt(a+13)&255)<<8),o>=13&&(h^=e.charCodeAt(a+12)&255,h=Math.imul(h,u),h=h<<18|h>>>14,h=Math.imul(h,s),r^=h),o>=12&&(p^=(e.charCodeAt(a+11)&255)<<24),o>=11&&(p^=(e.charCodeAt(a+10)&255)<<16),o>=10&&(p^=(e.charCodeAt(a+9)&255)<<8),o>=9&&(p^=e.charCodeAt(a+8)&255,p=Math.imul(p,c),p=p<<17|p>>>15,p=Math.imul(p,u),n^=p),o>=8&&(f^=(e.charCodeAt(a+7)&255)<<24),o>=7&&(f^=(e.charCodeAt(a+6)&255)<<16),o>=6&&(f^=(e.charCodeAt(a+5)&255)<<8),o>=5&&(f^=e.charCodeAt(a+4)&255,f=Math.imul(f,l),f=f<<16|f>>>16,f=Math.imul(f,c),r^=f),o>=4&&(d^=(e.charCodeAt(a+3)&255)<<24),o>=3&&(d^=(e.charCodeAt(a+2)&255)<<16),o>=2&&(d^=(e.charCodeAt(a+1)&255)<<8),o>=1&&(d^=e.charCodeAt(a)&255,d=Math.imul(d,s),d=d<<15|d>>>17,d=Math.imul(d,l),n^=d)}return n^=i,r^=i,n+=r,r+=n,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,r^=r>>>16,r=Math.imul(r,2246822507),r^=r>>>13,r=Math.imul(r,3266489909),r^=r>>>16,n+=r,r+=n,(n>>>0).toString(16).padStart(8,"0")+(r>>>0).toString(16).padStart(8,"0")};function YBe(e){const n=$g(e).substring(0,7);return n.match(/^\d+$/)?"a"+n.substring(1):n}async function VV(e,t,n,r,i=0){if(i>=100)throw"Can not generate unique compressed values";const a=await e(r??t);return n[a]!==void 0&&n[a]!==t?VV(e,t,n,a,i+1):(n[a]=t,a)}const GBe=(e,t)=>{const n=Object.fromEntries(Object.entries(t).map(([r,i])=>[i,r]));return{generate:async r=>{const i=n[r];if(i)return i;const o=await VV(e,r,t),a=o.match(/^\d+$/)?`a${o}`:o;return n[r]=a,a}}};function wh(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function KBe(e){return!wh(e)&&!WBe(e)&&!XBe(e)}function XV(e){return e.startsWith("#")}function o9(e,t){const n=t.find(r=>r.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function m5(e,t,n){if(t==="")throw new Error("Cannot set value at root ('') pointer");const r=nx(t);let i=e;for(let o=0;o<r.length;o++){const a=r[o],s=o===r.length-1,l=r[o+1],c=/^\d+$/.test(l??"");s?i[a]=n:((!(a in i)||typeof i[a]!="object")&&(i[a]=c?[]:{}),i=i[a])}}function JBe(e,t){if(wh(t))return t;if(wh(e)){const n=new URL(e);if(t.startsWith("/"))return n.pathname=t,n.toString();const r=q1.join(q1.dirname(n.pathname),t);return new URL(r,e).toString()}return q1.join(q1.dirname(e),t)}function g5(e,t){if(!XV(e))throw"Please provide an internal ref";return`#/${t.map(cy).join("/")}${e.substring(1)}`}function WV(e,t){if(sy(e)&&(Object.values(e).forEach(n=>WV(n,t)),typeof e=="object"&&"$ref"in e&&typeof e.$ref=="string")){const n=e.$ref;if(!XV(n))return;e.$ref=g5(n,t)}}const b5=(e,t,n,r,i,o=!1,a=new Set)=>{const s=bh(t,nx(n)).value;if(a.has(s))return;a.add(s),m5(e,n,s);const l=c=>{if(!(!c||typeof c!="object")){"$ref"in c&&typeof c.$ref=="string"&&(c.$ref.startsWith(`#/${r}/${cy(i)}`)||o)&&b5(e,t,c.$ref.substring(1),r,i,o,a);for(const u of Object.values(c))l(u)}};l(s)},Oi={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"};async function U4(e,t){const n=t.cache??new Map,r=t.plugins.filter(h=>h.type==="loader"),i=t.plugins.filter(h=>h.type==="lifecycle"),a=await(async()=>{if(typeof e!="string")return e;const h=await o9(e,r);if(h.ok&&typeof h.data=="object")return h.data;throw new Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")})(),s=t.root??a,l=Xk(s),c=t.root!==void 0&&t.root!==a||t.depth!==void 0,u=t.visitedNodes??new Set,d=()=>t.origin?t.origin:typeof e!="string"?"":wh(e)||KBe(e)?e:"";s[Oi.externalDocumentsMappings]===void 0&&(s[Oi.externalDocumentsMappings]={});const{generate:f}=GBe(t.compress??YBe,s[Oi.externalDocumentsMappings]),p=async(h,m=d(),b=!1,y=0,$=[],x=null)=>{if(t.depth!==void 0&&y>t.depth||!sy(h)&&!Array.isArray(h)||u.has(h))return;u.add(h),await t.hooks?.onBeforeNodeProcess?.(h,{path:$,resolutionCache:n,parentNode:x,rootNode:s,loaders:r});for(const E of i)await E.onBeforeNodeProcess?.(h,{path:$,resolutionCache:n,parentNode:x,rootNode:s,loaders:r});const _=gh(h);if(typeof h=="object"&&"$ref"in h&&typeof h.$ref=="string"){const E=h.$ref,A="$global"in h&&typeof h.$global=="boolean"&&h.$global,C=s5(E,_??m,l);if(C!==void 0){if(c){const X=nx(`/${C}`),L=X.length>0?bh(s,X.slice(0,-1)).value:void 0,K=bh(s,X);await p(K.value,K.context,b,y+1,X,L)}return}const[D,q=""]=E.split("#",2),B=JBe(_??m,D),Y=await f(B),V=n.has(B);V||n.set(B,o9(B,r)),t?.hooks?.onResolveStart?.(h),i.forEach(X=>X.onResolveStart?.(h));const ne=await n.get(B);if(ne.ok){V||(A||WV(ne.data,[Oi.externalDocuments,Y]),await p(ne.data,A?m:B,A,y+1,[Oi.externalDocuments,Y,s[Oi.externalDocumentsMappings]]),m5(s,`/${Oi.externalDocumentsMappings}/${cy(Y)}`,B)),t.treeShake===!0?b5(s,{[Oi.externalDocuments]:{[Y]:ne.data}},g5(`#${q}`,[Oi.externalDocuments,Y]).substring(1),Oi.externalDocuments,Y):V||m5(s,`/${Oi.externalDocuments}/${Y}`,ne.data),h.$ref=g5(`#${q}`,[Oi.externalDocuments,Y]),t?.hooks?.onResolveSuccess?.(h),i.forEach(X=>X.onResolveSuccess?.(h));return}return t?.hooks?.onResolveError?.(h),i.forEach(X=>X.onResolveError?.(h)),console.warn(`Failed to resolve external reference "${B}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`)}await Promise.all(Object.entries(h).map(async([E,A])=>{E===Oi.externalDocuments||E===Oi.externalDocumentsMappings||await p(A,_??m,b,y+1,[...$,E],h)})),await t.hooks?.onAfterNodeProcess?.(h,{path:$,resolutionCache:n,parentNode:x,rootNode:s,loaders:r});for(const E of i)await E.onAfterNodeProcess?.(h,{path:$,resolutionCache:n,parentNode:x,rootNode:s,loaders:r})};return await p(a),!t.urlMap&&!c&&delete s[Oi.externalDocumentsMappings],a}function YV(e,t){const n=vBe(e);return _Be(n)}function GV(e){return e?{specification:YV(Jk(e)?Jd(e).specification:vh(e)),version:"3.1"}:{specification:null,version:"3.1"}}async function eje(e,t){const n=[];let r;if(r=vh(e),r===void 0)return n.push({code:"NO_CONTENT",message:xg.NO_CONTENT}),{specification:null,filesystem:[],errors:n};let i=ex(r,{filename:null});const a=Jd(i).references??UV(r);if(a.length===0)return{specification:Jd(i)?.specification,filesystem:i,errors:n};for(const s of a);return{specification:Jd(i)?.specification,filesystem:i,errors:n}}const tje=e=>JSON.stringify(e,null,2),nje=e=>G8(e),rje=async(e,{shouldLoad:t=!0}={})=>{if(e===null||typeof e=="string"&&e.trim()==="")return console.warn("[@scalar/oas-utils] Empty OpenAPI document provided."),{schema:{},errors:[]};let n=e,r=[];if(t){const s=await eje(e).catch(l=>({errors:[{code:l.code,message:l.message}],filesystem:[]}));n=s.filesystem,r=s.errors??[]}const{specification:i}=GV(n),{schema:o,errors:a=[]}=zV(i);return{schema:o,errors:[...r,...a]}},ije=async(e,{shouldLoad:t=!0,dereferencedDocument:n=void 0}={})=>{const{schema:r,errors:i}=n?{schema:n,errors:[]}:await rje(e??"",{shouldLoad:t});return r||console.warn("[@scalar/oas-utils] OpenAPI Parser Warning: Schema is undefined"),{schema:Array.isArray(r)?{}:r,errors:i}},a9=(e,t=[],n)=>(e[0]&&!t.length?[e[0]]:t).map(o=>Array.isArray(o)?o.map(a=>n[a]).filter(Lt):n[o]).filter(Lt),oje=e=>`slug-uid-${e}`;async function aje(e,{dereferencedDocument:t,authentication:n,baseServerURL:r,documentUrl:i,servers:o,useCollectionSecurity:a=!1,slug:s,shouldLoad:l,watchMode:c=!1}={}){const{schema:u,errors:d}=await ije(e,{shouldLoad:l,dereferencedDocument:t}),f=[...d.map(L=>L.message)];if(!u)return{importWarnings:f,error:!0,collection:void 0};const p=performance.now(),h=[],m=qF(o||u.servers,{baseServerURL:r,documentUrl:i}),b=[],y=new Set,$=u.components?.securitySchemes??u?.securityDefinitions??{};(n?.oAuth2||n?.apiKey||n?.http)&&console.warn("DEPRECATION WARNING: It looks like you're using legacy authentication config. Please migrate to use the updated config. See https://github.com/scalar/scalar/blob/main/documentation/configuration.md#authentication-partial This will be removed in a future version.");const x=Object.entries($).map?.(([L,K])=>{const oe={...K,...n?.securitySchemes?.[L]??{},nameKey:L};oe.type==="oauth2"&&oe.flows?Object.keys(oe.flows).forEach(N=>{if(!oe.flows?.[N]||K.type!=="oauth2")return;const pe=n?.securitySchemes?.[L]?.flows?.[N]??{};oe.flows[N]={...K.flows?.[N]??{},...pe};const ge=oe.flows[N];ge.type=N,n?.oAuth2&&(n.oAuth2.accessToken&&(ge.token=n.oAuth2.accessToken),n.oAuth2.clientId&&(ge["x-scalar-client-id"]=n.oAuth2.clientId),n.oAuth2.scopes&&(ge.selectedScopes=n.oAuth2.scopes),ge.type==="password"&&(ge.username=n.oAuth2.username,ge.password=n.oAuth2.password)),Array.isArray(ge.scopes)&&(ge.scopes=ge.scopes.reduce((Q,Ve)=>({...Q,[Ve]:""}),{})),ge["x-defaultClientId"]&&(ge["x-scalar-client-id"]=ge["x-defaultClientId"])}):n&&(oe.type==="apiKey"&&n.apiKey?.token?oe.value=n.apiKey.token:oe.type==="http"&&(oe.scheme==="basic"&&n.http?.basic?(oe.username=n.http.basic.username??"",oe.password=n.http.basic.password??""):oe.scheme==="bearer"&&n.http?.bearer?.token&&(oe.token=n.http.bearer.token??"")));const ae=Ho(oe,mh,!1);return ae||f.push(`Security scheme ${L} is invalid.`),ae}).filter(L=>!!L),_={};x.forEach(L=>{_[L.nameKey]=L.uid}),CLe(u.paths??{}).forEach(L=>{const K=u?.paths?.[L];if(!K)return;const oe=tl.array().parse(K.servers??[]);for(const fe of oe)m.push(fe);Object.keys(K).filter(yu).forEach(fe=>{const N=K[fe];if(!N)return;const pe=tl.array().parse(N.servers??[]);for(const Ye of pe)b.push(Ye);N.tags?.forEach(Ye=>y.add(Ye));const{security:ge,...Q}=N,Ve=(ge??u.security??[]).map(Ye=>{const je=Object.keys(Ye);return je.length>1?je:je[0]}).filter(Lt),z=[n?.preferredSecurityScheme??[]].flat().filter(Ye=>Array.isArray(Ye)?Ve.some(je=>Array.isArray(je)&&je.length===Ye.length&&je.every((Ht,br)=>Ht===Ye[br])):Ve.includes(Ye)),le=Ve.length&&!a?a9(Ve,z,_):[],De={...Q,method:fe,path:L,security:ge,selectedServerUid:pe?.[0]?.uid,selectedSecuritySchemeUids:le,parameters:[...K?.parameters??[],...N.parameters??[]],servers:[...oe,...pe].map(Ye=>Ye.uid)};De.examples&&(console.warn("[@scalar/api-client] operation.examples is not a valid openapi property"),delete De.examples);const ze=Ho(De,lu,!1);ze?h.push(ze):f.push(`${fe} Request at ${K} is invalid.`)})});const E=Ho(u?.tags??[],Nf.array(),!1)??[];E.forEach(L=>y.delete(L.name)),y.forEach(L=>L&&E.push(Nf.parse({name:L})));const A={};E.forEach(L=>{A[L.name]=L});const C=new Set(E.map(L=>L.uid));E.forEach(L=>{L["x-scalar-children"]?.forEach(K=>{const oe=A[K.tagName]?.uid;oe&&(L.children.push(oe),C.delete(oe))})}),h.forEach(L=>{L.tags?.length?L.tags.forEach(K=>{A[K]?.children.push(L.uid)}):C.add(L.uid)});const D=[];h.forEach(L=>{const K=ly(L,"Default Example");D.push(K),L.examples.push(K.uid)});const q=(u.security??[]).map(L=>{const K=Object.keys(L);return K.length>1?K:K[0]}).filter(Lt),B=[n?.preferredSecurityScheme??[]].flat(),Y=(q.length||B?.length)&&a?a9(q,B,_):[],V=s?.length?{uid:oje(s)}:{},ne=Mf.parse({...V,...u,watchMode:c,documentUrl:i,useCollectionSecurity:a,requests:h.map(L=>L.uid),servers:m.map(L=>L.uid),tags:E.map(L=>L.uid),children:[...C],security:u.security??[{}],selectedServerUid:m?.[0]?.uid,selectedSecuritySchemeUids:Y,components:{...u.components},securitySchemes:x.map(L=>L.uid)}),X=performance.now();return console.log(`workspace: ${Math.round(X-p)} ms`),{error:!1,servers:[...m,...b],schema:u,requests:h,examples:D,collection:ne,tags:E,securitySchemes:x}}const Eg={BUILDING_REQUEST_FAILED:"An error occurred while building the request",DEFAULT:"An unknown error has occurred.",INVALID_URL:"The URL seems to be invalid. Try adding a valid URL.",INVALID_HEADER:"There is an invalid header present, please double check your params.",MISSING_FILE:"File uploads are not saved in history, you must re-upload the file.",REQUEST_ABORTED:"The request has been cancelled",REQUEST_FAILED:"An error occurred while making the request",URL_EMPTY:"The address bar input seems to be empty. Try adding a URL.",ON_BEFORE_REQUEST_FAILED:"onBeforeRequest request hook failed"},sje=(e,t=Eg.DEFAULT)=>(console.error(e),e instanceof Error?(e.message=s9(e.message),e):typeof e=="string"?new Error(s9(e)):new Error(t)),s9=e=>e==="Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."?Eg.MISSING_FILE:e==="Failed to construct 'URL': Invalid URL"?Eg.INVALID_URL:e==="Failed to execute 'fetch' on 'Window': Invalid name"?Eg.INVALID_HEADER:e,lje={};function cje({requestMutators:e,collectionMutators:t,serverMutators:n,tagMutators:r,securitySchemeMutators:i,requestExampleMutators:o,workspaceMutators:a,workspaces:s}){const l=async(u,d,f={})=>{const p=_n(u),h=await aje(p,f);if(h.error){console.group("IMPORT ERRORS"),h.importWarnings.forEach(m=>console.warn(m)),console.groupEnd();return}return f.documentUrl&&typeof p=="string"&&(lje[f.documentUrl]={hash:n4e(p),schema:h.schema}),h.examples.forEach(m=>o.add(m)),h.requests.forEach(m=>e.add(m)),h.tags.forEach(m=>r.add(m)),h.servers.forEach(m=>n.add(m)),h.securitySchemes.forEach(m=>i.add(m)),t.add(h.collection),a.edit(d,"collections",[...s[d]?.collections??[],h.collection.uid]),h};async function c(u,d,{proxyUrl:f,...p}={}){try{const h=await pbe(u,f);return[null,await l(h,d,{documentUrl:u,...p})]}catch(h){return console.error("Failed to fetch spec from URL:",h),[sje(h),null]}}return{importSpecFile:l,importSpecFromUrl:c}}function uje(e){const t=tn({}),n=gl(t,tn({}),e&&Es.REQUEST_EXAMPLE);return{requestExamples:t,requestExampleMutators:n}}function dje({requestExamples:e,requestExampleMutators:t,requestMutators:n,requests:r}){return{addRequestExample:(i,o)=>{const a=o??US((i.summary??"Example")+" #1",l=>i.examples.some(c=>e[c]?.name===l)),s=ly(i,a);return t.add(s),n.edit(i.uid,"examples",[...i.examples,s.uid]),s},deleteRequestExample:i=>{i.requestUid&&(n.edit(i.requestUid,"examples",r[i.requestUid]?.examples.filter(o=>o!==i.uid)||[]),t.delete(i.uid))}}}function fje(e){const t=tn({}),n=gl(t,tn({}),e&&Es.REQUEST);return{requests:t,requestMutators:n}}function pje({requestExamples:e,requestExampleMutators:t,requestMutators:n,collectionMutators:r,collections:i,tags:o,tagMutators:a},s){return{addRequest:(l,c)=>{const u=Ho(l,lu,!1);if(!u)return console.error("INVALID REQUEST DATA",l);const d=i[c],f=ly(u,US((u.summary??"Example")+" #1",p=>u.examples.some(h=>p===e[h]?.name)));return u.examples.push(f.uid),n.add(u),t.add(f),d&&r.edit(c,"requests",[...d.requests,u.uid]),u.tags?.length?u.tags.forEach(p=>{const h=d?.tags.find(m=>o[m]?.name===p);h&&o[h]?a.edit(h,"children",[...o[h].children,u.uid]):s({name:p,children:[u.uid]},c)}):d&&r.edit(c,"children",[...d.children,u.uid]),u},deleteRequest:(l,c)=>{const u=i[c];l.examples.forEach(d=>t.delete(d)),u&&(r.edit(c,"requests",u.requests.filter(d=>d!==l.uid)),r.edit(c,"children",u.children.filter(d=>d!==l.uid)),l.tags?.forEach(d=>{const f=u.tags.find(p=>o[p]?.name===d);f&&a.edit(f,"children",o[f]?.children.filter(p=>p!==l.uid)||[])})),n.delete(l.uid)},findRequestParents:hje({collections:i,tags:o})}}function hje({collections:e,tags:t}){function n(r){const i=Object.values(e).find(l=>l.requests?.includes(r.uid));if(!i)return[];const o=Object.keys(t).reduce((l,c)=>(l[c]=[],l),{[i?.uid]:[]});function a(l,c){c.forEach(u=>o[u]?.push(...l.children)),l.children.forEach(u=>{t[u]&&a(t[u],[...c,u])})}a(i,[i.uid]);const s=new Set;return Object.entries(o).forEach(([l,c])=>{c.includes(r.uid)&&s.add(l)}),[...s]}return n}function mje(){return{request:lu.parse({method:"get",parameters:[],path:"",summary:"My First Request",examples:[]})}}function gje(e){const t=tn({}),n=gl(t,tn({}),e&&Es.SECURITY_SCHEME);return{securitySchemes:t,securitySchemeMutators:n}}function bje({securitySchemeMutators:e,collectionMutators:t,collections:n,requests:r,requestMutators:i}){return{addSecurityScheme:(o,a)=>{const s=mh.parse(o);return e.add(s),a&&n[a]&&t.edit(a,"securitySchemes",[...n[a].securitySchemes,s.uid]),s},deleteSecurityScheme:o=>{Object.values(n).forEach(a=>{a.securitySchemes.includes(o)&&t.edit(a.uid,"securitySchemes",a.securitySchemes.filter(s=>s!==o))}),Object.values(r).forEach(a=>{a.security?.some(s=>Object.keys(s).includes(o))&&i.edit(a.uid,"security",r[a.uid]?.security?.filter(s=>!Object.keys(s).includes(o))),a.selectedSecuritySchemeUids.flat().includes(o)&&i.edit(a.uid,"selectedSecuritySchemeUids",a.selectedSecuritySchemeUids?.filter(s=>Array.isArray(s)?!s.includes(o):s!==o))}),e.delete(o)}}}function Oje(e){const t=tn({}),n=gl(t,tn({}),e&&Es.SERVER);return{servers:t,serverMutators:n}}function yje({serverMutators:e,collections:t,collectionMutators:n,requests:r,requestMutators:i}){return{addServer:(o,a)=>{const s=tl.parse(o);return t[a]?n.edit(a,"servers",[...t[a].servers,s.uid]):r[a]&&i.edit(a,"servers",[...r[a].servers,s.uid]),e.add(s),s},deleteServer:(o,a)=>{t[a]&&(n.edit(a,"servers",t[a].servers.filter(s=>s!==o)),e.delete(o))}}}function vje(e){const t=tn({}),n=gl(t,tn({}),e&&Es.TAG);return{tags:t,tagMutators:n}}function wje({collectionMutators:e,collections:t,requests:n,requestMutators:r,tagMutators:i}){return{addTag:(o,a)=>{const s=t[a],l=Ho(o,Nf,!1);return!l||!s?console.error("INVALID TAG DATA",o):(e.edit(a,"tags",[...s.tags,l.uid]),e.edit(a,"children",[...s.children,l.uid]),i.add(l),l)},deleteTag:(o,a)=>{const s=t[a];s&&(e.edit(a,"tags",s.tags.filter(l=>l!==o.uid)),e.edit(a,"children",s.children.filter(l=>l!==o.uid)),o.children.forEach(l=>{const c=n[l];if(!c)return;const u=c.tags?.filter(d=>d!==o.name);r.edit(c.uid,"tags",u),!u?.length&&!s.children.includes(l)&&e.edit(a,"children",[...s.children,l])}),i.delete(o.uid))}}}const Sje=`/* Inter (--scalar-font) */
|
|
282
282
|
/* cyrillic-ext */
|