1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/basic-shape-diamond.svg.js","assets/index.js","assets/index11.css","assets/basic-shape-hexagon.svg.js","assets/basic-shape-primary-circle-ellipse-round.svg.js","assets/basic-shape-primary-square-rectangle.svg.js","assets/basic-shape-shield.svg.js","assets/computer-device-desktop-monitor.svg.js","assets/computer-device-desktop.svg.js","assets/computer-device-laptop.svg.js","assets/computer-device-mobile-phone-android-samsung-back.svg.js","assets/computer-device-mobile-phone-android-samsung.svg.js","assets/computer-device-mobile-phone-iphone-x-back.svg.js","assets/computer-device-mobile-phone-iphone-x.svg.js","assets/computer-device-mobile-tablet-touch.svg.js","assets/computer-device-mobile-tablet.svg.js","assets/computer-device-network-ethernet-cat6.svg.js","assets/computer-device-network-lan-www.svg.js","assets/computer-device-network-wifi-connection.svg.js","assets/computer-device-network-wifi-router.svg.js","assets/ecology-science-erlenmeyer-flask.svg.js","assets/image-flash-lightning.svg.js","assets/image-picture-flower.svg.js","assets/interface-alert-exclamation-diamond.svg.js","assets/interface-alert-exclamation-triangle-warning.svg.js","assets/interface-alert-information-circle.svg.js","assets/interface-award-crown.svg.js","assets/interface-bookmark-tag.svg.js","assets/interface-bookmark.svg.js","assets/interface-calendar-date-one.svg.js","assets/interface-content-book-open-pages.svg.js","assets/interface-content-book-page.svg.js","assets/interface-content-file.svg.js","assets/interface-copy-clipboard.svg.js","assets/interface-edit-attachment.svg.js","assets/interface-edit-binocular.svg.js","assets/interface-edit-magic-wand.svg.js","assets/interface-edit-tool-paint-roller.svg.js","assets/interface-edit-tool-pencil.svg.js","assets/interface-favorite-award.svg.js","assets/interface-favorite-flag.svg.js","assets/interface-favorite-heart.svg.js","assets/interface-favorite-star.svg.js","assets/interface-favorite-stars-sparkles.svg.js","assets/interface-hierarchy-flowchart.svg.js","assets/interface-home-house.svg.js","assets/interface-hyperlink.svg.js","assets/interface-lighting-brightness.svg.js","assets/interface-lock-closed.svg.js","assets/interface-lock-open-unlock.svg.js","assets/interface-login-key.svg.js","assets/interface-search.svg.js","assets/interface-setting-cog.svg.js","assets/interface-share-megaphone-bullhorn.svg.js","assets/interface-share-rocket.svg.js","assets/interface-share-satellite.svg.js","assets/interface-share-space-ship.svg.js","assets/interface-share.svg.js","assets/interface-signal-square.svg.js","assets/interface-time-clock-circle.svg.js","assets/interface-time-hour-glass.svg.js","assets/interface-users-multiple.svg.js","assets/interface-weather-moon.svg.js","assets/mail-chat-bubble-square.svg.js","assets/mail-send-email-paper-airplane.svg.js","assets/mail-send-envelope.svg.js","assets/money-cashier-receipt.svg.js","assets/money-currency-dollar-pay.svg.js","assets/money-graph-arrow-increase.svg.js","assets/money-graph-bar-chart-increase.svg.js","assets/nature-ecology-leaf.svg.js","assets/phone-telephone.svg.js","assets/programming-bug.svg.js","assets/programming-cloud.svg.js","assets/programming-computer-database-server.svg.js","assets/programming-computer-database.svg.js","assets/programming-module-four-layout.svg.js","assets/programming-module-three.svg.js","assets/programming-module.svg.js","assets/programming-script-code.svg.js","assets/shopping-cart.svg.js","assets/shopping-gift-present.svg.js","assets/shopping-shipping-box-parcel-package.svg.js","assets/tag-new-circle.svg.js","assets/travel-map-earth-globe.svg.js","assets/AgentScalarChatInterface.vue.js","assets/index31.js","assets/floating-ui.vue.js","assets/focus-trap.esm.js","assets/index4.js","assets/CardWithTitle.vue_vue_type_script_setup_true_lang.js","assets/Pill.vue_vue_type_script_setup_true_lang.js","assets/Loading.vue_vue_type_style_index_0_lang.js","assets/Loading.css","assets/useConfirm.js","assets/messages.js","assets/success.js","assets/index5.js"])))=>i.map(i=>d[i]); 2var JY=Object.defineProperty;var eG=(e,t,n)=>t in e?JY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;
2var Zr=(e,t,n)=>eG(e,typeof t!="symbol"?t+"":t,n);import{r as J,m as $,dI as gy,dJ as Re,dK as lr,O as In,aj as hr,V as Lt,d as F,dL as br,aA as Da,h as Dn,F as de,w as ze,dM as g8,cE as po,dN as CI,a5 as _n,aq as Rn,G as by,aI as $I,z as Cs,dO as ei,dP as yy,dQ as ml,dR as Ga,dS as b8,dT as tG,dU as PI,cJ as Pi,cK as Ve,e as M,o as y,f as I,D as q,l as ae,t as H,q as Pr,ad as Wt,cN as y8,j as w,k as U,A as b,i as x,Y as Te,p as Oe,n as it,cf as jt,bZ as Xt,R as eu,cP as nG,g as N,b9 as Tn,aD as v8,X as xr,b8 as Cn,cC as JS,cm as w0,cU as ai,cc as II,de as Be,ac as O8,P as vy,$ as Gg,B as Fi,a2 as xd,M as Qt,cR as Mt,at as Ma,ay as Qa,as as I2,N as R2,bK as rG,aJ as RI,cu as aG,bJ as iG,bW as Oy,cD as oG,bG as sG,bB as NI,ae as ew,cj as lG,cw as cG,bE as MI,C as uG,cW as LI,b$ as dG,ci as fG,cg as hG,cn as pG,dV as mG,u as gG,a as bG,b as PO,dy as yG,s as kp,c as vG,W as OG,bb as SG}from"./index.js";import{u as DI,a as BI,f as UI,s as jI,o as wG,b as xG,g as jA}from"./floating-ui.vue.js";import{k as kG,b as AG,s as TG}from"./index4.js";import{_ as EG}from"./CardWithTitle.vue_vue_type_script_setup_true_lang.js";import{_ as _G}from"./Pill.vue_vue_type_script_setup_true_lang.js";import{_ as FA}from"./Loading.vue_vue_type_style_index_0_lang.js";import{u as CG}from"./useConfirm.js";import{c as QA}from"./messages.js";function $G(e,t,n){let r=J(n==null?void 0:n.value),a=$(()=>e.value!==void 0);return[$(()=>a.value?e.value:r.value),function(i){return a.value||(r.value=i),t==null?void 0:t(i)}]}function $s(e){if(gy.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Re(e);if(t)return t.ownerDocument}return document}let tw=["[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 nr=(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))(nr||{}),Dl=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Dl||{}),PG=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(PG||{});function x0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(tw)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Sy=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Sy||{});function wy(e,t=0){var n;return e===((n=$s(e))==null?void 0:n.body)?!1:lr(t,{0(){return e.matches(tw)},1(){let r=e;for(;r!==null;){if(r.matches(tw))return!0;r=r.parentElement}return!1}})}function e4t(e){let t=$s(e);In(()=>{t&&!wy(t.activeElement,0)&&Nc(e)})}var IG=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(IG||{});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 Nc(e){e==null||e.focus({preventScroll:!0})}let RG=["textarea","input"].join(",");function NG(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,RG))!=null?n:!1}function Lu(e,t=n=>n){return e.slice().sort((n,r)=>{let a=t(n),i=t(r);if(a===null||i===null)return 0;let o=a.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function t4t(e,t){return xa(x0(),t,{relativeTo:e})}function xa(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){var i;let o=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,s=Array.isArray(e)?n?Lu(e):e:x0(e);a.length>0&&s.length>1&&(s=s.filter(p=>!a.includes(p))),r=r??o.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=(()=>
2{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,h;do{if(d>=f||d+f<=0)return 0;let p=c+d;if(t&16)p=(p+f)%f;else{if(p<0)return 3;if(p>=f)return 1}h=s[p],h==null||h.focus(u),d+=l}while(h!==o.activeElement);return t&6&&NG(h)&&h.select(),2}function FI(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function MG(){return/Android/gi.test(window.navigator.userAgent)}function LG(){return FI()||MG()}function $1(e,t,n){gy.isServer||hr(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function QI(e,t,n){gy.isServer||hr(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function S8(e,t,n=$(()=>!0)){function r(i,o){if(!n.value||i.defaultPrevented)return;let s=o(i);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:Re(c);if(u!=null&&u.contains(s)||i.composed&&i.composedPath().includes(u))return}return!wy(s,Sy.Loose)&&s.tabIndex!==-1&&i.preventDefault(),t(i,s)}let a=J(null);$1("pointerdown",i=>{var o,s;n.value&&(a.value=((s=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:s[0])||i.target)},!0),$1("mousedown",i=>{var o,s;n.value&&(a.value=((s=(o=i.composedPath)==null?void 0:o.call(i))==null?void 0:s[0])||i.target)},!0),$1("click",i=>{LG()||a.value&&(r(i,()=>a.value),a.value=null)},!0),$1("touchend",i=>r(i,()=>i.target instanceof HTMLElement?i.target:null),!0),QI("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function zA(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function xy(e,t){let n=J(zA(e.value.type,e.value.as));return Lt(()=>{n.value=zA(e.value.type,e.value.as)}),hr(()=>{var r;n.value||Re(t)&&Re(t)instanceof HTMLButtonElement&&!((r=Re(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}function HA(e){return[e.screenX,e.screenY]}function DG(){let e=J([-1,-1]);return{wasMoved(t){let n=HA(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=HA(t)}}}var Zl=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Zl||{});let Xl=F({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:a,...i}=e,o={"aria-hidden":(a&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(a&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",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return br({ourProps:o,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}});var Jt=(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))(Jt||{});function BG(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Du=[];BG(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Du[0]!==t.target&&(Du.unshift(t.target),Du=Du.filter(n=>n!=null&&n.isConnected),Du.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 UG(e){throw new Error("Unexpected object: "+e)}var yi=(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))(yi||{});function jG(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;
2++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{a===-1&&(a=n.length);for(let i=a-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=a+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:UG(e)}}function zI(e={},t=null,n=[]){for(let[r,a]of Object.entries(e))VI(n,HI(t,r),a);return n}function HI(e,t){return e?e+"["+t+"]":t}function VI(e,t,n){if(Array.isArray(n))for(let[r,a]of n.entries())VI(e,HI(t,r.toString()),a);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,""]):zI(n,t,e)}function w8(e,t,n,r){gy.isServer||hr(a=>{e=e??window,e.addEventListener(t,n,r),a(()=>e.removeEventListener(t,n,r))})}var so=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(so||{});function x8(){let e=J(0);return QI("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function qI(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=Re(n);r instanceof HTMLElement&&t.add(r)}return t}var ZI=(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))(ZI||{});let Ap=Object.assign(F({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:J(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let a=J(null);r({el:a,$el:a});let i=$(()=>$s(a)),o=J(!1);Lt(()=>o.value=!0),Da(()=>o.value=!1),QG({ownerDocument:i},$(()=>o.value&&!!(e.features&16)));let s=zG({ownerDocument:i,container:a,initialFocus:$(()=>e.initialFocus)},$(()=>o.value&&!!(e.features&2)));HG({ownerDocument:i,container:a,containers:e.containers,previousActiveElement:s},$(()=>o.value&&!!(e.features&8)));let l=x8();function c(h){let p=Re(a);p&&(m=>m())(()=>{lr(l.value,{[so.Forwards]:()=>{xa(p,nr.First,{skipElements:[h.relatedTarget]})},[so.Backwards]:()=>{xa(p,nr.Last,{skipElements:[h.relatedTarget]})}})})}let u=J(!1);function d(h){h.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function f(h){if(!o.value)return;let p=qI(e.containers);Re(a)instanceof HTMLElement&&p.add(Re(a));let m=h.relatedTarget;m instanceof HTMLElement&&m.dataset.headlessuiFocusGuard!=="true"&&(XI(p,m)||(u.value?xa(Re(a),lr(l.value,{[so.Forwards]:()=>nr.Next,[so.Backwards]:()=>nr.Previous})|nr.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&Nc(h.target)))}return()=>{let h={},p={ref:a,onKeydown:d,onFocusout:f},{features:m,initialFocus:g,containers:v,...k}=e;return Dn(de,[!!(m&4)&&Dn(Xl,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Zl.Focusable}),br({ourProps:p,theirProps:{...t,...k},slot:h,attrs:t,slots:n,name:"FocusTrap"}),!!(m&4)&&Dn(Xl,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Zl.Focusable})])}}}),{features:ZI});function FG(e){let t=J(Du.slice());return ze([e],([n],[r])=>{r===!0&&n===!1?g8(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=Du.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function QG({ownerDocument:e},t){let n=FG(t);Lt(()=>{hr(()=>{var r,a;t.value||((r=e.value)==null?void 0:r.activeElement)===((a=e.value)==null?void 0:a.body)&&Nc(n())},{flush:"post"})}),Da(()=>{t.value&&Nc(n())})}function zG({ownerDocument:e,container:t,initialFocus:n},r){let a=J(null),i=J(!1);return Lt(()=>i.value=!0),Da(()=>i.value=!1),Lt(()=>{ze([t,n,r],(o,s)=>{if(o.every((c,u)=>(s==null?void 0:s[u])===c)||!r.value)return;let l=Re(t);l&&g8(()=>{var c,u;if(!i.value)return;let d=Re(n),f=(c=e.value)==null?void 0:c.activeElement;if(d){if(d===f){a.value=f;return}}else if(l.contains(f)){a.value=f;return}d?Nc(d):xa(l,nr.First|nr.NoScroll)===Dl.Error&&console.warn("There are no focu
2sable elements inside the <FocusTrap />"),a.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),a}function HG({ownerDocument:e,container:t,containers:n,previousActiveElement:r},a){var i;w8((i=e.value)==null?void 0:i.defaultView,"focus",o=>{if(!a.value)return;let s=qI(n);Re(t)instanceof HTMLElement&&s.add(Re(t));let l=r.value;if(!l)return;let c=o.target;c&&c instanceof HTMLElement?XI(s,c)?(r.value=c,Nc(c)):(o.preventDefault(),o.stopPropagation(),Nc(l)):Nc(r.value)},!0)}function XI(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function VG(e){let t=po(e.getSnapshot());return Da(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function qG(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(a){return r.add(a),()=>r.delete(a)},dispatch(a,...i){let o=t[a].call(n,...i);o&&(n=o,r.forEach(s=>s()))}}}function ZG(){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,a=r.clientWidth-r.offsetWidth,i=e-a;n.style(r,"paddingRight",`${i}px`)}}}function XG(){return FI()?{before({doc:e,d:t,meta:n}){function r(a){return n.containers.flatMap(i=>i()).some(i=>i.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=CI();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let i=(a=window.scrollY)!=null?a:window.pageYOffset,o=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)&&(o=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;i!==l&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{}}function WG(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function YG(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Qu=qG(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:CI(),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:YG(n)},a=[XG(),ZG(),WG()];a.forEach(({before:i})=>i==null?void 0:i(r)),a.forEach(({after:i})=>i==null?void 0:i(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Qu.subscribe(()=>{let e=Qu.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",a=n.count!==0;(a&&!r||!a&&r)&&Qu.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Qu.dispatch("TEARDOWN",n)}});function GG(e,t,n){let r=VG(Qu),a=$(()=>{let i=e.value?r.value.get(e.value):void 0;return i?i.count>0:!1});return ze([e,t],([i,o],[s],l)=>{if(!i||!o)return;Qu.dispatch("PUSH",i,n);let c=!1;l(()=>{c||(Qu.dispatch("POP",s??i,n),c=!0)})},{immediate:!0}),a}let IO=new Map,Tp=new Map;function VA(e,t=J(!0)){hr(n=>{var r;if(!t.value)return;let a=Re(e);if(!a)return;n(function(){var o;if(!a)return;let s=(o=Tp.get(a))!=null?o:1;if(s===1?Tp.delete(a):Tp.set(a,s-1),s!==1)return;let l=IO.get(a);l&&(l["aria-hidden"]===null?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",l["aria-hidden"]),a.inert=l.inert,IO.delete(a))});let i=(r=Tp.get(a))!=null?r:0;Tp.set(a,i+1),i===0&&(IO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)})}function WI({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=J(null),a=$s(r);function i(){var o,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(o=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?o:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(Re(r))||u.contains((l=(s=Re(r))==null?void 0:s.getRootNode())==null?void 0:l.host)||c.some(d=>u.contains(d))||c.push(u));return c}
2return{resolveContainers:i,contains(o){return i().some(s=>s.contains(o))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:Dn(Xl,{features:Zl.Hidden,ref:r})}}}let YI=Symbol("ForcePortalRootContext");function KG(){return Rn(YI,!1)}let qA=F({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return _n(YI,e.force),()=>{let{force:r,...a}=e;return br({theirProps:a,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),GI=Symbol("StackContext");var nw=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(nw||{});function JG(){return Rn(GI,()=>{})}function eK({type:e,enabled:t,element:n,onUpdate:r}){let a=JG();function i(...o){r==null||r(...o),a(...o)}Lt(()=>{ze(t,(o,s)=>{o?i(0,e,n):s===!0&&i(1,e,n)},{immediate:!0,flush:"sync"})}),Da(()=>{t.value&&i(1,e,n)}),_n(GI,i)}let tK=Symbol("DescriptionContext");function nK({slot:e=J({}),name:t="Description",props:n={}}={}){let r=J([]);function a(i){return r.value.push(i),()=>{let o=r.value.indexOf(i);o!==-1&&r.value.splice(o,1)}}return _n(tK,{register:a,slot:e,name:t,props:n}),$(()=>r.value.length>0?r.value.join(" "):void 0)}function rK(e){let t=$s(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 rw=new WeakMap;function aK(e){var t;return(t=rw.get(e))!=null?t:0}function ZA(e,t){let n=t(aK(e));return n<=0?rw.delete(e):rw.set(e,n),n}let iK=F({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=J(null),a=$(()=>$s(r)),i=KG(),o=Rn(JI,null),s=J(i===!0||o==null?rK(r.value):o.resolveTarget());s.value&&ZA(s.value,f=>f+1);let l=J(!1);Lt(()=>{l.value=!0}),hr(()=>{i||o!=null&&(s.value=o.resolveTarget())});let c=Rn(aw,null),u=!1,d=by();return ze(r,()=>{if(u||!c)return;let f=Re(r);f&&(Da(c.register(f),d),u=!0)}),Da(()=>{var f,h;let p=(f=a.value)==null?void 0:f.getElementById("headlessui-portal-root");!p||s.value!==p||ZA(s.value,m=>m-1)||s.value.children.length>0||(h=s.value.parentElement)==null||h.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return Dn($I,{to:s.value},br({ourProps:f,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),aw=Symbol("PortalParentContext");function KI(){let e=Rn(aw,null),t=J([]);function n(i){return t.value.push(i),e&&e.register(i),()=>r(i)}function r(i){let o=t.value.indexOf(i);o!==-1&&t.value.splice(o,1),e&&e.unregister(i)}let a={register:n,unregister:r,portals:t};return[t,F({name:"PortalWrapper",setup(i,{slots:o}){return _n(aw,a),()=>{var s;return(s=o.default)==null?void 0:s.call(o)}}})]}let JI=Symbol("PortalGroupContext"),oK=F({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=Cs({resolveTarget(){return e.target}});return _n(JI,r),()=>{let{target:a,...i}=e;return br({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var sK=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(sK||{});let iw=Symbol("DialogContext");function k8(e){let t=Rn(iw,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,k8),n}return t}let P1="DC8F892D-2EBD-447C-A4C8-A03058436FF4",lK=F({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:P1},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:a}){var i,o;let s=(i=e.id)!=null?i:`headlessui-dialog-${ei()}`,l=J(!1);Lt(()=>{l.value=!0});let c=!1,u=$(()=>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=J(0),f=yy(),h=$(()=>e.open===P1&&f!==null?(f.value&Ga.Open)===Ga.Open:e.open),p=J(null),m=$(()=>$s(p));if(a({el:p,$el:p}),!(e.open!==P1||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof h.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===P1?void 0:e.open}`);let g=$(()=>l.value&&h.value?0:1),v=$(()=>g.value===0),k=$(()=>d.value>1),S=Rn(iw,null)!==null,[A,E]=KI(),{resolveContainers:_,mainTreeNodeRef:C,MainTreeNode:R}=WI({portals:A,defaultContainers:[$(()=>{var xe;return(xe=Y.panelRef.value)!=null?xe:p.value})]}),B=$(()=>k.value?"parent":"leaf"),L=$(()=>f!==null?(f.value&Ga.Closing)===Ga.Closing:!1),V=$(()=>S||L.value?!1:v.value),Q=$(()=>{var xe,Ie,Z;return(Z=Array.from((Ie=(xe=m.value)==null?void 0:xe.querySelectorAll("body > *"))!=null?Ie:[]).find(rt=>rt.id==="headlessui-portal-root"?!1:rt.contains(Re(C))&&rt instanceof HTMLElement))!=null?Z:null});VA(Q,V);
2let ee=$(()=>k.value?!0:v.value),ne=$(()=>{var xe,Ie,Z;return(Z=Array.from((Ie=(xe=m.value)==null?void 0:xe.querySelectorAll("[data-headlessui-portal]"))!=null?Ie:[]).find(rt=>rt.contains(Re(C))&&rt instanceof HTMLElement))!=null?Z:null});VA(ne,ee),eK({type:"Dialog",enabled:$(()=>g.value===0),element:p,onUpdate:(xe,Ie)=>{if(Ie==="Dialog")return lr(xe,{[nw.Add]:()=>d.value+=1,[nw.Remove]:()=>d.value-=1})}});let G=nK({name:"DialogDescription",slot:$(()=>({open:h.value}))}),re=J(null),Y={titleId:re,panelRef:J(null),dialogState:g,setTitleId(xe){re.value!==xe&&(re.value=xe)},close(){t("close",!1)}};_n(iw,Y);let ye=$(()=>!(!v.value||k.value));S8(_,(xe,Ie)=>{xe.preventDefault(),Y.close(),In(()=>Ie==null?void 0:Ie.focus())},ye);let Ee=$(()=>!(k.value||g.value!==0));w8((o=m.value)==null?void 0:o.defaultView,"keydown",xe=>{Ee.value&&(xe.defaultPrevented||xe.key===Jt.Escape&&(xe.preventDefault(),xe.stopPropagation(),Y.close()))});let j=$(()=>!(L.value||g.value!==0||S));return GG(m,j,xe=>{var Ie;return{containers:[...(Ie=xe.containers)!=null?Ie:[],_]}}),hr(xe=>{if(g.value!==0)return;let Ie=Re(p);if(!Ie)return;let Z=new ResizeObserver(rt=>{for(let ie of rt){let Pe=ie.target.getBoundingClientRect();Pe.x===0&&Pe.y===0&&Pe.width===0&&Pe.height===0&&Y.close()}});Z.observe(Ie),xe(()=>Z.disconnect())}),()=>{let{open:xe,initialFocus:Ie,...Z}=e,rt={...n,ref:p,id:s,role:u.value,"aria-modal":g.value===0?!0:void 0,"aria-labelledby":re.value,"aria-describedby":G.value},ie={open:g.value===0};return Dn(qA,{force:!0},()=>[Dn(iK,()=>Dn(oK,{target:p.value},()=>Dn(qA,{force:!1},()=>Dn(Ap,{initialFocus:Ie,containers:_,features:v.value?lr(B.value,{parent:Ap.features.RestoreFocus,leaf:Ap.features.All&~Ap.features.FocusLock}):Ap.features.None},()=>Dn(E,{},()=>br({ourProps:rt,theirProps:{...Z,...n},slot:ie,attrs:n,slots:r,visible:g.value===0,features:ml.RenderStrategy|ml.Static,name:"Dialog"})))))),Dn(R)])}}}),cK=F({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-dialog-panel-${ei()}`,o=k8("DialogPanel");r({el:o.panelRef,$el:o.panelRef});function s(l){l.stopPropagation()}return()=>{let{...l}=e,c={id:i,ref:o.panelRef,onClick:s};return br({ourProps:c,theirProps:l,slot:{open:o.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}}),uK=F({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=(r=e.id)!=null?r:`headlessui-dialog-title-${ei()}`,i=k8("DialogTitle");return Lt(()=>{i.setTitleId(a),Da(()=>i.setTitleId(null))}),()=>{let{...o}=e;return br({ourProps:{id:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogTitle"})}}});var dK=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(dK||{});let eR=Symbol("DisclosureContext");function A8(e){let t=Rn(eR,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,A8),n}return t}let tR=Symbol("DisclosurePanelContext");function fK(){return Rn(tR,null)}let k0=F({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=J(e.defaultOpen?0:1),a=J(null),i=J(null),o={buttonId:J(`headlessui-disclosure-button-${ei()}`),panelId:J(`headlessui-disclosure-panel-${ei()}`),disclosureState:r,panel:a,button:i,toggleDisclosure(){r.value=lr(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(s){o.closeDisclosure();let l=s?s instanceof HTMLElement?s:s.value instanceof HTMLElement?Re(s):Re(o.button):Re(o.button);l==null||l.focus()}};return _n(eR,o),b8($(()=>lr(r.value,{0:Ga.Open,1:Ga.Closed}))),()=>{let{defaultOpen:s,...l}=e,c={open:r.value===0,close:o.close};return br({theirProps:l,ourProps:{},slot:c,slots:t,attrs:n,name:"Disclosure"})}}}),Gf=F({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 a=A8("DisclosureButton"),i=fK(),o=$(()=>i===null?!1:i.value===a.panelId.value);Lt(()=>{o.value||e.id!==null&&(a.buttonId.value=e.id)}),Da(()=>{o.value||(a.buttonId.value=null)});let s=J(null);r({el:s,$el:s}),o.value||hr(()=>{a.button.value=s.value});let l=xy($(()=>({as:e.as,type:t.type})),s);function c(){var f;e.disabled||(o.value?(a.toggleDisclosure(),(f=Re(a.button))==null||f.focu
2s()):a.toggleDisclosure())}function u(f){var h;if(!e.disabled)if(o.value)switch(f.key){case Jt.Space:case Jt.Enter:f.preventDefault(),f.stopPropagation(),a.toggleDisclosure(),(h=Re(a.button))==null||h.focus();break}else switch(f.key){case Jt.Space:case Jt.Enter:f.preventDefault(),f.stopPropagation(),a.toggleDisclosure();break}}function d(f){switch(f.key){case Jt.Space:f.preventDefault();break}}return()=>{var f;let h={open:a.disclosureState.value===0},{id:p,...m}=e,g=o.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:(f=a.buttonId.value)!=null?f:p,ref:s,type:l.value,"aria-expanded":a.disclosureState.value===0,"aria-controls":a.disclosureState.value===0||Re(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:d};return br({ourProps:g,theirProps:m,slot:h,attrs:t,slots:n,name:"DisclosureButton"})}}}),Kf=F({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 a=A8("DisclosurePanel");Lt(()=>{e.id!==null&&(a.panelId.value=e.id)}),Da(()=>{a.panelId.value=null}),r({el:a.panel,$el:a.panel}),_n(tR,a.panelId);let i=yy(),o=$(()=>i!==null?(i.value&Ga.Open)===Ga.Open:a.disclosureState.value===0);return()=>{var s;let l={open:a.disclosureState.value===0,close:a.close},{id:c,...u}=e,d={id:(s=a.panelId.value)!=null?s:c,ref:a.panel};return br({ourProps:d,theirProps:u,slot:l,attrs:t,slots:n,features:ml.RenderStrategy|ml.Static,visible:o.value,name:"DisclosurePanel"})}}}),XA=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function WA(e){var t,n;let r=(t=e.innerText)!=null?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return r;let i=!1;for(let s of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let o=i?(n=a.innerText)!=null?n:"":r;return XA.test(o)&&(o=o.replace(XA,"")),o}function hK(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(a=>{let i=document.getElementById(a);if(i){let o=i.getAttribute("aria-label");return typeof o=="string"?o.trim():WA(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return WA(e).trim()}function pK(e){let t=J(""),n=J("");return()=>{let r=Re(e);if(!r)return"";let a=r.innerText;if(t.value===a)return n.value;let i=hK(r).trim().toLowerCase();return t.value=a,n.value=i,i}}function mK(e,t){return e===t}var gK=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gK||{}),bK=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(bK||{}),yK=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(yK||{});function vK(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let nR=Symbol("ListboxContext");function A0(e){let t=Rn(nR,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,A0),n}return t}let OK=F({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>mK},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 a=J(1),i=J(null),o=J(null),s=J(null),l=J([]),c=J(""),u=J(null),d=J(1);function f(S=A=>A){let A=u.value!==null?l.value[u.value]:null,E=Lu(S(l.value.slice()),C=>Re(C.dataRef.domRef)),_=A?E.indexOf(A):null;return _===-1&&(_=null),{options:E,activeOptionIndex:_}}let h=$(()=>e.multiple?1:0),[p,m]=$G($(()=>e.modelValue),S=>r("update:modelValue",S),$(()=>e.defaultValue)),g=$(()=>p.value===void 0?lr(h.value,{1:[],0:void 0}):p.value),v={listboxState:a,value:g,mode:h,compare(S,A){if(typeof e.by=="string"){let E=e.by;return(S==null?void 0:S[E])===(A==null?void 0:A[E])}return e.by(S,A)},orientation:$(()=>e.horizontal?"horizontal":"vertical"),labelRef:i,buttonRef:o,optionsRef:s,disabled:$(()=>e.disabled),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||a.value!==1&&(a.value=1,u.value=null)},openListbox(){e.disabled||a.value!==0&&(a.value=0)},goToOption(S,A,E){if(e.disabled||a.value===1)return;
2let _=f(),C=jG(S===yi.Specific?{focus:yi.Specific,id:A}:{focus:S},{resolveItems:()=>_.options,resolveActiveIndex:()=>_.activeOptionIndex,resolveId:R=>R.id,resolveDisabled:R=>R.dataRef.disabled});c.value="",u.value=C,d.value=E??1,l.value=_.options},search(S){if(e.disabled||a.value===1)return;let A=c.value!==""?0:1;c.value+=S.toLowerCase();let E=(u.value!==null?l.value.slice(u.value+A).concat(l.value.slice(0,u.value+A)):l.value).find(C=>C.dataRef.textValue.startsWith(c.value)&&!C.dataRef.disabled),_=E?l.value.indexOf(E):-1;_===-1||_===u.value||(u.value=_,d.value=1)},clearSearch(){e.disabled||a.value!==1&&c.value!==""&&(c.value="")},registerOption(S,A){let E=f(_=>[..._,{id:S,dataRef:A}]);l.value=E.options,u.value=E.activeOptionIndex},unregisterOption(S){let A=f(E=>{let _=E.findIndex(C=>C.id===S);return _!==-1&&E.splice(_,1),E});l.value=A.options,u.value=A.activeOptionIndex,d.value=1},theirOnChange(S){e.disabled||m(S)},select(S){e.disabled||m(lr(h.value,{0:()=>S,1:()=>{let A=Pi(v.value.value).slice(),E=Pi(S),_=A.findIndex(C=>v.compare(E,Pi(C)));return _===-1?A.push(E):A.splice(_,1),A}}))}};S8([o,s],(S,A)=>{var E;v.closeListbox(),wy(A,Sy.Loose)||(S.preventDefault(),(E=Re(o))==null||E.focus())},$(()=>a.value===0)),_n(nR,v),b8($(()=>lr(a.value,{0:Ga.Open,1:Ga.Closed})));let k=$(()=>{var S;return(S=Re(o))==null?void 0:S.closest("form")});return Lt(()=>{ze([k],()=>{if(!k.value||e.defaultValue===void 0)return;function S(){v.theirOnChange(e.defaultValue)}return k.value.addEventListener("reset",S),()=>{var A;(A=k.value)==null||A.removeEventListener("reset",S)}},{immediate:!0})}),()=>{let{name:S,modelValue:A,disabled:E,form:_,...C}=e,R={open:a.value===0,disabled:E,value:g.value};return Dn(de,[...S!=null&&g.value!=null?zI({[S]:g.value}).map(([B,L])=>Dn(Xl,tG({features:Zl.Hidden,key:B,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:_,disabled:E,name:B,value:L}))):[],br({ourProps:{},theirProps:{...n,...PI(C,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:R,slots:t,attrs:n,name:"Listbox"})])}}}),SK=F({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var r;let a=(r=e.id)!=null?r:`headlessui-listbox-label-${ei()}`,i=A0("ListboxLabel");function o(){var s;(s=Re(i.buttonRef))==null||s.focus({preventScroll:!0})}return()=>{let s={open:i.listboxState.value===0,disabled:i.disabled.value},{...l}=e,c={id:a,ref:i.labelRef,onClick:o};return br({ourProps:c,theirProps:l,slot:s,attrs:t,slots:n,name:"ListboxLabel"})}}}),wK=F({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var a;let i=(a=e.id)!=null?a:`headlessui-listbox-button-${ei()}`,o=A0("ListboxButton");r({el:o.buttonRef,$el:o.buttonRef});function s(d){switch(d.key){case Jt.Space:case Jt.Enter:case Jt.ArrowDown:d.preventDefault(),o.openListbox(),In(()=>{var f;(f=Re(o.optionsRef))==null||f.focus({preventScroll:!0}),o.value.value||o.goToOption(yi.First)});break;case Jt.ArrowUp:d.preventDefault(),o.openListbox(),In(()=>{var f;(f=Re(o.optionsRef))==null||f.focus({preventScroll:!0}),o.value.value||o.goToOption(yi.Last)});break}}function l(d){switch(d.key){case Jt.Space:d.preventDefault();break}}function c(d){o.disabled.value||(o.listboxState.value===0?(o.closeListbox(),In(()=>{var f;return(f=Re(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})}
2)):(d.preventDefault(),o.openListbox(),vK(()=>{var f;return(f=Re(o.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let u=xy($(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{var d,f;let h={open:o.listboxState.value===0,disabled:o.disabled.value,value:o.value.value},{...p}=e,m={ref:o.buttonRef,id:i,type:u.value,"aria-haspopup":"listbox","aria-controls":(d=Re(o.optionsRef))==null?void 0:d.id,"aria-expanded":o.listboxState.value===0,"aria-labelledby":o.labelRef.value?[(f=Re(o.labelRef))==null?void 0:f.id,i].join(" "):void 0,disabled:o.disabled.value===!0?!0:void 0,onKeydown:s,onKeyup:l,onClick:c};return br({ourProps:m,theirProps:p,slot:h,attrs:t,slots:n,name:"ListboxButton"})}}}),xK=F({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 a;let i=(a=e.id)!=null?a:`headlessui-listbox-options-${ei()}`,o=A0("ListboxOptions"),s=J(null);r({el:o.optionsRef,$el:o.optionsRef});function l(d){switch(s.value&&clearTimeout(s.value),d.key){case Jt.Space:if(o.searchQuery.value!=="")return d.preventDefault(),d.stopPropagation(),o.search(d.key);case Jt.Enter:if(d.preventDefault(),d.stopPropagation(),o.activeOptionIndex.value!==null){let f=o.options.value[o.activeOptionIndex.value];o.select(f.dataRef.value)}o.mode.value===0&&(o.closeListbox(),In(()=>{var f;return(f=Re(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})}
2));break;case lr(o.orientation.value,{vertical:Jt.ArrowDown,horizontal:Jt.ArrowRight}):return d.preventDefault(),d.stopPropagation(),o.goToOption(yi.Next);case lr(o.orientation.value,{vertical:Jt.ArrowUp,horizontal:Jt.ArrowLeft}):return d.preventDefault(),d.stopPropagation(),o.goToOption(yi.Previous);case Jt.Home:case Jt.PageUp:return d.preventDefault(),d.stopPropagation(),o.goToOption(yi.First);case Jt.End:case Jt.PageDown:return d.preventDefault(),d.stopPropagation(),o.goToOption(yi.Last);case Jt.Escape:d.preventDefault(),d.stopPropagation(),o.closeListbox(),In(()=>{var f;return(f=Re(o.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case Jt.Tab:d.preventDefault(),d.stopPropagation();break;default:d.key.length===1&&(o.search(d.key),s.value=setTimeout(()=>o.clearSearch(),350));break}}let c=yy(),u=$(()=>c!==null?(c.value&Ga.Open)===Ga.Open:o.listboxState.value===0);return()=>{var d,f;let h={open:o.listboxState.value===0},{...p}=e,m={"aria-activedescendant":o.activeOptionIndex.value===null||(d=o.options.value[o.activeOptionIndex.value])==null?void 0:d.id,"aria-multiselectable":o.mode.value===1?!0:void 0,"aria-labelledby":(f=Re(o.buttonRef))==null?void 0:f.id,"aria-orientation":o.orientation.value,id:i,onKeydown:l,role:"listbox",tabIndex:0,ref:o.optionsRef};return br({ourProps:m,theirProps:p,slot:h,attrs:t,slots:n,features:ml.RenderStrategy|ml.Static,visible:u.value,name:"ListboxOptions"})}}}),kK=F({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 a;let i=(a=e.id)!=null?a:`headlessui-listbox-option-${ei()}`,o=A0("ListboxOption"),s=J(null);r({el:s,$el:s});let l=$(()=>o.activeOptionIndex.value!==null?o.options.value[o.activeOptionIndex.value].id===i:!1),c=$(()=>lr(o.mode.value,{0:()=>o.compare(Pi(o.value.value),Pi(e.value)),1:()=>Pi(o.value.value).some(S=>o.compare(Pi(S),Pi(e.value)))})),u=$(()=>lr(o.mode.value,{1:()=>{var S;let A=Pi(o.value.value);return((S=o.options.value.find(E=>A.some(_=>o.compare(Pi(_),Pi(E.dataRef.value)))))==null?void 0:S.id)===i},0:()=>c.value})),d=pK(s),f=$(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s}));Lt(()=>o.registerOption(i,f)),Da(()=>o.unregisterOption(i)),Lt(()=>{ze([o.listboxState,c],()=>{o.listboxState.value===0&&c.value&&lr(o.mode.value,{1:()=>{u.value&&o.goToOption(yi.Specific,i)},0:()=>{o.goToOption(yi.Specific,i)}})},{immediate:!0})}),hr(()=>{o.listboxState.value===0&&l.value&&o.activationTrigger.value!==0&&In(()=>{var S,A;return(A=(S=Re(s))==null?void 0:S.scrollIntoView)==null?void 0:A.call(S,{block:"nearest"})})});function h(S){if(e.disabled)return S.preventDefault();o.select(e.value),o.mode.value===0&&(o.closeListbox(),In(()=>{var A;return(A=Re(o.buttonRef))==null?void 0:A.focus({preventScroll:!0})}
2))}function p(){if(e.disabled)return o.goToOption(yi.Nothing);o.goToOption(yi.Specific,i)}let m=DG();function g(S){m.update(S)}function v(S){m.wasMoved(S)&&(e.disabled||l.value||o.goToOption(yi.Specific,i,0))}function k(S){m.wasMoved(S)&&(e.disabled||l.value&&o.goToOption(yi.Nothing))}return()=>{let{disabled:S}=e,A={active:l.value,selected:c.value,disabled:S},{value:E,disabled:_,...C}=e,R={id:i,ref:s,role:"option",tabIndex:S===!0?void 0:-1,"aria-disabled":S===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:p,onPointerenter:g,onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:k,onMouseleave:k};return br({ourProps:R,theirProps:C,slot:A,attrs:n,slots:t,name:"ListboxOption"})}}});var AK=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(AK||{});let rR=Symbol("PopoverContext");function T8(e){let t=Rn(rR,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${E8.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,T8),n}return t}let TK=Symbol("PopoverGroupContext");function aR(){return Rn(TK,null)}let iR=Symbol("PopoverPanelContext");function EK(){return Rn(iR,null)}let E8=F({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var a;let i=J(null);r({el:i,$el:i});let o=J(1),s=J(null),l=J(null),c=J(null),u=J(null),d=$(()=>$s(i)),f=$(()=>{var E,_;if(!Re(s)||!Re(u))return!1;for(let ee of document.querySelectorAll("body > *"))if(Number(ee==null?void 0:ee.contains(Re(s)))^Number(ee==null?void 0:ee.contains(Re(u))))return!0;let C=x0(),R=C.indexOf(Re(s)),B=(R+C.length-1)%C.length,L=(R+1)%C.length,V=C[B],Q=C[L];return!((E=Re(u))!=null&&E.contains(V))&&!((_=Re(u))!=null&&_.contains(Q))}),h={popoverState:o,buttonId:J(null),panelId:J(null),panel:u,button:s,isPortalled:f,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){o.value=lr(o.value,{0:1,1:0})},closePopover(){o.value!==1&&(o.value=1)},close(E){h.closePopover();let _=E?E instanceof HTMLElement?E:E.value instanceof HTMLElement?Re(E):Re(h.button):Re(h.button);_==null||_.focus()}};_n(rR,h),b8($(()=>lr(o.value,{0:Ga.Open,1:Ga.Closed})));let p={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}},m=aR(),g=m==null?void 0:m.registerPopover,[v,k]=KI(),S=WI({mainTreeNodeRef:m==null?void 0:m.mainTreeNodeRef,portals:v,defaultContainers:[s,u]});function A(){var E,_,C,R;return(R=m==null?void 0:m.isFocusWithinPopoverGroup())!=null?R:((E=d.value)==null?void 0:E.activeElement)&&(((_=Re(s))==null?void 0:_.contains(d.value.activeElement))||((C=Re(u))==null?void 0:C.contains(d.value.activeElement)))}return hr(()=>g==null?void 0:g(p)),w8((a=d.value)==null?void 0:a.defaultView,"focus",E=>{var _,C;E.target!==window&&E.target instanceof HTMLElement&&o.value===0&&(A()||s&&u&&(S.contains(E.target)||(_=Re(h.beforePanelSentinel))!=null&&_.contains(E.target)||(C=Re(h.afterPanelSentinel))!=null&&C.contains(E.target)||h.closePopover()))},!0),S8(S.resolveContainers,(E,_)=>{var C;h.closePopover(),wy(_,Sy.Loose)||(E.preventDefault(),(C=Re(s))==null||C.focus())},$(()=>o.value===0)),()=>{let E={open:o.value===0,close:h.close};return Dn(de,[Dn(k,{},()=>br({theirProps:{...e,...n},ourProps:{ref:i},slot:E,slots:t,attrs:n,name:"Popover"})),Dn(S.MainTreeNode)])}}}),oR=F({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 a;let i=(a=e.id)!=null?a:`headlessui-popover-button-${ei()}`,o=T8("PopoverButton"),s=$(()=>$s(o.button));r({el:o.button,$el:o.button}),Lt(()=>{o.buttonId.value=i}),Da(()=>{o.buttonId.value=null});let l=aR(),c=l==null?void 0:l.closeOthers,u=EK(),d=$(()=>u===null?!1:u.value===o.panelId.value),f=J(null),h=`headlessui-focus-sentinel-${ei()}`;d.value||hr(()=>{o.button.value=Re(f)});let p=xy($(()=>({as:e.as,type:t.type})),f);function m(E){var _,C,R,B,L;if(d.value){if(o.popoverState.value===1)return;switch(E.key){case Jt.Space:case Jt.Enter:E.preventDefault(),(C=(_=E.target).click)==null||C.call(_),o.closePopover(),(R=Re(o.button))==null||R.focus();break}}else switch(E.key){case Jt.Space:case Jt.Enter:E.preventDefault(),E.stopPropagation(),o.popoverState.value===1&&(c==null||c(o.buttonId.value)),o.togglePopover();break;case Jt.Escape:if(o.popoverState.value!==0)return c==null?void 0:c(o.buttonId.value);if(!Re(o.button)||(B=s.value)!=null&&B.activeElement&&!((L=Re(o.button))!=null&&L.contains(s.value.activeElement)))return;E.preventDefault(),E.stopPropagation(),o.closePopover();break}}function g(E){d.value||E.key===Jt.Space&&E.preventDefault()}function v(E){var _,C;e.disabled||(d.value?(o.closePopover(),(_=Re(o.button))==null||_.focus()):(E.preventDefault(),E.stopPropagation(),o.popoverState.value===1&&(c==null||c(o.buttonId.value)),o.togglePopover(),(C=Re(o.button))==null||C.focus()))}function k(E){E.preventDefault(),E.stopPropagation()}let S=x8();function A(){let E=Re(o.panel);if(!E)return;function _(){lr(S.value,{[so.Forwards]:()=>xa(E,nr.First),[so.Backwards]:()=>xa(E,nr.Last)})===Dl.Error&&xa(x0().filter(C=>C.dataset.headlessuiFocusGuard!=="true"),lr(S.value,{[so.Forwards]:nr.Next,[so.Backwards]:nr.Previous}),{relativeTo:Re(o.button)})}_()}return()=>{let E=o.popoverState.value===0,_={open:E},{...C}=e,R=d.value?{ref:f,type:p.value,onKeydown:m,onClick:v}:{ref:f,id:i,type:p.value,"aria-expanded":o.popoverState.value===0,"aria-controls":Re(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:g,onClick:v,onMousedown:k};return Dn(de,[br({ourProps:R,theirProps:{...t,...C},slot:_,attrs:t,slots:n,name:"PopoverButton"}),E&&!d.value&&o.isPortalled.value&&Dn(Xl,{id:h,features:Zl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:A})])}}}),sR=F({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 a;let i=(a=e.id)!=null?a:`headlessui-popover-panel-${ei()}`,{focus:o}=e,s=T8("PopoverPanel"),l=$(()=>$s(s.panel)),c=`headlessui-focus-sentinel-before-${ei()}`,u=`headlessui-focus-sentinel-after-${ei()}`;r({el:s.panel,$el:s.panel}
2),Lt(()=>{s.panelId.value=i}),Da(()=>{s.panelId.value=null}),_n(iR,s.panelId),hr(()=>{var k,S;if(!o||s.popoverState.value!==0||!s.panel)return;let A=(k=l.value)==null?void 0:k.activeElement;(S=Re(s.panel))!=null&&S.contains(A)||xa(Re(s.panel),nr.First)});let d=yy(),f=$(()=>d!==null?(d.value&Ga.Open)===Ga.Open:s.popoverState.value===0);function h(k){var S,A;switch(k.key){case Jt.Escape:if(s.popoverState.value!==0||!Re(s.panel)||l.value&&!((S=Re(s.panel))!=null&&S.contains(l.value.activeElement)))return;k.preventDefault(),k.stopPropagation(),s.closePopover(),(A=Re(s.button))==null||A.focus();break}}function p(k){var S,A,E,_,C;let R=k.relatedTarget;R&&Re(s.panel)&&((S=Re(s.panel))!=null&&S.contains(R)||(s.closePopover(),((E=(A=Re(s.beforePanelSentinel))==null?void 0:A.contains)!=null&&E.call(A,R)||(C=(_=Re(s.afterPanelSentinel))==null?void 0:_.contains)!=null&&C.call(_,R))&&R.focus({preventScroll:!0})))}let m=x8();function g(){let k=Re(s.panel);if(!k)return;function S(){lr(m.value,{[so.Forwards]:()=>{var A;xa(k,nr.First)===Dl.Error&&((A=Re(s.afterPanelSentinel))==null||A.focus())},[so.Backwards]:()=>{var A;(A=Re(s.button))==null||A.focus({preventScroll:!0})}})}S()}function v(){let k=Re(s.panel);if(!k)return;function S(){lr(m.value,{[so.Forwards]:()=>{let A=Re(s.button),E=Re(s.panel);if(!A)return;let _=x0(),C=_.indexOf(A),R=_.slice(0,C+1),B=[..._.slice(C+1),...R];for(let L of B.slice())if(L.dataset.headlessuiFocusGuard==="true"||E!=null&&E.contains(L)){let V=B.indexOf(L);V!==-1&&B.splice(V,1)}xa(B,nr.First,{sorted:!1})},[so.Backwards]:()=>{var A;xa(k,nr.Previous)===Dl.Error&&((A=Re(s.button))==null||A.focus())}})}S()}return()=>{let k={open:s.popoverState.value===0,close:s.close},{focus:S,...A}=e,E={ref:s.panel,id:i,onKeydown:h,onFocusout:o&&s.popoverState.value===0?p:void 0,tabIndex:-1};return br({ourProps:E,theirProps:{...t,...A},attrs:t,slot:k,slots:{...n,default:(..._)=>{var C;return[Dn(de,[f.value&&s.isPortalled.value&&Dn(Xl,{id:c,ref:s.beforePanelSentinel,features:Zl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g}),(C=n.default)==null?void 0:C.call(n,..._),f.value&&s.isPortalled.value&&Dn(Xl,{id:u,ref:s.afterPanelSentinel,features:Zl.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}},features:ml.RenderStrategy|ml.Static,visible:f.value,name:"PopoverPanel"})}}}),_K=F({props:{onFocus:{type:Function,required:!0}},setup(e){let t=J(!0);return()=>t.value?Dn(Xl,{as:"button",type:"button",features:Zl.Focusable,onFocus(n){n.preventDefault();let r,a=50;function i(){var o;if(a--<=0){r&&cancelAnimationFrame(r);return}if((o=e.onFocus)!=null&&o.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(i)}r=requestAnimationFrame(i)}}):null}});var CK=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(CK||{}),$K=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))($K||{});let lR=Symbol("TabsContext");function T0(e){let t=Rn(lR,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,T0),n}return t}let _8=Symbol("TabsSSRContext"),cR=F({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 a;let i=J((a=e.selectedIndex)!=null?a:e.defaultIndex),o=J([]),s=J([]),l=$(()=>e.selectedIndex!==null),c=$(()=>l.value?e.selectedIndex:i.value);function u(m){var g;let v=Lu(d.tabs.value,Re),k=Lu(d.panels.value,Re),S=v.filter(A=>{var E;return!((E=Re(A))!=null&&E.hasAttribute("disabled"))});if(m<0||m>v.length-1){let A=lr(i.value===null?0:Math.sign(m-i.value),{[-1]:()=>1,0:()=>lr(Math.sign(m),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),E=lr(A,{0:()=>v.indexOf(S[0]),1:()=>v.indexOf(S[S.length-1])});E!==-1&&(i.value=E),d.tabs.value=v,d.panels.value=k}else{let A=v.slice(0,m),E=[...v.slice(m),...A].find(C=>S.includes(C));if(!E)return;let _=(g=v.indexOf(E))!=null?g:d.selectedIndex.value;_===-1&&(_=d.selectedIndex.value),i.value=_,d.tabs.value=v,d.panels.value=k}}let d={selectedIndex:$(()=>{var m,g;return(g=(m=i.value)!=null?m:e.defaultIndex)!=null?g:null}),orientation:$(()=>e.vertical?"vertical":"horizontal"),activation:$(()=>e.manual?"manual":"auto"),tabs:o,panels:s,setSelectedIndex(m){c.value!==m&&r("change",m),l.value||u(m)},registerTab(m){var g;if(o.value.includes(m))return;let v=o.value[i.value];if(o.value.push(m),o.value=Lu(o.value,Re),!l.value){let k=(g=o.value.indexOf(v))!=null?g:i.value;k!==-1&&(i.value=k)}},unregisterTab(m){let g=o.value.indexOf(m);g!==-1&&o.value.splice(g,1)},registerPanel(m){s.value.includes(m)||(s.value.push(m),s.value=Lu(s.value,Re))},unregisterPanel(m){let g=s.value.indexOf(m);g!==-1&&s.value.splice(g,1)}};_n(lR,d);let f=J({tabs:[],panels:[]}),h=J(!1);Lt(()=>{h.value=!0}),_n(_8,$(()=>h.value?null:f.value));let p=$(()=>e.selectedIndex);return Lt(()=>{ze([p],()=>{var m;return u((m=e.selectedIndex)!=null?m:e.defaultIndex)},{immediate:!0})}),hr(()=>{if(!l.value||c.value==null||d.tabs.value.length<=0)return;let m=Lu(d.tabs.value,Re);m.some((g,v)=>Re(d.tabs.value[v])!==Re(g))&&d.setSelectedIndex(m.findIndex(g=>Re(g)===Re(d.tabs.value[c.value])))}),()=>{let m={selectedIndex:i.value};return Dn(de,[o.value.length<=0&&Dn(_K,{onFocus:()=>{for(let g of o.value){let v=Re(g);if((v==null?void 0:v.tabIndex)===0)return v.focus(),!0}return!1}}
2),br({theirProps:{...n,...PI(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:m,slots:t,attrs:n,name:"TabGroup"})])}}}),uR=F({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=T0("TabList");return()=>{let a={selectedIndex:r.selectedIndex.value},i={role:"tablist","aria-orientation":r.orientation.value};return br({ourProps:i,theirProps:e,slot:a,attrs:t,slots:n,name:"TabList"})}}}),dR=F({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 a;let i=(a=e.id)!=null?a:`headlessui-tabs-tab-${ei()}`,o=T0("Tab"),s=J(null);r({el:s,$el:s}),Lt(()=>o.registerTab(s)),Da(()=>o.unregisterTab(s));let l=Rn(_8),c=$(()=>{if(l.value){let k=l.value.tabs.indexOf(i);return k===-1?l.value.tabs.push(i)-1:k}return-1}),u=$(()=>{let k=o.tabs.value.indexOf(s);return k===-1?c.value:k}),d=$(()=>u.value===o.selectedIndex.value);function f(k){var S;let A=k();if(A===Dl.Success&&o.activation.value==="auto"){let E=(S=$s(s))==null?void 0:S.activeElement,_=o.tabs.value.findIndex(C=>Re(C)===E);_!==-1&&o.setSelectedIndex(_)}return A}function h(k){let S=o.tabs.value.map(A=>Re(A)).filter(Boolean);if(k.key===Jt.Space||k.key===Jt.Enter){k.preventDefault(),k.stopPropagation(),o.setSelectedIndex(u.value);return}switch(k.key){case Jt.Home:case Jt.PageUp:return k.preventDefault(),k.stopPropagation(),f(()=>xa(S,nr.First));case Jt.End:case Jt.PageDown:return k.preventDefault(),k.stopPropagation(),f(()=>xa(S,nr.Last))}if(f(()=>lr(o.orientation.value,{vertical(){return k.key===Jt.ArrowUp?xa(S,nr.Previous|nr.WrapAround):k.key===Jt.ArrowDown?xa(S,nr.Next|nr.WrapAround):Dl.Error},horizontal(){return k.key===Jt.ArrowLeft?xa(S,nr.Previous|nr.WrapAround):k.key===Jt.ArrowRight?xa(S,nr.Next|nr.WrapAround):Dl.Error}}))===Dl.Success)return k.preventDefault()}let p=J(!1);function m(){var k;p.value||(p.value=!0,!e.disabled&&((k=Re(s))==null||k.focus({preventScroll:!0}),o.setSelectedIndex(u.value),g8(()=>{p.value=!1})))}function g(k){k.preventDefault()}let v=xy($(()=>({as:e.as,type:t.type})),s);return()=>{var k,S;let A={selected:d.value,disabled:(k=e.disabled)!=null?k:!1},{...E}=e,_={ref:s,onKeydown:h,onMousedown:g,onClick:m,id:i,role:"tab",type:v.value,"aria-controls":(S=Re(o.panels.value[u.value]))==null?void 0:S.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:e.disabled?!0:void 0};return br({ourProps:_,theirProps:E,slot:A,attrs:t,slots:n,name:"Tab"})}}}),PK=F({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=T0("TabPanels");return()=>{let a={selectedIndex:r.selectedIndex.value};return br({theirProps:e,ourProps:{},slot:a,attrs:n,slots:t,name:"TabPanels"})}}}),IK=F({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 a;let i=(a=e.id)!=null?a:`headlessui-tabs-panel-${ei()}`,o=T0("TabPanel"),s=J(null);r({el:s,$el:s}),Lt(()=>o.registerPanel(s)),Da(()=>o.unregisterPanel(s));let l=Rn(_8),c=$(()=>{if(l.value){let f=l.value.panels.indexOf(i);return f===-1?l.value.panels.push(i)-1:f}return-1}),u=$(()=>{let f=o.panels.value.indexOf(s);return f===-1?c.value:f}),d=$(()=>u.value===o.selectedIndex.value);return()=>{var f;let h={selected:d.value},{tabIndex:p,...m}=e,g={ref:s,id:i,role:"tabpanel","aria-labelledby":(f=Re(o.tabs.value[u.value]))==null?void 0:f.id,tabIndex:d.value?p:-1};return!d.value&&e.unmount&&!e.static?Dn(Xl,{as:"span","aria-hidden":!0,...g}):br({ourProps:g,theirProps:m,slot:h,attrs:t,slots:n,features:ml.Static|ml.RenderStrategy,visible:d.value,name:"TabPanel"})}}});const We=e=>{if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},Ht=e=>typeof e=="object"&&e!==null,RK=e=>e["$ref-value"],mr=e=>{const{"$ref-value":t,...n}=e;return We(t)?{...t,...n}:n};function Se(e,t=RK){return typeof e=="object"&&e!==null&&"$ref"in e?t(e):e}const Jf=e=>"type"in e&&(e.type==="object"||Array.isArray(e.type)&&e.type.includes("object")),sr=e=>"type"in e&&(e.type==="array"||Array.isArray(e.type)&&e.type.includes("array")),I1=e=>"type"in e&&(e.type==="string"||Array.isArray(e.type)&&e.type.includes("string")),YA=e=>"type"in e&&(e.type==="number"||e.type==="integer"||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),NK=e=>e!==void 0&&"type"in e,n4t=e=>"content"in e&&e.content!==void 0;
2var MK=e=>typeof e=="object"&&e!==null;function GA(e){return typeof e=="object"&&e!==null&&"$ref"in e?MK(e["$ref-value"])?e["$ref-value"]:void 0:e}function Bh(e,t){t&&(e.includes(t)||e.push(t))}function Dm(e,t,n=0){!e||t.visited.has(e)||(t.visited.add(e),[...e.oneOf??[],...e.anyOf??[],...e.allOf??[]].forEach(r=>{Dm(GA(r),t,n)}),Jf(e)&&e.properties&&Object.entries(e.properties).forEach(([r,a])=>{const i=GA(a);t.visit(r,i),n+1<t.maxPropertyDepth&&Dm(i,t,n+1)}))}function fR(e,t){var a;const n=(a=Se(e==null?void 0:e.requestBody))==null?void 0:a.content;if(!n)return;const r=new Set;Object.values(n).forEach(i=>{var o;Dm(Se((o=Se(i))==null?void 0:o.schema),{visit:t,visited:r,maxPropertyDepth:2})})}function LK(e){const t=[];return e.forEach(n=>{const r=Se(n);Bh(t,r==null?void 0:r.name)}),t}function DK(e){const t=[];return e.forEach(n=>{const r=Se(n);Bh(t,r==null?void 0:r.description)}),t}function BK(e){const t=[];return fR(e,n=>{Bh(t,n)}),t}function UK(e){const t=[];return fR(e,(n,r)=>{r&&"description"in r&&typeof r.description=="string"&&Bh(t,r.description)}),t}function jK(e){const t=[];return Dm(e,{visit:n=>Bh(t,n),visited:new Set,maxPropertyDepth:2}),t}function FK(e){const t=[];return Dm(e,{visit:(n,r)=>{r&&"description"in r&&typeof r.description=="string"&&Bh(t,r.description)},visited:new Set,maxPropertyDepth:2}),t}var yt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},QK={common:{description:"اÙÙØµÙ",httpMethod:"طرÙÙØ© HTTP",path:"اÙÙ
سار",copyDefault:"ÙØ³Ø® اÙÙÙÙ
Ø© Ø§ÙØ§ÙØªØ±Ø§Ø¶ÙØ©",copyExample:"ÙØ³Ø® اÙÙÙÙ
Ø© اÙÙÙ
ÙØ°Ø¬ÙØ©"},search:{label:"Ø¨ØØ«",inputLabel:"Ø£Ø¯Ø®Ù Ø§Ø³ØªØ¹ÙØ§Ù
Ø§ÙØ¨ØØ«",open:"ÙØªØ Ø§ÙØ¨ØØ«",placeholder:"Ø¨ØØ«...",clear:"Ù
Ø³Ø Ø§ÙØ¨ØØ«",keyboardShortcut:"اختصار ÙÙØØ© اÙÙ
ÙØ§ØªÙØ:",command:"Ù
ÙØªØ§Ø Ø§ÙØ£ÙاÙ
ر",control:"Ù
ÙØªØ§Ø Ø§ÙØªØÙÙ
",results:"ÙØªØ§Ø¦Ø¬ Ø§ÙØ¨ØØ« Ù٠اÙÙ
رجع",navigate:"تÙÙÙÙ",select:"Ø§Ø®ØªÙØ§Ø±",instructions:"اضغط Ø§ÙØ³ÙÙ
ÙÙØ£Ø¹Ù٠أ٠ÙÙØ£Ø³ÙÙ ÙÙØªÙÙÙØ Enter ÙÙØ§Ø®ØªÙØ§Ø±Ø ÙØ§Ùتب ÙØªØµÙÙØ© اÙÙØªØ§Ø¦Ø¬",entryHeading:"عÙÙØ§Ù",entryOperation:"عÙ
ÙÙØ©",entryTag:"ÙØ³Ù
",entryTagGroup:"Ù
جÙ
ÙØ¹Ø© ÙØ³ÙÙ
",entryWebhook:"خطا٠ÙÙØ¨"},navigation:{introduction:"اÙÙ
ÙØ¯Ù
Ø©",closeGroup:"Ø¥ØºÙØ§Ù اÙÙ
جÙ
ÙØ¹Ø©",closeMenu:"Ø¥ØºÙØ§Ù اÙÙØ§Ø¦Ù
Ø©",openGroup:"ÙØªØ اÙÙ
جÙ
ÙØ¹Ø©",openMenu:"ÙØªØ اÙÙØ§Ø¦Ù
Ø©",operations:"Ø§ÙØ¹Ù
ÙÙØ§Øª",endpoints:"ÙÙØ§Ø· ÙÙØ§ÙØ© {name}",showAllEndpoints:"Ø¥Ø¸ÙØ§Ø± ÙÙ ÙÙØ§Ø· ÙÙØ§ÙØ© {name}",sidebarFor:"Ø§ÙØ´Ø±ÙØ· Ø§ÙØ¬Ø§Ùب٠ÙÙ {name}",mainContent:"ÙØ«Ø§Ø¦Ù ÙØ§Ø¬ÙØ© برÙ
جة Ø§ÙØªØ·Ø¨ÙÙØ§Øª ÙÙ {name}",collapsed:"Ù
Ø·ÙÙ",webhooks:"Ø®Ø·Ø§ÙØ§Øª اÙÙÙØ¨",channels:"اÙÙÙÙØ§Øª"},server:{label:"Ø§ÙØ®Ø§Ø¯Ù
",select:"اختر خادÙ
اÙ"},info:{termsOfService:"Ø´Ø±ÙØ· Ø§ÙØ®Ø¯Ù
Ø©"},asyncapi:{servers:"Ø§ÙØ®ÙادÙ
",protocols:"Ø§ÙØ¨Ø±ÙتÙÙÙÙØ§Øª"},clientLibraries:{heading:"Ù
ÙØªØ¨Ø§Øª Ø§ÙØ¹Ù
ÙØ§Ø¡",more:"اÙÙ
Ø²ÙØ¯",selectAll:"اختر Ù
٠جÙ
ÙØ¹ Ø§ÙØ¹Ù
ÙØ§Ø¡"},operation:{body:"Ø§ÙØ¬Ø³Ù
",cookies:"Ù
ÙÙØ§Øª تعرÙÙ Ø§ÙØ§Ø±ØªØ¨Ø§Ø·",headers:"Ø§ÙØ±Ø¤Ùس",pathParameters:"Ù
عاÙ
ÙØ§Øª اÙÙ
سار",queryParameters:"Ù
عاÙ
ÙØ§Øª Ø§ÙØ§Ø³ØªØ¹ÙاÙ
",requestBody:"جسÙ
Ø§ÙØ·Ùب",responses:"Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",testRequest:"اختبار Ø§ÙØ·Ùب",webhook:"خطا٠ÙÙØ¨",selectedContentType:"ÙÙØ¹ اÙÙ
ØØªÙ٠اÙÙ
ØØ¯Ø¯",callbacks:"عÙ
ÙÙØ§Øª Ø§ÙØ§Ø³ØªØ¯Ø¹Ø§Ø¡"},response:{exampleResponses:"Ø£Ù
Ø«ÙØ© Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",noBody:"ÙØ§ ÙÙØ¬Ø¯ جسÙ
",showSchema:"عرض اÙÙ
خطط",status:"Ø§ÙØØ§ÙØ©"},schema:{example:"Ù
ثاÙ",examples:"Ø£Ù
Ø«ÙØ©",default:"Ø§ÙØ§ÙتراضÙ",schema:"اÙÙ
خطط",emptyObject:"ÙØ§Ø¦Ù ÙØ§Ø±Øº",showAdditionalProperties:"Ø¥Ø¸ÙØ§Ø± Ø§ÙØ®ØµØ§Ø¦Øµ Ø§ÙØ¥Ø¶Ø§ÙÙØ©",forName:"ÙÙ {name}",showSchemaDetails:"Ø¥Ø¸ÙØ§Ø± ØªÙØ§ØµÙ٠اÙÙ
خطط",oneOf:"ÙØ§ØØ¯ Ù
Ù",anyOf:"Ø£Ù Ù
Ù",allOf:"ÙÙ Ù
Ù",not:"ÙÙØ³",unknownType:"ÙÙØ¹ ØºÙØ± Ù
عرÙÙ",propertyCount:"Ø§ÙØ®ØµØ§Ø¦Øµ: {count}",headerCount:"Ø§ÙØªØ±ÙÙØ³Ø§Øª: {count}",recursiveReference:"Ù
رجع ØªÙØ±Ø§Ø±Ù Ø¥ÙÙ {name}",recursive:"ØªÙØ±Ø§Ø±Ù",additionalProperties:"خصائص إضاÙÙØ©",const:"ثابت",deprecated:"Ù
ÙÙ
Ù",discriminator:"اÙÙ
Ù
ÙÙØ²",enum:"تعداد",format:"Ø§ÙØªÙسÙÙ",greaterThan:"Ø£ÙØ¨Ø± Ù
Ù",keys:"اÙÙ
ÙØ§ØªÙØ",lessThan:"Ø£ÙÙ Ù
Ù",max:"Ø§ÙØØ¯ Ø§ÙØ£ÙصÙ",min:"Ø§ÙØØ¯ Ø§ÙØ£Ø¯ÙÙ",maxLength:"Ø£ÙØµÙ Ø·ÙÙ",minLength:"أدÙÙ Ø·ÙÙ",multipleOf:"Ù
ضاع٠ÙÙ",nullable:"ÙÙØ¨Ù null",propertyNames:"أسÙ
اء Ø§ÙØ®ØµØ§Ø¦Øµ",pattern:"اÙÙÙ
Ø·",copyPattern:"ÙØ³Ø® اÙÙÙ
Ø·",readOnly:"ÙØ±Ø§Ø¡Ø© ÙÙØ·",required:"Ù
Ø·ÙÙØ¨",hideValues:"Ø¥Ø®ÙØ§Ø¡ اÙÙÙÙ
",showAllValues:"عرض Ù٠اÙÙÙÙ
",type:"اÙÙÙØ¹",unique:"ÙØ±Ùد",values:"اÙÙÙÙ
",writeOnly:"ÙØªØ§Ø¨Ø© ÙÙØ·"},download:{openapi:"ØªÙØ²ÙÙ Ù
Ø³ØªÙØ¯ OpenAPI",asyncapi:"ØªÙØ²ÙÙ Ù
Ø³ØªÙØ¯ AsyncAPI"},models:{label:"اÙÙÙ
اذج"},actions:{copyLink:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·",copyLinkTo:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø· Ø¥ÙÙ {name}",copyToClipboard:"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø· Ø¥ÙÙ Ø§ÙØØ§ÙØ¸Ø©",copyEndpointUrl:"ÙØ³Ø® رابط endpoint",showMore:"عرض اÙÙ
Ø²ÙØ¯"},agent:{askAi:"Ø§Ø³Ø£Ù Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",askAiAgent:"اسأ٠ÙÙÙÙ Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",close:"Ø¥ØºÙØ§Ù Ø§ÙØ¹Ù
ÙÙ"},mcp:{generate:"Ø¥ÙØ´Ø§Ø¡ MCP",connect:"ربط MCP"},developerTools:{title:"Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ",configure:"Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯",share:"Ù
Ø´Ø§Ø±ÙØ©",deploy:"ÙØ´Ø±",scalarConfiguration:"إعدادات Scalar",theme:"Ø§ÙØ³Ù
Ø©",layout:"Ø§ÙØªØ®Ø·ÙØ·",layoutOptions:"Ø®ÙØ§Ø±Ø§Øª Ø§ÙØªØ®Ø·ÙØ·",intro:"ØªØªÙØ ÙÙ Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ ØªØ®ØµÙØµ Ù
Ø¸ÙØ± اÙÙØ«Ø§Ø¦Ù ÙØ³ÙÙÙÙØ§. ÙÙ
ÙÙÙ Ø£ÙØ¶Ùا Ù
Ø´Ø§Ø±ÙØ© ÙØ«Ø§Ø¦Ù٠باستخداÙ
Scalar Registry.",disableToolbarBefore:"ÙØªØ¹Ø·ÙÙ Ø´Ø±ÙØ· Ø§ÙØ£Ø¯ÙØ§ØªØ Ø¹ÙÙÙ",disableToolbarAfter:"ÙÙ Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯Ø§Øª.",localhostOnly:"ÙÙ ØªØ¸ÙØ± Ø£Ø¯ÙØ§Øª اÙÙ
Ø·ÙØ±ÙÙ Ø¥ÙØ§ Ø¹ÙØ¯ Ø§ÙØªØ´ØºÙ٠عÙÙ localhost.",layoutModern:"ØØ¯ÙØ«",layoutClassic:"ÙÙØ§Ø³ÙÙÙ",showSidebar:"Ø¥Ø¸ÙØ§Ø± Ø§ÙØ´Ø±ÙØ· Ø§ÙØ¬Ø§ÙبÙ",defaultOpenFirstTag:"ÙØªØ Ø£ÙÙ ÙØ³Ù
Ø§ÙØªØ±Ø§Ø¶ÙÙØ§",defaultOpenAllTags:"ÙØªØ Ù٠اÙÙØ³ÙÙ
Ø§ÙØªØ±Ø§Ø¶ÙÙØ§",expandAll:"ØªÙØ³Ùع ÙÙ {label}",expandAllResponses:"ØªÙØ³Ùع ÙÙ Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø§Øª",hideClientButton:"Ø¥Ø®ÙØ§Ø¡ زر Ø§ÙØ¹Ù
ÙÙ",hideDarkModeToggle:"Ø¥Ø®ÙØ§Ø¡ Ù
ÙØªØ§Ø اÙÙØ¶Ø¹ Ø§ÙØ¯Ø§ÙÙ",hideModels:"Ø¥Ø®ÙØ§Ø¡ {label}",hideSearch:"Ø¥Ø®ÙØ§Ø¡ Ø§ÙØ¨ØØ«",showOperationId:"Ø¥Ø¸ÙØ§Ø± Ù
عرÙÙ Ø§ÙØ¹Ù
ÙÙØ©",hideTestRequestButton:"Ø¥Ø®ÙØ§Ø¡ زر Ø·ÙØ¨ Ø§ÙØ§Ø®ØªØ¨Ø§Ø±",scalarDocs:"Scalar Docs",deployDescription:"Ø§ÙØ´Ø± ÙØ«Ø§Ø¦Ù٠عÙÙ ScalarØ Ù
ÙØµØ© اÙÙØ«Ø§Ø¦Ù Ø§ÙØØ¯ÙØ«Ø© ÙÙØ§Ø¬ÙØ© API Ø§ÙØ®Ø§ØµØ© ب٠ÙÙÙ Ø´ÙØ¡ آخر.",shareTitle:"Ù
Ø´Ø§Ø±ÙØ© API Reference",shareDescription:"ØÙ
ÙÙ Ù
Ø³ØªÙØ¯ OpenAPI ÙÙ
Ø´Ø§Ø±ÙØ© API Reference Ù
ع Ø§ÙØ¢Ø®Ø±ÙÙ. Ø§ÙØ£Ù
ر Ø¨Ø³ÙØ· ÙØ¶ØºØ· زر.",uploadDocument:"تØÙ
Ù٠اÙÙ
Ø³ØªÙØ¯",temporaryLinkExpiration:"Ø³ÙØªÙ
ØØ°Ù اÙÙ
Ø³ØªÙØ¯ تÙÙØ§Ø¦ÙÙØ§ بعد 7 Ø£ÙØ§Ù
.",deployOnScalar:"اÙÙØ´Ø± عÙÙ Scalar",deployFree:"Ø§ÙØ´Ø± ÙØ«Ø§Ø¦ÙÙ Ù
جاÙÙØ§.",additionalFeaturesMightRequire:"ÙØ¯ ØªØªØ·ÙØ¨ اÙÙ
ÙØ²Ø§Øª Ø§ÙØ¥Ø¶Ø§ÙÙØ©",generate:"Ø¥ÙØ´Ø§Ø¡",passwordProtection:"Ø§ÙØÙ
Ø§ÙØ© بÙÙÙ
Ø© Ù
Ø±ÙØ±",customDomains:"ÙØ·Ø§Ùات Ù
خصصة",freeFormContent:"Ù
ØØªÙÙ ØØ±",cdnInfrastru
2cture:"بÙÙØ© CDN Ø§ÙØªØØªÙØ©",pullFromGitHub:"Ø§ÙØ³ØØ¨ Ù
Ù GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"ÙØØµ Spectral",jsonSchemaHosting:"Ø§Ø³ØªØ¶Ø§ÙØ© JSON Schema",askAi:"Ø§Ø³Ø£Ù Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ",mcpServers:"Ø®ÙØ§Ø¯Ù
MCP",unableToExportDocument:"تعذر ØªØµØ¯ÙØ± اÙÙ
Ø³ØªÙØ¯ اÙÙØ´Ø·",unknownError:"ØØ¯Ø« خطأ ØºÙØ± Ù
عرÙÙ"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Ù
Ø±ØØ¨Ùا ب٠ÙÙ Scalar API References + Swagger EditorØ Ø£Ø¯Ø§Ø© Ù
جاÙÙØ© ÙÙ
ÙØªÙØØ© اÙÙ
صدر تأخذ Ù
ÙÙ Swagger/OAS Ø§ÙØ®Ø§Øµ Ø¨Ù ÙØªÙشئ API References جÙ
ÙÙØ©.",showExample:"Ø¥Ø¸ÙØ§Ø± Ù
ثاÙ",uploadFile:"تØÙ
ÙÙ Ù
ÙÙ",integrations:"Ø§ÙØªÙاÙ
ÙØ§Øª",theming:"Ø§ÙØ³Ù
ات",features:"اÙÙ
ÙØ²Ø§Øª",customize:"Ø§ÙØªØ®ØµÙص",customizeDescription:"استخدÙ
Ø§ÙØ®Ø·ÙØ· ÙÙÙØØ§Øª Ø§ÙØ£ÙÙØ§Ù Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ أ٠استخدÙ
سÙ
Ø§ØªÙØ§!",testing:"Ø§ÙØ§Ø®ØªØ¨Ø§Ø±",testingDescription:"REST API Client Ù
دÙ
ج بعÙ
Ù (Ù
جاÙÙ ÙÙ
ÙØªÙØ Ø§ÙÙ
صدر Ø£ÙØ¶Ùا)",search:"Ø§ÙØ¨ØØ«",searchDescription:"Ø¨ØØ« Ù
دÙ
ج باÙÙØ§Ù
Ù (باستخداÙ
fuse.js)",hosting:"Ø§ÙØ§Ø³ØªØ¶Ø§ÙØ©",hostingDescription:"Ø§Ø³ØªØ¶Ø§ÙØ© Ù
جاÙÙØ© ÙÙØ·Ø§Ù ÙØ±Ø¹Ù عÙÙ https://apidocumentation.com",openApiSwagger:"OpenAPI Ù Swagger",openApiSwaggerDescription:"دعÙ
OpenAPI 3.1 Ù OpenAPI 3.0 Ù Swagger 2.0",codeSamples:"Ø£Ù
Ø«ÙØ© Ø§ÙØªØ¹ÙÙÙ
ات Ø§ÙØ¨Ø±Ù
Ø¬ÙØ©",codeSamplesDescription:"Ø£Ù
Ø«ÙØ© تعÙÙÙ
ات برÙ
Ø¬ÙØ© ÙØ¹Ø±Ø¶ API Ø§ÙØ®Ø§Øµ Ø¨Ù Ø¨Ø£Ø´ÙØ± اÙÙØºØ§Øª"},footer:{poweredByScalar:"Ù
دعÙÙ
Ù
Ù Scalar"},authentication:{title:"اÙÙ
ØµØ§Ø¯ÙØ©",accepts:"ÙÙØ¨Ù",allOf:"ÙÙ Ù
ا ÙÙÙ:",authentication:"اÙÙ
ØµØ§Ø¯ÙØ©",optional:"اÙÙ
ØµØ§Ø¯ÙØ© Ø§Ø®ØªÙØ§Ø±ÙØ©",oneOf:"ÙØ§ØØ¯ Ù
Ù:",required:"اÙÙ
ØµØ§Ø¯ÙØ© Ù
Ø·ÙÙØ¨Ø©",requires:"ÙØªØ·Ùب",scopes:"ÙØ·Ø§Ùات OAuth"}},zK={common:{description:"Beschreibung",httpMethod:"HTTP-Methode",path:"Pfad",copyDefault:"Standardwert kopieren",copyExample:"Beispielwert kopieren"},search:{label:"Suchen",inputLabel:"Suchbegriff eingeben",open:"Suche öffnen",placeholder:"Suchen...",clear:"Suche löschen",keyboardShortcut:"Tastenkürzel:",command:"Befehl",control:"Steuerung",results:"Suchergebnisse der Referenz",navigate:"Navigieren",select:"Auswählen",instructions:"Drücken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Auswählen und tippen Sie zum Filtern der Ergebnisse",entryHeading:"Ãberschrift",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag-Gruppe",entryWebhook:"Webhook"},navigation:{introduction:"Einführung",closeGroup:"Gruppe schlieÃen",closeMenu:"Menü schlieÃen",openGroup:"Gruppe öffnen",openMenu:"Menü öffnen",operations:"Operationen",endpoints:"{name}-Endpunkte",showAllEndpoints:"Alle {name}-Endpunkte anzeigen",sidebarFor:"Seitenleiste für {name}",mainContent:"API-Dokumentation für {name}",collapsed:"Eingeklappt",webhooks:"Webhooks",channels:"Kanäle"},server:{label:"Server",select:"Server auswählen"},info:{termsOfService:"Nutzungsbedingungen"},asyncapi:{servers:"Server",protocols:"Protokolle"},clientLibraries:{heading:"Client-Bibliotheken",more:"Mehr",selectAll:"Aus allen Clients auswählen"},operation:{body:"Body",cookies:"Cookies",headers:"Header",pathParameters:"Pfadparameter",queryParameters:"Query-Parameter",requestBody:"Request Body",responses:"Antworten",testRequest:"Request testen",webhook:"Webhook",selectedContentType:"Ausgewählter Inhaltstyp",callbacks:"Callbacks"},response:{exampleResponses:"Beispielantworten",noBody:"Kein Body",showSchema:"Schema anzeigen",status:"Status"},schema:{example:"Beispiel",examples:"Beispiele",default:"Standard",schema:"Schema",emptyObject:"Leeres Objekt",showAdditionalProperties:"Zusätzliche Eigenschaften anzeigen",forName:"für {name}",showSchemaDetails:"Schema-Details anzeigen",oneOf:"Eines von",anyOf:"Beliebiges von",allOf:"Alle von",not:"Nicht",unknownType:"unbekannter Typ",propertyCount:"Eigenschaften: {count}",headerCount:"Header: {count}",recursiveReference:"Rekursiver Verweis auf {name}",recursive:"rekursiv",additionalProperties:"zusätzliche Eigenschaften",const:"Konstante",deprecated:"veraltet",discriminator:"Diskriminator",enum:"enum",format:"Format",greaterThan:"gröÃer als",keys:"Schlüssel",lessThan:"kleiner als",max:"max.",min:"min.",maxLength:"max. Länge",minLength:"min. Länge",multipleOf:"Vielfaches von",nullable:"nullable",propertyNames:"Eigenschaftsnamen",pattern:"Muster",copyPattern:"Muster kopieren",readOnly:"nur lesbar",required:"erforderlich",hideValues:"Werte ausblenden",showAllValues:"Alle Werte anzeigen",type:"Typ",unique:"eindeutig",values:"Werte",writeOnly:"nur schreibbar"},download:{openapi:"OpenAPI-Dokument herunterladen",asyncapi:"AsyncAPI-Dokument herunterladen"},models:{label:"Modelle"},actions:{copyLink:"Link kopieren",copyLinkTo:"Link zu {name} kopieren",copyToClipboard:"Link in die Zwischenablage kopieren",copyEndpointUrl:"Endpoint-URL kopieren",showMore:"Mehr anzeigen"},agent:{askAi:"KI fragen",askAiAgent:"KI-Agent fragen",close:"Client schlieÃen"},mcp:{generate:"MCP generieren",connect:"MCP verbinden"},developerTools:{title:"Entwicklertools",configure:"Konfigurieren",share:"Teilen",deploy:"Bereitstellen",scalarConfiguration:"Scalar-Konfiguration",theme:"Theme",layout:"Layout",layoutOptions:"Layout-Optionen",
2intro:"Mit den Entwicklertools kannst du das Aussehen und Verhalten deiner Dokumentation anpassen. Du kannst deine Dokumentation auch über Scalar Registry teilen.",disableToolbarBefore:"Um die Toolbar zu deaktivieren, setze",disableToolbarAfter:"in deiner Konfiguration.",localhostOnly:"Die Entwicklertools werden nur angezeigt, wenn sie auf localhost ausgeführt werden.",layoutModern:"Modern",layoutClassic:"Klassisch",showSidebar:"Seitenleiste anzeigen",defaultOpenFirstTag:"Ersten Tag standardmäÃig öffnen",defaultOpenAllTags:"Alle Tags standardmäÃig öffnen",expandAll:"Alle {label} erweitern",expandAllResponses:"Alle Antworten erweitern",hideClientButton:"Client-Schaltfläche ausblenden",hideDarkModeToggle:"Dark-Mode-Umschalter ausblenden",hideModels:"{label} ausblenden",hideSearch:"Suche ausblenden",showOperationId:"Operation-ID anzeigen",hideTestRequestButton:"Test-Request-Schaltfläche ausblenden",scalarDocs:"Scalar Docs",deployDescription:"Veröffentliche deine Dokumentation auf Scalar, der modernen Dokumentationsplattform für deine API und alles Weitere.",shareTitle:"API Reference teilen",shareDescription:"Lade dein OpenAPI-Dokument hoch, um deine API Reference mit anderen zu teilen. So einfach wie ein Klick.",uploadDocument:"Dokument hochladen",temporaryLinkExpiration:"Dein Dokument wird nach 7 Tagen automatisch gelöscht.",deployOnScalar:"Auf Scalar veröffentlichen",deployFree:"Veröffentliche deine Dokumentation kostenlos.",additionalFeaturesMightRequire:"Zusätzliche Funktionen erfordern möglicherweise",generate:"Generieren",passwordProtection:"Passwortschutz",customDomains:"Eigene Domains",freeFormContent:"Freiform-Inhalte",cdnInfrastructure:"CDN-Infrastruktur",pullFromGitHub:"Von GitHub laden",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral-Linting",jsonSchemaHosting:"JSON-Schema-Hosting",askAi:"KI fragen",mcpServers:"MCP-Server",unableToExportDocument:"Aktives Dokument konnte nicht exportiert werden",unknownError:"Ein unbekannter Fehler ist aufgetreten"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Willkommen bei Scalar API References + Swagger Editor, einem kostenlosen Open-Source-Tool, das deine Swagger/OAS-Datei in schöne API References verwandelt.",showExample:"Beispiel anzeigen",uploadFile:"Datei hochladen",integrations:"INTEGRATIONEN",theming:"THEMES",features:"Funktionen",customize:"Anpassen",customizeDescription:"Nutze deine Typografie und Farbpaletten oder unsere Themes!",testing:"Testen",testingDescription:"Ein tief integrierter REST API Client (ebenfalls kostenlos und Open Source)",search:"Suche",searchDescription:"Vollständig integrierte Suche (mit fuse.js)",hosting:"Hosting",hostingDescription:"Kostenloses Subdomain-Hosting auf https://apidocumentation.com",openApiSwagger:"OpenAPI und Swagger",openApiSwaggerDescription:"Unterstützung für OpenAPI 3.1, OpenAPI 3.0 und Swagger 2.0",codeSamples:"Codebeispiele",codeSamplesDescription:"Codebeispiele, um deine API in den beliebtesten Sprachen zu präsentieren"},footer:{poweredByScalar:"Bereitgestellt von Scalar"},authentication:{title:"Authentifizierung",accepts:"Akzeptiert",allOf:"alle von:",authentication:"Authentifizierung",optional:"Authentifizierung optional",oneOf:"eines von:",required:"Authentifizierung erforderlich",requires:"Erfordert",scopes:"OAuth-Scopes"}},HK={common:{description:"Description",httpMethod:"HTTP Method",path:"Path",copyDefault:"Copy default value",copyExample:"Copy example value"},search:{label:"Search",inputLabel:"Enter search query",open:"Open Search",placeholder:"Search...",clear:"Clear Search",keyboardShortcut:"Keyboard Shortcut:",command:"Command",control:"Control",results:"Reference Search Results",navigate:"Navigate",select:"Select",instructions:"Press up arrow / down arrow to navigate, enter to select, type to filter results",entryHeading:"Heading",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag Group",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Close Group",closeMenu:"Close Menu",openGroup:"Open Group",openMenu:"Open Menu",operations:"Operations",endpoints:"{name} endpoints",showAllEndpoints:"Show all {name} endpoints",sidebarFor:"Sidebar for {name}",mainContent:"API documentation for {name}",collapsed:"Collapsed",webhooks:"Webhooks",channels:"Channels"},server:{label:"Server",select:"Select a server"},info:{termsOfService:"Terms of Service"},asyncapi:{servers:"Servers",protocols:"Protocols"},clientLibraries:{heading:"Client Libraries",more:"More",selectAll:"Select from all clients"},operation:{body:"Body",cookies:"Cookies",headers:"Headers",pathParameters:"Path Parameters",queryParameters:"Query Parameters",requestBody:"Request Body",responses:"Responses",testRequest:"Test Request",webhook:"Webhook",selectedContentType:"Selected Content Type",callbacks:"Callbacks"},response:{exampleResponses:"Example Responses",noBody:"No Body",showSchema:"Show Schema",status:"Status"},schema:{example:"Example",examples:"Examples",default:"Default",schema:"Schema",emptyObject:"Empty object",showAdditionalProperties:"Show additional properties",forName:"for {name}
2",showSchemaDetails:"Show Schema Details",oneOf:"One of",anyOf:"Any of",allOf:"All of",not:"Not",unknownType:"unknown type",propertyCount:"Properties: {count}",headerCount:"Headers: {count}",recursiveReference:"Recursive reference to {name}",recursive:"recursive",additionalProperties:"additional properties",const:"const",deprecated:"deprecated",discriminator:"Discriminator",enum:"enum",format:"Format",greaterThan:"greater than",keys:"keys",lessThan:"less than",max:"max",min:"min",maxLength:"max length",minLength:"min length",multipleOf:"multiple of",nullable:"nullable",propertyNames:"property names",pattern:"Pattern",copyPattern:"Copy pattern",readOnly:"read-only",required:"required",hideValues:"Hide values",showAllValues:"Show all values",type:"Type",unique:"unique",values:"values",writeOnly:"write-only"},download:{openapi:"Download OpenAPI Document",asyncapi:"Download AsyncAPI Document"},models:{label:"Models"},actions:{copyLink:"Copy link",copyLinkTo:"Copy link to {name}",copyToClipboard:"Copy link to clipboard",copyEndpointUrl:"Copy endpoint URL",showMore:"Show More"},agent:{askAi:"Ask AI",askAiAgent:"Ask AI Agent",close:"Close Client"},mcp:{generate:"Generate MCP",connect:"Connect MCP"},developerTools:{title:"Developer Tools",configure:"Configure",share:"Share",deploy:"Deploy",scalarConfiguration:"Scalar Configuration",theme:"Theme",layout:"Layout",layoutOptions:"Layout Options",intro:"The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry.",disableToolbarBefore:"To disable the toolbar, set",disableToolbarAfter:"in your configuration.",localhostOnly:"The developer tools will only appear when running on localhost.",layoutModern:"Modern",layoutClassic:"Classic",showSidebar:"Show Sidebar",defaultOpenFirstTag:"Default Open First Tag",defaultOpenAllTags:"Default Open All Tags",expandAll:"Expand All {label}",expandAllResponses:"Expand All Responses",hideClientButton:"Hide Client Button",hideDarkModeToggle:"Hide Dark Mode Toggle",hideModels:"Hide {label}",hideSearch:"Hide Search",showOperationId:"Show Operation ID",hideTestRequestButton:"Hide Test Request Button",scalarDocs:"Scalar Docs",deployDescription:"Deploy your documentation on Scalar, the modern documentation platform for your API and everything else.",shareTitle:"Share your API Reference",shareDescription:"Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button.",uploadDocument:"Upload Document",temporaryLinkExpiration:"Your document will automatically be deleted after 7 days.",deployOnScalar:"Deploy on Scalar",deployFree:"Deploy your documentation for free.",additionalFeaturesMightRequire:"Additional features might require",generate:"Generate",passwordProtection:"Password Protection",customDomains:"Custom Domains",freeFormContent:"Free-form content",cdnInfrastructure:"CDN Infrastructure",pullFromGitHub:"Pull from GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema Hosting",askAi:"Ask AI",mcpServers:"MCP Servers",unableToExportDocument:"Unable to export active document",unknownError:"An unknown error occurred"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references.",showExample:"Show Example",uploadFile:"Upload File",integrations:"INTEGRATIONS",theming:"THEMING",features:"Features",customize:"Customize",customizeDescription:"Bring your typography & color palettes, or use our themes!",testing:"Testing",testingDescription:"A deeply integrated Rest API Client (Also Free & Open-Source)",search:"Search",searchDescription:"Fully integrated Search (Using fuse.js)",hosting:"Hosting",hostingDescription:"Free subdomain hosting on https://apidocumentation.com",openApiSwagger:"OpenAPI & Swagger",openApiSwaggerDescription:"Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0",codeSamples:"Code Samples",codeSamplesDescription:"Code samples to show off your API in most popular languages"},footer:{poweredByScalar:"Powered by Scalar"},authentication:{title:"Authentication",accepts:"Accepts",allOf:"all of:",authentication:"authentication",optional:"Auth Optional",oneOf:"one of:",required:"Auth Required",requires:"Requires",scopes:"OAuth scopes"}},VK={common:{description:"Descripción",httpMethod:"Método HTTP",path:"Ruta",copyDefault:"Copiar valor por defecto",copyExample:"Copiar valor de ejemplo"},search:{label:"Buscar",inputLabel:"Introduce tu consulta de búsqueda",open:"Abrir búsqueda",placeholder:"Buscar...",clear:"Borrar búsqueda",keyboardShortcut:"Atajo de teclado:",command:"Comando",control:"Control",results:"Resultados de búsqueda de la referencia",navigate:"Navegar",select:"Seleccionar",instructions:"Pulsa flecha arriba o abajo para navegar, Enter para seleccionar y escribe para filtrar resultados",entryHeading:"Encabezado",entryOperation:"Operación",entryTag:"Etiqueta",entryTagGroup:"Grupo de etiquetas",entryWebhook:"Webhook"},navigation:{introduction:"Introducción",closeGroup:"Cerrar grupo",closeMenu:"Cerrar menú",openGroup:"Abrir grupo",openMenu:"Abrir menú",operations:"Operaciones",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos los endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentación de la API de {name}",collapsed:"ContraÃdo",webhooks:"Webhooks",channels:"Canales"},server:{label:"Servidor",select:"Seleccionar un servidor"},info:{termsOfService:"Términos del servicio"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas cliente",more:"Más",selectAll:"Seleccionar entre todos los clientes"},operation:{body:"Cuerpo",cookies:"Cookies",headers:"Encabezados",pathParameters:"Parámetros de ruta",queryParameters:"Parámetros de consulta",requestBody:"Cuerpo de la solicitud",responses:"Respuestas",testRequest:"Probar solicitud",webhook:"Webhook",selectedContentType:"Tipo de contenido seleccionado",callbacks:"Callbacks"},response:{exampleResponses:"Ejemplos de respuesta",noBody:"Sin cuerpo",showSchema:"Mostrar esquema",status:"Estado"},schema:{example:"Ejemplo",examples:"Ejemplos",default:"Predeterminado",schema:"Esquema",emptyObject:"Objeto vacÃo",showAdditionalProperties:"Mostrar propiedades adicionales",forName:"para {name}
2",showSchemaDetails:"Mostrar detalles del esquema",oneOf:"Uno de",anyOf:"Cualquiera de",allOf:"Todos de",not:"No",unknownType:"tipo desconocido",propertyCount:"Propiedades: {count}",headerCount:"Encabezados: {count}",recursiveReference:"Referencia recursiva a {name}",recursive:"recursivo",additionalProperties:"propiedades adicionales",const:"constante",deprecated:"obsoleto",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"mayor que",keys:"claves",lessThan:"menor que",max:"máx.",min:"mÃn.",maxLength:"longitud máx.",minLength:"longitud mÃn.",multipleOf:"múltiplo de",nullable:"admite null",propertyNames:"nombres de propiedades",pattern:"Patrón",copyPattern:"Copiar patrón",readOnly:"solo lectura",required:"obligatorio",hideValues:"Ocultar valores",showAllValues:"Mostrar todos los valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"solo escritura"},download:{openapi:"Descargar documento OpenAPI",asyncapi:"Descargar documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar enlace",copyLinkTo:"Copiar enlace a {name}",copyToClipboard:"Copiar enlace al portapapeles",copyEndpointUrl:"Copiar URL del endpoint",showMore:"Mostrar más"},agent:{askAi:"Preguntar a IA",askAiAgent:"Preguntar al agente de IA",close:"Cerrar cliente"},mcp:{generate:"Generar MCP",connect:"Conectar MCP"},developerTools:{title:"Herramientas de desarrollo",configure:"Configurar",share:"Compartir",deploy:"Desplegar",scalarConfiguration:"Configuración de Scalar",theme:"Tema",layout:"Diseño",layoutOptions:"Opciones de diseño",intro:"Las herramientas de desarrollo te permiten personalizar la apariencia y el comportamiento de tu documentación. También puedes compartir tu documentación con Scalar Registry.",disableToolbarBefore:"Para desactivar la barra de herramientas, configura",disableToolbarAfter:"en tu configuración.",localhostOnly:"Las herramientas de desarrollo solo aparecerán al ejecutarse en localhost.",layoutModern:"Moderno",layoutClassic:"Clásico",showSidebar:"Mostrar barra lateral",defaultOpenFirstTag:"Abrir la primera etiqueta por defecto",defaultOpenAllTags:"Abrir todas las etiquetas por defecto",expandAll:"Expandir todo {label}",expandAllResponses:"Expandir todas las respuestas",hideClientButton:"Ocultar botón del cliente",hideDarkModeToggle:"Ocultar selector de modo oscuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar búsqueda",showOperationId:"Mostrar ID de operación",hideTestRequestButton:"Ocultar botón de solicitud de prueba",scalarDocs:"Scalar Docs",deployDescription:"Despliega tu documentación en Scalar, la plataforma moderna de documentación para tu API y mucho más.",shareTitle:"Comparte tu API Reference",shareDescription:"Sube tu documento OpenAPI para compartir tu API Reference con otras personas. Tan fácil como pulsar un botón.",uploadDocument:"Subir documento",temporaryLinkExpiration:"Tu documento se eliminará automáticamente después de 7 dÃas.",deployOnScalar:"Desplegar en Scalar",deployFree:"Despliega tu documentación gratis.",additionalFeaturesMightRequire:"Las funciones adicionales pueden requerir",generate:"Generar",passwordProtection:"Protección con contraseña",customDomains:"Dominios personalizados",freeFormContent:"Contenido libre",cdnInfrastructure:"Infraestructura CDN",pullFromGitHub:"Importar desde GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting de Spectral",jsonSchemaHosting:"Alojamiento de JSON Schema",askAi:"Preguntar a IA",mcpServers:"Servidores MCP",unableToExportDocument:"No se pudo exportar el documento activo",unknownError:"Se produjo un error desconocido"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenido a Scalar API References + Swagger Editor, una herramienta gratuita y de código abierto que toma tu archivo Swagger/OAS y genera API References elegantes.",showExample:"Mostrar ejemplo",uploadFile:"Subir archivo",integrations:"INTEGRACIONES",theming:"TEMAS",features:"Funciones",customize:"Personalizar",customizeDescription:"Usa tu tipografÃa y paletas de colores, o nuestros temas.",testing:"Pruebas",testingDescription:"Un REST API Client profundamente integrado (también gratuito y de código abierto)",search:"Búsqueda",searchDescription:"Búsqueda completamente integrada (con fuse.js)",hosting:"Hosting",hostingDescription:"Hosting gratuito en un subdominio de https://apidocumentation.com",openApiSwagger:"OpenAPI y Swagger",openApiSwaggerDescription:"Compatibilidad con OpenAPI 3.1, OpenAPI 3.0 y Swagger 2.0",codeSamples:"Ejemplos de código",codeSamplesDescription:"Ejemplos de código para mostrar tu API en los lenguajes más populares"},footer:{poweredByScalar:"Desarrollado por Scalar"},authentication:{title:"Autenticación",accepts:"Acepta",allOf:"todo lo siguiente:",authentication:"autenticación",optional:"Autenticación opcional",oneOf:"uno de:",required:"Autenticación requerida",requires:"Requiere",scopes:"Ãmbitos de OAuth"}},qK={common:{description:"Description",httpMethod:"Méthode HTTP",path:"Chemin",copyDefault:"Copier la valeur par défaut",copyExample:"Copier la valeur dâexemple"},search:{label:"Rechercher",inputLabel:"Saisissez votre recherche",open:"Ouvrir la recherche",placeholder:"Rechercher...",clear:"Effacer la recherche",keyboardShortcut:"Raccourci clavier :",command:"Commande",control:"Contrôle",results:"Résultats de recherche de la référence",navigate:"Naviguer",select:"Sélectionner",instructions:"Appuyez sur flèche haut ou bas pour naviguer, Entrée pour sélectionner, saisissez du texte pour filtrer les résultats",entryHeading:"Titre",entryOperation:"Opération",entryTag:"Balise",entryTagGroup:"Groupe de balises",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Fermer le groupe",closeMenu:"Fermer le menu",openGroup:"Ouvrir le groupe",openMenu:"Ouvrir le menu",operations:"Opérations",endpoints:"Endpoints de {name}",showAllEndpoints:"Afficher tous les endpoints de {name}",sidebarFor:"Barre latérale pour {name}",mainContent:"Documentation de lâAPI pour {name}",collapsed:"Réduit",webhooks:"Webhooks",channels:"Canaux"},server:{label:"Serveur",select:"Sélectionner un serveur"},info:{termsOfService:"Conditions dâutilisation"},asyncapi:{servers:"Serveurs",protocols:"Protocoles"},clientLibraries:{heading:"Bibliothèques clientes",more:"Plus",selectAll:"Sélectionner parmi tous les clients"},operation:{body:"Corps",cookies:"Cookies",headers:"En-têtes",pathParameters:"Paramètres de chemin",queryParameters:"Paramètres de requête",requestBody:"Corps de la requête",responses:"Réponses",testRequest:"Tester la requête",webhook:"Webhook",selectedContentType:"Type de contenu sélectionné",callbacks:"Callbacks"},response:{exampleResponses:"Exemples de réponses",noBody:"Aucun corps",showSchema:"Afficher le schéma",status:"Statut"},schema:{example:"Exemple",examples:"Exemples",default:"Par défaut",schema:"Schéma",emptyObject:"Objet vide",showAdditionalProperties:"Afficher les propriétés supplémentaires",forName:"pour {name}
2",showSchemaDetails:"Afficher les détails du schéma",oneOf:"Un parmi",anyOf:"Nâimporte lequel parmi",allOf:"Tous parmi",not:"Non",unknownType:"type inconnu",propertyCount:"Propriétés : {count}",headerCount:"En-têtes : {count}",recursiveReference:"Référence récursive vers {name}",recursive:"récursif",additionalProperties:"propriétés supplémentaires",const:"constante",deprecated:"obsolète",discriminator:"Discriminateur",enum:"enum",format:"Format",greaterThan:"supérieur à ",keys:"clés",lessThan:"inférieur à ",max:"max.",min:"min.",maxLength:"longueur max.",minLength:"longueur min.",multipleOf:"multiple de",nullable:"nullable",propertyNames:"noms des propriétés",pattern:"Motif",copyPattern:"Copier le motif",readOnly:"lecture seule",required:"obligatoire",hideValues:"Masquer les valeurs",showAllValues:"Afficher toutes les valeurs",type:"Type",unique:"unique",values:"valeurs",writeOnly:"écriture seule"},download:{openapi:"Télécharger le document OpenAPI",asyncapi:"Télécharger le document AsyncAPI"},models:{label:"Modèles"},actions:{copyLink:"Copier le lien",copyLinkTo:"Copier le lien vers {name}",copyToClipboard:"Copier le lien dans le presse-papiers",copyEndpointUrl:"Copier lâURL de lâendpoint",showMore:"Afficher plus"},agent:{askAi:"Demander à lâIA",askAiAgent:"Demander à lâagent IA",close:"Fermer le client"},mcp:{generate:"Générer MCP",connect:"Connecter MCP"},developerTools:{title:"Outils de développement",configure:"Configurer",share:"Partager",deploy:"Déployer",scalarConfiguration:"Configuration Scalar",theme:"Thème",layout:"Mise en page",layoutOptions:"Options de mise en page",intro:"Les outils de développement vous permettent de personnaliser lâapparence et le comportement de votre documentation. Vous pouvez aussi partager votre documentation avec Scalar Registry.",disableToolbarBefore:"Pour désactiver la barre dâoutils, définissez",disableToolbarAfter:"dans votre configuration.",localhostOnly:"Les outils de développement apparaissent uniquement lors dâune exécution sur localhost.",layoutModern:"Moderne",layoutClassic:"Classique",showSidebar:"Afficher la barre latérale",defaultOpenFirstTag:"Ouvrir le premier tag par défaut",defaultOpenAllTags:"Ouvrir tous les tags par défaut",expandAll:"Tout développer pour {label}",expandAllResponses:"Développer toutes les réponses",hideClientButton:"Masquer le bouton client",hideDarkModeToggle:"Masquer le sélecteur de mode sombre",hideModels:"Masquer {label}",hideSearch:"Masquer la recherche",showOperationId:"Afficher lâID dâopération",hideTestRequestButton:"Masquer le bouton de requête de test",scalarDocs:"Scalar Docs",deployDescription:"Déployez votre documentation sur Scalar, la plateforme moderne de documentation pour votre API et bien plus encore.",shareTitle:"Partager votre API Reference",shareDescription:"Téléversez votre document OpenAPI pour partager votre API Reference avec dâautres personnes. Aussi simple quâun clic.",uploadDocument:"Téléverser le document",temporaryLinkExpiration:"Votre document sera automatiquement supprimé après 7 jours.",deployOnScalar:"Déployer sur Scalar",deployFree:"Déployez votre documentation gratuitement.",additionalFeaturesMightRequire:"Les fonctionnalités supplémentaires peuvent nécessiter",generate:"Générer",passwordProtection:"Protection par mot de passe",customDomains:"Domaines personnalisés",freeFormContent:"Contenu libre",cdnInfrastructure:"Infrastructure CDN",pullFromGitHub:"Import depuis GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting Spectral",jsonSchemaHosting:"Hébergement JSON Schema",askAi:"Demander à lâIA",mcpServers:"Serveurs MCP",unableToExportDocument:"Impossible dâexporter le document actif",unknownError:"Une erreur inconnue est survenue"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenue dans Scalar API References + Swagger Editor, un outil gratuit et open source qui transforme votre fichier Swagger/OAS en belles API References.",showExample:"Afficher lâexemple",uploadFile:"Téléverser un fichier",integrations:"INTÃGRATIONS",theming:"THÃMES",features:"Fonctionnalités",customize:"Personnaliser",customizeDescription:"Utilisez votre typographie et vos palettes de couleurs, ou nos thèmes !",testing:"Tests",testingDescription:"Un REST API Client profondément intégré (également gratuit et open source)",search:"Recherche",searchDescription:"Recherche entièrement intégrée (avec fuse.js)",hosting:"Hébergement",hostingDescription:"Hébergement gratuit sur un s
2ous-domaine de https://apidocumentation.com",openApiSwagger:"OpenAPI et Swagger",openApiSwaggerDescription:"Prise en charge dâOpenAPI 3.1, OpenAPI 3.0 et Swagger 2.0",codeSamples:"Exemples de code",codeSamplesDescription:"Des exemples de code pour présenter votre API dans les langages les plus populaires"},footer:{poweredByScalar:"Propulsé par Scalar"},authentication:{title:"Authentification",accepts:"Accepte",allOf:"tous les éléments :",authentication:"authentification",optional:"Authentification optionnelle",oneOf:"lâun des éléments :",required:"Authentification requise",requires:"Requiert",scopes:"Portées OAuth"}},ZK={common:{description:"Descrição",httpMethod:"Método HTTP",path:"Caminho",copyDefault:"Copiar valor padrão",copyExample:"Copiar valor de exemplo"},search:{label:"Buscar",inputLabel:"Digite o termo de busca",open:"Abrir Busca",placeholder:"Buscar...",clear:"Limpar Busca",keyboardShortcut:"Atalho de Teclado:",command:"Command",control:"Control",results:"Resultados da Busca de Referência",navigate:"Navegar",select:"Selecionar",instructions:"Pressione seta para cima / seta para baixo para navegar, enter para selecionar, digite para filtrar resultados",entryHeading:"TÃtulo",entryOperation:"Operação",entryTag:"Tag",entryTagGroup:"Grupo de Tags",entryWebhook:"Webhook"},navigation:{introduction:"Introdução",closeGroup:"Fechar Grupo",closeMenu:"Fechar Menu",openGroup:"Abrir Grupo",openMenu:"Abrir Menu",operations:"Operações",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos os endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentação da API para {name}",collapsed:"Recolhido",webhooks:"Webhooks",channels:"Canais"},server:{label:"Servidor",select:"Selecione um servidor"},info:{termsOfService:"Termos de Serviço"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas Cliente",more:"Mais",selectAll:"Selecionar de todos os clientes"},operation:{body:"Corpo",cookies:"Cookies",headers:"Cabeçalhos",pathParameters:"Parâmetros de Caminho",queryParameters:"Parâmetros de Consulta",requestBody:"Corpo da Requisição",responses:"Respostas",testRequest:"Testar Requisição",webhook:"Webhook",selectedContentType:"Tipo de Conteúdo Selecionado",callbacks:"Callbacks"},response:{exampleResponses:"Exemplos de Respostas",noBody:"Sem Corpo",showSchema:"Mostrar Schema",status:"Status"},schema:{example:"Exemplo",examples:"Exemplos",default:"Padrão",schema:"Schema",emptyObject:"Objeto vazio",showAdditionalProperties:"Mostrar propriedades adicionais",forName:"para {name}",showSchemaDetails:"Mostrar Detalhes do Schema",oneOf:"Um de",anyOf:"Qualquer um de",allOf:"Todos de",not:"Não",unknownType:"tipo desconhecido",propertyCount:"Propriedades: {count}",headerCount:"Cabeçalhos: {count}",recursiveReference:"Referência recursiva a {name}",recursive:"recursivo",additionalProperties:"propriedades adicionais",const:"const",deprecated:"obsoleto",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"maior que",keys:"chaves",lessThan:"menor que",max:"máx",min:"mÃn",maxLength:"tamanho máximo",minLength:"tamanho mÃnimo",multipleOf:"múltiplo de",nullable:"aceita nulo",propertyNames:"nomes de propriedades",pattern:"Padrão",copyPattern:"Copiar padrão",readOnly:"somente leitura",required:"obrigatório",hideValues:"Ocultar valores",showAllValues:"Mostrar todos os valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"somente escrita"},download:{openapi:"Baixar Documento OpenAPI",asyncapi:"Baixar Documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar link",copyLinkTo:"Copiar link para {name}",copyToClipboard:"Copiar link para a área de transferência",copyEndpointUrl:"Copiar URL do endpoint",showMore:"Mostrar Mais"},agent:{askAi:"Perguntar à IA",askAiAgent:"Perguntar ao Agente de IA",close:"Fechar Cliente"},mcp:{generate:"Gerar MCP",connect:"Conectar MCP"},developerTools:{title:"Ferramentas de Desenvolvedor",configure:"Configurar",share:"Compartilhar",deploy:"Implantar",scalarConfiguration:"Configuração do Scalar",theme:"Tema",layout:"Layout",layoutOptions:"Opções de Layout",intro:"As ferramentas de desenvolvedor permitem personalizar a aparência e o comportamento da sua documentação. Você também pode compartilhar sua documentação usando o Scalar Registry.",disableToolbarBefore:"Para desativar a barra de ferramentas, defina",disableToolbarAfter:"na sua configuração.",localhostOnly:"As ferramentas de desenvolvedor só aparecerão ao rodar em localhost.",layoutModern:"Moderno",layoutClassic:"Clássico",showSidebar:"Mostrar Barra Lateral",defaultOpenFirstTag:"Abrir Primeira Tag por Padrão",defaultOpenAllTags:"Abrir Todas as Tags por Padrão",expandAll:"Expandir Todos {label}",expandAllResponses:"Expandir Todas as Respostas",hideClientButton:"Ocultar Botão do Cliente",hideDarkModeToggle:"Ocultar Alternador de Modo Escuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar Busca",showOperationId:"Mostrar ID da Operação",hideTestRequestButton:"Ocultar Botão de Testar Requisição",scalarDocs:"Documentação do Scalar",deployDescription:"Implante sua documentação no Scalar, a plataforma de documentação moderna para sua API e tudo mais.",shareTitle:"Compartilhe sua Referência de API",shareDescription:"Envie seu documento OpenAPI para compartilhar sua Referência de API com outras pessoas. Tão fácil quanto apertar um botão.",uploadDocument:"Enviar Documento",temporaryLinkExpiration:"Seu documento será excluÃdo automaticamente após 7 dias.",deployOnScalar:"Implantar no Scalar",deployFree:"Implante sua documentação gratuitamente.",additionalFeaturesMightRequire:"Recursos adicionais podem exigir",generate:"Gerar",passwordProtection:"Proteção por Senha",customDomains:"DomÃnios Personalizados",freeFormContent:"Conteúdo de formato livre",cdnInfrastru
2cture:"Infraestrutura de CDN",pullFromGitHub:"Importar do GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting com Spectral",jsonSchemaHosting:"Hospedagem de JSON Schema",askAi:"Perguntar à IA",mcpServers:"Servidores MCP",unableToExportDocument:"Não foi possÃvel exportar o documento ativo",unknownError:"Ocorreu um erro desconhecido"},gettingStarted:{swaggerEditor:"Editor Swagger",description:"Bem-vindo à s Referências de API Scalar + Editor Swagger, uma ferramenta gratuita e de código aberto que transforma seu arquivo Swagger/OAS em belas referências de API.",showExample:"Mostrar Exemplo",uploadFile:"Enviar Arquivo",integrations:"INTEGRAÃÃES",theming:"TEMAS",features:"Recursos",customize:"Personalizar",customizeDescription:"Traga sua tipografia e paletas de cores, ou use nossos temas!",testing:"Testes",testingDescription:"Um Cliente de API REST profundamente integrado (Também gratuito e de código aberto)",search:"Busca",searchDescription:"Busca totalmente integrada (usando fuse.js)",hosting:"Hospedagem",hostingDescription:"Hospedagem gratuita de subdomÃnio em https://apidocumentation.com",openApiSwagger:"OpenAPI e Swagger",openApiSwaggerDescription:"Suporte para OpenAPI 3.1, OpenAPI 3.0 e Swagger 2.0",codeSamples:"Exemplos de Código",codeSamplesDescription:"Exemplos de código para mostrar sua API nas linguagens mais populares"},footer:{poweredByScalar:"Desenvolvido com Scalar"},authentication:{title:"Autenticação",accepts:"Aceita",allOf:"todos de:",authentication:"autenticação",optional:"Autenticação Opcional",oneOf:"um de:",required:"Autenticação Obrigatória",requires:"Requer",scopes:"Escopos OAuth"}},XK={common:{description:"ÐпиÑание",httpMethod:"HTTP-меÑод",path:"ÐÑÑÑ",copyDefault:"СкопиÑоваÑÑ Ð·Ð½Ð°Ñение по ÑмолÑаниÑ",copyExample:"СкопиÑоваÑÑ Ð¿ÑÐ¸Ð¼ÐµÑ Ð·Ð½Ð°ÑениÑ"},search:{label:"ÐоиÑк",inputLabel:"ÐведиÑе поиÑковÑй запÑоÑ",open:"ÐÑкÑÑÑÑ Ð¿Ð¾Ð¸Ñк",placeholder:"ÐоиÑк...",clear:"ÐÑиÑÑиÑÑ Ð¿Ð¾Ð¸Ñк",keyboardShortcut:"СоÑеÑание клавиÑ:",command:"Command",control:"Control",results:"РезÑлÑÑаÑÑ Ð¿Ð¾Ð¸Ñка по докÑменÑаÑии",navigate:"ÐавигаÑиÑ",select:"ÐÑбÑаÑÑ",instructions:"ÐажмиÑе ÑÑÑÐµÐ»ÐºÑ Ð²Ð²ÐµÑÑ
или вниз Ð´Ð»Ñ Ð½Ð°Ð²Ð¸Ð³Ð°Ñии, Enter Ð´Ð»Ñ Ð²ÑбоÑа, вводиÑе ÑекÑÑ Ð´Ð»Ñ ÑилÑÑÑаÑии ÑезÑлÑÑаÑов",entryHeading:"Ðаголовок",entryOperation:"ÐпеÑаÑиÑ",entryTag:"Тег",entryTagGroup:"ÐÑÑппа Ñегов",entryWebhook:"ÐебÑ
Ñк"},navigation:{introduction:"Ðведение",closeGroup:"ÐакÑÑÑÑ Ð³ÑÑппÑ",closeMenu:"ÐакÑÑÑÑ Ð¼ÐµÐ½Ñ",openGroup:"ÐÑкÑÑÑÑ Ð³ÑÑппÑ",openMenu:"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ",operations:"ÐпеÑаÑии",endpoints:"ÐндпоинÑÑ {name}",showAllEndpoints:"ÐоказаÑÑ Ð²Ñе ÑндпоинÑÑ {name}",sidebarFor:"ÐÐ¾ÐºÐ¾Ð²Ð°Ñ Ð¿Ð°Ð½ÐµÐ»Ñ Ð´Ð»Ñ {name}",mainContent:"ÐокÑменÑаÑÐ¸Ñ API Ð´Ð»Ñ {name}",collapsed:"СвеÑнÑÑо",webhooks:"ÐебÑ
Ñки",channels:"ÐаналÑ"},server:{label:"СеÑвеÑ",select:"ÐÑбеÑиÑе ÑеÑвеÑ"},info:{termsOfService:"УÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑзованиÑ"},asyncapi:{servers:"СеÑвеÑÑ",protocols:"ÐÑоÑоколÑ"},clientLibraries:{heading:"ÐлиенÑÑкие библиоÑеки",more:"ÐÑÑ",selectAll:"ÐÑбÑаÑÑ Ð¸Ð· вÑеÑ
клиенÑов"},operation:{body:"Тело",cookies:"Cookie",headers:"Ðаголовки",pathParameters:"ÐаÑамеÑÑÑ Ð¿ÑÑи",queryParameters:"Query-паÑамеÑÑÑ",requestBody:"Тело запÑоÑа",responses:"ÐÑвеÑÑ",testRequest:"ÐÑовеÑиÑÑ Ð·Ð°Ð¿ÑоÑ",webhook:"ÐебÑ
Ñк",selectedContentType:"ÐÑбÑаннÑй Ñип ÑодеÑжимого",callbacks:"ÐбÑаÑнÑе вÑзовÑ"},response:{exampleResponses:"ÐÑимеÑÑ Ð¾ÑвеÑов",noBody:"ÐÐµÑ Ñела",showSchema:"ÐоказаÑÑ ÑÑ
емÑ",status:"СÑаÑÑÑ"},schema:{example:"ÐÑимеÑ",examples:"ÐÑимеÑÑ",default:"ÐнаÑение по ÑмолÑаниÑ",schema:"СÑ
ема",emptyObject:"ÐÑÑÑой обÑекÑ",showAdditionalProperties:"ÐоказаÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑе ÑвойÑÑва",forName:"Ð´Ð»Ñ {name}
2",showSchemaDetails:"ÐоказаÑÑ Ð´ÐµÑали ÑÑ
емÑ",oneOf:"Ðдин из",anyOf:"ÐÑбой из",allOf:"ÐÑе из",not:"Ðе",unknownType:"неизвеÑÑнÑй Ñип",propertyCount:"СвойÑÑва: {count}",headerCount:"Ðаголовки: {count}",recursiveReference:"РекÑÑÑÐ¸Ð²Ð½Ð°Ñ ÑÑÑлка на {name}",recursive:"ÑекÑÑÑивно",additionalProperties:"дополниÑелÑнÑе ÑвойÑÑва",const:"конÑÑанÑа",deprecated:"ÑÑÑаÑело",discriminator:"ÐиÑкÑиминаÑоÑ",enum:"enum",format:"ФоÑмаÑ",greaterThan:"болÑÑе Ñем",keys:"клÑÑи",lessThan:"менÑÑе Ñем",max:"макÑ.",min:"мин.",maxLength:"макÑ. длина",minLength:"мин. длина",multipleOf:"кÑаÑно",nullable:"Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ null",propertyNames:"имена ÑвойÑÑв",pattern:"Шаблон",copyPattern:"СкопиÑоваÑÑ Ñаблон",readOnly:"ÑолÑко ÑÑение",required:"обÑзаÑелÑно",hideValues:"СкÑÑÑÑ Ð·Ð½Ð°ÑениÑ",showAllValues:"ÐоказаÑÑ Ð²Ñе знаÑениÑ",type:"Тип",unique:"ÑникалÑно",values:"знаÑениÑ",writeOnly:"ÑолÑко запиÑÑ"},download:{openapi:"СкаÑаÑÑ OpenAPI-докÑменÑ",asyncapi:"СкаÑаÑÑ AsyncAPI-докÑменÑ"},models:{label:"Ðодели"},actions:{copyLink:"СкопиÑоваÑÑ ÑÑÑлкÑ",copyLinkTo:"СкопиÑоваÑÑ ÑÑÑÐ»ÐºÑ Ð½Ð° {name}",copyToClipboard:"СкопиÑоваÑÑ ÑÑÑÐ»ÐºÑ Ð² бÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°",copyEndpointUrl:"СкопиÑоваÑÑ URL endpoint-а",showMore:"ÐоказаÑÑ ÐµÑÑ"},agent:{askAi:"СпÑоÑиÑÑ AI",askAiAgent:"СпÑоÑиÑÑ AI-агенÑа",close:"ÐакÑÑÑÑ ÐºÐ»Ð¸ÐµÐ½Ñ"},mcp:{generate:"СоздаÑÑ MCP",connect:"ÐодклÑÑиÑÑ MCP"},developerTools:{title:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика",configure:"ÐаÑÑÑоиÑÑ",share:"ÐоделиÑÑÑÑ",deploy:"ÐпÑбликоваÑÑ",scalarConfiguration:"ÐонÑигÑÑаÑÐ¸Ñ Scalar",theme:"Тема",layout:"ÐакеÑ",layoutOptions:"ÐаÑамеÑÑÑ Ð¼Ð°ÐºÐµÑа",intro:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика позволÑÑÑ Ð½Ð°ÑÑÑоиÑÑ Ð²Ð½ÐµÑний вид и поведение докÑменÑаÑии. Также можно поделиÑÑÑÑ Ð´Ð¾ÐºÑменÑаÑией ÑеÑез Scalar Registry.",disableToolbarBefore:"ЧÑÐ¾Ð±Ñ Ð¾ÑклÑÑиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ, ÑÑÑановиÑе",disableToolbarAfter:"в конÑигÑÑаÑии.",localhostOnly:"ÐнÑÑÑÑменÑÑ ÑазÑабоÑÑика оÑобÑажаÑÑÑÑ ÑолÑко пÑи запÑÑке на localhost.",layoutModern:"СовÑеменнÑй",layoutClassic:"ÐлаÑÑиÑеÑкий",showSidebar:"ÐоказаÑÑ Ð±Ð¾ÐºÐ¾Ð²ÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ",defaultOpenFirstTag:"ÐÑкÑÑваÑÑ Ð¿ÐµÑвÑй Ñег по ÑмолÑаниÑ",defaultOpenAllTags:"ÐÑкÑÑваÑÑ Ð²Ñе Ñеги по ÑмолÑаниÑ",expandAll:"РазвеÑнÑÑÑ Ð²Ñе {label}",expandAllResponses:"РазвеÑнÑÑÑ Ð²Ñе оÑвеÑÑ",hideClientButton:"СкÑÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ ÐºÐ»Ð¸ÐµÐ½Ñа",hideDarkModeToggle:"СкÑÑÑÑ Ð¿ÐµÑеклÑÑаÑÐµÐ»Ñ ÑÑмной ÑемÑ",hideModels:"СкÑÑÑÑ {label}",hideSearch:"СкÑÑÑÑ Ð¿Ð¾Ð¸Ñк",showOperationId:"ÐоказаÑÑ ID опеÑаÑии",hideTestRequestButton:"СкÑÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ ÑеÑÑового запÑоÑа",scalarDocs:"Scalar Docs",deployDescription:"ÐпÑбликÑйÑе докÑменÑаÑÐ¸Ñ Ð½Ð° Scalar â ÑовÑеменной плаÑÑоÑме докÑменÑаÑии Ð´Ð»Ñ Ð²Ð°Ñего API и не ÑолÑко.",shareTitle:"ÐоделиÑÑÑÑ API Reference",shareDescription:"ÐагÑÑзиÑе докÑÐ¼ÐµÐ½Ñ OpenAPI, ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð´ÐµÐ»Ð¸ÑÑÑÑ API Reference Ñ Ð´ÑÑгими. Так же пÑоÑÑо, как нажаÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ.",uploadDocument:"ÐагÑÑзиÑÑ Ð´Ð¾ÐºÑменÑ",temporaryLinkExpiration:"ÐокÑÐ¼ÐµÐ½Ñ Ð±ÑÐ´ÐµÑ Ð°Ð²ÑомаÑиÑеÑки ÑдалÑн ÑеÑез 7 дней.",deployOnScalar:"ÐпÑбликоваÑÑ Ð½Ð° Scalar",deployFree:"ÐпÑбликÑйÑе док
2ÑменÑаÑÐ¸Ñ Ð±ÐµÑплаÑно.",additionalFeaturesMightRequire:"ÐÐ»Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑÑ
возможноÑÑей Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾ÑÑебоваÑÑÑÑ",generate:"СоздаÑÑ",passwordProtection:"ÐаÑиÑа паÑолем",customDomains:"ÐолÑзоваÑелÑÑкие доменÑ",freeFormContent:"ÐÑоизволÑнÑй конÑенÑ",cdnInfrastructure:"CDN-инÑÑаÑÑÑÑкÑÑÑа",pullFromGitHub:"ÐагÑÑзка из GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"ÐинÑинг Spectral",jsonSchemaHosting:"ХоÑÑинг JSON Schema",askAi:"СпÑоÑиÑÑ AI",mcpServers:"MCP-ÑеÑвеÑÑ",unableToExportDocument:"Ðе ÑдалоÑÑ ÑкÑпоÑÑиÑоваÑÑ Ð°ÐºÑивнÑй докÑменÑ",unknownError:"ÐÑоизоÑла неизвеÑÑÐ½Ð°Ñ Ð¾Ñибка"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"ÐобÑо пожаловаÑÑ Ð² Scalar API References + Swagger Editor â беÑплаÑнÑй инÑÑÑÑÐ¼ÐµÐ½Ñ Ñ Ð¾ÑкÑÑÑÑм иÑÑ
однÑм кодом, коÑоÑÑй пÑÐ¸Ð½Ð¸Ð¼Ð°ÐµÑ Ñайл Swagger/OAS и ÑоздаÑÑ ÐºÑаÑивÑе API Reference.",showExample:"ÐоказаÑÑ Ð¿ÑимеÑ",uploadFile:"ÐагÑÑзиÑÑ Ñайл",integrations:"ÐÐТÐÐÐ ÐЦÐÐ",theming:"ТÐÐЫ",features:"ÐозможноÑÑи",customize:"ÐаÑÑÑойка",customizeDescription:"ÐÑполÑзÑйÑе ÑÐ²Ð¾Ñ ÑипогÑаÑÐ¸ÐºÑ Ð¸ ÑвеÑовÑе палиÑÑÑ Ð¸Ð»Ð¸ наÑи ÑемÑ!",testing:"ТеÑÑиÑование",testingDescription:"ÐлÑбоко инÑегÑиÑованнÑй REST API Client (Ñоже беÑплаÑнÑй и Ñ Ð¾ÑкÑÑÑÑм иÑÑ
однÑм кодом)",search:"ÐоиÑк",searchDescription:"ÐолноÑÑÑÑ Ð¸Ð½ÑегÑиÑованнÑй поиÑк (Ñ Ð¸ÑполÑзованием fuse.js)",hosting:"ХоÑÑинг",hostingDescription:"ÐеÑплаÑнÑй Ñ
оÑÑинг на поддомене https://apidocumentation.com",openApiSwagger:"OpenAPI и Swagger",openApiSwaggerDescription:"ÐоддеÑжка OpenAPI 3.1, OpenAPI 3.0 и Swagger 2.0",codeSamples:"ÐÑимеÑÑ ÐºÐ¾Ð´Ð°",codeSamplesDescription:"ÐÑимеÑÑ ÐºÐ¾Ð´Ð° Ð´Ð»Ñ Ð´ÐµÐ¼Ð¾Ð½ÑÑÑаÑии ваÑего API на ÑамÑÑ
попÑлÑÑнÑÑ
ÑзÑкаÑ
"},footer:{poweredByScalar:"РабоÑÐ°ÐµÑ Ð½Ð° Scalar"},authentication:{title:"ÐÑÑенÑиÑикаÑиÑ",accepts:"ÐÑинимаеÑ",allOf:"вÑе из:",authentication:"аÑÑенÑиÑикаÑиÑ",optional:"ÐÑÑенÑиÑикаÑÐ¸Ñ Ð½ÐµÐ¾Ð±ÑзаÑелÑна",oneOf:"одно из:",required:"ТÑебÑеÑÑÑ Ð°ÑÑенÑиÑикаÑиÑ",requires:"ТÑебÑеÑÑÑ",scopes:"ÐблаÑÑи OAuth"}},WK={common:{description:"æè¿°",httpMethod:"HTTP æ¹æ³",path:"è·¯å¾",copyDefault:"å¤å¶é»è®¤å¼",copyExample:"å¤å¶ç¤ºä¾å¼"},search:{label:"æç´¢",inputLabel:"è¾å
¥æç´¢æ¥è¯¢",open:"æå¼æç´¢",placeholder:"æç´¢...",clear:"æ¸
é¤æç´¢",keyboardShortcut:"é®çå¿«æ·é®ï¼",command:"Command é®",control:"Control é®",results:"åèææ¡£æç´¢ç»æ",navigate:"导èª",select:"éæ©",instructions:"æä¸/ä¸ç®å¤´å¯¼èªï¼æ Enter éæ©ï¼è¾å
¥å
容çéç»æ",entryHeading:"æ é¢",entryOperation:"æä½",entryTag:"æ ç¾",entryTagGroup:"æ ç¾ç»",entryWebhook:"Webhook"},navigation:{introduction:"ç®ä»",closeGroup:"å
³éåç»",closeMenu:"å
³éèå",openGroup:"æå¼åç»",openMenu:"æå¼èå",operations:"æä½",endpoints:"{name} 端ç¹",showAllEndpoints:"æ¾ç¤º {name} çææç«¯ç¹",sidebarFor:"{name} çä¾§è¾¹æ ",mainContent:"{name} ç API ææ¡£",collapsed:"å·²æå ",webhooks:"Webhooks",channels:"é¢é"},server:{label:"æå¡å¨",select:"éæ©æå¡å¨"},info:{termsOfService:"æå¡æ¡æ¬¾"},asyncapi:{servers:"æå¡å¨",protocols:"åè®®"},clientLibraries:{heading:"客æ·ç«¯åº",more:"æ´å¤",selectAll:"仿æå®¢æ·ç«¯ä¸éæ©"},operation:{body:"请æ±ä½",cookies:"Cookie",headers:"请æ±å¤´",pathParameters:"è·¯å¾åæ°",queryParameters:"æ¥è¯¢åæ°",requestBody:"请æ±ä½",responses:"ååº",testRequest:"æµè¯è¯·æ±",webhook:"Webhook",selectedContentType:"å·²éå
容类å",callbacks:"åè°"},response:{exampleResponses:"ååºç¤ºä¾",noBody:"æ å
容",showSchema:"æ¾ç¤º Schema",status:"ç¶æ"},schema:{example:"示ä¾",examples:"示ä¾",default:"é»è®¤å¼",schema:"æ¶æ",emptyObject:"空对象",showAdditionalProperties:"æ¾ç¤ºéå 屿§",forName:"å¯¹äº {name}
2",showSchemaDetails:"æ¾ç¤ºæ¶æè¯¦æ
",oneOf:"å
¶ä¸ä¸ä¸ª",anyOf:"ä»»æä¸ä¸ª",allOf:"å
¨é¨",not:"é",unknownType:"æªç¥ç±»å",propertyCount:"屿§ï¼{count}",headerCount:"æ 头ï¼{count}",recursiveReference:"éå½å¼ç¨ {name}",recursive:"éå½",additionalProperties:"éå 屿§",const:"常é",deprecated:"å·²å¼ç¨",discriminator:"é´å«å¨",enum:"æä¸¾",format:"æ ¼å¼",greaterThan:"大äº",keys:"é®",lessThan:"å°äº",max:"æå¤§å¼",min:"æå°å¼",maxLength:"æå¤§é¿åº¦",minLength:"æå°é¿åº¦",multipleOf:"åæ°",nullable:"å¯ä¸º null",propertyNames:"屿§åç§°",pattern:"模å¼",copyPattern:"å¤å¶æ¨¡å¼",readOnly:"åªè¯»",required:"å¿
å¡«",hideValues:"éèå¼",showAllValues:"æ¾ç¤ºææå¼",type:"ç±»å",unique:"å¯ä¸",values:"å¼",writeOnly:"åªå"},download:{openapi:"ä¸è½½ OpenAPI ææ¡£",asyncapi:"ä¸è½½ AsyncAPI ææ¡£"},models:{label:"模å"},actions:{copyLink:"å¤å¶é¾æ¥",copyLinkTo:"å¤å¶æå {name} ç龿¥",copyToClipboard:"å¤å¶é¾æ¥å°åªè´´æ¿",copyEndpointUrl:"å¤å¶ç«¯ç¹ URL",showMore:"æ¾ç¤ºæ´å¤"},agent:{askAi:"è¯¢é® AI",askAiAgent:"è¯¢é® AI 婿",close:"å
³é客æ·ç«¯"},mcp:{generate:"çæ MCP",connect:"è¿æ¥ MCP"},developerTools:{title:"å¼åè
å·¥å
·",configure:"é
ç½®",share:"å享",deploy:"é¨ç½²",scalarConfiguration:"Scalar é
ç½®",theme:"主é¢",layout:"å¸å±",layoutOptions:"å¸å±é项",intro:"å¼åè
å·¥å
·å¯ç¨äºèªå®ä¹ææ¡£çå¤è§åè¡ä¸ºãä½ ä¹å¯ä»¥éè¿ Scalar Registry åäº«ææ¡£ã",disableToolbarBefore:"è¦ç¦ç¨å·¥å
·æ ï¼è¯·å¨é
ç½®ä¸è®¾ç½®",disableToolbarAfter:"ã",localhostOnly:"å¼åè
å·¥å
·åªä¼å¨ localhost ä¸è¿è¡æ¶æ¾ç¤ºã",layoutModern:"ç°ä»£",layoutClassic:"ç»å
¸",showSidebar:"æ¾ç¤ºä¾§è¾¹æ ",defaultOpenFirstTag:"é»è®¤æå¼ç¬¬ä¸ä¸ªæ ç¾",defaultOpenAllTags:"é»è®¤æå¼æææ ç¾",expandAll:"å±å¼ææ {label}",expandAllResponses:"å±å¼ææååº",hideClientButton:"éè客æ·ç«¯æé®",hideDarkModeToggle:"éèæ·±è²æ¨¡å¼å¼å
³",hideModels:"éè {label}",hideSearch:"éèæç´¢",showOperationId:"æ¾ç¤ºæä½ ID",hideTestRequestButton:"éèæµè¯è¯·æ±æé®",scalarDocs:"Scalar Docs",deployDescription:"å°ä½ çææ¡£é¨ç½²å° Scalarï¼è¿æ¯éç¨äº API çå
容çç°ä»£ææ¡£å¹³å°ã",shareTitle:"åäº«ä½ ç API Reference",shareDescription:"ä¸ä¼ OpenAPI ææ¡£ï¼ä¸å
¶ä»äººåäº«ä½ ç API Referenceãåªéç¹å»æé®å³å¯ã",uploadDocument:"ä¸ä¼ ææ¡£",temporaryLinkExpiration:"ä½ çææ¡£å°å¨ 7 天åèªå¨å é¤ã",deployOnScalar:"é¨ç½²å° Scalar",deployFree:"å
è´¹é¨ç½²ä½ çææ¡£ã",additionalFeaturesMightRequire:"å
¶ä»åè½å¯è½éè¦",generate:"çæ",passwordProtection:"å¯ç ä¿æ¤",customDomains:"èªå®ä¹åå",freeFormContent:"èªç±å
容",cdnInfrastructure:"CDN åºç¡è®¾æ½",pullFromGitHub:"ä» GitHub æå",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema æç®¡",askAi:"è¯¢é® AI",mcpServers:"MCP æå¡å¨",unableToExportDocument:"æ æ³å¯¼åºå½åææ¡£",unknownError:"åçæªç¥é误"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"欢è¿ä½¿ç¨ Scalar API References + Swagger Editorï¼è¿æ¯ä¸æ¬¾å
è´¹å¼æºå·¥å
·ï¼å¯å°ä½ ç Swagger/OAS æä»¶çæç²¾ç¾ç API Referencesã",showExample:"æ¾ç¤ºç¤ºä¾",uploadFile:"ä¸ä¼ æä»¶",integrations:"éæ",theming:"主é¢",features:"åè½",customize:"èªå®ä¹",customizeDescription:"使ç¨ä½ çæçåè°è²æ¿ï¼æä½¿ç¨æä»¬ç主é¢ï¼",testing:"æµè¯",testingDescription:"深度éæç REST API Clientï¼åæ ·å
è´¹ä¸å¼æºï¼",search:"æç´¢",searchDescription:"宿´éæçæç´¢ï¼ä½¿ç¨ fuse.jsï¼",hosting:"æç®¡",hostingDescription:"å¨ https://apidocumentation.com ä¸å
è´¹æç®¡ååå",openApiSwagger:"OpenAPI å Swagger",openApiSwaggerDescription:"æ¯æ OpenAPI 3.1ãOpenAPI 3.0 å Swagger 2.0",codeSamples:"代ç 示ä¾",codeSamplesDescription:"ç¨ææµè¡è¯è¨å±ç¤ºä½ ç API ç代ç 示ä¾"},footer:{poweredByScalar:"ç± Scalar æä¾æ¯æ"},authentication:{title:"身份éªè¯",accepts:"æ¥å",allOf:"å
¨é¨ï¼",authentication:"身份认è¯",optional:"身份认è¯å¯é",oneOf:"å
¶ä¸ä¹ä¸ï¼",required:"éè¦èº«ä»½è®¤è¯",requires:"éè¦",scopes:"OAuth ä½ç¨å"}},YK={en:HK,ru:XK,es:VK,fr:qK,de:zK,"zh-CN":WK,ar:QK,pt:ZK},GK=new Set(["ar","fa","he","ur"]);function C8(e,t){return t.reduce((n,r)=>{if(n!=null)return n[r]},e)}const ow=(e,t)=>{if(!t||!We(t))return{...e};const n={...e};for(const[r,a]of Object.entries(t)){if(a===void 0)continue;const i=n[r];n[r]=We(i)&&We(a)?ow(i,a):a}return n},KA=Symbol("scalar-localization"),KK=e=>{const{localeTranslations:t,defaultLocale:n,rtlLocales:r}=e,a=f=>{if(!f)return n;if(f in t)return f;const h=f.replace("_","-").toLowerCase();if(h.startsWith("zh")&&"zh-CN"in t)return"zh-CN";const p=h.split("-")[0];return Object.keys(t).find(g=>g.toLowerCase()===p)??n},i=f=>{var m;if(f!=null&&f.direction&&f.direction!=="auto")return f.direction;const p=(m=((f==null?void 0:f.locale)??n).replace("_","-").split("-")[0])==null?void 0:m.toLowerCase();return p&&r.has(p)?"rtl":"ltr"},o=f=>{const h=(f==null?void 0:f.locale)??n,p=a(h),m=t[n]??{},g=ow(ow(m,t[p]),f==null?void 0:f.translations);return{locale:h,direction:i(f),translations:g}},s=(f,h,p)=>{const m=C8(f,h.split(".")),g=typeof m=="string"?m:h;return p?Object.entries(p).reduce((v,[k,S])=>v.replaceAll(`{${k}}`,String(S)),g):g},l=f=>{const h=$(()=>o(Ve(f)));return{locale:$(()=>h.value.locale),direction:$(()=>h.value.direction),translations:$(()=>h.value.translations),translate:(p,m)=>s(h.value.translations,p,m)}},c=f=>{const h=l(f);return _n(KA,h),h},u=l(void 0);return{resolveLocalization:o,provideLocalization:c,useLocalization:()=>Rn(KA,u)}};var{resolveLocalization:JK,provideLocalization:eJ,useLocalization:Ot}=KK({localeTranslations:YK,defaultLocale:"en",rtlLocales:GK});function tu(e){return Array.isArray?Array.isArray(e):pR(e)==="[object Array]"}function tJ(e){if(typeof e=="string")return e;if(typeof e=="bigint")return e.toString();const t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function sw(e){return e==null?"":tJ(e)}function Xa(e){return typeof e=="string"}function Kg(e){return typeof e=="number"}function nJ(e){return e===!0||e===!1||rJ(e)&&pR(e)=="[object Boolean]"}function hR(e){return typeof e=="object"}function rJ(e){return hR(e)&&e!==null}function eo(e){return e!=null}function R1(e){return!e.trim().length}
2function pR(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const aJ="Incorrect 'index' type",lw="Invalid doc index: must be a non-negative integer within the bounds of the docs array",iJ=e=>`Invalid value for key ${e}`,oJ=e=>`Pattern length exceeds max of ${e}.`,sJ=e=>`Missing ${e} property in key`,lJ=e=>`Property 'weight' in key '${e}' must be a positive integer`,cJ="Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.",JA=Object.prototype.hasOwnProperty;var uJ=class{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{const a=mR(r);this._keys.push(a),this._keyMap[a.id]=a,n+=a.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 mR(e){let t=null,n=null,r=null,a=1,i=null;if(Xa(e)||tu(e))r=e,t=eT(e),n=Jg(e);else{if(!JA.call(e,"name"))throw new Error(sJ("name"));const o=e.name;if(r=o,JA.call(e,"weight")&&e.weight!==void 0&&(a=e.weight,a<=0))throw new Error(lJ(Jg(o)));t=eT(o),n=Jg(o),i=e.getFn??null}return{path:t,id:n,weight:a,src:r,getFn:i}}function eT(e){return tu(e)?e:e.split(".")}function Jg(e){return tu(e)?e.join("."):e}function dJ(e,t){const n=[];let r=!1;const a=(i,o,s,l)=>{if(eo(i))if(!o[s])n.push(l!==void 0?{v:i,i:l}:i);else{const c=i[o[s]];if(!eo(c))return;if(s===o.length-1&&(Xa(c)||Kg(c)||nJ(c)||typeof c=="bigint"))n.push(l!==void 0?{v:sw(c),i:l}:sw(c));else if(tu(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)a(c[u],o,s+1,u)}else o.length&&a(c,o,s+1,l)}};return a(e,Xa(t)?t.split("."):t,0),r?n:n[0]}const fJ={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},hJ={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},pJ={location:0,threshold:.6,distance:100},mJ={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:dJ,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Bt=Object.freeze({...hJ,...fJ,...pJ,...mJ});function gJ(e){return e>=9&&e<=13||e===32||e===160}function bJ(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(a){let i=0,o=!1;for(let l=0;l<a.length;l++)gJ(a.charCodeAt(l))?o=!1:o||(i++,o=!0);if(i===0&&(i=1),n.has(i))return n.get(i);const s=Math.round(r/Math.pow(i,.5*e))/r;return n.set(i,s),s},clear(){n.clear()}}}var $8=class{constructor({getFn:t=Bt.getFn,fieldNormWeight:n=Bt.fieldNormWeight}={}){this.norm=bJ(n,3),this.getFn=t,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},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(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const t=this.docs.length;this.records=new Array(t);let n=0;if(Xa(this.docs[0]))for(let r=0;r<t;r++){const a=this._createStringRecord(this.docs[r],r);a&&(this.records[n++]=a)}else for(let r=0;r<t;r++)this.records[n++]=this._createObjectRecord(this.docs[r],r);this.records.length=n,this.norm.clear()}add(t,n){if(!Number.isInteger(n)||n<0)throw new Error(lw);if(Xa(t)){const a=this._createStringRecord(t,n);return a&&this.records.push(a),a}const r=this._createObjectRecord(t,n);return this.records.push(r),r}removeAt(t){if(!Number.isInteger(t)||t<0)throw new Error(lw);for(let n=0,r=this.records.length;n<r;n+=1)if(this.records[n].i===t){this.records.splice(n,1);break}for(let n=0,r=this.records.length;n<r;n+=1)this.records[n].i>t&&(this.records[n].i-=1)}removeAll(t){const n=new Set;for(const a of t)Number.isInteger(a)&&a>=0&&n.add(a);if(n.size===0)return;this.records=this.records.filter(a=>!n.has(a.i));const r=Array.from(n).sort((a,i)=>a-i);for(const a of this.records){let i=0,o=r.length;for(;i<o;){const s=i+o>>>1;r[s]<a.i?i=s+1:o=s}a.i-=i}}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_createStringRecord(t,n){return!eo(t)||R1(t)?null:{v:t,i:n,n:this.norm.get(t)}}_createObjectRecord(t,n){const r={i:n,$:{}};for(let a=0,i=this.keys.length;a<i;a++){const o=this.keys[a],s=o.getFn?o.getFn(t):this.getFn(t,o.path);if(eo(s)){if(tu(s)){const l=[];for(let c=0,u=s.length;c<u;c+=1){const d=s[c];if(eo(d)){if(Xa(d)){if(!R1(d)){const f={v:d,i:c,n:this.norm.get(d)};l.push(f)}}else if(eo(d.v)){const f=Xa(d.v)?d.v:sw(d.v);if(!R1(f)){const h={v:f,i:d.i,n:this.norm.get(f)};l.push(h)}}}}r.$[a]=l}else if(Xa(s)&&!R1(s)){const l={v:s,n:this.norm.get(s)};r.$[a]=l}}}return r}toJSON(){return{keys:this.keys.map(({getFn:t,...n})=>n),records:this.records}}};function gR(e,t,{getFn:n=Bt.getFn,fieldNormWeight:r=Bt.fieldNormWeight}={}){const a=new $8({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(mR)),a.setSources(t),a.create(),a}function yJ(e,{getFn:t=Bt.getFn,fieldNormWeight:n=Bt.fieldNormWeight}={}){const{keys:r,records:a}=e,i=new $8({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function vJ(e=[],t=Bt.minMatchCharLength){const n=[];let r=-1,a=-1,i=0;for(let o=e.length;i<o;i+=1){const s=e[i];s&&r===-1?r=i:!s&&r!==-1&&(a=i-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}function OJ(e,t,n,{location:r=Bt.location,distance:a=Bt.distance,threshold:i=Bt.threshold,findAllMatches:o=Bt.findAllMatches,minMatchCharLength:s=Bt.minMatchCharLength,includeMatches:l=Bt.includeMatches,ignoreLocation:c=Bt.ignoreLocation}={}){if(t.length>32)throw new Error(oJ(32));const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let h=i,p=f;const m=(B,L)=>{const V=B/u;if(c)return V;const Q=Math.abs(f-L);return a?V+Q/a:Q?1:V},g=s>1||l,v=g?Array(d):[];let k;for(;(k=e.indexOf(t,p))>-1;){const B=m(0,k);if(h=Math.min(B,h),p=k+u,g){let L=0;for(;L<u;)v[k+L]=1,L+=1}}p=-1;let S=[],A=1,E=0,_=u+d;const C=1<<u-1;for(let B=0;B<u;B+=1){let L=0,V=_;for(;L<V;)m(B,f+V)<=h?L=V:_=V,V=Math.floor((_-L)/2+L);_=V;let Q=Math.max(1,f-V+1);const ee=o?d:Math.min(f+V,d)+u,ne=Array(ee+2);ne[ee+1]=(1<<B)-1;for(let G=ee;G>=Q;G-=1){const re=G-1,Y=n[e[re]];if(ne[G]=(ne[G+1]<<1|1)&Y,B&&(ne[G]|=(S[G+1]|S[G])<<1|1|S[G+1]),ne[G]&C&&(A=m(B,re),A<=h
2)){if(h=A,p=re,E=B,p<=f)break;Q=Math.max(1,2*f-p)}}if(m(B+1,f)>h)break;S=ne}if(g&&p>=0){const B=Math.min(d-1,p+u-1+E);for(let L=p;L<=B;L+=1)n[e[L]]&&(v[L]=1)}const R={isMatch:p>=0,score:Math.max(.001,A)};if(g){const B=vJ(v,s);B.length?l&&(R.indices=B):R.isMatch=!1}return R}function SJ(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}function P8(e){if(e.length<=1)return e;e.sort((n,r)=>n[0]-r[0]||n[1]-r[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const a=t[t.length-1],i=e[n];i[0]<=a[1]+1?a[1]=Math.max(a[1],i[1]):t.push(i)}return t}const bR={Å:"l",Å:"L",Ä:"d",Ä:"D",ø:"o",Ã:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",Ã:"ss"},wJ=new RegExp("["+Object.keys(bR).join("")+"]","g"),Bm=typeof String.prototype.normalize=="function"?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,"").replace(wJ,t=>bR[t]):e=>e;var I8=class{constructor(t,{location:n=Bt.location,threshold:r=Bt.threshold,distance:a=Bt.distance,includeMatches:i=Bt.includeMatches,findAllMatches:o=Bt.findAllMatches,minMatchCharLength:s=Bt.minMatchCharLength,isCaseSensitive:l=Bt.isCaseSensitive,ignoreDiacritics:c=Bt.ignoreDiacritics,ignoreLocation:u=Bt.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u},t=l?t:t.toLowerCase(),t=c?Bm(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const d=(h,p)=>{this.chunks.push({pattern:h,alphabet:SJ(h),startIndex:p})},f=this.pattern.length;if(f>32){let h=0;const p=f%32,m=f-p;for(;h<m;)d(this.pattern.substr(h,32),h),h+=32;if(p){const g=f-32;d(this.pattern.substr(g),g)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:r,includeMatches:a}=this.options;if(t=n?t:t.toLowerCase(),t=r?Bm(t):t,this.pattern===t){if(t.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};const m={isMatch:!0,score:0};return a&&(m.indices=[[0,t.length-1]]),m}const{location:i,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:c,ignoreLocation:u}=this.options,d=[];let f=0,h=!1;this.chunks.forEach(({pattern:m,alphabet:g,startIndex:v})=>{const{isMatch:k,score:S,indices:A}=OJ(t,m,g,{location:i+v,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:c,includeMatches:a,ignoreLocation:u});k&&(h=!0),f+=S,k&&A&&d.push(...A)});const p={isMatch:h,score:h?f/this.chunks.length:1};return h&&a&&(p.indices=P8(d)),p}};const xJ=new Set(["fuzzy","include"]);function kJ(e){return e.startsWith("inverse")}const cw=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){const n=t===e;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let n=0,r;const a=[],i=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+i,a.push([r,n-1]);const o=!!a.length;return{isMatch:o,score:o?0:1,indices:a}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){const n=t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){const n=!t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){const n=!t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){const n=t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){const n=t.indexOf(e)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{const n=new I8(e,{location:t.location??Bt.location,threshold:t.threshold??Bt.threshold,distance:t.distance??Bt.distance,includeMatches:t.includeMatches??Bt.includeMatches,findAllMatches:t.findAllMatches??Bt.findAllMatches,minMatchCharLength:t.minMatchCharLength??Bt.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??Bt.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??Bt.ignoreDiacritics,ignoreLocation:t.ignoreLocation??Bt.ignoreLocation});return{type:"fuzzy",search(r){return n.searchIn(r)}
2}}}],tT=cw.length,AJ="\0",TJ="|";function EJ(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&e[r]===" ";)r++;if(r>=n)break;let a=r;for(;a<n&&e[a]!==" "&&e[a]!=='"';)a++;if(a<n&&e[a]==='"'){for(a++;a<n;){if(e[a]==='"'){const i=a+1;if(i>=n||e[i]===" "){a++;break}if(e[i]==="$"&&(i+1>=n||e[i+1]===" ")){a+=2;break}}a++}t.push(e.substring(r,a)),r=a}else{for(;a<n&&e[a]!==" ";)a++;t.push(e.substring(r,a)),r=a}}return t}function nT(e,t){const n=e.match(t);return n?n[1]:null}function _J(e,t={}){return e.replace(/\\\|/g,AJ).split(TJ).map(n=>{const r=EJ(n.replace(/\u0000/g,"|").trim()).filter(i=>i&&!!i.trim()),a=[];for(let i=0,o=r.length;i<o;i+=1){const s=r[i];let l=!1,c=-1;for(;!l&&++c<tT;){const u=cw[c],d=nT(s,u.multiRegex);d&&(a.push(u.create(d,t)),l=!0)}if(!l)for(c=-1;++c<tT;){const u=cw[c],d=nT(s,u.singleRegex);if(d){a.push(u.create(d,t));break}}}return a})}var CJ=class{constructor(t,{isCaseSensitive:n=Bt.isCaseSensitive,ignoreDiacritics:r=Bt.ignoreDiacritics,includeMatches:a=Bt.includeMatches,minMatchCharLength:i=Bt.minMatchCharLength,ignoreLocation:o=Bt.ignoreLocation,findAllMatches:s=Bt.findAllMatches,location:l=Bt.location,threshold:c=Bt.threshold,distance:u=Bt.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:r,includeMatches:a,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:l,threshold:c,distance:u},t=n?t:t.toLowerCase(),t=r?Bm(t):t,this.pattern=t,this.query=_J(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:a,ignoreDiacritics:i}=this.options;t=a?t:t.toLowerCase(),t=i?Bm(t):t;let o=0;const s=[];let l=0,c=!1;for(let u=0,d=n.length;u<d;u+=1){const f=n[u];s.length=0,o=0,c=!1;for(let h=0,p=f.length;h<p;h+=1){const m=f[h],{isMatch:g,indices:v,score:k}=m.search(t);if(g)o+=1,l+=k,kJ(m.type)&&(c=!0),r&&(xJ.has(m.type)?s.push(...v):s.push(v));else{l=0,o=0,s.length=0,c=!1;break}}if(o){const h={isMatch:!0,score:l/o};return c&&(h.hasInverse=!0),r&&(h.indices=P8(s)),h}}return{isMatch:!1,score:1}}};const uw=[];function R8(...e){uw.push(...e)}function N2(e,t){for(let n=0,r=uw.length;n<r;n+=1){const a=uw[n];if(a.condition(e,t))return new a(e,t)}return new I8(e,t)}const M2={AND:"$and",OR:"$or"},dw={PATH:"$path",PATTERN:"$val"},fw=e=>!!(e[M2.AND]||e[M2.OR]),$J=e=>!!e[dw.PATH],PJ=e=>!tu(e)&&hR(e)&&!fw(e),rT=e=>({[M2.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function yR(e,t,{auto:n=!0}={}){const r=a=>{if(Xa(a)){const l={keyId:null,pattern:a};return n&&(l.searcher=N2(a,t)),l}const i=Object.keys(a),o=$J(a);if(!o&&i.length>1&&!fw(a))return r(rT(a));if(PJ(a)){const l=o?a[dw.PATH]:i[0],c=o?a[dw.PATTERN]:a[l];if(!Xa(c))throw new Error(iJ(l));const u={keyId:Jg(l),pattern:c};return n&&(u.searcher=N2(c,t)),u}const s={children:[],operator:i[0]};return i.forEach(l=>{const c=a[l];tu(c)&&c.forEach(u=>
2{s.children.push(r(u))})}),s};return fw(e)||(e=rT(e)),r(e)}function hw(e,{ignoreFieldNorm:t=Bt.ignoreFieldNorm}){let n=1;return e.forEach(({key:r,norm:a,score:i})=>{const o=r?r.weight:null;n*=Math.pow(i===0&&o?Number.EPSILON:i,(o||1)*(t?1:a))}),n}function IJ(e,{ignoreFieldNorm:t=Bt.ignoreFieldNorm}){e.forEach(n=>{n.score=hw(n.matches,{ignoreFieldNorm:t})})}var RJ=class{constructor(t,n){this.limit=t,this.heap=[],this.comparator=n}get size(){return this.heap.length}insert(t){this.size<this.limit?(this.heap.push(t),this._bubbleUp(this.size-1)):this.comparator(t,this.heap[0])<0&&(this.heap[0]=t,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(t){const n=this.heap;for(;t>0;){const r=t-1>>1;if(this.comparator(n[t],n[r])<=0)break;const a=n[t];n[t]=n[r],n[r]=a,t=r}}_sinkDown(t){const n=this.heap,r=n.length;let a=t;do{t=a;const i=2*t+1,o=2*t+2;if(i<r&&this.comparator(n[i],n[a])>0&&(a=i),o<r&&this.comparator(n[o],n[a])>0&&(a=o),a!==t){const s=n[t];n[t]=n[a],n[a]=s}}while(a!==t)}};function NJ(e){const t=[];return e.matches.forEach(n=>{if(!eo(n.indices)||!n.indices.length)return;const r={indices:n.indices,value:n.value};n.key&&(r.key=n.key.id),n.idx>-1&&(r.refIndex=n.idx),t.push(r)}),t}function MJ(e,t,{includeMatches:n=Bt.includeMatches,includeScore:r=Bt.includeScore}={}){return e.map(a=>{const{idx:i}=a,o={item:t[i],refIndex:i};return n&&(o.matches=NJ(a)),r&&(o.score=a.score),o})}const LJ=/[\p{L}\p{M}\p{N}_]+/gu,aT=new WeakSet;function DJ(e){aT.has(e)||(aT.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function BJ(e){if(typeof e=="function"){let t=!1;return n=>{const r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(a=>typeof a!="string")))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}return e instanceof RegExp?(e.global||DJ(e),t=>t.match(e)||[]):t=>t.match(LJ)||[]}function pw({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){const r=BJ(n);return{tokenize(a){return e||(a=a.toLowerCase()),t&&(a=Bm(a)),r(a)}}}var UJ=class{static condition(t,n){return n.useTokenSearch}constructor(t,n){this.options=n,this.analyzer=pw({isCaseSensitive:n.isCaseSensitive,ignoreDiacritics:n.ignoreDiacritics,tokenize:n.tokenize});const r=this.analyzer.tokenize(t),{df:a,fieldCount:i}=n._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(const o of r){this.termSearchers.push(new I8(o,{location:n.location,threshold:n.threshold,distance:n.distance,includeMatches:n.includeMatches,findAllMatches:n.findAllMatches,minMatchCharLength:n.minMatchCharLength,isCaseSensitive:n.isCaseSensitive,ignoreDiacritics:n.ignoreDiacritics,ignoreLocation:!0}));const s=a.get(o)||0,l=Math.log(1+(i-s+.5)/(s+.5));this.idfWeights.push(l)}this.combineAll=n.tokenMatch==="all",this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(t){if(!this.termSearchers.length)return{isMatch:!1,score:1};const n=[];let r=0,a=0,i=0,o=0;const s=this.combineAll&&!this.useMask?new Set:null;for(let u=0;u<this.termSearchers.length;u++){const d=this.termSearchers[u].searchIn(t),f=this.idfWeights[u];a+=f,d.isMatch&&(i++,r+=f*(1-d.score),d.indices&&n.push(...d.indices),this.combineAll&&(this.useMask?o|=1<<u:s.add(u)))}if(i===0)return{isMatch:!1,score:1};const l=a>0?1-r/a:0,c={isMatch:!0,score:Math.max(.001,l)};return this.options.includeMatches&&n.length&&(c.indices=P8(n)),this.combineAll&&(this.useMask?c.matchedMask=o:c.matchedTerms=s,c.termCount=this.numTerms),c}};function RO(e,t,n,r){const a=r.tokenize(t);if(!a.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);const i=new Set(a);let o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(const s of i)o.set(s,(o.get(s)||0)+1),e.df.set(s,(e.df.get(s)||0)+1)}function vR(e,t,n,r){const{i:a,v:i,$:o}=t;if(i!==void 0){RO(e,i,a,r);return}if(o)for(let s=0;s<n;s++){const l=o[s];if(l)if(Array.isArray(l))for(const c of l)RO(e,c.v,a,r);else RO(e,l.v,a,r)}}function jJ(e,t,n){const r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const a of e)vR(r,a,t,n);return r}function FJ(e,t,n,r){vR(e,t,n,r)}function QJ(e,t){const n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);const r=e.docTermFieldHits.get(t);if(r){for(const[a,i]of r){const o=(e.df.get(a)||0)-i;o<=0?e.df.delete(a):e.df.set(a,o)}e.docTermFieldHits.delete(t)}}function iT(e,t){if(t.length===0)return;const n=Array.from(new Set(t)).sort((s,l)=>s-l);for(const s of n)QJ(e,s);const r=s=>{let l=0,c=n.length;for(;l<c;){const u=l+c>>>1;n[u]<s?l=u+1:c=u}return s-l},a=n[0],i=new Map;for(const[s,l]of e.docFieldCount)i.set(s>a?r(s):s,l);e.docFieldCount=i;const o=new Map;for(const[s,l]of e.docTermFieldHits)o.set(s>a?r(s):s,l);e.docTermFieldHits=o}var nu=class{constructor(t,n,r){this.options={...Bt,...n},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new uJ(this.options.keys),this._docs=t,this._myIndex=null,this._invertedIndex=null,this.setCollection(t,r),this._lastQuery=null,this._lastSearcher=null}_getSearcher(t){if(this._lastQuery===t)return this._lastSearcher;const n=N2(t,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=t,this._lastSearcher=n,n}setCollection(t,n){if(this._docs=t,n&&!(n instanceof $8))throw new Error(aJ);if(this._myIndex=n||gR(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const r=pw({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=jJ(this._myIndex.records,this._myIndex.keys.length,r)}this._invalidateSearcherCache()}add(t){if(!eo(t))return;this._docs.push(t);const n=this._myIndex.add(t,this._docs.length-1);if(this._invertedIndex&&n){const r=pw({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});FJ(this._invertedIndex,n,this._myIndex.keys.length,r)}this._invalidateSearcherCache()}remove(t=()=>!1){const n=[],r=[];for(let a=0,i=this._docs.length;a<i;a+=1)t(this._docs[a],a)&&(n.push(this._docs[a]),r.push(a));if(r.length){this._invertedIndex&&iT(this._invertedIndex,r);const a=new Set(r);this._docs=this._docs.filter((i,o)=>!a.has(o)),this._myIndex.removeAll(r),this._invalidateSearcherCache()}return n}removeAt(t){if(!Number.isInteger(t)||t<0||t>=this._docs.length)throw new Error(lw);this._invertedIndex&&iT(this._invertedIndex,[t]);const n=this._docs.splice(t,1)[0];return this._myIndex.removeAt(t),this._invalidateSearcherCache(),n}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(t=>this._keyStore.get(t.id)||t)}search(t,n){const{limit:r=-1}=n||{},{includeMatches:a,includeScore:i,shouldSort:o,sortFn:s,ignoreFieldNorm:l}=this.options;if(Xa(t)&&!t.trim()){let h=this._docs.map((p,m)=>({item:p,refIndex:m}));return Kg(r)&&r>-1&&(h=h.slice(0,r)),h}const c=o&&Kg(r)&&r>0&&Xa(t),u=s,d=(h,p)=>u(h,p)||h.idx-p.idx;let f;if(c){const h=new RJ(r,d);Xa(this._docs[0])?this._searchStringList(t,{heap:h,ignoreFieldNorm:l}):this._searchObjectList(t,{heap:h,ignoreFieldNorm:l}),f=h.extractSorted()}else f=Xa(t)?Xa(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t),IJ(f,{ignoreFieldNorm:l}),o&&f.sort(Xa(t)?d:u),Kg(r)&&r>-1&&(f=f.slice(0,r));return MJ(f,this._docs,{includeMatches:a,includeScore:i})}_searchStringList(t,{heap:n,ignoreFieldNorm:r}={}){const a=this._getSearcher(t),i=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:o}=this._myIndex,s=n?null:[];return o.forEach(({v:l,i:c,n:u})=>
2{if(!eo(l))return;const d=a.searchIn(l);if(d.isMatch){const f={score:d.score,value:l,norm:u,indices:d.indices};i&&(f.matchedMask=d.matchedMask,f.matchedTerms=d.matchedTerms,f.termCount=d.termCount);const h=[f];if(!i||this._coversAllTokens(h)){const p={item:l,idx:c,matches:h};n?(p.score=hw(p.matches,{ignoreFieldNorm:r}),n.insert(p)):s.push(p)}}}),s}_searchLogical(t){const n=yR(t,this.options),r=this._normalizedKeys(),a=(l,c,u)=>{if(!("children"in l)){const{keyId:p,searcher:m}=l;let g;return p===null?(g=[],r.forEach((v,k)=>{g.push(...this._findMatches({key:v,value:c[k],searcher:m}))})):g=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(c,p),searcher:m}),g&&g.length?[{idx:u,item:c,matches:g}]:[]}const{children:d,operator:f}=l,h=[];for(let p=0,m=d.length;p<m;p+=1){const g=d[p],v=a(g,c,u);if(v.length)h.push(...v);else if(f===M2.AND)return[]}return h},i=this._myIndex.records,o=new Map,s=[];return i.forEach(({$:l,i:c})=>{if(eo(l)){const u=a(n,l,c);u.length&&(o.has(c)||(o.set(c,{idx:c,item:l,matches:[]}),s.push(o.get(c))),u.forEach(({matches:d})=>{o.get(c).matches.push(...d)}))}}),s}_searchObjectList(t,{heap:n,ignoreFieldNorm:r}={}){const a=this._getSearcher(t),i=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:o}=this._myIndex,s=this._normalizedKeys(),l=n?null:[];return o.forEach(({$:c,i:u})=>{if(!eo(c))return;const d=[];let f=!1,h=!1;if(s.forEach((p,m)=>{const g=this._findMatches({key:p,value:c[m],searcher:a});g.length?(d.push(...g),g[0].hasInverse&&(h=!0)):f=!0}),!(h&&f)&&d.length&&(!i||this._coversAllTokens(d))){const p={idx:u,item:c,matches:d};n?(p.score=hw(p.matches,{ignoreFieldNorm:r}),n.insert(p)):l.push(p)}}),l}_findMatches({key:t,value:n,searcher:r}){if(!eo(n))return[];const a=[];if(tu(n))n.forEach(({v:i,i:o,n:s})=>{if(!eo(i))return;const l=r.searchIn(i);if(l.isMatch){const c={score:l.score,key:t,value:i,idx:o,norm:s,indices:l.indices,hasInverse:l.hasInverse};l.termCount!==void 0&&(c.matchedMask=l.matchedMask,c.matchedTerms=l.matchedTerms,c.termCount=l.termCount),a.push(c)}});else{const{v:i,n:o}=n,s=r.searchIn(i);if(s.isMatch){const l={score:s.score,key:t,value:i,norm:o,indices:s.indices,hasInverse:s.hasInverse};s.termCount!==void 0&&(l.matchedMask=s.matchedMask,l.matchedTerms=s.matchedTerms,l.termCount=s.termCount),a.push(l)}}return a}_coversAllTokens(t){const n=t.length?t[0].termCount:void 0;if(n===void 0)return!0;if(n<=31){let a=0;for(let i=0;i<t.length;i++)a|=t[i].matchedMask||0;return a===2**n-1}const r=new Set;for(let a=0;a<t.length;a++){const i=t[a].matchedTerms;if(i)for(const o of i)r.add(o)}return r.size===n}};nu.version="7.5.0";nu.createIndex=gR;nu.parseIndex=yJ;nu.config=Bt;nu.match=function(e,t,n){if(n&&n.useTokenSearch)throw new Error(cJ);return N2(e,{...Bt,...n}).searchIn(t)};nu.parseQuery=yR;R8(CJ);R8(UJ);nu.use=function(...e){e.forEach(t=>R8(t))};var zJ=nu;function HJ(){return new zJ([],{keys:[{name:"title",weight:.7},{name:"operationId",weight:.6},{name:"parameters",weight:.55},{name:"body",weight:.55},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"description",weight:.3},{name:"method",weight:.3},{name:"responseExamples",weight:.25},{name:"parameterDescriptions",weight:.2},{name:"bodyDescriptions",weight:.2}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0})}var VJ=e=>We(e),N8=e=>{if(e===void 0)return;const t=Se(e),n=We(t)&&"schemaFormat"in t?Se(t.schema):t;return VJ(n)?n:void 0},qJ=e=>N8(e.payload),ZJ=e=>N8(e.headers),OR=(e,t)=>{var r;if(!e.components)return;const n=(r=Se(e.components,mr).schemas)==null?void 0:r[t];return N8(n)},mw=e=>e.type==="text"&&typeof e.id=="string"&&e.id.endsWith("/description/introduction");const Mi="Models",XJ=e=>!!(!Array.isArray(e)&&e&&"sources"in e&&Array.isArray(e.sources)),WJ=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~")),gw=e=>e.split("/").slice(1).map(WJ),bw=(e,t,n)=>{const[r,a]=e.split("#",2);if(r)return n.has(r)?a?a.startsWith("/")?`${n.get(r)}${a}`:n.get(`${r}#${a}`):n.get(r):void 0;if(a)return a.startsWith("/")?a.slice(1):n.get(`${t}#${a}`)},eh=e=>
2{if(e&&typeof e=="object"&&e.$id&&typeof e.$id=="string")return e.$id},oT=e=>e.join("/"),M8=(e,t="",n=[],r=new Map,a=new WeakSet)=>{if(typeof e!="object"||e===null||a.has(e))return r;a.add(e);const i=eh(e);i&&r.set(i,oT(n));const o=i??t;e.$anchor&&typeof e.$anchor=="string"&&r.set(`${o}#${e.$anchor}`,oT(n));for(const s in e)typeof e[s]=="object"&&e[s]!==null&&M8(e[s],o,[...n,s],r,a);return r};function Um(e,t){return t.reduce((n,r)=>{var i;return n.value===void 0?{context:"",value:void 0}:typeof n.value!="object"||n.value===null?{context:"",value:void 0}:{context:eh(n.value)??n.context,value:(i=n.value)==null?void 0:i[r]}},{context:"",value:e})}function YJ(e,t){return t.reduce((n,r)=>(n[r]===void 0&&(isNaN(Number(r))?n[r]={}:n[r]=[]),n[r]),e)}const L8=Symbol("isMagicProxy"),SR=Symbol("magicProxyTarget"),Jd="$ref-value",Ep="$ref",wf=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:M8(e),currentContext:""})=>{if(!We(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r={get(i,o,s){if(o===L8)return!0;if(o===SR)return i;if(typeof o=="string"&&o.startsWith("__scalar_")&&!(t!=null&&t.showInternal))return;const l=Reflect.get(i,Ep,s),c=eh(i);if(o===Jd&&typeof l=="string"){if(n.cache.has(l))return n.cache.get(l);const d=bw(l,c??n.currentContext,n.schemas);if(d===void 0)return;const f=Um(n.root,gw(`/${d}`));if(sT(f.value))return f.value;const h=wf(f.value,t,{...n,currentContext:f.context});return n.cache.set(l,h),h}const u=Reflect.get(i,o,s);return sT(u)?u:wf(u,t,{...n,currentContext:c??n.currentContext})},set(i,o,s,l){const c=Reflect.get(i,Ep,l);if(typeof o=="string"&&o.startsWith("__scalar_")&&!(t!=null&&t.showInternal))return!0;if(o===Jd&&typeof c=="string"){const u=eh(i),d=bw(c,u??n.currentContext,n.schemas);if(d===void 0)return;const f=gw(`/${d}`);if(f.length===0)return!1;const h=()=>Um(n.root,f.slice(0,-1)).value;return h()===void 0&&(YJ(n.root,f.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${c} 3 4Please fix your input file to fix this issue.`)),h()[f.at(-1)]=s,!0}return Reflect.set(i,o,s,l)},deleteProperty(i,o){return Reflect.deleteProperty(i,o)},has(i,o){return typeof o=="string"&&o.startsWith("__scalar_")&&!(t!=null&&t.showInternal)?!1:o===Jd&&Ep in i?!0:Reflect.has(i,o)},ownKeys(i){const s=Reflect.ownKeys(i).filter(l=>typeof l!="string"||!(l.startsWith("__scalar_")&&!(t!=null&&t.showInternal)));return Ep in i&&!s.includes(Jd)&&s.push(Jd),s},getOwnPropertyDescriptor(i,o){if(typeof o=="string"&&o.startsWith("__scalar_")&&!(t!=null&&t.showInternal))return;const s=Reflect.get(i,Ep);return o===Jd&&typeof s=="string"?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(i,o)}},a=new Proxy(e,r);return n.proxyCache.set(e,a),a},sT=e=>typeof e=="object"&&e!==null&&e[L8]===!0;function zu(e){return typeof e!="object"||e===null?e:e[L8]?e[SR]:e}const D8=Symbol("isDetectChangesProxy"),wR=Symbol("detectChangesProxyTarget"),yw=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!We(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);const r=new Proxy(e,{get(a,i,o){if(i===D8)return!0;if(i===wR)return a;const s=Reflect.get(a,i,o);return GJ(s)?s:yw(s,t,{...n,path:[...n.path,String(i)]})},set(a,i,o,s){var u,d,f,h;const l=[...n.path,String(i)];(d=(u=t==null?void 0:t.hooks)==null?void 0:u.onBeforeChange)==null||d.call(u,l,o);const c=Reflect.set(a,i,o,s);return(h=(f=t==null?void 0:t.hooks)==null?void 0:f.onAfterChange)==null||h.call(f,l,o),c},deleteProperty(a,i){var l,c,u,d;const o=[...n.path,String(i)];(c=(l=t==null?void 0:t.hooks)==null?void 0:l.onBeforeChange)==null||c.call(l,o);const s=Reflect.deleteProperty(a,i);return(d=(u=t==null?void 0:t.hooks)==null?void 0:u.onAfterChange)==null||d.call(u,o),s}});return n.proxyCache.set(e,r),r},GJ=e=>typeof e=="object"&&e!==null&&e[D8]===!0,xR=e=>typeof e!="object"||e===null?e:e[D8]?e[wR]:e,L2=Symbol("isOverridesProxy"),vw=Symbol("getOverridesTarget"),e2=(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??{},a={get(o,s,l){if(s===L2)return!0;
4if(s===vw)return o;const c=Reflect.get(o,s,l);return KJ(c)?c:We(c)?e2(c,{overrides:Reflect.get(r??{},s)},n):Reflect.get(r??{},s)??c},set(o,s,l,c){return s===L2||s===vw?!1:r&&Reflect.has(r,s)&&r&&typeof r=="object"?(r[s]=l,!0):Reflect.set(o,s,l,c)}},i=new Proxy(e,a);return n.cache.set(e,i),i},KJ=e=>typeof e=="object"&&e!==null&&e[L2]===!0;function JJ(e){return typeof e=="object"&&e!==null&&e[L2]?e[vw]:e}const qt=(e,{depth:t=0}={})=>{const n=(r,a=0)=>{if(typeof r!="object"||r===null)return r;const i=xR(Pi(zu(JJ(r))));return t!==null&&a>=t||(a!==0&&i!==r&&(console.warn(`%câ Warning:%c You tried to assign a proxied object (depth: %d). 5%cð¡ Tip:%c Pass a plain object instead â wrapping a proxy inside another proxy may cause weird bugs. 6%cð Debug Info:%c The problematic value is shown below:`,"background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",a,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",r,e),console.groupCollapsed("%cð Proxy assignment trace","color: #9c27b0; font-weight: bold;"),console.trace({value:r,raw:i}),console.groupEnd()),Object.entries(i).forEach(([o,s])=>{const l=n(s,a+1);Reflect.set(i,o,l)||console.warn(`%cð« Readonly Property Error:%c Failed to set property "%s" on object. 7%cð¡ Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property â the value was not updated. 8%cð Debug Info:%c Property: %s | Value: %o | Object: %o`,"background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",o,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",o,l,i)})),i};return n(e)},D2=e=>{const t=new WeakSet,n=new WeakMap,r=a=>{if(!We(a)&&!Array.isArray(a))return a;const i=qt(a,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return"[circular]";if(t.add(i),"$ref"in a){const s=Se(a),l=r(s),c=Object.entries(a).filter(([u])=>u!=="$ref"&&u!=="$ref-value");if(c.length>0&&We(l)){const u={...l};for(const[d,f]of c)u[d]=r(f);return n.set(i,u),u}return n.set(i,l),l}if(Array.isArray(a)){const s=a.map(r);return n.set(i,s),s}const o=Object.fromEntries(Object.entries(a).map(([s,l])=>[s,r(l)]));return n.set(i,o),o};return r(e)},lT=(e,t,n)=>{if(!e&&t===void 0)return;const r=!!e&&Object.keys(e).length>0,a=n||Object.keys(e??{})[0]||"",i=Se(e==null?void 0:e[a]);if(i!==void 0)return i;if((!r||!n)&&t!==void 0)return{value:Se(t)}},B8=(e,t,n)=>{var a,i,o;if("content"in e){const s=(a=e.content)==null?void 0:a[n??Object.keys(e.content)[0]??""],l=lT(s==null?void 0:s.examples,s==null?void 0:s.example,t);if(l!==void 0)return l}if("examples"in e||"example"in e){const s=lT(e.examples,e.example,t);if(s!==void 0)return s}const r=Se(e);if(r&&"schema"in r&&r.schema){const s=r.schema;if("default"in s&&s.default!==void 0)return{value:s.default};if("enum"in s&&((i=s.enum)==null?void 0:i[0])!==void 0)return{value:s.enum[0]};if("examples"in s&&((o=s.examples)==null?void 0:o[0])!==void 0)return{value:s.examples[0]};if("example"in s&&s.example!==void 0)return{value:s.example}}},to=e=>e!=null,U8=e=>e.replace(/~/g,"~0").replace(/\//g,"~1"),ky=e=>typeof e=="object"&&e!==null&&"$dynamicRef"in e&&typeof e.$dynamicRef=="string",cT=e=>"$dynamicAnchor"in e||"$id"in e||"$defs"in e,uT=new WeakMap,eee=e=>{const t=qt(e,{depth:1}),n=uT.get(t);if(n)return n;const r=new Map,a=s=>{if(!s||typeof s!="object")return;const l=s.$dynamicAnchor;typeof l=="string"&&!r.has(l)&&r.set(l,Se(s,mr))};a(e);const o=e.$defs;if(o&&typeof o=="object")for(const s of Object.keys(o))a(o[s]);return uT.set(t,r),r},Ay=(e,t)=>{const n=cT(t)?t:Se(t);return We(n)&&cT(n)?[...e,n]:e},Ty=(e,t)=>{const n=e.startsWith("#")?e.slice(1):void 0;if(!(!n||n.startsWith("/")))for(const r of t){const a=eee(r).get(n);if(a)return a}};function tee(e){return Kr(e)&&!Vi(e)&&!_0(e)&&Symbol.asyncIterator in e}function Vi(e){return Array.isArray(e)}function kR(e){return typeof e=="bigint"}function E0(e){return typeof e=="boolean"}function j8(e){return e instanceof globalThis.Date}function nee(e){return typeof e=="function"}function ree(e){return Kr(e)&&!Vi(e)&&!_0(e)&&Symbol.iterator in e}function aee(e){return e===null}function gl(e){return typeof e=="number"}function Kr(e){return typeof e=="object"&&e!==null}function AR(e){return e instanceof globalThis.RegExp}function jr(e){return typeof e=="string"}function iee(e){return typeof e=="symbol"}function _0(e){return e instanceof globalThis.Uint8Array}function Wr(e){return e===void 0}function oee(e){return e.map(t=>B2(t))}function see(e){return new Date(e.getTime())}function lee(e){return new Uint8Array(e)}function cee(e){return new RegExp(e.source,e.flags)}function uee(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=B2(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=B2(e[n]);return t}function B2(e){return Vi(e)?oee(e):j8(e)?see(e):_0(e)?lee(e):AR(e)?cee(e):Kr(e)?uee(e):e}function mo(e){return B2(e)}function F8(e,t){return mo(t===void 0?e:{...t,...e})}function TR(e){return as(e)&&globalThis.Symbol.asyncIterator in e}function ER(e){return as(e)&&globalThis.Symbol.iterator in e}function _R(e){return e instanceof globalThis.Promise}function Ey(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function dee(e){return e instanceof globalThis.Map}function fee(e){return e instanceof globalThis.Set}function hee(e){return globalThis.ArrayBuffer.isView(e)}function Q8(e){return e instanceof globalThis.Uint8Array}function wn(e,t){return t in e}function as(e){return e!==null&&typeof e=="object"}function rc(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function C0(e){return e===void 0}function $0(e){return e===null}function _y(e){return typeof e=="boolean"}function ds(e){return typeof e=="number"}function CR(e){return globalThis.Number.isInteger(e)}function Cy(e){return typeof e=="bigint"}function vs(e){return typeof e=="string"}function z8(e){return typeof e=="function"}function $y(e){return typeof e=="symbol"}function pee(e){return Cy(e)||_y(e)||$0(e)||ds(e)||vs(e)||$y(e)||C0(e)}var go;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(o,s){return e.ExactOptionalPropertyTypes?s in o:o[s]!==void 0}e.IsExactOptionalProperty=t;function n(o){const s=as(o);return e.AllowArrayObject?s:s&&!rc(o)}e.IsObjectLike=n;function r(o){return n(o)&&!(o instanceof Date)&&!(o instanceof Uint8Array)}e.IsRecordLike=r;function a(o){return e.AllowNaN?ds(o):Number.isFinite(o)}e.IsNumberLike=a;function i(o){const s=C0(o);return e.AllowNullVoid?s||o===null:s}e.IsVoidLike=i})(go||(go={}));function mee(e){return globalThis.Object.freeze(e).map(t=>U2(t))}function gee(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=U2(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=U2(e[n]);return globalThis.Object.freeze(t)}function U2(e){return Vi(e)?mee(e):j8(e)?e:_0(e)?e:AR(e)?e:Kr(e)?gee(e):e}function Ze(e,t){const n=t!==void 0?{...t,...e}:e;switch(go.InstanceMode){case"freeze":return U2(n);case"clone":return mo(n);default:return n}}
vendor: 5,705 bytes, line 8
8class wo extends Error{constructor(t){super(t)}}const Po=Symbol.for("TypeBox.Transform"),P0=Symbol.for("TypeBox.Readonly"),ac=Symbol.for("TypeBox.Optional"),Py=Symbol.for("TypeBox.Hint"),Je=Symbol.for("TypeBox.Kind");function H8(e){return Kr(e)&&e[P0]==="Readonly"}function ru(e){return Kr(e)&&e[ac]==="Optional"}function $R(e){return gn(e,"Any")}function PR(e){return gn(e,"Argument")}function Uh(e){return gn(e,"Array")}function Iy(e){return gn(e,"AsyncIterator")}function Ry(e){return gn(e,"BigInt")}function I0(e){return gn(e,"Boolean")}function jh(e){return gn(e,"Computed")}function Fh(e){return gn(e,"Constructor")}function bee(e){return gn(e,"Date")}function Qh(e){return gn(e,"Function")}function zh(e){return gn(e,"Integer")}function Vo(e){return gn(e,"Intersect")}function Ny(e){return gn(e,"Iterator")}function gn(e,t){return Kr(e)&&Je in e&&e[Je]===t}function IR(e){return E0(e)||gl(e)||jr(e)}function kd(e){return gn(e,"Literal")}function Ad(e){return gn(e,"MappedKey")}function xo(e){return gn(e,"MappedResult")}function R0(e){return gn(e,"Never")}function yee(e){return gn(e,"Not")}function V8(e){return gn(e,"Null")}function Hh(e){return gn(e,"Number")}function Ps(e){return gn(e,"Object")}function My(e){return gn(e,"Promise")}function Ly(e){return gn(e,"Record")}function Qi(e){return gn(e,"Ref")}function RR(e){return gn(e,"RegExp")}function N0(e){return gn(e,"String")}function q8(e){return gn(e,"Symbol")}function Td(e){return gn(e,"TemplateLiteral")}function vee(e){return gn(e,"This")}function Dy(e){return Kr(e)&&Po in e}function Ed(e){return gn(e,"Tuple")}function Z8(e){return gn(e,"Undefined")}function Ca(e){return gn(e,"Union")}function Oee(e){return gn(e,"Uint8Array")}function See(e){return gn(e,"Unknown")}function wee(e){return gn(e,"Unsafe")}function xee(e){return gn(e,"Void")}function kee(e){return Kr(e)&&Je in e&&jr(e[Je])}function zl(e){return $R(e)||PR(e)||Uh(e)||I0(e)||Ry(e)||Iy(e)||jh(e)||Fh(e)||bee(e)||Qh(e)||zh(e)||Vo(e)||Ny(e)||kd(e)||Ad(e)||xo(e)||R0(e)||yee(e)||V8(e)||Hh(e)||Ps(e)||My(e)||Ly(e)||Qi(e)||RR(e)||N0(e)||q8(e)||Td(e)||vee(e)||Ed(e)||Z8(e)||Ca(e)||Oee(e)||See(e)||wee(e)||xee(e)||kee(e)}const Aee=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function NR(e){try{return new RegExp(e),!0}catch{return!1}}function X8(e){if(!jr(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function MR(e){return W8(e)||Ua(e)}function _p(e){return Wr(e)||kR(e)}function Vn(e){return Wr(e)||gl(e)}function W8(e){return Wr(e)||E0(e)}function Un(e){return Wr(e)||jr(e)}function Tee(e){return Wr(e)||jr(e)&&X8(e)&&NR(e)}function Eee(e){return Wr(e)||jr(e)&&X8(e)}function LR(e){return Wr(e)||Ua(e)}function j2(e){return Kr(e)&&e[ac]==="Optional"}function Ss(e){return bn(e,"Any")&&Un(e.$id)}function _ee(e){return bn(e,"Argument")&&gl(e.index)}function _d(e){return bn(e,"Array")&&e.type==="array"&&Un(e.$id)&&Ua(e.items)&&Vn(e.minItems)&&Vn(e.maxItems)&&W8(e.uniqueItems)&&LR(e.contains)&&Vn(e.minContains)&&Vn(e.maxContains)}function Y8(e){return bn(e,"AsyncIterator")&&e.type==="AsyncIterator"&&Un(e.$id)&&Ua(e.items)}function By(e){return bn(e,"BigInt")&&e.type==="bigint"&&Un(e.$id)&&_p(e.exclusiveMaximum)&&_p(e.exclusiveMinimum)&&_p(e.maximum)&&_p(e.minimum)&&_p(e.multipleOf)}function Cd(e){return bn(e,"Boolean")&&e.type==="boolean"&&Un(e.$id)}function Cee(e){return bn(e,"Computed")&&jr(e.target)&&Vi(e.parameters)&&e.parameters.every(t=>Ua(t))}function Uy(e){return bn(e,"Constructor")&&e.type==="Constructor"&&Un(e.$id)&&Vi(e.parameters)&&e.parameters.every(t=>Ua(t))&&Ua(e.returns)}function jy(e){return bn(e,"Date")&&e.type==="Date"&&Un(e.$id)&&Vn(e.exclusiveMaximumTimestamp)&&Vn(e.exclusiveMinimumTimestamp)&&Vn(e.maximumTimestamp)&&Vn(e.minimumTimestamp)&&Vn(e.multipleOfTimestamp)}function Fy(e){return bn(e,"Function")&&e.type==="Function"&&Un(e.$id)&&Vi(e.parameters)&&e.parameters.every(t=>Ua(t))&&Ua(e.returns)}function ic(e){return bn(e,"Integer")&&e.type==="integer"&&Un(e.$id)&&Vn(e.exclusiveMaximum)&&Vn(e.exclusiveMinimum)&&Vn(e.maximum)&&Vn(e.minimum)&&Vn(e.multipleOf)}function DR(e){return Kr(e)&&Object.entries(e).every(([t,n])=>X8(t)&&Ua(n))}function $d(e){return bn(e,"Intersect")&&!(jr(e.type)&&e.type!=="object")&&Vi(e.allOf)&&e.allOf.every(t=>Ua(t)&&!Mee(t))&&Un(e.type)&&(W8(e.unevaluatedProperties)||LR(e.unevaluatedProperties))&&Un(e.$id)}function G8(e){return bn(e,"Iterator")&&e.type==="Iterator"&&Un(e.$id)&&Ua(e.items)}function bn(e,t){return Kr(e)&&Je in e&&e[Je]===t}function BR(e){return au(e)&&jr(e.const)}function UR(e){return au(e)&&gl(e.const)}function jR(e){return au(e)&&E0(e.const)}function au(e){return bn(e,"Literal")&&Un(e.$id)&&$ee(e.const)}function $ee(e){return E0(e)||gl(e)||jr(e)}function Pee(e){return bn(e,"MappedKey")&&Vi(e.keys)&&e.keys.every(t=>gl(t)||jr(t))}function Iee(e){return bn(e,"MappedResult")&&DR(e.properties)}function iu(e){return bn(e,"Never")&&Kr(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function th(e){return bn(e,"Not")&&Ua(e.not)}function K8(e){return bn(e,"Null")&&e.type==="null"&&Un(e.$id)}function Di(e){return bn(e,"Number")&&e.type==="number"&&Un(e.$id)&&Vn(e.exclusiveMaximum)&&Vn(e.exclusiveMinimum)&&Vn(e.maximum)&&Vn(e.minimum)&&Vn(e.multipleOf)}function Er(e){return bn(e,"Object")&&e.type==="object"&&Un(e.$id)&&DR(e.properties)&&MR(e.additionalProperties)&&Vn(e.minProperties)&&Vn(e.maxPro
8perties)}function J8(e){return bn(e,"Promise")&&e.type==="Promise"&&Un(e.$id)&&Ua(e.item)}function Ba(e){return bn(e,"Record")&&e.type==="object"&&Un(e.$id)&&MR(e.additionalProperties)&&Kr(e.patternProperties)&&(t=>{const n=Object.getOwnPropertyNames(t.patternProperties);return n.length===1&&NR(n[0])&&Kr(t.patternProperties)&&Ua(t.patternProperties[n[0]])})(e)}function Ree(e){return bn(e,"Ref")&&Un(e.$id)&&jr(e.$ref)}function jm(e){return bn(e,"RegExp")&&Un(e.$id)&&jr(e.source)&&jr(e.flags)&&Vn(e.maxLength)&&Vn(e.minLength)}function ws(e){return bn(e,"String")&&e.type==="string"&&Un(e.$id)&&Vn(e.minLength)&&Vn(e.maxLength)&&Tee(e.pattern)&&Eee(e.format)}function Fm(e){return bn(e,"Symbol")&&e.type==="symbol"&&Un(e.$id)}function Qm(e){return bn(e,"TemplateLiteral")&&e.type==="string"&&jr(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function Nee(e){return bn(e,"This")&&Un(e.$id)&&jr(e.$ref)}function Mee(e){return Kr(e)&&Po in e}function Qy(e){return bn(e,"Tuple")&&e.type==="array"&&Un(e.$id)&&gl(e.minItems)&&gl(e.maxItems)&&e.minItems===e.maxItems&&(Wr(e.items)&&Wr(e.additionalItems)&&e.minItems===0||Vi(e.items)&&e.items.every(t=>Ua(t)))}function ud(e){return bn(e,"Undefined")&&e.type==="undefined"&&Un(e.$id)}function Wl(e){return bn(e,"Union")&&Un(e.$id)&&Kr(e)&&Vi(e.anyOf)&&e.anyOf.every(t=>Ua(t))}function M0(e){return bn(e,"Uint8Array")&&e.type==="Uint8Array"&&Un(e.$id)&&Vn(e.minByteLength)&&Vn(e.maxByteLength)}function xs(e){return bn(e,"Unknown")&&Un(e.$id)}function Lee(e){return bn(e,"Unsafe")}function zy(e){return bn(e,"Void")&&e.type==="void"&&Un(e.$id)}function Dee(e){return Kr(e)&&Je in e&&jr(e[Je])&&!Aee.includes(e[Je])}function Ua(e){return Kr(e)&&(Ss(e)||_ee(e)||_d(e)||Cd(e)||By(e)||Y8(e)||Cee(e)||Uy(e)||jy(e)||Fy(e)||ic(e)||$d(e)||G8(e)||au(e)||Pee(e)||Iee(e)||iu(e)||th(e)||K8(e)||Di(e)||Er(e)||J8(e)||Ba(e)||Ree(e)||jm(e)||ws(e)||Fm(e)||Qm(e)||Nee(e)||Qy(e)||ud(e)||Wl(e)||M0(e)||xs(e)||Lee(e)||zy(e)||Dee(e))}const Bee="(true|false)",t2="(0|[1-9][0-9]*)",FR="(.*)",Uee="(?!.*)",nh=`^${t2}$`,rh=`^${FR}$`,jee=`^${Uee}$`,QR=new Map;function zR(e){return QR.has(e)}function HR(e){return QR.get(e)}const VR=new Map;function Hy(e){return VR.has(e)}function qR(e){return VR.get(e)}function Fee(e,t){return e.includes(t)}function Qee(e){return[...new Set(e)]}function zee(e,t){return e.filter(n=>t.includes(n))}function Hee(e,t){return e.reduce((n,r)=>zee(n,r),t)}function Vee(e){return e.length===1?e[0]:e.length>1?Hee(e.slice(1),e[0]):[]}function qee(e){const t=[];for(const n of e)t.push(...n);return t}function zm(e){return Ze({[Je]:"Any"},e)}function e6(e,t){return Ze({[Je]:"Array",type:"array",items:e},t)}function Zee(e){return Ze({[Je]:"Argument",index:e})}function t6(e,t){return Ze({[Je]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function da(e,t,n){return Ze({[Je]:"Computed",target:e,parameters:t},n)}function Xee(e,t){const{[t]:n,...r}=e;return r}function bo(e,t){return t.reduce((n,r)=>Xee(n,r),e)}function Rr(e){return Ze({[Je]:"Never",not:{}},e)}function za(e){return Ze({[Je]:"MappedResult",properties:e})}function n6(e,t,n){return Ze({[Je]:"Constructor",type:"Constructor",parameters:e,returns:t},n)}function L0(e,t,n){return Ze({[Je]:"Function",type:"Function",parameters:e,returns:t},n)}function Ow(e,t){return Ze({[Je]:"Union",anyOf:e},t)}function Wee(e){return e.some(t=>ru(t))}function dT(e){return e.map(t=>ru(t)?Yee(t):t)}function Yee(e){return bo(e,[ac])}function Gee(e,t){return Wee(e)?lu(Ow(dT(e),t)):Ow(dT(e),t)}function Vh(e,t){return e.length===1?Ze(e[0],t):e.length===0?Rr(t):Gee(e,t)}function Ha(e,t){return e.length===0?Rr(t):e.length===1?Ze(e[0],t):Ow(e,t)}class fT extends wo{}function Kee(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function r6(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function Bl(e,t){return r6(e,t,"(")}function Hm(e,t){return r6(e,t,")")}function ZR(e,t){return r6(e,t,"|")}function Jee(e){if(!(Bl(e,0)&&Hm(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(Bl(e,n)&&(t+=1),Hm(e,n)&&(t-=1),t===0&&n!==e.length-1)return!1;return!0}function ete(e){return e.slice(1,e.length-1)}function tte(e){let t=0;for(let n=0;n<e.length;n++)if(Bl(e,n)&&(t+=1),Hm(e,n)&&(t-=1),ZR(e,n)&&t===0)return!0;return!1}function nte(e){for(let t=0;t<e.length;t++)if(Bl(e,t))return!0;return!1}function rte(e){let[t,n]=[0,0];const r=[];for(let i=0;i<e.length;i++)if(Bl(e,i)&&(t+=1),Hm(e,i)&&(t-=1),ZR(e,i)&&t===0){const o=e.slice(n,i);o.length>0&&r.push(ah(o)),n=i+1}const a=e.slice(n);return a.length>0&&r.push(ah(a)),r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"or",expr:r}}
8function ate(e){function t(a,i){if(!Bl(a,i))throw new fT("TemplateLiteralParser: Index must point to open parens");let o=0;for(let s=i;s<a.length;s++)if(Bl(a,s)&&(o+=1),Hm(a,s)&&(o-=1),o===0)return[i,s];throw new fT("TemplateLiteralParser: Unclosed group parens in expression")}function n(a,i){for(let o=i;o<a.length;o++)if(Bl(a,o))return[i,o];return[i,a.length]}const r=[];for(let a=0;a<e.length;a++)if(Bl(e,a)){const[i,o]=t(e,a),s=e.slice(i,o+1);r.push(ah(s)),a=o}else{const[i,o]=n(e,a),s=e.slice(i,o);s.length>0&&r.push(ah(s)),a=o-1}return r.length===0?{type:"const",const:""}:r.length===1?r[0]:{type:"and",expr:r}}function ah(e){return Jee(e)?ah(ete(e)):tte(e)?rte(e):nte(e)?ate(e):{type:"const",const:Kee(e)}}function a6(e){return ah(e.slice(1,e.length-1))}class ite extends wo{}function ote(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function ste(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function lte(e){return e.type==="const"&&e.const===".*"}function Vm(e){return ote(e)||lte(e)?!1:ste(e)?!0:e.type==="and"?e.expr.every(t=>Vm(t)):e.type==="or"?e.expr.every(t=>Vm(t)):e.type==="const"?!0:(()=>{throw new ite("Unknown expression type")})()}function XR(e){const t=a6(e.pattern);return Vm(t)}class cte extends wo{}function*WR(e){if(e.length===1)return yield*e[0];for(const t of e[0])for(const n of WR(e.slice(1)))yield`${t}${n}`}function*ute(e){return yield*WR(e.expr.map(t=>[...Vy(t)]))}function*dte(e){for(const t of e.expr)yield*Vy(t)}function*fte(e){return yield e.const}function*Vy(e){return e.type==="and"?yield*ute(e):e.type==="or"?yield*dte(e):e.type==="const"?yield*fte(e):(()=>{throw new cte("Unknown expression")})()}function i6(e){const t=a6(e.pattern);return Vm(t)?[...Vy(t)]:[]}function Gr(e,t){return Ze({[Je]:"Literal",const:e,type:typeof e},t)}function YR(e){return Ze({[Je]:"Boolean",type:"boolean"},e)}function o6(e){return Ze({[Je]:"BigInt",type:"bigint"},e)}function Pd(e){return Ze({[Je]:"Number",type:"number"},e)}function dd(e){return Ze({[Je]:"String",type:"string"},e)}function*hte(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield YR():t==="number"?yield Pd():t==="bigint"?yield o6():t==="string"?yield dd():yield(()=>{const n=t.split("|").map(r=>Gr(r.trim()));return n.length===0?Rr():n.length===1?n[0]:Vh(n)})()}function*pte(e){if(e[1]!=="{"){const t=Gr("$"),n=Sw(e.slice(1));return yield*[t,...n]}for(let t=2;t<e.length;t++)if(e[t]==="}"){const n=hte(e.slice(2,t)),r=Sw(e.slice(t+1));return yield*[...n,...r]}yield Gr(e)}function*Sw(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){const n=Gr(e.slice(0,t)),r=pte(e.slice(t));return yield*[n,...r]}yield Gr(e)}function mte(e){return[...Sw(e)]}class gte extends wo{}function bte(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function GR(e,t){return Td(e)?e.pattern.slice(1,e.pattern.length-1):Ca(e)?`(${e.anyOf.map(n=>GR(n,t)).join("|")})`:Hh(e)?`${t}${t2}`:zh(e)?`${t}${t2}`:Ry(e)?`${t}${t2}`:N0(e)?`${t}${FR}`:kd(e)?`${t}${bte(e.const.toString())}`:I0(e)?`${t}${Bee}`:(()=>{throw new gte(`Unexpected Kind '${e[Je]}'`)})()}function hT(e){return`^${e.map(t=>GR(t,"")).join("")}$`}function F2(e){const n=i6(e).map(r=>Gr(r));return Vh(n)}function KR(e,t){const n=jr(e)?hT(mte(e)):hT(e);return Ze({[Je]:"TemplateLiteral",type:"string",pattern:n},t)}function yte(e){return i6(e).map(n=>n.toString())}function vte(e){const t=[];for(const n of e)t.push(...ou(n));return t}function Ote(e){return[e.toString()]}function ou(e){return[...new Set(Td(e)?yte(e):Ca(e)?vte(e.anyOf):kd(e)?Ote(e.const):Hh(e)?["[number]"]:zh(e)?["[number]"]:[])]}function Ste(e,t,n){const r={};for(const a of Object.getOwnPropertyNames(t))r[a]=qy(e,ou(t[a]),n);return r}function wte(e,t,n){return Ste(e,t.properties,n)}function xte(e,t,n){const r=wte(e,t,n);return za(r)}function JR(e,t){return e.map(n=>eN(n,t))}function kte(e){return e.filter(t=>!R0(t))}function Ate(e,t){return aN(kte(JR(e,t)))}function Tte(e){return e.some(t=>R0(t))?[]:e}function Ete(e,t){return Vh(Tte(JR(e,t)))}function _te(e,t){return t in e?e[t]:t==="[number]"?Vh(e):Rr()}function Cte(e,t){return t==="[number]"?e:Rr()}function $te(e,t){return t in e?e[t]:Rr()}function eN(e,t){return Vo(e)?Ate(e.allOf,t):Ca(e)?Ete(e.anyOf,t):Ed(e)?_te(e.items??[],t):Uh(e)?Cte(e.items,t):Ps(e)?$te(e.properties,t):Rr()}function tN(e,t){return t.map(n=>eN(e,n))}function pT(e,t){return Vh(tN(e,t))}
8function qy(e,t,n){if(Qi(e)||Qi(t)){const r="Index types using Ref parameters require both Type and Key to be of TSchema";if(!zl(e)||!zl(t))throw new wo(r);return da("Index",[e,t])}return xo(t)?xte(e,t,n):Ad(t)?Nte(e,t,n):Ze(zl(t)?pT(e,ou(t)):pT(e,t),n)}function Pte(e,t,n){return{[t]:qy(e,[t],mo(n))}}function Ite(e,t,n){return t.reduce((r,a)=>({...r,...Pte(e,a,n)}),{})}function Rte(e,t,n){return Ite(e,t.keys,n)}function Nte(e,t,n){const r=Rte(e,t,n);return za(r)}function s6(e,t){return Ze({[Je]:"Iterator",type:"Iterator",items:e},t)}function Mte(e){const t=[];for(let n in e)ru(e[n])||t.push(n);return t}function Lte(e,t){const n=Mte(e),r=n.length>0?{[Je]:"Object",type:"object",properties:e,required:n}:{[Je]:"Object",type:"object",properties:e};return Ze(r,t)}var _a=Lte;function nN(e,t){return Ze({[Je]:"Promise",type:"Promise",item:e},t)}function Dte(e){return Ze(bo(e,[P0]))}function Bte(e){return Ze({...e,[P0]:"Readonly"})}function Ute(e,t){return t===!1?Dte(e):Bte(e)}function su(e,t){const n=t??!0;return xo(e)?Qte(e,n):Ute(e,n)}function jte(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=su(e[r],t);return n}function Fte(e,t){return jte(e.properties,t)}function Qte(e,t){const n=Fte(e,t);return za(n)}function qh(e,t){return Ze(e.length>0?{[Je]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[Je]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function rN(e,t){return e in t?To(e,t[e]):za(t)}function zte(e){return{[e]:Gr(e)}}function Hte(e){const t={};for(const n of e)t[n]=Gr(n);return t}function Vte(e,t){return Fee(t,e)?zte(e):Hte(t)}function qte(e,t){const n=Vte(e,t);return rN(e,n)}function Cp(e,t){return t.map(n=>To(e,n))}function Zte(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(t))n[r]=To(e,t[r]);return n}function To(e,t){const n={...t};return ru(t)?lu(To(e,bo(t,[ac]))):H8(t)?su(To(e,bo(t,[P0]))):xo(t)?rN(e,t.properties):Ad(t)?qte(e,t.keys):Fh(t)?n6(Cp(e,t.parameters),To(e,t.returns),n):Qh(t)?L0(Cp(e,t.parameters),To(e,t.returns),n):Iy(t)?t6(To(e,t.items),n):Ny(t)?s6(To(e,t.items),n):Vo(t)?cu(Cp(e,t.allOf),n):Ca(t)?Ha(Cp(e,t.anyOf),n):Ed(t)?qh(Cp(e,t.items??[]),n):Ps(t)?_a(Zte(e,t.properties),n):Uh(t)?e6(To(e,t.items),n):My(t)?nN(To(e,t.item),n):t}function Xte(e,t){const n={};for(const r of e)n[r]=To(r,t);return n}function Wte(e,t,n){const r=zl(e)?ou(e):e,a=t({[Je]:"MappedKey",keys:r}),i=Xte(r,a);return _a(i,n)}function Yte(e){return Ze(bo(e,[ac]))}function Gte(e){return Ze({...e,[ac]:"Optional"})}function Kte(e,t){return t===!1?Yte(e):Gte(e)}function lu(e,t){const n=t??!0;return xo(e)?tne(e,n):Kte(e,n)}function Jte(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=lu(e[r],t);return n}function ene(e,t){return Jte(e.properties,t)}function tne(e,t){const n=ene(e,t);return za(n)}function ww(e,t={}){const n=e.every(a=>Ps(a)),r=zl(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return Ze(t.unevaluatedProperties===!1||zl(t.unevaluatedProperties)||n?{...r,[Je]:"Intersect",type:"object",allOf:e}:{...r,[Je]:"Intersect",allOf:e},t)}function nne(e){return e.every(t=>ru(t))}function rne(e){return bo(e,[ac])}function mT(e){return e.map(t=>ru(t)?rne(t):t)}function ane(e,t){return nne(e)?lu(ww(mT(e),t)):ww(mT(e),t)}function aN(e,t={}){if(e.length===1)return Ze(e[0],t);if(e.length===0)return Rr(t);if(e.some(n=>Dy(n)))throw new Error("Cannot intersect transform types");return ane(e,t)}function cu(e,t){if(e.length===1)return Ze(e[0],t);if(e.length===0)return Rr(t);if(e.some(n=>Dy(n)))throw new Error("Cannot intersect transform types");return ww(e,t)}function D0(...e){const[t,n]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new wo("Ref: $ref must be a string");return Ze({[Je]:"Ref",$ref:t},n)}function ine(e,t){return da("Awaited",[da(e,t)])}function one(e){return da("Awaited",[D0(e)])}function sne(e){return cu(iN(e))}function lne(e){return Ha(iN(e))}function cne(e){return Zy(e)}function iN(e){return e.map(t=>Zy(t))}function Zy(e,t){return Ze(jh(e)?ine(e.target,e.parameters):Vo(e)?sne(e.allOf):Ca(e)?lne(e.anyOf):My(e)?cne(e.item):Qi(e)?one(e.$ref):e,t)}function oN(e){const t=[];for(const n of e)t.push(Xy(n));return t}function une(e){const t=oN(e);return qee(t)}function dne(e){const t=oN(e);return Vee(t)}function fne(e){return e.map((t,n)=>n.toString())}function hne(e){return["[number]"]}function pne(e){return globalThis.Object.getOwnPropertyNames(e)}function mne(e){return xw?globalThis.Object.getOwnPropertyNames(e).map(n=>n[0]==="^"&&n[n.length-1]==="$"?n.slice(1,n.length-1):n):[]}function Xy(e){return Vo(e)?une(e.allOf):Ca(e)?dne(e.anyOf):Ed(e)?fne(e.items??[]):Uh(e)?hne(e.items):Ps(e)?pne(e.properties):Ly(e)?mne(e.patternProperties):[]}let xw=!1;function Q2(e){xw=!0;const t=Xy(e);return xw=!1,`^(${t.map(r=>`(${r})`).join("|")})$`}function gne(e,t){return da("KeyOf",[da(e,t)])}function bne(e){return da("KeyOf",[D0(e)])}function yne(e,t){const n=Xy(e),r=vne(n),a=Vh(r);return Ze(a,t)}function vne(e){return e.map(t=>t==="[number]"?Pd():Gr(t))}function l6(e,t){return jh(e)?gne(e.target,e.parameters):Qi(e)?bne(e.$ref):xo(e)?wne(e,t):yne(e,t)}function One(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=l6(e[r],mo(t));return n}function Sne(e,t){return One(e.properties,t)}function wne(e,t){const n=Sne(e,t);return za(n)}function xne(e){const t=[];for(const n of e)t.push(...Xy(n));return Qee(t)}function kne(e){return e.filter(t=>!R0(t))}function Ane(e,t){const n=[];for(const r of e)n.push(...tN(r,[t]));return kne(n)}function Tne(e,t){const n={};for(const r of t)n[r]=aN(Ane(e,r));return n}function Ene(e,t){const n=xne(e),r=Tne(e,n);return _a(r,t)}function sN(e){return Ze({[Je]:"Date",type:"Date"},e)}function lN(e){return Ze({[Je]:"Null",type:"null"},e)}function cN(e){return Ze({[Je]:"Symbol",type:"symbol"},e)}function uN(e){return Ze({[Je]:"Undefined",type:"undefined"},e)}function dN(e){return Ze({[Je]:"Uint8Array",type:"Uint8Array"},e)}function Wy(e){return Ze({[Je]:"Unknown"},e)}function _ne(e){return e.map(t=>c6(t,!1))}function Cne(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=su(c6(e[n],!1));return t}function N1(e,t){return t===!0?e:su(e)}function c6(e,t){return tee(e)||ree(e)?N1(zm(),t):Vi(e)?su(qh(_ne(e))):_0(e)?dN():j8(e)?sN():Kr(e)?N1(_a(Cne(e)),t):nee(e)?N1(L0([],Wy()),t):Wr(e)?uN():aee(e)?lN():iee(e)?cN():kR(e)?o6():gl(e)||E0(e)||jr(e)?Gr(e):_a({})}function $ne(e,t){return Ze(c6(e,!0),t)}function Pne(e,t){return Fh(e)?qh(e.parameters,t):Rr(t)}function Ine(e,t){if(Wr(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter(i=>isNaN(i)).map(i=>e[i]),a=[...new Set(n)].map(i=>Gr(i));return Ha(a,{...t,[Py]:"Enum"})}class Rne extends wo{}var ve;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(ve||(ve={}));function Qo(e){return e===ve.False?e:ve.True}function Zh(e){throw new Rne(e)}function ea(e){return iu(e)||$d(e)||Wl(e)||xs(e)||Ss(e)}function ta(e,t){return iu(t)?pN():$d(t)?Yy(e,t):Wl(t)?d6(e,t):xs(t)?yN():Ss(t)?u6():Zh("StructuralRight")}function u6(e,t){return ve.True}function Nne(e,t){return $d(t)?Yy(e,t):Wl(t)&&t.anyOf.some(n=>Ss(n)||xs(n))?ve.True:Wl(t)?ve.Union:xs(t)||Ss(t)?ve.True:ve.Union}function Mne(e,t){return xs(e)?ve.False:Ss(e)?ve.Union:iu(e)?ve.True:ve.False}function Lne(e,t){return Er(t)&&Gy(t)?ve.True:ea(t)?ta(e,t):_d(t)?Qo(Bn(e.items,t.items)):ve.False}function Dne(e,t){return ea(t)?ta(e,t):Y8(t)?Qo(Bn(e.items,t.items)):ve.False}function Bne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):By(t)?ve.True:ve.False}function fN(e,t){return jR(e)||Cd(e)?ve.True:ve.False}function Une(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):Cd(t)?ve.True:ve.False}function jne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Uy(t)?e.parameters.length>t.parameters.length?ve.False:e.parameters.every((n,r)=>Qo(Bn(t.parameters[r],n))===ve.True)?Qo(Bn(e.returns,t.returns)):ve.False:ve.False}function Fne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):jy(t)?ve.True:ve.False}function Qne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Fy(t)?e.parameters.length>t.parameters.length?ve.False:e.parameters.every((n,r)=>Qo(Bn(t.parameters[r],n))===ve.True)?Qo(Bn(e.returns,t.returns)):ve.False:ve.False}function hN(e,t){return au(e)&&gl(e.const)||Di(e)||ic(e)?ve.True:ve.False}function zne(e,t){return ic(t)||Di(t)?ve.True:ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):ve.False}function Yy(e,t){return t.allOf.every(n=>Bn(e,n)===ve.True)?ve.True:ve.False}function Hne(e,t){return e.allOf.some(n=>Bn(n,t)===ve.True)?ve.True:ve.False}function Vne(e,t){return ea(t)?ta(e,t):G8(t)?Qo(Bn(e.items,t.items)):ve.False}function qne(e,t){return au(t)&&t.const===e.const?ve.True:ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):ws(t)?bN(e):Di(t)?mN(e):ic(t)?hN(e):Cd(t)?fN(e):ve.False}function pN(e,t){return ve.False}function Zne(e,t){return ve.True}function gT(e){let[t,n]=[e,0];for(;th(t);
8)t=t.not,n+=1;return n%2===0?t:Wy()}function Xne(e,t){return th(e)?Bn(gT(e),t):th(t)?Bn(e,gT(t)):Zh("Invalid fallthrough for Not")}function Wne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):K8(t)?ve.True:ve.False}function mN(e,t){return UR(e)||Di(e)||ic(e)?ve.True:ve.False}function Yne(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):ic(t)||Di(t)?ve.True:ve.False}function zi(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function bT(e){return Gy(e)}function yT(e){return zi(e,0)||zi(e,1)&&"description"in e.properties&&Wl(e.properties.description)&&e.properties.description.anyOf.length===2&&(ws(e.properties.description.anyOf[0])&&ud(e.properties.description.anyOf[1])||ws(e.properties.description.anyOf[1])&&ud(e.properties.description.anyOf[0]))}function NO(e){return zi(e,0)}function vT(e){return zi(e,0)}function Gne(e){return zi(e,0)}function Kne(e){return zi(e,0)}function Jne(e){return Gy(e)}function ere(e){const t=Pd();return zi(e,0)||zi(e,1)&&"length"in e.properties&&Qo(Bn(e.properties.length,t))===ve.True}function tre(e){return zi(e,0)}function Gy(e){const t=Pd();return zi(e,0)||zi(e,1)&&"length"in e.properties&&Qo(Bn(e.properties.length,t))===ve.True}function nre(e){const t=L0([zm()],zm());return zi(e,0)||zi(e,1)&&"then"in e.properties&&Qo(Bn(e.properties.then,t))===ve.True}function gN(e,t){return Bn(e,t)===ve.False||j2(e)&&!j2(t)?ve.False:ve.True}function si(e,t){return xs(e)?ve.False:Ss(e)?ve.Union:iu(e)||BR(e)&&bT(t)||UR(e)&&NO(t)||jR(e)&&vT(t)||Fm(e)&&yT(t)||By(e)&&Gne(t)||ws(e)&&bT(t)||Fm(e)&&yT(t)||Di(e)&&NO(t)||ic(e)&&NO(t)||Cd(e)&&vT(t)||M0(e)&&Jne(t)||jy(e)&&Kne(t)||Uy(e)&&tre(t)||Fy(e)&&ere(t)?ve.True:Ba(e)&&ws(kw(e))?t[Py]==="Record"?ve.True:ve.False:Ba(e)&&Di(kw(e))?zi(t,0)?ve.True:ve.False:ve.False}function rre(e,t){return ea(t)?ta(e,t):Ba(t)?qo(e,t):Er(t)?(()=>{for(const n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!j2(t.properties[n]))return ve.False;if(j2(t.properties[n]))return ve.True;if(gN(e.properties[n],t.properties[n])===ve.False)return ve.False}return ve.True})():ve.False}function are(e,t){return ea(t)?ta(e,t):Er(t)&&nre(t)?ve.True:J8(t)?Qo(Bn(e.item,t.item)):ve.False}function kw(e){return nh in e.patternProperties?Pd():rh in e.patternProperties?dd():Zh("Unknown record key pattern")}function Aw(e){return nh in e.patternProperties?e.patternProperties[nh]:rh in e.patternProperties?e.patternProperties[rh]:Zh("Unable to get record value schema")}function qo(e,t){const[n,r]=[kw(t),Aw(t)];return BR(e)&&Di(n)&&Qo(Bn(e,r))===ve.True?ve.True:M0(e)&&Di(n)||ws(e)&&Di(n)||_d(e)&&Di(n)?Bn(e,r):Er(e)?(()=>{for(const a of Object.getOwnPropertyNames(e.properties))if(gN(r,e.properties[a])===ve.False)return ve.False;return ve.True})():ve.False}function ire(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?Bn(Aw(e),Aw(t)):ve.False}function ore(e,t){const n=jm(e)?dd():e,r=jm(t)?dd():t;return Bn(n,r)}function bN(e,t){return au(e)&&jr(e.const)||ws(e)?ve.True:ve.False}function sre(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):ws(t)?ve.True:ve.False}function lre(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):Fm(t)?ve.True:ve.False}function cre(e,t){return Qm(e)?Bn(F2(e),t):Qm(t)?Bn(e,F2(t)):Zh("Invalid fallthrough for TemplateLiteral")}function ure(e,t){return _d(t)&&e.items!==void 0&&e.items.every(n=>Bn(n,t.items)===ve.True)}function dre(e,t){return iu(e)?ve.True:xs(e)?ve.False:Ss(e)?ve.Union:ve.False}function fre(e,t){return ea(t)?ta(e,t):Er(t)&&Gy(t)||_d(t)&&ure(e,t)?ve.True:Qy(t)?Wr(e.items)&&!Wr(t.items)||!Wr(e.items)&&Wr(t.items)?ve.False:Wr(e.items)&&!Wr(t.items)||e.items.every((n,r)=>Bn(n,t.items[r])===ve.True)?ve.True:ve.False:ve.False}function hre(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):M0(t)?ve.True:ve.False}function pre(e,t){return ea(t)?ta(e,t):Er(t)?si(e,t):Ba(t)?qo(e,t):zy(t)?bre(e):ud(t)?ve.True:ve.False}function d6(e,t){return t.anyOf.some(n=>Bn(e,n)===ve.True)?ve.True:ve.False}function mre(e,t){return e.anyOf.every(n=>Bn(n,t)===ve.True)?ve.True:ve.False}function yN(e,t){return ve.True}function gre(e,t){return iu(t)?pN():$d(t)?Yy(e,t):Wl(t)?d6(e,t):Ss(t)?u6():ws(t)?bN(e):Di(t)?mN(e):ic(t)?hN(e):Cd(t)?fN(e):_d(t)?Mne(e):Qy(t)?dre(e):Er(t)?si(e,t):xs(t)?ve.True:ve.False}function bre(e,t){return ud(e)||ud(e)?ve.True:ve.False}function yre(e,t){return $d(t)?Yy(e,t):Wl(t)?d6(e,t):xs(t)?yN():Ss(t)?u6():Er(t)?si(e,t):zy(t)?ve.True:ve.False}function Bn(e,t){return Qm(e)||Qm(t)?cre(e,t):jm(e)||jm(t)?ore(e,t):th(e)||th(t)?Xne(e,t):Ss(e)?Nne(e,t):_d(e)?
8Lne(e,t):By(e)?Bne(e,t):Cd(e)?Une(e,t):Y8(e)?Dne(e,t):Uy(e)?jne(e,t):jy(e)?Fne(e,t):Fy(e)?Qne(e,t):ic(e)?zne(e,t):$d(e)?Hne(e,t):G8(e)?Vne(e,t):au(e)?qne(e,t):iu(e)?Zne():K8(e)?Wne(e,t):Di(e)?Yne(e,t):Er(e)?rre(e,t):Ba(e)?ire(e,t):ws(e)?sre(e,t):Fm(e)?lre(e,t):Qy(e)?fre(e,t):J8(e)?are(e,t):M0(e)?hre(e,t):ud(e)?pre(e,t):Wl(e)?mre(e,t):xs(e)?gre(e,t):zy(e)?yre(e,t):Zh(`Unknown left type operand '${e[Je]}'`)}function B0(e,t){return Bn(e,t)}function vre(e,t,n,r,a){const i={};for(const o of globalThis.Object.getOwnPropertyNames(e))i[o]=f6(e[o],t,n,r,mo(a));return i}function Ore(e,t,n,r,a){return vre(e.properties,t,n,r,a)}function Sre(e,t,n,r,a){const i=Ore(e,t,n,r,a);return za(i)}function wre(e,t,n,r){const a=B0(e,t);return a===ve.Union?Ha([n,r]):a===ve.True?n:r}function f6(e,t,n,r,a){return xo(e)?Sre(e,t,n,r,a):Ad(e)?Ze(Tre(e,t,n,r,a)):Ze(wre(e,t,n,r),a)}function xre(e,t,n,r,a){return{[e]:f6(Gr(e),t,n,r,mo(a))}}function kre(e,t,n,r,a){return e.reduce((i,o)=>({...i,...xre(o,t,n,r,a)}),{})}function Are(e,t,n,r,a){return kre(e.keys,t,n,r,a)}function Tre(e,t,n,r,a){const i=Are(e,t,n,r,a);return za(i)}function Ere(e){return e.allOf.every(t=>U0(t))}function _re(e){return e.anyOf.some(t=>U0(t))}function Cre(e){return!U0(e.not)}function U0(e){return e[Je]==="Intersect"?Ere(e):e[Je]==="Union"?_re(e):e[Je]==="Not"?Cre(e):e[Je]==="Undefined"}function $re(e,t){return h6(F2(e),t)}function Pre(e,t){const n=e.filter(r=>B0(r,t)===ve.False);return n.length===1?n[0]:Ha(n)}function h6(e,t,n={}){return Td(e)?Ze($re(e,t),n):xo(e)?Ze(Nre(e,t),n):Ze(Ca(e)?Pre(e.anyOf,t):B0(e,t)!==ve.False?Rr():e,n)}function Ire(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=h6(e[r],t);return n}function Rre(e,t){return Ire(e.properties,t)}function Nre(e,t){const n=Rre(e,t);return za(n)}function Mre(e,t){return p6(F2(e),t)}function Lre(e,t){const n=e.filter(r=>B0(r,t)!==ve.False);return n.length===1?n[0]:Ha(n)}function p6(e,t,n){return Td(e)?Ze(Mre(e,t),n):xo(e)?Ze(Ure(e,t),n):Ze(Ca(e)?Lre(e.anyOf,t):B0(e,t)!==ve.False?e:Rr(),n)}function Dre(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=p6(e[r],t);return n}function Bre(e,t){return Dre(e.properties,t)}function Ure(e,t){const n=Bre(e,t);return za(n)}function jre(e,t){return Fh(e)?Ze(e.returns,t):Rr(t)}function vN(e){return su(lu(e))}function Id(e,t,n){return Ze({[Je]:"Record",type:"object",patternProperties:{[e]:t}},n)}function m6(e,t,n){const r={};for(const a of e)r[a]=t;return _a(r,{...n,[Py]:"Record"})}function Fre(e,t,n){return XR(e)?m6(ou(e),t,n):Id(e.pattern,t,n)}function Qre(e,t,n){return m6(ou(Ha(e)),t,n)}function zre(e,t,n){return m6([e.toString()],t,n)}function Hre(e,t,n){return Id(e.source,t,n)}function Vre(e,t,n){const r=Wr(e.pattern)?rh:e.pattern;return Id(r,t,n)}function qre(e,t,n){return Id(rh,t,n)}function Zre(e,t,n){return Id(jee,t,n)}function Xre(e,t,n){return _a({true:t,false:t},n)}function Wre(e,t,n){return Id(nh,t,n)}function Yre(e,t,n){return Id(nh,t,n)}function ON(e,t,n={}){return Ca(e)?Qre(e.anyOf,t,n):Td(e)?Fre(e,t,n):kd(e)?zre(e.const,t,n):I0(e)?Xre(e,t,n):zh(e)?Wre(e,t,n):Hh(e)?Yre(e,t,n):RR(e)?Hre(e,t,n):N0(e)?Vre(e,t,n):$R(e)?qre(e,t,n):R0(e)?Zre(e,t,n):Rr(n)}function g6(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Gre(e){const t=g6(e);return t===rh?dd():t===nh?Pd():dd({pattern:t})}function SN(e){return e.patternProperties[g6(e)]}function Kre(e,t){return t.parameters=j0(e,t.parameters),t.returns=ks(e,t.returns),t}function Jre(e,t){return t.parameters=j0(e,t.parameters),t.returns=ks(e,t.returns),t}function eae(e,t){return t.allOf=j0(e,t.allOf),t}function tae(e,t){return t.anyOf=j0(e,t.anyOf),t}function nae(e,t){return Wr(t.items)||(t.items=j0(e,t.items)),t}function rae(e,t){return t.items=ks(e,t.items),t}function aae(e,t){return t.items=ks(e,t.items),t}function iae(e,t){return t.items=ks(e,t.items),t}function oae(e,t){return t.item=ks(e,t.item),t}function sae(e,t){const n=dae(e,t.properties);return{...t,..._a(n)}}function lae(e,t){const n=ks(e,Gre(t)),r=ks(e,SN(t)),a=ON(n,r);return{...t,...a}}function cae(e,t){return t.index in e?e[t.index]:Wy()}function uae(e,t){const n=H8(t),r=ru(t),a=ks(e,t);return n&&r?vN(a):n&&!r?su(a):!n&&r?lu(a):a}function dae(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:uae(e,t[r])}),{})}function j0(e,t){return t.map(n=>ks(e,n))}function ks(e,t){return Fh(t)?Kre(e,t):Qh(t)?Jre(e,t):Vo(t)?eae(e,t):Ca(t)?tae(e,t):Ed(t)?nae(e,t):Uh(t)?rae(e,t):Iy(t)?aae(e,t):Ny(t)?iae(e,t):My(t)?oae(e,t):Ps(t)?sae(e,t):Ly(t)?lae(e,t):PR(t)?cae(e,t):t}function fae(e,t){return ks(t,F8(e))}function hae(e){return Ze({[Je]:"Integer",type:"integer"},e)}function pae(e,t,n){return{[e]:Xh(Gr(e),t,mo(n))}}function mae(e,t,n){return e.reduce((a,i)=>({...a,...pae(i,t,n)}),{})}function gae(e,t,n){return mae(e.keys,t,n)}function bae(e,t,n){const r=gae(e,t,n);return za(r)}function yae(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}function vae(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}function Oae(e){return e.toUpperCase()}function Sae(e){return e.toLowerCase()}function wae(e,t,n){const r=a6(e.pattern);if(!Vm(r))return{...e,pattern:wN(e.pattern,t)};const o=[...Vy(r)].map(c=>Gr(c)),s=xN(o,t),l=Ha(s);return KR([l],n)}function wN(e,t){return typeof e=="string"?t==="Uncapitalize"?yae(e):t==="Capitalize"?vae(e):t==="Uppercase"?Oae(e):t==="Lowercase"?Sae(e):e:e.toString()}function xN(e,t){return e.map(n=>Xh(n,t))}function Xh(e,t,n={}){return Ad(e)?bae(e,t,n):Td(e)?wae(e,t,n):Ca(e)?Ha(xN(e.anyOf,t),n):kd(e)?Gr(wN(e.const,t),n):Ze(e,n)}function xae(e,t={}){return Xh(e,"Capitalize",t)}function kae(e,t={}){return Xh(e,"Lowercase",t)}function Aae(e,t={}){return Xh(e,"Uncapitalize",t)}function Tae(e,t={}){return Xh(e,"Uppercase",t)}function Eae(e,t,n){const r={};for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=Ky(e[a],t,mo(n));return r}function _ae(e,t,n){return Eae(e.properties,t,n)}function Cae(e,t,n){const r=_ae(e,t,n);return za(r)}function $ae(e,t){return e.map(n=>b6(n,t))}function Pae(e,t){return e.map(n=>b6(n,t))}function Iae(e,t){const{[t]:n,...r}=e;return r}function Rae(e,t){return t.reduce((n,r)=>Iae(n,r),e)}function Nae(e,t){const n=bo(e,[Po,"$id","required","properties"]),r=Rae(e.properties,t);return _a(r,n)}function Mae(e){const t=e.reduce((n,r)=>IR(r)?[...n,Gr(r)]:n,[]);return Ha(t)}function b6(e,t){return Vo(e)?cu($ae(e.allOf,t)):Ca(e)?Ha(Pae(e.anyOf,t)):Ps(e)?Nae(e,t):_a({})}function Ky(e,t,n){const r=Vi(t)?Mae(t):t,a=zl(t)?ou(t):t,i=Qi(e),o=Qi(t);return xo(e)?Cae(e,a,n):Ad(t)?Uae(e,t,n):i&&o?da("Omit",[e,r],n):!i&&o?da("Omit",[e,r],n):i&&!o?da("Omit",[e,r],n):Ze({...b6(e,a),...n})}function Lae(e,t,n){return{[t]:Ky(e,[t],mo(n))}}function Dae(e,t,n){return t.reduce((r,a)=>({...r,...Lae(e,a,n)}),{})}function Bae(e,t,n){return Dae(e,t.keys,n)}function Uae(e,t,n){const r=Bae(e,t,n);return za(r)}function jae(e,t,n){const r={};for(const a of globalThis.Object.getOwnPropertyNames(e))r[a]=Jy(e[a],t,mo(n));return r}function Fae(e,t,n){return jae(e.properties,t,n)}function Qae(e,t,n){const r=Fae(e,t,n);return za(r)}function zae(e,t){return e.map(n=>y6(n,t))}function Hae(e,t){return e.map(n=>y6(n,t))}function Vae(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qae(e,t){const n=bo(e,[Po,"$id","required","properties"]),r=Vae(e.properties,t);return _a(r,n)}function Zae(e){const t=e.reduce((n,r)=>IR(r)?[...n,Gr(r)]:n,[]);return Ha(t)}function y6(e,t){return Vo(e)?cu(zae(e.allOf,t)):Ca(e)?Ha(Hae(e.anyOf,t)):Ps(e)?qae(e,t):_a({})}
8function Jy(e,t,n){const r=Vi(t)?Zae(t):t,a=zl(t)?ou(t):t,i=Qi(e),o=Qi(t);return xo(e)?Qae(e,a,n):Ad(t)?Gae(e,t,n):i&&o?da("Pick",[e,r],n):!i&&o?da("Pick",[e,r],n):i&&!o?da("Pick",[e,r],n):Ze({...y6(e,a),...n})}function Xae(e,t,n){return{[t]:Jy(e,[t],mo(n))}}function Wae(e,t,n){return t.reduce((r,a)=>({...r,...Xae(e,a,n)}),{})}function Yae(e,t,n){return Wae(e,t.keys,n)}function Gae(e,t,n){const r=Yae(e,t,n);return za(r)}function Kae(e,t){return da("Partial",[da(e,t)])}function Jae(e){return da("Partial",[D0(e)])}function eie(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=lu(e[n]);return t}function tie(e){const t=bo(e,[Po,"$id","required","properties"]),n=eie(e.properties);return _a(n,t)}function OT(e){return e.map(t=>kN(t))}function kN(e){return jh(e)?Kae(e.target,e.parameters):Qi(e)?Jae(e.$ref):Vo(e)?cu(OT(e.allOf)):Ca(e)?Ha(OT(e.anyOf)):Ps(e)?tie(e):Ry(e)||I0(e)||zh(e)||kd(e)||V8(e)||Hh(e)||N0(e)||q8(e)||Z8(e)?e:_a({})}function v6(e,t){return xo(e)?aie(e,t):Ze({...kN(e),...t})}function nie(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=v6(e[r],mo(t));return n}function rie(e,t){return nie(e.properties,t)}function aie(e,t){const n=rie(e,t);return za(n)}function iie(e,t){return da("Required",[da(e,t)])}function oie(e){return da("Required",[D0(e)])}function sie(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=bo(e[n],[ac]);return t}function lie(e){const t=bo(e,[Po,"$id","required","properties"]),n=sie(e.properties);return _a(n,t)}function ST(e){return e.map(t=>AN(t))}function AN(e){return jh(e)?iie(e.target,e.parameters):Qi(e)?oie(e.$ref):Vo(e)?cu(ST(e.allOf)):Ca(e)?Ha(ST(e.anyOf)):Ps(e)?lie(e):Ry(e)||I0(e)||zh(e)||kd(e)||V8(e)||Hh(e)||N0(e)||q8(e)||Z8(e)?e:_a({})}function O6(e,t){return xo(e)?die(e,t):Ze({...AN(e),...t})}function cie(e,t){const n={};for(const r of globalThis.Object.getOwnPropertyNames(e))n[r]=O6(e[r],t);return n}function uie(e,t){return cie(e.properties,t)}function die(e,t){const n=uie(e,t);return za(n)}function fie(e,t){return t.map(n=>Qi(n)?S6(e,n.$ref):yo(e,n))}function S6(e,t){return t in e?Qi(e[t])?S6(e,e[t].$ref):yo(e,e[t]):Rr()}function hie(e){return Zy(e[0])}function pie(e){return qy(e[0],e[1])}function mie(e){return l6(e[0])}function gie(e){return v6(e[0])}function bie(e){return Ky(e[0],e[1])}function yie(e){return Jy(e[0],e[1])}function vie(e){return O6(e[0])}function Oie(e,t,n){const r=fie(e,n);return t==="Awaited"?hie(r):t==="Index"?pie(r):t==="KeyOf"?mie(r):t==="Partial"?gie(r):t==="Omit"?bie(r):t==="Pick"?yie(r):t==="Required"?vie(r):Rr()}function Sie(e,t){return e6(yo(e,t))}function wie(e,t){return t6(yo(e,t))}function xie(e,t,n){return n6(F0(e,t),yo(e,n))}function kie(e,t,n){return L0(F0(e,t),yo(e,n))}function Aie(e,t){return cu(F0(e,t))}function Tie(e,t){return s6(yo(e,t))}function Eie(e,t){return _a(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:yo(e,t[r])}),{}))}function _ie(e,t){const[n,r]=[yo(e,SN(t)),g6(t)],a=F8(t);return a.patternProperties[r]=n,a}function Cie(e,t){return Qi(t)?{...S6(e,t.$ref),[Po]:t[Po]}:t}function $ie(e,t){return qh(F0(e,t))}function Pie(e,t){return Ha(F0(e,t))}function F0(e,t){return t.map(n=>yo(e,n))}function yo(e,t){return ru(t)?Ze(yo(e,bo(t,[ac])),t):H8(t)?Ze(yo(e,bo(t,[P0])),t):Dy(t)?Ze(Cie(e,t),t):Uh(t)?Ze(Sie(e,t.items),t):Iy(t)?Ze(wie(e,t.items),t):jh(t)?Ze(Oie(e,t.target,t.parameters)):Fh(t)?Ze(xie(e,t.parameters,t.returns),t):Qh(t)?Ze(kie(e,t.parameters,t.returns),t):Vo(t)?Ze(Aie(e,t.allOf),t):Ny(t)?Ze(Tie(e,t.items),t):Ps(t)?Ze(Eie(e,t.properties),t):Ly(t)?Ze(_ie(e,t)):Ed(t)?Ze($ie(e,t.items||[]),t):Ca(t)?Ze(Pie(e,t.anyOf),t):t}function Iie(e,t){return t in e?yo(e,e[t]):Rr()}function Rie(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:Iie(e,n)}),{})}class Nie{constructor(t){const n=Rie(t),r=this.WithIdentifiers(n);this.$defs=r}Import(t,n){const r={...this.$defs,[t]:Ze(this.$defs[t],n)};return Ze({[Je]:"Import",$defs:r,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:{...t[r],$id:r}}),{})}}function Mie(e){return new Nie(e)}function Lie(e,t){return Ze({[Je]:"Not",not:e},t)}function Die(e,t){return Qh(e)?qh(e.parameters,t):Rr()}let Bie=0;function Uie(e,t={}){Wr(t.$id)&&(t.$id=`T${Bie++}`);const n=F8(e({[Je]:"This",$ref:`${t.$id}`}));return n.$id=t.$id,Ze({[Py]:"Recursive",...n},t)}function jie(e,t){const n=jr(e)?new globalThis.RegExp(e):e;return Ze({[Je]:"RegExp",type:"RegExp",source:n.source,flags:n.flags},t)}function Fie(e){return Vo(e)?e.allOf:Ca(e)?e.anyOf:Ed(e)?e.items??[]:[]}function Qie(e){return Fie(e)}function zie(e,t){return Qh(e)?Ze(e.returns,t):Rr(t)}class Hie{constructor(t){this.schema=t}Decode(t){return new Vie(this.schema,t)}}class Vie{constructor(t,n){this.schema=t,this.decode=n}EncodeTransform(t,n){const i={Encode:o=>n[Po].Encode(t(o)),Decode:o=>this.decode(n[Po].Decode(o))};return{...n,[Po]:i}}EncodeSchema(t,n){const r={Decode:this.decode,Encode:t};return{...n,[Po]:r}}Encode(t){return Dy(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}}function qie(e){return new Hie(e)}function Zie(e={}){return Ze({[Je]:e[Je]??"Unsafe"},e)}function Xie(e){return Ze({[Je]:"Void",type:"void"},e)}const Wie=Object.freeze(Object.defineProperty({__proto__:null,Any:zm,Argument:Zee,Array:e6,AsyncIterator:t6,Awaited:Zy,BigInt:o6,Boolean:YR,Capitalize:xae,Composite:Ene,Const:$ne,Constructor:n6,ConstructorParameters:Pne,Date:sN,Enum:Ine,Exclude:h6,Extends:f6,Extract:p6,Function:L0,Index:qy,InstanceType:jre,Instantiate:fae,Integer:hae,Intersect:cu,Iterator:s6,KeyOf:l6,Literal
8:Gr,Lowercase:kae,Mapped:Wte,Module:Mie,Never:Rr,Not:Lie,Null:lN,Number:Pd,Object:_a,Omit:Ky,Optional:lu,Parameters:Die,Partial:v6,Pick:Jy,Promise:nN,Readonly:su,ReadonlyOptional:vN,Record:ON,Recursive:Uie,Ref:D0,RegExp:jie,Required:O6,Rest:Qie,ReturnType:zie,String:dd,Symbol:cN,TemplateLiteral:KR,Transform:qie,Tuple:qh,Uint8Array:dN,Uncapitalize:Aae,Undefined:uN,Union:Ha,Unknown:Wy,Unsafe:Zie,Uppercase:Tae,Void:Xie},Symbol.toStringTag,{value:"Module"})),O=Wie,ot=(...e)=>O.Composite(e);function Yie(e){switch(e.errorType){case pe.ArrayContains:return"Expected array to contain at least one matching value";case pe.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case pe.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case pe.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case pe.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case pe.ArrayUniqueItems:return"Expected array elements to be unique";case pe.Array:return"Expected array";case pe.AsyncIterator:return"Expected AsyncIterator";case pe.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case pe.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case pe.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case pe.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case pe.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case pe.BigInt:return"Expected bigint";case pe.Boolean:return"Expected boolean";case pe.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case pe.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case pe.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case pe.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case pe.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case pe.Date:return"Expected Date";case pe.Function:return"Expected function";case pe.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case pe.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case pe.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case pe.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case pe.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case pe.Integer:return"Expected integer";case pe.IntersectUnevaluatedProperties:return"Unexpected property";case pe.Intersect:return"Expected all values to match";case pe.Iterator:return"Expected Iterator";case pe.Literal:return`Expected ${typeof e.schema.const=="string"?`'${e.schema.const}'`:e.schema.const}`;case pe.Never:return"Never";case pe.Not:return"Value should not match";case pe.Null:return"Expected null";case pe.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case pe.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case pe.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case pe.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case pe.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case pe.Number:return"Expected number";case pe.Object:return"Expected object";case pe.ObjectAdditionalProperties:return"Unexpected property";case pe.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case pe.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case pe.ObjectRequiredProperty:return"Expected required property";case pe.Promise:return"Expected Promise";case pe.RegExp:return"Expected string to match regular expression";case pe.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case pe.StringFormat:return`Expected string to match '${e.schema.format}' format`;case pe.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case pe.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case pe.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case pe.String:return"Expected string";case pe.Symbol:return"Expected symbol";case pe.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case pe.Tuple:return"Expected tuple";
8case pe.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case pe.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case pe.Uint8Array:return"Expected Uint8Array";case pe.Undefined:return"Expected undefined";case pe.Union:return"Expected union value";case pe.Void:return"Expected void";case pe.Kind:return`Expected kind '${e.schema[Je]}'`;default:return"Unknown error type"}}let Gie=Yie;function Kie(){return Gie}class Jie extends wo{constructor(t){super(`Unable to dereference schema with $id '${t.$ref}'`),this.schema=t}}function eoe(e,t){const n=t.find(r=>r.$id===e.$ref);if(n===void 0)throw new Jie(e);return Is(n,t)}function w6(e,t){return!vs(e.$id)||t.some(n=>n.$id===e.$id)||t.push(e),t}function Is(e,t){return e[Je]==="This"||e[Je]==="Ref"?eoe(e,t):e}class toe extends wo{constructor(t){super("Unable to hash value"),this.value=t}}var vo;(function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array",e[e.Symbol=9]="Symbol",e[e.BigInt=10]="BigInt"})(vo||(vo={}));let xf=BigInt("14695981039346656037");const[noe,roe]=[BigInt("1099511628211"),BigInt("18446744073709551616")],aoe=Array.from({length:256}).map((e,t)=>BigInt(t)),TN=new Float64Array(1),EN=new DataView(TN.buffer),_N=new Uint8Array(TN.buffer);function*ioe(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function ooe(e){ii(vo.Array);for(const t of e)ih(t)}function soe(e){ii(vo.Boolean),ii(e?1:0)}function loe(e){ii(vo.BigInt),EN.setBigInt64(0,e);for(const t of _N)ii(t)}function coe(e){ii(vo.Date),ih(e.getTime())}function uoe(e){ii(vo.Null)}function doe(e){ii(vo.Number),EN.setFloat64(0,e);for(const t of _N)ii(t)}function foe(e){ii(vo.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort())ih(t),ih(e[t])}function hoe(e){ii(vo.String);for(let t=0;t<e.length;t++)for(const n of ioe(e.charCodeAt(t)))ii(n)}function poe(e){ii(vo.Symbol),ih(e.description)}function moe(e){ii(vo.Uint8Array);for(let t=0;t<e.length;t++)ii(e[t])}function goe(e){return ii(vo.Undefined)}function ih(e){if(rc(e))return ooe(e);if(_y(e))return soe(e);if(Cy(e))return loe(e);if(Ey(e))return coe(e);if($0(e))return uoe();if(ds(e))return doe(e);if(as(e))return foe(e);if(vs(e))return hoe(e);if($y(e))return poe(e);if(Q8(e))return moe(e);if(C0(e))return goe();throw new toe(e)}function ii(e){xf=xf^aoe[e],xf=xf*noe%roe}function CN(e){return xf=BigInt("14695981039346656037"),ih(e),xf}class boe extends wo{constructor(t){super("Unknown type"),this.schema=t}}function $N(e,t,n){const r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function yoe(e){return e[Je]==="Any"||e[Je]==="Unknown"}function fn(e){return e!==void 0}function voe(e,t,n){return!0}function Ooe(e,t,n){return!0}function Soe(e,t,n,r){if(!rc(n)||fn(e.minItems)&&!(n.length>=e.minItems)||fn(e.maxItems)&&!(n.length<=e.maxItems))return!1;if($N(r,n,e)===!1)return!0;if(!n.every(o=>Ta(e.items,t,o,r))||e.uniqueItems===!0&&!function(){const o=new Set;for(const s of n){const l=CN(s);if(o.has(l))return!1;o.add(l)}return!0}())return!1;if(!(fn(e.contains)||ds(e.minContains)||ds(e.maxContains)))return!0;const a=fn(e.contains)?e.contains:Rr(),i=n.reduce((o,s)=>Ta(a,t,s,r)?o+1:o,0);return!(i===0||ds(e.minContains)&&i<e.minContains||ds(e.maxContains)&&i>e.maxContains)}function woe(e,t,n){return TR(n)}function xoe(e,t,n){return!(!Cy(n)||fn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||fn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||fn(e.maximum)&&!(n<=e.maximum)||fn(e.minimum)&&!(n>=e.minimum)||fn(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function koe(e,t,n){return _y(n)}function Aoe(e,t,n,r){return Ta(e.returns,t,n.prototype,r)}function Toe(e,t,n){return!(!Ey(n)||fn(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||fn(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||fn(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||fn(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||fn(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function Eoe(e,t,n){return z8(n)}function _oe(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return Ta(i,[...t,...a],n,r)}function Coe(e,t,n){return!(!CR(n)||fn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||fn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||fn(e.maximum)&&!(n<=e.maximum)||fn(e.minimum)&&!(n>=e.minimum)||fn(e.multipleOf)&&n%e.multipleOf!==0)}function $oe(e,t,n,r){const a=e.allOf.every(i=>Ta(i,t,n,r));if(e.unevaluatedProperties===!1){const i=new RegExp(Q2(e)),o=Object.getOwnPropertyNames(n).every(s=>i.test(s));return a&&o}else if(zl(e.unevaluatedProperties)){const i=new RegExp(Q2(e)),o=Object.getOwnPropertyNames(n).every(s=>i.test(s)||Ta(e.unevaluatedProperties,t,n[s],r));return a&&o}else return a}function Poe(e,t,n){return ER(n)}function Ioe(e,t,n){return n===e.const}function Roe(e,t,n){return!1}function Noe(e,t,n,r){return!Ta(e.not,t,n,r)}function Moe(e,t,n){return $0(n)}function Loe(e,t,n){return!(!go.IsNumberLike(n)||fn(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||fn(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||fn(e.minimum)&&!(n>=e.minimum)||fn(e.maximum)&&!(n<=e.maximum)||fn(e.multipleOf)&&n%e.multipleOf!==0)}function Doe(e,t,n,r){if(!go.IsObjectLike(n)||fn(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>
8=e.minProperties)||fn(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if($N(r,n,e)===!1)return!0;const a=Object.getOwnPropertyNames(e.properties);for(const i of a){const o=e.properties[i];if(e.required&&e.required.includes(i)){if(!Ta(o,t,n[i],r)||(U0(o)||yoe(o))&&!(i in n))return!1}else if(go.IsExactOptionalProperty(n,i)&&!Ta(o,t,n[i],r))return!1}if(e.additionalProperties===!1){const i=Object.getOwnPropertyNames(n);return e.required&&e.required.length===a.length&&i.length===a.length?!0:i.every(o=>a.includes(o))}else return typeof e.additionalProperties=="object"?Object.getOwnPropertyNames(n).every(s=>a.includes(s)||Ta(e.additionalProperties,t,n[s],r)):!0}function Boe(e,t,n){return _R(n)}function Uoe(e,t,n,r){if(!go.IsRecordLike(n)||fn(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||fn(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;const[a,i]=Object.entries(e.patternProperties)[0],o=new RegExp(a),s=Object.entries(n).every(([u,d])=>o.test(u)?Ta(i,t,d,r):!0),l=typeof e.additionalProperties=="object"?Object.entries(n).every(([u,d])=>o.test(u)?!0:Ta(e.additionalProperties,t,d,r)):!0,c=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(u=>o.test(u)):!0;return s&&l&&c}function joe(e,t,n,r){return Ta(Is(e,t),t,n,r)}function Foe(e,t,n){const r=new RegExp(e.source,e.flags);return fn(e.minLength)&&!(n.length>=e.minLength)||fn(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function Qoe(e,t,n){return!vs(n)||fn(e.minLength)&&!(n.length>=e.minLength)||fn(e.maxLength)&&!(n.length<=e.maxLength)||fn(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:fn(e.format)?zR(e.format)?HR(e.format)(n):!1:!0}function zoe(e,t,n){return $y(n)}function Hoe(e,t,n){return vs(n)&&new RegExp(e.pattern).test(n)}function Voe(e,t,n,r){return Ta(Is(e,t),t,n,r)}function qoe(e,t,n,r){if(!rc(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let a=0;a<e.items.length;a++)if(!Ta(e.items[a],t,n[a],r))return!1;return!0}function Zoe(e,t,n){return C0(n)}function Xoe(e,t,n,r){return e.anyOf.some(a=>Ta(a,t,n,r))}function Woe(e,t,n){return!(!Q8(n)||fn(e.maxByteLength)&&!(n.length<=e.maxByteLength)||fn(e.minByteLength)&&!(n.length>=e.minByteLength))}function Yoe(e,t,n){return!0}function Goe(e,t,n){return go.IsVoidLike(n)}function Koe(e,t,n){return Hy(e[Je])?qR(e[Je])(e,n):!1}function Ta(e,t,n,r){const a=fn(e.$id)?w6(e,t):t,i=e;switch(i[Je]){case"Any":return voe();case"Argument":return Ooe();case"Array":return Soe(i,a,n,r);case"AsyncIterator":return woe(i,a,n);case"BigInt":return xoe(i,a,n);case"Boolean":return koe(i,a,n);case"Constructor":return Aoe(i,a,n,r);case"Date":return Toe(i,a,n);case"Function":return Eoe(i,a,n);case"Import":return _oe(i,a,n,r);case"Integer":return Coe(i,a,n);case"Intersect":return $oe(i,a,n,r);case"Iterator":return Poe(i,a,n);case"Literal":return Ioe(i,a,n);case"Never":return Roe();case"Not":return Noe(i,a,n,r);case"Null":return Moe(i,a,n);case"Number":return Loe(i,a,n);case"Object":return Doe(i,a,n,r);case"Promise":return Boe(i,a,n);case"Record":return Uoe(i,a,n,r);case"Ref":return joe(i,a,n,r);case"RegExp":return Foe(i,a,n);case"String":return Qoe(i,a,n);case"Symbol":return zoe(i,a,n);case"TemplateLiteral":return Hoe(i,a,n);case"This":return Voe(i,a,n,r);case"Tuple":return qoe(i,a,n,r);case"Undefined":return Zoe(i,a,n);case"Union":return Xoe(i,a,n,r);case"Uint8Array":return Woe(i,a,n);case"Unknown":return Yoe();case"Void":return Goe(i,a,n);default:if(!Hy(i[Je]))throw new boe(i);return Koe(i,a,n)}}function oi(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Ta(e[0],[],e[1],e[2]??new WeakMap):Ta(e[0],e[1],e[2],e[3]??new WeakMap)}var pe;(function(e){e[e.ArrayContains=0]="ArrayContains",e[e.ArrayMaxContains=1]="ArrayMaxContains",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayMinContains=3]="ArrayMinContains",e[e.ArrayMinItems=4]="ArrayMinItems",e[e.ArrayUniqueItems=5]="ArrayUniqueItems",e[e.Array=6]="Array",e[e.AsyncIterator=7]="AsyncIterator",e[e.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",e[e.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",e[e.BigIntMaximum=10]="BigIntMaximum",e[e.BigIntMinimum=11]="BigIntMinimum",e[e.BigIntMultipleOf=12]="BigIntMultipleOf",e[e.BigInt=13]="BigInt",e[e.Boolean=14]="Boolean",e[e.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",e[e.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",e[e.DateMaximumTimestamp=17]="DateMaximumTimestamp",e[e.DateMinimumTimestamp=18]="DateMinimumTimestamp",e[e.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",e[e.Date=20]="Date",e[e.Fu
8nction=21]="Function",e[e.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",e[e.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",e[e.IntegerMaximum=24]="IntegerMaximum",e[e.IntegerMinimum=25]="IntegerMinimum",e[e.IntegerMultipleOf=26]="IntegerMultipleOf",e[e.Integer=27]="Integer",e[e.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",e[e.Intersect=29]="Intersect",e[e.Iterator=30]="Iterator",e[e.Kind=31]="Kind",e[e.Literal=32]="Literal",e[e.Never=33]="Never",e[e.Not=34]="Not",e[e.Null=35]="Null",e[e.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",e[e.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",e[e.NumberMaximum=38]="NumberMaximum",e[e.NumberMinimum=39]="NumberMinimum",e[e.NumberMultipleOf=40]="NumberMultipleOf",e[e.Number=41]="Number",e[e.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",e[e.ObjectMaxProperties=43]="ObjectMaxProperties",e[e.ObjectMinProperties=44]="ObjectMinProperties",e[e.ObjectRequiredProperty=45]="ObjectRequiredProperty",e[e.Object=46]="Object",e[e.Promise=47]="Promise",e[e.RegExp=48]="RegExp",e[e.StringFormatUnknown=49]="StringFormatUnknown",e[e.StringFormat=50]="StringFormat",e[e.StringMaxLength=51]="StringMaxLength",e[e.StringMinLength=52]="StringMinLength",e[e.StringPattern=53]="StringPattern",e[e.String=54]="String",e[e.Symbol=55]="Symbol",e[e.TupleLength=56]="TupleLength",e[e.Tuple=57]="Tuple",e[e.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",e[e.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",e[e.Uint8Array=60]="Uint8Array",e[e.Undefined=61]="Undefined",e[e.Union=62]="Union",e[e.Void=63]="Void"})(pe||(pe={}));class Joe extends wo{constructor(t){super("Unknown type"),this.schema=t}}function Pl(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function un(e){return e!==void 0}class PN{constructor(t){this.iterator=t}[Symbol.iterator](){return this.iterator}First(){const t=this.iterator.next();return t.done?void 0:t.value}}function Ye(e,t,n,r,a=[]){return{type:e,schema:t,path:n,value:r,message:Kie()({errorType:e,path:n,schema:t,value:r,errors:a}),errors:a}}function*ese(e,t,n,r){}function*tse(e,t,n,r){}function*nse(e,t,n,r){if(!rc(r))return yield Ye(pe.Array,e,n,r);un(e.minItems)&&!(r.length>=e.minItems)&&(yield Ye(pe.ArrayMinItems,e,n,r)),un(e.maxItems)&&!(r.length<=e.maxItems)&&(yield Ye(pe.ArrayMaxItems,e,n,r));for(let o=0;o<r.length;o++)yield*Ea(e.items,t,`${n}/${o}`,r[o]);if(e.uniqueItems===!0&&!function(){const o=new Set;for(const s of r){const l=CN(s);if(o.has(l))return!1;o.add(l)}return!0}()&&(yield Ye(pe.ArrayUniqueItems,e,n,r)),!(un(e.contains)||un(e.minContains)||un(e.maxContains)))return;const a=un(e.contains)?e.contains:Rr(),i=r.reduce((o,s,l)=>Ea(a,t,`${n}${l}`,s).next().done===!0?o+1:o,0);i===0&&(yield Ye(pe.ArrayContains,e,n,r)),ds(e.minContains)&&i<e.minContains&&(yield Ye(pe.ArrayMinContains,e,n,r)),ds(e.maxContains)&&i>e.maxContains&&(yield Ye(pe.ArrayMaxContains,e,n,r))}function*rse(e,t,n,r){TR(r)||(yield Ye(pe.AsyncIterator,e,n,r))}function*ase(e,t,n,r){if(!Cy(r))return yield Ye(pe.BigInt,e,n,r);un(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ye(pe.BigIntExclusiveMaximum,e,n,r)),un(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ye(pe.BigIntExclusiveMinimum,e,n,r)),un(e.maximum)&&!(r<=e.maximum)&&(yield Ye(pe.BigIntMaximum,e,n,r)),un(e.minimum)&&!(r>=e.minimum)&&(yield Ye(pe.BigIntMinimum,e,n,r)),un(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield Ye(pe.BigIntMultipleOf,e,n,r))}function*ise(e,t,n,r){_y(r)||(yield Ye(pe.Boolean,e,n,r))}function*ose(e,t,n,r){yield*Ea(e.returns,t,n,r.prototype)}function*sse(e,t,n,r){if(!Ey(r))return yield Ye(pe.Date,e,n,r);un(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield Ye(pe.DateExclusiveMaximumTimestamp,e,n,r)),un(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield Ye(pe.DateExclusiveMinimumTimestamp,e,n,r)),un(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield Ye(pe.DateMaximumTimestamp,e,n,r)),un(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield Ye(pe.DateMinimumTimestamp,e,n,r)),un(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield Ye(pe.DateMultipleOfTimestamp,e,n,r))}function*lse(e,t,n,r){z8(r)||(yield Ye(pe.Function,e,n,r))}function*cse(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];yield*Ea(i,[...t,...a],n,r)}function*use(e,t,n,r){if(!CR(r))return yield Ye(pe.Integer,e,n,r);un(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ye(pe.IntegerExclusiveMaximum,e,n,r)),un(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ye(pe.IntegerExclusiveMinimum,e,n,r)),un(e.maximum)&&!(r<=e.maximum)&&(yield Ye(pe.IntegerMaximum,e,n,r)),un(e.minimum)&&!(r>=e.minimum)&&(yield Ye(pe.IntegerMinimum,e,n,r)),un(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ye(pe.IntegerMultipleOf,e,n,r))}function*dse(e,t,n,r){let a=!1;for(const i of e.allOf)for(const o of Ea(i,t,n,r))a=!0,yield o;if(a)return yield Ye(pe.Intersect,e,n,r);if(e.unevaluatedProperties===!1){const i=new RegExp(Q2(e));for(const o of Object.getOwnPropertyNames(r))i.test(o)||(yield Ye(pe.IntersectUnevaluatedProperties,e,`${n}/${o}`,r))}if(typeof e.unevaluatedProperties=="object"){const i=new RegExp(Q2(e));for(const o of Object.getOwnPropertyNames(r))if(!i.test(o)){const s=Ea(e.unevaluatedProperties,t,`${n}/${o}`,r[o]).next();s.done||(yield s.value)}}}function*fse(e,t,n,r){ER(r)||(yield Ye(pe.Iterator,e,n,r))}function*hse(e,t,n,r){r!==e.const&&(yield Ye(pe.Literal,e,n,r))}function*pse(e,t,n,r){yield Ye(pe.Never,e,n,r)}function*mse(e,t,n,r){Ea(e.not,t,n,r).next().done===!0&&(yield Ye(pe.Not,e,n,r))}function*gse(e,t,n,r){$0(r)||(yield Ye(pe.Null,e,n,r))}function*bse(e,t,n,r){if(!go.IsNumberLike(r))return yield Ye(pe.Number,e,n,r);un(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Ye(pe.NumberExclusiveMaximum,e,n,r)),un(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Ye(pe.NumberExclusiveMinimum,e,n,r)),un(e.maximum)&&!(r<=e.maximum)&&(yield Ye(pe.NumberMaximum,e,n,r)),un(e.minimum)&&!(r>=e.minimum)&&(yield Ye(pe.NumberMinimum,e,n,r)),un(e.multipleOf)&&r%e.multipleOf!==0&&(yield Ye(pe.NumberMultipleOf,e,n,r))}function*yse(e,t,n,r){if(!go.IsObjectLike(r))return yield Ye(pe.Object,e,n,r);un(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ye(pe.ObjectMinProperties,e,n,r)),un(e.maxPro
8perties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ye(pe.ObjectMaxProperties,e,n,r));const a=Array.isArray(e.required)?e.required:[],i=Object.getOwnPropertyNames(e.properties),o=Object.getOwnPropertyNames(r);for(const s of a)o.includes(s)||(yield Ye(pe.ObjectRequiredProperty,e.properties[s],`${n}/${Pl(s)}`,void 0));if(e.additionalProperties===!1)for(const s of o)i.includes(s)||(yield Ye(pe.ObjectAdditionalProperties,e,`${n}/${Pl(s)}`,r[s]));if(typeof e.additionalProperties=="object")for(const s of o)i.includes(s)||(yield*Ea(e.additionalProperties,t,`${n}/${Pl(s)}`,r[s]));for(const s of i){const l=e.properties[s];e.required&&e.required.includes(s)?(yield*Ea(l,t,`${n}/${Pl(s)}`,r[s]),U0(e)&&!(s in r)&&(yield Ye(pe.ObjectRequiredProperty,l,`${n}/${Pl(s)}`,void 0))):go.IsExactOptionalProperty(r,s)&&(yield*Ea(l,t,`${n}/${Pl(s)}`,r[s]))}}function*vse(e,t,n,r){_R(r)||(yield Ye(pe.Promise,e,n,r))}function*Ose(e,t,n,r){if(!go.IsRecordLike(r))return yield Ye(pe.Object,e,n,r);un(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Ye(pe.ObjectMinProperties,e,n,r)),un(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Ye(pe.ObjectMaxProperties,e,n,r));const[a,i]=Object.entries(e.patternProperties)[0],o=new RegExp(a);for(const[s,l]of Object.entries(r))o.test(s)&&(yield*Ea(i,t,`${n}/${Pl(s)}`,l));if(typeof e.additionalProperties=="object")for(const[s,l]of Object.entries(r))o.test(s)||(yield*Ea(e.additionalProperties,t,`${n}/${Pl(s)}`,l));if(e.additionalProperties===!1){for(const[s,l]of Object.entries(r))if(!o.test(s))return yield Ye(pe.ObjectAdditionalProperties,e,`${n}/${Pl(s)}`,l)}}function*Sse(e,t,n,r){yield*Ea(Is(e,t),t,n,r)}function*wse(e,t,n,r){if(!vs(r))return yield Ye(pe.String,e,n,r);if(un(e.minLength)&&!(r.length>=e.minLength)&&(yield Ye(pe.StringMinLength,e,n,r)),un(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ye(pe.StringMaxLength,e,n,r)),!new RegExp(e.source,e.flags).test(r))return yield Ye(pe.RegExp,e,n,r)}function*xse(e,t,n,r){if(!vs(r))return yield Ye(pe.String,e,n,r);un(e.minLength)&&!(r.length>=e.minLength)&&(yield Ye(pe.StringMinLength,e,n,r)),un(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Ye(pe.StringMaxLength,e,n,r)),vs(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield Ye(pe.StringPattern,e,n,r))),vs(e.format)&&(zR(e.format)?HR(e.format)(r)||(yield Ye(pe.StringFormat,e,n,r)):yield Ye(pe.StringFormatUnknown,e,n,r))}function*kse(e,t,n,r){$y(r)||(yield Ye(pe.Symbol,e,n,r))}function*Ase(e,t,n,r){if(!vs(r))return yield Ye(pe.String,e,n,r);new RegExp(e.pattern).test(r)||(yield Ye(pe.StringPattern,e,n,r))}function*Tse(e,t,n,r){yield*Ea(Is(e,t),t,n,r)}function*Ese(e,t,n,r){if(!rc(r))return yield Ye(pe.Tuple,e,n,r);if(e.items===void 0&&r.length!==0)return yield Ye(pe.TupleLength,e,n,r);if(r.length!==e.maxItems)return yield Ye(pe.TupleLength,e,n,r);if(e.items)for(let a=0;a<e.items.length;a++)yield*Ea(e.items[a],t,`${n}/${a}`,r[a])}function*_se(e,t,n,r){C0(r)||(yield Ye(pe.Undefined,e,n,r))}function*Cse(e,t,n,r){if(oi(e,t,r))return;const a=e.anyOf.map(i=>new PN(Ea(i,t,n,r)));yield Ye(pe.Union,e,n,r,a)}function*$se(e,t,n,r){if(!Q8(r))return yield Ye(pe.Uint8Array,e,n,r);un(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield Ye(pe.Uint8ArrayMaxByteLength,e,n,r)),un(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield Ye(pe.Uint8ArrayMinByteLength,e,n,r))}function*Pse(e,t,n,r){}function*Ise(e,t,n,r){go.IsVoidLike(r)||(yield Ye(pe.Void,e,n,r))}function*Rse(e,t,n,r){qR(e[Je])(e,r)||(yield Ye(pe.Kind,e,n,r))}function*Ea(e,t,n,r){const a=un(e.$id)?[...t,e]:t,i=e;switch(i[Je]){case"Any":return yield*ese();case"Argument":return yield*tse();case"Array":return yield*nse(i,a,n,r);case"AsyncIterator":return yield*rse(i,a,n,r);case"BigInt":return yield*ase(i,a,n,r);case"Boolean":return yield*ise(i,a,n,r);case"Constructor":return yield*ose(i,a,n,r);case"Date":return yield*sse(i,a,n,r);case"Function":return yield*lse(i,a,n,r);case"Import":return yield*cse(i,a,n,r);case"Integer":return yield*use(i,a,n,r);case"Intersect":return yield*dse(i,a,n,r);case"Iterator":return yield*fse(i,a,n,r);case"Literal":return yield*hse(i,a,n,r);case"Never":return yield*pse(i,a,n,r);case"Not":return yield*mse(i,a,n,r);case"Null":return yield*gse(i,a,n,r);case"Number":return yield*bse(i,a,n,r);case"Object":return yield*yse(i,a,n,r);case"Promise":return yield*vse(i,a,n,r);case"Record":return yield*Ose(i,a,n,r);case"Ref":return yield*Sse(i,a,n,r);case"RegExp":return yield*wse(i,a,n,r);case"String":return yield*xse(i,a,n,r);case"Symbol":return yield*kse(i,a,n,r);case"TemplateLiteral":return yield*Ase(i,a,n,r);case"This":return yield*Tse(i,a,n,r);case"Tuple":return yield*Ese(i,a,n,r);case"Undefined":return yield*_se(i,a,n,r);case"Union":return yield*Cse(i,a,n,r);case"Uint8Array":return yield*$se(i,a,n,r);case"Unknown":return yield*Pse();case"Void":return yield*Ise(i,a,n,r);default:if(!Hy(i[Je]))throw new Joe(e);return yield*Rse(i,a,n,r)}}function Nse(...e){const t=e.length===3?Ea(e[0],e[1],"",e[2]):Ea(e[0],[],"",e[1]);return new PN(t)}function Mse(e,t){if(t.has(e))return t.get(e);const n={};t.set(e,n);for(const r of Object.getOwnPropertyNames(e))n[r]=zo(e[r],t);for(const r of Object.getOwnPropertySymbols(e))n[r]=zo(e[r],t);return n}function Lse(e,t){if(t.has(e))return t.get(e);const n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(zo(e[r],t));return n}function Dse(e){return e.slice()}function Bse(e){return new Map(zo([...e.entries()]))}function Use(e){return new Set(zo([...e.entries()]))}function jse(e){return new Date(e.toISOString())}
8function zo(e,t=new WeakMap){if(rc(e))return Lse(e,t);if(Ey(e))return jse(e);if(hee(e))return Dse(e);if(dee(e))return Bse(e);if(fee(e))return Use(e);if(as(e))return Mse(e,t);if(pee(e))return e;throw new Error("ValueClone: Unable to clone value")}class As extends wo{constructor(t,n){super(n),this.schema=t}}function An(e){return z8(e)?e():zo(e)}function Fse(e,t){return wn(e,"default")?An(e.default):{}}function Qse(e,t){return{}}function zse(e,t){if(e.uniqueItems===!0&&!wn(e,"default"))throw new As(e,"Array with the uniqueItems constraint requires a default value");if("contains"in e&&!wn(e,"default"))throw new As(e,"Array with the contains constraint requires a default value");return"default"in e?An(e.default):e.minItems!==void 0?Array.from({length:e.minItems}).map(n=>Oo(e.items,t)):[]}function Hse(e,t){return wn(e,"default")?An(e.default):async function*(){}()}function Vse(e,t){return wn(e,"default")?An(e.default):BigInt(0)}function qse(e,t){return wn(e,"default")?An(e.default):!1}function Zse(e,t){if(wn(e,"default"))return An(e.default);{const n=Oo(e.returns,t);return typeof n=="object"&&!Array.isArray(n)?class{constructor(){for(const[r,a]of Object.entries(n)){const i=this;i[r]=a}}}:class{}}}function Xse(e,t){return wn(e,"default")?An(e.default):e.minimumTimestamp!==void 0?new Date(e.minimumTimestamp):new Date}function Wse(e,t){return wn(e,"default")?An(e.default):()=>Oo(e.returns,t)}function Yse(e,t){const n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return Oo(r,[...t,...n])}function Gse(e,t){return wn(e,"default")?An(e.default):e.minimum!==void 0?e.minimum:0}function Kse(e,t){if(wn(e,"default"))return An(e.default);{const n=e.allOf.reduce((r,a)=>{const i=Oo(a,t);return typeof i=="object"?{...r,...i}:i},{});if(!oi(e,t,n))throw new As(e,"Intersect produced invalid value. Consider using a default value.");return n}}function Jse(e,t){return wn(e,"default")?An(e.default):function*(){}()}function ele(e,t){return wn(e,"default")?An(e.default):e.const}function tle(e,t){if(wn(e,"default"))return An(e.default);throw new As(e,"Never types cannot be created. Consider using a default value.")}function nle(e,t){if(wn(e,"default"))return An(e.default);throw new As(e,"Not types must have a default value")}function rle(e,t){return wn(e,"default")?An(e.default):null}function ale(e,t){return wn(e,"default")?An(e.default):e.minimum!==void 0?e.minimum:0}function ile(e,t){if(wn(e,"default"))return An(e.default);{const n=new Set(e.required),r={};for(const[a,i]of Object.entries(e.properties))n.has(a)&&(r[a]=Oo(i,t));return r}}function ole(e,t){return wn(e,"default")?An(e.default):Promise.resolve(Oo(e.item,t))}function sle(e,t){return wn(e,"default")?An(e.default):{}}function lle(e,t){return wn(e,"default")?An(e.default):Oo(Is(e,t),t)}function cle(e,t){if(wn(e,"default"))return An(e.default);throw new As(e,"RegExp types cannot be created. Consider using a default value.")}function ule(e,t){if(e.pattern!==void 0){if(wn(e,"default"))return An(e.default);throw new As(e,"String types with patterns must specify a default value")}else if(e.format!==void 0){if(wn(e,"default"))return An(e.default);throw new As(e,"String types with formats must specify a default value")}else return wn(e,"default")?An(e.default):e.minLength!==void 0?Array.from({length:e.minLength}).map(()=>" ").join(""):""}function dle(e,t){return wn(e,"default")?An(e.default):"value"in e?Symbol.for(e.value):Symbol()}function fle(e,t){if(wn(e,"default"))return An(e.default);if(!XR(e))throw new As(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return i6(e)[0]}function hle(e,t){if(IN++>Sle)throw new As(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return wn(e,"default")?An(e.default):Oo(Is(e,t),t)}function ple(e,t){return wn(e,"default")?An(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>Oo(e.items[r],t))}function mle(e,t){if(wn(e,"default"))return An(e.default)}function gle(e,t){if(wn(e,"default"))return An(e.default);if(e.anyOf.length===0)throw new Error("ValueCreate.Union: Cannot create Union with zero variants");return Oo(e.anyOf[0],t)}function ble(e,t){return wn(e,"default")?An(e.default):e.minByteLength!==void 0?new Uint8Array(e.minByteLength):new Uint8Array(0)}function yle(e,t){return wn(e,"default")?An(e.default):{}}function vle(e,t){if(wn(e,"default"))return An(e.default)}function Ole(e,t){if(wn(e,"default"))return An(e.default);throw new Error("User defined types must specify a default value")}function Oo(e,t){const n=w6(e,t),r=e;switch(r[Je]){case"Any":return Fse(r);case"Argument":return Qse();case"Array":return zse(r,n);case"AsyncIterator":return Hse(r);case"BigInt":return Vse(r);case"Boolean":return qse(r);case"Constructor":return Zse(r,n);case"Date":return Xse(r);
8case"Function":return Wse(r,n);case"Import":return Yse(r,n);case"Integer":return Gse(r);case"Intersect":return Kse(r,n);case"Iterator":return Jse(r);case"Literal":return ele(r);case"Never":return tle(r);case"Not":return nle(r);case"Null":return rle(r);case"Number":return ale(r);case"Object":return ile(r,n);case"Promise":return ole(r,n);case"Record":return sle(r);case"Ref":return lle(r,n);case"RegExp":return cle(r);case"String":return ule(r);case"Symbol":return dle(r);case"TemplateLiteral":return fle(r);case"This":return hle(r,n);case"Tuple":return ple(r,n);case"Undefined":return mle(r);case"Union":return gle(r,n);case"Uint8Array":return ble(r);case"Unknown":return yle(r);case"Void":return vle(r);default:if(!Hy(r[Je]))throw new As(r,"Unknown type");return Ole(r)}}const Sle=512;let IN=0;function uu(...e){return IN=0,e.length===2?Oo(e[0],e[1]):Oo(e[0],[])}class RN extends wo{constructor(t,n){super(n),this.schema=t}}function NN(e,t,n){if(e[Je]==="Object"&&typeof n=="object"&&!$0(n)){const r=e,a=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((o,[s,l])=>{const c=l[Je]==="Literal"&&l.const===n[s]?100:0,u=oi(l,t,n[s])?10:0,d=a.includes(s)?1:0;return o+(c+u+d)},0)}else if(e[Je]==="Union"){const a=e.anyOf.map(i=>Is(i,t)).map(i=>NN(i,t,n));return Math.max(...a)}else return oi(e,t,n)?1:0}function wle(e,t,n){const r=e.anyOf.map(o=>Is(o,t));let[a,i]=[r[0],0];for(const o of r){const s=NN(o,t,n);s>i&&(a=o,i=s)}return a}function xle(e,t,n,r){if("default"in e)return typeof n=="function"?e.default:zo(e.default);{const a=wle(e,t,n);return LN(a,t,n,r)}}function kle(e,t,n){return oi(e,t,n)?zo(n):uu(e,t)}function Ale(e,t,n){return oi(e,t,n)?n:uu(e,t)}function Tle(e,t,n,r){if(oi(e,t,n))return zo(n);const a=rc(n)?n:uu(e,t),i=ds(e.minItems)&&a.length<e.minItems?[...a,...Array.from({length:e.minItems-a.length},()=>null)]:a,s=(ds(e.maxItems)&&i.length>e.maxItems?i.slice(0,e.maxItems):i).map(c=>Ts(e.items,t,c,r));if(e.uniqueItems!==!0)return s;const l=[...new Set(s)];if(!oi(e,t,l))throw new RN(e,"Array cast produced invalid data due to uniqueItems constraint");return l}function Ele(e,t,n,r){if(oi(e,t,n))return uu(e,t);const a=new Set(e.returns.required||[]),i=function(){};for(const[o,s]of Object.entries(e.returns.properties))!a.has(o)&&n.prototype[o]===void 0||(i.prototype[o]=Ts(s,t,n.prototype[o],r));return i}function _le(e,t,n,r){const a=globalThis.Object.values(e.$defs),i=e.$defs[e.$ref];return Ts(i,[...t,...a],n,r)}function MN(e,t){return as(e)&&!as(t)||!as(e)&&as(t)?e:!as(e)||!as(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{const a=r in t?MN(e[r],t[r]):e[r];return{...n,[r]:a}},{})}function Cle(e,t,n){if(oi(e,t,n))return n;const r=uu(e,t),a=MN(r,n);return oi(e,t,a)?a:r}function $le(e,t,n){throw new RN(e,"Never types cannot be cast")}function Ple(e,t,n,r){if(r.has(n))return r.get(n);if(oi(e,t,n))return n;if(n===null||typeof n!="object")return uu(e,t);const a=new Set(e.required||[]),i={};r.set(n,i);for(const[o,s]of Object.entries(e.properties))!a.has(o)&&n[o]===void 0||(i[o]=Ts(s,t,n[o],r));if(typeof e.additionalProperties=="object"){const o=Object.getOwnPropertyNames(e.properties);for(const s of Object.getOwnPropertyNames(n))o.includes(s)||(i[s]=Ts(e.additionalProperties,t,n[s],r))}return i}function Ile(e,t,n,r){if(oi(e,t,n))return zo(n);if(n===null||typeof n!="object"||Array.isArray(n)||n instanceof Date)return uu(e,t);const a=Object.getOwnPropertyNames(e.patternProperties)[0],i=e.patternProperties[a],o={};for(const[s,l]of Object.entries(n))o[s]=Ts(i,t,l,r);return o}function Rle(e,t,n,r){return Ts(Is(e,t),t,n,r)}function Nle(e,t,n,r){return Ts(Is(e,t),t,n,r)}function Mle(e,t,n,r){return oi(e,t,n)?zo(n):rc(n)?e.items===void 0?[]:e.items.map((a,i)=>Ts(a,t,n[i],r)):uu(e,t)}function Lle(e,t,n,r){return oi(e,t,n)?zo(n):xle(e,t,n,r)}function Ts(e,t,n,r){const a=vs(e.$id)?w6(e,t):t,i=e;switch(e[Je]){case"Array":return Tle(i,a,n,r);case"Constructor":return Ele(i,a,n,r);case"Import":return _le(i,a,n,r);case"Intersect":return Cle(i,a,n);case"Never":return $le(i);case"Object":return Ple(i,a,n,r);case"Record":return Ile(i,a,n,r);case"Ref":return Rle(i,a,n,r);case"This":return Nle(i,a,n,r);case"Tuple":return Mle(i,a,n,r);case"Union":return Lle(i,a,n,r);case"Date":case"Symbol":case"Uint8Array":return kle(e,t,n);default:return Ale(i,a,n)}}function LN(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Ts(e[0],[],e[1],e[2]??new WeakMap):Ts(e[0],e[1],e[2],e[3]??new WeakMap)}const co=(e,t)=>LN(e,t),qs={document:{navigation:"x-scalar-navigation"},workspace:{activeDocument:"x-scalar-active-document"}},Io=e=>{if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},zs=(e,t,n)=>{var a,i;if(!e)return!1;const r=Io(t)||Array.isArray(t);if(r&&((a=n.get(t))!=null&&a.has(e)))return!0;
8if(r){const o=n.get(t)??new Set;o.add(e),n.set(t,o)}try{return e.type==="any"||e.type==="unknown"?!0:e.type==="function"?typeof t=="function":e.type==="number"?typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t):e.type==="string"?typeof t=="string":e.type==="boolean"?typeof t=="boolean":e.type==="nullable"?t===null:e.type==="notDefined"?t===void 0:e.type==="array"?Array.isArray(t)&&t.every(s=>zs(e.items,s,n)):e.type==="record"?Io(t)?Object.keys(t).every(l=>zs(e.key,l,n)&&zs(e.value,t[l],n)):!1:e.type==="object"?Io(t)?Object.keys(e.properties).every(l=>zs(e.properties[l],t[l],n)):!1:e.type==="optional"?t===void 0||zs(e.schema,t,n):e.type==="union"?e.schemas.some(s=>zs(s,t,n)):e.type==="intersection"?e.schemas.length===0?!0:Io(t)?e.schemas.every(s=>zs(s,t,n)):!1:e.type==="literal"?t===e.value:e.type==="lazy"?zs(e.schema(),t,n):e.type==="evaluate"?zs(e.schema,e.expression(t),n):(console.warn("Unknown schema type:",e),!1)}finally{r&&((i=n.get(t))==null||i.delete(e))}},cm=(e,t,n=new WeakMap)=>zs(e,t,n),DN=(e,t)=>{const n=t.get(e);if(n)return n;const r=e.schema();return t.set(e,r),r},Tw=e=>e.type==="optional"?Tw(e.schema):e.type==="literal"?!0:e.type==="union"?e.schemas.length>0&&e.schemas.every(Tw):!1,Nu=(e,t,n,r=new WeakMap)=>{var i,o;if(Io(t)&&((i=r.get(t))!=null&&i.has(e)))return 1;const a=Io(t);if(a){const s=r.get(t)??new Set;s.add(e),r.set(t,s)}try{if(e.type==="object"){if(!Io(t))return 0;const s=Object.keys(e.properties);return s.length===0?1:s.reduce((l,c)=>{if(!(c in t))return l;const u=e.properties[c],d=t[c],f=Nu(u,d,n,r);return Tw(u)?l+(f>0?f*10:0):l+(f>0?f:1)},0)}return e.type==="array"?Array.isArray(t)?1:0:e.type==="record"?Io(t)?1:0:e.type==="optional"?t===void 0?1:Nu(e.schema,t,n,r):e.type==="union"?Math.max(...e.schemas.map(s=>Nu(s,t,n,r))):e.type==="intersection"?e.schemas.length===0?1:e.schemas.reduce((s,l)=>s+Nu(l,t,n,r),0):e.type==="lazy"?Nu(DN(e,n),t,n,r):e.type==="evaluate"?Nu(e.schema,e.expression(t),n,r):cm(e,t)?1:0}finally{a&&((o=r.get(t))==null||o.delete(e))}},MO=(e,t,n,r)=>{if(Io(e)||Array.isArray(e)){const a=r.get(e)||new Map;a.set(t,n),r.set(e,a)}},$l=(e,t,n,r)=>{var i,o;if((Io(t)||Array.isArray(t))&&((i=n.get(t))!=null&&i.has(e)))return(o=n.get(t))==null?void 0:o.get(e);if(!e||e.type==="any"||e.type==="unknown")return t;if(e.type==="function")return typeof t=="function"?t:()=>{};if(e.type==="number")return cm(e,t)?t:e.default??0;if(e.type==="string")return cm(e,t)?t:e.default??"";if(e.type==="boolean")return cm(e,t)?t:e.default??!1;if(e.type==="nullable")return null;if(e.type==="notDefined")return;if(e.type==="optional")return t===void 0?void 0:$l(e.schema,t,n,r);if(e.type==="array"){if(!Array.isArray(t))return[];const s=new Array(t.length);MO(t,e,s,n);for(let l=0;l<t.length;l++)s[l]=$l(e.items,t[l],n,r);return s}if(e.type==="record"){if(!Io(t))return{};const s={};MO(t,e,s,n);for(const l of Object.keys(t))s[l]=$l(e.value,t[l],n,r);return s}if(e.type==="object"){const s=Object.keys(e.properties),l=Io(t)?t:null,c={};MO(t,e,c,n);for(const u of s){const d=e.properties[u],f=l==null?void 0:l[u];d.type==="optional"&&f===void 0||(c[u]=$l(d,f,n,r))}return c}if(e.type==="union"){const s=e.schemas.reduce((l,c)=>{const u=Nu(c,t,r);return u>l.score?{schema:c,score:u}:l},{schema:e.schemas[0],score:0});return $l(s.schema,t,n,r)}return e.type==="intersection"?e.schemas.reduce((s,l)=>Object.assign(s,$l(l,t,n,r)),{}):e.type==="literal"?e.value:e.type==="lazy"?$l(DN(e,r),t,n,r):e.type==="evaluate"?$l(e.schema,e.expression(t),n,r):(console.warn("Unknown schema type:",e),t)},z2=(e,t,n=new WeakMap,r=new WeakMap)=>$l(e,t,n,r),wr=e=>({type:"number",default:e==null?void 0:e.default,typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),D=e=>({type:"string",default:e==null?void 0:e.default,typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),tt=e=>({type:"boolean",default:e==null?void 0:e.default,typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),x6=e=>({type:"nullable",typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),rr=e=>({type:"any",typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),Yl=e=>({type:"unknown",typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),ir=e=>({type:"function",typeName:e==null?void 0:e.typeName,typeComment:e==null?void 0:e.typeComment}),Xe=(e,t)=>({type:"array",items:e,typeName:t==null?void 0:t.typeName,typeComment:t==null?void 0:t.typeComment}),He=(e,t,n)=>({type:"record",key:e,value:t,typeName:n==null?void 0:n.typeName,typeComment:n==null?void 0:n.typeComment}),le=(e,t)=>
vendor: 22,407 bytes, line 8
8({type:"object",properties:e,typeName:t==null?void 0:t.typeName,typeComment:t==null?void 0:t.typeComment}),kt=(e,t)=>({type:"union",schemas:e,typeName:t==null?void 0:t.typeName,typeComment:t==null?void 0:t.typeComment}),En=(e,t)=>({type:"intersection",schemas:e,typeName:t==null?void 0:t.typeName,typeComment:t==null?void 0:t.typeComment}),P=(e,t)=>({type:"optional",schema:e,typeName:t==null?void 0:t.typeName,typeComment:t==null?void 0:t.typeComment}),ce=e=>({type:"literal",value:e}),dt=e=>({type:"lazy",schema:e}),BN=(e,t)=>({type:"evaluate",expression:e,schema:t}),Dle=O.Object({"x-scalar-default-request-body-view":O.Optional(O.Union([O.Literal("form"),O.Literal("raw")]))}),Ble=le({"x-scalar-default-request-body-view":P(kt([ce("form"),ce("raw")]))},{typeName:"XScalarDefaultRequestBodyView",typeComment:"Initial request body editor view for structured bodies (form or raw)"}),Ule=O.Object({name:O.String(),value:O.Union([O.Object({description:O.Optional(O.String()),default:O.String({default:""})}),O.String()])}),jle=le({name:D(),value:kt([le({description:P(D()),default:D()}),D()])},{typeName:"XScalarEnvVar"}),n2=O.Object({description:O.Optional(O.String()),color:O.String({default:"#FFFFFF"}),variables:O.Array(Ule)}),Fle=le({description:P(D()),color:D({typeComment:"Color for the environment"}),variables:Xe(jle,{typeComment:"An array of variables"})},{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),Qle=O.Object({"x-scalar-environments":O.Optional(O.Record(O.String(),n2))}),zle=le({"x-scalar-environments":P(He(D(),Fle))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"}),Hle=O.Object({"x-scalar-icon":O.Optional(O.String())}),Vle=le({"x-scalar-icon":P(D())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"}),qle=O.Object({"x-scalar-is-dirty":O.Optional(O.Boolean())}),Zle=le({"x-scalar-is-dirty":P(tt({typeComment:"Whether the document state is dirty, this is used to track if the document has been modified since it was last saved"}))},{typeName:"XScalarIsDirty",typeComment:"Tracks whether the document has been modified since it was last saved"}),Xle=O.Object({"x-scalar-original-document-hash":O.String()}),Wle=le({"x-scalar-original-document-hash":D({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"}),Yle=O.Partial(O.Object({"x-scalar-original-source-url":O.String()})),Gle=le({"x-scalar-original-source-url":P(D({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:"Original document source URL when loaded from an external source."}),Kle=O.Object({namespace:O.String(),slug:O.String(),version:O.String(),commitHash:O.Optional(O.String()),conflictCheckedAgainstHash:O.Optional(O.String()),hasConflict:O.Optional(O.Boolean())}),Jle=O.Object({"x-scalar-registry-meta":O.Optional(Kle)}),ece=le({namespace:D({typeComment:"The namespace under which this registry meta is scoped."}),slug:D({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:D({typeComment:"The version of the registry meta."}),commitHash:P(D({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:P(D({typeComment:"Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash."})),hasConflict:P(tt({typeComment:"Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),tce=le({"x-scalar-registry-meta":P(ece)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"}),nce=O.Object({"x-scalar-watch-mode":O.Optional(O.Boolean())}),rce=le({"x-scalar-watch-mode":P(tt({typeComment:"Whether the document is in watch mode"}))},{typeName:"XScalarWatchMode",typeComment:"Whether the document is in watch mode"}),UN=O.Object({"x-post-response":O.Optional(O.String())}),wT=le({"x-post-response":P(D({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"}),jN=O.Object({"x-pre-request":O.Optional(O.String())}),xT=le({"x-pre-request":P(D())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."}),ace=O.Object({"x-scalar-active-environment":O.Optional(O.String())}),ice=le({"x-scalar-active-environment":P(D({typeComment:"The currently selected environment"}))},{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"}),oce=O.Object({name:O.String(),value:O.String(),domain:O.Optional(O.String()),path:O.Optional(O.String()),isDisabled:O.Optional(O.Boolean())}),sce=le({name:D({typeComment:"Defines the cookie name and its value."}),value:D({typeComment:"Defines the cookie value."}),domain:P(D({typeComment:"Allows this domain and all subdomains."})),path:P(D({typeComment:"Restricts this cookie to requests that contain this path."})),isDisabled:P(tt({typeComment:"Indicates if the cookie is disabled."}))},{typeName:"XScalarCookie",typeComment:"A persisted cookie definition for the workspace"}),lce=O.Object({"x-scalar-cookies":O.Optional(O.Array(oce))}),cce=le({"x-scalar-cookies":P(Xe(sce,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"}),k6=O.Object({"x-scalar-order":O.Optional(O.Array(O.String()))}),Ew=le({"x-scalar-order":P(Xe(D()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"}),FN=O.Object({"x-scalar-selected-server":O.Optional(O.String())}),kT=le({"x-scalar-selected-server":P(D({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}),uce=ot(O.Object({name:O.String(),tags:O.Array(O.String())}),k6),dce=En([le({name:D({typeComment:"The group name."}),tags:Xe(D(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),Ew],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),fce=O.Object({"x-tagGroups":O.Optional(O.Array(uce))}),hce=le({"x-tagGroups":P(Xe(dce,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"}),ev=["delete","get","head","options","patch","post","put","query","trace"],pce=Object.freeze(new Set(ev)),ct={ComponentsObject:"ComponentsObject",SecurityRequirementObject:"SecurityRequirementObject",TagObject:"TagObject",CallbackObject:"CallbackObject",PathsObject:"PathsObject",PathItemObject:"PathItemObject",OperationObject:"OperationObject",SchemaObject:"SchemaObject",EncodingObject:"EncodingObject",HeaderObject:"HeaderObject",MediaTypeObject:"MediaTypeObject",ServerObject:"ServerObject",ExternalDocumentationObject:"ExternalDocumentationObject",InfoObject:"InfoObject",ContactObject:"ContactObject",LicenseObject:"LicenseObject",ResponseObject:"ResponseObject",ResponsesObject:"ResponsesObject",ParameterObject:"ParameterObject",ExampleObject:"ExampleObject",RequestBodyObject:"RequestBodyObject",SecuritySchemeObject:"SecuritySchemeObject",SecuritySchemes:"SecuritySchemes",LinkObject:"LinkObject",XMLObject:"XMLObject",DiscriminatorObject:"DiscriminatorObject",OAuthFlowsObject:"OAuthFlowsObject",ServerVariableObject:"ServerVariableObject",TraversedDescriptionObject:"TraversedDescriptionObject",TraversedOperationObject:"TraversedOperationObject",TraversedAsyncApiOperationObject:"TraversedAsyncApiOperationObject",TraversedAsyncApiChannelObject:"TraversedAsyncApiChannelObject",TraversedAsyncApiMessageObject:"TraversedAsyncApiMessageObject",TraversedSchemaObject:"TraversedSchemaObject",TraversedWebhookObject:"TraversedWebhookObject",TraversedTagObject:"TraversedTagObject",TraversedEntryObject:"TraversedEntryObject",TraversedDocumentObject:"TraversedDocumentObject"},mce=O.Ref(ct.ComponentsObject),QN=O.Ref(ct.SecurityRequirementObject),gce=O.Ref(ct.TagObject),H2=O.Ref(ct.CallbackObject),oh=O.Ref(ct.PathItemObject),AT=O.Ref(ct.PathsObject),$r=O.Ref(ct.OperationObject),fs=O.Ref(ct.SchemaObject),Nf=O.Ref(ct.EncodingObject),sh=O.Ref(ct.HeaderObject),lh=O.Ref(ct.MediaTypeObject),tv=O.Ref(ct.ServerObject),nv=O.Ref(ct.ExternalDocumentationObject),bce=O.Ref(ct.InfoObject),yce=O.Ref(ct.ContactObject),vce=O.Ref(ct.LicenseObject),V2=O.Ref(ct.ResponseObject),Oce=O.Ref(ct.ResponsesObject),ch=O.Ref(ct.ParameterObject),jc=O.Ref(ct.ExampleObject),q2=O.Ref(ct.RequestBodyObject),TT=O.Ref(ct.SecuritySchemeObject),Z2=O.Ref(ct.LinkObject),Sce=O.Ref(ct.XMLObject),wce=O.Ref(ct.DiscriminatorObject),xce=O.Ref(ct.OAuthFlowsObject),kce=O.Ref(ct.ServerVariableObject),Rd=O.Ref(ct.TraversedEntryObject),Ace=O.Ref(ct.TraversedDocumentObject),Rs=O.Object({id:O.String(),title:O.String()}),zN=ot(Rs,O.Object({type:O.Literal("document"),name:O.String(),children:O.Optional(O.Array(Rd)),icon:O.Optional(O.String())})),HN=ot(Rs,O.Object({type:O.Literal("text"),children:O.Optional(O.Array(Rd))})),Tce=ot(Rs,O.Object({type:O.Literal("example"),name:O.String()})),VN=ot(Rs,O.Object({type:O.Literal("operation"),ref:O.String(),method:O.Union(ev.map(e=>O.Literal(e))),path:O.String(),isDeprecated:O.Optional(O.Boolean()),children:O.Optional(O.Array(Rd))})),qN=ot(Rs,O.Object({type:O.Literal("asyncapi-operation"),operationName:O.String(),action:O.Union([O.Literal("send"),O.Literal("receive")]),channelName:O.String(),channelAddress:O.String(),children:O.Optional(O.Array(Rd))})),ZN=ot(Rs,O.Object({type:O.Literal("asyncapi-channel"),channelName:O.String(),channelAddress:O.String(),children:O.Optional(O.Array(Rd))})),XN=ot(Rs,O.Object({type:O.Literal("asyncapi-message"),messageName:O.String(),channelName:O.String()})),WN=ot(Rs,O.Object({type:O.Literal("model"),ref:O.String(),name:O.String()})),YN=ot(Rs,O.Object({type:O.Literal("webhook"),ref:O.String(),method:O.Union(ev.map(e=>O.Literal(e))),name:O.String(),isDeprecated:O.Optional(O.Boolean())})),GN=ot(Rs,O.Object({type:O.Literal("tag"),name:O.String(),description:O.Optional(O.String()),children:O.Optional(O.Array(Rd)),isGroup:O.Boolean(),isTagGroup:O.Optional(O.Boolean()),isWebhooks:O.Optional(O.Boolean()),xKeys:O.Optional(O.Record(O.String(),O.Unknown()))})),Ece=ot(Rs,O.Object({type:O.Literal("models"),name:O.String(),children:O.Optional(O.Array(Rd))})),_ce=O.Union([HN,VN,qN,ZN,XN,WN,GN,YN,Tce,zN,Ece]),Cce=O.Object({$status:O.Optional(O.Union([O.Literal("loading"),O.Literal("error")])),$global:O.Optional(O.Boolean())}),KN=ot(O.Object({$ref:O.String(),summary:O.Optional(O.String()),description:O.Optional(O.String())}),Cce),rn=e=>ot(KN,O.Object({"$ref-value":e})),$ce=O.Record(O.String(),O.Union([oh,rn(oh)])),JN=O.Record(O.String(),O.Union([TT,rn(TT)])),Pce=O.Object({schemas:O.Optional(O.Record(O.String(),O.Union([fs,rn(fs)]))),responses:O.Optional(O.Record(O.String(),O.Union([V2,rn(V2)]))),parameters:O.Optional(O.Record(O.String(),O.Union([ch,rn(ch)]))),examples:O.Optional(O.Record(O.String(),O.Union([jc,rn(jc)]))),requestBodies:O.Optional(O.Record(O.String(),O.Union([q2,rn(q2)]))),headers:O.Optional(O.Record(O.String(),O.Union([sh,rn(sh)]))),securitySchemes:O.Optional(JN),links:O.Optional(O.Record(O.String(),O.Union([Z2,rn(Z2)]))),callbacks:O.Optional(O.Record(O.String(),O.Union([H2,rn(H2)]))),pathItems:O.Optional(O.Record(O.String(),O.Union([oh,rn(oh)]))),mediaTypes:O.Optional(O.Record(O.String(),O.Union([lh,rn(lh)])))}),Ice=O.Object({name:O.Optional(O.String()),url:O.Optional(O.String()),email:O.Optional(O.String())}),Rce=O.Object({propertyName:O.String(),mapping:O.Optional(O.Record(O.String(),O.String())),defaultMapping:O.Optional(O.String())}),Nce=O.Object({contentType:O.Optional(O.String()),headers:O.Optional(O.Record(O.String(),O.Union([sh,rn(sh)]))),style:O.Optional(O.Union([O.Literal("form"),O.Literal("spaceDelimited"),O.Literal("pipeDelimited"),O.Literal("deepObject")])),explode:O.Optional(O.Boolean()),allowReserved:O.Optional(O.Boolean()),encoding:O.Optional(O.Record(O.String(),Nf)),prefixEncoding:O.Optional(O.Array(Nf)),itemEncoding:O.Optional(Nf)}),Mce=O.Object({"x-disabled":O.Optional(O.Boolean())}),Lce=le({"x-disabled":P(tt())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"}),Dce=ot(O.Object({summary:O.Optional(O.String()),description:O.Optional(O.String()),dataValue:O.Optional(O.Unknown()),serializedValue:O.Optional(O.String()),value:O.Optional(O.Any()),externalValue:O.Optional(O.String())}),Mce),Bce=O.Object({url:O.String(),description:O.Optional(O.String())}),eM=O.Object({description:O.Optional(O.String()),required:O.Optional(O.Boolean()),deprecated:O.Optional(O.Boolean())}),Uce=ot(eM,O.Object({style:O.Optional(O.String()),explode:O.Optional(O.Boolean()),schema:O.Optional(O.Union([fs,rn(fs)])),example:O.Optional(O.Any()),examples:O.Optional(O.Record(O.String(),O.Union([jc,rn(jc)])))})),jce=O.Union([Uce,ot(eM,O.Object({content:O.Optional(O.Record(O.String(),lh))}))]),Fce=O.Object({name:O.String(),url:O.String()}),Qce=O.Object({"x-scalar-links":O.Optional(O.Array(Fce))}),zce=le({name:D(),url:D()},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"}),Hce=le({"x-scalar-links":P(Xe(zce,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:"Additional named links to display alongside the API info"}),Vce=O.Object({lang:O.String(),description:O.Optional(O.String()),source:O.Optional(O.String())}),qce=O.Object({"x-scalar-sdk-installation":O.Optional(O.Array(Vce))}),Zce=le({lang:D(),description:P(D()),source:P(D())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),Xce=le({"x-scalar-sdk-installation":P(Xe(Zce,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"}),Wce=ot(O.Object({title:O.String(),version:O.String(),summary:O.Optional(O.String()),description:O.Optional(O.String()),termsOfService:O.Optional(O.String()),contact:O.Optional(yce),license:O.Optional(vce)}),qce,Qce),Yce=O.Object({name:O.Optional(O.String()),identifier:O.Optional(O.String()),url:O.Optional(O.String())}),Gce=O.Object({operationRef:O.Optional(O.String()),operationId:O.Optional(O.String()),parameters:O.Optional(O.Record(O.String(),O.Any())),requestBody:O.Optional(O.Any()),description:O.Optional(O.String()),server:O.Optional(tv)}),Kce=O.Object({description:O.Optional(O.String()),schema:O.Optional(O.Union([fs,rn(fs)])),itemSchema:O.Optional(O.Union([fs,rn(fs)])),example:O.Optional(O.Any()),examples:O.Optional(O.Record(O.String(),O.Union([jc,rn(jc)]))),encoding:O.Optional(O.Record(O.String(),Nf)),prefixEncoding:O.Optional(O.Array(Nf)),itemEncoding:O.Optional(Nf)}),Wh=O.Object({"x-scalar-ignore":O.Optional(O.Boolean())}),Yp=le({"x-scalar-ignore":P(tt())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"}),tM=O.Object({"x-order":O.Optional(O.Number())}),Jce=le({"x-order":P(wr())},{typeName:"XOrder",typeComment:"Display order for a schema property"}),ol=O.Object({"x-scalar-credentials-location":O.Optional(O.Union([O.Literal("header"),O.Literal("body")]))}),LO=le({"x-scalar-credentials-location":P(kt([ce("header"),ce("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"}),eue=O.Object({"x-scalar-security-body":O.Optional(O.Record(O.String(),O.String()))}),tue=le({"x-scalar-security-body":P(He(D(),D()))},{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"}),nue=O.Object({"x-scalar-security-query":O.Optional(O.Record(O.String(),O.String()))}),rue=le({"x-scalar-security-query":P(He(D(),D()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"}),rv=O.Object({"x-scalar-secret-token":O.String()});le({"x-scalar-secret-token":D()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"});const aue=O.Object({"x-scalar-secret-refresh-token":O.Optional(O.String())});le({"x-scalar-secret-refresh-token":P(D())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"});const iue=O.Object({"x-scalar-secret-auth-url":O.Optional(O.String())}),oue=le({"x-scalar-secret-auth-url":P(D())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),sue=O.Object({"x-scalar-secret-token-url":O.Optional(O.String())}),lue=le({"x-scalar-secret-token-url":P(D())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),av=O.Object({"x-scalar-secret-username":O.String(),"x-scalar-secret-password":O.String()});le({"x-scalar-secret-username":D(),"x-scalar-secret-password":D()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"});const Mf=O.Object({"x-scalar-secret-client-secret":O.String()});le({"x-scalar-secret-client-secret":D()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"});const cue=O.Object({"x-scalar-secret-client-id":O.String()});le({"x-scalar-secret-client-id":D()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"});const X2=O.Object({"x-scalar-secret-redirect-uri":O.String()});le({"x-scalar-secret-redirect-uri":D()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"});const uue=O.Object({"x-scalar-secret-client-certificate":O.String()}),due=O.Object({"x-scalar-secret-private-key":O.String()}),fue=O.Object({"x-scalar-secret-service-name":O.String()}),hue=O.Object({"x-tokenName":O.Optional(O.String())}),pue=le({"x-tokenName":P(D())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"}),mue=O.Object({"x-usePkce":O.Union([O.Literal("SHA-256"),O.Literal("plain"),O.Literal("no")],{default:"no"})}),gue=le({"x-usePkce":kt([ce("SHA-256"),ce("plain"),ce("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"}),Q0=ot(O.Object({refreshUrl:O.String(),scopes:O.Record(O.String(),O.String())}),nue,eue,hue,iue,sue,tM,Wh),nM=ot(Q0,O.Object({authorizationUrl:O.String()})),rM=ot(Q0,O.Object({tokenUrl:O.String()}),ol),aM=ot(Q0,O.Object({tokenUrl:O.String()}),ol),iM=ot(Q0,O.Object({authorizationUrl:O.String(),tokenUrl:O.String()}),mue,ol),bue=ot(Q0,O.Object({deviceAuthorizationUrl:O.String(),tokenUrl:O.String()}),ol),yue=O.Object({implicit:O.Optional(nM),password:O.Optional(rM),clientCredentials:O.Optional(aM),authorizationCode:O.Optional(iM),deviceAuthorization:O.Optional(bue)}),iv=O.Object({"x-internal":O.Optional(O.Boolean())}),Gp=le({"x-internal":P(tt({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"}),vue=O.Object({name:O.String({description:"The text that displays in the badge",minLength:1}),position:O.Optional(O.Union([O.Literal("before"),O.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:O.Optional(O.String({description:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)",pattern:"^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$"}))},{description:"Configuration for a single badge in the x-badges extension"}),Oue=le({name:D({typeComment:"The text that displays in the badge. This is required for all badges."}),position:P(kt([ce("before"),ce("after")],{typeComment:"The position of the badge in relation to the header"})),color:P(D({typeComment:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)"}))},{typeName:"XBadge",typeComment:"Configuration for a single badge in the x-badges extension"}),Sue=O.Object({"x-badges":O.Optional(O.Array(vue))}),wue=le({"x-badges":P(Xe(Oue,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"}),M1=O.Object({lang:O.Optional(O.String()),label:O.Optional(O.String()),source:O.String()}),xue=O.Object({language:O.Optional(O.String()),code:O.String(),name:O.Optional(O.String()),install:O.Optional(O.String()),correspondingExample:O.Optional(O.String())}),kue=O.Object({"code-samples":O.Optional(O.Array(xue)),"samples-languages":O.Optional(O.Array(O.String()))}),ET=O.Object({title:O.Optional(O.String()),request:O.Optional(O.Record(O.String(),O.String())),response:O.Optional(O.Unknown())}),Aue=O.Union([ET,O.Array(ET)]),Tue=O.Object({"x-codeSamples":O.Optional(O.Array(M1)),"x-code-samples":O.Optional(O.Array(M1)),"x-custom-examples":O.Optional(O.Array(M1)),"x-readme":O.Optional(kue),"x-stainless-snippets":O.Optional(O.Record(O.String(),O.String())),"x-stainless-examples":O.Optional(Aue),"x-scalar-examples":O.Optional(O.Array(M1))}),L1=le({lang:P(D()),label:P(D()),source:D()}),Eue=le({language:P(D()),code:D(),name:P(D()),install:P(D()),correspondingExample:P(D())}),_ue=le({"code-samples":P(Xe(Eue)),"samples-languages":P(Xe(D()))}),_T=le({title:P(D()),request:P(He(D(),D())),response:P(Yl())}),Cue=kt([_T,Xe(_T)]),$ue=le({"x-codeSamples":P(Xe(L1)),"x-code-samples":P(Xe(L1)),"x-custom-examples":P(Xe(L1)),"x-readme":P(_ue),"x-stainless-snippets":P(He(D(),D())),"x-stainless-examples":P(Cue),"x-scalar-examples":P(Xe(L1))}),Pue=O.Object({"x-draft-examples":O.Optional(O.Array(O.String()))}),Iue=le({"x-draft-examples":P(Xe(D()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"}),Rue=O.Record(O.String(),O.Boolean()),DO=O.Record(O.String(),Rue),Nue=O.Object({"x-scalar-disable-parameters":O.Optional(O.Object({"global-cookie
8s":O.Optional(DO),"global-headers":O.Optional(DO),"default-headers":O.Optional(DO)}))}),Mue=He(D(),tt()),BO=He(D(),Mue),Lue=le({"global-cookies":P(BO),"global-headers":P(BO),"default-headers":P(BO)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),Due=le({"x-scalar-disable-parameters":P(Lue)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"}),Bue={Deprecated:"deprecated"},Uue=O.Object({"x-scalar-stability":O.Optional(O.Union([O.Literal("deprecated"),O.Literal("experimental"),O.Literal("stable")]))}),jue=le({"x-scalar-stability":P(kt([ce("deprecated"),ce("experimental"),ce("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"}),Fue=ot(O.Object({tags:O.Optional(O.Array(O.String())),summary:O.Optional(O.String()),description:O.Optional(O.String()),externalDocs:O.Optional(nv),operationId:O.Optional(O.String()),parameters:O.Optional(O.Array(O.Union([ch,rn(ch)]))),requestBody:O.Optional(O.Union([q2,rn(q2)])),responses:O.Optional(Oce),deprecated:O.Optional(O.Boolean()),security:O.Optional(O.Array(QN)),servers:O.Optional(O.Array(tv)),callbacks:O.Optional(O.Record(O.String(),O.Union([H2,rn(H2)])))}),Sue,iv,Wh,Tue,Uue,Nue,UN,jN,Pue,FN),Que=O.Object({"x-global":O.Optional(O.Boolean())}),CT=le({"x-global":P(tt())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"}),oM=ot(O.Object({name:O.String(),in:O.Union([O.Literal("query"),O.Literal("querystring"),O.Literal("header"),O.Literal("path"),O.Literal("cookie")]),description:O.Optional(O.String()),required:O.Optional(O.Boolean()),deprecated:O.Optional(O.Boolean()),allowEmptyValue:O.Optional(O.Boolean()),allowReserved:O.Optional(O.Boolean())}),Que,iv,Wh),zue=ot(oM,O.Object({style:O.Optional(O.String()),explode:O.Optional(O.Boolean()),schema:O.Optional(O.Union([fs,rn(fs)])),example:O.Optional(O.Any()),examples:O.Optional(O.Record(O.String(),O.Union([jc,rn(jc)])))})),Hue=ot(oM,O.Object({content:O.Optional(O.Record(O.String(),lh))})),Vue=O.Union([zue,Hue]),que=O.Object({$ref:O.Optional(O.String()),summary:O.Optional(O.String()),description:O.Optional(O.String()),get:O.Optional(O.Union([$r,rn($r)])),put:O.Optional(O.Union([$r,rn($r)])),post:O.Optional(O.Union([$r,rn($r)])),delete:O.Optional(O.Union([$r,rn($r)])),patch:O.Optional(O.Union([$r,rn($r)])),connect:O.Optional(O.Union([$r,rn($r)])),options:O.Optional(O.Union([$r,rn($r)])),head:O.Optional(O.Union([$r,rn($r)])),trace:O.Optional(O.Union([$r,rn($r)])),query:O.Optional(O.Union([$r,rn($r)])),additionalOperations:O.Optional(O.Record(O.String(),O.Union([$r,rn($r)]))),servers:O.Optional(O.Array(tv)),parameters:O.Optional(O.Array(O.Union([ch,rn(ch)])))}),Zue=O.Record(O.String(),O.Union([oh,rn(oh)])),Xue=O.Object({"x-scalar-selected-content-type":O.Optional(O.Record(O.String(),O.String()))}),Wue=le({"x-scalar-selected-content-type":P(He(D(),D(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"}),Yue=ot(O.Object({description:O.Optional(O.String()),content:O.Record(O.String(),lh),required:O.Optional(O.Boolean())}),Xue),Gue=O.Object({summary:O.Optional(O.String()),description:O.Optional(O.String()),headers:O.Optional(O.Record(O.String(),O.Union([sh,rn(sh)]))),content:O.Optional(O.Record(O.String(),lh)),links:O.Optional(O.Record(O.String(),O.Union([Z2,rn(Z2)])))}),Kue=O.Record(O.String(),O.Union([V2,rn(V2)])),Jue=O.Object({"x-tags":O.Optional(O.Array(O.String()))}),ede=le({"x-tags":P(Xe(D()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"}),tde=O.Object({"x-additionalPropertiesName":O.Optional(O.String())}),nde=le({"x-additionalPropertiesName":P(D())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"}),rde=O.Object({"x-enumDescriptions":O.Optional(O.Union([O.Record(O.String(),O.String()),O.Array(O.String())])),"x-enum-descriptions":O.Optional(O.Union([O.Record(O.String(),O.String()),O.Array(O.String())]))}),$T=kt([He(D(),D()),Xe(D())]),ade=le({"x-enumDescriptions":P($T),"x-enum-descriptions":P($T)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"}),ide=O.Object({"x-enum-varnames":O.Optional(O.Array(O.String())),"x-enumNames":O.Optional(O.Array(O.String()))}),ode=le({"x-enum-varnames":P(Xe(D())),"x-enumNames":P(Xe(D()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"}),sde=O.Object({"x-examples":O.Optional(O.Record(O.String(),O.Unknown()))}),lde=le({"x-examples":P(He(D(),rr()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"}),cde=O.Object({"x-variable":O.Optional(O.String())}),ude=le({"x-variable":P(D())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"}),ss=O.Union([fs,ot(KN,O.Object({"$ref-value":O.Optional(O.Unknown())}))]),dde=O.Union([O.Literal("null"),O.Literal("boolean"),O.Literal("string"),O.Literal("number"),O.Literal("integer"),O.Literal("object"),O.Literal("array")]),fde=O.Object({type:O.Union([O.Literal("null"),O.Literal("boolean")])}),ku=ot(Wh,iv,cde,sde,rde,ide,tde,tM,Jue),Au=O.Object({$id:O.Optional(O.String()),$anchor:O.Optional(O.String()),$dynamicAnchor:O.Optional(O.String()),$dynamicRef:O.Optional(O.String()),name:O.Optional(O.String()),title:O.Optional(O.String()),description:O.Optional(O.String()),default:O.Optional(O.Unknown()),enum:O.Optional(O.Array(O.Unknown())),const:O.Optional(O.Unknown()),contentMediaType:O.Optional(O.String()),contentEncoding:O.Optional(O.String()),contentSchema:O.Optional(ss),deprecated:O.Optional(O.Boolean()),discriminator:O.Optional(wce),readOnly:O.Optional(O.Boolean()),writeOnly:O.Optional(O.Boolean()),xml:O.Optional(Sce),externalDocs:O.Optional(nv),example:O.Optional(O.Unknown()),examples:O.Optional(O.Array(O.Unknown())),allOf:O.Optional(O.Array(ss)),oneOf:O.Optional(O.Array(ss)),anyOf:O.Optional(O.Array(ss)),not:O.Optional(ss)}
vendor: 5,010 bytes, line 8
8),sM=O.Object({multipleOf:O.Optional(O.Number()),maximum:O.Optional(O.Number()),exclusiveMaximum:O.Optional(O.Number({minimum:0})),minimum:O.Optional(O.Number()),exclusiveMinimum:O.Optional(O.Number({minimum:0}))}),hde=ot(O.Object({type:O.Union([O.Literal("number"),O.Literal("integer")]),format:O.Optional(O.String())}),sM),lM=O.Object({maxLength:O.Optional(O.Integer({minimum:0})),minLength:O.Optional(O.Integer({minimum:0})),pattern:O.Optional(O.String())}),pde=ot(O.Object({type:O.Literal("string"),format:O.Optional(O.String())}),lM),cM=O.Object({maxItems:O.Optional(O.Integer({minimum:0})),minItems:O.Optional(O.Integer({minimum:0})),uniqueItems:O.Optional(O.Boolean()),items:O.Optional(ss),prefixItems:O.Optional(O.Array(ss))}),mde=ot(O.Object({type:O.Literal("array")}),cM),uM=O.Object({maxProperties:O.Optional(O.Integer({minimum:0})),minProperties:O.Optional(O.Integer({minimum:0})),required:O.Optional(O.Array(O.String())),properties:O.Optional(O.Record(O.String(),ss)),additionalProperties:O.Optional(O.Union([O.Boolean(),ss])),patternProperties:O.Optional(O.Record(O.String(),ss)),propertyNames:O.Optional(ss)}),gde=ot(O.Object({type:O.Literal("object")}),uM),bde=ot(O.Object({type:O.Array(dde),format:O.Optional(O.String())}),sM,lM,cM,uM),yde=O.Union([ot(O.Object({__scalar_:O.String()}),Au,ku),ot(fde,Au,ku),ot(hde,Au,ku),ot(pde,Au,ku),ot(gde,Au,ku),ot(mde,Au,ku),ot(bde,Au,ku)]),vde=O.Partial(O.Record(O.String(),O.Array(O.String()))),Ode=O.Object({"x-default-scopes":O.Optional(O.Array(O.String()))}),Sde=le({"x-default-scopes":P(Xe(D()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"}),z0=ot(O.Object({description:O.Optional(O.String()),deprecated:O.Optional(O.Boolean())}),Wh),wde=ot(z0,O.Object({type:O.Literal("apiKey"),name:O.String(),in:O.Union([O.Literal("query"),O.Literal("header"),O.Literal("cookie")])})),xde=ot(z0,O.Object({type:O.Literal("http"),scheme:O.Union([O.Literal("basic"),O.Literal("bearer")]),bearerFormat:O.Optional(O.String())})),kde=ot(z0,O.Object({type:O.Literal("mutualTLS")})),Ade=ot(z0,O.Object({type:O.Literal("oauth2"),flows:xce,oauth2MetadataUrl:O.Optional(O.String())}),Ode),Tde=ot(z0,O.Object({type:O.Literal("openIdConnect"),openIdConnectUrl:O.String()})),Ede=O.Union([wde,xde,kde,Ade,Tde]),_de=O.Object({url:O.String(),description:O.Optional(O.String()),name:O.Optional(O.String()),variables:O.Optional(O.Record(O.String(),kce))}),Cde=O.Object({enum:O.Optional(O.Array(O.String())),default:O.Optional(O.String()),description:O.Optional(O.String())}),$de=O.Object({"x-displayName":O.Optional(O.String())}),Pde=le({"x-displayName":P(D())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"}),Ide=ot(O.Object({name:O.String(),summary:O.Optional(O.String()),description:O.Optional(O.String()),externalDocs:O.Optional(nv),parent:O.Optional(O.String()),kind:O.Optional(O.String())}),$de,iv,Wh,k6),Rde=O.Object({name:O.Optional(O.String()),namespace:O.Optional(O.String()),prefix:O.Optional(O.String()),attribute:O.Optional(O.Boolean()),wrapped:O.Optional(O.Boolean()),nodeType:O.Optional(O.Union([O.Literal("element"),O.Literal("attribute"),O.Literal("text"),O.Literal("cdata"),O.Literal("none")]))}),Nde=ot(O.Partial(O.Object({"x-original-oas-version":O.String(),[qs.document.navigation]:Ace})),Yle,fce,Qle,FN,Hle,k6,lce,Xle,qle,ace,nce,Jle,Dle,jN,UN),Mde=ot(O.Object({openapi:O.String(),$self:O.Optional(O.String()),info:bce,jsonSchemaDialect:O.Optional(O.String()),servers:O.Optional(O.Array(tv)),paths:O.Optional(AT),webhooks:O.Optional(AT),components:O.Optional(mce),security:O.Optional(O.Array(QN)),tags:O.Optional(O.Array(gce)),externalDocs:O.Optional(nv)}),Nde),xn=O.Module({[ct.ComponentsObject]:Pce,[ct.SecurityRequirementObject]:vde,[ct.TagObject]:Ide,[ct.CallbackObject]:$ce,[ct.PathItemObject]:que,[ct.PathsObject]:Zue,[ct.OperationObject]:Fue,[ct.SchemaObject]:yde,[ct.EncodingObject]:Nce,[ct.MediaTypeObject]:Kce,[ct.HeaderObject]:jce,[ct.ServerObject]:_de,[ct.ExternalDocumentationObject]:Bce,[ct.InfoObject]:Wce,[ct.ContactObject]:Ice,[ct.LicenseObject]:Yce,[ct.ResponseObject]:Gue,[ct.ResponsesObject]:Kue,[ct.ParameterObject]:Vue,[ct.ExampleObject]:Dce,[ct.RequestBodyObject]:Yue,[ct.SecuritySchemes]:JN,[ct.SecuritySchemeObject]:Ede,[ct.LinkObject]:Gce,[ct.XMLObject]:Rde,[ct.DiscriminatorObject]:Rce,[ct.OAuthFlowsObject]:yue,[ct.ServerVariableObject]:Cde,OpenApiDocument:Mde,[ct.TraversedDescriptionObject]:HN,[ct.TraversedOperationObject]:VN,[ct.TraversedAsyncApiOperationObject]:qN,[ct.TraversedAsyncApiChannelObject]:ZN,[ct.TraversedAsyncApiMessageObject]:XN,[ct.TraversedSchemaObject]:WN,[ct.TraversedWebhookObject]:YN,[ct.TraversedTagObject]:GN,[ct.TraversedEntryObject]:_ce,[ct.TraversedDocumentObject]:zN}),PT=xn.Import("OpenApiDocument");xn.Import("ComponentsObject");const Lde=xn.Import("SecurityRequirementObject");xn.Import("TagObject");xn.Import("CallbackObject");xn.Import("PathItemObject");xn.Import("PathsObject");xn.Import("OperationObject");const Dde=xn.Import("SchemaObject");
8xn.Import("EncodingObject");xn.Import("MediaTypeObject");xn.Import("HeaderObject");const u4t=xn.Import("ServerObject");xn.Import("ExternalDocumentationObject");xn.Import("InfoObject");xn.Import("ContactObject");xn.Import("LicenseObject");xn.Import("ResponseObject");xn.Import("ResponsesObject");xn.Import("ParameterObject");xn.Import("ExampleObject");xn.Import("RequestBodyObject");xn.Import("SecuritySchemes");const Bde=xn.Import("SecuritySchemeObject");xn.Import("LinkObject");xn.Import("XMLObject");xn.Import("DiscriminatorObject");xn.Import("OAuthFlowsObject");xn.Import("ServerVariableObject");xn.Import("TraversedDescriptionObject");xn.Import("TraversedEntryObject");xn.Import("TraversedTagObject");xn.Import("TraversedOperationObject");xn.Import("TraversedSchemaObject");xn.Import("TraversedWebhookObject");const ht={schema:e=>{if(e===void 0)return;const t=Se(e,mr);return co(ot(Dde,O.Object({$ref:O.Optional(O.String())})),t)}},A6=10,Ude="additionalProperty",T6=new Date().toISOString(),jde=T6.split("T")[0],Fde=T6.split("T")[1].split(".")[0],Qde={"date-time":T6,date:jde,email:"[email protected]",hostname:"example.com","idn-email":"[email protected]","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:Fde,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},zde=e=>{if(!("propertyNames"in e)||!e.propertyNames)return;const t=ht.schema(e.propertyNames);if(t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},dM=(e,t=!1,n="")=>{if("type"in e&&e.type==="string"&&"format"in e&&e.format==="binary")return"@filename";if(t&&"format"in e&&e.format){const r=/^uuid[1-8]$/.test(e.format)?"uuid":e.format;return Qde[r]??n}return n},_w=new WeakMap;let um=!1;const IT=new WeakMap,H0=e=>qt(e,{depth:1}),Hde=e=>{if(!e)return;const t=IT.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 IT.set(e,r),r}}},Lr=(e,t,n,r=!1)=>{if(r||um||typeof t!="object"||t===null)return t;const a=H0(e),i=_w.get(a)??new Map;return i&&i.set(n,t),_w.set(a,i),t},fM=e=>!!(e.allOf||e.oneOf||e.anyOf),Vde=(e,t,n,r)=>{if(e.deprecated&&(r==null?void 0:r.includeDeprecated)!==!0||(r==null?void 0:r.mode)==="write"&&e.readOnly||(r==null?void 0:r.mode)==="read"&&e.writeOnly)return!0;if((r==null?void 0:r.omitEmptyAndOptionalProperties)!==!0||"type"in e&&(e.type==="object"||e.type==="array")||fM(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 i=n??e.title??"",o=Hde(t);return!(o?o.has(i):!1)},E6=(e,t)=>t==null?e:e==null?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e=="object"&&t&&typeof t=="object"?{...e,...t}:t,qde=A6*5,UO=new WeakMap,RT=(e,t)=>{switch(t){case"string":return typeof e=="string";case"number":return typeof e=="number"&&!Number.isNaN(e);case"integer":return typeof e=="number"&&Number.isInteger(e);case"boolean":return typeof e=="boolean";case"object":return typeof e=="object"&&e!==null&&!Array.isArray(e);case"array":return Array.isArray(e);case"null":return e===null;default:return!1}},jO=e=>{const t=H0(e);if(UO.has(t))return UO.get(t);const n="$ref"in e?ht.schema(e):e;return UO.set(t,n),n},r2=(e,t,n=new Set,r=0)=>{if(r>qde)return!0;const a=H0(e);if(n.has(a))return!0;if(n.add(a),"type"in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(u=>u==="number"&&RT(t,"integer")?!0:RT(t,u)))return n.delete(a),!1;const i=e.anyOf;if(Array.isArray(i)&&i.length>0&&!i.some(c=>{const u=jO(c);return!!u&&r2(u,t,n,r+1)}))return n.delete(a),!1;const o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(c=>{const u=jO(c);return!!u&&r2(u,t,n,r+1)}))return n.delete(a),!1;const s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(c=>{const u=jO(c);return!u||r2(u,t,n,r+1)})?(n.delete(a),!1):(n.delete(a),!0)},_6=Symbol("INVALID_DEFAULT"),hM=e=>{const t=e.default;return r2(e,t)?t:_6},Zde=(e,t)=>[...e,t].join("."),ov=(e,t,n,r)=>{var i;const a=(i=n==null?void 0:n.compositionSelection)==null?void 0:i[Zde(e,t)];if(!(typeof a!="number"||Number.isNaN(a)))return Math.max(0,Math.min(a,r-1))},sv=(e,t,n,r)=>{var g,v,k;const a=e.discriminator;if((a==null?void 0:a.defaultMapping)===void 0)return;const i="properties"in e?(g=e.properties)==null?void 0:g[a.propertyName]:void 0,o=i?ht.schema(i):void 0,s=n!=null&&n.xml&&o&&"xml"in o?((v=o.xml)==null?void 0:v.name)??a.propertyName:a.propertyName,l=o!=null&&o["x-variable"]?(k=n==null?void 0:n.variables)==null?void 0:k[o["x-variable"]]:void 0,c=o?yM(o):void 0,d=r?r[s]:l!==void 0?l:c,f=S=>t.findIndex(A=>"$ref"in A&&A.$ref===S),h=S=>f(`#/components/schemas/${U8(S)}`),p=S=>{const A=h(S);return A>=0?A:f(S)};
8if(typeof d=="string"){const S=a.mapping&&Object.hasOwn(a.mapping,d)?a.mapping[d]:void 0,A=S===void 0?h(d):p(S);if(S!==void 0||A>=0)return A>=0?A:void 0}const m=p(a.defaultMapping);return m>=0?m:void 0},NT=e=>{if(e&&typeof e=="object"&&"x-order"in e){const t=Number(e["x-order"]);return Number.isNaN(t)?void 0:t}},Xde=e=>Object.keys(e).sort((t,n)=>{const r=NT(e[t]),a=NT(e[n]);return r!==void 0&&a!==void 0?r-a:r!==void 0?-1:a!==void 0?1:0}),Wde=(e,t,n,r,a,i,o)=>{var f,h;const s={},l=Ay(o,e),c=o.length>0;if("properties"in e&&e.properties){const p=e.properties,m=Xde(p),g=m.length;for(let v=0;v<g;v++){const k=m[v],S=ht.schema(p[k]);if(!S)continue;const A=t!=null&&t.xml&&"xml"in S?(f=S.xml)==null?void 0:f.name:void 0,E=Oi(S,t,{level:n+1,parentSchema:e,name:k,schemaPath:[...i,k],seen:r,dynamicScope:l});typeof E<"u"&&(s[A??k]=E)}}if("patternProperties"in e&&e.patternProperties)for(const p of Object.keys(e.patternProperties)){const m=ht.schema(e.patternProperties[p]);m&&(s[p]=Oi(m,t,{level:n+1,parentSchema:e,name:p,schemaPath:[...i,p],seen:r,dynamicScope:l}))}if("additionalProperties"in e&&e.additionalProperties){const p=typeof e.additionalProperties=="boolean"?e.additionalProperties:ht.schema(e.additionalProperties),m=e.additionalProperties===!0||typeof e.additionalProperties=="object"&&Object.keys(e.additionalProperties).length===0,g=typeof p=="object"&&"x-additionalPropertiesName"in p?p["x-additionalPropertiesName"]:void 0,v=typeof g=="string"&&g.trim().length>0,k=v?void 0:zde(e),S=v?g.trim():Ude,A=m?"anything":typeof p=="object"?Oi(p,t,{level:n+1,schemaPath:[...i,S],seen:r,dynamicScope:l}):"anything";k&&k.length>0?s[String(k[0])]=A:s[S]=A}const u=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,d=u?e[u]:void 0;if(u&&(d!=null&&d.length)){const p=ov(i,u,t,d.length)??sv(e,d,t,s)??0,m=ht.schema(d[p]);m&&Object.assign(s,Oi(m,t,{level:n+1,schemaPath:i,seen:r,dynamicScope:l}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let p=s,m=0;for(const g of e.allOf){const v=ht.schema(g),S=!!v&&(Array.isArray(v.oneOf)||Array.isArray(v.anyOf))?[...i,String(m++)]:i,A=Oi(v,t,{level:n+1,parentSchema:e,seen:r,dynamicScope:l,schemaPath:S});p=E6(p,A)}p&&typeof p=="object"&&Object.assign(s,p)}if(t!=null&&t.xml&&"xml"in e&&((h=e.xml)!=null&&h.name)&&n===0){const p={};return p[e.xml.name]=s,Lr(e,p,a,c)}return Lr(e,s,a,c)},Yde=(e,t,n,r,a,i,o)=>{var g,v;const s=Ay(o,e),l=o.length>0;let c="items"in e?ht.schema(e.items):void 0,u=r;if(c&&ky(c)){const k=Ty(c.$dynamicRef,s);k&&(c=k,u=new WeakSet)}const d=[...i,"items"],f=c&&typeof c=="object"&&"xml"in c?(g=c.xml)==null?void 0:g.name:void 0,h=!!(t!=null&&t.xml&&"xml"in e&&((v=e.xml)!=null&&v.wrapped)&&f);if(e.example!==void 0)return Lr(e,h?{[f]:e.example}:e.example,a,l);if(c&&typeof c=="object"){if(Array.isArray(c.allOf)&&c.allOf.length>0){const A=c.allOf.filter(to),E=ht.schema(A[0]);if(E&&typeof E=="object"&&"type"in E&&E.type==="object"){const R=Oi({type:"object",allOf:A},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return Lr(e,h?[{[f]:R}]:[R],a,l)}const _=A.map(C=>Oi(ht.schema(C),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(to);return Lr(e,h?_.map(C=>({[f]:C})):_,a,l)}const k=c.oneOf?"oneOf":c.anyOf?"anyOf":void 0,S=k?c[k]:void 0;if(k&&S&&S.length>0){const A=ov(d,k,t,S.length)??sv(c,S,t)??0,E=S[A],_=Oi(ht.schema(E),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return Lr(e,h?[{[f]:_}]:[_],a,l)}}const p=c&&typeof c=="object"&&("type"in c&&c.type==="object"||"properties"in c),m=c&&typeof c=="object"&&("type"in c&&c.type==="array"||"items"in c);if(c&&typeof c=="object"&&("type"in c&&c.type||p||m)){const k=Oi(c,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return Lr(e,h?[{[f]:k}]:[k],a,l)}return Lr(e,[],a,l)},pM=(e,t,n)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return dM(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}},mM=(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 dM(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}}},Gde=e=>JSON.stringify({emptyString:e==null?void 0:e.emptyString,xml:e==null?void 0:e.xml,mode:e==null?void 0:e.mode,variables:e==null?void 0:e.variables,omitEmptyAndOptionalProperties:e==null?void 0:e.omitEmptyAndOptionalProperties,includeDeprecated:e==null?void 0:e.includeDeprecated,compositionSelection:e!=null&&e.compositionSelection?Object.entries(e.compositionSelection).sort(([t],[n])=>t.localeCompare(n)):void 0}),gM="[Max Depth Exceeded]",Kde=A6*5,bM=e=>!("type"in e)||!e.type?[]:Array.isArray(e.type)?e.type:[e.type],Jde=e=>{const t=bM(e);if("properties"in e||t.includes("object"))return{};if("items"in e||t.includes("array"))return[]}
8,efe=(e,t,n)=>{const r=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,a=r?e[r]:void 0;if(!r||!Array.isArray(a)||a.length===0)return;const i=ov(n,r,t,a.length)??sv(e,a,t),o=i!==void 0?a[i]:a.find(s=>{const l=ht.schema(s);return l&&(!("type"in l)||l.type!=="null")});return o?ht.schema(o):void 0},yM=e=>{if(Array.isArray(e.examples)&&e.examples.length>0)return e.examples[0];if(e.example!==void 0)return e.example;if(e.default!==void 0){const t=hM(e);if(t!==_6)return t}if(e.const!==void 0)return e.const;if(Array.isArray(e.enum)&&e.enum.length>0)return e.enum[0]},tfe=(e,t,n,r)=>{const a=efe(e,t,n);if(a)return Cw(a,t,n,r);if(!Array.isArray(e.allOf)||e.allOf.length===0)return;let i,o=0;for(const s of e.allOf){const l=ht.schema(s),u=!!l&&(Array.isArray(l.oneOf)||Array.isArray(l.anyOf))?[...n,String(o++)]:n,d=l?Cw(l,t,u,r):void 0;d!==void 0&&d!==gM&&(i=E6(i,d))}return i},Cw=(e,t,n,r=new Set)=>{const a=yM(e);if(a!==void 0)return a;const i=Jde(e);if(i!==void 0)return um=!0,i;const o=!!(t!=null&&t.emptyString),s=pM(e,o,t==null?void 0:t.emptyString);if(s!==void 0)return s;const l=H0(e);if(!r.has(l)&&r.size<Kde){r.add(l);const u=tfe(e,t,n,r);if(r.delete(l),u!==void 0)return u}else um=!0;const c=mM(e,o,t==null?void 0:t.emptyString);return c!==void 0?c:bM(e).includes("null")||fM(e)||"not"in e?null:(um=!0,gM)},Oi=(e,t,{level:n=0,parentSchema:r,name:a,seen:i=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{var k,S;n===0&&(um=!1);const l=ht.schema(e);if(!to(l))return;if(ky(l)){const A=Ty(l.$dynamicRef,s);if(A)return Oi(A,t,{level:n+1,parentSchema:r,name:a,seen:new WeakSet,schemaPath:o,dynamicScope:s})}const c=Ay(s,l),u=s.length>0,d=H0(l);if(i.has(d))return;i.add(d);const f=Gde(t)+(o.length>0?`:path:${o.join(".")}`:"");if(!u){const A=(k=_w.get(d))==null?void 0:k.get(f);if(typeof A<"u")return i.delete(d),A}const h=!!(t!=null&&t.emptyString);if(Vde(l,r,a,t)){i.delete(d);return}if("x-variable"in l&&l["x-variable"]){const A=(S=t==null?void 0:t.variables)==null?void 0:S[l["x-variable"]];if(A!==void 0)return"type"in l&&(l.type==="number"||l.type==="integer")?(i.delete(d),Lr(l,Number(A),f,u)):(i.delete(d),Lr(l,A,f,u))}if(Array.isArray(l.examples)&&l.examples.length>0)return i.delete(d),Lr(l,l.examples[0],f,u);if(l.example!==void 0)return i.delete(d),Lr(l,l.example,f,u);if(l.default!==void 0){const A=hM(l);if(A!==_6)return i.delete(d),Lr(l,A,f,u)}if(l.const!==void 0)return i.delete(d),Lr(l,l.const,f,u);if(Array.isArray(l.enum)&&l.enum.length>0)return i.delete(d),Lr(l,l.enum[0],f,u);if(n>A6)return i.delete(d),Cw(l,t,o);if("properties"in l||"type"in l&&l.type==="object"){const A=Wde(l,t,n,i,f,o,s);return i.delete(d),A}if("type"in l&&l.type==="array"||"items"in l){const A=Yde(l,t,n,i,f,o,s);return i.delete(d),A}const p=pM(l,h,t==null?void 0:t.emptyString);if(p!==void 0)return i.delete(d),Lr(l,p,f,u);const m=l.oneOf?"oneOf":l.anyOf?"anyOf":void 0,g=m?l[m]:void 0;if(m&&Array.isArray(g)&&g.length>0){const A=ov(o,m,t,g.length)??sv(l,g,t),E=A!==void 0?g[A]:g.find(_=>{const C=ht.schema(_);return C&&(!("type"in C)||C.type!=="null")});if(E){const _=ht.schema(E);if(_)return i.delete(d),Lr(l,Oi(_,t,{level:n+1,schemaPath:o,seen:i,dynamicScope:c}),f,u)}return i.delete(d),Lr(l,null,f,u)}if(Array.isArray(l.allOf)&&l.allOf.length>0){let A;const E=l.allOf;let _=0;for(const C of E){const R=ht.schema(C),L=!!R&&(Array.isArray(R.oneOf)||Array.isArray(R.anyOf))?[...o,String(_++)]:o,V=Oi(C,t,{level:n+1,parentSchema:l,schemaPath:L,seen:i,dynamicScope:c});A===void 0?A=V:A&&typeof A=="object"&&V&&typeof V=="object"?A=E6(A,V):V!=null&&(A=V)}return i.delete(d),Lr(l,A??null,f,u)}const v=mM(l,h,t==null?void 0:t.emptyString);return v!==void 0?(i.delete(d),Lr(l,v,f,u)):(i.delete(d),Lr(l,null,f,u))},nfe=e=>{const t="type"in e?e.type:void 0;return Array.isArray(t)?[...t]:t==null?[]:[t]},rfe=(e,t)=>{let n=e;for(const r of t){if(!n||!Jf(n)||!n.properties)return;n=Se(n.properties[r],mr)}return n},afe=(e,t)=>e===null?t.includes("null"):Array.isArray(e)?t.includes("array"):typeof e=="object"?t.includes("object"):typeof e=="boolean"?t.includes("boolean"):typeof e=="number"?t.includes("number")||t.includes("integer")&&Number.isInteger(e):typeof e=="string"?t.includes("string"):!1,ife=(e,t)=>
8{if(typeof e!="string"||!t)return e;const n=nfe(t);if(n.length===0||n.includes("string"))return e;try{const r=JSON.parse(e);return afe(r,n)?r:e}catch{return e}},d4t=e=>{if(typeof e!="string")return e;try{const t=JSON.parse(e);return typeof t=="string"?e:t}catch{return e}},f4t=e=>{const t=e?Se(e,mr):void 0;if(!t||!Jf(t)||!t.properties)return(r,a)=>!1;const n=new Set;for(const[r,a]of Object.entries(t.properties)){const i=a?Se(a,mr):void 0;i&&Jf(i)&&i.properties&&n.add(r)}return(r,a)=>{if(a instanceof File||!r.includes("."))return!1;const i=r.split(".",1)[0];return!!i&&n.has(i)}},ofe=(e,t)=>typeof e=="string"?e:t.includes("json")||Ht(e)&&!Array.isArray(e)?JSON.stringify(e):String(e),vM=(e,t)=>{if(Array.isArray(e))return e.join(",");if(Ht(e)){const n=Object.entries(e);return t?n.map(([r,a])=>`${r}=${a}`).join(","):n.map(([r,a])=>`${r},${a}`).join(",")}return e},W2=(e,t)=>Array.isArray(e)&&t?e.map(n=>({key:"",value:n})):Array.isArray(e)?e.join(","):Ht(e)&&t?Object.entries(e).map(([n,r])=>({key:n,value:r})):Ht(e)?Object.entries(e).map(([n,r])=>`${n},${r}`).join(","):e,sfe=(e,t)=>{if(Array.isArray(e)&&t)return e.map(n=>({key:"",value:n}));if(Array.isArray(e))return e.map(n=>n===null?"null":String(n)).join(",");if(Ht(e)&&t)return Object.entries(e).map(([n,r])=>({key:n,value:r}));if(Ht(e)){const n=r=>{const a=[];for(const[i,o]of Object.entries(r))Ht(o)&&!Array.isArray(o)?a.push(i,...n(o)):a.push(i,o===null?"null":String(o));return a};return n(e).join(",")}return e},OM=e=>Array.isArray(e)?e.join(" "):Ht(e)?Object.entries(e).map(([t,n])=>`${t} ${n}`).join(" "):String(e),SM=e=>Array.isArray(e)?e.join("|"):Ht(e)?Object.entries(e).flat().join("|"):String(e),wM=(e,t)=>{const n=[],r=(i,o)=>{if(Array.isArray(o))for(const s of o)r(`${i}[]`,s);else Ht(o)?a(o,i):n.push({key:i,value:String(o)})},a=(i,o)=>{for(const[s,l]of Object.entries(i))r(`${o}[${s}]`,l)};return Ht(t)&&!Array.isArray(t)&&a(t,e),n},MT=e=>e!==null&&typeof e=="object"?JSON.stringify(e):String(e),xM=(e,t,n)=>{if(!(!!n&&(n.style!==void 0||n.explode!==void 0||n.allowReserved!==void 0))||typeof t!="object"||t===null||t instanceof File||Array.isArray(t)&&t.some(l=>l instanceof File))return null;const a=qt(t),i=(n==null?void 0:n.style)??"form",o=(n==null?void 0:n.explode)??i==="form",s=[];if(i==="deepObject")if(Array.isArray(a)){const l=W2(a,!0);if(Array.isArray(l))for(const c of l)s.push({key:c.key||e,value:MT(c.value)});else s.push({key:e,value:String(l)})}else for(const l of wM(e,a))s.push({key:l.key,value:String(l.value)});else if(i==="spaceDelimited")s.push({key:e,value:String(OM(a))});else if(i==="pipeDelimited")s.push({key:e,value:String(SM(a))});else{const l=W2(a,o);if(Array.isArray(l))for(const c of l)s.push({key:c.key||e,value:MT(c.value)});else s.push({key:e,value:String(l)})}return s},Y2=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,lfe=e=>`"${e.replaceAll(/(["\\])/g,"\\$1")}"`,cfe=e=>{const t=e.indexOf("=");if(t===-1)return null;const n=e.slice(0,t).trim().toLowerCase();if(!n||!Y2.test(n))return null;const r=e.slice(t+1).trim();if(!r)return null;if(r.startsWith('"')&&r.endsWith('"')&&r.length>=2){const a=r.slice(1,-1).replaceAll(/\\(["\\])/g,"$1");return[n,a]}return[n,r]},LT=e=>{const[t="",n=""]=e.split("/",2),r=t.trim().toLowerCase(),a=n.trim().toLowerCase();if(!r||!a||!Y2.test(r)||!Y2.test(a))throw new Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${a}`,type:r,subtype:a}},V0=(e="text/plain")=>{const[t="",...n]=e.split(";");let r;try{r=LT(t)}catch{r=LT("text/plain")}const{essence:a,type:i,subtype:o}=r,s=new Map;return n.forEach(c=>{const u=cfe(c);if(!u)return;const[d,f]=u;s.set(d,f)}),{essence:a,type:i,subtype:o,parameters:s,toString:()=>{const c=Array.from(s.entries()).map(([u,d])=>{const f=Y2.test(d)?d:lfe(d);return`${u}=${f}`});return c.length?`${a}; ${c.join("; ")}`:a}}},ufe=(e,t,n)=>{if(!Array.isArray(t))return null;const r=(n==null?void 0:n.style)!==void 0||(n==null?void 0:n.explode)!==void 0||(n==null?void 0:n.allowReserved)!==void 0,a=r||n==null?void 0:n.contentType;return t.flatMap(i=>{const o=xM(e,i,n);if(o)return o;if(i instanceof File)return[{key:e,value:qt(i),...a?{contentType:a}:{}}];const s=typeof i=="object"&&i!==null,l=a??(!r&&s?"application/json":void 0),c=l?V0(l).subtype:void 0,u=c==="json"||(c==null?void 0:c.endsWith("+json"));return[{key:e,value:s||u?JSON.stringify(qt(i)):String(i),...l?{contentType:l}:{}}]})},dfe="x-scalar-cookie",h4t="x-scalar-set-cookie",ffe="x-scalar-user-agent",hfe="x-scalar-date",pfe="x-scalar-dnt",mfe="x-scalar-referer",Hi={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:new RegExp("(?<!:)\\/{2,}","g"),VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/};function gfe(e,t){const n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,a=(i,o)=>{var s;return typeof t=="function"?t(o):((s=t[o])==null?void 0:s.toString())||`{${o}}`};return e.replace(n,a).replace(r,a)}const G2=(e,t={})=>e.replace(Hi.PATH,(n,r)=>t[r]??n),la=(e,t={})=>e.replace(Hi.VARIABLES,(n,r)=>typeof t=="function"?t(r)??n:t[r]??n),K2=e=>({ok:!0,data:e}),rd=(e,t)=>({ok:!1,error:e,message:t}),DT=e=>e instanceof Error?e.message:String(e);function J2(e){try{const t=e();return t instanceof Promise?t.then(n=>K2(n),n=>(console.error(n),rd(DT(n)))):K2(t)}catch(t){return console.error(t),rd(DT(t))}}const bfe=["localhost","127.0.0.1","[::1]","0.0.0.0"],yfe=["test","example","invali
8d","localhost"];function uh(e){try{const{hostname:t}=new URL(e);if(bfe.includes(t))return!0;const n=t.split(".").pop();return!!(n&&yfe.includes(n))}catch{return!0}}const Fc=e=>!(Hi.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e)),lv=(e,t)=>{try{if(!e||!cv(e,t))return t??"";const n=new URL(t),r=Fc(e)?`http://localhost${e}`:e;return n.href=r,n.searchParams.append("scalar_url",t),Fc(e)?n.toString().replace(/^http:\/\/localhost/,""):n.toString()}catch{return t??""}},cv=(e,t)=>{try{return!e||!t||Fc(t)?!1:Fc(e)||uh(e)?!0:!uh(t)}catch{return!1}},kM="3.9.3",vfe=kM,BT=typeof TextDecoder=="function"?new TextDecoder("utf-8",{ignoreBOM:!0}):void 0,UT=typeof TextEncoder=="function"?new TextEncoder:void 0,Ofe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Kp=Array.prototype.slice.call(Ofe),D1=(e=>{let t={};return e.forEach((n,r)=>t[n]=r),t})(Kp),Sfe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Na=String.fromCharCode.bind(String),wfe=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),AM=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),TM=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),EM=e=>{let t,n,r,a,i="";const o=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|a,i+=Kp[t>>18&63]+Kp[t>>12&63]+Kp[t>>6&63]+Kp[t&63]}return o?i.slice(0,o-3)+"===".substring(o):i},C6=typeof btoa=="function"?e=>btoa(e):EM,$w=typeof Uint8Array.prototype.toBase64=="function"?e=>e.toBase64():e=>{let n=[];for(let r=0,a=e.length;r<a;r+=4096)n.push(Na.apply(null,e.subarray(r,r+4096)));return C6(n.join(""))},Lf=(e,t=!1)=>t?AM($w(e)):$w(e),xfe=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Na(192|t>>>6)+Na(128|t&63):Na(224|t>>>12&15)+Na(128|t>>>6&63)+Na(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Na(240|t>>>18&7)+Na(128|t>>>12&63)+Na(128|t>>>6&63)+Na(128|t&63)}},kfe=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,_M=e=>e.replace(kfe,xfe),jT=UT?e=>$w(UT.encode(e)):e=>C6(_M(e)),uo=(e,t=!1)=>t?AM(jT(e)):jT(e),FT=e=>uo(e,!0),Afe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Tfe=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Na((n>>>10)+55296)+Na((n&1023)+56320);case 3:return Na((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Na((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},CM=e=>e.replace(Afe,Tfe),$M=e=>{if(e=e.replace(/\s+/g,""),!Sfe.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));let t,n,r,a=[];for(let i=0;i<e.length;)t=D1[e.charAt(i++)]<<18|D1[e.charAt(i++)]<<12|(n=D1[e.charAt(i++)])<<6|(r=D1[e.charAt(i++)]),n===64?a.push(Na(t>>16&255)):r===64?a.push(Na(t>>16&255,t>>8&255)):a.push(Na(t>>16&255,t>>8&255,t&255));return a.join("")},$6=typeof atob=="function"?e=>atob(TM(e)):$M,PM=typeof Uint8Array.fromBase64=="function"?e=>Uint8Array.fromBase64(e):e=>wfe($6(e).split("").map(t=>t.charCodeAt(0))),IM=e=>PM(RM(e)),Efe=BT?e=>BT.decode(PM(e)):e=>CM($6(e)),RM=e=>TM(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),Pw=e=>Efe(RM(e)),_fe=e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},NM=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),MM=function(){const e=(t,n)=>Object.defineProperty(String.prototype,t,NM(n));e("fromBase64",function(){return Pw(this)}),e("toBase64",function(t){return uo(this,t)}),e("toBase64URI",function(){return uo(this,!0)}),e("toBase64URL",function(){return uo(this,!0)}),e("toUint8Array",function(){return IM(this)})},LM=function(){const e=(t,n)=>Object.defineProperty(Uint8Array.prototype,t,NM(n));e("toBase64",function(t){return Lf(this,t)}),e("toBase64URI",function(){return Lf(this,!0)}),e("toBase64URL",function(){return Lf(this,!0)})},Cfe=()=>{MM(),LM()},DM={version:kM,VERSION:vfe,atob:$6,atobPolyfill:$M,btoa:C6,btoaPolyfill:EM,fromBase64:Pw,toBase64:uo,encode:uo,encodeURI:FT,encodeURL:FT,utob:_M,btou:CM,decode:Pw,isValid:_fe,fromUint8Array:Lf,toUint8Array:IM,extendString:MM,extendUint8Array:LM,extendBuiltins:Cfe},QT=e=>e.replace(/\r\n|\r|\n/g,`\r 9`).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22"),$fe=e=>{const t=crypto.getRandomValues(new Uint8Array(24)),n=`----scalar-${Array.from(t,a=>a.toString(16).padStart(2,"0")).join("")}`,r=e.flatMap(a=>{const i=a.type==="file"?a.value.name:a.type==="blob"?"blob":void 0,o=a.contentType??(a.type==="text"?void 0:a.value.type||"application/octet-stream");if(o&&/[\r\n\0]/.test(o))throw new Error("Invalid multipart content type");const s=`Content-Disposition: form-data; name="${QT(a.key)}"${i===void 0?"":`; filename="${QT(i)}"`}`,l=`--${n}\r 10${s}\r 11${o?`Content-Type: ${o}\r 12`:""}\r 13`,c=a.type==="text"&&!a.contentType?a.value.replace(/\r\n|\r|\n/g,`\r 14`):a.value;return[l,c,`\r 15`]});return new Blob([...r,`--${n}--\r 16`],{type:`multipart/form-data; boundary=${n}`})},Pfe=(e,t)=>
16{if(!e||!t)return!0;try{const n=e.startsWith("http")?e:`http://${e}`,r=new URL(n).hostname,a=!t,i=t===r,o=t.startsWith(".")&&t===`.${r}`,s=t.startsWith(".")&&(r==null?void 0:r.endsWith(t));return a||i||s||o}catch{return!1}},BM=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;const r=new URL(t,"https://example.com");return!(e.domain&&!Pfe(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},Ife="We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons.",Rfe=`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work: 17 18 - The browser URL must be on the same domain as the server URL. 19 - The connection must be made over HTTPS. 20 `,Nfe=(e,t)=>{const n=e.map(r=>`${r.name}=${r.value}`).join("; ");return t&&n?`${t}; ${n}`:t||n||""},Mfe=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{const a=Nfe(e.filter(i=>BM({url:n,cookie:i,disabledGlobalCookies:{}})),t??void 0);return a?r?(console.warn(Ife),{name:dfe,value:a}):(console.warn(Rfe),{name:"Cookie",value:a}):null},Lfe={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},Dfe=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(t,n)=>Lfe[n.toUpperCase()]??t),Bfe=e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}},UM=(e,t)=>{if(t.size===0)return e;const n=e.indexOf("?");if(n===-1)return e;const r=e.indexOf("#",n),a=e.slice(0,n+1),i=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?"":e.slice(r);if(!i)return e;const s=i.split("&").map(l=>{if(!l)return l;const c=l.indexOf("="),u=c===-1?l:l.slice(0,c),d=Bfe(u);if(!t.has(d)||c===-1)return l;const f=l.slice(c+1);return`${u}=${Dfe(f)}`}).join("&");return`${a}${s}${o}`};function Ufe(e){return Hi.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`}const jM=(...e)=>{const t={};e.forEach(r=>{const a=Array.from(r.keys());
20new Set(a).forEach(o=>{const s=r.getAll(o),l=s.length>1?s:s[0]??"";t[o]=l})});const n=new URLSearchParams;return Object.entries(t).forEach(([r,a])=>{Array.isArray(a)?a.forEach(i=>n.append(r,i)):n.append(r,a)}),n},Mc=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(Hi.MULTIPLE_SLASHES,"/"):t.trim(),qm=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!Fc(e)||typeof window<"u")){const a=r?e:Fc(e)?Mc(window.location.origin,e):Ufe(e),[i="",o]=a.split("?"),s=new URLSearchParams(o||""),[l="",c]=t.split("?"),u=new URLSearchParams(c||""),d=e===t?i:Mc(i,l),h=jM(s,u,n).toString();return h?`${d}?${h}`:d}return t?Mc(e,t):""},jfe="MISSING_REQUEST_SERVER_BASE",zT="INVALID_REQUEST_FACTORY_URL",Ffe="No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.",FM=(e,t)=>{var m,g;const n=t.envVariables,r=J2(()=>Object.fromEntries(Object.entries(e.path.variables).map(([v,k])=>[v,encodeURIComponent(la(k,n))])));if(!r.ok)return rd(zT,"The request URL contains invalid characters in path parameters.");const a=r.data,i=la(e.baseUrl,n),o=la(e.path.raw,n),s=G2(o,a),l=qm(i,s);if(!t.allowMissingRequestServerBase&&Fc(l))return rd(jfe,Ffe);const c=(g=(m=globalThis.window)==null?void 0:m.location)==null?void 0:g.origin,u=c&&c!=="null"?c:"http://localhost:3000",d=J2(()=>new URL(l,u));if(!d.ok)return rd(zT,"The request URL could not be parsed. Check the server URL and path for invalid characters.");const f=d.data,h=new URLSearchParams;for(const[v,k]of e.query.entries())h.append(la(v,n),la(k,n));const p=new URLSearchParams;for(const[v,k]of t.securityQueryParams.entries())p.append(v,k);return f.search=jM(f.searchParams,h,p).toString(),K2(f.toString())},HT=["9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","f47ac10b-58cc-4372-a567-0e02b2c3d479","1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed","6ba7b810-9dad-11d1-80b4-00c04fd430c8","a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11","3fa85f64-5717-4562-b3fc-2c963f66afa6","550e8400-e29b-41d4-a716-446655440000","c56a4180-65aa-42ec-a945-5fd21dec0538","7c9e6679-7425-40de-944b-e07fc1f90ae7","e4eaaaf2-d142-11e1-b3e4-080027620cdd","aab5d5fd-70c1-11e5-a4fb-b026b977eb28","2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d","d9428888-122b-11e1-b85c-61cd3cbed5a2","fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7","01234567-89ab-cdef-0123-456789abcdef"],eb="abcdefghijklmnopqrstuvwxyz0123456789",VT=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],Qfe=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],zfe=["192.168.1.42","10.0.0.134","172.16.254.1","203.0.113.50","198.51.100.23","100.24.56.78","54.239.28.85","13.107.42.14","151.101.1.140","216.58.214.206","93.184.216.34","104.16.249.249","172.217.14.206","185.199.108.153","140.82.121.4"],Hfe=["2001:0db8:85a3:0000:0000:8a2e:0370:7334","fe80:0000:0000:0000:0202:b3ff:fe1e:8329","2607:f8b0:4004:0800:0000:0000:0000:200e","2001:4860:4860:0000:0000:0000:0000:8888","2a03:2880:f10c:0083:face:b00c:0000:25de","fd12:3456:789a:1000:0000:0000:0000:0001","2600:1f18:2489:8200:a953:2c7b:e7e0:d12f","2001:0db8:0000:0042:0000:8a2e:0370:7334","fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92","2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001"],Vfe=["00:1A:2B:3C:4D:5E","A4:83:E7:2D:6B:9F","48:2C:6A:1E:59:3D","00:50:56:C0:00:08","D4:BE:D9:19:6F:F2","3C:22:FB:4A:88:C1","08:00:27:5B:8E:A4","F0:18:98:43:65:DA","5C:CF:7F:2B:1D:E3","00:0C:29:3E:71:BC","1C:6F:65:A2:8D:49","B8:27:EB:63:4F:78"],qfe=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],Zfe=["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15","Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0","Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36","Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"],Xfe=["http","https"],Wfe=["1.0.0","2.3.1","0.9.4","3.12.0","1.5.7","4.0.0-beta.
201","0.1.0","2.0.3","1.2.0","5.4.2","3.1.0","0.8.12","2.7.5","1.14.0","6.0.0"],qT=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],ZT=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],Yfe=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],Gfe=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],Kfe=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],Jfe=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],ehe=["Software Engineer","Product Manager","Data Analyst","UX Designer","DevOps Engineer","Marketing Director","Sales Representative","Financial Analyst","Project Manager","QA Engineer","Technical Writer","System Administrator","Business Analyst","Account Executive","Operations Manager"],the=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],XT=["(555) 123-4567","(555) 987-6543","(555) 246-8135","(555) 369-2580","(555) 741-8520","(555) 852-9631","(555) 147-2583","(555) 963-8520","(555) 321-6540","(555) 654-9870","(555) 789-0123","(555) 234-5678","(555) 876-5432","(555) 468-1357","(555) 531-2468"],nhe=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","São Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],rhe=["Main Street","Oak Avenue","Park Boulevard","Cedar Lane","Elm Drive","Maple Court","Pine Road","Walnut Street","Birch Avenue","Cherry Lane","Willow Way","Spruce Circle","Aspen Drive","Hickory Place","Chestnut Road"],ahe=["123 Main Street","456 Oak Avenue","789 Park Boulevard","321 Cedar Lane","654 Elm Drive","987 Maple Court","147 Pine Road","258 Walnut Street","369 Birch Avenue","741 Cherry Lane","852 Willow Way","963 Spruce Circle","159 Aspen Drive","357 Hickory Place","486 Chestnut Road"],ihe=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],ohe=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],she=["40.7128","-33.8688","51.5074","35.6762","48.8566","-23.5505","19.4326","55.7558","1.3521","37.7749","52.3676","34.0522","41.9028","39.9042","25.2048"],lhe=["-74.0060","151.2093","-0.1278","139.6503","2.3522","-46.6333","-99.1332","37.6173","103.8198","-122.4194","4.9041","-118.2437","12.4964","116.4074","55.2708"],che=["https://avatars.githubusercontent.com/u/12345678","https://avatars.githubusercontent.com/u/23456789","https://avatars.githubusercontent.com/u/34567890","https://avatars.githubusercontent.com/u/45678901","https://avatars.githubusercontent.com/u/56789012","https://avatars.githubusercontent.com/u/67890123","https://avatars.githubusercontent.com/u/78901234","https://avatars.githubusercontent.com/u/89012345","https://avatars.githubusercontent.com/u/90123456","https://avatars.githubusercontent.com/u/10234567"],uhe=["https://picsum.photos/seed/scalar1/640/480","https://picsum.photos/seed/scalar2/640/480","https://picsum.photos/seed/scalar3/640/480","https://picsum.photos/seed/scalar4/640/480","https://picsum.photos/seed/scalar5/640/480","https://picsum.photos/seed/scalar6/640/480","https://picsum.photos/seed/scalar7/640/480","https://picsum.photos/seed/scalar8/640/480","https://picsum.photos/seed/scalar9/640/480","https://picsum.photos/seed/scalar10/640/480"],Zo="https://loremflickr.com/640/480",dhe=Array.from({length:10},(e,t)=>`${Zo}/abstract?lock=${t+1}`),fhe=Array.from({length:10},(e,t)=>`${Zo}/animals?lock=${t+1}`),hhe=Array.from({length:10},(e,t)=>`${Zo}/business?lock=${t+1}`),phe=Array.from({length:10},(e,t)=>`${Zo}/cat?lock=${t+1}`),mhe=Array.from({length:10},(e,t)=>`${Zo}/city?lock=${t+1}`),ghe=Array.from({length:10},(e,t)=>`${Zo}/food?lock=${t+1}`),bhe=Array.from({length:10},(e,t)=>`${Zo}/nightlife?lock=${t+1}`),yhe=Array.from({length:10},(e,t)=>`${Zo}/fashion?lock=${t+1}`),vhe=Array.from({length:10},(e,t)=>`${Zo}/people?lock=${t+1}`),Ohe=Array.from({length:10},(e,t)=>`${Zo}/nature?lock=${t+1}`),She=Array.from({length:10},(e,t)=>`${Zo}/sports?lock=${t+1}`),whe=Array.from({length:10},(e,t)=>`${Zo}/transport?lock=${t+1}`),xhe=["data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3
20E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E"],khe=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],Ahe=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],The=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],Ehe=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],_he=["deposit","withdrawal","payment","invoice","transfer"],Che=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],$he=["US Dollar","Euro","British Pound","Japanese Yen","Australian Dollar","Canadian Dollar","Swiss Franc","Chinese Yuan","Indian Rupee","Brazilian Real","Swedish Krona","Norwegian Krone","Danish Krone","Singapore Dollar","Hong Kong Dollar"],Phe=["$","â¬","£","Â¥","A$","C$","CHF","Â¥","â¹","R$"],Ihe=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],Rhe=["Acme Corp","Globex","Initech","Umbrella Industries","Stark Enterprises","Wayne Corp","Cyberdyne Systems","Tyrell Corp","Soylent Corp","Aperture Science","Massive Dynamic","Oscorp","Abstergo","Weyland-Yutani","Hooli"],Nhe=["Inc","LLC","Group","Ltd","PLC","Corp"],WT=["leverage agile frameworks","iterate revolutionary convergence","drive seamless solutions","enable viral e-services","synergize scalable supply-chains","harness real-time channels","orchestrate integrated experiences","deliver frictionless partnerships","transform dynamic mindshare","cultivate open-source communities"],Mhe=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],Lhe=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],Dhe=["frameworks","paradigms","synergies","platforms","infrastructures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],Bhe=["Adaptive zero defect data-warehouse","Automated scalable protocol","Business-focused zero defect hub","Cloned responsive flexibility","Cross-group background collaboration","De-engineered stable conglomeration","Distributed actuating throughput","Enhanced client-server capability","Face to face explicit superstructure","Front-line multimedia interface"],Uhe=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],jhe=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],Fhe=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],Qhe=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],zhe=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],Hhe=["utf8_general_ci","utf8mb4_unicode_ci","ascii_general_ci","latin1_swedis
20h_ci","utf8_unicode_ci","utf8mb4_general_ci","utf8_bin","latin1_general_ci","utf8mb4_bin","ascii_bin"],Vhe=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],qhe=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Zhe=["January","February","March","April","May","June","July","August","September","October","November","December"],Xhe=["example.com","test-site.org","my-app.io","dev-portal.net","api-hub.com","code-base.dev","data-flow.co","web-pulse.io","cloud-nest.org","tech-wave.net","open-source.dev","byte-craft.io","pixel-lab.co","node-spark.com","vue-forge.dev"],Whe=["com","org","net","io","dev","co","info","app","me","xyz"],Yhe=["example","test-site","my-app","dev-portal","api-hub","code-base","data-flow","web-pulse","cloud-nest","tech-wave","open-source","byte-craft","pixel-lab","node-spark","vue-forge"],Ghe=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],Khe=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],Jhe=["emma_dev42","liam.codes","olivia_tech","noah_builds","ava.hacks","james_ops","sophia_data","oliver.api","isa_design","lucas_vue","mia_cloud","ethan.stack","char_pixel","mason_byte","amelia_net"],epe=["https://example.com","https://test-site.org","https://my-app.io","https://dev-portal.net","https://api-hub.com","https://code-base.dev","https://data-flow.co","https://web-pulse.io","https://cloud-nest.org","https://tech-wave.net","https://open-source.dev","https://byte-craft.io"],tpe=["report.pdf","data.csv","image.png","backup.tar.gz","readme.md","config.yml","schema.json","styles.css","app.tsx","index.html","notes.txt","archive.zip","log.xml","script.sh","database.sql"],npe=["application","text","image","audio","video","font","model","multipart","message","chemical"],rpe=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],ape=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],ipe=["text","application","image","audio","video"],ope=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],spe=["/home/user/documents/report.pdf","/var/log/app/server.log","/tmp/upload/image.png","/opt/data/backup.tar.gz","/home/user/projects/app/src/index.ts","/etc/config/settings.yml","/usr/local/bin/script.sh","/home/user/downloads/archive.zip","/var/www/html/index.html","/home/user/.config/app.json"],lpe=["/home/user/documents","/var/log/app","/tmp/uploads","/opt/data","/home/user/projects/app/src","/etc/config","/usr/local/bin","/home/user/downloads","/var/www/html","/home/user/.config"],cpe=["application/json","text/html","image/png","application/pdf","text/plain","image/jpeg","application/xml","text/css","application/javascript","image/svg+xml","application/zip","audio/mpeg","video/mp4","font/woff2","application/octet-stream"],upe=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],dpe=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],fpe=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],hpe=["Refined Cotton Chair","Sleek Steel Computer","Elegant Wooden Table","Practical Rubber Keyboard","Gorgeous Granite Mouse","Rustic Metal Bike","Handcrafted Silk Shirt","Incredible Bamboo Towels","Modern Leather Shoes","Ergonomic Plastic Phone","Fantastic Ceramic Soap","Licensed Bronze Hat","Intelligent Soft Gloves","Bespoke Cotton Pants","Recycled Steel Tuna"],ppe=["Ele
20ctronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],mpe=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],gpe=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],bpe=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],ype=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficient","responsive","concurrent","stateless","distributed"],YT=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],GT=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],FO=["Lorem ipsum dolor sit amet, consectetur adipiscing elit.","Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.","Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.","Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.","Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.","At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis."],QO=["Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."],vpe=["lorem-ipsum-dolor","sed-tempor-incididunt","amet-consectetur-adipiscing","eiusmod-labore-dolore","veniam-nostrud-exercitation","voluptate-velit-cillum","occaecat-cupidatat-proident","perspiciatis-omnis-natus","aspernatur-odit-fugit","dolorem-ipsum-amet"],Ce=e=>e[Math.floor(Math.random()*e.length)],Qc=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,Ope=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(""),Spe=e=>Array.from({length:e},()=>eb[Math.floor(Math.random()*eb.length)]).join(""),wpe=()=>{const e=Date.now()+Qc(1,365)*864e5;return new Date(e).toISOString()},xpe=()=>{const e=Date.now()-Qc(1,365)*864e5;return new Date(e).toISOString()},kpe=()=>{const e=Date.now()-Qc(1,3)*864e5;return new Date(e).toISOString()},KT=(e,t,n)=>{const r=Qc(t,n);return Array.from({length:r},()=>Ce(e)).join(" ")},zO=(e,t,n)=>{const r=Qc(t,n);return Array.from({length:r},()=>Ce(e)).join(" ")},Ape=(e,t,n)=>{const r=Qc(t,n);return Array.from({length:r},()=>Ce(e)).join(` 21`)},uv={$guid:{fn:()=>Ce(HT),comment:"A uuid-v4 style guid"},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:"The current UNIX timestamp in seconds"},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:"The current ISO timestamp at zero UTC"},$randomUUID:{fn:()=>Ce(HT),comment:"A random 36-character UUID"},$randomAlphaNumeric:{fn:()=>eb[Math.floor(Math.random()*eb.length)]??"a",comment:"A random alpha-numeric character"},$randomBoolean:{fn:()=>Math.random()<.5?"true":"false",comment:"A random boolean value"},$randomInt:{fn:()=>Qc(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>Ce(VT),comment:"A random color in hex format"},$randomHexColor:{fn:()=>Ce(VT),comment:"A random hex value"},$randomAbbreviation:{fn:()=>Ce(Qfe),comment:"A random abbreviation"},$randomIP:{fn:()=>Ce(zfe),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>Ce(Hfe),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>Ce(Vfe),comment:"A random MAC address"},$randomPassword:{fn:()=>Spe(15),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>Ce(qfe),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>
21Ce(Zfe),comment:"A random user agent"},$randomProtocol:{fn:()=>Ce(Xfe),comment:"A random internet protocol"},$randomSemver:{fn:()=>Ce(Wfe),comment:"A random semantic version number"},$randomFirstName:{fn:()=>Ce(qT),comment:"A random first name"},$randomLastName:{fn:()=>Ce(ZT),comment:"A random last name"},$randomFullName:{fn:()=>`${Ce(qT)} ${Ce(ZT)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>Ce(Yfe),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>Ce(Gfe),comment:"A random name suffix"},$randomJobArea:{fn:()=>Ce(Kfe),comment:"A random job area"},$randomJobDescriptor:{fn:()=>Ce(Jfe),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>Ce(ehe),comment:"A random job title"},$randomJobType:{fn:()=>Ce(the),comment:"A random job type"},$randomPhoneNumber:{fn:()=>Ce(XT),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${Qc(10,99)}-${Ce(XT)}`,comment:"A random phone number prefixed with a two-digit extension (10â99)"},$randomCity:{fn:()=>Ce(nhe),comment:"A random city name"},$randomStreetName:{fn:()=>Ce(rhe),comment:"A random street name"},$randomStreetAddress:{fn:()=>Ce(ahe),comment:"A random street address"},$randomCountry:{fn:()=>Ce(ihe),comment:"A random country"},$randomCountryCode:{fn:()=>Ce(ohe),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>Ce(she),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>Ce(lhe),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>Ce(che),comment:"A random avatar image"},$randomImageUrl:{fn:()=>Ce(uhe),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>Ce(dhe),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>Ce(fhe),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>Ce(hhe),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>Ce(phe),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>Ce(mhe),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>Ce(ghe),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>Ce(bhe),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>Ce(yhe),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>Ce(vhe),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>Ce(Ohe),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>Ce(She),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>Ce(whe),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>Ce(xhe),comment:"A random image data URI"},$randomBankAccount:{fn:()=>Ce(khe),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>Ce(Ahe),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${Ope(4)}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>Ce(The),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>Ce(Ehe),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>Ce(_he),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>Ce(Che),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>Ce($he),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>Ce(Phe),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>Ce(Ihe),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>Ce(Rhe),comment:"A random company name"},$randomCompanySuffix:{fn:()=>Ce(Nhe),comment:"A random company suffix"},$randomBs:{fn:()=>Ce(WT),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>Ce(Mhe),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>Ce(Lhe),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>Ce(Dhe),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>Ce(Bhe),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>Ce(Uhe),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>Ce(jhe),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>Ce(Fhe),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>Ce(Qhe),comment:"A random database column name"},$randomDatabaseType:{fn:()=>Ce(zhe),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>Ce(Hhe),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>Ce(Vhe),comment:"A random database engine"},$randomDateFuture:{fn:wpe,comment:"A random future datetime"},$randomDatePast:{fn:xpe,comment:"A random past datetime"},$randomDateRecent:{fn:kpe,comment:"A random recent datetime"},$randomWeekday:{fn:()=>Ce(qhe),comment:"A random weekday"},$randomMonth:{fn:()=>Ce(Zhe),comment:"A random month"},$randomDomainName:{fn:()=>Ce(Xhe),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>Ce(Whe),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>Ce(Yhe),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>Ce(Ghe),comment:"A random email address"},$randomExampleEmail:{fn:()=>Ce(Khe),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>Ce(Jhe),comment:"A random username"},$randomUrl:{fn:()=>Ce(epe),comment:"A random URL"},$randomFileName:{fn:()=>Ce(tpe),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>Ce(npe),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>Ce(rpe),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>Ce(ape),comment:"A random file name"},$randomCommonFileType:{fn:()=>Ce(ipe),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>Ce(ope),comment:"A random, common file extension"},$randomFilePath:{fn:()=>Ce(spe),comment:"A random file path"},$randomDirectoryPath:{fn:()=>Ce(lpe),comment:"A random directory path"},$randomMimeType:{fn:()=>Ce(cpe),comment:"A random MIME type"}
21,$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>Ce(upe),comment:"A random product"},$randomProductAdjective:{fn:()=>Ce(dpe),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>Ce(fpe),comment:"A random product material"},$randomProductName:{fn:()=>Ce(hpe),comment:"A random product name"},$randomDepartment:{fn:()=>Ce(ppe),comment:"A random commerce department"},$randomNoun:{fn:()=>Ce(mpe),comment:"A random noun"},$randomVerb:{fn:()=>Ce(gpe),comment:"A random verb"},$randomIngverb:{fn:()=>Ce(bpe),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>Ce(ype),comment:"A random adjective"},$randomWord:{fn:()=>Ce(YT),comment:"A random word"},$randomWords:{fn:()=>KT(YT,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>Ce(WT),comment:"A random phrase"},$randomLoremWord:{fn:()=>Ce(GT),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>KT(GT,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>Ce(FO),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>zO(FO,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>Ce(QO),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>zO(QO,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>zO(QO,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>Ce(vpe),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>Ape(FO,1,5),comment:"1 to 5 random lines of lorem ipsum"}},P6=e=>uv[e].comment,Tpe=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],Epe=Object.keys(uv),I6=e=>Object.hasOwn(uv,e),_pe=[{header:"date",scalarHeader:hfe},{header:"dnt",scalarHeader:pfe},{header:"referer",scalarHeader:mfe},{header:"user-agent",scalarHeader:ffe}],QM=(e,t)=>{const n=la(e.value,t);return e.format==="basic"?`Basic ${uo(n)}`:e.format==="bearer"?`Bearer ${n}`:n},zM=e=>t=>I6(t)?uv[t].fn()??null:e[t]??null,p4t=(e,t,n)=>{var o;const r=zM(t),a=new URLSearchParams;(o=e.options)!=null&&o.disableSecurity||e.security.forEach(s=>{if(s.in!=="query")return;const l=la(s.name,r);a.append(l,QM(s,r))});const i=FM(e,{envVariables:r,securityQueryParams:a,allowMissingRequestServerBase:!0});if(!i.ok)throw new Error(i.message??i.error);return UM(i.data,e.allowedReservedQueryParameters??new Set)},Cpe="BUILD_REQUEST_FAILED",$pe=(e,t)=>{const n=J2(()=>Ppe(e,t));return n.ok?n.data:rd(Cpe,n.error)},Ppe=(e,t)=>{var m,g,v;const n=zM(t.envVariables),r=new AbortController,a=(()=>{const k=new Headers;return e.headers.forEach((S,A)=>{k.set(la(A,n),la(S,n))}),k})(),i=(()=>{var k,S,A;if(((k=e.body)==null?void 0:k.mode)==="raw")return typeof e.body.value=="string"?la(e.body.value,n):e.body.value;if(((S=e.body)==null?void 0:S.mode)==="formdata"){const _=e.body.value.map(R=>({...R,key:la(R.key,n)})).map(R=>R.type==="text"?{...R,value:la(R.value,n)}:R);if(e.body.value.some(R=>R.type==="text"&&R.contentType)){const R=$fe(_);return a.set("content-type",R.type),R}const C=new FormData;return _.forEach(R=>C.append(R.key,R.value)),C}return((A=e.body)==null?void 0:A.mode)==="urlencoded"?new URLSearchParams(e.body.value.map(E=>[la(E.key,n),la(E.value,n)])):null})(),o=new URLSearchParams,s=[];(m=e.options)!=null&&m.disableSecurity||e.security.forEach(k=>{const S=la(k.name,n),A=QM(k,n);if(k.in==="header"){a.append(S,A);return}if(k.in==="query"){o.append(S,A);return}k.in==="cookie"&&s.push({name:S,value:A,isDisabled:!1})});const l=FM(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!l.ok)return rd(l.error,l.message);const c=l.data,u=cv(e.proxyUrl,c),d=[...e.cookies,...s].map(k=>({...k,name:la(k.name,n),value:la(k.value,n)})),f=Mfe({cookies:d,originalCookieHeader:a.get("cookie"),url:c,useCustomCookieHeader:(u||((g=e.options)==null?void 0:g.isElectron))??!1});f&&a.set(f.name,f.value),(u||(v=e.options)!=null&&v.isElectron)&&_pe.forEach(({header:k,scalarHeader:S})=>{const A=a.get(k);A&&(a.set(S,A),a.delete(k))});const h=UM(c,e.allowedReservedQueryParameters??new Set),p=u?lv(e.proxyUrl,h):h;return K2({requestPayload:[p,{method:e.method.toUpperCase(),headers:a,body:i,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},Ipe=(e,t)=>"content"in t?Rpe(e,Object.keys(t.content??{})[0]??""):"schema"in t?Mpe(e,t.schema):e,Rpe=(e,t)=>{if(typeof e=="string"&&t.includes("json"))try{return JSON.parse(e)}catch{return e}return e},Npe=new Set(["array","object"]),HM=e=>{const t=Se(e);if(Ht(t)){if("type"in t&&t.type){const n=Array.isArray(t.type)?t.type.find(r=>Npe.has(r)):t.type;if(n==="array"||n==="object")return n}for(const n of["anyOf","oneOf","allOf"]){const r=t[n];if(Array.isArray(r))for(const a of r){const i=HM(a);if(i)return i}}}},Mpe=(e,t)=>{if(typeof e=="string"){const n=HM(t);if(n){try{const r=JSON.parse(e);if(n!=="array"||Array.isArray(r))return r;if(typeof r=="string")return[r]}catch{}if(n==="array")return e.split(/,\s?/).filter(r=>r!=="")}}return e},VM=(e,t,n=!0)=>{const r=t==null?void 0:t["x-disabled"];return typeof r=="boolean"?r:n?!e.required&&e.in!=="path":!1},Zm=e=>e.variables.reduce((t,n)=>(t[n.name]=typeof n.value=="string"?n.value:n.value.default,t),{}),Ui=e=>Object.entries(e),Lpe=e=>e?Ui((e==null?void 0:e.variables)??{}).reduce((t,[n,r])=>(r.default&&(t[n]=r.default),t),{}):{},qM=()=>typeof window<"u"&&"electron"in window,Dpe=new Set(["post","put","patch","delete","query"]),ZM=(e,t=!1)=>{const n=e.toLowerCase();
21return qM()&&!t?!0:Dpe.has(n)},Bpe=(e,t)=>new Request(e,{...t,body:ZM(t.method??"GET",!0)?t.body:null}),Upe="*/*",jpe={accept:"Accept","content-type":"Content-Type","user-agent":"User-Agent"},Fpe=e=>jpe[e.toLowerCase()]??e,Qpe=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[Fpe(t),n])),zpe=(e,t)=>{var r;const n=new Set;for(const a of e.parameters??[]){const i=Se(a);if(!i||i.in!=="header")continue;const o="examples"in i&&((r=i.examples)!=null&&r[t])?i.examples[t]:void 0,s=o?Se(o):void 0;VM(i,s)||n.add(i.name.toLowerCase())}return n},XM=(e,t,n,r)=>{var o,s;const a=r.hideOverriddenHeaders?zpe(e,t):null,i=r.hideDisabledHeaders?((s=(o=e["x-scalar-disable-parameters"])==null?void 0:o["default-headers"])==null?void 0:s[t])??{}:null;return Object.fromEntries(Object.entries(n).filter(([l])=>{const c=l.toLowerCase();return!(a!=null&&a.has(c)||i&&i[c]===!0)}))},m4t=(e,t,n)=>XM(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),Hpe=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:a=!1,options:i={isElectron:!1,appVersion:"0.0.0"}})=>{var f;const o=new Headers,s=Se(t.requestBody);if(ZM(e)&&s){const h=((f=s["x-scalar-selected-content-type"])==null?void 0:f[n])??Object.keys(s.content??{})[0];h&&h!=="none"&&h!=="other"&&o.set("Content-Type",h)}const l=Object.keys(t.responses??{}).find(h=>h.startsWith("2")),c=l?Se(t.responses[l]):null,u=Object.keys((c==null?void 0:c.content)??{}).join(", ")||Upe;o.set("Accept",u),i.isElectron&&i.appVersion&&o.set("User-Agent",`Scalar/${i.appVersion}`);const d=Object.fromEntries(o.entries());return a||r?XM(t,n,d,{hideOverriddenHeaders:a,hideDisabledHeaders:r}):d},WM=new Set(["__proto__","prototype","constructor"]),Hu=(e,t)=>{if(WM.has(e)){const n=`Prototype pollution key detected: "${e}"`;throw new Error(n)}},dv=e=>WM.has(e),Vpe=["userPassword","plain","scramSha256","scramSha512"],qpe=e=>Vpe.some(t=>t===e),Zpe=["symmetricEncryption","asymmetricEncryption"],Xpe=e=>Zpe.some(t=>t===e),ti=e=>We(e)&&"openapi"in e&&typeof e.openapi=="string",Bo=e=>We(e)&&"asyncapi"in e&&typeof e.asyncapi=="string",YM=e=>{if(ti(e))return"openapi";if(Bo(e))return"asyncapi"},GM=e=>e==="asyncapi"?"AsyncAPI":"OpenAPI",Wpe=(e,t)=>{var i,o;if(e===null)return{name:null,environment:co(n2,{})};const n=e.workspace["x-scalar-active-environment"];if(!n)return{name:null,environment:co(n2,{})};const r=((i=e.workspace["x-scalar-environments"])==null?void 0:i[n])??{variables:[]},a=(ti(t)?(o=t["x-scalar-environments"])==null?void 0:o[n]:void 0)??{variables:[]};return{name:n,environment:co(n2,{...r,...a,variables:[...r.variables,...a.variables]})}},Ype=pce,R6=e=>e&&typeof e=="string"?Ype.has(e.toLowerCase()):!1,Iw=10,Gpe=e=>Ht(e)&&Object.hasOwn(e,"$ref-value"),dh=e=>{if(!e||typeof e!="object")return;let t=Se(e,mr);for(let n=1;Gpe(t);n++){if(n>=Iw){const{"$ref-value":r,...a}=t;return console.warn(`Stopped resolving "${t.$ref}" after ${Iw} hops. 22 23This reference most likely points at itself, directly or through another reference.`),a}t=Se(t,mr)}return t},JT=(e,t)=>{const n=dh(e);if(n)return n[t]},g4t=(e,t,n)=>{if(!(!e||typeof e!="object")){if("$ref"in e&&"$ref-value"in e){const r=e["$ref-value"];if(r){r[t]=n;return}}e[t]=n}},Kpe=e=>{const t=[];let n=e;for(;Ht(n)&&!t.includes(n)&&t.length<Iw&&(t.push(n),!(!("$ref"in n)||!("$ref-value"in n)));)n=n["$ref-value"];return t},b4t=(e,t)=>{if(!(!e||typeof e!="object"))for(const n of Kpe(e))delete n[t]},KM=(e,t)=>{const n=dh(e);if(n)for(const[r,a]of Object.entries(n))!R6(r)||a===void 0||t(r,a)},y4t=e=>{const t=dh(e);return!t||Object.keys(t).length===0},JM=(e=[],t=[])=>{const n=t.flatMap(i=>{const o=Se(i);return o?`${o.in}:${o.name}`:[]}),r=new Set(n);return[...e.filter(i=>{const o=Se(i);return o?!r.has(`${o.in}:${o.name}`):!1}),...t]},Jpe=(e,t)=>JSON.stringify(t)==="[{}]"&&(e!=null&&e.length)?!!e.find(r=>JSON.stringify(r)==="{}")?e:[...e,{}]:t??e??[],Nd=e=>Object.keys(e),HO=(e,t)=>Nd(t).flatMap(n=>{const r=Se(e==null?void 0:e[n]);return r||[]}),eL=e=>{const t=e.some(r=>Object.keys(r).length>1);return e.some(r=>Object.keys(r).length===0)&&!t},VO=e=>!e||e.type!=="oauth2"?[]:e["x-default-scopes"]??[],eme=(e,t)=>
23Object.fromEntries(Object.entries(e).map(([n,r])=>{if(Array.isArray(r)&&r.length>0)return[n,[...r]];const a=Se(t[n]),i=(a==null?void 0:a.type)==="oauth2"?a["x-default-scopes"]:void 0;return Array.isArray(i)&&i.length>0?[n,[...i]]:[n,Array.isArray(r)?[...r]:r]})),tme=(e,t)=>{if(!Array.isArray(e)){const r=Se(t[e]);return{[e]:VO(r)}}const n={};for(const r of e)if(Array.isArray(r))for(const a of r){const i=Se(t[a]);n[a]=VO(i)}else{const a=Se(t[r]);n[r]=VO(a)}return n},tL=(e,t,n=[],r={},a)=>{if(t)return t;if(e)return e;if(eL(n)&&!a)return{selectedIndex:-1,selectedSchemes:[]};if(a)return{selectedIndex:0,selectedSchemes:[tme(a,r)]};const o=n[0];return o?{selectedIndex:0,selectedSchemes:[eme(o,r)]}:{selectedIndex:-1,selectedSchemes:[]}},Mr=(e,t=new WeakMap)=>{if(typeof e!="object"||e===null)return e;if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=Mr(e[r],t)}),n},tb=(e,t,n=!1,r=new Set)=>{for(const a in t)if(!(a in e))e[a]=t[a];else{const i=e[a],o=t[a],s=n&&(Array.isArray(i)||Array.isArray(o));if(Ht(i)&&Ht(o)&&!s){const l=zu(i),c=zu(o);if(r.has(l)||r.has(c))continue;r.add(l),r.add(c),tb(i,o,n,r)}else try{e[a]=o}catch(l){console.warn(`Issue setting ${a} on object`),console.warn(l)}}return e},eE={"x-scalar-secret-client-id":"x-scalar-client-id","x-scalar-secret-client-secret":"clientSecret","x-scalar-secret-password":"password","x-scalar-secret-redirect-uri":"x-scalar-redirect-uri","x-scalar-secret-token":"token","x-scalar-secret-username":"username","x-scalar-secret-auth-url":"authorizationUrl","x-scalar-secret-token-url":"tokenUrl"},B1=(e,t,n={},r)=>Object.fromEntries(e.map(a=>{const i=typeof n[a]=="string"?n[a]:void 0,o=typeof t[a]=="string"?t[a]:void 0,s=typeof t[eE[a]]=="string"?t[eE[a]]:void 0;return[a,a==="x-scalar-secret-redirect-uri"?i??o??s??r??"":i||o||s||""]})),U1=(e,t)=>{const n=t in e?Reflect.get(e,t):void 0;return typeof n=="string"?n:""},j1=(e={})=>{const t=e["x-scalar-secret-refresh-token"];return typeof t=="string"?{"x-scalar-secret-refresh-token":t}:{}},qO=(e,t={})=>{const n=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return n?{"x-scalar-credentials-location":n}:{}},tE=(e,t,n)=>{const r=new Set;return{flows:Ui(e??{}).reduce((i,[o,s])=>{if(!We(s))return i;const l=s.selectedScopes;return Array.isArray(l)&&l.forEach(c=>typeof c=="string"&&r.add(c)),o==="implicit"&&(i.implicit={...s,...B1(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],s,t==null?void 0:t.implicit,n),...j1(t==null?void 0:t.implicit)}),o==="password"&&(i[o]={...s,...B1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-username","x-scalar-secret-password","x-scalar-secret-token","x-scalar-secret-token-url"],s,t==null?void 0:t.password),...qO(s,t==null?void 0:t.password),...j1(t==null?void 0:t.password)}),o==="clientCredentials"&&(i[o]={...s,...B1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],s,t==null?void 0:t.clientCredentials),...qO(s,t==null?void 0:t.clientCredentials),...j1(t==null?void 0:t.clientCredentials)}),o==="authorizationCode"&&(i[o]={...s,...B1(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url","x-scalar-secret-token-url"],s,t==null?void 0:t.authorizationCode,n),...qO(s,t==null?void 0:t.authorizationCode),...j1(t==null?void 0:t.authorizationCode)}),i},{}),selectedScopes:Array.from(r)}},ZO=(e,t,n,r,a)=>{const i=t.getAuthSecrets(r,n);if(e.type==="apiKey"){const o=(i==null?void 0:i.type)==="apiKey"?i:void 0;return{...e,"x-scalar-secret-token":(o==null?void 0:o["x-scalar-secret-token"])||U1(e,"x-scalar-secret-token")||e.value||""}}if(e.type==="http"){const o=(i==null?void 0:i.type)==="http"?i:void 0;return{...e,"x-scalar-secret-token":(o==null?void 0:o["x-scalar-secret-token"])||U1(e,"x-scalar-secret-token")||e.token||"","x-scalar-secret-username":(o==null?void 0:o["x-scalar-secret-username"])||U1(e,"x-scalar-secret-username")||e.username||"","x-scalar-secret-password":(o==null?void 0:o["x-scalar-secret-password"])||U1(e,"x-scalar-secret-password")||e.password||""}}if(e.type==="oauth2"){const o=(i==null?void 0:i.type)==="oauth2"?i:void 0,s=tE(e.flows,o,a),l=Array.isArray(e["x-default-scopes"])?e["x-default-scopes"].filter(u=>typeof u=="string"):[],c=Array.from(new Set([...l,...s.selectedScopes]));return{...e,flows:s.flows,"x-default-scopes":c}}if(e.type==="openIdConnect"){const o=(i==null?void 0:i.type)==="openIdConnect"?i:void 0,s=tE({implicit:o==null?void 0:o.implicit,password:o==null?void 0:o.password,clientCredentials:o==null?void 0:o.clientCredentials,authorizationCode:o==null?void 0:o.authorizationCode},o,a);return{...e,...Ui(s.flows).length?{flows:s.flows}:{}}}if(e.type==="userPassword"||e.type==="plain"||e.type==="scramSha256"||e.type==="scramSha512"){const o=(i==null?void 0:i.type)===e.type?i:void 0;return{...e,type:e.type,"x-scalar-secret-username":(o==null?void 0:o["x-scalar-secret-username"])||e.username||"","x-scalar-secret-password":(o==null?void 0:o["x-scalar-secret-password"])||e.password||""}}if(e.type==="X509"){const o=(i==null?void 0:i.type)==="X509"?i:void 0;return{...e,type:e.type,"x-scalar-secret-client-certificate":(o==null?void 0:o["x-scalar-secret-client-certificate"])||"","x-scalar-secret-private-key":(o==null?void 0:o["x-scalar-secret-private-key"])||""}}if(e.type==="symmetricEncryption"||e.type==="asymmetricEncryption"){const o=(i==null?void 0:i.type)===e.type?i:void 0;return{...e,type:e.type,"x-scalar-secret-token":(o==null?void 0:o["x-scalar-secret-token"])||e.token||""}}if(e.type==="gssapi"){const o=(i==null?void 0:i.type)==="gssapi"?i:void 0;return{...e,type:e.type,"x-scalar-secret-service-name":(o==null?void 0:o["x-scalar-secret-service-name"])||""}}return e},nE=e=>{const t=Se(e);return t!==null&&typeof t=="object"&&"availableScopes"in t},nme=e=>{const t=Se(e);if(!t||typeof t!="object")return e;const n=Object.entries(t);return n.some(([,r])=>nE(r))?Object.fromEntries(n.map(([r,a])=>{if(!nE(a))return[r,a];const i=Se(a);if(!Ht(i))return[r,a];const{availableScopes:o,scopes:s,...l}=i;return[r,{...l,scopes:s??o??{}}]})):e},rme=e=>{if(!(e&&typeof e=="object"&&"type"in e))return e;if(e.type==="http"&&"scheme"in e&&typeof e.scheme=="string")return{...e,scheme:e.scheme.toLowerCase()};if(e.type==="httpApiKey")return{...e,type:"apiKey"};if(e.type==="oauth2"&&"flows"in e&&e.flows){const t=nme(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},ame=(e={},t={},n,r,a)=>{const i=Ui(e).reduce((s,[l,c])=>{const u=Mr(Se(c));return u&&(s[l]=u),s},{}),o=tb(i,t);return Ui(o).reduce((s,[l,c])=>
23{const u=rme(c),d=Ht(u)&&typeof u.type=="string"?u.type:void 0;if(qpe(d)||Xpe(d)||d==="X509"||d==="gssapi"){const p=co(O.Object({description:O.Optional(O.String()),username:O.Optional(O.String()),password:O.Optional(O.String()),token:O.Optional(O.String())}),u);return s[l]=ZO({...p,type:d},n,l,r,a),s}if(Ht(u)&&u.type==="apiKey"&&(u.in==="user"||u.in==="password")){const p=co(O.Object({description:O.Optional(O.String()),name:O.Optional(O.String()),value:O.Optional(O.String())}),u);return s[l]=ZO({...p,type:"apiKey",in:u.in},n,l,r,a),s}const f=co(Bde,u),h={...Ht(u)?u:{},...f};return s[l]=ZO(h,n,l,r,a),s},{})};function nL(e,t={}){return Array.isArray(e)?e.map(r=>lme(r,t)):[]}function ime(e){try{const t=new URL(e),n=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${n}`}catch{return}}function ome(){var e;if(!(typeof window>"u"||typeof((e=window==null?void 0:window.location)==null?void 0:e.origin)!="string"))return window.location.origin}function sme(e,t){const{baseServerUrl:n,documentUrl:r}=t;if(n)return Mc(n,e);if(r){const i=ime(r);if(i)return Mc(i,e)}const a=ome();return a?Mc(a,e):e}function lme(e,t){var n;return(n=e.url)!=null&&n.startsWith("/")&&(e.url=sme(e.url,t)),e}const cme=(e,t,n,r)=>{const a=ti(e)?e["x-scalar-selected-server"]:void 0,i=n!=null?a:(t==null?void 0:t["x-scalar-selected-server"])??a;return i==null?r[0]??null:r.find(({url:o})=>o===i)??null};function ume(e,t){var n,r;if(ti(e))return Se((r=(n=e.components)==null?void 0:n.schemas)==null?void 0:r[t]);if(Bo(e))return OR(e,t)}function rE(e){if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return""}}function dme(e){const t=Object.values(e.examples??{}).flatMap(r=>{const a=Se(r);return!a||!("value"in a)?[]:rE(a.value)}).filter(r=>r.length>0),n="example"in e&&e.example!==void 0?rE(e.example):"";return n?[n,...t]:t}function fme(e){return e?Object.values(e).flatMap(t=>{const n=Se(t);return n!=null&&n.content?Object.values(n.content).flatMap(r=>{const a=Se(r);return a?dme(a):[]}):[]}).filter(t=>t.length>0):[]}var hme={heading:"Heading",tagGroup:"Tag Group",webhooks:"Webhooks",introduction:"Introduction"};function pme(e,t){var o;const n=[],r=(t==null?void 0:t.modelsSectionLabel)??Mi,a=(t==null?void 0:t.labels)??hme;function i(s){s.forEach(l=>{mme(l,n,e,r,a),"children"in l&&l.children&&i(l.children)})}return i(((o=e==null?void 0:e["x-scalar-navigation"])==null?void 0:o.children)??[]),n}function mme(e,t,n,r,a){var o,s,l;const i=ti(n)?n:void 0;if(e.type==="operation"){const c=dh((o=i==null?void 0:i.paths)==null?void 0:o[e.path]),u=Se(JT((s=i==null?void 0:i.paths)==null?void 0:s[e.path],e.method))??{},d={...u,parameters:JM(c==null?void 0:c.parameters,u.parameters)},f=LK(d.parameters??[]),h=DK(d.parameters??[]),p=BK(d),m=UK(d),g=fme(d.responses);t.push({type:"operation",title:e.title,id:e.id,description:d.description||"",method:e.method,path:e.path,body:p,bodyDescriptions:m,parameters:f,parameterDescriptions:h,responseExamples:g,operationId:d.operationId,entry:e});return}if(e.type==="webhook"){const c=Se(JT((l=i==null?void 0:i.webhooks)==null?void 0:l[e.name],e.method))??{},u=c.description||"";t.push({id:e.id,type:"webhook",title:e.title,description:"Webhook",method:e.method,body:"",bodyDescriptions:u?[u]:[],operationId:c.operationId,entry:e});return}if(e.type==="model"){const c=ume(n,e.name),u=(c==null?void 0:c.description)??"",d=jK(c),f=FK(c);t.push({type:"model",title:e.title,description:r,id:e.id,body:d,bodyDescriptions:u?[u,...f]:f,entry:e});return}if(e.type==="models"){t.push({id:e.id,type:"heading",title:r,description:a.heading,body:"",entry:e});return}if(e.type==="tag"&&e.isWebhooks===!0){t.push({id:e.id,type:"heading",title:a.webhooks,description:a.heading,body:"",entry:e});return}if(e.type==="tag"&&e.isTagGroup!==!0){t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",body:"",entry:e});return}if(e.type==="tag"&&e.isTagGroup===!0){t.push({id:e.id,title:e.title,description:a.tagGroup,type:"tag",body:"",entry:e});return}if(e.type==="text"){t.push({id:e.id,type:"heading",title:mw(e)?a.introduction:e.title??"",description:a.heading,body:"",entry:e});return}}var aE=25;function gme(e,t=Mi,n={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"}){const r=$(()=>pme(Ve(e),{labels:Ve(n),modelsSectionLabel:Ve(t)??Mi})),a=$(()=>{const o=HJ();return o.setCollection(r.value),o}),i=J("");return{results:$(()=>i.value.length!==0?a.value.search(i.value,{limit:aE}):r.value.slice(0,aE).map((o,s)=>({item:o,refIndex:s}))),query:i}}const bme={get:{short:"GET",colorClass:"text-blue",colorVar:"var(--scalar-color-blue)",backgroundColor:"bg-blue/10"}
23,query:{short:"QUERY",colorClass:"text-query",colorVar:"var(--scalar-color-query)",backgroundColor:"bg-query/10"},post:{short:"POST",colorClass:"text-green",colorVar:"var(--scalar-color-green)",backgroundColor:"bg-green/10"},put:{short:"PUT",colorClass:"text-orange",colorVar:"var(--scalar-color-orange)",backgroundColor:"bg-orange/10"},patch:{short:"PATCH",colorClass:"text-yellow",colorVar:"var(--scalar-color-yellow)",backgroundColor:"bg-yellow/10"},delete:{short:"DEL",colorClass:"text-red",colorVar:"var(--scalar-color-red)",backgroundColor:"bg-red/10"},options:{short:"OPTS",colorClass:"text-purple",colorVar:"var(--scalar-color-purple)",backgroundColor:"bg-purple/10"},head:{short:"HEAD",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"},trace:{short:"TRACE",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"}},q0=e=>{const t=e.trim().toLowerCase();return bme[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}},F1="get",N6=e=>{if(typeof e!="string")return console.warn(`Request method is not a string. Using ${F1} as the default.`),F1;const t=e.trim().toLowerCase();return R6(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${F1} as the default.`),F1)};var yme=F({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){const t=e,n=$(()=>q0(String(t.method||""))),r=$(()=>N6(t.method));return(a,i)=>(y(),M(Wt(e.as??"span"),{class:"uppercase",style:Pr({[e.property||"color"]:n.value.colorVar})},{default:I(()=>[q(a.$slots,"default"),ae(" "+H(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),rL=yme,vme=new Set(["document","operation","example","tag","webhook"]),M6=(e,t,n)=>{var r,a;return n&&t.length===1&&((r=t[0])==null?void 0:r.type)==="example"&&((a=t[0])==null?void 0:a.name)==="default"?[]:e==="reference"?t:t.filter(i=>vme.has(i.type))};function aL(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=aL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function XO(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=aL(e))&&(r&&(r+=" "),r+=t);return r}const iE=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ome=e=>{const t=function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](XO(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(XO(i)):XO(i)};return{compose:function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(c=>{let[u]=c;return!["class","className"].includes(u)}));return t(i.map(c=>c(l)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:a=>i=>{var o;if((a==null?void 0:a.variants)==null)return t(a==null?void 0:a.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:l}=a,c=Object.keys(s).map(f=>{const h=i==null?void 0:i[f],p=l==null?void 0:l[f],m=iE(h)||iE(p);return s[f][m]}),u={...l,...i&&Object.entries(i).reduce((f,h)=>{let[p,m]=h;return typeof m>"u"?f:{...f,[p]:m}},{})},d=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((f,h)=>{let{class:p,className:m,...g}=h;return Object.entries(g).every(v=>{let[k,S]=v;const A=u[k];return Array.isArray(S)?S.includes(A):A===S})?[...f,p,m]:f},[]);return t(a==null?void 0:a.base,c,d,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},Sme=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},wme=(e,t)=>({classGroupId:e,validator:t}),iL=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),nb="-",oE=[],xme="arbitrary..",kme=e=>{const t=Tme(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Ame(o);const s=o.split(nb),l=s[0]===""&&s.length>1?1:0;return oL(s,l,t)},getConflictingClassGroupIds:(o,s)=>
vendor: 7,875 bytes, line 23
23{if(s){const l=r[o],c=n[o];return l?c?Sme(c,l):l:c||oE}return n[o]||oE}}},oL=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],i=n.nextPart.get(a);if(i){const c=oL(e,t+1,i);if(c)return c}const o=n.validators;if(o===null)return;const s=t===0?e.join(nb):e.slice(t).join(nb),l=o.length;for(let c=0;c<l;c++){const u=o[c];if(u.validator(s))return u.classGroupId}},Ame=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?xme+r:void 0})(),Tme=e=>{const{theme:t,classGroups:n}=e;return Eme(n,t)},Eme=(e,t)=>{const n=iL();for(const r in e){const a=e[r];L6(a,n,r,t)}return n},L6=(e,t,n,r)=>{const a=e.length;for(let i=0;i<a;i++){const o=e[i];_me(o,t,n,r)}},_me=(e,t,n,r)=>{if(typeof e=="string"){Cme(e,t,n);return}if(typeof e=="function"){$me(e,t,n,r);return}Pme(e,t,n,r)},Cme=(e,t,n)=>{const r=e===""?t:sL(t,e);r.classGroupId=n},$me=(e,t,n,r)=>{if(Ime(e)){L6(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(wme(n,e))},Pme=(e,t,n,r)=>{const a=Object.entries(e),i=a.length;for(let o=0;o<i;o++){const[s,l]=a[o];L6(l,sL(t,s),n,r)}},sL=(e,t)=>{let n=e;const r=t.split(nb),a=r.length;for(let i=0;i<a;i++){const o=r[i];let s=n.nextPart.get(o);s||(s=iL(),n.nextPart.set(o,s)),n=s}return n},Ime=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Rme=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(i,o)=>{n[i]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=r[i])!==void 0)return a(i,o),o},set(i,o){i in n?n[i]=o:a(i,o)}}},Rw="!",sE=":",Nme=[],lE=(e,t,n,r,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),Mme=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const i=[];let o=0,s=0,l=0,c;const u=a.length;for(let m=0;m<u;m++){const g=a[m];if(o===0&&s===0){if(g===sE){i.push(a.slice(l,m)),l=m+1;continue}if(g==="/"){c=m;continue}}g==="["?o++:g==="]"?o--:g==="("?s++:g===")"&&s--}const d=i.length===0?a:a.slice(l);let f=d,h=!1;d.endsWith(Rw)?(f=d.slice(0,-1),h=!0):d.startsWith(Rw)&&(f=d.slice(1),h=!0);const p=c&&c>l?c-l:void 0;return lE(i,h,f,p)};if(t){const a=t+sE,i=r;r=o=>o.startsWith(a)?i(o.slice(a.length)):lE(Nme,!1,o,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},Lme=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i<n.length;i++){const o=n[i],s=o[0]==="[",l=t.has(o);s||l?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(o)):a.push(o)}return a.length>0&&(a.sort(),r.push(...a)),r}},Dme=e=>({cache:Rme(e.cacheSize),parseClassName:Mme(e),sortModifiers:Lme(e),...kme(e)}),Bme=/\s+/,Ume=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],s=e.trim().split(Bme);let l="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:d,modifiers:f,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:m}=n(u);if(d){l=u+(l.length>0?" "+l:l);continue}let g=!!m,v=r(g?p.substring(0,m):p);if(!v){if(!g){l=u+(l.length>0?" "+l:l);continue}if(v=r(p),!v){l=u+(l.length>0?" "+l:l);continue}g=!1}const k=f.length===0?"":f.length===1?f[0]:i(f).join(":"),S=h?k+Rw:k,A=S+v;if(o.indexOf(A)>-1)continue;o.push(A);const E=a(v,g);for(let _=0;_<E.length;++_){const C=E[_];o.push(S+C)}l=u+(l.length>0?" "+l:l)}return l},jme=(...e)=>{let t=0,n,r,a="";for(;t<e.length;)(n=e[t++])&&(r=lL(n))&&(a&&(a+=" "),a+=r);return a},lL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=lL(e[r]))&&(n&&(n+=" "),n+=t);return n},cE=(e,...t)=>{let n,r,a,i;const o=l=>{const c=t.reduce((u,d)=>d(u),e());return n=Dme(c),r=n.cache.get,a=n.cache.set,i=s,s(l)},s=l=>{const c=r(l);if(c)return c;const u=Ume(l,n);return a(l,u),u};return i=o,(...l)=>i(jme(...l))},Fme=[],oa=e=>{const t=n=>n[e]||Fme;return t.isThemeGetter=!0,t},cL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,uL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qme=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,zme=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hme=/\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$/,Vme=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qme=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zme=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dc=e=>Qme.test(e),nn=e=>!!e&&!Number.isNaN(Number(e)),fc=e=>!!e&&Number.isInteger(Number(e)),WO=e=>e.endsWith("%")&&nn(e.slice(0,-1)),Al=e=>zme.test(e),dL=()=>!0,Xme=e=>Hme.test(e)&&!Vme.test(e),D6=()=>!1,Wme=e=>qme.test(e),Yme=e=>Zme.test(e),Gme=e=>!ft(e)&&!pt(e),Kme=e=>du(e,pL,D6),ft=e=>cL.test(e),Tu=e=>du(e,mL,Xme),uE=e=>du(e,o0e,nn),Jme=e=>du(e,bL,dL),e0e=e=>du(e,gL,D6),dE=e=>du(e,fL,D6),t0e=e=>du(e,hL,Yme),Q1=e=>du(e,yL,Wme),pt=e=>uL.test(e),$p=e=>Md(e,mL),n0e=e=>Md(e,gL),fE=e=>Md(e,fL),r0e=e=>Md(e,pL),a0e=e=>Md(e,hL),z1=e=>Md(e,yL,!0),i0e=e=>Md(e,bL,!0),du=(e,t,n)=>{const r=cL.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Md=(e,t,n=!1)=>{const r=uL.exec(e);return r?r[1]?t(r[1]):n:!1},fL=e=>e==="position"||e==="percentage",hL=e=>e==="image"||e==="url",pL=e=>e==="length"||e==="size"||e==="bg-size",mL=e=>e==="length",o0e=e=>e==="number",gL=e=>e==="family-name",bL=e=>e==="number"||e==="weight",yL=e=>e==="shadow",hE=()=>{const e=oa("color"),t=oa("font"),n=oa("text"),r=oa("font-weight"),a=oa("tracking"),i=oa("leading"),o=oa("breakpoint"),s=oa("container"),l=oa("spacing"),c=oa("radius"),u=oa("shadow"),d=oa("inset-shadow"),f=oa("text-shadow"),h=oa("drop-shadow"),p=oa("blur"),m=oa("perspective"),g=oa("aspect"),v=oa("ease"),k=oa("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...A(),pt,ft],_=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],R=()=>[pt,ft,l],B=()=>[dc,"full","auto",...R()],L=()=>[fc,"none","subgrid",pt,ft],V=()=>["auto",{span:["full",fc,pt,ft]},fc,pt,ft],Q=()=>[fc,"auto",pt,ft],ee=()=>["auto","min","max","fr",pt,ft],ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],re=()=>["auto",...R()],Y=()=>[dc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],ye=()=>[dc,"screen","full","dvw","lvw","svw","min","max","fit",...R()],Ee=()=>[dc,"screen","full","lh","dvh","lvh","svh","min","max","fit",...R()],j=()=>[e,pt,ft],xe=()=>[...A(),fE,dE,{position:[pt,ft]}],Ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",r0e,Kme,{size:[pt,ft]}],rt=()=>[WO,$p,Tu],ie=()=>["","none","full",c,pt,ft],Pe=()=>["",nn,$p,Tu],gt=()=>["solid","dashed","dotted","double"],Zt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],St=()=>[nn,WO,fE,dE],sn=()=>["","none",p,pt,ft],Xn=()=>["none",nn,pt,ft],Wn=()=>["none",nn,pt,ft],ra=()=>[nn,pt,ft],vr=()=>[dc,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Al],breakpoint:[Al],color:[dL],container:[Al],"drop-shadow":[Al],ease:["in","out","in-out"],font:[Gme],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Al],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Al],shadow:[Al],spacing:["px",nn],text:[Al],"text-shadow":[Al],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dc,ft,pt,g]}
vendor: 5,109 bytes, line 23
23],container:["container"],columns:[{columns:[nn,ft,pt,s]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"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"],sr:["sr-only","not-sr-only"],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:E()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{"inset-s":B(),start:B()}],end:[{"inset-e":B(),end:B()}],"inset-bs":[{"inset-bs":B()}],"inset-be":[{"inset-be":B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[fc,"auto",pt,ft]}],basis:[{basis:[dc,"full","auto",s,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[nn,dc,"auto","initial","none",ft]}],grow:[{grow:["",nn,pt,ft]}],shrink:[{shrink:["",nn,pt,ft]}],order:[{order:[fc,"first","last","none",pt,ft]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...ne(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...ne()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":ne()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pbs:[{pbs:R()}],pbe:[{pbe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:re()}],mx:[{mx:re()}],my:[{my:re()}],ms:[{ms:re()}],me:[{me:re()}],mbs:[{mbs:re()}],mbe:[{mbe:re()}],mt:[{mt:re()}],mr:[{mr:re()}],mb:[{mb:re()}],ml:[{ml:re()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...ye()]}],"min-inline-size":[{"min-inline":["auto",...ye()]}],"max-inline-size":[{"max-inline":["none",...ye()]}],"block-size":[{block:["auto",...Ee()]}],"min-block-size":[{"min-block":["auto",...Ee()]}],"max-block-size":[{"max-block":["none",...Ee()]}],w:[{w:[s,"screen",...Y()]}],"min-w":[{"min-w":[s,"screen","none",...Y()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",n,$p,Tu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,i0e,Jme]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",WO,ft]}],"font-family":[{font:[n0e,e0e,t]}],"font-features":[{"font-features":[ft]}],"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:[a,pt,ft]}],"line-clamp":[{"line-clamp":[nn,"none",pt,uE]}],leading:[{leading:[i,...R()]}],"list-image":[{"list-image":["none",pt,ft]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pt,ft]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...gt(),"wavy"]}],"text-decoration-thickness":[{decoration:[nn,"from-font","auto",pt,Tu]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[nn,"auto",pt,ft]}
vendor: 7,499 bytes, line 23
23],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pt,ft]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pt,ft]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:xe()}],"bg-repeat":[{bg:Ie()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},fc,pt,ft],radial:["",pt,ft],conic:[fc,pt,ft]},a0e,t0e]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:rt()}],"gradient-via-pos":[{via:rt()}],"gradient-to-pos":[{to:rt()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:ie()}],"rounded-s":[{"rounded-s":ie()}],"rounded-e":[{"rounded-e":ie()}],"rounded-t":[{"rounded-t":ie()}],"rounded-r":[{"rounded-r":ie()}],"rounded-b":[{"rounded-b":ie()}],"rounded-l":[{"rounded-l":ie()}],"rounded-ss":[{"rounded-ss":ie()}],"rounded-se":[{"rounded-se":ie()}],"rounded-ee":[{"rounded-ee":ie()}],"rounded-es":[{"rounded-es":ie()}],"rounded-tl":[{"rounded-tl":ie()}],"rounded-tr":[{"rounded-tr":ie()}],"rounded-br":[{"rounded-br":ie()}],"rounded-bl":[{"rounded-bl":ie()}],"border-w":[{border:Pe()}],"border-w-x":[{"border-x":Pe()}],"border-w-y":[{"border-y":Pe()}],"border-w-s":[{"border-s":Pe()}],"border-w-e":[{"border-e":Pe()}],"border-w-bs":[{"border-bs":Pe()}],"border-w-be":[{"border-be":Pe()}],"border-w-t":[{"border-t":Pe()}],"border-w-r":[{"border-r":Pe()}],"border-w-b":[{"border-b":Pe()}],"border-w-l":[{"border-l":Pe()}],"divide-x":[{"divide-x":Pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...gt(),"hidden","none"]}],"divide-style":[{divide:[...gt(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...gt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[nn,pt,ft]}],"outline-w":[{outline:["",nn,$p,Tu]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",u,z1,Q1]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",d,z1,Q1]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[nn,Tu]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":Pe()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",f,z1,Q1]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[nn,pt,ft]}],"mix-blend":[{"mix-blend":[...Zt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Zt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[nn]}],"mask-image-linear-from-pos":[{"mask-linear-from":St()}],"mask-image-linear-to-pos":[{"mask-linear-to":St()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":St()}],"mask-image-t-to-pos":[{"mask-t-to":St()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":St()}],"mask-image-r-to-pos":[{"mask-r-to":St()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":St()}],"mask-image-b-to-pos":[{"mask-b-to":St()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":St()}],"mask-image-l-to-pos":[{"mask-l-to":St()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":St()}],"mask-image-x-to-pos":[{"mask-x-to":St()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":St()}],"mask-image-y-to-pos":[{"mask-y-to":St()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[pt,ft]}],"mask-image-radial-from-pos":[{"mask-radial-from":St()}],"mask-image-radial-to-pos":[{"mask-radial-to":St()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":A()}],"mask-image-conic-pos":[{"mask-conic":[nn]}],"mask-image-conic-from-pos":[{"mask-conic-from":St()}],"mask-image-conic-to-pos":[{"mask-conic-to":St()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:xe()}],"mask-repeat":[{mask:Ie()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pt,ft]}],filter:[{filter:["","none",pt,ft]}],blur:[{blur:sn()}],brightness:[{brightness:[nn,pt,ft]}],contrast:[{contrast:[nn,pt,ft]}],"drop-shadow":[{"drop-shadow":["","none",h,z1,Q1]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",nn,pt,ft]}],"hue-rotate":[{"hue-rotate":[nn,pt,ft]}],invert:[{invert:["",nn,pt,ft]}],saturate:[{saturate:[nn,pt,ft]}],sepia:[{sepia:["",nn,pt,ft]}],"backdrop-filter":[{"backdrop-filter":["","none",pt,ft]}],"backdrop-blur":[{"backdrop-blur":sn()}],"backdrop-brightness":[{"backdrop-brightness":[nn,pt,ft]}],"backdrop-contrast":[{"backdrop-contrast":[nn,pt,ft]}],"backdrop-grayscale":[{"backdrop-grayscale":["",nn,pt,ft]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[nn,pt,ft]}],"backdrop-invert":[{"backdrop-invert":["",nn,pt,ft]}],"backdrop-opacity":[{"backdrop-opacity":[nn,pt,ft]}],"backdrop-saturate":[{"backdrop-saturate":[nn,pt,ft]}],"backdrop-sepia":[{"backdrop-sepia":["",nn,pt,ft]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pt,ft]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[nn,"initial",pt,ft]}],ease:[{ease:["linear","initial",v,pt,ft]}
23],delay:[{delay:[nn,pt,ft]}],animate:[{animate:["none",k,pt,ft]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,pt,ft]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Xn()}],"rotate-x":[{"rotate-x":Xn()}],"rotate-y":[{"rotate-y":Xn()}],"rotate-z":[{"rotate-z":Xn()}],scale:[{scale:Wn()}],"scale-x":[{"scale-x":Wn()}],"scale-y":[{"scale-y":Wn()}],"scale-z":[{"scale-z":Wn()}],"scale-3d":["scale-3d"],skew:[{skew:ra()}],"skew-x":[{"skew-x":ra()}],"skew-y":[{"skew-y":ra()}],transform:[{transform:[pt,ft,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:vr()}],"translate-x":[{"translate-x":vr()}],"translate-y":[{"translate-y":vr()}],"translate-z":[{"translate-z":vr()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",pt,ft]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mbs":[{"scroll-mbs":R()}],"scroll-mbe":[{"scroll-mbe":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pbs":[{"scroll-pbs":R()}],"scroll-pbe":[{"scroll-pbe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",pt,ft]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[nn,$p,Tu,uE]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},s0e=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:i={}})=>(Jp(e,"cacheSize",t),Jp(e,"prefix",n),Jp(e,"experimentalParseClassName",r),H1(e.theme,i.theme),H1(e.classGroups,i.classGroups),H1(e.conflictingClassGroups,i.conflictingClassGroups),H1(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Jp(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),V1(e.theme,a.theme),V1(e.classGroups,a.classGroups),V1(e.conflictingClassGroups,a.conflictingClassGroups),V1(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),vL(e,a,"orderSensitiveModifiers"),e),Jp=(e,t,n)=>{n!==void 0&&(e[t]=n)},H1=(e,t)=>{if(t)for(const n in t)Jp(e,n,t[n])},V1=(e,t)=>{if(t)for(const n in t)vL(e,t,n)},vL=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},l0e=(e,...t)=>typeof e=="function"?cE(hE,e,...t):cE(()=>s0e(hE(),e),...t),c0e=l0e({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:Ur,cx:fd}=Ome({hooks:{onComplete:e=>c0e(e)}});function $t(){const e=y8(),t=$(()=>{const{class:a,style:i,...o}=e;return{class:a||"",style:i,rest:o}});function n(...a){return{class:fd(...a,t.value.class),style:t.value.style,...t.value.rest}}function r(...a){return{class:fd(...a,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:$(()=>t.value.rest)}}var u0e=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},d0e=Ur({base:"relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded",variants:{position:{before:"after:-top-0.5 after:h-0.75",after:"after:-bottom-0.5 after:h-0.75",into:"after:inset-0"}}}),Tl=J(null),hc=J(null);function f0e(e){const{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:a=!0,parentIds:i=[],id:o,onDragStart:s,onDragEnd:l}=e,c=$(()=>i.at(-1)??null),u=m=>typeof a=="function"?a(Tl.value,{id:o,parentId:c.value,offset:m}):Ve(a),d=m=>{if(!Ve(r)||!m.dataTransfer||!(m.target instanceof HTMLElement))return;m.target.setAttribute("data-dragging","true"),m.dataTransfer.dropEffect="move",m.dataTransfer.effectAllowed="move";const g={id:o,parentId:c.value};Tl.value=g,s==null||s(g)},f=u0e(m=>{var E,_;if(!Tl.value||Tl.value.id===o||i.includes(((E=Tl.value)==null?void 0:E.id)??""))return;const g=(_=hc.value)==null?void 0:_.offset,v=m.target.offsetHeight,k=n*v,S=t*v;let A=null;m.offsetY<=0&&g&&g!=="after"?A=g:m.offsetY<=k?A="before":m.offsetY>=S?A="after":m.offsetY>k&&m.offsetY<S&&(A="into"),u(A)&&(hc.value={id:o,parentId:c.value,offset:A})},25),h=()=>
23{if(!hc.value||!Tl.value)return;const m={...Tl.value},g={...hc.value};Tl.value=null,hc.value=null,document.querySelectorAll("[data-dragging]").forEach(v=>v.removeAttribute("data-dragging")),m.id!==g.id&&(l==null||l(m,g))},p=$(()=>{var g;const m=o===((g=hc.value)==null?void 0:g.id)?hc.value.offset:void 0;return m?d0e({position:m}):""});return{draggableAttrs:$(()=>({class:p.value||void 0,draggable:Ve(r)?!0:void 0})),draggableEvents:{dragend:h,dragover:m=>{m.preventDefault(),m.stopPropagation(),f(m)},dragstart:m=>{m.stopPropagation(),d(m)}},draggingItem:Tl,hoveredItem:hc}}var OL=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},h0e="regular";function en(e={}){const t=$(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:$(()=>({width:"1em",height:"1em",...t.value})),weight:$(()=>e.weight??h0e)}}var p0e={key:0},m0e={key:1},g0e={key:2},b0e={key:3},y0e={key:4},v0e={key:5},O0e=F({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",p0e,[...a[0]||(a[0]=[x("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",m0e,[...a[1]||(a[1]=[x("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),x("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",g0e,[...a[2]||(a[2]=[x("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1)])])):b(n)==="light"?(y(),w("g",b0e,[...a[3]||(a[3]=[x("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",y0e,[...a[4]||(a[4]=[x("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",v0e,[...a[5]||(a[5]=[x("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1)])])):U("",!0)],16))}}),S0e=O0e,w0e={key:0},x0e={key:1},k0e={key:2},A0e={key:3},T0e={key:4},E0e={key:5},_0e=F({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",w0e,[...a[0]||(a[0]=[x("path",{d:"M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",x0e,[...a[1]||(a[1]=[x("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),x("path",{d:"M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",k0e,[...a[2]||(a[2]=[x("path",{d:"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"},null,-1)])])):b(n)==="light"?(y(),w("g",A0e,[...a[3]||(a[3]=[x("path",{d:"M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",T0e,[...a[4]||(a[4]=[x("path",{d:"M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",E0e,[...a[5]||(a[5]=[x("path",{d:"M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z"},null,-1)])])):U("",!0)],16))}}),a2=_0e,C0e={key:0},$0e={key:1},P0e={key:2},I0e={key:3},R0e={key:4},N0e={key:5},M0e=F({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",C0e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",$0e,[...a[1]||(a[1]=[x("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",P0e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",I0e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",R0e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",N0e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),L0e=M0e,D0e={key:0},B0e={key:1},U0e={key:2},j0e={key:3},F0e={key:4},Q0e={key:5},z0e=F({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",D0e,[...a[0]||(a[0]=[x("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",B0e,[...a[1]||(a[1]=[x("path",{d:"M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),x("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V2
2300a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",U0e,[...a[2]||(a[2]=[x("path",{d:"M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"},null,-1)])])):b(n)==="light"?(y(),w("g",j0e,[...a[3]||(a[3]=[x("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",F0e,[...a[4]||(a[4]=[x("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",Q0e,[...a[5]||(a[5]=[x("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"},null,-1)])])):U("",!0)],16))}}),H0e=z0e,V0e={key:0},q0e={key:1},Z0e={key:2},X0e={key:3},W0e={key:4},Y0e={key:5},G0e=F({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",V0e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",q0e,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",Z0e,[...a[2]||(a[2]=[x("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-.
2317,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)])])):b(n)==="light"?(y(),w("g",X0e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",W0e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Y0e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),SL=G0e,K0e={key:0},J0e={key:1},e1e={key:2},t1e={key:3},n1e={key:4},r1e={key:5},a1e=F({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",K0e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",J0e,[...a[1]||(a[1]=[x("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",e1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",t1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",n1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",r1e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Xo=a1e,i1e={key:0},o1e={key:1},s1e={key:2},l1e={key:3},c1e={key:4},u1e={key:5},d1e=F({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",i1e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",o1e,[...a[1]||(a[1]=[x("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",s1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",l1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",c1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",u1e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Z0=d1e,f1e={key:0},h1e={key:1},p1e={key:2},m1e={key:3},g1e={key:4},b1e={key:5},y1e=F({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",f1e,[...a[0]||(a[0]=[x("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",h1e,[...a[1]||(a[1]=[x("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),x("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",p1e,[...a[2]||(a[2]=[x("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"},null,-1)])])):b(n)==="light"?(y(),w("g",m1e,[...a[3]||(a[3]=[x("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",g1e,[...a[4]||(a[4]=[x("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",b1e,[...a[5]||(a[5]=[x("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"},null,-1)])])):U("",!0)],16))}}),v1e=y1e,O1e={key:0},S1e={key:1},w1e={key:2},x1e={key:3},k1e={key:4},A1e={key:5},T1e=F({name:"ScalarIconCaretUpDown",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",O1e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",S1e,[...a[1]||(a[1]=[x("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",w1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",x1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",k1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",A1e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}
23),wL=T1e,E1e={key:0},_1e={key:1},C1e={key:2},$1e={key:3},P1e={key:4},I1e={key:5},R1e=F({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",E1e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",_1e,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",C1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",$1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",P1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",I1e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),B6=R1e,N1e={key:0},M1e={key:1},L1e={key:2},D1e={key:3},B1e={key:4},U1e={key:5},j1e=F({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",N1e,[...a[0]||(a[0]=[x("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",M1e,[...a[1]||(a[1]=[x("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),x("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",L1e,[...a[2]||(a[2]=[x("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1)])])):b(n)==="light"?(y(),w("g",D1e,[...a[3]||(a[3]=[x("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",B1e,[...a[4]||(a[4]=[x("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",U1e,[...a[5]||(a[5]=[x("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1)])])):U("",!0)],16))}}),F1e=j1e,Q1e={key:0},z1e={key:1},H1e={key:2},V1e={key:3},q1e={key:4},Z1e={key:5},X1e=F({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Q1e,[...a[0]||(a[0]=[x("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V2
2316a12,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)])])):b(n)==="duotone"?(y(),w("g",z1e,[...a[1]||(a[1]=[x("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",H1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",V1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",q1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Z1e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),U6=X1e,W1e={key:0},Y1e={key:1},G1e={key:2},K1e={key:3},J1e={key:4},ege={key:5},tge=F({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",W1e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Y1e,[...a[1]||(a[1]=[x("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",G1e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",K1e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",J1e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",ege,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),nge=tge,rge={key:0},age={key:1},ige={key:2},oge={key:3},sge={key:4},lge={key:5},cge=F({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",rge,[...a[0]||(a[0]=[x("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,
23157.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)])])):b(n)==="duotone"?(y(),w("g",age,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",ige,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",oge,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",sge,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",lge,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),uge=cge,dge={key:0},fge={key:1},hge={key:2},pge={key:3},mge={key:4},gge={key:5},bge=F({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",dge,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",fge,[...a[1]||(a[1]=[x("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),x("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.
2311,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)])])):b(n)==="fill"?(y(),w("g",hge,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",pge,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",mge,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",gge,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),yge=bge,vge={key:0},Oge={key:1},Sge={key:2},wge={key:3},xge={key:4},kge={key:5},Age=F({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",vge,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Oge,[...a[1]||(a[1]=[x("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),x("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
23-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)])])):b(n)==="fill"?(y(),w("g",Sge,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",wge,[...a[3]||(a[3]=[x("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,0V171L
2372.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)])])):b(n)==="regular"?(y(),w("g",xge,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",kge,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Tge=Age,Ege={key:0},_ge={key:1},Cge={key:2},$ge={key:3},Pge={key:4},Ige={key:5},Rge=F({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Ege,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",_ge,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",Cge,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",$ge,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Pge,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Ige,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),pE=Rge,Nge={key:0},Mge={key:1},Lge={key:2},Dge={key:3},Bge={key:4},Uge={key:5},jge=F({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Nge,[...a[0]||(a[0]=[x("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.
231,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",Mge,[...a[1]||(a[1]=[x("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),x("path",{d:"M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",Lge,[...a[2]||(a[2]=[x("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):b(n)==="light"?(y(),w("g",Dge,[...a[3]||(a[3]=[x("path",{d:"M128,82a46,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,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",Bge,[...a[4]||(a[4]=[x("path",{d:"M128,80a48,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,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",Uge,[...a[5]||(a[5]=[x("path",{d:"M128,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,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32
23-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1)])])):U("",!0)],16))}}),Fge=jge,Qge={key:0},zge={key:1},Hge={key:2},Vge={key:3},qge={key:4},Zge={key:5},Xge=F({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Qge,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",zge,[...a[1]||(a[1]=[x("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",Hge,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Vge,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",qge,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Zge,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Wge=Xge,Yge={key:0},Gge={key:1},Kge={key:2},Jge={key:3},e2e={key:4},t2e={key:5},n2e=F({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Yge,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Gge,[...a[1]||(a[1]=[x("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),x("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,8
230.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)])])):b(n)==="fill"?(y(),w("g",Kge,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Jge,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",e2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",t2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),r2e=n2e,a2e={key:0},i2e={key:1},o2e={key:2},s2e={key:3},l2e={key:4},c2e={key:5},u2e=F({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",a2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",i2e,[...a[1]||(a[1]=[x("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",o2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",s2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",l2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",c2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),xL=u2e,d2e={key:0},f2e={key:1},h2e={key:2},p2e={key:3},m2e={key:4},g2e={key:5},b2e=F({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",d2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",f2e,[...a[1]||(a[1]=[x("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",h2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",p2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",m2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",g2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),kL=b2e,y2e={key:0},v2e={key:1},O2e={key:2},S2e={key:3},w2e={key:4},x2e={key:5},k2e=F({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",y2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",v2e,[...a[1]||(a[1]=[x("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-1L1
2352.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",O2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",S2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",w2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",x2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Nw=k2e,A2e={key:0},T2e={key:1},E2e={key:2},_2e={key:3},C2e={key:4},$2e={key:5},P2e=F({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",A2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",T2e,[...a[1]||(a[1]=[x("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",E2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",_2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",C2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",$2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),I2e=P2e,R2e={key:0},N2e={key:1},M2e={key:2},L2e={key:3},D2e={key:4},B2e={key:5},U2e=F({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",R2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",N2e,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",M2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",L2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",D2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",B2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),AL=U2e,j2e={key:0},F2e={key:1},Q2e={key:2},z2e={key:3},H2e={key:4},V2e={key:5},q2e=F({name:"ScalarIconLockSimpleOpen",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",j2e,[...a[0]||(a[0]=[x("path",{d:"M208,76H100V56a28,28,0,0,1,28-28c13.51,0,25.65,9.62,28.24,22.39a12,12,0,1,0,23.52-4.78C174.87,21.5,153.1,4,128,4A52.06,52.06,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,76Zm-4,128H52V100H204Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",F2e,[...a[1]||(a[1]=[x("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),x("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",Q2e,[...a[2]||(a[2]=[x("path",{d:"M224,96V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V96A16,16,0,0,1,48,80H80V56A48.05,48.05,0,0,1,128,8c23.2,0,43.32,16.15,47.84,38.41a8,8,0,0,1-15.68,3.18C157.2,35,143.37,24,128,24A32,32,0,0,0,96,56V80H208A16,16,0,0,1,224,96Z"},null,-1)])])):b(n)==="light"?(y(),w("g",z2e,[...a[3]||(a[3]=[x("path",{d:"M208,82H94V56a34,34,0,0,1,34-34c16.3,0,31,11.69,34.12,27.19a6,6,0,0,0,11.76-2.38C169.55,25.48,150.26,10,128,10A46.06,46.06,0,0,0,82,56V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82Zm2,126a2,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)])])):b(n)==="regular"?(y(),w("g",H2e,[...a[4]||(a[4]=[x("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",V2e,[...a[5]||(a[5]=[x("path",{d:"M208,84H92V56a36,36,0,0,1,36-36c17.24,0,32.75,12.38,36.08,28.8a4,4,0,1,0,7.84-1.6C167.78,26.81,149.31,12,128,12A44.05,44.05,0,0,0,84,56V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84Zm4,124a4,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)])])):U("",!0)],16))}}),Z2e=q2e,X2e={key:0},W2e={key:1},Y2e={key:2},G2e={key:3},K2e={key:4},J2e={key:5},ebe=F({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",X2e,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",W2e,[...a[1]||(a[1]=[x("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",Y2e,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",G2e,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",K2e,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",J2e,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),X0=ebe,tbe={key:0},nbe={key:1},rbe={key:2},abe={key:3},ibe={key:4},obe={key:5},sbe=F({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",tbe,[...a[0]||(a[0]=[x("path",{d:"M228,128a12,12,0,0,1-12,12H4
230a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",nbe,[...a[1]||(a[1]=[x("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),x("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",rbe,[...a[2]||(a[2]=[x("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,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1)])])):b(n)==="light"?(y(),w("g",abe,[...a[3]||(a[3]=[x("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",ibe,[...a[4]||(a[4]=[x("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",obe,[...a[5]||(a[5]=[x("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"},null,-1)])])):U("",!0)],16))}}),TL=sbe,lbe={key:0},cbe={key:1},ube={key:2},dbe={key:3},fbe={key:4},hbe={key:5},pbe=F({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",lbe,[...a[0]||(a[0]=[x("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",cbe,[...a[1]||(a[1]=[x("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),x("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",ube,[...a[2]||(a[2]=[x("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):b(n)==="light"?(y(),w("g",dbe,[...a[3]||(a[3]=[x("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",fbe,[...a[4]||(a[4]=[x("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",hbe,[...a[5]||(a[5]=[x("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1)])])):U("",!0)],16))}}),mbe=pbe,gbe={key:0},bbe={key:1},ybe={key:2},vbe={key:3},Obe={key:4},Sbe={key:5},wbe=F({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",gbe,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",bbe,[...a[1]||(a[1]=[x("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),x("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-27
23ZM80,215.94V40l143.83,88Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",ybe,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",vbe,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Obe,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Sbe,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),EL=wbe,xbe={key:0},kbe={key:1},Abe={key:2},Tbe={key:3},Ebe={key:4},_be={key:5},Cbe=F({name:"ScalarIconPlugsConnected",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",xbe,[...a[0]||(a[0]=[x("path",{d:"M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",kbe,[...a[1]||(a[1]=[x("path",{d:"M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z",opacity:"0.2"},null,-1),x("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",Abe,[...a[2]||(a[2]=[x("path",{d:"M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,
23146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z"},null,-1)])])):b(n)==="light"?(y(),w("g",Tbe,[...a[3]||(a[3]=[x("path",{d:"M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",Ebe,[...a[4]||(a[4]=[x("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",_be,[...a[5]||(a[5]=[x("path",{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},null,-1)])])):U("",!0)],16))}}),$be=Cbe,Pbe={key:0},Ibe={key:1},Rbe={key:2},Nbe={key:3},Mbe={key:4},Lbe={key:5},Dbe=F({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Pbe,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Ibe,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",Rbe,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Nbe,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Mbe,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Lbe,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),j6=Dbe,Bbe={key:0},Ube={key:1},jbe={key:2},Fbe={key:3},Qbe={key:4},zbe={key:5},Hbe=F({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Bbe,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Ube,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",jbe,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Fbe,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Qbe,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",zbe,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Vbe=Hbe,qbe={key:0},Zbe={key:1},Xbe={key:2},Wbe={key:3},Ybe={key:4},Gbe={key:5},Kbe=F({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",qbe,[...a[0]||(a[0]=[x("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"},null,-1)])])):b(n)==="duotone"?(y(),w("g",Zbe,[...a[1]||(a[1]=[x("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-2
230.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"},null,-1),x("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)])])):b(n)==="fill"?(y(),w("g",Xbe,[...a[2]||(a[2]=[x("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"},null,-1)])])):b(n)==="light"?(y(),w("g",Wbe,[...a[3]||(a[3]=[x("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"},null,-1)])])):b(n)==="regular"?(y(),w("g",Ybe,[...a[4]||(a[4]=[x("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)])])):b(n)==="thin"?(y(),w("g",Gbe,[...a[5]||(a[5]=[x("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"},null,-1)])])):U("",!0)],16))}}),F6=Kbe,Jbe={key:0},eye={key:1},tye={key:2},nye={key:3},rye={key:4},aye={key:5},iye=F({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Jbe,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",eye,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",tye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",nye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",rye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",aye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),oye=iye,sye={key:0},lye={key:1},cye={key:2},uye={key:3},dye={key:4},fye={key:5},hye=F({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",sye,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",lye,[...a[1]||(a[1]=[x("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",o
23pacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",cye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",uye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",dye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",fye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),pye=hye,mye={key:0},gye={key:1},bye={key:2},yye={key:3},vye={key:4},Oye={key:5},Sye=F({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",mye,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",gye,[...a[1]||(a[1]=[x("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",bye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",yye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",vye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Oye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),wye=Sye,xye={key:0},kye={key:1},Aye={key:2},Tye={key:3},Eye={key:4},_ye={key:5},Cye=F({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",xye,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",kye,[...a[1]||(a[1]=[x("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),x("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)])])):b(n)==="fill"?(y(),w("g",Aye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Tye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Eye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",_ye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),_L=Cye,$ye={key:0},Pye={key:1},Iye={key:2},Rye={key:3},Nye={key:4},Mye={key:5},Lye=F({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",$ye,[...a[0]||(a[0]=[x("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.8
236,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)])])):b(n)==="duotone"?(y(),w("g",Pye,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",Iye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Rye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Nye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Mye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Dye=Lye,Bye={key:0},Uye={key:1},jye={key:2},Fye={key:3},Qye={key:4},zye={key:5},Hye=F({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Bye,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",Uye,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",jye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Fye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Qye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",zye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),W0=Hye,Vye={key:0},qye={key:1},Zye={key:2},Xye={key:3},Wye={key:4},Yye={key:5},Gye=F({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){const{bind:t,weight:n}=en(e);return(r,a)=>(y(),w("svg",Te({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},b(t)),[q(r.$slots,"default"),b(n)==="bold"?(y(),w("g",Vye,[...a[0]||(a[0]=[x("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)])])):b(n)==="duotone"?(y(),w("g",qye,[...a[1]||(a[1]=[x("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),x("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)])])):b(n)==="fill"?(y(),w("g",Zye,[...a[2]||(a[2]=[x("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)])])):b(n)==="light"?(y(),w("g",Xye,[...a[3]||(a[3]=[x("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)])])):b(n)==="regular"?(y(),w("g",Wye,[...a[4]||(a[4]=[x("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)])])):b(n)==="thin"?(y(),w("g",Yye,[...a[5]||(a[5]=[x("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)])])):U("",!0)],16))}}),Yh=Gye,Kye={class:"sr-only"},Jye=F({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(y(),M(rL,{class:Oe(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},{default:I(()=>[x("span",Kye,H(e.label??"HTTP Method")+":Â ",1),q(t.$slots,"default",{},()=>[e.webhook?(y(),M(b(W0),{key:0,style:Pr({color:b(q0)(e.method).colorVar}),weight:"bold"},null,8,["style"])):U("",!0)],!0)]),_:3},8,["class","method"]))}}),mE=OL(Jye,[["__scopeId","data-v-bdef8365"]]),eve={},tve={class:"absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100"};function nve(e,t){return y(),w("div",tve,[q(e.$slots,"default")])}var gE=OL(eve,[["render",nve]]),CL=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0,rve=(e,t,n,r)=>{var a,i,o;return CL(t)?r&&t.type==="operation"&&((a=t.children)==null?void 0:a.length)===1&&((i=t.children[0])==null?void 0:i.type)==="example"&&((o=t.children[0])==null?void 0:o.name)==="default"?!1:e==="client"?!0:e==="reference"?t.type!=="operation"&&t.type!=="webhook":!1:e==="client"&&n?t.type==="document"||t.type==="tag":!1},ave={path:/[\/\.-]/,property:/[A-Z\_\.-]/},ive={key:0},ove=F({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""}
23,preset:{default:"path"},regex:{}},setup(e){const t="â ",n=$(()=>{const r=new RegExp(e.regex??ave[e.preset],"g");return e.text.replace(r,`${t}$&`).split(t).filter(Boolean)});return(r,a)=>(y(!0),w(de,null,it(n.value,(i,o)=>(y(),w(de,{key:o},[o!==0?(y(),w("wbr",ive)):U("",!0),ae(H(i),1)],64))),128))}}),is=ove,sve=F({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type==="model"||e.item.type==="example"?(y(),M(b(is),{key:0,preset:"property",text:e.item.title},null,8,["text"])):(y(),M(b(is),{key:1,text:e.operationTitleSource==="path"&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))}}),q1=sve,lve=F({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("aside",jt(Xt(b(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[q(n.$slots,"default")],16))}}),cve=lve,Ns=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},uve=F({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){const t=$(()=>Array.from({length:e.indent},(r,a)=>a)),{cx:n}=$t();return(r,a)=>(y(),w("div",jt(Xt(b(n)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(y(!0),w(de,null,it(t.value,(i,o)=>(y(),w("div",{key:i,class:"relative w-[var(--scalar-sidebar-indent)]"},[a[0]||(a[0]=x("div",{class:"scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border"},null,-1)),o===t.value.length-1?(y(),w("div",{key:0,class:Oe(["absolute left-2 inset-y-0 w-border",e.disabled?"":e.selected?"bg-sidebar-indent-border-active":"group-hover/button:bg-sidebar-indent-border-hover"])},null,2)):U("",!0)]))),128))],16))}}),fv=Ns(uve,[["__scopeId","data-v-3e080c68"]]),$L=Ur({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"}}),bE=Object.defineProperty,me=(e,t)=>
23{let n={};for(var r in e)bE(n,r,{get:e[r],enumerable:!0});return bE(n,Symbol.toStringTag,{value:"Module"}),n},dve=me({default:()=>hve,render:()=>PL}),fve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function PL(e,t){return y(),w("svg",fve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)])])}var hve={render:PL},pve=me({default:()=>gve,render:()=>IL}),mve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function IL(e,t){return y(),w("svg",mve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"},null,-1)])])}var gve={render:IL},bve=me({default:()=>vve,render:()=>RL}),yve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function RL(e,t){return y(),w("svg",yve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var vve={render:RL},Ove=me({default:()=>wve,render:()=>NL}),Sve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function NL(e,t){return y(),w("svg",Sve,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)])])}var wve={render:NL},xve=me({default:()=>Ave,render:()=>ML}),kve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function ML(e,t){return y(),w("svg",kve,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12h20m-9.3 9.3L22 12l-9.3-9.3"},null,-1)])])}var Ave={render:ML},Tve=me({default:()=>_ve,render:()=>LL}),Eve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function LL(e,t){return y(),w("svg",Eve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"},null,-1)])])}var _ve={render:LL},Cve=me({default:()=>Pve,render:()=>DL}),$ve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function DL(e,t){return y(),w("svg",$ve,[...t[0]||(t[0]=[x("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),x("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),x("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),x("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)])])}var Pve={render:DL},Ive=me({default:()=>Nve,render:()=>BL}),Rve={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function BL(e,t){return y(),w("svg",Rve,[...t[0]||(t[0]=[x("path",{d:"M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125"},null,-1),x("path",{d:"M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055"},null,-1),x("path",{d:"M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125"},null,-1)])])}var Nve={render:BL},Mve=me({default:()=>Dve,render:()=>UL}),Lve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function UL(e,t){return y(),w("svg",Lve,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.4 4.6 10.6 19.4l-8-6.4"},null,-1)])])}var Dve={render:UL},Bve=me({default:()=>jve,render:()=>jL}),Uve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function jL(e,t){return y(),w("svg",Uve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)])])}var jve={render:jL},Fve=me({default:()=>zve,render:()=>FL}),Qve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FL(e,t){return y(),w("svg",Qve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)])])}var zve={render:FL},Hve=me({default:()=>qve,render:()=>QL}),Vve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function QL(e,t){return y(),w("svg",Vve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)])])}var qve={render:QL},Zve=me({default:()=>Wve,render:()=>zL}),Xve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zL(e,t){return y(),w("svg",Xve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)])])}var Wve={render:zL},Yve=me({default:()=>Kve,render:()=>HL}),Gve={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HL(e,t){return y(),w("svg",Gve,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var Kve={render:HL},Jve=me({default:()=>tOe,render:()=>VL}),eOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function VL(e,t){return y(),w("svg",eOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)])])}var tOe={render:VL},nOe=me({default:()=>aOe,render:()=>qL}),rOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qL(e,t){return y(),w("svg",rOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z"},null,-1)])])}var aOe={render:qL},iOe=me({default:()=>sOe,render:()=>ZL}),oOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZL(e,t){return y(),w("svg",oOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)])])}var sOe={render:ZL},lOe=me({default:()=>uOe,render:()=>XL}),cOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function XL(e,t){return y(),w("svg",cOe,[...t[0]||(t[0]=[x("path",{d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z"},null,-1)])])}var uOe={render:XL},dOe=me({default:()=>hOe,render:()=>WL}),fOe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function WL(e,t){return y(),w("svg",fOe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447"},null,-1),x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18"},null,-1)])])}var hOe={render:WL},pOe=me({default:()=>gOe,render:()=>YL}),mOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function YL(e,t){return y(),w("svg",mOe,[...t[0]||(t[0]=[x("path",{d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z"},null,-1),x("path",{d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1)])])}var gOe={render:YL},bOe=me({default:()=>vOe,render:()=>GL}),yOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function GL(e,t){return y(),w("svg",yOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08"},null,-1)])])}var vOe={render:GL},OOe=me({default:()=>wOe,render:()=>KL}),SOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function KL(e,t){return y(),w("svg",SOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223"},null,-1),x("path",{fill:"currentColor",d:"M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425"},null,-1)])])}var wOe={render:KL},xOe=me({default:()=>AOe,render:()=>JL}),kOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function JL(e,t){return y(),w("svg",kOe,[...t[0]||(t[0]=[x("path",{d:"M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244"},null,-1)])])}var AOe={render:JL},TOe=me({default:()=>_Oe,render:()=>eD}),EOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eD(e,t){return y(),w("svg",EOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2
23-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)])])}var _Oe={render:eD},COe=me({default:()=>POe,render:()=>tD}),$Oe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function tD(e,t){return y(),w("svg",$Oe,[...t[0]||(t[0]=[x("path",{d:"M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152"},null,-1),x("path",{d:"M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5"},null,-1)])])}var POe={render:tD},IOe=me({default:()=>NOe,render:()=>nD}),ROe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function nD(e,t){return y(),w("svg",ROe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2"},null,-1),x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10"},null,-1)])])}var NOe={render:nD},MOe=me({default:()=>DOe,render:()=>rD}),LOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function rD(e,t){return y(),w("svg",LOe,[...t[0]||(t[0]=[x("path",{d:"M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5"},null,-1)])])}var DOe={render:rD}
23,BOe=me({default:()=>jOe,render:()=>aD}),UOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aD(e,t){return y(),w("svg",UOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17"},null,-1),x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83"},null,-1)])])}var jOe={render:aD},FOe=me({default:()=>zOe,render:()=>iD}),QOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function iD(e,t){return y(),w("svg",QOe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z"},null,-1)])])}var zOe={render:iD},HOe=me({default:()=>qOe,render:()=>oD}),VOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function oD(e,t){return y(),w("svg",VOe,[...t[0]||(t[0]=[x("path",{d:"M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1"},null,-1)])])}var qOe={render:oD},ZOe=me({default:()=>WOe,render:()=>sD}),XOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function sD(e,t){return y(),w("svg",XOe,[...t[0]||(t[0]=[x("path",{d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"},null,-1),x("path",{d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)])])}var WOe={render:sD},YOe=me({default:()=>KOe,render:()=>lD}),GOe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function lD(e,t){return y(),w("svg",GOe,[...t[0]||(t[0]=[x("path",{d:"M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6"},null,-1),x("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10"},null,-1)])])}var KOe={render:lD},JOe=me({default:()=>t4e,render:()=>cD}),e4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function cD(e,t){return y(),w("svg",e4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z"},null,-1)])])}var t4e={render:cD},n4e=me({default:()=>a4e,render:()=>uD}),r4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function uD(e,t){return y(),w("svg",r4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)])])}var a4e={render:uD},i4e=me({default:()=>s4e,render:()=>dD}),o4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function dD(e,t){return y(),w("svg",o4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)])])}var s4e={render:dD},l4e=me({default:()=>u4e,render:()=>fD}),c4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function fD(e,t){return y(),w("svg",c4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z"},null,-1)])])}var u4e={render:fD},d4e=me({default:()=>h4e,render:()=>hD}
23),f4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"};function hD(e,t){return y(),w("svg",f4e,[...t[0]||(t[0]=[x("path",{d:"M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0"},null,-1)])])}var h4e={render:hD},p4e=me({default:()=>g4e,render:()=>pD}),m4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function pD(e,t){return y(),w("svg",m4e,[...t[0]||(t[0]=[x("path",{d:"M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278"},null,-1)])])}var g4e={render:pD},b4e=me({default:()=>v4e,render:()=>mD}),y4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function mD(e,t){return y(),w("svg",y4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2"},null,-1)])])}var v4e={render:mD},O4e=me({default:()=>w4e,render:()=>gD}),S4e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function gD(e,t){return y(),w("svg",S4e,[...t[0]||(t[0]=[x("path",{d:"M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33"},null,-1)])])}var w4e={render:gD},x4e=me({default:()=>A4e,render:()=>bD}),k4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function bD(e,t){return y(),w("svg",k4e,[...t[0]||(t[0]=[x("path",{d:"M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4"},null,-1),x("path",{d:"M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10"},null,-1)])])}var A4e={render:bD},T4e=me({default:()=>_4e,render:()=>yD}),E4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function yD(e,t){return y(),w("svg",E4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2"},null,-1)])])}var _4e={render:yD},C4e=me({default:()=>P4e,render:()=>vD}),$4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function vD(e,t){return y(),w("svg",$4e,[...t[0]||(t[0]=[x("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),x("path",{d:"M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4"},null,-1)])])}var P4e={render:vD},I4e=me({default:()=>N4e,render:()=>OD}),R4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function OD(e,t){return y(),w("svg",R4e,[...t[0]||(t[0]=[x("path",{d:"M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z"},null,-1)])])}var N4e={render:OD},M4e=me({default:()=>D4e,render:()=>SD}),L4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function SD(e,t){return y(),w("svg",L4e,[...t[0]||(t[0]=[x("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),x("path",{d:"M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33"},null,-1),x("path",{d:"m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02"},null,-1)])])}var D4e={render:SD},B4e=me({default:()=>j4e,render:()=>wD}),U4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function wD(e,t){return y(),w("svg",U4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"},null,-1),x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),x("path",{fill:"currentColor","fill-rule":"evenodd",d:"M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)])])}var j4e={render:wD},F4e=me({default:()=>z4e,render:()=>xD}),Q4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function xD(e,t){return y(),w("svg",Q4e,[...t[0]||(t[0]=[x("path",{d:"M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33"},null,-1),x("path",{d:"M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0"},null,-1)])])}var z4e={render:xD},H4e=me({default:()=>q4e,render:()=>kD}),V4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function kD(e,t){return y(),w("svg",V4e,[...t[0]||(t[0]=[x("path",{d:"M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9"},null,-1)])])}var q4e={render:kD},Z4e=me({default:()=>W4e,render:()=>AD}),X4e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function AD(e,t){return y(),w("svg",X4e,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.
2301M4.93 4.93l3.22 3.22"},null,-1)])])}var W4e={render:AD},Y4e=me({default:()=>K4e,render:()=>TD}),G4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function TD(e,t){return y(),w("svg",G4e,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576"},null,-1)])])}var K4e={render:TD},J4e=me({default:()=>tSe,render:()=>ED}),eSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ED(e,t){return y(),w("svg",eSe,[...t[0]||(t[0]=[x("path",{d:"M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6"},null,-1)])])}var tSe={render:ED},nSe=me({default:()=>aSe,render:()=>_D}),rSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function _D(e,t){return y(),w("svg",rSe,[...t[0]||(t[0]=[x("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),x("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3"},null,-1)])])}var aSe={render:_D},iSe=me({default:()=>sSe,render:()=>CD}),oSe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"};function CD(e,t){return y(),w("svg",oSe,[...t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0"},null,-1)])])}var sSe={render:CD},lSe=me({default:()=>uSe,render:()=>$D}),cSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function $D(e,t){return y(),w("svg",cSe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591"},null,-1)])])}var uSe={render:$D},dSe=me({default:()=>hSe,render:()=>PD}),fSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function PD(e,t){return y(),w("svg",fSe,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z"},null,-1)])])}var hSe={render:PD},pSe=me({default:()=>gSe,render:()=>ID}),mSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function ID(e,t){return y(),w("svg",mSe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)])])}var gSe={render:ID},bSe=me({default:()=>vSe,render:()=>RD}),ySe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function RD(e,t){return y(),w("svg",ySe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)])])}var vSe={render:RD},OSe=me({default:()=>wSe,render:()=>ND}),SSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ND(e,t){return y(),w("svg",SSe,[...t[0]||(t[0]=[x("path",{d:"M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22"},null,-1),x("path",{d:"M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205"},null,-1)])])}var wSe={render:ND},xSe=me({default:()=>ASe,render:()=>MD}),kSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function MD(e,t){return y(),w("svg",kSe,[...t[0]||(t[0]=[x("path",{d:"M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z"},null,-1)])])}var ASe={render:MD},TSe=me({default:()=>_Se,render:()=>LD}),ESe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function LD(e,t){return y(),w("svg",ESe,[...t[0]||(t[0]=[x("path",{d:"M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z"},null,-1)])])}var _Se={render:LD},CSe=me({default:()=>PSe,render:()=>DD}),$Se={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function DD(e,t){return y(),w("svg",$Se,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3"},null,-1)])])}var PSe={render:DD},ISe=me({default:()=>NSe,render:()=>BD}),RSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function BD(e,t){return y(),w("svg",RSe,[...t[0]||(t[0]=[x("path",{d:"M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17"},null,-1)])])}var NSe={render:BD},MSe=me({default:()=>DSe,render:()=>UD}),LSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function UD(e,t){return y(),w("svg",LSe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9"},null,-1)])])}var DSe={render:UD},BSe=me({default:()=>jSe,render:()=>jD}),USe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function jD(e,t){return y(),w("svg",USe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35"},null,-1)])])}var jSe={render:jD},FSe=me({default:()=>zSe,render:()=>FD}),QSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FD(e,t){return y(),w("svg",QSe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2"},null,-1),x("path",{fill:"currentColor",d:"M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)])])}var zSe={render:FD},HSe=me({default:()=>qSe,render:()=>QD}),VSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function QD(e,t){return y(),w("svg",VSe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2
230 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"},null,-1)])])}var qSe={render:QD},ZSe=me({default:()=>WSe,render:()=>zD}),XSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zD(e,t){return y(),w("svg",XSe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"},null,-1),x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"},null,-1)])])}var WSe={render:zD},YSe=me({default:()=>KSe,render:()=>HD}),GSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function HD(e,t){return y(),w("svg",GSe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)])])}var KSe={render:HD},JSe=me({default:()=>twe,render:()=>VD}),ewe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function VD(e,t){return y(),w("svg",ewe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z"},null,-1)])])}var twe={render:VD},nwe=me({default:()=>awe,render:()=>qD}),rwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qD(e,t){return y(),w("svg",rwe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75"},null,-1)])])}var awe={render:qD},iwe=me({default:()=>swe,render:()=>ZD}),owe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function ZD(e,t){return y(),w("svg",owe,[...t[0]||(t[0]=[x("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),x("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5"},null,-1)])])}var swe={render:ZD},lwe=me({default:()=>uwe,render:()=>XD}),cwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XD(e,t){return y(),w("svg",cwe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2"},null,-1)])])}var uwe={render:XD},dwe=me({default:()=>hwe,render:()=>WD}),fwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function WD(e,t){return y(),w("svg",fwe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7"},null,-1)])])}var hwe={render:WD},pwe=me({default:()=>gwe,render:()=>YD}),mwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function YD(e,t){return y(),w("svg",mwe,[...t[0]||(t[0]=[x("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),x("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)])])}var gwe={render:YD},bwe=me({default:()=>vwe,render:()=>GD}),ywe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function GD(e,t){return y(),w("svg",ywe,[...t[0]||(t[0]=[x("path",{d:"M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614"},null,-1),x("path",{d:"m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202"},null,-1)])])}var vwe={render:GD},Owe=me({default:()=>wwe,render:()=>KD}),Swe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function KD(e,t){return y(),w("svg",Swe,[...t[0]||(t[0]=[x("path",{d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"},null,-1)])])}var wwe={render:KD},xwe=me({default:()=>Awe,render:()=>JD}),kwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JD(e,t){return y(),w("svg",kwe,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z"},null,-1)])])}var Awe={render:JD},Twe=me({default:()=>_we,render:()=>eB}),Ewe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function eB(e,t){return y(),w("svg",Ewe,[...t[0]||(t[0]=[x("path",{d:"M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5"},null,-1),x("path",{d:"M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5"},null,-1)])])}var _we={render:eB},Cwe=me({default:()=>Pwe,render:()=>tB}),$we={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tB(e,t){return y(),w("svg",$we,[...t[0]||(t[0]=[x("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2
230 0 1 4 0"},null,-1)])])}var Pwe={render:tB},Iwe=me({default:()=>Nwe,render:()=>nB}),Rwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"};function nB(e,t){return y(),w("svg",Rwe,[...t[0]||(t[0]=[x("path",{d:"M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75"},null,-1)])])}var Nwe={render:nB},Mwe=me({default:()=>Dwe,render:()=>rB}),Lwe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function rB(e,t){return y(),w("svg",Lwe,[...t[0]||(t[0]=[x("path",{d:"M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z"},null,-1)])])}var Dwe={render:rB},Bwe=me({default:()=>jwe,render:()=>aB}),Uwe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function aB(e,t){return y(),w("svg",Uwe,[...t[0]||(t[0]=[x("path",{d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"},null,-1)])])}var jwe={render:aB},Fwe=me({default:()=>zwe,render:()=>iB}),Qwe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function iB(e,t){return y(),w("svg",Qwe,[...t[0]||(t[0]=[x("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z","clip-rule":"evenodd"},null,-1)])])}var zwe={render:iB},Hwe=me({default:()=>qwe,render:()=>oB}),Vwe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function oB(e,t){return y(),w("svg",Vwe,[...t[0]||(t[0]=[x("path",{d:"M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.
23018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z"},null,-1)])])}var qwe={render:oB},Zwe=me({default:()=>Wwe,render:()=>sB}),Xwe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function sB(e,t){return y(),w("svg",Xwe,[...t[0]||(t[0]=[x("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565"},null,-1)])])}var Wwe={render:sB},Ywe=me({default:()=>Kwe,render:()=>lB}),Gwe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function lB(e,t){return y(),w("svg",Gwe,[...t[0]||(t[0]=[x("path",{d:"M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51"},null,-1),x("path",{d:"m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z"},null,-1)])])}var Kwe={render:lB},Jwe=me({default:()=>t3e,render:()=>cB}),e3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function cB(e,t){return y(),w("svg",e3e,[...t[0]||(t[0]=[x("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5"},null,-1)])])}var t3e={render:cB},n3e=me({default:()=>a3e,render:()=>uB}
23),r3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function uB(e,t){return y(),w("svg",r3e,[...t[0]||(t[0]=[x("path",{d:"M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z"},null,-1)])])}var a3e={render:uB},i3e=me({default:()=>s3e,render:()=>dB}),o3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function dB(e,t){return y(),w("svg",o3e,[...t[0]||(t[0]=[x("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z"},null,-1)])])}var s3e={render:dB},l3e=me({default:()=>u3e,render:()=>fB}),c3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function fB(e,t){return y(),w("svg",c3e,[...t[0]||(t[0]=[x("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z"},null,-1)])])}var u3e={render:fB},d3e=me({default:()=>h3e,render:()=>hB}),f3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"};function hB(e,t){return y(),w("svg",f3e,[...t[0]||(t[0]=[x("path",{d:"m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71"},null,-1)])])}var h3e={render:hB},p3e=me({default:()=>g3e,render:()=>pB}),m3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function pB(e,t){return y(),w("svg",m3e,[...t[0]||(t[0]=[x("path",{d:"M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z"},null,-1)])])}var g3e={render:pB},b3e=me({default:()=>v3e,render:()=>mB}
23),y3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function mB(e,t){return y(),w("svg",y3e,[...t[0]||(t[0]=[x("path",{d:"M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1"},null,-1)])])}var v3e={render:mB},O3e=me({default:()=>w3e,render:()=>gB}),S3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function gB(e,t){return y(),w("svg",S3e,[...t[0]||(t[0]=[x("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z"},null,-1)])])}var w3e={render:gB},x3e=me({default:()=>A3e,render:()=>bB}),k3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function bB(e,t){return y(),w("svg",k3e,[...t[0]||(t[0]=[x("path",{d:"M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1"},null,-1)])])}var A3e={render:bB},T3e=me({default:()=>_3e,render:()=>yB}
23),E3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function yB(e,t){return y(),w("svg",E3e,[...t[0]||(t[0]=[x("path",{d:"M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05"},null,-1),x("path",{d:"M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36"},null,-1),x("path",{d:"M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38"},null,-1)])])}var _3e={render:yB},C3e=me({default:()=>P3e,render:()=>vB}),$3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function vB(e,t){return y(),w("svg",$3e,[...t[0]||(t[0]=[x("path",{d:"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z"},null,-1)])])}var P3e={render:vB},I3e=me({default:()=>N3e,render:()=>OB}),R3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function OB(e,t){return y(),w("svg",R3e,[...t[0]||(t[0]=[x("path",{d:"M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43"},null,-1),x("path",{d:"M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12"},null,-1)])])}var N3e={render:OB},M3e=me({default:()=>D3e,render:()=>SB}),L3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function SB(e,t){return y(),w("svg",L3e,[...t[0]||(t[0]=[x("circle",{cx:"64",cy:"36.57",r:"27.43"},null,-1),x("circle",{cx:"32.32",cy:"91.43",r:"27.43"},null,-1),x("circle",{cx:"95.68",cy:"91.43",r:"27.43"},null,-1)])])}var D3e={render:SB},B3e=me({default:()=>j3e,render:()=>wB}),U3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function wB(e,t){return y(),w("svg",U3e,[...t[0]||(t[0]=[x("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)])])}var j3e={render:wB},F3e=me({default:()=>z3e,render:()=>xB}),Q3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function xB(e,t){return y(),w("svg",Q3e,[...t[0]||(t[0]=[x("path",{d:"M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69"},null,-1),x("path",{d:"M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85"},null,-1)])])}var z3e={render:xB},H3e=me({default:()=>q3e,render:()=>kB}
23),V3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function kB(e,t){return y(),w("svg",V3e,[...t[0]||(t[0]=[x("path",{d:"M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z"},null,-1),x("path",{d:"M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"},null,-1)])])}var q3e={render:kB},Z3e=me({default:()=>W3e,render:()=>AB}),X3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function AB(e,t){return y(),w("svg",X3e,[...t[0]||(t[0]=[x("path",{d:"M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832
2313.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0"},null,-1)])])}var W3e={render:AB},Y3e=me({default:()=>K3e,render:()=>TB}),G3e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function TB(e,t){return y(),w("svg",G3e,[...t[0]||(t[0]=[x("path",{d:"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29"},null,-1)])])}var K3e={render:TB},J3e=me({default:()=>txe,render:()=>EB}),exe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"};function EB(e,t){return y(),w("svg",exe,[...t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1","clip-rule":"evenodd"},null,-1)])])}var txe={render:EB},nxe=me({default:()=>axe,render:()=>_B}),rxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function _B(e,t){return y(),w("svg",rxe,[...t[0]||(t[0]=[x("path",{d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"},null,-1)])])}var axe={render:_B},ixe=me({default:()=>sxe,render:()=>CB}
23),oxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function CB(e,t){return y(),w("svg",oxe,[...t[0]||(t[0]=[x("path",{d:"M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z"},null,-1),x("path",{"fill-rule":"evenodd",d:"M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"},null,-1)])])}var sxe={render:CB},lxe=me({default:()=>uxe,render:()=>$B}),cxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function $B(e,t){return y(),w("svg",cxe,[...t[0]||(t[0]=[x("path",{d:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z"},null,-1)])])}var uxe={render:$B},dxe=me({default:()=>hxe,render:()=>PB}),fxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function PB(e,t){return y(),w("svg",fxe,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
23036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var hxe={render:PB},pxe=me({default:()=>gxe,render:()=>IB}),mxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function IB(e,t){return y(),w("svg",mxe,[...t[0]||(t[0]=[x("path",{d:"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z"},null,-1)])])}var gxe={render:IB},bxe=me({default:()=>vxe,render:()=>RB}),yxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"};function RB(e,t){return y(),w("svg",yxe,[...t[0]||(t[0]=[x("path",{d:"m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z"},null,-1)])])}var vxe={render:RB},Oxe=me({default:()=>wxe,render:()=>NB}),Sxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"};function NB(e,t){return y(),w("svg",Sxe,[...t[0]||(t[0]=[x("path",{d:"M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5"},null,-1)])])}var wxe={render:NB},xxe=me({default:()=>Axe,render:()=>MB}),kxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function MB(e,t){return y(),w("svg",kxe,[...t[0]||(t[0]=[x("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"},null,-1)])])}var Axe={render:MB},Txe=me({default:()=>_xe,render:()=>LB}),Exe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function LB(e,t){return y(),w("svg",Exe,[...t[0]||(t[0]=[x("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6"},null,-1)])])}var _xe={render:LB},Cxe=me({default:()=>Pxe,render:()=>DB}),$xe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function DB(e,t){return y(),w("svg",$xe,[...t[0]||(t[0]=[x("path",{d:"M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18"},null,-1)])])}var Pxe={render:DB},Ixe=me({default:()=>Nxe,render:()=>BB}
23),Rxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function BB(e,t){return y(),w("svg",Rxe,[...t[0]||(t[0]=[x("path",{d:"M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12"},null,-1)])])}var Nxe={render:BB},Mxe=me({default:()=>Dxe,render:()=>UB}),Lxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function UB(e,t){return y(),w("svg",Lxe,[...t[0]||(t[0]=[x("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z","clip-rule":"evenodd"},null,-1)])])}var Dxe={render:UB},Bxe=me({default:()=>jxe,render:()=>jB}),Uxe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"};function jB(e,t){return y(),w("svg",Uxe,[...t[0]||(t[0]=[x("path",{d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"},null,-1)])])}var jxe={render:jB},Fxe=me({default:()=>zxe,render:()=>FB}),Qxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function FB(e,t){return y(),w("svg",Qxe,[...t[0]||(t[0]=[eu('<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm
23-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m
23-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m
23-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>',29)])])}var zxe={render:FB},Hxe=me({default:()=>qxe,render:()=>QB}),Vxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function QB(e,t){return y(),w("svg",Vxe,[...t[0]||(t[0]=[x("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),x("path",{fill:"#fff",d:"M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z"},null,-1)])])}var qxe={render:QB},Zxe=me({default:()=>Wxe,render:()=>zB}),Xxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function zB(e,t){return y(),w("svg",Xxe,[...t[0]||(t[0]=[eu('<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.
2304-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>',9)])])}var Wxe={render:zB},Yxe=me({default:()=>Kxe,render:()=>HB}),Gxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function HB(e,t){return y(),w("svg",Gxe,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z"},null,-1)])])}var Kxe={render:HB},Jxe=me({default:()=>t8e,render:()=>VB}),e8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function VB(e,t){return y(),w("svg",e8e,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z"},null,-1)])])}var t8e={render:VB},n8e=me({default:()=>a8e,render:()=>qB}),r8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function qB(e,t){return y(),w("svg",r8e,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z"},null,-1)])])}var a8e={render:qB},i8e=me({default:()=>s8e,render:()=>ZB}),o8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function ZB(e,t){return y(),w("svg",o8e,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"M1.81 10.714c-.046 0-.058-.023-.034
23-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z"},null,-1),x("path",{fill:"currentColor",d:"M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z"},null,-1)])])}var s8e={render:ZB},l8e=me({default:()=>u8e,render:()=>XB}),c8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function XB(e,t){return y(),w("svg",c8e,[...t[0]||(t[0]=[x("path",{fill:"#FF5B11",d:"M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787",opacity:".993"},null,-1),x("path",{fill:"#FF9758",d:"M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z"},null,-1)])])}var u8e={render:XB},d8e=me({default:()=>h8e,render:()=>WB}),f8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function WB(e,t){return y(),w("svg",f8e,[...t[0]||(t[0]=[x("path",{fill:"#FF2D20",d:"M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z"},null,-1)])])}var h8e={render:WB},p8e=me({default:()=>g8e,render:()=>YB}),m8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function YB(e,t){return y(),w("svg",m8e,[...t[0]||(t[0]=[eu('<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>',2)])])}var g8e={render:YB},b8e=me({default:()=>v8e,render:()=>GB}),y8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function GB(e,t){return y(),w("svg",y8e,[...t[0]||(t[0]=[x("path",{fill:"#E0234E","fill-rule":"evenodd",d:"M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.01
237a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217","clip-rule":"evenodd"},null,-1)])])}var v8e={render:GB},O8e=me({default:()=>w8e,render:()=>KB}),S8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function KB(e,t){return y(),w("svg",S8e,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04"},null,-1)])])}var w8e={render:KB},x8e=me({default:()=>A8e,render:()=>JB}),k8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function JB(e,t){return y(),w("svg",k8e,[...t[0]||(t[0]=[eu('<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>',2)])])}var A8e={render:JB},T8e=me({default:()=>_8e,render:()=>eU}),E8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function eU(e,t){return y(),w("svg",E8e,[...t[0]||(t[0]=[x("path",{fill:"#00DC82",d:"M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488"},null,-1)])])}var _8e={render:eU},C8e=me({default:()=>P8e,render:()=>tU}),$8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function tU(e,t){return y(),w("svg",$8e,[...t[0]||(t[0]=[eu('<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>',10)])])}var P8e={render:tU},I8e=me({default:()=>N8e,render:()=>nU}),R8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function nU(e,t){return y(),w("svg",R8e,[...t[0]||(t[0]=[x("path",{stroke:"#21FA90","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91"},null,-1),x("path",{stroke:"#00050B","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":".885",d:"m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217"},null,-1)])])}var N8e={render:nU},M8e=me({default:()=>D8e,render:()=>rU}),L8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function rU(e,t){return y(),w("svg",L8e,[...t[0]||(t[0]=[x("path",{fill:"#61DAFB",d:"M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565"},null,-1),x("path",{stroke:"#61DAFB","stroke-width":".87",d:"M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z"},null,-1),x("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z"},null,-1),x("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z"},null,-1)])])}var D8e={render:rU},B8e=me({default:()=>j8e,render:()=>aU}),U8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function aU(e,t){return y(),w("svg",U8e,[...t[0]||(t[0]=[x("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.
23036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)])])}var j8e={render:aU},F8e=me({default:()=>z8e,render:()=>iU}),Q8e={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"};function iU(e,t){return y(),w("svg",Q8e,[...t[0]||(t[0]=[x("path",{fill:"#FF3E00",d:"M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182"},null,-1),x("path",{fill:"#fff",d:"M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489"},null,-1)])])}var z8e={render:iU},H8e=me({default:()=>q8e,render:()=>oU}),V8e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};function oU(e,t){return y(),w("svg",V8e,[...t[0]||(t[0]=[x("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),x("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)])])}var q8e={render:oU},yE=Object.assign({"../icons/Add.svg":dve,"../icons/AddTab.svg":pve,"../icons/Alert.svg":bve,"../icons/ArrowLeft.svg":Ove,"../icons/ArrowRight.svg":xve,"../icons/Brackets.svg":Tve,"../icons/Branch.svg":Cve,"../icons/Changelog.svg":Ive,"../icons/Checkmark.svg":Mve,"../icons/ChevronDown.svg":Bve,"../icons/ChevronLeft.svg":Fve,"../icons/ChevronRight.svg":Hve,"../icons/ChevronUp.svg":Zve,"../icons/Clipboard.svg":Yve,"../icons/Close.svg":Jve,"../icons/CloseTab.svg":nOe,"../icons/CloseTabs.svg":iOe,"../icons/Cloud.svg":lOe,"../icons/CodeFolder.svg":dOe,"../icons/Cog.svg":pOe,"../icons/Collection.svg":bOe,"../icons/Cookie.svg":OOe,"../icons/DarkMode.svg":xOe,"../icons/Delete.svg":TOe,"../icons/Discord.svg":COe,"../icons/DocsPage.svg":IOe,"../icons/Download.svg":MOe,"../icons/Duplicate.svg":BOe,"../icons/Edit.svg":FOe,"../icons/Ellipses.svg":HOe,"../icons/Email.svg":ZOe,"../icons/Error.svg":YOe,"../icons/Example.svg":JOe,"../icons/ExternalLink.svg":n4e,"../icons/FilterList.svg":i4e,"../icons/Folder.svg":l4e,"../icons/GitHub.svg":d4e,"../icons/GitHubLine.svg":p4e,"../icons/Globe.svg":b4e,"../icons/Google.svg":O4e,"../icons/Help.svg":x4e,"../icons/Hide.svg":T4e,"../icons/History.svg":C4e,"../icons/House.svg":I4e,"../icons/Import.svg":M4e,"../icons/Info.svg":B4e,"../icons/Key.svg":F4e,"../icons/Leave.svg":H4e,"../icons/LightDarkModeToggle.svg":Z4e,"../icons/LightMode.svg":Y4e,"../icons/Link.svg":J4e,"../icons/Lock.svg":nSe,"../icons/Logo.svg":iSe,"../icons/Magic.svg":lSe,"../icons/Markdown.svg":dSe,"../icons/Menu.svg":pSe,"../icons/NotAllowed.svg":bSe,"../icons/Page.svg":OSe,"../icons/Pencil.svg":xSe,"../icons/Play.svg":TSe,"../icons/Refresh.svg":CSe,"../icons/R
23oadmap.svg":ISe,"../icons/Scribble.svg":MSe,"../icons/Search.svg":BSe,"../icons/Server.svg":FSe,"../icons/Settings.svg":HSe,"../icons/Show.svg":ZSe,"../icons/Sort.svg":YSe,"../icons/Terminal.svg":JSe,"../icons/Trash.svg":nwe,"../icons/Unlock.svg":iwe,"../icons/Unwatch.svg":lwe,"../icons/Upload.svg":dwe,"../icons/User.svg":pwe,"../icons/UserSwitch.svg":bwe,"../icons/Users.svg":Owe,"../icons/Versions.svg":xwe,"../icons/Wallet.svg":Twe,"../icons/Watch.svg":Cwe,"../icons/Workspace.svg":Iwe,"../icons/programming-framework-angular.svg":Mwe,"../icons/programming-framework-astro.svg":Bwe,"../icons/programming-framework-laravel.svg":Fwe,"../icons/programming-framework-nextdotjs.svg":Hwe,"../icons/programming-framework-react.svg":Zwe,"../icons/programming-framework-vuedotjs.svg":Ywe,"../icons/programming-language-c.svg":Jwe,"../icons/programming-language-clojure.svg":n3e,"../icons/programming-language-csharp.svg":i3e,"../icons/programming-language-css3.svg":l3e,"../icons/programming-language-dart.svg":d3e,"../icons/programming-language-fsharp.svg":p3e,"../icons/programming-language-go.svg":b3e,"../icons/programming-language-html5.svg":O3e,"../icons/programming-language-http.svg":x3e,"../icons/programming-language-java.svg":T3e,"../icons/programming-language-javascript.svg":C3e,"../icons/programming-language-json.svg":I3e,"../icons/programming-language-julia.svg":M3e,"../icons/programming-language-kotlin.svg":B3e,"../icons/programming-language-node.svg":F3e,"../icons/programming-language-objc.svg":H3e,"../icons/programming-language-ocaml.svg":Z3e,"../icons/programming-language-php.svg":Y3e,"../icons/programming-language-powershell.svg":J3e,"../icons/programming-language-python.svg":nxe,"../icons/programming-language-r.svg":ixe,"../icons/programming-language-ruby.svg":lxe,"../icons/programming-language-rust.svg":dxe,"../icons/programming-language-scala.svg":pxe,"../icons/programming-language-shell.svg":bxe,"../icons/programming-language-swift.svg":Oxe,"../icons/programming-language-typescript.svg":xxe,"../icons/programming-script-code.svg":Txe,"../icons/programming-tool-git.svg":Cxe,"../icons/programming-tool-tailwindcss.svg":Ixe}),vE=Object.assign({"../logos/Adonisjs.svg":Mxe,"../logos/Astro.svg":Bxe,"../logos/Docusaurus.svg":Fxe,"../logos/Dotnet.svg":Hxe,"../logos/Elysiajs.svg":Zxe,"../logos/Express.svg":Yxe,"../logos/Fastapi.svg":Jxe,"../logos/Fastify.svg":n8e,"../logos/Go.svg":i8e,"../logos/Hono.svg":l8e,"../logos/Laravel.svg":d8e,"../logos/Litestar.svg":p8e,"../logos/Nestjs.svg":b8e,"../logos/Nextjs.svg":O8e,"../logos/Nitro.svg":x8e,"../logos/Nuxt.svg":T8e,"../logos/Openapi.svg":C8e,"../logos/Platformatic.svg":I8e,"../logos/React.svg":M8e,"../logos/Rust.svg":B8e,"../logos/Svelte.svg":F8e,"../logos/Vue.svg":H8e}),Z8e=e=>{const t=`../icons/${e}.svg`;return yE[t]?yE[t]:(console.warn(`Could not find icon: ${e}`),null)},X8e=e=>{const t=`../logos/${e}.svg`;return vE[t]?vE[t]:(console.warn(`Could not find icon: ${e}`),null)},W8e=F({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){nG(o=>({c07589c2:r.value}));const t=e,{cx:n}=$t(),r=$(()=>t.thickness??"2"),a=$(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"}),i=$(()=>{if(t.icon)return Z8e(t.icon);if(t.logo)return X8e(t.logo)});return(o,s)=>(y(),M(Wt(i.value),jt(Xt({...b(n)("scalar-icon",b($L)({size:e.size})),...a.value})),null,16))}}),ua=Ns(W8e,[["__scopeId","data-v-b651bb23"]]),Y8e=F({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){const{cx:t}=$t();return(n,r)=>typeof e.icon=="string"?(y(),M(ua,Te({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,["icon"])):(y(),M(Wt(e.icon),Te({key:1,label:e.label,weight:e.weight},b(t)(b($L)({size:e.size}))),null,16,["label","weight"]))}}),hv=Y8e,G8e={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},K8e={class:"group/button-label flex-1 min-w-0"},J8e=F({inheritAttrs:!1,__name:"ScalarSidebarButton",props:{is:{default:"a"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){const t=Ur({base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word"],variants:{active:{true:"text-sidebar-c-active font-sidebar-active"},disabled:{true:"cursor-auto"},selected:{true:"cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active"}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"},{selected:!1,disabled:!1,active:!0,class:"hover:bg-sidebar-b-hover"}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=$t();return(r,a)=>(y(),M(Wt(e.is),Te({"aria-current":e.selected?"page":void 0,type:e.is==="button"?"button":void 0},b(n)(b(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:I(()=>[q(r.$slots,"indent",{}
23,()=>[N(fv,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?(y(),w("div",G8e,[q(r.$slots,"icon",{},()=>[e.icon?(y(),M(b(hv),{key:0,icon:e.icon},null,8,["icon"])):U("",!0)])])):U("",!0),x("div",K8e,[q(r.$slots,"default")]),q(r.$slots,"aside")]),_:3},16,["aria-current","type"]))}}),fh=J8e,e6e=F({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){const{cx:t}=$t(),n=$(()=>e.mode==="dark"?"Set light mode":"Set dark mode");return(r,a)=>(y(),M(Wt(e.is),Te({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is==="button"?"button":void 0},b(t)("size-3 flex items-center justify-center text-c-1")),{default:I(()=>[...a[0]||(a[0]=[x("span",{class:"toggle-icon-sun-ray"},null,-1),x("span",{class:"toggle-icon-sun-ray"},null,-1),x("span",{class:"toggle-icon-sun-ray"},null,-1),x("span",{class:"toggle-icon-sun-ray"},null,-1),x("span",{class:"toggle-icon-ellipse"},[x("span",{class:"toggle-icon-moon-mask"})],-1)])]),_:1},16,["aria-label","class","type"]))}}),Q6=Ns(e6e,[["__scopeId","data-v-60be8692"]]),t6e=["aria-pressed"],n6e=F({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const{cx:t}=$t(),n=Tn(e,"modelValue");return(r,a)=>(y(),w("button",Te({"aria-pressed":n.value,type:"button"},b(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:a[0]||(a[0]=i=>n.value=!n.value)}),[a[1]||(a[1]=x("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1)),x("div",{class:Oe(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":n.value}])},[N(Q6,{is:"div",mode:n.value?"dark":"light"},null,8,["mode"])],2)],16,t6e))}}),sU=n6e;const OE={light:"light-mode",dark:"dark-mode"},r6e=(e,t=document.body)=>{t.classList.toggle(OE.dark,e==="dark"),t.classList.toggle(OE.light,e==="light")},a6e=()=>{var e;return typeof window>"u"?"light":typeof window.matchMedia!="function"||(e=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&e.matches?"dark":"light"},Jo=J("dark"),Pp=J("light"),i6e=kt([ce("system"),ce("dark"),ce("light")]);function lU(e={}){var h;const{initialColorMode:t="system",overrideColorMode:n}=e;function r(){var p;Jo.value=o.value==="dark"?"light":"dark",!(typeof window>"u")&&((p=window==null?void 0:window.localStorage)==null||p.setItem("colorMode",Jo.value))}function a(p){var m;Jo.value=p,!(typeof window>"u")&&((m=window==null?void 0:window.localStorage)==null||m.setItem("colorMode",Jo.value))}function i(){return a6e()}const o=$({get:()=>Jo.value==="system"?Pp.value:Jo.value,set:a}),s=$({get:()=>o.value==="dark",set:p=>a(p?"dark":"light")});function l(){if(typeof document>"u"||typeof window>"u")return;const p=n??(Jo.value==="system"?Pp.value:Jo.value);r6e(p==="dark"?"dark":"light")}const c=typeof window>"u"?"system":(h=window==null?void 0:window.localStorage)==null?void 0:h.getItem("colorMode"),u=cm(i6e,c)?c:null;Jo.value=n??u??t,ze([Jo,Pp],l,{immediate:!0});const d=()=>{Pp.value=i()},f=J(null);return Lt(()=>{var p;Pp.value=i(),typeof window<"u"&&typeof(window==null?void 0:window.matchMedia)=="function"&&(f.value=window.matchMedia("(prefers-color-scheme: dark)"),(p=f.value)==null||p.addEventListener("change",d))}),Da(()=>{var p;(p=f.value)==null||p.removeEventListener("change",d)}),{colorMode:$({get:()=>Jo.value,set:a}),darkLightMode:o,isDarkMode:s,toggleColorMode:r,setColorMode:a,getSystemModePreference:i}}var o6e=F({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){const{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=lU(),a=$(()=>t.value?"Set light mode":"Set dark mode");return(i,o)=>e.variant==="switch"?(y(),M(sU,{key:0,modelValue:b(t),"onUpdate:modelValue":o[0]||(o[0]=s=>v8(t)?t.value=s:null),"aria-label":a.value},null,8,["modelValue","aria-label"])):(y(),M(Q6,{key:1,"aria-label":a.value,mode:b(r),onClick:b(n)},null,8,["aria-label","mode","onClick"]))}}),s6e=o6e,l6e={class:"flex items-center"},c6e={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},u6e=F({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[q(n.$slots,"default"),x("div",l6e,[x("div",c6e,[q(n.$slots,"description",{},()=>[r[0]||(r[0]=x("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1))])]),q(n.$slots,"toggle",{},()=>[N(b(s6e))])])],16))}}),d6e=u6e,f6e={class:"sr-only"},h6e=F({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){const t=Ur({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:n}=$t();return(r,a)=>(y(),M(Wt(e.is),Te({type:e.is==="button"?"button":void 0},b(n)(b(t)({open:e.open}))),{default:I(()=>[q(r.$slots,"default",{open:e.open},()=>[e.icon?(y(),M(b(hv),{key:0,icon:e.icon},null,8,["icon"])):(y(),M(b(Z0),{key:1,class:"size-3",weight:"bold"}))]),x("span",f6e,[q(r.$slots,"label",{open:e.open},()=>[ae(H(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}}),rb=h6e,p6e=["aria-expanded"],m6e=F({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleButton",props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){const t=Ur({base:["absolute top-[1lh] right-1.25 -translate-y-1/2","rounded p-0.75 text-sidebar-c-2"],variants:{selected:{true:"hover:bg-sidebar-b-1 hover:text-sidebar-c-1",fal
23se:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"}},defaultVariants:{selected:!1}}),{cx:n}=$t();return(r,a)=>(y(),w("button",Te({"aria-expanded":e.open,type:"button"},b(n)(b(t)({selected:e.selected}))),[q(r.$slots,"default",{open:e.open},()=>[N(rb,{open:e.open},xr({_:2},[r.$slots.label?{name:"label",fn:I(()=>[q(r.$slots,"label",{open:e.open})]),key:"0"}:void 0]),1032,["open"])])],16,p6e))}}),cU=m6e,g6e=F({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleSpacer",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("size-4"))),null,16))}}),uU=g6e,Z1=Symbol(),z6=(e={})=>{const{increment:t=!1,reset:n=!1}=e,r=Rn(Z1,0);return n?_n(Z1,0):t&&r<6?_n(Z1,r+1):_n(Z1,r),{level:r}},b6e=F({inheritAttrs:!1,__name:"ScalarSidebarItem",props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){const t=e,{level:n}=z6(),{cx:r}=$t();return(a,i)=>(y(),w("li",jt(Xt(b(r)("group/item flex flex-col text-base"))),[q(a.$slots,"before"),q(a.$slots,"button",{level:b(n)},()=>[N(fh,Te(t,{indent:e.indent??b(n)}),xr({_:2},[a.$slots.default?{name:"default",fn:I(()=>[q(a.$slots,"default")]),key:"0"}:void 0,a.$slots.icon?{name:"icon",fn:I(()=>[q(a.$slots,"icon")]),key:"1"}:void 0,a.$slots.aside?{name:"aside",fn:I(()=>[q(a.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),q(a.$slots,"after")],16))}}),dU=b6e,y6e=F({__name:"ScalarSidebarLoading",props:{items:{default:4}},setup(e){return(t,n)=>(y(!0),w(de,null,it(e.items,r=>(y(),M(dU,{key:r,class:"pointer-events-none"},{default:I(()=>[...n[0]||(n[0]=[x("div",{class:"group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px"},null,-1)])]),_:1}))),128))}}),fU=y6e,v6e={class:"group/group-button relative flex flex-col text-base"},O6e={key:0,class:"group/items flex flex-col gap-px"},S6e=F({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:Cn({is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Cn(["click","toggle"],["update:open"]),setup(e,{emit:t}){const n=t,r=Tn(e,"open"),{level:a}=z6({increment:!0}),{cx:i}=$t(),o=l=>{n("click",l),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=l=>{n("toggle",l),!e.controlled&&e.discrete&&(r.value=!r.value)};return(l,c)=>(y(),M(Wt(e.is),jt(Xt(b(i)("group/item flex flex-col gap-px"))),{default:I(()=>[x("div",v6e,[q(l.$slots,"before",{open:r.value}),q(l.$slots,"button",{level:b(a),open:r.value},()=>[N(fh,{is:"button",active:e.active,"aria-expanded":e.discrete?void 0:r.value,disabled:e.disabled,icon:e.icon,indent:b(a),selected:e.selected,onClick:o},xr({indent:I(()=>[N(fv,{class:"mr-0 -my-2",indent:b(a),selected:e.selected},null,8,["indent","selected"])]),aside:I(()=>[q(l.$slots,"aside",{open:r.value}),e.discrete?(y(),M(uU,{key:0})):q(l.$slots,"toggle",{open:r.value},()=>[N(rb,{class:"text-sidebar-c-2",open:r.value},null,8,["open"])],void 0,1)]),default:I(()=>[q(l.$slots,"default",{open:r.value})]),_:2},[l.$slots.icon?{name:"icon",fn:I(()=>[q(l.$slots,"icon",{open:r.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?(y(),M(cU,{key:0,open:r.value,selected:e.selected,onClick:s},{default:I(()=>[q(l.$slots,"toggle",{open:r.value},()=>[N(rb,{open:r.value},{label:I(()=>[ae(H(r.value?"Close":"Open")+" ",1),q(l.$slots,"default",{open:r.value})]),_:3},8,["open"])])]),_:3},8,["open","selected"])):U("",!0)]),q(l.$slots,"after",{open:r.value})]),r.value?(y(),w("ul",O6e,[e.loading?(y(),M(fU,{key:0})):q(l.$slots,"items",{open:r.value},void 0,void 0,1)])):U("",!0)]),_:3},16))}}),w6e=S6e,x6e=Symbol(),k6e=()=>{const e=JS(new Set),t=$(()=>{for(const n of e)if(n())return!0;return!1});return _n(x6e,e),{open:t}},A6e=F({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){const{open:t}=k6e(),{cx:n}=$t();return(r,a)=>(y(),M(Wt(e.is),jt(Xt(b(n)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",b(t)?"-translate-x-full":"translate-x-0"))),{default:I(()=>[q(r.$slots,"default")]),_:3},16))}}),T6e=A6e,E6e=F({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("flex px-2 h-1"))),[N(fv,{indent:e.indent},null,8,["indent"])],16))}}),SE=E6e,_6e={class:"flex-1 text-start leading-none"},C6e={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},$6e={class:"sr-only"},P6e={dir:"ltr"},I6e=F({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",props:{shortcutLabel:{default:"Keyboard Shortcut:"}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("button",Te({type:"button"},b(t)("flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1","bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search")),[N(b(X0),{"aria-hidden":"true",class:"size-4"}),x("span",_6e,[q(n.$slots,"default",{},()=>[r[0]||(r[0]=ae("Search...",-1))])]),n.$slots.shortcut?(y(),w("span",C6e,[x("span",$6e,H(e.shortcutLabel),1),x("kbd",P6e,[q(n.$slots,"shortcut")])])):U("",!0)],16))}}),R6e=I6e,N6e={class:"circular-loader"},M6e=F({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){const{cx:t}=$t(),n=Ur({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,a)=>e.loader?(y(),w("div",jt(Te({key:0},b(t)("loader-wrapper",b(n)({size:e.size}
23)))),[(y(),w("svg",{class:Oe(["svg-loader",{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[a[0]||(a[0]=eu('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>',5)),x("g",N6e,[x("circle",{class:Oe(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):U("",!0)}}),hU=Ns(M6e,[["__scopeId","data-v-27df5cd8"]]),pU={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 shadow-border bg-b-1 text-c-1 hover:bg-b-2"],ghost:["scalar-button-ghost","bg-transparent text-c-2 active:text-c-1 hover:text-c-1"],gradient:["scalar-button-gradient","shadow-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"]},Mw="scalar-tooltip",L6e="scalar-tooltip",i2=J(),Nn=J(),Lc=J(),{floatingStyles:ef,placement:D6e,update:B6e}=DI($(()=>{var e;return b((e=Lc.value)==null?void 0:e.targetRef)}),Nn,{placement:$(()=>{var e;return b((e=Lc.value)==null?void 0:e.placement)}),whileElementsMounted:BI,middleware:$(()=>[UI(),jI()])});ze(D6e,e=>{!Nn.value||!e||(Nn.value.dataset.side=e.split("-")[0])});ze(ef,()=>{Nn.value&&(Nn.value.style.position=ef.value.position,Nn.value.style.top=ef.value.top,Nn.value.style.left=ef.value.left,Nn.value.style.transform=ef.value.transform??"",Nn.value.style.willChange=ef.value.willChange??"")});ze(Lc,e=>{if(Nn.value)if(e){Lw(b(e.targetRef))&&B6e();const t=b(e==null?void 0:e.contentTarget)??"textContent";Nn.value[t]=b(e==null?void 0:e.content)??"";const n=b(e==null?void 0:e.offset)??4;Nn.value.style.setProperty("--scalar-tooltip-offset",`${n}px`),Nn.value.dataset.side=(b(e==null?void 0:e.placement)??"bottom").split("-")[0],Nn.value.style.setProperty("display","block")}else Nn.value.innerHTML="",Nn.value.style.removeProperty("--scalar-tooltip-offset"),Nn.value.style.setProperty("display","none"),Lw(void 0)},{deep:!0});function U6e(){if(typeof document>"u"||typeof window>"u"||Nn.value)return;const e=document.getElementById(Mw);
23e?Nn.value=e:(Nn.value=document.createElement("div"),Nn.value.role="tooltip",Nn.value.id=Mw,Nn.value.classList.add(L6e),Nn.value.classList.add("scalar-app"),Nn.value.style.setProperty("display","none"),Nn.value.addEventListener("mouseleave",Sc),document.body.appendChild(Nn.value))}function Sc(e){z6e(e)&&(o2(),Lc.value=void 0)}function j6e(e){e.key==="Escape"&&(e.stopPropagation(),Sc(e))}function F6e(e){const t=e==null?void 0:e.closest("dialog");if(t)try{return t.matches(":modal")?t:void 0}catch{return}}function Lw(e){if(!Nn.value)return!1;const t=F6e(e)??document.body;return Nn.value.parentElement===t?!1:(t.appendChild(Nn.value),!0)}function o2(){i2.value&&(clearTimeout(i2.value),i2.value=void 0)}function Q6e(e){const t=[];let n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function z6e(e){var n;const t=b((n=Lc.value)==null?void 0:n.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){const r=Q6e(e.relatedTarget);return e.relatedTarget.id!=="scalar-tooltip"&&!r.some(a=>a.id==="scalar-tooltip")&&e.relatedTarget!==t}return!0}function mU(e){U6e();function t(r){const a=b(e.delay)??300;o2(),a>0?i2.value=setTimeout(()=>n(),a):n()}function n(r){o2(),document.addEventListener("keydown",j6e,{once:!0,capture:!0}),Lw(b(e.targetRef)),Lc.value=e}ze(()=>b(e.targetRef),(r,a)=>{a&&(a.removeEventListener("mouseenter",t),a.removeEventListener("mouseleave",Sc),a.removeEventListener("focus",n),a.removeEventListener("blur",Sc),a.removeAttribute("aria-describedby")),r&&(r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",Sc),r.addEventListener("focus",n),r.addEventListener("blur",Sc),r.setAttribute("aria-describedby",Mw))},{immediate:!0}),w0(()=>{var a;o2();const r=b(e.targetRef);r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",Sc),r.removeEventListener("focus",n),r.removeEventListener("blur",Sc),r.removeAttribute("aria-describedby")),b((a=Lc.value)==null?void 0:a.targetRef)===b(e.targetRef)&&(Lc.value=void 0)})}var H6e=["aria-disabled"],V6e={key:0,class:"sr-only"},q6e=F({inheritAttrs:!1,__name:"ScalarIconButton",props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){const t=Ur({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xxs:"size-3.5 p-0.5",xs:"size-5 p-1",sm:"size-6 p-1",md:"size-10 p-3",full:"size-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:pU},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:n}=$t(),r=ai("ref");return mU({content:$(()=>e.label),offset:$(()=>e.variant==="ghost"?0:4),placement:$(()=>
23typeof e.tooltip=="boolean"?void 0:e.tooltip),targetRef:$(()=>e.tooltip?r.value:void 0)}),(a,i)=>(y(),w("button",Te({ref:"ref","aria-disabled":e.disabled,type:"button"},b(n)(b(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[N(b(hv),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?U("",!0):(y(),w("span",V6e,H(e.label),1))],16,H6e))}}),So=q6e,Z6e={class:"flex flex-col gap-px"},X6e=F({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){const{level:t}=z6({increment:!1}),{cx:n}=$t();return(r,a)=>(y(),M(Wt(e.is),jt(Xt(b(n)("group/item group/sidebar-section contents"))),{default:I(()=>[N(SE,{class:"group/spacer-before h-3",indent:b(t)},null,8,["indent"]),r.$slots.default?(y(),M(fh,{key:0,is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:b(t)},{default:I(()=>[q(r.$slots,"default")]),_:3},8,["icon","indent"])):U("",!0),x("ul",Z6e,[e.loading?(y(),M(fU,{key:0})):q(r.$slots,"items",{},void 0,void 0,1)]),N(SE,{class:"group/spacer-after h-3",indent:b(t)},null,8,["indent"])]),_:3},16))}}),H6=X6e;const W6e=e=>e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey;var wE=Object.defineProperty,Y6e=(e,t)=>{let n={};for(var r in e)wE(n,r,{get:e[r],enumerable:!0});return wE(n,Symbol.toStringTag,{value:"Module"}),n},gU=Y6e({default:()=>bU,render:()=>V6}),G6e={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"};function V6(e,t){return y(),w("svg",G6e,[...t[0]||(t[0]=[x("path",{d:"M216 72h-85.33l-27.74-20.8a16.12 16.12 0 0 0-9.6-3.2H40a16 16 0 0 0-16 16v136a16 16 0 0 0 16 16h176.89A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16m0 128H40V64h53.33l29.87 22.4A8 8 0 0 0 128 88h88Z"},null,-1)])])}var bU={render:V6};const K6e=Object.freeze(Object.defineProperty({__proto__:null,default:bU,interface_content_folder_exports:gU,render:V6},Symbol.toStringTag,{value:"Module"}));var yU=Object.assign({
23"./icons/basic-shape-diamond.svg":()=>Be(()=>import("./basic-shape-diamond.svg.js"),__vite__mapDeps([0,1,2])),
23"./icons/basic-shape-hexagon.svg":()=>Be(()=>import("./basic-shape-hexagon.svg.js"),__vite__mapDeps([3,1,2])),
23"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Be(()=>import("./basic-shape-primary-circle-ellipse-round.svg.js"),__vite__mapDeps([4,1,2])),
23"./icons/basic-shape-primary-square-rectangle.svg":()=>Be(()=>import("./basic-shape-primary-square-rectangle.svg.js"),__vite__mapDeps([5,1,2])),
23"./icons/basic-shape-shield.svg":()=>Be(()=>import("./basic-shape-shield.svg.js"),__vite__mapDeps([6,1,2])),
23"./icons/computer-device-desktop-monitor.svg":()=>Be(()=>import("./computer-device-desktop-monitor.svg.js"),__vite__mapDeps([7,1,2])),
23"./icons/computer-device-desktop.svg":()=>Be(()=>import("./computer-device-desktop.svg.js"),__vite__mapDeps([8,1,2])),
23"./icons/computer-device-laptop.svg":()=>Be(()=>import("./computer-device-laptop.svg.js"),__vite__mapDeps([9,1,2])),
23"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Be(()=>import("./computer-device-mobile-phone-android-samsung-back.svg.js"),__vite__mapDeps([10,1,2])),
23"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Be(()=>import("./computer-device-mobile-phone-android-samsung.svg.js"),__vite__mapDeps([11,1,2])),
23"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Be(()=>import("./computer-device-mobile-phone-iphone-x-back.svg.js"),__vite__mapDeps([12,1,2])),
23"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Be(()=>import("./computer-device-mobile-phone-iphone-x.svg.js"),__vite__mapDeps([13,1,2])),
23"./icons/computer-device-mobile-tablet-touch.svg":()=>Be(()=>import("./computer-device-mobile-tablet-touch.svg.js"),__vite__mapDeps([14,1,2])),
23"./icons/computer-device-mobile-tablet.svg":()=>Be(()=>import("./computer-device-mobile-tablet.svg.js"),__vite__mapDeps([15,1,2])),
23"./icons/computer-device-network-ethernet-cat6.svg":()=>Be(()=>import("./computer-device-network-ethernet-cat6.svg.js"),__vite__mapDeps([16,1,2])),
23"./icons/computer-device-network-lan-www.svg":()=>Be(()=>import("./computer-device-network-lan-www.svg.js"),__vite__mapDeps([17,1,2])),
23"./icons/computer-device-network-wifi-connection.svg":()=>Be(()=>import("./computer-device-network-wifi-connection.svg.js"),__vite__mapDeps([18,1,2])),
23"./icons/computer-device-network-wifi-router.svg":()=>Be(()=>import("./computer-device-network-wifi-router.svg.js"),__vite__mapDeps([19,1,2])),
23"./icons/ecology-science-erlenmeyer-flask.svg":()=>Be(()=>import("./ecology-science-erlenmeyer-flask.svg.js"),__vite__mapDeps([20,1,2])),
23"./icons/image-flash-lightning.svg":()=>Be(()=>import("./image-flash-lightning.svg.js"),__vite__mapDeps([21,1,2])),
23"./icons/image-picture-flower.svg":()=>Be(()=>import("./image-picture-flower.svg.js"),__vite__mapDeps([22,1,2])),
23"./icons/interface-alert-exclamation-diamond.svg":()=>Be(()=>import("./interface-alert-exclamation-diamond.svg.js"),__vite__mapDeps([23,1,2])),
23"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Be(()=>import("./interface-alert-exclamation-triangle-warning.svg.js"),__vite__mapDeps([24,1,2])),
23"./icons/interface-alert-information-circle.svg":()=>Be(()=>import("./interface-alert-information-circle.svg.js"),__vite__mapDeps([25,1,2])),
23"./icons/interface-award-crown.svg":()=>Be(()=>import("./interface-award-crown.svg.js"),__vite__mapDeps([26,1,2])),
23"./icons/interface-bookmark-tag.svg":()=>Be(()=>import("./interface-bookmark-tag.svg.js"),__vite__mapDeps([27,1,2])),
23"./icons/interface-bookmark.svg":()=>Be(()=>import("./interface-bookmark.svg.js"),__vite__mapDeps([28,1,2])),
23"./icons/interface-calendar-date-one.svg":()=>Be(()=>import("./interface-calendar-date-one.svg.js"),__vite__mapDeps([29,1,2])),
23"./icons/interface-content-book-open-pages.svg":()=>Be(()=>import("./interface-content-book-open-pages.svg.js"),__vite__mapDeps([30,1,2])),
23"./icons/interface-content-book-page.svg":()=>Be(()=>import("./interface-content-book-page.svg.js"),__vite__mapDeps([31,1,2])),
23"./icons/interface-content-file.svg":()=>Be(()=>import("./interface-content-file.svg.js"),__vite__mapDeps([32,1,2])),
23"./icons/interface-content-folder.svg":()=>Be(()=>Promise.resolve().then(()=>K6e),void 0),
23"./icons/interface-copy-clipboard.svg":()=>Be(()=>import("./interface-copy-clipboard.svg.js"),__vite__mapDeps([33,1,2])),
23"./icons/interface-edit-attachment.svg":()=>Be(()=>import("./interface-edit-attachment.svg.js"),__vite__mapDeps([34,1,2])),
23"./icons/interface-edit-binocular.svg":()=>Be(()=>import("./interface-edit-binocular.svg.js"),__vite__mapDeps([35,1,2])),
23"./icons/interface-edit-magic-wand.svg":()=>Be(()=>import("./interface-edit-magic-wand.svg.js"),__vite__mapDeps([36,1,2])),
23"./icons/interface-edit-tool-paint-roller.svg":()=>Be(()=>import("./interface-edit-tool-paint-roller.svg.js"),__vite__mapDeps([37,1,2])),
23"./icons/interface-edit-tool-pencil.svg":()=>Be(()=>import("./interface-edit-tool-pencil.svg.js"),__vite__mapDeps([38,1,2])),
23"./icons/interface-favorite-award.svg":()=>Be(()=>import("./interface-favorite-award.svg.js"),__vite__mapDeps([39,1,2])),
23"./icons/interface-favorite-flag.svg":()=>Be(()=>import("./interface-favorite-flag.svg.js"),__vite__mapDeps([40,1,2])),
23"./icons/interface-favorite-heart.svg":()=>Be(()=>import("./interface-favorite-heart.svg.js"),__vite__mapDeps([41,1,2])),
23"./icons/interface-favorite-star.svg":()=>Be(()=>import("./interface-favorite-star.svg.js"),__vite__mapDeps([42,1,2])),
23"./icons/interface-favorite-stars-sparkles.svg":()=>Be(()=>import("./interface-favorite-stars-sparkles.svg.js"),__vite__mapDeps([43,1,2])),
23"./icons/interface-hierarchy-flowchart.svg":()=>Be(()=>import("./interface-hierarchy-flowchart.svg.js"),__vite__mapDeps([44,1,2])),
23"./icons/interface-home-house.svg":()=>Be(()=>import("./interface-home-house.svg.js"),__vite__mapDeps([45,1,2])),
23"./icons/interface-hyperlink.svg":()=>Be(()=>import("./interface-hyperlink.svg.js"),__vite__mapDeps([46,1,2])),
23"./icons/interface-lighting-brightness.svg":()=>Be(()=>import("./interface-lighting-brightness.svg.js"),__vite__mapDeps([47,1,2])),
23"./icons/interface-lock-closed.svg":()=>Be(()=>import("./interface-lock-closed.svg.js"),__vite__mapDeps([48,1,2])),
23"./icons/interface-lock-open-unlock.svg":()=>Be(()=>import("./interface-lock-open-unlock.svg.js"),__vite__mapDeps([49,1,2])),
23"./icons/interface-login-key.svg":()=>Be(()=>import("./interface-login-key.svg.js"),__vite__mapDeps([50,1,2])),
23"./icons/interface-search.svg":()=>Be(()=>import("./interface-search.svg.js"),__vite__mapDeps([51,1,2])),
23"./icons/interface-setting-cog.svg":()=>Be(()=>import("./interface-setting-cog.svg.js"),__vite__mapDeps([52,1,2])),
23"./icons/interface-share-megaphone-bullhorn.svg":()=>Be(()=>import("./interface-share-megaphone-bullhorn.svg.js"),__vite__mapDeps([53,1,2])),
23"./icons/interface-share-rocket.svg":()=>Be(()=>import("./interface-share-rocket.svg.js"),__vite__mapDeps([54,1,2])),
23"./icons/interface-share-satellite.svg":()=>Be(()=>import("./interface-share-satellite.svg.js"),__vite__mapDeps([55,1,2])),
23"./icons/interface-share-space-ship.svg":()=>Be(()=>import("./interface-share-space-ship.svg.js"),__vite__mapDeps([56,1,2])),
23"./icons/interface-share.svg":()=>Be(()=>import("./interface-share.svg.js"),__vite__mapDeps([57,1,2])),
23"./icons/interface-signal-square.svg":()=>Be(()=>import("./interface-signal-square.svg.js"),__vite__mapDeps([58,1,2])),
23"./icons/interface-time-clock-circle.svg":()=>Be(()=>import("./interface-time-clock-circle.svg.js"),__vite__mapDeps([59,1,2])),
23"./icons/interface-time-hour-glass.svg":()=>Be(()=>import("./interface-time-hour-glass.svg.js"),__vite__mapDeps([60,1,2])),
23"./icons/interface-users-multiple.svg":()=>Be(()=>import("./interface-users-multiple.svg.js"),__vite__mapDeps([61,1,2])),
23"./icons/interface-weather-moon.svg":()=>Be(()=>import("./interface-weather-moon.svg.js"),__vite__mapDeps([62,1,2])),
23"./icons/mail-chat-bubble-square.svg":()=>Be(()=>import("./mail-chat-bubble-square.svg.js"),__vite__mapDeps([63,1,2])),
23"./icons/mail-send-email-paper-airplane.svg":()=>Be(()=>import("./mail-send-email-paper-airplane.svg.js"),__vite__mapDeps([64,1,2])),
23"./icons/mail-send-envelope.svg":()=>Be(()=>import("./mail-send-envelope.svg.js"),__vite__mapDeps([65,1,2])),
23"./icons/money-cashier-receipt.svg":()=>Be(()=>import("./money-cashier-receipt.svg.js"),__vite__mapDeps([66,1,2])),
23"./icons/money-currency-dollar-pay.svg":()=>Be(()=>import("./money-currency-dollar-pay.svg.js"),__vite__mapDeps([67,1,2])),
23"./icons/money-graph-arrow-increase.svg":()=>Be(()=>import("./money-graph-arrow-increase.svg.js"),__vite__mapDeps([68,1,2])),
23"./icons/money-graph-bar-chart-increase.svg":()=>Be(()=>import("./money-graph-bar-chart-increase.svg.js"),__vite__mapDeps([69,1,2])),
23"./icons/nature-ecology-leaf.svg":()=>Be(()=>import("./nature-ecology-leaf.svg.js"),__vite__mapDeps([70,1,2])),
23"./icons/phone-telephone.svg":()=>Be(()=>import("./phone-telephone.svg.js"),__vite__mapDeps([71,1,2])),
23"./icons/programming-bug.svg":()=>Be(()=>import("./programming-bug.svg.js"),__vite__mapDeps([72,1,2])),
23"./icons/programming-cloud.svg":()=>Be(()=>import("./programming-cloud.svg.js"),__vite__mapDeps([73,1,2])),
23"./icons/programming-computer-database-server.svg":()=>Be(()=>import("./programming-computer-database-server.svg.js"),__vite__mapDeps([74,1,2])),
23"./icons/programming-computer-database.svg":()=>Be(()=>import("./programming-computer-database.svg.js"),__vite__mapDeps([75,1,2])),
23"./icons/programming-module-four-layout.svg":()=>Be(()=>import("./programming-module-four-layout.svg.js"),__vite__mapDeps([76,1,2])),
23"./icons/programming-module-three.svg":()=>Be(()=>import("./programming-module-three.svg.js"),__vite__mapDeps([77,1,2])),
23"./icons/programming-module.svg":()=>Be(()=>import("./programming-module.svg.js"),__vite__mapDeps([78,1,2])),
23"./icons/programming-script-code.svg":()=>Be(()=>import("./programming-script-code.svg.js"),__vite__mapDeps([79,1,2])),
23"./icons/shopping-cart.svg":()=>Be(()=>import("./shopping-cart.svg.js"),__vite__mapDeps([80,1,2])),
23"./icons/shopping-gift-present.svg":()=>Be(()=>import("./shopping-gift-present.svg.js"),__vite__mapDeps([81,1,2])),
23"./icons/shopping-shipping-box-parcel-package.svg":()=>Be(()=>import("./shopping-shipping-box-parcel-package.svg.js"),__vite__mapDeps([82,1,2])),
23"./icons/tag-new-circle.svg":()=>Be(()=>import("./tag-new-circle.svg.js"),__vite__mapDeps([83,1,2])),
23"./icons/travel-map-earth-globe.svg":()=>Be(()=>import("./travel-map-earth-globe.svg.js"),__vite__mapDeps([84,1,2]))
23}),X1=Object.assign({"./icons/interface-content-folder.svg":gU})["./icons/interface-content-folder.svg"];Object.keys(yU).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]}));var Dw=new Map;X1!=null&&X1.default&&Dw.set("interface-content-folder",II(X1.default));async function J6e(e){const t=Dw.get(e);if(t)return t;const n=yU[`./icons/${e}.svg`];if(!n)return;const r=await n(),a=II(r.default??r);return Dw.set(e,a),a}var e5e=F({__name:"LibraryIcon",props:{src:{}},setup(e){const t=e,n=po();return hr(async()=>{n.value=await J6e(t.src)}),(r,a)=>n.value?(y(),M(Wt(n.value),{key:0})):U("",!0)}}),t5e=e5e,n5e={key:0,class:"line-through"},r5e={key:0,class:"line-through"},a5e=F({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){const n=t,r=O8(),a=p=>"isGroup"in p&&p.isGroup,i=p=>("isDeprecated"in p&&p.isDeprecated)??!1,o=(p,m)=>{n("onDragEnd",p,m)},{draggableAttrs:s,draggableEvents:l}=f0e({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),c=$(()=>{var p;return CL(e.item)?M6(e.layout,e.item.children,(p=e.options)==null?void 0:p.hideOperationDefaultExamples):[]}),u=$(()=>{var p;return((p=e.getHref)==null?void 0:p.call(e,e.item))||void 0}),d=$(()=>!!u.value||e.layout==="reference"&&e.item.type==="text"),f=p=>{var g,v,k,S;const m=p?((v=(g=e.options)==null?void 0:g.labels)==null?void 0:v.closeGroup)??"Close Group":((S=(k=e.options)==null?void 0:k.labels)==null?void 0:S.openGroup)??"Open Group";return e.item.title?`${m} - ${e.item.title}`:m},h=p=>{var m;if(u.value){if(((m=p.target instanceof Element?p.target.closest("a"):null)==null?void 0:m.getAttribute("href"))!==u.value||p.defaultPrevented||!W6e(p))return;p.preventDefault()}n("selectItem",e.item.id)};return(p,m)=>{var v;const g=vy("SidebarItem",!0);return c.value.length>0&&a(e.item)?(y(),M(b(H6),Te({key:0,"data-sidebar-id":e.item.id},b(s),Gg(b(l))),{items:I(()=>[(y(!0),w(de,null,it(c.value,k=>(y(),M(g,{key:k.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:k,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:m[0]||(m[0]=S=>n("selectItem",S)),onToggleGroup:m[1]||(m[1]=S=>n("toggleGroup",S))},xr({_:2},[r.decorator?{name:"decorator",fn:I(S=>[q(p.$slots,"decorator",Te({ref_for:!0},S))]),key:"0"}:void 0,r.empty?{name:"empty",fn:I(S=>[q(p.$slots,"empty",Te({ref_for:!0},S))]),key:"1"}:void 0,r.icon?{name:"icon",fn:I(S=>[q(p.$slots,"icon",Te({ref_for:!0},S))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:I(()=>[ae(H(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):b(rve)(e.layout,e.item,r.empty!==void 0,((v=e.options)==null?void 0:v.hideOperationDefaultExamples)??!1)?(y(),M(b(w6e),Te({key:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},b(s),{discrete:d.value,open:e.isExpanded(e.item.id)},Gg(b(l))),xr({button:I(({open:k,level:S})=>[N(b(fh),{is:u.value?"a":"button",active:e.isSelected(e.item.id),"aria-expanded":d.value?void 0:k,href:u.value,indent:S,onClick:h},xr({indent:I(()=>[N(b(fv),{class:"-my-2 mr-0",indent:S},null,8,["indent"])]),aside:I(()=>{var A,E;return["method"in e.item?(y(),M(mE,{key:0,active:e.isSelected(e.item.id),class:Oe(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:(E=(A=e.options)==null?void 0:A.labels)==null?void 0:E.httpMethod,method:e.item.method,webhook:e.item.type==="webhook"},null,8,["active","class","label","method","webhook"])):U("",!0),d.value?(y(),M(b(uU),{key:1})):"method"in e.item?U("",!0):(y(),M(b(rb),{key:2,class:"text-sidebar-c-2",open:k},{label:I(()=>{var _,C,R,B;return[ae(H(k?((C=(_=e.options)==null?void 0:_.labels)==null?void 0:C.closeGroup)??"Close Group":((B=(R=e.options)==null?void 0:R.labels)==null?void 0:B.openGroup)??"Open Group"),1)]}),_:2},1032,["open"]))]}),default:I(()=>{var A,E;return[i(e.item)?(y(),w("span",n5e,[N(q1,{item:e.item,operationTitleSource:(A=e.options)==null?void 0:A.operationTitleSource},null,8,["item","operationTitleSource"])])):(y(),M(q1,{key:1,item:e.item,operationTitleSource:(E=e.options)==null?void 0:E.operationTitleSource},null,8,["item","operationTitleSource"]))]}),_:2},[e.item.type==="document"?{name:"icon",fn:I(()=>[q(p.$slots,"icon",{item:e.item,open:k},()=>[N(b(t5e),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0]),1032,["is","active","aria-expanded","href","indent"]),d.value?(y(),M(b(cU),{key:0,open:k,onClick:m[2]||(m[2]=()=>n("toggleGroup",e.item.id))},{label:I(()=>[ae(H(f(k)),1)]),_:2},1032,["open"])):U("",!0)]),items:I(()=>{var k;return[(y(!0),w(de,null,it(c.value,S=>(y(),M(g,{key:S.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:S,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:m[3]||(m[3]=A=>n("selectItem",A)),onToggleGroup:m[4]||(m[4]=A=>n("toggleGroup",A))},xr({_:2},[r.decorator?{name:"decorator",fn:I(A=>[q(p.$slots,"decorator",Te({ref_for:!0},A))]),key:"0"}:void 0,r.empty?{name:"empty",fn:I(A=>[q(p.$slots,"empty",Te({ref_for:!0},A))]),key:"1"}:void 0,r.icon?{name:"icon",fn:I(A=>[q(p.$slots,"icon",Te({ref_for:!0},A))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),r.empty&&(((k=e.item.children)==null?void 0:k.length)??0)===0?q(p.$slots,"empty",{item:e.item},void 0,void 0,0):U("",!0)]}),_:2},[r.decorator?{name:"after",fn:I(()=>[N(gE,null,{default:I(()=>[q(p.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):(y(),M(b(dU),Te({key:2},b(s),{class:"relative","data-sidebar-id":e.item.id},Gg(b(l)),{onClick:h}),xr({button:I(({level:k})=>[N(b(fh),{is:u.value?"a":"button",href:u.value,indent:k,selected:e.isSelected(e.item.id)},xr({default:I(()=>{var S,A;return[i(e.item)?(y(),w("span",r5e,[N(q1,{item:e.item,operationTitleSource:(S=e.options)==null?void 0:S.operationTitleSource},null,8,["item","operationTitleSource"])])):(y(),M(q1,{key:1,item:e.item,operationTitleSource:(A=e.options)==null?void 0:A.operationTitleSource},null,8,["item","operationTitleSource"]))]}),_:2},[r.icon?{name:"icon",fn:I(()=>[q(p.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:I(()=>{var S,A;return[N(mE,{active:e.isSelected(e.item.id),class:Oe(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:(A=(S=e.options)==null?void 0:S.labels)==null?void 0:A.httpMethod,method:e.item.method,webhook:e.item.type==="webhook"},null,8,["active","class","label","method","webhook"])]}),key:"1"}:void 0]),1032,["is","href","indent","selected"])]),_:2},[r.decorator?{name:"after",fn:I(()=>[N(gE,null,{default:I(()=>[q(p.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["data-sidebar-id"]))}}}),i5e=a5e,o5e=F({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){const n=t,r=O8(),a=(i,o)=>{n("reorder",i,o)};return(i,o)=>(y(),M(b(cve),{class:"flex min-h-0 flex-col",style:Pr({"--scalar-sidebar-indent":e.indent+"px"})},{default:I(()=>[q(i.$slots,"header"),q(i.$slots,"default",{},()=>[N(b(T6e),{class:"custom-scroll"},{default:I(()=>[q(i.$slots,"before"),(y(!0),w(de,null,it(b(M6)(e.layout,e.items),s=>(y(),M(i5e,{key:s.id,getHref:e.getHref,isDraggable:e.isDraggable??e.layout==="client",isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:s,layout:e.layout,options:e.options,onOnDragEnd:a,onSelectItem:o[0]||(o[0]=l=>n("selectItem",l)),onToggleGroup:o[1]||(o[1]=l=>n("toggleGroup",l))},xr({_:2},[r.decorator?{name:"decorator",fn:I(l=>[q(i.$slots,"decorator",Te({ref_for:!0},l))]),key:"0"}:void 0,r.empty?{name:"empty",fn:I(l=>[q(i.$slots,"empty",Te({ref_for:!0},l))]),key:"1"}:void 0,r.icon?{name:"icon",fn:I(l=>[q(i.$slots,"icon",Te({ref_for:!0},l))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),q(i.$slots,"spacer",{},()=>[o[2]||(o[2]=x("div",{class:"flex-1"},null,-1))])]),q(i.$slots,"footer")]),_:3},8,["style"]))}}),s5e=o5e,l5e=({items:e,nestedKey:t="children",filter:n=()=>!0,getId:r=a=>a.id})=>{const a=new Map,i=o=>{var s;n(o)&&a.set(r(o),o),t in o&&Array.isArray(o[t])&&((s=o[t])==null||s.forEac
23h(l=>i({...l,parent:o})))};return e.forEach(i),a},c5e=(e,t)=>{const n=$(()=>l5e({items:Ve(e),nestedKey:(t==null?void 0:t.key)??"children"})),r=J({}),a=J({}),i=J(null),o=d=>{var h,p;const f=m=>{m&&(r.value[m.id]=!0,"parent"in m&&m.parent&&f(m.parent))};(h=t==null?void 0:t.hooks)!=null&&h.onBeforeSelect&&t.hooks.onBeforeSelect(d),r.value={},i.value=d,d!==null&&f(n.value.get(d)),(p=t==null?void 0:t.hooks)!=null&&p.onAfterSelect&&t.hooks.onAfterSelect(d)},s=(d,f)=>{var p,m;const h=g=>{g&&(a.value[g.id]=!0,"parent"in g&&g.parent&&h(g.parent))};(p=t==null?void 0:t.hooks)!=null&&p.onBeforeExpand&&t.hooks.onBeforeExpand(d),f===!1?a.value[d]=!1:h(n.value.get(d)),(m=t==null?void 0:t.hooks)!=null&&m.onAfterExpand&&t.hooks.onAfterExpand(d)},l=d=>a.value[d]??!1,c=d=>r.value[d]??!1,u=d=>n.value.get(d);return{items:$(()=>Ve(e)),index:n,selectedItems:r,expandedItems:a,selectedItem:i,setSelected:o,setExpanded:s,isExpanded:l,isSelected:c,getEntryById:u,reset:()=>{r.value={},a.value={}}}},u5e=100,d5e=e=>{if(window.getComputedStyle(e).display!=="contents")return e;for(const t of e.children)if(t instanceof HTMLElement&&t.offsetParent!==null)return t;return e},f5e=e=>{var t;return e.dataset.sidebarType!=="heading"?0:((t=e.querySelector(".sidebar-heading"))==null?void 0:t.offsetHeight)??0},h5e=(e,t)=>{let n=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)n+=r.offsetTop,r=r.offsetParent;return n},p5e=(e,t=u5e)=>{if(typeof window>"u")return;const n=document.querySelector(`[data-sidebar-id="${e}"]`),r=(n==null?void 0:n.closest(".custom-scroll, .custom-scrollbar"))??null;if(!n||!r)return;const a=h5e(d5e(n),r)+f5e(n)-t;r.scrollTo({top:a>0?a:0})},m5e=["aria-selected"],g5e={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},b5e={class:"flex min-w-0 flex-1 flex-col gap-0.5"},y5e={class:"flex items-center gap-1"},v5e={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},O5e={key:0,class:"text-base text-c-2"},S5e={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},w5e=F({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("a",Te({"aria-selected":e.selected,role:"option",tabindex:"-1"},b(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2 text-base/5",{"bg-b-2":e.selected})),[e.icon?(y(),w("div",g5e,[q(n.$slots,"icon",{},()=>[e.icon?(y(),M(b(hv),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):U("",!0)]),r[0]||(r[0]=x("span",null,"â",-1))])):U("",!0),x("div",b5e,[x("div",y5e,[x("div",v5e,[q(n.$slots,"default")]),n.$slots.addon?(y(),w("div",O5e,[q(n.$slots,"addon")])):U("",!0)]),n.$slots.description?(y(),w("div",S5e,[q(n.$slots,"description")])):U("",!0)])],16,m5e))}}),x5e=w5e,k5e=F({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",Te({role:"listbox"},b(t)("flex flex-col")),[e.noResults?q(n.$slots,"noResults",{},()=>[r[0]||(r[0]=x("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[x("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1))],void 0,0):U("",!0),q(n.$slots,"default")],16))}}),A5e=k5e,T5e={class:"sr-only"},E5e={class:"inline-flex items-center gap-1"},_5e={class:"sr-only"},C5e={class:"sr-only"},$5e={class:"sr-only"},P5e=F({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>Mi}},setup(e){const{translate:t}=Ot(),n={heading:wye,model:SL,operation:pye,tag:oye,webhook:W0},r=$(()=>({heading:t("search.entryHeading"),operation:t("search.entryOperation"),tag:t("search.entryTag"),model:e.modelsSectionLabel,webhook:t("search.entryWebhook")}));return(a,i)=>(y(),M(b(x5e),{id:e.id,icon:n[e.result.item.type],selected:e.isSelected},xr({default:I(()=>[x("span",{class:Oe({"text-decoration-line":e.result.item.entry.type==="operation"&&e.result.item.entry.isDeprecated})},[x("span",T5e,[ae(H(r.value[e.result.item.type])+":Â ",1),e.result.item.entry.type==="operation"&&e.result.item.entry.isDeprecated?(y(),w(de,{key:0},[ae(" ("+H(b(t)("schema.deprecated"))+")Â ",1)],64)):U("",!0)]),ae(" "+H(e.result.item.title)+" ",1),i[0]||(i[0]=x("span",{class:"sr-only"},",",-1))],2)]),_:2},[e.result.item.type!=="webhook"&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{name:"description",fn:I(()=>[x("span",E5e,[e.result.item.type==="operation"?(y(),w(de,{key:0},[N(b(rL),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),x("span",_5e,H(b(t)("common.httpMethod"))+": "+H(e.result.item.method??"get"),1)],64)):U("",!0),x("span",C5e,H(b(t)("common.path"))+":Â ",1),ae(" "+H(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:I(()=>[x("span",$5e,H(b(t)("common.description"))+":Â ",1),ae(" "+H(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}}),I5e=P5e,R5e={key:0,class:"close-button z-10 fixed right-2 top-2"},N5e={};function pv(){return Cs({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var M5e=F({...N5e,__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){const n=t,r=Ur({base:["scalar-modal","flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 o
23pacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]"].join(" "),variants:{size:{xxs:"mt-[20svh] max-h-[60svh] max-w-[360px]",xs:"mt-[20svh] max-h-[60svh] max-w-[480px]",sm:"mt-[20svh] max-h-[60svh] max-w-[540px]",md:"mt-[20svh] max-h-[60svh] max-w-[640px]",lg:"m-auto max-h-[80svh] max-w-[800px]",xl:"m-auto max-h-[90svh] max-w-[1000px]",full:"full-size-styles max-h-dvh mt-0 lg:w-full"},variant:{form:"scalar-modal-form",search:"scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]",error:"scalar-modal-error"}}}),a=Ur({base:["scalar-modal-body","relative flex-1 min-h-0 p-3"].join(" "),variants:{variant:{form:"overflow-visible",search:"flex flex-col !m-0 overflow-hidden p-0",error:"overflow-y-scroll"},size:{xxs:"",xs:"",sm:"",md:"",lg:"",xl:"m-0 p-0",full:" rounded-none"}}});return(i,o)=>(y(),M(b(lK),{open:e.state.open,onClose:o[1]||(o[1]=()=>{e.state.hide(),n("close")})},{default:I(()=>[x("div",{class:Oe(b(fd)(e.size==="full"?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark",e.size==="full"&&"flex"))},[N(b(cK),{class:Oe(b(r)({size:e.size,variant:e.variant})),style:Pr({maxWidth:e.maxWidth})},{default:I(()=>[e.title?(y(),M(b(uK),{key:0,class:"scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1"},{default:I(()=>[ae(H(e.title),1)]),_:1})):U("",!0),e.size==="full"?(y(),w("div",{key:1,class:Oe(e.bodyClass)},[q(i.$slots,"default",{},void 0,!0)],2)):(y(),w("div",{key:2,class:Oe(b(fd)(b(a)({size:e.size,variant:e.variant}),e.bodyClass))},[q(i.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),e.size==="full"?(y(),w("div",R5e,[N(b(So),{class:"hover:bg-b-3 focus:outline-none",icon:b(Yh),label:"Close modal",onClick:o[0]||(o[0]=s=>e.state.hide())},null,8,["icon"])])):U("",!0)],2)]),_:3},8,["open"]))}}),mv=Ns(M5e,[["__scopeId","data-v-5bb1dcc2"]]),L5e=["aria-label","placeholder"],D5e=F({inheritAttrs:!1,__name:"ScalarSearchInput",props:Cn({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),n=J(null);function r(){t.value="",n.value&&n.value.focus()}const{stylingAttrsCx:a,otherAttrs:i}=$t();return(o,s)=>(y(),w("label",jt(Xt(b(a)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[N(b(X0),{class:"text-sidebar-c-search size-4"}),Fi(x("input",Te({ref_key:"inputRef",ref:n},b(i),{"onUpdate:modelValue":s[0]||(s[0]=l=>t.value=l),"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:e.placeholder??"Search...",spellcheck:"false",type:"search"}),null,16,L5e),[[xd,t.value]]),e.loader&&e.loader.isActive?(y(),M(b(hU),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?(y(),M(b(So),{key:1,class:"-my-1",icon:b(Yh),label:e.clearLabel??"Clear Search",size:"sm",weight:"bold",onClick:Qt(r,["stop","prevent"])},null,8,["icon","label"])):U("",!0)],16))}}),vU=D5e,B5e={class:"mb-0 flex flex-col",role:"search"},U5e={"aria-hidden":"true",class:"contents"},j5e={class:"sr-only"},F5e=F({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){const t=e,{translate:n}=Ot(),r=Mt(),a=`${r}-search-result`,i=`${r}-search-instructions`,{query:o,results:s}=gme(()=>t.document,()=>t.modelsSectionLabel,()=>({heading:n("search.entryHeading"),tagGroup:n("search.entryTagGroup"),webhook:n("search.entryWebhook"),webhooks:n("navigation.webhooks"),introduction:n("navigation.introduction")})),l=J(void 0);ze(()=>t.modalState.open,f=>{f&&(o.value="")});const c=f=>{const h=f==="up"?-1:1,p=s.value.length;typeof l.value=="number"?l.value=(l.value+h+p)%p:l.value=h===-1?p-1:0};function u(f){if(typeof f!="number"||!s.value[f])return;const h=s.value[f];t.modalState.hide(),t.eventBus.emit("scroll-to:nav-item",{id:h.item.id})}const d=$(()=>{const f=s.value[l.value??-1];return f?`search-result-${f.item.id}`:void 0});return(f,h)=>(y(),M(b(mv),{"aria-label":b(n)("search.label"),state:e.modalState,variant:"search"},{default:I(()=>[x("div",B5e,[N(b(vU),{modelValue:b(o),"onUpdate:modelValue":h[0]||(h[0]=p=>v8(o)?o.value=p:null),"aria-activedescendant":d.value,"aria-autocomplete":"list","aria-controls":a,"aria-describedby":i,clearLabel:b(n)("search.clear"),label:b(n)("search.inputLabel"),placeholder:b(n)("search.placeholder"),role:"combobox",onBlur:h[1]||(h[1]=p=>l.value=void 0),onKeydown:[h[2]||(h[2]=Ma(Qt(p=>c("down"),["stop","prevent"]),["down"])),h[3]||(h[3]=Ma(Qt(()=>u(l.value),["stop","prevent"]),["enter"])),h[4]||(h[4]=Ma(Qt(p=>c("up"),["stop","prevent"]),["up"]))]},null,8,["modelValue","aria-activedescendant","clearLabel","label","placeholder"])]),N(b(A5e),{id:a,"aria-label":b(n)("search.results"),class:"custom-scroll px-1 pb-1",noResults:!b(s).length},{query:I(()=>[ae(H(b(o)),1)]),default:I(()=>[(y(!0),w(de,null,it(b(s),(p,m)=>(y(),M(I5e,{id:`search-result-${p.item.id}`,key:p.refIndex,isSelected:l.value===m,modelsSectionLabel:t.modelsSectionLabel,result:p,onClick:Qt(()=>u(m),["prevent"])},null,8,["id","isSelected","modelsSectionLabel","result","onClick"]))),128))]),_:1},8,["aria-label","noResults"]),x("div",{id:i,class:"ref-search-meta"},[x("span",U5e,[x("span",null,"ââ "+H(b(n)("search.navigate")),1),x("span",null,"â "+H(b(n)("search.select")),1)]),x("span",j5e,H(b(n)("search.instructions")),1)])]),_:1},8,["aria-label","state"]))}}),Q5e=yt(F5e,[["__scopeId","data-v-b65d62db"]]);const z5e=e=>{const t=Reflect.get(e,"userAgentData");if(!(!t||typeof t!="object")&&!(!("platform"in t)||typeof t.platform!="string"))return t.platform},xE=()=>
23{if(typeof navigator>"u")return!1;const e=z5e(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)};var H5e={class:"sr-only"},V5e={"aria-hidden":"true",class:"sidebar-search-placeholder"},q5e={class:"sr-only"},Z5e={class:"sr-only"},X5e=F({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>Mi},document:{},eventBus:{}},setup(e){const t=J(),n=pv(),{translate:r}=Ot(),a=J(!1);Lt(()=>{a.value=xE()});const i=s=>{(xE()?s.metaKey:s.ctrlKey)&&s.key===e.searchHotKey&&(s.preventDefault(),s.stopPropagation(),n.open?n.hide():n.show())};ze(()=>n.open,async(s,l)=>{var c;!s&&l&&(await In(),(c=t.value)==null||c.$el.focus())}),Lt(()=>window.addEventListener("keydown",i)),Qa(()=>window.removeEventListener("keydown",i));function o(){n.show()}return(s,l)=>(y(),w(de,null,[e.forceIcon?(y(),M(b(So),{key:0,icon:b(X0),label:b(r)("search.label"),onClick:o},null,8,["icon","label"])):(y(),M(b(R6e),{key:1,ref_key:"button",ref:t,class:Oe(["w-full",s.$attrs.class]),shortcutLabel:b(r)("search.keyboardShortcut"),onClick:o},{shortcut:I(()=>[a.value?(y(),w(de,{key:0},[x("span",q5e,H(b(r)("search.command")),1),l[0]||(l[0]=x("span",{"aria-hidden":"true"},"â",-1))],64)):(y(),w(de,{key:1},[x("span",Z5e,H(b(r)("search.control")),1),l[1]||(l[1]=x("span",{"aria-hidden":"true"},"â",-1))],64)),ae(" "+H(e.searchHotKey),1)]),default:I(()=>[x("span",H5e,H(b(r)("search.open")),1),x("span",V5e,H(b(r)("search.label")),1)]),_:1},8,["class","shortcutLabel"])),N(Q5e,{document:e.document,eventBus:e.eventBus,modalState:b(n),modelsSectionLabel:e.modelsSectionLabel},null,8,["document","eventBus","modalState","modelsSectionLabel"])],64))}}),YO=X5e,W5e=F({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(y(),w("div",{class:Oe(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",e.multiselect?"rounded":"rounded-full"]])},[e.selected?(y(),M(b(B6),{key:0,class:"size-3",weight:"bold"})):U("",!0)],2))}}),gv=W5e,Y5e=F({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){const t=Ur({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{true:"pointer-events-none opacity-50"}}});return(n,r)=>(y(),M(b(kK),{as:"template",disabled:e.option.disabled,value:e.option},{default:I(({active:a,selected:i})=>[x("li",{class:Oe(b(fd)(b(t)({active:a,selected:i,disabled:e.option.disabled})))},[N(gv,{multiselect:e.multiselect,selected:i},null,8,["multiselect","selected"]),x("span",{class:Oe(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},H(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}}),G5e=Y5e,OU=Symbol(),K5e=()=>Rn(OU,"body"),v4t=e=>{const t=e??`scalar-teleport-${Mt()}`;return _n(OU,`#${t}`),t},J5e=F({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=K5e();return(n,r)=>(y(),M($I,{defer:!e.immediate,disabled:e.disabled,to:e.to||b(t)},[x("div",Te({class:"scalar-app",style:{display:"contents"}},n.$attrs),[q(n.$slots,"default")],16)],8,["defer","disabled","to"]))}}),SU=J5e;function eke(e,t={enabled:J(!0)}){const n=J(0),r=J(0),a=J();return typeof ResizeObserver<"u"&&(a.value=new ResizeObserver(([i])=>{var o,s;i&&(n.value=((o=i.borderBoxSize[0])==null?void 0:o.inlineSize)??0,r.value=((s=i.borderBoxSize[0])==null?void 0:s.blockSize)??0)})),ze([()=>Ve(t.enabled),()=>Ve(e)],([i,o])=>{!o||!a.value||(i?a.value.observe(o):a.value.disconnect())},{immediate:!0}),{width:$(()=>Ve(t.enabled)?`${n.value}px`:void 0),height:$(()=>Ve(t.enabled)?`${r.value}px`:void 0)}}var tke=F({inheritAttrs:!1,__name:"ScalarFloating",props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){const n=J(null),r=J(null),a=$(()=>{var d;if(typeof window<"u"&&r.value){if(typeof e.target=="string"){const h=document.getElementById(e.target);if(h)return h;
23console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;const f=(d=r.value.children)==null?void 0:d[0];return f instanceof HTMLElement?f:r.value}}),i=eke(a,{enabled:$(()=>e.resize)}),o=$(()=>jA(e.placement??"bottom")==="y"?i.width.value:void 0),s=$(()=>jA(e.placement??"bottom")==="x"?i.height.value:void 0),l=(d,f,h,p)=>{let m,g=!1;return In(()=>{g||(m=BI(d,f,h,p))}),()=>{g=!0,m==null||m()}},{floatingStyles:c,middlewareData:u}=DI(a,n,{placement:$(()=>e.placement??"bottom"),whileElementsMounted:l,middleware:$(()=>[wG(e.offset),UI({padding:48}),jI({padding:8}),xG({apply({availableWidth:d,availableHeight:f,elements:h}){Object.assign(h.floating.style,{maxWidth:`${Math.max(0,d)-16}px`,maxHeight:`${Math.max(0,f)-16}px`})}}),...e.middleware])});return t({targetRef:a}),(d,f)=>(y(),w(de,null,[x("div",{ref_key:"wrapperRef",ref:r,class:Oe({contents:!!d.$slots.default})},[q(d.$slots,"default")],2),d.$slots.floating?(y(),M(b(SU),{key:0,disabled:!e.teleport,to:typeof e.teleport=="string"?e.teleport:void 0},{default:I(()=>[x("div",{ref_key:"floatingRef",ref:n,class:"relative z-context",style:Pr(b(c))},[q(d.$slots,"floating",{data:b(u),height:s.value,width:o.value})],4)]),_:3},8,["disabled","to"])):U("",!0)],64))}}),Y0=tke,nke=F({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[q(n.$slots,"default")],16))}}),Gh=nke,rke={class:"custom-scroll min-h-0 flex-1"},ake=F({inheritAttrs:!1,__name:"ScalarListbox",props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(b(OK),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||(r[0]=a=>n.$emit("update:modelValue",a))},{default:I(({open:a})=>[e.label?(y(),M(b(SK),{key:0,class:"sr-only"},{default:I(()=>[ae(H(e.label),1)]),_:1})):U("",!0),N(b(Y0),Te(n.$props,{placement:e.placement??"bottom-start"}),{floating:I(({width:i})=>[a?(y(),w("div",Te({key:0,style:{width:i}},b(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[x("div",rke,[N(b(xK),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:I(()=>[(y(!0),w(de,null,it(e.options,o=>(y(),M(G5e,{key:o.id,multiselect:e.multiple,option:o},null,8,["multiselect","option"]))),128))]),_:1})]),N(b(Gh))],16)):U("",!0)]),default:I(()=>[N(b(wK),{id:e.id,as:"template"},{default:I(()=>[q(n.$slots,"default",{open:a})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}}),fu=ake,wU=Symbol(),ike=()=>Rn(wU,!1),oke=()=>{_n(wU,!0)},ske=F({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){const{cx:t}=$t(),n=ike(),r=Ur({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded shadow-border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(a,i)=>(y(),M(Wt(e.is),Te({type:e.is==="button"?"button":void 0},b(t)(b(r)({button:e.is==="button",grouped:b(n)}))),{default:I(()=>[q(a.$slots,"default")]),_:3},16,["type"]))}}),bv=ske,lke={class:"asyncapi-sidebar-filter min-w-0"},cke={class:"text-c-1 truncate"},uke=F({__name:"SidebarFilter",props:{label:{},options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=$(()=>n.options.find(i=>i.id===n.modelValue)??n.options[0]);return(i,o)=>(y(),w("li",lke,[N(b(fu),{label:e.label,modelValue:a.value,options:e.options,resize:"",teleport:"","onUpdate:modelValue":o[0]||(o[0]=s=>r("update:modelValue",s.id))},{default:I(()=>[N(b(fh),{is:"button",class:"w-full items-center text-left"},{aside:I(()=>[N(b(wL),{class:"text-c-1 ml-1 size-3 shrink-0 self-center",weight:"bold"})]),default:I(()=>{var s;return[x("span",cke,H((s=a.value)==null?void 0:s.label),1)]}),_:1})]),_:1},8,["label","modelValue","options"])]))}}),kE=uke;const dke=["ws","wss"],xU=e=>e!=null&&e.variables?Ui(e.variables).reduce((t,[n,r])=>{const a=Se(r);return(a==null?void 0:a.default)!=null&&(t[String(n)]=String(a.default)),t},{}):{},Bw=(e,t)=>{let n=e;return t.serverVariables&&(n=G2(n,t.serverVariables)),t.environmentVariables&&(n=la(n,t.environmentVariables)),t.pathParameters&&(n=G2(n,t.pathParameters)),n},kU=e=>{const t=e==null?void 0:e.trim().toLowerCase();return t||void 0},fke=e=>e.trim().toLowerCase(),hke=e=>dke.some(t=>t===e.trim().toLowerCase()),AU=(e,t)=>{const n=xU(e),r=fke(e.protocol),a=Bw(e.host,{serverVariables:n,environmentVariables:t}),i=`${r}://${a}`;if(!e.pathname)return i;const o=Bw(e.pathname,{serverVariables:n,environmentVariables:t});return Mc(i,o)},AE=e=>{if(!e)return;const t=Se(e);return t==null?void 0:t.ws},TE=(e,t)=>{const n=AE(e.bindings),r=t?AE(t.bindings):void 0;if(!(!n&&!r))return{...n,...r,query:pke(n==null?void 0:n.query,r==null?void 0:r.query)}},Uw=e=>{if(!e)return;const t=Se(e);if(!(t===!0||t===!1||!We(t)))return t},pke=(e,t)=>{const n=Uw(e),r=Uw(t);if(!n&&!r)return;if(!n)return t;if(!r)return e;const a="properties"in n?n.properties:void 0,i="properties"in r?r.properties:void 0;return Object.assign({},n,r,{properties:{...a,...i}})},mke=e=>{if(!(e===!0||e===!1||!We(e))){if("default"in e&&e.default!==void 0)return e.default;if("example"in e&&e.example!==void 0)return e.example;if("enum"in e&&Array.isArray(e.enum)&&e.enum[0]!==void 0)return e.enum[0]}},jw=(e,t,n)=>
23{if(n!=null){if(Array.isArray(n)){n.forEach(r=>jw(e,t,r));return}if(typeof n=="object"){e.append(t,JSON.stringify(n));return}e.append(t,String(n))}},EE=(e,t)=>{const n=new URLSearchParams,r=Uw(e==null?void 0:e.query),a=r&&"properties"in r?r.properties:void 0;if(We(a))for(const[i,o]of Object.entries(a)){const s=mke(o);jw(n,i,s)}if(t)for(const[i,o]of Ui(t))n.delete(i),jw(n,i,o);return n},gke=({server:e,channel:t,operation:n=null,pathParameters:r={},queryParameters:a={},environmentVariables:i})=>{const o=xU(e),s=AU(e,i),l=t.address;if(l==null||l===""){const d=EE(TE(t,n),a);return qm(s,"",d,!0)}const c=Bw(l,{serverVariables:o,environmentVariables:i,pathParameters:r}),u=EE(TE(t,n),a);return qm(s,c,u,!0)},q6=(e,t)=>{const n=`#/${t.map(U8).join("/")}/`;if(!e.startsWith(n))return;const r=J2(()=>gw(e.slice(1)));if(!r.ok)return;const a=r.data;if(a.length!==t.length+1)return;for(let o=0;o<t.length;o++)if(a[o]!==t[o])return;const i=a[t.length];return i&&i.length>0?i:void 0},bke=e=>q6(e,["channels"]),yke=(e,t)=>{if(e.channels){for(const[n,r]of Object.entries(e.channels))if(Se(r)===t)return n}},vke=(e,t)=>{var s;const n=t.channel;if(!n)return;const r="$ref"in n?bke(n.$ref):void 0;if(r&&((s=e.channels)!=null&&s[r])){const l=Se(e.channels[r]);if(!l)return;const c=typeof l.address=="string"&&l.address.length>0?l.address:r;return{channelName:r,channel:l,channelAddress:c}}const a=Se(n);if(!a)return;const i=r??yke(e,a)??(typeof a.address=="string"&&a.address.length>0?a.address:void 0);if(!i)return;const o=typeof a.address=="string"&&a.address.length>0?a.address:i;return{channelName:i,channel:a,channelAddress:o}},Oke=e=>Se(e),Ske=e=>q6(e,["servers"]),TU=(e,t)=>{var r;if(!(t!=null&&t.servers))return;const n=new Set;for(const a of t.servers){const i=Ske(a.$ref);i&&((r=e.servers)!=null&&r[i])&&n.add(i)}return n},Z6=(e,t={})=>{const{channel:n=null,operation:r=null,pathParameters:a={},queryParameters:i={},environmentVariables:o,webSocketOnly:s=!0}=t,l=e.servers??{},c=TU(e,n);return Ui(l).filter(([u])=>(c==null?void 0:c.has(u))??!0).map(([u,d])=>{const f=Oke(d);if(!f)return;const h=f.protocol.trim().toLowerCase(),p=hke(h),m=AU(f,o),g={name:u,server:f,host:f.host,protocol:h,description:f.description,title:f.title,url:m,isWebSocket:p};return n&&(g.connectionUrl=gke({server:f,channel:n,operation:r,pathParameters:a,queryParameters:i,environmentVariables:o})),g}).filter(u=>u!==void 0&&(!s||u.isWebSocket))},wke=(e,t,n)=>{if(!Bo(e))return t[0]??null;const r=e["x-scalar-selected-server"];return r==null?t[0]??null:t.find(({name:a})=>a===r)??t[0]??null},Xm="all",EU=e=>{var n;const t=new Map;for(const[r,a]of Ui(e.servers??{}
23)){const i=kU((n=Se(a))==null?void 0:n.protocol);i&&t.set(r,i)}return t},xke=e=>{const n=[...new Set(EU(e).values())].sort((r,a)=>r.localeCompare(a)).map(r=>({id:r,label:r.toUpperCase()}));return[{id:Xm,label:"All protocols"},...n]},kke=e=>{const t=Ui(e.servers??{}).map(([n,r])=>{var i;const a=kU((i=Se(r))==null?void 0:i.protocol);return{id:n,label:a?`${n} (${a})`:n}});return[{id:Xm,label:"All servers"},...t]},_U=e=>({serverProtocols:EU(e),allServerNames:new Set(Nd(e.servers??{}))}),Ake=(e,t,n=_U(e))=>{var s;const r=((s=vke(e,t))==null?void 0:s.channel)??null,a=TU(e,r),i=a?new Set([...a].filter(l=>n.allServerNames.has(l))):new Set(n.allServerNames),o=new Set;for(const[l,c]of n.serverProtocols)i.has(l)&&o.add(c);return{serverNames:i,protocols:o}},ab=(e,t)=>{if(Object.is(e,t))return!0;if(!Ht(e)||!Ht(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let o=0;o<e.length;o+=1)if(!ab(e[o],t[o]))return!1;return!0}if(Array.isArray(t))return!1;const n=e,r=t;let a=0;for(const o in n)if(Object.hasOwn(n,o)&&(a+=1,!Object.hasOwn(r,o)||!ab(n[o],r[o])))return!1;let i=0;for(const o in r)Object.hasOwn(r,o)&&(i+=1);return a===i},CU=e=>{const t=new Set;return e.filter(n=>{const r=JSON.stringify(n);return t.has(r)?!1:(t.add(r),!0)})},Tke=e=>q6(e,["components","securitySchemes"]),Eke=e=>{const t=Se(e);if(t==null)return;if(!("scopes"in t))return t;const{scopes:n,...r}=t;return r},_ke=(e,t)=>{if("$ref"in t){const a=Tke(t.$ref);if(a)return a}const n=Eke(t);if(n==null)return;const r=e.components?Se(e.components):void 0;if(r!=null&&r.securitySchemes)for(const[a,i]of Object.entries(r.securitySchemes)){const o=Se(i);if(o===n||ab(o,n))return a}},Cke=(e,t)=>{const n=_ke(e,t);if(!n)return;const r=Se(t),a=r!=null&&"scopes"in r&&Array.isArray(r.scopes)?[...r.scopes]:[];return{[n]:a}},_E=(e,t)=>t!=null&&t.length?t.map(n=>Cke(e,n)).filter(n=>n!=null):[],$U=(e,t,n)=>{const r=_E(e,t==null?void 0:t.security),a=_E(e,n==null?void 0:n.security),i=r.length===0?a:a.length===0?r:[...r,...a];return CU(i)},$ke=e=>{const t=e.servers?Se(e.servers):void 0;if(!t)return[];const n=Object.values(t).map(s=>Se(s)),r=n.map(s=>$U(e,null,s)),a=r.flat(),i=r.some(s=>s.length>0),o=n.some(s=>{var l;return!((l=s==null?void 0:s.security)!=null&&l.length)});return i&&o&&a.push({}),CU(a)},Pke=e=>e.reduce((t,n)=>{const r=Se(n);return(r==null?void 0:r.security)!==void 0?r.security:t},void 0),Ike=e=>{const t=e.traits??[];if(t.length===0)return e;const n=Pke(t),r=t.reduce((s,l)=>{const c=Se(l);if(!(c!=null&&c.bindings))return s;const u=Se(c.bindings);return s?{...Se(s),...u}:u},void 0),a=e.security!==void 0,i=e.security??n,o=r&&e.bindings?{...Se(r),...Se(e.bindings)}:e.bindings??r;return{...e,...i!==void 0||a?{security:i}:{},...o!==e.bindings?{bindings:o}:{}}},CE=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&Hi.PATH,n&&Hi.VARIABLES].flatMap(r=>r?[...e.matchAll(r)].map(a=>{var i;return(i=a[1])==null?void 0:i.trim()}).filter(a=>a!==void 0):[]);var Rke=F({__name:"AsyncApiSidebarFilters",props:Cn({document:{},is:{default:"li"}},{protocol:{default:""},protocolModifiers:{},server:{default:""},serverModifiers:{}}),emits:["update:protocol","update:server"],setup(e){const t=Tn(e,"protocol"),n=Tn(e,"server"),r=$(()=>e.document?xke(e.document):[]),a=$(()=>e.document?kke(e.document):[]),i=$(()=>r.value.length>2),o=$(()=>a.value.length>2);return(s,l)=>i.value||o.value?(y(),M(b(H6),{key:0,is:e.is,class:"asyncapi-sidebar-filters"},{items:I(()=>[i.value?(y(),M(kE,{key:0,modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=c=>t.value=c),label:"Protocol",options:r.value},null,8,["modelValue","options"])):U("",!0),o.value?(y(),M(kE,{key:1,modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=c=>n.value=c),label:"Server",options:a.value},null,8,["modelValue","options"])):U("",!0)]),default:I(()=>[l[2]||(l[2]=ae(" Filters ",-1))]),_:1},8,["is"])):U("",!0)}}),Nke=Rke,Mke=({protocol:e,server:t})=>(!e||e===Xm)&&(!t||t===Xm),$E=(e,t)=>!t||t===Xm||e.has(t),PU=(e,t,n,r)=>{var a;if(e.type==="asyncapi-operation"){const i=(a=t.operations)==null?void 0:a[e.operationName];if(!i)return e;const{protocols:o,serverNames:s}=Ake(t,Se(i,mr),r);return $E(o,n.protocol)&&$E(s,n.server)?e:null}if(e.type==="asyncapi-channel"||e.type==="tag"){const i=e.children??[],o=i.flatMap(s=>{const l=PU(s,t,n,r);return l?[l]:[]});return i.length>0&&o.length===0?null:{...e,children:o}}return e},Lke=(e,t,n)=>{if(Mke(n))return e;const r=_U(t);return e.flatMap(a=>{const i=PU(a,t,n,r);return i?[i]:[]})},IU=Symbol(),RU=J(null);function Dke(e){const t=J(!1),n=J(""),r=e.agentEnabled??$(()=>uh(window.location.href)),s={showAgent:t,agentEnabled:r,prefilledMessage:n,openAgent:l=>{n.value=l??"",t.value=!0},closeAgent:()=>{t.value=!1,n.value=""},toggleAgent:()=>{t.value=!t.value,t.value||(n.value="")}};return RU.value=s,s}function X6(){const e=Rn(IU,void 0);return $(()=>e??RU.value??void 0)}var Bke=F({__name:"AgentScalarButton",setup(e){const t=X6(),{translate:n}=Ot();return(r,a)=>(y(),w("button",{class:"bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap",type:"button",onClick:a[0]||(a[0]=i=>{var o;return(o=b(t))==null?void 0:o.toggleAgent()})},[N(b(F6)),ae(" "+H(b(n)("agent.askAi")),1)]))}}),Uke=Bke,jke={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},Fke=F({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){const t=X6(),{translate:n}=Ot(),r=rG(async()=>Be(()=>import("./AgentScalarChatInterface.vue.js"),__vite__mapDeps([85,86,1,2,87,88,89,90,91,92,93,94,95,96])));return(a,i)=>(y(),w(de,null,[N(R2,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:I(()=>{var o;return[Fi(x("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[
23cubic-bezier(0.77,0,0.175,1)]",onClick:i[0]||(i[0]=s=>{var l;return(l=b(t))==null?void 0:l.closeAgent()})},null,512),[[I2,(o=b(t))==null?void 0:o.showAgent.value]])]}),_:1}),N(R2,{enterActiveClass:"transition-transform duration-300",enterFromClass:"-translate-x-full",enterToClass:"translate-x-0",leaveActiveClass:"transition-transform duration-200",leaveFromClass:"translate-x-0",leaveToClass:"-translate-x-full"},{default:I(()=>{var o,s;return[Fi(x("div",{class:"agent-scalar left-refs-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg",onKeydown:i[2]||(i[2]=Ma(l=>{var c;return(c=b(t))==null?void 0:c.closeAgent()},["escape"]))},[x("div",jke,[N(b(r),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:(o=b(t))==null?void 0:o.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),N(b(So),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:b(Yh),label:b(n)("agent.close"),weight:"bold",onClick:i[1]||(i[1]=l=>{var c;return(c=b(t))==null?void 0:c.closeAgent()})},null,8,["icon","label"])],544),[[I2,(s=b(t))==null?void 0:s.showAgent.value]])]}),_:1})],64))}}),Qke=yt(Fke,[["__scopeId","data-v-3496197b"]]);function zke(e){return!!e&&typeof e=="object"&&"url"in e&&typeof e.url=="string"}async function W6(e,t){const n=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,a=await fetch(lv(t.proxyUrl,r),{method:"POST",headers:{"Content-Type":"application/json"},body:n});if(!a.ok)throw new Error(` Failed to generate temporary link, server responded with ${a.status}`);const i=await a.json();if(!zke(i))throw new Error("Failed to generate temporary link, invalid response from server");return i.url}var Hke=Object.defineProperty,Vke=(e,t,n)=>t in e?Hke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fi=(e,t,n)=>Vke(e,typeof t!="symbol"?t+"":t,n);function qke(e){if(typeof document>"u")return;function t(){let n=document.head||document.getElementsByTagName("head")[0];if(!n)return;let r=document.createElement("style");r.type="text/css",n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}qke("
vendor: 13,512 bytes, line 23
23:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
23");let Fw=0;class Zke{constructor(){fi(this,"subscribers"),fi(this,"toasts"),fi(this,"subscribe",t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)})),fi(this,"publish",t=>{this.subscribers.forEach(n=>n(t))}),fi(this,"addToast",t=>{this.publish(t),this.toasts=[...this.toasts,t]}),fi(this,"create",t=>{var n;const{message:r,...a}=t,i=typeof t.id=="number"||t.id&&((n=t.id)==null?void 0:n.length)>0?t.id:Fw++,o=this.toasts.find(l=>l.id===i),s=t.dismissible===void 0?!0:t.dismissible;return o?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...t,id:i,title:r}),{...l,...t,id:i,dismissible:s,title:r}):l):this.addToast({title:r,...a,dismissible:s,id:i}),i}),fi(this,"dismiss",t=>(t||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:t,dismiss:!0})),t)),fi(this,"message",(t,n)=>this.create({...n,message:t,type:"default"})),fi(this,"error",(t,n)=>this.create({...n,type:"error",message:t})),fi(this,"success",(t,n)=>this.create({...n,type:"success",message:t})),fi(this,"info",(t,n)=>this.create({...n,type:"info",message:t})),fi(this,"warning",(t,n)=>this.create({...n,type:"warning",message:t})),fi(this,"loading",(t,n)=>this.create({...n,type:"loading",message:t})),fi(this,"promise",(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=t instanceof Promise?t:t();let i=r!==void 0,o;const s=a.then(async c=>{if(o=["resolve",c],Wke(c)&&!c.ok){i=!1;const u=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,d=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description;this.create({id:r,type:"error",message:u,description:d})}else if(n.success!==void 0){i=!1;const u=typeof n.success=="function"?await n.success(c):n.success,d=typeof n.description=="function"?await n.description(c):n.description;this.create({id:r,type:"success",message:u,description:d})}}).catch(async c=>{if(o=["reject",c],n.error!==void 0){i=!1;const u=typeof n.error=="function"?await n.error(c):n.error,d=typeof n.description=="function"?await n.description(c):n.description;this.create({id:r,type:"error",message:u,description:d})}}).finally(()=>{var c;i&&(this.dismiss(r),r=void 0),(c=n.finally)==null||c.call(n)}),l=()=>new Promise((c,u)=>s.then(()=>o[0]==="reject"?u(o[1]):c(o[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})}),fi(this,"custom",(t,n)=>{const r=(n==null?void 0:n.id)||Fw++;return this.publish({component:t,id:r,...n}),r}),this.subscribers=[],this.toasts=[]}}const Ki=new Zke;function Xke(e,t){const n=(t==null?void 0:t.id)||Fw++;return Ki.create({message:e,id:n,type:"default",...t}),n}const Wke=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Yke=Xke,Gke=()=>Ki.toasts,W1=Object.assign(Yke,{success:Ki.success,info:Ki.info,warning:Ki.warning,error:Ki.error,custom:Ki.custom,message:Ki.message,promise:Ki.promise,dismiss:Ki.dismiss,loading:Ki.loading},{getHistory:Gke});function Y1(e){return e.label!==void 0}function Kke(){const e=J(!1);return hr(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}const Jke=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],eAe=["aria-label","data-disabled"],tAe=4e3,nAe=20,rAe=200,aAe=F({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const n=e,r=t,a=J(!1),i=J(!1),o=J(!1),s=J(!1),l=J(!1),c=J(0),u=J(0),d=J(n.toast.duration||n.duration||tAe),f=J(null),h=J(null),p=$(()=>n.index===0),m=$(()=>n.index+1<=n.visibleToasts),g=$(()=>n.toast.type),v=$(()=>n.toast.dismissible!==!1),k=$(()=>n.toast.class||""),S=$(()=>n.descriptionClass||""),A=n.toast.style||{},E=$(()=>n.heights.findIndex(ie=>ie.toastId===n.toast.id)||0),_=$(()=>n.toast.closeButton??n.closeButton),C=J(0),R=J(0),B=J(null),L=$(()=>n.position.split("-")),V=$(()=>L.value[0]),Q=$(()=>L.value[1]),ee=$(()=>typeof n.toast.title!="string"),ne=$(()=>typeof n.toast.description!="string"),G=$(()=>n.heights.reduce((ie,Pe,gt)=>gt>=E.value?ie:ie+Pe.height,0)),re=Kke(),Y=$(()=>n.toast.invert||n.invert),ye=$(()=>g.value==="loading"),Ee=$(()=>E.value*n.gap+G.value||0);Lt(()=>{if(!a.value)return;const ie=h.value,Pe=ie==null?void 0:ie.style.height;ie.style.height="auto";const gt=ie.getBoundingClientRect().height;ie.style.height=Pe,u.value=gt;let Zt;n.heights.find(St=>St.toastId===n.toast.id)?Zt=n.heights.map(St=>St.toastId===n.toast.id?{...St,height:gt}:St):Zt=[{toastId:n.toast.id,height:gt,position:n.toast.position},...n.heights],r("update:heights",Zt)});function j(){i.value=!0,c.value=Ee.value;const ie=n.heights.filter(Pe=>Pe.toastId!==n.toast.id);r("update:heights",ie),setTimeout(()=>{r("removeToast",n.toast)},rAe)}function xe(){var ie,Pe;if(ye.value||!v.value)return{};j(),(Pe=(ie=n.toast).onDismiss)==null||Pe.call(ie,n.toast)}function Ie(ie){ye.value||!v.value||(f.value=new Date,c.value=Ee.value,ie.target.setPointerCapture(ie.pointerId),ie.target.tagName!=="BUTTON"&&(o.value=!0,B.value={x:ie.clientX,y:ie.clientY}))}function Z(){var ie,Pe,gt,Zt,St;if(s.value||!v)return;B.value=null;const sn=Number(((ie=h.value)==null?void 0:ie.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Xn=new Date().getTime()-((Pe=f.value)==null?void 0:Pe.getTime()),Wn=Math.abs(sn)/Xn;if(Math.abs(sn)>=nAe||Wn>.11){c.value=Ee.value,(Zt=(gt=n.toast).onDismiss)==null||Zt.call(gt,n.toast),j(),s.value=!0,l.value=!1;return}(St=h.value)==null||St.style.setProperty("--swipe-amount","0px"),o.value=!1}function rt(ie){var Pe,gt;if(!B.value||!v.value)return;const Zt=ie.clientY-B.value.y,St=((Pe=window.getSelection())==null?void 0:Pe.toString().length)>0,sn=V.value==="top"?Math.min(0,Zt):Math.max(0,Zt);Math.abs(sn)>0&&(l.value=!0),!St&&((gt=h.value)==null||gt.style.setProperty("--swipe-amount",`${sn}px`))}return hr(ie=>{if(n.toast.promise&&g.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let Pe;const gt=()=>{if(R.value<C.value){const St=new Date().getTime()-C.value;d.value=d.value-St}R.value=new Date().getTime()},Zt=()=>{d.value!==1/0&&(C.value=new Date().getTime(),Pe=setTimeout(()=>{var St,sn;(sn=(St=n.toast).onAutoClose)==null||sn.call(St,n.toast),j()},d.value))};n.expanded||n.interacting||n.pauseWhenPageIsHidden&&re?gt():Zt(),ie(()=>{clearTimeout(Pe)})}),ze(()=>n.toast.delete,()=>{n.toast.delete&&j()},{deep:!0}),Lt(()=>{if(a.value=!0,h.value){const ie=h.value.getBoundingClientRect().height;u.value=ie;const Pe=[{toastId:n.toast.id,height:ie,position:n.toast.position},...n.heights];r("update:heights",Pe)}}),Qa(()=>
23{if(h.value){const ie=n.heights.filter(Pe=>Pe.toastId!==n.toast.id);r("update:heights",ie)}}),(ie,Pe)=>{var gt,Zt,St,sn,Xn,Wn,ra,vr,he,Me,Ge,Et,At,Yt,ln,Or,Yn,ui,di,oe,ge,Qe,Pt,Rt,Qr,zr,Hr;return y(),w("li",{ref_key:"toastRef",ref:h,"aria-live":ie.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:Oe(ie.cn(n.class,k.value,(gt=ie.classes)==null?void 0:gt.toast,(Zt=ie.toast.classes)==null?void 0:Zt.toast,(St=ie.classes)==null?void 0:St[g.value],(Xn=(sn=ie.toast)==null?void 0:sn.classes)==null?void 0:Xn[g.value])),"data-rich-colors":ie.toast.richColors??ie.defaultRichColors,"data-styled":!(ie.toast.component||(Wn=ie.toast)!=null&&Wn.unstyled||ie.unstyled),"data-mounted":a.value,"data-promise":!!ie.toast.promise,"data-removed":i.value,"data-visible":m.value,"data-y-position":V.value,"data-x-position":Q.value,"data-index":ie.index,"data-front":p.value,"data-swiping":o.value,"data-dismissible":v.value,"data-type":g.value,"data-invert":Y.value,"data-swipe-out":s.value,"data-expanded":!!(ie.expanded||ie.expandByDefault&&a.value),style:Pr({"--index":ie.index,"--toasts-before":ie.index,"--z-index":ie.toasts.length-ie.index,"--offset":`${i.value?c.value:Ee.value}px`,"--initial-height":ie.expandByDefault?"auto":`${u.value}px`,...ie.style,...b(A)}),onPointerdown:Ie,onPointerup:Z,onPointermove:rt},[_.value&&!ie.toast.component?(y(),w("button",{key:0,"aria-label":ie.closeButtonAriaLabel||"Close toast","data-disabled":ye.value,"data-close-button":"true",class:Oe(ie.cn((ra=ie.classes)==null?void 0:ra.closeButton,(he=(vr=ie.toast)==null?void 0:vr.classes)==null?void 0:he.closeButton)),onClick:xe},[(Me=ie.icons)!=null&&Me.close?(y(),M(Wt((Ge=ie.icons)==null?void 0:Ge.close),{key:0})):q(ie.$slots,"close-icon",{key:1})],10,eAe)):U("",!0),ie.toast.component?(y(),M(Wt(ie.toast.component),Te({key:1},ie.toast.componentProps,{onCloseToast:xe}),null,16)):(y(),w(de,{key:2},[g.value!=="default"||ie.toast.icon||ie.toast.promise?(y(),w("div",{key:0,"data-icon":"",class:Oe(ie.cn((Et=ie.classes)==null?void 0:Et.icon,(Yt=(At=ie.toast)==null?void 0:At.classes)==null?void 0:Yt.icon))},[ie.toast.icon?(y(),M(Wt(ie.toast.icon),{key:0})):(y(),w(de,{key:1},[g.value==="loading"?q(ie.$slots,"loading-icon",{key:0}):g.value==="success"?q(ie.$slots,"success-icon",{key:1}):g.value==="error"?q(ie.$slots,"error-icon",{key:2}):g.value==="warning"?q(ie.$slots,"warning-icon",{key:3}):g.value==="info"?q(ie.$slots,"info-icon",{key:4}):U("",!0)],64))],2)):U("",!0),x("div",{"data-content":"",class:Oe(ie.cn((ln=ie.classes)==null?void 0:ln.content,(Yn=(Or=ie.toast)==null?void 0:Or.classes)==null?void 0:Yn.content))},[x("div",{"data-title":"",class:Oe(ie.cn((ui=ie.classes)==null?void 0:ui.title,(di=ie.toast.classes)==null?void 0:di.title))},[ee.value?(y(),M(Wt(ie.toast.title),jt(Te({key:0},ie.toast.componentProps)),null,16)):(y(),w(de,{key:1},[ae(H(ie.toast.title),1)],64))],2),ie.toast.description?(y(),w("div",{key:0,"data-description":"",class:Oe(ie.cn(ie.descriptionClass,S.value,(oe=ie.classes)==null?void 0:oe.description,(ge=ie.toast.classes)==null?void 0:ge.description))},[ne.value?(y(),M(Wt(ie.toast.description),jt(Te({key:0},ie.toast.componentProps)),null,16)):(y(),w(de,{key:1},[ae(H(ie.toast.description),1)],64))],2)):U("",!0)],2),ie.toast.cancel?(y(),w("button",{key:1,style:Pr(ie.toast.cancelButtonStyle||ie.cancelButtonStyle),class:Oe(ie.cn((Qe=ie.classes)==null?void 0:Qe.cancelButton,(Pt=ie.toast.classes)==null?void 0:Pt.cancelButton)),"data-button":"","data-cancel":"",onClick:Pe[0]||(Pe[0]=Vr=>{var ga,se;b(Y1)(ie.toast.cancel)&&v.value&&((se=(ga=ie.toast.cancel).onClick)==null||se.call(ga,Vr),j())})},H(b(Y1)(ie.toast.cancel)?(Rt=ie.toast.cancel)==null?void 0:Rt.label:ie.toast.cancel),7)):U("",!0),ie.toast.action?(y(),w("button",{key:2,style:Pr(ie.toast.actionButtonStyle||ie.actionButtonStyle),class:Oe(ie.cn((Qr=ie.classes)==null?void 0:Qr.actionButton,(zr=ie.toast.classes)==null?void 0:zr.actionButton)),"data-button":"","data-action":"",onClick:Pe[1]||(Pe[1]=Vr=>{var ga,se;b(Y1)(ie.toast.action)&&(Vr.defaultPrevented||((se=(ga=ie.toast.action).onClick)==null||se.call(ga,Vr),!Vr.defaultPrevented&&j()))})},H(b(Y1)(ie.toast.action)?(Hr=ie.toast.action)==null?void 0:Hr.label:ie.toast.action),7)):U("",!0)],64))],46,Jke)}}}),G0=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},iAe={},oAe={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function sAe(e,t){return y(),w("svg",oAe,t[0]||(t[0]=[x("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),x("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const lAe=G0(iAe,[["render",sAe]]),cAe=["data-visible"],uAe={class:"sonner-spinner"},dAe=F({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,r)=>(y(),w("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[x("div",uAe,[(y(!0),w(de,null,it(b(t),a=>(y(),w("div",{key:`spinner-bar-${a}`,class:"sonner-loading-bar"}))),128))])],8,cAe))}}),fAe={},hAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function pAe(e,t){return y(),w("svg",hAe,t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}const mAe=G0(fAe,[["render",pAe]]),gAe={},bAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function yAe(e,t){return y(),w("svg",bAe,t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}const vAe=G0(gAe,[["render",yAe]]),OAe={},SAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
23currentColor",height:"20",width:"20"};function wAe(e,t){return y(),w("svg",SAe,t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}const xAe=G0(OAe,[["render",wAe]]),kAe={},AAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function TAe(e,t){return y(),w("svg",AAe,t[0]||(t[0]=[x("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}const EAe=G0(kAe,[["render",TAe]]),_Ae=["aria-label"],CAe=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],$Ae=3,PE="32px",PAe=356,IAe=14,RAe=typeof window<"u"&&typeof document<"u";function NAe(...e){return e.filter(Boolean).join(" ")}const MAe=F({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:IAe},visibleToasts:{default:$Ae},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:PE},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:NAe}},setup(e){const t=e;function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const S=document.documentElement.getAttribute("dir");return S==="auto"||!S?window.getComputedStyle(document.documentElement).direction:S}const r=y8(),a=J([]),i=$(()=>(S,A)=>a.value.filter(E=>!E.position&&A===0||E.position===S)),o=$(()=>{const S=a.value.filter(A=>A.position).map(A=>A.position);return S.length>0?Array.from(new Set([t.position].concat(S))):[t.position]}),s=J([]),l=J(!1),c=J(!1),u=J(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=J(null),f=J(null),h=J(!1),p=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function m(S){var A;(A=a.value.find(E=>E.id===S.id))!=null&&A.delete||Ki.dismiss(S.id),a.value=a.value.filter(({id:E})=>E!==S.id)}function g(S){var A,E;h.value&&!((E=(A=S.currentTarget)==null?void 0:A.contains)!=null&&E.call(A,S.relatedTarget))&&(h.value=!1,f.value&&(f.value.focus({preventScroll:!0}),f.value=null))}function v(S){S.target instanceof HTMLElement&&S.target.dataset.dismissible==="false"||h.value||(h.value=!0,f.value=S.relatedTarget)}function k(S){S.target&&S.target instanceof HTMLElement&&S.target.dataset.dismissible==="false"||(c.value=!0)}return hr(S=>{const A=Ki.subscribe(E=>{if(E.dismiss){a.value=a.value.map(_=>_.id===E.id?{..._,delete:!0}:_);return}In(()=>{const _=a.value.findIndex(C=>C.id===E.id);_!==-1?a.value=[...a.value.slice(0,_),{...a.value[_],...E},...a.value.slice(_+1)]:a.value=[E,...a.value]})});S(A)}),ze(()=>t.theme,S=>{if(S!=="system"){u.value=S;return}if(S==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),typeof window>"u")return;const A=window.matchMedia("(prefers-color-scheme: dark)");try{A.addEventListener("change",({matches:E})=>{E?u.value="dark":u.value="light"})}catch{A.addListener(({matches:E})=>{try{E?u.value="dark":u.value="light"}catch(_){console.error(_)}})}}),hr(()=>{d.value&&f.value&&(f.value.focus({preventScroll:!0}),f.value=null,h.value=!1)}),hr(()=>{a.value.length<=1&&(l.value=!1)}),hr(S=>{function A(E){const _=t.hotkey.every(B=>E[B]||E.code===B),C=Array.isArray(d.value)?d.value[0]:d.value;_&&(l.value=!0,C==null||C.focus());const R=document.activeElement===d.value||(C==null?void 0:C.contains(document.activeElement));E.code==="Escape"&&R&&(l.value=!1)}RAe&&(document.addEventListener("keydown",A),S(()=>{document.removeEventListener("keydown",A)}))}),(S,A)=>(y(),w("section",{"aria-label":`${S.containerAriaLabel} ${b(p)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(y(!0),w(de,null,it(o.value,(E,_)=>{var C;return y(),w("ol",Te({key:E,ref_for:!0,ref_key:"listRef",ref:d,"data-sonner-toaster":"",class:t.class,dir:S.dir==="auto"?n():S.dir,tabIndex:-1,"data-theme":S.theme,"data-rich-colors":S.r
23ichColors,"data-y-position":E.split("-")[0],"data-x-position":E.split("-")[1],"data-lifted":l.value&&a.value.length>1&&!S.expand,style:{"--front-toast-height":`${(C=s.value[0])==null?void 0:C.height}px`,"--offset":typeof S.offset=="number"?`${S.offset}px`:S.offset||PE,"--width":`${PAe}px`,"--gap":`${S.gap}px`,...S.style,...b(r).style}},S.$attrs,{onBlur:g,onFocus:v,onMouseenter:A[1]||(A[1]=()=>l.value=!0),onMousemove:A[2]||(A[2]=()=>l.value=!0),onMouseleave:A[3]||(A[3]=()=>{c.value||(l.value=!1)}),onPointerdown:k,onPointerup:A[4]||(A[4]=()=>c.value=!1)}),[(y(!0),w(de,null,it(i.value(E,_),(R,B)=>{var L,V,Q,ee,ne,G,re,Y,ye;return y(),M(aAe,{key:R.id,heights:s.value.filter(Ee=>Ee.position===R.position),icons:S.icons,index:B,toast:R,defaultRichColors:S.richColors,duration:((L=S.toastOptions)==null?void 0:L.duration)??S.duration,class:Oe(((V=S.toastOptions)==null?void 0:V.class)??""),descriptionClass:(Q=S.toastOptions)==null?void 0:Q.descriptionClass,invert:S.invert,visibleToasts:S.visibleToasts,closeButton:((ee=S.toastOptions)==null?void 0:ee.closeButton)??S.closeButton,interacting:c.value,position:E,style:Pr((ne=S.toastOptions)==null?void 0:ne.style),unstyled:(G=S.toastOptions)==null?void 0:G.unstyled,classes:(re=S.toastOptions)==null?void 0:re.classes,cancelButtonStyle:(Y=S.toastOptions)==null?void 0:Y.cancelButtonStyle,actionButtonStyle:(ye=S.toastOptions)==null?void 0:ye.actionButtonStyle,toasts:a.value.filter(Ee=>Ee.position===R.position),expandByDefault:S.expand,gap:S.gap,expanded:l.value,pauseWhenPageIsHidden:S.pauseWhenPageIsHidden,cn:S.cn,"onUpdate:heights":A[0]||(A[0]=Ee=>{s.value=Ee}),onRemoveToast:m},{"close-icon":I(()=>[q(S.$slots,"close-icon",{},()=>[N(lAe)])]),"loading-icon":I(()=>[q(S.$slots,"loading-icon",{},()=>[N(dAe,{visible:R.type==="loading"},null,8,["visible"])])]),"success-icon":I(()=>[q(S.$slots,"success-icon",{},()=>[N(mAe)])]),"error-icon":I(()=>[q(S.$slots,"error-icon",{},()=>[N(EAe)])]),"warning-icon":I(()=>[q(S.$slots,"warning-icon",{},()=>[N(xAe)])]),"info-icon":I(()=>[q(S.$slots,"info-icon",{},()=>[N(vAe)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,CAe)}
23),128))],8,_Ae))}});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`/** 24* We need to be explicit to avoid !important. :) 25* 26* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103 27*/ 28.scalar-toaster [data-sonner-toast][data-styled='true'] { 29 background: var(--scalar-background-1); 30 color: var(--scalar-color-1); 31 padding: 18px; 32 border: none; 33 border-radius: var(--scalar-radius-lg); 34 font-size: var(--scalar-font-size-3); 35 font-weight: var(--scalar-font-medium); 36 box-shadow: var(--scalar-shadow-2); 37} 38.scalar-toaster [data-sonner-toast] [data-icon] { 39 align-self: flex-start; 40 position: relative; 41 top: 2px; 42} 43.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] { 44 height: auto; 45} 46.scalar-toaster [data-sonner-toast][data-type='error'] { 47 background: var(--scalar-background-1); 48} 49.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] { 50 color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1)); 51} 52.scalar-toaster [data-sonner-toast][data-type='warning'] { 53 background: var(--scalar-background-1); 54} 55.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] { 56 color: color-mix( 57 in srgb, 58 var(--scalar-color-orange) 90%, 59 var(--scalar-color-1) 60 ); 61} 62/*$vite$:1*/`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var NU={toast:()=>null};function LAe(e){NU.toast=e}function hu(){return{initializeToasts:LAe,toast:(e,t="info",n={timeout:3e3})=>{NU.toast(e,t,n)}}}var DAe=F({__name:"ScalarToasts",setup(e){const t=J(!1);Lt(()=>t.value=!0);const n={success:W1.success,error:W1.error,warn:W1.warning,info:W1},{initializeToasts:r}=hu();return r((a,i="info",o={})=>{(n[i]||n.info)(a,{duration:o.timeout||3e3,description:o.description})}),(a,i)=>t.value?(y(),M(b(MAe),{key:0,class:"scalar-toaster"})):U("",!0)}});const BAe=e=>e===void 0?"undefined":typeof e=="string"?e:JSON.stringify(e);function pu(e={}){const{notify:t=a=>n(a,"info")}=e,{toast:n}=hu();async function r(a){try{const i=BAe(a);await navigator.clipboard.writeText(i),t("Copied to the clipboard")}catch(i){console.error(i.message),t("Failed to copy to clipboard")}}return{copyToClipboard:r}}function Kh(){return Cs({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){const{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;const r=n?t:t-300;return new Promise(a=>setTimeout(n?()=>a():()=>this.clear().then(()=>a()),r))},invalidate(e={}){const{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;const r=n?t:t-300;return new Promise(a=>setTimeout(n?()=>a():()=>this.clear().then(()=>a()),r))},clear(e={}){const{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(n=>{setTimeout(()=>{this.isActive=!1,n()},t)})}})}function UAe(e){try{return!!new URL(e)}catch{return!1}}var jAe={class:"scalar-mcp-layer"},FAe=F({__name:"OpenMCPButton",props:Cn({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){var h,p,m;const t=e,{copyToClipboard:n}=pu(),{translate:r}=Ot(),{toast:a}=hu(),i=Kh(),o=((h=t.config)==null?void 0:h.name)||((p=t.config)==null?void 0:p.url),s=btoa(JSON.stringify(t.config??{})),l=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(((m=t.config)==null?void 0:m.name)??"")}&config=${s}`,c=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,u=Tn(e,"url");async function d(){if(i.isLoading||!t.workspace)return;if(u.value&&UAe(u.value)){f(u.value);return}i.start();const g=t.workspace.exportActiveDocument("json");if(!g){a(r("developerTools.unableToExportDocument"),"error"),await i.invalidate();return}try{u.value=await W6(g,t.externalUrls),await i.validate(),f(u.value),await In(),await i.clear()}catch(v){const k=v instanceof Error?v.message:r("developerTools.unknownError");a(k,"error"),await i.invalidate()}}function f(g){const v=new URL(`${t.externalUrls.dashboardUrl}/register`);v.searchParams.set("url",g),v.searchParams.set("createMcp","true"),window.open(v.toString(),"_blank")}return(g,v)=>(y(),w("div",jAe,[(y(),M(Wt(b(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:b(o)?c:void 0,target:b(o)?"_blank":void 0,type:b(o)?void 0:"button",onClick:v[0]||(v[0]=k=>{b(o)||(k.preventDefault(),d())})},{default:I(()=>[v[3]||(v[3]=x("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[x("path",{d:"M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.9
6269l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z"})],-1)),v[4]||(v[4]=ae(" VS Code ",-1)),N(b(a2),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),(y(),M(Wt(b(o)?"a":"button"),{class:"scalar-mcp-layer-link",href:b(o)?l:void 0,target:b(o)?"_blank":void 0,type:b(o)?void 0:"button",onClick:v[1]||(v[1]=k=>{b(o)||(k.preventDefault(),d())})},{default:I(()=>[v[5]||(v[5]=x("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[x("path",{d:"M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z",style:{fill:"currentColor"}})],-1)),v[6]||(v[6]=ae(" Cursor ",-1)),N(b(a2),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),b(o)?(y(),w("div",{key:1,class:"scalar-mcp-layer-link",onClick:v[2]||(v[2]=k=>{var S;return b(n)(((S=e.config)==null?void 0:S.url)??"")})},[ae(H(b(r)("mcp.connect"))+" ",1),v[8]||(v[8]=x("svg",{class:"mcp-logo ml-auto",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[x("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),x("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),x("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1))])):(y(),w("div",{key:0,class:"scalar-mcp-layer-link",onClick:d},[v[7]||(v[7]=x("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[x("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),x("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),x("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1)),ae(" "+H(b(r)("mcp.generate"))+" ",1),N(b(a2),{class:"mcp-nav ml-auto size-4"})]))]))}}),QAe=yt(FAe,[["__scopeId","data-v-24b70070"]]),zAe={},HAe={class:"references-classic-header-container"},VAe={class:"references-classic-header"},qAe={class:"references-classic-header-content"};function ZAe(e,t){return y(),w("div",HAe,[x("div",VAe,[x("div",qAe,[q(e.$slots,"default",{},void 0,!0)]),q(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}var XAe=yt(zAe,[["render",ZAe],["__scopeId","data-v-8a3822ca"]]);function K0(e){return Oy()?(w0(e),!0):!1}const Y6=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const MU=e=>e!=null,WAe=Object.prototype.toString,YAe=e=>WAe.call(e)==="[object Object]",no=()=>{},Qw=GAe();function GAe(){var e,t;return Y6&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function LU(...e){if(e.length!==1)return RI(...e);const t=e[0];return typeof t=="function"?aG(iG(()=>({get:t,set:no}))):J(t)}function KAe(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}const JAe=e=>e();function eTe(e,t={}){let n,r,a=no;const i=l=>{clearTimeout(l),a(),a=no};let o;return l=>{const c=Ve(e),u=Ve(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((d,f)=>{a=t.rejectOnCancel?f:d,o=l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(o())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,d(l())},c)})}}function dm(e){return Array.isArray(e)?e:[e]}function tTe(e,t,n={}){const{eventFilter:r=JAe,...a}=n;return ze(e,KAe(r,t),a)}function nTe(e,t,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return tTe(e,t,{...i,eventFilter:eTe(r,{maxWait:a})})}function rTe(e,t,n){return ze(e,t,{...n,immediate:!0})}const Ld=Y6?window:void 0,aTe=Y6?window.document:void 0;function hs(e){var t;const n=Ve(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ad(...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)),a=$(()=>{const s=dm(Ve(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),i=rTe(()=>{var s,l;return[(l=(s=a.value)==null?void 0:s.map(c=>hs(c)))!=null?l:[Ld].filter(c=>c!=null),dm(Ve(a.value?e[1]:e[0])),dm(b(a.value?e[2]:e[1])),Ve(a.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!(s!=null&&s.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const d=YAe(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(h=>c.map(p=>r(f,h,p,d)))))},{flush:"post"}),o=()=>{i(),n()};return K0(n),o}let IE=!1;function Wm(e,t,n={}){const{window:r=Ld,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:no,cancel:no,trigger:no}:no;if(Qw&&!IE){IE=!0;const g={passive:!0};
62Array.from(r.document.body.children).forEach(v=>v.addEventListener("click",no,g)),r.document.documentElement.addEventListener("click",no,g)}let l=!0;const c=g=>Ve(a).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(k=>k===g.target||g.composedPath().includes(k));{const k=hs(v);return k&&(g.target===k||g.composedPath().includes(k))}});function u(g){const v=Ve(g);return v&&v.$.subTree.shapeFlag===16}function d(g,v){const k=Ve(g),S=k.$.subTree&&k.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(A=>A.el===v.target||v.composedPath().includes(A.el))}const f=g=>{const v=hs(e);if(g.target!=null&&!(!(v instanceof Element)&&u(e)&&d(e,g))&&!(!v||v===g.target||g.composedPath().includes(v))){if("detail"in g&&g.detail===0&&(l=!c(g)),!l){l=!0;return}t(g)}};let h=!1;const p=[ad(r,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),f(g))},{passive:!0,capture:i}),ad(r,"pointerdown",g=>{const v=hs(e);l=!c(g)&&!!(v&&!g.composedPath().includes(v))},{passive:!0}),o&&ad(r,"blur",g=>{setTimeout(()=>{var v;const k=hs(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(k!=null&&k.contains(r.document.activeElement))&&t(g)},0)},{passive:!0})].filter(Boolean),m=()=>p.forEach(g=>g());return s?{stop:m,cancel:()=>{l=!1},trigger:g=>{l=!0,f(g),l=!1}}:m}function iTe(){const e=po(!1),t=by();return t&&Lt(()=>{e.value=!0},t),e}function DU(e){const t=iTe();return $(()=>(t.value,!!e()))}function oTe(e,t,n={}){const{window:r=Ld,...a}=n;let i;const o=DU(()=>r&&"MutationObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=$(()=>{const f=Ve(e),h=dm(f).map(hs).filter(MU);return new Set(h)}),c=ze(l,f=>{s(),o.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,a)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{c(),s()};return K0(d),{isSupported:o,stop:d,takeRecords:u}}function sTe(e,t,n={}){const{window:r=Ld,document:a=r==null?void 0:r.document,flush:i="sync"}=n;if(!r||!a)return no;let o;const s=u=>{o==null||o(),o=u},l=hr(()=>{const u=hs(e);if(u){const{stop:d}=oTe(a,f=>{f.map(p=>[...p.removedNodes]).flat().some(p=>p===u||p.contains(u))&&t(f)},{window:r,childList:!0,subtree:!0});s(d)}},{flush:i}),c=()=>{l(),s()};return K0(c),c}function lTe(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function yv(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=Ld,eventName:i="keydown",passive:o=!1,dedupe:s=!1}=r,l=lTe(t);return ad(a,i,u=>{u.repeat&&Ve(s)||l(u)&&n(u)},o)}function cTe(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:a=!1,window:i=Ld}=t,o=po(!1);let s;const l=c=>{const u=c?n:r;s&&(clearTimeout(s),s=void 0),u?s=setTimeout(()=>o.value=c,u):o.value=c};return i&&(ad(e,"mouseenter",()=>l(!0),{passive:!0}),ad(e,"mouseleave",()=>l(!1),{passive:!0}),a&&sTe($(()=>hs(e)),()=>l(!1))),o}function BU(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:o=Ld,immediate:s=!0}=n,l=DU(()=>o&&"IntersectionObserver"in o),c=$(()=>{const p=Ve(e);return dm(p).map(hs).filter(MU)});let u=no;const d=po(s),f=l.value?ze(()=>[c.value,hs(r),d.value],([p,m])=>{if(u(),!d.value||!p.length)return;const g=new IntersectionObserver(t,{root:hs(m),rootMargin:a,threshold:i});p.forEach(v=>v&&g.observe(v)),u=()=>{g.disconnect(),u=no}},{immediate:s,flush:"post"}):no,h=()=>{u(),f(),d.value=!1};return K0(h),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:h}}function uTe(e=null,t={}){const{baseUrl:n="",rel:r="icon",document:a=aTe}=t,i=LU(e),o=s=>{const l=a==null?void 0:a.head.querySelectorAll(`link[rel*="${r}"]`);if(!l||l.length===0){const c=a==null?void 0:a.createElement("link");c&&(c.rel=r,c.href=`${n}${s}`,c.type=`image/${s.split(".").pop()}`,a==null||a.head.append(c));return}l==null||l.forEach(c=>c.href=`${n}${s}`)};return ze(i,(s,l)=>{typeof s=="string"&&s!==l&&o(s)},{immediate:!0}),i}function GO(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function UU(e){const t=window.getComputedStyle(e);
62if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:UU(n)}}function dTe(e){const t=e||window.event,n=t.target;return UU(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const KO=new WeakMap;function fTe(e,t=!1){const n=po(t);let r=null,a="";ze(LU(e),s=>{const l=GO(Ve(s));if(l){const c=l;if(KO.get(c)||KO.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(a=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const s=GO(Ve(e));!s||n.value||(Qw&&(r=ad(s,"touchmove",l=>{dTe(l)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=GO(Ve(e));!s||!n.value||(Qw&&(r==null||r()),s.style.overflow=a,KO.delete(s),n.value=!1)};return K0(o),$({get(){return n.value},set(s){s?i():o()}})}var hTe="-49% 0px -49% 0px",Dd=(e,t,n)=>{Lt(()=>{const r={rootMargin:n!=null&&n.immediate?"0px 0px 0px 0px":hTe,threshold:0};e.value&&BU(e,([a])=>{var i;a!=null&&a.isIntersecting?t():(i=n==null?void 0:n.onExit)==null||i.call(n)},r)})},pTe=()=>({export:()=>({}),getAuthSecrets:()=>{},getAuthSelectedSchemas:()=>{}}),mTe=["content.start","content.end"],RE=(e,t,n,r)=>`${e}/plugin-view/${t}/${n}/${r}`,jU=({plugins:e=[],auth:t})=>{const n=new Map,r=t??pTe();return e.forEach(a=>{const i=a();n.set(i.name,i)}),{getSpecificationExtensions:a=>{const i=[];for(const o of n.values())for(const s of o.extensions)s.name===a&&i.push(s);return i},getViewComponents:(a,i)=>{var s;const o=[];for(const l of n.values()){const c=(s=l.views)==null?void 0:s[a];c&&c.forEach((u,d)=>{o.push({...u,id:RE(i,l.name,a,d)})})}return o},notifyInit:a=>{var i,o;for(const s of n.values())(o=(i=s.hooks)==null?void 0:i.onInit)==null||o.call(i,{config:a,auth:r})},notifyConfigChange:a=>{var i,o;for(const s of n.values())(o=(i=s.hooks)==null?void 0:i.onConfigChange)==null||o.call(i,{config:a,auth:r})},getAuthState:()=>r,notifyDestroy:()=>{var a,i;for(const o of n.values())(i=(a=o.hooks)==null?void 0:a.onDestroy)==null||i.call(a)},getApiClientPlugins:()=>{const a=[];for(const i of n.values())i.apiClientPlugins&&a.push(...i.apiClientPlugins);return a},getSidebarEntries:a=>{var o,s;const i=[];for(const l of n.values())for(const c of mTe)(s=(o=l.views)==null?void 0:o[c])==null||s.forEach((u,d)=>{var f;(f=u.sidebar)!=null&&f.show&&u.sidebar.label&&i.push({id:RE(a,l.name,c,d),label:u.sidebar.label,viewName:c})});return i}}},FU=Symbol(),QU=()=>{const e=Rn(FU);return e||jU({})};const zU={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},gTe=()=>typeof window>"u"?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage,bTe=ot(O.Object({type:O.Literal("apiKey")}),rv),yTe=ot(O.Object({type:O.Literal("http")}),rv,av),Pc=ot(cue,rv,aue),vTe=O.Object({implicit:O.Optional(ot(Pc,X2)),password:O.Optional(ot(Pc,av,Mf,ol)),clientCredentials:O.Optional(ot(Pc,Mf,ol)),authorizationCode:O.Optional(ot(Pc,Mf,X2,ol))}),OTe=ot(O.Object({type:O.Literal("oauth2")}),vTe),HU=O.Object({type:O.Literal("openIdConnect"),implicit:O.Optional(ot(nM,Pc,X2)),password:O.Optional(ot(rM,Pc,av,Mf,ol)),clientCredentials:O.Optional(ot(aM,Pc,Mf,ol)),authorizationCode:O.Optional(ot(iM,Pc,Mf,X2,ol))}),STe=ot(O.Object({type:O.Union([O.Literal("userPassword"),O.Literal("plain"),O.Literal("scramSha256"),O.Literal("scramSha512")])}),av),wTe=ot(O.Object({type:O.Literal("X509")}),uue,due),xTe=ot(O.Object({type:O.Union([O.Literal("symmetricEncryption"),O.Literal("asymmetricEncryption")])}),rv),kTe=ot(O.Object({type:O.Literal("gssapi")}),fue),VU=O.Union([bTe,yTe,OTe,HU,STe,wTe,xTe,kTe]),ATe=O.Record(O.String(),VU),NE=O.Object({selectedIndex:O.Number(),selectedSchemes:O.Array(Lde)}),qU=O.Object({secrets:ATe,selected:O.Object({document:O.Optional(NE),path:O.Optional(O.Record(O.String(),O.Record(O.String(),O.Optional(NE))))})}),TTe=O.Record(O.String(),qU);function ETe(e){return e.startsWith("#")}const wc=(e,t)=>{Object.assign(e,t)},_Te=({hooks:e}={})=>{const t=Cs({});return{clearAuthSelectedSchemas:d=>{var p,m,g;const f=t[d.documentName];if(!f)return;if(d.type==="document"){delete f.selected.document,(p=e==null?void 0:e.onAuthChange)==null||p.call(e,d.documentName);return}Hu(d.method),Hu(d.path);const h=(m=f.selected.path)==null?void 0:m[d.path];
62h&&(delete h[d.method],(g=e==null?void 0:e.onAuthChange)==null||g.call(e,d.documentName))},getAuthSecrets:(d,f)=>{var h,p;return(p=(h=t[d])==null?void 0:h.secrets)==null?void 0:p[f]},setAuthSecrets:(d,f,h)=>{var p;t[d]||(t[d]={secrets:{},selected:{document:void 0,path:void 0}}),t[d].secrets[f]=co(VU,h),(p=e==null?void 0:e.onAuthChange)==null||p.call(e,d)},clearAuthSecrets:(d,f)=>{var h,p,m;(p=(h=t[d])==null?void 0:h.secrets)==null||delete p[f],(m=e==null?void 0:e.onAuthChange)==null||m.call(e,d)},getAuthSelectedSchemas:d=>{var f,h,p,m,g,v;return d.type==="document"?(h=(f=t[d.documentName])==null?void 0:f.selected)==null?void 0:h.document:(v=(g=(m=(p=t[d.documentName])==null?void 0:p.selected)==null?void 0:m.path)==null?void 0:g[d.path])==null?void 0:v[d.method]},setAuthSelectedSchemas:(d,f)=>{var p,m,g,v,k;t[p=d.documentName]||(t[p]={secrets:{},selected:{document:void 0,path:void 0}});const h=t[d.documentName];if(d.type==="document")h.selected.document=f;else{Hu(d.path),Hu(d.method),(m=h.selected).path||(m.path={}),(g=h.selected.path)[v=d.path]||(g[v]={});const S=h.selected.path[d.path];S[d.method]=f}(k=e==null?void 0:e.onAuthChange)==null||k.call(e,d.documentName)},clearDocumentAuth:d=>{var f;delete t[d],(f=e==null?void 0:e.onAuthChange)==null||f.call(e,d)},load:d=>{wc(t,co(TTe,d)),Object.keys(d).forEach(f=>{var h;(h=e==null?void 0:e.onAuthChange)==null||h.call(e,f)})},export:()=>qt(t)}};var ib=gTe(),ZU=()=>{const e=zU.SELECTED_CLIENT;return{get:()=>ib.getItem(e),set:t=>{ib.setItem(e,t)}}},XU=()=>{const e=t=>`${zU.AUTH}-${t}`;return{getAuth:t=>co(qU,JSON.parse(ib.getItem(e(t))??"{}")),setAuth:(t,n)=>{ib.setItem(e(t),JSON.stringify(n))}}};const WU=(e={})=>{const{delay:t=328,maxWait:n}=e,r=new Map,a=new Map,i=new Map,o=()=>{r.forEach(clearTimeout),a.forEach(clearTimeout),r.clear(),a.clear(),i.clear()},s=d=>{const f=i.get(d),h=r.get(d);h!==void 0&&(clearTimeout(h),r.delete(d));const p=a.get(d);if(p!==void 0&&(clearTimeout(p),a.delete(d)),i.delete(d),f!==void 0)try{f()}catch{}};return{execute:(d,f)=>{i.set(d,f);const h=r.get(d);h!==void 0&&clearTimeout(h),r.set(d,setTimeout(()=>s(d),t)),n!==void 0&&!a.has(d)&&a.set(d,setTimeout(()=>s(d),n))},cleanup:o,flush:d=>{i.has(d)&&s(d)},flushAll:()=>{const d=[...i.keys()];for(const f of d)s(f)}}};var CTe=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:n=!1})=>{const{execute:r}=WU({delay:e,maxWait:t}),a=XU(),i=ZU(),o=()=>typeof n=="function"?n():n;return{hooks:{onWorkspaceStateChanges(s){if(s.type==="meta"){const l=s.value["x-scalar-default-client"];l!==void 0&&r("x-scalar-default-client",()=>i.set(l));return}o()&&s.type==="auth"&&r(`auth-${s.documentName}`,()=>a.setAuth(s.documentName,s.value))}}}};const $Te=/[^\p{L}\p{M}\p{N}\s_-]/gu,PTe=/[\s_-]+/g,ITe=/^-+|-+$/g,RTe=new RegExp("\\p{M}","gu"),ME=new Map,qa=(e,t={})=>{const{allowedSpecialChars:n="",preserveCase:r=!1,normalizationForm:a="NFC",stripAccents:i=!1}=t,o=(()=>
62{if(n.length===0)return $Te;const u=ME.get(n);if(u)return u;const d=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),f=new RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${d}]`,"gu");return ME.set(n,f),f})(),s=e.slice(0,255).trim(),l=i?s.normalize("NFD").replace(RTe,""):s.normalize(a);return(r?l:l.toLowerCase()).replace(o,"").replace(PTe,"-").replace(ITe,"")};var NTe=e=>{let t=0;for(;t<e.length&&e[t]==="/";)t+=1;return e.slice(t)},YU=e=>{let t=e.length;for(;t>0&&e[t-1]==="/";)t-=1;return e.slice(0,t)},J0=e=>YU(NTe(e)),e1=e=>e.startsWith("#"),vv=e=>YU(e.replace(/^#+/,"")),G6=(e,t)=>t?`${t}${e?"/":""}${e}`:e,zw=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,K6=e=>e?`/${e.split("/").map(t=>encodeURIComponent(t)).join("/")}`:"",MTe=(e,t)=>{const n=typeof e=="string"?new URL(e):e;return G6(decodeURIComponent(n.hash.slice(1)),t)},LTe=(e,t,n)=>{const r=typeof e=="string"?new URL(e):e,a=K6(J0(t));if(r.pathname.startsWith(a)){const i=r.pathname.slice(a.length);return G6(decodeURIComponent(i.startsWith("/")?i.slice(1):i),n)}return n??""},DTe=(e,t,n)=>{const r=typeof e=="string"?new URL(e):e,a=zw(decodeURIComponent(r.hash.slice(1)),vv(t));return a!==null?G6(a,n):n??""},BTe=(e,t)=>{const n=typeof e=="string"?new URL(e):e;if(e1(t)){const a=decodeURIComponent(n.hash);return a===t||a.startsWith(`${t}/`)}const r=K6(J0(t));return n.pathname===r||n.pathname.startsWith(`${r}/`)},tf=(e,t,n)=>typeof t!="string"?MTe(e,n):e1(t)?DTe(e,t,n):LTe(e,t,n),J6=e=>{const t=e.endsWith("/"),n=e.split("/").filter(Boolean).slice(1).join("/");return t&&n?`${n}/`:n},Ip=(e,t,n)=>{if(typeof window>"u")return;const r=n?e:J6(e),a=new URL(window.location.href);return typeof t=="string"?e1(t)?a.hash=[vv(t),r].filter(Boolean).join("/"):a.pathname=`${J0(t)}/${r}`:a.hash=r,a},UTe=(e,t,n)=>{const r=new Set(Array.from(t,i=>n?i:J6(i)).filter(Boolean)),{rawId:a}=JU(e);for(let i=0;i<a.length;i=a.indexOf("/",i)+1){if(r.has(a.slice(i)))return i===0?"":e.slice(0,i-1);if(a.indexOf("/",i)===-1)break}return e},GU=(e,t,n)=>{const r=n?e:J6(e),a=new URL("http://scratch");return typeof t=="string"?e1(t)?(a.hash=[vv(t),r].filter(Boolean).join("/"),a.hash||"#"):(a.pathname=`${J0(t)}/${r}`,a.pathname.replace(/^\/+/,"/")):(a.hash=r,a.hash||"#")},fm=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),JO=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}
62),jTe=(e,t)=>{if(typeof t!="string")return[JO(e)];if(e1(t)){const a=vv(t);return[{value:zw(decodeURIComponent(e.hash.slice(1)),a)??"",write:i=>{e.hash=[a,i].filter(Boolean).join("/")}},JO(e)]}const n=J0(t),r=zw(e.pathname,K6(n));return[{value:r===null?"":decodeURIComponent(r),write:a=>{e.pathname=n?`/${n}/${a}`:`/${a}`}},JO(e)]},FTe=(e,t)=>{for(const{match:n,replace:r}of t){const a=e.replace(n,r);if(a!==e)return a}return e},LE="(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?",QTe=({modelsSectionSlug:e,documentSlug:t,isMultiDocument:n})=>{const r=fm(t),a=n?`${r}/${LE}`:`(?:${r}/${LE})?`,i=s=>({match:new RegExp(`^(${a})${fm(s)}/`),replace:(l,c)=>`${c}${e}/`}),o=[i("model")];return e!=="models"&&o.push(i("models")),o},KU=[".body.",".path.",".query.",".header.",".responses."],zTe=e=>{const t=(o,s)=>`${o.toUpperCase()}/${s}`,n=new Set,r=new Map;for(const{name:o,method:s,id:l}of e){n.add(t(s,l.slice(l.lastIndexOf("/")+1)));const c=qa(o);if(c){const u=t(s,c);r.set(u,(r.get(u)??0)+1)}}const a=`(?=$|/|${KU.map(fm).join("|")})`,i=[];for(const{name:o,method:s,id:l}of e){const c=s.toUpperCase(),u=l.slice(l.lastIndexOf("/")+1),d=qa(o),f=t(s,d);!d||d===u||n.has(f)||(r.get(f)??0)>1||i.push({match:new RegExp(`(^|/)webhook/${fm(c)}/${fm(d)}${a}`),replace:(h,p)=>`${p}webhook/${c}/${u}`})}return i},DE=(e,t,n,r,a,i=[])=>{if(!n)return null;const o=new URL(typeof e=="string"?e:e.toString()),s=[...QTe({modelsSectionSlug:t,documentSlug:n,isMultiDocument:r}),...zTe(i)];let l=!1;for(const c of jTe(o,a)){const u=FTe(c.value,s);u!==c.value&&(c.write(u),l=!0)}return l?o:null},JU=e=>{let t=-1;for(const n of KU){const r=e.indexOf(n);r!==-1&&(t===-1||r<t)&&(t=r)}return t===-1?{rawId:e,params:""}:{rawId:e.slice(0,t),params:e.slice(t+1)}};let HTe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",VTe=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=HTe[n[e]&63];return t};var Gl=Cs(new Set),hh=Cs(new Set),zc=Cs(new Set),Vu=J(!1),qTe=3e3,Hw=J(!1),hd=J(""),e5=e=>{const t=hd.value;return!e||!t?!1:t===e||t.startsWith(`${e}.`)},BE=e=>{hd.value===e&&(hd.value="")},Vw=Cs(new Set),em=new Set,t5=Cs(new Map),ZTe=e=>t5.get(e),e4=(e,t)=>{!Number.isFinite(t)||t<=0||t5.set(e,Math.round(t))},XTe=e=>{e&&em.add(e)},ej=()=>{const e=VTe();return Vw.add(e),()=>setTimeout(()=>Vw.delete(e),100)},WTe=$(()=>Vw.size===0),n5=()=>{if(typeof window>"u"||Vu.value)return;Vu.value=!0;const e=async()=>{const t=[...Gl],n=[...hh];if(t.length===0&&n.length===0){em.forEach(r=>r()),em.clear(),Vu.value=!1,Hw.value=!0;return}for(const r of t)zc.add(r),Gl.delete(r);for(const r of n)zc.add(r),hh.delete(r);await In(),em.forEach(r=>r()),em.clear(),Vu.value=!1,Hw.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):In(e)};nTe([()=>hh.size,()=>Gl.size,()=>Vu.value],()=>{(hh.size>0||Gl.size>0)&&!Vu.value&&n5()},{debounce:300,maxWait:1500});var YTe=e=>{e&&!zc.has(e)&&!Gl.has(e)&&hh.add(e)},Bu=e=>{e&&!Gl.has(e)&&Gl.add(e)},UE=(e,t=!1)=>{!e||zc.has(e)||(t?Bu(e):YTe(e),Vu.value||n5())},GTe=()=>{typeof window>"u"||window.setTimeout(()=>n5(),400)},KTe=e=>{Gl.delete(e),hh.delete(e),zc.delete(e),t5.delete(e)};function JTe(e){return Qa(()=>{KTe(e)}),{isReady:$(()=>typeof window>"u"||Gl.has(e)||zc.has(e))}}var eEe=(e,t,n)=>{var l,c,u;const r=n(e),a=!zc.has(e)||(l=r==null?void 0:r.children)!=null&&l.some(d=>!zc.has(d.id))?nEe(e):void 0;XTe(a);const i=ej(),{rawId:o}=tEe(e,n);if(hd.value=e,Bu(e),Bu(o),r!=null&&r.children&&r.children.slice(0,2).forEach(d=>Bu(d.id)),r!=null&&r.parent){const d=n(r.parent.id),f=(c=d==null?void 0:d.children)==null?void 0:c.findIndex(h=>h.id===e);f!==void 0&&f>=0&&((u=d==null?void 0:d.children)==null||u.slice(f,f+2).forEach(h=>Bu(h.id)))}t(o,!0);const s=d=>{var h;const f=(h=n(d))==null?void 0:h.parent;f&&(Bu(f.id),t(f.id,!0),s(f.id))};s(o),In(()=>{tj(e,Date.now()+qTe,i,a,o)})},tEe=(e,t)=>{const{rawId:n}=JU(e);if(t(n))return{rawId:n};let r=n;for(;;){const a=r.lastIndexOf(".");if(a===-1)return{rawId:n};if(r=r.slice(0,a),t(r))return{rawId:r}}},tj=(e,t,n,r,a)=>{var o;const i=document.getElementById(e);i?(i.scrollIntoView({block:"start"}),i instanceof HTMLElement&&hd.value===e&&i.focus({preventScroll:!0}),BE(e),n()):Date.now()<t?requestAnimationFrame(()=>tj(e,t,n,r,a)):(a&&a!==e&&hd.value===e&&((o=document.getElementById(a))==null||o.scrollIntoView({block:"start"})),BE(e),n(),r==null||r())},nEe=e=>{let t=!1;const n=r=>{const a=document.getElementById(e);a&&a.scrollIntoView({block:"start"}),r||requestAnimationFrame(()=>n(t))};return n(!1),()=>{t=!0}},jE=(e,t)=>t===""||e===t||e.startsWith(`${t}.`),ph=e=>(e==null?void 0:e.join("."))??"",rEe=300,nj=()=>{const e=JS(new Map),t=JS(new Map),n=po("default"),r=u=>{if(t.size===0)return;let d=u;for(;;){const f=t.get(d);if(f!==void 0)return f;const h=d.lastIndexOf(".");if(h===-1)return t.get("");d=d.slice(0,h)}},a=u=>{for(const d of[...e.keys()])jE(d,u)&&e.delete(d)};let i=!1;const o=u=>{i=!0,u(),In(()=>{i=!1})},s=(u,d)=>{if(a(u),u===""){t.clear(),n.value=d?"expanded":"collapsed";return}for(const f of[...t.keys()])jE(f,u)&&t.delete(f);t.set(u,d)},l=(u,d={})=>{const f=e.get(u);if(f!==void 0)return f;if(!d.cyclic){const h=r(u);if(h!==void 0)return h;if(n.value==="expanded")return!0;
62if(n.value==="collapsed")return!1}return e5(d.anchorPath??u)?!0:d.defaultOpen??!1},c=(u,d)=>{e.set(u,d)};return{isExpanded:l,setExpanded:c,toggle:(u,d)=>c(u,!l(u,d)),expandAll:(u="")=>s(u,!0),collapseAll:(u="")=>o(()=>s(u,!1)),commitPath:u=>{if(!u)return;const d=u.split(".");for(let f=1;f<=d.length;f++){const h=d.slice(0,f).join(".");e.set(h,!0);const p=h.lastIndexOf(".");p!==-1&&e.set(`${h.slice(0,p)}.~${h.slice(p+1)}`,!0)}},baseline:n,pauseRetentionFor:o,untilFound:(()=>{let u=0;return{acquire:()=>i||u>=rEe?!1:(u+=1,!0),release:()=>{u=Math.max(0,u-1)}}})()}},qw=Symbol("schema-expansion"),FE=Symbol("schema-tree-root"),aEe=()=>{const e=nj();return _n(qw,e),Lt(()=>{ze(hd,a=>{a&&e.commitPath(a)},{immediate:!0});let t=null;const n=()=>{t=e.baseline.value,e.baseline.value="expanded"},r=()=>{if(t!==null){const a=t;e.pauseRetentionFor(()=>{e.baseline.value=a}),t=null}};window.addEventListener("beforeprint",n),window.addEventListener("afterprint",r),Qa(()=>{window.removeEventListener("beforeprint",n),window.removeEventListener("afterprint",r)})}),e},Ov=()=>{const e=Rn(qw,null);if(e)return e;const t=nj();return _n(qw,t),t},iEe={key:3,class:"centered"},oEe=F({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=Ur({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/4",sm:"px-3.5 py-2 text-sm/4",md:"px-5 py-3 text-sm/4"},variant:pU},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=Ur({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.5 -ml-0.25 mr-1",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=Ur({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:a}=$t();return(i,o)=>{var s;return y(),M(Wt(e.is),Te({"aria-disabled":e.disabled||void 0,type:e.is==="button"?"button":void 0},b(a)(b(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:(s=e.loader)==null?void 0:s.isActive})),{default:I(()=>{var l,c,u;return[i.$slots.icon||e.icon?(y(),w("div",{key:0,class:Oe([b(n)({size:e.size}),{invisible:(l=e.loader)==null?void 0:l.isActive}])},[q(i.$slots,"icon",{},()=>[(y(),M(Wt(e.icon),{class:"size-full"}))])],2)):U("",!0),e.loader?(y(),w("span",{key:1,class:Oe({invisible:(c=e.loader)==null?void 0:c.isActive})},[q(i.$slots,"default")],2)):q(i.$slots,"default",{},void 0,void 0,2),(u=e.loader)!=null&&u.isActive?(y(),w("div",iEe,[N(b(hU),{class:Oe(b(r)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):U("",!0)]}),_:3},16,["aria-disabled","type"])}}}),zn=oEe,sEe={class:"sr-only"},lEe={class:"overflow-x-auto"},cEe={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},uEe={class:"sr-only"},dEe={class:"overflow-x-auto"},fEe=F({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=n,{translate:a}=Ot(),i=$(()=>e.servers.map(l=>({id:l.name,label:l.url}))),o=$(()=>{var l,c;return((c=(l=e.selectedServer)==null?void 0:l.url)==null?void 0:c.replace(/\/$/,""))||""}),s=$(()=>i.value.find(l=>{var c;return l.id===((c=e.selectedServer)==null?void 0:c.name)}));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:i,selectedServer:e.selectedServer}),(l,c)=>i.value.length>1?(y(),M(b(fu),{key:0,ref:"elem",class:"group",modelValue:s.value,options:i.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":c[0]||(c[0]=u=>r("update:modelValue",u.id))},{default:I(()=>[N(b(zn),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:I(()=>[x("span",sEe,H(b(a)("server.label"))+":",1),x("span",lEe,H(o.value||b(a)("server.select")),1),N(b(Xo),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(y(),w("div",cEe,[x("span",uEe,H(b(a)("server.label"))+":",1),x("span",dEe,H(o.value),1)]))}}),hEe=fEe,pEe={key:0,class:"sr-only"},mEe=F({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,a=$(()=>n.enum.map(o=>({id:o,label:o}))),i=$({get:()=>a.value.find(o=>o.id===n.value),set:o=>r("change",(o==null?void 0:o.id)??"")});return(o,s)=>(y(),M(b(fu),{modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=l=>i.value=l),options:a.value},{default:I(()=>[N(b(zn),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:I(()=>[x("span",{class:Oe({"text-c-1":e.value})},[e.value?(y(),w("span",pEe," Selected: ")):U("",!0),ae(" "+H(e.value||"Select value"),1)],2),N(b(Xo),{weight:"bold",class:"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"})]),_:1},8,["aria-controls"])]),_:1},8,["modelValue","options"]))}}),gEe=mEe,bEe=F({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){const n=e,r=t,a=$({get:()=>n.value,set:i=>
62r("change",i)});return(i,o)=>Fi((y(),w("input",Te({"onUpdate:modelValue":o[0]||(o[0]=s=>a.value=s)},e.controls?{...i.$attrs,"aria-controls":e.controls}:{},{autocomplete:"off",class:"text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg",placeholder:"value",spellcheck:"false",type:"text"}),null,16)),[[xd,a.value]])}}),yEe=bEe,vEe=["for"],OEe=F({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){const n=t,r=Mt();function a(o,s){n("update:variable",o,s)}const i=o=>{var s,l,c;return(((s=e.values)==null?void 0:s[o])??((c=(l=e.variables)==null?void 0:l[o])==null?void 0:c.default)??"").toString()};return(o,s)=>e.variables&&Object.keys(e.variables??{}).length?(y(!0),w(de,{key:0},it(Object.keys(e.variables),l=>{var c,u,d,f,h;return y(),w("div",{key:l,class:Oe(["group/label flex h-8 w-full",e.layout==="reference"&&"items-center border-x border-b last:rounded-b-lg"])},[x("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${b(r)}-${l}`},H(l),9,vEe),(d=(u=(c=e.variables)==null?void 0:c[l])==null?void 0:u.enum)!=null&&d.length?(y(),M(gEe,{key:0,id:`${b(r)}-${l}`,controls:e.controls,enum:((h=(f=e.variables[l])==null?void 0:f.enum)==null?void 0:h.map(p=>`${p}`))??[],value:i(l),onChange:p=>a(l,p)},null,8,["id","controls","enum","value","onChange"])):(y(),M(yEe,{key:1,id:`${b(r)}-${l}`,controls:e.controls,value:i(l),onChange:p=>a(l,p)},null,8,["id","controls","value","onChange"]))],2)}),128)):U("",!0)}}),rj=OEe,Jh=function(e){if(e==null)return kEe;if(typeof e=="function")return Sv(e);if(typeof e=="object")return Array.isArray(e)?SEe(e):wEe(e);if(typeof e=="string")return xEe(e);throw new Error("Expected function, string, or object as test")};function SEe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Jh(e[n]);return Sv(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function wEe(e){const t=e;return Sv(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function xEe(e){return Sv(t);function t(n){return n&&n.type===e}}function Sv(e){return t;function t(n,r,a){return!!(AEe(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function kEe(){return!0}function AEe(e){return e!==null&&typeof e=="object"&&"type"in e}var aj=[],ij="skip";function r5(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=Jh(a),o=r?-1:1;s(e,void 0,[])();function s(l,c,u){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const h=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return f;function f(){let h=aj,p,m,g;if((!t||i(l,c,u[u.length-1]||void 0))&&(h=TEe(n(l,u)),h[0]===!1))return h;if("children"in l&&l.children){const v=l;if(v.children&&h[0]!=="skip")for(m=(r?v.children.length:-1)+o,g=u.concat(v);m>-1&&m<v.children.length;){const k=v.children[m];if(p=s(k,m,g)(),p[0]===!1)return p;m=typeof p[1]=="number"?p[1]:m+o}}return h}}}function TEe(e){return Array.isArray(e)?e:typeof e=="number"?[!0,e]:e==null?aj:[e]}function ko(e,t,n,r){let a,i,o;typeof t=="function"&&typeof n!="function"?(i=void 0,o=t,a=n):(i=t,o=n,a=r),r5(e,i,s,a);function s(l,c){const u=c[c.length-1],d=u?u.children.indexOf(l):void 0;return o(l,d,u)}}var EEe=Object.create,ob=Object.defineProperty,_Ee=Object.getOwnPropertyDescriptor,CEe=Object.getOwnPropertyNames,$Ee=Object.getPrototypeOf,PEe=Object.prototype.hasOwnProperty,oj=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),sj=(e,t)=>{let n={};for(var r in e)ob(n,r,{get:e[r],enumerable:!0});return ob(n,Symbol.toStringTag,{value:"Module"}),n},IEe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=CEe(t),i=0,o=a.length,s;i<o;i++)s=a[i],!PEe.call(e,s)&&s!==n&&ob(e,s,{get:(l=>t[l]).bind(null,s),enumerable:!(r=_Ee(t,s))||r.enumerable});return e},lj=(e,t,n)=>(n=e!=null?EEe($Ee(e)):{},IEe(t||!e||!e.__esModule?ob(n,"default",{value:e,enumerable:!0}):n,e)),cj={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},QE=function(e,t,n){const r=Jh(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},a5=function(e,t,n,r,a){const i=Wo(t);return uj(e)?i.call(a,e,n,r):!1},Wo=function(e){if(e==null)return MEe;if(typeof e=="string")return NEe(e);if(typeof e=="object")return REe(e);if(typeof e=="function")return i5(e);throw new Error("Expected function, string, or array as `test`")};function REe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Wo(e[n]);return i5(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function NEe(e){return i5(t);function t(n){return n.tagName===e}}function i5(e){return t;function t(n,r,a){return!!(uj(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function MEe(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function uj(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}var zE=/\n/g,HE=/[\t ]+/g,Zw=Wo("br"),VE=Wo(QEe),LEe=Wo("p"),qE=Wo("tr"),DEe=Wo(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",FEe,zEe]),dj=Wo(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function ZE(e,t){const n={},r="children"in e?e.children:[],a=dj(e),i=pj(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...hj(e,{breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...fj(r[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<r.length-1?Zw(r[s+1]):a}));const l=[];let c;for(s=-1;++s<o.length;){const u=o[s];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(` 63`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function fj(e,t,n){return e.type==="element"?BEe(e,t,n):e.type==="text"?n.whitespace==="normal"?hj(e,n):UEe(e):[]}function BEe(e,t,n){const r=pj(e,n),a=e.children||[];let i=-1,o=[];if(DEe(e))return o;let s,l;for(Zw(e)||qE(e)&&QE(t,e,qE)?l=` 64`:LEe(e)?(s=2,l=2):dj(e)&&(s=1,l=1);++i<a.length;)o=o.concat(fj(a[i],e,{whitespace:r,breakBefore:i?void 0:s,breakAfter:i<a.length-1?Zw(a[i+1]):l}));return VE(e)&&QE(t,e,VE)&&o.push(" "),s&&o.unshift(s),l&&o.push(l),o}function hj(e,t){const n=String(e.value),r=[],a=[];let i=0;for(;i<=n.length;){zE.lastIndex=i;const l=zE.exec(n),c=l&&"index"in l?l.index:n.length;r.push(jEe(n.slice(i,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),i=c+1}let o=-1,s;for(;++o<r.length;
64)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(a.push(r[o]),s=void 0):r[o]?(typeof s=="number"&&a.push(s),a.push(r[o]),s=0):(o===0||o===r.length-1)&&a.push(0);return a}function UEe(e){return[String(e.value)]}function jEe(e,t,n){const r=[];let a=0,i;for(;a<e.length;){HE.lastIndex=a;const o=HE.exec(e);i=o?o.index:e.length,!a&&!i&&o&&!t&&r.push(""),a!==i&&r.push(e.slice(a,i)),a=o?i+o[0].length:i}return a!==i&&!n&&r.push(""),r.join(" ")}function pj(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function FEe(e){return!!(e.properties||{}).hidden}function QEe(e){return e.tagName==="td"||e.tagName==="th"}function zEe(e){return e.tagName==="dialog"&&!(e.properties||{}).open}var HEe=lj(oj((e,t)=>{function n(K){return K instanceof Map?K.clear=K.delete=K.set=function(){throw new Error("map is read-only")}:K instanceof Set&&(K.add=K.clear=K.delete=function(){throw new Error("set is read-only")}),Object.freeze(K),Object.getOwnPropertyNames(K).forEach(_e=>{const at=K[_e],Gt=typeof at;(Gt==="object"||Gt==="function")&&!Object.isFrozen(at)&&n(at)}),K}var r=class{constructor(K){K.data===void 0&&(K.data={}),this.data=K.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function a(K){return K.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(K,..._e){const at=Object.create(null);for(const Gt in K)at[Gt]=K[Gt];return _e.forEach(function(Gt){for(const dr in Gt)at[dr]=Gt[dr]}),at}var o="</span>",s=K=>!!K.scope,l=(K,{prefix:_e})=>{if(K.startsWith("language:"))return K.replace("language:","language-");if(K.includes(".")){const at=K.split(".");return[`${_e}${at.shift()}`,...at.map((Gt,dr)=>`${Gt}${"_".repeat(dr+1)}`)].join(" ")}return`${_e}${K}`},c=class{constructor(K,_e){this.buffer="",this.classPrefix=_e.classPrefix,K.walk(this)}addText(K){this.buffer+=a(K)}openNode(K){if(!s(K))return;const _e=l(K.scope,{prefix:this.classPrefix});this.span(_e)}closeNode(K){s(K)&&(this.buffer+=o)}value(){return this.buffer}span(K){this.buffer+=`<span class="${K}">`}},u=(K={})=>{const _e={children:[]};return Object.assign(_e,K),_e},d=class mj{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(_e){this.top.children.push(_e)}openNode(_e){const at=u({scope:_e});this.add(at),this.stack.push(at)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(_e){return this.constructor._walk(_e,this.rootNode)}static _walk(_e,at){return typeof at=="string"?_e.addText(at):at.children&&(_e.openNode(at),at.children.forEach(Gt=>this._walk(_e,Gt)),_e.closeNode(at)),_e}static _collapse(_e){typeof _e!="string"&&_e.children&&(_e.children.every(at=>typeof at=="string")?_e.children=[_e.children.join("")]:_e.children.forEach(at=>{mj._collapse(at)}))}},f=class extends d{constructor(K){super(),this.options=K}addText(K){K!==""&&this.add(K)}startScope(K){this.openNode(K)}endScope(){this.closeNode()}__addSublanguage(K,_e){const at=K.root;_e&&(at.scope=`language:${_e}`),this.add(at)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function h(K){return K?typeof K=="string"?K:K.source:null}function p(K){return v("(?=",K,")")}function m(K){return v("(?:",K,")*")}function g(K){return v("(?:",K,")?")}function v(...K){return K.map(_e=>h(_e)).join("")}function k(K){const _e=K[K.length-1];return typeof _e=="object"&&_e.constructor===Object?(K.splice(K.length-1,1),_e):{}}function S(...K){return"("+(k(K).capture?"":"?:")+K.map(_e=>h(_e)).join("|")+")"}function A(K){return new RegExp(K.toString()+"|").exec("").length-1}function E(K,_e){const at=K&&K.exec(_e);return at&&at.index===0}var _=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(K,{joinWith:_e}){let at=0;return K.map(Gt=>{at+=1;const dr=at;let Sr=h(Gt),bt="";for(;Sr.length>0;){const lt=_.exec(Sr);if(!lt){bt+=Sr;break}bt+=Sr.substring(0,lt.index),Sr=Sr.substring(lt.index+lt[0].length),lt[0][0]==="\\"&<[1]?bt+="\\"+String(Number(lt[1])+dr):(bt+=lt[0],lt[0]==="("&&at++)}return bt}).map(Gt=>`(${Gt})`).join(_e)}var R=/\b\B/,B="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",V="\\b\\d+(\\.\\d+)?",Q="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ee="\\b(0b[01]+)",ne="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",G=(K={})=>{const _e=/^#![ ]*\//;return K.binary&&(K.begin=v(_e,/.*\b/,K.binary,/\b.*/)),i({scope:"meta",begin:_e,end:/$/,relevance:0,"on:begin":(at,Gt)=>{at.index!==0&&Gt.ignoreMatch()}},K)},re={begin:"\\\\[\\s\\S]",relevance:0},Y={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[re]},ye={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[re]},Ee={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},j=function(K,_e,at={}){const Gt=i({scope:"comment",begin:K,end:_e,contains:[]},at);Gt.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});
vendor: 5,320 bytes, line 64
64const dr=S("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Gt.contains.push({begin:v(/[ ]+/,"(",dr,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Gt},xe=j("//","$"),Ie=j("/\\*","\\*/"),Z=j("#","$"),rt={scope:"number",begin:V,relevance:0},ie={scope:"number",begin:Q,relevance:0},Pe={scope:"number",begin:ee,relevance:0},gt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[re,{begin:/\[/,end:/\]/,relevance:0,contains:[re]}]},Zt={scope:"title",begin:B,relevance:0},St={scope:"title",begin:L,relevance:0},sn={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},Xn=function(K){return Object.assign(K,{"on:begin":(_e,at)=>{at.data._beginMatch=_e[1]},"on:end":(_e,at)=>{at.data._beginMatch!==_e[1]&&at.ignoreMatch()}})},Wn=Object.freeze({__proto__:null,APOS_STRING_MODE:Y,BACKSLASH_ESCAPE:re,BINARY_NUMBER_MODE:Pe,BINARY_NUMBER_RE:ee,COMMENT:j,C_BLOCK_COMMENT_MODE:Ie,C_LINE_COMMENT_MODE:xe,C_NUMBER_MODE:ie,C_NUMBER_RE:Q,END_SAME_AS_BEGIN:Xn,HASH_COMMENT_MODE:Z,IDENT_RE:B,MATCH_NOTHING_RE:R,METHOD_GUARD:sn,NUMBER_MODE:rt,NUMBER_RE:V,PHRASAL_WORDS_MODE:Ee,QUOTE_STRING_MODE:ye,REGEXP_MODE:gt,RE_STARTERS_RE:ne,SHEBANG:G,TITLE_MODE:Zt,UNDERSCORE_IDENT_RE:L,UNDERSCORE_TITLE_MODE:St});function ra(K,_e){K.input[K.index-1]==="."&&_e.ignoreMatch()}function vr(K,_e){K.className!==void 0&&(K.scope=K.className,delete K.className)}function he(K,_e){_e&&K.beginKeywords&&(K.begin="\\b("+K.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",K.__beforeBegin=ra,K.keywords=K.keywords||K.beginKeywords,delete K.beginKeywords,K.relevance===void 0&&(K.relevance=0))}function Me(K,_e){Array.isArray(K.illegal)&&(K.illegal=S(...K.illegal))}function Ge(K,_e){if(K.match){if(K.begin||K.end)throw new Error("begin & end are not supported with match");K.begin=K.match,delete K.match}}function Et(K,_e){K.relevance===void 0&&(K.relevance=1)}var At=(K,_e)=>{if(!K.beforeMatch)return;if(K.starts)throw new Error("beforeMatch cannot be used with starts");const at=Object.assign({},K);Object.keys(K).forEach(Gt=>{delete K[Gt]}),K.keywords=at.keywords,K.begin=v(at.beforeMatch,p(at.begin)),K.starts={relevance:0,contains:[Object.assign(at,{endsParent:!0})]},K.relevance=0,delete at.beforeMatch},Yt=["of","and","for","in","not","or","if","then","parent","list","value"],ln="keyword";function Or(K,_e,at=ln){const Gt=Object.create(null);return typeof K=="string"?dr(at,K.split(" ")):Array.isArray(K)?dr(at,K):Object.keys(K).forEach(function(Sr){Object.assign(Gt,Or(K[Sr],_e,Sr))}),Gt;function dr(Sr,bt){_e&&(bt=bt.map(lt=>lt.toLowerCase())),bt.forEach(function(lt){const Dt=lt.split("|");Gt[Dt[0]]=[Sr,Yn(Dt[0],Dt[1])]})}}function Yn(K,_e){return _e?Number(_e):ui(K)?0:1}function ui(K){return Yt.includes(K.toLowerCase())}var di={},oe=K=>{console.error(K)},ge=(K,..._e)=>{console.log(`WARN: ${K}`,..._e)},Qe=(K,_e)=>{di[`${K}/${_e}`]||(console.log(`Deprecated as of ${K}. ${_e}`),di[`${K}/${_e}`]=!0)},Pt=new Error;function Rt(K,_e,{key:at}){let Gt=0;const dr=K[at],Sr={},bt={};for(let lt=1;lt<=_e.length;lt++)bt[lt+Gt]=dr[lt],Sr[lt+Gt]=!0,Gt+=A(_e[lt-1]);K[at]=bt,K[at]._emit=Sr,K[at]._multi=!0}function Qr(K){if(Array.isArray(K.begin)){if(K.skip||K.excludeBegin||K.returnBegin)throw oe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Pt;if(typeof K.beginScope!="object"||K.beginScope===null)throw oe("beginScope must be object"),Pt;Rt(K,K.begin,{key:"beginScope"}),K.begin=C(K.begin,{joinWith:""})}}function zr(K){if(Array.isArray(K.end)){if(K.skip||K.excludeEnd||K.returnEnd)throw oe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Pt;if(typeof K.endScope!="object"||K.endScope===null)throw oe("endScope must be object"),Pt;Rt(K,K.end,{key:"endScope"}),K.end=C(K.end,{joinWith:""})}}function Hr(K){K.scope&&typeof K.scope=="object"&&K.scope!==null&&(K.beginScope=K.scope,delete K.scope)}function Vr(K){Hr(K),typeof K.beginScope=="string"&&(K.beginScope={_wrap:K.beginScope}),typeof K.endScope=="string"&&(K.endScope={_wrap:K.endScope}),Qr(K),zr(K)}function ga(K){function _e(bt,lt){return new RegExp(h(bt),"m"+(K.case_insensitive?"i":"")+(K.unicodeRegex?"u":"")+(lt?"g":""))}class at{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(lt,Dt){Dt.position=this.position++,this.matchIndexes[this.matchAt]=Dt,this.regexes.push([Dt,lt]),this.matchAt+=A(lt)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const lt=this.regexes.map(Dt=>Dt[1]);this.matcherRe=_e(C(lt,{joinWith:"|"}),!0),this.lastIndex=0}exec(lt){this.matcherRe.lastIndex=this.lastIndex;const Dt=this.matcherRe.exec(lt);if(!Dt)return null;const qr=Dt.findIndex((wu,yp)=>yp>0&&wu!==void 0),Cr=this.matchIndexes[qr];return Dt.splice(0,qr),Object.assign(Dt,Cr)}}class Gt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(lt){if(this.multiRegexes[lt])return this.multiRegexes[lt];const Dt=new at;return this.rules.slice(lt).forEach(([qr,Cr])=>Dt.addRule(qr,Cr)),Dt.compile(),this.multiRegexes[lt]=Dt,Dt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(lt,Dt){this.rules.push([lt,Dt]),Dt.type==="begin"&&this.count++}exec(lt){const Dt=this.getMatcher(this.regexIndex);Dt.lastIndex=this.lastIndex;let qr=Dt.exec(lt);
64if(this.resumingScanAtSamePosition()&&!(qr&&qr.index===this.lastIndex)){const Cr=this.getMatcher(0);Cr.lastIndex=this.lastIndex+1,qr=Cr.exec(lt)}return qr&&(this.regexIndex+=qr.position+1,this.regexIndex===this.count&&this.considerAll()),qr}}function dr(bt){const lt=new Gt;return bt.contains.forEach(Dt=>lt.addRule(Dt.begin,{rule:Dt,type:"begin"})),bt.terminatorEnd&<.addRule(bt.terminatorEnd,{type:"end"}),bt.illegal&<.addRule(bt.illegal,{type:"illegal"}),lt}function Sr(bt,lt){const Dt=bt;if(bt.isCompiled)return Dt;[vr,Ge,Vr,At].forEach(Cr=>Cr(bt,lt)),K.compilerExtensions.forEach(Cr=>Cr(bt,lt)),bt.__beforeBegin=null,[he,Me,Et].forEach(Cr=>Cr(bt,lt)),bt.isCompiled=!0;let qr=null;return typeof bt.keywords=="object"&&bt.keywords.$pattern&&(bt.keywords=Object.assign({},bt.keywords),qr=bt.keywords.$pattern,delete bt.keywords.$pattern),qr=qr||/\w+/,bt.keywords&&(bt.keywords=Or(bt.keywords,K.case_insensitive)),Dt.keywordPatternRe=_e(qr,!0),lt&&(bt.begin||(bt.begin=/\B|\b/),Dt.beginRe=_e(Dt.begin),!bt.end&&!bt.endsWithParent&&(bt.end=/\B|\b/),bt.end&&(Dt.endRe=_e(Dt.end)),Dt.terminatorEnd=h(Dt.end)||"",bt.endsWithParent&<.terminatorEnd&&(Dt.terminatorEnd+=(bt.end?"|":"")+lt.terminatorEnd)),bt.illegal&&(Dt.illegalRe=_e(bt.illegal)),bt.contains||(bt.contains=[]),bt.contains=[].concat(...bt.contains.map(function(Cr){return fe(Cr==="self"?bt:Cr)})),bt.contains.forEach(function(Cr){Sr(Cr,Dt)}),bt.starts&&Sr(bt.starts,lt),Dt.matcher=dr(Dt),Dt}if(K.compilerExtensions||(K.compilerExtensions=[]),K.contains&&K.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return K.classNameAliases=i(K.classNameAliases||{}),Sr(K)}function se(K){return K?K.endsWithParent||se(K.starts):!1}function fe(K){return K.variants&&!K.cachedVariants&&(K.cachedVariants=K.variants.map(function(_e){return i(K,{variants:null},_e)})),K.cachedVariants?K.cachedVariants:se(K)?i(K,{starts:K.starts?i(K.starts):null}):Object.isFrozen(K)?i(K):K}var Ae="11.11.1",je=class extends Error{constructor(K,_e){super(K),this.name="HTMLInjectionError",this.html=_e}},vt=a,wt=i,pn=Symbol("nomatch"),ba=7,tn=function(K){const _e=Object.create(null),at=Object.create(null),Gt=[];let dr=!0;const Sr="Could not find the language '{}', did you forget to load/include a language module?",bt={disableAutodetect:!0,name:"Plain text",contains:[]};let lt={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function Dt(Ue){return lt.noHighlightRe.test(Ue)}function qr(Ue){let Ct=Ue.className+" ";Ct+=Ue.parentNode?Ue.parentNode.className:"";const yn=lt.languageDetectRe.exec(Ct);if(yn){const Gn=aa(yn[1]);return Gn||(ge(Sr.replace("{}",yn[1])),ge("Falling back to no-highlight mode for this block.",Ue)),Gn?yn[1]:"no-highlight"}return Ct.split(/\s+/).find(Gn=>Dt(Gn)||aa(Gn))}function Cr(Ue,Ct,yn){let Gn="",ia="";typeof Ct=="object"?(Gn=Ue,yn=Ct.ignoreIllegals,ia=Ct.language):(Qe("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qe("10.7.0",`Please use highlight(code, options) instead. 65https://github.com/highlightjs/highlight.js/issues/2277`),ia=Ue,Gn=Ct),yn===void 0&&(yn=!0);const Ds={code:Gn,language:ia};T1("before:highlight",Ds);const wl=Ds.result?Ds.result:wu(Ds.language,Ds.code,yn);return wl.code=Ds.code,T1("after:highlight",wl),wl}function wu(Ue,Ct,yn,Gn){const ia=Object.create(null);function Ds(et,_t){return et.keywords[_t]}function wl(){if(!Vt.keywords){$a.addText(Kn);return}let et=0;Vt.keywordPatternRe.lastIndex=0;let _t=Vt.keywordPatternRe.exec(Kn),cn="";for(;_t;){cn+=Kn.substring(et,_t.index);const jn=Bs.case_insensitive?_t[0].toLowerCase():_t[0],Va=Ds(Vt,jn);if(Va){const[kl,GY]=Va;if($a.addText(cn),cn="",ia[jn]=(ia[jn]||0)+1,ia[jn]<=ba&&(C1+=GY),kl.startsWith("_"))cn+=_t[0];else{const KY=Bs.classNameAliases[kl]||kl;E1(_t[0],KY)}}else cn+=_t[0];et=Vt.keywordPatternRe.lastIndex,_t=Vt.keywordPatternRe.exec(Kn)}cn+=Kn.substring(et),$a.addText(cn)}function xl(){if(Kn==="")return;let et=null;if(typeof Vt.subLanguage=="string"){if(!_e[Vt.subLanguage]){$a.addText(Kn);return}et=wu(Vt.subLanguage,Kn,!0,UA[Vt.subLanguage]),UA[Vt.subLanguage]=et._top}else et=vp(Kn,Vt.subLanguage.length?Vt.subLanguage:null);Vt.relevance>0&&(C1+=et.relevance),$a.__addSublanguage(et._emitter,et.language)}function Ko(){Vt.subLanguage!=null?xl():wl(),Kn=""}function E1(et,_t){et!==""&&($a.startScope(_t),$a.addText(et),$a.endScope())}function MA(et,_t){let cn=1;const jn=_t.length-1;for(;cn<=jn;){if(!et._emit[cn]){cn++;continue}const Va=Bs.classNameAliases[et[cn]]||et[cn],kl=_t[cn];Va?E1(kl,Va):(Kn=kl,wl(),Kn=""),cn++}}function LA(et,_t){return et.scope&&typeof et.scope=="string"&&$a.openNode(Bs.classNameAliases[et.scope]||et.scope),et.beginScope&&(et.beginScope._wrap?(E1(Kn,Bs.classNameAliases[et.beginScope._wrap]||et.beginScope._wrap),Kn=""):et.beginScope._multi&&(MA(et.beginScope,_t),Kn="")),Vt=Object.create(et,{parent:{value:Vt}}),Vt}function DA(et,_t,cn){let jn=E(et.endRe,cn);if(jn){if(et["on:end"]){const Va=new r(et);
65et["on:end"](_t,Va),Va.isMatchIgnored&&(jn=!1)}if(jn){for(;et.endsParent&&et.parent;)et=et.parent;return et}}if(et.endsWithParent)return DA(et.parent,_t,cn)}function qY(et){return Vt.matcher.regexIndex===0?(Kn+=et[0],1):($O=!0,0)}function ZY(et){const _t=et[0],cn=et.rule,jn=new r(cn),Va=[cn.__beforeBegin,cn["on:begin"]];for(const kl of Va)if(kl&&(kl(et,jn),jn.isMatchIgnored))return qY(_t);return cn.skip?Kn+=_t:(cn.excludeBegin&&(Kn+=_t),Ko(),!cn.returnBegin&&!cn.excludeBegin&&(Kn=_t)),LA(cn,et),cn.returnBegin?0:_t.length}function XY(et){const _t=et[0],cn=Ct.substring(et.index),jn=DA(Vt,et,cn);if(!jn)return pn;const Va=Vt;Vt.endScope&&Vt.endScope._wrap?(Ko(),E1(_t,Vt.endScope._wrap)):Vt.endScope&&Vt.endScope._multi?(Ko(),MA(Vt.endScope,et)):Va.skip?Kn+=_t:(Va.returnEnd||Va.excludeEnd||(Kn+=_t),Ko(),Va.excludeEnd&&(Kn=_t));do Vt.scope&&$a.closeNode(),!Vt.skip&&!Vt.subLanguage&&(C1+=Vt.relevance),Vt=Vt.parent;while(Vt!==jn.parent);return jn.starts&&LA(jn.starts,et),Va.returnEnd?0:_t.length}function WY(){const et=[];for(let _t=Vt;_t!==Bs;_t=_t.parent)_t.scope&&et.unshift(_t.scope);et.forEach(_t=>$a.openNode(_t))}let _1={};function BA(et,_t){const cn=_t&&_t[0];if(Kn+=et,cn==null)return Ko(),0;if(_1.type==="begin"&&_t.type==="end"&&_1.index===_t.index&&cn===""){if(Kn+=Ct.slice(_t.index,_t.index+1),!dr){const jn=new Error(`0 width match regex (${Ue})`);throw jn.languageName=Ue,jn.badRule=_1.rule,jn}return 1}if(_1=_t,_t.type==="begin")return ZY(_t);if(_t.type==="illegal"&&!yn){const jn=new Error('Illegal lexeme "'+cn+'" for mode "'+(Vt.scope||"<unnamed>")+'"');throw jn.mode=Vt,jn}else if(_t.type==="end"){const jn=XY(_t);if(jn!==pn)return jn}if(_t.type==="illegal"&&cn==="")return Kn+=` 66`,1;if(CO>1e5&&CO>_t.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Kn+=cn,cn.length}const Bs=aa(Ue);if(!Bs)throw oe(Sr.replace("{}",Ue)),new Error('Unknown language: "'+Ue+'"');const YY=ga(Bs);let _O="",Vt=Gn||YY;const UA={},$a=new lt.__emitter(lt);WY();let Kn="",C1=0,xu=0,CO=0,$O=!1;try{if(Bs.__emitTokens)Bs.__emitTokens(Ct,$a);else{for(Vt.matcher.considerAll();;){CO++,$O?$O=!1:Vt.matcher.considerAll(),Vt.matcher.lastIndex=xu;const et=Vt.matcher.exec(Ct);if(!et)break;const _t=BA(Ct.substring(xu,et.index),et);xu=et.index+_t}BA(Ct.substring(xu))}return $a.finalize(),_O=$a.toHTML(),{language:Ue,value:_O,relevance:C1,illegal:!1,_emitter:$a,_top:Vt}}catch(et){if(et.message&&et.message.includes("Illegal"))return{language:Ue,value:vt(Ct),illegal:!0,relevance:0,_illegalBy:{message:et.message,index:xu,context:Ct.slice(xu-100,xu+100),mode:et.mode,resultSoFar:_O},_emitter:$a};if(dr)return{language:Ue,value:vt(Ct),illegal:!1,relevance:0,errorRaised:et,_emitter:$a,_top:Vt};throw et}}function yp(Ue){const Ct={value:vt(Ue),illegal:!1,relevance:0,_top:bt,_emitter:new lt.__emitter(lt)};return Ct._emitter.addText(Ue),Ct}function vp(Ue,Ct){Ct=Ct||lt.languages||Object.keys(_e);const yn=yp(Ue),Gn=Ct.filter(aa).filter(xp).map(xl=>wu(xl,Ue,!1));Gn.unshift(yn);const[ia,Ds]=Gn.sort((xl,Ko)=>{if(xl.relevance!==Ko.relevance)return Ko.relevance-xl.relevance;if(xl.language&&Ko.language){if(aa(xl.language).supersetOf===Ko.language)return 1;if(aa(Ko.language).supersetOf===xl.language)return-1}return 0}),wl=ia;return wl.secondBest=Ds,wl}function Op(Ue,Ct,yn){const Gn=Ct&&at[Ct]||yn;Ue.classList.add("hljs"),Ue.classList.add(`language-${Gn}`)}function Sp(Ue){let Ct=null;const yn=qr(Ue);if(Dt(yn))return;if(T1("before:highlightElement",{el:Ue,language:yn}),Ue.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ue);return}if(Ue.children.length>
660&&(lt.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ue)),lt.throwUnescapedHTML))throw new je("One of your code blocks includes unescaped HTML.",Ue.innerHTML);Ct=Ue;const Gn=Ct.textContent,ia=yn?Cr(Gn,{language:yn,ignoreIllegals:!0}):vp(Gn);Ue.innerHTML=ia.value,Ue.dataset.highlighted="yes",Op(Ue,yn,ia.language),Ue.result={language:ia.language,re:ia.relevance,relevance:ia.relevance},ia.secondBest&&(Ue.secondBest={language:ia.secondBest.language,relevance:ia.secondBest.relevance}),T1("after:highlightElement",{el:Ue,result:ia,text:Gn})}function ke(Ue){lt=wt(lt,Ue)}const De=()=>{Nt(),Qe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Ke(){Nt(),Qe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Tt=!1;function Nt(){function Ue(){Nt()}if(document.readyState==="loading"){Tt||window.addEventListener("DOMContentLoaded",Ue,!1),Tt=!0;return}document.querySelectorAll(lt.cssSelector).forEach(Sp)}function $n(Ue,Ct){let yn=null;try{yn=Ct(K)}catch(Gn){if(oe("Language definition for '{}' could not be registered.".replace("{}",Ue)),dr)oe(Gn);else throw Gn;yn=bt}yn.name||(yn.name=Ue),_e[Ue]=yn,yn.rawDefinition=Ct.bind(null,K),yn.aliases&&wp(yn.aliases,{languageName:Ue})}function fr(Ue){delete _e[Ue];for(const Ct of Object.keys(at))at[Ct]===Ue&&delete at[Ct]}function Xi(){return Object.keys(_e)}function aa(Ue){return Ue=(Ue||"").toLowerCase(),_e[Ue]||_e[at[Ue]]}function wp(Ue,{languageName:Ct}){typeof Ue=="string"&&(Ue=[Ue]),Ue.forEach(yn=>{at[yn.toLowerCase()]=Ct})}function xp(Ue){const Ct=aa(Ue);return Ct&&!Ct.disableAutodetect}function k1(Ue){Ue["before:highlightBlock"]&&!Ue["before:highlightElement"]&&(Ue["before:highlightElement"]=Ct=>{Ue["before:highlightBlock"](Object.assign({block:Ct.el},Ct))}),Ue["after:highlightBlock"]&&!Ue["after:highlightElement"]&&(Ue["after:highlightElement"]=Ct=>{Ue["after:highlightBlock"](Object.assign({block:Ct.el},Ct))})}function A1(Ue){k1(Ue),Gt.push(Ue)}function EO(Ue){const Ct=Gt.indexOf(Ue);Ct!==-1&&Gt.splice(Ct,1)}function T1(Ue,Ct){const yn=Ue;Gt.forEach(function(Gn){Gn[yn]&&Gn[yn](Ct)})}function VY(Ue){return Qe("10.7.0","highlightBlock will be removed entirely in v12.0"),Qe("10.7.0","Please use highlightElement now."),Sp(Ue)}Object.assign(K,{highlight:Cr,highlightAuto:vp,highlightAll:Nt,highlightElement:Sp,highlightBlock:VY,configure:ke,initHighlighting:De,initHighlightingOnLoad:Ke,registerLanguage:$n,unregisterLanguage:fr,listLanguages:Xi,getLanguage:aa,registerAliases:wp,autoDetection:xp,inherit:wt,addPlugin:A1,removePlugin:EO}),K.debugMode=function(){dr=!1},K.safeMode=function(){dr=!0},K.versionString=Ae,K.regex={concat:v,lookahead:p,either:S,optional:g,anyNumberOfTimes:m};for(const Ue in Wn)typeof Wn[Ue]=="object"&&n(Wn[Ue]);return Object.assign(K,Wn),K},Nr=tn({});Nr.newInstance=()=>tn({}),t.exports=Nr,Nr.HighlightJS=Nr,Nr.default=Nr})()).default,XE={},VEe="hljs-";function gj(e){const t=HEe.newInstance();return e&&i(e),{highlight:n,highlightAuto:r,listLanguages:a,register:i,registerAlias:o,registered:s};function n(l,c,u){const d=u||XE,f=typeof d.prefix=="string"?d.prefix:VEe;if(!t.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");t.configure({__emitter:qEe,classPrefix:f});const h=t.highlight(c,{ignoreIllegals:!0,language:l});if(h.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:h.errorRaised});const p=h._emitter.root,m=p.data;return m.language=h.language,m.relevance=h.relevance,p}function r(l,c){const u=(c||XE).subset||a();let d=-1,f=0,h;for(;++d<u.length;){const p=u[d];if(!t.getLanguage(p))continue;const m=n(p,l,c);m.data&&m.data.relevance!==void 0&&m.data.relevance>f&&(f=m.data.relevance,h=m)}return h||{type:"root",children:[],data:{language:void 0,relevance:f}}}function a(){return t.listLanguages()}function i(l,c){if(typeof l=="string")t.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&t.registerLanguage(u,l[u])}}
66function o(l,c){if(typeof l=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];t.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!t.getLanguage(l)}}var qEe=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type==="text"?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){const t=this,n=e.split(".").map(function(i,o){return o?i+"_".repeat(o):t.options.classPrefix+i}),r=this.stack[this.stack.length-1],a={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}},ZEe={};function bj(e){const t=e||ZEe,n=t.aliases,r=(e==null?void 0:e.detect)??!1,a=t.languages,i=t.plainText,o=t.prefix,s=t.subset,l=typeof t.className=="string"?[t.className]:t.className??[];let c="hljs";const u=(e==null?void 0:e.lowlight)??gj(a);if(n&&u.registerAlias(n),o){const d=o.indexOf("-");c=d>-1?o.slice(0,d):o}return(d,f)=>{ko(d,"element",(h,p,m)=>{var k;if(h.tagName!=="code"||!m||m.type!=="element"||m.tagName!=="pre")return;const g=XEe(h);if(g==="no-highlight"||!g&&!r||g&&(i!=null&&i.includes(g)))return;Array.isArray(h.properties.className)||(h.properties.className=[]),h.properties.className.includes(c)||h.properties.className.unshift(c);for(const S of l)h.properties.className.includes(S)||h.properties.className.push(S);let v;try{v=g?u.highlight(g,ZE(m),{prefix:o}):u.highlightAuto(ZE(m),{prefix:o,subset:s})}catch(S){const A=S;if(g&&/Unknown language/.test(A.message)){f.message(`Cannot highlight as \`${g}\`, it's not registered`,{ancestors:[m,h],cause:A,place:h.position,ruleId:"missing-language",source:"rehype-highlight"});return}f.message("Could not highlight code block",{ancestors:[m,h],cause:A,place:h.position,ruleId:"highlight-error",source:"rehype-highlight"});return}!g&&((k=v.data)!=null&&k.language)&&h.properties.className.push("language-"+v.data.language),v.children.length>0&&(h.children=v.children)})}}function XEe(e){const t=e.properties.className;if(!Array.isArray(t))return"";const n=t.reduce((r,a)=>{if(r)return r;const i=String(a);return i==="no-highlight"||i==="nohighlight"?"no-highlight":i.slice(0,5)==="lang-"?i.slice(5):i.slice(0,9)==="language-"?i.slice(9):r},"");return cj[n||""]||n}function WEe(e){const t="[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:t,built_in:"def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},a={begin:t,relevance:0},i={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},o={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b(true|false|nil)\b/},f={begin:"\\[|(#::?[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*)?\\{",end:"[\\]\\}]",relevance:0},h={className:"symbol",begin:"[:]{1,2}[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*"},p={begin:"\\(",end:"\\)"},m={endsWithParent:!0,relevance:0},g={keywords:r,className:"name",begin:t,relevance:0,starts:m},v=[c,p,o,s,l,u,h,f,i,d,a];return p.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)},g,m],m.contains=v,f.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,c
vendor: 10,098 bytes, line 66
66ontains:[c,p,o,s,l,u,h,f,i,d]}}function YEe(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(s=>`${s}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function WE(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function GEe(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s={match:/\\[\s\S]/,scope:"char.escape",relevance:0},l=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],c=v=>({scope:"char.escape",begin:t.concat(/\\/,v),relevance:0}),u={className:"string",begin:`~[a-z](?=[/|([{<"'])`,contains:l.map(v=>e.inherit(v,{contains:[c(v.end),s,i]}))},d={className:"string",begin:`~[A-Z](?=[/|([{<"'])`,contains:l.map(v=>e.inherit(v,{contains:[c(v.end)]}))},f={className:"regex",variants:[{begin:`~r(?=[/|([{<"'])`,contains:l.map(v=>e.inherit(v,{end:t.concat(v.end,/[uismxfU]{0,7}/),contains:[c(v.end),s,i]}))},{begin:`~R(?=[/|([{<"'])`,contains:l.map(v=>e.inherit(v,{end:t.concat(v.end,/[uismxfU]{0,7}/),contains:[c(v.end)]}))}]},h={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},m=e.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),g=[h,f,d,u,e.HASH_COMMENT_MODE,m,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[h,{begin:r}],relevance:0},{className:"symbol",begin:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?:(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return i.contains=g,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:g}}function KEe(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function yj(e){return e?typeof e=="string"?e:e.source:null}function Rp(e){return rs("(?=",e,")")}function rs(...e){return e.map(t=>yj(t)).join("")}function JEe(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Eu(...e){return"("+(JEe(e).capture?"":"?:")+e.map(t=>yj(t)).join("|")+")"}function e_e(e){const t=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],a=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],i=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],o=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],s={keyword:t,literal:a,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":i},l={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},c=/[a-zA-Z_](\w|')*/,u={scope:"variable",begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:"symbol",variants:[{match:rs(d,/``.*?``/)},{match:rs(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},h=function({includeEqual:G}){let re;G?re="!%&*+-/<=>@^|~?":re="!%&*+-/<>@^|~?";const Y=rs("[",...Array.from(re).map(KEe),"]"),ye=Eu(Y,/\./);return{scope:"operator",match:Eu(Eu(rs(rs(ye,Rp(ye)),ye,"*"),rs(Y,"+")),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},p=h({includeEqual:!0}),m=h({includeEqual:!1}),g=function(G,re){return{begin:rs(G,Rp(rs(/\s*/,Eu(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:re,end:Rp(Eu(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[l,f,e.inherit(u,{scope:null}),m]}},v=g(/:/,"operator"),k=g(/\bof\b/,"keyword"),S={begin:[/(^|\s+)/,/type/,/\s+/,c],beginScope:{2:"keyword",4:"title.class"},end:Rp(/\(|=|$/),keywords:s,contains:[l,e.inherit(u,{scope:null}),f,{scope:"operator",match:/<|>/},v]},A={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},E={begin:[/^\s*/,rs(/#/,Eu(...r)),/\b/],beginScope:{2:"meta"},end:Rp(/\s|$/)},_={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},C={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},B={scope:"string",begin:/"""/,end:/"""/,relevance:2},L={scope:"subst",begin:/\{/,end:/\}/,keywords:s},V={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,L]},Q={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,L]},ee={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},L],relevance:2},ne={scope:"string",match:rs(/'/,Eu(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return L.contains=[Q,V,R,C,ne,n,l,u,v,A,E,_,f,p],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[ee,Q,V,B,R,C,ne]},l,u,S,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[u,B,R,C,ne,_]},k,v,A,E,_,f,p]}}function t_e(e){const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",a="([0-7]_*)+",i="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",o={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"meta",begin:/\{-#/,end:/#-\}/},l={className:"meta",begin:"^#",end:"$"},c={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},u={begin:"\\(",end:"\\)",illegal:'"',contains:[s,l,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),o]},d={begin:/\{/,end:/\}/,contains:u.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${a})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infi
66xr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[u,o],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[u,o],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[c,u,o]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[s,c,u,d,o]},{beginKeywords:"default",end:"$",contains:[c,u,o]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,o]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[c,e.QUOTE_STRING_MODE,o]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},s,l,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,c,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${i}--+|--+(?!-)${i}`},o,{begin:"->|<-"}]}}function n_e(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",r={className:"attribute",begin:t.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},a=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?=HTTP/([32]|1\\.[01]) \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) HTTP/([32]|1\\.[01])$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},e.inherit(r,{relevance:0})]}}function r_e(e){const t={$pattern:"[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","Ï","â¯"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},n={keywords:t,illegal:/<\//},r={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},a={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},o={className:"variable",begin:"\\$[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,o],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,i,o],begin:"`",end:"`"},c={className:"meta",begin:"@[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},u={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return n.name="Julia",n.contains=[r,a,s,l,c,u,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],i.contains=n.contains,n}function a_e(e){const t={relevance:0,contains:[{begin:"('|\\.')+"}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nc
66hoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:t},{begin:"[a-zA-Z][a-zA-Z_0-9]*('|\\.')+",relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:t},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function i_e(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function o_e(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function s_e(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Upd
66ate|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",a={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},i=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),f={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},h={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},p={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:i,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},m={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},g={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},v={className:"selector-tag",begin:/@\B/,relevance:0},k={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(a.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},S=[k,d,o,e.NUMBER_MODE,c,u,f,s,l,v],A={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",S,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return k.contains.unshift(A),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:a,contains:S.concat(h,p,m,g,A)}}function l_e(e){const t="([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",n="([^\\\\:= \\t\\f\\n]|\\\\.)+",r={end:t,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,c
vendor: 5,473 bytes, line 66
66ontains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*"},{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+"}],contains:[{className:"attr",begin:n,endsParent:!0}],starts:r},{className:"attr",begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*$"}]}}function c_e(e){const t=e.regex,n={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},i={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},l={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[o]},c={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,l,s,e.C_NUMBER_MODE,c,u,...d,f,n]}}function u_e(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,a]};a.contains.push(s);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),h={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],m=["true","false"],g={match:/(\/[a-z._-]+)+/},v=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],k=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],S=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:m,built_in:[...v,...k,"set","shopt",...S,...A]},contains:[f,e.SHEBANG(),h,d,i,o,g,s,l,c,u,n]}}
vendor: 5,628 bytes, line 66
66function d_e(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",f={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},h=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:h.concat([{begin:/\(/,end:/\)/,keywords:f,contains:h.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"</",contains:[].concat(p,m,h,[c,{begin:e.IDENT_RE+"::",keywords:f},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:f}}}function f_e(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",i="(?!struct)(decltype\\(auto\\)|"+t.optional(a)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(a)+e.IDENT_RE,relevance:0},d=t.optional(a)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_
66noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],p=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],m=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],g={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:p},v={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[v,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:k.concat([{begin:/\(/,end:/\)/,keywords:g,contains:k.concat(["self"]),relevance:0}]),relevance:0},A={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:g,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(S,A,v,k,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:g,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function h_e(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","
66sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:t,literal:["default","false","null","true"]},a=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},l=e.inherit(s,{illegal:/\n/}),c={className:"subst",begin:/\{/,end:/\}/,keywords:r},u=e.inherit(c,{illegal:/\n/}),d={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},c]},h=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]});c.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.C_BLOCK_COMMENT_MODE],u.contains=[h,d,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const p={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},g=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",v={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:r,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},p,i,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+g+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,m],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[p,i,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}var p_e=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m_e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],g_e=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],b_e=[...m_e,...g_e],y_e=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),v_e=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invali
66d","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),O_e=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),S_e=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
66area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function w_e(e){const t=e.regex,n=p_e(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},a="and or not only",i=/@-?\w[\w]*(-\w+)*/,o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0}
vendor: 8,731 bytes, line 66
66,{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+v_e.join("|")+")"},{begin:":(:)?("+O_e.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+S_e.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:y_e.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+b_e.join("|")+")\\b"}]}}function x_e(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function k_e(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function A_e(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function YE(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,i,a,o,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,i,a,o,n]}}]}}var gf="[0-9](_*[0-9])*",G1=`\\.(${gf})`,K1="[0-9a-fA-F](_*[0-9a-fA-F])*",GE={className:"number",variants:[{begin:`(\\b(${gf})((${G1})|\\.)?|(${G1}))[eE][+-]?(${gf})[fFdD]?\\b`},{begin:`\\b(${gf})((${G1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${G1})[fFdD]?\\b`},{begin:`\\b(${gf})[fFdD]\\b`},{begin:`\\b0[xX]((${K1})\\.?|(${K1})?\\.(${K1}))[pP][+-]?(${gf})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${K1})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function vj(e,t,n){return n===-1?"":e.replace(t,r=>vj(e,t,n-1))}function T_e(e){const t=e.regex,n="[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*",r=n+vj("(?:<[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*~~~(?:\\s*,\\s*[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*~~~)*>)?",/~~~/g,2),a={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@[Ã-ʸa-zA-Z_$][Ã-ʸa-zA-Z_$0-9]*",contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,GE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},GE,i]}}var KE="[A-Za-z$_][0-9A-Za-z$_]*",E_e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],__e=["true","false","null","undefined","NaN","Infinity"],Oj=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Sj=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],wj=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],C_e=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],$_e=[].concat(wj,Oj,Sj);function P_e(e){const t=e.regex,n=(Y,{after:ye})=>{const Ee="</"+Y[0].slice(1);return Y.input.indexOf(Ee,ye)!==-1},r=KE,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,ye)=>{const Ee=Y[0].length+Y.index,j=Y.input[Ee];
vendor: 4,112 bytes, line 66
66if(j==="<"||j===","){ye.ignoreMatch();return}j===">"&&(n(Y,{after:Ee})||ye.ignoreMatch());let xe;const Ie=Y.input.substring(Ee);if(xe=Ie.match(/^\s*=/)){ye.ignoreMatch();return}if((xe=Ie.match(/^\s+extends\s+/))&&xe.index===0){ye.ignoreMatch();return}}},s={$pattern:KE,keyword:E_e,literal:__e,built_in:$_e,"variable.language":C_e},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},v={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,m,g,{match:/\$\d+/},d];f.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});const S=[].concat(v,f.contains),A=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(S)}]),E={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A},_={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Oj,...Sj]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[E],illegal:/%/},L={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(Y){return t.concat("(?!",Y.join("|"),")")}const Q={match:t.concat(/\b/,V([...wj,"super","import"].map(Y=>`${Y}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ne={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},E]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",re={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[E]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,m,g,v,{match:/\$\d+/},d,C,{scope:"attr",match:r+t.lookahead(":"),relevance:0},re,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[v,e.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0}
vendor: 4,369 bytes, line 66
66,{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[E,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[E]},Q,L,_,ne,{match:/\$[(.]/}]}}function I_e(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],a={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var bf="[0-9](_*[0-9])*",J1=`\\.(${bf})`,eg="[0-9a-fA-F](_*[0-9a-fA-F])*",R_e={className:"number",variants:[{begin:`(\\b(${bf})((${J1})|\\.)?|(${J1}))[eE][+-]?(${bf})[fFdD]?\\b`},{begin:`\\b(${bf})((${J1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${J1})[fFdD]?\\b`},{begin:`\\b(${bf})[fFdD]\\b`},{begin:`\\b0[xX]((${eg})\\.?|(${eg})?\\.(${eg}))[pP][+-]?(${bf})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${eg})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function N_e(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,a]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,a]}]};a.contains.push(o);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},c=R_e,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0}
vendor: 7,505 bytes, lines 66-67
66,{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` 67`},c]}}var M_e=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),L_e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],D_e=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],B_e=[...L_e,...D_e],U_e=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),xj=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),kj=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),j_e=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
67area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),F_e=xj.concat(kj).sort().reverse();function Q_e(e){const t=M_e(e),n=F_e,r="and or not only",a="([\\w-]+|@\\{[\\w-]+\\})",i=[],o=[],s=function(k){return{className:"string",begin:"~?"+k+".*?"+k}},l=function(k,S,A){return{className:k,begin:S,relevance:A}},c={$pattern:/[a-z-]+/,keyword:r,attribute:U_e.join(" ")},u={begin:"\\(",end:"\\)",contains:o,keywords:c,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?[\\w-]+",10),l("variable","@\\{[\\w-]+\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=o.concat({begin:/\{/,end:/\}/,contains:i}),f={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(o)},h={begin:"([\\w-]+|@\\{[\\w-]+\\})\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+j_e.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:o}}]},p={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?ke
67yframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:o,relevance:0}},m={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,l("keyword","all\\b"),l("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+B_e.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",a,0),l("selector-id","#([\\w-]+|@\\{[\\w-]+\\})"),l("selector-class","\\.([\\w-]+|@\\{[\\w-]+\\})",0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+xj.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+kj.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},v={begin:`[\\w-]+:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,m,v,h,g,f,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:i}}function z_e(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},a=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function H_e(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},a={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,a,i,o]}}function V_e(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},a={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0}
vendor: 18,506 bytes, lines 67-68
67,{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},l={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},c={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(l,{contains:[]}),d=e.inherit(c,{contains:[]});l.contains.push(d),c.contains.push(u);let f=[n,s];return[l,c,u,d].forEach(h=>{h.contains=h.contains.concat(f)}),f=f.concat(l,c),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},n,i,l,c,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},a,r,s,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function q_e(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},a={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:r,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:a,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Z_e(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,a={$pattern:/[\w.]+/,keyword:n.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},o={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,i,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(m,g,v="\\1")=>{const k=v==="\\1"?v:t.concat(v,g);return t.concat(t.concat("(?:",m,")"),g,/(?:\\.|[^\\\/])*?/,k,/(?:\\.|[^\\\/])*?/,v,r)},h=(m,g,v)=>t.concat(t.concat("(?:",m,")"),g,/(?:\\.|[^\\\/])*?/,v,r),p=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",t.either(...d,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,o.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:a,contains:p}}function X_e(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),a=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(ne,G)=>{G.data._beginMatch=ne[1]||ne[2]},"on:end":(ne,G)=>{G.data._beginMatch!==ne[1]&&G.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h=`[ 68]`,p={scope:"string",variants:[u,c,d,f]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},g=["false","null","true"],v=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],k=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:v,literal:(ne=>{const G=[];return ne.forEach(re=>{G.push(re),re.toLowerCase()===re?G.push(re.toUpperCase()):G.push(re.toLowerCase())}),G})(g),built_in:k},E=ne=>ne.map(G=>G.replace(/\|\d+$/,"")),_={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",E(k).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},C=t.concat(r,"\\b(?!\\()"),R={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,t.concat(/::/,t.lookahead(/(?!class\b)/)),C],scope:{1:"title.class",3:"variable.constant"}},{match:[a,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},B={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},L={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[B,o,R,e.C_BLOCK_COMMENT_MODE,p,m,_]},V={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",E(v).join("\\b|"),"|",E(k).join("\\b|"),"\\b)"),r,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[L]};L.contains.push(V);const Q=[B,R,e.C_BLOCK_COMMENT_MODE,p,m,_],ee={begin:t.concat(/#\[\s*\\?/,t.either(a,i)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...Q]},...Q,{scope:"meta",variants:[{match:a},{match:i}]}]};return{case_insensitive:!1,keywords:A,contains:[ee,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,V,R,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},_,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",ee,o,R,e.C_BLOCK_COMMENT_MODE,p,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,m]}}function W_e(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function Aj(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},p={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",i,f,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,f,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[i,f,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]}
vendor: 3,700 bytes, line 68
68,{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,p,l]}]}}function Y_e(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[a,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function G_e(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepe
vendor: 7,423 bytes, line 68
68nd","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},m=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:i},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=m,p.contains=m;const g=[{begin:/^\s*=>/,starts:{end:"$",contains:m}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:m}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(g).concat(l).concat(m)}}function K_e(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),a=t.concat(n,e.IDENT_RE),i={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,a,t.lookahead(/\s*\(/))},o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],s=["true","false","Some","None","Ok","Err"],l=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],c=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:c,keyword:o,literal:s,built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:l,type:c}},{className:"punctuation",begin:"->"},i]}}var J_e=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),eCe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],tCe=["def
68s","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],nCe=[...eCe,...tCe],rCe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),aCe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),iCe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),oCe=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-
68area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function sCe(e){const t=J_e(e),n=iCe,r=aCe,a="@[a-z-]+",i="and or not only",o={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0}
vendor: 1,113 bytes, line 68
68,{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+nCe.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+oCe.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inl
68ine-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:a,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:rCe.join(" ")},contains:[{begin:a,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function lCe(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function cCe(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},a={begin:/"/,end:/"/,contains:[{match:/""/}]},i=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","ver
68sioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],f=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],h=u,p=[...c,...l].filter(E=>!u.includes(E)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},g={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},v={match:t.concat(/\b/,t.either(...h),/\s*\(/),relevance:0,keywords:{built_in:h}};function k(E){return t.concat(/\b/,t.either(...E.map(_=>_.replace(/\s+/,"\\s+"))),/\b/)}const S={scope:"keyword",match:k(f),relevance:0};function A(E,{exceptions:_,when:C}={}){const R=C;return _=_||[],E.map(B=>B.match(/\|\d+$/)||_.includes(B)?B:R(B)?`${B}|0`:B)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:A(p,{when:E=>E.length<3}),literal:i,type:s,built_in:d},contains:[{scope:"type",match:k(o)},S,v,m,r,a,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function Tj(e){return e?typeof e=="string"?e:e.source:null}function Np(e){return Fn("(?=",e,")")}function Fn(...e){return e.map(t=>Tj(t)).join("")}function uCe(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function pi(...e){return"("+(uCe(e).capture?"":"?:")+e.map(t=>Tj(t)).join("|")+")"}var o5=e=>Fn(/\b/,e,/\w$/.test(e)?/\b/:/\B/),dCe=["Protocol","Type"].map(o5),JE=["init","self"].map(o5),fCe=["Any","Self"],t4=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],e_=["false","nil","true"],hCe=["assignment","associativity","higherThan","left","lowerThan","none","right"],pCe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],t_=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","
vendor: 5,305 bytes, line 68
68withoutActuallyEscaping","zip"],Ej=pi(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_j=pi(Ej,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),n4=Fn(Ej,_j,"*"),Cj=pi(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),sb=pi(Cj,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Hs=Fn(Cj,sb,"*"),tg=Fn(/[A-Z]/,sb,"*"),mCe=["attached","autoclosure",Fn(/convention\(/,pi("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Fn(/objc\(/,Hs,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],gCe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function bCe(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],a={match:[/\./,pi(...dCe,...JE)],className:{2:"keyword"}},i={match:Fn(/\./,pi(...t4)),relevance:0},o=t4.filter(ie=>typeof ie=="string").concat(["_|0"]),s={variants:[{className:"keyword",match:pi(...t4.filter(ie=>typeof ie!="string").concat(fCe).map(o5),...JE)}]},l={$pattern:pi(/\b\w+/,/#\w+/),keyword:o.concat(pCe),literal:e_},c=[a,i,s],u=[{match:Fn(/\./,pi(...t_)),relevance:0},{className:"built_in",match:Fn(/\b/,pi(...t_),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:"operator",relevance:0,variants:[{match:n4},{match:`\\.(\\.|${_j})+`}]}],h="([0-9]_*)+",p="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{match:`\\b0x(${p})(\\.(${p}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(ie="")=>({className:"subst",variants:[{match:Fn(/\\/,ie,/[0\\tnr"']/)},{match:Fn(/\\/,ie,/u\{[0-9a-fA-F]{1,8}\}/)}]}),v=(ie="")=>({className:"subst",match:Fn(/\\/,ie,/[\t ]*(?:[\r\n]|\r\n)/)}),k=(ie="")=>({className:"subst",label:"interpol",begin:Fn(/\\/,ie,/\(/),end:/\)/}),S=(ie="")=>({begin:Fn(ie,/"""/),end:Fn(/"""/,ie),contains:[g(ie),v(ie),k(ie)]}),A=(ie="")=>({begin:Fn(ie,/"/),end:Fn(/"/,ie),contains:[g(ie),k(ie)]}),E={className:"string",variants:[S(),S("#"),S("##"),S("###"),A(),A("#"),A("##"),A("###")]},_=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],C={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:_},R=ie=>{const Pe=Fn(ie,/\//),gt=Fn(/\//,ie);return{begin:Pe,end:gt,contains:[..._,{scope:"comment",begin:`#(?!.*${gt})`,end:/$/}]}},B={scope:"regexp",variants:[R("###"),R("##"),R("#"),C]},L={match:Fn(/`/,Hs,/`/)},V=[L,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${sb}+`}],Q=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:gCe,contains:[...f,m,E]}]}},{scope:"keyword",match:Fn(/@/,pi(...mCe),Np(pi(/\(/,/\s+/)))},{scope:"meta",match:Fn(/@/,Hs)}],ee={match:Np(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Fn(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,sb,"+")},{className:"type",match:tg,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Fn(/\s+&\s+/,Np(tg)),relevance:0}]},ne={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...Q,d,ee]};ee.contains.push(ne);const G={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:Fn(Hs,/\s*:/),keywords:"_|0",relevance:0},...r,B,...c,...u,...f,m,E,...V,...Q,ee]},re={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,ee]},Y={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:pi(Np(Fn(Hs,/\s*:/)),Np(Fn(Hs,/\s+/,Hs,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Hs}]},...r,...c,...f,m,E,...Q,ee,G],endsParent:!0,illegal:/["']/},ye={match:[/(func|macro)/,/\s+/,pi(L.match,Hs,n4)],className:{1:"keyword",3:"title.function"},contains:[re,Y,t],illegal:[/\[/,/%/]},Ee={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[re,Y,t],illegal:/\[|%/},j={match:[/operator/,/\s+/,n4],className:{1:"keyword",3:"title"}},xe={begin:[/precedencegroup/,/\s+/,tg],className:{1:"keyword",3:"title"},contains:[ee],keywords:[...hCe,...e_],end:/}/},Ie={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/
vendor: 11,714 bytes, line 68
68],scope:{1:"keyword",3:"keyword",5:"title.function"}},Z={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},rt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Hs,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[re,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:tg},...c],relevance:0}]};for(const ie of E.variants){const Pe=ie.contains.find(Zt=>Zt.label==="interpol");Pe.keywords=l;const gt=[...c,...u,...f,m,E,...V];Pe.contains=[...gt,{begin:/\(/,end:/\)/,contains:["self",...gt]}]}return{name:"Swift",keywords:l,contains:[...r,ye,Ee,Ie,Z,rt,j,xe,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},B,...c,...u,...f,m,E,...V,...Q,ee,G]}}var lb="[A-Za-z$_][0-9A-Za-z$_]*",$j=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Pj=["true","false","null","undefined","NaN","Infinity"],Ij=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Rj=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Nj=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Mj=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Lj=[].concat(Nj,Ij,Rj);function yCe(e){const t=e.regex,n=(Y,{after:ye})=>{const Ee="</"+Y[0].slice(1);return Y.input.indexOf(Ee,ye)!==-1},r=lb,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,ye)=>{const Ee=Y[0].length+Y.index,j=Y.input[Ee];if(j==="<"||j===","){ye.ignoreMatch();return}j===">"&&(n(Y,{after:Ee})||ye.ignoreMatch());let xe;const Ie=Y.input.substring(Ee);if(xe=Ie.match(/^\s*=/)){ye.ignoreMatch();return}if((xe=Ie.match(/^\s+extends\s+/))&&xe.index===0){ye.ignoreMatch();return}}},s={$pattern:lb,keyword:$j,literal:Pj,built_in:Lj,"variable.language":Mj},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},m={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},v={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,m,g,{match:/\$\d+/},d];f.contains=k.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(k)});const S=[].concat(v,f.contains),A=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(S)}]),E={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A},_={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Ij,...Rj]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[E],illegal:/%/},L={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function V(Y){return t.concat("(?!",Y.join("|"),")")}const Q={match:t.concat(/\b/,V([...Nj,"super","import"].map(Y=>`${Y}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ne={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},E]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",re={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[E]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,p,m,g,v,{match:/\$\d+/},d,C,{scope:"attr",match:r+t.lookahead(":"),relevance:0},re,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[v,e.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[E,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[E]},Q,L,_,ne,{match:/\$[(.]/}]}}function vCe(e){const t=e.regex,n=yCe(e),r=lb,a=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:a},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l={$pattern:lb,keyword:$j.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:Pj,built_in:Lj.concat(a),"variable.language":Mj},c={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},u=(p,m,g)=>{const v=p.contains.findIndex(k=>k.label===m);if(v===-1)throw new Error("can not find mode to replace");p.contains.splice(v,1,g)};Object.assign(n.keywords,l),n.exports.PARAMS_CONTAINS.push(c);const d=n.contains.find(p=>p.scope==="attr"),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([c,i,o,f]),u(n,"shebang",e.SHEBANG()),u(n,"use_strict",s);const h=n.contains.find(p=>p.label==="func.def");return h.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function n_(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(i,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[a]},{begin:/'/,end:/'/,contains:[a]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,l,s,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,o,l,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function OCe(e){const t="true false yes no null",n={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},i={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},o=e.inherit(i,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},c={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},u={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},d=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0}
68,{className:"type",begin:"!\\w+![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!<[\\w#;/?:@&=+$,.~*'()[\\]]+>"},{className:"type",begin:"![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},s,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},c,u,a,i],f=[...d];return f.pop(),f.push(o),l.contains=f,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:d}}var SCe=e=>{const t=Aj(e),{regex:n}=e,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=t.keywords,i=[...a.keyword??[],...a.built_in??[],...a.literal??[],...a.type??[]].map(l=>l.replace(/\|\d+$/,"")),o=n.concat("(?!(?:",i.join("|"),")\\b)"),s={scope:"title.function",relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},wCe=e=>{const t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:"string",begin:/\\"/,relevance:0},o={className:"string",begin:/'/,end:/'/,relevance:0},s={className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[n,r,a,t,i,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},xCe=e=>{const t=Aj(e),{regex:n}=e,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=t.keywords,i=["fn","struct","trait","var","let","alias","comptime","owned","borrowed","inout","ref","mut","read","out","raises","capturing"],o=["Int","UInt","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float16","Float32","Float64","Bool","String","StringLiteral","StringSlice","SIMD","DType","Scalar","List","Dict","Set","Tuple","Optional","Variant","Span","Pointer","UnsafePointer","Reference","Error"],s=(...f)=>Array.from(new Set(f.flat())),l={...a,keyword:s(a.keyword??[],i),type:s(a.type??[],o)},c=[...l.keyword??[],...a.built_in??[],...a.literal??[],...l.type??[]].map(f=>f.replace(/\|\d+$/,"")),u=n.concat("(?!(?:",c.join("|"),")\\b)"),d={scope:"title.function",relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:"Mojo",aliases:["mojo","ð¥"],keywords:l,contains:[...t.contains??[],d]}},Dj={bash:u_e,c:d_e,clojure:WEe,cpp:f_e,csharp:h_e,css:w_e,curl:wCe,dart:YEe,diff:x_e,docker:WE,dockerfile:WE,elixir:GEe,fsharp:e_e,go:k_e,graphql:A_e,haskell:t_e,html:n_,http:n_e,ini:YE,java:T_e,javascript:P_e,json:I_e,julia:r_e,kotlin:N_e,less:Q_e,lua:z_e,makefile:H_e,markdown:V_e,matlab:a_e,mojo:xCe,nginx:i_e,objectivec:q_e,ocaml:o_e,perl:Z_e,php:X_e,plaintext:W_e,powershell:s_e,properties:l_e,python:SCe,r:Y_e,ruby:G_e,rust:K_e,scala:c_e,scss:sCe,shell:lCe,sql:cCe,swift:bCe,toml:YE,typescript:vCe,xml:n_,yaml:OCe},t1=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};t1.prototype.normal={};t1.prototype.property={};t1.prototype.space=void 0;function Bj(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new t1(n,r,t)}function Ym(e){return e.toLowerCase()}var qi=class{constructor(e,t){this.attribute=t,this.property=e}};qi.prototype.attribute="";qi.prototype.booleanish=!1;qi.prototype.boolean=!1;qi.prototype.commaOrSpaceSeparated=!1;qi.prototype.commaSeparated=!1;qi.prototype.defined=!1;qi.prototype.mustUseProperty=!1;qi.prototype.number=!1;qi.prototype.overloadedBoolean=!1;qi.prototype.property="";qi.prototype.spaceSeparated=!1;qi.prototype.space=void 0;var Xw=sj({boolean:()=>Kt,booleanish:()=>Xr,commaOrSpaceSeparated:()=>Gi,commaSeparated:()=>Df,number:()=>Le,overloadedBoolean:()=>Ww,spaceSeparated:()=>Jn}),kCe=0,Kt=Bd(),Xr=Bd(),Ww=Bd(),Le=Bd(),Jn=Bd(),Df=Bd(),Gi=Bd();function Bd(){return 2**++kCe}var r4=Object.keys(Xw),s5=class extends qi{constructor(e,t,n,r){let a=-1;if(super(e,t),r_(this,"space",r),typeof n=="number")for(;++a<r4.length;){const i=r4[a];r_(this,r4[a],(n&Xw[i])===Xw[i])}}};s5.prototype.defined=!0;function r_(e,t,n){n&&(e[t]=n)}function ep(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new s5(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ym(r)]=r,n[Ym(i.attribute)]=r}return new t1(t,n,e.space)}var Uj=ep({properties:{ariaActiveDescendant:null,ariaAtomic:Xr,ariaAutoComplete:null,ariaBusy:Xr,ariaChecked:Xr,ariaColCount:Le,ariaColIndex:Le,ariaColSpan:Le,ariaControl
vendor: 5,434 bytes, line 68
68s:Jn,ariaCurrent:null,ariaDescribedBy:Jn,ariaDetails:null,ariaDisabled:Xr,ariaDropEffect:Jn,ariaErrorMessage:null,ariaExpanded:Xr,ariaFlowTo:Jn,ariaGrabbed:Xr,ariaHasPopup:null,ariaHidden:Xr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Jn,ariaLevel:Le,ariaLive:null,ariaModal:Xr,ariaMultiLine:Xr,ariaMultiSelectable:Xr,ariaOrientation:null,ariaOwns:Jn,ariaPlaceholder:null,ariaPosInSet:Le,ariaPressed:Xr,ariaReadOnly:Xr,ariaRelevant:null,ariaRequired:Xr,ariaRoleDescription:Jn,ariaRowCount:Le,ariaRowIndex:Le,ariaRowSpan:Le,ariaSelected:Xr,ariaSetSize:Le,ariaSort:null,ariaValueMax:Le,ariaValueMin:Le,ariaValueNow:Le,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function jj(e,t){return t in e?e[t]:t}function Fj(e,t){return jj(e,t.toLowerCase())}var ACe=ep({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Df,acceptCharset:Jn,accessKey:Jn,action:null,allow:null,allowFullScreen:Kt,allowPaymentRequest:Kt,allowUserMedia:Kt,alt:null,as:null,async:Kt,autoCapitalize:null,autoComplete:Jn,autoFocus:Kt,autoPlay:Kt,blocking:Jn,capture:null,charSet:null,checked:Kt,cite:null,className:Jn,cols:Le,colSpan:null,content:null,contentEditable:Xr,controls:Kt,controlsList:Jn,coords:Le|Df,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Kt,defer:Kt,dir:null,dirName:null,disabled:Kt,download:Ww,draggable:Xr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Kt,formTarget:null,headers:Jn,height:Le,hidden:Ww,high:Le,href:null,hrefLang:null,htmlFor:Jn,httpEquiv:Jn,id:null,imageSizes:null,imageSrcSet:null,inert:Kt,inputMode:null,integrity:null,is:null,isMap:Kt,itemId:null,itemProp:Jn,itemRef:Jn,itemScope:Kt,itemType:Jn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Kt,low:Le,manifest:null,max:null,maxLength:Le,media:null,method:null,min:null,minLength:Le,multiple:Kt,muted:Kt,name:null,nonce:null,noModule:Kt,noValidate:Kt,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:Kt,optimum:Le,pattern:null,ping:Jn,placeholder:null,playsInline:Kt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Kt,referrerPolicy:null,rel:Jn,required:Kt,reversed:Kt,rows:Le,rowSpan:Le,sandbox:Jn,scope:null,scoped:Kt,seamless:Kt,selected:Kt,shadowRootClonable:Kt,shadowRootDelegatesFocus:Kt,shadowRootMode:null,shape:null,size:Le,sizes:null,slot:null,span:Le,spellCheck:Xr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Le,step:null,style:null,tabIndex:Le,target:null,title:null,translate:null,type:null,typeMustMatch:Kt,useMap:null,value:Xr,width:Le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Jn,axis:null,background:null,bgColor:null,border:Le,borderColor:null,bottomMargin:Le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Kt,declare:Kt,event:null,face:null,frame:null,frameBorder:null,hSpace:Le,leftMargin:Le,link:null,longDesc:null,lowSrc:null,marginHeight:Le,marginWidth:Le,noResize:Kt,noHref:Kt,noShade:Kt,noWrap:Kt,object:null,profile:null,prompt:null,rev:null,rightMargin:Le,rules:null,scheme:null,scrolling:Xr,standby:null,summary:null,text:null,topMargin:Le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Kt,disableRemotePlayback:Kt,prefix:null,property:null,results:Le,security:null,unselectable:null},space:"html",transform:Fj}),TCe=ep({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",colorRen
68dering:"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:Gi,accentHeight:Le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Le,amplitude:Le,arabicForm:null,ascent:Le,attributeName:null,attributeType:null,azimuth:Le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Le,by:null,calcMode:null,capHeight:Le,className:Jn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
68dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Le,diffuseConstant:Le,direction:null,display:null,dur:null,divisor:Le,dominantBaseline:null,download:Kt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Le,enableBackground:null,end:null,event:null,exponent:Le,externalResourcesRequired:null,fill:null,fillOpacity:Le,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:Df,g2:Df,glyphName:Df,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Le,horizOriginX:Le,horizOriginY:Le,id:null,ideographic:Le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Le,k:Le,k1:Le,k2:Le,k3:Le,k4:Le,kernelMatrix:Gi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Le,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:Le,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:Le,overlineThickness:Le,paintOrder:null,panose1:null,path:null,pathLength:Le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Jn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Le,pointsAtY:Le,pointsAtZ:Le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gi,rev:Gi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gi,requiredFeatures:Gi,requiredFonts:Gi,requiredFormats:Gi,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:Le,specularExponent:Le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Le,strikethroughThickness:Le,string:null,stroke:null,strokeDashArray:Gi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Le,strokeOpacity:Le,strokeWidth:null,style:null,surfaceScale:Le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gi,tabIndex:Le,tableValues:null,target:null,targetX:Le,targetY:Le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Le,underlineThickness:Le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Le,values:null,vAlphabetic:Le,vMathematical:Le,vectorEffect:null,vHanging:Le,vIdeographic:Le,version:null,vertAdvY:Le,vertOriginX:Le,vertOriginY:Le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:jj}),Qj=ep({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
68,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),zj=ep({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fj}),Hj=ep({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),ECe=/[A-Z]/g,a_=/-[a-z]/g,_Ce=/^data[-\w.:]+$/i;function wv(e,t){const n=Ym(t);let r=t,a=qi;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&_Ce.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(a_,$Ce);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!a_.test(i)){let o=i.replace(ECe,CCe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=s5}return new a(r,t)}function CCe(e){return"-"+e.toLowerCase()}function $Ce(e){return e.charAt(1).toUpperCase()}var n1=Bj([Uj,ACe,Qj,zj,Hj],"html"),Ud=Bj([Uj,TCe,Qj,zj,Hj],"svg");function i_(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function Vj(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var o_=/[#.]/g;function PCe(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){o_.lastIndex=a;const s=o_.exec(n),l=n.slice(a,s?s.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function Yw(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function qj(e){return e.join(" ").trim()}var ICe=new Set(["button","menu","reset","submit"]),Gw={}.hasOwnProperty;function Zj(e,t,n){const r=n&&LCe(n);function a(i,o,...s){let l=-1,c;if(i==null){c={type:"root",children:[]};const u=o;s.unshift(u)}else if(c=PCe(i,t),c.tagName=c.tagName.toLowerCase(),r&&Gw.call(r,c.tagName)&&(c.tagName=r[c.tagName]),RCe(o,c.tagName)){let u;for(u in o)Gw.call(o,u)&&NCe(e,c.properties,u,o[u])}else s.unshift(o);for(;++l<s.length;)Kw(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function RCe(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?ICe.has(e.type.toLowerCase()):!("value"in e)}function NCe(e,t,n,r){const a=wv(e,n);let i=-1,o;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;o=r}else typeof r=="boolean"?o=r:typeof r=="string"?a.spaceSeparated?o=Yw(r):a.commaSeparated?o=i_(r):a.commaOrSpaceSeparated?o=Yw(i_(r).join(" ")):o=s_(a,a.property,r):Array.isArray(r)?o=r.concat():o=a.property==="style"?MCe(r):String(r);if(Array.isArray(o)){const s=[];for(;++i<o.length;)s[i]=s_(a,a.property,o[i]);o=s}if(a.property==="className"&&Array.isArray(t.className)){const s=o;o=t.className.concat(s)}t[a.property]=o}}function Kw(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Kw(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Kw(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function s_(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Ym(n)===Ym(t)))return!0}return n}function MCe(e){const t=[];let n;for(n in e)Gw.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function LCe(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var DCe=["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"],BCe=Zj(n1,"div"),UCe=Zj(Ud,"g",DCe),a4=/\r?\n|\r/g;function jCe(e){const t=String(e),n=[];for(a4.lastIndex=0;a4.test(t);)n.push(a4.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:a};function r(i){let o=-1;if(typeof i=="number"&&i>-1&&i<n[n.length-1]){for(;++o<n.length;)if(n[o]>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i}}}function a(i){const o=i&&i.line,s=i&&i.column;if(typeof o=="number"&&typeof s=="number"&&!Number.isNaN(o)&&!Number.isNaN(s)&&o-1 in n){const l=(n[o-2]||
680)+s-1||0;if(l>-1&&l<n[n.length-1])return l}}}var qu={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Xj={}.hasOwnProperty,FCe=Object.prototype;function Wj(e,t){const n=t||{};return l5({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ud:n1,verbose:n.verbose||!1},e)}function l5(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},s2(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Yj(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=jCe(i),s=o.toPoint(0),l=o.toPoint(i.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},s2(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},s2(e,r,n),n}default:return n=QCe(e,t),n}}function Yj(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=l5(e,t[n]);r.push(a)}return r}function QCe(e,t){const n=e.schema;e.schema=t.namespaceURI===qu.svg?Ud:n1;let r=-1;const a={};for(;++r<t.attrs.length;){const o=t.attrs[r],s=(o.prefix?o.prefix+":":"")+o.name;Xj.call(FCe,s)||(a[s]=o.value)}const i=(e.schema.space==="svg"?UCe:BCe)(t.tagName,a,Yj(e,t.childNodes));if(s2(e,t,i),i.tagName==="template"){const o=t,s=o.sourceCodeLocation,l=s&&s.startTag&&kf(s.startTag),c=s&&s.endTag&&kf(s.endTag),u=l5(e,o.content);l&&c&&e.file&&(u.position={start:l.end,end:c.start}),i.content=u}return e.schema=n,i}function s2(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=zCe(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function zCe(e,t,n){const r=kf(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(n.attrs)for(o in n.attrs)Xj.call(n.attrs,o)&&(i[wv(e.schema,o).property]=kf(n.attrs[o]));n.startTag;const s=kf(n.startTag),l=n.endTag?kf(n.endTag):void 0,c={opening:s};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function kf(e){const t=l_({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=l_({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function l_(e){return e.line&&e.column?e:void 0}var HCe=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),z;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(z||(z={}));var _i={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Gj(e){return e>=55296&&e<=57343}function VCe(e){return e>=56320&&e<=57343}function qCe(e,t){return(e-55296)*1024+9216+t}function Kj(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Jj(e){return e>=64976&&e<=65007||HCe.has(e)}var be;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invali
vendor: 6,093 bytes, line 68
68dFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(be||(be={}));var ZCe=65536,XCe=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=ZCe,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:n,col:r,offset:a}=this,i=r+t,o=a+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(VCe(t))return this.pos++,this._addGap(),qCe(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,z.EOF;return this._err(be.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==e.charCodeAt(n))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,z.EOF;const n=this.html.charCodeAt(t);return n===z.CARRIAGE_RETURN?z.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,z.EOF;let e=this.html.charCodeAt(this.pos);return e===z.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,z.LINE_FEED):e===z.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Gj(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===z.LINE_FEED||e===z.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Kj(e)?this._err(be.controlCharacterInInputStream):Jj(e)&&this._err(be.nonch
68aracterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},an;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(an||(an={}));function eF(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var WCe
vendor: 26,667 bytes, line 68
68=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ'.split("").map(
68e=>e.charCodeAt(0))),YCe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function GCe(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=YCe.get(e))!==null&&t!==void 0?t:e}var ka;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ka||(ka={}));var KCe=32,Ic;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ic||(Ic={}));function Jw(e){return e>=ka.ZERO&&e<=ka.NINE}function JCe(e){return e>=ka.UPPER_A&&e<=ka.UPPER_F||e>=ka.LOWER_A&&e<=ka.LOWER_F}function e7e(e){return e>=ka.UPPER_A&&e<=ka.UPPER_Z||e>=ka.LOWER_A&&e<=ka.LOWER_Z||Jw(e)}function t7e(e){return e===ka.EQUALS||e7e(e)}var Oa;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Oa||(Oa={}));var Nl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Nl||(Nl={}));var n7e=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Oa.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Nl.Strict}startEntity(e){this.decodeMode=e,this.state=Oa.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Oa.EntityStart:return e.charCodeAt(t)===ka.NUM?(this.state=Oa.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Oa.NamedEntity,this.stateNamedEntity(e,t));case Oa.NumericStart:return this.stateNumericStart(e,t);case Oa.NumericDecimal:return this.stateNumericDecimal(e,t);case Oa.NumericHex:return this.stateNumericHex(e,t);case Oa.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|KCe)===ka.LOWER_X?(this.state=Oa.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Oa.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const a=n-t;this.result=this.result*Math.pow(r,a)+Number.parseInt(e.substr(t,a),r),this.consumed+=a}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(Jw(r)||JCe(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(Jw(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===ka.SEMI)this.consumed+=1;else if(this.decodeMode===Nl.Strict)return 0;return this.emitCodePoint(GCe(this.result),this.consumed),this.errors&&(e!==ka.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],a=(r&Ic.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=r7e(n,r,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===Nl.Attribute&&(a===0||t7e(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],a=(r&Ic.VALUE_LENGTH)>>14,a!==0){if(i===ka.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Nl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&Ic.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~Ic.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Oa.NamedEntity:return this.result!==0&&(this.decodeMode!==Nl.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Oa.NumericDecimal:return this.emitNumericEntity(0,2);case Oa.NumericHex:return this.emitNumericEntity(0,3);case Oa.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Oa.EntityStart:return 0}}};function r7e(e,t,n,r){const a=(t&Ic.BRANCH_LENGTH)>>7,i=t&Ic.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let o=n,s=o+a-1;for(;o<=s;){const l=o+s>>>1,c=e[l];
68if(c<r)o=l+1;else if(c>r)s=l-1;else return e[l+a]}return-1}var $e;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})($e||($e={}));var id;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(id||(id={}));var _o;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(_o||(_o={}));var ue;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(ue||(ue={}));var T;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(T||(T={}));var a7e=new Map([[ue.A,T.A],[ue.ADDRESS,T.ADDRESS],[ue.ANNOTATION_XML,T.ANNOTATION_XML],[ue.APPLET,T.APPLET],[ue.AREA,T.AREA],[ue.ARTICLE,T.ARTICLE],[ue.ASIDE,T.ASIDE],[ue.B,T.B],[ue.BASE,T.BASE],[ue.BASEFONT,T.BASEFONT],[ue.BGSOUND,T.BGSOUND],[ue.BIG,T.BIG],[ue.BLOCKQUOTE,T.BLOCKQUOTE],[ue.BODY,T.BODY],[ue.BR,T.BR],[ue.BUTTON,T.BUTTON],[ue.CAPTION,T.CAPTION],[ue.CENTER,T.CENTER],[ue.CODE,T.CODE],[ue.COL,T.COL],[ue.COLGROUP,T.COLGROUP],[ue.DD,T.DD],[ue.DESC,T.DESC],[ue.DETAILS,T.DETAILS],[ue.DIALOG,T.DIALOG],[ue.DIR,T.DIR],[ue.DIV,T.DIV],[ue.DL,T.DL],[ue.DT,T.DT],[ue.EM,T.EM],[ue.EMBED,T.EMBED],[ue.FIELDSET,T.FIELDSET],[ue.FIGCAPTION,T.FIGCAPTION],[ue.FIGURE,T.FIGURE],[ue.FONT,T.FONT],[ue.FOOTER,T.FOOTER],[ue.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[ue.FORM,T.FORM],[ue.FRAME,T.FRAME],[ue.FRAMESET,T.FRAMESET],[ue.H1,T.H1],[ue.H2,T.H2],[ue.H3,T.H3],[ue.H4,T.H4],[ue.H5,T.H5],[ue.H6,T.H6],[ue.HEAD,T.HEAD],[ue.HEADER,T.HEADER],[ue.HGROUP,T.HGROUP],[ue.HR,T.HR],[ue.HTML,T.HTML],[ue.I,T.I],[ue.IMG,T.IMG],[ue.IMAGE,T.IMAGE],[ue.INPUT,T.INPUT],[ue.IFRAME,T.IFRAME],[ue.KEYGEN,T.KEYGEN],[ue.LABEL,T.LABEL],[ue.LI,T.LI],[ue.LINK,T.LINK],[ue.LISTING,T.LISTING],[ue.MAIN,T.MAIN],[ue.MALIGNMARK,T.MALIGNMARK],[ue.MARQUEE,T.MARQUEE],[ue.MATH,T.MATH],[ue.MENU,T.MENU],[ue.META,T.META],[ue.MGLYPH,T.MGLYPH],[ue.MI,T.MI],[ue.MO,T.MO],[ue.MN,T.MN],[ue.MS,T.MS],[ue.MTEXT,T.MTEXT],[ue.NAV,T.NAV],[ue.NOBR,T.NOBR],[ue.NOFRAMES,T.NOFRAMES],[ue.NOEMBED,T.NOEMBED],[ue.NOSCRIPT,T.NOSCRIPT],[ue.OBJECT,T.OBJECT],[ue.OL,T.OL],[ue.OPTGROUP,T.OPTGROUP],[ue.OPTION,T.OPTION],[ue.P,T.P],[ue.PARAM,T.PARAM],[ue.PLAINTEXT,T.PLAINTEXT],[ue.PRE,T.PRE],[ue.RB,T.RB],[ue.RP,T.RP],[ue.RT,T.RT],[ue.RTC,T.RTC],[ue.RUBY,T.RUBY],[ue.S,T.S],[ue.SCRIPT,T.SCRIPT],[ue.SEARCH,T.SEARCH],[ue.SECTION,T.SECTION],[ue.SELECT,T.SELECT],[ue.SOURCE,T.SOURCE],[ue.SMALL,T.SMALL],[ue.SPAN,T.SPAN],[ue.STRIKE,T.STRIKE],[ue.STRONG,T.STRONG],[ue.STYLE,T.STYLE],[ue.SUB,T.SUB],[ue.SUMMARY,T.SUMMARY],[ue.SUP,T.SUP],[ue.TABLE,T.TABLE],[ue.TBODY,T.TBODY],[ue.TEMPLATE,T.TEMPLATE],[ue.TEXTAREA,T.TEXTAREA],[ue.TFOOT,T.TFOOT],[ue.TD,T.TD],[ue.TH,T.TH],[ue.THEAD,T.THEAD],[ue.TITLE,T.TITLE],[ue.TR,T.TR],[ue.TRACK,T.TRACK],[ue.TT,T.TT],[ue.U,T.U],[ue.UL,T.UL],[ue.SVG,T.SVG],[ue.VAR,T.VAR],[ue.WBR,T.WBR],[ue.XMP,T.XMP]]);function tp(e){var t;return(t=a7e.get(e))!==null&&t!==void 0?t:T.UNKNOWN}var Ne=T,i7e={[$e.HTML]:new Set([Ne.ADDRESS,Ne.APPLET,Ne.AREA,Ne.ARTICLE,Ne.ASIDE,Ne.BASE,Ne.BASE
vendor: 8,778 bytes, line 68
68FONT,Ne.BGSOUND,Ne.BLOCKQUOTE,Ne.BODY,Ne.BR,Ne.BUTTON,Ne.CAPTION,Ne.CENTER,Ne.COL,Ne.COLGROUP,Ne.DD,Ne.DETAILS,Ne.DIR,Ne.DIV,Ne.DL,Ne.DT,Ne.EMBED,Ne.FIELDSET,Ne.FIGCAPTION,Ne.FIGURE,Ne.FOOTER,Ne.FORM,Ne.FRAME,Ne.FRAMESET,Ne.H1,Ne.H2,Ne.H3,Ne.H4,Ne.H5,Ne.H6,Ne.HEAD,Ne.HEADER,Ne.HGROUP,Ne.HR,Ne.HTML,Ne.IFRAME,Ne.IMG,Ne.INPUT,Ne.LI,Ne.LINK,Ne.LISTING,Ne.MAIN,Ne.MARQUEE,Ne.MENU,Ne.META,Ne.NAV,Ne.NOEMBED,Ne.NOFRAMES,Ne.NOSCRIPT,Ne.OBJECT,Ne.OL,Ne.P,Ne.PARAM,Ne.PLAINTEXT,Ne.PRE,Ne.SCRIPT,Ne.SECTION,Ne.SELECT,Ne.SOURCE,Ne.STYLE,Ne.SUMMARY,Ne.TABLE,Ne.TBODY,Ne.TD,Ne.TEMPLATE,Ne.TEXTAREA,Ne.TFOOT,Ne.TH,Ne.THEAD,Ne.TITLE,Ne.TR,Ne.TRACK,Ne.UL,Ne.WBR,Ne.XMP]),[$e.MATHML]:new Set([Ne.MI,Ne.MO,Ne.MN,Ne.MS,Ne.MTEXT,Ne.ANNOTATION_XML]),[$e.SVG]:new Set([Ne.TITLE,Ne.FOREIGN_OBJECT,Ne.DESC]),[$e.XLINK]:new Set,[$e.XML]:new Set,[$e.XMLNS]:new Set},e3=new Set([Ne.H1,Ne.H2,Ne.H3,Ne.H4,Ne.H5,Ne.H6]);ue.STYLE,ue.SCRIPT,ue.XMP,ue.IFRAME,ue.NOEMBED,ue.NOFRAMES,ue.PLAINTEXT;var X;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(X||(X={}));var Br={DATA:X.DATA,RCDATA:X.RCDATA,RAWTEXT:X.RAWTEXT,SCRIPT_DATA:X.SCRIPT_DATA,PLAINTEXT:X.PLAINTEXT,CDATA_SECTION:X.CDATA_SECTION};function o7e(e){return e>=z.DIGIT_0&&e<=z.DIGIT_9}function tm(e){return e>=z.LATIN_CAPITAL_A&&e<=z.LATIN_CAPITAL_Z}function s7e(e){return e>=z.LATIN_SMALL_A&&e<=z.LATIN_SMALL_Z}function bc(e){return s7e(e)||tm(e)}function c_(e){return bc(e)||o7e(e)}function ng(e){return e+32}function tF(e){return e===z.SPACE||e===z.LINE_FEED||e===z.TABULATION||e===z.FORM_FEED}function u_(e){return tF(e)||e===z.SOLIDUS||e===z.GREATER_THAN_SIGN}function l7e(e){return e===z.NULL?be.nullCharacterReference:e>1114111?be.characterReferenceOutsideUnicodeRange:Gj(e)?be.surrogateCharacterReference:Jj(e)?be.noncharacterCharacterReference:Kj(e)||e===z.CARRIAGE_RETURN?be.controlCharacterReference:null}var c7e=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=X.DATA,this.returnState=X.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new XCe(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new n7e(WCe,(n,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(n)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(be.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(be.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const r=l7e(n);r&&this._err(r,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:an.START_TAG,tagName:"",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:an.END_TAG,tagName:"",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:an.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:an.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
68systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;if(eF(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const r=(e=(t=n.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(be.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=tp(e.tagName),e.type===an.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(be.endTagWithAttributes),e.selfClosing&&this._err(be.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case an.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case an.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case an.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:an.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=tF(e)?an.WHITESPACE_CHARACTER:e===z.NULL?an.NULL_CHARACTER:an.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(an.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=X.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Nl.Attribute:Nl.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===X.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===X.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===X.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case X.DATA:this._stateData(e);break;case X.RCDATA:this._stateRcdata(e);break;case X.RAWTEXT:this._stateRawtext(e);break;case X.SCRIPT_DATA:this._stateScriptData(e);break;case X.PLAINTEXT:this._statePlaintext(e);break;case X.TAG_OPEN:this._stateTagOpen(e);break;case X.END_TAG_OPEN:this._stateEndTagOpen(e);break;case X.TAG_NAME:this._stateTagName(e);break;case X.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case X.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case X.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case X.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case X.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case X.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case X.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case X.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case X.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case X.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case X.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case X.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case X.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case X.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case X.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case X.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 5,306 bytes, line 68
68Start(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case X.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case X.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case X.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case X.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case X.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case X.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case X.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case X.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case X.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case X.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case X.BOGUS_COMMENT:this._stateBogusComment(e);break;case X.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case X.COMMENT_START:this._stateCommentStart(e);break;case X.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case X.COMMENT:this._stateComment(e);break;case X.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case X.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case X.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case X.COMMENT_END:this._stateCommentEnd(e);break;case X.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case X.DOCTYPE:this._stateDoctype(e);break;case X.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case X.DOCTYPE_NAME:this._stateDoctypeName(e);break;case X.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case X.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case X.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case X.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case X.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case X.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case X.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case X.CDATA_SECTION:this._stateCdataSection(e);break;case X.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case X.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case X.CHARACTER_REFERENCE:this._stateCharacterReference();break;case X.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case z.LESS_THAN_SIGN:this.state=X.TAG_OPEN;break;case z.AMPERSAND:this._startCharacterReference();break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitCodePoint(e);break;case z.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case z.AMPERSAND:this._startCharacterReference();break;case z.LESS_THAN_SIGN:this.state=X.RCDATA_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case z.LESS_THAN_SIGN:this.state=X.RAWTEXT_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(bc(e))this._createStartTagToken(),this.state=X.TAG_NAME,this._stateTagName(e);else switch(e){case z.EXCLAMATION_MARK:this.state=X.MARKUP_DECLARATION_OPEN;break;case z.SOLIDUS:this.state=X.END_TAG_OPEN;break;case z.QUESTION_MARK:this._err(be.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e);break;case z.EOF:this._err(be.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;
vendor: 21,871 bytes, line 68
68default:this._err(be.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=X.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(bc(e))this._createEndTagToken(),this.state=X.TAG_NAME,this._stateTagName(e);else switch(e){case z.GREATER_THAN_SIGN:this._err(be.missingEndTagName),this.state=X.DATA;break;case z.EOF:this._err(be.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(be.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.BEFORE_ATTRIBUTE_NAME;break;case z.SOLIDUS:this.state=X.SELF_CLOSING_START_TAG;break;case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentTagToken();break;case z.NULL:this._err(be.unexpectedNullCharacter),t.tagName+="�";break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(tm(e)?ng(e):e)}}_stateRcdataLessThanSign(e){e===z.SOLIDUS?this.state=X.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=X.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){bc(e)?(this.state=X.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=X.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=X.BEFORE_ATTRIBUTE_NAME,!1;case z.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=X.SELF_CLOSING_START_TAG,!1;case z.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=X.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=X.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===z.SOLIDUS?this.state=X.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){bc(e)?(this.state=X.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=X.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case z.SOLIDUS:this.state=X.SCRIPT_DATA_END_TAG_OPEN;break;case z.EXCLAMATION_MARK:this.state=X.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=X.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){bc(e)?(this.state=X.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===z.HYPHEN_MINUS?(this.state=X.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===z.HYPHEN_MINUS?(this.state=X.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=X.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case z.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case z.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case z.HYPHEN_MINUS:this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case z.GREATER_THAN_SIGN:this.state=X.SCRIPT_DATA,this._emitChars(">");break;case z.NULL:this._err(be.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===z.SOLIDUS?this.state=X.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:bc(e)?(this._emitChars("<"),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){bc(e)?(this.state=X.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&u_(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<_i.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=X.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case z.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case z.NULL:this._err(be.unexpectedNullCharacter),this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case z.HYPHEN_MINUS:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case z.NULL:this._err(be.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case z.HYPHEN_MINUS:this._emitChars("-");break;case z.LESS_THAN_SIGN:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case z.GREATER_THAN_SIGN:this.state=X.SCRIPT_DATA,this._emitChars(">");break;case z.NULL:this._err(be.unexpectedNullCharacter),this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case z.EOF:this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===z.SOLIDUS?(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&u_(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<_i.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=X.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=X.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.SOLIDUS:case z.GREATER_THAN_SIGN:case z.EOF:this.state=X.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case z.EQUALS_SIGN:this._err(be.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=X.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=X.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:case z.SOLIDUS:case z.GREATER_THAN_SIGN:case z.EOF:this._leaveAttrName(),this.state=X.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case z.EQUALS_SIGN:this._leaveAttrName(),this.state=X.BEFORE_ATTRIBUTE_VALUE;break;case z.QUOTATION_MARK:case z.APOSTROPHE:case z.LESS_THAN_SIGN:this._err(be.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case z.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(tm(e)?ng(e):e)}}_stateAfterAttributeName(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.SOLIDUS:this.state=X.SELF_CLOSING_START_TAG;break;case z.EQUALS_SIGN:this.state=X.BEFORE_ATTRIBUTE_VALUE;break;case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentTagToken();break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=X.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:this.state=X.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case z.APOSTROPHE:this.state=X.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case z.GREATER_THAN_SIGN:this._err(be.missingAttributeValue),this.state=X.DATA,this.emitCurrentTagToken();break;default:this.state=X.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case z.QUOTATION_MARK:this.state=X.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case z.AMPERSAND:this._startCharacterReference();break;case z.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case z.APOSTROPHE:this.state=X.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case z.AMPERSAND:this._startCharacterReference();break;case z.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this._leaveAttrValue(),this.state=X.BEFORE_ATTRIBUTE_NAME;break;case z.AMPERSAND:this._startCharacterReference();break;case z.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=X.DATA,this.emitCurrentTagToken();break;case z.NULL:this._err(be.unexpectedNullCharacter),this.currentAttr.value+="�";break;case z.QUOTATION_MARK:case z.APOSTROPHE:case z.LESS_THAN_SIGN:case z.EQUALS_SIGN:case z.GRAVE_ACCENT:this._err(be.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this._leaveAttrValue(),this.state=X.BEFORE_ATTRIBUTE_NAME;break;case z.SOLIDUS:this._leaveAttrValue(),this.state=X.SELF_CLOSING_START_TAG;break;case z.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=X.DATA,this.emitCurrentTagToken();break;case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._err(be.missingWhitespaceBetweenAttributes),this.state=X.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case z.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=X.DATA,this.emitCurrentTagToken();break}case z.EOF:this._err(be.eofInTag),this._emitEOFToken();break;default:this._err(be.unexpectedSolidusInTag),this.state=X.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentComment(t);break;case z.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case z.NULL:this._err(be.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(_i.DASH_DASH,!0)?(this._createCommentToken(_i.DASH_DASH.length+1),this.state=X.COMMENT_START):this._consumeSequenceIfMatch(_i.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(_i.DOCTYPE.length+1),this.state=X.DOCTYPE):this._consumeSequenceIfMatch(_i.CDATA_START,!0)?this.inForeignNode?this.state=X.CDATA_SECTION:(this._err(be.cdataInHtmlContent),this._createCommentToken(_i.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=X.BOGUS_COMMENT):this._ensureHibernation()||(this._err(be.incorrectlyOpenedComment),this._createCommentToken(2),this.state=X.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case z.HYPHEN_MINUS:this.state=X.COMMENT_START_DASH;break;case z.GREATER_THAN_SIGN:{this._err(be.abruptClosingOfEmptyComment),this.state=X.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=X.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case z.HYPHEN_MINUS:this.state=X.COMMENT_END;break;case z.GREATER_THAN_SIGN:this._err(be.abruptClosingOfEmptyComment),this.state=X.DATA,this.emitCurrentComment(t);break;case z.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=X.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case z.HYPHEN_MINUS:this.state=X.COMMENT_END_DASH;break;case z.LESS_THAN_SIGN:t.data+="<",this.state=X.COMMENT_LESS_THAN_SIGN;break;case z.NULL:this._err(be.unexpectedNullCharacter),t.data+="�";break;case z.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case z.EXCLAMATION_MARK:t.data+="!",this.state=X.COMMENT_LESS_THAN_SIGN_BANG;break;case z.LESS_THAN_SIGN:t.data+="<";break;default:this.state=X.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===z.HYPHEN_MINUS?this.state=X.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=X.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===z.HYPHEN_MINUS?this.state=X.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=X.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==z.GREATER_THAN_SIGN&&e!==z.EOF&&this._err(be.nestedComment),this.state=X.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case z.HYPHEN_MINUS:this.state=X.COMMENT_END;break;case z.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=X.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentComment(t);break;case z.EXCLAMATION_MARK:this.state=X.COMMENT_END_BANG;break;case z.HYPHEN_MINUS:t.data+="-";break;case z.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=X.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case z.HYPHEN_MINUS:t.data+="--!",this.state=X.COMMENT_END_DASH;break;case z.GREATER_THAN_SIGN:this._err(be.incorrectlyClosedComment),this.state=X.DATA,this.emitCurrentComment(t);break;case z.EOF:this._err(be.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=X.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.BEFORE_DOCTYPE_NAME;break;case z.GREATER_THAN_SIGN:this.state=X.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case z.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(be.missingWhitespaceBeforeDoctypeName),this.state=X.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(tm(e))this._createDoctypeToken(String.fromCharCode(ng(e))),this.state=X.DOCTYPE_NAME;else switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.NULL:this._err(be.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=X.DOCTYPE_NAME;break;case z.GREATER_THAN_SIGN:{this._err(be.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break}case z.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=X.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.AFTER_DOCTYPE_NAME;break;case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.NULL:this._err(be.unexpectedNullCharacter),t.name+="�";break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(tm(e)?ng(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(_i.PUBLIC,!1)?this.state=X.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(_i.SYSTEM,!1)?this.state=X.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(be.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case z.QUOTATION_MARK:this._err(be.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:this._err(be.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case z.GREATER_THAN_SIGN:this._err(be.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:t.publicId="",this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:t.publicId="",this.state=X.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case z.GREATER_THAN_SIGN:this._err(be.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case z.QUOTATION_MARK:this.state=X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case z.NULL:this._err(be.unexpectedNullCharacter),t.publicId+="�";break;case z.GREATER_THAN_SIGN:this._err(be.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case z.APOSTROPHE:this.state=X.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case z.NULL:this._err(be.unexpectedNullCharacter),t.publicId+="�";break;case z.GREATER_THAN_SIGN:this._err(be.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case z.GREATER_THAN_SIGN:this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.QUOTATION_MARK:this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 7,503 bytes, line 68
68default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.QUOTATION_MARK:t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:this.state=X.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case z.QUOTATION_MARK:this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case z.GREATER_THAN_SIGN:this._err(be.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case z.APOSTROPHE:t.systemId="",this.state=X.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case z.GREATER_THAN_SIGN:this._err(be.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.DATA,this.emitCurrentDoctype(t);break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case z.QUOTATION_MARK:this.state=X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case z.NULL:this._err(be.unexpectedNullCharacter),t.systemId+="�";break;case z.GREATER_THAN_SIGN:this._err(be.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case z.APOSTROPHE:this.state=X.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case z.NULL:this._err(be.unexpectedNullCharacter),t.systemId+="�";break;case z.GREATER_THAN_SIGN:this._err(be.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.EOF:this._err(be.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(be.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=X.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case z.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=X.DATA;break;case z.NULL:this._err(be.unexpectedNullCharacter);break;case z.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break}}_stateCdataSection(e){switch(e){case z.RIGHT_SQUARE_BRACKET:this.state=X.CDATA_SECTION_BRACKET;break;case z.EOF:this._err(be.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===z.RIGHT_SQUARE_BRACKET?this.state=X.CDATA_SECTION_END:(this._emitChars("]"),this.state=X.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case z.GREATER_THAN_SIGN:this.state=X.DATA;break;case z.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=X.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(z.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&c_(this.preprocessor.peek(1))?X.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){c_(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===z.SEMICOLON&&this._err(be.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},nF=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),d_=new Set([...nF,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),cb=new Set([T.APPLET,T.CAPTION,T.HTML,T.MARQUEE,T.OBJECT,T.TABLE,T.TD,T.TEMPLATE,T.TH]),u7e=new Set([...cb,T.OL,T.UL]),d7e=new Set([...cb,T.BUTTON]),f_=new Set([T.ANNOTATION_XML,T.MI,T.MN,T.MO,T.MS,T.MTEXT]),h_=new Set([T.DESC,T.FOREIGN_OBJECT,T.TITLE]),f7e=new Set([T.TR,T.TEMPLATE,T.HTML]),h7e=new Set([T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML]),p7e=new Set([T.TABLE,T.TEMPLATE,T.HTML]),m7e=new Set([T.TD,T.TH]),g7e=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$e.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==$e.HTML);
68this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(e3,$e.HTML)}popUntilTableCellPopped(){this.popUntilPopped(m7e,$e.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(p7e,$e.HTML)}clearBackToTableBodyContext(){this.clearBackTo(h7e,$e.HTML)}clearBackToTableRowContext(){this.clearBackTo(f7e,$e.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===T.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case $e.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case $e.SVG:if(h_.has(r))return!1;break;case $e.MATHML:if(f_.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,cb)}hasInListItemScope(e){return this.hasInDynamicScope(e,u7e)}hasInButtonScope(e){return this.hasInDynamicScope(e,d7e)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case $e.HTML:if(e3.has(t))return!0;if(cb.has(t))return!1;break;case $e.SVG:if(h_.has(t))return!1;break;case $e.MATHML:if(f_.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===$e.HTML)switch(this.tagIDs[t]){case e:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===$e.HTML)switch(this.tagIDs[e]){case T.TBODY:case T.THEAD:case T.TFOOT:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===$e.HTML)switch(this.tagIDs[t]){case e:return!0;case T.OPTION:case T.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&nF.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&d_.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&d_.has(this.currentTagId);)this.pop()}},i4=3,Ws;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ws||(Ws={}));var p_={type:Ws.Marker},b7e=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let o=0;o<this.entries.length;o++){const s=this.entries[o];if(s.type===Ws.Marker)break;const{element:l}=s;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const c=this.treeAdapter.getAttrList(l);c.length===r&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<i4)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<i4)return;const r=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<n.length;i++){const o=n[i];o.attrs.every(s=>r.get(s.name)===s.value)&&(a+=1,a>=i4&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(p_)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ws.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ws.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(p_);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(n=>n.type===Ws.Marker||this.treeAdapter.getTagName(n.element)===e);return t&&t.type===Ws.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Ws.Element&&t.element===e)}},yc={createDocument(){return{nodeName:"#document",mode:_o.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};yc.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(yc.isTextNode(n)){n.value+=t;return}}yc.appendChild(e,yc.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&yc.isTextNode(r)?r.value+=t:yc.insertBefore(e,yc.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId}
vendor: 5,891 bytes, line 68
68,isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},rF="html",y7e="about:legacy-compat",v7e="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",aF=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],O7e=[...aF,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],S7e=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),iF=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],w7e=[...iF,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function m_(e,t){return t.some(n=>e.startsWith(n))}function x7e(e){return e.name===rF&&e.publicId===null&&(e.systemId===null||e.systemId===y7e)}function k7e(e){if(e.name!==rF)return _o.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===v7e)return _o.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),S7e.has(n))return _o.QUIRKS;let r=t===null?O7e:aF;if(m_(n,r))return _o.QUIRKS;if(r=t===null?iF:w7e,m_(n,r))return _o.LIMITED_QUIRKS}return _o.NO_QUIRKS}var g_={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},A7e="definitionurl",T7e="definitionURL",E7e=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),_7e=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$e.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$e.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$e.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$e.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$e.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$e.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$e.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:$e.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$e.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$e.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$e.XMLNS}]]),C7e=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),$7e=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.
68EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function P7e(e){const t=e.tagID;return t===T.FONT&&e.attrs.some(({name:n})=>n===id.COLOR||n===id.SIZE||n===id.FACE)||$7e.has(t)}function oF(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===A7e){e.attrs[t].name=T7e;break}}function sF(e){for(let t=0;t<e.attrs.length;t++){const n=E7e.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function c5(e){for(let t=0;t<e.attrs.length;t++){const n=_7e.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function I7e(e){const t=C7e.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=tp(e.tagName))}function R7e(e,t){return t===$e.MATHML&&(e===T.MI||e===T.MO||e===T.MN||e===T.MS||e===T.MTEXT)}function N7e(e,t,n){if(t===$e.MATHML&&e===T.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===id.ENCODING){const a=n[r].value.toLowerCase();return a===g_.TEXT_HTML||a===g_.APPLICATION_XML}}return t===$e.SVG&&(e===T.FOREIGN_OBJECT||e===T.DESC||e===T.TITLE)}function M7e(e,t,n,r){return(!r||r===$e.HTML)&&N7e(e,t,n)||(!r||r===$e.MATHML)&&R7e(e,t)}var L7e="hidden",D7e=8,B7e=3,te;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(te||(te={}));var U7e={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},lF=new Set([T.TABLE,T.TBODY,T.TFOOT,T.THEAD,T.TR]),b_={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:yc,onParseError:null},ub=class{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=te.INITIAL,this.originalInsertionMode=te.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...b_,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new c7e(this.options,this),this.activeFormattingElements=new b7e(this.treeAdapter),this.fragmentContextID=r?tp(this.treeAdapter.getTagName(r)):T.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new g7e(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...b_,...n};t!=null||(t=r.treeAdapter.createElement(ue.TEMPLATE,$e.HTML,[]));const a=r.treeAdapter.createElement("documentmock",$e.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===T.TEMPLATE&&i.tmplInsertionModeStack.unshift(te.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:U7e,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===$e.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,$e.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=te.TEXT}switchToPlaintextParsing(){this.insertionMode=te.TEXT,this.originalInsertionMode=te.IN_BODY,this.tokenizer.state=Br.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;
vendor: 11,666 bytes, line 68
68for(;t;){if(this.treeAdapter.getTagName(t)===ue.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==$e.HTML))switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=Br.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=Br.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=Br.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=Br.PLAINTEXT;break}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,$e.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,$e.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ue.HTML,$e.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,T.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=a[(r?a.lastIndexOf(r):a.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:o,endCol:s,endOffset:l}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:o,endCol:s,endOffset:l})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===an.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===T.SVG&&this.treeAdapter.getTagName(n)===ue.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===$e.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===T.MGLYPH||t.tagID===T.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,$e.HTML)}_processToken(t){switch(t.type){case an.CHARACTER:this.onCharacter(t);break;case an.NULL_CHARACTER:this.onNullCharacter(t);break;case an.COMMENT:this.onComment(t);break;case an.DOCTYPE:this.onDoctype(t);break;case an.START_TAG:this._processStartTag(t);break;case an.END_TAG:this.onEndTag(t);break;case an.EOF:this.onEof(t);break;case an.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(t);break}}_isIntegrationPoint(t,n,r){return M7e(t,this.treeAdapter.getNamespaceURI(n),this.treeAdapter.getAttrList(n),r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Ws.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=te.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case T.TR:this.insertionMode=te.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=te.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=te.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=te.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=te.IN_TABLE;return;case T.BODY:this.insertionMode=te.IN_BODY;return;case T.FRAMESET:this.insertionMode=te.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(t);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?te.AFTER_HEAD:te.BEFORE_HEAD;return;case T.TD:case T.TH:if(t>0){this.insertionMode=te.IN_CELL;return}break;case T.HEAD:if(t>0){this.insertionMode=te.IN_HEAD;return}break}this.insertionMode=te.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===T.TEMPLATE)break;if(r===T.TABLE){this.insertionMode=te.IN_SELECT_IN_TABLE;return}}this.insertionMode=te.IN_SELECT}_isElementCausesFosterParenting(t){return lF.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(n)===$e.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break;case T.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){return i7e[this.treeAdapter.getNamespaceURI(t)].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m9e(this,t);return}switch(this.insertionMode){case te.INITIAL:Mp(this,t);break;case te.BEFORE_HTML:hm(this,t);break;case te.BEFORE_HEAD:pm(this,t);break;case te.IN_HEAD:mm(this,t);break;case te.IN_HEAD_NO_SCRIPT:gm(this,t);break;case te.AFTER_HEAD:bm(this,t);break;case te.IN_BODY:case te.IN_CAPTION:case te.IN_CELL:case te.IN_TEMPLATE:uF(this,t);break;case te.TEXT:case te.IN_SELECT:case te.IN_SELECT_IN_TABLE:this._insertCharacters(t);break;case te.IN_TABLE:case te.IN_TABLE_BODY:case te.IN_ROW:o4(this,t);break;case te.IN_TABLE_TEXT:gF(this,t);break;case te.IN_COLUMN_GROUP:db(this,t);break;case te.AFTER_BODY:fb(this,t);break;case te.AFTER_AFTER_BODY:l2(this,t);break}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){p9e(this,t);return}switch(this.insertionMode){case te.INITIAL:Mp(this,t);break;case te.BEFORE_HTML:hm(this,t);break;case te.BEFORE_HEAD:pm(this,t);break;case te.IN_HEAD:mm(this,t);break;case te.IN_HEAD_NO_SCRIPT:gm(this,t);break;case te.AFTER_HEAD:bm(this,t);break;case te.TEXT:this._insertCharacters(t);break;case te.IN_TABLE:case te.IN_TABLE_BODY:case te.IN_ROW:o4(this,t);break;case te.IN_COLUMN_GROUP:db(this,t);break;case te.AFTER_BODY:fb(this,t);break;case te.AFTER_AFTER_BODY:l2(this,t);break}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){t3(this,t);return}switch(this.insertionMode){case te.INITIAL:case te.BEFORE_HTML:case te.BEFORE_HEAD:case te.IN_HEAD:case te.IN_HEAD_NO_SCRIPT:case te.AFTER_HEAD:case te.IN_BODY:case te.IN_TABLE:case te.IN_CAPTION:case te.IN_COLUMN_GROUP:case te.IN_TABLE_BODY:case te.IN_ROW:case te.IN_CELL:case te.IN_SELECT:case te.IN_SELECT_IN_TABLE:case te.IN_TEMPLATE:case te.IN_FRAMESET:case te.AFTER_FRAMESET:t3(this,t);break;case te.IN_TABLE_TEXT:Lp(this,t);break;case te.AFTER_BODY:q7e(this,t);break;case te.AFTER_AFTER_BODY:case te.AFTER_AFTER_FRAMESET:Z7e(this,t);break}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case te.INITIAL:X7e(this,t);break;case te.BEFORE_HEAD:case te.IN_HEAD:case te.IN_HEAD_NO_SCRIPT:case te.AFTER_HEAD:this._err(t,be.misplacedDoctype);break;case te.IN_TABLE_TEXT:Lp(this,t);break}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,be.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?g9e(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case te.INITIAL:Mp(this,t);break;case te.BEFORE_HTML:W7e(this,t);break;case te.BEFORE_HEAD:G7e(this,t);break;case te.IN_HEAD:Ms(this,t);break;case te.IN_HEAD_NO_SCRIPT:e$e(this,t);break;case te.AFTER_HEAD:n$e(this,t);break;case te.IN_BODY:li(this,t);break;case te.IN_TABLE:mh(this,t);break;case te.IN_TABLE_TEXT:Lp(this,t);break;case te.IN_CAPTION:K$e(this,t);break;case te.IN_COLUMN_GROUP:f5(this,t);break;case te.IN_TABLE_BODY:Av(this,t);break;case te.IN_ROW:Tv(this,t);break;case te.IN_CELL:t9e(this,t);break;case te.IN_SELECT:vF(this,t);break;case te.IN_SELECT_IN_TABLE:r9e(this,t);break;case te.IN_TEMPLATE:i9e(this,t);break;case te.AFTER_BODY:s9e(this,t);break;case te.IN_FRAMESET:l9e(this,t);break;case te.AFTER_FRAMESET:u9e(this,t);break;case te.AFTER_AFTER_BODY:f9e(this,t);break;case te.AFTER_AFTER_FRAMESET:h9e(this,t);break}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?b9e(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case te.INITIAL:Mp(this,t);break;case te.BEFORE_HTML:Y7e(this,t);break;case te.BEFORE_HEAD:K7e(this,t);break;case te.IN_HEAD:J7e(this,t);break;case te.IN_HEAD_NO_SCRIPT:t$e(this,t);break;case te.AFTER_HEAD:r$e(this,t);break;case te.IN_BODY:kv(this,t);break;case te.TEXT:Q$e(this,t);break;case te.IN_TABLE:Gm(this,t);break;case te.IN_TABLE_TEXT:Lp(this,t);break;case te.IN_CAPTION:J$e(this,t);break;case te.IN_COLUMN_GROUP:e9e(this,t);break;case te.IN_TABLE_BODY:n3(this,t);break;case te.IN_ROW:yF(this,t);break;case te.IN_CELL:n9e(this,t);break;case te.IN_SELECT:OF(this,t);break;
vendor: 6,339 bytes, line 68
68case te.IN_SELECT_IN_TABLE:a9e(this,t);break;case te.IN_TEMPLATE:o9e(this,t);break;case te.AFTER_BODY:wF(this,t);break;case te.IN_FRAMESET:c9e(this,t);break;case te.AFTER_FRAMESET:d9e(this,t);break;case te.AFTER_AFTER_BODY:l2(this,t);break}}onEof(t){switch(this.insertionMode){case te.INITIAL:Mp(this,t);break;case te.BEFORE_HTML:hm(this,t);break;case te.BEFORE_HEAD:pm(this,t);break;case te.IN_HEAD:mm(this,t);break;case te.IN_HEAD_NO_SCRIPT:gm(this,t);break;case te.AFTER_HEAD:bm(this,t);break;case te.IN_BODY:case te.IN_TABLE:case te.IN_CAPTION:case te.IN_COLUMN_GROUP:case te.IN_TABLE_BODY:case te.IN_ROW:case te.IN_CELL:case te.IN_SELECT:case te.IN_SELECT_IN_TABLE:pF(this,t);break;case te.TEXT:z$e(this,t);break;case te.IN_TABLE_TEXT:Lp(this,t);break;case te.IN_TEMPLATE:SF(this,t);break;case te.AFTER_BODY:case te.IN_FRAMESET:case te.AFTER_FRAMESET:case te.AFTER_AFTER_BODY:case te.AFTER_AFTER_FRAMESET:d5(this,t);break}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===z.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case te.IN_HEAD:case te.IN_HEAD_NO_SCRIPT:case te.AFTER_HEAD:case te.TEXT:case te.IN_COLUMN_GROUP:case te.IN_SELECT:case te.IN_SELECT_IN_TABLE:case te.IN_FRAMESET:case te.AFTER_FRAMESET:this._insertCharacters(t);break;case te.IN_BODY:case te.IN_CAPTION:case te.IN_CELL:case te.IN_TEMPLATE:case te.AFTER_BODY:case te.AFTER_AFTER_BODY:case te.AFTER_AFTER_FRAMESET:cF(this,t);break;case te.IN_TABLE:case te.IN_TABLE_BODY:case te.IN_ROW:o4(this,t);break;case te.IN_TABLE_TEXT:mF(this,t);break}}};function j7e(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):hF(e,t),n}function F7e(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Q7e(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=B7e;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=z7e(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function z7e(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function H7e(e,t,n){const r=tp(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);r===T.TEMPLATE&&a===$e.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function V7e(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function u5(e,t){for(let n=0;n<D7e;n++){const r=j7e(e,t);if(!r)break;const a=F7e(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=Q7e(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&H7e(e,o,i),V7e(e,a,r)}}function t3(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function q7e(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Z7e(e,t){e._appendCommentNode(t,e.document)}function d5(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function X7e(e,t){e._setDocumentType(t);const n=t.forceQuirks?_o.QUIRKS:k7e(t);x7e(t)||e._err(t,be.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=te.BEFORE_HTML}function Mp(e,t){e._err(t,be.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,_o.QUIRKS),e.insertionMode=te.BEFORE_HTML,e._processToken(t)}function W7e(e,t){t.tagID===T.HTML?(e._insertElement(t,$e.HTML),e.insertionMode=te.BEFORE_HEAD):hm(e,t)}function Y7e(e,t){const n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&hm(e,t)}function hm(e,t){e._insertFakeRootElement(),e.insertionMode=te.BEFORE_HEAD,e._processToken(t)}function G7e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.HEAD:e._insertElement(t,$e.HTML),e.headElement=e.openElements.current,e.insertionMode=te.IN_HEAD;break;default:pm(e,t)}}function K7e(e,t){const n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?pm(e,t):e._err(t,be.endTagWithoutMatchingOpenElement)}function pm(e,t){e._insertFakeElement(ue.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=te.IN_HEAD,e._processToken(t)}function Ms(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,$e.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,Br.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Br.RAWTEXT):(e._insertElement(t,$e.HTML),e.insertionMode=te.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,Br.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,Br.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=te.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(te.IN_TEMPLATE);break;case T.HEAD:e._err(t,be.misplacedStartTagForHeadElement);break;default:mm(e,t)}}function J7e(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=te.AFT
vendor: 9,684 bytes, line 68
68ER_HEAD;break;case T.BODY:case T.BR:case T.HTML:mm(e,t);break;case T.TEMPLATE:jd(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function jd(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,be.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,be.endTagWithoutMatchingOpenElement)}function mm(e,t){e.openElements.pop(),e.insertionMode=te.AFTER_HEAD,e._processToken(t)}function e$e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:Ms(e,t);break;case T.NOSCRIPT:e._err(t,be.nestedNoscriptInHead);break;default:gm(e,t)}}function t$e(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=te.IN_HEAD;break;case T.BR:gm(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function gm(e,t){const n=t.type===an.EOF?be.openElementsLeftAfterEof:be.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=te.IN_HEAD,e._processToken(t)}function n$e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.BODY:e._insertElement(t,$e.HTML),e.framesetOk=!1,e.insertionMode=te.IN_BODY;break;case T.FRAMESET:e._insertElement(t,$e.HTML),e.insertionMode=te.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,be.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),Ms(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,be.misplacedStartTagForHeadElement);break;default:bm(e,t)}}function r$e(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:bm(e,t);break;case T.TEMPLATE:jd(e,t);break;default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function bm(e,t){e._insertFakeElement(ue.BODY,T.BODY),e.insertionMode=te.IN_BODY,xv(e,t)}function xv(e,t){switch(t.type){case an.CHARACTER:uF(e,t);break;case an.WHITESPACE_CHARACTER:cF(e,t);break;case an.COMMENT:t3(e,t);break;case an.START_TAG:li(e,t);break;case an.END_TAG:kv(e,t);break;case an.EOF:pF(e,t);break}}function cF(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function uF(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function a$e(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function i$e(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function o$e(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_FRAMESET)}function s$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML)}function l$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&e3.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,$e.HTML)}function c$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function u$e(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML),n||(e.formElement=e.openElements.current))}function d$e(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===T.LI&&a===T.LI||(n===T.DD||n===T.DT)&&(a===T.DD||a===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==T.ADDRESS&&a!==T.DIV&&a!==T.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML)}function f$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML),e.tokenizer.state=Br.PLAINTEXT}function h$e(e,t){e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML),e.framesetOk=!1}function p$e(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ue.A);n&&(u5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function m$e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function g$e(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(u5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function b$e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function y$e(e,t){e.treeAdapter.getDocumentMode(e.document)!==_o.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,$e.HTML),e.framesetOk=!1,e.insertionMode=te.IN_TABLE}function dF(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$e.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function fF(e){const t=eF(e,id.TYPE);return t!=null&&t.toLowerCase()===L7e}function v$e(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$e.HTML),fF(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function O$e(e,t){e._appendElement(t,$e.HTML),t.ackSelfClosing=!0}function S$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,$e.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function w$e(e,t){t.tagName=ue.IMG,t.tagID=T.IMG,dF(e,t)}function x$e(e,t){e._insertElement(t,$e.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Br.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=te.TEXT}function k$e(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Br.RAWTEXT)}function A$e(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Br.RAWTEXT)}function y_(e,t){e._switchToTextParsing(t,Br.RAWTEXT)}function T$e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===te.IN_TABLE||e.insertionMode===te.IN_CAPTION||e.insertionMode===te.IN_TABLE_BODY||e.insertionMode===te.IN_ROW||e.insertionMode===te.IN_CELL?te.IN_SELECT_IN_TABLE:te.IN_SELECT}function E$e(e,t){e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML)}function _$e(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,$e.HTML)}function C$e(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,$e.HTML)}function $$e(e,t){e._reconstructActiveFormattingElements(),oF(t),c5(t),t.selfClosing?e._appendElement(t,$e.MATHML):e._insertElement(t,$e.MATHML),t.ackSelfClosing=!0}function P$e(e,t){e._reconstructActiveFormattingElements(),sF(t),c5(t),t.selfClosing?e._appendElement(t,$e.SVG):e._insertElement(t,$e.SVG),t.ackSelfClosing=!0}function v_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$e.HTML)}function li(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:m$e(e,t);break;case T.A:p$e(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:l$e(e,t);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:s$e(e,t);break;case T.LI:case T.DD:case T.DT:d$e(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:dF(e,t);break;case T.HR:S$e(e,t);break;case T.RB:case T.RTC:_$e(e,t);break;case T.RT:case T.RP:C$e(e,t);break;case T.PRE:case T.LISTING:c$e(e,t);break;case T.XMP:k$e(e,t);break;case T.SVG:P$e(e,t);break;case T.HTML:a$e(e,t);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:Ms(e,t);break;case T.BODY:i$e(e,t);break;case T.FORM:u$e(e,t);break;case T.NOBR:g$e(e,t);break;case T.MATH:$$e(e,t);break;case T.TABLE:y$e(e,t);break;case T.INPUT:v$e(e,t);break;case T.PARAM:case T.TRACK:case T.SOURCE:O$e(e,t);break;case T.IMAGE:w$e(e,t);break;case T.BUTTON:h$e(e,t);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:b$e(e,t);break;case T.IFRAME:A$e(e,t);break;case T.SELECT:T$e(e,t);break;case T.OPTION:case T.OPTGROUP:E$e(e,t);break;case T.NOEMBED:case T.NOFRAMES:y_(e,t);break;case T.FRAMESET:o$e(e,t);break;case T.TEXTAREA:x$e(e,t);break;case T.NOSCRIPT:e.options.scriptingEnabled?y_(e,t):v_(e,t);break;case T.PLAINTEXT:f$e(e,t);break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:v_(e,t)}}function I$e(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=te.AFT
vendor: 5,460 bytes, line 68
68ER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function R$e(e,t){e.openElements.hasInScope(T.BODY)&&(e.insertionMode=te.AFTER_BODY,wF(e,t))}function N$e(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function M$e(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}function L$e(e){e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(ue.P,T.P),e._closePElement()}function D$e(e){e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI))}function B$e(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function U$e(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function j$e(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function F$e(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ue.BR,T.BR),e.openElements.pop(),e.framesetOk=!1}function hF(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function kv(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:u5(e,t);break;case T.P:L$e(e);break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:N$e(e,t);break;case T.LI:D$e(e);break;case T.DD:case T.DT:B$e(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:U$e(e);break;case T.BR:F$e(e);break;case T.BODY:I$e(e,t);break;case T.HTML:R$e(e,t);break;case T.FORM:M$e(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:j$e(e,t);break;case T.TEMPLATE:jd(e,t);break;default:hF(e,t)}}function pF(e,t){e.tmplInsertionModeStack.length>0?SF(e,t):d5(e,t)}function Q$e(e,t){var n;t.tagID===T.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function z$e(e,t){e._err(t,be.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function o4(e,t){if(e.openElements.currentTagId!==void 0&&lF.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=te.IN_TABLE_TEXT,t.type){case an.CHARACTER:gF(e,t);break;case an.WHITESPACE_CHARACTER:mF(e,t);break}else r1(e,t)}function H$e(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_CAPTION}function V$e(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_COLUMN_GROUP}function q$e(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ue.COLGROUP,T.COLGROUP),e.insertionMode=te.IN_COLUMN_GROUP,f5(e,t)}function Z$e(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_TABLE_BODY}function X$e(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ue.TBODY,T.TBODY),e.insertionMode=te.IN_TABLE_BODY,Av(e,t)}function W$e(e,t){e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Y$e(e,t){fF(t)?e._appendElement(t,$e.HTML):r1(e,t),t.ackSelfClosing=!0}function G$e(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,$e.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function mh(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:X$e(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:Ms(e,t);break;case T.COL:q$e(e,t);break;case T.FORM:G$e(e,t);break;case T.TABLE:W$e(e,t);break;case T.TBODY:case T.TFOOT:case T.THEAD:Z$e(e,t);break;case T.INPUT:Y$e(e,t);break;case T.CAPTION:H$e(e,t);break;case T.COLGROUP:V$e(e,t);break;default:r1(e,t)}}function Gm(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:jd(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:r1(e,t)}}function r1(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,xv(e,t),e.fosterParentingEnabled=n}
vendor: 7,558 bytes, line 68
68function mF(e,t){e.pendingCharacterTokens.push(t)}function gF(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Lp(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)r1(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var bF=new Set([T.CAPTION,T.COL,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]);function K$e(e,t){const n=t.tagID;bF.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=te.IN_TABLE,mh(e,t)):li(e,t)}function J$e(e,t){const n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=te.IN_TABLE,n===T.TABLE&&Gm(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:kv(e,t)}}function f5(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.COL:e._appendElement(t,$e.HTML),t.ackSelfClosing=!0;break;case T.TEMPLATE:Ms(e,t);break;default:db(e,t)}}function e9e(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=te.IN_TABLE);break;case T.TEMPLATE:jd(e,t);break;case T.COL:break;default:db(e,t)}}function db(e,t){e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=te.IN_TABLE,e._processToken(t))}function Av(e,t){switch(t.tagID){case T.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_ROW;break;case T.TH:case T.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ue.TR,T.TR),e.insertionMode=te.IN_ROW,Tv(e,t);break;case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE,mh(e,t));break;default:mh(e,t)}}function n3(e,t){const n=t.tagID;switch(t.tagID){case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE);break;case T.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE,Gm(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:case T.TR:break;default:Gm(e,t)}}function Tv(e,t){switch(t.tagID){case T.TH:case T.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,$e.HTML),e.insertionMode=te.IN_CELL,e.activeFormattingElements.insertMarker();break;case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE_BODY,Av(e,t));break;default:mh(e,t)}}function yF(e,t){switch(t.tagID){case T.TR:e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE_BODY);break;case T.TABLE:e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE_BODY,n3(e,t));break;case T.TBODY:case T.TFOOT:case T.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(T.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=te.IN_TABLE_BODY,n3(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:break;default:Gm(e,t)}}function t9e(e,t){const n=t.tagID;bF.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),Tv(e,t)):li(e,t)}function n9e(e,t){const n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=te.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),yF(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:kv(e,t)}}function vF(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._insertElement(t,$e.HTML);break;case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._insertElement(t,$e.HTML);break;case T.HR:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._appendElement(t,$e.HTML),t.ackSelfClosing=!0;break;case T.INPUT:case T.KEYGEN:case T.TEXTAREA:case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),t.tagID!==T.SELECT&&e._processStartTag(t));break;case T.SCRIPT:case T.TEMPLATE:Ms(e,t);break}}function OF(e,t){switch(t.tagID){case T.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:jd(e,t);break}}function r9e(e,t){const n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):vF(e,t)}function a9e(e,t){const n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):OF(e,t)}function i9e(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:Ms(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=te.IN_TABLE,e.insertionMode=te.IN_TABLE,mh(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=te.IN_COLUMN_GROUP,e.insertionMode=te.IN_COLUMN_GROUP,f5(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=te.IN_TABLE_BODY,e.insertionMode=te.IN_TABLE_BODY,Av(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=te.IN_ROW,e.insertionMode=te.IN_ROW,Tv(e,t);break;default:e.tmplInsertionModeStack[0]=te.IN_BODY,e.insertionMode=te.IN_BODY,li(e,t)}}function o9e(e,t){t.tagID===T.TEMPLATE&&jd(e,t)}function SF(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):d5(e,t)}function s9e(e,t){t.tagID===T.HTML?li(e,t):fb(e,t)}function wF(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=te.AFT
68ER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else fb(e,t)}function fb(e,t){e.insertionMode=te.IN_BODY,xv(e,t)}function l9e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.FRAMESET:e._insertElement(t,$e.HTML);break;case T.FRAME:e._appendElement(t,$e.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:Ms(e,t);break}}function c9e(e,t){t.tagID===T.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==T.FRAMESET&&(e.insertionMode=te.AFTER_FRAMESET))}function u9e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.NOFRAMES:Ms(e,t);break}}function d9e(e,t){t.tagID===T.HTML&&(e.insertionMode=te.AFTER_AFTER_FRAMESET)}function f9e(e,t){t.tagID===T.HTML?li(e,t):l2(e,t)}function l2(e,t){e.insertionMode=te.IN_BODY,xv(e,t)}function h9e(e,t){switch(t.tagID){case T.HTML:li(e,t);break;case T.NOFRAMES:Ms(e,t);break}}function p9e(e,t){t.chars="�",e._insertCharacters(t)}function m9e(e,t){e._insertCharacters(t),e.framesetOk=!1}function xF(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$e.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function g9e(e,t){if(P7e(t))xF(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===$e.MATHML?oF(t):r===$e.SVG&&(I7e(t),sF(t)),c5(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function b9e(e,t){if(t.tagID===T.P||t.tagID===T.BR){xF(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===$e.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}ue.AREA,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BR,ue.COL,ue.EMBED,ue.FRAME,ue.HR,ue.IMG,ue.INPUT,ue.KEYGEN,ue.LINK,ue.META,ue.PARAM,ue.SOURCE,ue.TRACK,ue.WBR;function y9e(e,t){return ub.parse(e,t)}function v9e(e,t,n){typeof e=="string"&&(n=t,t=e,e=null);const r=ub.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function ym(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?O_(e.position):"start"in e||"end"in e?O_(e):"line"in e||"column"in e?r3(e):""}function r3(e){return S_(e&&e.line)+":"+S_(e&&e.column)}function O_(e){return r3(e&&e.start)+"-"+r3(e&&e.end)}function S_(e){return e&&typeof e=="number"?e:1}var Ti=class extends Error{constructor(e,t,n){super(),typeof t=="string"&&(n=t,t=void 0);let r="",a={},i=!1;if(t&&("line"in t&&"column"in t?a={place:t}:"start"in t&&"end"in t?a={place:t}:"type"in t?a={ancestors:[t],place:t.position}:a={...t}),typeof e=="string"?r=e:!a.cause&&e&&(i=!0,r=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=ym(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}};Ti.prototype.file="";Ti.prototype.name="";Ti.prototype.reason="";Ti.prototype.message="";Ti.prototype.stack="";Ti.prototype.column=void 0;Ti.prototype.line=void 0;Ti.prototype.ancestors=void 0;Ti.prototype.cause=void 0;Ti.prototype.fatal=void 0;Ti.prototype.place=void 0;Ti.prototype.ruleId=void 0;Ti.prototype.source=void 0;var Zs={basename:O9e,dirname:S9e,extname:w9e,join:x9e,sep:"/"};function O9e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');a1(e);let n=0,r=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else r<0&&(i=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(r=a):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function S9e(e){if(a1(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function w9e(e){a1(e);let t=e.length,n=-1,r=0,a=-1,i=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}
vendor: 4,754 bytes, line 68
68n<0&&(o=!0,n=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function x9e(...e){let t=-1,n;for(;++t<e.length;)a1(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":k9e(n)}function k9e(e){a1(e);const t=e.codePointAt(0)===47;let n=A9e(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function A9e(e,t){let n="",r=0,a=-1,i=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(a===o-1||i===1))if(a!==o-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=o,i=0;continue}}else if(n.length>0){n="",r=0,a=o,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,i=0}else s===46&&i>-1?i++:i=-1}return n}function a1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var T9e={cwd:E9e};function E9e(){return"/"}function a3(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function _9e(e){if(typeof e=="string")e=new URL(e);else if(!a3(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return C9e(e)}function C9e(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}var s4=["history","path","basename","stem","extname","dirname"],i3=class{constructor(e){let t;e?a3(e)?t={path:e}:typeof e=="string"||$9e(e)?t={value:e}:t=e:t={},this.cwd="cwd"in t?"":T9e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<s4.length;){const a=s4[n];a in t&&t[a]!==void 0&&t[a]!==null&&(this[a]=a==="history"?[...t[a]]:t[a])}let r;for(r in t)s4.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path=="string"?Zs.basename(this.path):void 0}set basename(e){c4(e,"basename"),l4(e,"basename"),this.path=Zs.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Zs.dirname(this.path):void 0}set dirname(e){w_(this.basename,"dirname"),this.path=Zs.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Zs.extname(this.path):void 0}set extname(e){if(l4(e,"extname"),w_(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Zs.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){a3(e)&&(e=_9e(e)),c4(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Zs.basename(this.path,this.extname):void 0}set stem(e){c4(e,"stem"),l4(e,"stem"),this.path=Zs.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new Ti(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function l4(e,t){if(e&&e.includes(Zs.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Zs.sep+"`")}function c4(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function w_(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function $9e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var P9e={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"}
68,abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"}
68,missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},I9e="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",R9e=/-[a-z]/g,N9e=/%c(?:([-+])(\d+))?/g,M9e=/%x/g,L9e={2:!0,1:!1,
680:null},D9e={};function B9e(e,t){const n=t||D9e,r=n.onerror,a=e instanceof i3?e:new i3(e),i=n.fragment?v9e:y9e,o=String(a);return Wj(i(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:a,space:n.space,verbose:n.verbose});function s(l){const c=l.code,u=U9e(c),d=n[u],f=d??!0,h=typeof f=="number"?f:f?1:0;if(h){const m=P9e[u],g=new Ti(p(m.reason),{place:{start:{line:l.startLine,column:l.startCol,offset:l.startOffset},end:{line:l.endLine,column:l.endCol,offset:l.endOffset}},ruleId:c,source:"hast-util-from-html"});a.path&&(g.file=a.path,g.name=a.path+":"+g.name),g.fatal=L9e[h],g.note=p(m.description),g.url=m.url===!1?void 0:I9e+c,r(g)}function p(m){return m.replace(N9e,g).replace(M9e,v);function g(k,S,A){const E=(A?Number.parseInt(A,10):0)*(S==="-"?-1:1);return F9e(o.charAt(l.startOffset+E))}function v(){return Q9e(o.charCodeAt(l.startOffset))}}}}function U9e(e){return e.replace(R9e,j9e)}function j9e(e){return e.charAt(1).toUpperCase()}function F9e(e){return e==="`"?"` ` `":e}function Q9e(e){return"0x"+e.toString(16).toUpperCase()}function kF(e){const t=this,{emitParseErrors:n,...r}={...t.data("settings"),...e};t.parser=a;function a(i,o){return B9e(i,{...r,onerror:n?function(s){o.path&&(s.name=o.path+":"+s.name,s.file=o.path),o.messages.push(s)}:void 0})}}var AF=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],x_={}.hasOwnProperty;function Ev(e,t){const n=t||{};function r(a,...i){let o=r.invalid;const s=r.handlers;if(a&&x_.call(a,e)){const l=String(a[e]);o=x_.call(s,l)?s[l]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var z9e=/["&'<>`]/g,H9e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,V9e=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,q9e=/[|\\{}()[\]^$+*?.]/g,k_=new WeakMap;function Z9e(e,t){if(e=e.replace(t.subset?X9e(t.subset):z9e,r),t.subset||t.escapeOnly)return e;return e.replace(H9e,n).replace(V9e,r);function n(a,i,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(i+2),t)}function r(a,i,o){return t.format(a.charCodeAt(0),o.charCodeAt(i+1),t)}}function X9e(e){let t=k_.get(e);return t||(t=W9e(e),k_.set(e,t)),t}function W9e(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(q9e,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var Y9e=/[\dA-Fa-f]/;function G9e(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Y9e.test(String.fromCharCode(t))?r:r+";"}var K9e=/\d/;function J9e(e,t,n){const r="&#"+String(e);return n&&t&&!K9e.test(String.fromCharCode(t))?r:r+";"}var ePe=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
68sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],u4={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"Â¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"Â",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"Ã",Aacute:"Ã",Acirc:"Ã",Atilde:"Ã",Auml:"Ã",Aring:"Ã
",AElig:"Ã",Ccedil:"Ã",Egrave:"Ã",Eacute:"Ã",Ecirc:"Ã",Euml:"Ã",Igrave:"Ã",Iacute:"Ã",Icirc:"Ã",Iuml:"Ã",ETH:"Ã",Ntilde:"Ã",Ograve:"Ã",Oacute:"Ã",Ocirc:"Ã",Otilde:"Ã",Ouml:"Ã",times:"Ã",Oslash:"Ã",Ugrave:"Ã",Uacute:"Ã",Ucirc:"Ã",Uuml:"Ã",Yacute:"Ã",THORN:"Ã",szlig:"Ã",agrave:"à ",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"Ã¥",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"Ã",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
68:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},tPe=["cent","copy","divide","gt","lt","not","para","times"],TF={}.hasOwnProperty,o3={},rg;for(rg in u4)TF.call(u4,rg)&&(o3[u4[rg]]=rg);var nPe=/[^\dA-Za-z]/;function rPe(e,t,n,r){const a=String.fromCharCode(e);if(TF.call(o3,a)){const i=o3[a],o="&"+i;return n&&ePe.includes(i)&&!tPe.includes(i)&&(!r||t&&t!==61&&nPe.test(String.fromCharCode(t)))?o:o+";"}return""}function aPe(e,t,n){let r=G9e(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=rPe(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=J9e(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function Bf(e,t){return Z9e(e,Object.assign({format:aPe},t))}var iPe=/^>|^->|<!--|-->|--!>|<!-$/g,oPe=[">"],sPe=["<",">"];function lPe(e,t,n,r){return r.settings.bogusComments?"<?"+Bf(e.value,Object.assign({},r.settings.characterReferences,{subset:oPe}))+">":"<!--"+e.value.replace(iPe,a)+"-->";function a(i){return Bf(i,Object.assign({},r.settings.characterReferences,{subset:sPe}))}}function cPe(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function hb(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}var uPe=/[ \t\n\f\r]/g;function od(e){return typeof e=="object"?e.type==="text"?A_(e.value):!1:A_(e)}function A_(e){return e.replace(uPe,"")===""}var pa=_F(1),EF=_F(-1),dPe=[];function _F(e){return t;function t(n,r,a){const i=n?n.children:dPe;let o=(r||0)+e,s=i[o];if(!a)for(;s&&od(s);)o+=e,s=i[o];return s}}var fPe={}.hasOwnProperty;function CF(e){return t;function t(n,r,a){return fPe.call(e,n.tagName)&&e[n.tagName](n,r,a)}}var h5=CF({body:pPe,caption:d4,colgroup:d4,dd:yPe,dt:bPe,head:d4,html:hPe,li:gPe,optgroup:vPe,option:OPe,p:mPe,rp:T_,rt:T_,tbody:wPe,td:E_,tfoot:xPe,th:E_,thead:SPe,tr:kPe});function d4(e,t,n){const r=pa(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&od(r.value.charAt(0)))}function hPe(e,t,n){const r=pa(n,t);return!r||r.type!=="comment"}function pPe(e,t,n){const r=pa(n,t);return!r||r.type!=="comment"}function mPe(e,t,n){const r=pa(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function gPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&r.tagName==="li"}function bPe(e,t,n){const r=pa(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function yPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function T_(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function vPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function OPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function SPe(e,t,n){const r=pa(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function wPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function xPe(e,t,n){return!pa(n,t)}function kPe(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function E_(e,t,n){const r=pa(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}var APe=CF({body:_Pe,colgroup:CPe,head:EPe,html:TPe,tbody:$Pe});function TPe(e){const t=pa(e,-1);return!t||t.type!=="comment"}function EPe(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}
68function _Pe(e){const t=pa(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&od(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function CPe(e,t,n){const r=EF(n,t),a=pa(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&h5(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function $Pe(e,t,n){const r=EF(n,t),a=pa(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&h5(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}var ag={name:[[` 69\f\r &/=>`.split(""),` 70\f\r "&'/=>\``.split("")],[`\0 71\f\r "&'/<=>`.split(""),`\0 72\f\r "&'/<=>\``.split("")]],unquoted:[[` 73\f\r &>`.split(""),`\0 74\f\r "&'<=>\``.split("")],[`\0 75\f\r "&'<=>\``.split(""),`\0 76\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function PPe(e,t,n,r){const a=r.schema,i=a.space==="svg"?!1:r.settings.omitOptionalTags;let o=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;a.space==="html"&&e.tagName==="svg"&&(r.schema=Ud);const c=IPe(r,e.properties),u=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,u&&(o=!1),(c||!i||!APe(e,t,n))&&(s.push("<",e.tagName,c?" "+c:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(u),!o&&(!i||!h5(e,t,n))&&s.push("</"+e.tagName+">"),s.join("")}function IPe(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=RPe(e,a,t[a]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function RPe(e,t,n){const r=wv(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Bf(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ag.name[a][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Vj:qj)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(s=Bf(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ag.unquoted[a][i]}))),s!==n&&(e.settings.quoteSmart&&hb(n,o)>hb(n,e.alternative)&&(o=e.alternative),s=o+Bf(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?ag.single:ag.double)[a][i],attribute:!0}))+o),l+(s&&"="+s))}var NPe=["<","&"];function $F(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Bf(e.value,Object.assign({},r.settings.characterReferences,{subset:NPe}))}function MPe(e,t,n,r){return r.settings.allowDangerousHtml?e.value:$F(e,t,n,r)}function LPe(e,t,n,r){return r.all(e)}var DPe=Ev("type",{invalid:BPe,unknown:UPe,handlers:{comment:lPe,doctype:cPe,element:PPe,raw:MPe,root:LPe,text:$F}});function BPe(e){throw new Error("Expected node, not `"+e+"`")}function UPe(e){throw new Error("Cannot compile unknown node `"+e.type+"`")}var jPe={},FPe={},QPe=[];function zPe(e,t){const n=t||jPe,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:HPe,all:VPe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||AF,characterReferences:n.characterReferences||FPe,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ud:n1,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function HPe(e,t,n){return DPe(e,t,n,this)}function VPe(e){const t=[],n=e&&e.children||QPe;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function p5(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(a){return zPe(a,n)}}function __(e){if(e)throw e}var f4=lj(oj((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(d){return typeof Array.isArray=="function"?Array.isArray(d):r.call(d)==="[object Array]"},s=function(d){if(!d||r.call(d)!=="[object Object]")return!1;
vendor: 6,400 bytes, lines 76-77
76var f=n.call(d,"constructor"),h=d.constructor&&d.constructor.prototype&&n.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!f&&!h)return!1;var p;for(p in d);return typeof p>"u"||n.call(d,p)},l=function(d,f){a&&f.name==="__proto__"?a(d,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):d[f.name]=f.newValue},c=function(d,f){if(f==="__proto__")if(n.call(d,f)){if(i)return i(d,f).value}else return;return d[f]};t.exports=function u(){var d,f,h,p,m,g,v=arguments[0],k=1,S=arguments.length,A=!1;for(typeof v=="boolean"&&(A=v,v=arguments[1]||{},k=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});k<S;++k)if(d=arguments[k],d!=null)for(f in d)h=c(v,f),p=c(d,f),v!==p&&(A&&p&&(s(p)||(m=o(p)))?(m?(m=!1,g=h&&o(h)?h:[]):g=h&&s(h)?h:{},l(v,{name:f,newValue:u(A,g,p)})):typeof p<"u"&&l(v,{name:f,newValue:p}));return v}})(),1);function s3(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function qPe(){const e=[],t={run:n,use:r};return t;function n(...a){let i=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...a);function s(l,...c){const u=e[++i];let d=-1;if(l){o(l);return}for(;++d<a.length;)(c[d]===null||c[d]===void 0)&&(c[d]=a[d]);a=c,u?ZPe(u,s)(...c):o(null,...c)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function ZPe(e,t){let n;return r;function r(...o){const s=e.length>o.length;let l;s&&o.push(a);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&n)throw u;return a(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(o,...s){n||(n=!0,t(o,...s))}function i(o){a(null,o)}}var XPe=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},WPe={}.hasOwnProperty,Fd=new class PF extends XPe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=qPe()}copy(){const t=new PF;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data((0,f4.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(m4("data",this.frozen),this.namespace[t]=n,this):WPe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(m4("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ig(t),r=this.parser||this.Parser;return h4("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),h4("process",this.parser||this.Parser),p4("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(i,o){const s=ig(t),l=r.parse(s);r.run(l,s,function(u,d,f){if(u||!d||!f)return c(u);const h=d,p=r.stringify(h,f);GPe(p)?f.value=p:f.result=p,c(u,f)});function c(u,d){u||!d?o(u):i?i(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),h4("processSync",this.parser||this.Parser),p4("processSync",this.compiler||this.Compiler),this.process(t,a),$_("processSync","process",n),r;function a(i,o){n=!0,__(i),r=o}}run(t,n,r){C_(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(o,s){const l=ig(n);a.run(t,l,c);function c(u,d,f){const h=d||t;u?s(u):o?o(h):r(void 0,h,f)}}}runSync(t,n){let r=!1,a;return this.run(t,n,i),$_("runSync","run",r),a;function i(o,s){__(o),a=s,r=!0}}stringify(t,n){this.freeze();const r=ig(n),a=this.compiler||this.Compiler;return p4("stringify",a),C_(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(m4("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...d]=c;l(u,d)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(c.plugins),c.settings&&(a.settings=(0,f4.default)(!0,a.settings,c.settings))}function s(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const d=c[u];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===c){f=d;break}if(f===-1)r.push([c,...u]);else if(u.length>0){let[h,...p]=u;const m=r[f][1];s3(m)&&s3(h)&&(h=(0,f4.default)(!0,m,h)),r[f]=[c,h,...p]}}}}().freeze();function h4(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function p4(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function m4(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function C_(e){if(!s3(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $_(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ig(e){return YPe(e)?e:new i3(e)}function YPe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function GPe(e){return typeof e=="string"||KPe(e)}function KPe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function pb(e){return(e==null?void 0:e.type)==="text"}function IF(e){return(e==null?void 0:e.type)==="element"}function P_(e){return{type:"text",value:e}}function JPe(){return{type:"text",value:` 77`}}function eIe(){return e=>{ko(e,"element",(t,n,r)=>{if((r==null?void 0:r.type)==="element"&&r.tagName==="pre"&&t.tagName==="code"){let a=0;
77t.children=RF(t),t.children.forEach(i=>{if(i.type==="element"&&i.tagName==="span"){const o=i.children[i.children.length-1];o&&(!pb(o)||pb(o)&&!mb(o))&&(i.children.push(JPe()),a++)}}),t.properties.style=[`--line-count: ${a};`,`--line-digits: ${a.toString().length};`]}})}}function RF(e,t=[],n){const r=()=>t[t.length-1]??(t.push(I_())&&t[t.length-1]||void 0);return e.children.forEach(a=>{var i;if(pb(a)&&mb(a)){const o=a.value.split(/\n/);o.forEach((s,l)=>{var c,u;n?(c=r())==null||c.children.push({...e,children:[P_(s)]}):(u=r())==null||u.children.push(P_(s)),l!==o.length-1&&t.push(I_())})}else IF(a)&&a.children.some(mb)?RF(a,t,!0):(i=r())==null||i.children.push(a)}),t}function I_(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function mb(e){return pb(e)&&/\r?\n/.test(e.value)||IF(e)&&e.children.some(mb)}function tIe(e,t){const n=(typeof(t==null?void 0:t.maskCredentials)=="string"?[t.maskCredentials]:(t==null?void 0:t.maskCredentials)??[]).filter(o=>!(o.length<3)),r=`language-${cj[t.lang]??t.lang}`,a=()=>{},i=Fd().use(kF,{fragment:!0}).use(nIe(e)).use(bj,{languages:t.languages}).use(t!=null&&t.lineNumbers?eIe:a).use(p5).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((o,s)=>o.split(s).join(`<span class="credential"><span class="credential-value">${s}</span></span>`),i):i}function nIe(e){return()=>t=>{ko(t,"element",n=>{n.tagName==="code"&&n.children.push({type:"text",value:e})})}}var rIe=["note","tip","important","warning","caution","success"];function R_(e){return e.type==="text"&&typeof e.value=="string"&&/^\s*$/.test(e.value)}function aIe(){return e=>{ko(e,"element",(t,n,r)=>{var u;if(t.tagName!=="blockquote"||typeof n!="number"||!r||r.type!=="root")return;const a=t.children.findIndex(d=>!R_(d));if(a===-1)return;const i=t.children[a];if(!i||i.type!=="element"||i.tagName!=="p")return;const o=i.children[0];if(!o||o.type!=="text"||!o.value.startsWith("[!"))return;const s=o.value.indexOf("]");if(s===-1)return;const l=o.value.slice(2,s).toLowerCase();if(!rIe.includes(l))return;if(s+1===o.value.length){const d=i.children[1];if(d){if(d.type!=="element"||d.tagName!=="br"||!i.children[2])return;i.children=i.children.slice(2);const f=i.children[0];f&&f.type==="text"&&f.value.charAt(0)===` 78`&&(f.value=f.value.slice(1))}else{const f=a+1<t.children.length&&R_(t.children[a+1])?a+2:a+1;if(f>=t.children.length||((u=t.children[f])==null?void 0:u.type)!=="element")return;t.children=t.children.slice(f)}}else o.value.charAt(s+1)===` 79`&&(s+2===o.value.length||!/^\s*$/.test(o.value.slice(s+2)))?o.value=o.value.slice(s+2):o.value=o.value.replace(/^\s*\[!.*?\]\s*/,"");const c=[];for(let d=a;d<t.children.length;d++){const f=t.children[d];(f==null?void 0:f.type)==="element"&&f.tagName==="p"&&f.children?c.push(...f.children):c.push(f)}r.children[n]={type:"element",tagName:"div",properties:{className:["markdown-alert",`markdown-alert-${l}`]},children:[{type:"element",tagName:"div",properties:{className:["markdown-alert-icon"]},children:[]},{type:"element",tagName:"div",properties:{className:["markdown-alert-content"]},children:[{type:"text",value:" "},...c]}]}})}}var N_=typeof self=="object"?self:globalThis,iIe=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case 0:case-1:return n(o,a);case 1:{const s=n([],a);for(const l of o)s.push(r(l));return s}case 2:{const s=n({},a);for(const[l,c]of o)s[r(l)]=r(c);return s}case 3:return n(new Date(o),a);case 4:{const{source:s,flags:l}=o;return n(new RegExp(s,l),a)}case 5:{const s=n(new Map,a);for(const[l,c]of o)s.set(r(l),r(c));return s}case 6:{const s=n(new Set,a);for(const l of o)s.add(r(l));return s}case 7:{const{name:s,message:l}=o;return n(new N_[s](l),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a)}return n(new N_[i](o),a)};return r},M_=e=>iIe(new Map,e)(0),nf="",{toString:oIe}={},{keys:sIe}=Object,Dp=e=>{const t=typeof e;if(t!=="object"||!e)return[0,t];const n=oIe.call(e).slice(8,-1);switch(n){case"Array":return[1,nf];case"Object":return[2,nf];
79case"Date":return[3,nf];case"RegExp":return[4,nf];case"Map":return[5,nf];case"Set":return[6,nf]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},og=([e,t])=>e===0&&(t==="function"||t==="symbol"),lIe=(e,t,n,r)=>{const a=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=Dp(o);switch(s){case 0:{let u=o;switch(l){case"bigint":s=8,u=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return a([-1],o)}return a([s,u],o)}case 1:{if(l)return a([l,[...o]],o);const u=[],d=a([s,u],o);for(const f of o)u.push(i(f));return d}case 2:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const u=[],d=a([s,u],o);for(const f of sIe(o))(e||!og(Dp(o[f])))&&u.push([i(f),i(o[f])]);return d}case 3:return a([s,o.toISOString()],o);case 4:{const{source:u,flags:d}=o;return a([s,{source:u,flags:d}],o)}case 5:{const u=[],d=a([s,u],o);for(const[f,h]of o)(e||!(og(Dp(f))||og(Dp(h))))&&u.push([i(f),i(h)]);return d}case 6:{const u=[],d=a([s,u],o);for(const f of o)(e||!og(Dp(f)))&&u.push(i(f));return d}}const{message:c}=o;return a([s,{name:l,message:c}],o)};return i},L_=(e,{json:t,lossy:n}={})=>{const r=[];return lIe(!(t||n),!!t,new Map,r)(e),r},sl=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?M_(L_(e,t)):structuredClone(e):(e,t)=>M_(L_(e,t)),cIe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,uIe=/^[a-zA-Z]:\\/;function dIe(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return uIe.test(e)?!1:cIe.test(e)}var fIe=["http","https"],hIe=["nofollow"],pIe={};function mIe(e){const t=e||pIe,n=t.protocols||fIe,r=Wo(t.test);return function(a){ko(a,"element",function(i,o,s){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,o,s)){const l=i.properties.href;if(dIe(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Bp(t.content,i),u=c&&!Array.isArray(c)?[c]:c,d=Bp(t.rel,i)||hIe,f=typeof d=="string"?Yw(d):d,h=Bp(t.target,i),p=Bp(t.properties,i);if(p&&Object.assign(i.properties,sl(p)),f.length>0&&(i.properties.rel=[...f]),h&&(i.properties.target=h),u){const m=Bp(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:sl(m),children:sl(u)})}}}})}}function Bp(e,t){return typeof e=="function"?e(t):e}var m5=Wo(function(e){return e.tagName==="audio"||e.tagName==="canvas"||e.tagName==="embed"||e.tagName==="iframe"||e.tagName==="img"||e.tagName==="math"||e.tagName==="object"||e.tagName==="picture"||e.tagName==="svg"||e.tagName==="video"}),gIe=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],bIe=["button","input","select","textarea"],yIe=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],vIe={},g5=Jh(["comment","doctype"]);function OIe(e,t){NF(e,{collapse:EIe((t||vIe).newlines?AIe:TIe),whitespace:"normal"})}function NF(e,t){if("children"in e){const n={...t};return(e.type==="root"||DF(e))&&(n.before=!0,n.after=!0),n.whitespace=_Ie(e,t),wIe(e,n)}if(e.type==="text"){if(t.whitespace==="normal")return SIe(e,t);t.whitespace==="nowrap"&&(e.value=t.collapse(e.value))}return{ignore:g5(e),stripAtStart:!1,remove:!1}}function SIe(e,t){const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1};let a=0,i=n.length;return t.before&&D_(n.charAt(0))&&a++,a!==i&&D_(n.charAt(i-1))&&(t.after?i--:r.stripAtStart=!0),a===i?r.remove=!0:e.value=n.slice(a,i),r}function wIe(e,t){let n=t.before;const r=t.after,a=e.children;let i=a.length,o=-1;for(;++o<i;){const s=NF(a[o],{...t,after:MF(a,o,r),before:n});s.remove?(a.splice(o,1),o--,i--):s.ignore||(n=s.stripAtStart),LF(a[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function MF(e,t,n){for(;++t<e.length;){const r=e[t];let a=xIe(r);if(a===void 0&&"children"in r&&!kIe(r)&&(a=MF(r.children,-1)),typeof a=="boolean")return a}return n}function xIe(e){if(e.type==="element"){if(LF(e))return!1;if(DF(e))return!0}else if(e.type==="text"){if(!od(e))return!1}else if(!g5(e))return!1}function LF(e){return m5(e)||a5(e,bIe)}function DF(e){return a5(e,gIe)}function kIe(e){return!!(e.type==="element"&&e.properties.hidden)||g5(e)||a5(e,yIe)}function D_(e){return e===" "||e===` 80`}function AIe(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function TIe(){return" "}function EIe(e){return t;function t(n){return String(n).replace(/[\t\n\v\f\r ]+/g,e)}}function _Ie(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}var CIe={}.hasOwnProperty;function $Ie(e,t){const n=e.type==="element"&&CIe.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var PIe=new Set(["pingback","prefetch","stylesheet"]);function IIe(e){if(e.type!=="element"||e.tagName!=="link")return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!PIe.has(String(t[n])))return!1;return!0}var RIe=Wo(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),NIe=Wo("meta");function MIe(e){return!!(e.type==="text"||RIe(e)||m5(e)||IIe(e)||NIe(e)&&$Ie(e,"itemProp"))}var LIe=["pre","script","style","textarea"],DIe={};function BIe(e,t){const n=t||DIe,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent=="number"?" ".repeat(n.indent):typeof n.indent=="string"?n.indent:" "};OIe(e,{newlines:!0}),r5(e,a);function a(o,s){if(!("children"in o))return;if(o.type==="element"&&o.tagName==="head"&&(r.head=!0),r.head&&o.type==="element"&&o.tagName==="body"&&(r.head=!1),o.type==="element"&&LIe.includes(o.tagName))return ij;if(o.children.length===0||!g4(r,o))return;let l=s.length;r.indentInitial||l--;let c=!1;for(const f of o.children)(f.type==="comment"||f.type==="text")&&(f.value.includes(` 81`)&&(c=!0),f.value=f.value.replace(/ *\n/g,"$&"+r.indent.repeat(l)));const u=[];let d;for(const f of o.children)(g4(r,f)||c&&!d)&&(i(u,l,f),c=!0),d=f,u.push(f);d&&(c||g4(r,d))&&(od(d)&&(u.pop(),d=u[u.length-1]),i(u,l-1)),o.children=u}function i(o,s,l){const c=o[o.length-1],u=c&&od(c)?o[o.length-2]:c,d=(B_(r,u)&&B_(r,l)?` 82 83`:` 84`)+r.indent.repeat(Math.max(s,0));c&&c.type==="text"?c.value=od(c)?d:c.value+d:o.push({type:"text",value:d})}}function B_(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function g4(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||m5(t)||!MIe(t):!1)}function UIe(e){return function(t){BIe(t,e)}}var jIe={},FIe={}.hasOwnProperty,BF=Ev("type",{handlers:{root:zIe,element:XIe,text:qIe,comment:ZIe,doctype:VIe}});function QIe(e,t){const n=(t||jIe).space;return BF(e,n==="svg"?Ud:n1)}function zIe(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};
84return n.childNodes=b5(e.children,n,t),np(e,n),n}function HIe(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=b5(e.children,n,t),np(e,n),n}function VIe(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return np(e,t),t}function qIe(e){const t={nodeName:"#text",value:e.value,parentNode:null};return np(e,t),t}function ZIe(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return np(e,t),t}function XIe(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ud);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&FIe.call(e.properties,i)){const l=WIe(r,i,e.properties[i]);l&&a.push(l)}}const o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:qu[o],childNodes:[],parentNode:null};return s.childNodes=b5(e.children,s,r),np(e,s),e.tagName==="template"&&e.content&&(s.content=HIe(e.content,r)),s}function WIe(e,t,n){const r=wv(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Vj(n):qj(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=qu[r.space]}return a}function b5(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=BF(e[r],n);i.parentNode=t,a.push(i)}return a}function np(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var _v=UF("end"),oc=UF("start");function UF(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function jF(e){const t=oc(e),n=_v(e);
84if(t&&n)return{start:t,end:n}}var YIe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),U_={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function FF(e,t){const n=oRe(e),r=Ev("type",{handlers:{root:GIe,element:KIe,text:JIe,comment:zF,doctype:eRe,raw:nRe},unknown:rRe}),a={parser:n?new ub(U_):ub.getFragmentParser(void 0,U_),handle(o){r(o,a)},stitches:!1,options:t||{}};r(e,a),rp(a,oc());const i=Wj(n?a.parser.document:a.parser.getFragment(),{file:a.options.file});return a.stitches&&ko(i,"comment",function(o,s,l){const c=o;if(c.value.stitch&&l&&s!==void 0){const u=l.children;return u[s]=c.value.stitch,s}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function QF(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function GIe(e,t){QF(e.children,t)}function KIe(e,t){aRe(e,t),QF(e.children,t),iRe(e,t)}function JIe(e,t){const n={type:an.CHARACTER,chars:e.value,location:i1(e)};rp(t,oc(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function eRe(e,t){const n={type:an.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:i1(e)};rp(t,oc(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tRe(e,t){t.stitches=!0;const n=sRe(e);"children"in e&&"children"in n&&(n.children=FF({type:"root",children:e.children},t.options).children),zF({type:"comment",value:{stitch:n}},t)}function zF(e,t){const n=e.value,r={type:an.COMMENT,data:n,location:i1(e)};rp(t,oc(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function nRe(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,HF(t,oc(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function rRe(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))tRe(n,t);else{let r="";throw YIe.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function rp(e,t){HF(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Br.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function HF(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function aRe(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Br.PLAINTEXT)return;rp(t,oc(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:qu.html;a===qu.html&&n==="svg"&&(a=qu.svg);const i=QIe({...e,children:[]},{space:a===qu.svg?"svg":"html"}),o={type:an.START_TAG,tagName:n,tagID:tp(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:i1(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function iRe(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&AF.includes(n)||t.parser.tokenizer.state===Br.PLAINTEXT)return;rp(t,_v(e));const r={type:an.END_TAG,tagName:n,tagID:tp(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:i1(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Br.RCDATA||t.parser.tokenizer.state===Br.RAWTEXT||t.parser.tokenizer.state===Br.SCRIPT_DATA)&&(t.parser.tokenizer.state=Br.DATA)}function oRe(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function i1(e){const t=oc(e)||{line:void 0,column:void 0,offset:void 0},n=_v(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function sRe(e){return"children"in e?sl({...e,children:[]}):sl(e)}function lRe(e){return function(t,n){return FF(t,{...e,file:n})}}var _u=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Uf={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[..._u,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[..._u],h2:[["className","sr-only"]],img:[..._u,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[..._u,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[..._u],table:[..._u],ul:[..._u,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},xc={}.hasOwnProperty;function cRe(e,t){let n={type:"root",children:[]};const r=VF({schema:t?{...Uf,...t}:Uf,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function VF(e,t){if(t&&typeof t=="object"){const n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return uRe(e,n);case"doctype":return dRe(e,n);case"element":return fRe(e,n);case"root":return hRe(e,n);case"text":return pRe(e,n)}}}function uRe(e,t){if(e.schema.allowComments){const n=typeof t.value=="string"?t.value:"",r=n.indexOf("-->"),a={type:"comment",value:r<0?n:n.slice(0,r)};return o1(a,t),a}}function dRe(e,t){if(e.schema.allowDoctypes){const n={type:"doctype"};return o1(n,t),n}}function fRe(e,t){const n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);const r=qF(e,t.children),a=mRe(e,t.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&xc.call(e.schema.ancestors,n))){const s=e.schema.ancestors[n];let l=-1;for(i=!1;++l<s.length;)e.stack.includes(s[l])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const o={type:"element",tagName:n,properties:a,children:r};return o1(o,t),o}function hRe(e,t){const n={type:"root",children:qF(e,t.children)};return o1(n,t),n}function pRe(e,t){const n={type:"text",value:typeof t.value=="string"?t.value:""};return o1(n,t),n}function qF(e,t){const n=[];if(Array.isArray(t)){const r=t;let a=-1;for(;++a<r.length;){const i=VF(e,r[a]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function mRe(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,a=e.schema.required,i=r&&xc.call(r,n)?r[n]:void 0,o=r&&xc.call(r,"*")?r["*"]:void 0,s=t&&typeof t=="object"?t:{},l={};let c;for(c in s)if(xc.call(s,c)){const u=s[c];let d=j_(e,F_(i,c),c,u);d==null&&(d=j_(e,F_(o,c),c,u)),d!=null&&(l[c]=d)}if(a&&xc.call(a,n)){const u=a[n];for(c in u)xc.call(u,c)&&!xc.call(l,c)&&(l[c]=u[c])}return l}function j_(e,t,n,r){return t?Array.isArray(r)?gRe(e,t,n,r):ZF(e,t,n,r):void 0}function gRe(e,t,n,r){let a=-1;const i=[];for(;++a<r.length;){const o=ZF(e,t,n,r[a]);
84(typeof o=="number"||typeof o=="string")&&i.push(o)}return i}function ZF(e,t,n,r){if(!(typeof r!="boolean"&&typeof r!="number"&&typeof r!="string")&&bRe(e,n,r)){if(typeof t=="object"&&t.length>1){let a=!1,i=0;for(;++i<t.length;){const o=t[i];if(o&&typeof o=="object"&&"flags"in o){if(o.test(String(r))){a=!0;break}}else if(o===r){a=!0;break}}if(!a)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function bRe(e,t,n){const r=e.schema.protocols&&xc.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;const a=String(n),i=a.indexOf(":"),o=a.indexOf("?"),s=a.indexOf("#"),l=a.indexOf("/");if(i<0||l>-1&&i>l||o>-1&&i>o||s>-1&&i>s)return!0;let c=-1;for(;++c<r.length;){const u=r[c];if(i===u.length&&a.slice(0,u.length)===u)return!0}return!1}function o1(e,t){const n=jF(t);t.data&&(e.data=sl(t.data)),n&&(e.position=n)}function F_(e,t){let n,r=-1;if(e)for(;++r<e.length;){const a=e[r],i=typeof a=="string"?a:a[0];if(i===t)return a;i==="data*"&&(n=a)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function yRe(e){return function(t){return cRe(t,e)}}var Si=mu(/[A-Za-z]/),Ka=mu(/[\dA-Za-z]/),vRe=mu(/[#-'*+\--9=?A-Z^-~]/);function gb(e){return e!==null&&(e<32||e===127)}var l3=mu(/\d/),ORe=mu(/[\dA-Fa-f]/),SRe=mu(/[!-/:-@[-`{-~]/);function It(e){return e!==null&&e<-2}function qn(e){return e!==null&&(e<0||e===32)}function dn(e){return e===-2||e===-1||e===32}var Cv=mu(new RegExp("\\p{P}|\\p{S}","u")),pd=mu(/\s/);function mu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function wRe(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function xRe(e,t,n){const r=Jh((n||{}).ignore||[]),a=kRe(t);let i=-1;for(;++i<a.length;)r5(e,"text",o);function o(l,c){let u=-1,d;for(;++u<c.length;){const f=c[u],h=d?d.children:void 0;if(r(f,h?h.indexOf(f):void 0,d))return;d=f}if(d)return s(l,c)}function s(l,c){const u=c[c.length-1],d=a[i][0],f=a[i][1];let h=0;const p=u.children.indexOf(l);let m=!1,g=[];d.lastIndex=0;let v=d.exec(l.value);for(;v;){const k=v.index,S={index:v.index,input:v.input,stack:[...c,l]};let A=f(...v,S);if(typeof A=="string"&&(A=A.length>0?{type:"text",value:A}:void 0),A===!1?d.lastIndex=k+1:(h!==k&&g.push({type:"text",value:l.value.slice(h,k)}),Array.isArray(A)?g.push(...A):A&&g.push(A),h=k+v[0].length,m=!0),!d.global)break;v=d.exec(l.value)}return m?(h<l.value.length&&g.push({type:"text",value:l.value.slice(h)}),u.children.splice(p,1,...g)):g=[l],p+g.length}}function kRe(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([ARe(a[0]),TRe(a[1])])}return t}function ARe(e){return typeof e=="string"?new RegExp(wRe(e),"g"):e}function TRe(e){return typeof e=="function"?e:function(){return e}}var b4="phrasing",y4=["autolink","link","image","label"];function ERe(){return{transforms:[NRe],enter:{literalAutolink:CRe,literalAutolinkEmail:v4,literalAutolinkHttp:v4,literalAutolinkWww:v4},exit:{literalAutolink:RRe,literalAutolinkEmail:IRe,literalAutolinkHttp:$Re,literalAutolinkWww:PRe}}}function _Re(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:b4,notInConstruct:y4},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:b4,notInConstruct:y4},{character:":",before:"[ps]",after:"\\/",inConstruct:b4,notInConstruct:y4}]}}function CRe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function v4(e){this.config.enter.autolinkProtocol.call(this,e)}function $Re(e){this.config.exit.autolinkProtocol.call(this,e)}function PRe(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function IRe(e){this.config.exit.autolinkEmail.call(this,e)}function RRe(e){this.exit(e)}function NRe(e){xRe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MRe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,LRe]],{ignore:["link","linkReference"]})}function MRe(e,t,n,r,a){let i="";if(!XF(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!DRe(n)))return!1;const o=BRe(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function LRe(e,t,n,r){return!XF(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function DRe(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function BRe(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=hb(e,"(");let i=hb(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function XF(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pd(n)||Cv(n))&&(!t||n!==47)}function Os(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}WF.peek=WRe;function URe(){return{enter:{gfmFootnoteDefinition:FRe,gfmFootnoteDefinitionLabelString:QRe,gfmFootnoteCall:VRe,gfmFootnoteCallString:qRe},exit:{gfmFootnoteDefinition:HRe,gfmFootnoteDefinitionLabelString:zRe,gfmFootnoteCall:XRe,gfmFootnoteCallString:ZRe}}}function jRe(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:YRe,footnoteReference:WF}}}function FRe(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function QRe(){this.buffer()}function zRe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Os(this.sliceSerialize(e)).toLowerCase()}function HRe(e){this.exit(e)}function VRe(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function qRe(){this.buffer()}function ZRe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Os(this.sliceSerialize(e)).toLowerCase()}function XRe(e){this.exit(e)}function WF(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]"),i}function WRe(){return"["}function YRe(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),GRe)),o(),i}function GRe(e,t,n){return t===0?e:(n?"":" ")+e}var KRe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];YF.peek=rNe;
vendor: 12,041 bytes, lines 84-96
84function JRe(){return{canContainEols:["delete"],enter:{strikethrough:tNe},exit:{strikethrough:nNe}}}function eNe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:KRe}],handlers:{delete:YF}}}function tNe(e){this.enter({type:"delete",children:[]},e)}function nNe(e){this.exit(e)}function YF(e,t,n,r){const a=n.createTracker(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function rNe(){return"~"}function aNe(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||oNe,a=[],i=[],o=[],s=[];let l=0,c=-1;for(;++c<e.length;){const p=[],m=[];let g=-1;for(e[c].length>l&&(l=e[c].length);++g<e[c].length;){const v=iNe(e[c][g]);if(t.alignDelimiters!==!1){const k=r(v);m[g]=k,(s[g]===void 0||k>s[g])&&(s[g]=k)}p.push(v)}i[c]=p,o[c]=m}let u=-1;if(typeof n=="object"&&"length"in n)for(;++u<l;)a[u]=Q_(n[u]);else{const p=Q_(n);for(;++u<l;)a[u]=p}u=-1;const d=[],f=[];for(;++u<l;){const p=a[u];let m="",g="";p===99?(m=":",g=":"):p===108?m=":":p===114&&(g=":");let v=t.alignDelimiters===!1?1:Math.max(1,s[u]-m.length-g.length);const k=m+"-".repeat(v)+g;t.alignDelimiters!==!1&&(v=m.length+v+g.length,v>s[u]&&(s[u]=v),f[u]=v),d[u]=k}i.splice(1,0,d),o.splice(1,0,f),c=-1;const h=[];for(;++c<i.length;){const p=i[c],m=o[c];u=-1;const g=[];for(;++u<l;){const v=p[u]||"";let k="",S="";if(t.alignDelimiters!==!1){const A=s[u]-(m[u]||0),E=a[u];E===114?k=" ".repeat(A):E===99?A%2?(k=" ".repeat(A/2+.5),S=" ".repeat(A/2-.5)):(k=" ".repeat(A/2),S=k):S=" ".repeat(A)}t.delimiterStart!==!1&&!u&&g.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&v==="")&&(t.delimiterStart!==!1||u)&&g.push(" "),t.alignDelimiters!==!1&&g.push(k),g.push(v),t.alignDelimiters!==!1&&g.push(S),t.padding!==!1&&g.push(" "),(t.delimiterEnd!==!1||u!==l-1)&&g.push("|")}h.push(t.delimiterEnd===!1?g.join("").replace(/ +$/,""):g.join(""))}return h.join(` 85`)}function iNe(e){return e==null?"":String(e)}function oNe(e){return e.length}function Q_(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var sNe={}.hasOwnProperty;function GF(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)GF(e,t.extensions[n]);for(r in t)if(sNe.call(t,r))switch(r){case"extensions":break;case"unsafe":z_(e[r],t[r]);break;case"join":z_(e[r],t[r]);break;case"handlers":lNe(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function z_(e,t){t&&e.push(...t)}function lNe(e,t){t&&Object.assign(e,t)}function cNe(e,t,n,r){const a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),uNe);return a(),o}function uNe(e,t,n){return">"+(n?"":" ")+e}function KF(e,t){return H_(e,t.inConstruct,!0)&&!H_(e,t.notInConstruct,!1)}function H_(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function V_(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===` 86`&&KF(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\ 87`}function dNe(e,t){const n=String(e);let r=n.indexOf(t),a=r,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}function c3(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function fNe(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function hNe(e,t,n,r){const a=fNe(n),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(c3(e,n)){const d=n.enter("codeIndented"),f=n.indentLines(i,pNe);return d(),f}const s=n.createTracker(r),l=a.repeat(Math.max(dNe(i,a)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const d=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:` 88`,encode:["`"],...s.current()})),d()}return u+=s.move(` 89`),i&&(u+=s.move(i+` 90`)),u+=s.move(l),c(),u}function pNe(e,t,n){return(n?"":" ")+e}function y5(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function mNe(e,t,n,r){const a=y5(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` 91`,...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),o(),c}function gNe(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}JF.peek=bNe;function JF(e,t,n,r){const a=gNe(n),i=n.enter("emphasis"),o=n.createTracker(r);let s=o.move(a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()})),s+=o.move(a),i(),s}function bNe(e,t,n){return n.options.emphasis||"*"}var yNe={};function v5(e,t){const n=yNe;return eQ(e,typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,typeof n.includeHtml=="boolean"?n.includeHtml:!0)}function eQ(e,t,n){if(vNe(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return q_(e.children,t,n)}return Array.isArray(e)?q_(e,t,n):""}function q_(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=eQ(e[a],t,n);return r.join("")}function vNe(e){return!!(e&&typeof e=="object")}function tQ(e,t){let n=!1;return ko(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,!1}),!!((!e.depth||e.depth<3)&&v5(e)&&(t.options.setext||n))}function ONe(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(tQ(e,n)){const u=n.enter("headingSetext"),d=n.enter("phrasing"),f=n.containerPhrasing(e,{...i.current(),before:` 92`,after:` 93`});return d(),u(),f+` 94`+(a===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(` 95`))+1))}const o="#".repeat(a),s=n.enter("headingAtx"),l=n.enter("phrasing");i.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:` 96`,...i.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),s(),c}nQ.peek=SNe;function nQ(e){return e.value||""}function SNe(){return"<"}rQ.peek=wNe;function rQ(e,t,n,r){const a=y5(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),c+=l.move(")"),o(),c}function wNe(){return"!"}aQ.peek=xNe;function aQ(e,t,n,r){const a=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),a==="full"||!c||c!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function xNe(){return"!"}iQ.peek=kNe;function iQ(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const o=n.unsafe[i],s=n.compilePattern(o);let l;if(o.atBreak)for(;l=s.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return a+r+a}function kNe(){return"`"}function oQ(e,t){const n=v5(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}sQ.peek=ANe;function sQ(e,t,n,r){const a=y5(n),i=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let s,l;if(oQ(e,n)){const u=n.stack;n.stack=[],s=n.enter("autolink");let d=o.move("<");return d+=o.move(n.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),s(),n.stack=u,d}s=n.enter("link"),l=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(l=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=o.move(" "+a),c+=o.move(n.safe(e.title,{before:c,after:a,...o.current()})),c+=o.move(a),l()),c+=o.move(")"),s(),c}function ANe(e,t,n){return oQ(e,n)?"<":"["}lQ.peek=TNe;function lQ(e,t,n,r){const a=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),a==="full"||!c||c!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function TNe(){return"["}function O5(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ENe(e){const t=O5(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function _Ne(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function cQ(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function CNe(e,t,n,r){const a=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?_Ne(n):O5(n);const s=e.ordered?o==="."?")":".":ENe(n);let l=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const u=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),cQ(n)===o&&u){let d=-1;for(;++d<e.children.length;){const f=e.children[d];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(o=s),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=i,a(),c}function $Ne(e){const t=e.options.listItemIndent||"one";
96if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function PNe(e,t,n,r){const a=$Ne(n);let i=n.bulletCurrent||O5(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),u);return l(),c;function u(d,f,h){return f?(h?"":" ".repeat(o))+d:(h?i:i+" ".repeat(o-i.length))+d}}function INe(e,t,n,r){const a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o}var RNe=Jh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function NNe(e,t,n,r){return(e.children.some(function(a){return RNe(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function MNe(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}uQ.peek=LNe;function uQ(e,t,n,r){const a=MNe(n),i=n.enter("strong"),o=n.createTracker(r);let s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()})),s+=o.move(a+a),i(),s}function LNe(e,t,n){return n.options.strong||"*"}function DNe(e,t,n,r){return n.safe(e.value,r)}function BNe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function UNe(e,t,n){const r=(cQ(n)+(n.options.ruleSpaces?" ":"")).repeat(BNe(n));return n.options.ruleSpaces?r.slice(0,-1):r}var S5={blockquote:cNe,break:V_,code:hNe,definition:mNe,emphasis:JF,hardBreak:V_,heading:ONe,html:nQ,image:rQ,imageReference:aQ,inlineCode:iQ,link:sQ,linkReference:lQ,list:CNe,listItem:PNe,paragraph:INe,root:NNe,strong:uQ,text:DNe,thematicBreak:UNe},jNe=[FNe];function FNe(e,t,n,r){if(t.type==="code"&&c3(t,r)&&(e.type==="list"||e.type===t.type&&c3(e,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&tQ(t,r))?void 0:n.spread?1:0}var Cu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],QNe=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:` 97`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Cu},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r 98]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Cu},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r 99*])`},{character:"*",inConstruct:"phrasing",notInConstruct:Cu},{atBreak:!0,character:"+",after:`(?:[ \r 100])`},{atBreak:!0,character:"-",after:`(?:[ \r 101-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r 102]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Cu},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Cu},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Cu},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Cu},{atBreak:!0,character:"~"}],Z_={AElig:"Ã",AMP:"&",Aacute:"Ã",Abreve:"Ä",Acirc:"Ã",Acy:"Ð",Afr:"ð",Agrave:"Ã",Alpha:"Î",Amacr:"Ä",And:"â©",Aogon:"Ä",Aopf:"ð¸",ApplyFunction:"â¡",Aring:"à ",Ascr:"ð",Assign:"â",Atilde:"Ã",Auml:"Ã",Backslash:"â",Barv:"â«§",Barwed:"â",Bcy:"Ð",Because:"âµ",Bernoullis:"â¬",Beta:"Î",Bfr:"ð ",Bopf:"ð¹",Breve:"Ë",Bscr:"â¬",Bumpeq:"â",CHcy:"Ч",COPY:"©",Cacute:"Ä",Cap:"â",CapitalDifferentialD:"â ",Cayleys:"â",Ccaron:"Ä",Ccedil
102:"Ã",Ccirc:"Ä",Cconint:"â°",Cdot:"Ä",Cedilla:"¸",CenterDot:"·",Cfr:"â",Chi:"Χ",CircleDot:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",Colon:"â·",Colone:"â©´",Congruent:"â¡",Conint:"â¯",ContourIntegral:"â®",Copf:"â",Coproduct:"â",CounterClockwiseContourIntegral:"â³",Cross:"⨯",Cscr:"ð",Cup:"â",CupCap:"â",DD:"â ",DDotrahd:"â¤",DJcy:"Ð",DScy:"Ð ",DZcy:"Ð",Dagger:"â¡",Darr:"â¡",Dashv:"⫤",Dcaron:"Ä",Dcy:"Ð",Del:"â",Delta:"Î",Dfr:"ð",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",Diamond:"â",DifferentialD:"â ",Dopf:"ð»",Dot:"¨",DotDot:"â",DotEqual:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",Downarrow:"â",Dscr:"ð",Dstrok:"Ä",ENG:"Å",ETH:"Ã",Eacute:"Ã",Ecaron:"Ä",Ecirc:"Ã",Ecy:"Ð",Edot:"Ä",Efr:"ð",Egrave:"Ã",Element:"â",Emacr:"Ä",EmptySmallSquare:"â»",EmptyVerySmallSquare:"â«",Eogon:"Ä",Eopf:"ð¼",Epsilon:"Î",Equal:"⩵",EqualTilde:"â",Equilibrium:"â",Escr:"â°",Esim:"⩳",Eta:"Î",Euml:"Ã",Exists:"â",ExponentialE:"â ",Fcy:"Ф",Ffr:"ð",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",Fopf:"ð½",ForAll:"â",Fouriertrf:"â±",Fscr:"â±",GJcy:"Ð",GT:">",Gamma:"Î",Gammad:"Ï",Gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",Gcy:"Ð",Gdot:"Ä ",Gfr:"ð",Gg:"â",Gopf:"ð¾",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",Gt:"â«",HARDcy:"Ъ",Hacek:"Ë",Hat:"^",Hcirc:"Ĥ",Hfr:"â",HilbertSpace:"â",Hopf:"â",HorizontalLine:"â",Hscr:"â",Hstrok:"Ħ",HumpDownHump:"â",HumpEqual:"â",IEcy:"Ð",IJlig:"IJ",IOcy:"Ð",Iacute:"Ã",Icirc:"Ã",Icy:"Ð",Idot:"İ",Ifr:"â",Igrave:"Ã",Im:"â",Imacr:"Ī",ImaginaryI:"â ",Implies:"â",Int:"â¬",Integral:"â«",Intersection:"â",InvisibleComma:"â£",InvisibleTimes:"â¢",Iogon:"Ä®",Iopf:"ð",Iota:"Î",Iscr:"â",Itilde:"Ĩ",Iukcy:"Ð",Iuml:"Ã",Jcirc:"Ä´",Jcy:"Ð",Jfr:"ð",Jopf:"ð",Jscr:"ð¥",Jsercy:"Ð",Jukcy:"Ð",KHcy:"Ð¥",KJcy:"Ð",Kappa:"Î",Kcedil:"Ķ",Kcy:"Ð",Kfr:"ð",Kopf:"ð",Kscr:"ð¦",LJcy:"Ð",LT:"<",Lacute:"Ĺ",Lambda:"Î",Lang:"âª",Laplacetrf:"â",Larr:"â",Lcaron:"Ľ",Lcedil:"Ä»",Lcy:"Ð",LeftAngleBracket:"â¨",LeftArrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",LeftRightArrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",Leftarrow:"â",Leftrightarrow:"â",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"â²",Lfr:"ð",Ll:"â",Lleftarrow:"â",Lmidot:"Ä¿",LongLeftArrow:"âµ",LongLeftRightArrow:"â·",LongRightArrow:"â¶",Longleftarrow:"â¸",Longleftrightarrow:"âº",Longrightarrow:"â¹",Lopf:"ð",LowerLeftArrow:"â",LowerRightArrow:"â",Lscr:"â",Lsh:"â°",Lstrok:"Å",Lt:"âª",Map:"⤠",Mcy:"Ð",MediumSpace:"â",Mellintrf:"â³",Mfr:"ð",MinusPlus:"â",Mopf:"ð",Mscr:"â³",Mu:"Î",NJcy:"Ð",Nacute:"Å",Ncaron:"Å",Ncedil:"Å ",Ncy:"Ð",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:` 103`,Nfr:"ð",NoBreak:"â ",NonBreakingSpace:" ",Nopf:"â",Not:"⫬",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",Nscr:"ð©",Ntilde:"Ã",Nu:"Î",OElig:"Å",Oacute:"Ã",Ocirc:"Ã",Ocy:"Ð",Odblac:"Å",Ofr:"ð",Ograve:"Ã",Omacr:"Å",Omega:"Ω",Omicron:"Î",Oopf:"ð",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",Or:"â©",Oscr:"ðª",Oslash:"Ã",Otilde:"Ã",Otimes:"⨷",Ouml:"Ã",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",PartialD:"â",Pcy:"Ð",Pfr:"ð",Phi:"Φ",Pi:"Î ",PlusMinus:"±",Poincareplane
103:"â",Popf:"â",Pr:"⪻",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",Prime:"â³",Product:"â",Proportion:"â·",Proportional:"â",Pscr:"ð«",Psi:"Ψ",QUOT:'"',Qfr:"ð",Qopf:"â",Qscr:"ð¬",RBarr:"â¤",REG:"®",Racute:"Å",Rang:"â«",Rarr:"â ",Rarrtl:"â¤",Rcaron:"Å",Rcedil:"Å",Rcy:"Ð ",Re:"â",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",Rfr:"â",Rho:"Ρ",RightAngleBracket:"â©",RightArrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",Rightarrow:"â",Ropf:"â",RoundImplies:"⥰",Rrightarrow:"â",Rscr:"â",Rsh:"â±",RuleDelayed:"â§´",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Å",Sc:"⪼",Scaron:"Å ",Scedil:"Å",Scirc:"Å",Scy:"С",Sfr:"ð",ShortDownArrow:"â",ShortLeftArrow:"â",ShortRightArrow:"â",ShortUpArrow:"â",Sigma:"Σ",SmallCircle:"â",Sopf:"ð",Sqrt:"â",Square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",Sscr:"ð®",Star:"â",Sub:"â",Subset:"â",SubsetEqual:"â",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",SuchThat:"â",Sum:"â",Sup:"â",Superset:"â",SupersetEqual:"â",Supset:"â",THORN:"Ã",TRADE:"â¢",TSHcy:"Ð",TScy:"Ц",Tab:"
vendor: 20,775 bytes, line 103
103",Tau:"Τ",Tcaron:"Ť",Tcedil:"Å¢",Tcy:"Т",Tfr:"ð",Therefore:"â´",Theta:"Î",ThickSpace:"ââ",ThinSpace:"â",Tilde:"â¼",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",Topf:"ð",TripleDot:"â",Tscr:"ð¯",Tstrok:"Ŧ",Uacute:"Ã",Uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",Ubreve:"Ŭ",Ucirc:"Ã",Ucy:"У",Udblac:"Ű",Ufr:"ð",Ugrave:"Ã",Umacr:"Ū",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",Uopf:"ð",UpArrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",UpEquilibrium:"⥮",UpTee:"â¥",UpTeeArrow:"â¥",Uparrow:"â",Updownarrow:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",Upsilon:"Î¥",Uring:"Å®",Uscr:"ð°",Utilde:"Ũ",Uuml:"Ã",VDash:"â«",Vbar:"â««",Vcy:"Ð",Vdash:"â©",Vdashl:"⫦",Vee:"â",Verbar:"â",Vert:"â",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"ð",Vopf:"ð",Vscr:"ð±",Vvdash:"âª",Wcirc:"Å´",Wedge:"â",Wfr:"ð",Wopf:"ð",Wscr:"ð²",Xfr:"ð",Xi:"Î",Xopf:"ð",Xscr:"ð³",YAcy:"Я",YIcy:"Ð",YUcy:"Ю",Yacute:"Ã",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"ð",Yopf:"ð",Yscr:"ð´",Yuml:"Ÿ",ZHcy:"Ð",Zacute:"Ź",Zcaron:"Ž",Zcy:"Ð",Zdot:"Å»",ZeroWidthSpace:"â",Zeta:"Î",Zfr:"â¨",Zopf:"â¤",Zscr:"ðµ",aacute:"á",abreve:"Ä",ac:"â¾",acE:"â¾Ì³",acd:"â¿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"â¡",afr:"ð",agrave:"à ",alefsym:"âµ",aleph:"âµ",alpha:"α",amacr:"Ä",amalg:"⨿",amp:"&",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",aogon:"Ä
",aopf:"ð",ap:"â",apE:"â©°",apacir:"⩯",ape:"â",apid:"â",apos:"'",approx:"â",approxeq:"â",aring:"Ã¥",ascr:"ð¶",ast:"*",asymp:"â",asympeq:"â",atilde:"ã",auml:"ä",awconint:"â³",awint:"â¨",bNot:"â«",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",barvee:"â½",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",bcy:"б",bdquo:"â",becaus:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",beta:"β",beth:"â¶",between:"â¬",bfr:"ð",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bnot:"â",bopf:"ð",bot:"â¥",bottom:"â¥",bowtie:"â",boxDL:"â",boxDR:"â",boxDl:"â",boxDr:"â",boxH:"â",boxHD:"â¦",boxHU:"â©",boxHd:"â¤",boxHu:"â§",boxUL:"â",boxUR:"â",boxUl:"â",boxUr:"â",boxV:"â",boxVH:"â¬",boxVL:"â£",boxVR:"â ",boxVh:"â«",boxVl:"â¢",boxVr:"â",boxbox:"â§",boxdL:"â",boxdR:"â",boxdl:"â",boxdr:"â",boxh:"â",boxhD:"â¥",boxhU:"â¨",boxhd:"â¬",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxuL:"â",boxuR:"â",boxul:"â",boxur:"â",boxv:"â",boxvH:"âª",boxvL:"â¡",boxvR:"â",boxvh:"â¼",boxvl:"â¤",boxvr:"â",bprime:"âµ",breve:"Ë",brvbar:"¦",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",bumpeq:"â",cacute:"Ä",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",caps:"â©ï¸",caret:"â",caron:"Ë",ccaps:"â©",ccaron:"Ä",ccedil:"ç",ccirc:"Ä",ccups:"â©",ccupssm:"â©",cdot:"Ä",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"ð ",chcy:"Ñ",check:"â",checkmark:"â",chi:"Ï",cir:"â",cirE:"â§",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledR:"®",circledS:"â",circledast:"â",circledcirc:"â",circleddash:"â",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",clubs:"â£",clubsuit:"â£",colon:":",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",conint:"â®",copf:"ð",coprod:"â",copy:"©",copysr:"â",crarr:"âµ",cross:"â",cscr:"ð¸",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",cup:"âª",cupbrcap:"â©",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",dArr:"â",dHar:"⥥",dagger:"â ",daleth:"â¸",darr:"â",dash:"â",dashv:"â£",dbkarow:"â¤",dblac:"Ë",dcaron:"Ä",dcy:"д",dd:"â
",ddagger:"â¡",ddarr:"â",ddotseq:"â©·",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"ð¡",dharl:"â",dharr:"â",diam:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",dopf:"ð",dot:"Ë",doteq:"â",doteqdot:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",downarrow:"â",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",drbkarow:"â¤",drcorn:"â",drcrop:"â",dscr:"ð¹",dscy:"Ñ",dsol:"â§¶",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",dzcy:"Ñ",dzigrarr:"â¿",eDDot:"â©·",eDot:"â",eacute:"é",easter:"â©®",ecaron:"Ä",ecir:"â",ecirc:"ê",ecolon:"â",ecy:"Ñ",edot:"Ä",ee:"â
",efDot:"â",efr:"ð¢",eg:"âª",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",emacr:"Ä",empty:"â
",emptyset:"â
",emptyv:"â
",emsp13:"â",emsp14:"â
",emsp:"â",eng:"Å",ensp:"â",eogon:"Ä",eopf:"ð",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",equals:"=",equest:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erDot:"â",erarr:"⥱",escr:"â¯",esdot:"â",esim:"â",eta:"η",eth:"ð",euml:"ë",euro:"â¬",excl:"!",exist:"â",expectation:"â°",exponentiale:"â
",fallingdotseq:"â",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",ffr:"ð£",filig:"ï¬",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",fopf:"ð",forall:"â",fork:"â",forkv:"â«",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",fscr:"ð»",gE:"â§",gEl:"âª",gacute:"ǵ",gamma:"γ",gammad:"Ï",gap:"âª",gbreve:"Ä",gcirc:"Ä",gcy:"г",gdot:"Ä¡",ge:"â¥",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",gfr:"ð¤",gg:"â«",ggg:"â",gimel:"â·",gjcy:"Ñ",gl:"â·",glE:"âª",gla:"⪥",glj:"⪤",gnE:"â©",gnap:"âª",gnapprox:"âª",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",gopf:"ð",grave:"`",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",hArr:"â",hairsp:"â",half:"½",hamilt:"â",hardcy:"Ñ",harr:"â",harrcir:"â¥",harrw:"â",hbar:"â",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",hfr:"ð¥",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",hopf:"ð",horbar:"â",hscr:"ð½",hslash:"â",hstrok:"ħ",hybull:"â",hyphen:"â",iacute:"Ã",ic:"â£",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"â",ifr:"ð¦",igrave:"ì",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",ijlig:"ij",imacr:"Ä«",image:"â",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",int:"â«",intcal:"âº",integers:"â¤",intercal:"âº",intlarhk:"â¨",intprod:"⨼",iocy:"Ñ",iogon:"į",iopf:"ð",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"ð¾",isin:"â",isinE:"â¹",isindot:"âµ",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",itilde:"Ä©",iukcy:"Ñ",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"ð§",jmath:"È·",jopf:"ð",jscr:"ð¿",jsercy:"Ñ",jukcy:"Ñ",kappa:"κ",kappav:"ϰ",kcedil:"Ä·",kcy:"к",kfr:"ð¨",kgreen:"ĸ",khcy:"Ñ
",kjcy:"Ñ",kopf:"ð",kscr:"ð",lAarr:"â",lArr:"â",lAtail:"â¤",lBarr:"â¤",lE:"â¦",lEg:"âª",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"â",lambda:"λ",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",laquo:"«",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",latail:"â¤",late:"âª",lates:"âªï¸",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",lcaron:"ľ",lcedil:"ļ",lceil:"â",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",le:"â¤",leftarrow:"â",leftarrowtail:"â¢",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",leftthreetimes:"â",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â",lesseqgtr:"â",lesseqqgtr:"âª",lessgtr:"â¶",lesssim:"â²",lfisht:"⥼",lfloor:"â",lfr:"ð©",lg:"â¶",lgE:"âª",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",ljcy:"Ñ",ll:"âª",llarr:"â",llcorner:"â",llhard:"⥫",lltri:"âº",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnE:"â¨",lnap:"âª",lnapprox:"âª",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",longleftarrow:"âµ",longleftrightarrow:"â·",longmapsto:"â¼",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",lscr:"ð",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",lstrok:"Å",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltrPar:"â¦",ltri:"â",ltrie:"â´",ltrif:"â",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",mDDot:"âº",macr:"¯",male:"â",malt:"â ",maltese:"â ",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",mcy:"м",mdash:"â",measuredangle:"â¡",mfr:"ðª",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",mopf:"ð",mp:"â",mscr:"ð",mstpos:"â¾",mu:"μ",multimap:"â¸",mumap:"â¸",nGg:"â̸",nGt:"â«â",nGtv:"â«Ì¸",nLeftarrow:"â",nLeftrightarrow:"â",nLl:"â̸",nLt:"âªâ",nLtv:"âªÌ¸",nRightarrow:"â",nVDash:"â¯",nVdash:"â®",nabla:"â",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",ncaron:"Å",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",ncy:"н",ndash:"â",ne:"â ",neArr:"â",nearhk:"⤤",nearr:"â",nearrow:"â",nedot:"â̸",nequiv:"â¢",nesear:"⤨",nesim:"â̸",nexist:"â",nexists:"â",nfr:"ð«",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"âµ",ngt:"â¯",ngtr:"â¯",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",njcy:"Ñ",nlArr:"â",nlE:"â¦Ì¸",nlarr:"â",nldr:"â¥",nle:"â°",nleftarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nlsim:"â´",nlt:"â®",nltri:"âª",nltrie:"â¬",nmid:"â¤",nopf:"ð",not:"¬",notin:"â",notinE:"â¹Ì¸",notindot:"âµÌ¸",notinva:"â",notinvb:"â·",notinvc:"â¶",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",nscr:"ð",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",ntilde:"ñ",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",nu:"ν",num:"#",numero:"â",numsp:"â",nvDash:"â",nvHarr:"â¤",nvap:"ââ",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwArr:"â",nwarhk:"⤣",nwarr:"â",nwarrow:"â",nwnear:"⤧",oS:"â",oacute:"ó",oast:"â",ocir:"â",ocirc:"ô",ocy:"о",odash:"â",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",oelig:"Å",ofcir:"⦿",ofr:"ð¬",ogon:"Ë",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",omacr:"Å",omega:"Ï",omicron:"ο",omid:"⦶",ominus:"â",oopf:"ð ",opar:"⦷",operp:"⦹",oplus:"â",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oscr:"â´",oslash:"ø",osol:"â",otilde:"õ",otimes:"â",otimesas:"⨶",ouml:"ö",ovbar:"â½",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",pfr:"ð",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"â¨",popf:"ð¡",pound:"£",pr:"âº",prE:"⪳",prap:"⪷",prcue:"â¼",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",prime:"â²",primes:"â",prnE:"⪵",prnap:"⪹",prnsim:"â¨",prod:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",propto:"â",prsim:"â¾",prurel:"â°",pscr:"ð
",psi:"Ï",puncsp:"â",qfr:"ð®",qint:"â¨",qopf:"ð¢",qprime:"â",qscr:"ð",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",quot:'"',rAarr:"â",rArr:"â",rAtail:"â¤",rBarr:"â¤",rHar:"⥤",race:"â½Ì±",racute:"Å",radic:"â",raemptyv:"⦳",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",rarrtl:"â£",rarrw:"â",ratail:"â¤",ratio:"â¶",rationals:"â",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",rcaron:"Å",rcedil:"Å",rceil:"â",rcub:"}",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",reg:"®",rfisht:"⥽",rfloor:"â",rfr:"ð¯",rhard:"â",rharu:"â",rharul:"⥬",rho:"Ï",rhov:"ϱ",rightarrow:"â",rightarrowtail:"â£",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",rightthreetimes:"â",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",ropf:"ð£",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",rsaquo:"âº",rscr:"ð",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",ruluhar:"⥨",rx:"â",sacute:"Å",sbquo:"â",sc:"â»",scE:"⪴",scap:"⪸",scaron:"Å¡",sccue:"â½",sce:"⪰",scedil:"Å",scirc:"Å",scnE:"⪶",scnap:"⪺",scnsim:"â©",scpolint:"â¨",scsim:"â¿",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",seArr:"â",searhk:"⤥",searr:"â",searrow:"â",sect:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",sfr:"ð°",sfrown:"â¢",sharp:"â¯",shchcy:"Ñ",shcy:"Ñ",shortmid:"â£",shortparallel:"â¥",shy:"Â",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",sopf:"ð¤",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",square:"â¡",squarf:"âª",squf:"âª",srarr:"â",sscr:"ð",ssetmn:"â",ssmile:"â£",sstarf:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",sub:"â",subE:"â«
",subdot:"⪽",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",subset:"â",subseteq:"â",subseteqq:"â«
",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",sum:"â",sung:"âª",sup1:"¹",sup2:"²",sup3:"³",sup:"â",supE:"â«",supdot:"⪾",supdsub:"â«",supe:"â",supedot:"â«",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swArr:"â",swarhk:"⤦",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"Ã",target:"â",tau:"Ï",tbrk:"â´",tcaron:"Å¥",tcedil:"Å£",tcy:"Ñ",tdot:"â",telrec:"â",tfr:"ð±",there4:"â´",therefore:"â´",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",thinsp:"â",thkap:"â",thksim:"â¼",thorn:"þ",tilde:"Ë",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",topf:"ð¥",topfork:"â«",tosa:"⤩",tprime:"â´",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",tscr:"ð",tscy:"Ñ",tshcy:"Ñ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",uArr:"â",uHar:"⥣",uacute:"ú",uarr:"â",ubrcy:"Ñ",ubreve:"Å",ucirc:"û",ucy:"Ñ",udarr:"â
",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"ð²",ugrave:"ù",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",umacr:"Å«",uml:"¨",uogon:"ų",uopf:"ð¦",uparrow:"â",updownarrow:"â",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",upsi:"Ï
",upsih:"Ï",upsilon:"Ï
",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",uring:"ů",urtri:"â¹",uscr:"ð",utdot:"â°",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",uuml:"ü",uwangle:"⦧",vArr:"â",vBar:"⫨",vBarv:"â«©",vDash:"â¨",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",vcy:"в",vdash:"â¢",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",verbar:"|",vert:"|",vfr:"ð³",vltri:"â²",vnsub:"ââ",vnsup:"ââ",vopf:"ð§",vprop:"â",vrtri:"â³",vscr:"ð",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",vzigzag:"â¦",wcirc:"ŵ",wedbar:"â©",wedge:"â§",wedgeq:"â",weierp:"â",wfr:"ð´",wopf:"ð¨",wp:"â",wr:"â",wreath:"â",wscr:"ð",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",xfr:"ðµ",xhArr:"âº",xharr:"â·",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",xopf:"ð©",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",xscr:"ð",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",yacute:"ý",yacy:"Ñ",ycirc:"Å·",ycy:"Ñ",yen:"Â¥",yfr:"ð¶",yicy:"Ñ",yopf:"ðª",yscr:"ð",yucy:"Ñ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"â¨",zeta:"ζ",zfr:"ð·",zhcy:"ж",zigrarr:"â",zopf:"ð«",zscr:"ð",zwj:"â",zwnj:"â"},
vendor: 11,222 bytes, lines 103-118
103zNe={}.hasOwnProperty;function w5(e){return zNe.call(Z_,e)?Z_[e]:!1}function dQ(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}var HNe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fQ(e){return e.replace(HNe,VNe)}function VNe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),a=r===120||r===88;return dQ(n.slice(a?2:1),a?16:10)}return w5(n)||e}function qNe(e){return e.label||!e.identifier?e.label||"":fQ(e.identifier)}function ZNe(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function XNe(e,t,n){const r=t.indexStack,a=e.children||[],i=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o<a.length;){const c=a[o];let u;if(r[r.length-1]=o,o+1<a.length){let d=t.handle.handlers[a[o+1].type];d&&d.peek&&(d=d.peek),u=d?d(a[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&(s==="\r"||s===` 104`)&&c.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}function WNe(e,t,n){const r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s<a.length;){const l=a[s];r[r.length-1]=s,o.push(i.move(t.handle(l,e,t,{before:` 105`,after:` 106`,...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),s<a.length-1&&o.push(i.move(YNe(l,a[s+1],e,t)))}return r.pop(),o.join("")}function YNe(e,t,n,r){let a=r.join.length;for(;a--;){const i=r.join[a](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return` 107`.repeat(1+i);if(i===!1)return` 108 109<!----> 110 111`}return` 112 113`}var GNe=/\r?\n|\r/g;function KNe(e,t){const n=[];let r=0,a=0,i;for(;i=GNe.exec(e);)o(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,a++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,a,!s))}}function JNe(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={};let s=-1;for(;++s<e.unsafe.length;){const u=e.unsafe[s];if(!KF(e.stack,u))continue;const d=e.compilePattern(u);let f;for(;f=d.exec(r);){const h="before"in u||!!u.atBreak,p="after"in u,m=f.index+(h?f[1].length:0);a.includes(m)?(o[m].before&&!h&&(o[m].before=!1),o[m].after&&!p&&(o[m].after=!1)):(a.push(m),o[m]={before:h,after:p})}}a.sort(eMe);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<a.length;){const u=a[s];u<l||u>=c||u+1<c&&a[s+1]===u+1&&o[u].after&&!o[u+1].before&&!o[u+1].after||a[s-1]===u-1&&o[u].before&&!o[u-1].before&&!o[u-1].after||(l!==u&&i.push(X_(r.slice(l,u),"\\")),l=u,/[!-/:-@[-`{-~]/.test(r.charAt(u))&&(!n.encode||!n.encode.includes(r.charAt(u)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(u).toString(16).toUpperCase()+";"),l++))}return i.push(X_(r.slice(l,c),n.after)),i.join("")}function eMe(e,t){return e-t}function X_(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],i=e+t;let o=-1,s=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&a.push(e.slice(s,r[o])),a.push("\\"),s=r[o];return a.push(e.slice(s)),a.join("")}function tMe(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:a,column:i},lineShift:r}}function s(c){r+=c}function l(c){const u=c||"",d=u.split(/\r?\n|\r/g),f=d[d.length-1];return a+=d.length-1,i=d.length===1?i+f.length:1+f.length+r,u}}function nMe(e,t={}){const n={enter:a,indentLines:KNe,associationId:qNe,containerPhrasing:oMe,containerFlow:sMe,createTracker:tMe,compilePattern:ZNe,safe:lMe,stack:[],unsafe:[...QNe],join:[...jNe],handlers:{...S5},options:{},indexStack:[],handle:void 0};GF(n,t),n.options.tightDefinitions&&n.join.push(iMe),n.handle=Ev("type",{invalid:rMe,unknown:aMe,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:` 114`,after:` 115`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=` 116`),r;function a(i){return n.stack.push(i),o;function o(){n.stack.pop()}}}function rMe(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function aMe(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function iMe(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function oMe(e,t){return XNe(e,this,t)}function sMe(e,t){return WNe(e,this,t)}function lMe(e,t){return JNe(this,e,t)}function cMe(){return{enter:{table:uMe,tableData:W_,tableHeader:W_,tableRow:fMe},exit:{codeText:hMe,table:dMe,tableData:O4,tableHeader:O4,tableRow:O4}}}function uMe(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function dMe(e){this.exit(e),this.data.inTable=void 0}function fMe(e){this.enter({type:"tableRow",children:[]},e)}function O4(e){this.exit(e)}function W_(e){this.enter({type:"tableCell",children:[]},e)}function hMe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,pMe));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function pMe(e,t){return t==="|"?t:e}function mMe(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 117`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:o,tableCell:l,tableRow:s}};function o(h,p,m,g){return c(u(h,m,g),h.align)}function s(h,p,m,g){const v=c([d(h,m,g)]);return v.slice(0,v.indexOf(` 118`))}function l(h,p,m,g){const v=m.enter("tableCell"),k=m.enter("phrasing"),S=m.containerPhrasing(h,{...g,before:i,after:i});return k(),v(),S}function c(h,p){return aNe(h,{align:p,alignDelimiters:r,padding:n,stringLength:a})}function u(h,p,m){const g=h.children;let v=-1;const k=[],S=p.enter("table");for(;++v<g.length;)k[v]=d(g[v],p,m);return S(),k}function d(h,p,m){const g=h.children;let v=-1;const k=[],S=p.enter("tableRow");for(;++v<g.length;)k[v]=l(g[v],h,p,m);return S(),k}function f(h,p,m){let g=S5.inlineCode(h,p,m);return m.stack.includes("tableCell")&&(g=g.replace(/\|/g,"\\$&")),g}}function gMe(){return{exit:{taskListCheckValueChecked:Y_,taskListCheckValueUnchecked:Y_,paragraph:yMe}}}function bMe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:vMe}}}function Y_(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function yMe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function vMe(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(o);let l=S5.listItem(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+o}}function OMe(){return[ERe(),URe(),JRe(),cMe(),gMe()]}function SMe(e){return{extensions:[_Re(),jRe(),eNe(),mMe(e),bMe()]}}function Uo(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function Co(e,t){return e.length>0?(Uo(e,e.length,0,t),e):t}var G_={}.hasOwnProperty;function hQ(e){const t={};let n=-1;for(;++n<e.length;)wMe(t,e[n]);return t}function wMe(e,t){let n;for(n in t){const r=(G_.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;if(a)for(i in a){G_.call(r,i)||(r[i]=[]);const o=a[i];xMe(r[i],Array.isArray(o)?o:o?[o]:[])}}}function xMe(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Uo(e,0,0,r)}var kMe={tokenize:$Me,partial:!0},pQ={tokenize:PMe,partial:!0},mQ={tokenize:IMe,partial:!0},gQ={tokenize:RMe,partial:!0},AMe={tokenize:NMe,partial:!0},bQ={tokenize:_Me,previous:vQ},yQ={tokenize:CMe,previous:OQ},sc={tokenize:EMe,previous:SQ},Ol={};function TMe(){return{text:Ol}}var $u=48;for(;$u<123;)Ol[$u]=sc,$u++,$u===58?$u=65:$u===91&&($u=97);Ol[43]=sc;Ol[45]=sc;Ol[46]=sc;Ol[95]=sc;Ol[72]=[sc,yQ];Ol[104]=[sc,yQ];Ol[87]=[sc,bQ];Ol[119]=[sc,bQ];function EMe(e,t,n){const r=this;let a,i;return o;function o(d){return!u3(d)||!SQ.call(r,r.previous)||x5(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return u3(d)?(e.consume(d),s):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(AMe,u,c)(d):d===45||d===95||Ka(d)?(i=!0,e.consume(d),l):u(d)}function c(d){return e.consume(d),a=!0,l}function u(d){return i&&a&&Si(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function _Me(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!vQ.call(r,r.previous)||x5(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(kMe,e.attempt(pQ,e.attempt(mQ,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function CMe(e,t,n){const r=this;let a="",i=!1;return o;function o(d){return(d===72||d===104)&&OQ.call(r,r.previous)&&!x5(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(d),e.consume(d),s):n(d)}function s(d){if(Si(d)&&a.length<5)return a+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):n(d)}function c(d){return d===null||gb(d)||qn(d)||pd(d)||Cv(d)?n(d):e.attempt(pQ,e.attempt(mQ,u),n)(d)}function u(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function $Me(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function PMe(e,t,n){let r,a,i;return o;function o(c){return c===46||c===95?e.check(gQ,l,s)(c):c===null||qn(c)||pd(c)||c!==45&&Cv(c)?l(c):(i=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(a=r,r=void 0),e.consume(c),o}function l(c){return a||r||!i?n(c):t(c)}}function IMe(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(gQ,t,i)(o):o===null||qn(o)||pd(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function RMe(e,t,n){return r;
vendor: 20,446 bytes, line 118
118function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||qn(s)||pd(s)?t(s):n(s)}function a(s){return s===null||s===40||s===91||qn(s)||pd(s)?t(s):r(s)}function i(s){return Si(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):Si(s)?(e.consume(s),o):n(s)}}function NMe(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Ka(i)?n(i):t(i)}}function vQ(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||qn(e)}function OQ(e){return!Si(e)}function SQ(e){return!(e===47||u3(e))}function u3(e){return e===43||e===45||e===46||e===95||Ka(e)}function x5(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function ap(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&Ka(e.charCodeAt(n+1))&&Ka(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function bb(e){if(e===null||qn(e)||pd(e))return 1;if(Cv(e))return 2}function $v(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}var d3={name:"attention",tokenize:LMe,resolveAll:MMe};function MMe(e,t){let n=-1,r,a,i,o,s,l,c,u;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);K_(d,-l),K_(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Co(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Co(c,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),c=Co(c,$v(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Co(c,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=Co(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,Uo(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function LMe(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=bb(r);let i;return o;function o(l){return i=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===i)return e.consume(l),s;const c=e.exit("attentionSequence"),u=bb(l),d=!u||u===2&&a||n.includes(l),f=!a||a===2&&u||n.includes(r);return c._open=!!(i===42?d:d&&(a||!f)),c._close=!!(i===42?f:f&&(u||!d)),t(l)}}function K_(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var DMe={name:"autolink",tokenize:BMe};function BMe(e,t,n){let r=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(h){return Si(h)?(e.consume(h),o):h===64?n(h):c(h)}function o(h){return h===43||h===45||h===46||Ka(h)?(r=1,s(h)):c(h)}function s(h){return h===58?(e.consume(h),r=0,l):(h===43||h===45||h===46||Ka(h))&&r++<32?(e.consume(h),s):(r=0,c(h))}function l(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||gb(h)?n(h):(e.consume(h),l)}function c(h){return h===64?(e.consume(h),u):vRe(h)?(e.consume(h),c):n(h)}function u(h){return Ka(h)?d(h):n(h)}function d(h){return h===46?(e.consume(h),r=0,u):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):f(h)}function f(h){if((h===45||Ka(h))&&r++<63){const p=h===45?f:d;return e.consume(h),p}return n(h)}}function kn(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return dn(l)?(e.enter(n),s(l)):t(l)}function s(l){return dn(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}var s1={tokenize:UMe,partial:!0};function UMe(e,t,n){return r;function r(i){return dn(i)?kn(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||It(i)?t(i):n(i)}}var wQ={name:"blockQuote",tokenize:jMe,continuation:{tokenize:FMe},exit:QMe};function jMe(e,t,n){const r=this;return a;function a(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return dn(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function FMe(e,t,n){const r=this;return a;function a(o){return dn(o)?kn(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(wQ,t,n)(o)}}function QMe(e){e.exit("blockQuote")}var xQ={name:"characterEscape",tokenize:zMe};function zMe(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return SRe(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}var kQ={name:"characterReference",tokenize:HMe};function HMe(e,t,n){const r=this;let a=0,i,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,o=Ka,u(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=ORe,u):(e.enter("characterReferenceValue"),i=7,o=l3,u(d))}function u(d){if(d===59&&a){const f=e.exit("characterReferenceValue");return o===Ka&&!w5(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&a++<i?(e.consume(d),u):n(d)}}var J_={tokenize:qMe,partial:!0},eC={name:"codeFenced",tokenize:VMe,concrete:!0};function VMe(e,t,n){const r=this,a={tokenize:E,partial:!0};let i=0,o=0,s;return l;function l(_){return c(_)}function c(_){const C=r.events[r.events.length-1];return i=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,s=_,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(_)}function u(_){return _===s?(o++,e.consume(_),u):o<3?n(_):(e.exit("codeFencedFenceSequence"),dn(_)?kn(e,d,"whitespace")(_):d(_))}function d(_){return _===null||It(_)?(e.exit("codeFencedFence"),r.interrupt?t(_):e.check(J_,m,A)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(_))}function f(_){return _===null||It(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(_)):dn(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),kn(e,h,"whitespace")(_)):_===96&&_===s?n(_):(e.consume(_),f)}function h(_){return _===null||It(_)?d(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(_))}function p(_){return _===null||It(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(_)):_===96&&_===s?n(_):(e.consume(_),p)}function m(_){return e.attempt(a,A,g)(_)}function g(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),v}function v(_){return i>0&&dn(_)?kn(e,k,"linePrefix",i+1)(_):k(_)}function k(_){return _===null||It(_)?e.check(J_,m,A)(_):(e.enter("codeFlowValue"),S(_))}function S(_){return _===null||It(_)?(e.exit("codeFlowValue"),k(_)):(e.consume(_),S)}function A(_){return e.exit("codeFenced"),t(_)}function E(_,C,R){let B=0;return L;function L(G){return _.enter("lineEnding"),_.consume(G),_.exit("lineEnding"),V}function V(G){return _.enter("codeFencedFence"),dn(G)?kn(_,Q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):Q(G)}function Q(G){return G===s?(_.enter("codeFencedFenceSequence"),ee(G)):R(G)}function ee(G){return G===s?(B++,_.consume(G),ee):B>=o?(_.exit("codeFencedFenceSequence"),dn(G)?kn(_,ne,"whitespace")(G):ne(G)):R(G)}function ne(G){return G===null||It(G)?(_.exit("codeFencedFence"),C(G)):R(G)}}}function qMe(e,t,n){const r=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}var S4={name:"codeIndented",tokenize:XMe},ZMe={tokenize:WMe,partial:!0};function XMe(e,t,n){const r=this;return a;function a(c){return e.enter("codeIndented"),kn(e,i,"linePrefix",5)(c)}function i(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?l(c):It(c)?e.attempt(ZMe,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||It(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function WMe(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):It(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):kn(e,i,"linePrefix",5)(o)}function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):It(o)?a(o):n(o)}}var YMe={name:"codeText",tokenize:JMe,resolve:GMe,previous:KMe};function GMe(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function KMe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function JMe(e,t,n){let r=0,a,i;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),a=0,u(d)):It(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||It(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function u(d){return d===96?(e.consume(d),a++,u):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}var eLe=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Up(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Up(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Up(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Up(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Up(this.left,t.reverse())}}};function Up(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function AQ(e){const t={};let n=-1,r,a,i,o,s,l,c;const u=new eLe(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,tLe(u,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,a=void 0;i--&&(o=u.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(a&&(u.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);a&&(r[1].end=Object.assign({},u.get(a)[1].start),s=u.slice(a,n),s.unshift(r),u.splice(a,n-a+1,s))}}return Uo(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function tLe(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const i=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,l=[],c={};let u,d,f=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e.get(++a)[1]!==h;);i.push(a),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),d&&o.defineSkip(h.start),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(o.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),f=g.length;f--;){const v=s.slice(g[f],g[f+1]),k=i.pop();l.push([k,k+v.length-1]),e.splice(k,2,v)}for(l.reverse(),f=-1;++f<l.length;)c[p+l[f][0]]=p+l[f][1],p+=l[f][1]-l[f][0]-1;return c}var nLe={tokenize:iLe,resolve:aLe},rLe={tokenize:oLe,partial:!0};function aLe(e){return AQ(e),e}function iLe(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):It(s)?e.check(rLe,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function oLe(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),kn(e,i,"linePrefix")}function i(o){if(o===null||It(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function TQ(e,t,n,r,a,i,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(v){return v===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(v),e.exit(i),f):v===null||v===32||v===41||gb(v)?n(v):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(v))}function f(v){return v===62?(e.enter(i),e.consume(v),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===62?(e.exit("chunkString"),e.exit(s),f(v)):v===null||v===60||It(v)?n(v):(e.consume(v),v===92?p:h)}function p(v){return v===60||v===62||v===92?(e.consume(v),h):h(v)}function m(v){return!u&&(v===null||v===41||qn(v))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(v)):u<c&&v===40?(e.consume(v),u++,m):v===41?(e.consume(v),u--,m):v===null||v===32||v===40||gb(v)?n(v):(e.consume(v),v===92?g:m)}function g(v){return v===40||v===41||v===92?(e.consume(v),m):m(v)}}function EQ(e,t,n,r,a,i){const o=this;let s=0,l;return c;function c(h){return e.enter(r),e.enter(a),e.consume(h),e.exit(a),e.enter(i),u}function u(h){return s>999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):h===93?(e.exit(i),e.enter(a),e.consume(h),e.exit(a),e.exit(r),t):It(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||It(h)||s++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l||(l=!dn(h)),h===92?f:d)}function f(h){return h===91||h===92||h===93?(e.consume(h),s++,d):d(h)}}function _Q(e,t,n,r,a,i){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(a),e.consume(f),e.exit(a),o=f===40?41:f,l):n(f)}function l(f){return f===o?(e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):(e.enter(i),c(f))}function c(f){return f===o?(e.exit(i),l(o)):f===null?n(f):It(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),kn(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||It(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function vm(e,t){let n;return r;function r(a){return It(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):dn(a)?kn(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var sLe={name:"definition",tokenize:cLe},lLe={tokenize:uLe,partial:!0};function cLe(e,t,n){const r=this;let a;return i;function i(h){return e.enter("definition"),o(h)}function o(h){return EQ.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return a=Os(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):n(h)}function l(h){return qn(h)?vm(e,c)(h):c(h)}function c(h){return TQ(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return e.attempt(lLe,d,d)(h)}function d(h){return dn(h)?kn(e,f,"whitespace")(h):f(h)}function f(h){return h===null||It(h)?(e.exit("definition"),r.parser.defined.push(a),t(h)):n(h)}}function uLe(e,t,n){return r;function r(s){return qn(s)?vm(e,a)(s):n(s)}function a(s){return _Q(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return dn(s)?kn(e,o,"whitespace")(s):o(s)}function o(s){return s===null||It(s)?t(s):n(s)}}var dLe={name:"hardBreakEscape",tokenize:fLe};function fLe(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return It(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}var hLe={name:"headingAtx",tokenize:mLe,resolve:pLe};function pLe(e,t){let n=e.length-2,r=3,a,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Uo(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]]
vendor: 12,879 bytes, line 118
118)),e}function mLe(e,t,n){let r=0;return a;function a(u){return e.enter("atxHeading"),i(u)}function i(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&r++<6?(e.consume(u),o):u===null||qn(u)?(e.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||It(u)?(e.exit("atxHeading"),t(u)):dn(u)?kn(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||qn(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}var gLe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tC=["pre","script","style","textarea"],bLe={name:"htmlFlow",tokenize:SLe,resolveTo:OLe,concrete:!0},yLe={tokenize:xLe,partial:!0},vLe={tokenize:wLe,partial:!0};function OLe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function SLe(e,t,n){const r=this;let a,i,o,s,l;return c;function c(Z){return u(Z)}function u(Z){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Z),d}function d(Z){return Z===33?(e.consume(Z),f):Z===47?(e.consume(Z),i=!0,m):Z===63?(e.consume(Z),a=3,r.interrupt?t:j):Si(Z)?(e.consume(Z),o=String.fromCharCode(Z),g):n(Z)}function f(Z){return Z===45?(e.consume(Z),a=2,h):Z===91?(e.consume(Z),a=5,s=0,p):Si(Z)?(e.consume(Z),a=4,r.interrupt?t:j):n(Z)}function h(Z){return Z===45?(e.consume(Z),r.interrupt?t:j):n(Z)}function p(Z){return Z==="CDATA[".charCodeAt(s++)?(e.consume(Z),s===6?r.interrupt?t:Q:p):n(Z)}function m(Z){return Si(Z)?(e.consume(Z),o=String.fromCharCode(Z),g):n(Z)}function g(Z){if(Z===null||Z===47||Z===62||qn(Z)){const rt=Z===47,ie=o.toLowerCase();return!rt&&!i&&tC.includes(ie)?(a=1,r.interrupt?t(Z):Q(Z)):gLe.includes(o.toLowerCase())?(a=6,rt?(e.consume(Z),v):r.interrupt?t(Z):Q(Z)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(Z):i?k(Z):S(Z))}return Z===45||Ka(Z)?(e.consume(Z),o+=String.fromCharCode(Z),g):n(Z)}function v(Z){return Z===62?(e.consume(Z),r.interrupt?t:Q):n(Z)}function k(Z){return dn(Z)?(e.consume(Z),k):L(Z)}function S(Z){return Z===47?(e.consume(Z),L):Z===58||Z===95||Si(Z)?(e.consume(Z),A):dn(Z)?(e.consume(Z),S):L(Z)}function A(Z){return Z===45||Z===46||Z===58||Z===95||Ka(Z)?(e.consume(Z),A):E(Z)}function E(Z){return Z===61?(e.consume(Z),_):dn(Z)?(e.consume(Z),E):S(Z)}function _(Z){return Z===null||Z===60||Z===61||Z===62||Z===96?n(Z):Z===34||Z===39?(e.consume(Z),l=Z,C):dn(Z)?(e.consume(Z),_):R(Z)}function C(Z){return Z===l?(e.consume(Z),l=null,B):Z===null||It(Z)?n(Z):(e.consume(Z),C)}function R(Z){return Z===null||Z===34||Z===39||Z===47||Z===60||Z===61||Z===62||Z===96||qn(Z)?E(Z):(e.consume(Z),R)}function B(Z){return Z===47||Z===62||dn(Z)?S(Z):n(Z)}function L(Z){return Z===62?(e.consume(Z),V):n(Z)}function V(Z){return Z===null||It(Z)?Q(Z):dn(Z)?(e.consume(Z),V):n(Z)}function Q(Z){return Z===45&&a===2?(e.consume(Z),re):Z===60&&a===1?(e.consume(Z),Y):Z===62&&a===4?(e.consume(Z),xe):Z===63&&a===3?(e.consume(Z),j):Z===93&&a===5?(e.consume(Z),Ee):It(Z)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(yLe,Ie,ee)(Z)):Z===null||It(Z)?(e.exit("htmlFlowData"),ee(Z)):(e.consume(Z),Q)}function ee(Z){return e.check(vLe,ne,Ie)(Z)}function ne(Z){return e.enter("lineEnding"),e.consume(Z),e.exit("lineEnding"),G}function G(Z){return Z===null||It(Z)?ee(Z):(e.enter("htmlFlowData"),Q(Z))}function re(Z){return Z===45?(e.consume(Z),j):Q(Z)}function Y(Z){return Z===47?(e.consume(Z),o="",ye):Q(Z)}function ye(Z){if(Z===62){const rt=o.toLowerCase();return tC.includes(rt)?(e.consume(Z),xe):Q(Z)}return Si(Z)&&o.length<8?(e.consume(Z),o+=String.fromCharCode(Z),ye):Q(Z)}function Ee(Z){return Z===93?(e.consume(Z),j):Q(Z)}function j(Z){return Z===62?(e.consume(Z),xe):Z===45&&a===2?(e.consume(Z),j):Q(Z)}function xe(Z){return Z===null||It(Z)?(e.exit("htmlFlowData"),Ie(Z)):(e.consume(Z),xe)}function Ie(Z){return e.exit("htmlFlow"),t(Z)}}function wLe(e,t,n){const r=this;return a;function a(o){return It(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function xLe(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(s1,t,n)}}var kLe={name:"htmlText",tokenize:ALe};function ALe(e,t,n){const r=this;let a,i,o;return s;function s(j){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(j),l}function l(j){return j===33?(e.consume(j),c):j===47?(e.consume(j),E):j===63?(e.consume(j),S):Si(j)?(e.consume(j),R):n(j)}function c(j){return j===45?(e.consume(j),u):j===91?(e.consume(j),i=0,p):Si(j)?(e.consume(j),k):n(j)}function u(j){return j===45?(e.consume(j),h):n(j)}function d(j){return j===null?n(j):j===45?(e.consume(j),f):It(j)?(o=d,Y(j)):(e.consume(j),d)}function f(j){return j===45?(e.consume(j),h):d(j)}function h(j){return j===62?re(j):j===45?f(j):d(j)}function p(j){return j==="CDATA[".charCodeAt(i++)?(e.consume(j),i===6?m:p):n(j)}function m(j){return j===null?n(j):j===93?(e.consume(j),g):It(j)?(o=m,Y(j)):(e.consume(j),m)}function g(j){return j===93?(e.consume(j),v):m(j)}function v(j){return j===62?re(j):j===93?(e.consume(j),v):m(j)}function k(j){return j===null||j===62?re(j):It(j)?(o=k,Y(j)):(e.consume(j),k)}function S(j){return j===null?n(j):j===63?(e.consume(j),A):It(j)?(o=S,Y(j)):(e.consume(j),S)}function A(j){return j===62?re(j):S(j)}function E(j){return Si(j)?(e.consume(j),_):n(j)}function _(j){return j===45||Ka(j)?(e.consume(j),_):C(j)}function C(j){return It(j)?(o=C,Y(j)):dn(j)?(e.consume(j),C):re(j)}function R(j){return j===45||Ka(j)?(e.consume(j),R):j===47||j===62||qn(j)?B(j):n(j)}function B(j){return j===47?(e.consume(j),re):j===58||j===95||Si(j)?(e.consume(j),L):It(j)?(o=B,Y(j)):dn(j)?(e.consume(j),B):re(j)}function L(j){return j===45||j===46||j===58||j===95||Ka(j)?(e.consume(j),L):V(j)}function V(j){return j===61?(e.consume(j),Q):It(j)?(o=V,Y(j)):dn(j)?(e.consume(j),V):B(j)}function Q(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),a=j,ee):It(j)?(o=Q,Y(j)):dn(j)?(e.consume(j),Q):(e.consume(j),ne)}function ee(j){return j===a?(e.consume(j),a=void 0,G):j===null?n(j):It(j)?(o=ee,Y(j)):(e.consume(j),ee)}function ne(j){return j===null||j===34||j===39||j===60||j===61||j===96?n(j):j===47||j===62||qn(j)?B(j):(e.consume(j),ne)}function G(j){return j===47||j===62||qn(j)?B(j):n(j)}function re(j){return j===62?(e.consume(j),e.exit("htmlTextData"),e.exit("htmlText"),t):n(j)}function Y(j){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),ye}function ye(j){return dn(j)?kn(e,Ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):Ee(j)}function Ee(j){return e.enter("htmlTextData"),o(j)}}var k5={name:"labelEnd",tokenize:PLe,resolveTo:$Le,resolveAll:CLe},TLe={tokenize:ILe},ELe={tokenize:RLe},_Le={tokenize:NLe};function CLe(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function $Le(e,t){let n=e.length,r=0,a,i,o,s;for(;n--;)if(a=e[n][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[["enter",l,t],["enter",c,t]],s=Co(s,e.slice(i+1,i+r+3)),s=Co(s,[["enter",u,t]]),s=Co(s,$v(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=Co(s,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),s=Co(s,e.slice(o+1)),s=Co(s,[["exit",l,t]]),Uo(e,i,e.length,s),e}function PLe(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return s;function s(f){return i?i._inactive?d(f):(o=r.parser.defined.includes(Os(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):n(f)}function l(f){return f===40?e.attempt(TLe,u,o?u:d)(f):f===91?e.attempt(ELe,u,o?c:d)(f):o?u(f):d(f)}function c(f){return e.attempt(_Le,u,d)(f)}function u(f){return t(f)}function d(f){return i._balanced=!0,n(f)}}function ILe(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return qn(d)?vm(e,i)(d):i(d)}function i(d){return d===41?u(d):TQ(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return qn(d)?vm(e,l)(d):u(d)}function s(d){return n(d)}function l(d){return d===34||d===39||d===40?_Q(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):u(d)}function c(d){return qn(d)?vm(e,u)(d):u(d)}function u(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function RLe(e,t,n){const r=this;return a;function a(s){return EQ.call(r,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return r.parser.defined.includes(Os(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function NLe(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}var MLe={name:"labelStartImage",tokenize:LLe,resolveAll:k5.resolveAll};function LLe(e,t,n){const r=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}var DLe={name:"labelStartLink",tokenize:BLe,resolveAll:k5.resolveAll};function BLe(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}var w4={name:"lineEnding",tokenize:ULe};function ULe(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),kn(e,t,"linePrefix")}}var c2={name:"thematicBreak",tokenize:jLe};function jLe(e,t,n){let r=0,a;return i;function i(c){return e.enter("thematicBreak"),o(c)}function o(c){return a=c,s(c)}function s(c){return c===a?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||It(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===a?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),dn(c)?kn(e,s,"whitespace")(c):s(c))}}var Ci={name:"list",tokenize:zLe,continuation:{tokenize:HLe},exit:qLe},FLe={tokenize:ZLe,partial:!0},QLe={tokenize:VLe,partial:!0};function zLe(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(h){const p=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:l3(h)){if(r.containerState.type||(r.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(c2,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return l3(h)&&++o<10?(e.consume(h),l):(!r.interrupt||o<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(s1,r.interrupt?n:u,e.attempt(FLe,f,d))}
vendor: 17,139 bytes, line 118
118function u(h){return r.containerState.initialBlankLine=!0,i++,f(h)}function d(h){return dn(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),f):n(h)}function f(h){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function HLe(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(s1,a,i);function a(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,kn(e,t,"listItemIndent",r.containerState.size+1)(s)}function i(s){return r.containerState.furtherBlankLines||!dn(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(QLe,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,kn(e,e.attempt(Ci,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function VLe(e,t,n){const r=this;return kn(e,a,"listItemIndent",r.containerState.size+1);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)}}function qLe(e){e.exit(this.containerState.type)}function ZLe(e,t,n){const r=this;return kn(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=r.events[r.events.length-1];return!dn(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}var nC={name:"setextUnderline",tokenize:WLe,resolveTo:XLe};function XLe(e,t){let n=e.length,r,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function WLe(e,t,n){const r=this;let a;return i;function i(c){let u=r.events.length,d;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){d=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),a=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===a?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),dn(c)?kn(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||It(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var YLe={tokenize:aDe,partial:!0};function GLe(){return{document:{91:{tokenize:tDe,continuation:{tokenize:nDe},exit:rDe}},text:{91:{tokenize:eDe},93:{add:"after",tokenize:KLe,resolveTo:JLe}}}}function KLe(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const c=Os(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function JLe(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eDe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!o||d===null||d===91||qn(d))return n(d);if(d===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(Os(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return qn(d)||(o=!0),i++,e.consume(d),d===92?u:c}function u(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function tDe(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(p)}function u(p){if(o>999||p===93&&!s||p===null||p===91||qn(p))return n(p);if(p===93){e.exit("chunkString");const m=e.exit("gfmFootnoteDefinitionLabelString");return i=Os(r.sliceSerialize(m)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return qn(p)||(s=!0),o++,e.consume(p),p===92?d:u}function d(p){return p===91||p===92||p===93?(e.consume(p),o++,u):u(p)}function f(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a.includes(i)||a.push(i),kn(e,h,"gfmFootnoteDefinitionWhitespace")):n(p)}function h(p){return t(p)}}function nDe(e,t,n){return e.check(s1,t,e.attempt(YLe,t,n))}function rDe(e){e.exit("gfmFootnoteDefinition")}function aDe(e,t,n){const r=this;return kn(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function iDe(e){let t=(e||{}).singleTilde;const n={tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(i,o){let s=-1;for(;++s<i.length;)if(i[s][0]==="enter"&&i[s][1].type==="strikethroughSequenceTemporary"&&i[s][1]._close){let l=s;for(;l--;)if(i[l][0]==="exit"&&i[l][1].type==="strikethroughSequenceTemporary"&&i[l][1]._open&&i[s][1].end.offset-i[s][1].start.offset===i[l][1].end.offset-i[l][1].start.offset){i[s][1].type="strikethroughSequence",i[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},i[l][1].start),end:Object.assign({},i[s][1].end)},u={type:"strikethroughText",start:Object.assign({},i[l][1].end),end:Object.assign({},i[s][1].start)},d=[["enter",c,o],["enter",i[l][1],o],["exit",i[l][1],o],["enter",u,o]],f=o.parser.constructs.insideSpan.null;f&&Uo(d,d.length,0,$v(f,i.slice(l+1,s),o)),Uo(d,d.length,0,[["exit",u,o],["enter",i[s][1],o],["exit",i[s][1],o],["exit",c,o]]),Uo(i,l-1,s-l+3,d),s=l+d.length-2;break}}for(s=-1;++s<i.length;)i[s][1].type==="strikethroughSequenceTemporary"&&(i[s][1].type="data");return i}function a(i,o,s){const l=this.previous,c=this.events;let u=0;return d;function d(h){return l===126&&c[c.length-1][1].type!=="characterEscape"?s(h):(i.enter("strikethroughSequenceTemporary"),f(h))}function f(h){const p=bb(l);if(h===126)return u>1?s(h):(i.consume(h),u++,f);if(u<2&&!t)return s(h);const m=i.exit("strikethroughSequenceTemporary"),g=bb(h);return m._open=!g||g===2&&!!p,m._close=!p||p===2&&!!g,o(h)}}}var oDe=class{constructor(){this.map=[]}add(e,t,n){sDe(this,e,t,n)}consume(e){if(this.map.sort(function(a,i){return a[0]-i[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function sDe(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function lDe(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function cDe(){return{flow:{null:{tokenize:uDe,resolveAll:dDe}}}}function uDe(e,t,n){const r=this;let a=0,i=0,o;return s;function s(L){let V=r.events.length-1;for(;V>-1;){const ne=r.events[V][1].type;if(ne==="lineEnding"||ne==="linePrefix")V--;else break}const Q=V>-1?r.events[V][1].type:null,ee=Q==="tableHead"||Q==="tableRow"?_:l;return ee===_&&r.parser.lazy[r.now().line]?n(L):ee(L)}function l(L){return e.enter("tableHead"),e.enter("tableRow"),c(L)}function c(L){return L===124||(o=!0,i+=1),u(L)}function u(L){return L===null?n(L):It(L)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),h):n(L):dn(L)?kn(e,u,"whitespace")(L):(i+=1,o&&(o=!1,a+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),o=!0,u):(e.enter("data"),d(L)))}function d(L){return L===null||L===124||qn(L)?(e.exit("data"),u(L)):(e.consume(L),L===92?f:d)}function f(L){return L===92||L===124?(e.consume(L),d):d(L)}function h(L){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(L):(e.enter("tableDelimiterRow"),o=!1,dn(L)?kn(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):p(L))}function p(L){return L===45||L===58?g(L):L===124?(o=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),m):E(L)}function m(L){return dn(L)?kn(e,g,"whitespace")(L):g(L)}function g(L){return L===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),v):L===45?(i+=1,v(L)):L===null||It(L)?A(L):E(L)}function v(L){return L===45?(e.enter("tableDelimiterFiller"),k(L)):E(L)}function k(L){return L===45?(e.consume(L),k):L===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(L))}function S(L){return dn(L)?kn(e,A,"whitespace")(L):A(L)}function A(L){return L===124?p(L):L===null||It(L)?!o||a!==i?E(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):E(L)}function E(L){return n(L)}function _(L){return e.enter("tableRow"),C(L)}function C(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),C):L===null||It(L)?(e.exit("tableRow"),t(L)):dn(L)?kn(e,C,"whitespace")(L):(e.enter("data"),R(L))}function R(L){return L===null||L===124||qn(L)?(e.exit("data"),C(L)):(e.consume(L),L===92?B:R)}function B(L){return L===92||L===124?(e.consume(L),R):R(L)}}function dDe(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,c,u,d;const f=new oDe;for(;++n<e.length;){const h=e[n],p=h[1];h[0]==="enter"?p.type==="tableHead"?(s=!1,l!==0&&(rC(f,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(n,0,[["enter",c,t]])):p.type==="tableRow"||p.type==="tableDelimiterRow"?(r=!0,d=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(n,0,[["enter",u,t]])),a=p.type==="tableDelimiterRow"?2:u?3:1):a&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],d=sg(f,t,i,a,void 0,d),i=[0,0,0,0]),o[2]=n)):p.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],d=sg(f,t,i,a,void 0,d)),i=o,o=[i[1],n,0,0])):p.type==="tableHead"?(s=!0,l=n):p.type==="tableRow"||p.type==="tableDelimiterRow"?(l=n,i[1]!==0?(o[0]=o[1],d=sg(f,t,i,a,n,d)):o[1]!==0&&(d=sg(f,t,o,a,n,d)),a=0):a&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&rC(f,t,l,c,u),f.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=lDe(t.events,n))}return e}function sg(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},yf(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=yf(t.events,n[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=yf(t.events,n[2]),u=yf(t.events,n[3]),d={type:s,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const f=t.events[n[2]],h=t.events[n[3]];if(f[1].end=Object.assign({},h[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const p=n[2]+1,m=n[3]-n[2]-1;e.add(p,m,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return a!==void 0&&(i.end=Object.assign({},yf(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function rC(e,t,n,r,a){const i=[],o=yf(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function yf(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}var fDe={tokenize:pDe};function hDe(){return{text:{91:fDe}}}function pDe(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return qn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return It(l)?t(l):dn(l)?e.check({tokenize:mDe},t,n)(l):n(l)}}function mDe(e,t,n){return kn(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function gDe(e){return hQ([TMe(),GLe(),iDe(e),cDe(),hDe()])}var bDe={};function Pv(e){const t=this,n=e||bDe,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(gDe(n)),i.push(OMe()),o.push(SMe(n))}var yDe={tokenize:vDe};function vDe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),kn(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return It(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}var ODe={tokenize:SDe},aC={tokenize:wDe};function SDe(e){const t=this,n=[];let r=0,a,i,o;return s;function s(S){if(r<n.length){const A=n[r];return t.containerState=A[1],e.attempt(A[0].continuation,l,c)(S)}return c(S)}function l(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&k();const A=t.events.length;let E=A,_;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){_=t.events[E][1].end;break}v(r);let C=A;for(;C<t.events.length;)t.events[C][1].end=Object.assign({},_),C++;return Uo(t.events,E+1,0,t.events.slice(A)),t.events.length=C,c(S)}return s(S)}function c(S){if(r===n.length){if(!a)return f(S);if(a.currentConstruct&&a.currentConstruct.concrete)return p(S);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(aC,u,d)(S)}function u(S){return a&&k(),v(r),f(S)}function d(S){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,p(S)}function f(S){return t.containerState={},e.attempt(aC,h,p)(S)}function h(S){return r++,n.push([t.currentConstruct,t.containerState]),f(S)}function p(S){if(S===null){a&&k(),v(0),e.consume(S);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:a}),m(S)}function m(S){if(S===null){g(e.exit("chunkFlow"),!0),v(0),e.consume(S);return}return It(S)?(e.consume(S),g(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(S),m)}function g(S,A){const E=t.sliceStream(S);
118if(A&&E.push(null),S.previous=i,i&&(i.next=S),i=S,a.defineSkip(S.start),a.write(E),t.parser.lazy[S.start.line]){let _=a.events.length;for(;_--;)if(a.events[_][1].start.offset<o&&(!a.events[_][1].end||a.events[_][1].end.offset>o))return;const C=t.events.length;let R=C,B,L;for(;R--;)if(t.events[R][0]==="exit"&&t.events[R][1].type==="chunkFlow"){if(B){L=t.events[R][1].end;break}B=!0}for(v(r),_=C;_<t.events.length;)t.events[_][1].end=Object.assign({},L),_++;Uo(t.events,R+1,0,t.events.slice(C)),t.events.length=_}}function v(S){let A=n.length;for(;A-- >S;){const E=n[A];t.containerState=E[1],E[0].exit.call(t,e)}n.length=S}function k(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function wDe(e,t,n){return kn(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var xDe={tokenize:kDe};function kDe(e){const t=this,n=e.attempt(s1,r,e.attempt(this.parser.constructs.flowInitial,a,kn(e,e.attempt(this.parser.constructs.flow,a,e.attempt(nLe,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var ADe={resolveAll:$Q()},TDe=CQ("string"),EDe=CQ("text");function CQ(e){return{tokenize:t,resolveAll:$Q(e==="text"?_De:void 0)};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,s);return o;function o(u){return c(u)?i(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),i(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const d=a[u];let f=-1;if(d)for(;++f<d.length;){const h=d[f];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function $Q(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function _De(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let i=a.length,o=-1,s=0,l;for(;i--;){const c=a[i];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)l=!0,s++;else if(c!==-1){i++;break}}if(s){const c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+i,_bufferIndex:i?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function CDe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let o=[],s=[];const l={consume:k,enter:S,exit:A,attempt:C(E),check:C(_),interrupt:C(_,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:f,now:p,defineSkip:m,write:d};let u=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(V){return o=Co(o,V),g(),o[o.length-1]!==null?[]:(R(t,0),c.events=$v(i,c.events,c),c.events)}function f(V,Q){return PDe(h(V),Q)}function h(V){return $De(o,V)}function p(){const{line:V,column:Q,offset:ee,_index:ne,_bufferIndex:G}=r;return{line:V,column:Q,offset:ee,_index:ne,_bufferIndex:G}}function m(V){a[V.line]=V.column,L()}function g(){let V;for(;r._index<o.length;){const Q=o[r._index];if(typeof Q=="string")for(V=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===V&&r._bufferIndex<Q.length;)v(Q.charCodeAt(r._bufferIndex));else v(Q)}}function v(V){u=u(V)}function k(V){It(V)?(r.line++,r.column=1,r.offset+=V===-3?2:1,L()):V!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=V}
118function S(V,Q){const ee=Q||{};return ee.type=V,ee.start=p(),c.events.push(["enter",ee,c]),s.push(ee),ee}function A(V){const Q=s.pop();return Q.end=p(),c.events.push(["exit",Q,c]),Q}function E(V,Q){R(V,Q.from)}function _(V,Q){Q.restore()}function C(V,Q){return ee;function ee(ne,G,re){let Y,ye,Ee,j;return Array.isArray(ne)?Ie(ne):"tokenize"in ne?Ie([ne]):xe(ne);function xe(Pe){return gt;function gt(Zt){const St=Zt!==null&&Pe[Zt],sn=Zt!==null&&Pe.null;return Ie([...Array.isArray(St)?St:St?[St]:[],...Array.isArray(sn)?sn:sn?[sn]:[]])(Zt)}}function Ie(Pe){return Y=Pe,ye=0,Pe.length===0?re:Z(Pe[ye])}function Z(Pe){return gt;function gt(Zt){return j=B(),Ee=Pe,Pe.partial||(c.currentConstruct=Pe),Pe.name&&c.parser.constructs.disable.null.includes(Pe.name)?ie():Pe.tokenize.call(Q?Object.assign(Object.create(c),Q):c,l,rt,ie)(Zt)}}function rt(Pe){return V(Ee,j),G}function ie(Pe){return j.restore(),++ye<Y.length?Z(Y[ye]):re}}}function R(V,Q){V.resolveAll&&!i.includes(V)&&i.push(V),V.resolve&&Uo(c.events,Q,c.events.length-Q,V.resolve(c.events.slice(Q),c)),V.resolveTo&&(c.events=V.resolveTo(c.events,c))}function B(){const V=p(),Q=c.previous,ee=c.currentConstruct,ne=c.events.length,G=Array.from(s);return{restore:re,from:ne};function re(){r=V,c.previous=Q,c.currentConstruct=ee,c.events.length=ne,s=G,L()}}function L(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function $De(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,i)];else{if(o=e.slice(n,a),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function PDe(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:o="\r";break;case-4:o=` 119`;break;case-3:o=`\r 120`;break;case-2:o=t?" ":" ";break;case-1:if(!t&&a)continue;o=" ";break;default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}var IDe=sj({attentionMarkers:()=>jDe,contentInitial:()=>NDe,disable:()=>FDe,document:()=>RDe,flow:()=>LDe,flowInitial:()=>MDe,insideSpan:()=>UDe,string:()=>DDe,text:()=>BDe}),RDe={42:Ci,43:Ci,45:Ci,48:Ci,49:Ci,50:Ci,51:Ci,52:Ci,53:Ci,54:Ci,55:Ci,56:Ci,57:Ci,62:wQ},NDe={91:sLe},MDe={[-2]:S4,[-1]:S4,32:S4},LDe={35:hLe,42:c2,45:[nC,c2],60:bLe,61:nC,95:c2,96:eC,126:eC},DDe={38:kQ,92:xQ},BDe={[-5]:w4,[-4]:w4,[-3]:w4,33:MLe,38:kQ,42:d3,60:[DMe,kLe],91:DLe,92:[dLe,xQ],93:k5,95:d3,96:YMe},UDe={null:[d3,ADe]},jDe={null:[42,95]},FDe={null:[]};function QDe(e){const t={defined:[],lazy:{},constructs:hQ([IDe,...(e||{}).extensions||[]]),content:n(yDe),document:n(ODe),flow:n(xDe),string:n(TDe),text:n(EDe)};return t;function n(r){return a;function a(i){return CDe(t,r,i)}}}function zDe(e){for(;!AQ(e););return e}var iC=/[\0\t\n\r]/g;function HDe(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const l=[];let c,u,d,f,h;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(iC.lastIndex=d,c=iC.exec(i),f=c&&c.index!==void 0?c.index:i.length,h=i.charCodeAt(f),!c){t=i.slice(d);break}if(h===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(i.slice(d,f)),e+=f-d),h){case 0:l.push(65533),e++;break;case 9:for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break;case 10:l.push(-4),e=1;break;default:r=!0,e=1}d=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}var PQ={}.hasOwnProperty;function VDe(e,t,n){return typeof t!="string"&&(n=t,t=void 0),qDe(n)(zDe(QDe(n).document().write(HDe()(e,t,!0))))}function qDe(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(At),autolinkProtocol:B,autolinkEmail:B,atxHeading:i(he),blockQuote:i(sn),characterEscape:B,characterReference:B,codeFenced:i(Xn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Xn,o),codeText:i(Wn,o),codeTextData:B,data:B,codeFlowValue:B,definition:i(ra),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(vr),hardBreakEscape:i(Me),hardBreakTrailing:i(Me),htmlFlow:i(Ge,o),htmlFlowData:B,htmlText:i(Ge,o),htmlTextData:B,image:i(Et),label:o,link:i(At),listItem:i(ln),listItemValue:f,listOrdered:i(Yt,d),listUnordered:i(Yt),paragraph:i(Or),reference:Z,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(he),strong:i(Yn),thematicBreak:i(di)},exit:{atxHeading:l(),atxHeadingSequence:E,autolink:l(),autolinkEmail:St,autolinkProtocol:Zt,blockQuote:l(),characterEscapeValue:L,
vendor: 17,236 bytes, lines 120-124
120characterReferenceMarkerHexadecimal:ie,characterReferenceMarkerNumeric:ie,characterReferenceValue:Pe,characterReference:gt,codeFenced:l(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:L,codeIndented:l(v),codeText:l(G),codeTextData:L,data:L,definition:l(),definitionDestinationString:A,definitionLabelString:k,definitionTitleString:S,emphasis:l(),hardBreakEscape:l(Q),hardBreakTrailing:l(Q),htmlFlow:l(ee),htmlFlowData:L,htmlText:l(ne),htmlTextData:L,image:l(Y),label:Ee,labelText:ye,lineEnding:V,link:l(re),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:rt,resourceDestinationString:j,resourceTitleString:xe,resource:Ie,setextHeading:l(R),setextHeadingLineSequence:C,setextHeadingText:_,strong:l(),thematicBreak:l()}};IQ(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(oe){let ge={type:"root",children:[]};const Qe={stack:[ge],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:u,data:n},Pt=[];let Rt=-1;for(;++Rt<oe.length;)(oe[Rt][1].type==="listOrdered"||oe[Rt][1].type==="listUnordered")&&(oe[Rt][0]==="enter"?Pt.push(Rt):Rt=a(oe,Pt.pop(),Rt));for(Rt=-1;++Rt<oe.length;){const Qr=t[oe[Rt][0]];PQ.call(Qr,oe[Rt][1].type)&&Qr[oe[Rt][1].type].call(Object.assign({sliceSerialize:oe[Rt][2].sliceSerialize},Qe),oe[Rt][1])}if(Qe.tokenStack.length>0){const Qr=Qe.tokenStack[Qe.tokenStack.length-1];(Qr[1]||oC).call(Qe,void 0,Qr[0])}for(ge.position={start:pc(oe.length>0?oe[0][1].start:{line:1,column:1,offset:0}),end:pc(oe.length>0?oe[oe.length-2][1].end:{line:1,column:1,offset:0})},Rt=-1;++Rt<t.transforms.length;)ge=t.transforms[Rt](ge)||ge;return ge}function a(oe,ge,Qe){let Pt=ge-1,Rt=-1,Qr=!1,zr,Hr,Vr,ga;for(;++Pt<=Qe;){const se=oe[Pt];switch(se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":se[0]==="enter"?Rt++:Rt--,ga=void 0;break;case"lineEndingBlank":se[0]==="enter"&&(zr&&!ga&&!Rt&&!Vr&&(Vr=Pt),ga=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ga=void 0}if(!Rt&&se[0]==="enter"&&se[1].type==="listItemPrefix"||Rt===-1&&se[0]==="exit"&&(se[1].type==="listUnordered"||se[1].type==="listOrdered")){if(zr){let fe=Pt;for(Hr=void 0;fe--;){const Ae=oe[fe];if(Ae[1].type==="lineEnding"||Ae[1].type==="lineEndingBlank"){if(Ae[0]==="exit")continue;Hr&&(oe[Hr][1].type="lineEndingBlank",Qr=!0),Ae[1].type="lineEnding",Hr=fe}else if(!(Ae[1].type==="linePrefix"||Ae[1].type==="blockQuotePrefix"||Ae[1].type==="blockQuotePrefixWhitespace"||Ae[1].type==="blockQuoteMarker"||Ae[1].type==="listItemIndent"))break}Vr&&(!Hr||Vr<Hr)&&(zr._spread=!0),zr.end=Object.assign({},Hr?oe[Hr][1].start:se[1].end),oe.splice(Hr||Pt,0,["exit",zr,se[2]]),Pt++,Qe++}if(se[1].type==="listItemPrefix"){const fe={type:"listItem",_spread:!1,start:Object.assign({},se[1].start),end:void 0};zr=fe,oe.splice(Pt,0,["enter",fe,se[2]]),Pt++,Qe++,Vr=void 0,ga=!0}}}return oe[ge][1]._spread=Qr,Qe}function i(oe,ge){return Qe;function Qe(Pt){s.call(this,oe(Pt),Pt),ge&&ge.call(this,Pt)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(oe,ge,Qe){this.stack[this.stack.length-1].children.push(oe),this.stack.push(oe),this.tokenStack.push([ge,Qe]),oe.position={start:pc(ge.start),end:void 0}}function l(oe){return ge;function ge(Qe){oe&&oe.call(this,Qe),c.call(this,Qe)}}function c(oe,ge){const Qe=this.stack.pop(),Pt=this.tokenStack.pop();if(Pt)Pt[0].type!==oe.type&&(ge?ge.call(this,oe,Pt[0]):(Pt[1]||oC).call(this,oe,Pt[0]));else throw new Error("Cannot close `"+oe.type+"` ("+ym({start:oe.start,end:oe.end})+"): itâs not open");Qe.position.end=pc(oe.end)}function u(){return v5(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(oe){if(this.data.expectingFirstListItemValue){const ge=this.stack[this.stack.length-2];ge.start=Number.parseInt(this.sliceSerialize(oe),10),this.data.expectingFirstListItemValue=void 0}}function h(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.lang=oe}function p(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.meta=oe}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.value=oe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.value=oe.replace(/(\r?\n|\r)$/g,"")}function k(oe){const ge=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=ge,Qe.identifier=Os(this.sliceSerialize(oe)).toLowerCase()}function S(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.title=oe}function A(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.url=oe}function E(oe){const ge=this.stack[this.stack.length-1];ge.depth||(ge.depth=this.sliceSerialize(oe).length)}function _(){this.data.setextHeadingSlurpLineEnding=!0}function C(oe){const ge=this.stack[this.stack.length-1];ge.depth=this.sliceSerialize(oe).codePointAt(0)===61?1:2}function R(){this.data.setextHeadingSlurpLineEnding=void 0}function B(oe){const ge=this.stack[this.stack.length-1].children;let Qe=ge[ge.length-1];(!Qe||Qe.type!=="text")&&(Qe=ui(),Qe.position={start:pc(oe.start),end:void 0},ge.push(Qe)),this.stack.push(Qe)}function L(oe){const ge=this.stack.pop();ge.value+=this.sliceSerialize(oe),ge.position.end=pc(oe.end)}function V(oe){const ge=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Qe=ge.children[ge.children.length-1];Qe.position.end=pc(oe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ge.type)&&(B.call(this,oe),L.call(this,oe))}function Q(){this.data.atHardBreak=!0}function ee(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.value=oe}function ne(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.value=oe}function G(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.value=oe}function re(){const oe=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";oe.type+="Reference",oe.referenceType=ge,delete oe.url,delete oe.title}else delete oe.identifier,delete oe.label;this.data.referenceType=void 0}function Y(){const oe=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";oe.type+="Reference",oe.referenceType=ge,delete oe.url,delete oe.title}else delete oe.identifier,delete oe.label;this.data.referenceType=void 0}function ye(oe){const ge=this.sliceSerialize(oe),Qe=this.stack[this.stack.length-2];Qe.label=fQ(ge),Qe.identifier=Os(ge).toLowerCase()}function Ee(){const oe=this.stack[this.stack.length-1],ge=this.resume(),Qe=this.stack[this.stack.length-1];this.data.inReference=!0,Qe.type==="link"?Qe.children=oe.children:Qe.alt=ge}function j(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.url=oe}function xe(){const oe=this.resume(),ge=this.stack[this.stack.length-1];ge.title=oe}function Ie(){this.data.inReference=void 0}function Z(){this.data.referenceType="collapsed"}function rt(oe){const ge=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=ge,Qe.identifier=Os(this.sliceSerialize(oe)).toLowerCase(),this.data.referenceType="full"}function ie(oe){this.data.characterReferenceType=oe.type}function Pe(oe){const ge=this.sliceSerialize(oe),Qe=this.data.characterReferenceType;let Pt;Qe?(Pt=dQ(ge,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Pt=w5(ge);const Rt=this.stack[this.stack.length-1];Rt.value+=Pt}function gt(oe){const ge=this.stack.pop();ge.position.end=pc(oe.end)}function Zt(oe){L.call(this,oe);const ge=this.stack[this.stack.length-1];ge.url=this.sliceSerialize(oe)}function St(oe){L.call(this,oe);const ge=this.stack[this.stack.length-1];ge.url="mailto:"+this.sliceSerialize(oe)}function sn(){return{type:"blockquote",children:[]}}function Xn(){return{type:"code",lang:null,meta:null,value:""}}function Wn(){return{type:"inlineCode",value:""}}function ra(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function vr(){return{type:"emphasis",children:[]}}function he(){return{type:"heading",depth:0,children:[]}}function Me(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function Et(){return{type:"image",title:null,url:"",alt:null}}function At(){return{type:"link",title:null,url:"",children:[]}}function Yt(oe){return{type:"list",ordered:oe.type==="listOrdered",start:null,spread:oe._spread,children:[]}}function ln(oe){return{type:"listItem",spread:oe._spread,checked:null,children:[]}}function Or(){return{type:"paragraph",children:[]}}function Yn(){return{type:"strong",children:[]}}function ui(){return{type:"text",value:""}}function di(){return{type:"thematicBreak"}}}function pc(e){return{line:e.line,column:e.column,offset:e.offset}}function IQ(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?IQ(e,r):ZDe(e,r)}}function ZDe(e,t){let n;for(n in t)if(PQ.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function oC(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ym({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ym({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ym({start:t.start,end:t.end})+") is still open")}function A5(e){const t=this;t.parser=n;function n(r){return VDe(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function XDe(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function WDe(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 121`}]}function YDe(e,t){const n=t.value?t.value+` 122`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function GDe(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function KDe(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function JDe(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=ap(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function eBe(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tBe(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function RQ(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function nBe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return RQ(e,t);const a={src:ap(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function rBe(e,t){const n={src:ap(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function aBe(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function iBe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return RQ(e,t);const a={href:ap(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function oBe(e,t){const n={href:ap(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function sBe(e,t,n){const r=e.all(t),a=n?lBe(n):NQ(t),i={},o=[];if(typeof t.checked=="boolean"){const u=r[0];let d;u&&u.type==="element"&&u.tagName==="p"?d=u:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const u=r[s];(a||s!==0||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 123`}),u.type==="element"&&u.tagName==="p"&&!a?o.push(...u.children):o.push(u)}const l=r[r.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&o.push({type:"text",value:` 124`});const c={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,c),e.applyData(t,c)}function lBe(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=NQ(n[r])}return t}function NQ(e){const t=e.spread;return t??e.children.length>1}function cBe(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const o=r[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function uBe(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dBe(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function fBe(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hBe(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=oc(t.children[1]),l=_v(t.children[t.children.length-1]);s&&l&&(o.position={start:s,end:l}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function pBe(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,o=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<o;){const u=t.children[s],d={},f=i?i[s]:void 0;f&&(d.align=f);let h={type:"element",tagName:a,properties:d,children:[]};u&&(h.children=e.all(u),e.patch(u,h),h=e.applyData(u,h)),l.push(h)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function mBe(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var sC=9,lC=32;function gBe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(cC(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(cC(t.slice(a),a>0,!1)),i.join("")}function cC(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===sC||i===lC;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===sC||i===lC;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function bBe(e,t){const n={type:"text",value:gBe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function yBe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var vBe={blockquote:XDe,break:WDe,code:YDe,delete:GDe,emphasis:KDe,footnoteReference:JDe,heading:eBe,html:tBe,imageReference:nBe,image:rBe,inlineCode:aBe,linkReference:iBe,link:oBe,listItem:sBe,list:cBe,paragraph:uBe,root:dBe,strong:fBe,table:hBe,tableCell:mBe,tableRow:pBe,text:bBe,thematicBreak:yBe,toml:lg,yaml:lg,definition:lg,footnoteDefinition:lg};function lg(){}function OBe(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function SBe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
124function wBe(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||OBe,r=e.options.footnoteBackLabel||SBe,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const u=e.all(c),d=String(c.identifier).toUpperCase(),f=ap(d.toLowerCase());let h=0;const p=[],m=e.footnoteCounts.get(d);for(;m!==void 0&&++h<=m;){p.length>0&&p.push({type:"text",value:" "});let k=typeof n=="string"?n:n(l,h);typeof k=="string"&&(k={type:"text",value:k}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,h),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const g=u[u.length-1];if(g&&g.type==="element"&&g.tagName==="p"){const k=g.children[g.children.length-1];k&&k.type==="text"?k.value+=" ":g.children.push({type:"text",value:" "}),g.children.push(...p)}else u.push(...p);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(u,!0)};e.patch(c,v),s.push(v)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...sl(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:` 125`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` 126`}]}}var f3={}.hasOwnProperty,xBe={};function kBe(e,t){const n=t||xBe,r=new Map,a=new Map,i={all:s,applyData:TBe,definitionById:r,footnoteById:a,footnoteCounts:new Map,footnoteOrder:[],handlers:{...vBe,...n.handlers},one:o,options:n,patch:ABe,wrap:_Be};return ko(e,function(l){if(l.type==="definition"||l.type==="footnoteDefinition"){const c=l.type==="definition"?r:a,u=String(l.identifier).toUpperCase();c.has(u)||c.set(u,l)}}),i;function o(l,c){const u=l.type,d=i.handlers[u];if(f3.call(i.handlers,u)&&d)return d(i,l,c);if(i.options.passThrough&&i.options.passThrough.includes(u)){if("children"in l){const{children:f,...h}=l,p=sl(h);return p.children=i.all(l),p}return sl(l)}return(i.options.unknownHandler||EBe)(i,l,c)}function s(l){const c=[];if("children"in l){const u=l.children;let d=-1;for(;++d<u.length;){const f=i.one(u[d],l);if(f){if(d&&u[d-1].type==="break"&&(!Array.isArray(f)&&f.type==="text"&&(f.value=uC(f.value)),!Array.isArray(f)&&f.type==="element")){const h=f.children[0];h&&h.type==="text"&&(h.value=uC(h.value))}Array.isArray(f)?c.push(...f):c.push(f)}}}return c}}function ABe(e,t){e.position&&(t.position=jF(e))}function TBe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:"children"in n?n.children:[n]}),n.type==="element"&&i&&Object.assign(n.properties,sl(i)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function EBe(e,t){const n=t.data||{},r="value"in t&&!(f3.call(n,"hProperties")||f3.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _Be(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 127`});++r<e.length;)r&&n.push({type:"text",value:` 128`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 129`}),n}function uC(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function dC(e,t){const n=kBe(e,t),r=n.one(e,void 0),a=wBe(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` 130`},a),i}function MQ(e,t){return e&&"run"in e?async function(n,r){const a=dC(n,{file:r,...t});await e.run(a,r)}:function(n,r){return dC(n,{file:r,...e||t})}}function CBe(e){const t=this;t.compiler=n;function n(r){return nMe(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}var LQ=e=>e.type==="heading"&&"depth"in e&&"children"in e,$Be=(e,...t)=>n=>{!(e!=null&&e.transform)||!(e!=null&&e.type)||ko(n,e==null?void 0:e.type,r=>(e!=null&&e.transform&&(e==null||e.transform(r)),ij))}
130,PBe=new Set(["dd","dt","li","p","summary","td","th"]),DQ=/[`*_\[~]/,IBe=()=>e=>{ko(e,"html",(t,n,r)=>{typeof n!="number"||!r||!("children"in r)||!Array.isArray(r.children)||(r.children[n]={type:"text",value:t.value??""})})},fC=Fd().use(A5).use(Pv).use(IBe).use(MQ),RBe=Fd().use(kF,{fragment:!0}),NBe=Fd().use(p5),MBe=e=>{const t=fC.runSync(fC.parse(e));if(t.children.length!==1)return[];const n=t.children.at(0);return!n||n.type!=="element"||n.tagName!=="p"?[]:n.children},LBe=()=>e=>{ko(e,"element",t=>{PBe.has(t.tagName)&&(t.children=t.children.flatMap(n=>{if(n.type!=="text"||!DQ.test(n.value))return[n];const r=MBe(n.value);return r.length?r:[n]}))})},DBe=()=>e=>{ko(e,"raw",t=>{if(typeof t.value!="string"||!DQ.test(t.value))return;const n=RBe.parse(t.value);LBe()(n),t.value=NBe.stringify(n)})},hC,BBe=()=>(hC??(hC=gj(Dj)),hC),pC=(e,t,n)=>{var r;return Fd().use(A5).use(Pv).use($Be,{transform:t,type:n}).use(MQ,{allowDangerousHtml:!0}).use(aIe).use(DBe).use(lRe).use(yRe,{...Uf,clobberPrefix:"",tagNames:e,attributes:{...Uf.attributes,abbr:["title"],"*":[...((r=Uf.attributes)==null?void 0:r["*"])??[],"className"]},strip:["script","style","object","embed","form"]}).use(bj,{lowlight:BBe(),detect:!0,className:"custom-scroll"}).use(mIe,{target:"_blank"}).use(UIe).use(p5)},mC=new Map,UBe=/^(?![-+=]|\d{1,9}[.)](?:\s|$))(?!.*(?: {2}|:\/|www\.|mailto:|xmpp:))[^\s\\`*_\[\]<>&#~|@\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff](?:[^\\`*_\[\]<>&#~|@\t\n\v\f\r\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff]*[^\s\\`*_\[\]<>&#~|@\x00-\x1f\x7f\u00a0\u1680\u2000-\u200b\u2028\u2029\u202f\u205f\u3000\ufeff])?$/i;function jBe(e,t){const n=(t==null?void 0:t.removeTags)??[];if(!(t!=null&&t.transform)&&!n.includes("p")&&UBe.test(e))return` 131<p>${e}</p> 132`;const r=(t==null?void 0:t.allowTags)??[],a=[...Uf.tagNames??[],...r].filter(s=>!n.includes(s));if(t!=null&&t.transform)return pC(a,t.transform,t.transformType).processSync(e).toString();const i=[[...n].sort().join(","),[...r].sort().join(","),(t==null?void 0:t.transformType)??""].join("|");let o=mC.get(i);return o||(o=pC(a,void 0,t==null?void 0:t.transformType).freeze(),mC.set(i,o)),o.processSync(e).toString()}function BQ(e){return Fd().use(A5).use(Pv).parse(e)}function FBe(e,t=1){const n=BQ(e),r=[];return ko(n,"heading",a=>{const i=Iv(a);i&&r.push({depth:a.depth??t,value:i})}),r}function Iv(e){return e.type==="text"?e.value??"":"children"in e&&Array.isArray(e.children)?e.children.map(t=>Iv(t)).join(""):""}function QBe(e){var a;const t=BQ(e),n=[];let r=[];return(a=t.children)==null||a.forEach(i=>{i.type==="heading"?(r.length&&n.push(r),n.push([i]),r=[]):r.push(i)}),r.length&&n.push(r),n.map(i=>zBe(i))}function zBe(e){return Fd().use(CBe).use(Pv).stringify({type:"root",children:e}).trim()}var HBe=["innerHTML"],VBe=F({inheritAttrs:!1,__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){const{cx:n}=$t();t({el:ai("div")});const r=i=>{var s;if(!e.withAnchors)return((s=e.transform)==null?void 0:s.call(e,i))||i;if(!LQ(i))return i;const o=Iv(i).toLowerCase().replace(/\s+/g,"-");return i.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${o}`:o}},e.transform?e.transform(i):i},a=$(()=>jBe(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&e.transformType==="heading"?r:e.transform,transformType:e.transformType}));return(i,o)=>(y(),w("div",Te({ref:"div"},b(n)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:a.value}),null,16,HBe))}}),Jr=VBe;function T5(e){return Oy()?(w0(e),!0):!1}const Rv=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const qBe=Object.prototype.toString,ZBe=e=>qBe.call(e)==="[object Object]",rf=()=>{},XBe=WBe();function WBe(){var e,t;return Rv&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function YBe(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function x4(e){return Array.isArray(e)?e:[e]}function GBe(e,t,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=po(!1);let o;function s(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,s()}function c(...u){a&&e(),s(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},Ve(t))}return r&&(i.value=!0,Rv&&c()),T5(l),{isPending:oG(i),start:c,stop:l}}function KBe(e,t,n){return ze(e,t,{...n,immediate:!0})}const E5=Rv?window:void 0,UQ=Rv?window.navigator:void 0;function Zu(e){var t;const n=Ve(e);return(t=n==null?void 0:n.$el)!=null?t:n}
132function Om(...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)),a=$(()=>{const s=x4(Ve(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),i=KBe(()=>{var s,l;return[(l=(s=a.value)==null?void 0:s.map(c=>Zu(c)))!=null?l:[E5].filter(c=>c!=null),x4(Ve(a.value?e[1]:e[0])),x4(b(a.value?e[2]:e[1])),Ve(a.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!(s!=null&&s.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const d=ZBe(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(h=>c.map(p=>r(f,h,p,d)))))},{flush:"post"}),o=()=>{i(),n()};return T5(n),o}let gC=!1;function JBe(e,t,n={}){const{window:r=E5,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:rf,cancel:rf,trigger:rf}:rf;if(XBe&&!gC){gC=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(v=>v.addEventListener("click",rf,g)),r.document.documentElement.addEventListener("click",rf,g)}let l=!0;const c=g=>Ve(a).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(k=>k===g.target||g.composedPath().includes(k));{const k=Zu(v);return k&&(g.target===k||g.composedPath().includes(k))}});function u(g){const v=Ve(g);return v&&v.$.subTree.shapeFlag===16}function d(g,v){const k=Ve(g),S=k.$.subTree&&k.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(A=>A.el===v.target||v.composedPath().includes(A.el))}const f=g=>{const v=Zu(e);if(g.target!=null&&!(!(v instanceof Element)&&u(e)&&d(e,g))&&!(!v||v===g.target||g.composedPath().includes(v))){if("detail"in g&&g.detail===0&&(l=!c(g)),!l){l=!0;return}t(g)}};let h=!1;const p=[Om(r,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),f(g))},{passive:!0,capture:i}),Om(r,"pointerdown",g=>{const v=Zu(e);l=!c(g)&&!!(v&&!g.composedPath().includes(v))},{passive:!0}),o&&Om(r,"blur",g=>{setTimeout(()=>{var v;const k=Zu(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(k!=null&&k.contains(r.document.activeElement))&&t(g)},0)},{passive:!0})].filter(Boolean),m=()=>p.forEach(g=>g());return s?{stop:m,cancel:()=>{l=!1},trigger:g=>{l=!0,f(g),l=!1}}:m}function eUe(){const e=po(!1),t=by();return t&&Lt(()=>{e.value=!0},t),e}function _5(e){const t=eUe();return $(()=>(t.value,!!e()))}function bC(e,t={}){const{controls:n=!1,navigator:r=UQ}=t,a=_5(()=>r&&"permissions"in r),i=po(),o=typeof e=="string"?{name:e}:e,s=po(),l=()=>{var u,d;s.value=(d=(u=i.value)==null?void 0:u.state)!=null?d:"prompt"};Om(i,"change",l,{passive:!0});const c=YBe(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return Pi(i.value)}});return c(),n?{state:s,isSupported:a,query:c}:s}function jQ(e={}){const{navigator:t=UQ,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=e,o=_5(()=>t&&"clipboard"in t),s=bC("clipboard-read"),l=bC("clipboard-write"),c=$(()=>o.value||i),u=po(""),d=po(!1),f=GBe(()=>d.value=!1,a,{immediate:!1});async function h(){let k=!(o.value&&v(s.value));if(!k)try{u.value=await t.clipboard.readText()}catch{k=!0}k&&(u.value=g())}c.value&&n&&Om(["copy","cut"],h,{passive:!0});async function p(k=Ve(r)){if(c.value&&k!=null){let S=!(o.value&&v(l.value));if(!S)try{await t.clipboard.writeText(k)}catch{S=!0}S&&m(k),u.value=k,d.value=!0,f.start()}}function m(k){const S=document.createElement("textarea");S.value=k??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function g(){var k,S,A;return(A=(S=(k=document==null?void 0:document.getSelection)==null?void 0:k.call(document))==null?void 0:S.toString())!=null?A:""}function v(k){return k==="granted"||k==="prompt"}return{isSupported:c,text:u,copied:d,copy:p}}function tUe(e,t,n={}){const{window:r=E5,...a}=n;let i;const o=_5(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=$(()=>{const d=Ve(e);return Array.isArray(d)?d.map(f=>Zu(f)):[Zu(d)]}),c=ze(l,d=>{if(s(),o.value&&r){i=new ResizeObserver(t);for(const f of d)f&&i.observe(f,a)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return T5(u),{isSupported:o,stop:u}}var nUe=["aria-controls","aria-expanded"],rUe=F({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:Cn({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:["update:modelValue","update:truncated"],setup(e){const t=sG(e,["clamp"]),n=Mt(),r=Tn(e,"modelValue"),a=Tn(e,"truncated"),i=ai("scalar-markdown");tUe(()=>{var l;return(l=i.value)==null?void 0:l.el},o);function o(){var c;const l=(c=i.value)==null?void 0:c.el;l&&(a.value=l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth)}
132Lt(o);const{cx:s}=$t();return(l,c)=>(y(),w("div",jt(Xt(b(s)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[N(Jr,Te(t,{id:b(n),ref:"scalar-markdown",clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,["id","clamp","class"]),!e.controlled&&(a.value||r.value)?(y(),w("button",{key:0,"aria-controls":b(n),"aria-expanded":r.value,class:Oe(["whitespace-nowrap font-medium hover:underline",{"self-end":r.value}]),type:"button",onClick:c[0]||(c[0]=u=>r.value=!r.value)},[q(l.$slots,"button",{open:r.value},()=>[ae(H(r.value?" Show Less":"More"),1)])],10,nUe)):U("",!0)],16))}}),h3=rUe,aUe={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},iUe=["id"],oUe=F({__name:"AsyncApiServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){const t=Mt(),{translate:n}=Ot(),r=$(()=>{var s;const o=(s=e.selectedServer)==null?void 0:s.server.variables;if(o)return Object.fromEntries(Object.entries(o).flatMap(([l,c])=>{const u=Se(c);return u?[[l,{default:u.default??"",enum:u.enum,description:u.description}]]:[]}))}),a=o=>{e.eventBus.emit("asyncapi-server:update:selected",{name:o})},i=(o,s)=>{e.selectedServer&&e.eventBus.emit("asyncapi-server:update:variables",{name:e.selectedServer.name,key:o,value:s})};return(o,s)=>{var l,c;return y(),w(de,null,[x("label",aUe,H(b(n)("server.label")),1),x("div",{id:b(t),class:Oe(["border",{"rounded-b-xl":!((l=e.selectedServer)!=null&&l.description)&&!r.value}])},[e.servers.length?(y(),M(hEe,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:b(t),"onUpdate:modelValue":a},null,8,["selectedServer","servers","target"])):U("",!0)],10,iUe),N(b(rj),{layout:"reference",variables:r.value,"onUpdate:variable":i},null,8,["variables"]),(c=e.selectedServer)!=null&&c.description?(y(),M(b(Jr),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):U("",!0)],64)}}}),sUe=oUe,FQ=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],p3=(e,t=FQ)=>!!(e&&t.includes(e)),lUe=(e,t=FQ)=>{const n=new Map;for(const r of e)for(const a of r.options)n.set(a.id,a);return t.flatMap(r=>n.get(r)??[])},yC=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.clientKey.toLowerCase().includes(n)||e.lang.toLowerCase().includes(n)},cUe=(e,t)=>{let n=t.toLowerCase();return e.label.toLowerCase().includes(n)||e.key.toLowerCase().includes(n)},QQ=(e,t,n)=>{if(e==="")return t;let r=e.toLowerCase(),a=n?n.filter(i=>i.label&&i.options.length>0).length:0;if(n&&a>1){let i=[];for(let o of n)cUe(o,r)?i.push(...o.options):i.push(...o.options.filter(s=>yC(s,r)));return i}return t.filter(i=>yC(i,r))};const u2={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],julia:["http"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle","laravel"],powershell:["restmethod","webrequest"],python:["python3","requests","aiohttp","httpx_sync","httpx_async"],r:["httr2"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]},yb=Ui(u2).flatMap(([e,t])=>t.map(n=>`${e}/${n}`)),uUe=e=>(e||"GET").toUpperCase(),Ao=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll(` 133`,"\\n").replaceAll("\r","\\r").replaceAll(" ","\\t"),dUe=e=>{if(!e)return"";try{const t=new URL(e),r=t.pathname==="/"&&!e.endsWith("/")&&!e.includes("?")&&!e.includes("#")?"":t.pathname;return`${t.protocol}//${t.host}${r}${t.search}${t.hash}`}catch{return e}},fUe=(e,t)=>{const n=t!=null&&t.length?t.map(r=>`${r.name}=${r.value}`).join("&"):"";return n?e?`${e}${e.includes("?")?"&":"?"}${n}`:`?${n}`:e},hUe=e=>e!=null&&e.length?e.map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("; "):null,pUe=e=>e!=null&&e.length?e.map(t=>new URLSearchParams([[t.name,t.value??""]]).toString()).join("&"):null,vC=e=>{if(e===void 0)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},OC=e=>{const t=e.split(` 134`);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${Ao(e)}");`]:[" curl_easy_setopt(curl, CURLOPT_POSTFIELDS,",...t.map((n,r)=>{const a=r===t.length-1;return` "${Ao(n)}${a?"":"\\n"}"${a?");":""}`})]},mUe={target:"c",client:"libcurl",title:"Libcurl",generate(e,t){var f,h,p,m,g;if(!e)return"";const n=uUe(e.method),r=dUe(e.url??""),a=fUe(r,e.queryString),i=!!((f=e.headers)!=null&&f.length),o=!!((h=e.cookies)!=null&&h.length),s=e.postData,l=(s==null?void 0:s.mimeType)==="multipart/form-data"&&!!((p=s.params)!=null&&p.length),c=e.headers??[],u=c.some(v=>v.name.toLowerCase()==="accept-encoding"&&/gzip|deflate/.test(v.value)),d=["#include <curl/curl.h>","","int main(void) {"," curl_global_init(CURL_GLOBAL_DEFAULT);"," CURL *curl = curl_easy_init();"," if (!curl) {"," curl_global_cleanup();"," return 1;"," }","",` curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${Ao(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${Ao(a)}");`];if((m=t==null?void 0:t.auth)!=null&&m.username&&t.auth.password&&d.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${Ao(`${t.auth.username}:${t.auth.password}`)}");`),i&&(d.push(""," struct curl_slist *headers = NULL;
134"),c.forEach(v=>{d.push(` headers = curl_slist_append(headers, "${Ao(`${v.name}: ${v.value}`)}");`)}),d.push(" curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),o){const v=hUe(e.cookies);v&&d.push("",` curl_easy_setopt(curl, CURLOPT_COOKIE, "${Ao(v)}");`)}if(u&&d.push("",' curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),s){if(l&&s.params)d.push(""," curl_mime *mime = curl_mime_init(curl);"),s.params.forEach(v=>{d.push(""," {"," curl_mimepart *part = curl_mime_addpart(mime);"),v.name&&d.push(` curl_mime_name(part, "${Ao(v.name)}");`),v.fileName!==void 0?d.push(` curl_mime_filedata(part, "${Ao(v.fileName)}");`):d.push(` curl_mime_data(part, "${Ao(v.value??"")}", CURL_ZERO_TERMINATED);`),v.contentType&&d.push(` curl_mime_type(part, "${Ao(v.contentType)}");`),d.push(" }")}),d.push(""," curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if(s.mimeType==="application/x-www-form-urlencoded"&&((g=s.params)!=null&&g.length)){const v=pUe(s.params);v!==null&&d.push("",` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${Ao(v)}");`)}else if(s.mimeType==="application/json"&&s.text!==void 0)d.push("",...OC(vC(s.text)));else if(s.text!==void 0){const v=s.mimeType==="application/octet-stream"?s.text:vC(s.text);d.push("",...OC(v))}}return d.push(""," CURLcode res = curl_easy_perform(curl);"),d.push(" curl_easy_cleanup(curl);"),l&&d.push(" curl_mime_free(mime);"),i&&d.push(" curl_slist_free_all(headers);"),d.push(" curl_global_cleanup();",""," return (int)res;","}"),d.join(` 135`)}};function zQ(e){return{...e,method:(e.method||"GET").toUpperCase()}}function lc(e){return e!=null&&e.length?`?${e.map(n=>`${n.name}=${n.value}`).join("&")}`:""}const gu=e=>(e||"GET").toUpperCase(),l1=e=>{if(!e)return"";try{const t=new URL(e);return t.pathname==="/"?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},Qd=(e,t)=>{const n=lc(t);return n?e?`${e}${e.includes("?")?"&":"?"}${n.slice(1)}`:n:e},c1=(e,t)=>{const n=new Map;if(e==null||e.forEach(r=>{r.name&&n.set(r.name,r.value??"")}),t!=null&&t.length){const r=t.map(a=>`${encodeURIComponent(a.name)}=${encodeURIComponent(a.value)}`).join("; ");n.set("Cookie",r)}return Array.from(n.entries()).map(([r,a])=>({name:r,value:a}))},tl=(e,t,n)=>{const r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function bu(e=[]){return e.reduce((t,{name:n,value:r})=>(tl(t,n,r),t),{})}function gUe(e,t){return`${e}${t}`}function bUe(e){const t={};if(e.headers)for(const n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);if(e.cookies&&e.cookies.length>0){const n=e.cookies.map(r=>`${encodeURIComponent(r.name)}=${encodeURIComponent(r.value)}`).join("; ");t.Cookie=n}return t}const C5=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');class vb{constructor(t){Zr(this,"name");this.name=t}toString(){return`:${this.name}`}}let $5=class{constructor(t){Zr(this,"path");this.path=t}toString(){return`(clojure.java.io/file "${C5(this.path)}")`}};const HQ=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof vb)&&!(e instanceof $5)&&Object.keys(e).length===0,yUe=e=>{for(const t of Object.keys(e))HQ(e[t])&&delete e[t];return e},d2=(e,t)=>t.replace(/\n/g,` 136${" ".repeat(e)}`),m3=e=>{if(e==null)return"nil";if(e instanceof vb||e instanceof $5)return e.toString();if(typeof e=="string")return`"${C5(e)}"`;if(Array.isArray(e)){const t=e.reduce((n,r)=>`${n} ${m3(r)}`,"").trim();return`[${d2(1,t)}]`}if(Ht(e)){const t=Object.keys(e).reduce((n,r)=>{const a=d2(r.length+2,m3(e[r]));return`${n}:${r} ${a} 137 `},"").trim();return`{${d2(1,t)}}`}return String(e)},VQ=(e,t)=>Object.keys(e).find(n=>n.toLowerCase()===t.toLowerCase()),cg=(e,t)=>{const n=VQ(e,t);n&&delete e[n]},vUe=["get","post","put","delete","patch","head","options"],OUe={target:"clojure",client:"clj_http",title:"clj-http",generate(e,t){var m,g,v;const n=gu(e==null?void 0:e.method).toLowerCase();if(!vUe.includes(n))return"Method not supported";const r=new URL((e==null?void 0:e.url)??"");let a=r.pathname==="/"?r.origin:r.toString();const i=bu([...Array.from(r.searchParams.entries()).map(([k,S])=>({name:k,value:S})),...(e==null?void 0:e.queryString)??[]]);Object.keys(i).length>0&&(a=a.split("?")[0]??a);const o=((e==null?void 0:e.headers)??[]).reduce((k,S)=>(k[S.name]=S.value??"",k),{});(m=e==null?void 0:e.cookies)!=null&&m.length&&(o.Cookie=e.cookies.map(k=>`${encodeURIComponent(k.name)}=${encodeURIComponent(k.value)}`).join("; "));const s={headers:o,"query-params":i};(g=t==null?void 0:t.auth)!=null&&g.username&&((v=t==null?void 0:t.auth)!=null&&v.password)&&(s["basic-auth"]=[t.auth.username,t.auth.password]);const l=e==null?void 0:e.postData;switch(l==null?void 0:l.mimeType){case"application/json":{if(s["content-type"]=new vb("json"),l.text)try{s["form-params"]=JSON.parse(l.text)}catch{s.body=l.text}cg(o,"content-type");break}case"application/x-www-form-urlencoded":{s["form-params"]=(l.params??[]).reduce((k,S)=>(S.name&&S.value!==void 0&&(k[S.name]=S.value),k),{}),cg(o,"content-type");break}case"multipart/form-data":{l.params&&(s.multipart=l.params.map(k=>typeof k.fileName=="string"&&!k.value?{name:k.name,content:new $5(k.fileName)}:{name:k.name,content:k.value})),cg(o,"content-type");break}default:l!=null&&l.text&&(s.body=l.text,cg(o,"content-type"))}const c=VQ(o,"accept");c&&o[c]==="application/json"&&(s.accept=new vb("json"),delete o[c]);const u=yUe(s),d=`(require '[clj-http.client :as client]) 138`,f=C5(a);if(HQ(u))return`${d} 139(client/${n} "${f}")`;const h=11+n.length+f.length,p=d2(h,m3(u));return`${d} 140(client/${n} "${f}" ${p})`}},SUe={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){const n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();const r=lc(n.queryString),a=`${n.url}${r}`,i=[];i.push("using var client = new HttpClient();"),i.push("");const o=wUe(n.method);return i.push(`var request = new HttpRequestMessage(${o}, "${a}");`),xUe(i,n,t),kUe(i,n),i.push(""),i.push("using var response = await client.SendAsync(request);"),i.join(` 141`)}};function wUe(e){switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post";case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete";case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head";case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`}}function xUe(e,t,n){var s,l;const r=t.headers||[],a=t.cookies||[],i=r.find(c=>c.name.toLowerCase()==="authorization");if(i){const[c,u]=i.value.split(" ",2);c&&u&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${c}", "${u}");`)}else if((s=n==null?void 0:n.auth)!=null&&s.username&&((l=n==null?void 0:n.auth)!=null&&l.password)){const c=uo(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${c}");`)}const o=new Map;for(const c of r){const u=c.name,d=c.value;u.toLowerCase()!=="authorization"&&o.set(u,d)}for(const[c,u]of o)if(c.toLowerCase()==="accept"&&AUe(u))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${u}"));`);else{if(c.toLowerCase()==="content-type"&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${c}", "${u}");`)}if(a.length>0){const c=a.map(u=>`${u.name}=${u.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${c}");`)}}function kUe(e,t){if(!t.postData)return;const{mimeType:n,text:r,params:a}=t.postData;if(n==="application/json"&&r)try{const i=JSON.parse(r),o=JSON.stringify(i,null,2),s=k4(o);e.push("request.Content = new StringContent("),e.push(`${s},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{const i=k4(r);e.push("request.Content = new StringContent("),e.push(`${i},`),e.push('System.Text.Encoding.UTF8, "application/json");')}else if(n==="application/x-www-form-urlencoded"&&a){const i=a.map(s=>s.name);if(i.length!==new Set(i).size){e.push("var formParams = new List<KeyValuePair<string, string>>"),e.push("{");
141for(const s of a)e.push(` new("${s.name}", "${s.value}"),`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}else{e.push("var formParams = new Dictionary<string, string>"),e.push("{");for(const s of a)e.push(` ["${s.name}"] = "${s.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if(n==="multipart/form-data"&&a){e.push("var content = new MultipartFormDataContent();");let i=0;for(const o of a)if(o.fileName!==void 0)if(o.contentType){const s=`fileContent${i++}`;e.push(`var ${s} = new StreamContent(File.OpenRead("${Us(o.fileName)}"));`),e.push(`${s}.Headers.ContentType = new MediaTypeHeaderValue("${o.contentType}");`),e.push(`content.Add(${s}, "${Us(o.name)}", "${Us(o.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${Us(o.fileName)}")), "${Us(o.name)}", "${Us(o.fileName)}");`);else if(o.contentType){const s=`stringContent${i++}`;e.push(`var ${s} = new StringContent("${Us(o.value??"")}");`),e.push(`${s}.Headers.ContentType = new MediaTypeHeaderValue("${o.contentType}");`),e.push(`content.Add(${s}, "${Us(o.name)}");`)}else e.push(`content.Add(new StringContent("${Us(o.value??"")}"), "${Us(o.name)}");`);e.push("request.Content = content;")}else if(n==="application/octet-stream"&&r)e.push('var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("'+r.replace(/"/g,'\\"')+'"));'),e.push('content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'),e.push("request.Content = content;");else if(r){const i=k4(r);e.push("request.Content = new StringContent("),e.push(`${i},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function k4(e){let t=3;for(;e.includes('"'.repeat(t));)t++;const n='"'.repeat(t);return`${n} 142${e} 143${n}`}function Us(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function AUe(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}const TUe=e=>{if(!e)return!1;const{subtype:t}=V0(e);return t==="json"||t.endsWith("+json")},EUe=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,ya=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),_Ue=e=>{let t=3;for(;e.includes('"'.repeat(t));)t++;const n='"'.repeat(t);return`${n} 144${e} 145${n}`},CUe={target:"csharp",client:"restsharp",title:"RestSharp",generate(e,t){var c,u;const n={method:"GET",url:"",...e};n.method=n.method.toUpperCase();const r=Qd(n.url,n.queryString);let a="";try{a=new URL(r).host}catch{}const i=[];i.push(`var client = new RestClient("${ya(r)}");`),i.push(`var request = new RestRequest("", ${EUe(n.method)});`);const{username:o,password:s}=(t==null?void 0:t.auth)??{},l=!!(o&&s);if(l){const d=uo(`${o}:${s}`);i.push(`request.AddHeader("Authorization", "Basic ${d}");`)}if((c=n.headers)==null||c.forEach(d=>{l&&d.name.toLowerCase()==="authorization"||i.push(`request.AddHeader("${ya(d.name)}", "${ya(d.value)}");`)}),(u=n.cookies)==null||u.forEach(d=>{i.push(`request.AddCookie("${ya(d.name)}", "${ya(d.value)}", "/", "${ya(a)}");`)}),n.postData){const{mimeType:d,text:f,params:h}=n.postData,p=d?V0(d).essence:void 0;if(TUe(d)){if(f){let m=f;try{m=JSON.stringify(JSON.parse(f),null,2)}catch{}i.push(`request.AddStringBody(${_Ue(m)}, ContentType.Json);`)}}else p==="application/x-www-form-urlencoded"&&h?h.forEach(m=>{i.push(`request.AddParameter("${ya(m.name)}", "${ya(m.value??"")}");`)}):p==="multipart/form-data"&&h?h.forEach(m=>{m.fileName!==void 0?m.contentType?i.push(`request.AddFile("${ya(m.name)}", "${ya(m.fileName)}", "${ya(m.contentType)}");`):i.push(`request.AddFile("${ya(m.name)}", "${ya(m.fileName)}");`):i.push(`request.AddParameter("${ya(m.name)}", "${ya(m.value??"")}");`)}):p==="application/octet-stream"&&f?i.push(`request.AddParameter("application/octet-stream", "${ya(f)}", ParameterType.RequestBody);`):f&&i.push(`request.AddParameter("${ya(d??"")}", "${ya(f)}", ParameterType.RequestBody);`)}return i.push("var response = await client.ExecuteAsync(request);"),i.join(` 146`)}},$Ue={target:"dart",client:"http",title:"Http",generate(e,t){var h,p,m;const n={method:"GET",...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http; 147 148void main() async { 149`,a="",i="";n.cookies&&n.cookies.length>0&&(i=n.cookies.map(g=>`${encodeURIComponent(g.name)}=${encodeURIComponent(g.value)}`).join("; "),a=` "Cookie": "${i}", 150`);const o=((h=n.headers)==null?void 0:h.reduce((g,v)=>(v.value&&!/[; ]/.test(v.name)&&(g[v.name]=v.value),g),{}))||{};if(t!=null&&t.auth){const{username:g,password:v}=t.auth;if(g&&v){const k=`${g}:${v}`;o.Authorization=`'Basic ' + base64Encode(utf8.encode('${k}'))`}}if(a&&(o.Cookie=i),Object.keys(o).length>0){r+=` final headers = <String,String>{ 151`;for(const[g,v]of Object.entries(o))v.includes("utf8.encode")?r+=` '${g}': ${v}, 152`:r+=` '${g}': '${v}', 153`;r+=` }; 154 155`}const s=(p=n.queryString)!=null&&p.length?"?"+n.queryString.map(g=>`${g.name}=${g.value}`).join("&"):"",l=`${n.url}${s}`;let c="";if(n.postData)if(n.postData.mimeType==="application/json")c=` final body = r'${n.postData.text}'; 156 157`;else if(n.postData.mimeType==="application/x-www-form-urlencoded")c=` final body = '${((m=n.postData.params)==null?void 0:m.map(g=>`${encodeURIComponent(g.name)}=${encodeURIComponent(g.value??"")}`).join("&"))||""}'; 158 159`;else if(n.postData.mimeType==="multipart/form-data"){c=` final body = <String,String>{ 160`;for(const g of n.postData.params||[]){const v=g.value||"",k=g.fileName||"";c+=` '${g.name}': '${k||v}', 161`}c+=` }; 162 163`}else n.postData.mimeType==="application/octet-stream"&&(c=` final body = '${n.postData.text}'; 164 165`);c&&(r+=c);const u=n.method.toLowerCase(),d=Object.keys(o).length>0?", headers: headers":"";return r+=` final response = await http.${u}(Uri.parse('${l}')${d}${c?", body: body":""}); 166`,r+=` print(response.body); 167`,r+="}",r}},PUe={target:"fsharp",client:"httpclient",title:"HttpClient",generate:(e,t)=>
167{if(!e)return"";const n=RUe(e.url,e.queryString);let r="";return r+=NUe(e.method,n),e.headers&&e.headers.length>0&&(r+=MUe(e.headers)),e.postData&&(r+=DUe(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=LUe(e.cookies,e.url),r+=`let client = new HttpClient(handler) 168`):r+=`let client = new HttpClient() 169`,r+=`let! result = client.SendAsync(httpRequestMessage) 170`,r}};function IUe(e){return!e||e.length===0?"":"?"+e.map(n=>`${n.name}=${n.value}`).join("&")}function RUe(e,t){return e?!t||t.length===0?e:e+IUe(t):""}function NUe(e,t){return`let httpRequestMessage = new HttpRequestMessage( 171 HttpMethod("${e}"), 172 new Uri("${Ya(t)}") 173) 174 175`}function MUe(e){let t="";for(const n of e)t+=`httpRequestMessage.Headers.Add("${Ya(n.name??"")}", "${Ya(n.value??"")}") 176`;return t+=` 177`,t}function LUe(e,t){let n=`let cookieContainer = CookieContainer() 178`;for(const r of e)n+=`cookieContainer.Add(Uri("${Ya(t)}"), Cookie("${Ya(r.name??"")}", "${Ya(r.value??"")}")) 179`;return n+=`use handler = new HttpClientHandler() 180`,n+=`handler.CookieContainer <- cookieContainer 181 182`,n}function DUe(e){if(!e)return"";let t="";switch(e.mimeType){case"multipart/form-data":t+=UUe(e);break;case"application/x-www-form-urlencoded":t+=FUe(e);break;case"application/json":t+=jUe(e);break;default:t+=BUe(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content 183 184`,t}function BUe(e,t){let n=`let content = new StringContent("${Ya(e.text??"")}", Encoding.UTF8, "${Ya(t??"")}") 185`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${Ya(t??"")}") 186`,n}function UUe(e){let t=`let content = new MultipartFormDataContent() 187`,n=0,r=0;for(const a of e.params)if(a.value==="BINARY"){const i=Ya(a.fileName??"");t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${i}")) 188`,a.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${Ya(a.contentType)}") 189`),t+=`content.Add(fileStreamContent_${n}, "${i}", "${i}") 190`,n++}else{const i=Ya(a.name??""),o=Ya(a.value??"");a.contentType?(t+=`let stringContent_${r} = new StringContent("${o}") 191`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${Ya(a.contentType)}") 192`,t+=`content.Add(stringContent_${r}, "${i}") 193`,r++):t+=`content.Add(new StringContent("${o}"), "${i}") 194`}return t}function jUe(e){let t;try{t=JSON.stringify(JSON.parse(e.text??"{}"),null,2)}catch{t=e.text??"{}"}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json") 195`}function FUe(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>() 196`;for(const n of e.params)t+=`formUrlEncodedContentDictionary.Add("${Ya(n.name??"")}", "${Ya(n.value??"")}") 197`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary) 198`,t}function Ya(e){return e==null?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}const QUe=e=>e.includes(" ")?e:gi(e),gi=e=>JSON.stringify(e),zUe=e=>{if(e===void 0)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},HUe=e=>!e.includes("`"),VUe=(e,t=!1)=>t&&HUe(e)?`\`${e}\``:gi(e),qUe=e=>{var r,a;const t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:"nil",needsMultipartContentTypeHeader:!1};if(e.mimeType==="application/x-www-form-urlencoded"&&((r=e.params)!=null&&r.length))return t.add('neturl "net/url"'),t.add("strings"),{imports:t,setupLines:["postData := neturl.Values{}",...e.params.map(i=>`postData.Set(${gi(i.name)}, ${gi(i.value??"")})`)],requestBody:"strings.NewReader(postData.Encode())",needsMultipartContentTypeHeader:!1};if(e.mimeType==="multipart/form-data"&&((a=e.params)!=null&&a.length)){t.add("bytes"),t.add("mime/multipart");const i=["payload := &bytes.Buffer{}","writer := multipart.NewWriter(payload)"],o=e.params.some(c=>c.fileName!==void 0);let s=!1,l=!1;return o&&(t.add("os"),t.add("io")),e.params.forEach(c=>{i.push(""),c.fileName!==void 0?(i.push(`part, _ ${s?"=":":="} writer.CreateFormFile(${gi(c.name)}, ${gi(c.fileName)})`),i.push(""),i.push(`f, _ ${l?"=":":="} os.Open(${gi(c.fileName)})`),i.push("defer f.Close()"),i.push(""),i.push("_, _ = io.Copy(part, f)"),s=!0,l=!0):i.push(`_ = writer.WriteField(${gi(c.name)}, ${gi(c.value??"")})`)}
198),i.push("writer.Close()"),{imports:t,setupLines:i,requestBody:"payload",needsMultipartContentTypeHeader:!0}}t.add("strings");const n=e.mimeType==="application/json"?zUe(e.text):e.text??"";return{imports:t,setupLines:[`payload := strings.NewReader(${VUe(n,e.mimeType==="application/json")})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}},ZUe=e=>Array.from(new Set(["fmt","io","net/http",...e])).sort(),XUe={target:"go",client:"native",title:"NewRequest",generate(e,t){var l,c,u;if(!e)return"";const n=gu(e.method),r=l1(Qd(e.url??"",e.queryString)),a=c1(e.headers,e.cookies),i=qUe(e.postData),s=["package main","","import (",...ZUe(i.imports).map(d=>` ${QUe(d)}`),")","","func main() {",` requestUrl := ${gi(r)}`,"",...i.setupLines.map(d=>d?` ${d}`:"")];return i.setupLines.length&&s.push(""),s.push(` req, _ := http.NewRequest(${gi(n)}, requestUrl, ${i.requestBody})`),s.push(""),i.needsMultipartContentTypeHeader&&s.push(' req.Header.Set("Content-Type", writer.FormDataContentType())'),(l=t==null?void 0:t.auth)!=null&&l.username&&((c=t==null?void 0:t.auth)!=null&&c.password)&&s.push(` req.SetBasicAuth(${gi(t.auth.username)}, ${gi(t.auth.password)})`),a.forEach(d=>{s.push(` req.Header.Add(${gi(d.name)}, ${gi(d.value)})`)}),(i.needsMultipartContentTypeHeader||a.length||(u=t==null?void 0:t.auth)!=null&&u.username&&t.auth.password)&&s.push(""),s.push(" res, _ := http.DefaultClient.Do(req)"),s.push(""),s.push(" defer res.Body.Close()"),s.push(" body, _ := io.ReadAll(res.Body)"),s.push(""),s.push(" fmt.Println(res)"),s.push(" fmt.Println(string(body))"),s.push(""),s.push("}"),s.join(` 199`)}},WUe={target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){const t={method:"GET",headers:[],queryString:[],...e};t.method=t.method.toUpperCase();let n,r;try{n=new URL(t.url||"http://"),r=n.pathname+(n.search||"")}catch{r=t.url||"/"}const a=(n==null?void 0:n.hostname)||"UNKNOWN_HOSTNAME";let i=`${t.method} ${r} HTTP/1.1\r 200`;if(t.queryString.length){const l=t.queryString.map(c=>`${c.name}=${c.value}`).join("&");i=`${t.method} ${r}?${l} HTTP/1.1\r 201`}const o=new Map;if(o.set("Host",a),t.headers.forEach(l=>{o.has(l.name)?o.set(l.name,`${o.get(l.name)}, ${l.value}`):o.set(l.name,l.value)}),t.queryString.length){const l=t.queryString.map(c=>`${c.name}=${c.value}`).join("&");i=`${t.method} ${r}?${l} HTTP/1.1\r 202`}let s="";if(t.postData){if(t.postData.mimeType==="application/json"&&t.postData.text)o.set("Content-Type","application/json"),s=t.postData.text;else if(t.postData.mimeType==="application/octet-stream"&&t.postData.text)o.set("Content-Type","application/octet-stream"),s=t.postData.text;else if(t.postData.mimeType==="application/x-www-form-urlencoded"&&t.postData.params){const l=t.postData.params.map(c=>`${encodeURIComponent(c.name)}=${encodeURIComponent(c.value??"")}`).join("&");o.set("Content-Type","application/x-www-form-urlencoded"),s=l}else if(t.postData.mimeType==="multipart/form-data"&&t.postData.params){const l="----WebKitFormBoundary7MA4YWxkTrZu0gW";o.set("Content-Type",`multipart/form-data; boundary=${l}`),s=t.postData.params.map(c=>{const u=c.contentType?`Content-Type: ${c.contentType}\r 203`:"";return c.fileName?`--${l}\r 204Content-Disposition: form-data; name="${c.name}"; filename="${c.fileName}"\r 205${u}\r 206`:`--${l}\r 207Content-Disposition: form-data; name="${c.name}"\r 208${u}\r 209${c.value??""}\r 210`}).join("")+`--${l}--\r 211`}}return o.forEach((l,c)=>{i+=`${c}: ${l}\r 212`}),i+=`\r 213${s}`,i}},Qn=e=>`"${Array.from(e,t=>{const n=t.charCodeAt(0);return n<32&&![` 214`,"\r"," ","\b","\f"].includes(t)?`\\${n.toString(8).padStart(3,"0")}`:JSON.stringify(t).slice(1,-1)}).join("")}"`,P5=e=>e?["java.io.ByteArrayOutputStream body = new java.io.ByteArrayOutputStream();",...e.map(t=>"file"in t?`body.write(java.nio.file.Files.readAllBytes(java.nio.file.Path.of(${Qn(t.file)})));`:`body.write(${Qn(t.text)}.getBytes(java.nio.charset.StandardCharsets.UTF_8));`),""]:[],SC=e=>e.replaceAll("\r","%0D").replaceAll(` 215`,"%0A").replaceAll('"',"%22"),YUe=e=>{const t=JSON.stringify(e);let n="scalar-boundary";for(;t.includes(n);)n+="-";const r=[];for(const a of e){const i=a.fileName!==void 0?`; filename="${SC(a.fileName)}"`:"",o=a.contentType??(a.fileName!==void 0?"application/octet-stream":void 0);r.push({text:`--${n}\r 216Content-Disposition: form-data; name="${SC(a.name)}"${i}\r 217${o?`Content-Type: ${o}\r 218`:""}\r 219`}),r.push(a.fileName!==void 0?{file:a.fileName}:{text:a.value??""}),r.push({text:`\r 220`})}return r.push({text:`--${n}--\r 221`}),{contentType:`multipart/form-data; boundary=${n}`,body:r}},zd=(e={},t)=>{var l;const n=[...e.headers??[],...c1([],e.cookies)];(l=t==null?void 0:t.auth)!=null&&l.username&&t.auth.password&&n.push({name:"Authorization",value:`Basic ${DM.encode(`${t.auth.username}:${t.auth.password}`)}`});const r=e.postData,a=(r==null?void 0:r.mimeType)==="multipart/form-data"&&r.params?YUe(r.params):void 0,i=(a==null?void 0:a.body)??(r?[{text:r.mimeType==="application/x-www-form-urlencoded"&&r.params?new URLSearchParams(r.params.map(({name:c,value:u})=>[c,u??""])).toString():r.text??""}]:void 0),o=(a==null?void 0:a.contentType)??(r==null?void 0:r.mimeType),s=a?n.filter(({name:c}
221)=>c.toLowerCase()!=="content-type"):n;return o&&!s.some(({name:c})=>c.toLowerCase()==="content-type")&&s.push({name:"Content-Type",value:o}),{url:l1(Qd(e.url??"",e.queryString)),method:gu(e.method),headers:s,body:i}},GUe={target:"java",client:"asynchttp",title:"AsyncHttp",generate(e,t){const{url:n,method:r,headers:a,body:i}=zd(e,t);return[...P5(i),"try (AsyncHttpClient client = new DefaultAsyncHttpClient()) {",` Response response = client.prepare(${Qn(r)}, ${Qn(n)})`,...a.map(({name:o,value:s})=>` .addHeader(${Qn(o)}, ${Qn(s)})`),...i?[" .setBody(body.toByteArray())"]:[]," .execute()"," .get();"," System.out.println(response.getResponseBody());","}"].join(` 222`)}},KUe={target:"java",client:"nethttp",title:"java.net.http",generate(e,t){const{url:n,method:r,headers:a,body:i}=zd(e,t);return[...P5(i),"HttpClient client = HttpClient.newHttpClient();","HttpRequest request = HttpRequest.newBuilder()",` .uri(java.net.URI.create(${Qn(n)}))`,...a.map(({name:o,value:s})=>` .header(${Qn(o)}, ${Qn(s)})`),` .method(${Qn(r)}, HttpRequest.BodyPublishers.${i?"ofByteArray(body.toByteArray())":"noBody()"})`," .build();","","HttpResponse<String>
222 response = client.send(request, HttpResponse.BodyHandlers.ofString());","System.out.println(response.body());"].join(` 223`)}},JUe={target:"java",client:"okhttp",title:"OkHttp",generate(e,t){const{url:n,method:r,headers:a}=zd(e,t),i=["GET","HEAD"].includes(r)||e==null?void 0:e.postData,o=(i==null?void 0:i.mimeType)==="multipart/form-data"&&i.params,s=(i==null?void 0:i.mimeType)==="application/x-www-form-urlencoded"&&i.params,l=["OkHttpClient client = new OkHttpClient();",""];if(o){l.push("RequestBody body = new MultipartBody.Builder()"," .setType(MultipartBody.FORM)");for(const d of o){const f=Qn(d.name),h=Qn(d.value??"");d.fileName!==void 0?l.push(` .addFormDataPart(${f}, ${Qn(d.fileName)}, RequestBody.create(MediaType.parse(${Qn(d.contentType??"application/octet-stream")}), new java.io.File(${Qn(d.fileName)})))`):d.contentType?l.push(` .addFormDataPart(${f}, null, RequestBody.create(MediaType.parse(${Qn(d.contentType)}), ${h}))`):l.push(` .addFormDataPart(${f}, ${h})`)}l.push(" .build();","")}else if(s){l.push("RequestBody body = new FormBody.Builder()");for(const d of s)l.push(` .add(${Qn(d.name)}, ${Qn(d.value??"")})`);l.push(" .build();","")}else i&&l.push(`RequestBody body = RequestBody.create(${i.mimeType?`MediaType.parse(${Qn(i.mimeType)})`:"null"}, ${Qn(i.text??"")});`,"");const c=["POST","PUT","PATCH","PROPPATCH","REPORT"].includes(r)?'RequestBody.create(null, "")':"null",u=i?"body":c;l.push("Request request = new Request.Builder()",` .url(${Qn(n)})`,` .method(${Qn(r)}, ${u})`);for(const{name:d,value:f}of a)(!o||d.toLowerCase()!=="content-type")&&l.push(` .addHeader(${Qn(d)}, ${Qn(f)})`);return l.push(" .build();","","try (Response response = client.newCall(request).execute()) {"," System.out.println(response.body().string());","}"),l.join(` 224`)}},eje={target:"java",client:"unirest",title:"Unirest",generate(e,t){const{url:n,method:r,headers:a,body:i}=zd(e,t);return[...P5(i),`HttpResponse<String> response = Unirest.request(${Qn(r)}, ${Qn(n)})`,...a.map(({name:o,value:s})=>` .header(${Qn(o)}, ${Qn(s)})`),...i?[" .body(body.toByteArray())"]:[]," .asString();","System.out.println(response.getBody());"].join(` 225`)}};function tje(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function nje(e){return e.replaceAll("\\","\\\\").replaceAll(` 226`,"\\n").replaceAll("\r","\\r").replaceAll("'","\\'")}let jo=class{constructor(t){Zr(this,"value");this.value=t}};function fo(e,t=0){const n=[],r=" ".repeat(t),a=" ".repeat(t+2);if(Object.keys(e).length===0)return"{}";for(const[i,o]of Object.entries(e)){const s=tje(i)?`'${nje(i)}'`:i;if(o instanceof jo){const l=o.value.split(` 227`);let c=`${o.value}`;l.length>1&&(c=l.map((u,d)=>d===0?u:`${a}${u}`).join(` 228`)),n.push(`${a}${s}: ${c}`)}else if(Array.isArray(o)){const l=o.map(c=>typeof c=="string"?`'${c}'`:c&&typeof c=="object"?fo(c):JSON.stringify(c));if(l.some(c=>c.includes(` 229`))){const c=l.map(u=>rje(u,t+4)).join(`, 230`);n.push(`${a}${s}: [ 231${c} 232${a}]`)}else n.push(`${a}${s}: [${l.join(", ")}]`)}else if(o&&typeof o=="object")n.push(`${a}${s}: ${fo(o,t+2)}`);else if(typeof o=="string"){const l=`'${o}'`;n.push(`${a}${s}: ${l}`)}else n.push(`${a}${s}: ${o}`)}return`{ 233${n.join(`, 234`)} 235${r}}`}function rje(e,t){const n=" ".repeat(t);return e.split(` 236`).map(r=>`${n}${r}`).join(` 237`)}const Eo=e=>e.replaceAll("\\","\\\\").replaceAll(` 238`,"\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),Sm=e=>typeof e=="string"?Eo(e):Array.isArray(e)?e.map(t=>Sm(t)):e&&typeof e=="object"&&!(e instanceof jo)?Object.entries(e).reduce((t,[n,r])=>(t[n]=Sm(r),t),{}):e,wC=(e,t,n)=>{if(n===""){e[t]=n;return}tl(e,t,n)},aje=e=>{var n,r;const t={};if((n=e==null?void 0:e.headers)==null||n.forEach(a=>{wC(t,a.name,a.value)}),(r=e==null?void 0:e.cookies)!=null&&r.length){const a=e.cookies.map(i=>`${i.name}=${i.value}`).join("; ");wC(t,"Cookie",a)}return Object.keys(t).length?t:void 0},ije=e=>{var r,a;const t=[],n=e==null?void 0:e.postData;if(!n)return{setup:t};if(n.mimeType==="application/json"){if(!n.text)return{setup:t};try{return{setup:t,data:JSON.parse(n.text)}}catch{return{setup:t,data:n.text}}}return n.mimeType==="application/x-www-form-urlencoded"&&((r=n.params)!=null&&r.length)?(t.push("const encodedParams = new URLSearchParams()"),n.params.forEac
238h(i=>{const o=Eo(i.name),s=Eo(i.value??"");t.push(`encodedParams.append('${o}', '${s}')`)}),{setup:t,data:new jo("encodedParams")}):n.mimeType==="multipart/form-data"&&((a=n.params)!=null&&a.length)?(t.push("const formData = new FormData()"),n.params.forEach(i=>{const o=Eo(i.name);if(i.fileName!==void 0){const l=Eo(i.fileName),c=i.contentType?`, { type: '${Eo(i.contentType)}' }`:"";t.push(`formData.append('${o}', new Blob([]${c}), '${l}')`);return}if(i.contentType){const l=Eo(i.contentType),c=Eo(i.value??"");t.push(`formData.append('${o}', new Blob(['${c}'], { type: '${l}' }))`);return}const s=Eo(i.value??"");t.push(`formData.append('${o}', '${s}')`)}),{setup:t,data:new jo("formData")}):n.text?{setup:t,data:n.text}:{setup:t}},qQ=e=>({target:e,client:"axios",title:"Axios",generate(t,n){var u,d;const r={method:"GET",...t};r.method=r.method.toUpperCase();const a={method:r.method,url:Eo(r.url??"")},i=bu(r.queryString);Object.keys(i).length&&(a.params=Sm(i));const o=aje(r);o&&(a.headers=Sm(o)),(u=n==null?void 0:n.auth)!=null&&u.username&&((d=n==null?void 0:n.auth)!=null&&d.password)&&(a.auth={username:Eo(n.auth.username),password:Eo(n.auth.password)});const{setup:s,data:l}=ije(r);return l!==void 0&&(a.data=l instanceof jo?l:Sm(l)),`import axios from 'axios' 239 240${s.length?`${s.join(` 241`)} 242 243`:""}const options = ${fo(a)} 244 245try { 246 const { data } = await axios.request(options) 247 console.log(data) 248} catch (error) { 249 console.error(error) 250}`}}),oje=qQ("js"),sje={target:"js",client:"fetch",title:"Fetch",generate(e){var o,s;const t={method:"GET",...e};let n="";t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method},a=lc(t.queryString);if((o=t.headers)!=null&&o.length&&(r.headers={},t.headers.forEach(l=>{r.headers[l.name]=l.value})),(s=t.cookies)!=null&&s.length&&(r.headers=r.headers||{},t.cookies.forEach(l=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${l.name}=${l.value}`:`${l.name}=${l.value}`})),Object.keys(r).forEach(l=>{r[l]===void 0&&delete r[l]}),t.postData){const{mimeType:l,text:c,params:u}=t.postData;if(l==="application/json"&&c)try{r.body=new jo(`JSON.stringify(${fo(JSON.parse(c))})`)}catch{r.body=c}else if(l==="multipart/form-data"&&u)n=`const formData = new FormData() 251`,u.forEach(d=>{d.fileName!==void 0?n+=`formData.append('${d.name}', new Blob([]), '${d.fileName}') 252`:d.value!==void 0&&(n+=`formData.append('${d.name}', '${d.value}') 253`)}),n+=` 254`,r.body=new jo("formData");else if(l==="application/x-www-form-urlencoded"&&u){const d=Object.fromEntries(u.map(f=>[f.name,f.value]));r.body=new jo(`new URLSearchParams(${fo(d)})`)}else r.body=t.postData.text}const i=Object.keys(r).length?`, ${fo(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},ZQ=(e={},t)=>{var c,u,d;const n=[...e.headers??[]];(c=t==null?void 0:t.auth)!=null&&c.username&&t.auth.password&&n.push({name:"Authorization",value:`Basic ${DM.encode(`${t.auth.username}:${t.auth.password}`)}`});const r=[];if((u=e.cookies)!=null&&u.length){r.push("// Run on the request origin to set these cookies in the browser.");for(const{name:f,value:h}of e.cookies)r.push(`document.cookie = ${JSON.stringify(`${encodeURIComponent(f)}=${encodeURIComponent(h)}; path=/`)};`)}const a=e.postData,i=(a==null?void 0:a.mimeType)==="multipart/form-data"&&a.params,o=(a==null?void 0:a.mimeType)==="application/x-www-form-urlencoded"&&a.params;if(i){r.push("const body = new FormData();");const f=i.filter(h=>h.fileName!==void 0&&h.value===void 0);f.length&&(r.push('// Select upload files with an <input type="file" multiple> element first.'),r.push(`const files = document.querySelector('input[type="file"]').files;`));for(const h of i){const p=JSON.stringify(h.name),m=JSON.stringify(h.value??"");if(h.fileName!==void 0){const g=h.value===void 0?`files[${f.indexOf(h)}]`:m;r.push(`body.append(${p}, new File([${g}], ${JSON.stringify(h.fileName)}, { type: ${JSON.stringify(h.contentType??"application/octet-stream")} }));`)}else h.contentType?r.push(`body.append(${p}, new Blob([${m}], { type: ${JSON.stringify(h.contentType)} }));`):r.push(`body.append(${p}, ${m});`)}}else if(o){r.push("const body = new URLSearchParams();");for(const f of o)r.push(`body.append(${JSON.stringify(f.name)}, ${JSON.stringify(f.value??"")});`)}a!=null&&a.mimeType&&!i&&!n.some(({name:f})=>f.toLowerCase()==="content-type")&&n.push({name:"Content-Type",value:a.mimeType});const s=a?JSON.stringify(a.text??""):"null",l=o?"body.toString()":s;return{url:Qd(e.url??"",e.queryString),method:gu(e.method),headers:i?n.filter(({name:f})=>f.toLowerCase()!=="content-type"):n,setup:r,withCredentials:!!((d=e.cookies)!=null&&d.length),body:i?"body":l}},lje={target:"js",client:"jquery",title:"jQuery",generate(e,t){const{url:n,method:r,headers:a,setup:i,body:o,withCredentials:s}=ZQ(e,t);return[...i,"$.ajax({",` url: ${JSON.stringify(n)},`,` method: ${JSON.stringify(r)},`,...s?[" xhrFields: { withCredentials: true },"]:[]," processData: false,"," contentType: false,",...a.length?[" beforeSend(xhr) {",...a.map(({name:l,value:c})=>` xhr.setRequestHeader(${JSON.stringify(l)}, ${JSON.stringify(c)});`)," },"]:[],` data: ${o}`,"}).done((response) => console.log(response));"].join(` 255`)}},cje={target:"js",client:"ofetch",title:"ofetch",generate(e){var a,i,o;const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method};(a=t.queryString)!=null&&a.length&&(n.query=bu(t.queryString)),(i=t.headers)!=null&&i.length&&(n.headers={}
255,t.headers.forEach(s=>{n.headers[s.name]=s.value})),(o=t.cookies)!=null&&o.length&&(n.headers=n.headers||{},t.cookies.forEach(s=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${s.name}=${s.value}`:`${s.name}=${s.value}`})),Object.keys(n).forEach(s=>{n[s]===void 0&&delete n[s]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=JSON.parse(n.body)));const r=Object.keys(n).length?`, ${fo(n)}`:"";return`import { ofetch } from 'ofetch' 256 257ofetch('${t.url}'${r})`}},uje={target:"js",client:"xhr",title:"XHR",generate(e,t){const{url:n,method:r,headers:a,setup:i,body:o}=ZQ(e,t);return[...i,"const xhr = new XMLHttpRequest();",`xhr.open(${JSON.stringify(r)}, ${JSON.stringify(n)});`,"xhr.withCredentials = true;",...a.map(({name:s,value:l})=>`xhr.setRequestHeader(${JSON.stringify(s)}, ${JSON.stringify(l)});`),'xhr.addEventListener("load", () => console.log(xhr.responseText));',`xhr.send(${o});`].join(` 258`)}},dje=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\$/g,"\\$").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),Ja=e=>`"${dje(e)}"`,Ob=(e,t)=>`${" ".repeat(e*4)}${t}`,Km=(e,t,n,r)=>{if(e.length===0)return`${t}${n}`;const[a]=e;if(e.length===1&&a&&!a.includes(` 259`))return`${t}${a}${n}`;const i=e.map(o=>Ob(r+1,o)).join(`, 260`);return`${t} 261${i} 262${Ob(r,n)}`},xC=(e,t)=>Km(e.map(({name:n,value:r})=>`${Ja(n)} => ${Ja(r)}`),"[","]",t),XQ=(e,t)=>Km(e.map(({name:n,value:r})=>`${Ja(n)} => ${Ja(r)}`),"Dict(",")",t),g3=(e,t)=>e==null?"nothing":typeof e=="boolean"?e?"true":"false":typeof e=="number"?Number.isFinite(e)?String(e):"nothing":typeof e=="string"?Ja(e):Array.isArray(e)?Km(e.map(n=>g3(n,t+1)),"[","]",t):Ht(e)?Km(Object.entries(e).map(([n,r])=>`${Ja(n)} => ${g3(r,t+1)}`),"Dict(",")",t):Ja(String(e)),fje=["POST","PUT","PATCH","DELETE","QUERY"],kC=["GET","HEAD","OPTIONS"],Dc=1,hje=e=>{const t=Ja(e.name);if(e.fileName===void 0)return`${t} => ${Ja(e.value??"")}`;const n=Ja(e.fileName),r=[n,`open(${n})`];return e.contentType&&r.push(Ja(e.contentType)),`${t} => HTTP.Multipart(${r.join(", ")})`},pje=e=>{if(!e)return;const{mimeType:t,text:n,params:r}=e;if(t==="application/json"&&n)try{return{value:`JSON.json(${g3(JSON.parse(n),Dc)})`,packages:["JSON"],omitContentType:!1}}catch{}if(t==="multipart/form-data"&&(r!=null&&r.length))return{value:Km(r.map(hje),"HTTP.Form([","])",Dc),packages:[],omitContentType:!0};if(t==="application/x-www-form-urlencoded"&&(r!=null&&r.length))return{value:XQ(r.map(a=>({name:a.name,value:a.value??""})),Dc),packages:[],omitContentType:!1};if(n)return{value:Ja(n),packages:[],omitContentType:!1}},mje=(e,t,n,r)=>{const a=[...t,...n];if(n.length===0&&r.length===0)return[`response = ${e}(${a.join(", ")})`];const i=[`response = ${e}(`];return a.forEach((o,s)=>{const c=s===a.length-1?r.length?";":"":",";i.push(`${Ob(Dc,o)}${c}`)}),r.forEach((o,s)=>{i.push(`${Ob(Dc,o)}${s===r.length-1?"":","}`)}),i.push(")"),i},gje={target:"julia",client:"http",title:"HTTP.jl",generate(e,t){var h,p,m,g;const n={url:"https://example.com",...e},r=gu(n.method),a=pje(n.postData),i=new Map;for(const v of n.headers??[])!v.name||a!=null&&a.omitContentType&&v.name.toLowerCase()==="content-type"||i.set(v.name,v.value??"");const o=[...fje,...kC].includes(r)?r.toLowerCase():void 0,s=o?`HTTP.${o}`:"HTTP.request",l=Ja(n.url),c=o?[l]:[Ja(r),l],u=[],d=[];if(i.size&&u.push(xC([...i].map(([v,k])=>({name:v,value:k})),Dc)),a&&(kC.includes(r)||i.size===0?d.push(`body = ${a.value}`):u.push(a.value)),(h=n.queryString)!=null&&h.length&&d.push(`query = ${xC(n.queryString,Dc)}`),(p=n.cookies)!=null&&p.length&&d.push(`cookies = ${XQ(n.cookies,Dc)}`),(m=t==null?void 0:t.auth)!=null&&m.username&&((g=t==null?void 0:t.auth)!=null&&g.password)){const{username:v,password:k}=t.auth;d.push(`basicauth = (${Ja(v)}, ${Ja(k)})`)}return[...["HTTP",...(a==null?void 0:a.packages)??[]].map(v=>`using ${v}`),"",...mje(s,c,u,d),"","println(String(response.body))"].join(` 263`)}},bje=["GET","POST","PUT","DELETE","PATCH","HEAD"],yje=["POST","PUT","DELETE","PATCH"],sa=e=>JSON.stringify(e).replaceAll("$","\\$"),vje={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e,t){var c,u;const n=gu(e==null?void 0:e.method),r=l1(Qd((e==null?void 0:e.url)??"",e==null?void 0:e.queryString)),a=e==null?void 0:e.postData,i=["val client = OkHttpClient()",""];let o=!1;(a==null?void 0:a.mimeType)==="application/x-www-form-urlencoded"&&a.params?(i.push("val body = FormBody.Builder()"),a.params.forEac
263h(d=>{i.push(` .add(${sa(d.name??"")}, ${sa(d.value??"")})`)}),i.push(" .build()",""),o=!0):(a==null?void 0:a.mimeType)==="multipart/form-data"&&a.params?(i.push("val body = MultipartBody.Builder()"," .setType(MultipartBody.FORM)"),a.params.forEach(d=>{d.fileName!==void 0?i.push(` .addFormDataPart(${sa(d.name??"")}, ${sa(d.fileName)}, RequestBody.create(MediaType.parse(${sa(d.contentType??"application/octet-stream")}), File(${sa(d.fileName)})))`):d.contentType?i.push(` .addFormDataPart(${sa(d.name)}, null, RequestBody.create(MediaType.parse(${sa(d.contentType)}), ${sa(d.value??"")}))`):i.push(` .addFormDataPart(${sa(d.name)}, ${sa(d.value??"")})`)}),i.push(" .build()",""),o=!0):a&&(i.push(`val mediaType = MediaType.parse(${sa(a.mimeType??"")})`),i.push(`val body = RequestBody.create(mediaType, ${sa(a.text??"")})`),o=!0),i.push("val request = Request.Builder()",` .url(${sa(r)})`);const s=["POST","PUT","PATCH","PROPPATCH","REPORT"].includes(n)?'RequestBody.create(null, "")':"null",l=o?"body":s;return bje.includes(n)?yje.includes(n)?i.push(` .${n.toLowerCase()}(${l})`):i.push(` .${n.toLowerCase()}()`):i.push(` .method(${sa(n)}, ${l})`),(c=t==null?void 0:t.auth)!=null&&c.username&&((u=t==null?void 0:t.auth)!=null&&u.password)&&i.push(` .addHeader("Authorization", Credentials.basic(${sa(t.auth.username)}, ${sa(t.auth.password)}))`),[...(e==null?void 0:e.headers)??[],...c1([],e==null?void 0:e.cookies)].forEach(d=>{i.push(` .addHeader(${sa(d.name)}, ${sa(d.value)})`)}),i.push(" .build()","","val response = client.newCall(request).execute()"),i.join(` 264`)}},Oje=qQ("node"),Sje={target:"node",client:"fetch",title:"Fetch",generate(e){var o,s;const t={method:"GET",...e};let n="";t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method},a=lc(t.queryString);if((o=t.headers)!=null&&o.length&&(r.headers={},t.headers.forEach(l=>{r.headers[l.name]=l.value})),(s=t.cookies)!=null&&s.length&&(r.headers=r.headers||{},t.cookies.forEach(l=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${l.name}=${l.value}`:`${l.name}=${l.value}`})),Object.keys(r).forEach(l=>{r[l]===void 0&&delete r[l]}),t.postData){const{mimeType:l,text:c,params:u}=t.postData;let d=!1;if(l==="application/json"&&c)try{r.body=new jo(`JSON.stringify(${fo(JSON.parse(c))})`)}catch{r.body=c}else if(l==="multipart/form-data"&&u)n=`const formData = new FormData() 265`,u.forEach(f=>{f.fileName!==void 0?(d||(n=`import fs from 'node:fs' 266 267${n}`,d=!0),n+=`formData.append('${f.name}', new Blob([fs.readFileSync('${f.fileName}')]), '${f.fileName}') 268`):f.value!==void 0&&(n+=`formData.append('${f.name}', '${f.value}') 269`)}),n+=` 270`,r.body=new jo("formData");else if(l==="application/x-www-form-urlencoded"&&u){const f=Object.fromEntries(u.map(h=>[h.name,h.value]));r.body=new jo(`new URLSearchParams(${fo(f)})`)}else r.body=t.postData.text}const i=Object.keys(r).length?`, ${fo(r)}`:"";return`${n}fetch('${t.url}${a}'${i})`}},wje={target:"node",client:"ofetch",title:"ofetch",generate(e){var a,i,o;const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method};(a=t.queryString)!=null&&a.length&&(n.query=bu(t.queryString)),(i=t.headers)!=null&&i.length&&(n.headers={},t.headers.forEach(s=>{n.headers[s.name]=s.value})),(o=t.cookies)!=null&&o.length&&(n.headers=n.headers||{},t.cookies.forEach(s=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${s.name}=${s.value}`:`${s.name}=${s.value}`})),Object.keys(n).forEach(s=>{n[s]===void 0&&delete n[s]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=JSON.parse(n.body)));const r=Object.keys(n).length?`, ${fo(n)}`:"";return`import { ofetch } from 'ofetch' 271 272ofetch('${t.url}'${r})`}},xje={target:"node",client:"undici",title:"undici",generate(e){var i,o;const t={method:"GET",...e};t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method},r=lc(t.queryString);(i=t.headers)!=null&&i.length&&(n.headers={},t.headers.forEach(s=>{n.headers[s.name]=s.value})),(o=t.cookies)!=null&&o.length&&(n.headers=n.headers||{}
272,t.cookies.forEach(s=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${s.name}=${s.value}`:`${s.name}=${s.value}`})),Object.keys(n).forEach(s=>{n[s]===void 0&&delete n[s]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType==="application/json"&&(n.body=new jo(`JSON.stringify(${fo(JSON.parse(n.body))})`)));const a=Object.keys(n).length?`, ${fo(n)}`:"";return`import { request } from 'undici' 273 274const { statusCode, body } = await request('${t.url}${r}'${a})`}},kje="---011000010111000001101001",vc=e=>`@"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}"`,b3=(e,t)=>{const n=t===void 0?", ":`, 275 ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map(a=>b3(a)).join(n)} ]`;case"[object Object]":return`@{ ${Object.entries(e).map(([a,i])=>`@"${a}": ${b3(i)}`).join(n)} }`;case"[object Boolean]":return e?"@YES":"@NO";default:return e==null?"[NSNull null]":vc(e.toString())}},A4=(e,t,n)=>{const r=`${e} *${t} = `;return`${r}${b3(n,r.length)};`},Aje={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e,t){var l,c;if(!e)return"";const n=gu(e.method),r=l1(Qd(e.url??"",e.queryString)),a=c1(e.headers,e.cookies),i=["#import <Foundation/Foundation.h>"],o=a.length>0;if(o){const u=Object.fromEntries(a.map(d=>[d.name,d.value]));i.push("",A4("NSDictionary","headers",u))}let s=!1;if(e.postData){const{mimeType:u,text:d,params:f}=e.postData;if(u==="application/json"&&d!==void 0)try{const h=JSON.parse(d);i.push("",A4("NSDictionary","parameters",h)),i.push("","NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"),s=!0}catch{i.push("",`NSData *postData = [${vc(d)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if(u==="application/x-www-form-urlencoded"&&(f!=null&&f.length)){s=!0;const[h,...p]=f;i.push("",`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${vc(`${encodeURIComponent(h.name)}=${encodeURIComponent(h.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),p.forEach(m=>{i.push(`[postData appendData:[${vc(`&${encodeURIComponent(m.name)}=${encodeURIComponent(m.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else u==="multipart/form-data"&&(f!=null&&f.length)?(s=!0,i.push("",A4("NSArray","parameters",f),`NSString *boundary = @"${kje}";`,"","NSError *error;","NSMutableString *body = [NSMutableString string];","for (NSDictionary *param in parameters) {",' [body appendFormat:@"--%@\\r\\n", boundary];',' if (param[@"fileName"]) {',' [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',' [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',' [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];'," if (error) {",' NSLog(@"%@", error);'," }"," } else {",' [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',' [body appendFormat:@"%@", param[@"value"]];'," }","}",'[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];',"NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];")):u==="application/octet-stream"?(s=!0,i.push("",`NSData *postData = [${vc(d??"")} dataUsingEncoding:NSUTF8StringEncoding];`)):d!==void 0&&(s=!0,i.push("",`NSData *postData = [${vc(d)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(i.push("",`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${vc(r)}]`," cachePolicy:NSURLRequestUseProtocolCachePolicy"," timeoutInterval:10.0];",`[request setHTTPMethod:@"${n}"];`),o&&i.push("[request setAllHTTPHeaderFields:headers];"),s&&i.push("[request setHTTPBody:postData];"),(l=t==null?void 0:t.auth)!=null&&l.username&&((c=t==null?void 0:t.auth)!=null&&c.password)){const u=vc(`${t.auth.username}:${t.auth.password}`);i.push(`NSData *authData = [${u} dataUsingEncoding:NSUTF8StringEncoding];`,'NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];','[request setValue:authValue forHTTPHeaderField:@"Authorization"];')}return i.push("","NSURLSession *session = [NSURLSession sharedSession];","NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request","completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"," if (error) {",' NSLog(@"%@", error);'," } else {"," NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",' NSLog(@"%@", httpResponse);'," }","}];","[dataTask resume];"),i.join(` 276`)}},af=e=>`"${Array.from(e,t=>{if(t==="\\"||t==='"')return`\\${t}`;const n=t.charCodeAt(0);return n<32||n===127?`\\${n.toString().padStart(3,"0")}`:t}).join("")}"`,Tje={target:"ocaml",client:"cohttp",title:"Cohttp",generate(e,t){const{url:n,method:r,headers:a,body:i}=zd(e,t),o=["open Lwt.Infix","","let () ="," Lwt_main.run (",` let uri = Uri.of_string ${af(n)} in`," let headers = Cohttp.Header.of_list [",...a.map(({name:s,value:l})=>` (${af(s)}, ${af(l)});`)," ] in"];if(i){for(const[s,l]of i.entries())o.push("file"in l?` Lwt_io.with_file ~mode:Lwt_io.Input ${af(l.file)} Lwt_io.read >>= fun part${s} ->`:` let part${s} = ${af(l.text)} in`);o.push(` let body = Cohttp_lwt.Body.of_string (String.concat "" [${i.map((s,l)=>`part${l}`).join("; ")}]) in`)}return o.push(` Cohttp_lwt_unix.Client.call ~headers ${i?"~body ":""}
276(Cohttp.Code.method_of_string ${af(r)}) uri`," >>= fun (_response, body) ->"," Cohttp_lwt.Body.to_string body >>= Lwt_io.printl"," )"),o.join(` 277`)}};function Pu(e){return" ".repeat(e*2)}class WQ{constructor(t){Zr(this,"value");this.value=t}}function os(e,t=0){if(e==null)return"null";if(e instanceof WQ){const n=e.value.split(` 278`);if(n.length>1){const r=Pu(t+1);return n.map((a,i)=>i===0?a:`${r}${a}`).join(` 279`)}return e.value}if(typeof e=="string")return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`;if(typeof e=="number"||typeof e=="boolean")return String(e);if(Array.isArray(e)){if(e.length===0)return"[]";const n=e.map(r=>os(r,t+1)).join(`, 280`+Pu(t+1));return`[ 281${Pu(t+1)}${n} 282${Pu(t)}]`}if(typeof e=="object"){const n=Object.entries(e);if(n.length===0)return"[]";const r=n.map(([a,i])=>`'${a}' => ${os(i,t+1)}`).join(`, 283`+Pu(t+1));return`[ 284${Pu(t+1)}${r} 285${Pu(t)}]`}return"null"}const Eje={target:"php",client:"curl",title:"cURL",generate(e,t){var c,u,d,f;const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=[];let a=!1;const i=(c=n.queryString)!=null&&c.length?"?"+n.queryString.map(h=>`${h.name}=${h.value}`).join("&"):"",o=`${n.url}${i}`;r.push(`$ch = curl_init("${o}");`),r.push(""),n.method==="POST"?r.push("curl_setopt($ch, CURLOPT_POST, true);"):n.method!=="GET"&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${n.method}');`),(u=t==null?void 0:t.auth)!=null&&u.username&&((d=t==null?void 0:t.auth)!=null&&d.password)&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);const s=[...n.headers||[]],l=()=>s.some(h=>h.name.toLowerCase()==="content-type");if(n.postData&&(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params&&!l()?s.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):n.postData.mimeType==="application/octet-stream"&&!l()&&s.push({name:"Content-Type",value:"application/octet-stream"})),s.length){const h=s.map(m=>`'${m.name}: ${m.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${h.join(", ")}]);`);const p=s.find(m=>m.name.toLowerCase()==="accept-encoding");p&&/gzip|deflate/.test(p.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if((f=n.cookies)!=null&&f.length){const h=n.cookies.map(p=>{const m=encodeURIComponent(p.name),g=encodeURIComponent(p.value);return`${m}=${g}`}).join("; ");r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${h}');`)}if(n.postData){if(n.postData.mimeType==="application/json"){if(n.postData.text)try{const h=JSON.parse(n.postData.text),p=os(h);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${p}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params)a=!0,r.push("$mime = curl_mime_init($ch);"),n.postData.params.forEach((h,p)=>{const m=`$part${p}`;r.push(`${m} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${m}, '${h.name}');`),h.fileName!==void 0?r.push(`curl_mime_filedata(${m}, '${h.fileName}');`):h.value!==void 0&&r.push(`curl_mime_data(${m}, '${h.value}');`),h.contentType&&r.push(`curl_mime_type(${m}, '${h.contentType}');`)}),r.push("curl_setopt($ch, CURLOPT_MIMEPOST, $mime);");else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params){const h=n.postData.params.map(p=>{const m=encodeURIComponent(p.name),g=p.value?encodeURIComponent(p.value):"";return`${m}=${g}`}).join("&");r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${h}');`)}else if(n.postData.mimeType==="application/octet-stream")r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||""}');`);else if(n.postData.text)try{const h=JSON.parse(n.postData.text),p=os(h);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${p}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(""),r.push("curl_exec($ch);"),a&&r.push("curl_mime_free($mime);"),r.push(""),r.push("curl_close($ch);"),r.join(` 286`).replace(/\n\n\n/g,` 287 288`)}},_je={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){var o;if(!e)return"";const n={},r=(e.method||"GET").toUpperCase(),a=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const s={};
288e.headers.forEach(l=>{s[l.name]===void 0?s[l.name]=l.value:Array.isArray(s[l.name])?s[l.name].push(l.value):s[l.name]=[s[l.name],l.value]}),n.headers=s}if(e.queryString&&e.queryString.length>0&&(n.query=bu(e.queryString)),e.cookies&&e.cookies.length>0){const s={};e.cookies.forEach(l=>{s[l.name]=l.value}),n.cookies=s}if((o=t==null?void 0:t.auth)!=null&&o.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType==="application/json")try{n.json=JSON.parse(e.postData.text||"{}")}catch{n.body=e.postData.text}else if(e.postData.mimeType==="multipart/form-data"){if(e.postData.params)n.multipart=e.postData.params.map(s=>{const l={name:s.name,contents:s.fileName?new WQ(`fopen('${s.fileName}', 'r')`):s.value||""};return s.contentType&&(l.headers={"Content-Type":s.contentType}),l});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType==="application/x-www-form-urlencoded"){if(e.postData.params){const s={};e.postData.params.forEach(l=>{s[l.name]=l.value||""}),n.form_params=s}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(s=>s.name==="Accept-Encoding"&&s.value.includes("gzip"))&&(n.decode_content=!0);let i=`$client = new GuzzleHttp\\Client(); 289 290`;if(Object.keys(n).length>0){const s=os(n);i+=`$response = $client->request('${r}', '${a}', ${s});`}else i+=`$response = $client->request('${r}', '${a}');`;return i}},YQ=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),va=e=>`'${YQ(e)}'`,Cje=YQ,kc=e=>Array.isArray(e)?e.map(t=>kc(t)):Ht(e)?Object.entries(e).reduce((t,[n,r])=>(t[Cje(n)]=kc(r),t),{}):e,$je=e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}},Pje={target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){var d,f,h;const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=lc(n.queryString),a=`${n.url??""}${r}`,i=[];if((d=t==null?void 0:t.auth)!=null&&d.username&&t.auth.password&&i.push(`withBasicAuth(${va(t.auth.username)}, ${va(t.auth.password)})`),(f=n.headers)!=null&&f.length){const p={};n.headers.forEach(m=>{tl(p,m.name,m.value)}),i.push(`withHeaders(${os(kc(p))})`)}if((h=n.cookies)!=null&&h.length){const p={};n.cookies.forEach(m=>{tl(p,m.name,m.value)}),i.push(`withCookies(${os(kc(p))}, ${va($je(n.url??""))})`)}let o;if(n.postData){if(n.postData.mimeType==="application/json"){if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{i.push(`withBody(${va(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params){const p={};n.postData.params.forEach(m=>{tl(p,m.name,m.value??"")}),i.push("asForm()"),o=p}else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params){const p={};n.postData.params.forEach(m=>{if(m.fileName!==void 0){const g=[va(m.name),`file_get_contents(${va(m.fileName)})`,va(m.fileName)];m.contentType&&g.push(os(kc({"Content-Type":m.contentType}))),i.push(`attach(${g.join(", ")})`)}else m.contentType?i.push(`attach(${va(m.name)}, ${va(m.value??"")}, null, ${os(kc({"Content-Type":m.contentType}))})`):tl(p,m.name,m.value??"")}),Object.keys(p).length>0&&(o=p)}else if(n.postData.mimeType==="application/octet-stream")i.push(`withBody(${va(n.postData.text??"")}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{i.push(`withBody(${va(n.postData.text)}, ${va(n.postData.mimeType||"text/plain")})`)}}const s=n.method.toLowerCase(),c=["delete","get","head","patch","post","put"].includes(s)?o!==void 0&&s!=="head"?`${s}(${va(a)}, ${os(kc(o),1)})`:`${s}(${va(a)})`:o!==void 0?`send(${va(n.method)}, ${va(a)}, ${os(kc(o),1)})`:`send(${va(n.method)}, ${va(a)})`;return`use Illuminate\\Support\\Facades\\Http; 291 292$response = ${i.length>0?[`Http::${i[0]}`,...i.slice(1).map(p=>` ->${p}`),` ->${c}`].join(` 293`):`Http::${c}`};`}},of=e=>`'${e.replace(/['\u2018-\u201b]/g,t=>t+t)}'`,GQ=(e,t={},n)=>{var u;const{url:r,method:a,headers:i,body:o}=zd(t,n),s=[],l=[...new Set(i.map(({name:d})=>d.toLowerCase()))];if(i.length){s.push("$headers = @{");for(const d of l){const f=i.filter(p=>p.name.toLowerCase()===d),h=f.map(p=>p.value).join(d==="cookie"?"; ":", ");s.push(` ${of(((u=f[0])==null?void 0:u.name)??d)} = ${of(h)}`)}s.push("}","")}if(o){s.push("$body = [System.IO.MemoryStream]::new()");for(const d of o)s.push("file"in d?`$bytes = [System.IO.File]::ReadAllBytes(${of(d.file)})`:`$bytes = [System.Text.Encoding]::UTF8.GetBytes(${of(d.text)})`),s.push("$body.Write($bytes, 0, $bytes.Length)");s.push("")}const c=["GET","HEAD","POST","PUT","DELETE","TRACE","OPTIONS","MERGE","PATCH"].includes(a)?"-Method":"-CustomMethod";return s.push(`$response = ${e} -Uri ${of(r)} ${c} ${of(a)}${i.length?" -Headers $headers":""}${o?" -Body $body.ToArray()":""}`),o&&s.push("$body.Dispose()"),s.push("$response"),s.join(` 294`)},Ije={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate(e,t){return GQ("Invoke-RestMethod",e,t)}},Rje={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate(e,t){return GQ("Invoke-WebRequest",e,t)}},y3=40;function v3(e){const t=[["true","True"],["false","False"],["null","None"]];let n=e;for(const[r,a]of t){const i=[`(: )${r}(?=,|\\n)`,`^( +)${r}(?=,|\\n)`];for(const o of i)n=n.replace(new RegExp(o,"gm"),`$1${a}`)}return n}function ls(e,t=4){return v3(JSON.stringify(e,null,2).split(` 295`).map((n,r)=>r===0?n:" ".repeat(t)+n).join(` 296`))}function I5(e,t,n){var l,c,u,d,f,h;const r={url:"https://example.com",method:"get",...t},a=r.method.toLowerCase(),i={};if((l=r.headers)!=null&&l.length&&(i.headers=r.headers.reduce((p,m)=>(m.name in p||(p[m.name]=m.value),p),{})),(c=r.queryString)!=null&&c.length&&(i.params=bu(r.queryString)),(u=r.cookies)!=null&&u.length&&(i.cookies=Object.fromEntries(r.cookies.map(p=>[p.name,p.value]))),(d=n==null?void 0:n.auth)!=null&&d.username&&((f=n==null?void 0:n.auth)!=null&&f.password)&&(i.auth=[n.auth.username,n.auth.password]),r.postData){const{mimeType:p,text:m,params:g}=r.postData;if(p==="application/json"&&m)try{i.json=JSON.parse(m)}catch{i.data=m}else if(p==="application/octet-stream"&&m)i.data=m;else if(p==="multipart/form-data"&&g){const v=[],k={};g.forEach(S=>{if(S.fileName!==void 0){const A=JSON.stringify(S.name),E=JSON.stringify(S.fileName),_=`open(${E}, "rb")`;if(S.contentType){const C=JSON.stringify(S.contentType);v.push(`(${A}, (${E}, ${_}, ${C}))`)}else v.push(`(${A}, ${_})`)}else if(S.value!==void 0)if(S.contentType){const A=JSON.stringify(S.name),E=JSON.stringify(S.value),_=JSON.stringify(S.contentType);v.push(`(${A}, (None, ${E}, ${_}))`)}else tl(k,S.name,S.value)}),v.length&&(i.files=v),Object.keys(k).length&&(i.data=k)}else if(p==="application/x-www-form-urlencoded"&&g){const v={};g.forEach(k=>{tl(v,k.name,k.value??"")}),i.data=v}}const o=[],s=`"${r.url}"`;r.url.length>y3?o.push(s):o.push("");for(const[p,m]of Object.entries(i))if(p==="auth")o.push(`${p}=(${v3(JSON.stringify(m[0]))}, ${v3(JSON.stringify(m[1]))})`);else if(p==="files"){const v=`[ 297`+m.map(k=>` ${k}`).join(`, 298`)+` 299 ]`;o.push(`${p}=${v}`)}else if(p==="json"){const g=ls(m);o.push(`${p}=${g}`)}else if(p==="data"&&((h=r.postData)==null?void 0:h.mimeType)==="application/octet-stream")o.push(`${p}=b"${m}"`);else{const g=ls(m);o.push(`${p}=${g}`)}return r.url.length>y3?`${e}.${a}( 300 ${o.join(`, 301 `)} 302)`:o.length<=1?`${e}.${a}(${s})`:`${e}.${a}(${s}${o.length>1?",":""} 303 ${o.slice(1).join(`, 304 `)} 305)`}const Nje=(e,t=" ")=>e.split(` 306`).map(n=>n.trim()===""?n:`${t}${n}`).join(` 307`),Mje=(e,t,n,r)=>{const a=JSON.stringify(n);return n.length>y3?`${e}.${t}( 308 ${[a,...r].join(`, 309 `)} 310)`:r.length===0?`${e}.${t}(${a}
310)`:`${e}.${t}(${a}, 311 ${r.join(`, 312 `)} 313)`},Lje={target:"python",client:"aiohttp",title:"aiohttp",generate(e,t){var u,d,f,h,p,m;const n={url:"https://example.com",method:"get",...e},r=((u=n.method)==null?void 0:u.toLowerCase())??"get",a=[],i=[],o=[];if((d=n.headers)!=null&&d.length){const g=n.headers.reduce((v,k)=>(k.name in v||(v[k.name]=k.value),v),{});a.push(`headers=${ls(g)}`)}if((f=n.queryString)!=null&&f.length&&a.push(`params=${ls(bu(n.queryString))}`),(h=n.cookies)!=null&&h.length){const g=Object.fromEntries(n.cookies.map(v=>[v.name,v.value]));i.push(`cookies=${ls(g)}`)}if((p=t==null?void 0:t.auth)!=null&&p.username&&((m=t==null?void 0:t.auth)!=null&&m.password)&&i.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){const{mimeType:g,text:v,params:k}=n.postData;if(g==="application/json"&&v)try{a.push(`json=${ls(JSON.parse(v))}`)}catch{a.push(`data=${JSON.stringify(v)}`)}else if(g==="application/octet-stream"&&v)a.push(`data=b"${v}"`);else if(g==="multipart/form-data"&&k)o.push("data = aiohttp.FormData()"),k.forEach(S=>{if(S.fileName!==void 0){const A=[JSON.stringify(S.name),`open(${JSON.stringify(S.fileName)}, "rb")`,`filename=${JSON.stringify(S.fileName)}`];S.contentType&&A.push(`content_type=${JSON.stringify(S.contentType)}`),o.push(`data.add_field(${A.join(", ")})`);return}if(S.contentType){o.push(`data.add_field(${JSON.stringify(S.name)}, ${JSON.stringify(S.value??"")}, content_type=${JSON.stringify(S.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(S.name)}, ${JSON.stringify(S.value??"")})`)}),a.push("data=data");else if(g==="application/x-www-form-urlencoded"&&k){const S={};k.forEach(A=>{tl(S,A.name,A.value??"")}),a.push(`data=${ls(S)}`)}else v&&a.push(`data=${JSON.stringify(v)}`)}const s=i.length===0?"async with aiohttp.ClientSession() as session:":`async with aiohttp.ClientSession( 314 ${i.join(`, 315 `)} 316) as session:`,l=Mje("await session",r,n.url??"",a),c=[...o,l];return`${s} 317${Nje(c.join(` 318`))}`}},Dje={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let n=I5("await client",e,t);return n=n.split(` 319`).map(r=>r.trim()===""?r:" "+r).join(` 320`),`async with httpx.AsyncClient() as client: 321${n}`}},Bje={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate(e,t){return I5("httpx",e,t)}},Uje=e=>{if(typeof globalThis.btoa=="function")return globalThis.btoa(e);if(typeof Buffer<"u")return Buffer.from(e,"utf-8").toString("base64");throw new Error("Could not encode basic auth credentials")},jje=e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}},Fje=(e,t=[])=>{if(!t.length)return e.search;const n=lc(t);return e.search?`${e.search}&${n.slice(1)}`:n},Qje=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,zje=(e,t,n)=>{const r=e.postData;if(!r)return{payloadLines:[]};const{mimeType:a,text:i,params:o}=r;if(a==="application/json"&&i)try{const s=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${ls(s,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}if(a==="application/octet-stream"&&i)return{payloadLines:[`payload = ${Qje(i)}`],payloadVariable:"payload"};if(a==="application/x-www-form-urlencoded"&&o){n.add("import urllib.parse");const s={};return o.forEach(l=>{tl(s,l.name,l.value??"")}),t["Content-Type"]||(t["Content-Type"]="application/x-www-form-urlencoded"),{payloadLines:[`payload = urllib.parse.urlencode(${ls(s,0)}, doseq=True)`],payloadVariable:"payload"}}if(a==="multipart/form-data"&&o){const s=['boundary = "----ScalarSnippetzBoundary"',"data_list = []"];return o.forEach(l=>{s.push('data_list.append("--" + boundary)'),l.fileName!==void 0?s.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${l.name}"; filename="${l.fileName}"`)})`):s.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${l.name}"`)})`),l.contentType&&s.push(`data_list.append(${JSON.stringify(`Content-Type: ${l.contentType}`)})`),s.push('data_list.append("")'),l.fileName!==void 0?s.push(`data_list.append(open(${JSON.stringify(l.fileName)}, "rb").read().decode("latin-1"))`):s.push(`data_list.append(${JSON.stringify(l.value??"")})`)}
321),s.push('data_list.append("--" + boundary + "--")'),s.push('data_list.append("")'),s.push('payload = "\\r\\n".join(data_list)'),t["Content-Type"]="multipart/form-data; boundary=----ScalarSnippetzBoundary",{payloadLines:s,payloadVariable:"payload"}}if(i)try{const s=JSON.parse(i);return n.add("import json"),{payloadLines:[`payload = json.dumps(${ls(s,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(i)}`],payloadVariable:"payload"}}return{payloadLines:[]}},Hje={target:"python",client:"python3",title:"http.client",generate(e,t){var m,g,v;const n=zQ({url:"https://example.com",...e}),r=n.url??"https://example.com",a=jje(r),i=Fje(a,n.queryString),o=`${a.pathname||"/"}${i}`,l=((m=n.headers)==null?void 0:m.reduce((k,S)=>(S.name in k||(k[S.name]=S.value),k),{}))??{};if((g=n.cookies)!=null&&g.length){const k=n.cookies.map(S=>`${encodeURIComponent(S.name)}=${encodeURIComponent(S.value)}`).join("; ");l.Cookie?l.Cookie=`${l.Cookie}; ${k}`:l.Cookie=k}if((v=t==null?void 0:t.auth)!=null&&v.username&&t.auth.password){const k=Uje(`${t.auth.username}:${t.auth.password}`);
321l.Authorization=`Basic ${k}`}const c=new Set(["import http.client"]),u=[],d=zje(n,l,c);u.push(...d.payloadLines),Object.keys(l).length&&u.push(`headers = ${ls(l,0)}`);const f=[JSON.stringify(n.method),JSON.stringify(o)];d.payloadVariable&&f.push(`body=${d.payloadVariable}`),Object.keys(l).length&&f.push("headers=headers");const h=f.length<=2?`conn.request(${f.join(", ")})`:`conn.request( 322 ${f.join(`, 323 `)}, 324)`;return[...c,"",`conn = http.client.${a.protocol==="https:"?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(a.host)})`,...u.length?["",...u]:[],"",h,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join(` 325`)}},Vje={target:"python",client:"requests",title:"Requests",generate(e,t){return I5("requests",e,t)}},qje=(e,t)=>{try{const n=JSON.parse(e);return O3(n,t)}catch{return`"${e}"`}},O3=(e,t)=>{if(e==null)return"NULL";if(typeof e=="boolean")return e?"TRUE":"FALSE";if(typeof e=="number")return String(e);if(typeof e=="string")return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`;if(Array.isArray(e))return e.length===0?"list()":`list( 326${e.map(r=>`${t} ${O3(r,t+" ")}`).join(`, 327`)} 328${t})`;if(Ht(e)){const n=Object.entries(e);return n.length===0?"list()":`list( 329${n.map(([a,i])=>`${t} ${a} = ${O3(i,t+" ")}`).join(`, 330`)} 331${t})`}return String(e)},Zje={target:"r",client:"httr2",title:"httr2",generate(e,t){var s,l,c,u,d;const n={url:"https://example.com",method:"GET",...e},r=n.method.toUpperCase(),a=["library(httr2)",""];a.push(`response <- request("${n.url}") |>`);const i=[];r!=="GET"&&i.push(` req_method("${r}")`);const o={};if((s=n.headers)!=null&&s.length)for(const f of n.headers)o[f.name]=f.value;if((l=n.cookies)!=null&&l.length){const f=n.cookies.map(h=>`${h.name}=${h.value}`).join("; ");o.Cookie=f}if((c=t==null?void 0:t.auth)!=null&&c.username&&((u=t==null?void 0:t.auth)!=null&&u.password)&&i.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){const f=Object.entries(o);if(f.length===1){const[h,p]=f[0];i.push(` req_headers("${h}" = "${p}")`)}else{const h=f.map(([p,m])=>` "${p}" = "${m}"`).join(`, 332`);i.push(` req_headers( 333${h} 334 )`)}}if((d=n.queryString)!=null&&d.length){const f=bu(n.queryString),h=Object.entries(f);if(h.length===1){const[p,m]=h[0];if(Array.isArray(m)){const g=m.map(v=>`"${v}"`).join(", ");i.push(` req_url_query("${p}" = c(${g}))`)}else i.push(` req_url_query("${p}" = "${m}")`)}else{const p=h.map(([m,g])=>{if(Array.isArray(g)){const v=g.map(k=>`"${k}"`).join(", ");return` "${m}" = c(${v})`}return` "${m}" = "${g}"`}).join(`, 335`);i.push(` req_url_query( 336${p} 337 )`)}}if(n.postData){const{mimeType:f,text:h,params:p}=n.postData;if(f==="application/json"&&h){const m=qje(h," ");i.push(` req_body_json(${m})`)}else if(f==="multipart/form-data"&&p){const m=p.map(g=>g.fileName!==void 0?` ${g.name} = curl::form_file("${g.fileName}")`:` ${g.name} = "${g.value??""}"`).join(`, 338`);i.push(` req_body_multipart( 339${m} 340 )`)}else if(f==="application/x-www-form-urlencoded"&&p){const m=p.map(g=>` "${g.name}" = "${g.value??""}"`).join(`, 341`);i.push(` req_body_form( 342${m} 343 )`)}else h&&i.push(` req_body_raw("${h}", type = "${f??"application/octet-stream"}")`)}return i.push(" req_perform()"),a[a.length-1]=`response <- request("${n.url}") |>`,a.push(i.join(` |> 344`)),a.push(""),a.push("resp_body_string(response)"),a.join(` 345`)}},ug=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),El=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),dg=e=>encodeURIComponent(e).replace(/'/g,"%27"),Xje=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),KQ=e=>e.charAt(0)+e.slice(1).toLowerCase(),Wje=(e,t,n)=>{if(Xje.has(t))return;const r=KQ(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${t}'`),e.push(` REQUEST_HAS_BODY = '${n?"true":"false"}'`),e.push(" RESPONSE_HAS_BODY = true"),e.push("end"),e.push("")},Yje=e=>{try{const t=new URL(e),n=t.pathname.split("/").map(r=>encodeURIComponent(decodeURIComponent(r)).replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%24/g,"$")).join("/");return t.pathname==="/"?`${t.origin}${t.search}${t.hash}`:`${t.origin}${n}${t.search}${t.hash}`}catch{return e}},Gje={target:"ruby",client:"native",title:"net::http",generate(e,t){var l,c,u,d,f;
345const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=lc(n.queryString),a=`${n.url??""}${r}`,i=Yje(a),o=["require 'uri'","require 'net/http'",""];Wje(o,n.method,!!((l=n.postData)!=null&&l.text)),o.push(`url = URI("${ug(i)}")`,""),o.push("http = Net::HTTP.new(url.host, url.port)"),i.startsWith("https://")&&o.push("http.use_ssl = true"),o.push("");const s=KQ(n.method);if(o.push(`request = Net::HTTP::${s}.new(url)`),(c=t==null?void 0:t.auth)!=null&&c.username&&((u=t==null?void 0:t.auth)!=null&&u.password)){const h=ug(t.auth.username),p=ug(t.auth.password);o.push(`request.basic_auth("${h}", "${p}")`)}if((d=n.headers)!=null&&d.length&&n.headers.forEach(h=>{o.push(`request["${ug(h.name)}"] = '${El(h.value)}'`)}),(f=n.cookies)!=null&&f.length){const h=n.cookies.map(p=>`${dg(p.name)}=${dg(p.value)}`).join("; ");o.push(`request["Cookie"] = '${El(h)}'`)}if(n.postData){const{mimeType:h,text:p,params:m}=n.postData;if(h==="application/json"&&p!==void 0)try{const g=JSON.parse(p),v=JSON.stringify(g,null,2);o.push("request.body = <<~JSON"),o.push(v),o.push("JSON")}catch{o.push(`request.body = ${JSON.stringify(p)}`)}else if(h==="application/x-www-form-urlencoded"&&m){const g=m.map(v=>`${dg(v.name)}=${dg(v.value??"")}`).join("&");o.push(`request.body = '${El(g)}'`)}else h==="multipart/form-data"&&m?(o.push("form_data = []"),m.forEach(g=>{const v=El(g.name);if(g.fileName!==void 0){const k=El(g.fileName);if(g.contentType){const S=El(g.contentType);o.push(`form_data << ['${v}', File.open('${k}'), { filename: '${k}', content_type: '${S}' }]`)}else o.push(`form_data << ['${v}', File.open('${k}')]`)}else if(g.contentType){const k=El(g.value??""),S=El(g.contentType);o.push(`form_data << ['${v}', '${k}', { content_type: '${S}' }]`)}else{const k=El(g.value??"");o.push(`form_data << ['${v}', '${k}']`)}}),o.push("request.set_form(form_data, 'multipart/form-data')")):h==="application/octet-stream"?o.push(`request.body = ${JSON.stringify(p??"")}`):p!==void 0&&o.push(`request.body = ${JSON.stringify(p)}`)}return o.push("","response = http.request(request)","puts response.read_body"),o.join(` 346`)}};function Kje(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}function wa(e){return`"${Kje(e)}"`}function Sa(e,t){return`${" ".repeat(e*4)}${t}`}function wm(e,...t){return Sa(1,`.${e}(${t.join(", ")})`)}function Jje(e){try{const t=JSON.parse(e),r=JSON.stringify(t,null,4).split(` 347`);return r.map((i,o)=>o===0?i:(o===r.length-1,Sa(1,i))).join(` 348`)}catch{return e}}const eFe={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){if(!e)return"";const n=zQ(e),r=lc(n.queryString),a=gUe(n.url||"",r),i=bUe(n),o=[],s=nFe(t==null?void 0:t.auth);s&&o.push(s),o.push(...rFe(i));const l=aFe(n.postData);return l&&o.push(l),iFe(a,n.method,o)}},tFe=e=>{if(e.fileName){const t=[Sa(2,`let part = reqwest::multipart::Part::text(${wa(e.value||"")})`),Sa(3,`.file_name(${wa(e.fileName)})`)];return e.contentType?(t.push(Sa(3,`.mime_str(${wa(e.contentType)})`)),t.push(Sa(3,".unwrap();"))):t[t.length-1]+=";",t.push(Sa(2,`form = form.part(${wa(e.name)}, part);`)),t.join(` 349`)}return e.contentType?[Sa(2,`let part = reqwest::multipart::Part::text(${wa(e.value||"")})`),Sa(3,`.mime_str(${wa(e.contentType)})`),Sa(3,".unwrap();"),Sa(2,`form = form.part(${wa(e.name)}, part);`)].join(` 350`):Sa(2,`form = form.text(${wa(e.name)}, ${wa(e.value||"")});`)},nFe=e=>!(e!=null&&e.username)||!(e!=null&&e.password)?null:wm("basic_auth",wa(e.username),wa(e.password)),rFe=e=>Object.entries(e).map(([t,n])=>wm("header",wa(t),wa(n))),aFe=e=>{if(!e)return null;const{mimeType:t,text:n,params:r}=e;switch(t){case"application/json":{const a=Jje(n);return wm("json",`&serde_json::json!(${a})`)}case"application/x-www-form-urlencoded":{const a=(r==null?void 0:r.map(i=>`(${wa(i.name)}, ${wa(i.value||"")})`).join(", "))||"";return wm("form",`&[${a}]`)}case"multipart/form-data":{const a=(r==null?void 0:r.map(tFe).join(` 351`))||"",i=[".multipart({",Sa(2,"let mut form = reqwest::multipart::Form::new();"),a,Sa(3,"form"),Sa(2,"})")].join(` 352`);return Sa(1,i)}default:return wm("body",wa(n||""))}},iFe=(e,t,n)=>{const r=["let client = reqwest::Client::new();",""];n.length>0?(r.push("let request = client"),r.push(Sa(1,`.${t.toLowerCase()}(${wa(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${wa(e)})`);const a=r[r.length-1];return r[r.length-1]=a+";
352",r.push(""),r.push("let response = request.send().await?;"),r.join(` 353`)},er=e=>e.replace(/'/g,"'\\''"),AC=e=>{if(!e)return!1;const{subtype:t}=V0(e);return t==="json"||t.endsWith("+json")},oFe={target:"shell",client:"curl",title:"Curl",generate(e,t){var f,h,p,m,g;const n={method:"GET",...e};n.method=n.method.toUpperCase();const r=["curl"],a=n.url??"",i=a.includes("?")?"&":"?",o=(f=n.queryString)!=null&&f.length?i+n.queryString.map(v=>`${v.name}=${v.value}`).join("&"):"",s=`${a}${o}`,c=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(s)?s:`'${er(s)}'`;r[0]=`curl ${c}`;const u=s.indexOf("?"),d=u===-1?"":s.slice(u);if((/[[\]]/.test(s)||/[{}]/.test(d))&&r.push("--globoff"),n.method!=="GET"&&r.push(`--request ${n.method}`),(h=t==null?void 0:t.auth)!=null&&h.username&&((p=t==null?void 0:t.auth)!=null&&p.password)){const v=er(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${v}'`)}if((m=n.headers)!=null&&m.length){n.headers.forEach(k=>{const S=er(`${k.name}: ${k.value}`);r.push(`--header '${S}'`)});const v=n.headers.find(k=>k.name.toLowerCase()==="accept-encoding");v&&/gzip|deflate/.test(v.value)&&r.push("--compressed")}if((g=n.cookies)!=null&&g.length){const v=n.cookies.map(S=>{const A=encodeURIComponent(S.name),E=encodeURIComponent(S.value);return`${A}=${E}`}).join("; "),k=er(v);r.push(`--cookie '${k}'`)}if(n.postData)if(AC(n.postData.mimeType)){if(n.postData.text)try{const v=JSON.parse(n.postData.text),k=JSON.stringify(v,null,2),S=er(k);r.push(`--data '${S}'`)}catch{const v=er(n.postData.text??"");r.push(`--data '${v}'`)}}else if(n.postData.mimeType==="application/octet-stream"){const v=er(n.postData.text??"");r.push(`--data-binary '${v}'`)}else if(n.postData.mimeType==="application/x-www-form-urlencoded"&&n.postData.params)n.postData.params.forEach(v=>{const k=er(v.value??""),S=encodeURIComponent(v.name),A=er(S);r.push(`--data-urlencode '${A}=${k}'`)});else if(n.postData.mimeType==="multipart/form-data"&&n.postData.params)n.postData.params.forEach(v=>{const k=er(v.name),S=v.contentType?`;type=${v.contentType}`:"";if(v.fileName!==void 0){const A=er(`${v.fileName}${S}`);r.push(`--form '${k}=@${A}'`)}else{const A=v.value??"",E=AC(v.contentType);let _=A;if(E&&A)try{_=JSON.stringify(JSON.parse(A),null,2)}catch{}const C=er(`${_}${S}`);r.push(`--form '${k}=${C}'`)}});else try{const v=JSON.parse(n.postData.text??""),k=JSON.stringify(v,null,2),S=er(k);r.push(`--data '${S}'`)}catch{const v=er(n.postData.text??"");r.push(`--data '${v}'`)}return r.join(` \\ 354 `)}},sf=e=>`'${er(e)}'`,sFe={target:"shell",client:"httpie",title:"HTTPie",generate(e,t){const{url:n,method:r,headers:a,body:i}=zd(e,t),o=(i==null?void 0:i.length)===1&&i[0]&&"text"in i[0]&&!i[0].text.includes("\0")?i[0].text:void 0,s=[`http${!i||o!==void 0?" --ignore-stdin":""} ${sf(r)} ${sf(n)}`];for(const{name:u,value:d}of a){const f=u.replaceAll("\\","\\\\").replaceAll(":","\\:").replaceAll(";","\\;");s.push(sf(d?`${f}:${d}`:`${f};`))}const l=s.join(` \\ 355 `);return i?o!==void 0?`${l} \\ 356 --raw=${sf(o)}`:["{",...i.map(u=>{if("file"in u)return` cat -- ${sf(u.file)}`;const d=Array.from(u.text,f=>{if(f==="\\")return"\\\\";const h=f.charCodeAt(0);return h<32?`\\0${h.toString(8).padStart(3,"0")}`:f}).join("");return` printf '%b' ${sf(d)}`}),`} | ${l}`].join(` 357`):l}},TC=e=>{if(!e)return!1;const{subtype:t}=V0(e);return t==="json"||t.endsWith("+json")},T4=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},lFe={target:"shell",client:"wget",title:"Wget",generate(e,t){var u,d,f,h,p;const n={...e,method:((e==null?void 0:e.method)??"GET").toUpperCase()},r=n.url??"",a=r.includes("?")?"&":"?",i=(u=n.queryString)!=null&&u.length?a+n.queryString.map(m=>`${m.name}=${m.value}`).join("&"):"",o=`${r}${i}`,l=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${er(o)}'`,c=["wget --quiet",`--method ${n.method}`];if((d=t==null?void 0:t.auth)!=null&&d.username&&((f=t==null?void 0:t.auth)!=null&&f.password)&&(c.push(`--user '${er(t.auth.username)}'`),c.push(`--password '${er(t.auth.password)}'`)),(h=n.headers)!=null&&h.length&&n.headers.forEach(m=>{const g=er(`${m.name}: ${m.value}`);c.push(`--header '${g}'`)}),(p=n.cookies)!=null&&p.length){const m=n.cookies.map(g=>`${encodeURIComponent(g.name)}=${encodeURIComponent(g.value)}`).join("; ");c.push(`--header 'Cookie: ${er(m)}'`)}if(n.postData){const{mimeType:m,text:g,params:v}=n.postData;if(TC(m))g&&c.push(`--body-data '${er(T4(g))}'`);else if(m==="application/octet-stream")c.push(`--body-data '${er(g??"")}'`);else if(m==="application/x-www-form-urlencoded"&&v){const k=v.map(S=>`${encodeURIComponent(S.name)}=${encodeURIComponent(S.value??"")}`).join("&");c.push(`--body-data '${er(k)}'`)}else m==="multipart/form-data"&&v?v.forEach(k=>{if(k.fileName!==void 0)c.push(`--body-file='${er(k.fileName)}'`);else{const S=k.value??"",A=TC(k.contentType)&&S?T4(S):S;c.push(`--body-data '${er(`${k.name}=${A}`)}'`)}}):g&&c.push(`--body-data '${er(T4(g))}'`)}return c.push("--output-document",`- ${l}`),c.join(` \\ 358 `)}},Ii=e=>JSON.stringify(e),cFe=e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)},uFe=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},EC=e=>encodeURIComponent(e),E4=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),dFe=e=>{const t=["let boundary = UUID().uuidString","var body = Data()","","func appendToBody(_ value: String) {"," body.append(value.data(using: .utf8)!)","}",""];return e.forEach(n=>{const r=E4(n.name),a=E4(n.fileName??""),i=n.contentType?E4(n.contentType):void 0;t.push('appendToBody("--\\(boundary)\\r\\n")'),n.fileName!==void 0?(t.push(`appendToBody(${Ii(`Content-Disposition: form-data; name="${r}"; filename="${a}"\r 359`)})`),i&&t.push(`appendToBody(${Ii(`Content-Type: ${i}\r 360`)}
360)`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${Ii(`<# File data for ${n.fileName||"file"} #>\r 361`)})`)):(t.push(`appendToBody(${Ii(`Content-Disposition: form-data; name="${r}"\r 362`)})`),i&&t.push(`appendToBody(${Ii(`Content-Type: ${i}\r 363`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${Ii(n.value??"")})`),t.push('appendToBody("\\r\\n")')),t.push("")}),t.push('appendToBody("--\\(boundary)--\\r\\n")'),t},fFe={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){var o,s;if(!e)return"";const n=gu(e.method),r=l1(Qd(e.url??"",e.queryString)),a=c1(e.headers,e.cookies),i=["import Foundation","",`var request = URLRequest(url: URL(string: ${Ii(r)})!)`];if(i.push(`request.httpMethod = ${Ii(n)}`),a.forEach(l=>{i.push(`request.setValue(${Ii(l.value)}, forHTTPHeaderField: ${Ii(l.name)})`)}),(o=t==null?void 0:t.auth)!=null&&o.username&&((s=t==null?void 0:t.auth)!=null&&s.password)&&(i.push(`let credentials = ${Ii(`${t.auth.username}:${t.auth.password}`)}`),i.push("let encodedCredentials = Data(credentials.utf8).base64EncodedString()"),i.push('request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")')),e.postData){const{mimeType:l,text:c,params:u}=e.postData;if(l==="application/json"&&c!==void 0){const d=uFe(c),f=cFe(d);i.push(`let jsonBody = ${f}"""`),i.push(d),i.push(`"""${f}`),i.push("request.httpBody = jsonBody.data(using: .utf8)")}else if(l==="application/x-www-form-urlencoded"&&(u!=null&&u.length)){const d=u.map(f=>`${EC(f.name)}=${EC(f.value??"")}`).join("&");i.push(`let formBody = ${Ii(d)}`),i.push("request.httpBody = formBody.data(using: .utf8)")}else l==="multipart/form-data"&&(u!=null&&u.length)?(i.push(...dFe(u)),i.push('request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")'),i.push("request.httpBody = body")):l==="application/octet-stream"?(i.push(`let binaryBody = Data(${Ii(c??"")}.utf8)`),i.push("request.httpBody = binaryBody")):c!==void 0&&(i.push(`let rawBody = ${Ii(c)}`),i.push("request.httpBody = rawBody.data(using: .utf8)"))}return i.push(""),i.push("let (data, response) = try await URLSession.shared.data(for: request)"),i.push(""),i.push("guard let httpResponse = response as? HTTPURLResponse,"),i.push(" 200..<300 ~= httpResponse.statusCode else {"),i.push(" throw URLError(.badServerResponse)"),i.push("}"),i.push(""),i.push('print(String(data: data, encoding: .utf8) ?? "")'),i.join(` 364`)}},_4=[{key:"c",title:"C",default:"libcurl",clients:[mUe]},{key:"csharp",title:"C#",default:"restsharp",clients:[SUe,CUe]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[OUe]},{key:"dart",title:"Dart",default:"http",clients:[$Ue]},{key:"fsharp",title:"F#",default:"httpclient",clients:[PUe]},{key:"go",title:"Go",default:"native",clients:[XUe]},{key:"http",title:"HTTP",default:"http1.1",clients:[WUe]},{key:"java",title:"Java",default:"unirest",clients:[GUe,KUe,JUe,eje]},{key:"js",title:"JavaScript",default:"fetch",clients:[sje,oje,cje,lje,uje]},{key:"julia",title:"Julia",default:"http",clients:[gje]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[vje]},{key:"node",title:"Node.js",default:"fetch",clients:[Sje,Oje,wje,xje]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[Aje]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[Tje]},{key:"php",title:"PHP",default:"curl",clients:[Eje,_je,Pje]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[Rje,Ije]},{key:"python",title:"Python",default:"python3",clients:[Hje,Vje,Lje,Bje,Dje]},{key:"r",title:"R",default:"httr2",clients:[Zje]},{key:"ruby",title:"Ruby",default:"native",clients:[Gje]},{key:"rust",title:"Rust",default:"reqwest",clients:[eFe]},{key:"shell",title:"Shell",default:"curl",clients:[oFe,lFe,sFe]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[fFe]}];function S3(){function e(t,n){var r;return(r=_4.find(({key:a})=>a===t))==null?void 0:r.clients.find(a=>a.client===n)}return{print(t,n,r){var a;return(a=e(t,n))==null?void 0:a.generate(r)},clients(){return _4},plugins(){return _4.flatMap(({key:t,clients:n})=>n.map(r=>({target:t,client:r.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var _C="shell/curl",JQ=e=>yb.includes(e),hFe=e=>JQ(e)||typeof e=="string"&&e.startsWith("custom/"),w3=(e,t)=>{var a,i,o;let n=s=>{for(let l of e){let c=l.options.find(u=>u.id===s);if(c)return c}},r=(a=e.find(s=>
364s.key==="custom"))==null?void 0:a.options[0];if(t!=null&&t.startsWith("custom"))return n(t)??r??n("shell/curl")??((i=e[0])==null?void 0:i.options[0]);if(t){let s=n(t);if(s)return s}return r||(n("shell/curl")??((o=e[0])==null?void 0:o.options[0]))},R5=e=>{let t=new Map;return e.map(n=>{let r=(n.lang||"plaintext").toLowerCase(),a=t.get(r)??0;return t.set(r,a+1),a===0?`custom/${r}`:`custom/${r}/${a}`})},pFe=(e=yb)=>{let t=new Set(e);return S3().clients().flatMap(n=>{let r=n.clients.flatMap(a=>{let i=`${n.key}/${a.client}`;return t.has(i)?{id:i,lang:a.client==="curl"?"curl":n.key,title:`${NI(n.title)} ${a.title}`,label:a.title,targetKey:n.key,targetTitle:n.title,clientKey:a.client}:[]});return r.length===0?[]:{label:n.title,key:n.key,options:r}})},mFe=typeof OVERRIDE_PACKAGE_VERSION<"u"?OVERRIDE_PACKAGE_VERSION:"0.1.17";const gFe={"&":"&","<":"<",">":">",'"':""","'":"'"};function C4(e){return e.replace(/[&<>"']/g,t=>gFe[t]??t)}function CC(e,t={}){const{indent:n=" ",format:r=!0,xmlDeclaration:a=!0}=t,i=(s,l,c)=>{var d,f;let u="";if(Array.isArray(s))for(let h=0,p=s.length;h<p;h++)u+=i(s[h],l,c);else if(typeof s=="object"&&s!==null){let h=!1,p="",m="";for(const g in s)g.charAt(0)==="@"&&(p+=" "+g.substr(1)+'="'+C4(s[g].toString())+'"');for(const g in s)if(g==="#text")m+=C4(((d=s[g])==null?void 0:d.toString())??"");else if(g==="#cdata"){const v=((f=s[g])==null?void 0:f.toString())??"";m+="<![CDATA["+v.replace(/]]>/g,"]]]]><![CDATA[>")+"]]>"}else g.charAt(0)!=="@"&&(h=!0,m+=i(s[g],g,c+n));h||m?(u+=c+"<"+l+p+`> 365`,u+=m,u+=c+"</"+l+`> 366`):u+=c+"<"+l+p+`/> 367`}else u+=c+"<"+l+">"+C4((s==null?void 0:s.toString())||"")+"</"+l+`> 368`;return u};let o="";a&&(o+='<?xml version="1.0" encoding="UTF-8"?>',r&&(o+=` 369`));for(const s in e)Object.hasOwn(e,s)&&(o+=i(e[s],s,""));return r?o.trim():o.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}var x3=(e,t,n,r=!1,a)=>{let i=[],o=Array.isArray(e)?e.filter(s=>!s.isDisabled).map(s=>[String(s.name),s.value]):Object.entries(e);for(let[s,l]of o){if(l==null)continue;let c=n||t==null?void 0:t[s];if(r&&!n){let h=Array.isArray(e)?ife(l,rfe(a,[s])):l,p=ufe(s,Array.isArray(h)?h:l,c);if(p){for(let m of p)i.push({name:m.key,value:m.value instanceof File?`@${m.value.name}`:m.value,...m.contentType?{contentType:m.contentType}:{}});continue}}let u=c&&(c.style!==void 0||c.explode!==void 0||c.allowReserved!==void 0),d=u||!r||c==null?void 0:c.contentType,f=n?null:xM(s,l,c);if(f)for(let h of f)i.push({name:h.key,value:h.value});else if(l instanceof File){let h=qt(l);i.push({name:s,value:`@${h.name}`,...d?{contentType:d}:{}})}else if(d&&typeof l=="object")i.push({name:s,value:JSON.stringify(qt(l)),contentType:d});else if(r&&!n&&!u&&typeof l=="object"&&!Array.isArray(l))i.push({name:s,value:JSON.stringify(qt(l)),contentType:"application/json"});else if(Array.isArray(l))for(let h of l)if(h instanceof File){let p=qt(h);i.push({name:s,value:`@${p.name}`})}else i.push({name:s,value:String(h)});else if(typeof l=="object"){let h=x3(l,void 0,s);for(let p of h)i.push({name:`${s}.${p.name}`,value:p.value})}else i.push({name:s,value:String(l),...d?{contentType:d}:{}})}return i},bFe=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{var f,h,p,m;let a=t||Object.keys(e.content)[0]||"",i=a==="other"?"":a,o=g=>`@${qt(g).name||"filename"}`,s=(f=e.content[a])==null?void 0:f.encoding,l=a==="multipart/form-data"||a==="application/x-www-form-urlencoded",c=a==="application/xml",u=(h=B8(e,n,t))==null?void 0:h.value;if(u!==void 0){let g=typeof u=="object"&&u?qt(u):u;return l&&typeof g=="object"&&g?{mimeType:i,params:x3(g,s,void 0,a==="multipart/form-data",Se((p=e.content[a])==null?void 0:p.schema,mr))}:c&&typeof g=="object"&&g?{mimeType:i,text:CC(g)}:g instanceof File?{mimeType:i,text:o(g)}:{mimeType:i,text:typeof g=="string"?g:JSON.stringify(g)}}let d=Se((m=e.content[a])==null?void 0:m.schema);if(d!==void 0){let g=Oi(D2(d),{compositionSelection:r,mode:"write",xml:c},{schemaPath:["requestBody"]});if(g!==void 0)return l&&typeof g=="object"&&g?{mimeType:i,params:x3(g,s,void 0,a==="multipart/form-data")}:c&&typeof g=="object"&&g?{mimeType:i,text:CC(g)}:{mimeType:i,text:typeof g=="string"?g:JSON.stringify(g)}}},yFe=e=>(e??[]).map(t=>Se(t)).filter(t=>t!==void 0),vFe=e=>"allowReserved"in e&&e.allowReserved!==void 0?e.allowReserved:"schema"in e&&e.schema&&typeof e.schema=="object"&&"allowReserved"in e.schema?e.schema.allowReserved===!0:!1,_l=(e,t)=>
369vFe(t)?e:encodeURIComponent(e),OFe=e=>{if(e.in==="header")return{style:"simple",explode:"explode"in e&&e.explode!==void 0&&e.explode};if(e.in==="cookie")return{style:"form",explode:"explode"in e&&e.explode!==void 0?e.explode:!0};let t={path:"simple",query:"form",header:"simple",cookie:"form"}[e.in]??"form",n="style"in e&&e.style?e.style:t;return{style:n,explode:"explode"in e&&e.explode!==void 0?e.explode:n==="form"}},SFe=(e,t,n,r)=>{let a=B8(e,t,n);if(VM(e,a,r))return;if((a==null?void 0:a.value)!==void 0)return Ipe(a.value,e);if(!("schema"in e)||!e.schema)return;let i=e.in==="path"?{emptyString:`{${e.name}}`}:{},o=Se(e.schema);return o?Oi(o,i):void 0},wFe=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let a=[...e.headers],i=[...e.queryString],o=e.url,s=yFe(t);for(let l of s){if(!l.in||!l.name)continue;let c=SFe(l,n,void 0,r);if(c===void 0)continue;let{style:u,explode:d}=OFe(l);switch(l.in){case"path":o=xFe(o,l,c,u,d);break;case"query":case"querystring":if("content"in l&&l.content){let f=ofe(c,Object.keys(l.content)[0]??"application/json");i.push({name:l.name,value:_l(f,l)});break}switch(u){case"form":{let f=W2(c,d);if(Array.isArray(f))for(let h of f){let p=h.key||l.name;i.push({name:p,value:_l(String(h.value),l)})}else i.push({name:l.name,value:_l(String(f),l)});break}case"spaceDelimited":{let f=OM(c);i.push({name:l.name,value:_l(f,l)});break}case"pipeDelimited":{let f=SM(c);i.push({name:l.name,value:_l(f,l)});break}case"deepObject":if(Array.isArray(c)){let f=W2(c,!0);if(Array.isArray(f))for(let h of f){let p=h.key||l.name;i.push({name:p,value:_l(String(h.value),l)})}else i.push({name:l.name,value:_l(String(f),l)})}else{let f=wM(l.name,c);for(let h of f)i.push({name:h.key,value:_l(h.value,l)})}break;default:i.push({name:l.name,value:_l(String(c),l)})}break;case"header":{let f=vM(c,d);a.push({name:l.name,value:String(f)});break}case"cookie":{let f=sfe(c,d);if(Array.isArray(f))for(let h of f){let p=h.key||l.name,m=h.value===null?"null":String(h.value);e.cookies.push({name:p,value:m})}else{let h=f===null?"null":String(f);e.cookies.push({name:l.name,value:h})}break}}}return{url:o,headers:a,queryString:i,cookies:e.cookies}},xFe=(e,t,n,r,a)=>{switch(r){case"matrix":if(a){if(Array.isArray(n)){let i=n.map(o=>`${t.name}=${o}`).join(";");return e.replace(`{;${t.name}}`,`;${i}`)}if(Ht(n)){let i=Object.entries(n).map(([o,s])=>`${o}=${s}`).join(";");return e.replace(`{;${t.name}}`,`;${i}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(",")}`);if(Ht(n)){let i=Object.entries(n).map(([o,s])=>`${o},${s}`).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${i}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case"label":if(a){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(".")}`);if(Ht(n)){let i=Object.entries(n).map(([o,s])=>`${o}=${s}`).join(".");return e.replace(`{.${t.name}}`,`.${i}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(",")}`);if(Ht(n)){let i=Object.entries(n).map(([o,s])=>`${o},${s}`).join(",");return e.replace(`{.${t.name}}`,`.${i}`)}return e.replace(`{.${t.name}}`,`.${n}`);case"simple":{let i=vM(n,a);return e.replace(`{${t.name}}`,String(i))}default:return e.replace(`{${t.name}}`,String(n))}},kFe=e=>{var n;let t={headers:[],queryString:[],cookies:[]};for(let r of e){if(r.type==="apiKey"){let a=r["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!r.name)continue;let i={name:r.name,value:a};switch(r.in){case"header":t.headers.push(i);break;case"query":t.queryString.push(i);break;case"cookie":t.cookies.push(i);break}continue}if(r.type==="http"){if(r.scheme==="basic"){let a=`${r["x-scalar-secret-username"]||""}:${r["x-scalar-secret-password"]||""}`,i=a===":"?"username:password":uo(a);t.headers.push({name:"Authorization",value:`Basic ${i}`})}else if(r.scheme==="bearer"){let a=r["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${a}`})}continue}if(r.type==="oauth2"&&r.flows){let a=((n=Object.values(r.flows).find(i=>i["x-scalar-secret-token"]))==null?void 0:n["x-scalar-secret-token"])||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${a}`})}}return t},AFe=(e,t)=>{if(!(e!=null&&e.url))return t;let n=e.url;return e.variables?qm(gfe(n,Object.entries(e.variables).reduce((r,[a,i])=>(i.default!==void 0&&(r[a]=i.default),r),{})),t):qm(n,t)},ez=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:a,server:i=null,example:o,securitySchemes:s,globalCookies:l,requestBodyCompositionSelection:c,defaultDisabledParameters:u=!1})=>{var g,v,k,S,A,E;let d=Qpe(e?Hpe({method:r,operation:t,exampleName:o??"default",hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:qM(),appVersion:mFe}}):{}),f=((v=(g=t["x-scalar-disable-parameters"])==null?void 0:g["global-cookie
369s"])==null?void 0:v[o??"default"])??{},h={method:r,url:AFe(i,a),headers:Object.entries(d).map(([_,C])=>({name:_,value:C})),queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:_,headers:C,queryString:R,cookies:B}=wFe({harRequest:h,parameters:t.parameters,example:o,defaultDisabled:u}),L=((k=l==null?void 0:l.filter(V=>BM({cookie:V,url:_,disabledGlobalCookies:f})))==null?void 0:k.map(V=>({name:V.name,value:V.value})))??[];h.url=_,h.headers=C,h.queryString=R,h.cookies=[...L,...B]}let p=Se(t.requestBody);if(p!=null&&p.content){let _=bFe({requestBody:p,contentType:n,example:o,requestBodyCompositionSelection:c});if(_&&(h.postData=_,h.bodySize=((S=_.text)==null?void 0:S.length)??-1,_.mimeType)){let C=h.headers.find(R=>R.name.toLowerCase()==="content-type");C&&!C.value?C.value=_.mimeType:C||h.headers.push({name:"Content-Type",value:_.mimeType})}}if(s){let{headers:_,queryString:C,cookies:R}=kFe(s);h.headers.push(..._),h.queryString.push(...C),h.cookies.push(...R)}let m=0;for(let _ of h.headers)m+=(((A=_.name)==null?void 0:A.length)??0)+2+(((E=_.value)==null?void 0:E.length)??0)+2;return h.headersSize=m,h},$C="ws://replace.me",TFe=(e,t,n)=>{var r;try{if(!n.url)return[Error("Please enter a URL to see a code snippet"),null];let a=n.url.startsWith("/")?"":"/";try{new URL(n.url)}catch{n.url=`${$C}${a}${n.url}`}if(((r=n.postData)==null?void 0:r.mimeType)==="application/json")try{JSON.parse(n.postData.text||"{}")}catch(o){return console.error("[getSnippet] Invalid JSON body",o),[Error("Invalid JSON body"),null]}let i=e.replace("javascript","js");if(S3().hasPlugin(i,t)){let o=S3().print(i,t,n);return o?[null,o.replace(`${$C}${a}`,"")]:[Error("Error generating snippet"),null]}}catch(a){return console.error("[getSnippet] Error generating snippet",a),[Error("Error generating snippet"),null]}return[Error("No snippet found"),null]},EFe=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:a,path:i,example:o,contentType:s,server:l,securitySchemes:c,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{var h;try{if(!e)return"";if(e.startsWith("custom"))return((h=t[R5(t).indexOf(e)])==null?void 0:h.source)??"Custom example not found";let p=ez({operation:r,contentType:s,method:a,path:i,server:l,securitySchemes:c,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[m,g]=e.split("/"),[v,k]=TFe(m,g,p);return v?(console.error("[generateCodeSnippet]",v),v.message??"Error generating code snippet"):k}catch(p){return console.error("[generateCodeSnippet]",p),"Error generating code snippet"}},tz=(e,t)=>Object.entries(e??{}).map(([n,r])=>({lang:n,source:r,...t?{label:t}:{}})),_Fe=e=>e?(Array.isArray(e)?e:[e]).flatMap(t=>tz(t.request,t.title)):[],CFe=e=>(e??[]).map(t=>({lang:t.language,source:t.code,...t.name?{label:t.name}:{}})),$4="SDK",k3="Code Examples",$Fe=e=>{var i;let t=e["x-scalar-examples"]??[];if(t.length)return{label:$4,samples:t};let n=tz(e["x-stainless-snippets"]);if(n.length)return{label:$4,samples:n};let r=_Fe(e["x-stainless-examples"]);if(r.length)return{label:$4,samples:r};let a=CFe((i=e["x-readme"])==null?void 0:i["code-samples"]);return a.length?{label:k3,samples:a}:{label:k3,samples:["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(o=>e[o]??[])}};const PFe=(e="")=>{var t;return(((t=e[0])==null?void 0:t.toUpperCase())??"")+e.slice(1)};var IFe={c:"C",clojure:"Clojure",cpp:"C++","c++":"C++",csharp:"C#","c#":"C#",css:"CSS",curl:"cURL",dart:"Dart",fsharp:"F#","f#":"F#",go:"Go",golang:"Go",graphql:"GraphQL",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",js:"JavaScript",json:"JSON",jl:"Julia",julia:"Julia",kotlin:"Kotlin",node:"Node.js",nodejs:"Node.js",objc:"Objective-C","objective-c":"Objective-C",ocaml:"OCaml",php:"PHP",powershell:"PowerShell",py:"Python",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",sh:"Shell",shell:"Shell",bash:"Shell",sql:"SQL",swift:"Swift",ts:"TypeScript",typescript:"TypeScript",xml:"XML",yaml:"YAML",yml:"YAML"},RFe=e=>{if(e)return IFe[e.toLowerCase()]??PFe(e)},NFe=(e,t,n=k3)=>{if(e.length){let r=R5(e);return[{label:n,key:"custom",options:e.map((a,i)=>{let o=r[i]??`custom/${i}`,s=a.label||RFe(a.lang)||o;return{id:o,lang:a.lang||"plaintext",title:s,label:s,clientKey:"custom"}})},...t]}return t},MFe=e=>e.flatMap(t=>t.type==="apiKey"?t["x-scalar-secret-token"]:(t==null?void 0:t.type)==="http"?[t["x-scalar-secret-token"],t["x-scalar-secret-username"],t["x-scalar-secret-password"],uo(`${t["x-scalar-secret-username"]}:${t["x-scalar-secret-password"]}`)]:t.type==="oauth2"?Object.values(t.flows).map(n=>
369n["x-scalar-secret-token"]):[]).filter(Boolean),LFe={class:"min-w-0 flex-1 truncate"},DFe=F({inheritAttrs:!1,__name:"ExamplePicker",props:Cn({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=Tn(e,"modelValue"),n=$(()=>Object.entries(e.examples).map(([a,i])=>({id:a,label:(i==null?void 0:i.summary)??a}))),r=$({get:()=>n.value.find(({id:a})=>a===t.value),set:a=>t.value=(a==null?void 0:a.id)??""});return(a,i)=>(y(),M(b(fu),{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o),class:"w-fit min-w-32",options:n.value,placement:"bottom-start",teleport:""},{default:I(()=>[N(b(zn),Te({class:"text-c-2 hover:text-c-1 flex h-full w-fit min-w-0 gap-1.5 px-1.5 py-0.75 text-base font-normal","data-testid":"example-picker",variant:"ghost"},a.$attrs),{default:I(()=>{var o;return[x("div",LFe,H(((o=r.value)==null?void 0:o.label)??"Select an example"),1),N(b(Xo),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]}),_:1},16)]),_:1},8,["modelValue","options"]))}}),N5=DFe,BFe=F({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=$(()=>q0(String(t.method||""))),r=$(()=>N6(t.method));return(a,i)=>(y(),M(Wt(e.as??"span"),{class:"uppercase",style:Pr({[e.property||"color"]:n.value.colorVar})},{default:I(()=>[q(a.$slots,"default"),ae(" "+H(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),PC=BFe,nz=Symbol(),UFe=e=>{const t=Rn(nz,void 0);t&&(t.value=e)},jFe=()=>{const e=J();return _n(nz,e),{id:e}},FFe=F({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){const{id:t}=jFe(),n=$(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=$t();return(a,i)=>(y(),w("div",Te({role:"group"},{...n.value,...b(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[q(a.$slots,"default")],16))}}),gh=FFe,QFe=F({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[q(n.$slots,"default")],16))}}),Hc=QFe,zFe=F({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(Hc,jt(Xt(b(t)("scalar-card-footer"))),{default:I(()=>[q(n.$slots,"default")]),_:3},16))}}),M5=zFe,HFe=["id"],VFe={key:0,class:"flex"},qFe=F({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){const{cx:t}=$t(),n=Mt();return UFe(n),(r,a)=>(y(),M(Hc,jt(Xt(b(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:I(()=>[x("div",{id:b(n),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[q(r.$slots,"default")],8,HFe),r.$slots.actions?(y(),w("div",VFe,[q(r.$slots,"actions")])):U("",!0)]),_:3},16))}}),u1=qFe,ZFe=F({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}}),Nv=ZFe,XFe={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},WFe={key:0,class:"whitespace-nowrap px-1.5"},YFe={key:0,class:"sr-only",role:"alert"},GFe={key:1,class:"sr-only"},KFe=F({inheritAttrs:!1,__name:"ScalarCopyButton",props:Cn({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=Tn(e,"copied"),{cx:n}=$t(),r=$(()=>t.value?B6:U6);return(a,i)=>(y(),w("button",Te({type:"button"},b(n)("group/copy-button relative z-0 flex items-center justify-center","size-6 p-1.25 -m-1 rounded text-xs bg-b-2",t.value?"text-c-1":"text-c-2 hover:text-c-1")),[N(R2,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:I(()=>[(y(),M(Wt(r.value),{class:"size-full"}))]),_:1}),i[4]||(i[4]=x("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1)),x("div",{class:Oe(["group/copy-label absolute flex items-center -inset-y-0.5 rounded",{"left-0 pl-[100%]":e.placement==="right","right-0 pr-[100%]":e.placement==="left"}])},[x("div",XFe,[N(R2,{enterActiveClass:"transition-transform ease-
369out",enterFromClass:"translate-y-1.5",enterToClass:"translate-y-0",leaveActiveClass:"transition-transform ease-in",leaveFromClass:"translate-y-0",leaveToClass:"-translate-y-1.5",mode:"out-in"},{default:I(()=>[t.value?(y(),w("div",WFe,[q(a.$slots,"copied",{},()=>[i[0]||(i[0]=ae("Copied",-1))])])):(y(),w("div",{key:1,class:Oe(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[q(a.$slots,"copy",{},()=>[i[1]||(i[1]=ae("Copy",-1))])],2))]),_:3})]),t.value?(y(),w("div",YFe,[q(a.$slots,"copied",{},()=>[i[2]||(i[2]=ae("Copied",-1))])])):(y(),w("div",GFe,[q(a.$slots,"copy",{},()=>[i[3]||(i[3]=ae("Copy",-1))])])),q(a.$slots,"backdrop",{},()=>[N(Nv)])],2)],16))}}),rz=KFe,JFe=F({__name:"ScalarCopy",props:Cn({content:{default:""},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=Tn(e,"copied");Lt(()=>{e.immediate&&n(e.content)});const{copy:n,copied:r}=jQ({legacy:!0,copiedDuring:e.duration});return ze(r,a=>t.value=a),(a,i)=>(y(),M(rz,{copied:t.value||b(r),placement:e.placement,showLabel:e.showLabel,onClick:i[0]||(i[0]=o=>b(n)(e.content))},xr({_:2},[a.$slots.copy?{name:"copy",fn:I(()=>[q(a.$slots,"copy")]),key:"0"}:void 0,a.$slots.copied?{name:"copied",fn:I(()=>[q(a.$slots,"copied")]),key:"1"}:void 0,a.$slots.backdrop?{name:"backdrop",fn:I(()=>[q(a.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}}),az=JFe,IC={bash:"Bash",c:"C",clojure:"Clojure",cpp:"C++",csharp:"C#",css:"CSS",curl:"cURL",dart:"Dart",diff:"Diff",docker:"Docker",dockerfile:"Dockerfile",elixir:"Elixir",fsharp:"F#",go:"Go",graphql:"GraphQL",haskell:"Haskell",html:"HTML",http:"HTTP",ini:"INI",java:"Java",javascript:"JavaScript",json:"JSON",julia:"Julia",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",mojo:"Mojo",nginx:"Nginx",objectivec:"Objective-C",ocaml:"OCaml",perl:"Perl",php:"PHP",plaintext:"Plain Text",powershell:"PowerShell",properties:"Properties",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",scss:"SCSS",shell:"Shell",sql:"SQL",swift:"Swift",toml:"TOML",typescript:"TypeScript",xml:"XML",yaml:"YAML"},eQe={class:"hidden group-hocus-within/code-block:inline"},tQe=F({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:Cn({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){const t=Tn(e,"copied"),n=$(()=>typeof e.content=="string"?e.content:JSON.stringify(e.content,null,2)),r=i=>i in IC,{cx:a}=$t();return(i,o)=>(y(),M(b(az),Te({content:n.value,showLabel:"",copied:t.value,"onUpdate:copied":o[0]||(o[0]=s=>t.value=s),placement:"left"},{...b(a)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),xr({backdrop:I(()=>[q(i.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:I(()=>[x("span",eQe,[e.showLang?(y(),w("span",{key:0,class:Oe(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])},H(r(e.lang)?b(IC)[e.lang]:e.lang),3)):U("",!0),x("span",{class:Oe({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}}),iz=tQe;const bh=e=>{if(typeof e=="string")try{const t=JSON.parse(e);return typeof t=="object"&&t!==null?JSON.stringify(t,null,2):e}catch{return e}if(typeof e=="object")try{return rQe(e)}catch(t){if(t===oz)return aQe(e);throw t}return(e==null?void 0:e.toString())??""},nQe=1e5,oz=new Error("Expanded JSON exceeded the node limit");function rQe(e){const t=[];let n=0;return JSON.stringify(e,function(r,a){if(n+=1,n>nQe)throw oz;if(typeof a!="object"||a===null)return a;for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(a)?"[Circular]":(t.push(a),a)},2)}function aQe(e){const t=new Set;return JSON.stringify(e,(n,r)=>{if(typeof r=="object"&&r!==null){if(t.has(r))return"[Circular]";t.add(r)}return r},2)}var iQe={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1"},oQe=["id","innerHTML"],sQe=F({inheritAttrs:!1,__name:"ScalarCodeBlock",props:{content:{},prettyPrintedContent:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:"hover"}},setup(e){const t=Mt(),n=$(()=>e.prettyPrintedContent||bh(e.content??"")),r=$(()=>tIe(n.value,{lang:e.lang.trim(),languages:Dj,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),a=$(()=>!n.value.includes(` 370`)),i=$(()=>n.value!==null&&n.value!=="null"&&n.value!=="404 Not Found"),o=$(()=>e.copy&&i.value),s=$(()=>a.value&&o.value),{cx:l}=$t();return(c,u)=>(y(),w("div",jt(Xt(b(l)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[x("div",iQe,[x("pre",{id:b(t),class:Oe(["m-0 bg-transparent text-nowrap whitespace-pre w-fit",{"pr-6":s.value}]),innerHTML:r.value},null,10,oQe)]),o.value?(y(),M(b(iz),{key:0,class:Oe(["scalar-code-copy absolute",[a.value?"top-1/2 -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{"opacity-100":e.copy==="always"}]]),content:n.value,showLang:!a.value,lang:e.lang,"aria-controls":b(t)},{backdrop:I(()=>[N(Nv,{class:Oe(["scalar-code-copy-backdrop",[a.value?"-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3":"-right-1.5 -top-1"]])},null,8,["class"])]),_:1},8,["class","content","showLang","lang","aria-controls"])):U("",!0)],16))}}),d1=sQe;function lQe(e){return(e==null?void 0:e.options)!==void 0}function RC(e){return e[0]?lQe(e[0]):!1}var cQe=(e,t)=>e===""?t:t.filter(n=>n.label.toLowerCase().includes(e.toLowerCase())),uQe=["aria-selected"],dQe=F({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){const t=Ur({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}});return(n,r)=>(y(),w("li",{"aria-selected":e.selected,class:Oe(b(fd)(b(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[q(n.$slots,"default",{active:e.active,selected:e.selected})],10,uQe))}}),NC=dQe,fQe=["id","aria-labelledby","role"],hQe=["id"],pQe=F({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>Mt()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),w("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?U("",!0):(y(),w("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[q(t.$slots,"label")],8,hQe)),q(t.$slots,"default")],8,fQe))}}),mQe=pQe,gQe={class:"relative flex"},bQe=["aria-activedescendant","placeholder"],yQe=["aria-multiselectable"],vQe={class:"inline-block min-w-0 flex-1 truncate text-c-1"},OQe=F({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:Cn({options:{},placeholder:{},filterFn:{type:Function,default:cQe},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:Cn(["add"],["update:modelValue"]),setup(e,{emit:t}){var k;const n=t,r=Tn(e,"modelValue"),a=O8(),i=`scalar-combobox-items-${Mt()}`,o={id:`${Mt()}-add`,label:"Add a new option"};function s(S){return`${i}-${S.id}`}const l=$(()=>RC(e.options)?e.options.flatMap(S=>S.options):e.options),c=$(()=>RC(e.options)?e.options:[{label:"",options:e.options}]),u=J(""),d=J(((k=r.value)==null?void 0:k[0])??l.value[0]);Lt(()=>{var S;u.value="",d.value=((S=r.value)==null?void 0:S[0])??l.value[0],r.value[0]&&setTimeout(()=>{var E;const A=r.value[0];A&&((E=document==null?void 0:document.getElementById(s(A)))==null||E.scrollIntoView({block:"nearest"}))},10)}),ze(()=>u.value,()=>d.value=h.value[0]);const f=$(()=>e.filterFn(u.value,l.value,c.value)),h=$(()=>a.add?[...f.value,o]:f.value);function p(S){if(S){if(S.id===o.id){g();return}e.multiselect?r.value.some(A=>A.id===S.id)?r.value=r.value.filter(A=>A.id!==S.id):r.value=[...r.value,l.value.find(A=>A.id===S.id)]:r.value=[l.value.find(A=>A.id===S.id)]}}function m(S){var _;const A=h.value,E=A.findIndex(C=>{var R;return C.id===((R=d.value)==null?void 0:R.id)})+S;E<0||E>A.length-1||(d.value=A[E],d.value&&((_=document==null?void 0:document.getElementById(s(d.value)))==null||_.scrollIntoView({behavior:"smooth",block:"nearest"})))}function g(){n("add"),u.value=""}const v=J(null);return Lt(()=>setTimeout(()=>{var S;return(S=v.value)==null?void 0:S.focus()},0)),(S,A)=>{var E;return y(),w(de,null,[x("div",gQe,[N(b(X0),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),Fi(x("input",{ref_key:"input",ref:v,"onUpdate:modelValue":A[0]||(A[0]=_=>u.value=_),"aria-activedescendant":d.value?s(d.value):void 0,"aria-autocomplete":"list","aria-controls":i,
370class:"min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1","data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",type:"text",onKeydown:[A[1]||(A[1]=Ma(Qt(_=>m(1),["prevent"]),["down"])),A[2]||(A[2]=Ma(Qt(_=>d.value&&p(d.value),["prevent"]),["enter"])),A[3]||(A[3]=Ma(Qt(_=>m(-1),["prevent"]),["up"]))]},null,40,bQe),[[xd,u.value]])]),Fi(x("ul",{id:i,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[(y(!0),w(de,null,it(c.value,(_,C)=>(y(),M(mQe,{id:`${i}-group-${C}`,key:C,hidden:!_.options.some(R=>f.value.some(B=>B.id===R.id))||!_.label},{label:I(()=>[S.$slots.group?q(S.$slots,"group",{group:_},void 0,void 0,0):(y(),w(de,{key:1},[ae(H(_.label),1)],64))]),default:I(()=>[(y(!0),w(de,null,it(f.value,R=>{var B;return y(),w(de,{key:R.id},[_.options.some(L=>L.id===R.id)?(y(),M(NC,{key:0,id:s(R),active:((B=d.value)==null?void 0:B.id)===R.id,selected:r.value.some(L=>L.id===R.id),onClick:L=>p(R),onMousedown:A[4]||(A[4]=Qt(()=>{},["prevent"])),onMouseenter:L=>d.value=R},{default:I(({active:L,selected:V})=>[S.$slots.option?q(S.$slots,"option",{active:L,option:R,selected:V},void 0,void 0,0):(y(),w(de,{key:1},[N(b(gv),{multiselect:e.multiselect,selected:r.value.some(Q=>Q.id===R.id)},null,8,["multiselect","selected"]),x("span",vQe,H(R.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):U("",!0)],64)}),128))]),_:2},1032,["id","hidden"]))),128)),a.add?(y(),M(NC,{key:0,id:s(o),active:((E=d.value)==null?void 0:E.id)===o.id,onClick:g,onMousedown:A[5]||(A[5]=Qt(()=>{},["prevent"])),onMouseenter:A[6]||(A[6]=_=>d.value=o)},{default:I(({active:_})=>[N(b(j6),{class:"size-4 p-px"}),q(S.$slots,"add",{active:_})]),_:3},8,["id","active"])):U("",!0)],8,yQe),[[I2,f.value.length||a.add]])],64)}}}),sz=OQe,SQe=F({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){const{cx:n}=$t(),r=J(null),a=i=>{var o;["ArrowUp","ArrowDown"].includes(i.key)&&(i.preventDefault(),(o=i.target)==null||o.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(i,o)=>(y(),M(b(E8),{as:"template"},{default:I(({open:s})=>[N(b(Y0),jt(Xt(i.$props)),xr({default:I(()=>[N(b(oR),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:a},{default:I(()=>[q(i.$slots,"default",{open:s})]),_:2},1536)]),_:2},[s?{name:"floating",fn:I(({width:l})=>[N(b(sR),Te({style:{width:l}},b(n)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:I(({close:c})=>[q(i.$slots,"popover",{close:c,open:s}),N(b(Gh))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}}),lz=SQe,wQe=F({__name:"ScalarCombobox",props:Cn({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Cn(["add"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=Tn(e,"modelValue");return(a,i)=>(y(),M(lz,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:I(({open:o})=>[q(a.$slots,"default",{open:o})]),popover:I(({open:o,close:s})=>[N(sz,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:o,options:e.options,placeholder:e.placeholder,onAdd:()=>(s(),n("add")),"onUpdate:modelValue":l=>(s(),r.value=l[0])},xr({_:2},[a.$slots.option?{name:"option",fn:I(l=>[q(a.$slots,"option",jt(Xt(l)))]),key:"0"}:void 0,a.$slots.group?{name:"group",fn:I(l=>[q(a.$slots,"group",jt(Xt(l)))]),key:"1"}:void 0,a.$slots.add?{name:"add",fn:I(l=>[q(a.$slots,"add",jt(Xt(l)))]),key:"2"}:void 0]),1032,["filterFn","modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),Mv=wQe,xQe=F({__name:"ScalarComboboxMultiselect",props:Cn({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:Cn(["add"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=n,a=Tn(e,"modelValue"),i=J(null);return t({comboboxPopoverRef:i}),(o,s)=>(y(),M(lz,{ref_key:"comboboxPopoverRef",ref:i,middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:I(({open:l})=>[q(o.$slots,"default",{open:l})]),popover:I(({open:l})=>{var c;return[(c=e.options)!=null&&c.length?(y(),M(sz,{key:0,modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=u=>a.value=u),filterFn:e.filterFn,multiselect:"",open:l,options:e.options,placeholder:e.placeholder,onAdd:s[1]||(s[1]=u=>r("add"))},xr({_:2},[o.$slots.option?{name:"option",fn:I(u=>[q(o.$slots,"option",jt(Xt(u)))]),key:"0"}:void 0,o.$slots.group?{name:"group",fn:I(u=>[q(o.$slots,"group",jt(Xt(u)))]),key:"1"}:void 0,o.$slots.add?{name:"add",fn:I(u=>[q(o.$slots,"add",jt(Xt(u)))]),key:"2"}:void 0]),1032,["modelValue","filterFn","open","options","placeholder"])):U("",!0)]}),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}}),cz=xQe,kQe={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},AQe=["disabled"],TQe=["disabled"],EQe=F({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:n}){const r=e,a=n,i=J(null),o=J(r.query);ze(()=>r.query,c=>{o.value=c}),ze(o,c=>{a("update:query",c)});const s=()=>{In(()=>{var c;return(c=i.value)==null?void 0:c.focus()})},l=c=>
370{c.key==="Enter"&&(c.preventDefault(),c.shiftKey?a("prev"):a("next")),c.key==="Escape"&&(c.preventDefault(),a("close"))};return t({focus:s}),(c,u)=>(y(),w("div",{class:"scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md",onClick:u[4]||(u[4]=Qt(()=>{},["stop"]))},[N(b(X0),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),Fi(x("input",{ref_key:"searchInputRef",ref:i,"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),"aria-label":"Search in text",autocomplete:"off",class:"scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none",placeholder:"Find...",spellcheck:"false",type:"search",onKeydown:l},null,544),[[xd,o.value]]),o.value?(y(),w("span",kQe,H(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):U("",!0),u[5]||(u[5]=x("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1)),x("button",{"aria-label":"Previous match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:e.matchCount===0,title:"Previous match (Shift+Enter)",type:"button",onClick:u[1]||(u[1]=d=>a("prev"))},[N(b(v1e),{class:"size-3"})],8,AQe),x("button",{"aria-label":"Next match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:e.matchCount===0,title:"Next match (Enter)",type:"button",onClick:u[2]||(u[2]=d=>a("next"))},[N(b(Xo),{class:"size-3"})],8,TQe),x("button",{"aria-label":"Close search",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1",title:"Close (Escape)",type:"button",onClick:u[3]||(u[3]=d=>a("close"))},[N(b(Yh),{class:"size-3"})])]))}}),_Qe=Ns(EQe,[["__scopeId","data-v-95edadbb"]]),CQe={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},$Qe=F({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){const t=e,n=J(null),r=J(null),a=J(0),i=J(0),o=J(""),s=J(!1),l=J(0),c=$(()=>t.text.split(` 371`)),u=$(()=>c.value.length*t.lineHeight),d=$(()=>Math.floor(a.value/t.lineHeight)),f=$(()=>Math.min(Math.ceil((a.value+i.value)/t.lineHeight),c.value.length)),h=10,p=$(()=>Math.max(0,d.value-h)),m=$(()=>{const ne=Math.min(c.value.length,f.value+h);return c.value.slice(p.value,ne)}),g=$(()=>p.value*t.lineHeight),v=$(()=>{const ne=o.value;if(!ne)return[];const G=ne.toLowerCase(),re=[];for(let Y=0;Y<c.value.length;Y++){const ye=c.value[Y];if(!ye)continue;const Ee=ye.toLowerCase();let j=0;for(;j<Ee.length;){const xe=Ee.indexOf(G,j);if(xe===-1)break;re.push({line:Y,start:xe,end:xe+ne.length}),j=xe+G.length}}return re}),k=$(()=>{const ne=new Set;for(const G of v.value)ne.add(G.line);return ne});ze(()=>v.value.length,ne=>{ne===0?l.value=0:l.value>=ne&&(l.value=ne-1)});const S=ne=>{if(!n.value)return;const G=ne.line*t.lineHeight,re=n.value.scrollTop,Y=re+n.value.clientHeight;(G<re||G+t.lineHeight>Y)&&(n.value.scrollTop=G-n.value.clientHeight/2)},A=ne=>{const G=v.value[ne];G&&(l.value=ne,S(G))},E=()=>{v.value.length!==0&&A((l.value+1)%v.value.length)},_=()=>{v.value.length!==0&&A((l.value-1+v.value.length)%v.value.length)},C=()=>{s.value=!0,In(()=>{var ne;return(ne=r.value)==null?void 0:ne.focus()})},R=()=>{s.value=!1,o.value="",l.value=0},B=ne=>{t.searchable&&((ne.metaKey||ne.ctrlKey)&&ne.key==="f"&&(ne.preventDefault(),ne.stopPropagation(),C()),ne.key==="Escape"&&s.value&&(ne.preventDefault(),R()))};ze(o,()=>{l.value=0;const ne=v.value[0];ne&&S(ne)});const L=()=>n.value&&(a.value=n.value.scrollTop),V=()=>n.value&&(i.value=n.value.clientHeight);Lt(()=>{V(),window.addEventListener("resize",V)}),Qa(()=>{window.removeEventListener("resize",V)});const Q=ne=>{const G=c.value[ne]??"";if(!o.value||!k.value.has(ne))return[{text:G,highlight:!1,active:!1}];const re=v.value.filter(Ee=>Ee.line===ne),Y=[];let ye=0;for(const Ee of re){Ee.start>ye&&Y.push({text:G.slice(ye,Ee.start),highlight:!1,active:!1});const j=v.value.indexOf(Ee)===l.value;Y.push({text:G.slice(Ee.start,Ee.end),highlight:!0,active:j}),ye=Ee.end}return ye<G.length&&Y.push({text:G.slice(ye),highlight:!1,active:!1}),Y},ee=ne=>p.value+ne;return(ne,G)=>(y(),w("div",{ref_key:"containerRef",ref:n,class:Oe(["scalar-virtual-text relative overflow-auto",e.containerClass]),tabindex:"0",onKeydown:B,onScroll:L},[e.searchable&&s.value?(y(),w("div",CQe,[N(_Qe,{ref_key:"searchRef",ref:r,query:o.value,"onUpdate:query":G[0]||(G[0]=re=>o.value=re),activeMatchIndex:l.value,matchCount:v.value.length,onClose:R,onNext:E,onPrev:_}
371,null,8,["query","activeMatchIndex","matchCount"])])):U("",!0),x("div",{style:Pr({height:`${u.value}px`})},null,4),x("code",{class:Oe(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:Pr({transform:`translateY(${g.value}px)`})},[(y(!0),w(de,null,it(m.value,(re,Y)=>(y(),w("div",{key:p.value+Y,class:Oe(["scalar-virtual-text-line",e.lineClass]),style:Pr({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&k.value.has(ee(Y))?(y(!0),w(de,{key:0},it(Q(ee(Y)),(ye,Ee)=>(y(),w(de,{key:Ee},[ye.highlight?(y(),w("mark",{key:0,class:Oe(["scalar-virtual-text-highlight",ye.active?"scalar-virtual-text-highlight-active":""])},H(ye.text),3)):(y(),w(de,{key:1},[ae(H(ye.text),1)],64))],64))),128)):(y(),w(de,{key:1},[ae(H(re),1)],64))],6))),128))],6)],34))}}),uz=Ns($Qe,[["__scopeId","data-v-77b9d685"]]);const dz=e=>{if(!e)return()=>null;const n=e.getBoundingClientRect().top;let r=null;const a=new MutationObserver(i=>{i.some(s=>s.type==="childList"||s.type==="attributes"&&(s.attributeName==="style"||s.attributeName==="class"))&&(r!==null&&cancelAnimationFrame(r),r=requestAnimationFrame(()=>{const l=e.getBoundingClientRect().top;if(l!==n){const c=l-n;window.scrollBy(0,c)}r=null}))});return a.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{r!==null&&cancelAnimationFrame(r),a.disconnect()}};var PQe=["innerHTML"],IQe={key:1,class:"text-c-2 flex h-full w-fit items-center px-0.5 py-0 text-base font-normal","data-testid":"client-picker"},RQe=["id"],NQe={key:0,class:"request-card-footer-addon"},MQe={class:"request-header"},LQe=F({__name:"CodeExample",props:{integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},emits:["update:exampleKey"],setup(e,{emit:t}){let n=t,r=$(()=>{var _,C;let A=((_=Se(e.operation.requestBody))==null?void 0:_.content)??{},E=e.selectedContentType||Object.keys(A)[0];return E?((C=A[E])==null?void 0:C.examples)??{}:{}}),a=J(""),i=A=>{let E=Object.keys(r.value);return A&&E.includes(A)?A:a.value&&E.includes(a.value)?a.value:E[0]??""};ew(()=>{a.value=i(e.selectedExample)}),ze(()=>e.selectedExample,A=>{a.value=i(A)}),ze(()=>e.selectedContentType,()=>{Object.keys(r.value).includes(a.value)||(a.value=i(e.selectedExample))}),hr(()=>{n("update:exampleKey",a.value)});let o=A=>{a.value=A,e.eventBus.emit("workspace:update:selected-example",A)},s=$(()=>$Fe(e.operation)),l=$(()=>NFe(s.value.samples,e.clientOptions,s.value.label)),c=$(()=>l.value.reduce((A,E)=>A+E.options.length,0)),u=J(w3(l.value,e.selectedClient));ze([()=>e.selectedClient,l],([A])=>{let E=w3(l.value,A);E&&(u.value=E)});let d=$(()=>{if(!e.isWebhook)return null;try{return ez({operation:e.operation,method:e.method,path:e.path,example:a.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!0})}catch(A){return console.error("[webhookHar]",A),null}}),f=$(()=>{var A,E,_;return e.isWebhook?((E=(A=d.value)==null?void 0:A.postData)==null?void 0:E.text)??"":EFe({defaultDisabledParameters:!0,includeDefaultHeaders:e.integration==="client",clientId:(_=u.value)==null?void 0:_.id,customCodeSamples:s.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:a.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})}),h=$(()=>{var A;return e.isWebhook?p.value:(A=u.value)==null?void 0:A.lang}),p=$(()=>{var E;if(!((E=d.value)!=null&&E.postData))return"json";let A=d.value.postData.mimeType;return A!=null&&A.includes("json")?"json":A!=null&&A.includes("xml")?"xml":A!=null&&A.includes("yaml")||A!=null&&A.includes("yml")?"yaml":A!=null&&A.includes("text/plain")?"text":"json"}),m=$(()=>MFe(e.securitySchemes)),g=J(null),v=A=>{if(g.value){let E=dz(g.value.$el);setTimeout(()=>{E()},300)}u.value=A,A&&e.eventBus.emit("workspace:update:selected-client",A.id)},k=$(()=>(f.value.length??0)>2e4),S=Mt();return(A,E)=>f.value?(y(),M(b(gh),{key:0,ref_key:"elem",ref:g,class:"request-card dark-mode"},{default:I(()=>[N(b(u1),{class:"pr-2.5"},xr({default:I(()=>[E[1]||(E[1]=x("span",{class:"sr-only"},"Request Example for",-1)),N(PC,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?(y(),w("span",{key:0,innerHTML:e.generateLabel()},null,8,PQe)):U("",!0),q(A.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&c.value?{name:"actions",fn:I(()=>{var _;return[c.value>1?(y(),M(b(Mv),{key:0,class:"max-h-80",filterFn:b(QQ),modelValue:u.value,options:l.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":E[0]||(E[0]=C=>v(C))},{default:I(()=>[N(b(zn),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:I(()=>{var C;return[ae(H((C=u.value)==null?void 0:C.title)+" ",1),N(b(Xo),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]}),_:1})]),_:1},8,["filterFn","modelValue","options"])):(y(),w("span",IQe,H((_=u.value)==null?void 0:_.title),
3711))]}),key:"0"}:void 0]),1024),N(b(Hc),{class:"request-editor-section custom-scroll p-0"},{default:I(()=>[x("div",{id:`${b(S)}-example`,class:"code-snippet"},[k.value?(y(),M(b(uz),{key:1,containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:20,text:f.value},null,8,["text"])):(y(),M(b(d1),{key:0,class:"bg-b-2 h-full",content:f.value,hideCredentials:m.value,lang:h.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,RQe)]),_:1}),Object.keys(r.value).length>1||A.$slots.footer?(y(),M(b(M5),{key:0,class:"request-card-footer bg-b-3"},{default:I(()=>[Object.keys(r.value).length>1?(y(),w("div",NQe,[Object.keys(r.value).length?(y(),M(N5,{key:0,examples:r.value,modelValue:a.value,"onUpdate:modelValue":o},null,8,["examples","modelValue"])):U("",!0)])):U("",!0),q(A.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})):U("",!0)]),_:3},512)):e.fallback?(y(),M(b(gh),{key:1,class:"request-card dark-mode"},{default:I(()=>[N(b(Hc),{class:"request-card-simple"},{default:I(()=>[x("div",MQe,[N(PC,{as:"span",class:"request-method",method:e.method},null,8,["method"]),q(A.$slots,"header",{},void 0,!0)]),q(A.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})]),_:3})):U("",!0)}}),DQe=(e,t)=>{let n=e.__vccOpts||e;for(let[r,a]of t)n[r]=a;return n},fz=DQe(LQe,[["__scopeId","data-v-82b2d155"]]);const BQe=(e={})=>{const{debug:t=!1}=e,n=new Map,r=new Set,a=[];let i=null;const{execute:o,flushAll:s}=WU({delay:328}),l=S=>{const A=n.get(S)??new Set;return n.set(S,A),A},c=()=>{if(a.length!==0){if(t)if(a.length===1){const S=a[0];S&&console.log(`[EventBus] ${S.message}`,...S.args)}else{console.groupCollapsed(`[EventBus] ${a.length} operations`);for(const{message:S,args:A}of a)console.log(S,...A);console.groupEnd()}a.length=0,i=null}},u=(S,...A)=>{t&&(a.push({message:S,args:A}),i&&clearTimeout(i),i=setTimeout(c,500))},d=(S,A)=>{const E=_=>{h(S,E),A(_)};return f(S,E)},f=(S,A)=>{const E=l(S);return E.add(A),u(`Added listener for "${String(S)}" (${E.size} total)`),()=>h(S,A)},h=(S,A)=>{const E=n.get(S);E&&(E.delete(A),u(`Removed listener for "${String(S)}" (${E.size} remaining)`),E.size===0&&n.delete(S))},p=S=>(r.add(S),u(`Added wildcard listener (${r.size} total)`),()=>m(S)),m=S=>{r.delete(S),u(`Removed wildcard listener (${r.size} remaining)`)},g=(S,A,E)=>{const _=E!=null&&E.skipUnpackProxy?A:qt(A,{depth:5}),C=n.get(S),R=C!==void 0&&C.size>0;if(!R&&r.size===0){u(`ð No listeners for "${String(S)}"`);return}if(R&&C){u(`Emitting "${String(S)}" to ${C.size} listener(s)`,A);const B=Array.from(C);for(const L of B)try{L(_)}catch(V){console.error(`[EventBus] Error in listener for "${String(S)}":`,V)}}if(r.size>0){u(`Emitting "${String(S)}" to ${r.size} wildcard listener(s)`,A);const B={event:S,payload:_},L=Array.from(r);for(const V of L)try{V(B)}catch(Q){console.error(`[EventBus] Error in wildcard listener for "${String(S)}":`,Q)}}};return{on:f,once:d,off:h,onAny:p,offAny:m,emit:(...S)=>{const[A,E,_]=S;if(!(_!=null&&_.debounceKey)){g(A,E,_);return}const C=`${A}-${_.debounceKey}`;o(C,()=>g(A,E,_))},flushDebouncedEmits:()=>{s()}}},UQe=(...e)=>{for(const t of e)if(t){if(!Array.isArray(t)){const n=Se(t);if(n!=null&&n.url)return n;continue}for(const n of t){const r=Se(n);if(r!=null&&r.url)return r}}return null},jQe=e=>e!==void 0&&Object.keys(e).length>0,MC=(e,t)=>{const n={};for(const r of t){const a=e.indexOf(`{${r}}`);a!==-1&&(n[r]=a)}return n},FQe=(e,t,n,r)=>{const a=CE(t,{includePath:!0,includeEnv:!1}).filter(h=>h!==void 0),i=CE(e,{includePath:!0,includeEnv:!1}).filter(h=>h!==void 0),o=MC(t,a),s=MC(e,i),l=Object.create(null);for(const h of n){const p=r(h);(p==null?void 0:p.in)==="path"&&(l[p.name]=h)}const c=new Set,u=new Set,d=[];for(const h of i){if(l[h]){c.add(h),u.add(l[h]);continue}const p=s[h],m=a.find(g=>o[g]===p&&!c.has(g));if(m&&l[m]!==void 0){const g=l[m];g&&(r(g).name=h,u.add(g)),c.add(m);continue}d.push({in:"path",name:h})}const f=[];for(const h of n){const p=r(h),m=qt(h,{depth:1});if((p==null?void 0:p.in)!=="path"){f.push(m);continue}u.has(h)&&f.push(m)}return f.concat(d)};
371function yh(e,t,n){const r=new Map;t.forEach((o,s)=>r.set(o,s));const a=[],i=[];return e.forEach(o=>{const s=r.get(n(o));if(s===void 0){i.push(o);return}a[s]=o}),[...a.filter(o=>o!==void 0),...i]}const fa=e=>!!(e!=null&&e["x-internal"]||e!=null&&e["x-scalar-ignore"]),hz=(e,t)=>{const n=(t==null?void 0:t.modelsSectionLabel)??Mi,r=qa(n),a=i=>{var s,l;const o=qa(e);if(i.type==="text")return t!=null&&t.generateHeadingSlug?t==null?void 0:t.generateHeadingSlug({slug:i.slug}):i.slug?`${o}/description/${i.slug}`:`${o}/`;if(i.type==="tag"){const c=i.isTagGroup?"tag-group":"tag";return t!=null&&t.generateTagSlug?`${o}/${c}/${t.generateTagSlug(i.tag)}`:`${o}/${c}/${qa(i.tag.name??"")}`}if(i.type==="asyncapi-channel")return`${i.parentTag?`${a({type:"tag",tag:i.parentTag.tag,parentId:i.parentTag.id})}/`:`${o}/`}channel/${qa(i.channelName)}`;if(i.type==="asyncapi-message")return`${i.parentId}/message/${qa(i.messageName)}`;if(i.type==="asyncapi-operation")return`${i.parentId}/operation/${qa(i.operationName)}`;if(i.type==="operation"){const c=i.parentTag?`${a({type:"tag",tag:i.parentTag.tag,parentId:i.parentTag.id})}/`:`${o}/`;return t!=null&&t.generateOperationSlug?`${c}${t.generateOperationSlug({path:i.path,operationId:i.operation.operationId,method:i.method.toUpperCase(),summary:i.operation.summary})}`:`${c}${i.method.toUpperCase()}${i.path}`}if(i.type==="webhook"){const c=i.parentTag?`${a({type:"tag",parentId:i.parentTag.id,tag:i.parentTag.tag})}/`:`${o}/`;return t!=null&&t.generateWebhookSlug?`${c}webhook/${t.generateWebhookSlug({name:i.name,method:(s=i.method)==null?void 0:s.toUpperCase()})}`:`${c}webhook/${(l=i.method)==null?void 0:l.toUpperCase()}/${qa(i.name,{allowedSpecialChars:"."})}`}if(i.type==="model"){if(!i.name)return`${o}/${r}`;const c=i.parentTag?`${a({type:"tag",parentId:i.parentTag.id,tag:i.parentTag.tag})}/`:`${o}/`;return t!=null&&t.generateModelSlug?`${c}${r}/${t.generateModelSlug({name:i.name})}`:`${c}${r}/${qa(i.name,{preserveCase:!0})}`}return i.type==="example"?`${i.parentId}/example/${qa(i.name)}`:i.type==="document"?o:(console.warn("[WARNING]: unhandled id generation for navigation item:",i),"unknown-id")};return{hideModels:(t==null?void 0:t.hideModels)??!1,modelsSectionLabel:n,operationsSorter:t==null?void 0:t.operationsSorter,tagsSorter:t==null?void 0:t.tagsSorter,operationTitleSource:t==null?void 0:t.operationTitleSource,generateId:a}},ll=({tagsMap:e,name:t,documentId:n,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:"tag",tag:{name:t},parentId:n}),parentId:n,entries:[],tag:{name:t}}),e.get(t));function LC(e){return e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/(\*{3}|_{3})(.+?)\1/g,"$2").replace(/(\*{2}|_{2})(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2").replace(/~~(.+?)~~/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/<[^>]+>/g,"").replace(/[<>]/g,"").trim()}function QQe(e){var o,s,l;const t=e.split(/\r?\n/),n=[];let r=!1,a="",i=0;for(let c=0;c<t.length;c++){const u=t[c]??"",d=u.trimStart();if(r){const k=(s=/^(`{3,}|~{3,})\s*$/.exec(d))==null?void 0:s[1];k&&k[0]===a&&k.length>=i&&(r=!1);continue}else{const k=(o=/^(`{3,}|~{3,})/.exec(d))==null?void 0:o[1];if(k){r=!0,a=k.charAt(0),i=k.length;continue}}if(/^(?: {4}|\t)/.test(u))continue;const f=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(d),h=f==null?void 0:f[1],p=f==null?void 0:f[2];if(h&&p){const k=LC(p);k&&n.push({depth:h.length,value:k});continue}const m=t[c+1];if(!m||/^(?: {4}|\t)/.test(m))continue;const g=(l=/^(=+|-+)\s*$/.exec(m.trim()))==null?void 0:l[1];if(!g)continue;const v=LC(d);v&&(n.push({depth:g[0]==="="?1:2,value:v}),c++)}return n}const Sb=(e={})=>{const t=new Map;return{slug(n){const r=qa(n,e),a=t.get(r);if(a===void 0)return t.set(r,0),r;const i=a+1;return t.set(r,i),`${r}-${i}`},reset(){t.clear()}}},zQe=(e,t)=>e.map(n=>({...n,slug:t(n.value)}));function HQe(e){const{slug:t}=Sb(),n=QQe(e);return zQe(n,t)}const VQe=e=>{const t=Math.min(...e.map(n=>n.depth));return t>=1&&t<=6?t:1},P4={TITLE:"Introduction",SLUG:"introduction"},DC=(e,t,n)=>({id:e({type:"text",depth:1,slug:P4.SLUG,parentId:t,info:n,value:P4.TIT
371LE}),title:P4.TITLE,type:"text"}),pz=({generateId:e,parentId:t,info:n})=>{var c,u;const r=(c=n.description)==null?void 0:c.trim();if(!r)return[DC(e,t,n)];const a=HQe(r),i=VQe(a),o=[];let s=null,l=null;if(!r.startsWith("#")){const d=DC(e,t,n);o.push(d),s=d}for(const d of a){if(d.depth!==i&&d.depth!==i+1)continue;const f={id:e({type:"text",depth:d.depth,slug:d.slug,parentId:t,info:n,value:d.value}),title:d.value,type:"text"};d.depth===i?(f.children=[],s?(s.children||(s.children=[]),s.children.push(f)):o.push(f),l=f):l&&((u=l.children)==null||u.push(f))}return o},BC=({ref:e,name:t,generateId:n,parentTag:r,_schema:a,parentId:i})=>{const o=n({name:t,type:"model",parentTag:r,parentId:i,schema:a}),s=Se(a),l=s&&"title"in s&&s.title||t;return{id:o,title:l,name:t,ref:e,type:"model"}},mz=({document:e,tagsMap:t,generateId:n,documentId:r})=>{var o;const a=((o=e.components)==null?void 0:o.schemas)??{},i=[];for(const s in a){if(!Object.hasOwn(a,s))continue;const l=Se(a[s],mr);if(fa(l))continue;const c=`#/components/schemas/${s}`;l!=null&&l["x-tags"]?l["x-tags"].forEach(u=>{var h;const{tag:d,id:f}=ll({tagsMap:t,name:u,documentId:r,generateId:n});(h=t.get(u))==null||h.entries.push(BC({ref:c,name:s,generateId:n,parentTag:{tag:d,id:f},parentId:r}))}):i.push(BC({ref:c,name:s,generateId:n,_schema:Se(a[s]),parentId:r}))}return i},L5=(...e)=>{for(const t of e){const n=t==null?void 0:t.trim();if(n)return n}},gz=(e,t)=>typeof t.address=="string"&&t.address.length>0?t.address:e,qQe=(e,t)=>L5(e.title,e.summary)??gz(t,e),ZQe=(e,t)=>L5(e.title,e.summary)??t,XQe=(e,t)=>L5(e.title,e.summary,e.name)??t,WQe=e=>{var t;return(t=e.match(/^#\/channels\/([^/]+)$/))==null?void 0:t[1]},YQe=(e,t)=>{var i;const n=t.channel;if(!n||!("$ref"in n))return;const r=WQe(n.$ref);if(!r)return;const a=(i=e.channels)==null?void 0:i[r];if(a)return{channelName:r,channel:Se(a,mr)}},GQe=(e,t,n)=>{const r=t.messages??{};if(e.messages===void 0)return Nd(r);if(e.messages.length===0)return[];const a=`#/channels/${n}/messages/`,i=new Set;for(const o of e.messages)if("$ref"in o){if(o.$ref.startsWith(a)){const s=o.$ref.slice(a.length);if(r[s]){i.add(s);continue}}for(const[s,l]of Object.entries(r))l&&"$ref"in l&&l.$ref===o.$ref&&i.add(s)}return[...i]},KQe=e=>{const t=Se(e,mr);return{name:t.name,description:t.description}},JQe=(e,t)=>{if(t==="alpha"){e.sort((n,r)=>n.title.localeCompare(r.title));return}if(t==="method"){e.sort((n,r)=>n.action.localeCompare(r.action));return}typeof t=="function"&&e.sort((n,r)=>t({method:n.action,path:n.operationName,ref:n.operationName,httpVerb:n.action},{method:r.action,path:r.operationName,ref:r.operationName,httpVerb:r.action}))},eze=e=>{e.sort((t,n)=>t.title.localeCompare(n.title))},tze=({channelName:e,channel:t,operationId:n,messageNames:r,generateId:a})=>{const i=r.flatMap(o=>{var c;const s=(c=t.messages)==null?void 0:c[o];if(!s)return[];const l=Se(s,mr);return fa(l)?[]:[{type:"asyncapi-message",id:a({type:"asyncapi-message",messageName:o,channelName:e,parentId:n}),title:XQe(l,o),messageName:o,channelName:e}]});return eze(i),i},nze=({operationName:e,operation:t,channel:n,channelName:r,channelAddress:a,generateId:i,parentId:o})=>{if(fa(t))return;const s=i({type:"asyncapi-operation",operationName:e,parentId:o}),l=tze({channelName:r,channel:n,operationId:s,messageNames:GQe(t,n,r),generateId:i});return{type:"asyncapi-operation",id:s,title:ZQe(t,e),operationName:e,action:t.action,channelName:r,channelAddress:a,children:l.length>0?l:void 0}},UC=({bucket:e,operationEntries:t,generateId:n,parentId:r,parentTag:a,operationsSorter:i,document:o})=>{var u;if(fa(e.channel))return;const s=n({type:"asyncapi-channel",channelName:e.channelName,parentId:r,parentTag:a}),l=t.flatMap(({operationName:d,operation:f})=>{const h=nze({operationName:d,operation:f,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:n,parentId:s});return h?[h]:[]});if(JQe(l,i),l.length===0)return;const c=(u=o.channels)==null?void 0:u[e.channelName];if(c&&!("$ref"in c)){const d=c;d["x-scalar-order"]=l.map(f=>f.id)}return{type:"asyncapi-channel",id:s,title:qQe(e.channel,e.channelName),channelName:e.channelName,channelAddress:e.channelAddress,children:l}},rze=({tag:e,generateId:t,children:n,parentId:r})=>{const a=t({type:"tag",tag:e,parentId:r,isGroup:!1}),i=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=n.map(o=>o.id),{type:"tag",id:a,title:i,name:e.name||i,description:e.description,children:n,isGroup:!1,isWebhooks:!1}},aze=({tagKeys:e,tagsMap:t,documentId:n,options:{tagsSorter:r,generateId:a},sortOrder:i})=>{const o=e.flatMap(s=>{const{tag:l,entries:c}=ll({tagsMap:t,name:s,documentId:n,generateId:a});if(fa(l))return[];const u=l["x-scalar-order"];return rze({tag:l,generateId:a,children:u?yh(c,u,d=>d.id):c,parentId:n})});return i?yh(o,i,s=>
371s.id):(r==="alpha"?o.sort((s,l)=>s.title.localeCompare(l.title)):typeof r=="function"&&o.sort((s,l)=>r(ll({tagsMap:t,name:s.name,documentId:n,generateId:a}).tag,ll({tagsMap:t,name:l.name,documentId:n,generateId:a}).tag)),o)},jC=(e,t,n)=>{var i;const r=e.get(t);if(r)return r;const a={channelName:t,channel:n,channelAddress:gz(t,n),channelTags:((i=n.tags)==null?void 0:i.map(KQe))??[],operations:[]};return e.set(t,a),a},ize=e=>{const t=new Map;for(const[n,r]of Object.entries(e.channels??{})){if(!r)continue;const a=Se(r,mr);fa(a)||jC(t,n,a)}for(const[n,r]of Object.entries(e.operations??{})){if(!r)continue;const a=Se(r,mr);if(fa(a))continue;const i=YQe(e,a);if(!i)continue;jC(t,i.channelName,i.channel).operations.push({operationName:n,operation:a})}return t},oze=(e,t,n)=>{var v,k;const{generateId:r,operationsSorter:a,tagsSorter:i,hideModels:o,modelsSectionLabel:s}=hz(e,n),l=r({type:"document",info:t.info,name:e}),c=ize(t),u=new Map,d=[];for(const S of c.values()){if(S.channelTags.length===0){const A=UC({bucket:S,operationEntries:S.operations,generateId:r,parentId:l,operationsSorter:a,document:t});A&&d.push(A)}for(const A of S.channelTags){const E=A.name??"Untitled Tag",{id:_,entries:C}
371=ll({tagsMap:u,name:E,documentId:l,generateId:r});if(C.some(L=>L.type==="asyncapi-channel"&&L.channelName===S.channelName))continue;const B=UC({bucket:S,operationEntries:S.operations,generateId:r,parentId:_,parentTag:{tag:A,id:_},operationsSorter:a,document:t});B&&C.push(B)}}const f=t.components?Se(t.components,mr):void 0,h=!o&&(f!=null&&f.schemas)?mz({documentId:l,document:{components:f},generateId:r,tagsMap:u}):[],p=pz({generateId:r,parentId:l,info:t.info});u.size>0&&p.push(...aze({tagKeys:[...u.keys()],tagsMap:u,documentId:l,options:{tagsSorter:i,generateId:r},sortOrder:t["x-scalar-order"]})),a==="alpha"&&d.sort((S,A)=>S.title.localeCompare(A.title)),p.push(...d),h.length&&p.push({type:"models",id:r({type:"model",parentId:l}),title:s,name:s,children:h});const m=t["x-scalar-order"],g=m?yh(p,m,S=>S.id):p;return t["x-scalar-order"]=qt(g.map(S=>S.id)),{id:l,type:"document",title:((k=(v=t.info)==null?void 0:v.title)==null?void 0:k.trim())||"Untitled Document",name:e,children:g,icon:t["x-scalar-icon"]}};function Lv(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}const bz=e=>{const t=new Set(e["x-draft-examples"]??[]);if(e.requestBody){const n=Se(e.requestBody);Object.values((n==null?void 0:n.content)??{}).forEach(r=>{Object.keys(r.examples??{}).forEach(a=>{t.add(a)})})}return e.parameters&&e.parameters.forEach(n=>{const r=Se(n)??{};"content"in r&&r.content&&Object.values(r.content).forEach(a=>{Object.keys(a.examples??{}).forEach(i=>{t.add(i)})}),"examples"in r&&r.examples&&Object.keys(r.examples??{}).forEach(a=>{t.add(a)})}),Array.from(t)},k4t=(e,t)=>{const n=new Set(bz(e));if(!n.has(t))return t;let r=2;for(;n.has(`${t} (${r})`);)r++;return`${t} (${r})`},A3=e=>e.deprecated||e["x-scalar-stability"]===Bue.Deprecated,FC=({ref:e,operation:t,method:n,path:r,generateId:a,parentId:i,parentTag:o,operationTitleSource:s})=>{var h;const l=a({type:"operation",operation:t,parentTag:o,method:n,path:r,parentId:i}),c=s==="path"?r:(h=t.summary)!=null&&h.trim()?t.summary:r,u=A3(t),d=bz(t).map(p=>({type:"example",id:a({type:"example",parentId:l,name:p}),title:p,name:p}));return{id:l,title:c,path:r,method:n,ref:e,type:"operation",isDeprecated:u,children:d.length?d:void 0}},sze=({document:e,tagsMap:t,generateId:n,documentId:r,operationTitleSource:a})=>{const i=[];return Object.entries(e.paths??{}).forEach(([o,s])=>{KM(s,(l,c)=>{var f;const u=Se(c,mr);if(!u||fa(u))return;const d=`#/paths/${Lv(o)}/${l}`;(f=u.tags)!=null&&f.length?u.tags.forEach(h=>{var g;const{tag:p,id:m}=ll({tagsMap:t,name:h,documentId:r,generateId:n});(g=t.get(h))==null||g.entries.push(FC({ref:d,operation:u,method:l,path:o,parentTag:{tag:p,id:m},generateId:n,parentId:m,operationTitleSource:a}))}):i.push(FC({ref:d,operation:u,method:l,path:o,generateId:n,parentId:r,operationTitleSource:a}))})}),{untaggedOperations:i}},lze=e=>e?Object.fromEntries(Object.entries(e).filter(([t])=>t.startsWith("x-"))):{},yz=({tag:e,generateId:t,children:n,isGroup:r=!1,isTagGroup:a=!1,parentId:i})=>{const o=t({type:"tag",tag:e,parentId:i,isGroup:r,isTagGroup:a}),s=e["x-displayName"]??e.summary??e.name??"Untitled Tag";return e["x-scalar-order"]=n.map(c=>c.id),{id:o,title:s,name:e.name||s,description:e.description,children:n,isGroup:r,...a?{isTagGroup:!0}:{},isWebhooks:!1,type:"tag",xKeys:lze(qt(e))}},I4=({_keys:e,tagsMap:t,options:{tagsSorter:n,operationsSorter:r,generateId:a},documentId:i,sortOrder:o})=>{const s=e.flatMap(l=>{const{tag:c,entries:u}=ll({tagsMap:t,name:l,documentId:i,generateId:a});if(fa(c))return[];const d=c["x-scalar-order"];return d===void 0&&(r==="alpha"?u.sort((f,h)=>f.type==="operation"&&h.type==="operation"?f.title.localeCompare(h.title):0):r==="method"?u.sort((f,h)=>f.type==="operation"&&h.type==="operation"?f.method.localeCompare(h.method):0):typeof r=="function"&&u.sort((f,h)=>{if(!(f.type==="operation"||f.type==="webhook")||!(h.type==="operation"||h.type==="webhook"))return 0;const p=f.type==="operation"?f.path:f.name,m=h.type==="operation"?h.path:h.name;return r({method:f.method,path:p,ref:f.ref,httpVerb:f.method},{method:h.method,path:m,ref:h.ref,httpVerb:h.method})})),yz({tag:c,generateId:a,children:d?yh(u,d,f=>f.id):u,parentId:i,isGroup:!1})});return o?yh(s,o,l=>l.id):(n==="alpha"?s.sort((l,c)=>(l.title||"Untitled Tag").localeCompare(c.title||"Untitled Tag")):typeof n=="function"&&s.sort((l,c)=>n(ll({tagsMap:t,name:l.name,documentId:i,generateId:a}).tag,ll({tagsMap:t,name:c.name,documentId:i,generateId:a}).tag)),s)},vz=e=>{const t=new Set(e.flatMap(r=>typeof r.name=="string"?r.name:[])),n=new Map;for(const r of e)r.name&&r.parent&&r.parent!==r.name&&t.has(r.parent)&&n.set(r.name,r.parent);return n},Oz=(e,t)=>{const n=new Set([t]);let r=e.get(t);for(;r;){if(n.has(r))return!0;n.add(r),r=e.get(r)}return!1},cze=({flatEntries:e,document:t,originalOrders:n})=>{var c;const r=new Map,a=new Map;for(const u of e)u.type==="tag"&&(r.set(u.name,u),a.set(u.name,(((c=u.children)==null?void 0:c.length)??0)>0));const i=vz(t.tags??[]),o=new Set,s=new Set;for(const[u,d]of r){const f=i.get(u);if(f===void 0||Oz(i,u))continue;const h=r.get(f);h&&(h.children=h.children??[],h.children.push(d),o.add(u),s.add(f))}const l=new Map;for(const u of t.tags??[])u.name&&l.set(u.name,u);for(const u of s){const d=r.get(u);if(!d)continue;const f=n.get(u);f&&(d.children=yh(d.children??[],f,p=>p.id));const h=l.get(u);h&&(h["x-scalar-order"]=(d.children??[]).map(p=>p.id))}for(const[u,d]of r)(d.children??[]).some(h=>h.type==="tag")&&!a.get(u)&&(d.isGroup=!0);return e.filter(u=>!(u.type==="tag"&&o.has(u.name)))},uze=({document:e,tagsMap:t,documentId:n,options:{generateId:r,tagsSorter:a,operationsSorter:i}})=>{const o=vz(e.tags??[]);if(Array.from(o.keys()).some(u=>!Oz(o,u))){const u=new Map;for(const f of e.tags??[])f.name&&f["x-scalar-order"]&&u.set(f.name,f["x-scalar-order"]);const d=I4({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:a,operationsSorter:i},documentId:n,sortOrder:e["x-scalar-order"]});return cze({flatEntries:d,document:e,originalOrders:u})}if(e["x-tagGroups"])return e["x-tagGroups"].flatMap(d=>{const f=I4({_keys:d.tags,tagsMap:t,options:{tagsSorter:a,operationsSorter:i,generateId:r},documentId:n,sortOrder:d["x-scalar-order"]});return d["x-scalar-order"]=f.map(h=>h.id),f.length?yz({tag:d,generateId:r,children:f,parentId:n,isGroup:!0,isTagGroup:!0}
371):[]});const l=Array.from(t.keys());return I4({_keys:l,tagsMap:t,options:{generateId:r,tagsSorter:a,operationsSorter:i},documentId:n,sortOrder:e["x-scalar-order"]})},QC=({ref:e,method:t,name:n,title:r,generateId:a,parentTag:i,webhook:o,isDeprecated:s,parentId:l})=>({id:a({type:"webhook",name:n,method:t,webhook:o,parentTag:i,parentId:l}),title:r,name:n,ref:e,method:t,type:"webhook",isDeprecated:s}),dze=({document:e,tagsMap:t,generateId:n,untaggedWebhooksParentId:r,documentId:a})=>{const i=[];return Object.entries(e.webhooks??{}).forEach(([o,s])=>{KM(s,(l,c)=>{var f;const u=Se(c,mr);if(!u||fa(u))return;const d=`#/webhooks/${o}/${l}`;(f=u.tags)!=null&&f.length?u.tags.forEach(h=>{var g;const{tag:p,id:m}=ll({tagsMap:t,name:h,documentId:a,generateId:n});(g=t.get(h))==null||g.entries.push(QC({ref:d,method:l,name:o,title:u.summary??o,webhook:u,generateId:n,parentTag:{tag:p,id:m},parentId:m,isDeprecated:A3(u)}))}):i.push(QC({ref:d,method:l,name:o,title:u.summary??o,generateId:n,isDeprecated:A3(u),webhook:u,parentId:r}))})}),i},zC=(e,t,n)=>{var k,S,A,E;const{hideModels:r,modelsSectionLabel:a,tagsSorter:i,operationsSorter:o,generateId:s,operationTitleSource:l}=hz(e,n),c=s({type:"document",info:t.info,name:e}),u=new Map(((k=t.tags)==null?void 0:k.map(_=>[_.name??"Untitled Tag",{id:s({type:"tag",tag:_,parentId:c}),parentId:c,tag:_,entries:[]}]))??[]),d=pz({generateId:s,parentId:c,info:t.info}),{untaggedOperations:f}=sze({document:t,tagsMap:u,generateId:s,documentId:c,operationTitleSource:l}),h=s({type:"webhook",name:"",parentId:c}),p=dze({document:t,generateId:s,tagsMap:u,untaggedWebhooksParentId:h,documentId:c}),m=uze({document:t,tagsMap:u,documentId:c,options:{tagsSorter:i,operationsSorter:o,generateId:s}});if(d.push(...m),d.push(...f),p.length&&d.push({type:"tag",id:h,title:"Webhooks",name:"Webhooks",children:p,isGroup:!1,isWebhooks:!0}),!r&&((S=t.components)!=null&&S.schemas)){const _=mz({documentId:c,document:t,generateId:s,tagsMap:u});_.length&&d.push({type:"models",id:s({type:"model",parentId:c}),title:a,name:a,children:_})}const g=t["x-scalar-order"];g&&d.sort((_,C)=>{const R=g.indexOf(_.id),B=g.indexOf(C.id),L=R===-1?Number.POSITIVE_INFINITY:R,V=B===-1?Number.POSITIVE_INFINITY:B;return L-V}),t["x-scalar-order"]=qt(d.map(_=>_.id));const v=((E=(A=t.info)==null?void 0:A.title)==null?void 0:E.trim())||"Untitled Document";return{id:c,type:"document",title:v,name:e,children:d,icon:t["x-scalar-icon"]}};var fze={"aria-hidden":"true",class:"client-libraries-icon__more"},hze={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},pze={key:0,class:"client-libraries-text client-libraries-text-more"},mze={class:"sr-only"},gze=F({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},eventBus:{}},setup(e){const t=J(),{translate:n}=Ot(),r=o=>`programming-language-${o==="js"?"javascript":o}`,a=o=>{if(!t.value)return;const s=dz(t.value);setTimeout(()=>{s()},300),o.clientKey!=="custom"&&e.eventBus.emit("workspace:update:selected-client",o.id)},i=$(()=>{var o;return(o=e.selectedClient)==null?void 0:o.split("/")[0]});return(o,s)=>(y(),w("div",{ref_key:"containerRef",ref:t,class:"client-libraries-more"},[N(b(Mv),{filterFn:b(QQ),modelValue:b(w3)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":s[0]||(s[0]=l=>a(l))},{default:I(()=>[x("button",{class:Oe(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!b(p3)(e.selectedClient)}]),type:"button"},[x("div",fze,[e.selectedClient&&!b(p3)(e.selectedClient)?(y(),w("div",{key:0,class:Oe(`client-libraries-icon__${i.value}`)},[i.value?(y(),M(b(ua),{key:0,class:"client-libraries-icon",icon:r(i.value)},null,8,["icon"])):U("",!0)],2)):(y(),w("svg",hze,[...s[1]||(s[1]=[x("g",{fill:"currentColor","fill-rule":"nonzero"},[x("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)])]))]),e.clientOptions.length?(y(),w("span",pze,H(b(n)("clientLibraries.more")),1)):U("",!0),x("span",mze,H(b(n)("clientLibraries.selectAll")),1)],2)]),_:1},8,["filterFn","modelValue","options"])],512))}}
371),bze=yt(gze,[["__scopeId","data-v-da3e3bd2"]]),yze={key:0,ref:"wrapper-ref"},vze=["id"],Oze={class:"client-libraries-list"},Sze={class:"client-libraries-text"},wze=["id"],xze=F({__name:"ClientSelector",props:{clientOptions:{},selectedClient:{default:()=>_C},eventBus:{}},setup(e,{expose:t}){const n=Mt(),r=Mt(),{translate:a}=Ot(),i=h=>!!(h!=null&&h.startsWith("custom/")),o=J(i(e.selectedClient)?_C:e.selectedClient);ze(()=>e.selectedClient,h=>{i(h)||(o.value=h)});const s=$(()=>e.clientOptions.flatMap(h=>h.options.find(p=>p.id===o.value)??[])[0]),l=$(()=>lUe(e.clientOptions)),c=$(()=>l.value.findIndex(h=>h.id===o.value)),u=ai("wrapper-ref"),d=h=>`programming-language-${h==="js"?"javascript":h}`,f=h=>{const p=l.value[h];!p||!u.value||e.eventBus.emit("workspace:update:selected-client",p.id)};return t({selectedClientOption:s}),(h,p)=>e.clientOptions.length?(y(),w("div",yze,[N(b(cR),{manual:"",selectedIndex:c.value,onChange:f},{default:I(()=>[x("div",{id:b(n),class:"client-libraries-heading"},H(b(a)("clientLibraries.heading")),9,vze),x("div",Oze,[N(b(uR),{"aria-labelledby":b(n),class:"client-libraries-tabs",style:Pr({flexGrow:l.value.length})},{default:I(()=>[(y(!0),w(de,null,it(l.value,m=>(y(),M(b(dR),{key:m.clientKey,class:Oe(["client-libraries rendered-code-sdks",{"client-libraries__active":m.id===o.value}])},{default:I(()=>[x("div",{class:Oe(`client-libraries-icon__${m.targetKey}`)},[N(b(ua),{class:"client-libraries-icon",icon:d(m.targetKey)},null,8,["icon"])],2),x("span",Sze,H(m.targetTitle),1)]),_:2},1032,["class"]))),128))]),_:1},8,["aria-labelledby","style"]),N(bze,{clientOptions:e.clientOptions,eventBus:e.eventBus,selectedClient:o.value},null,8,["clientOptions","eventBus","selectedClient"])]),N(b(PK),null,{default:I(()=>{var m;return[b(p3)(o.value)?(y(!0),w(de,{key:0},it(l.value,g=>(y(),M(b(IK),{key:g.id,class:"selected-client card-footer -outline-offset-2"},{default:I(()=>[ae(H(g.title),1)]),_:2},1024))),128)):(y(),w("div",{key:1,id:b(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},H((m=s.value)==null?void 0:m.title),9,wze))]}),_:1})]),_:1},8,["selectedIndex"])],512)):U("",!0)}}),kze=yt(xze,[["__scopeId","data-v-34beffcc"]]),HC={document:1,tag:2,channel:2,modelGroup:2,operation:3,model:3,message:4,operationSection:4},T3=Symbol("DOCUMENT_OUTLINE_ROOT"),Aze=e=>Math.min(6,Math.max(1,e)),Tze=e=>_n(T3,e),ci=e=>{const t=Rn(T3,null);t||_n(T3,e);const n=t??e;return{level:Aze(HC[e]-HC[n]+1)}},wb=e=>e?Object.fromEntries(Object.entries(e).filter(([t])=>t.startsWith("x-"))):{},Eze=F({inheritAttrs:!1,__name:"Badge",props:{color:{}},setup(e){const{cx:t}=$t(),n=$(()=>e.color?{backgroundColor:e.color,color:`color-mix(in srgb, ${e.color}, black 40%)`}:void 0);return(r,a)=>(y(),w("div",Te(b(t)("badge inline-block rounded-2xl border bg-b-2 px-1.5 py-0.5 text-c-2 text-sm"),{style:n.value}),[q(r.$slots,"default",{},void 0,!0)],16))}}),ho=yt(Eze,[["__scopeId","data-v-3f3e4ac3"]]);const _ze=new Set(["http:","https:","mailto:","tel:","ftp:","ftps:","sms:"]),Cze=/^([a-z][a-z0-9+.-]*):/i,$ze=/[\u0000-\u0020\u007f-\u009f]/g,Pze=e=>{var r;if(!e)return!1;const t=e.replace($ze,"");if(!t)return!1;const n=(r=Cze.exec(t))==null?void 0:r[1];return n?_ze.has(`${n.toLowerCase()}:`):!0},ip=e=>Pze(e)?e:void 0;var Ize=["href"],Rze=F({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:"openapi"}},setup(e){const{translate:t}=Ot(),n=$(()=>e.documentType==="asyncapi"?t("download.asyncapi"):t("download.openapi")),r=$(()=>ip(e.documentUrl)),a=i=>{e.eventBus.emit("ui:download:document",{format:i})};return(i,o)=>["yaml","json","both"].includes(e.documentDownloadType)||e.documentDownloadType==="direct"&&r.value?(y(),w("div",{key:0,class:Oe(["download-container group",{"download-both":e.documentDownloadType==="both"}])},[e.documentDownloadType==="direct"&&r.value?(y(),w("a",{key:0,class:"download-link download-button",href:r.value},[x("span",null,H(n.value),1)],8,Ize)):U("",!0),e.documentDownloadType==="json"||e.documentDownloadType==="both"?(y(),w("button",{key:1,class:"download-button",type:"button",onClick:o[0]||(o[0]=Qt(()=>a("json"),["prevent"]))},[x("span",null,H(n.value),1),N(ho,{class:"extension hidden group-hover:flex"},{default:I(()=>[...o[2]||(o[2]=[ae("json",-1)])]),_:1})])):U("",!0),e.documentDownloadType==="yaml"||e.documentDownloadType==="both"?(y(),w("button",{key:2,class:"download-button",type:"button",onClick:o[1]||(o[1]=Qt(()=>a("yaml"),["prevent"]))},[x("span",null,H(n.value),1),N(ho,{class:"extension hidden group-hover:flex"},{default:I(()=>[...o[3]||(o[3]=[ae("yaml",-1)])]),_:1})])):U("",!0)],2)):U("",!0)}}),Nze=yt(Rze,[["__scopeId","data-v-0aba6db2"]]),Mze=F({__name:"IntroductionCard",props:{row:{type:Boolean}},setup(e){return(t,n)=>(y(),w("div",{class:Oe(["introduction-card",{"introduction-card-row":e.row}])},[q(t.$slots,"default",{},void 0,!0)],2))}}),Lze=yt(Mze,[["__scopeId","data-v-e60166e1"]]),Dze=F({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){const n=t,r=ai("section");return Dd(r,()=>n("intersecting")),(a,i)=>(y(),w("section",{ref_key:"section",ref:r,class:"section"},[q(a.$slots,"default",{},void 0,!0)],512))}}),op=yt(Dze,[["__scopeId","data-v-be4443e9"]]),Bze={},Uze={class:"section-column"};function jze(e,t){return y(),w("div",Uze,[q(e.$slots,"default",{},void 0,!0)])}var vh=yt(Bze,[["render",jze],["__scopeId","data-v-699c28e3"]]),Fze={},Qze={class:"section-columns"};function zze(e,t){return y(),w("div",Qze,[q(e.$slots,"default",{},void 0,!0)])}var D5=yt(Fze,[["render",zze],["__scopeId","data-v-8b9602bf"]]),Hze={key:1,class:"section-container"},Vze=F({__name:"SectionContainer",props:{omit:{type:Boolean}},setup(e){return(t,n)=>e.omit?q(t.$slots,"default",{},void 0,!0,0):(y(),w("div",Hze,[q(t.$slots,"default",{},void 0,!0)]))}}),f1=yt(Vze,[["__scopeId","data-v-20a1472a"]]),qze={},Zze={class:"section-content"};function Xze(e,t){return y(),w("div",Zze,[q(e.$slots,"default",{},void 0,!0)])}var Dv=yt(qze,[["render",Xze],["__scopeId","data-v-6101128d"]]),Wze={class:"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12"},Yze=F({__name:"SectionHeader",props:{tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),w("div",Wze,[x("div",{class:Oe(["section-header",{tight:e.tight,"mb-3":!e.removeMargin}])},[q(t.$slots,"default",{},void 0,!0)],2),t.$slots.links?q(t.$slots,"links",{},void 0,!0,0):U("",!0)]))}}),md=yt(Yze,[["__scopeId","data-v-7607c44e"]]),Gze=F({__name:"SectionHeaderTag",props:{level:{default:1},rule:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),M(Wt(`h${e.level}`),{class:Oe(["section-header-label",{"section-header-label--rule block! border-b pb-3":e.rule}])},{default:I(()=>[q(t.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),ja=yt(Gze,[["__scopeId","data-v-9a218f12"]]),Kze={key:1,class:"rounded border bg-b-2 p-3 text-sm"},Jze={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},eHe=F({__name:"ScalarErrorBoundary",setup(e){const t=J(!1),n=J();return lG((r,a,i)=>(console.error("[ERROR]",r,i),t.value=!0,n.value=r,!1)),(r,a)=>{var i,o;return t.value?(y(),w("div",Kze,[a[0]||(a[0]=x("div",{class:"p-2"},"Oops, something went wrong here.",-1)),n.value?(y(),w("div",Jze,H((i=n.value)==null?void 0:i.name)+": "+H((o=n.value)==null?void 0:o.message),1)):U("",!0)])):q(r.$slots,"default",{},void 0,void 0,0)}}}),ps=eHe,tHe={key:0,class:"text-base"},nHe=F({__name:"SpecificationExtension",props:{value:{}},setup(e){const{getSpecificationExtensions:t}=QU();function n(o){return Object.keys(o??{}).filter(s=>s.startsWith("x-"))}function r(o){return o.flatMap(s=>t(s)).filter(s=>s.component)}const a=$(()=>n(e.value)),i=$(()=>r(a.value));return(o,s)=>typeof e.value=="object"&&i.value.length?(y(),w("div",tHe,[(y(!0),w(de,null,it(i.value,l=>(y(),M(b(ps),null,{default:I(()=>{var c,u;return[l.renderer?(y(),M(Wt(l.renderer),Te({key:0,ref_for:!0},{[l.name]:(c=e.value)==null?void 0:c[l.name],component:l.component}),null,16)):(y(),M(Wt(l.component),Te({key:1,ref_for:!0},{[l.name]:(u=e.value)==null?void 0:u[l.name]}),null,16))]}),_:2},1024))),256))])):U("",!0)}}),Oh=nHe,rHe=["id"],aHe=F({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){const t=ai("element");return Dd(t,()=>{var n;return e.id?(n=e.eventBus)==null?void 0:n.emit("intersecting:nav-item",{id:e.id}):void 0}),(n,r)=>(y(),w("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[N(b(Jr),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,rHe))}}),iHe=aHe,oHe={key:0,class:"introduction-description mt-6 flex flex-col"},sHe=F({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){const t=$(()=>{if(!e.description)return[];const{slug:r}=Sb();return QBe(e.description).map(a=>{const i=FBe(a)[0];return{id:i?e.headingSlugGenerator({...i,slug:r(i.value)}):void 0,content:a}})}),n=r=>{if(!LQ(r))return r;const{slug:a}=Sb(),i=Iv(r);return r.data={hProperties:{id:e.headingSlugGenerator({depth:r.depth,value:i,slug:a(i)})}},r};return(r,a)=>e.description?(y(),w("div",oHe,[(y(!0),w(de,null,it(t.value,i=>(y(),M(iHe,{id:i.id,key:i.id,content:i.content,eventBus:e.eventBus,transformHeading:n},null,8,["id","content","eventBus"]))),128))])):U("",!0)}}),lHe=yt(sHe,[["__scopeId","data-v-0370764f"]]),cHe=F({__name:"LinkList",setup(e){const t=J(),n=J(!1),r=()=>{if(!t.value)return;const{scrollWidth:i,clientWidth:o}=t.value;n.value=i>o};let a=null;return Lt(()=>
371{r(),window.addEventListener("resize",r),t.value&&(a=new MutationObserver(()=>{r()}),a.observe(t.value,{childList:!0,subtree:!0}))}),Da(()=>{window.removeEventListener("resize",r),a&&(a.disconnect(),a=null)}),(i,o)=>(y(),w("div",{ref_key:"containerRef",ref:t,class:Oe(["custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap",{"icons-only":n.value}])},[q(i.$slots,"default",{},void 0,!0)],2))}}),B5=yt(cHe,[["__scopeId","data-v-dc833d99"]]),uHe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},dHe={key:0,class:"ml-1 empty:hidden"},fHe={key:1,class:"ml-1 empty:hidden"},hHe=F({__name:"ExternalDocs",props:{value:{}},setup(e){const t=$(()=>{var n;return ip((n=e.value)==null?void 0:n.url)});return(n,r)=>e.value?(y(),w("div",uHe,[(y(),M(Wt(t.value?"a":"span"),{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:t.value?"noopener noreferrer":void 0,target:t.value?"_blank":void 0},{default:I(()=>[N(b(L0e),{class:"size-3 text-current",weight:"bold"}),e.value.description?(y(),w("span",dHe,H(e.value.description),1)):(y(),w("span",fHe,H(e.value.url),1))]),_:1},8,["href","rel","target"]))])):U("",!0)}}),U5=hHe,pHe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},mHe=["href"],gHe={class:"ml-1 empty:hidden"},bHe={key:1,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},yHe=["href"],vHe={class:"ml-1 empty:hidden"},OHe={key:2,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},SHe=F({__name:"Contact",props:{value:{}},setup(e){const t=$(()=>{var r;return ip((r=e.value)==null?void 0:r.url)}),n=Ur({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 group-last:mr-0 narrow:border",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(r,a)=>e.value?(y(),w(de,{key:0},[e.value.email?(y(),w("div",pHe,[x("a",{class:Oe(b(n)({link:!0})),href:`mailto:${e.value.email}`},[N(b(nge),{class:"size-3 text-current",weight:"bold"}),x("span",gHe,H(e.value.name),1)],10,mHe)])):U("",!0),t.value?(y(),w("div",bHe,[x("a",{class:Oe(b(n)({link:!0})),href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(b(Nw),{class:"size-3 text-current",weight:"bold"}),x("span",vHe,H(e.value.email?"":e.value.name),1)],10,yHe)])):!e.value.email&&e.value.name?(y(),w("div",OHe,[x("span",{class:Oe(b(n)({link:!1}))},H(e.value.name),3)])):U("",!0)],64)):U("",!0)}}),wHe=SHe,xHe={class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},kHe=["href"],AHe={class:"ml-1 empty:hidden"},THe={class:"ml-1 empty:hidden"},EHe=F({__name:"InfoLink",props:{name:{},url:{}},setup(e){const t=$(()=>ip(e.url));return(n,r)=>(y(),w("div",xHe,[t.value?(y(),w("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(b(Nw),{class:"size-3 text-current",weight:"bold"}),x("span",AHe,H(e.name),1)],8,kHe)):(y(),w(de,{key:1},[N(b(Nw),{class:"size-3 text-current",weight:"bold"}),x("span",THe,H(e.name),1)],64))]))}}),_He=EHe,CHe={class:"group narrow:border-r-0 narrow:first:ml-0 flex h-fit items-center border-r first:ml-auto last:border-r-0"},$He=["href"],PHe={class:"ml-1 empty:hidden"},IHe={class:"ml-1 empty:hidden"},RHe=F({__name:"License",props:{value:{}},setup(e){const t=$(()=>{var n;return ip((n=e.value)==null?void 0:n.url)});return(n,r)=>{var a,i;return y(),w("div",CHe,[t.value?(y(),w("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[N(b(pE),{class:"size-3 text-current",weight:"bold"}),x("span",PHe,H(((a=e.value)==null?void 0:a.name)||e.value&&"identifier"in e.value&&e.value.identifier||t.value),1)],8,$He)):(y(),w(de,{key:1},[N(b(pE),{class:"size-3 text-current",weight:"bold"}),x("span",IHe,H((i=e.value)==null?void 0:i.name),1)],64))])}}}),NHe=RHe,MHe={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},LHe=["href"],DHe={class:"ml-1 empty:hidden"},BHe=F({__name:"TermsOfService",props:{value:{}},setup(e){const{translate:t}=Ot(),n=$(()=>ip(e.value));return(r,a)=>n.value?(y(),w("div",MHe,[x("a",{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:n.value,rel:"noopener noreferrer",target:"_blank"},[N(b(Vbe),{class:"size-3 text-current",weight:"bold"}),x("span",DHe,H(b(t)("info.termsOfService")),1)],8,LHe)])):U("",!0)}}),UHe=BHe,jHe=F({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup(e){const t=$(()=>{const r="x-scalar-links"in e.info?e.info["x-scalar-links"]:void 0;return Array.isArray(r)?r.filter(a=>
371typeof(a==null?void 0:a.name)=="string"&&typeof(a==null?void 0:a.url)=="string"):[]}),n=$(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService||t.value.length));return(r,a)=>n.value?(y(),M(b(B5),{key:0},{default:I(()=>[e.externalDocs?(y(),M(b(U5),{key:0,value:e.externalDocs},null,8,["value"])):U("",!0),e.info.contact?(y(),M(b(wHe),{key:1,value:e.info.contact},null,8,["value"])):U("",!0),e.info.license?(y(),M(b(NHe),{key:2,value:b(Se)(e.info.license)},null,8,["value"])):U("",!0),e.info.termsOfService?(y(),M(b(UHe),{key:3,value:e.info.termsOfService},null,8,["value"])):U("",!0),(y(!0),w(de,null,it(t.value,i=>(y(),M(b(_He),{key:i.url,name:i.name,url:i.url},null,8,["name","url"]))),128))]),_:1})):U("",!0)}}),FHe=jHe,QHe=F({__name:"InfoVersion",props:{version:{}},setup(e){const t=$(()=>{if(e.version==null)return e.version;const n=String(e.version);return/^\d/.test(n)?`v${n}`:n});return(n,r)=>t.value?(y(),M(b(ho),{key:0},{default:I(()=>[ae(H(t.value),1)]),_:1})):U("",!0)}}),zHe=QHe,HHe={"aria-hidden":"true",class:"introduction-loading flex flex-col gap-5"},VHe={key:0,class:"narrow:flex-col narrow:gap-3 flex gap-6"},qHe=F({__name:"IntroductionLoading",props:{hasAside:{type:Boolean,default:!0}},setup(e){return(t,n)=>(y(),w("div",HHe,[n[3]||(n[3]=eu('<div class="flex gap-1.5" data-v-41a61989><div class="introduction-skeleton h-6 w-14 rounded-full" data-v-41a61989></div><div class="introduction-skeleton h-6 w-24 rounded-full" data-v-41a61989></div></div><div class="narrow:grid-cols-1 narrow:gap-3 grid grid-cols-2 gap-12" data-v-41a61989><div class="introduction-skeleton h-9 w-3/5 rounded-lg" data-v-41a61989></div><div class="narrow:justify-start flex flex-wrap items-center justify-end gap-2" data-v-41a61989><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-12 rounded" data-v-41a61989></div></div></div>',2)),N(b(D5),null,{default:I(()=>[N(b(vh),null,{default:I(()=>[...n[0]||(n[0]=[x("div",{class:"flex flex-col gap-3"},[x("div",{class:"introduction-skeleton mb-2 h-5 w-56 rounded"}),x("div",{class:"introduction-skeleton h-4 w-full rounded"}),x("div",{class:"introduction-skeleton h-4 w-11/12 rounded"}),x("div",{class:"introduction-skeleton h-4 w-4/5 rounded"}),x("div",{class:"introduction-skeleton mt-4 h-6 w-40 rounded"}),x("div",{class:"introduction-skeleton h-4 w-3/4 rounded"}),x("div",{class:"introduction-skeleton h-4 w-2/3 rounded"}
371),x("div",{class:"introduction-skeleton h-4 w-1/2 rounded"})],-1)])]),_:1}),e.hasAside?(y(),M(b(vh),{key:0},{default:I(()=>[...n[1]||(n[1]=[x("div",{class:"sticky-cards gap-3"},[x("div",{class:"introduction-skeleton h-20 w-full rounded-lg"}),x("div",{class:"introduction-skeleton h-28 w-full rounded-lg"}),x("div",{class:"introduction-skeleton h-28 w-full rounded-lg"})],-1)])]),_:1})):U("",!0)]),_:1}),e.hasAside?U("",!0):(y(),w("div",VHe,[...n[2]||(n[2]=[x("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),x("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),x("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1)])]))]))}}),ZHe=yt(qHe,[["__scopeId","data-v-41a61989"]]),XHe=F({__name:"SpecificationVersion",props:{documentType:{default:"openapi"},version:{}},setup(e){const t=$(()=>GM(e.documentType));return(n,r)=>e.version?(y(),M(b(ho),{key:0},{default:I(()=>[ae(H(t.value)+" "+H(e.version),1)]),_:1})):U("",!0)}}),WHe=XHe,YHe={class:"flex gap-1.5"},GHe={class:"sticky-cards"},KHe=F({__name:"IntroductionLayout",props:{id:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){const{translate:t}=Ot(),{level:n}=ci("document");return(r,a)=>(y(),M(b(f1),null,{default:I(()=>[N(b(op),{id:e.id,"aria-label":b(t)("navigation.introduction"),class:"introduction-section z-1 gap-12",onIntersecting:a[0]||(a[0]=()=>{var i;return e.id&&((i=e.eventBus)==null?void 0:i.emit("intersecting:nav-item",{id:e.id}))})},{default:I(()=>[N(b(Dv),null,{default:I(()=>{var i;return[e.info?(y(),w(de,{key:1},[x("div",YHe,[N(zHe,{version:(i=e.info)==null?void 0:i.version},null,8,["version"]),N(WHe,{documentType:e.documentType,version:e.specificationVersion},null,8,["documentType","version"])]),N(b(md),{tight:""},{links:I(()=>[N(FHe,{externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])]),default:I(()=>[N(b(ja),{level:b(n)},{default:I(()=>{var o;return[ae(H((o=e.info)==null?void 0:o.title),1)]}),_:1},8,["level"])]),_:1}),N(b(D5),null,{default:I(()=>[N(b(vh),null,{default:I(()=>{var o;return[q(r.$slots,"download-link",{},void 0,!0),N(lHe,{description:(o=e.info)==null?void 0:o.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]}),_:3}),r.$slots.aside?(y(),M(b(vh),{key:0},{default:I(()=>[x("div",GHe,[q(r.$slots,"aside",{},void 0,!0)])]),_:3})):U("",!0)]),_:3}),N(b(Oh),{value:e.documentExtensions},null,8,["value"]),N(b(Oh),{value:e.infoExtensions},null,8,["value"])],64)):(y(),M(ZHe,{key:0,hasAside:!!r.$slots.aside},null,8,["hasAside"]))]}),_:3}),q(r.$slots,"after",{},void 0,!0)]),_:3},8,["id","aria-label"])]),_:3}))}}),JHe=yt(KHe,[["__scopeId","data-v-047ab128"]]),eVe=F({__name:"InfoBlock",props:{id:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{},documentType:{}},setup(e){const t=$(()=>e.layout==="classic"?"after":"aside");return(n,r)=>(y(),M(JHe,{id:e.id,documentExtensions:e.documentExtensions,documentType:e.documentType,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,specificationVersion:e.specificationVersion},{[t.value]:I(()=>[N(Lze,{row:e.layout==="classic"},{default:I(()=>[q(n.$slots,"selectors")]),_:3},8,["row"])]),"download-link":I(()=>[N(Nze,{documentDownloadType:e.documentDownloadType,documentType:e.documentType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,["documentDownloadType","documentType","documentUrl","eventBus"])]),_:2},1032,["id","documentExtensions","documentType","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","specificationVersion"]))}}),tVe=eVe,nVe={},rVe={class:"introduction-card-item"};function aVe(e,t){return y(),w("div",rVe,[q(e.$slots,"default",{},void 0,!0)])}var jp=yt(nVe,[["render",aVe],["__scopeId","data-v-dfab866f"]]),iVe=e=>{const t=Math.max(0,...[...e.matchAll(/`+/g)].map(r=>r[0].length)),n="`".repeat(Math.max(3,t+1));return`${n} 372${e} 373${n}`},Sz=e=>Array.isArray(e)?e.flatMap(t=>{if(typeof(t==null?void 0:t.lang)!="string")return[];
373const n=typeof t.description=="string"&&t.description.trim()?t.description:"",r=typeof t.source=="string"?t.source.trim():"";if(!n&&!r)return[];const a=[n,r&&iVe(r)].filter(Boolean).join(` 374 375`);return[{lang:t.lang,description:a}]}):[],oVe={c:"programming-language-c",clojure:"programming-language-clojure",csharp:"programming-language-csharp","c#":"programming-language-csharp",cs:"programming-language-csharp",css:"programming-language-css3",css3:"programming-language-css3",dart:"programming-language-dart",fsharp:"programming-language-fsharp","f#":"programming-language-fsharp",go:"programming-language-go",golang:"programming-language-go",html:"programming-language-html5",html5:"programming-language-html5",http:"programming-language-http",java:"programming-language-java",javascript:"programming-language-javascript",js:"programming-language-javascript",json:"programming-language-json",julia:"programming-language-julia",jl:"programming-language-julia",kotlin:"programming-language-kotlin",node:"programming-language-node","node.js":"programming-language-node",nodejs:"programming-language-node",objc:"programming-language-objc","objective-c":"programming-language-objc",ocaml:"programming-language-ocaml",php:"programming-language-php",powershell:"programming-language-powershell",python:"programming-language-python",py:"programming-language-python",r:"programming-language-r",ruby:"programming-language-ruby",rb:"programming-language-ruby",rust:"programming-language-rust",rs:"programming-language-rust",scala:"programming-language-scala",shell:"programming-language-shell",bash:"programming-language-shell",sh:"programming-language-shell",curl:"programming-language-shell",swift:"programming-language-swift",typescript:"programming-language-typescript",ts:"programming-language-typescript"},sVe=e=>oVe[e.trim().toLowerCase()],lVe=(e,t,n)=>{const r=e.length;if(t<=0)return r;const a=i=>{let o=0,s=0;for(const l of e){if(o+l>t-i)break;o+=l,s++}return s};return a(0)>=r?r:Math.max(1,a(n))},cVe={key:0},uVe=["id"],dVe={class:"client-libraries-content"},fVe=["aria-labelledby"],hVe=["id","aria-selected","tabindex","onClick","onKeydown"],pVe={class:"client-libraries-text"},mVe={class:"client-libraries-text"},gVe={"aria-hidden":"true",class:"client-libraries-measure-clip"},bVe={class:"client-libraries-text"},yVe={class:"client-libraries"},vVe={class:"client-libraries-text"},OVe=["aria-labelledby"],SVe=F({__name:"SdkInstallationInstructions",props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){const t=Mt(),n=Mt(),r=`${n}-panel`,{translate:a}=Ot(),i=$(()=>Sz(e.xScalarSdkInstallation).map(ne=>({...ne,icon:sVe(ne.lang)}))),o=J(0),s=$(()=>i.value[o.value]),l=$(()=>R5(i.value.map(ne=>({lang:ne.lang,source:""})))),c=ne=>{var re;o.value=ne;const G=l.value[ne];G&&((re=e.eventBus)==null||re.emit("workspace:update:selected-client",G))};ze([()=>e.selectedClient,l],([ne,G])=>{const re=ne?G.findIndex(Y=>Y===ne):-1;re>=0?o.value=re:o.value>G.length-1&&(o.value=0)},{immediate:!0}),ze(()=>i.value.map(ne=>ne.lang).join(` 376`),()=>void In(g));const u=J(),d=J(),f=J(),h=J(0),p=J([]),m=J(0),g=()=>{const ne=f.value,G=u.value;if(!ne||!G)return;const re=Array.from(ne.children).map(Y=>Y.offsetWidth);p.value=re.slice(0,i.value.length),m.value=re[i.value.length]??0,h.value=G.clientWidth},v=$(()=>!p.value.length||h.value<=0?i.value.length:lVe(p.value,h.value,m.value)),k=$(()=>i.value.slice(0,v.value)),S=$(()=>o.value>=v.value),A=$(()=>i.value.slice(v.value).map((ne,G)=>({id:String(v.value+G),label:ne.lang}))),E=$(()=>A.value.find(ne=>ne.id===String(o.value))),_=ne=>{ne&&c(Number(ne.id))},C=$(()=>S.value?t:`${n}-tab-${o.value}`),R=$(()=>S.value?-1:o.value),B=ne=>{In(()=>{var G,re;(re=(G=d.value)==null?void 0:G.querySelectorAll('[role="tab"]').item(ne))==null||re.focus()})},L=(ne,G)=>{const re=v.value-1;let Y=G;switch(ne.key){case"ArrowRight":case"ArrowDown":Y=G>=re?0:G+1;break;case"ArrowLeft":case"ArrowUp":Y=G<=0?re:G-1;break;case"Home":Y=0;break;case"End":Y=re;break;default:return}ne.preventDefault(),c(Y),B(Y)};let V,Q=0;const ee=()=>{if(typeof requestAnimationFrame>"u"){g();return}cancelAnimationFrame(Q),Q=requestAnimationFrame(g)};return Lt(()=>{typeof ResizeObserver<"u"&&(V=new ResizeObserver(ee),u.value&&V.observe(u.value),f.value&&V.observe(f.value)),g()}),Qa(()=>{V==null||V.disconnect(),typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(Q)}),(ne,G)=>{var re;return i.value.length?(y(),w("div",cVe,[x("div",{id:b(t),class:"client-libraries-heading"},H(b(a)("clientLibraries.heading")),9,uVe),x("div",dVe,[x("div",{ref_key:"rowRef",ref:u,class:"client-libraries-row"},[x("div",{ref_key:"tabsRef",ref:d,"aria-labelledby":b(t),class:"client-libraries-tabs",role:"tablist"},[(y(!0),w(de,null,it(k.value,(Y,ye)=>(y(),w("button",{id:`${b(n)}-tab-${ye}`,key:ye,"aria-controls":r,"aria-selected":ye===o.value,class:Oe(["client-libraries",{"client-libraries__active":ye===o.value}]),role:"tab",tabindex:ye===R.value?0:-1,type:"button",onClick:Ee=>c(ye),onKeydown:Ee=>L(Ee,ye)},[Y.icon?(y(),M(b(ua),{key:0,class:"client-libraries-icon",icon:Y.icon},null,8,["icon"])):U("",!0),x("span",pVe,H(Y.lang),1)],42,hVe))),128))],8,fVe),v.value<i.value.length?(y(),M(b(Mv),{key:0,modelValue:E.value,options:A.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":_},{default:I(()=>{var Y;return[x("button",{class:Oe(["client-libraries client-libraries-more",{"client-libraries__active":S.value}]),type:"button"},[N(b(ua),{class:"client-libraries-icon",icon:S.value&&((Y=s.value)!=null&&Y.icon)?s.value.icon:"Ellipses"},null,8,["icon"]),x("span",mVe,H(b(a)("clientLibraries.more")),1)],2)]}),_:1},8,["modelValue","options"])):U("",!0)],512),x("div",gVe,[x("div",{ref_key:"measureRef",ref:f,class:"client-libraries-row client-libraries-row--measure"},[(y(!0),w(de,null,it(i.value,(Y,ye)=>(y(),w("span",{key:ye,class:"client-libraries"},[Y.icon?(y(),M(b(ua),{key:0,class:"client-libraries-icon",icon:Y.icon},null,8,["icon"])):U("",!0),x("span",bVe,H(Y.lang),1)]))),128)),x("span",yVe,[N(b(ua),{class:"client-libraries-icon",icon:"Ellipses"}),x("span",vVe,H(b(a)("clientLibraries.more")),1)])],512)])]),(re=s.value)!=null&&re.description?(y(),w("div",{key:0,id:r,"aria-labelledby":C.value,class:"selected-client",role:"tabpanel",tabindex:"0"},[N(b(Jr),{value:s.value.description},null,8,["value"])],8,OVe)):U("",!0)])):U("",!0)}}}),wVe=yt(SVe,[["__scopeId","data-v-e8d27a01"]]),xVe={class:"sr-only"},kVe={class:"overflow-x-auto"},AVe={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},TVe={class:"sr-only"},EVe={class:"overflow-x-auto"},_Ve=F({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const r=n,{translate:a}=Ot(),i=$(()=>e.servers.map(l=>({id:l.url,label:l.url}))),o=$(()=>{var l,c;return((c=(l=e.selectedServer)==null?void 0:l.url)==null?void 0:c.replace(/\/$/,""))||""}),s=$(()=>i.value.find(l=>{var c;return l.id===((c=e.selectedServer)==null?void 0:c.url)}));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:i,selectedServer:e.selectedServer}),(l,c)=>i.value.length>1?(y(),M(b(fu),{key:0,ref:"elem",class:"group",modelValue:s.value,options:i.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":c[0]||(c[0]=u=>
376r("update:modelValue",u.id))},{default:I(()=>[N(b(zn),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:I(()=>[x("span",xVe,H(b(a)("server.label"))+":",1),x("span",kVe,H(o.value||b(a)("server.select")),1),N(b(Xo),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(y(),w("div",AVe,[x("span",TVe,H(b(a)("server.label"))+":",1),x("span",EVe,H(o.value),1)]))}}),CVe=_Ve,$Ve={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},PVe=["id"],IVe=F({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){const t=Mt(),{translate:n}=Ot(),r=i=>{var o;e.eventBus.emit("server:update:selected",{url:((o=e.selectedServer)==null?void 0:o.url)===i?"":i,meta:{type:"document"}})},a=(i,o)=>{const s=e.servers.findIndex(l=>{var c;return l.url===((c=e.selectedServer)==null?void 0:c.url)});s!==-1&&e.eventBus.emit("server:update:variables",{index:s,key:i,value:o,meta:{type:"document"}})};return(i,o)=>{var s,l,c,u;return y(),w(de,null,[x("label",$Ve,H(b(n)("server.label")),1),x("div",{id:b(t),class:Oe(["border",{"rounded-b-xl":!((s=e.selectedServer)!=null&&s.description)&&!((l=e.selectedServer)!=null&&l.variables)}])},[e.servers.length?(y(),M(CVe,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:b(t),"onUpdate:modelValue":r},null,8,["selectedServer","servers","target"])):U("",!0)],10,PVe),N(b(rj),{layout:"reference",variables:(c=e.selectedServer)==null?void 0:c.variables,"onUpdate:variable":a},null,8,["variables"]),(u=e.selectedServer)!=null&&u.description?(y(),M(b(Jr),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):U("",!0)],64)}}}),RVe=IVe,NVe={class:"section-accordion-button-content"},MVe={key:0,class:"section-accordion-button-actions"},LVe={key:0,class:"section-accordion-description"},DVe={class:"section-accordion-content-card"},BVe=F({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=J(),a=cTe(r);return(i,o)=>(y(),M(b(k0),{as:"section",class:Oe(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:I(()=>[N(b(Gf),{ref_key:"button",ref:r,class:"section-accordion-button",onClick:o[0]||(o[0]=()=>n("update:modelValue",!e.modelValue))},{default:I(()=>[x("div",NVe,[q(i.$slots,"title",{},void 0,!0)]),i.$slots.actions?(y(),w("div",MVe,[q(i.$slots,"actions",{active:b(a)||e.modelValue},void 0,!0)])):U("",!0),N(b(Z0),{class:Oe(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?(y(),M(b(Kf),{key:0,class:"section-accordion-content",static:""},{default:I(()=>[i.$slots.description?(y(),w("div",LVe,[q(i.$slots,"description",{},void 0,!0)])):U("",!0),x("div",DVe,[q(i.$slots,"default",{},void 0,!0)])]),_:3})):U("",!0)]),_:3},8,["class"]))}}),j5=yt(BVe,[["__scopeId","data-v-ff689b94"]]),UVe={key:0,class:"screenreader-only"},jVe=F({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.$props.if?(y(),w("span",UVe,[q(t.$slots,"default")])):q(t.$slots,"default",{},void 0,void 0,1)}}),yu=jVe,FVe=["id"],QVe={class:"relative"},zVe=F({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){const n=t,r=Mt(),{translate:a}=Ot(),{cx:i}=$t();return(o,s)=>(y(),w("span",jt(Xt(b(i)("group/heading wrap-break-word relative"))),[x("span",{id:b(r),class:"contents"},[q(o.$slots,"default")],8,FVe),x("span",QVe,[s[1]||(s[1]=x("span",null,"â",-1)),N(b(zn),{"aria-describedby":b(r),class:"absolute top-1/2 left-0 inline-block h-fit -translate-y-1/2 px-1.5 py-1 opacity-0 group-hover/heading:opacity-100 group-has-focus-visible/heading:opacity-100",variant:"ghost",onClick:s[0]||(s[0]=Qt(()=>n("copyAnchorUrl"),["stop"]))},{default:I(()=>[N(b(xL),{"aria-hidden":"true",class:"size-4.5"}),N(yu,null,{default:I(()=>[ae(H(b(a)("actions.copyLink")),1)]),_:1})]),_:1},8,["aria-describedby"])])],16))}}),bl=zVe,HVe={class:"sr-only"},VVe=F({__name:"CopyLinkButton",props:{anchorId:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=$(()=>t("actions.copyLinkTo",{name:e.anchorId.split(".").pop()??""}));return(r,a)=>(y(),w("button",{class:"copy-link-trailing text-c-3 hover:text-c-1 -my-1 ms-1.5 -me-1 flex shrink-0 cursor-pointer items-center justify-center self-center p-1 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 pointer-coarse:hidden",type:"button",onClick:a[0]||(a[0]=()=>{var i;return(i=e.eventBus)==null?void 0:i.emit("copy-url:nav-item",{id:e.anchorId})})},[N(b(xL),{"aria-hidden":"true",class:"size-3.5"}),x("span",HVe,[q(r.$slots,"sr-label",{},()=>[ae(H(n.value),1)])])]))}}),qVe=VVe,ZVe=["id"],XVe=F({__name:"WithBreadcrumb",props:{breadcrumb:{}},setup(e){return(t,n)=>e.breadcrumb&&e.breadcrumb.length>0?(y(),w("div",{key:0,id:e.breadcrumb.join("."),class:"static scroll-mt-24",tabindex:"-1"},[q(t.$slots,"default")],8,ZVe)):q(t.$slots,"default",{},void 0,void 0,1)}}),WVe=XVe,wz=Symbol("schema-dynamic-scope"),YVe=[],xz=()=>Rn(wz,YVe),E3=(e,t)=>ky(e)?Ty(e.$dynamicRef,t)??e:e,sp=e=>{if(!e)return null;const t=e.match(Hi.REF_NAME);return t?t[1]:null},GVe=/^#\/components\/schemas\/([^/]+)$/,KVe=e=>{if(!e)return null;const t=e.match(GVe);return t!=null&&t[1]?decodeURIComponent(t[1]):null},JVe=["allOf","oneOf","anyOf"],kz=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):e.type==="object":"properties"in e,Az=e=>"$ref"in e||"discriminator"in e||JVe.some(t=>t in e),eqe=e=>{if(!sr(e)||typeof e.items!="object")return!1;if("$ref"in e.items)return!0;const t=Se(e.items);return t?kz(t)||Az(t)||sr(t):!1},F5=e=>{if(!e||!sr(e)||typeof e.items!="object")return!1;if("$ref"in e.items)return!0;const t=Se(e.items);return t?Az(t)||kz(t)?!0:eqe(t):!1},Bv=e=>xR(Pi(e)),Tz=["oneOf","anyOf","allOf","not"],tqe=(e,t)=>
376{if(!e||!sr(e))return!1;const n=e.items;return!n||typeof n!="object"||!(t in n)?!1:!F5(e)},nqe=e=>e.startsWith("#/")||e.includes("/")?e:`#/components/schemas/${e}`,Uv=(e,t)=>{var i,o;if(e.oneOf||e.anyOf)return null;const n=(i=e.discriminator)==null?void 0:i.mapping;if(!n)return null;const r=Bv(t);if(!((o=r==null?void 0:r.components)!=null&&o.schemas))return null;const a=Object.values(n).filter(s=>typeof s=="string").map(s=>{var d,f;const l=nqe(s),c=sp(l),u=c?ht.schema((f=(d=r.components)==null?void 0:d.schemas)==null?void 0:f[c]):void 0;if(u)return{$ref:l,"$ref-value":u}}).filter(to);return a.length===0?null:{...ht.schema(e),oneOf:a}},rqe=(e,t,n=e?Uv(e,t):null)=>e?Tz.map(r=>r==="oneOf"&&n?{composition:r,value:n}:tqe(e,r)&&sr(e)&&e.items?{composition:r,value:ht.schema(e.items)}:e[r]&&!(sr(e)&&e.items&&typeof e.items=="object"&&r in e.items)?{composition:r,value:ht.schema(e)}:null).filter(to):[],vi=e=>{if(e===null||typeof e!="object"||Array.isArray(e)||"oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;const t="type"in e;if(t&&Array.isArray(e.type))return e.type.includes("object");const n=t&&e.type==="object";if(n)return!0;if(t&&!n)return!1;const r="properties"in e,a="additionalProperties"in e,i="patternProperties"in e;return r||a||i},_3=Symbol("schema-ancestors"),xm=e=>{if(e&&typeof e=="object")return"$ref"in e&&typeof e.$ref=="string"?e.$ref:e},aqe=F({__name:"SchemaRailPanel",props:{depth:{},closeOnRail:{type:Boolean,default:!1},as:{default:"div"}},emits:["close"],setup(e,{emit:t}){const n=t;let r=null;const a=()=>{var s;r==null||r.panel.removeAttribute("data-rail-hovered"),(s=r==null?void 0:r.row)==null||s.removeAttribute("data-child-rail-hovered"),r=null},i=(s,l)=>{if(a(),!l)return;const c=s.currentTarget instanceof HTMLElement?s.currentTarget.parentElement:null;if(!c)return;const u=c.parentElement;c.setAttribute("data-rail-hovered",""),u==null||u.setAttribute("data-child-rail-hovered",""),r={panel:c,row:u}},o=()=>{a(),n("close")};return Qa(a),(s,l)=>(y(),M(Wt(e.as),{class:"schema-rail-panel schema-rail rail-hover:border-s-c-1 relative ps-[var(--schema-gutter,16px)]",style:Pr({"--schema-depth":e.depth})},{default:I(()=>[e.closeOnRail?(y(),w("div",{key:0,"aria-hidden":"true",class:"rail-hit z-[1]","data-rail-hit":"",onClick:Qt(o,["stop"]),onPointerenter:l[0]||(l[0]=c=>i(c,!0)),onPointerleave:l[1]||(l[1]=c=>i(c,!1))},null,32)):U("",!0),q(s.$slots,"default")]),_:3},8,["style"]))}}),jv=aqe,Q5=Symbol(),iqe=e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array",VC=(e,t=!1)=>{if(!e.items)return"array";const n=iqe(z5(ht.schema(e.items)));return t?n:e.nullable?`${n} | null`:n},z5=e=>{if(!e)return"";const t=ht.schema(e);if(t.const!==void 0)return"const";if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){const n=VC(t,!0),r=t.type.filter(a=>a!=="array");return r.length>0?`${n} | ${r.join(" | ")}`:n}return t.type.join(" | ")}return sr(t)?VC(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} ⢠${t.contentEncoding}`:"type"in t?t.type:""},oqe=new Set(["description","title"]),cl=(e,t,n=new Set)=>{var s;if(!((s=e==null?void 0:e.allOf)!=null&&s.length)||!Array.isArray(e.allOf))return t||{};const r={},{allOf:a,...i}=e;for(const l of e.allOf){if(!l||typeof l!="object")continue;const c=ht.schema(l);if(c.allOf){R4(r,cl(c,void 0,n),!1,n);continue}R4(r,c,!1,n)}Object.keys(i).length>0&&R4(r,i,!0,n);const o="discriminator"in i||!!t;return"discriminator"in r&&!o&&delete r.discriminator,r},R4=(e,t,n=!1,r=new Set)=>{var i;const a=Nd(t);if(a.length!==0)for(const o of a){const s=o,l=Se(t[o]);if(l!==void 0)if(s==="required")Array.isArray(l)&&l.length>0&&((i=e.required)!=null&&i.length?e.required=[...new Set([...e.required,...l])]:e.required=l.slice());else if(s==="properties")l&&typeof l=="object"&&(e.properties||(e.properties={}),Jm(e.properties,l,r));else if(s==="items"){const c=ht.schema(l);if(c)if(sr(t))if(e.items||(e.items={}),c.allOf){const u=cl(c,void 0,r);Object.assign(e.items,u)}else sqe(Se(e.items),c,r);else if(c.allOf){const u=cl(c,void 0,r);"properties"in u&&("properties"in e||(e.properties={}),"properties"in e&&Jm(e.properties,u.properties,r))}else"items"in e||(e.items=c)}else if(o==="enum")Array.isArray(l)&&l.length>0&&(e.enum=[...new Set([...e.enum||[],...l])]);else if(o==="oneOf"||o==="anyOf")Array.isArray(l)&&l.length>0&&(n||e[o]===void 0)&&(e[o]=l);else{if(o==="allOf")continue;(n||oqe.has(s)||e[o]===void 0)&&(e[o]=l)}}},Jm=(e,t,n=new Set)=>{var a;const r=Object.keys(t??{});if(!(!t||!e||r.length===0))for(const i of r){const o=ht.schema(t[i]);if(!o){delete e[i];continue}if(typeof o!="object"){e[i]=o;continue}if(!e[i]){const u=t[i],d=u==null?void 0:u.$ref;
376if(u&&typeof d=="string"&&n.has(d)){e[i]=u;continue}const f=typeof d=="string"?new Set(n).add(d):n;o.allOf?e[i]=cl(o,void 0,f):sr(o)&&((a=ht.schema(o.items))!=null&&a.allOf)?e[i]={...o,items:cl(ht.schema(o.items),void 0,n)}:t[i]&&(e[i]=t[i]);continue}const s=ht.schema(e[i]),l=o.$ref;if(typeof l=="string"&&n.has(l)){e[i]=s;continue}const c=typeof l=="string"?new Set(n).add(l):n;if(o.allOf)e[i]=cl({allOf:[s,...o.allOf]},void 0,c);else if(sr(o)&&sr(s)&&o.items){const u=ht.schema(s.items);e[i]={...s,type:"array",items:u?lqe(u,ht.schema(o.items),c):ht.schema(o.items)}}else if("properties"in s&&"properties"in o){const u={...s,...o};u.properties={...s.properties},Jm(u.properties,o.properties,c),e[i]=u}else e[i]={...o,...s}}},sqe=(e,t,n=new Set)=>{if(t.allOf||e.allOf){const r=[];if(e.allOf)for(const i of e.allOf)r.push(ht.schema(i));else r.push(e);if(t.allOf)for(const i of t.allOf)r.push(ht.schema(i));else r.push(t);const a=cl({allOf:r},void 0,n);Object.assign(e,a);return}Object.assign(e,t),"properties"in e&&"properties"in t&&Jm(e.properties,t.properties,n)},lqe=(e,t,n=new Set)=>{const r=t.$ref;return typeof r=="string"?n.has(r)?e:qC(e,t,new Set(n).add(r)):qC(e,t,n)},qC=(e,t,n=new Set)=>{if(e.allOf||t.allOf){const a=[];if(e.allOf)for(const i of e.allOf)a.push(ht.schema(i));else a.push(e);if(t.allOf)for(const i of t.allOf)a.push(ht.schema(i));else a.push(t);return cl({allOf:a},void 0,n)}const r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},Jm(r.properties,t.properties,n)),r},cqe=["oneOf","anyOf"],C3=(e,t,n)=>{const{allOf:r,oneOf:a,anyOf:i,not:o,if:s,then:l,else:c,...u}=e;Object.keys(u).length>0&&t.push({kind:"object",schema:u});for(const d of cqe){const f=d==="oneOf"?a:i,h=Array.isArray(f)&&f.some(p=>{const m=p&&typeof p=="object"&&"$ref"in p?p.$ref:void 0;return typeof m=="string"&&n.has(m)});Array.isArray(f)&&f.length>0&&t.push({kind:"choice",composition:d,value:{[d]:f},inheritedSelection:h})}if(Array.isArray(r)){for(const d of r)if(d&&typeof d=="object"){const f=ht.schema(d),h=f.$ref;if(typeof h=="string"){if(n.has(h))continue;C3(f,t,new Set(n).add(h))}else C3(f,t,n)}}},uqe=e=>{if(!e)return{segments:[]};const{allOf:t,oneOf:n,anyOf:r,not:a,if:i,then:o,else:s,...l}=e;if(!Array.isArray(t))return{segments:[{kind:"object",schema:e}]};const c=[];Object.keys(l).length>0&&c.push({kind:"object",schema:l});const u="$ref"in e?e.$ref:void 0,d=new Set(typeof u=="string"?[u]:[]);for(const g of t)if(g&&typeof g=="object"){const v=ht.schema(g),k=v.$ref;C3(v,c,typeof k=="string"?new Set(d).add(k):d)}const f=[];let h=[],p=0;const m=()=>{if(h.length===0)return;const g=h.length===1?h[0]:cl({allOf:h});f.push({kind:"object",schema:g}),h=[]};for(const g of c)g.kind==="object"?h.push(g.schema):g.inheritedSelection?p++:(m(),f.push({kind:"choice",composition:g.composition,value:g.value,choiceIndex:p++}));return m(),{segments:f}},$3=e=>{if(!e)return null;const t=ht.schema(e),n="$ref"in e?KVe(e.$ref):null;if(t.title)return{schemaKey:n,label:t.title};if(t.name)return{schemaKey:n,label:t.name};if("$ref"in e){const r=sp(e.$ref);if(r)return{schemaKey:n,label:r}}return null},Ez=e=>{const t=$3(e);if(t)return t;const n=ht.schema(e);if(sr(n)&&n.items){const r=$3(n.items);if(r)return{schemaKey:r.schemaKey,label:`${r.label}[]`}}return null},dqe=F({__name:"SchemaGlyphPuck",props:{open:{type:Boolean},floating:{type:Boolean,default:!0},anchor:{default:"middle"}},setup(e){return(t,n)=>(y(),w("span",{"aria-hidden":"true",class:Oe(["schema-glyph tree-control-hover:bg-b-1 tree-control-hover:text-c-1 tree-control-hover:border-(--scalar-border-color) print:bg-transparent [&_svg]:size-[var(--schema-glyph-icon,16px)]",e.floating?["absolute start-[calc(0px_-_var(--schema-glyph-half,9px)_-_var(--schema-gutter,16px))] -translate-y-1/2",e.anchor==="line"?"top-[0.5lh]":"top-1/2"]:void 0])},[q(t.$slots,"default",{},()=>[e.open?(y(),M(b(TL),{key:0,weight:"light"})):(y(),M(b(j6),{key:1,weight:"light"}))])],2))}}),gd=dqe,fqe=e=>{if(!vi(e))return!1;const t=Object.keys(e.properties??{}).length===0,n=e.additionalProperties===void 0||e.additionalProperties===!1,r=Object.keys(e.patternProperties??{}).length===0;return t&&n&&r},hqe=e=>[...e.querySelectorAll("[data-schema-toggle]")].filter(t=>t.offsetParent!==null&&!t.closest("[hidden]")),pqe=e=>{var t,n;return((n=(t=e.closest(".property-children"))==null?void 0:t.closest(".property--tree"))==null?void 0:n.querySelector(":scope > [data-schema-toggle]"))??null},mqe=e=>{var t;return((t=e.closest(".property--tree"))==null?void 0:t.querySelector(":scope > .property-children [data-schema-toggle]"))??null},_z=e=>{var o,s,l,c,u,d;const t=e.target;if(e.defaultPrevented||!(t instanceof HTMLElement)||!t.hasAttribute("data-schema-toggle")||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;const n=e.currentTarget instanceof HTMLElement?e.currentTarget:null;if(!n)return;const r=hqe(n),a=r.indexOf(t);if(a===-1)return;const i=t.getAttribute("aria-expanded")==="true";switch(e.key){case"ArrowDown":(o=r[a+1])==null||o.focus();break;case"ArrowUp":(s=r[a-1])==null||s.focus();break;case"ArrowRight":i?(l=mqe(t))==null||l.focus():t.click();break;
376case"ArrowLeft":i?t.click():(c=pqe(t))==null||c.focus();break;case"Home":(u=r[0])==null||u.focus();break;case"End":(d=r[r.length-1])==null||d.focus();break;default:return}e.preventDefault()},ZC=(e,t)=>e.reduce((n,r)=>{const a=t==null?void 0:t[r];return a&&(n[r]=a),n},{}),gqe=new Intl.Collator(void 0),XC=new WeakMap,bqe=Object.freeze([]),H5=(e,t,{hideReadOnly:n=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:a="alpha",orderRequiredPropertiesFirst:i=!0}={})=>{if(!vi(e)||!e.properties)return bqe;const o=e.properties,s=e.required,l=t==null?void 0:t.propertyName,c=[l===void 0?"":`!${l}`,n,r,a,i].join("|"),u=XC.get(o),d=u==null?void 0:u.get(c);if(d&&d.required===s)return d.names;const f=new Set(s||[]),h=n||r,p=[];for(const g of Object.keys(o)){const v=o[g];if(h){const k=ht.schema(v);if(n&&(k==null?void 0:k.readOnly)===!0||r&&(k==null?void 0:k.writeOnly)===!0)continue}p.push({name:g,order:v&&typeof v=="object"&&"x-order"in v?v["x-order"]:void 0,required:f.has(g),discriminator:g===l})}p.sort((g,v)=>{if(g.discriminator&&!v.discriminator)return-1;if(!g.discriminator&&v.discriminator)return 1;if(g.order!==void 0&&v.order!==void 0)return Number(g.order)-Number(v.order);if(g.order!==void 0&&v.order===void 0)return-1;if(g.order===void 0&&v.order!==void 0)return 1;if(i){if(g.required&&!v.required)return-1;if(!g.required&&v.required)return 1}return a==="alpha"?gqe.compare(g.name,v.name):0});const m=Object.freeze(p.map(g=>g.name));return typeof o=="object"&&o!==null&&(u?u.set(c,{required:s,names:m}):XC.set(o,new Map([[c,{required:s,names:m}]]))),m},yqe=F({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},depth:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){const t=$(()=>H5(e.schema,e.discriminator,e.options)),n=(u,d)=>{const f=typeof u=="boolean"?u:ht.schema(u);if(typeof f=="object"&&typeof f["x-additionalPropertiesName"]=="string"&&f["x-additionalPropertiesName"].trim().length>0)return`${f["x-additionalPropertiesName"].trim()}`;if(d){const h=ht.schema(d);if(h!=null&&h.title)return h.title}return"propertyName"},r=u=>{if(!u)return;const d=ht.schema(u);if(d&&"enum"in d&&Array.isArray(d.enum)&&d.enum.length>0)return d.enum},a=$(()=>{if(!(!vi(e.schema)||!e.schema.additionalProperties))return r(e.schema.propertyNames)}),i=$(()=>{if(!(!vi(e.schema)||!e.schema.additionalProperties))return e.schema.propertyNames?ht.schema(e.schema.propertyNames):void 0}),o=u=>{if(u)return ht.schema(u)},s=u=>{if(u)return typeof u.description=="string"?u.description:void 0},l=$(()=>{if(!vi(e.schema)||!e.schema.properties)return[];const{properties:u}=e.schema,d=new Set(e.schema.required??[]);return t.value.map(f=>{const h=u[f];return{name:f,cycleKey:xm(h),description:s(h),required:d.has(f),schema:o(h)}})}),c=u=>{const d=typeof u=="boolean"?u:ht.schema(u);return d===!0||typeof d=="object"&&Object.keys(d).length===0||typeof d!="object"||!("type"in d)?{type:"anything",...typeof d=="object"?d:{}}:d};return(u,d)=>(y(),w(de,null,[b(vi)(e.schema)&&e.schema.properties?(y(!0),w(de,{key:0},it(l.value,f=>(y(),M(Bc,{key:f.name,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:f.name,cycleKey:f.cycleKey,description:f.description,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth,level:e.level,name:f.name,options:e.options,required:f.required,schema:f.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","depth","level","name","options","required","schema","schemaContext"]))),128)):U("",!0),b(vi)(e.schema)&&e.schema.patternProperties?(y(!0),w(de,{key:1},it(Object.entries(e.schema.patternProperties),([f,h])=>(y(),M(Bc,{key:f,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:f,cycleKey:b(xm)(h),description:s(h),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth,level:e.level,name:f,options:e.options,schema:o(h),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","depth","level","name","options","schema","schemaContext"]))),128)):U("",!0),b(vi)(e.schema)&&e.schema.additionalProperties?(y(),M(Bc,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:n(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:b(xm)(e.sc
376hema.additionalProperties),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth,level:e.level,name:n(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:"",options:e.options,propertyNamesEnum:a.value,propertyNamesSchema:i.value,schema:c(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","depth","level","name","options","propertyNamesEnum","propertyNamesSchema","schema","schemaContext"])):U("",!0)],64))}}),vqe=yqe,Oqe={key:0,class:"schema-card-description [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:mb-0! [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:border-b-0! [.schema-card--level-0:nth-of-type(1)>&]:has-[+.schema-properties]:pb-0!"},Sqe={key:1,class:"text-c-2 py-1.5"},wqe={key:0,class:"schema-properties w-full! rounded-none! border-0!"},xqe=["id","aria-controls","aria-expanded"],kqe={class:"additional-toggle-label"},Aqe=["id"],Tqe=F({__name:"Schema",props:{schema:{},level:{default:0},depth:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideDescription:{type:Boolean,default:!1},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},cycleKey:{}},setup(e){const{translate:t}=Ot(),n=xz(),r=$(()=>Bv(e.schema)),a=$(()=>{const B=r.value;if(!B||typeof B!="object")return B;const L=E3(B,n);return"$ref"in L?ht.schema(L):L}),i=r.value?E3(r.value,n):void 0;_n(wz,i?Ay(n,i):n);const o=Rn(_3,void 0),s=$(()=>e.cycleKey!=null&&!!(o!=null&&o.has(e.cycleKey))),l=new Set(o??[]);e.cycleKey!=null&&l.add(e.cycleKey),_n(_3,l);const c=$(()=>!!e.options.expandAllSchemaProperties&&!s.value),u=$(()=>e5(ph(e.breadcrumb))),d=$(()=>e.noncollapsible||c.value||u.value),f=$(()=>{var V;const B=a.value;if(e.hideDescription)return null;const L=r.value;return L!=null&&L.allOf&&L.allOf.length>0&&e.name==="Request Body"?((V=cl(L))==null?void 0:V.description)||null:!(B!=null&&B.description)||typeof B.description!="string"||B.enum||!("properties"in B)&&!("patternProperties"in B)&&!("additionalProperties"in B)&&!("allOf"in B)?null:B.description}),h=$(()=>r.value&&!e.discriminator&&vi(r.value)?Uv(r.value,e.options.document):null),p=Rn(FE,!1),m=$(()=>e.depth===0&&!p);_n(FE,!0);const g=B=>{m.value&&e.options.schemaKeyboardNav&&_z(B)},v=Ov(),k=Mt(),S=$(()=>ph(e.breadcrumb)||`~anonymous-${k}
376`),A=$(()=>e.noncollapsible||v.isExpanded(S.value,{cyclic:s.value,defaultOpen:d.value})),E=$(()=>!e.additionalProperties||A.value),_=Mt(),C=Mt(),R=()=>{e.noncollapsible||v.setExpanded(S.value,!A.value)};return(B,L)=>{var V;return a.value&&Object.keys(a.value).length?(y(),w("div",{key:0,class:Oe(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":A.value},{"additional-card--tree":e.additionalProperties},"schema-card--tree",{"schema-tree [--schema-glyph-background:var(--scalar-background-1)] [--schema-glyph-color:var(--scalar-color-2)]":m.value}]]),onKeydown:g},[f.value?(y(),w("div",Oqe,[N(b(Jr),{value:f.value},null,8,["value"])])):U("",!0),b(fqe)(a.value)?(y(),w("div",Sqe,H(b(t)("schema.emptyObject")),1)):U("",!0),x("div",{class:Oe(["schema-properties",[{"schema-properties-open":A.value},"w-full! rounded-none! border-0! [.schema-card--level-0:nth-of-type(1)>.schema-card-description+&]:mt-0! [.schema-card-description+&]:mt-1.5!"]])},[e.additionalProperties?Fi((y(),w("div",wqe,[x("button",{id:b(_),"aria-controls":E.value?b(C):void 0,"aria-expanded":A.value,class:"schema-card-title schema-card-title--compact group/tree-control additional-toggle--tree font-code text-c-1! relative flex h-auto min-h-8 items-center gap-0! px-0! py-[var(--schema-row-pad,6px)]! text-sm! font-bold!",type:"button",onClick:R},[N(gd,{class:"additional-toggle-glyph"}),x("span",kqe,[ae(H(b(t)("schema.showAdditionalProperties"))+" ",1),e.name?(y(),M(yu,{key:0},{default:I(()=>[ae(H(b(t)("schema.forName",{name:e.name})),1)]),_:1})):U("",!0)])],8,xqe)],512)),[[I2,!A.value]]):U("",!0),E.value?(y(),w("ul",{key:1,id:b(C),role:"list"},[h.value?(y(),M(Cz,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,composition:"oneOf",compositionPath:e.compositionPath,discriminator:(V=r.value)==null?void 0:V.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,depth:e.depth,hideModelNames:e.hideModelNames,level:e.level,name:e.name,options:e.options,schema:h.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","depth","hideModelNames","level","name","options","schema","schemaContext"])):b(vi)(a.value)?(y(),M(vqe,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,depth:e.depth,hideModelNames:e.hideModelNames,level:e.level+1,options:e.options,schema:a.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","depth","hideModelNames","level","options","schema","schemaContext"])):(y(),w(de,{key:2},[a.value?(y(),M(Bc,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,depth:e.depth,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:a.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","depth","hideModelNames","level","options","schema","schemaContext"])):U("",!0)],64))],8,Aqe)):U("",!0)],2)],34)):U("",!0)}}}),ul=yt(Tqe,[["__scopeId","data-v-d6bb8b3b"]]),Eqe={class:"property-rule [.children+&]:mt-1.5!"},_qe={class:"composition-selector composition-selector--tree group/tree-control font-code relative flex w-fit cursor-pointer items-center gap-1.5 py-1 text-sm",type:"button"},Cqe={class:"text-c-1 [font-weight:var(--scalar-bold)]"},$qe={key:0,class:"text-red"},Pqe=F({__name:"SchemaComposition",props:{composition:{},discriminator:{},name:{},schema:{},level:{},depth:{default:0},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){const t=e,{translate:n}=Ot(),r=$(()=>t.composition==="allOf"?uqe(t.schema).segments:[]),a=$(()=>[t.schema[t.composition]].flat().map(m=>({value:ht.schema(m),original:m})).filter(m=>to(m.value))),i=$(()=>a.value.map((m,g)=>{var S;const v=ht.schema(m.original),k=(((S=Ez(v))==null?void 0:S.label)??z5(v))||n("schema.schema");return{id:String(g),label:k}})),o=$(()=>{var m;return(m=t.compositionPath)!=null&&m.length?[...t.compositionPath,t.composition].join("."):""}
376),s=Rn(Q5,void 0),l=$(()=>{if(t.schemaContext!=="requestBody"||!(s!=null&&s.value)||!o.value)return 0;const m=s.value[o.value];return typeof m!="number"||Number.isNaN(m)?0:Math.max(0,Math.min(m,i.value.length-1))}),c=J();ze([i,l],([m,g])=>{(!c.value||!m.some(v=>{var k;return v.id===((k=c.value)==null?void 0:k.id)}))&&(c.value=m[g]??m[0])},{immediate:!0});const u=m=>n(`schema.${m}`),d=$(()=>{var m,g;return(g=a.value[Number(((m=c.value)==null?void 0:m.id)??"0")])==null?void 0:g.value}),f=$(()=>{var m;return t.schemaContext==="requestBody"&&((m=t.compositionPath)==null?void 0:m.length)===1}),h=$(()=>{var m,g;return xm((g=a.value[Number(((m=c.value)==null?void 0:m.id)??"0")])==null?void 0:g.original)}),p=J(!!t.options.expandAllSchemaProperties);return s&&t.schemaContext==="requestBody"&&o.value&&ze(c,m=>{const g=m?Number(m.id):0;Number.isNaN(g)||(s.value={...s.value,[o.value]:g})},{immediate:!0}),(m,g)=>{const v=vy("SchemaComposition",!0);return y(),w("div",Eqe,[t.composition==="allOf"?(y(!0),w(de,{key:0},it(r.value,(k,S)=>(y(),w(de,{key:S},[k.kind==="object"?(y(),M(ul,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideDescription:f.value,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:k.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideDescription","hideHeading","hideModelNames","depth","level","name","options","schema","schemaContext"])):(y(),M(v,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,composition:k.composition,compositionPath:[...e.compositionPath??[],String(k.choiceIndex)],eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth,level:e.level,options:e.options,schema:k.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","eventBus","hideHeading","hideModelNames","depth","level","options","schema","schemaContext"]))],64))),128)):(y(),M(jv,{key:1,class:"composition-panel composition-panel--tree mt-1 mb-0.5",depth:e.depth+1},{default:I(()=>{var k;return[N(b(fu),{modelValue:c.value,"onUpdate:modelValue":g[0]||(g[0]=S=>c.value=S),class:"w-fit min-w-40",options:i.value},{default:I(()=>{var S,A,E;return[x("button",_qe,[N(gd,{class:"composition-selector-icon"},{default:I(()=>[N(b(wL))]),_:1}),x("span",Cqe,H(u(t.composition)),1),g[2]||(g[2]=x("span",{"aria-hidden":"true",class:"text-c-3"},"·",-1)),x("span",{class:Oe(["composition-selector-label text-c-1 [font-weight:var(--scalar-bold)]",{"line-through":(S=d.value)==null?void 0:S.deprecated}])},H(((A=c.value)==null?void 0:A.label)||b(n)("schema.schema")),3),(E=d.value)!=null&&E.deprecated?(y(),w("div",$qe,H(b(n)("schema.deprecated")),1)):U("",!0)])]}),_:1},8,["modelValue","options"]),!p.value&&e.level>2?(y(),w("button",{key:0,class:"composition-details-toggle group/tree-control font-code text-c-1 relative flex w-fit cursor-pointer items-center py-1.5 text-sm font-normal",type:"button",onClick:g[1]||(g[1]=S=>p.value=!0)},[N(gd),ae(" "+H(b(n)("schema.showSchemaDetails")),1)])):(y(),M(ul,{key:((k=c.value)==null?void 0:k.id)??"0",breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:h.value,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,depth:e.depth+1,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:d.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","depth","level","name","options","schema","schemaContext"]))]}),_:1},8,["depth"]))])}}}),Cz=yt(Pqe,[["__scopeId","data-v-26861f6e"]]),Iqe=e=>{if(!e)return[];if(e.enum)return e.enum;if(sr(e)&&typeof e.items=="object"){const t=ht.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]},Rqe={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.
3766, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",base64:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},Nqe=e=>{if(!NK(e))return null;const t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;const n=Rqe[t];return n?n["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null},$z=3,Pz=["x-enumDescriptions","x-enum-descriptions","x-enum-varnames","x-enumNames"],WC=e=>e!==null&&typeof e=="object"?JSON.stringify(e):typeof e=="string"?`"${e}"`:String(e),P3=e=>({kind:"word",text:e}),Ys=e=>({kind:"ident",text:e}),YC=e=>({kind:"literal",text:e}),Mqe=()=>({kind:"punctuation",text:"|"}),GC=(e,t)=>e.flatMap((n,r)=>r===0?n:[...t(),...n]),Iz=(e,t={},n=!1)=>{if(!e||typeof e!="object"||"$ref"in e&&typeof e.$ref=="string"&&!t.hideModelNames&&sp(e.$ref))return!1;const r=Se(e);if(!r||typeof r!="object"||r.const!==void 0)return!1;if(!Pz.some(s=>r[s])&&Array.isArray(r.enum)&&r.enum.length>0&&r.enum.length<=$z)return!0;if(!n&&!("type"in r))return!1;const a="type"in r?r.type:void 0,i=a==="array"||Array.isArray(a)&&a.includes("array"),o="items"in r?r.items:void 0;return i&&o&&typeof o=="object"?Iz(o,t,!0):!1},Rz=(e,t={},n=0)=>{if(!e||typeof e!="object")return[];if("$ref"in e&&typeof e.$ref=="string"){const a=t.hideModelNames?null:sp(e.$ref);if(a)return[Ys(a)]}const r=Se(e);return!r||typeof r!="object"?[]:r.const!==void 0?[YC(WC(r.const))]:Array.isArray(r.enum)&&r.enum.length>0&&r.enum.length<=$z&&!Pz.some(a=>r[a])?GC(r.enum.map(a=>[YC(WC(a))]),()=>[P3("or")]):"type"in r&&Array.isArray(r.type)?GC(r.type.map(a=>a==="array"?KC(r,t,n):[Ys(String(a))]),()=>[Mqe()]):"type"in r&&r.type==="array"?KC(r,t,n):"type"in r&&r.type&&r.contentEncoding?[Ys(String(r.type)),P3("â¢"),Ys(r.contentEncoding)]:"type"in r&&r.type?[Ys(String(r.type))]:[]},Lqe=(e,t={})=>{var l,c,u;const n=Rz(e,{hideModelNames:t.hideModelNames}),r=t.modelName;if(!r)return n;const a=d=>!!d&&typeof d=="object"&&"$ref"in d;if(n.length===0||n.length===1&&((l=n[0])==null?void 0:l.text)==="object")return[Ys(r)];if(a(e)&&n.length===1&&((c=n[0])==null?void 0:c.kind)==="ident"&&((u=n[0])==null?void 0:u.text)!==r)return[Ys(r)];const i=e&&typeof e=="object"&&"items"in e?e.items:void 0,o=n[0],s=n[1];if(a(i)&&n.length===2&&(o==null?void 0:o.kind)==="word"&&(s==null?void 0:s.kind)==="ident"&&r.endsWith("[]")){const d=r.slice(0,-2);if(d&&d!==s.text)return[o,Ys(d)]}return n},Dqe=8,KC=(e,t,n)=>{const r="items"in e?e.items:void 0;if(!r||n>=Dqe)return[Ys("array")];const a=Rz(r,t,n+1);return a.length===0?[Ys("array")]:[P3("array of"),...a]};function fg(...e){const t={},n={},r=new Set;let a=!1,i=!1;for(const o of e)if(o)for(const[s,l]of Object.entries(o)){if(s==="properties"&&l&&typeof l=="object"){Object.assign(n,l),a=!0;continue}if(s==="required"&&Array.isArray(l)){for(const c of l)r.add(c);i=!0;continue}t[s]=l}return a&&(t.properties=n),i&&(t.required=[...r]),t}function I3(e){if(!e||typeof e!="object")return e;const t=Tz.find(u=>u in e&&u!=="not");if(!t)return{...e};const n=e[t];if(!Array.isArray(n))return{...e};const{[t]:r,nullable:a,...i}=e,o=Object.keys(i).length>0,{filteredSchemas:s,hasNullSchema:l}=n.reduce((u,d)=>{const f=ht.schema(d);return"type"in f&&f.type==="null"?u.hasNullSchema=!0:u.filteredSchemas.push(f),u},{filteredSchemas:[],hasNullSchema:!1}),c=l||a===!0;if(s.length===1){const u=fg(s[0],i);return c&&(u.nullable=!0),u}if((t==="oneOf"||t==="anyOf")&&(o||s.some(u=>u.allOf))){const u=s.map(f=>{var p;const h=ht.schema(f);if(((p=h.allOf)==null?void 0:p.length)===1){const{allOf:m,...g}=h,v=ht.schema(m[0]);if("properties"in g||"required"in g||"$ref"in g){const{$ref:k,title:S,name:A,...E}=v;return fg(i,g,E)}return fg(i,g,v)}return fg(i,h)}),d={[t]:u};return typeof e.description=="string"&&(d.description=e.description),c&&(d.nullable=!0),d}if(s.length!==n.length){const u={...e,[t]:s};return c&&(u.nullable=!0),u}return{...e}}var Bqe=(e,t)=>
376!e||e.allOf?null:t&&e.description?t===e.description?t:`${t} 377 378${e.description}`:t||e.description||null,Uqe=(e,t,n=!1)=>{var r;return t||n?!0:e?e.deprecated===!0||e.const!==void 0||((r=e.enum)==null?void 0:r.length)===1||"type"in e&&e.type!==void 0||"nullable"in e&&e.nullable===!0||e.writeOnly===!0||e.readOnly===!0:!1},jqe={key:0,class:"property-collapsed-preview font-code text-c-1 max-w-max min-w-0 flex-1 basis-0 truncate text-(length:--scalar-mini)"},Fqe=F({__name:"SchemaCollapsedPreview",props:{schema:{},propertyNames:{},limit:{default:3}},setup(e){const t=$(()=>{if(!e.schema||typeof e.schema!="object")return null;const n="properties"in e.schema?e.schema:Se(e.schema)??e.schema,r=e.propertyNames??(n&&"properties"in n&&n.properties?Object.keys(n.properties):[]);if(r.length===0)return null;const a=r.slice(0,e.limit),i=r.length-a.length;return`{ ${(i>0?[...a,`+${i}`]:a).join(", ")} }`});return(n,r)=>t.value?(y(),w("span",jqe,H(t.value),1)):U("",!0)}}),Qqe=Fqe,zqe={class:"property-enum-row flex flex-col gap-0.5 border-t px-3 py-2"},Hqe={class:"property-enum-row-label font-code text-c-1 text-sm"},Vqe={key:0,class:"property-enum-row-description text-c-2 text-(length:--scalar-small) [&_.markdown]:-mb-0.5"},qqe=F({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup(e){return(t,n)=>(y(),w("li",zqe,[x("span",Hqe,[N(b(is),{text:e.label,preset:"property"},null,8,["text"])]),e.description?(y(),w("span",Vqe,[N(b(Jr),{value:e.description},null,8,["value"])])):U("",!0)]))}}),JC=qqe,Zqe={key:0,class:"property-enum property-enum--tree mt-2 rounded-(--scalar-radius-lg) border"},Xqe={class:"property-enum-header text-c-2 px-3 py-2 text-sm capitalize"},Wqe={key:0,class:"property-enum-chip-list flex flex-wrap gap-1 border-t px-3 py-2",role:"list"},Yqe={key:1,class:"property-enum-values-card",role:"list"},Gqe={key:1,class:"border-t"},Kqe=12,Jqe=8,eZe=24,e7="â",tZe=F({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean,default:!1}},setup(e){const{translate:t}=Ot(),n=$(()=>{if(e.value)return e.value.enum?e.value:sr(e.value)?ht.schema(e.value.items):void 0}),r=$(()=>{var p;return((p=n.value)==null?void 0:p.enum)??[]}),a=$(()=>r.value.length>Kqe),i=$(()=>a.value?Jqe:r.value.length),o=$(()=>!e.propertyNames&&r.value.length>0&&!a.value&&r.value.every((p,m)=>d(p,m).length<=eZe)&&!s.value),s=$(()=>r.value.some((p,m)=>u(p,m)!==void 0)),l=$(()=>r.value.slice(0,i.value)),c=$(()=>r.value.slice(i.value)),u=(p,m)=>{const g=n.value,v=(g==null?void 0:g["x-enumDescriptions"])??(g==null?void 0:g["x-enum-descriptions"]);if(v){if(Array.isArray(v))return v[m];if(typeof v=="object"&&v!==null)return v[String(p)]}},d=(p,m)=>{var k,S;const g=((k=n.value)==null?void 0:k["x-enum-varnames"])??((S=n.value)==null?void 0:S["x-enumNames"]),v=Array.isArray(g)?g[m]:void 0;return v?`${p}${e7}=${e7}${v}`:String(p)},f=J(!1),h=()=>{f.value=!f.value};return(p,m)=>r.value.length>0?(y(),w("div",Zqe,[x("div",Xqe,H(e.propertyNames?b(t)("schema.propertyNames"):b(t)("schema.values")),1),o.value?(y(),w("div",Wqe,[(y(!0),w(de,null,it(r.value,(g,v)=>(y(),w("span",{key:v,class:"property-enum-chip font-code text-c-2 rounded-(--scalar-radius-lg) border px-1.5 py-px text-(length:--scalar-mini)",role:"listitem"},H(d(g,v)),1))),128))])):(y(),w("ul",Yqe,[(y(!0),w(de,null,it(l.value,(g,v)=>(y(),M(JC,{key:v,description:u(g,v),label:d(g,v)},null,8,["description","label"]))),128)),a.value&&f.value?(y(!0),w(de,{key:0},it(c.value,(g,v)=>(y(),M(JC,{key:i.value+v,description:u(g,i.value+v),label:d(g,i.value+v)},null,8,["description","label"]))),128)):U("",!0),a.value?(y(),w("li",Gqe,[x("button",{class:"enum-toggle-button group/tree-control text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1.5 px-3 py-2 text-sm",type:"button",onClick:h},[N(gd,{floating:!1,open:f.value},null,8,["open"]),ae(" "+H(f.value?b(t)("schema.hideValues"):b(t)("schema.showAllValues")),1)])])):U("",!0)]))])):U("",!0)}}),t7=yt(tZe,[["__scopeId","data-v-82e1317a"]]),nZe=["aria-controls","aria-describedby","aria-expanded","aria-label","aria-labelledby"],rZe=F({__name:"SchemaGutterToggle",props:{open:{type:Boolean},panelId:{},panelRendered:{type:Boolean},nameId:{},fallbackLabel:{},countId:{}},emits:["toggle"],setup(e,{emit:t}){const n=t;return(r,a)=>(y(),w("button",{"aria-controls":e.panelRendered?e.panelId:void 0,"aria-describedby":e.countId,"aria-expanded":e.open,"aria-label":e.nameId?void 0:e.fallbackLabel,"aria-labelledby":e.n
378ameId,class:"property-toggle group/tree-control flex size-[var(--schema-toggle-size,24px)] shrink-0 cursor-pointer items-center justify-center rounded-[999px] border-none bg-transparent p-0 text-[color:var(--schema-glyph-color,var(--scalar-color-2))]","data-schema-toggle":"",type:"button",onClick:a[0]||(a[0]=i=>n("toggle"))},[N(gd,{class:"property-glyph",floating:!1,open:e.open},null,8,["open"])],8,nZe))}}),Nz=rZe,Mz=(e,{hideModels:t,document:n})=>{var a,i,o;if(!e||t)return!1;const r=(o=(i=(a=Bv(n))==null?void 0:a.components)==null?void 0:i.schemas)==null?void 0:o[e];return!fa(Se(r,mr))},aZe=F({__name:"RenderString",props:{value:{}},setup(e){const t=$(()=>e.value===""?"''":e.value===null?"null":e.value===void 0?"undefined":e.value);return(n,r)=>H(t.value)}}),iZe=aZe;function N4(e){return Array.isArray(e)?`[${e.map(t=>typeof t=="string"?`"${t.toString().trim()}"`:typeof t=="object"?JSON.stringify(t):t===void 0?"undefined":t===null?"null":t).join(", ")}]`:e===null?"null":typeof e=="object"?JSON.stringify(e):e===void 0?"undefined":typeof e=="string"?e.trim():e.toString().trim()}var oZe=["aria-controls","aria-expanded"],sZe=["id"],lZe=["aria-label"],cZe=500,uZe=F({__name:"SchemaPropertyDefault",props:{value:{}},setup(e){const{copyToClipboard:t}=pu(),{translate:n}=Ot(),r=J(null),a=J(null),i=J(!1),o=Mt(),s=()=>{i.value=!i.value},l=()=>{!u&&!c&&(i.value=!0)};let c=!1,u=!1,d=0;const f=()=>{u=!0,window.clearTimeout(d),d=window.setTimeout(()=>{u=!1},cZe)},h=m=>{var v;const g=m.relatedTarget;(!(g instanceof Node)||!((v=r.value)!=null&&v.contains(g)))&&(i.value=!1)},p=()=>{var g,v;const m=(g=r.value)==null?void 0:g.contains(document.activeElement);i.value=!1,m&&(c=!0,(v=a.value)==null||v.focus(),c=!1)};return Wm(r,p),yv("Escape",()=>{i.value&&p()}),(m,g)=>e.value!==void 0?(y(),w("div",{key:0,ref_key:"rootRef",ref:r,class:Oe(["property-default",{"is-open":i.value}]),onFocusin:l,onFocusout:h},[x("button",{ref_key:"labelRef",ref:a,"aria-controls":b(o),"aria-expanded":i.value,class:"property-default-label",type:"button",onClick:s,onPointerdown:f},[x("span",null,H(b(n)("schema.default")),1)],40,oZe),x("div",{id:b(o),class:Oe(["property-default-value-list",{"flex!":i.value}])},[x("button",{"aria-label":`${b(n)("common.copyDefault")}: ${b(N4)(e.value)}`,class:"property-default-value group",type:"button",onClick:g[0]||(g[0]=v=>b(t)(b(N4)(e.value)))},[x("span",null,H(b(N4)(e.value)),1),N(b(ua),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,lZe)],10,sZe)],34)):U("",!0)}}),dZe=yt(uZe,[["__scopeId","data-v-cce5af49"]]),fZe={key:0,class:"property-detail-prefix"},hZe={key:1,class:"property-detail-value"},pZe={key:2,class:"property-detail-value"},mZe=F({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup(e){return(t,n)=>(y(),w("span",{class:Oe(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(y(),w("div",fZe,[q(t.$slots,"prefix",{},void 0,!0),n[0]||(n[0]=ae("Â ",-1))])):U("",!0),e.code?(y(),w("code",hZe,[q(t.$slots,"default",{},void 0,!0)])):(y(),w("span",pZe,[q(t.$slots,"default",{},void 0,!0)]))],2))}}),mc=yt(mZe,[["__scopeId","data-v-1295f965"]]),gZe={},bZe={class:"text-c-3 hover:text-c-1 underline",type:"button"};function yZe(e,t){return y(),w("button",bZe,[q(e.$slots,"default")])}var xb=yt(gZe,[["render",yZe]]);function M4(e){const t=e.trim();return t===""?e:t}function lf(e){return Array.isArray(e)?`[${e.map(t=>typeof t=="string"?`"${M4(t)}"`:typeof t=="object"?JSON.stringify(t):t===void 0?"undefined":t===null?"null":t).join(", ")}]`:e===null?"null":typeof e=="object"?JSON.stringify(e):e===void 0?"undefined":M4(typeof e=="string"?e:e.toString())}var vZe=["id"],OZe=["aria-label"],SZe=["id"],wZe=["aria-label","onClick"],xZe=500,kZe=F({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){const{copyToClipboard:t}=pu(),{translate:n}=Ot(),r=$(()=>e.example!==void 0),a=$(()=>Ht(e.examples)?e.examples:{}),i=$(()=>Object.keys(a.value).length>0),o=$(()=>Object.keys(a.value).length===1?n("schema.example"):n("schema.examples"));
378function s(L){if(We(L)){if("value"in L)return L.value;if("externalValue"in L)return L.externalValue}return L}const l=J(null),c=J(null),u=J(!1),d=Mt(),f=J(null),h=J(null),p=J(!1),m=Mt();let g=!1,v=0,k=!1;const S=()=>{g=!0,window.clearTimeout(v),v=window.setTimeout(()=>{g=!1},xZe)},A=(L,V)=>{const Q=L.relatedTarget;return!(Q instanceof Node)||!(V!=null&&V.contains(Q))},E=()=>{!g&&!k&&(u.value=!0)},_=L=>{A(L,l.value)&&(u.value=!1)},C=()=>{!g&&!k&&(p.value=!0)},R=L=>{A(L,f.value)&&(p.value=!1)};Wm(l,()=>{u.value=!1}),Wm(f,()=>{p.value=!1});const B=(L,V,Q)=>{var ne,G;if(!L.value)return;const ee=(ne=V.value)==null?void 0:ne.contains(document.activeElement);if(L.value=!1,ee){const re=Q.value,Y=re instanceof HTMLElement?re:re==null?void 0:re.$el;k=!0,(G=Y==null?void 0:Y.focus)==null||G.call(Y),k=!1}};return yv("Escape",()=>{B(u,l,c),B(p,f,h)}),(L,V)=>(y(),w(de,null,[r.value?(y(),w("div",{key:0,ref_key:"singleRootRef",ref:l,class:Oe(["property-example",{"is-open":u.value}]),onFocusin:E,onFocusout:_},[N(xb,{ref_key:"singleTriggerRef",ref:c,"aria-controls":b(d),"aria-expanded":u.value,class:"decoration-dotted",onClick:V[0]||(V[0]=Q=>u.value=!u.value),onPointerdown:S},{default:I(()=>[ae(H(b(n)("schema.example")),1)]),_:1},8,["aria-controls","aria-expanded"]),x("div",{id:b(d),class:Oe(["property-example-value-list",{"flex!":u.value}])},[x("button",{"aria-label":`${b(n)("common.copyExample")}: ${b(lf)(e.example)}`,class:"property-example-value group",type:"button",onClick:V[1]||(V[1]=Q=>b(t)(b(lf)(e.example)))},[x("span",null,H(b(lf)(e.example)),1),N(b(ua),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,OZe)],10,vZe)],34)):U("",!0),i.value?(y(),w("div",{key:1,ref_key:"multipleRootRef",ref:f,class:Oe(["property-example",{"is-open":p.value}]),onFocusin:C,onFocusout:R},[N(xb,{ref_key:"multipleTriggerRef",ref:h,"aria-controls":b(m),"aria-expanded":p.value,class:"decoration-dotted",onClick:V[2]||(V[2]=Q=>p.value=!p.value),onPointerdown:S},{default:I(()=>[ae(H(o.value),1)]),_:1},8,["aria-controls","aria-expanded"]),x("div",{id:b(m),class:Oe(["property-example-value-list",{"flex!":p.value}])},[(y(!0),w(de,null,it(a.value,(Q,ee)=>(y(),w("button",{key:ee,"aria-label":`${b(n)("common.copyExample")}: ${b(lf)(s(Q))}`,class:"property-example-value group",type:"button",onClick:ne=>b(t)(b(lf)(s(Q)))},[x("span",null,H(b(lf)(s(Q))),1),N(b(ua),{"aria-hidden":"true",class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,wZe))),128))],10,SZe)],34)):U("",!0)],64))}}),AZe=yt(kZe,[["__scopeId","data-v-a56ac107"]]),TZe={class:"property-pattern-popup"},EZe=["aria-label"],_Ze=F({__name:"SchemaPropertyPattern",props:{pattern:{}},setup(e){const{copyToClipboard:t}=pu(),{translate:n}=Ot(),r=J(null),a=J(!1),i=()=>{a.value=!a.value},o=()=>{a.value=!1};return Wm(r,o),yv("Escape",()=>{a.value&&o()}),(s,l)=>(y(),w("div",{ref_key:"rootRef",ref:r,class:Oe(["property-pattern",{"is-open":a.value}])},[N(xb,{class:"decoration-dotted",onClick:i},{default:I(()=>[ae(H(b(n)("schema.pattern")),1)]),_:1}),x("div",TZe,[x("button",{class:"property-pattern-value group",type:"button","aria-label":`${b(n)("schema.copyPattern")}: ${e.pattern}`,onClick:l[0]||(l[0]=c=>b(t)(e.pattern))},[x("code",null,H(e.pattern),1),N(b(ua),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,EZe)])],2))}}),CZe=yt(_Ze,[["__scopeId","data-v-34c113d2"]]),$Ze={class:"property-heading [&>.property-detail:has(+.property-detail)]:mr-0"},PZe={key:1,class:"property-discriminator"},IZe={class:"font-code text-c-accent"},RZe={class:"screenreader-only"},NZe={key:0,class:"property-type-signature text-c-2 text-(length:--scalar-mini)"},MZe={key:1,class:"property-type-signature text-c-2 text-(length:--scalar-mini)"},LZe={key:0,class:"screenreader-only"},DZe={key:3,class:"property-additional"},BZe={key:4,class:"property-deprecated"},UZe={key:5,class:"property-const"},jZe={key:7,class:"property-write-only"},FZe={key:8,class:"property-read-only"},QZe={key:9,class:"property-required"},zZe=F({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelLinkOptions:{},modelName:{},propertyNames:{},eventBus:{default:null},keyKind:{},recursiveTo:{}},setup(e){const t=e,{translate:n}=Ot(),r=RI(t,"value"),a=$(()=>{var g,v;if(!r.value)return;const m=r.value;if(m.const!==void 0)return m.const;if(((g=m.enum)==null?void 0:g.length)===1)return m.enum[0];if(sr(m)&&m.items){const k=ht.schema(m.items);if(to(k.const))return k.const;if(((v=k.enum)==null?void 0:v.length)===1)return k.enum[0]}}),i=m=>{const g=[];return I1(m)&&(m.minLength&&g.push({key:"min-length",prefix:`${n("schema.minLength")}: `,value:m.minLength}),m.maxLength&&g.push({key:"max-length",prefix:`${n("schema.maxLength")}: `,value:m.maxLength})),(I1(m)||YA(m))&&m.format&&g.push({key:"format",value:m.format,truncate:!0}),YA(m)&&(to(m.exclusiveMinimum)&&g.push({key:"exclusive-minimum",prefix:`${n("schema.greaterThan")}: `,value:m.exclusiveMinimum}),to(m.minimum)&&g.push({key:"minimum",prefix:`${n("schema.min")}: `,value:m.minimum}),to(m.exclusiveMaximum)&&g.push({key:"exclusive-maximum",prefix:`${n("schema.lessThan")}: `,value:m.exclusiveMaximum}),to(m.maximum)&&g.push({key:"maximum",prefix:`${n("schema.max")}: `,value:m.maximum}),to(m.multipleOf)&&g.push({key:"multiple-of",prefix:`${n("schema.multipleOf")}: `,value:m.multipleOf})),g},o=$(()=>{if(!r.value)return[];const m=r.value,g=[];return sr(m)&&((m.minItems||m.maxItems)&&g.push({key:"array-range",value:`${m.minItems||""}â¦${m.maxItems||""}`}),m.uniqueItems&&g.push({key:"unique-items",value:`${n("schema.unique")}!`}
378)),g.push(...i(m)),sr(m)&&m.items&&g.push(...i(ht.schema(m.items))),g}),s=$(()=>!t.value||t.hideModelNames?null:t.modelName?{schemaKey:t.modelName,label:t.modelName}:Ez(t.value)),l=$(()=>{var m;return Mz((m=s.value)==null?void 0:m.schemaKey,t.modelLinkOptions??{})}),c=$(()=>{var m;return Lqe(t.value,{hideModelNames:t.hideModelNames,modelName:(m=s.value)==null?void 0:m.label})}),u=$(()=>!t.value||!("type"in t.value)?!1:t.value.type==="array"?!0:!a.value),d=$(()=>{const m=t.propertyNames;if(!m)return;const g=[z5(m)];"format"in m&&typeof m.format=="string"&&g.push(m.format);const v=g.filter(Boolean).join(" · ");return v.length>0?v:void 0}),f=$(()=>{if(t.value&&"example"in t.value&&t.value.example!==void 0)return t.value.example;if(t.value&&sr(t.value)){const m=ht.schema(t.value.items);if(m&&"example"in m&&m.example!==void 0)return m.example}}),h=$(()=>{var g;if(f.value!==void 0)return!0;const m=(g=t.value)==null?void 0:g.examples;return!!m&&typeof m=="object"&&Object.keys(m).length>0}),p=$(()=>{const m=r.value;if(m){if(I1(m)&&m.pattern)return m.pattern;if(sr(m)&&m.items){const g=ht.schema(m.items);if(I1(g)&&g.pattern)return g.pattern}}});return(m,g)=>{var v,k,S,A,E,_,C,R,B;return y(),w("div",$Ze,[m.$slots.name?(y(),w("div",{key:0,class:Oe(["property-name",{deprecated:(v=t.value)==null?void 0:v.deprecated}])},[q(m.$slots,"name",{},void 0,!0)],2)):U("",!0),t.isDiscriminator?(y(),w("div",PZe,H(b(n)("schema.discriminator")),1)):U("",!0),t.value?(y(),w(de,{key:2},[t.keyKind?(y(),M(mc,{key:0,class:"property-key-kind"},{default:I(()=>[x("span",IZe,H(t.keyKind==="pattern"?"patternProperty":"additionalProperty"),1)]),_:1})):U("",!0),u.value?(y(),M(mc,{key:1,truncate:""},{default:I(()=>{var L;return[x("span",RZe,H(b(n)("schema.type"))+": ",1),t.eventBus&&((L=s.value)!=null&&L.schemaKey)&&l.value?(y(),w("button",{key:0,class:"text-c-3 hover:text-c-1 underline",type:"button",onClick:g[0]||(g[0]=V=>t.eventBus.emit("scroll-to:model-by-name",{name:s.value.schemaKey}))},[c.value.length?(y(),w("span",NZe,[(y(!0),w(de,null,it(c.value,(V,Q)=>(y(),w(de,{key:Q},[ae(H(Q>0?" ":""),1),x("span",{class:Oe(["property-type-token",[`property-type-token--${V.kind}`,V.kind==="word"?"font-sans":"",V.kind==="ident"||V.kind==="literal"?"font-code":"",V.kind==="punctuation"?"text-c-3":""]])},H(V.text),3)],64))),128))])):U("",!0)])):c.value.length?(y(),w("span",MZe,[(y(!0),w(de,null,it(c.value,(V,Q)=>(y(),w(de,{key:Q},[ae(H(Q>0?" ":""),1),x("span",{class:Oe(["property-type-token",[`property-type-token--${V.kind}`,V.kind==="word"?"font-sans":"",V.kind==="ident"||V.kind==="literal"?"font-code":"",V.kind==="punctuation"?"text-c-3":""]])},H(V.text),3)],64))),128))])):U("",!0)]}),_:1})):U("",!0),t.recursiveTo?(y(),M(mc,{key:2,class:"property-recursive",title:b(n)("schema.recursiveReference",{name:t.recursiveTo})},{default:I(()=>[ae(H(b(n)("schema.recursive")),1)]),_:1},8,["title"])):U("",!0),d.value?(y(),M(mc,{key:3,truncate:""},{prefix:I(()=>[ae(H(b(n)("schema.keys"))+":",1)]),default:I(()=>[ae(" "+H(d.value),1)]),_:1})):U("",!0),(y(!0),w(de,null,it(o.value,L=>(y(),M(mc,{key:L.key,code:L.code,truncate:L.truncate},xr({default:I(()=>[L.key==="format"?(y(),w("span",LZe,H(b(n)("schema.format"))+": ",1)):U("",!0),ae(" "+H(L.value),1)]),_:2},[L.prefix?{name:"prefix",fn:I(()=>[ae(H(L.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),t.enum?(y(),M(mc,{key:4},{default:I(()=>[ae(H(b(n)("schema.enum")),1)]),_:1})):U("",!0)],64)):U("",!0),t.additional?(y(),w("div",DZe,[(k=t.value)!=null&&k["x-additionalPropertiesName"]?(y(),w(de,{key:0},[ae(H(t.value["x-additionalPropertiesName"]),1)],64)):(y(),w(de,{key:1},[ae(H(b(n)("schema.additionalProperties")),1)],64))])):U("",!0),(S=t.value)!=null&&S.deprecated?(y(),w("div",BZe,[N(b(ho),null,{default:I(()=>[ae(H(b(n)("schema.deprecated")),1)]),_:1})])):U("",!0),a.value!==void 0?(y(),w("div",UZe,[N(mc,{truncate:""},{prefix:I(()=>[ae(H(b(n)("schema.const"))+": ",1)]),default:I(()=>[N(iZe,{value:a.value},null,8,["value"])]),_:1})])):(y(),w(de,{key:6},[((A=t.value)==null?void 0:A.nullable)===!0?(y(),M(mc,{key:0},{default:I(()=>[ae(H(b(n)("schema.nullable")),1)]),_:1})):U("",!0)],64)),(E=t.value)!=null&&E.writeOnly?(y(),w("div",jZe,H(b(n)("schema.writeOnly")),1)):(_=t.value)!=null&&_.readOnly?(y(),w("div",FZe,H(b(n)("schema.readOnly")),1)):U("",!0),t.required?(y(),w("div",QZe,H(b(n)("schema.required")),1)):U("",!0),((C=t.value)==null?void 0:C.default)!==void 0?(y(),M(dZe,{key:10,value:(R=t.value)==null?void 0:R.default},null,8,["value"])):U("",!0),p.value?(y(),M(CZe,{key:11,pattern:p.value},null,8,["pattern"])):U("",!0),t.withExamples&&h.value?(y(),M(AZe,{key:12,example:f.value,examples:(B=t.value)==null?void 0:B.examples},null,8,["example","examples"])):U("",!0),q(m.$slots,"preview",{},void 0,!0),q(m.$slots,"trailing",{},void 0,!0)])}}}),HZe=yt(zZe,[["__scopeId","data-v-b0dec6a3"]]),VZe=["id"],qZe={key:0,class:"property-name-pattern-properties text-c-1! border-0! p-0! before:hidden!"},ZZe={key:1,class:"property-name-additional-properties text-c-1! border-0! p-0! before:hidden!"},XZe=["id"],WZe={key:0,class:"property-name-pattern-properties text-c-1! border-0! p-0! before:hidden!"},YZe={key:1,class:"property-name-additional-properties text-c-1! border-0! p-0! before:hidden!"},GZe={key:2,class:"property-description mt-1! has-[+.property-rule]:mb-1.5!"},KZe=["id"],JZe={key:7,class:"children [.property-description+&]:mt-1.5!"},eXe=Object.freeze({}),tXe=F({__name:"SchemaProperty",props:{is:{},schema:{},noncollapsible:{type:Boolean},level:{default:0},depth:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},propertyNamesSchema:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{}},setup(e){const t=["oneOf","anyOf","allOf"],n=e,r=xz(),a=$(()=>I3(E3(Bv(n.schema),r))),i=$(()=>n.breadcrumb?n.name?[...n.breadcrumb,n.name]:n.breadcrumb:void 0),o=$(()=>
378n.compositionPathSegment?[...n.compositionPath??[],n.compositionPathSegment]:n.compositionPath??[]),s=$(()=>[...o.value,"items"]),l=$(()=>n.level<=2),c=$(()=>{var oe;return l.value&&(((oe=i.value)==null?void 0:oe.length)??0)>0}),u=$(()=>{const oe=a.value;if(!oe||!sr(oe)||!ky(oe.items))return oe;const ge=Ty(oe.items.$dynamicRef,r);return ge?{...oe,items:ge}:oe}),d=$(()=>F5(u.value)),f=$(()=>g.value.length>0),h=$(()=>a.value?Uv(a.value,n.options.document):null),p=$(()=>{const oe=a.value;if(!oe||!("properties"in oe||"additionalProperties"in oe)||"allOf"in oe||!(n.schema&&typeof n.schema=="object"&&"allOf"in n.schema)&&h.value)return!1;const ge="type"in oe?oe.type:void 0,Qe=typeof ge=="string"&&ge!=="object";return vi(oe)||!Qe}),m=$(()=>{const oe=a.value;return!oe||!sr(oe)||typeof oe.items!="object"?!1:d.value}),g=$(()=>Iqe(a.value)),v=$(()=>Nqe(a.value)),k=$(()=>Bqe(a.value,n.description)),S=$(()=>{const oe=a.value;if(!oe)return oe;const{oneOf:ge,anyOf:Qe,allOf:Pt,not:Rt,discriminator:Qr,...zr}=oe;if(k.value&&"description"in zr){const{description:Hr,...Vr}=zr;return Vr}return zr}),A=$(()=>Uqe(a.value,n.name,n.required)),E=$(()=>rqe(a.value,n.options.document,h.value)),_=$(()=>{const oe=a.value;if(!oe||typeof oe!="object")return!1;for(const ge in oe)if(ge.startsWith("x-"))return!0;return!1}),C=oe=>{var ge,Qe;return oe==="allOf"?((ge=n.schema)==null?void 0:ge.discriminator)??n.discriminator:(Qe=n.schema)==null?void 0:Qe.discriminator},R=$(()=>{const oe=u.value;if(!oe||!sr(oe)||typeof oe.items!="object")return;const ge=ht.schema(oe.items);return t.some(Qe=>{var Pt;return Array.isArray(ge==null?void 0:ge[Qe])&&((Pt=ge[Qe])==null?void 0:Pt.length)===1})?I3(ge):ge}),B=$(()=>{const oe=a.value;if(!(!oe||!sr(oe)))return xm(oe.items)}),L=$(()=>({compact:n.compact,eventBus:n.eventBus,hideModelNames:n.hideModelNames,level:n.level+1,name:n.name,options:n.options,schemaContext:n.schemaContext})),V=$(()=>p.value?{...L.value,breadcrumb:i.value,compositionPath:o.value,cycleKey:n.cycleKey,schema:S.value}:null),Q=$(()=>m.value&&R.value?{...L.value,compositionPath:s.value,cycleKey:B.value,schema:ht.schema(R.value)}:null),ee=$(()=>V.value??Q.value),ne=$(()=>!V.value&&!!Q.value),G=$(()=>{var oe;return!!(n.name&&((oe=n.discriminator)==null?void 0:oe.propertyName)===n.name)}),{translate:re}=Ot(),Y=$(()=>p.value||m.value),ye=Rn(_3,void 0),Ee=$(()=>ne.value?B.value:n.cycleKey),j=$(()=>Ee.value!=null&&!!(ye!=null&&ye.has(Ee.value))),xe=$(()=>{const oe=Ee.value;if(typeof oe=="string"){const ge=sp(oe);if(ge)return ge}return n.modelName||n.name||re("schema.schema")}),Ie=Ov(),Z=Mt(),rt=$(()=>ph(i.value)||`~anonymous-${Z}`),ie=$(()=>Y.value&&!n.noncollapsible&&A.value&&!j.value),Pe=$(()=>ie.value&&Ie.isExpanded(rt.value,{cyclic:j.value,defaultOpen:!!n.options.expandAllSchemaProperties})),gt=J(!1);ze(Pe,(oe,ge)=>{if(oe){gt.value&&(Ie.untilFound.release(),gt.value=!1);return}ge&&(gt.value=Zt()&&Ie.untilFound.acquire())}),w0(()=>{gt.value&&(Ie.untilFound.release(),gt.value=!1)});const Zt=()=>typeof document<"u"&&"onbeforematch"in document.body,St=$(()=>Pe.value||gt.value),sn=Mt(),Xn=Mt(),Wn=Mt(),ra=ai("treePanel"),vr=ai("treeToggle");let he=null;const Me=()=>{he==null||he.removeAttribute("data-heading-hovered"),he=null},Ge={pointerenter:oe=>{Me();const ge=oe.currentTarget instanceof HTMLElement?oe.currentTarget.parentElement:null;ge&&(ge.setAttribute("data-heading-hovered",""),he=ge)},pointerleave:Me};ze(ie,oe=>{oe||Me()}),Qa(Me),ze(Pe,oe=>{var Qe,Pt;if(oe)return;const ge=(Qe=ra.value)==null?void 0:Qe.$el;ge==null||ge.removeAttribute("data-rail-hovered"),(Pt=ge==null?void 0:ge.parentElement)==null||Pt.removeAttribute("data-child-rail-hovered")});const Et=$(()=>ne.value?R.value:S.value),At=$(()=>Et.value?H5(Et.value,void 0,n.options):[]),Yt=$(()=>{if(!Y.value)return null;const oe=Et.value;if(!oe)return null;const ge=n.options.hideReadOnly||n.options.hideWriteOnly?At.value.length:vi(oe)&&oe.properties?Object.keys(oe.properties).length:0,Qe="patternProperties"in oe&&oe.patternProperties?Object.keys(oe.patternProperties).length:0,Pt="additionalProperties"in oe&&oe.additionalProperties?1:0,Rt=ge+Qe+Pt;return Rt===0?null:re("schema.propertyCount",{count:String(Rt)})}),ln=$(()=>Iz(a.value,{hideModelNames:n.hideModelNames})),Or=$(()=>n.modelName||re("schema.schema")),Yn=()=>{var ge,Qe;const oe=!Pe.value;if(!oe){const Pt=document.activeElement,Rt=vr.value instanceof HTMLElement?vr.value:(ge=vr.value)==null?void 0:ge.$el;Pt&&((Qe=ra.value)!=null&&Qe.$el.contains(Pt))&&(Rt==null||Rt.focus())}Ie.setExpanded(rt.value,oe)},ui=oe=>{var Qe;if(!ie.value)return;const ge=oe.target;ge instanceof Element&&ge.closest('a, button, [role="button"], input, select, label')||(Qe=window.getSelection())!=null&&Qe.toString()||Yn()},di=()=>{Ie.setExpanded(rt.value,!0)};return(oe,ge)=>{var Qe;return y(),M(Wt(e.is??"li"),{class:Oe(["property",[`property--level-${e.level}
378`,{"property--compact":e.compact,"property--deprecated":(Qe=a.value)==null?void 0:Qe.deprecated},"property--tree grid! grid-cols-[minmax(0,1fr)] border-b-0! px-0! py-[var(--schema-row-pad,6px)]!",{"property--tree-container":!ie.value&&!j.value&&(Y.value||!A.value)},`property--depth-${e.depth}`]])},{default:I(()=>{var Pt;return[ie.value?(y(),M(Nz,{key:0,ref:"treeToggle",class:"absolute start-[calc(0px_-_var(--schema-toggle-half,12px)_-_var(--schema-gutter,16px))] top-2.5 z-[1] col-start-1 row-start-1 -translate-y-1/2 print:hidden",countId:Yt.value?b(Wn):void 0,fallbackLabel:Or.value,nameId:e.name?b(Xn):void 0,open:Pe.value,panelId:b(sn),panelRendered:St.value,onToggle:Yn},null,8,["countId","fallbackLabel","nameId","open","panelId","panelRendered"])):U("",!0),A.value?(y(),M(HZe,Te({key:1,class:["group",[{"cursor-pointer":ie.value},"relative row-start-1 min-h-5 content-center [&>*:has(+.copy-link-trailing)]:me-0!"]]},Gg(ie.value?Ge:b(eXe)),{onClick:ui,enum:f.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,isDiscriminator:G.value,modelLinkOptions:{hideModels:e.options.hideModels,document:e.options.document},modelName:e.modelName,propertyNames:e.propertyNamesSchema,recursiveTo:j.value?xe.value:void 0,required:e.required,keyKind:e.variant==="additionalProperties"?"additional":e.variant==="patternProperties"?"pattern":void 0,value:a.value}),xr({_:2},[e.name?{name:"name",fn:I(()=>[c.value?(y(),M(b(WVe),{key:0,breadcrumb:i.value},{default:I(()=>[x("span",{id:b(Xn)},[e.variant==="patternProperties"?(y(),w("span",qZe,[N(b(is),{preset:"property",text:e.name},null,8,["text"])])):e.variant==="additionalProperties"?(y(),w("span",ZZe,[N(b(is),{preset:"property",text:e.name},null,8,["text"])])):(y(),M(b(is),{key:2,preset:"property",text:e.name},null,8,["text"]))],8,VZe)]),_:1},8,["breadcrumb"])):(y(),w("span",{key:1,id:b(Xn)},[e.variant==="patternProperties"?(y(),w("span",WZe,[N(b(is),{preset:"property",text:e.name},null,8,["text"])])):e.variant==="additionalProperties"?(y(),w("span",YZe,[N(b(is),{preset:"property",text:e.name},null,8,["text"])])):(y(),M(b(is),{key:2,preset:"property",text:e.name},null,8,["text"]))],8,XZe))]),key:"0"}:void 0,((Pt=a.value)==null?void 0:Pt.example)!==void 0?{name:"example",fn:I(()=>[ae(" Example: "+H(a.value.example),1)]),key:"1"}:void 0,ie.value&&!Pe.value?{name:"preview",fn:I(()=>[N(Qqe,{"aria-hidden":"true",class:"mr-0!",propertyNames:At.value,schema:Et.value},null,8,["propertyNames","schema"])]),key:"2"}:void 0,e.name&&l.value&&i.value?{name:"trailing",fn:I(()=>[N(b(qVe),{anchorId:i.value.join("."),eventBus:e.eventBus},null,8,["anchorId","eventBus"])]),key:"3"}:void 0]),1040,["class","enum","eventBus","hideModelNames","isDiscriminator","modelLinkOptions","modelName","propertyNames","recursiveTo","required","keyKind","value"])):U("",!0),k.value||v.value?(y(),w("div",GZe,[N(b(Jr),{value:k.value||v.value||""},null,8,["value"])])):U("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(y(),M(t7,{key:3,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):U("",!0),g.value.length>0&&!m.value&&!ln.value?(y(),M(t7,{key:4,value:a.value},null,8,["value"])):U("",!0),ie.value&&Yt.value?(y(),w("span",{key:5,id:b(Wn),class:"screenreader-only"},H(Yt.value),9,KZe)):U("",!0),ie.value&&St.value?(y(),M(jv,{key:6,id:b(sn),ref:"treePanel",class:"property-children mt-1.5 mb-0.5 [&_.schema-card]:mb-0! [&_.schema-card]:pb-0! [&_.schema-properties]:mb-0! [&_.schema-properties]:pb-0! [&_ul]:my-0! [&_ul]:py-0! [&[hidden=until-found]]:my-0 [&[hidden=until-found]]:border-s-0 [&[hidden]:not([hidden=until-found])]:hidden",closeOnRail:"",depth:e.depth+1,hidden:Pe.value?void 0:"until-found",onBeforematch:di,onClose:Yn},{default:I(()=>[ee.value?(y(),M(ul,Te({key:0},ee.value,{depth:e.depth+1,noncollapsible:""}),null,16,["depth"])):U("",!0)]),_:1},8,["id","depth","hidden"])):U("",!0),Y.value&&!j.value&&!ie.value?(y(),w("div",JZe,[ee.value?(y(),M(ul,Te({key:0},ee.value,{depth:e.depth,noncollapsible:""}),null,16,["depth"])):U("",!0)])):U("",!0),(y(!0),w(de,null,it(E.value,Rt=>(y(),M(Cz,{key:Rt.composition,breadcrumb:i.value,compact:e.compact,composition:Rt.composition,compositionPath:o.value,depth:e.depth,discriminator:C(Rt.composition),eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:Rt.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","depth","discriminator","eventBus","hideHeading","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"]))),128)),_.value?(y(),M(b(Oh),{key:8,value:a.value},null,8,["value"])):U("",!0)]}),_:1},8,["class"])}}}),Bc=yt(tXe,[["__scopeId","data-v-454e7aa6"]]),nXe={key:0,class:"schema-type"},rXe=["title"],aXe=F({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){const{translate:t}=Ot(),n=$(()=>"type"in e.value?e.value.type:e.value.enum?"enum":sr(e.value)&&e.value.items?"array":vi(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(r,a)=>typeof e.value=="object"?(y(),w("span",nXe,[x("span",{class:"schema-type-icon",title:"type"in e.value&&typeof e.value.type=="string"?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):b(t)("schema.unknownType")},[b(vi)(e.value)?(y(),w(de,{key:0},[ae(" {} ")],64)):U("",!0),b(sr)(e.value)?(y(),w(de,{key:1},[ae(" [] ")],64)):U("",!0),e.value.enum?(y(),w(de,{key:2},[ae(" enum ")],64)):U("",!0)],8,rXe),e.name?(y(),M(b(is),{key:0,preset
378:"property",text:e.name},null,8,["text"])):(y(),w(de,{key:1},[ae(H(n.value),1)],64))])):U("",!0)}}),Lz=yt(aXe,[["__scopeId","data-v-6db6aa51"]]),iXe={key:0,class:"properties"},oXe={key:1},sXe=F({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){const{level:t}=ci("model");return(n,r)=>(y(),M(b(j5),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||(r[1]=a=>{var i;return(i=e.eventBus)==null?void 0:i.emit("toggle:nav-item",{id:e.id,open:a})})},{title:I(()=>[N(b(bl),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:r[0]||(r[0]=()=>{var a;return(a=e.eventBus)==null?void 0:a.emit("copy-url:nav-item",{id:e.id})})},{default:I(()=>[N(b(ja),{level:b(t)},{default:I(()=>[N(b(Lz),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),_:1},8,["eventBus"])]),default:I(()=>["properties"in e.schema?(y(),w("div",iXe,[(y(!0),w(de,null,it(Object.entries(e.schema.properties??{}),([a,i])=>{var o;return y(),M(b(Bc),{key:a,breadcrumb:[e.id],eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:a,options:{...e.options,document:e.document},required:(o=e.schema.required)==null?void 0:o.includes(a),schema:b(ht).schema(i)},null,8,["breadcrumb","eventBus","hideModelNames","name","options","required","schema"])}),128))])):(y(),w("div",oXe,[N(b(Bc),{breadcrumb:[e.id],eventBus:e.eventBus,hideModelNames:e.options.hideModels,options:{...e.options,document:e.document},schema:e.schema},null,8,["breadcrumb","eventBus","hideModelNames","options","schema"])]))]),_:1},8,["aria-label","modelValue"]))}}),lXe=yt(sXe,[["__scopeId","data-v-96f8555d"]]),cXe=["aria-label"],uXe=["id","aria-controls","aria-expanded","aria-labelledby"],dXe=["id"],fXe=F({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){const n=t,r=$(()=>`${e.id}-content`),a=Mt();return(i,o)=>(y(),w("section",{"aria-label":e.label,class:"collapsible-section"},[x("div",{class:Oe(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}])},[N(b(bl),{class:"collapsible-section-header",onCopyAnchorUrl:o[1]||(o[1]=()=>n("copyAnchorUrl"))},{default:I(()=>[x("button",{id:e.id,"aria-controls":e.modelValue?r.value:void 0,"aria-expanded":e.modelValue,"aria-labelledby":b(a),class:"collapsible-section-toggle -my-2.5 inline cursor-pointer py-2.5 text-start text-inherit [font:inherit]",type:"button",onClick:o[0]||(o[0]=s=>n("update:modelValue",!e.modelValue))},[N(b(Z0),{class:Oe(["top-1/2 size-3 -translate-y-1/2 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),x("span",{id:b(a),class:"contents"},[q(i.$slots,"heading",{},void 0,!0)],8,dXe)],8,uXe)]),_:3})],2),e.modelValue?(y(),M(op,{key:0,id:r.value,class:"collapsible-section-content",label:e.label},{default:I(()=>[q(i.$slots,"default",{},void 0,!0)]),_:3},8,["id","label"])):U("",!0)],8,cXe))}}),hXe=yt(fXe,[["__scopeId","data-v-9d5fc508"]]),pXe=F({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){const{level:t}=ci("model");return(n,r)=>(y(),M(b(hXe),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:r[0]||(r[0]=()=>{var a;return(a=e.eventBus)==null?void 0:a.emit("copy-url:nav-item",{id:e.id})}),"onUpdate:modelValue":r[1]||(r[1]=a=>{var i;return(i=e.eventBus)==null?void 0:i.emit("toggle:nav-item",{id:e.id,open:a})})},{heading:I(()=>[N(b(ja),{level:b(t)},{default:I(()=>[N(b(Lz),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),default:I(()=>[N(b(ps),null,{default:I(()=>[N(b(ul),{breadcrumb:[e.id],eventBus:e.eventBus,hideModelNames:e.options.hideModels,hideHeading:"",level:1,noncollapsible:"",options:{...e.options,document:e.document},schema:e.schema},null,8,["breadcrumb","eventBus","hideModelNames","options","schema"])]),_:1})]),_:1},8,["id","label","modelValue"]))}}),mXe=pXe,gXe=F({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{}},setup(e){const t=ai("section");return Dd(t,()=>{var n;return(n=e.eventBus)==null?void 0:n.emit("intersecting:nav-item",{id:e.id})}),(n,r)=>e.schema?(y(),w("div",{key:0,ref_key:"section",ref:t},[e.options.layout==="classic"?(y(),M(lXe,{key:0,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):(y(),M(mXe,{key:1,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"]))],512)):U("",!0)}}),Dz=gXe,bXe={class:"section-accordion-wrapper"},yXe={class:"section-accordion-title"},vXe=F({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t;return(r,a)=>(y(),w("section",bXe,[N(b(k0),{as:"div",class:"section-accordion"},{default:I(()=>[N(b(Gf),{class:"section-accordion-button",onClick:a[0]||(a[0]=i=>n("update:modelValue",!e.modelValue))},{default:I(()=>[N(b(Z0),{class:Oe(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),x("div",yXe,[q(r.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?(y(),M(b(Kf),{key:0,class:"section-accordion-content",static:""},{default:I(()=>[q(r.$slots,"default",{},void 0,!0)]),_:3})):U("",!0)]),_:3})]))}}),V5=yt(vXe,[["__scopeId","data-v-9419dd23"]]),OXe={class:"show-more",type:"button"},SXe=F({__name:"ShowMoreButton",setup(e){const{translate:t}=Ot();return(n,r)=>(y(),w("button",OXe,[ae(H(b(t)("actions.showMore"))+" ",1),N(b(Xo),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}}),Bz=yt(SXe,[["__scopeId","data-v-bb0811ed"]]),wXe=F({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>Mi}},setup(e){const{level:t}=ci("modelGroup");return(n,r)=>e.layout==="modern"?(y(),M(f1,{key:0},{default:I(()=>[N(b(op),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:r[1]||(r[1]=()=>{var a;return(a=e.eventBus)==null?void 0:a.emit("intersecting:nav-item",{id:e.id})})},{default:I(()=>[N(b(md),null,{default:I(()=>[N(ja,{level:b(t)},{default:I(()=>[ae(H(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1}),e.isCollapsed?(y(),M(Bz,{key:1,id:e.id,class:"top-0",onClick:r[0]||(r[0]=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0}))},null,8,["id"])):q(n.$slots,"default",{},void 0,void 0,0)]),_:3},8,["id","aria-label"])]),_:3})):(y(),M(V5,{key:1,"aria-label":e.modelsSectionLabel,class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":r[2]||(r[2]=()=>{var a;return(a=e.eventBus)==null?void 0:a.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed})})},{title:I(()=>[N(b(md),null,{default:I(()=>[N(ja,{level:b(t)},{default:I(()=>[ae(H(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1})]),default:I(()=>[q(n.$slots,"default")]),_:3},8,["aria-label","modelValue"]))}}),Uz=wXe,xXe=F({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){const{level:t}=ci("tag");return(n,r)=>(y(),M(b(V5),{"aria-label":e.tag.title,class:Oe(["tag-section",{"tag-section-group":e.tag.isGroup,"tag-section-nested":e.nested}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||(r[1]=a=>{var i;return(i=e.eventBus)==null?void 0:i.emit("toggle:nav-item",{id:e.tag.id,open:a})})},{title:I(()=>{var a;return[N(b(md),{class:Oe(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:I(()=>[N(b(bl),{onCopyAnchorUrl:r[0]||(r[0]=()=>{var i;return(i=e.eventBus)==null?void 0:i.emit("copy-url:nav-item",{id:e.tag.id})})},{default:I(()=>[N(b(ja),{level:b(t)},{default:I(()=>
378[ae(H(e.tag.title),1)]),_:1},8,["level"])]),_:1})]),_:1},8,["class"]),N(b(Jr),{class:"tag-description",value:(a=e.tag)==null?void 0:a.description,withImages:""},null,8,["value"])]}),default:I(()=>[q(n.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}}),kXe=yt(xXe,[["__scopeId","data-v-fafcaa8a"]]),AXe=["aria-label"],TXe=["onClick"],EXe=F({__name:"ChannelsList",props:{tag:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=$(()=>{var r;return((r=e.tag.children)==null?void 0:r.filter(a=>a.type==="asyncapi-channel"))??[]});return(r,a)=>n.value.length?(y(),M(b(gh),{key:0,class:"channels-card"},{default:I(()=>[N(b(u1),{muted:""},{default:I(()=>[N(yu,null,{default:I(()=>[ae(H(e.tag.title),1)]),_:1}),ae(" "+H(b(t)("navigation.channels")),1)]),_:1}),N(b(Hc),{class:"custom-scroll max-h-[60vh]"},{default:I(()=>[x("ul",{"aria-label":b(t)("navigation.channels"),class:"channels"},[(y(!0),w(de,null,it(n.value,i=>(y(),w("li",{key:i.id,class:"contents"},[x("a",{class:"channel",onClick:Qt(()=>{var o;return(o=e.eventBus)==null?void 0:o.emit("scroll-to:nav-item",{id:i.id})},["prevent"])},H(i.title||i.channelAddress),9,TXe)]))),128))],8,AXe)]),_:1})]),_:1})):U("",!0)}}),_Xe=yt(EXe,[["__scopeId","data-v-817abeb3"]]),CXe=F({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){const t=e,n=$(()=>q0(String(t.method||""))),r=$(()=>N6(t.method));return(a,i)=>(y(),M(Wt(e.as??"span"),{class:"uppercase",style:Pr({[e.property||"color"]:n.value.colorVar})},{default:I(()=>[q(a.$slots,"default"),ae(" "+H(e.short?n.value.short:r.value),1)]),_:3},8,["style"]))}}),q5=CXe,$Xe=F({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){const t=$(()=>"path"in e.operation?e.operation.path:e.operation.title),n=a=>a.type==="webhook",{level:r}=ci("operation");return(a,i)=>(y(),w("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?(y(),M(b(ja),{key:0,class:"sr-only",level:b(r)},{default:I(()=>[ae(H(e.operation.title)+" (Hidden) ",1)]),_:1},8,["level"])):U("",!0),x("a",{class:"endpoint",onClick:i[0]||(i[0]=Qt(()=>{var o;return(o=e.eventBus)==null?void 0:o.emit("scroll-to:nav-item",{id:e.operation.id})},["prevent"]))},[N(b(q5),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:I(()=>[n(e.operation)?(y(),M(b(W0),{key:0,class:"size-3.5",style:Pr({color:b(q0)(e.operation.method).colorVar})},null,8,["style"])):U("",!0)]),_:1},8,["method"]),x("span",{class:Oe(["endpoint-path",{deprecated:e.operation.isDeprecated}])},H(t.value),3)])]))}}),PXe=yt($Xe,[["__scopeId","data-v-d54500d7"]]),IXe=["aria-label"],RXe=F({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){const{translate:t}=Ot(),n=$(()=>{var r;return((r=e.tag.children)==null?void 0:r.filter(a=>a.type==="operation"||a.type==="webhook"))??[]});return(r,a)=>{var i;return e.tag.children&&((i=e.tag.children)==null?void 0:i.length)>0?(y(),M(b(gh),{key:0,class:"endpoints-card"},{default:I(()=>[N(b(u1),{muted:""},{default:I(()=>[N(yu,null,{default:I(()=>[ae(H(e.tag.title),1)]),_:1}),ae(" "+H(e.tag.isWebhooks?b(t)("navigation.webhooks"):b(t)("navigation.operations")),1)]),_:1}),N(b(Hc),{class:"custom-scroll max-h-[60vh]"},{default:I(()=>[x("ul",{"aria-label":b(t)("navigation.endpoints",{name:e.tag.title}),class:"endpoints"},[(y(!0),w(de,null,it(n.value,o=>(y(),M(PXe,{key:o.id,eventBus:e.eventBus,operation:o},null,8,["eventBus","operation"]))),128))],8,IXe)]),_:1})]),_:1})):U("",!0)}}}),NXe=yt(RXe,[["__scopeId","data-v-0315c99b"]]),MXe=F({__name:"TagSection",props:{tag:{},headingLevel:{default:1},headerId:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){const{translate:t}=Ot(),n=$(()=>{var r;return((r=e.tag.children)==null?void 0:r.some(a=>a.type==="asyncapi-channel"))??!1});return(r,a)=>e.tag?(y(),M(b(op),{key:0,id:e.tag.id,role:"none",onIntersecting:a[1]||(a[1]=()=>{var i;return(i=e.eventBus)==null?void 0:i.emit("intersecting:nav-item",{id:e.tag.id})})},{default:I(()=>[N(b(md),null,{default:I(()=>[N(b(bl),{onCopyAnchorUrl:a[0]||(a[0]=()=>{var i;return(i=e.eventBus)==null?void 0:i.emit("copy-url:nav-item",{id:e.tag.id})})},{default:I(()=>[N(b(ja),{id:e.headerId,level:e.headingLevel},{default:I(()=>
378[ae(H(e.tag.title)+" ",1),e.isCollapsed?(y(),M(yu,{key:0},{default:I(()=>[ae(" ("+H(b(t)("navigation.collapsed"))+") ",1)]),_:1})):U("",!0)]),_:1},8,["id","level"])]),_:1})]),_:1}),N(b(Dv),null,{default:I(()=>[N(b(D5),null,{default:I(()=>[N(b(vh),null,{default:I(()=>{var i;return[N(b(Jr),{clamp:e.isCollapsed?7:void 0,value:((i=e.tag)==null?void 0:i.description)??"",withImages:""},null,8,["clamp","value"])]}),_:1}),N(b(vh),null,{default:I(()=>[n.value?(y(),M(_Xe,{key:0,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])):(y(),M(b(NXe),{key:1,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"]))]),_:1})]),_:1})]),_:1}),N(b(Oh),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):U("",!0)}}),LXe=MXe,DXe={key:2,class:"contents divide-y"},BXe=F({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean,default:!1}},setup(e){const{translate:t}=Ot(),n=Mt(),r=$(()=>{var u,d;return e.moreThanOneTag||((u=e.tag)==null?void 0:u.title)!=="default"||((d=e.tag)==null?void 0:d.description)!==""}),a=$(()=>{var u,d;return(((d=(u=e.tag)==null?void 0:u.children)==null?void 0:d.length)??0)>0}),i=$(()=>e.moreThanOneTag||e.nested),o=$(()=>e.isCollapsed&&i.value),s=$(()=>o.value&&a.value),l=$(()=>s.value&&!e.nested),{level:c}=ci("tag");return(u,d)=>(y(),M(b(f1),{"aria-labelledby":b(n),class:Oe(["tag-section-container",{"tag-section-collapsed":l.value,"tag-section-nested":e.nested}]),role:"region"},{default:I(()=>[r.value?(y(),M(LXe,{key:0,headingLevel:b(c),eventBus:e.eventBus,headerId:b(n),isCollapsed:e.isCollapsed,tag:e.tag},null,8,["headingLevel","eventBus","headerId","isCollapsed","tag"])):U("",!0),s.value?(y(),M(Bz,{key:1,id:e.tag.id,"aria-label":b(t)("navigation.showAllEndpoints",{name:e.tag.title}),onClick:d[0]||(d[0]=()=>{var f;return(f=e.eventBus)==null?void 0:f.emit("toggle:nav-item",{id:e.tag.id,open:!0})})},null,8,["id","aria-label"])):U("",!0),o.value?U("",!0):(y(),w("div",DXe,[q(u.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby","class"]))}}),UXe=yt(BXe,[["__scopeId","data-v-b6a490f4"]]),jXe=F({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){return(t,n)=>e.layout==="classic"?(y(),M(kXe,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,nested:e.nested,tag:e.tag},{default:I(()=>[q(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","nested","tag"])):(y(),M(UXe,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,moreThanOneTag:e.moreThanOneTag,nested:e.nested,tag:e.tag},{default:I(()=>[q(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"]))}}),jz=jXe,FXe=["id","data-placeholder"],QXe=760,zXe=1200,HXe=F({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){const t=`${zXe}px 0px`,{isReady:n}=JTe(e.id),r=J(null),a=J(ZTe(e.id)??QXe);let i=null;const o=$(()=>n.value||e.expanded);return Lt(()=>{if(!(typeof window>"u")){if(!("IntersectionObserver"in window)){UE(e.id,!0);return}BU(r,([s])=>{s!=null&&s.isIntersecting&&!n.value&&UE(e.id,!0)},{rootMargin:t})}}),ze(()=>o.value,(s,l)=>{if(l&&!s&&r.value){const c=r.value.offsetHeight;Number.isFinite(c)&&c>0&&(a.value=c,e4(e.id,c))}},{flush:"pre"}),ze(()=>o.value,s=>{if(!s){i==null||i.disconnect(),i=null;return}In(()=>{if(!r.value||typeof ResizeObserver>"u")return;i||(i=new ResizeObserver(()=>{if(!r.value)return;const c=r.value.offsetHeight;Number.isFinite(c)&&c>0&&(a.value=c,e4(e.id,c))})),i.observe(r.value);const l=r.value.offsetHeight;Number.isFinite(l)&&l>0&&(a.value=l,e4(e.id,l))})},{immediate:!0}),Qa(()=>{i==null||i.disconnect()}),(s,l)=>(y(),w("div",{id:o.value?void 0:e.id,ref_key:"lazyContainerRef",ref:r,"data-placeholder":!o.value,"data-testid":"lazy-container",style:Pr({height:o.value?void 0:`${a.value}px`})},[o.value?q(s.$slots,"default",{},void 0,void 0,0):U("",!0)],12,FXe))}}),Fz=HXe,VXe=["aria-label"],qXe=F({inheritAttrs:!1,__name:"ContentTypeSelect",props:Cn({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{translate:t}=Ot(),n=Tn(e,"modelValue"),r=$(()=>Object.keys(e.content??{})),a=$({get:()=>i.value.find(s=>
378s.id===n.value),set:s=>{s&&(n.value=s.id)}}),i=$(()=>r.value.map(s=>({id:s,label:s}))),o=Ur({base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",variants:{dropdown:{true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}});return(s,l)=>r.value.length>1?(y(),M(b(fu),{key:0,modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=c=>a.value=c),options:i.value,placement:"bottom-end",teleport:"",onClick:l[2]||(l[2]=Qt(()=>{},["stop"]))},{default:I(({open:c})=>[N(b(zn),Te({class:["h-fit",b(o)({dropdown:!0})],variant:"ghost"},s.$attrs,{onClick:l[0]||(l[0]=Qt(()=>{},["stop"]))}),{default:I(()=>[N(yu,null,{default:I(()=>[ae(H(b(t)("operation.selectedContentType"))+": ",1)]),_:1}),x("span",null,H(n.value),1),N(b(Xo),{class:Oe(["size-2.75 transition-transform duration-100",{"rotate-180":c}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):(y(),w("div",Te({key:1,"aria-label":b(t)("operation.selectedContentType"),class:["selected-content-type",b(o)({dropdown:!1})],role:"group"},s.$attrs,{tabindex:"0"}),[x("span",null,H(n.value),1)],16,VXe))}}),Qz=qXe,ZXe=F({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean},schemaKeyboardNav:{type:Boolean},hideModels:{type:Boolean}},setup(e){return(t,n)=>"schema"in e.header&&e.header.schema?(y(),M(Bc,{key:0,breadcrumb:e.breadcrumb,description:e.header.description,eventBus:e.eventBus,name:e.name,options:{orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties,schemaKeyboardNav:e.schemaKeyboardNav,hideModels:e.hideModels,document:e.document},schema:b(Se)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):U("",!0)}}),XXe=ZXe,WXe=["id"],YXe=["id"],GXe={role:"list"},KXe=F({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean},schemaKeyboardNav:{type:Boolean},hideModels:{type:Boolean}},setup(e){const{translate:t}=Ot(),n=$(()=>Object.fromEntries(Object.entries(e.headers).flatMap(([h,p])=>{const m=Se(p);return m?[[h,m]]:[]}))),r=h=>{e.schemaKeyboardNav&&_z(h)},a=Ov(),i=Mt(),o=$(()=>e.breadcrumb?[...e.breadcrumb,"headers"]:void 0),s=$(()=>(e.breadcrumb?ph([...e.breadcrumb,"~headers"]):"")||`~anonymous-${i}`),l=$(()=>a.isExpanded(s.value,{defaultOpen:!!e.expandAllSchemaProperties,anchorPath:ph(o.value)})),c=Mt(),u=Mt(),d=Mt(),f=$(()=>t("schema.headerCount",{count:String(Object.keys(n.value).length)}));return(h,p)=>(y(),w("div",{class:"property property--tree headers-tree-group relative mt-1.5 py-1.5",onKeydown:r},[N(Nz,{class:"absolute start-[calc(0px_-_var(--schema-toggle-half,12px)_-_var(--schema-gutter,16px))] top-[calc(6px_+_0.5lh)] z-[1] -translate-y-1/2",countId:b(d),fallbackLabel:b(t)("operation.headers"),nameId:b(u),open:l.value,panelId:b(c),panelRendered:l.value,onToggle:p[0]||(p[0]=m=>b(a).setExpanded(s.value,!l.value))},null,8,["countId","fallbackLabel","nameId","open","panelId","panelRendered"]),x("div",{class:"property-heading cursor-pointer",onClick:p[1]||(p[1]=m=>b(a).setExpanded(s.value,!l.value))},[x("span",{id:b(u),class:"property-name font-code text-sm [font-weight:var(--scalar-bold)]"},H(b(t)("operation.headers")),9,WXe)]),x("span",{id:b(d),class:"screenreader-only"},H(f.value),9,YXe),l.value?(y(),M(jv,{key:0,id:b(c),class:"property-children mt-1.5 mb-0.5",closeOnRail:"",depth:2,onClose:p[2]||(p[2]=m=>b(a).setExpanded(s.value,!1))},{default:I(()=>[x("ul",GXe,[(y(!0),w(de,null,it(n.value,(m,g)=>(y(),M(XXe,{key:g,breadcrumb:o.value,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.expandAllSchemaProperties,header:m,hideModels:e.hideModels,name:g,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,schemaKeyboardNav:e.schemaKeyboardNav},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","header","hideModels","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy","schemaKeyboardNav"]))),128))])]),_:1},8,["id"])):U("",!0)],32))}}),JXe=KXe,n7=e=>e!==void 0,eWe=({parameter:e,schemaExamples:t,contentExamples:n})=>{const r="examples"in e&&Ht(e.examples)?e.examples:{},a=Object.values({...r,...Ht(n)?n:{}}).filter(n7),i=a.length===0&&"example"in e&&e.example!==void 0?[e.example]:[],o=(t??i).filter(n7);return[...a,...o]},tWe={class:"parameter-item group/parameter-item parameter-item--tree border-t-0!"},nWe={class:"parameter-item-name min-w-0"},rWe={key:1,class:"flex-1"},aWe=F({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},emits:["update:selectedContentType"],setup(e,{emit:t}){const n=t,r=J(!1),a=$(()=>"schema"in e.parameter&&e.parameter.schema?Se(e.parameter.schema)??null:null),i=$(()=>!("content"in e.parameter)||!e.parameter.content||Object.keys(e.parameter.content).length===0?null:e.parameter.content),o=J(Object.keys(i.value||{})[0]??"");ze(o,A=>{n("update:selectedContentType",A)});const s=$(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),l=$(()=>{var A,E;return i.value?(E=(A=i.value)==null?void 0:A[o.value])==null?void 0:E.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null}),c=$(()=>{const A=l.value;return A&&"$ref"in A?sp(A.$ref):null}),u=$(()=>{var R,B,L,V;const A=l.value,E=i.value?Se(A):a.value,_="deprecated"in e.parameter?e.parameter.deprecated:(R=a.value)==null?void 0:R.deprecated,C=eWe({parameter:e.parameter,schemaExamples:(B=a.value)==null?void 0:B.examples,contentExamples:(V=(L=i.value)==null?void 0:L[o.value])==null?void 0:V.examples});return{...E,deprecated:_,examples:C}}),d=["allOf","oneOf","anyOf","not"],f=A=>{if(!A||typeof A!="object")return!1;const E=I3(A)??A;return!!(("properties"in E||"additionalProperties"in E)&&(E.properties||E.patternProperties||E.additionalProperties)||d.some(_=>{const C=E[_];return Array.isArray(C)?C.length>0:!!C})||F5(E))},h=$(()=>!!(i.value||s.value||f(u.value)||r.value)),p=$(()=>!!e.collapsableItems&&!h.value),m=$(()=>!!e.collapsableItems&&h.value),g=$(()=>e.collapsableItems&&!p.value&&e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),v=$(()=>e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),k=$(()=>{var A;return e5((A=g.value)==null?void 0:A.join("."))}),S=$(()=>{var A;return e.collapsableItems&&!p.value?(A=g.value)==null?void 0:A.join("."):void 0});return(A,E)=>(y(),w("li",tWe,[N(b(k0),{defaultOpen:k.value},{default:I(({open:_,close:C})=>[e.collapsableItems&&!p.value?(y(),M(Wt(h.value?b(Gf):"div"),{key:0,id:S.value,class:Oe(["parameter-item-trigger group/trigger group/tree-control scroll-mt-24 focus-visible:rounded-(--scalar-radius) focus-visible:outline-(length:--scalar-border-width) focus-visible:outline-offset-2 focus-visible:outline-(--scalar-color-accent)",{"parameter-item-trigger-open":_}])},{default:I(()=>[x("div",nWe,[h.value?(y(),M(gd,{key:0,anchor:"line",class:"parameter-item-glyph",open:_}
378,null,8,["open"])):U("",!0),x("div",null,[N(b(is),{preset:"property",text:e.name},null,8,["text"])])]),!_&&e.parameter.description?(y(),M(b(h3),{key:0,truncated:r.value,"onUpdate:truncated":E[0]||(E[0]=R=>r.value=R),class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):(y(),w("div",rWe))]),_:2},1032,["id","class"])):U("",!0),(y(),M(Wt(m.value?jv:b(Kf)),Te(m.value?{as:b(Kf),depth:1,closeOnRail:!0,onClose:C}:{},{class:["parameter-item-container parameter-item-container-markdown",{"parameter-item-container--tree mt-1.5 mb-0.5 ps-[var(--schema-gutter,16px)]!":m.value,"parameter-item-container--static-tree":p.value}],static:!e.collapsableItems||p.value}),{default:I(()=>[e.collapsableItems&&!p.value&&e.parameter.description?(y(),M(b(Jr),{key:0,class:Oe(["parameter-item-description",{"mt-0!":m.value}]),value:e.parameter.description},null,8,["class","value"])):U("",!0),N(Bc,{is:"div",breadcrumb:g.value,compact:"",description:e.collapsableItems&&!p.value?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:c.value,name:e.collapsableItems&&!p.value?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,hideModels:e.options.hideModels,document:e.document},required:"required"in e.parameter&&e.parameter.required,schema:u.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"]),s.value?(y(),M(JXe,{key:1,breadcrumb:v.value,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,headers:s.value,hideModels:e.options.hideModels,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,schemaKeyboardNav:e.options.schemaKeyboardNav},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","headers","hideModels","orderRequiredPropertiesFirst","orderSchemaPropertiesBy","schemaKeyboardNav"])):U("",!0)]),_:1},16,["class","static"])),h.value&&i.value?(y(),w("div",{key:1,class:Oe(["absolute top-[calc(10px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center text-base",{"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!_}])},[E[2]||(E[2]=x("div",{class:"from-b-1 absolute inset-y-0 -left-6 -z-1 w-8 bg-linear-to-l from-40% to-transparent"},null,-1)),N(Qz,{modelValue:o.value,"onUpdate:modelValue":E[1]||(E[1]=R=>o.value=R),content:i.value},null,8,["modelValue","content"])],2)):U("",!0)]),_:1},8,["defaultOpen"])]))}}),zz=yt(aWe,[["__scopeId","data-v-686e5d4a"]]),iWe={key:0,class:"mt-6"},oWe=["aria-labelledby"],sWe=F({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){const t=Mt(),{level:n}=ci("operationSection");return(r,a)=>{var i;return(i=e.parameters)!=null&&i.length?(y(),w("div",iWe,[N(b(ja),{id:b(t),class:"text-c-1 parameter-list-title--tree mt-3 mb-1.5 block! text-lg leading-[1.45] font-medium",level:b(n),rule:""},{default:I(()=>[q(r.$slots,"title")]),_:3},8,["id","level"]),x("ul",{"aria-labelledby":b(t),class:"mb-3 list-none p-0 text-sm",role:"list"},[(y(!0),w(de,null,it(e.parameters,o=>(y(),M(zz,{key:o.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:o.name,options:e.options,parameter:o},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))],8,oWe)])):U("",!0)}}}),Af=sWe,lWe={key:0,class:"async-api-labels"},cWe={class:"sr-only"},uWe={class:"sr-only"},dWe=F({__name:"AsyncApiLabels",props:{servers:{default:()=>[]},protocols:{default:()=>[]}},setup(e){const{translate:t}=Ot(),n=$(()=>e.servers.length>0||e.protocols.length>0);return(r,a)=>n.value?(y(),w("div",lWe,[e.servers.length?(y(),w(de,{key:0},[x("span",cWe,H(b(t)("asyncapi.servers"))+":",1),(y(!0),w(de,null,it(e.servers,i=>(y(),M(b(ho),{key:`server-${i}`,class:"async-api-label--server",title:i},{default:I(()=>[ae(H(i),1)]),_:2},1032,["title"]))),128))],64)):U("",!0),e.protocols.length?(y(),w(de,{key:1},[x("span",uWe,H(b(t)("asyncapi.protocols"))+":",1),(y(!0),w(de,null,it(e.protocols,i=>(y(),M(b(ho),{key:`protocol-${i}`,class:"async-api-label--protocol",title:i},{default:I(()=>[ae(H(i),1)]),_:2},1032,["title"]))),128))],64)):U("",!0)])):U("",!0)}}),R3=yt(dWe,[["__scopeId","data-v-6f21951e"]]),fWe=e=>e?Object.entries(e).map(([t,n])=>{const r=Se(n)??{},a={type:"string"};r.enum&&(a.enum=r.enum),r.default!==void 0&&(a.default=r.default),r.examples&&(a.examples=r.examples);const i={name:t,in:"path",required:!0,schema:a};return r.description&&(i.description=r.description),i}):[],Hz=e=>({orderRequiredPropertiesFirst:(e==null?void 0:e.orderRequiredPropertiesFirst)??!1,orderSchemaPropertiesBy:(e==null?void 0:e.orderSchemaPropertiesBy)??"preserve",expandAllSchemaProperties:(e==null?void 0:e.expandAllSchemaProperties)??!1,schemaKeyboardNav:(e==null?void 0:e.sc
378hemaKeyboardNav)??!1}),Vz=(e,t)=>(e??[]).filter(n=>n.type===t),qz=(e,t)=>{const n=Z6(e,{channel:t??null,webSocketOnly:!1});return{servers:n.map(r=>r.name),protocols:[...new Set(n.map(r=>r.protocol).filter(Boolean))]}},Z5=(...e)=>{for(const t of e){const n=t==null?void 0:t.trim();if(n)return n}return""},hWe=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas"]),pWe=new Set(["example","examples","default","enum","const","value","dataValue"]),N3=(e,t,n="object",r=new WeakMap)=>{const a=n==="object"&&We(t)&&typeof t.$ref=="string"?Se(t):t;if(!We(a))return a;if(r.has(a))return r.get(a);const i=n==="object"&&We(e)&&typeof e.$ref=="string"?Se(e):e,o=We(i)?{...i}:{};r.set(a,o);for(const[s,l]of Object.entries(a))if(l===null)delete o[s];else if(l!==void 0){const c=n==="data"?"data":n==="map"?"object":pWe.has(s)||s.startsWith("x-")?"data":hWe.has(s)?"map":"object";Object.defineProperty(o,s,{value:N3(Object.hasOwn(o,s)?o[s]:void 0,l,c,r),enumerable:!0,configurable:!0,writable:!0})}return r.delete(a),o},mWe=e=>{var r;if(!((r=e.traits)!=null&&r.length))return e;const t=e.traits.reduce((a,i)=>{const o=Se(i);return o?N3(a,o):a},{}),n=N3(t,Object.fromEntries(Object.entries(e).filter(([a])=>Object.hasOwn(t,a))));return{...Object.fromEntries(Object.entries(e).filter(([a])=>!Object.hasOwn(t,a))),...n}},X5=(e,t)=>{var r;const n=(r=e.channels)==null?void 0:r[t];return n?Se(n,mr):void 0},gWe=(e,t,n)=>{var a,i;const r=(i=(a=X5(e,t))==null?void 0:a.messages)==null?void 0:i[n];return r?mWe(Se(r,mr)):void 0},bWe=(e,t)=>{var r;const n=(r=e.operations)==null?void 0:r[t];return n?Ike(Se(n,mr)):void 0},Zz=(e,t)=>{var o;const n=(e==null?void 0:e.security)??t.security??[],r=((o=t.components)==null?void 0:o.securitySchemes)??{};let a=!1;const i=[];for(const s of n){if(!jQe(s)){a=!0;continue}const l=Object.entries(s).map(([c,u])=>({name:c,scheme:Se(r[c]),scopes:u.filter(d=>d.length>0)}));l.length>0&&i.push({schemes:l})}return i.length===0?{state:a?"optional":"none",requirements:[]}:{state:a?"optional":"required",requirements:i}},yWe=e=>e.scheme&&e.scheme.type!=="oauth2"&&e.scheme.type!=="openIdConnect"?[]:e.scopes,Xz=e=>{const t=[];for(const n of e.requirements){const r=new Set;for(const a of n.schemes)for(const i of yWe(a))r.add(i);r.size>0&&t.push([...r])}return t},vWe={key:0,class:"mt-6"},OWe={class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},SWe={key:0,class:"text-c-2 mb-2 text-sm"},wWe=F({__name:"OperationScopes",props:{requiredSecurity:{}},setup(e){const{translate:t}=Ot(),n=$(()=>Xz(e.requiredSecurity)),r=$(()=>n.value.length>1);return(a,i)=>n.value.length?(y(),w("div",vWe,[x("div",OWe,H(b(t)("authentication.scopes")),1),r.value?(y(),w("div",SWe,H(b(t)("authentication.oneOf")),1)):U("",!0),(y(!0),w(de,null,it(n.value,(o,s)=>(y(),w("ul",{key:s,class:Oe(["mb-3 list-none p-0 text-sm",{"mt-3 border-t pt-3":n.value.length>1&&s>0}])},[(y(!0),w(de,null,it(o,l=>(y(),w("li",{key:l,class:"font-code text-c-2"},H(l),1))),128))],2))),128))])):U("",!0)}}),W5=wWe,xWe=(e,t)=>Zz({security:$U(e,t,null)},{components:void 0}),kWe=e=>{const t=e.payload!==void 0?e.payload:e.headers,n=e.headers!==void 0&&e.payload!==void 0?{headers:e.headers,payload:e.payload}:t;if(n===null||typeof n=="boolean")return String(n);if(typeof n=="string"||typeof n=="number"||Array.isArray(n)||We(n))return bh(n)},AWe=F({inheritAttrs:!1,__name:"ScalarVirtualCodeBlock",props:{content:{},lang:{default:"plaintext"},copy:{type:[String,Boolean],default:"hover"},lineHeight:{default:20}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0"))),[N(uz,{containerClass:"custom-scroll overflow-auto flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:e.lineHeight,text:e.content},null,8,["lineHeight","text"]),e.copy?(y(),M(iz,{key:0,class:Oe(["scalar-code-copy absolute top-2.5 right-2.5",[{"opacity-100":e.copy==="always"}]]),content:e.content,showLang:!0,lang:e.lang},{backdrop:I(()=>[N(Nv,{class:"scalar-code-copy-backdrop -right-1.5 -top-1"})]),_:1},8,["class","content","lang"])):U("",!0)],16))}}),Y5=AWe;const Wz=(e,t,n=" #")=>{if(!t(e))return e;const r=e.split(n),a=r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`;return Wz(a,t,n)};var TWe={key:1},EWe=F({__name:"MessageExamples",props:{examples:{default:()=>[]}},setup(e){const{translate:t}=Ot(),n=$(()=>{const c=e.examples.flatMap((d,f)=>{const h=Se(d);return!h||h.headers===void 0&&h.payload===void 0?[]:[{key:String(f),example:h,label:h.name||`${t("schema.example")} ${f+1}`}]}),u=new Set(c.flatMap(({example:d})=>d.name?[d.name]:[]));return c.map(d=>{const f=d.example.name||Wz(d.label,h=>u.has(h));return u.add(f),{...d,label:f}})}),r=J("");ze(n,c=>{var u;
378c.some(({key:d})=>d===r.value)||(r.value=((u=c[0])==null?void 0:u.key)??"")},{immediate:!0});const a=$(()=>n.value.find(({key:c})=>c===r.value)),i=$(()=>a.value?kWe(a.value.example):void 0),o=$(()=>Object.fromEntries(n.value.map(({key:c,label:u})=>[c,{summary:u}]))),s=$(()=>n.value.length>1),l=$(()=>{var c,u;return s.value||((c=a.value)==null?void 0:c.example.name)||((u=a.value)==null?void 0:u.example.summary)});return(c,u)=>i.value!==void 0?(y(),M(b(gh),{key:0,class:"min-w-0 self-start text-base",label:b(t)("schema.examples")},{default:I(()=>[N(b(u1),null,{actions:I(()=>[N(b(az),{"aria-label":b(t)("common.copyExample"),content:i.value,placement:"left"},{copy:I(()=>[ae(H(b(t)("common.copyExample")),1)]),_:1},8,["aria-label","content"])]),default:I(()=>[ae(H(b(t)("schema.examples"))+" ",1)]),_:1}),N(b(Hc),null,{default:I(()=>[i.value.length>2e4?(y(),M(b(Y5),{key:0,class:"bg-b-2",content:i.value,lang:"json"},null,8,["content"])):(y(),M(b(d1),{key:1,class:"bg-b-2",lang:"json",prettyPrintedContent:i.value},null,8,["prettyPrintedContent"]))]),_:1}),l.value?(y(),M(b(M5),{key:0,class:"text-c-2 flex flex-wrap items-center gap-2"},{default:I(()=>{var d,f;return[s.value?(y(),M(b(N5),{key:0,modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=h=>r.value=h),"aria-label":b(t)("schema.examples"),examples:o.value},null,8,["modelValue","aria-label","examples"])):(d=a.value)!=null&&d.example.name?(y(),w("span",TWe,H(a.value.label),1)):U("",!0),(f=a.value)!=null&&f.example.summary?(y(),M(b(Jr),{key:2,class:"min-w-0",value:a.value.example.summary},null,8,["value"])):U("",!0)]}),_:1})):U("",!0)]),_:1},8,["label"])):U("",!0)}}),_We=EWe,CWe=["id"],$We={class:"message-heading"},PWe={class:"message-layout"},IWe={key:0,class:"message-details min-w-0"},RWe={key:1,class:"message-schema"},NWe={key:2,class:"message-schema"},MWe=F({__name:"Message",props:{message:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){const t=Mt(),n=ai("section");Dd(n,()=>{var p;return(p=e.eventBus)==null?void 0:p.emit("intersecting:nav-item",{id:e.message.id})});const r=$(()=>gWe(e.document,e.message.channelName,e.message.messageName)),a=$(()=>{var p;return Z5((p=r.value)==null?void 0:p.title,e.message.title,e.message.messageName)}),i=$(()=>{var p,m;return((p=r.value)==null?void 0:p.description)||((m=r.value)==null?void 0:m.summary)||""}),o=$(()=>{var g;const p=(g=r.value)==null?void 0:g.bindings;if(!p)return[];const m=Se(p);return Object.entries(m??{}).filter(([,v])=>v!=null).map(([v])=>v.toLowerCase())}),s=$(()=>{const p=X5(e.document,e.message.channelName),{protocols:m}=qz(e.document,p);return[...new Set([...m,...o.value])]}),l=$(()=>r.value?qJ(r.value):void 0),c=$(()=>r.value?ZJ(r.value):void 0),u=$(()=>({hideReadOnly:!1,...Hz(e.options)})),d=J(e.expandedItems[e.message.id]??!1);ze(()=>e.expandedItems[e.message.id],p=>{p!==void 0&&(d.value=p)});const f=p=>{var m;d.value=p,(m=e.eventBus)==null||m.emit("toggle:nav-item",{id:e.message.id,open:p})},{level:h}=ci("message");return(p,m)=>(y(),w("div",{id:e.message.id,ref_key:"section",ref:n,class:"message"},[N(b(j5),{class:"message-accordion",modelValue:d.value,"onUpdate:modelValue":f},{title:I(()=>[N(b(bl),{onCopyAnchorUrl:m[0]||(m[0]=()=>{var g;return(g=e.eventBus)==null?void 0:g.emit("copy-url:nav-item",{id:e.message.id})})},{default:I(()=>[x("span",$We,[N(b(ja),{id:b(t),class:"message-title",level:b(h)},{default:I(()=>[ae(H(a.value),1)]),_:1},8,["id","level"]),N(R3,{protocols:s.value},null,8,["protocols"])])]),_:1})]),default:I(()=>{var g;return[x("div",PWe,[i.value||c.value||l.value?(y(),w("div",IWe,[i.value?(y(),M(b(Jr),{key:0,class:"message-description",value:i.value,withImages:""},null,8,["value"])):U("",!0),c.value?(y(),w("div",RWe,[m[1]||(m[1]=x("div",{class:"message-schema-title"},"Headers",-1)),N(b(ul),{breadcrumb:[e.message.id,"headers"],compact:"",eventBus:e.eventBus,name:"Headers",noncollapsible:"",options:u.value,schema:c.value},null,8,["breadcrumb","eventBus","options","schema"])])):U("",!0),l.value?(y(),w("div",NWe,[m[2]||(m[2]=x("div",{class:"message-schema-title"},"Payload",-1)),N(b(ul),{breadcrumb:[e.message.id,"payload"],compact:"",eventBus:e.eventBus,name:"Payload",noncollapsible:"",options:u.value,schema:l.value},null,8,["breadcrumb","eventBus","options","schema"])])):U("",!0)])):U("",!0),N(_We,{class:"message-examples",examples:(g=r.value)==null?void 0:g.examples},null,8,["examples"])])]}),_:1},8,["modelValue"])],8,CWe))}}),LWe=yt(MWe,[["__scopeId","data-v-7722835a"]]),DWe=["id"],BWe={class:"operation-header"},UWe=F({__name:"Operation",props:{operation:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){const t=Mt(),n=ai("section");Dd(n,()=>{var c;return(c=e.eventBus)==null?void 0:c.emit("intersecting:nav-item",{id:e.operation.id})});const r=$(()=>bWe(e.document,e.operation.operationName)),a=$(()=>{var c;return Z5((c=r.value)==null?void 0:c.title,e.operation.title,e.operation.operationName)}),i=$(()=>{var c,u;return((c=r.value)==null?void 0:c.description)||((u=r.value)==null?void 0:u.summary)||""}),o=$(()=>Vz(e.operation.children,"asyncapi-message")),s=$(()=>xWe(e.document,r.value)),{level:l}=ci("operation");return(c,u)=>(y(),w("div",{id:e.operation.id,ref_key:"section",ref:n,class:Oe(["operation",`operation--${e.operation.action}`])},[x("div",BWe,[x("span",{class:Oe(["operation-action",`operation-action--${e.operation.action}`])},H(e.operation.action),3),N(b(bl),{onCopyAnchorUrl:u[0]||(u[0]=()=>{var d;return(d=e.eventBus)==null?void 0:d.emit("copy-url:nav-item",{id:e.operation.id})})},{default:I(()=>[N(b(ja),{id:b(t),class:"operation-title",level:b(l)},{default:I(()=>[ae(H(a.value),1)]),_:1},8,["id","level"])]),_:1})]),i.value?(y(),M(b(Jr),{key:0,class:"operation-description",value:i.value,withImages:""},null,8,["value"])):U("",!0),N(W5,{requiredSecurity:s.value},null,8,["requiredSecurity"]),(y(!0),w(de,null,it(o.value,d=>(y(),M(LWe,{key:d.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,message:d,options:e.options}
378,null,8,["document","eventBus","expandedItems","message","options"]))),128))],10,DWe))}}),r7=yt(UWe,[["__scopeId","data-v-a929e624"]]),jWe=F({__name:"Channel",props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{},expandedItems:{default:()=>({})},level:{default:0}},setup(e){const t=Mt(),n=$(()=>X5(e.document,e.channel.channelName)),r=$(()=>{var u;return((u=n.value)==null?void 0:u.description)??""}),a=$(()=>{var u;return Z5((u=n.value)==null?void 0:u.title,e.channel.channelAddress)}),i=$(()=>{var u;return fWe((u=n.value)==null?void 0:u.parameters)}),o=$(()=>{var u;return{hideModels:((u=e.options)==null?void 0:u.hideModels)??!1,...Hz(e.options)}}),s=$(()=>qz(e.document,n.value)),l=$(()=>Vz(e.channel.children,"asyncapi-operation")),{level:c}=ci("channel");return(u,d)=>e.layout==="classic"?(y(),M(b(V5),{key:0,"aria-label":a.value,class:"channel-section",modelValue:!e.isCollapsed,"onUpdate:modelValue":d[1]||(d[1]=f=>{var h;return(h=e.eventBus)==null?void 0:h.emit("toggle:nav-item",{id:e.channel.i
378d,open:f})})},{title:I(()=>[N(b(md),{class:"channel-name"},{default:I(()=>[N(b(bl),{onCopyAnchorUrl:d[0]||(d[0]=()=>{var f;return(f=e.eventBus)==null?void 0:f.emit("copy-url:nav-item",{id:e.channel.id})})},{default:I(()=>[N(b(ja),{level:b(c)},{default:I(()=>[ae(H(a.value),1)]),_:1},8,["level"])]),_:1})]),_:1}),N(R3,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),N(b(Jr),{class:"channel-description",value:r.value,withImages:""},null,8,["value"])]),default:I(()=>[i.value.length?(y(),M(Af,{key:0,eventBus:e.eventBus,options:o.value,parameters:i.value},{title:I(()=>[...d[4]||(d[4]=[ae("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):U("",!0),(y(!0),w(de,null,it(l.value,f=>(y(),M(r7,{key:f.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:f,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1},8,["aria-label","modelValue"])):(y(),M(b(f1),{key:1,"aria-labelledby":b(t),omit:e.level!==0,role:"region"},{default:I(()=>
378[N(b(op),{id:e.channel.id,role:"none",onIntersecting:d[3]||(d[3]=()=>{var f;return(f=e.eventBus)==null?void 0:f.emit("intersecting:nav-item",{id:e.channel.id})})},{default:I(()=>[N(b(md),null,{default:I(()=>[N(b(bl),{onCopyAnchorUrl:d[2]||(d[2]=()=>{var f;return(f=e.eventBus)==null?void 0:f.emit("copy-url:nav-item",{id:e.channel.id})})},{default:I(()=>[N(b(ja),{id:b(t),level:b(c)},{default:I(()=>[ae(H(a.value),1)]),_:1},8,["id","level"])]),_:1})]),_:1}),N(b(Dv),null,{default:I(()=>[N(R3,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),N(b(Jr),{value:r.value,withImages:""},null,8,["value"]),i.value.length?(y(),M(Af,{key:0,eventBus:e.eventBus,options:o.value,parameters:i.value},{title:I(()=>[...d[5]||(d[5]=[ae("Parameters",-1)])]),_:1},8,["eventBus","options","parameters"])):U("",!0),(y(!0),w(de,null,it(l.value,f=>(y(),M(r7,{key:f.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:f,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1})]),_:1},8,["id"])]),_:1},8,["aria-labelledby","omit"]))}}),FWe=yt(jWe,[["__scopeId","data-v-c60febe5"]]),QWe=F({__name:"AsyncApiTraversedEntry",props:{entries:{},document:{},expandedItems:{},options:{},eventBus:{},level:{default:0}},setup(e){const t=l=>l.type==="tag"&&l.isGroup===!0,n=l=>l.type==="tag"&&!t(l),r=l=>l.type==="asyncapi-channel",a=l=>l.type==="models",i=l=>l.type==="model",o=$(()=>e.document.components?Se(e.document.components,mr).schemas:void 0),s=l=>OR(e.document,l);return(l,c)=>{const u=vy("AsyncApiTraversedEntry",!0);return y(!0),w(de,null,it(e.entries,d=>(y(),M(Fz,{id:d.id,key:`${d.id}-${e.options.layout}`,expanded:!!e.expandedItems[d.id]},{default:I(()=>[r(d)?(y(),M(FWe,{key:0,channel:d,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,level:e.level,options:e.options},null,8,["channel","document","eventBus","expandedItems","isCollapsed","layout","level","options"])):n(d)||t(d)&&e.options.layout==="classic"?(y(),M(b(jz),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,tag:d},{default:I(()=>{var f;return[(f=d.children)!=null&&f.length?(y(),M(u,{key:0,document:e.document,entries:d.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):U("",!0)]}),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(d)?(y(),M(u,{key:2,document:e.document,entries:d.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):a(d)&&o.value?(y(),M(Uz,{key:3,id:d.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:I(()=>[N(u,{document:e.document,entries:d.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):i(d)&&s(d.name)?(y(),M(Dz,{key:4,id:d.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[d.id],name:d.name,options:e.options,schema:s(d.name)},null,8,["id","eventBus","isCollapsed","name","options","schema"])):U("",!0)]),_:2},1032,["id","expanded"]))),128)}}}),zWe=QWe,HWe=F({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup(e,{emit:t}){const n=t;return ze(()=>e.value,r=>n("change",r),{immediate:!0}),Qa(()=>n("unmount")),(r,a)=>null}}),VWe=HWe,qWe=["aria-labelledby"],ZWe={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},XWe=["id"],WWe={key:0,class:"sr-only"},YWe={key:0,class:"bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold"},GWe={class:"sr-only"},KWe={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},JWe=F({name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=Mt();return(a,i)=>(y(),M(b(k0),{as:"div",class:Oe(["group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0",{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:I(({open:o})=>[N(VWe,{value:o,onChange:i[0]||(i[0]=s=>n("update:modelValue",s))},null,8,["value"]),x("section",{"aria-labelledby":b(r),class:"contents"},[x("div",{class:Oe(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[N(b(Gf),{class:Oe(["hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2",e.isStatic&&"!pl-3"]),disabled:e.isStatic},{default:I(()=>[e.isStatic?U("",!0):(y(),M(b(ua),{key:0,class:"text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline",icon:"ChevronRight",size:"md"})),x("h2",ZWe,[x("span",{id:b(r),class:"contents"},[q(a.$slots,"title",{open:o}),o?U("",!0):(y(),w("span",WWe," (Collapsed) "))],8,XWe),!o&&e.itemCount?(y(),w("span",YWe,[ae(H(e.itemCount)+" ",1),x("span",GWe,"Item"+H(e.itemCount===1?"":"s"),1)])):U("",!0)])]),_:2},1032,["class","disabled"]),a.$slots.actions?(y(),w("div",KWe,[q(a.$slots,"actions",{open:o})])):U("",!0)],2),N(b(Kf),Te(a.$attrs,{class:"diclosure-panel h-full max-h-fit roun
378ded-b"}),{default:I(()=>[q(a.$slots,"default",{open:o})]),_:2},1040)],8,qWe)]),_:3},8,["class","defaultOpen","static"]))}}),eYe=JWe,tYe={class:"text-c-2 mb-4 text-sm leading-normal"},nYe={class:"flex justify-between gap-2"},rYe=F({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){const n=t,r=()=>{n("delete")};return(a,i)=>(y(),M(b(mv),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:I(()=>[x("p",tYe," This cannot be undone. You're about to delete the "+H(e.label)+" security scheme from the collection. ",1),x("div",nYe,[N(b(zn),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:i[0]||(i[0]=o=>n("close"))},{default:I(()=>[...i[1]||(i[1]=[ae(" Cancel ",-1)])]),_:1}),N(b(zn),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:r},{default:I(()=>[ae(" Delete "+H(e.label),1)]),_:1})])]),_:1},8,["state"]))}}),aYe=rYe,iYe={apiKeyCookie:{label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",name:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{type:"apiKey",in:"header",name:"apiKeyHeader"}},apiKeyQuery:{label:"API Key in Query Params",payload:{type:"apiKey",in:"query",name:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",scheme:"basic"}},httpBearer:{label:"HTTP Bearer",payload:{type:"http",scheme:"bearer"}},oauth2Implicit:{label:"Oauth2 Implicit Flow",payload:{type:"oauth2",flows:{implicit:{authorizationUrl:"",refreshUrl:"",scopes:{}}}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{type:"oauth2",flows:{password:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{type:"oauth2",flows:{clientCredentials:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{type:"oauth2",flows:{authorizationCode:{authorizationUrl:"",tokenUrl:"",refreshUrl:"","x-usePkce":"no",scopes:{}}}}}};const km=e=>{let n=0,r=0;const a=e.length,i=a&15,o=a-i,s=2277735313,l=1291169091,c=1390208809,u=944331445;for(let d=0;d<o;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,h=e.charCodeAt(d+4)&255|(e.charCodeAt(d+5)&255)<<8|(e.charCodeAt(d+6)&255)<<16|(e.charCodeAt(d+7)&255)<<24,p=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,h=Math.imul(h,l),h=h<<16|h>>>16,h=Math.imul(h,c),r^=h,r=r<<17|r>>>15,r=Math.imul(r,5)+461845907,p=Math.imul(p,c),p=p<<17|p>>>15,p=Math.imul(p,u),n^=p,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(i>0){let d=0,f=0,h=0,p=0;i>=15&&(p^=(e.charCodeAt(o+14)&255)<<16),i>=14&&(p^=(e.charCodeAt(o+13)&255)<<8),i>=13&&(p^=e.charCodeAt(o+12)&255,p=Math.imul(p,u),p=p<<18|p>>>14,p=Math.imul(p,s),r^=p),i>=12&&(h^=(e.charCodeAt(o+11)&255)<<24),i>=11&&(h^=(e.charCodeAt(o+10)&255)<<16),i>=10&&(h^=(e.charCodeAt(o+9)&255)<<8),i>=9&&(h^=e.charCodeAt(o+8)&255,h=Math.imul(h,c),h=h<<17|h>>>15,h=Math.imul(h,u),n^=h),i>=8&&(f^=(e.charCodeAt(o+7)&255)<<24),i>=7&&(f^=(e.charCodeAt(o+6)&255)<<16),i>=6&&(f^=(e.charCodeAt(o+5)&255)<<8),i>=5&&(f^=e.charCodeAt(o+4)&255,f=Math.imul(f,l),f=f<<16|f>>>16,f=Math.imul(f,c),r^=f),i>=4&&(d^=(e.charCodeAt(o+3)&255)<<24),i>=3&&(d^=(e.charCodeAt(o+2)&255)<<16),i>=2&&(d^=(e.charCodeAt(o+1)&255)<<8),i>=1&&(d^=e.charCodeAt(o)&255,d=Math.imul(d,s),d=d<<15|d>>>17,d=Math.imul(d,l),n^=d)}return n^=a,r^=a,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")};var a7=e=>JSON.stringify(Object.keys(e)),Fv=({name:e,value:t})=>({id:km(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),Yz=e=>Fv({name:Object.keys(e).join(" & "),value:e}),i7=(e,t)=>{const n=Object.keys(e);if(n.length>1)return n.some(r=>{const a=Se(t[r]);return a?fa(a):!1})?void 0:Yz(e);if(n[0]){const r=Se(t[n[0]]);return!r||fa(r)?void 0:Fv({name:n[0],value:e})}},oYe=e=>{let t=null;for(const[n,r]of Object.entries(e)){const a=Se(r);if((a==null?void 0:a.type)!=="oauth2"||fa(a))continue;const i=a.flows;if(!i)continue;const o=a["x-default-scopes"]??[];if(i.authorizationCode&&!fa(i.authorizationCode))return{name:n,flows:i,flowType:"authorizationCode",scopes:o};i.implicit&&!fa(i.implicit)&&!t&&(t={name:n,flows:i,flowType:"implicit",scopes:o})}return t},sYe=(e,t,n,r=!1)=>{const a=new Map(n.map(u=>[a7(u),u])),{requiredFormatted:i,requiredSchemeNames:o,existingIds:s}=e.reduce((u,d)=>{const f=i7(a.get(a7(d))??d,t);f&&(u.requiredFormatted.push(f),u.existingIds.add(f.id));for(const h of Object.keys(d))u.requiredSchemeNames.add(h);return u},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),l=[];for(const[u,d]of Object.entries(t)){if(o.has(u))continue;const f=Se(d);if(f&&!fa(f)){const h=Fv({name:u,value:{[u]:[]}});l.push(h),s.add(h.id)}}for(const u of n){const d=i7(u,t);d&&!s.has(d.id)&&(l.push(d),s.add(d.id))}const c=[{label:"Required authentication",options:i},{label:"Available authentication",options:l}];return r?(c.push({label:"Add new authentication",options:Object.entries(iYe).map(([u,d])=>({id:u,label:d.label,value:{[u]:[]},payload:d.payload,isDeletable:!1}))}),c):i.length?c:l},lYe=["role"],cYe={key:0,class:"sr-only"},uYe=F({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),w("div",jt(Xt(b(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[x("table",{class:Oe(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:Pr({gridTemplateColumns:e.columns.map(a=>a||"1fr").join(" ")})},[n.$slots.caption?(y(),w("caption",cYe,[q(n.$slots,"caption")])):U("",!0),q(n.$slots,"default")],14,lYe)],16))}}),Gz=uYe,dYe=F({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(Wt(e.is),Te(b(t)("box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"),{class:"group-[.alert]:bg-b-alert group-[.error]:bg-b-danger"}),{default:I(()=>[q(n.$slots,"default")]),_:3},16))}}),Sh=dYe,Qv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},fYe={},hYe={class:"group contents"};function pYe(e,t){return y(),w("tr",hYe,[q(e.$slots,"default")])}var or=Qv(fYe,[["render",pYe]]),mYe=e=>{const t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},o7=(e,t,n)=>{const r=e.get(n);if(r!==null)return{params:e,value:r};const a=t.get(n);return a!==null?{params:t,value:a}:{params:null,value:null}},s7=(e,t="access_token")=>{try{const{searchParams:n,hashParams:r}=mYe(e()),a=o7(n,r,t),i=o7(n,r,"code");return{accessToken:a.value,accessTokenParams:a.params,code:i.value,codeParams:i.params,error:n.get("error")??r.get("error"),errorDescription:n.get("error_description")??r.get("error_description"),refreshToken:n.get("refresh_token")??r.get("refresh_token")}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}};const zv=(e,{baseUrl:t,basePath:n}={})=>
378{if(typeof window>"u"&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;if(n){const a=t?new URL(t).origin:window.location.origin;r=Mc(a,n+"/")}return new URL(e,r).toString()}catch{return e}};var Kz=(e,t={})=>la(G2((e==null?void 0:e.url)??"",Lpe(e)),t),G5=(e,t={})=>{const n=Kz(e,t);return n?Fc(n)?typeof window>"u"?{}:{basePath:n}:{baseUrl:n}:{}},gYe=()=>{const e=new Uint8Array(32);return crypto.getRandomValues(e),Lf(e,!0)},bYe=async(e,t)=>{var a;if(t==="plain")return e;if(typeof((a=crypto==null?void 0:crypto.subtle)==null?void 0:a.digest)!="function")return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."),e;const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n);return Lf(new Uint8Array(r),!0)},Jz=async(e,t,n,r,a,i={},o,s)=>{const l=e[t];try{if(!l)return[new Error("Flow not found"),null];const c=n.join(" ");if(t==="clientCredentials"||t==="password")return L4(e,t,c,{proxyUrl:a,customFetch:o},r,i);const u=(Math.random()+1).toString(36).substring(2,10),d=zv(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,G5(r,i)),f=new URL(d);let h=null;if(t==="implicit")f.searchParams.set("response_type","token");else if(t==="authorizationCode"){const g=e[t];if(f.searchParams.set("response_type","code"),g["x-usePkce"]!=="no"){const v=gYe(),k=await bYe(v,g["x-usePkce"]);h={codeVerifier:v,codeChallenge:k,codeChallengeMethod:g["x-usePkce"]==="SHA-256"?"S256":"plain"},f.searchParams.set("code_challenge",k),f.searchParams.set("code_challenge_method",h.codeChallengeMethod)}}const p=e[t];if(!s)if(p["x-scalar-secret-redirect-uri"].startsWith("/")){const g=Kz(r,i)||window.location.origin+window.location.pathname,v=new URL(p["x-scalar-secret-redirect-uri"],g).toString();f.searchParams.set("redirect_uri",v)}else f.searchParams.set("redirect_uri",p["x-scalar-secret-redirect-uri"]);if(l["x-scalar-security-query"]&&Object.keys(l["x-scalar-security-query"]).forEac
378h(g=>{var k;const v=(k=l["x-scalar-security-query"])==null?void 0:k[g];v&&f.searchParams.set(g,v)}),f.searchParams.set("client_id",l["x-scalar-secret-client-id"]),f.searchParams.set("state",u),c&&f.searchParams.set("scope",c),s){const[g,v]=await s({authorizationUrl:f.toString()});if(g||!v)return[g??new Error("Failed to capture the OAuth2 redirect"),null];const{accessToken:k,accessTokenParams:S,code:A,codeParams:E,error:_,errorDescription:C,refreshToken:R}=s7(()=>v.callbackUrl,l["x-tokenName"]||"access_token");return _?[new Error(`OAuth error: ${_}${C?` (${C})`:""}`),null]:k?((S==null?void 0:S.get("state"))??null)!==u?[new Error("State mismatch"),null]:[null,{accessToken:k,...R?{refreshToken:R}:{}}]:A&&t==="authorizationCode"?((E==null?void 0:E.get("state"))??null)!==u?[new Error("State mismatch"),null]:L4(e,t,c,{code:A,pkce:h,proxyUrl:a,customFetch:o,redirectUri:v.redirectUri},r,i):[new Error("No authorization code or access token was returned"),null]}const m=window.open(f,"openAuth2Window","left=100,top=100,width=800,height=600");return m?new Promise(g=>{const v=setInterval(()=>{const{accessToken:k,accessTokenParams:S,code:A,codeParams:E,error:_,errorDescription:C,refreshToken:R}=s7(()=>m.location.href,l["x-tokenName"]||"access_token");if(m.closed||k||A||_){if(clearInterval(v),m.close(),_){g([new Error(`OAuth error: ${_}${C?` (${C})`:""}`),null]);return}if(k){((S==null?void 0:S.get("state"))??null)===u?g([null,{accessToken:k,...R?{refreshToken:R}:{}}]):g([new Error("State mismatch"),null]);return}if(A&&t==="authorizationCode"){((E==null?void 0:E.get("state"))??null)===u?L4(e,t,c,{code:A,pkce:h,proxyUrl:a,customFetch:o},r,i).then(g).catch(B=>{g([B instanceof Error?B:new Error("Failed to get an access token",{cause:B}),null])}):g([new Error("State mismatch"),null]);return}g([new Error("Window was closed without granting authorization"),null])}},200)}):[new Error("Failed to open auth window"),null]}catch(c){return[c instanceof Error?c:new Error("Failed to authorize oauth2 flow",{cause:c}),null]}},L4=async(e,t,n,{code:r,pkce:a,proxyUrl:i,customFetch:o=fetch,redirectUri:s}={},l,c={})=>{const u=e[t];if(!u)return[new Error("OAuth2 flow was not defined"),null];const d=new URLSearchParams;n&&(t==="clientCredentials"||t==="password")&&d.set("scope",n);const f=u["x-scalar-credentials-location"]==="body",h=!!u["x-scalar-secret-client-secret"];if((f||t==="authorizationCode"&&!h)&&d.set("client_id",u["x-scalar-secret-client-id"]),f&&h&&d.set("client_secret",u["x-scalar-secret-client-secret"]),s?d.set("redirect_uri",s):"x-scalar-secret-redirect-uri"in u&&u["x-scalar-secret-redirect-uri"]&&d.set("redirect_uri",u["x-scalar-secret-redirect-uri"]),r)d.set("code",r),d.set("grant_type","authorization_code"),a&&d.set("co
378de_verifier",a.codeVerifier);else if(t==="password"){const p=e[t];d.set("grant_type","password"),d.set("username",p["x-scalar-secret-username"]),d.set("password",p["x-scalar-secret-password"])}else d.set("grant_type","client_credentials");u["x-scalar-security-body"]&&Object.entries(u["x-scalar-security-body"]).forEach(([p,m])=>{m!=null&&d.set(p,String(m))});try{const p={"Content-Type":"application/x-www-form-urlencoded"};!f&&h&&(p.Authorization=`Basic ${uo(`${u["x-scalar-secret-client-id"]}:${u["x-scalar-secret-client-secret"]}`)}`);const m=zv(u["x-scalar-secret-token-url"]??u.tokenUrl,G5(l,c)),g=await(await o(cv(i,m)?`${i}?${new URLSearchParams([["scalar_url",m]]).toString()}`:m,{method:"POST",headers:p,body:d})).json(),v=g[u["x-tokenName"]||"access_token"],k=g.refresh_token;return v?[null,{accessToken:v,...typeof k=="string"?{refreshToken:k}:{}}]:[new Error(g.error_description??g.error??"Failed to get an access token"),null]}catch(p){return[p instanceof Error?p:new Error("Failed to get an access token. Please check your credentials.",{cause:p}),null]}},eH=async(e,t,n,r,a={},i=fetch)=>{const o=e[t];if(!o)return[new Error("OAuth2 flow was not defined"),null];const s=o["x-scalar-secret-refresh-token"];if(!s)return[new Error("No refresh token available"),null];const l=new URLSearchParams;l.set("grant_type","refresh_token"),l.set("refresh_token",s);const c=o["x-scalar-credentials-location"]==="body",u=!!o["x-scalar-secret-client-secret"];(c||t==="authorizationCode"&&!u)&&l.set("client_id",o["x-scalar-secret-client-id"]),c&&u&&l.set("client_secret",o["x-scalar-secret-client-secret"]),o["x-scalar-security-body"]&&Object.entries(o["x-scalar-security-body"]).forEach(([d,f])=>{f!=null&&l.set(d,String(f))});try{const d={"Content-Type":"application/x-www-form-urlencoded"};!c&&u&&(d.Authorization=`Basic ${uo(`${o["x-scalar-secret-client-id"]}:${o["x-scalar-secret-client-secret"]}`)}`);const f=zv(o.refreshUrl||o["x-scalar-secret-token-url"]||o.tokenUrl,G5(r,a)),h=await(await i(cv(n,f)?`${n}?${new URLSearchParams([["scalar_url",f]]).toString()}`:f,{method:"POST",headers:d,body:l})).json(),p=h[o["x-tokenName"]||"access_token"],m=h.refresh_token;return p?[null,{accessToken:p,...typeof m=="string"?{refreshToken:m}:{refreshToken:s}}]:[new Error(h.error_description??h.error??"Token refresh failed"),null]}catch(d){return[d instanceof Error?d:new Error("Failed to refresh the access token. Please re-authorize.",{cause:d}),null]}},l7=e=>e?Object.entries(e).filter(t=>t[1]!==void 0&&!fa(t[1])).map(([t,n],r)=>({key:t,order:n["x-order"],index:r})).sort((t,n)=>t.order!==void 0&&n.order!==void 0?t.order-n.order:t.order!==void 0?-1:n.order!==void 0?1:t.index-n.index).map(t=>t.key):[],M3=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>"u"||window.location.protocol==="file:"?"":window.location.origin+window.location.pathname,tH=(e,t)=>{const{bearerSchemeName:n,oauth2Name:r,flowType:a,tokens:i}=t;e.emit("auth:update:security-scheme-secrets",{payload:{type:"http","x-scalar-secret-token":i.accessToken},name:n}),i.refreshToken&&e.emit("auth:update:security-scheme-secrets",{payload:{type:"oauth2",[a]:{"x-scalar-secret-refresh-token":i.refreshToken}},name:r})},yYe=async e=>{const{eventBus:t,bearerSchemeName:n,oauth2Name:r,flows:a,flowType:i,scopes:o,server:s,proxyUrl:l,environment:c,options:u}=e,d=a[i],f=await Jz(d&&(i==="authorizationCode"||i==="implicit")?{...a,[i]:{...d,"x-scalar-secret-redirect-uri":d["x-scalar-secret-redirect-uri"]||M3(u??{})||""}}:a,i,o,s,l,Zm(c),u==null?void 0:u.customFetch,u==null?void 0:u.captureOAuth2Callback),h=f[1];return h!=null&&h.accessToken&&tH(t,{bearerSchemeName:n,oauth2Name:r,flowType:i,tokens:h}),f},vYe={class:"custom-scroll min-h-0 flex-1"},OYe={class:"flex flex-col p-0.75"},SYe=F({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(Wt(e.is??"div"),jt(Xt(b(t)("relative flex w-56"))),{default:I(()=>[x("div",vYe,[q(n.$slots,"menu",{},()=>[x("div",OYe,[q(n.$slots,"default")])]),q(n.$slots,"backdrop",{},()=>[N(b(Gh))])])]),_:3},16))}}),wYe=SYe,nH=Symbol();function xYe(){const e=J();return _n(nH,e),{active:e}}
378function kYe(){const e=Rn(nH);return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:e}}var AYe=["id","aria-activedescendant","aria-labelledby","onKeydown"],TYe=F({inheritAttrs:!1,__name:"ScalarDropdown",props:Cn({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){const t=J(),n=J(),r=Tn(e,"open"),{active:a}=xYe(),i=Mt(),o=J(i),s=Mt();async function l(){var p;r.value=!r.value,await In(),r.value&&((p=n.value)==null||p.focus())}async function c(p){var m;if(["ArrowDown","ArrowUp"," ","Enter"].includes(p.key))p.preventDefault();else return;r.value||(r.value=!0),await In(),(m=n.value)==null||m.focus(),["ArrowDown"," ","Enter"].includes(p.key)?f(1):p.key==="ArrowUp"&&f(-1)}ze(()=>{var p;return(p=t.value)==null?void 0:p.targetRef},(p,m)=>{p&&(p.id?o.value=p.id:(o.value=i,p.setAttribute("id",o.value)),p.setAttribute("aria-haspopup","menu"),p.setAttribute("aria-expanded",`${r.value}`),r.value&&p.setAttribute("aria-controls",s),p.addEventListener("click",l),p.addEventListener("keydown",c)),m&&m!==p&&(m.id===i&&m.removeAttribute("id"),m.removeAttribute("aria-controls"),m.removeAttribute("aria-haspopup"),m.removeAttribute("aria-expanded"),m.removeEventListener("click",l),m.removeEventListener("keydown",c))},{immediate:!0}),ze(r,p=>{var g;const m=(g=t.value)==null?void 0:g.targetRef;m&&(m.setAttribute("aria-expanded",`${p}`),p?m.setAttribute("aria-controls",s):m.removeAttribute("aria-controls"))},{immediate:!0});async function u(){var p,m;(m=(p=t.value)==null?void 0:p.targetRef)==null||m.focus(),r.value=!1}function d(){if(!a.value||!n.value)return;const p=n.value.querySelector(`#${a.value}[role="menuitem"]:not([aria-disabled="true"])`);p&&(p.click(),u())}function f(p){if(!r.value||!n.value)return;const m=Array.from(n.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'));if(m.length===0)return;const g=m.findIndex(S=>S.id===a.value);if(g===-1){const S=m[p>0?0:m.length-1];S!=null&&S.id&&(a.value=S.id);return}const v=g+p;if(v<0||v>m.length-1)return;const k=m[v];k!=null&&k.id&&(a.value=k.id)}JBe(n,u,{ignore:[$(()=>{var p;return(p=t.value)==null?void 0:p.targetRef})]});const{cx:h}=$t();return(p,m)=>(y(),M(b(Y0),Te({ref_key:"floatingRef",ref:t},p.$props,{placement:e.placement??"bottom-start"}),xr({default:I(()=>[q(p.$slots,"default",{open:r.value})]),_:2},[r.value?{name:"floating",fn:I(({width:g})=>[N(wYe,Te({style:{width:g}},b(h)("max-h-[inherit] max-w-[inherit]")),{menu:I(()=>[x("div",{id:b(s),ref_key:"menuRef",ref:n,"aria-activedescendant":b(a),"aria-labelledby":o.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:Qt(u,["stop"]),onKeydown:[m[0]||(m[0]=Ma(Qt(v=>f(1),["prevent","stop"]),["down"])),Ma(Qt(d,["prevent","stop"]),["enter"]),Ma(Qt(u,["prevent","stop"]),["escape"]),Ma(Qt(d,["prevent","stop"]),["space"]),Ma(Qt(u,["prevent","stop"]),["tab"]),m[1]||(m[1]=Ma(Qt(v=>f(-1),["prevent","stop"]),["up"]))]},[q(p.$slots,"items",{open:r.value})],40,AYe)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}}),EYe=TYe,_Ye=F({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=Ur({base:["block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left","truncate no-underline text-sm text-c-1","cursor-pointer hover:bg-b-2 highlighted:bg-b-2"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:""}},compoundVariants:[{disabled:!1,active:!0,class:"bg-b-2"}]});return(n,r)=>(y(),M(Wt(e.is),{"aria-disabled":e.disabled,class:Oe(["item",b(fd)("scalar-dropdown-item",b(t)({active:e.active,disabled:e.disabled}))]),type:e.is==="button"?"button":void 0},{default:I(()=>[q(n.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}}),CYe=Ns(_Ye,[["__scopeId","data-v-f5e0d3d8"]]),$Ye={},PYe={class:"-mx-0.75 my-0.75 h-border bg-border"};function IYe(e,t,n,r,a,i){return y(),w("div",PYe)}var RYe=Ns($Ye,[["render",IYe]]),NYe=F({__name:"ScalarDropdownItem",props:{id:{default:()=>Mt()},disabled:{type:Boolean}},emits:["click"],setup(e){const{active:t}=kYe();return(n,r)=>(y(),M(CYe,{id:e.id,active:b(t)===e.id,disabled:e.disabled,role:"menuitem",tabindex:"-1",onClick:r[0]||(r[0]=a=>n.$emit("click",a)),onMouseenter:r[1]||(r[1]=a=>t.value=e.id)},{default:I(()=>[q(n.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}}),c7=Ns(NYe,[["__scopeId","data-v-3402682d"]]),MYe={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"},LYe={class:"text-c-1 whitespace-nowrap"},DYe={class:"text-c-1 overflow-hidden text-ellipsis"},BYe={class:"overflow-hidden text-ellipsis"},UYe={class:"flex h-4 w-4 items-center justify-center"},jYe=F({__name:"DataTableInputSelect",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=$(()=>n.value??[]),i=J(!1),o=J(""),s=J(null);ze(o,g=>{r("update:modelValue",g)});const l=g=>{r("update:modelValue",g),i.value=!1},c=()=>{o.value.trim()&&l(o.value)},u=()=>{o.value.trim()||r("update:modelValue",""),i.value=!1},d=g=>n.modelValue.toString()===g;ze(i,g=>{g&&In(()=>{var v;(v=s.value)==null||v.focus()})});const f=$(()=>n.modelValue!==void 0?n.modelValue:n.default),h=$(()=>a.value.map(g=>{const v=g.toString();return{id:v,label:v,value:v}})),p=$(()=>{const g=new Set(n.modelValue.toString().split(","));return h.value.filter(v=>g.has(v.id))}),m=g=>{const v=g.map(k=>k.value);r("update:modelValue",v.join(","))};return(g,v)=>(y(),w("div",MYe,[e.type==="array"?(y(),M(b(cz),{key:0,modelValue:p.value,options:h.value,"onUpdate:modelValue":m},{default:I(()=>[N(b(zn),{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:I(()=>[x("span",LYe,H(p.value.length>0?p.value.map(k=>k.label).join(", "):"Select a value"),1),N(b(ua),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):i.value?Fi((y(),w("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":v[0]||(v[0]=k=>o.value=k),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:Ma(c,["enter"])},null,544)),[[xd,o.value]]):(y(),M(b(EYe),{key:2,resize:"",value:f.value},{items:I(()=>[(y(!0),w(de,null,it(a.value,k=>(y(),M(b(c7),{key:k,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:k,onClick:S=>l(k)},{default:I(()=>[x("div",{class:Oe(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",d(k)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[N(b(ua),{class:"size-2.5",icon:"Checkmark",thickness:"3"}
378)],2),x("span",BYe,H(k),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?(y(),w(de,{key:0},[a.value.length?(y(),M(b(RYe),{key:0})):U("",!0),N(b(c7),{class:"flex items-center gap-1.5",onClick:v[1]||(v[1]=k=>i.value=!0)},{default:I(()=>[x("div",UYe,[N(b(ua),{icon:"Add",size:"sm"})]),v[2]||(v[2]=x("span",null,"Add value",-1))]),_:1})],64)):U("",!0)]),default:I(()=>[N(b(zn),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:I(()=>[x("span",DYe,H(f.value??"Select a value"),1),N(b(ua),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}}),f2=jYe;function FYe(e){return Oy()?(w0(e),!0):!1}const rH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const QYe=Object.prototype.toString,zYe=e=>QYe.call(e)==="[object Object]",cf=()=>{},HYe=VYe();function VYe(){var e,t;return rH&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function D4(e){return Array.isArray(e)?e:[e]}function qYe(e,t,n){return ze(e,t,{...n,immediate:!0})}const aH=rH?window:void 0;function nm(e){var t;const n=Ve(e);return(t=n==null?void 0:n.$el)!=null?t:n}function B4(...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)),a=$(()=>{const s=D4(Ve(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),i=qYe(()=>{var s,l;return[(l=(s=a.value)==null?void 0:s.map(c=>nm(c)))!=null?l:[aH].filter(c=>c!=null),D4(Ve(a.value?e[1]:e[0])),D4(b(a.value?e[2]:e[1])),Ve(a.value?e[3]:e[2])]},([s,l,c,u])=>{if(n(),!(s!=null&&s.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const d=zYe(u)?{...u}:u;t.push(...s.flatMap(f=>l.flatMap(h=>c.map(p=>r(f,h,p,d)))))},{flush:"post"}),o=()=>{i(),n()};return FYe(n),o}let u7=!1;function ZYe(e,t,n={}){const{window:r=aH,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:cf,cancel:cf,trigger:cf}:cf;if(HYe&&!u7){u7=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(v=>v.addEventListener("click",cf,g)),r.document.documentElement.addEventListener("click",cf,g)}let l=!0;const c=g=>Ve(a).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(k=>k===g.target||g.composedPath().includes(k));{const k=nm(v);return k&&(g.target===k||g.composedPath().includes(k))}});function u(g){const v=Ve(g);return v&&v.$.subTree.shapeFlag===16}function d(g,v){const k=Ve(g),S=k.$.subTree&&k.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(A=>A.el===v.target||v.composedPath().includes(A.el))}const f=g=>{const v=nm(e);if(g.target!=null&&!(!(v instanceof Element)&&u(e)&&d(e,g))&&!(!v||v===g.target||g.composedPath().includes(v))){if("detail"in g&&g.detail===0&&(l=!c(g)),!l){l=!0;return}t(g)}};let h=!1;const p=[B4(r,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),f(g))},{passive:!0,capture:i}),B4(r,"pointerdown",g=>{const v=nm(e);l=!c(g)&&!!(v&&!g.composedPath().includes(v))},{passive:!0}),o&&B4(r,"blur",g=>{setTimeout(()=>{var v;const k=nm(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(k!=null&&k.contains(r.document.activeElement))&&t(g)},0)},{passive:!0})].filter(Boolean),m=()=>p.forEach(g=>g());return s?{stop:m,cancel:()=>{l=!1},trigger:g=>{l=!0,f(g),l=!1}}:m}function vu(e){return Array.isArray?Array.isArray(e):oH(e)==="[object Array]"}function XYe(e){if(typeof e=="string")return e;if(typeof e=="bigint")return e.toString();const t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function L3(e){return e==null?"":XYe(e)}function Wa(e){return typeof e=="string"}function h2(e){return typeof e=="number"}function WYe(e){return e===!0||e===!1||YYe(e)&&oH(e)=="[object Boolean]"}function iH(e){return typeof e=="object"}function YYe(e){return iH(e)&&e!==null}function ro(e){return e!=null}function hg(e){return!e.trim().length}
378function oH(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const GYe="Incorrect 'index' type",D3="Invalid doc index: must be a non-negative integer within the bounds of the docs array",KYe=e=>`Invalid value for key ${e}`,JYe=e=>`Pattern length exceeds max of ${e}.`,eGe=e=>`Missing ${e} property in key`,tGe=e=>`Property 'weight' in key '${e}' must be a positive integer`,nGe="Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.",d7=Object.prototype.hasOwnProperty;var rGe=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{const r=sH(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function sH(e){let t=null,n=null,r=null,a=1,i=null;if(Wa(e)||vu(e))r=e,t=f7(e),n=p2(e);else{if(!d7.call(e,"name"))throw new Error(eGe("name"));const o=e.name;if(r=o,d7.call(e,"weight")&&e.weight!==void 0&&(a=e.weight,a<=0))throw new Error(tGe(p2(o)));t=f7(o),n=p2(o),i=e.getFn??null}return{path:t,id:n,weight:a,src:r,getFn:i}}function f7(e){return vu(e)?e:e.split(".")}function p2(e){return vu(e)?e.join("."):e}function aGe(e,t){const n=[];let r=!1;const a=(i,o,s,l)=>{if(ro(i))if(!o[s])n.push(l!==void 0?{v:i,i:l}:i);else{const c=i[o[s]];if(!ro(c))return;if(s===o.length-1&&(Wa(c)||h2(c)||WYe(c)||typeof c=="bigint"))n.push(l!==void 0?{v:L3(c),i:l}:L3(c));else if(vu(c)){r=!0;for(let u=0,d=c.length;u<d;u+=1)a(c[u],o,s+1,u)}else o.length&&a(c,o,s+1,l)}};return a(e,Wa(t)?t.split("."):t,0),r?n:n[0]}const iGe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},oGe={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},sGe={location:0,threshold:.6,distance:100},lGe={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:aGe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Ut=Object.freeze({...oGe,...iGe,...sGe,...lGe});function cGe(e){return e>=9&&e<=13||e===32||e===160}function uGe(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(a){let i=0,o=!1;for(let l=0;l<a.length;l++)cGe(a.charCodeAt(l))?o=!1:o||(i++,o=!0);if(i===0&&(i=1),n.has(i))return n.get(i);const s=Math.round(r/Math.pow(i,.5*e))/r;return n.set(i,s),s},clear(){n.clear()}}}var K5=class{constructor({getFn:e=Ut.getFn,fieldNormWeight:t=Ut.fieldNormWeight}={}){this.norm=uGe(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((t,n)=>{this._keysMap[t.id]=n})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const e=this.docs.length;this.records=new Array(e);let t=0;if(Wa(this.docs[0]))for(let n=0;n<e;n++){const r=this._createStringRecord(this.docs[n],n);r&&(this.records[t++]=r)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw new Error(D3);if(Wa(e)){const r=this._createStringRecord(e,t);return r&&this.records.push(r),r}const n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw new Error(D3);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&(this.records[t].i-=1)}removeAll(e){const t=new Set;for(const r of e)Number.isInteger(r)&&r>=0&&t.add(r);if(t.size===0)return;this.records=this.records.filter(r=>!t.has(r.i));const n=Array.from(t).sort((r,a)=>r-a);for(const r of this.records){let a=0,i=n.length;for(;a<i;){const o=a+i>>>1;n[o]<r.i?a=o+1:i=o}r.i-=a}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!ro(e)||hg(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){const n={i:t,$:{}};for(let r=0,a=this.keys.length;r<a;r++){const i=this.keys[r],o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(ro(o)){if(vu(o)){const s=[];for(let l=0,c=o.length;l<c;l+=1){const u=o[l];
378if(ro(u)){if(Wa(u)){if(!hg(u)){const d={v:u,i:l,n:this.norm.get(u)};s.push(d)}}else if(ro(u.v)){const d=Wa(u.v)?u.v:L3(u.v);if(!hg(d)){const f={v:d,i:u.i,n:this.norm.get(d)};s.push(f)}}}}n.$[r]=s}else if(Wa(o)&&!hg(o)){const s={v:o,n:this.norm.get(o)};n.$[r]=s}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function lH(e,t,{getFn:n=Ut.getFn,fieldNormWeight:r=Ut.fieldNormWeight}={}){const a=new K5({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(sH)),a.setSources(t),a.create(),a}function dGe(e,{getFn:t=Ut.getFn,fieldNormWeight:n=Ut.fieldNormWeight}={}){const{keys:r,records:a}=e,i=new K5({getFn:t,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function fGe(e=[],t=Ut.minMatchCharLength){const n=[];let r=-1,a=-1,i=0;for(let o=e.length;i<o;i+=1){const s=e[i];s&&r===-1?r=i:!s&&r!==-1&&(a=i-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}function hGe(e,t,n,{location:r=Ut.location,distance:a=Ut.distance,threshold:i=Ut.threshold,findAllMatches:o=Ut.findAllMatches,minMatchCharLength:s=Ut.minMatchCharLength,includeMatches:l=Ut.includeMatches,ignoreLocation:c=Ut.ignoreLocation}={}){if(t.length>32)throw new Error(JYe(32));const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let h=i,p=f;const m=(B,L)=>{const V=B/u;if(c)return V;const Q=Math.abs(f-L);return a?V+Q/a:Q?1:V},g=s>1||l,v=g?Array(d):[];let k;for(;(k=e.indexOf(t,p))>-1;){const B=m(0,k);if(h=Math.min(B,h),p=k+u,g){let L=0;for(;L<u;)v[k+L]=1,L+=1}}p=-1;let S=[],A=1,E=0,_=u+d;const C=1<<u-1;for(let B=0;B<u;B+=1){let L=0,V=_;for(;L<V;)m(B,f+V)<=h?L=V:_=V,V=Math.floor((_-L)/2+L);_=V;let Q=Math.max(1,f-V+1);const ee=o?d:Math.min(f+V,d)+u,ne=Array(ee+2);ne[ee+1]=(1<<B)-1;for(let G=ee;G>=Q;G-=1){const re=G-1,Y=n[e[re]];if(ne[G]=(ne[G+1]<<1|1)&Y,B&&(ne[G]|=(S[G+1]|S[G])<<1|1|S[G+1]),ne[G]&C&&(A=m(B,re),A<=h)){if(h=A,p=re,E=B,p<=f)break;Q=Math.max(1,2*f-p)}}if(m(B+1,f)>h)break;S=ne}if(g&&p>=0){const B=Math.min(d-1,p+u-1+E);for(let L=p;L<=B;L+=1)n[e[L]]&&(v[L]=1)}const R={isMatch:p>=0,score:Math.max(.001,A)};if(g){const B=fGe(v,s);B.length?l&&(R.indices=B):R.isMatch=!1}return R}function pGe(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}function J5(e){if(e.length<=1)return e;e.sort((n,r)=>n[0]-r[0]||n[1]-r[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const a=t[t.length-1],i=e[n];i[0]<=a[1]+1?a[1]=Math.max(a[1],i[1]):t.push(i)}return t}const cH={Å:"l",Å:"L",Ä:"d",Ä:"D",ø:"o",Ã:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",Ã:"ss"},mGe=new RegExp("["+Object.keys(cH).join("")+"]","g"),e0=typeof String.prototype.normalize=="function"?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\u2D
3787F\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,"").replace(mGe,t=>cH[t]):e=>e;var ek=class{constructor(e,{location:t=Ut.location,threshold:n=Ut.threshold,distance:r=Ut.distance,includeMatches:a=Ut.includeMatches,findAllMatches:i=Ut.findAllMatches,minMatchCharLength:o=Ut.minMatchCharLength,isCaseSensitive:s=Ut.isCaseSensitive,ignoreDiacritics:l=Ut.ignoreDiacritics,ignoreLocation:c=Ut.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?e0(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(f,h)=>{this.chunks.push({pattern:f,alphabet:pGe(f),startIndex:h})},d=this.pattern.length;if(d>32){let f=0;const h=d%32,p=d-h;for(;f<p;)u(this.pattern.substr(f,32),f),f+=32;if(h){const m=d-32;u(this.pattern.substr(m),m)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?e0(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};const p={isMatch:!0,score:0};return r&&(p.indices=[[0,e.length-1]]),p}const{location:a,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options,u=[];let d=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:m,startIndex:g})=>{const{isMatch:v,score:k,indices:S}=hGe(e,p,m,{location:a+g,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});v&&(f=!0),d+=k,v&&S&&u.push(...S)});const h={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(h.indices=J5(u)),h}};const gGe=new Set(["fuzzy","include"]);function bGe(e){return e.startsWith("inverse")}const B3=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){const n=t===e;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let n=0,r;const a=[],i=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+i,a.push([r,n-1]);const o=!!a.length;return{isMatch:o,score:o?0:1,indices:a}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){const n=t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){const n=!t.startsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){const n=!t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){const n=t.endsWith(e);return{isMatch:n,score:n?0:1,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){const n=t.indexOf(e)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{const n=new ek(e,{location:t.location??Ut.location,threshold:t.threshold??Ut.threshold,distance:t.distance??Ut.distance,includeMatches:t.includeMatches??Ut.includeMatches,findAllMatches:t.findAllMatches??Ut.findAllMatches,minMatchCharLength:t.minMatchCharLength??Ut.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??Ut.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??Ut.ignoreDiacritics,ignoreLocation:t.ignoreLocation??Ut.ignoreLocation});return{type:"fuzzy",search(r){return n.searchIn(r)}
378}}}],h7=B3.length,yGe="\0",vGe="|";function OGe(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&e[r]===" ";)r++;if(r>=n)break;let a=r;for(;a<n&&e[a]!==" "&&e[a]!=='"';)a++;if(a<n&&e[a]==='"'){for(a++;a<n;){if(e[a]==='"'){const i=a+1;if(i>=n||e[i]===" "){a++;break}if(e[i]==="$"&&(i+1>=n||e[i+1]===" ")){a+=2;break}}a++}t.push(e.substring(r,a)),r=a}else{for(;a<n&&e[a]!==" ";)a++;t.push(e.substring(r,a)),r=a}}return t}function p7(e,t){const n=e.match(t);return n?n[1]:null}function SGe(e,t={}){return e.replace(/\\\|/g,yGe).split(vGe).map(n=>{const r=OGe(n.replace(/\u0000/g,"|").trim()).filter(i=>i&&!!i.trim()),a=[];for(let i=0,o=r.length;i<o;i+=1){const s=r[i];let l=!1,c=-1;for(;!l&&++c<h7;){const u=B3[c],d=p7(s,u.multiRegex);d&&(a.push(u.create(d,t)),l=!0)}if(!l)for(c=-1;++c<h7;){const u=B3[c],d=p7(s,u.singleRegex);if(d){a.push(u.create(d,t));break}}}return a})}var wGe=class{constructor(e,{isCaseSensitive:t=Ut.isCaseSensitive,ignoreDiacritics:n=Ut.ignoreDiacritics,includeMatches:r=Ut.includeMatches,minMatchCharLength:a=Ut.minMatchCharLength,ignoreLocation:i=Ut.ignoreLocation,findAllMatches:o=Ut.findAllMatches,location:s=Ut.location,threshold:l=Ut.threshold,distance:c=Ut.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:a,findAllMatches:o,ignoreLocation:i,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=n?e0(e):e,this.pattern=e,this.query=SGe(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:a}=this.options;e=r?e:e.toLowerCase(),e=a?e0(e):e;let i=0;const o=[];let s=0,l=!1;for(let c=0,u=t.length;c<u;c+=1){const d=t[c];o.length=0,i=0,l=!1;for(let f=0,h=d.length;f<h;f+=1){const p=d[f],{isMatch:m,indices:g,score:v}=p.search(e);if(m)i+=1,s+=v,bGe(p.type)&&(l=!0),n&&(gGe.has(p.type)?o.push(...g):o.push(g));else{s=0,i=0,o.length=0,l=!1;break}}if(i){const f={isMatch:!0,score:s/i};return l&&(f.hasInverse=!0),n&&(f.indices=J5(o)),f}}return{isMatch:!1,score:1}}};const U3=[];function tk(...e){U3.push(...e)}function kb(e,t){for(let n=0,r=U3.length;n<r;n+=1){const a=U3[n];if(a.condition(e,t))return new a(e,t)}return new ek(e,t)}const Ab={AND:"$and",OR:"$or"},j3={PATH:"$path",PATTERN:"$val"},F3=e=>!!(e[Ab.AND]||e[Ab.OR]),xGe=e=>!!e[j3.PATH],kGe=e=>!vu(e)&&iH(e)&&!F3(e),m7=e=>({[Ab.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function uH(e,t,{auto:n=!0}={}){const r=a=>{if(Wa(a)){const l={keyId:null,pattern:a};return n&&(l.searcher=kb(a,t)),l}const i=Object.keys(a),o=xGe(a);if(!o&&i.length>1&&!F3(a))return r(m7(a));if(kGe(a)){const l=o?a[j3.PATH]:i[0],c=o?a[j3.PATTERN]:a[l];if(!Wa(c))throw new Error(KYe(l));const u={keyId:p2(l),pattern:c};return n&&(u.searcher=kb(c,t)),u}const s={children:[],operator:i[0]};return i.forEach(l=>{const c=a[l];vu(c)&&c.forEach(u=>
378{s.children.push(r(u))})}),s};return F3(e)||(e=m7(e)),r(e)}function Q3(e,{ignoreFieldNorm:t=Ut.ignoreFieldNorm}){let n=1;return e.forEach(({key:r,norm:a,score:i})=>{const o=r?r.weight:null;n*=Math.pow(i===0&&o?Number.EPSILON:i,(o||1)*(t?1:a))}),n}function AGe(e,{ignoreFieldNorm:t=Ut.ignoreFieldNorm}){e.forEach(n=>{n.score=Q3(n.matches,{ignoreFieldNorm:t})})}var TGe=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){const t=this.heap;for(;e>0;){const n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;const r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){const t=this.heap,n=t.length;let r=e;do{e=r;const a=2*e+1,i=2*e+2;if(a<n&&this.comparator(t[a],t[r])>0&&(r=a),i<n&&this.comparator(t[i],t[r])>0&&(r=i),r!==e){const o=t[e];t[e]=t[r],t[r]=o}}while(r!==e)}};function EGe(e){const t=[];return e.matches.forEach(n=>{if(!ro(n.indices)||!n.indices.length)return;const r={indices:n.indices,value:n.value};n.key&&(r.key=n.key.id),n.idx>-1&&(r.refIndex=n.idx),t.push(r)}),t}function _Ge(e,t,{includeMatches:n=Ut.includeMatches,includeScore:r=Ut.includeScore}={}){return e.map(a=>{const{idx:i}=a,o={item:t[i],refIndex:i};return n&&(o.matches=EGe(a)),r&&(o.score=a.score),o})}const CGe=/[\p{L}\p{M}\p{N}_]+/gu,g7=new WeakSet;function $Ge(e){g7.has(e)||(g7.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function PGe(e){if(typeof e=="function"){let t=!1;return n=>{const r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(a=>typeof a!="string")))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}return e instanceof RegExp?(e.global||$Ge(e),t=>t.match(e)||[]):t=>t.match(CGe)||[]}function z3({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){const r=PGe(n);return{tokenize(a){return e||(a=a.toLowerCase()),t&&(a=e0(a)),r(a)}}}var IGe=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=z3({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});const n=this.analyzer.tokenize(e),{df:r,fieldCount:a}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(const i of n){this.termSearchers.push(new ek(i,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const o=r.get(i)||0,s=Math.log(1+(a-o+.5)/(o+.5));this.idfWeights.push(s)}this.combineAll=t.tokenMatch==="all",this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let n=0,r=0,a=0,i=0;const o=this.combineAll&&!this.useMask?new Set:null;for(let c=0;c<this.termSearchers.length;c++){const u=this.termSearchers[c].searchIn(e),d=this.idfWeights[c];r+=d,u.isMatch&&(a++,n+=d*(1-u.score),u.indices&&t.push(...u.indices),this.combineAll&&(this.useMask?i|=1<<c:o.add(c)))}if(a===0)return{isMatch:!1,score:1};const s=r>0?1-n/r:0,l={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(l.indices=J5(t)),this.combineAll&&(this.useMask?l.matchedMask=i:l.matchedTerms=o,l.termCount=this.numTerms),l}};function U4(e,t,n,r){const a=r.tokenize(t);if(!a.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);const i=new Set(a);let o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(const s of i)o.set(s,(o.get(s)||0)+1),e.df.set(s,(e.df.get(s)||0)+1)}function dH(e,t,n,r){const{i:a,v:i,$:o}=t;if(i!==void 0){U4(e,i,a,r);return}if(o)for(let s=0;s<n;s++){const l=o[s];if(l)if(Array.isArray(l))for(const c of l)U4(e,c.v,a,r);else U4(e,l.v,a,r)}}function RGe(e,t,n){const r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const a of e)dH(r,a,t,n);return r}function NGe(e,t,n,r){dH(e,t,n,r)}function MGe(e,t){const n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);const r=e.docTermFieldHits.get(t);if(r){for(const[a,i]of r){const o=(e.df.get(a)||0)-i;o<=0?e.df.delete(a):e.df.set(a,o)}e.docTermFieldHits.delete(t)}}function b7(e,t){if(t.length===0)return;const n=Array.from(new Set(t)).sort((s,l)=>s-l);for(const s of n)MGe(e,s);const r=s=>{let l=0,c=n.length;for(;l<c;){const u=l+c>>>1;n[u]<s?l=u+1:c=u}return s-l},a=n[0],i=new Map;for(const[s,l]of e.docFieldCount)i.set(s>a?r(s):s,l);e.docFieldCount=i;const o=new Map;for(const[s,l]of e.docTermFieldHits)o.set(s>a?r(s):s,l);e.docTermFieldHits=o}var Ou=class{constructor(e,t,n){this.options={...Ut,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new rGe(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const t=kb(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof K5))throw new Error(GYe);if(this._myIndex=t||lH(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const n=z3({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=RGe(this._myIndex.records,this._myIndex.keys.length,n)}this._invalidateSearcherCache()}add(e){if(!ro(e))return;this._docs.push(e);const t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){const n=z3({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});NGe(this._invertedIndex,t,this._myIndex.keys.length,n)}this._invalidateSearcherCache()}remove(e=()=>!1){const t=[],n=[];for(let r=0,a=this._docs.length;r<a;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&b7(this._invertedIndex,n);const r=new Set(n);this._docs=this._docs.filter((a,i)=>!r.has(i)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw new Error(D3);this._invertedIndex&&b7(this._invertedIndex,[e]);const t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}
378_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){const{limit:n=-1}=t||{},{includeMatches:r,includeScore:a,shouldSort:i,sortFn:o,ignoreFieldNorm:s}=this.options;if(Wa(e)&&!e.trim()){let f=this._docs.map((h,p)=>({item:h,refIndex:p}));return h2(n)&&n>-1&&(f=f.slice(0,n)),f}const l=i&&h2(n)&&n>0&&Wa(e),c=o,u=(f,h)=>c(f,h)||f.idx-h.idx;let d;if(l){const f=new TGe(n,u);Wa(this._docs[0])?this._searchStringList(e,{heap:f,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:f,ignoreFieldNorm:s}),d=f.extractSorted()}else d=Wa(e)?Wa(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),AGe(d,{ignoreFieldNorm:s}),i&&d.sort(Wa(e)?u:c),h2(n)&&n>-1&&(d=d.slice(0,n));return _Ge(d,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),a=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:i}=this._myIndex,o=t?null:[];return i.forEach(({v:s,i:l,n:c})=>{if(!ro(s))return;const u=r.searchIn(s);if(u.isMatch){const d={score:u.score,value:s,norm:c,indices:u.indices};a&&(d.matchedMask=u.matchedMask,d.matchedTerms=u.matchedTerms,d.termCount=u.termCount);const f=[d];if(!a||this._coversAllTokens(f)){const h={item:s,idx:l,matches:f};t?(h.score=Q3(h.matches,{ignoreFieldNorm:n}),t.insert(h)):o.push(h)}}}),o}_searchLogical(e){const t=uH(e,this.options),n=this._normalizedKeys(),r=(s,l,c)=>{if(!("children"in s)){const{keyId:h,searcher:p}=s;let m;return h===null?(m=[],n.forEach((g,v)=>{m.push(...this._findMatches({key:g,value:l[v],searcher:p}))})):m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:p}),m&&m.length?[{idx:c,item:l,matches:m}]:[]}const{children:u,operator:d}=s,f=[];for(let h=0,p=u.length;h<p;h+=1){const m=u[h],g=r(m,l,c);if(g.length)f.push(...g);else if(d===Ab.AND)return[]}return f},a=this._myIndex.records,i=new Map,o=[];return a.forEach(({$:s,i:l})=>{if(ro(s)){const c=r(t,s,l);c.length&&(i.has(l)||(i.set(l,{idx:l,item:s,matches:[]}),o.push(i.get(l))),c.forEach(({matches:u})=>{i.get(l).matches.push(...u)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),a=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:i}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return i.forEach(({$:l,i:c})=>{if(!ro(l))return;const u=[];let d=!1,f=!1;if(o.forEach((h,p)=>{const m=this._findMatches({key:h,value:l[p],searcher:r});m.length?(u.push(...m),m[0].hasInverse&&(f=!0)):d=!0}),!(f&&d)&&u.length&&(!a||this._coversAllTokens(u))){const h={idx:c,item:l,matches:u};t?(h.score=Q3(h.matches,{ignoreFieldNorm:n}),t.insert(h)):s.push(h)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!ro(t))return[];const r=[];if(vu(t))t.forEach(({v:a,i,n:o})=>{if(!ro(a))return;const s=n.searchIn(a);if(s.isMatch){const l={score:s.score,key:e,value:a,idx:i,norm:o,indices:s.indices,hasInverse:s.hasInverse};s.termCount!==void 0&&(l.matchedMask=s.matchedMask,l.matchedTerms=s.matchedTerms,l.termCount=s.termCount),r.push(l)}});else{const{v:a,n:i}=t,o=n.searchIn(a);if(o.isMatch){const s={score:o.score,key:e,value:a,norm:i,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(s.matchedMask=o.matchedMask,s.matchedTerms=o.matchedTerms,s.termCount=o.termCount),r.push(s)}}return r}_coversAllTokens(e){const t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let r=0;for(let a=0;a<e.length;a++)r|=e[a].matchedMask||0;return r===2**t-1}const n=new Set;for(let r=0;r<e.length;r++){const a=e[r].matchedTerms;if(a)for(const i of a)n.add(i)}return n.size===t}};Ou.version="7.5.0";Ou.createIndex=lH;Ou.parseIndex=dGe;Ou.config=Ut;Ou.match=function(e,t,n){if(n&&n.useTokenSearch)throw new Error(nGe);return kb(e,{...Ut,...n}).searchIn(t)};Ou.parseQuery=uH;tk(wGe);tk(IGe);Ou.use=function(...e){e.forEach(t=>tk(t))};var y7=Ou,LGe=["id"],DGe=["id","aria-selected","onClick"],BGe={class:"flex items-center gap-2 whitespace-nowrap"},UGe={key:1,class:"text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold"},jGe={class:"max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap"},v7=12,FGe=F({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:["select","redirect","close"],setup(e,{expose:t,emit:n}){const r=n,a=J(!0),i=J(null),o=J(0),s=()=>{r("redirect"),a.value=!1,r("close")},l=$(()=>{var C;return(((C=e.environment)==null?void 0:C.variables)??[]).map(R=>({key:R.name,value:typeof R.value=="string"?R.value:R.value.default}))}),c=$(()=>e.contextFunctionItems.map(C=>({kind:"context",key:C.key,secondary:C.description}))),u=$(()=>l.value.filter(({key:C,value:R})=>C!==""||R!=="").map(({key:C,value:R})=>({kind:"env",key:C,secondary:R}))),d=$(()=>u.value.map(C=>({...C,fuseText:`${C.key} ${C.secondary}`}))),f=$(()=>c.value.map(C=>({...C,fuseText:`${C.key} ${C.secondary}`}))),h=$(()=>new y7(d.value,{keys:["fuseText"],threshold:.35})),p=$(()=>new y7(f.value,{keys:["fuseText"],threshold:.35})),m=$(()=>{const C=new Map(e.contextFunctionItems.map(R=>[R.key,R]));return Tpe.flatMap(R=>{const B=C.get(R);return B?[{kind:"context",key:B.key,secondary:B.description}]:[]})}),g=$(()=>{if(!e.query.trim())return[...u.value.slice(-4),...m.value];const C=e.query.trim(),R=h.value.search(C,{limit:v7}).map(V=>{const{kind:Q,key:ee,secondary:ne}=V.item;return{kind:Q,key:ee,secondary:ne}}),B=v7-R.length,L=B>0?p.value.search(C,{limit:B}).map(V=>{const{kind:Q,key:ee,secondary:ne}=V.item;return{kind:Q,key:ee,secondary:ne}}):[];return[...R,...L]}),v=C=>
378e.listboxId?`${e.listboxId}-option-${C}`:void 0,k=$(()=>g.value.length?v(o.value):void 0),S=C=>{r("select",C)};ze(()=>g.value.length,C=>{o.value>C-1&&(o.value=Math.max(0,C-1))}),t({handleArrowKey:C=>{const R=C==="up"?-1:1,B=g.value.length;B!==0&&(o.value=(o.value+R+B)%B)},handleSelect:()=>{if(o.value>=0){const C=g.value[o.value];C&&S(C.key)}},activeOptionId:k}),Lt(()=>{o.value=0});const _=$(()=>{var C,R;return{left:(((C=e.dropdownPosition)==null?void 0:C.left)??0)+"px",top:(((R=e.dropdownPosition)==null?void 0:R.top)??0)+5+"px"}});return ZYe(i,()=>{a.value=!1,r("close")},{ignore:[i]}),(C,R)=>a.value?(y(),M(b(SU),{key:0,class:"scalar-client"},{default:I(()=>[x("div",{ref_key:"dropdownRef",ref:i,class:"custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:Pr(_.value),onMousedown:R[0]||(R[0]=Qt(()=>{},["prevent"]))},[x("ul",{id:e.listboxId,"aria-label":"Variable suggestions",class:"gap-1/2 flex flex-col",role:"listbox"},[(y(!0),w(de,null,it(g.value,(B,L)=>{var V;return y(),w("li",{key:`${B.kind}-${B.key}`,id:v(L),"aria-selected":L===o.value,class:Oe(["font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-3":L===o.value}]),role:"option",onClick:Q=>S(B.key)},[x("div",BGe,[B.kind==="env"?(y(),w("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:Pr({backgroundColor:(V=e.environment)==null?void 0:V.color})},null,4)):(y(),w("span",UGe," fn ")),ae(" "+H(B.key),1)]),x("span",jGe,H(B.secondary),1)],10,DGe)}),128))],8,LGe),g.value.length?U("",!0):(y(),M(b(zn),{key:0,class:"font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:s},{default:I(()=>[N(b(j6),{class:"size-3"}),R[1]||(R[1]=ae(" Add Variable ",-1))]),_:1})),R[2]||(R[2]=x("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1))],36)]),_:1})):U("",!0)}}),QGe=FGe,zGe=F({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{},target:{}},setup(e){const t=e,n=t.context.type==="contextFunction",r=$(()=>{if(!n||typeof document>"u"||t.context.type!=="contextFunction")return"";const o=document.createElement("div");return cG(Dn("div",{class:"flex flex-col gap-1.5 text-left"},[Dn("span",{},t.context.details),Dn("div",{class:"text-[color:var(--scalar-color-3)] text-[10px] font-normal"},"Computed at request execution")]),o),o.innerHTML}),a=$(()=>t.context.type==="environment"?t.context.value:""),i=J(t.target);return mU({content:n?r:a,contentTarget:n?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:i}),(o,s)=>null}}),fH=zGe,hH=(e,t)=>{var r,a;const n=(r=e==null?void 0:e.variables)==null?void 0:r.find(i=>i.name===t);if(n)return typeof n.value=="string"?n.value:(a=n.value)==null?void 0:a.default},HGe=(e,t)=>{if(I6(e))return{type:"contextFunction",identifier:e,details:P6(e)};const n=hH(t,e);return{type:"environment",name:e,value:n||"No value",isDefined:!!n}},Iu=(e,t)=>{if(!t||!e.includes("{{"))return"";const n=new RegExp(Hi.VARIABLES.source,Hi.VARIABLES.flags);let r="",a;for(;(a=n.exec(e))!==null;)r+=`|${a[1]??""}`;return r},pg=e=>typeof e=="string"?e:e==null?"":JSON.stringify(e);let VGe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",qGe=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=VGe[n[e]&63];return t};var ZGe={class:"whitespace-nowrap"},XGe=["id"],WGe=["aria-activedescendant","aria-autocomplete","aria-controls","aria-expanded","aria-invalid","aria-label","aria-readonly","aria-required","contenteditable","data-placeholder","role"],YGe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},GGe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1"},KGe={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 peer-has-[.code-input-lite__editor:focus]:opacity-0"},JGe=F({inheritAttrs:!1,__name:"CodeInputLite",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:["update:modelValue","submit","blur","navigate"],setup(e,{expose:t,emit:n}){const r=n,a=y8(),i=$(()=>
378typeof a["aria-label"]=="string"?a["aria-label"]:void 0),o=J(null),s=$(()=>typeof a.id=="string"?a.id:o.value??void 0),l=()=>{(typeof a.id!="string"||!a.id)&&o.value===null&&(o.value=`id-${qGe()}`)},c=ai("editorRef"),u=J(null),d=$(()=>s.value?`${s.value}-listbox`:void 0),f=$(()=>{var he;return(he=u.value)==null?void 0:he.activeOptionId}),h=J(!1),p=J(!0),m=J(!1),g=he=>he.trim().length===0,v=$(()=>{var he;return(he=e.enum)!=null&&he.length?!1:e.type==="boolean"||Array.isArray(e.type)&&e.type.includes("boolean")}),k=$(()=>e.nullable?["true","false","null"]:["true","false"]),S=$(()=>Array.isArray(e.type)?e.type.find(he=>he!=="null")??"string":e.type),A=he=>r("update:modelValue",he);let E=[],_=!1;const C=()=>{for(const he of E)he.unmount();E=[]},R=()=>{if(!c.value||e.layout==="modal")return;const he=c.value.querySelectorAll(".scalar-pill");for(const Me of he){const Ge=MI(fH,{context:HGe(Me.dataset.variable??"",e.environment),target:Me});Ge.mount(document.createElement("div")),E.push(Ge)}},B=(he,Me,Ge)=>{var ln;const Et=I6(he),At=document.createElement("span");At.className=Et?"scalar-pill scalar-pill--context-fn":"scalar-pill",At.contentEditable="false",At.dataset.variable=he,At.dataset.pillStart=String(Me),At.dataset.pillEnd=String(Ge);const Yt=Et?"var(--scalar-color-3)":((ln=e.environment)==null?void 0:ln.color)||"var(--scalar-color-1)";return At.style.setProperty("--tw-bg-base",Yt),!Et&&!hH(e.environment,he)&&(At.style.opacity="0.5"),At.textContent=he,At},L=he=>{const Me=c.value;if(!Me)return;if(C(),Me.replaceChildren(),!e.withVariables||!he.includes("{{")){he&&Me.appendChild(document.createTextNode(he)),p.value=g(he);return}const Ge=new RegExp(Hi.VARIABLES.source,Hi.VARIABLES.flags);let Et=0,At;for(;(At=Ge.exec(he))!==null;){const Yt=At.index,ln=Yt+At[0].length;Yt>Et&&Me.appendChild(document.createTextNode(he.slice(Et,Yt))),Me.appendChild(B(At[1]??"",Yt,ln)),Et=ln}Et<he.length&&Me.appendChild(document.createTextNode(he.slice(Et))),p.value=!1,_&&R()},V=he=>he.nodeType===Node.TEXT_NODE?(he.textContent??"").length:he instanceof HTMLElement&&he.classList.contains("scalar-pill")?`{{${he.dataset.variable??""}}}`.length:(he.textContent??"").length,Q=()=>{const he=c.value;if(!he)return"";let Me="";for(const Ge of Array.from(he.childNodes))Ge.nodeType===Node.TEXT_NODE?Me+=Ge.textContent??"":Ge instanceof HTMLElement&&Ge.classList.contains("scalar-pill")?Me+=`{{${Ge.dataset.variable??""}}}`:Ge instanceof HTMLElement&&(Me+=Ge.textContent??"");return Me};let ee=null,ne="";const G=()=>{var At,Yt,ln;const he=((At=e.environment)==null?void 0:At.color)??"",Me=e.withVariables?"1":"0",Ge=((Yt=e.environment)==null?void 0:Yt.variables)??[];let Et="";for(const Or of Ge){const Yn=typeof Or.value=="string"?Or.value:((ln=Or.value)==null?void 0:ln.default)??"";Et+=`�${Or.name}�${Yn}`}return`${he}|${Me}|${Et}`},re=()=>{_||(_=!0,R())},Y=()=>{const he=c.value;if(!he)return null;const Me=window.getSelection();if(!Me||Me.rangeCount===0)return null;const Ge=Me.getRangeAt(0);if(Ge.startContainer!==he&&!he.contains(Ge.startContainer))return null;if(Ge.startContainer===he){let At=0;for(let Yt=0;Yt<Ge.startOffset&&Yt<he.childNodes.length;Yt++)At+=V(he.childNodes.item(Yt));return At}let Et=0;for(const At of Array.from(he.childNodes)){if(At===Ge.startContainer)return Et+Ge.startOffset;if(At.contains(Ge.startContainer))return Ge.startOffset===0?Et:Et+V(At);Et+=V(At)}return Et},ye=he=>{const Me=c.value;if(!Me)return;const Ge=document.createRange();let Et=0,At=!1;for(const ln of Array.from(Me.childNodes)){const Or=V(ln);if(Et+Or>=he){if(ln.nodeType===Node.TEXT_NODE){const Yn=Math.max(0,Math.min(he-Et,(ln.textContent??"").length));Ge.setStart(ln,Yn)}else he-Et<=0?Ge.setStartBefore(ln):Ge.setStartAfter(ln);At=!0;break}Et+=Or}At?Ge.collapse(!0):(Ge.selectNodeContents(Me),Ge.collapse(!1));const Yt=window.getSelection();Yt&&(Yt.removeAllRanges(),Yt.addRange(Ge))},Ee=J(!1),j=J(""),xe=J({left:0,top:0}),Ie=$(()=>e.withFakeData?Epe.map(he=>({key:he,description:P6(he)})):[]),Z=$(()=>Ee.value&&e.withVariables&&e.layout!=="modal"&&(!!e.environment||e.withFakeData)),rt=()=>{if(!c.value)return;const he=Y();if(he===null){Ee.value=!1;return}const Me=Q().slice(0,he),Ge=Me.lastIndexOf("{{");
378if(Ge<=Me.lastIndexOf("}}")){Ee.value=!1;return}j.value=Me.slice(Ge+2),l(),Ee.value=!0,In(()=>{const Et=window.getSelection();if(!Et||Et.rangeCount===0||!c.value)return;const At=Et.getRangeAt(0).cloneRange();At.collapse(!0);const Yt=At.getBoundingClientRect(),ln=c.value.getBoundingClientRect();xe.value={left:Yt.left||ln.left,top:Yt.bottom||ln.bottom}})},ie=he=>{if(e.readOnly)return;const Me=Y()??0,Ge=Q(),Et=Math.max(0,Me-j.value.length-2),At=Me,Yt=`${Ge.slice(0,Et)}{{${he}}}${Ge.slice(At)}`,ln=Et+`{{${he}}}`.length;ee=Iu(Yt,e.withVariables),L(Yt),ye(ln),Ee.value=!1,Pe(Yt,{skipDropdownCheck:!0})},Pe=(he,Me={})=>{const Ge=he===pg(e.modelValue);(e.alwaysEmitChange||!Ge)&&r("update:modelValue",he),Me.skipDropdownCheck||rt()},gt=()=>{const he=Q();p.value=g(he);const Me=Iu(he,e.withVariables);if(!m.value&&Me!==ee){const Ge=Y();ee=Me,L(he),Ge!==null&&ye(Ge)}Pe(he)},Zt=()=>{m.value=!0},St=()=>{m.value=!1,gt()},sn=()=>{h.value=!0,l(),re()},Xn=he=>{h.value=!1,Ee.value=!1;const Me=Q();e.emitOnBlur&&Me&&r("submit",Me,he),r("blur",Me,he)},Wn=he=>{var Ge;he.preventDefault();const Me=((Ge=he.clipboardData)==null?void 0:Ge.getData("text/plain"))??"";Me&&(document.execCommand("insertText",!1,Me.replace(/\r?\n/g," ")),gt())},ra=he=>{var Me,Ge;if(Ee.value){if(he.key==="ArrowDown"||he.key==="ArrowUp"){he.preventDefault(),he.stopPropagation(),(Me=u.value)==null||Me.handleArrowKey(he.key==="ArrowDown"?"down":"up");return}if(he.key==="Enter"){he.preventDefault(),he.stopPropagation(),(Ge=u.value)==null||Ge.handleSelect();return}if(he.key==="Escape"){he.preventDefault(),he.stopPropagation(),Ee.value=!1;return}}if(he.key==="Enter"){he.preventDefault(),r("submit",Q(),he);return}},vr=he=>{const Me=he.target instanceof Element?he.target.closest(".scalar-pill"):null;if(!Me)return;const Ge=c.value;if(!Ge)return;Ge.focus();const Et=document.createRange();Et.selectNode(Me);const At=window.getSelection();At==null||At.removeAllRanges(),At==null||At.addRange(Et),rt()};return Lt(()=>{var Me;const he=pg(e.modelValue);ee=Iu(he,e.withVariables),ne=G(),L(he),p.value=g(he),Object.hasOwn(a,"autofocus")&&((Me=c.value)==null||Me.focus())}),ze(()=>e.modelValue,he=>{const Me=pg(he);p.value=g(Me),Q()!==Me&&(ee=Iu(Me,e.withVariables),L(Me))}),ze(c,he=>{if(!he||!g(Q()))return;const Me=pg(e.modelValue);Me!==""&&(ee=Iu(Me,e.withVariables),L(Me))},{flush:"sync"}),ze([()=>e.environment,()=>e.withVariables],()=>{const he=G();if(he===ne||(ne=he,ee===""))return;ee=Iu(Q(),e.withVariables);const Me=Y();L(Q()),Me!==null&&ye(Me)},{deep:!0}),Qa(()=>{C()}),t({focus:he=>{const Me=c.value;if(!Me||(Me.focus(),!to(he)))return;const Ge=Q().length;ye(he==="start"?0:he==="end"?Ge:he)},setContent:(he="")=>{Q()!==he&&(ee=Iu(he,e.withVariables),L(he),p.value=g(he))},getValue:()=>Q(),cursorPosition:()=>{const he=Y();return he===null?void 0:he},isFocused:h,editorRef:c}),(he,Me)=>{var Ge,Et;return y(),w(de,null,[e.disabled?(y(),w("div",{key:0,class:Oe(["text-c-2 flex cursor-default items-center justify-center",{"font-code pr-2 pl-1 text-base":e.layout==="modal","px-2":e.layout!=="modal","line-through":e.linethrough}]),"data-testid":"code-input-lite-disabled"},[x("span",ZGe,H(e.modelValue),1)],2)):(Ge=e.enum)!=null&&Ge.length?(y(),M(f2,{key:1,default:e.default,modelValue:e.modelValue,type:S.value,value:e.enum,"onUpdate:modelValue":A},null,8,["default","modelValue","type","value"])):v.value?(y(),M(f2,{key:2,default:e.default,modelValue:e.modelValue,value:k.value,"onUpdate:modelValue":A},null,8,["default","modelValue","value"])):(Et=e.examples)!=null&&Et.length?(y(),M(f2,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":A},null,8,["default","modelValue","value"])):(y(),w("div",Te({key:4,id:s.value},he.$attrs,{class:["code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"code-input-lite--error":e.error,"code-input-lite--empty":p.value,"line-through":e.linethrough}]}),[x("div",{ref_key:"editorRef",ref:c,"aria-activedescendant":Z.value?f.value:void 0,"aria-autocomplete":e.withVariables?"list":void 0,"aria-controls":Z.value?d.value:void 0,"aria-expanded":Z.value?"true":void 0,"aria-invalid":e.error?"true":void 0,"aria-label":i.value,"aria-readonly":e.readOnly?"true":void 0,"aria-required":e.required?"true":void 0,class:"code-input-lite__editor",contenteditable:e.readOnly?"false":"true","data-placeholder":e.placeholder,role:e.withVariables?"combobox":"textbox",spellcheck:"false",onBlur:Xn,onClick:vr,onCompositionend:St,onCompositionstart:Zt,onFocus:sn,onInput:gt,onKeydown:ra,onPaste:Wn,onPointerover:re},null,40,WGe)],16,XGe)),he.$slots.warning?(y(),w("div",YGe,[q(he.$slots,"warning",{},void 0,!0)])):U("",!0),he.$slots.icon?(y(),w("div",GGe,[q(he.$slots,"icon",{},void 0,!0)])):U("",!0),e.required?(y(),w("div",KGe," Required ")):U("",!0),Z.value?(y(),M(QGe,{key:8,ref_key:"dropdownRef",ref:u,contextFunctionItems:Ie.value,dropdownPosition:xe.value,environment:e.environment,listboxId:d.value,query:j.value,onClose:Me[0]||(Me[0]=At=>Ee.value=!1),onRedirect:Me[1]||(Me[1]=At=>r("navigate",{page:"document",path:"environment"})),onSelect:ie},null,8,["contextFunctionItems","dropdownPosition","environment","listboxId","query"])):U("",!0)],64)}}}),eKe=Qv(JGe,[["__scopeId","data-v-b22775cd"]]),tKe=["for"],nKe={class:"relative flex min-w-0 flex-1"},rKe=["readOnly","type","value"],aKe={key:1,class:"centered-y text-orange absolute right-7 text-xs"},iKe=F({inheritAttrs:!1,__name:"DataTableInput",props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){const n=e,r=t,a=J(!0),i=J(!1),o=ai("codeInput"),s=()=>!i.value&&r("inputBlur"),l=$(()=>n.type==="password"?"text":n.type??"text"),c=()=>{var u,d;!((u=n.enum)!=null&&u.length)&&!n.readOnly&&((d=o.value)==null||d.focus())};return(u,d)=>(y(),M(Sh,{class:Oe(["relative flex",e.containerClass])},{default:I(()=>[u.$slots.default?(y(),w("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c},[q(u.$slots,"default",{},void 0,!0),d[6]||(d[6]=ae(": ",-1))],8,tKe)):U("",!0),x("div",nKe,[n.enum&&n.enum.length?(y(),M(f2,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":d[
3780]||(d[0]=f=>r("update:modelValue",f))},null,8,["canAddCustomValue","modelValue","value"])):(y(),w(de,{key:1},[a.value&&e.type==="password"?(y(),w("input",Te({key:0},e.id?{...u.$attrs,id:e.id}:u.$attrs,{autocomplete:"off",class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1",{"scalar-password-input":e.type==="password"}],"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:l.value,value:e.modelValue,onInput:d[1]||(d[1]=f=>r("update:modelValue",f.target.value??""))}),null,16,rKe)):(y(),M(b(eKe),Te({key:1},u.$attrs,{id:e.id,ref_key:"codeInput",ref:o,class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",[e.type==="password"&&e.description&&"pr-12",e.description&&"pr-8",e.type==="password"&&"scalar-password-input"]],environment:e.environment,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,type:l.value,withFakeData:e.withFakeData,onBlur:s,onFocus:d[2]||(d[2]=f=>r("inputFocus")),"onUpdate:modelValue":d[3]||(d[3]=f=>r("update:modelValue",f))}),null,16,["id","class","environment","modelValue","readOnly","required","type","withFakeData"]))],64))]),u.$slots.warning?(y(),w("div",aKe,[q(u.$slots,"warning",{},void 0,!0)])):U("",!0),q(u.$slots,"icon",{},void 0,!0),e.modelValue?(y(),M(b(So),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:b(Yh),label:"Clear Value",onClick:d[4]||(d[4]=f=>r("update:modelValue",""))},null,8,["icon"])):U("",!0),e.type==="password"?(y(),M(b(So),{key:3,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25","data-testid":"data-table-password-toggle",icon:a.value?b(uge):b(yge),label:a.value?"Show Password":"Hide Password",onClick:d[5]||(d[5]=f=>a.value=!a.value)},null,8,["icon","label"])):U("",!0)]),_:3},8,["class"]))}}),oKe=Qv(iKe,[["__scopeId","data-v-a6f4752a"]]),sKe=["for"],lKe=F({__name:"RequestAuthDataTableInput",props:Cn({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:Cn(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=Tn(e,"modelValue"),a=Mt();return(i,o)=>(y(),M(b(oKe),Te({id:b(a)},i.$attrs,{modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=s=>r.value=s),canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:o[1]||(o[1]=s=>n("inputBlur")),onInputFocus:o[2]||(o[2]=s=>n("inputFocus")),onSelectVariable:o[3]||(o[3]=s=>n("selectVariable",s))}),{default:I(()=>[x("label",{for:b(a)},[q(i.$slots,"default")],8,sKe)]),icon:I(()=>[q(i.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}}),Ia=lKe,cKe=["aria-label","checked","disabled"],uKe=F({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"},ariaLabel:{default:"Toggle"}},emits:["update:modelValue"],setup(e){const t=Ur({base:"w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(n,r)=>(y(),M(Sh,{class:"group/cell relative flex min-w-8"},{default:I(()=>[x("input",{"aria-label":e.ariaLabel,checked:e.modelValue,class:"peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:r[0]||(r[0]=a=>n.$emit("update:modelValue",a.target.checked))},null,40,cKe),x("div",{class:Oe(b(t)({align:e.align}))},[x("div",{class:Oe(["absolute m-auto size-3/4 rounded border-[1px] opacity-0",!e.disabled&&"group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100"])},null,2),N(b(ua),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}}),dKe=uKe,fKe={class:"flex gap-2"},hKe={class:"flex max-h-8 flex-1"},pKe=F({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){const n=t,{cx:r}=$t(),a=()=>{e.disabled||n("submit")};return(i,o)=>(y(),w("form",{class:"flex w-full flex-col gap-3",onKeydown:o[0]||(o[0]=Ma(Qt(()=>{},["stop"]),["enter"])),onSubmit:Qt(a,["prevent","stop"])},[x("div",jt(Xt(b(r)("relative flex min-h-20 flex-col rounded"))),[q(i.$slots,"default")],16),x("div",fKe,[x("div",hKe,[q(i.$slots,"options")]),N(b(zn),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:I(()=>[q(i.$slots,"submit",{},()=>[o[1]||(o[1]=ae("Continue",-1))])]),_:3},8,["disabled","loader"])])],32))}}),mKe=pKe,gKe=["placeholder"],bKe=F({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){const n=t,r=J(null),a=$({get:()=>e.modelValue??"",set:s=>n("update:modelValue",s)});Lt(()=>{In(()=>{var s;e.autofocus&&((s=r.value)==null||s.focus())})});const i=s=>{var u;if(s.shiftKey||!(s.target instanceof HTMLTextAreaElement))return;s.preventDefault();const l=s.target,c=new Event("submit",{cancelable:!0});(u=l.form)==null||u.dispatchEvent(c)},o=s=>{a.value===""&&(s.preventDefault(),s.stopPropagation(),n("delete",s))};return(s,l)=>Fi((y(),w("textarea",Te({id:"command-action-input",ref_key:"input",ref:r,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),class:"min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1",placeholder:e.placeholder??"",wrap:"hard"},s.$attrs,{onKeydown:[Ma(o,["delete"]),Ma(i,["enter"])]}),null,16,gKe)),[[xd,a.value]])}}),O7=bKe,yKe={class:"flex min-h-8 items-start gap-2 text-sm"},vKe={class:"flex min-h-8 items-start gap-2 text-sm"},OKe={key:0,class:"text-red text-xs",role:"alert"},SKe=F({__name:"OAuthScopesAddModal",props:{state:{},scopes:{},scope:{default:null}},emits:["cancel","submit"],setup(e,{emit:t}){const n=t,r=$(()=>e.scope!==null),a=$(()=>r.value?"Edit Scope":"Add Scope"),i=$(()=>r.value?"Save":"Add Scope"),o=J({name:"",description:""}),s=J(!1);ze(()=>o.value.name,()=>{s.value=!0});const l=$(()=>o.value.name.trim()),c=$(()=>{var h;return!l.value||r.value&&l.value===((h=e.scope)==null?void 0:h.name)?!1:e.scopes.includes(l.value)}),u=$(()=>c.value?`A scope named "${l.value}" already exists.`:s.value&&!l.value?"Scope name is required.":null),d=$(()=>!l.value||c.value),f=()=>{d.value||(n("submit",{name:l.value,description:o.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return ze(()=>e.state.open,h=>{h&&(o.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:"",description:""},In(()=>{s.value=!1}))}),(h,p)=>(y(),M(b(mv),{bodyClass:"overflow-y-auto",size:"xs",state:e.state,title:a.value},{default:I(()=>[N(b(mKe),{disabled:d.value,onCancel:p[2]||(p[2]=m=>n("cancel")),onSubmit:f},{submit:I(()=>[ae(H(i.value),1)]),default:I(()=>[x("div",yKe,[p[3]||(p[3]=ae(" Name: ",-1)),N(b(O7),{modelValue:o.value.name,"onUpdate:modelValue":p[0]||(p[0]=m=>o.value.name=m),autofocus:"",class:"field-sizing-content !p-0",placeholder:"read:user"},null,8,["modelValue"])]),x("div",vKe,[p[4]||(p[4]=ae(" Description: ",-1)),N(b(O7),{modelValue:o.value.description,"onUpdate:modelValue":p[1]||(p[1]=m=>o.value.description=m),autofocus:!1,class:"field-sizing-content !p-0",placeholder:"Read user data"},null,8,["modelValue"])]),u.value?(y(),w("div",OKe,H(u.value),1)):U("",!0)]),_:1},8,["disabled"])]),_:1}
378,8,["state","title"]))}}),wKe=SKe,xKe={class:"flex h-fit w-full"},kKe={class:"group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left"},AKe={class:"flex shrink-0 items-center gap-1.75"},TKe={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto",style:{gridTemplateColumns:"1fr auto"}},EKe={class:"no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap"},_Ke={class:"font-code shrink-0 text-xs"},CKe={class:"whitespace-nowrap"},$Ke=F({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=t,r=J(""),a=J(null),i=$(()=>{var E;return Object.entries(((E=e.flow)==null?void 0:E.scopes)??{}).map(([_,C])=>({id:_,label:_,description:C}))}),o=$(()=>{var E;return Object.keys(((E=e.flow)==null?void 0:E.scopes)??{}).length}),s=$(()=>o.value>=10),l=$(()=>{const E=s.value?r.value:"";if(!E)return i.value;const _=new RegExp(E.split("").map(C=>C.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*"),"i");return i.value.filter(({label:C,description:R})=>_.test(`${C} ${R}`))}),c=$(()=>{var E;return Object.keys(((E=e.flow)==null?void 0:E.scopes)??{}).length>0}),u=$(()=>{var E;return e.selectedScopes.length===Object.keys(((E=e.flow)==null?void 0:E.scopes)??{}).length}),d=(E,_)=>{n("update:selectedScopes",{scope:E,selected:_})},f=()=>{var E;return n("update:selectedScopes",{scopes:Object.keys(((E=e.flow)==null?void 0:E.scopes)??{})})},h=()=>n("update:selectedScopes",{scopes:[]}),p=pv(),m=J(0),g=J(!1);ze(c,(E,_)=>{_&&!E&&(g.value=!1,m.value+=1)});const v=()=>{a.value=null,p.show()},k=E=>{a.value={name:E.id,description:E.description??""},p.show()},S=async E=>{const _=!E.oldName;n("upsert:scope",{scope:E.name,description:E.description,flowType:e.flowType,...E.oldName?{oldScope:E.oldName}:{},..._?{enable:!0}:{}}),_&&(g.value=!0,m.value+=1,await In(),g.value=!1)},A=E=>{n("delete:scope",{scope:E,flowType:e.flowType})};return(E,_)=>(y(),M(b(Sh),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:I(()=>[x("div",xKe,[_[7]||(_[7]=x("div",{class:"text-c-1 h-full items-center"},null,-1)),(y(),M(b(k0),{key:m.value,as:"div",class:"bl flex w-full flex-col",defaultOpen:g.value},{default:I(()=>[x("div",kKe,[N(b(Gf),{class:Oe(["min-w-0 flex-1 text-left",c.value?"hover:text-c-1 cursor-pointer":"cursor-default",(e.selectedScopes.length||0)>0?"text-c-1":"text-c-3"]),disabled:!c.value},{default:I(()=>{var C;return[c.value?(y(),w(de,{key:0},[ae(" Scopes Selected "+H(e.selectedScopes.length||0)+" / "+H(Object.keys(((C=e.flow)==null?void 0:C.scopes)??{}).length||0),1)],64)):(y(),w(de,{key:1},[ae(" No Scopes Defined ")],64))]}),_:1},8,["class","disabled"]),x("div",AKe,[N(b(zn),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Qt(v,["stop"])},{default:I(()=>[..._[3]||(_[3]=[ae(" Add Scope ",-1)])]),_:1}),c.value&&u.value?(y(),M(b(zn),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Qt(h,["stop"])},{default:I(()=>[..._[4]||(_[4]=[ae(" Deselect All ",-1)])]),_:1})):U("",!0),c.value&&!u.value?(y(),M(b(zn),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Qt(f,["stop"])},{default:I(()=>[..._[5]||(_[5]=[ae(" Select All ",-1)])]),_:1})):U("",!0),c.value?(y(),M(b(Gf),{key:2,class:"text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2"},{default:I(({open:C})=>[N(b(ua),{class:"group-hover/scopes-accordion:text-c-2",icon:C?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])]),_:1})):U("",!0)])]),N(b(Kf),{as:"template"},{default:I(()=>[x("div",null,[s.value?(y(),M(b(vU),{key:0,modelValue:r.value,"onUpdate:modelValue":_[0]||(_[0]=C=>r.value=C),class:"flex items-center text-xs"},null,8,["modelValue"])):U("",!0),x("table",TKe,[(y(!0),w(de,null,it(l.value,({id:C,label:R,description:B})=>(y(),M(b(or),{key:C,class:"text-c-2 group/scope-row",onClick:L=>d(C,!e.selectedScopes.includes(C))},{default:I(()=>[N(b(Sh),{class:"box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0"},{default:I(()=>[x("div",EKe,[x("span",_Ke,H(R),1),String(B??"").trim()?(y(),w(de,{key:0},[_[6]||(_[6]=x("span",{class:"shrink-0"},"â",-1)),x("span",CKe,H(B),1)],64)):U("",!0)]),x("div",{class:"oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100",onClick:_[1]||(_[1]=Qt(()=>{},["stop"]))},[N(b(So),{icon:b(mbe),label:`Edit ${R}`,size:"sm",onClick:Qt(L=>k({id:C,description:B??""}),["stop"])},null,8,["icon","label","onClick"]),N(b(So),{icon:b(_L),label:`Delete ${R}`,size:"sm",onClick:Qt(L=>A(C),["stop"])},null,8,["icon","label","onClick"])])]),_:2},1024),N(b(dKe),{ariaLabel:`Select ${R} scope`,modelValue:e.selectedScopes.includes(C),onClick:_[2]||(_[2]=Qt(()=>{},["stop"])),"onUpdate:modelValue":L=>d(C,L)},null,8,["ariaLabel","modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1},8,["defaultOpen"]))]),N(wKe,{scope:a.value,scopes:Object.keys(e.flow.scopes??{}),state:b(p),onSubmit:S},null,8,["scope","scopes","state"])]),_:1}))}}),PKe=$Ke;function H3(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,a])=>t.indexOf(+r)===-1).map(([r,a])=>a)}function S7(e,t="|"){return e.map(n=>yH(n)).join(t)}function V3(e,t){return typeof t=="bigint"?t.toString():t}class IKe{constructor(t){this._getter=t,this._value=void 0}get value(){const t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}}function Hv(e){return new IKe(e)}function RKe(e){return e==null}function nk(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function NKe(e,t){const n=e/t,r=Math.round(n),a=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<a?0:n-r}const w7=Symbol("evaluating");function MKe(e,t,n){let r;
378Object.defineProperty(e,t,{get(){if(r!==w7)return r===void 0&&(r=w7,r=n()),r},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function Sl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function rk(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t!=null&&t.get?t.get.raw:t==null?void 0:t.value}function Kl(e){return rk(e._zod.def)??e._zod.def.shape}function pH(e,t,n){Object.defineProperty(e,t,{get(){const r=n();return Sl(this,t,r),r},enumerable:!0,configurable:!0})}function mH(e,t,n){t in e?Sl(e,t,n):e[t]=n}function bd(e,t,n,r){const a=Kl(t);for(const i of n){const o=Object.getOwnPropertyDescriptor(a,i);o.enumerable&&(o.get?pH(e,i,()=>{const s=t._zod.def.shape[i];return r?r(s,i):s}):mH(e,i,r?r(o.value,i):o.value))}}function LKe(e,t){for(const n of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?pH(e,n,()=>t[n]):mH(e,n,r.value))}}function io(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function DKe(e){return JSON.stringify(e)}function BKe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const gH="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function t0(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const UKe=Hv(()=>{var e;if(Es.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function wh(e){if(t0(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(t0(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function bH(e){return wh(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const jKe=new Set(["string","number","symbol"]);function xh(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Su(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n!=null&&n.parent)&&(r._zod.parent=e),r}function mt(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if((t==null?void 0:t.message)!==void 0){if((t==null?void 0:t.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function yH(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function FKe(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const vH={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},QKe={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function zKe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i={};return bd(i,e,Vv(e,t)),Su(e,io(n,{shape:i,checks:[]}))}function Vv(e,t){var a;const n=Kl(e),r=[];for(const i of Reflect.ownKeys(t)){if(!((a=Object.getOwnPropertyDescriptor(n,i))!=null&&a.enumerable))throw new Error(`Unrecognized key: "${String(i)}"`);t[i]&&r.push(i)}return r}function HKe(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=new Set(Vv(e,t)),o={};return bd(o,e,Reflect.ownKeys(Kl(e)).filter(s=>!i.has(s))),Su(e,io(n,{shape:o,checks:[]}))}function VKe(e,t){if(!wh(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const a=Kl(e);for(const i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(a,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Su(e,io(e._zod.def,{shape:OH(e,t)}))}function OH(e,t){const n={};return bd(n,e,Reflect.ownKeys(Kl(e))),LKe(n,t),n}function qKe(e,t){if(!wh(t))throw new Error("Invalid input to safeExtend: expected a plain object");return Su(e,io(e._zod.def,{shape:OH(e,t)}))}function ZKe(e,t){var a,i;if(!((a=t==null?void 0:t._zod)!=null&&a.def))throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if((i=e._zod.def.checks)!=null&&i.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n={};bd(n,e,Reflect.ownKeys(Kl(e))),bd(n,t,Reflect.ownKeys(Kl(t)));const r=io(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Su(e,r)}function x7(e,t,n,r="partial"){const i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${r}() cannot be used on object schemas containing refinements`);const s=n?new Set(Vv(t,n)):void 0,l={};return bd(l,t,Reflect.ownKeys(Kl(t)),e&&((c,u)=>s&&!s.has(u)?c:new e({type:"optional",innerType:c}))),Su(t,io(t._zod.def,{shape:l,checks:[]}))}function XKe(e,t,n){const r=n?new Set(Vv(t,n)):void 0,a={};return bd(a,t,Reflect.ownKeys(Kl(t)),(i,o)=>r&&!r.has(o)?i:new e({type:"nonoptional",innerType:i})),Su(t,io(t._zod.def,{shape:a}))}function Ul(e,t=0){var n;if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(((n=e.issues[r])==null?void 0:n.continue)!==!0)return!0;return!1}function WKe(e,t=0){var n;if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(((n=e.issues[r])==null?void 0:n.continue)===!1)return!0;return!1}function Xu(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Fp(e){return typeof e=="string"?e:e==null?void 0:e.message}
378function k7(e,t,n){var r;for(let a=t;a<e.length;a++)(r=e[a]).schema??(r.schema=n)}function Vc(e,t,n){var l,c,u,d,f,h,p,m,g,v;var r;const a=(c=(l=e.inst)==null?void 0:l._zod)==null?void 0:c.traits;a!=null&&a.has("$ZodType")&&(a.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);const i=e.schema!==e.inst?(d=(u=e.schema)==null?void 0:u._zod.def)==null?void 0:d.error:void 0,o=e.message?e.message:Fp((p=(h=(f=e.inst)==null?void 0:f._zod.def)==null?void 0:h.error)==null?void 0:p.call(h,e))??Fp(i==null?void 0:i(e))??Fp((m=t==null?void 0:t.error)==null?void 0:m.call(t,e))??Fp((g=n.customError)==null?void 0:g.call(n,e))??Fp((v=n.localeError)==null?void 0:v.call(n,e))??"Invalid input",s={};for(const k of Object.keys(e))k==="inst"||k==="schema"||k==="continue"||k==="input"||k==="__proto__"||(s[k]=e[k]);return s.path??(s.path=[]),s.message=o,t!=null&&t.reportInput&&(s.input=e.input),s}const YKe=/[\uD800-\uDBFF]/;function ak(e){const t=e.length;if(!YKe.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function ik(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function GKe(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function n0(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function KKe(e,t){for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):JKe(e,n,r.value)}}function qc(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function ok(e,t,n){return qc(e,t,n,!1)}function SH(e,t){for(const n in e){const r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return qc(this,n,r(this))},set(a){qc(this,n,a)}})}return t}function JKe(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:qc(this,t,n.bind(this))},set(r){qc(this,t,r)}})}function eJe(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let j4,Oc=!1;const tJe={configurable:!0,get(){Oc=!0}};function On(e,t,n){const r=Object.getPrototypeOf(e._zod);if(t in r&&j4!==e._zod){j4=void 0;return}j4=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,tJe);const a=Oc;Oc=!1;try{const i=n(this);return Oc?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Oc=Oc||a,i}catch(i){throw delete this[t],Oc=Oc||a,i}},set(a){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:a})}})}function nJe(e,t,n,r){const a=eJe(e,t);a&&Object.defineProperty(a,t,{configurable:!0,get(){const i={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:i})}})}const rJe="~constantCatch";function aJe(e){const t=()=>e;return t[rJe]=!0,t}var A7;const F4={value:void 0,enumerable:!1};let T7="captureStackTrace"in Error?Error:null;function iJe(e){const t=T7;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return T7=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function we(e,t,n,r){const a={};function i(f){this.def=f,this.constr=d,this.traits=new Set}i.prototype=a;const o=n,s=o&&new WeakSet;function l(f,h){if(f._zod){if(f._zod.traits.has(e))return}else{F4.value=new i(h);try{Object.defineProperty(f,"_zod",F4)}finally{F4.value=void 0}}if(f._zod.traits.add(e),t(f,h),s){const m=Object.getPrototypeOf(f),g=f._zod.constr.prototype;let v=m;for(;v&&v!==g;)v=Object.getPrototypeOf(v);const k=v??m;s.has(k)||(s.add(k),KKe(k,o))}const p=d.prototype;for(const m in p)Object.prototype.hasOwnProperty.call(p,m)&&(m in f||(f[m]=p[m].bind(f)))}const c=(r==null?void 0:r.Parent)??Object;class u extends c{}Object.defineProperty(u,"name",{value:e});function d(f){var g;const h=r!=null&&r.Parent?iJe(u):this;l(h,f);const p=h._zod.deferred;if(p){for(const v of p)v();h._zod.deferred=void 0}const m=(g=globalThis.__zod_globalConfig)==null?void 0:g.postProcessor;return m&&m(h),h}return Object.defineProperty(d,"init",{value:l}),Object.defineProperty(d,Symbol.hasInstance,{value:f=>{var h,p;return r!=null&&r.Parent&&f instanceof r.Parent?!0:(p=(h=f==null?void 0:f._zod)==null?void 0:h.traits)==null?void 0:p.has(e)}}),Object.defineProperty(d,"name",{value:e}),d}
378class sd extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class wH extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(A7=globalThis).__zod_globalConfig??(A7.__zod_globalConfig={});const Es=globalThis.__zod_globalConfig;function yl(e){return e&&Object.assign(Es,e),Es}function oJe(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,V3,2)),e.message}function sJe(e){this._zod.message=e}const lJe={get:oJe,set:sJe,enumerable:!0,configurable:!0},Q4={value:void 0,enumerable:!1},E7=new WeakSet([Object.prototype,Error.prototype]),cJe=(e,t)=>{e.name="$ZodError",Q4.value=t,Object.defineProperty(e,"issues",Q4),Q4.value=void 0,Object.defineProperty(e,"message",lJe);const n=Object.getPrototypeOf(e);E7.has(n)||(E7.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){const r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0})}}))},uJe=we("$ZodError",cJe);function dJe(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function fJe(e,t=n=>n.message){const n={},r=[];for(const a of e.issues)a.path.length>0?dJe(n,a.path[0],()=>[]).push(t(a)):r.push(t(a));return{formErrors:r,fieldErrors:n}}function hJe(e,t=n=>n.message){const n={_errors:[]},r=(a,i=[])=>{for(const o of a.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>r({issues:s},[...i,...o.path]));else if(o.code==="invalid_key")r({issues:o.issues},[...i,...o.path]);else if(o.code==="invalid_element")r({issues:o.issues},[...i,...o.path]);else{const s=[...i,...o.path];if(s.length===0)n._errors.push(t(o));else{let l=n,c=0;for(;c<s.length;){const u=s[c],d=c===s.length-1;if(u==="_errors"){d&&l._errors.push(t(o)),c++;continue}Object.prototype.hasOwnProperty.call(l,u)||Object.defineProperty(l,u,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const f=l[u];d&&f._errors.push(t(o)),l=f,c++}}}};return r(e),n}function qv(e,t){return{callee:(t==null?void 0:t.callee)??e,Err:t==null?void 0:t.Err}}const sk=e=>{const t=(n,r,a,i)=>{const o=a?{...a,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new sd;if(s.issues.length){const l=new((i==null?void 0:i.Err)??e)(s.issues.map(c=>Vc(c,o,yl())));throw gH(l,(i==null?void 0:i.callee)??t),l}return s.value};return t},lk=e=>{const t=async(n,r,a,i)=>{const o=a?{...a,async:!0}:{async:!0};let s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){const l=new((i==null?void 0:i.Err)??e)(s.issues.map(c=>Vc(c,o,yl())));throw gH(l,(i==null?void 0:i.callee)??t),l}return s.value};return t},ck=e=>(t,n,r)=>{const a=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},a);if(i instanceof Promise)throw new sd;return i.issues.length?xH(e,i.issues,a):{success:!0,data:i.value}};function xH(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(a=>Vc(a,n,yl()))),t=void 0,n=void 0),r},set error(a){r=a,t=void 0,n=void 0}}}const uk=e=>async(t,n,r)=>{const a=r?{...r,async:!0}:{async:!0};let i=t._zod.run({value:n,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?xH(e,i.issues,a):{success:!0,data:i.value}},pJe=Symbol.for("zod.compile.invalid"),mJe=Symbol.for("zod.compile.fallback"),gJe=(e,t,n)=>{const r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==pJe)return!0;if(r.definite===!0&&n===void 0)return!1}return bJe(e,t,n)};function bJe(e,t,n){const r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},a=e._zod.bag.fallbackRun;let i;if(a?(r[mJe]=!0,i=a({value:t,issues:[]},r)):i=e._zod.run({value:t,issues:[]},r),i instanceof Promise)throw new sd;return i.issues.length===0}const yJe=async(e,t,n)=>{const r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let a=e._zod.run({value:t,issues:[]},r);return a instanceof Promise&&(a=await a),a.issues.length===0},vJe=e=>{const t=sk(e),n=(r,a,i,o)=>{const s=i?{...i,direction:"backward"}:{direction:"backward"};return t(r,a,s,qv(n,o))};return n},OJe=e=>{const t=sk(e),n=(r,a,i,o)=>t(r,a,i,qv(n,o));return n},SJe=e=>{const t=lk(e),n=async(r,a,i,o)=>{const s=i?{...i,direction:"backward"}:{direction:"backward"};return await t(r,a,s,qv(n,o))};return n},wJe=e=>{const t=lk(e),n=async(r,a,i,o)=>await t(r,a,i,qv(n,o));return n},xJe=e=>(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return ck(e)(t,n,a)},kJe=e=>(t,n,r)=>ck(e)(t,n,r),AJe=e=>async(t,n,r)=>{const a=r?{...r,direction:"backward"}:{direction:"backward"};return uk(e)(t,n,a)},TJe=e=>async(t,n,r)=>uk(e)(t,n,r),EJe=/^[cC][0-9a-z]{6,}$/,_Je=/^[0-9a-z]+$/,CJe=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,$Je=/^[0-9a-vA-V]{20}$/,PJe=/^[A-Za-z0-9]{27}$/,IJe=/^[a-zA-Z0-9_-]{21}$/;function RJe(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const NJe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,MJe=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,_7=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,LJe=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,DJe="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function BJe(){return new RegExp(DJe,"u")}const UJe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,jJe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,FJe=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,QJe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,zJe=/^$|^(?:[0-9a-zA-Z+/]{4}
378)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,HJe=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,VJe=/^https?$/,qJe=/^\+[1-9]\d{6,14}$/,kH="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function ZJe(e){return new RegExp(`^${e}$`)}const XJe=ZJe(kH);function q3(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function WJe(e){return new RegExp(`^${q3(e)}$`)}function YJe(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${q3({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,r=e.local?`${n}|${q3({precision:e.precision})}`:n;return new RegExp(`^${kH}T(?:${r})$`)}const GJe=/^[\s\S]{0,}$/,KJe=/^-?\d+$/,dk=/^-?\d+(?:\.\d+)?$/,JJe=/^(?:true|false)$/i,eet=/^null$/i,tet=/^[^A-Z]*$/,net=/^[^a-z]*$/,Ei=we("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),fk=e=>{const t=e.value;return!RKe(t)&&t.length!==void 0},Tb={number:"number",bigint:"bigint",object:"date"},AH=we("$ZodCheckLessThan",(e,t)=>{Ei.init(e,t);const n=Tb[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Tb[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),TH=we("$ZodCheckGreaterThan",(e,t)=>{Ei.init(e,t);const n=Tb[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Tb[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ret=we("$ZodCheckMultipleOf",(e,t)=>{Ei.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):NKe(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),aet=we("$ZodCheckNumberFormat",(e,t)=>{var o;Ei.init(e,t),t.format=t.format||"float64";const n=(o=t.format)==null?void 0:o.includes("int"),r=n?"int":"number",[a,i]=vH[t.format];e._zod.check=s=>{const l=s.value;if(n){if(!Number.isInteger(l)){s.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?s.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):s.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}l<a&&s.issues.push({origin:"number",input:l,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),l>i&&s.issues.push({origin:"number",input:l,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),iet=we("$ZodCheckMaxLength",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=fk),e._zod.check=r=>{const a=r.value,i=a.length;if((typeof a=="string"&&i>t.maximum?ak(a):i)<=t.maximum)return;const s=ik(a);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),oet=we("$ZodCheckMinLength",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=fk),e._zod.check=r=>{const a=r.value,i=a.length;if((typeof a=="string"&&i>=t.minimum&&i<t.minimum*2?ak(a):i)>=t.minimum)return;const s=ik(a);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),set=we("$ZodCheckLengthEquals",(e,t)=>{var n;Ei.init(e,t),(n=e._zod.def).when??(n.when=fk),e._zod.check=r=>
378{const a=r.value,i=a.length,o=typeof a=="string"&&i>=t.length&&i<=t.length*2?ak(a):i;if(o===t.length)return;const s=ik(a),l=o>t.length;r.issues.push({origin:s,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Zv=we("$ZodCheckStringFormat",(e,t)=>{var n,r;Ei.init(e,t),t.pattern?(n=e._zod).check??(n.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:t.format,input:a.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),cet=we("$ZodCheckRegex",(e,t)=>{Zv.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),uet=we("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=tet),Zv.init(e,t)}),det=we("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=net),Zv.init(e,t)}),fet=we("$ZodCheckIncludes",(e,t)=>{Ei.init(e,t);const n=xh(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=r,e._zod.check=a=>{a.value.includes(t.includes,t.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:a.value,inst:e,continue:!t.abort})}}),het=we("$ZodCheckStartsWith",(e,t)=>{Ei.init(e,t);const n=new RegExp(`^${xh(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),pet=we("$ZodCheckEndsWith",(e,t)=>{Ei.init(e,t);const n=new RegExp(`.*${xh(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}});function C7(e,t,n){e.issues.length&&t.issues.push(...Xu(n,e.issues))}const met=we("$ZodCheckProperties",(e,t)=>{Ei.init(e,t),ok(e,Symbol.iterator,function*(){yield e});let n;e._zod.check=r=>{if(r.value==null){r.issues.push({expected:"object",code:"invalid_type",input:r.value,inst:e});return}n??(n=Reflect.ownKeys(t.shape).map(o=>[o,t.shape[o]]));const a=r.value;let i;for(const[o,s]of n){const l=s._zod.run({value:a[o],issues:[]},{});l instanceof Promise?(i??(i=[]),i.push(l.then(c=>C7(c,r,o)))):C7(l,r,o)}if(i)return Promise.all(i).then(()=>{})}}),get=we("$ZodCheckOverwrite",(e,t)=>{Ei.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class bet{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(` 379`).filter(o=>o),a=Math.min(...r.map(o=>o.length-o.trimStart().length)),i=r.map(o=>o.slice(a)).map(o=>" ".repeat(this.indent*2)+o);for(const o of i)this.content.push(o)}compile(){const t=Function,n=(this==null?void 0:this.content)??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) { 380${n.join(` 381`)} 382};`)(...Object.values(this.closed))}}const yet={major:4,minor:6,patch:5},cr=we("$ZodType",(e,t)=>{var i;var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=yet;const r=e._zod.def.checks,a=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r!=null&&r.length?[...r]:[];for(const o of a)for(const s of o._zod.onattach)s(e);if(a.length===0)(n=e._zod).deferred??(n.deferred=[]),(i=e._zod.deferred)==null||i.push(()=>{e._zod.run=e._zod.parse});else{const o=(l,c,u)=>{if(l.memo)return l;let d=Ul(l),f;for(const h of c){if(h._zod.def.when){if(WKe(l)||!h._zod.def.when(l))continue}else if(d)continue;const p=l.issues.length,m=h._zod.check(l);if(m instanceof Promise&&(u==null?void 0:u.async)===!1)throw new sd;if(f||m instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await m,l.issues.length!==p&&(k7(l.issues,p,e),d||(d=Ul(l,p)))});else{if(l.issues.length===p)continue;
382k7(l.issues,p,e),d||(d=Ul(l,p))}}return f?f.then(()=>l):l},s=(l,c,u)=>{if(Ul(l))return l.aborted=!0,l;const d=o(c,a,u);if(d instanceof Promise){if(u.async===!1)throw new sd;return d.then(f=>e._zod.parse(f,u))}return e._zod.parse(d,u)};e._zod.run=(l,c)=>{if(c.skipChecks)return e._zod.parse(l,c);if(c.direction==="backward"){const d=e._zod.parse({value:l.value,issues:[]},{...c,skipChecks:!0});return d instanceof Promise?d.then(f=>s(f,l,c)):s(d,l,c)}const u=e._zod.parse(l,c);if(u instanceof Promise){if(c.async===!1)throw new sd;return u.then(d=>o(d,a,c))}return o(u,a,c)}}},{get"~standard"(){return ok(this,"~standard",_H(this))},set"~standard"(e){qc(this,"~standard",e)}}),EH=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Vc(n,t,yl()))}:{value:e.value};async function vet(e,t){const n={async:!0};return EH(await e._zod.run({value:t,issues:[]},n),n)}function _H(e){return{validate:t=>{const n={async:!1};try{const r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return EH(r,n)}catch{}return vet(e,t)},vendor:"zod",version:1}}const hk=we("$ZodString",(e,t)=>{cr.init(e,t),e._zod.pattern=t.pattern??GJe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),yr=we("$ZodStringFormat",(e,t)=>{Zv.init(e,t),hk.init(e,t)}),Oet=we("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=MJe),yr.init(e,t)}),wet=we("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=_7(r))}else t.pattern??(t.pattern=_7());yr.init(e,t)}),xet=we("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=LJe),yr.init(e,t)}),CH=1,Eb=2;function $H(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function ket(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?$H(e)||Eb:Aet(e,t)}function Aet(e,t){var n;if(!t.normalize&&((n=t.protocol)==null?void 0:n.source)===VJe.source&&!/^https?:\/\//i.test(e))return CH;try{if(typeof URL<"u"){const r=URL;if(typeof r.parse=="function")return r.parse(e)??Eb}return new URL(e)}catch{return Eb}}const Tet=/[\t\n\r]/g;function $7(e){return e.replace(Tet,"")}function Eet(e,t){return t.lastIndex=0,t.test(e.hostname)}function _et(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}const Cet=we("$ZodURL",(e,t)=>{yr.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),a=ket(r,t);if(a===CH){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(a===Eb){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(a===!0){n.value=$7(r);return}t.hostname&&!Eet(a,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!_et(a,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?a.href:$7(r);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),$et=we("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=BJe()),yr.init(e,t)}),Pet=we("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?IJe:RJe(t.length)),yr.init(e,t)}),Iet=we("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=EJe),yr.init(e,t)}),Ret=we("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=_Je),yr.init(e,t)}),Net=we("$ZodULID",(e,t)=>{t.pattern??(t.pattern=CJe),yr.init(e,t)}),Met=we("$ZodXID",(e,t)=>{t.pattern??(t.pattern=$Je),yr.init(e,t)}),Let=we("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=PJe),yr.init(e,t)}),Det=we("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=YJe(t)),yr.init(e,t)}),Bet=we("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=XJe),yr.init(e,t)}),Uet=we("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=WJe(t)),yr.init(e,t)}),jet=we("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=NJe),yr.init(e,t)}),Fet=we("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=UJe),yr.init(e,t)}),Qet=/^[0-9a-fA-F:.]+$/;function PH(e){return Qet.test(e)?$H(`http://[${e}]`):!1}const zet=we("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=jJe),yr.init(e,t),e._zod.check=n=>{PH(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),Het=we("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=FJe),yr.init(e,t)});function Vet(e){const t=e.split("/");if(t.length!==2)return!1;const[n,r]=t;if(!r)return!1;const a=Number(r);return`${a}`!==r||a<0||a>128?!1:PH(n)}const qet=we("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=QJe),yr.init(e,t),e._zod.check=n=>{Vet(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function IH(e){if(e==="")return!0;
382if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const RH=/^[0-9a-zA-Z+/]*={0,2}$/,Zet=we("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=RH),yr.init(e,t),e._zod.check=n=>{IH(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),pk=/^[A-Za-z0-9_-]*$/;function Xet(e){if(!pk.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return IH(n)}const Wet=we("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=pk),yr.init(e,t),e._zod.check=n=>{Xet(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Yet=we("$ZodE164",(e,t)=>{t.pattern??(t.pattern=qJe),yr.init(e,t)});function Get(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const a=JSON.parse(atob(r));return!("typ"in a&&(a==null?void 0:a.typ)!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}}const Ket=we("$ZodJWT",(e,t)=>{yr.init(e,t),e._zod.check=n=>{Get(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),NH=we("$ZodNumber",(e,t)=>{cr.init(e,t),e._zod.pattern=dk,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const a=n.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return n;const i=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:String(a):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),n}}),Jet=we("$ZodNumberFormat",(e,t)=>{aet.init(e,t),NH.init(e,t)}),ett=we("$ZodBoolean",(e,t)=>{cr.init(e,t),e._zod.pattern=JJe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const a=n.value;return typeof a=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),n}}),ttt=we("$ZodNull",(e,t)=>{cr.init(e,t),e._zod.pattern=eet,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{const a=n.value;return a===null||n.issues.push({expected:"null",code:"invalid_type",input:a,inst:e}),n}}),ntt=we("$ZodUnknown",(e,t)=>{cr.init(e,t),e._zod.parse=n=>n}),rtt=we("$ZodNever",(e,t)=>{cr.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function P7(e,t,n){e.issues.length&&t.issues.push(...Xu(n,e.issues)),t.value[n]=e.value}const att=we("$ZodArray",(e,t)=>{cr.init(e,t);const n=Es.memoizer;n==null||n.attach(e),e._zod.parse=(r,a)=>{const i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=n?n.alloc(e,r,Array(i.length),a):Array(i.length);const o=[],s=a==null?void 0:a.abortEarly;for(let l=0;l<i.length;l++){const c=i[l],u=t.element._zod.run({value:c,issues:[]},a);if(u instanceof Promise)o.push(u.then(d=>P7(d,r,l)));else if(P7(u,r,l),s&&u.issues.length!==0&&Ul(u))break}return o.length?Promise.all(o).then(()=>r):r}});function _b(e,t,n,r,a,i){const o=n in r,s=i==="optional";if(!(!o&&s&&a==="optional")){if(e.issues.length){if(a!==void 0&&s&&!o)return;t.issues.push(...Xu(n,e.issues))}if(!o&&a===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(o||a==="defaulted"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}const itt=[];function MH(e){var o,s,l,c;const t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:itt,a=r.length?[...t,...r]:t;for(const u of a)if(!((c=(l=(s=(o=e.shape)==null?void 0:o[u])==null?void 0:s._zod)==null?void 0:l.traits)!=null&&c.has("$ZodType")))throw new Error(`Invalid element at key "${String(u)}": expected a Zod schema`);const i=FKe(e.shape);return{...e,allKeys:a,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function LH(e,t,n,r,a,i,o){const s=[],l=a.keySet,c=a.catchall._zod,u=c.def.type,d=c.optin,f=c.optout;let h=0;for(const p in t){if(o&&n.issues.length!==h){if(Ul(n,h))break;h=n.issues.length}if(l.has(p))continue;if(p==="__proto__"){u==="never"&&s.push(p);continue}if(u==="never"){s.push(p);continue}const m=c.run({value:t[p],issues:[]},r);m instanceof Promise?e.push(m.then(g=>_b(g,n,p,t,d,f))):_b(m,n,p,t,d,f)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}const ott=we("$ZodObject",(e,t)=>
382{cr.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape"),r=n!=null&&n.get?n.get.raw:t.shape??{};if(r){const c=()=>{const u={...r};return Object.defineProperty(t,"shape",{value:u}),c.raw=u,u};c.raw=r,Object.defineProperty(t,"shape",{get:c})}const a=Hv(()=>MH(t));On(e,"propValues",c=>{const u=c.def.shape,d={};for(const f in u){const h=u[f]._zod;if(h.values){Object.prototype.hasOwnProperty.call(d,f)||Sl(d,f,new Set);for(const p of h.values)d[f].add(p);h.optin!==void 0&&d[f].add(void 0)}}return d});const i=t0,o=t.catchall;let s;const l=Es.memoizer;l==null||l.attach(e),e._zod.parse=(c,u)=>{s??(s=a.value);const d=c.value;if(!i(d))return c.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),c;c.value=l?l.alloc(e,c,{},u):{};const f=[],h=s.shape,p=u==null?void 0:u.abortEarly;let m=c.issues.length;for(const g of s.allKeys){if(p&&c.issues.length!==m){if(Ul(c,m))break;m=c.issues.length}if(g==="__proto__")continue;const v=h[g],k=v._zod.optin,S=v._zod.optout,A=v._zod.run({value:d[g],issues:[]},u);A instanceof Promise?f.push(A.then(E=>_b(E,c,g,d,k,S))):_b(A,c,g,d,k,S)}return o?LH(f,d,c,u,a.value,e,p===!0):f.length?Promise.all(f).then(()=>c):c}}),stt=we("$ZodObjectJIT",(e,t)=>{ott.init(e,t);const n=e._zod.parse,r=Hv(()=>MH(t)),a=Es.memoizer,i=h=>{var E,_;const p=r.value,m=p.symbolKeys,g=new bet(["payload","ctx"],{shape:h,inst:e,memo:a,syms:m}),v=C=>`shape[${C}]._zod.run({ value: input[${C}], issues: [] }, ctx)`,k=(C,R)=>` 383 let ${C}_ab = false; 384 for (let i = 0; i < ${C}.issues.length; i++) { 385 const iss = ${C}.issues[i]; 386 iss.path = iss.path ? [${R}, ...iss.path] : [${R}]; 387 payload.issues.push(iss); 388 if (iss.continue !== true) ${C}_ab = true; 389 } 390 if (${C}_ab && ctx && ctx.abortEarly) { 391 payload.value = newResult; 392 return payload; 393 }`;g.write("const input = payload.value;");const S=Object.create(null);let A=0;for(const C of p.allKeys)S[C]=`key_${A++}`;g.write(a?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const C of p.allKeys){if(C==="__proto__")continue;const R=S[C],B=typeof C=="symbol"?`syms[${m.indexOf(C)}]`:DKe(C),L=`${B} in input`,V=h[C],Q=(E=V==null?void 0:V._zod)==null?void 0:E.optin,ee=Q!==void 0,ne=((_=V==null?void 0:V._zod)==null?void 0:_.optout)==="optional";if(g.write(`const ${R} = ${v(B)};`),ee&&ne){const G=Q==="optional"?`${R}_present`:`${R}.value !== undefined || ${R}_present`;g.write(` 394 const ${R}_present = ${L}; 395 if (!${R}.issues.length || ${R}_present) { 396 if (${R}.issues.length) {${k(R,B)} 397 } 398 399 if (${G}) { 400 newResult[${B}] = ${R}.value; 401 } 402 } 403 404 `)}else ee?(g.write(` 405 if (${R}.issues.length) {${k(R,B)} 406 } 407 `),Q==="defaulted"?g.write(`newResult[${B}] = ${R}.value;`):g.write(` 408 if (${R}.value !== undefined || ${L}) { 409 newResult[${B}] = ${R}.value; 410 } 411 `)):g.write(` 412 const ${R}_present = ${L}; 413 if (${R}.issues.length) {${k(R,B)} 414 } 415 if (!${R}_present && !${R}.issues.length) { 416 payload.issues.push({ 417 code: "invalid_type", 418 expected: "nonoptional", 419 input: undefined, 420 path: [${B}] 421 }); 422 if (ctx && ctx.abortEarly) { 423 payload.value = newResult; 424 return payload; 425 } 426 } 427 428 if (${R}_present) { 429 newResult[${B}] = ${R}.value; 430 } 431 432 `)}return g.write("payload.value = newResult;"),g.write("return payload;"),g.compile()};let o;const s=t0,l=!Es.jitless,u=l&&UKe.value,d=t.catchall;let f;e._zod.parse=(h,p)=>{f??(f=r.value);const m=h.value;return s(m)?l&&u&&(p==null?void 0:p.async)===!1&&p.jitless!==!0?(o||(o=i(t.shape)),h=o(h,p),d?LH([],m,h,p,f,e,(p==null?void 0:p.abortEarly)===!0):h):n(h,p):(h.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),h)}});function I7(e,t,n,r){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const a=e.filter(i=>!Ul(i));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(o=>Vc(o,r,yl())))}),t)}const DH=we("$ZodUnion",(e,t)=>
432{cr.init(e,t),On(e,"optin",r=>r.def.options.some(a=>a._zod.optin==="defaulted")?"defaulted":r.def.options.some(a=>a._zod.optin!==void 0)?"optional":void 0),On(e,"optout",r=>r.def.options.some(a=>a._zod.optout==="optional")?"optional":void 0),On(e,"values",r=>{if(r.def.options.every(a=>a._zod.values))return new Set(r.def.options.flatMap(a=>Array.from(a._zod.values)))}),On(e,"pattern",r=>{if(r.def.options.every(a=>a._zod.pattern)){const a=r.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${a.map(i=>nk(i.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,a)=>{if(n)return n(r,a);let i=!1;const o=[];for(const s of t.options){const l=s._zod.run({value:r.value,issues:[]},a);if(l instanceof Promise)o.push(l),i=!0;else{if(l.issues.length===0)return l;o.push(l)}}return i?Promise.all(o).then(s=>I7(s,r,e,a)):I7(o,r,e,a)}});function ltt(e){var n;const t=new Map;for(const r of e.options){const a=(n=r._zod.propValues)==null?void 0:n[e.discriminator];if(!a||a.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(const i of a)if(t.has(i)){if(i!==void 0)throw new Error(`Duplicate discriminator value "${String(i)}"`);t.set(i,null)}else t.set(i,r)}return t}const ctt=we("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,DH.init(e,t);const n=e._zod.parse;On(e,"propValues",a=>{var s,l;const i={};let o=0;for(const c of a.def.options){const u=c._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${a.def.options.indexOf(c)}"`);(s=u[a.def.discriminator])!=null&&s.has(void 0)&&o++;for(const[d,f]of Object.entries(u)){Object.prototype.hasOwnProperty.call(i,d)||Sl(i,d,new Set);for(const h of f)i[d].add(h)}}return!a.def.unionFallback&&o>1&&((l=i[a.def.discriminator])==null||l.delete(void 0)),i}),t.options.forEach((a,i)=>{const o=rk(a._zod.def);if(o&&!Object.prototype.hasOwnProperty.call(o,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});const r=Hv(()=>ltt(t));e._zod.parse=(a,i)=>{const o=a.value;if(!t0(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;const s=o==null?void 0:o[t.discriminator],l=r.value.get(s);return l&&(s!==void 0||i.direction!=="backward")?l._zod.run(a,i):t.unionFallback||i.direction==="backward"?n(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(c=>r.value.get(c)!==null),input:o,path:[t.discriminator],inst:e}),a)}}),utt=we("$ZodIntersection",(e,t)=>{cr.init(e,t),e._zod.parse=(n,r)=>{const a=n.value,i=t.left._zod.run({value:a,issues:[]},r),o=t.right._zod.run({value:a,issues:[]},r);return i instanceof Promise||o instanceof Promise?Promise.all([i,o]).then(([l,c])=>R7(n,l,c)):R7(n,i,o)}});function Z3(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(wh(e)&&wh(t)){const n=Object.keys(t),r=Object.keys(e).filter(i=>n.indexOf(i)!==-1),a={...e,...t};Object.prototype.hasOwnProperty.call(a,"__proto__")&&delete a.__proto__;for(const i of r){if(i==="__proto__")continue;const o=Z3(e[i],t[i]);if(!o.valid)return{valid:!1,mergeErrorPath:[i,...o.mergeErrorPath]};a[i]=o.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const a=e[r],i=t[r],o=Z3(a,i);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function R7(e,t,n){const r=new Map;let a;const i=new Map,o=(c,u)=>{var f,h;let d;if(c.code==="unrecognized_keys"&&!((f=c.path)!=null&&f.length))a??(a=c),d=c.keys;else if(c.code==="invalid_key"&&c.origin==="record"&&((h=c.path)==null?void 0:h.length)===1){const p=String(c.path[0]);i.has(p)||i.set(p,c),d=[p]}else return!1;for(const p of d)r.has(p)||r.set(p,{}),r.get(p)[u]=!0;return!0};for(const c of t.issues)o(c,"l")||e.issues.push(c);for(const c of n.issues)o(c,"r")||e.issues.push(c);const s=[...r].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(s.length){const c=a?s.filter(u=>a.keys.includes(u)):[];c.length&&e.issues.push({...a,keys:c});for(const u of s)!c.includes(u)&&i.has(u)&&e.issues.push(i.get(u))}const l=Z3(t.value,n.value);if(!l.valid){if(Ul(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}const dtt=we("$ZodRecord",(e,t)=>
432{cr.init(e,t);const n=Es.memoizer;n==null||n.attach(e),e._zod.parse=(r,a)=>{const i=r.value;if(!wh(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;const o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},a):{};const l=new Set;for(const u of s)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){if(l.add(typeof u=="number"?u.toString():u),u==="__proto__")continue;const d=t.keyType._zod.run({value:u,issues:[]},a);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(p=>Vc(p,a,yl())),input:u,path:[u],inst:e});continue}const f=d.value;if(f==="__proto__")continue;const h=t.valueType._zod.run({value:i[u],issues:[]},a);h instanceof Promise?o.push(h.then(p=>{p.issues.length&&r.issues.push(...Xu(u,p.issues)),r.value[f]=p.value})):(h.issues.length&&r.issues.push(...Xu(u,h.issues)),r.value[f]=h.value)}let c;for(const u in i)if(!l.has(u))if(t.mode==="loose"){if(u==="__proto__")continue;r.value[u]=i[u]}else c=c??[],c.push(u);c&&c.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:!0})}else{r.value=n?n.alloc(e,r,{},a):{};let l;for(const c of Reflect.ownKeys(i)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,c))continue;let u=t.keyType._zod.run({value:c,issues:[]},a);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&dk.test(c)&&u.issues.length){const p=t.keyType._zod.run({value:Number(c),issues:[]},a);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(u=p)}if(u.issues.length){t.mode==="loose"?r.value[c]=i[c]:s?(l=l??[],l.push(c)):r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(p=>Vc(p,a,yl())),input:c,path:[c],inst:e});continue}const f=u.value;if(f==="__proto__")continue;const h=t.valueType._zod.run({value:i[c],issues:[]},a);h instanceof Promise?o.push(h.then(p=>{p.issues.length&&r.issues.push(...Xu(c,p.issues)),r.value[f]=p.value})):(h.issues.length&&r.issues.push(...Xu(c,h.issues)),r.value[f]=h.value)}l&&l.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:l,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),ftt=we("$ZodEnum",(e,t)=>{cr.init(e,t);const n=H3(t.entries),r=new Set(n);e._zod.values=r,On(e,"pattern",a=>{const i=H3(a.def.entries).filter(o=>jKe.has(typeof o));return new RegExp(i.length?`^(${i.map(o=>xh(o.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(a,i)=>{const o=a.value;return r.has(o)||a.issues.push({code:"invalid_value",values:n,input:o,inst:e}),a}}),htt=we("$ZodLiteral",(e,t)=>{cr.init(e,t);const n=new Set(t.values);e._zod.values=n,On(e,"pattern",r=>{const a=r.def.values;return new RegExp(a.length?`^(${a.map(i=>typeof i=="string"?xh(i):i?xh(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(r,a)=>{const i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),ptt=we("$ZodTransform",(e,t)=>{var n;cr.init(e,t),e._zod.optin="optional",(n=Es.memoizer)==null||n.guard(e),e._zod.parse=(r,a)=>{if(a.direction==="backward")throw new wH(e.constructor.name);const i=t.transform(r.value,r);if(a.async)return(i instanceof Promise?i:Promise.resolve(i)).then(s=>(r.value=s,r));if(i instanceof Promise)throw new sd;return r.value=i,r}});function N7(e,t){return e.value=t.issues.length?void 0:t.value,e}const BH=we("$ZodOptional",(e,t)=>{cr.init(e,t),On(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",On(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),On(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${nk(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;const a=t.innerType._zod.run({value:n.value,issues:[]},r);return a instanceof Promise?a.then(i=>N7(n,i)):N7(n,a)}return t.innerType._zod.run(n,r)}}),mtt=we("$ZodExactOptional",(e,t)=>{BH.init(e,t),On(e,"values",n=>n.def.innerType._zod.values),On(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),gtt=we("$ZodNullable",(e,t)=>
432{cr.init(e,t),On(e,"optin",n=>n.def.innerType._zod.optin),On(e,"optout",n=>n.def.innerType._zod.optout),On(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${nk(r.source)}|null)$`):void 0}),On(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),btt=we("$ZodDefault",(e,t)=>{cr.init(e,t),e._zod.optin="defaulted",On(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(i=>M7(i,t)):M7(a,t)}});function M7(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const ytt=we("$ZodPrefault",(e,t)=>{cr.init(e,t),e._zod.optin="defaulted",On(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),vtt=we("$ZodNonOptional",(e,t)=>{cr.init(e,t),On(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r].filter(a=>a!==void 0)):void 0}),e._zod.parse=(n,r)=>{const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(i=>L7(i,e)):L7(a,e)}});function L7(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function D7(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(a=>Vc(a,r,yl()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const Ott=we("$ZodCatch",(e,t)=>{cr.init(e,t),On(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),On(e,"optout",n=>n.def.innerType._zod.optout),On(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const a=t.innerType._zod.run({value:n.value,issues:[]},r);return a instanceof Promise?a.then(i=>D7(n,i,t,r)):D7(n,a,t,r)}}),Stt=we("$ZodPipe",(e,t)=>{cr.init(e,t),On(e,"values",n=>n.def.in._zod.values),On(e,"optin",n=>n.def.in._zod.optin),On(e,"optout",n=>n.def.out._zod.optout),On(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const i=t.out._zod.run(n,r);return i instanceof Promise?i.then(o=>mg(o,t.in,r)):mg(i,t.in,r)}const a=t.in._zod.run(n,r);return a instanceof Promise?a.then(i=>mg(i,t.out,r)):mg(a,t.out,r)}});function mg(e,t,n){return e.issues.some(r=>r.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const wtt=we("$ZodReadonly",(e,t)=>{cr.init(e,t),On(e,"propValues",n=>n.def.innerType._zod.propValues),On(e,"values",n=>n.def.innerType._zod.values),On(e,"optin",n=>{var r,a;return(a=(r=n.def.innerType)==null?void 0:r._zod)==null?void 0:a.optin}),On(e,"optout",n=>{var r,a;return(a=(r=n.def.innerType)==null?void 0:r._zod)==null?void 0:a.optout}),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const a=t.innerType._zod.run(n,r);return a instanceof Promise?a.then(B7):B7(a)}});function B7(e){return e.memo||(e.value=Object.freeze(e.value)),e}const xtt=we("$ZodLazy",(e,t)=>{cr.init(e,t),MKe(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),On(e,"pattern",n=>{var r,a;return(a=(r=n.innerType)==null?void 0:r._zod)==null?void 0:a.pattern}),On(e,"propValues",n=>{var r,a;return(a=(r=n.innerType)==null?void 0:r._zod)==null?void 0:a.propValues}),On(e,"optin",n=>{var r,a;return((a=(r=n.innerType)==null?void 0:r._zod)==null?void 0:a.optin)??void 0}),On(e,"optout",n=>{var r,a;return((a=(r=n.innerType)==null?void 0:r._zod)==null?void 0:a.optout)??void 0}),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),ktt=we("$ZodCustom",(e,t)=>{Ei.init(e,t),cr.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,a=t.fn(r);if(a instanceof Promise)return a.then(i=>U7(i,n,r,e));U7(a,n,r,e)}});function U7(e,t,n,r){if(!e){const a={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(a.params=r._zod.def.params),t.issues.push(n0(a))}}
432class Att extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const X3="~memo",j7=[];function UH(e){return e!==null&&typeof e=="object"}function z4(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const jH=new WeakMap,rm=0,m2=1,Am=2;function g2(e,t,n){const r=jH.get(e);if(r!==void 0)return r?Am:rm;if(t.has(e))return Am;t.add(e);let a=rm;const i=u=>{if(a!==Am&&(u!=null&&u._zod)){const d=g2(u,t);d>a&&(a=d)}},o=(u,d)=>{var h;let f=rm;for(const p of Reflect.ownKeys(u)){const m=Object.getOwnPropertyDescriptor(u,p);if(!m.enumerable)continue;const g=m.get?m2:(h=m.value)!=null&&h._zod?g2(m.value,t):rm;g>f&&(f=g)}return f},s=u=>{u>a&&(a=u)},l=e._zod.def;switch(l.type){case"object":{const u=rk(l);s(u?o(u):m2),i(l.catchall);break}case"array":i(l.element);break;case"tuple":for(const u of l.items)i(u);i(l.rest);break;case"record":case"map":i(l.keyType),i(l.valueType);break;case"set":i(l.valueType);break;case"union":for(const u of l.options)i(u);break;case"intersection":i(l.left),i(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(l.innerType);break;case"pipe":i(l.in),i(l.out);break;case"function":i(l.input),i(l.output);break;case"lazy":{const u=l._cachedInner??void 0;s(u?g2(u,t):m2);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const u in l){const d=Object.getOwnPropertyDescriptor(l,u);if(!d||d.get)continue;const f=d.value;if(!(!f||typeof f!="object")){if(f._zod)i(f);else if(Array.isArray(f))for(const h of f)i(h)}}}return t.delete(e),Ttt(e,a)}function Ttt(e,t){return t!==m2&&jH.set(e,t===Am),t}function Ett(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let gg;const bg=[],_tt={alloc(e,t,n){const r=gg;if(!r)return n;gg=void 0;const a={value:n,issues:null};return r.set(t.value,a),bg.push(a),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const n=e._zod.parse,r=(a,i)=>{if(i.direction!=="backward"&&$tt(i,a.value))throw new Att;return n(a,i)};e._zod.parse=r,e._zod.run===n&&(e._zod.run=r)})},attach(e){var t;let n,r=!1,a,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const o=e._zod.parse,s=(l,c)=>{if(n===void 0){const v=g2(e,new Set);if(v===rm)return e._zod.parse=o,e._zod.run===s&&(e._zod.run=o),o(l,c);v===Am||r?n=!0:r=!0}const u=l.value;if(!UH(u))return o(l,c);let d=c[X3];d||(d={buckets:new WeakMap,backEdges:void 0},c[X3]=d);let f;a===c?f=i:(f=Ett(d,e),a=c,i=f);const h=f.get(u);if(h)return l.value=h.value,h.issues?h.issues.length&&l.issues.push(...z4(h.issues)):(l.memo=!0,d.backEdges??(d.backEdges=new WeakSet),d.backEdges.add(h.value)),l;gg=f;const p=bg.length,m=o(l,c);gg=void 0;const g=bg.length>p?bg.pop():void 0;return m instanceof Promise?m.then(v=>(g&&(g.issues=v.issues.length?z4(v.issues):j7),v)):(g&&(g.issues=m.issues.length?z4(m.issues):j7),m)};e._zod.parse=s,e._zod.run===o&&(e._zod.run=s)})}};function Ctt(){return _tt}function $tt(e,t){var r;const n=(r=e[X3])==null?void 0:r.backEdges;return n!==void 0&&UH(t)&&n.has(t)}const Ptt=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};function a(i,o){return i==="number"&&typeof o=="number"&&!Number.isFinite(o)?String(o):r[i]??i}return i=>
432{switch(i.code){case"invalid_type":{const o=a(i.expected),s=GKe(i.input),l=a(s,i.input);return`Invalid input: expected ${o}, received ${l}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${yH(i.values[0])}`:`Invalid option: expected one of ${S7(i.values,"|")}`;case"too_big":{const o=i.exact?"exactly ":i.inclusive?"<=":"<",s=t(i.origin);return s?`Too big: expected ${i.origin??"value"} to have ${o}${i.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${o}${i.maximum.toString()}`}case"too_small":{const o=i.exact?"exactly ":i.inclusive?">=":">",s=t(i.origin);return s?`Too small: expected ${i.origin} to have ${o}${i.minimum.toString()} ${s.unit}`:`Too small: expected ${i.origin} to be ${o}${i.minimum.toString()}`}case"invalid_format":{const o=i;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${S7(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(s=>`'${s}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function Itt(){return{localeError:Ptt()}}var F7;class Rtt{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const a={...r,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Ntt(){return new Rtt}(F7=globalThis).__zod_globalRegistry??(F7.__zod_globalRegistry=Ntt());const am=globalThis.__zod_globalRegistry;function FH(e){return e.checks&&(e.checks=[...e.checks]),e}function Mtt(e,t){return new e(FH({type:"string",...mt(t)}))}function Ltt(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...mt(t)})}function Dtt(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...mt(t)})}function Btt(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...mt(t)})}function Utt(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...mt(t)})}function jtt(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...mt(t)})}function Ftt(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...mt(t)})}function Qtt(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...mt(t)})}function ztt(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...mt(t)})}function Htt(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...mt(t)})}function Vtt(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...mt(t)})}function qtt(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...mt(t)})}function Ztt(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...mt(t)})}function Xtt(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...mt(t)})}function Wtt(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...mt(t)})}function Ytt(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...mt(t)})}function Gtt(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...mt(t)})}function Ktt(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...mt(t)})}function Jtt(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...mt(t)})}function ent(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...mt(t)})}function tnt(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...mt(t)})}function nnt(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...mt(t)})}function rnt(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...mt(t)})}function ant(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...mt(t)})}function int(e,t){return new e({type:"string",format:"date",check:"string_format",...mt(t)})}function ont(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...mt(t)})}function snt(e,t){return new e({type:"string",format:"duration",check:"string_format",...mt(t)})}function lnt(e,t){return new e(FH({type:"number",checks:[],...mt(t)}))}function cnt(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...mt(t)})}function unt(e,t){return new e({type:"boolean",...mt(t)})}function dnt(e,t){return new e({type:"null",...mt(t)})}function fnt(e){return new e({type:"unknown"})}function hnt(e,t){return new e({type:"never",...mt(t)})}function Q7(e,t){return new AH({check:"less_than",...mt(t),value:e,inclusive:!1})}function H4(e,t){return new AH({check:"less_than",...mt(t),value:e,inclusive:!0})}function z7(e,t){return new TH({check:"greater_than",...mt(t),value:e,inclusive:!1})}function V4(e,t){return new TH({check:"greater_than",...mt(t),value:e,inclusive:!0})}function H7(e,t){return new ret({check:"multiple_of",...mt(t),value:e})}function QH(e,t){return new iet({check:"max_length",...mt(t),maximum:e})}function Cb(e,t){return new oet({check:"min_length",...mt(t),minimum:e})}function zH(e,t){return new set({check:"length_equals",...mt(t),length:e})}function pnt(e,t){return new cet({check:"string_format",format:"regex",...mt(t),pattern:e})}function mnt(e){return new uet({check:"string_format",format:"lowercase",...mt(e)})}function gnt(e){return new det({check:"string_format",format:"up
432percase",...mt(e)})}function bnt(e,t){return new fet({check:"string_format",format:"includes",...mt(t),includes:e})}function ynt(e,t){return new het({check:"string_format",format:"starts_with",...mt(t),prefix:e})}function vnt(e,t){return new pet({check:"string_format",format:"ends_with",...mt(t),suffix:e})}function Ont(e,t){return new met({check:"properties",shape:e,...mt(t)})}function lp(e){return new get({check:"overwrite",tx:e})}function Snt(e){return lp(t=>t.normalize(e))}function wnt(){return lp(e=>e.trim())}function xnt(){return lp(e=>e.toLowerCase())}function knt(){return lp(e=>e.toUpperCase())}function Ant(){return lp(e=>BKe(e))}function Tnt(e,t,n){return new e({type:"array",element:t,...mt(n)})}function Ent(e,t,n){const r=mt(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function _nt(e,t,n){return new e({type:"custom",check:"custom",fn:t,...mt(n)})}function Cnt(e,t){const n=$nt(r=>(r.addIssue=a=>{if(typeof a=="string")r.issues.push(n0(a,r.value,n._zod.def));else{const i=a;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=r.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),r.issues.push(n0(i))}},e(r.value,r)),t);return n}function $nt(e,t){const n=new Ei({check:"custom",...mt(t)});return n._zod.check=e,n}function Tm(e,...t){for(const n of t)for(const r of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,r)&&Sl(e,r,n[r]);return e}function $b(e){let t=(e==null?void 0:e.target)??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??am,target:t,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",intersections:[],deferred:[],external:(e==null?void 0:e.external)??void 0}}function Fa(e,t,n,r,a){const i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:r.path,message:a}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(a);return Object.assign(n,i),!0}function ar(e,t,n={path:[],schemaPath:[]}){var u,d;var r;const a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const s=(d=(u=e._zod).toJSONSchema)==null?void 0:d.call(u);if(s)o.schema=s;else{const f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,f);else{const p=o.schema,m=t.processors[a.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);m(e,t,p,f)}const h=e._zod.parent;h&&(o.ref||(o.ref=h),ar(h,t,f),t.seen.get(h).isParent=!0)}const l=t.metadataRegistry.get(e);return l&&Tm(o.schema,l),t.io==="input"&&hi(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&"_prefault"in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function V7(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Pb(e,t){var o,s,l,c;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const r=new Map;for(const u of e.seen.entries()){const d=(o=e.metadataRegistry.get(u[0]))==null?void 0:o.id;if(d){const f=r.get(d);if(f&&f!==u[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(d,u[0])}}const a=u=>{var m;const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const g=(m=e.external.registry.get(u[0]))==null?void 0:m.id,v=e.external.uri??(S=>S);if(g)return{ref:v(g)};const k=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=k,{defId:k,ref:`${v("__shared")}#/${d}/${V7(k)}`}}const f="#",h=`${f}/${d}/`;if(u[1]===n&&!u[1].schema.id)return{ref:f};const p=u[1].schema.id??`__schema${e.counter++}`;return{defId:p,ref:h+V7(p)}},i=u=>{if(u[1].schema.$ref)return;const d=u[1],{ref:f,defId:h}=a(u);d.def={...d.schema},h&&(d.defId=h);const p=d.schema;for(const m in p)delete p[m];p.$ref=f};if(e.cycles==="throw")for(const u of e.seen.entries()){const d=u[1];if(d.cycle)throw new Error(`Cycle detected: #/${(s=d.cycle)==null?void 0:s.join("/")}/<root> 433 434Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const d=u[1];if(t===u[0]){i(u);continue}if(e.external){const h=(l=e.external.registry.get(u[0]))==null?void 0:l.id;if(t!==u[0]&&h){i(u);continue}}if((c=e.metadataRegistry.get(u[0]))==null?void 0:c.id){i(u);continue}if(d.cycle){i(u);continue}d.count>1&&e.reused==="ref"&&i(u)}e.external&&(e.sharedDefsExtractedFor=e.external)}function HH(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const n=[];for(const r of t){if(!r||typeof r!="object")return;HH(r);const a=Object.keys(r);if(a.length!==1||a[0]!=="type")return;const i=r.type;for(const o of Array.isArray(i)?i:[i]){if(typeof o!="string")return;n.includes(o)||n.push(o)}}delete e.anyOf,e.type=n.length===1?n[0]:n}const VH=new Set(["type","properties","required","additionalProperties"]),q7=["oneOf","anyOf"];function Z7(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function W3(e){var i;const t=[];for(const o of e){if(typeof o!="object"||o.type!=="object")return null;for(const s in o)if(!VH.has(s))return null;t.push(o)}const n={},r=new Set;for(const o of t){for(const s in o.properties){if(Object.prototype.hasOwnProperty.call(n,s))continue;const l=[];for(const u of t){const d=((i=u.properties)==null?void 0:i[s])??Z7(u);d!=null&&(l.some(f=>JSON.stringify(f)===JSON.stringify(d))||l.push(d))}const c=l.length===1?l[0]:W3(l)??{allOf:l};
434Sl(n,s,c)}for(const s of o.required??[])r.add(s)}const a={type:"object",properties:n};if(r.size&&(a.required=[...r]),t.every(o=>o.additionalProperties===!1))a.additionalProperties=!1;else{const o=[];for(const s of t){const l=Z7(s);l&&!o.some(c=>JSON.stringify(c)===JSON.stringify(l))&&o.push(l)}o.length===1?a.additionalProperties=o[0]:o.length>1&&(a.additionalProperties={allOf:o})}return a}function Pnt(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const a of VH)if(a in e)return;const n=t.filter(a=>q7.some(i=>Array.isArray(a[i])));let r=null;if(!n.length)r=W3(t);else{const a=n[0],i=q7.find(l=>Array.isArray(a[l]));if(Object.keys(a).length!==1)return;const o=t.filter(l=>l!==a),s=a[i].map(l=>W3([...o,l]));if(s.some(l=>!l))return;r={[i]:s}}r&&(delete e.allOf,Tm(e,r))}function Ib(e,t){var s,l,c,u;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=d=>{const f=e.seen.get(d);if(f.ref===null)return;const h=f.def??f.schema,p={...h},m=f.ref;if(f.ref=null,m){r(m);const v=e.seen.get(m),k=v.schema;if(k.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(h.allOf=h.allOf??[],h.allOf.push(k)):Tm(h,k),Tm(h,p),d._zod.parent===m)for(const A in h)A==="$ref"||A==="allOf"||A in p||delete h[A];if(k.$ref&&v.def)for(const A in h)A==="$ref"||A==="allOf"||A in v.def&&JSON.stringify(h[A])===JSON.stringify(v.def[A])&&delete h[A]}const g=d._zod.parent;if(g&&g!==m){r(g);const v=e.seen.get(g);if(v!=null&&v.schema.$ref&&(h.$ref=v.schema.$ref,v.def))for(const k in h)k==="$ref"||k==="allOf"||k in v.def&&JSON.stringify(h[k])===JSON.stringify(v.def[k])&&delete h[k]}e.override({zodSchema:d,jsonSchema:h,path:f.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const d of[...e.seen.entries()].reverse())r(d[0]);if(e.target!=="openapi-3.0")for(const d of e.seen.entries())HH(d[1].def??d[1].schema);for(const d of e.deferred)d();if(e.intersections.length){const d=new Map;for(const f of e.seen.values())for(const h of[f.schema,f.def]){const p=h==null?void 0:h.allOf;if(!Array.isArray(p))continue;const m=d.get(p);m?m.push(h):d.set(p,[h])}for(const f of e.intersections)for(const h of d.get(f)??[])Pnt(h)}}const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":e.target,(s=e.external)!=null&&s.uri){const d=(l=e.external.registry.get(t))==null?void 0:l.id;if(!d)throw new Error("Schema is missing an `id` property");a.$id=e.external.uri(d)}Tm(a,n.defId?n.schema:n.def??n.schema);const i=(c=e.metadataRegistry.get(t))==null?void 0:c.id;i!==void 0&&a.id===i&&delete a.id;const o=((u=e.external)==null?void 0:u.defs)??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const d of e.seen.entries()){const f=d[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,Sl(o,f.defId,f.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?a.$defs=o:a.definitions=o);try{const d=JSON.parse(JSON.stringify(a));return Object.defineProperty(d,"~standard",{value:{...t["~standard"],jsonSchema:{input:Rb(t,"input",e.processors),output:Rb(t,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function hi(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return hi(r.element,n);if(r.type==="set")return hi(r.valueType,n);if(r.type==="lazy")return hi(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault"||r.type==="catch")return hi(r.innerType,n);if(r.type==="intersection")return hi(r.left,n)||hi(r.right,n);if(r.type==="record"||r.type==="map")return hi(r.keyType,n)||hi(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:hi(r.in,n)||hi(r.out,n);if(r.type==="object"){for(const a in r.shape)if(hi(r.shape[a],n))return!0;return!1}if(r.type==="union"){for(const a of r.options)if(hi(a,n))return!0;return!1}if(r.type==="tuple"){for(const a of r.items)if(hi(a,n))return!0;return!!(r.rest&&hi(r.rest,n))}return!1}const Int=(e,t={})=>n=>{const r=$b({...n,processors:t});return ar(e,r),Pb(r,e),Ib(r,e)},Rb=(e,t,n={})=>r=>{const{libraryOptions:a,target:i}=r??{},o=$b({...a??{},target:i,io:t,processors:n});return ar(e,o),Pb(o,e),Ib(o,e)},kh=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Ah=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},X7=(e,t)=>{kh(e,"minimum",t),Ah(e,"maximum",t)},qH=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},ZH=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},XH=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},WH=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},W7=(e,t)=>kh(e,"minimum",t.minimum),Y7=(e,t)=>Ah(e,"maximum",t.maximum),G7=e=>(t,n)=>{WH(t,n.format);const[r,a]=e[n.format];kh(t,"minimum",r),Ah(t,"maximum",a)},q4={greater_than:(e,t)=>kh(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>Ah(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>
434qH(e,t.value),number_format:G7(vH),bigint_format:G7(QKe),min_length:W7,max_length:Y7,length_equals:(e,t)=>X7(e,t.length),min_size:W7,max_size:Y7,size_equals:(e,t)=>X7(e,t.size),string_format:(e,t)=>{WH(e,t.format),t.pattern&&ZH(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>XH(e,t.mime)};function lo(e){var i;const t={},n=e._zod.def,r=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(const o of r)(i=q4[o._zod.def.check])==null||i.call(q4,t,o._zod.def);const a=e._zod.bag;a.minimum!==void 0&&kh(t,"minimum",a.minimum),a.exclusiveMinimum!==void 0&&kh(t,"exclusiveMinimum",a.exclusiveMinimum),a.maximum!==void 0&&Ah(t,"maximum",a.maximum),a.exclusiveMaximum!==void 0&&Ah(t,"exclusiveMaximum",a.exclusiveMaximum),a.multipleOf!==void 0&&qH(t,a.multipleOf),a.format!==void 0&&(t.format??(t.format=a.format),a.format.includes("int")&&(t.isInt=!0)),a.mime&&XH(t,a.mime);for(const o of a.patterns??[])ZH(t,o);return t}const Rnt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Nnt=new Map([[RH,zJe],[pk,HJe]]),YH=e=>Nnt.get(e)??e,GH=(e,t,n,r)=>{const a=n;a.type="string";const{minimum:i,maximum:o,format:s,patterns:l,contentEncoding:c,laxFormat:u}=lo(e);if(typeof i=="number"&&(a.minLength=i),typeof o=="number"&&(a.maxLength=o),s&&(a.format=Rnt[s]??s,a.format===""&&delete a.format,(s==="time"||u)&&delete a.format),c&&(a.contentEncoding=c),l&&l.size>0){const d=[...l].map(YH);d.length===1?a.pattern=d[0].source:d.length>1&&(a.allOf=[...d.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},KH=(e,t,n,r)=>{const a=n,{minimum:i,maximum:o,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:c,isInt:u}=lo(e);a.type=u?"integer":"number";const d=typeof c=="number"&&c>=(i??Number.NEGATIVE_INFINITY),f=typeof l=="number"&&l<=(o??Number.POSITIVE_INFINITY),h=t.target==="draft-04"||t.target==="openapi-3.0";if(d?h?(a.minimum=c,a.exclusiveMinimum=!0):a.exclusiveMinimum=c:typeof i=="number"&&(a.minimum=i),f?h?(a.maximum=l,a.exclusiveMaximum=!0):a.exclusiveMaximum=l:typeof o=="number"&&(a.maximum=o),s){const p=new Set;for(const v of s)Number.isFinite(v)&&v!==0?p.add(Math.abs(v)):Fa(e,t,a,r,`A multipleOf divisor of ${v} cannot be represented in JSON Schema`);const[m,...g]=p;m!==void 0&&(a.multipleOf=m),g.length&&(a.allOf=[...a.allOf??[],...g.map(v=>({multipleOf:v}))])}},JH=(e,t,n,r)=>{n.type="boolean"},Mnt=(e,t,n,r)=>{Fa(e,t,n,r,"BigInt cannot be represented in JSON Schema")},Lnt=(e,t,n,r)=>{Fa(e,t,n,r,"Symbols cannot be represented in JSON Schema")},eV=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},Dnt=(e,t,n,r)=>{Fa(e,t,n,r,"Undefined cannot be represented in JSON Schema")},Bnt=(e,t,n,r)=>{Fa(e,t,n,r,"Void cannot be represented in JSON Schema")},tV=(e,t,n,r)=>{n.not={}},Unt=(e,t,n,r)=>{},nV=(e,t,n,r)=>{},jnt=(e,t,n,r)=>{Fa(e,t,n,r,"Date cannot be represented in JSON Schema")},rV=(e,t,n,r)=>{const a=e._zod.def,i=H3(a.entries);if(i.length===0){n.not={};return}i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),n.enum=i},aV=(e,t,n,r)=>{const a=e._zod.def;if(a.values.length===0){n.not={};return}const i=[];for(const o of a.values)if(o===void 0){if(Fa(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o=="bigint"){if(Fa(e,t,n,r,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(o))}else i.push(o);if(i.length!==0)if(i.length===1){const o=i[0];n.type=o===null?"null":typeof o,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[o]:n.const=o}else i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),i.every(o=>typeof o=="boolean")&&(n.type="boolean"),i.every(o=>o===null)&&(n.type="null"),n.enum=i},Fnt=(e,t,n,r)=>{Fa(e,t,n,r,"NaN cannot be represented in JSON Schema")},Qnt=(e,t,n,r)=>{const a=n,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=i.source},znt=(e,t,n,r)=>{const a=n;a.type="string",a.format="binary",a.contentEncoding="binary";const{minimum:i,maximum:o,mime:s}=lo(e);i!==void 0&&(a.minLength=i),o!==void 0&&(a.maxLength=o),s&&(s.length===0?a.not={}:s.length===1?a.contentMediaType=s[0]:a.anyOf=s.map(l=>({contentMediaType:l})))},Hnt=(e,t,n,r)=>{n.type="boolean"},iV=(e,t,n,r)=>{Fa(e,t,n,r,"Custom types cannot be represented in JSON Schema")},Vnt=(e,t,n,r)=>{Fa(e,t,n,r,"Function types cannot be represented in JSON Schema")},oV=(e,t,n,r)=>{Fa(e,t,n,r,"Transforms cannot be represented in JSON Schema")},qnt=(e,t,n,r)=>{Fa(e,t,n,r,"Map cannot be represented in JSON Schema")},Znt=(e,t,n,r)=>{Fa(e,t,n,r,"Set cannot be represented in JSON Schema")},sV=(e,t,n,r)=>{const a=n,i=e._zod.def,{minimum:o,maximum:s}=lo(e);typeof o=="number"&&(a.minItems=o),typeof s=="number"&&(a.maxItems=s),a.type="array",a.items=ar(i.element,t,{...r,path:[...r.path,"items"]})};function r0(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?r0(t.out):t.type==="catch"?r0(t.innerType):e._zod.optin}const lV=(e,t,n,r)=>{var c;const a=n,i=e._zod.def,o=i.shape;if(Object.getOwnPropertySymbols(o).length&&Fa(e,t,a,r,"Symbol keys cannot be represented in JSON Schema"))return;a.type="object",a.properties={};for(const u in o)Sl(a.properties,u,ar(o[u],t,{...r,path:[...r.path,"properties",u]}));const l=[];for(const u of Object.keys(o)){const d=i.shape[u];(t.io==="input"?r0(d)===void 0:d._zod.optout===void 0)&&l.push(u)}l.length>0&&(a.required=l),((c=i.catchall)==null?void 0:c._zod.def.type)==="never"?a.additionalProperties=!1:i.catchall?i.catchall&&(a.additionalProperties=ar(i.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},cV=(e,t,n,r)=>{const a=e._zod.def,i=a.inclusive===!1,o=a.options.map((s,l)=>ar(s,t,{...r,path:[...r.path,i?"oneOf":"anyOf",l]}));i?n.oneOf=o:n.anyOf=o},uV=(e,t,n,r)=>{const a=e._zod.def,i=ar(a.left,t,{...r,path:[...r.path,"allOf",0]}),o=ar(a.right,t,{...r,path:[...r.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(i)?i.allOf:[i],...s(o)?o.allOf:[o]];n.allOf=l,t.intersections.push(l)},Xnt=(e,t,n,r)=>{const a=n,i=e._zod.def;a.type="array";
434const o=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=i.items.map((m,g)=>ar(m,t,{...r,path:[...r.path,o,g]})),c=i.rest?ar(i.rest,t,{...r,path:[...r.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;let u=i.items.length;for(;u>0;){const m=i.items[u-1];if(!(t.io==="input"?r0(m)!==void 0:m._zod.optout==="optional"))break;u--}const d=i.items.length,f=!i.rest;t.target==="draft-2020-12"?(a.prefixItems=l,f?a.items=!1:c&&(a.items=c),u>0&&(a.minItems=u),f&&(a.maxItems=d)):t.target==="openapi-3.0"?(a.items={anyOf:l},c&&a.items.anyOf.push(c),u>0&&(a.minItems=u),f&&(a.maxItems=d)):(a.items=l,f?a.additionalItems=!1:c&&(a.additionalItems=c),u>0&&(a.minItems=u),f&&(a.maxItems=d));const{minimum:h,maximum:p}=lo(e);typeof h=="number"&&(a.minItems=h),typeof p=="number"&&(a.maxItems=p)};function Y3(e,t,n){var p;if(t.$ref){if(n.has(t))return t;n.add(t);const m=(p=e.get(t))==null?void 0:p.def;if(!m)return t;const g=Y3(e,m,n);return g===m?t:g}for(const m of["anyOf","oneOf"]){const g=t[m];if(!Array.isArray(g))continue;const v=g.map(k=>Y3(e,k,n));v.some((k,S)=>k!==g[S])&&(t={...t,[m]:v})}const r=Array.isArray(t.type)?t.type:[t.type],a=!r.includes("string")&&r.some(m=>m==="number"||m==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!a&&!(i!=null&&i.some(m=>typeof m=="number")))return t;const{minimum:o,maximum:s,exclusiveMinimum:l,exclusiveMaximum:c,multipleOf:u,format:d,id:f,...h}=t;return h.enum?h.enum=h.enum.map(m=>typeof m=="number"?String(m):m):typeof h.const=="number"&&(h.const=String(h.const)),a&&(h.type="string",i||(h.pattern=(r.includes("number")?dk:KJe).source)),h}const G3=new WeakMap;function Wnt(e){var r;const t=new Map;for(const a of e.seen.values())a.def&&!t.has(a.schema)&&t.set(a.schema,a);const n=new Map;for(const a of G3.get(e)??[]){const i=e.seen.get(a),o=(r=(i==null?void 0:i.def)??(i==null?void 0:i.schema))==null?void 0:r.propertyNames;if(!o||o===!0||n.has(o))continue;const s=Y3(t,o,new Set);s!==o&&n.set(o,s)}if(n.size)for(const a of e.seen.values())for(const i of[a.schema,a.def]){const o=i&&n.get(i.propertyNames);o&&(i.propertyNames=o)}}const dV=(e,t,n,r)=>{const a=n,i=e._zod.def;a.type="object";const o=i.keyType,s=lo(o).patterns;if(i.mode==="loose"&&s&&s.size>0){const u=ar(i.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});a.patternProperties={};for(const d of s)Sl(a.patternProperties,YH(d).source,u)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){a.propertyNames=ar(i.keyType,t,{...r,path:[...r.path,"propertyNames"]});let u=G3.get(t);u||(u=[],G3.set(t,u),t.deferred.push(()=>Wnt(t))),u.push(e)}a.additionalProperties=ar(i.valueType,t,{...r,path:[...r.path,"additionalProperties"]})}const l=o._zod.values,c=t.io==="input"&&r0(i.valueType)!==void 0;if(l&&!i.partial&&!c){const u=[...l].filter(d=>typeof d=="string"||typeof d=="number");u.length>0&&(a.required=u.map(String))}},fV=(e,t,n,r)=>{const a=e._zod.def,i=ar(a.innerType,t,r),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=a.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},hV=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},mk=Symbol();function pV(e,t,n,r,a){let i=!1;const o=JSON.stringify(e,(s,l)=>typeof l!="bigint"?l:(i=!0,null));return i?(Fa(t,n,r,a,"BigInt defaults cannot be represented in JSON Schema"),mk):JSON.parse(o)}const mV=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType;const o=pV(a.defaultValue,e,t,n,r);o!==mk&&(n.default=o)},gV=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);if(i.ref=a.innerType,t.io!=="input")return;const o=pV(a.defaultValue,e,t,n,r);o!==mk&&(n._prefault=o)},bV=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType;let o;try{o=a.catchValue(void 0)}catch{Fa(e,t,n,r,"Dynamic catch values are not supported in JSON Schema");return}n.default=o},yV=(e,t,n,r)=>{const a=e._zod.def,i=a.in._zod.traits.has("$ZodTransform"),o=t.io==="input"?i?a.out:a.in:a.out;ar(o,t,r);const s=t.seen.get(e);s.ref=o},vV=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType,n.readOnly=!0},Ynt=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},gk=(e,t,n,r)=>{const a=e._zod.def;ar(a.innerType,t,r);const i=t.seen.get(e);i.ref=a.innerType},OV=(e,t,n,r)=>{const a=e._zod.innerType;ar(a,t,r);const i=t.seen.get(e);i.ref=a},K7={string:GH,number:KH,boolean:JH,bigint:Mnt,symbol:Lnt,null:eV,undefined:Dnt,void:Bnt,never:tV,any:Unt,unknown:nV,date:jnt,enum:rV,literal:aV,nan:Fnt,template_literal:Qnt,file:znt,success:Hnt,custom:iV,function:Vnt,transform:oV,map:qnt,set:Znt,array:sV,object:lV,union:cV,intersection:uV,tuple:Xnt,record:dV,nullable:fV,nonoptional:hV,default:mV,prefault:gV,catch:bV,pipe:yV,readonly:vV,promise:Ynt,optional:gk,lazy:OV};function A4t(e,t){if("_idmap"in e){const r=e,a=$b({...t,processors:K7}),i={};
434for(const l of r._idmap.entries()){const[c,u]=l;ar(u,a)}const o={},s={registry:r,uri:t==null?void 0:t.uri,defs:i};a.external=s;for(const l of r._idmap.entries()){const[c,u]=l;Pb(a,u),Sl(o,c,Ib(a,u))}if(Object.keys(i).length>0){const l=a.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[l]:i}}return{schemas:o}}const n=$b({...t,processors:K7});return ar(e,n),Pb(n,e),Ib(n,e)}const J7=new WeakSet([Object.prototype,Error.prototype]);function yg(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const r=n(this);return Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0})}})}const Gnt=(e,t)=>{uJe.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);J7.has(n)||(J7.add(n),yg(n,"format",r=>a=>hJe(r,a)),yg(n,"flatten",r=>a=>fJe(r,a)),yg(n,"addIssue",r=>a=>{r.issues.push(a),r.message=JSON.stringify(r.issues,V3,2)}),yg(n,"addIssues",r=>a=>{r.issues.push(...a),r.message=JSON.stringify(r.issues,V3,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Yo=we("ZodError",Gnt,void 0,{Parent:Error}),Knt=sk(Yo),Jnt=lk(Yo),ert=ck(Yo),trt=uk(Yo),nrt=vJe(Yo),rrt=OJe(Yo),art=SJe(Yo),irt=wJe(Yo),ort=xJe(Yo),srt=kJe(Yo),lrt=AJe(Yo),crt=TJe(Yo);function urt(){Es.localeError||yl(Itt())}function Xv(){Es.memoizer||yl({memoizer:Ctt()})}const ur=we("ZodType",(e,t)=>(urt(),cr.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(io(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Su(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(sat(e,t))},superRefine(e,t){return this.check(lat(e,t))},overwrite(e){return this.check(lp(e))},optional(){return r$(this)},exactOptional(){return Xrt(this)},nullable(){return a$(this)},nullish(){return r$(a$(this))},nonoptional(e){return eat(this,e)},array(){return Wv(this)},or(e){return bk([this,e])},and(e){return Hrt(this,e)},transform(e){return i$(this,Zrt(e))},default(e){return Grt(this,e)},prefault(e){return Jrt(this,e)},catch(e){return nat(this,e)},pipe(e){return i$(this,e)},readonly(){return iat(this)},describe(e){const t=this.clone();return am.add(t,{description:e}),t},meta(...e){if(e.length===0)return am.get(this);const t=this.clone();return am.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return ok(this,"~standard",{..._H(this),jsonSchema:{input:Rb(this,"input"),output:Rb(this,"output")}})},set"~standard"(e){qc(this,"~standard",e)},parse:function e(t,n){return Knt(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Jnt(this,t,n,{callee:e})},safeParse(e,t){return ert(this,e,t)},async safeParseAsync(e,t){return trt(this,e,t)},get spa(){return this==null?void 0:this.safeParseAsync},set spa(e){qc(this,"spa",e)},validate(e,t){return gJe(this,e,t)},validateAsync(e,t){return yJe(this,e,t)},encode:function e(t,n){return nrt(this,t,n,{callee:e})},decode:function e(t,n){return rrt(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await art(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await irt(this,t,n,{callee:e})},safeEncode(e,t){return ort(this,e,t)},safeDecode(e,t){return srt(this,e,t)},async safeEncodeAsync(e,t){return lrt(this,e,t)},async safeDecodeAsync(e,t){return crt(this,e,t)},toJSONSchema(e){return Int(this,{})(e)},get description(){var e;return(e=am.get(this))==null?void 0:e.description},get _def(){return this._zod.def}}),SV=we("_ZodString",(e,t)=>{hk.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>GH(e,n,r)},SH({format:e=>lo(e).format??null,minLength:e=>lo(e).minimum??null,maxLength:e=>lo(e).maximum??null},{regex(...e){return this.check(pnt(...e))},includes(...e){return this.check(bnt(...e))},startsWith(...e){return this.check(ynt(...e))},endsWith(...e){return this.check(vnt(...e))},min(...e){return this.check(Cb(...e))},max(...e){return this.check(QH(...e))},length(...e){return this.check(zH(...e))},nonempty(...e){return this.check(Cb(1,...e))},lowercase(e){return this.check(mnt(e))},uppercase(e){return this.check(gnt(e))},trim(){return this.check(wnt())},normalize(...e){return this.check(Snt(...e))},toLowerCase(){return this.check(xnt())},toUpperCase(){return this.check(knt())},slugify(){return this.check(Ant())}})),drt=we("ZodString",(e,t)=>{hk.init(e,t),SV.init(e,t)},{email(e){return this.check(Ltt(grt,e))},url(e){return this.check(Qtt(yrt,e))},jwt(e){return this.check(rnt(Rrt,e))},emoji(e){return this.check(ztt(vrt,e))},guid(e){return this.check(Dtt(brt,e))},uuid(e){return this.check(Btt(vg,e))},uuidv4(e){return this.check(Utt(vg,e))},uuidv6(e){return this.check(jtt(vg,e))},uuidv7(e){return this.check(Ftt(vg,e))},nanoid(e){return this.check(Htt(Ort,e))},cuid(e){return this.check(Vtt(Srt,e))},cuid2(e){return this.check(qtt(wrt,e))},ulid(e){return this.check(Ztt(xrt,e))},base64(e){return this.check(ent($rt,e))},base64url(e){return this.check(tnt(Prt,e))},xid(e){return this.check(Xtt(krt,e))},ksuid(e){return this.check(Wtt(Art,e))},ipv4(e){return this.check(Ytt(Trt,e))},ipv6(e){return this.check(Gtt(Ert,e))},cidrv4(e){return this.check(Ktt(_rt,e))},cidrv6(e){return this.check(Jtt(Crt,e))},e164(e){return this.check(nnt(Irt,e))},datetime(e){return this.check(ant(frt,e))},date(e){return this.check(int(hrt,e))},time(e){return this.check(ont(prt,e))},duration(e){return this.check(snt(mrt,e))}});function vn(e){return Mtt(drt,e)}
434const _r=we("ZodStringFormat",(e,t)=>{yr.init(e,t),SV.init(e,t)}),frt=we("ZodISODateTime",(e,t)=>{Det.init(e,t),_r.init(e,t)}),hrt=we("ZodISODate",(e,t)=>{Bet.init(e,t),_r.init(e,t)}),prt=we("ZodISOTime",(e,t)=>{Uet.init(e,t),_r.init(e,t)}),mrt=we("ZodISODuration",(e,t)=>{jet.init(e,t),_r.init(e,t)}),grt=we("ZodEmail",(e,t)=>{xet.init(e,t),_r.init(e,t)}),brt=we("ZodGUID",(e,t)=>{Oet.init(e,t),_r.init(e,t)}),vg=we("ZodUUID",(e,t)=>{wet.init(e,t),_r.init(e,t)}),yrt=we("ZodURL",(e,t)=>{Cet.init(e,t),_r.init(e,t)}),vrt=we("ZodEmoji",(e,t)=>{$et.init(e,t),_r.init(e,t)}),Ort=we("ZodNanoID",(e,t)=>{Pet.init(e,t),_r.init(e,t)}),Srt=we("ZodCUID",(e,t)=>{Iet.init(e,t),_r.init(e,t)}),wrt=we("ZodCUID2",(e,t)=>{Ret.init(e,t),_r.init(e,t)}),xrt=we("ZodULID",(e,t)=>{Net.init(e,t),_r.init(e,t)}),krt=we("ZodXID",(e,t)=>{Met.init(e,t),_r.init(e,t)}),Art=we("ZodKSUID",(e,t)=>{Let.init(e,t),_r.init(e,t)}),Trt=we("ZodIPv4",(e,t)=>{Fet.init(e,t),_r.init(e,t)}),Ert=we("ZodIPv6",(e,t)=>{zet.init(e,t),_r.init(e,t)}),_rt=we("ZodCIDRv4",(e,t)=>{Het.init(e,t),_r.init(e,t)}),Crt=we("ZodCIDRv6",(e,t)=>{qet.init(e,t),_r.init(e,t)}),$rt=we("ZodBase64",(e,t)=>{Zet.init(e,t),_r.init(e,t)}),Prt=we("ZodBase64URL",(e,t)=>{Wet.init(e,t),_r.init(e,t)}),Irt=we("ZodE164",(e,t)=>{Yet.init(e,t),_r.init(e,t)}),Rrt=we("ZodJWT",(e,t)=>{Ket.init(e,t),_r.init(e,t)}),wV=we("ZodNumber",(e,t)=>{NH.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>KH(e,n,r,a),e.isFinite=!0},SH({minValue:e=>{const{minimum:t,exclusiveMinimum:n}=lo(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:n}=lo(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:n}=lo(e);return!!t||!!(n!=null&&n.some(Number.isSafeInteger))},format:e=>lo(e).format??null},{gt(e,t){return this.check(z7(e,t))},gte(e,t){return this.check(V4(e,t))},min(e,t){return this.check(V4(e,t))},lt(e,t){return this.check(Q7(e,t))},lte(e,t){return this.check(H4(e,t))},max(e,t){return this.check(H4(e,t))},int(e){return this.check(e$(e))},safe(e){return this.check(e$(e))},positive(e){return this.check(z7(0,e))},nonnegative(e){return this.check(V4(0,e))},negative(e){return this.check(Q7(0,e))},nonpositive(e){return this.check(H4(0,e))},multipleOf(e,t){return this.check(H7(e,t))},step(e,t){return this.check(H7(e,t))},finite(){return this}}));function Nrt(e){return lnt(wV,e)}const Mrt=we("ZodNumberFormat",(e,t)=>{Jet.init(e,t),wV.init(e,t)});function e$(e){return cnt(Mrt,e)}const Lrt=we("ZodBoolean",(e,t)=>{ett.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>JH(e,n,r)});function xV(e){return unt(Lrt,e)}const Drt=we("ZodNull",(e,t)=>{ttt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>eV(e,n,r)});function T4t(e){return dnt(Drt,e)}
434const Brt=we("ZodUnknown",(e,t)=>{ntt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>nV()});function t$(){return fnt(Brt)}const Urt=we("ZodNever",(e,t)=>{rtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>tV(e,n,r)});function kV(e){return hnt(Urt,e)}const jrt=we("ZodArray",(e,t)=>{Xv(),att.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>sV(e,n,r,a),e.element=t.element},{min(e,t){return this.check(Cb(e,t))},nonempty(e){return this.check(Cb(1,e))},max(e,t){return this.check(QH(e,t))},length(e,t){return this.check(zH(e,t))},unwrap(){return this.element}});function Wv(e,t){return Tnt(jrt,e,t)}const AV=we("ZodObject",(e,t)=>{Xv(),stt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>lV(e,n,r,a),nJe(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return h1(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(io(this._zod.def,{catchall:e}))},passthrough(){return this.clone(io(this._zod.def,{catchall:t$()}))},loose(){return this.clone(io(this._zod.def,{catchall:t$()}))},strict(){return this.clone(io(this._zod.def,{catchall:kV()}))},strip(){return this.clone(io(this._zod.def,{catchall:void 0}))},extend(e){return VKe(this,e)},safeExtend(e){return qKe(this,e)},merge(e){return ZKe(this,e)},pick(e){return zKe(this,e)},omit(e){return HKe(this,e)},partial(...e){return x7(EV,this,e[0])},exactPartial(...e){return x7(_V,this,e[0],"exactPartial")},required(...e){return XKe(CV,this,e[0])}});function cp(e,t){const n={type:"object",shape:e??{},...mt(t)};return new AV(n)}function E4t(e,t){return new AV({type:"object",shape:e,catchall:kV(),...mt(t)})}const TV=we("ZodUnion",(e,t)=>{DH.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>cV(e,n,r,a),e.options=t.options});function bk(e,t){return new TV({type:"union",options:e,...mt(t)})}const Frt=we("ZodDiscriminatedUnion",(e,t)=>{TV.init(e,t),ctt.init(e,t)});function Qrt(e,t,n){return new Frt({type:"union",options:t,discriminator:e,...mt(n)})}const zrt=we("ZodIntersection",(e,t)=>{utt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>uV(e,n,r,a)});function Hrt(e,t){return new zrt({type:"intersection",left:e,right:t})}const n$=we("ZodRecord",(e,t)=>{Xv(),dtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>dV(e,n,r,a),e.keyType=t.keyType,e.valueType=t.valueType});function b2(e,t,n){return!t||!t._zod?new n$({type:"record",keyType:vn(),valueType:e,...mt(t)}):new n$({type:"record",keyType:e,valueType:t,...mt(n)})}const K3=we("ZodEnum",(e,t)=>{ftt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(r,a,i)=>rV(e,r,a),e.enum=t.entries,e.options=[...e._zod.values];const n=new Set(Object.keys(t.entries));e.extract=(r,a)=>{const i={};for(const o of r)if(n.has(o))i[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new K3({...t,checks:[],...mt(a),entries:i})},e.exclude=(r,a)=>{const i={...t.entries};for(const o of r)if(n.has(o))delete i[o];else throw new Error(`Key ${o} not found in enum`);return new K3({...t,checks:[],...mt(a),entries:i})}});function h1(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new K3({type:"enum",entries:n,...mt(t)})}const Vrt=we("ZodLiteral",(e,t)=>{htt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>aV(e,n,r,a),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
434(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Gs(e,t){return new Vrt({type:"literal",values:Array.isArray(e)?e:[e],...mt(t)})}const qrt=we("ZodTransform",(e,t)=>{Xv(),ptt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>oV(e,n,r,a),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new wH(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(n0(i,n.value,t));else{const o=i;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=n.value),o.inst??(o.inst=e),n.issues.push(n0(o))}};const a=t.transform(n.value,n);return a instanceof Promise?a.then(i=>(n.value=i,n)):(n.value=a,n)}});function Zrt(e){return new qrt({type:"transform",transform:e})}const EV=we("ZodOptional",(e,t)=>{BH.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>gk(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function r$(e){return new EV({type:"optional",innerType:e})}const _V=we("ZodExactOptional",(e,t)=>{mtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>gk(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function Xrt(e){return new _V({type:"optional",innerType:e})}const Wrt=we("ZodNullable",(e,t)=>{gtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>fV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function a$(e){return new Wrt({type:"nullable",innerType:e})}const Yrt=we("ZodDefault",(e,t)=>{btt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>mV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Grt(e,t){return new Yrt({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():bH(t)}})}const Krt=we("ZodPrefault",(e,t)=>{ytt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>gV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function Jrt(e,t){return new Krt({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():bH(t)}})}const CV=we("ZodNonOptional",(e,t)=>{vtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>hV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function eat(e,t){return new CV({type:"nonoptional",innerType:e,...mt(t)})}const tat=we("ZodCatch",(e,t)=>{Ott.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>bV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nat(e,t){return new tat({type:"catch",innerType:e,catchValue:typeof t=="function"?t:aJe(t)})}const rat=we("ZodPipe",(e,t)=>{Stt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>yV(e,n,r,a),e.in=t.in,e.out=t.out});function i$(e,t){return new rat({type:"pipe",in:e,out:t})}const aat=we("ZodReadonly",(e,t)=>{wtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>vV(e,n,r,a),e.unwrap=()=>e._zod.def.innerType});function iat(e){return new aat({type:"readonly",innerType:e})}const oat=we("ZodLazy",(e,t)=>{xtt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>OV(e,n,r,a),e.unwrap=()=>e._zod.def.getter()});function _4t(e){return new oat({type:"lazy",getter:e})}const yk=we("ZodCustom",(e,t)=>{ktt.init(e,t),ur.init(e,t),e._zod.processJSONSchema=(n,r,a)=>iV(e,n,r,a)});function C4t(e,t){return Ent(yk,e??(()=>!0),t)}function sat(e,t={}){return _nt(yk,e,t)}function lat(e,t){return Cnt(e,t)}const cat=we("ZodInstanceOf",(e,t)=>{yk.init(e,t)},{properties(e,t){return this.check(Ont(e,t))}});function $4t(e,t={}){const n=new cat({type:"custom",check:"custom",fn:r=>r instanceof e,abort:!0,...mt(t)});return n._zod.bag.Class=e,n._zod.check=r=>{r.value instanceof e||r.issues.push({code:"invalid_type",expected:e.name,input:r.value,inst:n,path:[...n._zod.def.path??[]]})},n}let uat="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",dat=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=uat[n[e]&63];return t};const fat=vn().min(7).default(()=>dat()),p1=cp({description:vn().optional(),"x-scalar-ignore":xV().optional()}),m1=cp({uid:fat.brand(),nameKey:vn().optional().default("")}),hat=["query","header","cookie"],$V=p1.extend({type:Gs("apiKey"),name:vn().optional().default(""),in:h1(hat).optional().default("header").catch("header")}),pat=cp({value:vn().default("")}),mat=$V.merge(m1).merge(pat),PV=p1.extend({type:Gs("http"),scheme:vn().toLowerCase().pipe(h1(["basic","bearer"])).optional().default("basic"),bearerFormat:bk([Gs("JWT"),vn()]).optional().default("JWT")}),gat=cp({username:vn().default(""),password:vn().default(""),token:vn().default("")}),bat=PV.merge(m1).merge(gat),IV=p1.extend({type:Gs("mutualTLS")}
434),yat=IV.merge(m1),RV=p1.extend({type:Gs("openIdConnect"),openIdConnectUrl:vn().optional().default("")}),vat=RV.merge(m1),o$=vn().default(""),Z4=vn().default(""),Og=cp({refreshUrl:vn().optional().default(""),scopes:b2(vn(),vn().optional().default("")).optional().default({}).catch({}),selectedScopes:Wv(vn()).optional().default([]),"x-scalar-client-id":vn().optional().default(""),token:vn().default(""),"x-scalar-security-query":b2(vn(),vn()).optional(),"x-scalar-security-body":b2(vn(),vn()).optional(),"x-tokenName":vn().optional(),"x-order":Nrt().optional(),"x-scalar-ignore":xV().optional()}),X4=typeof window<"u"?window.location.origin+window.location.pathname:"",NV=["SHA-256","plain","no"],W4=h1(["header","body"]).optional(),MV=p1.extend({type:Gs("oauth2"),"x-default-scopes":Wv(vn()).optional(),flows:cp({implicit:Og.extend({type:Gs("implicit").default("implicit"),authorizationUrl:o$,"x-scalar-redirect-uri":vn().optional().default(X4)}),password:Og.extend({type:Gs("password").default("password"),tokenUrl:Z4,clientSecret:vn().default(""),username:vn().default(""),password:vn().default(""),"x-scalar-credentials-location":W4}),clientCredentials:Og.extend({type:Gs("clientCredentials").default("clientCredentials"),tokenUrl:Z4,clientSecret:vn().default(""),"x-scalar-credentials-location":W4}),authorizationCode:Og.extend({type:Gs("authorizationCode").default("authorizationCode"),authorizationUrl:o$,"x-usePkce":h1(NV).optional().default("no"),"x-scalar-redirect-uri":vn().optional().default(X4),tokenUrl:Z4,clientSecret:vn().default(""),"x-scalar-credentials-location":W4})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":X4}})}),Oat=MV.merge(m1);b2(vn(),Wv(vn()).optional().default([]));bk([$V,PV,IV,MV,RV]);Qrt("type",[mat,bat,yat,vat,Oat]).transform(e=>{var t;return e.type==="oauth2"&&((t=e["x-default-scopes"])!=null&&t.length)&&Object.keys(e.flows).forEach(r=>{var a;(a=e.flows[r])!=null&&a.selectedScopes&&e["x-default-scopes"]&&(e.flows[r].selectedScopes=[e["x-default-scopes"]].flat())}),e});var Sat={class:"flex h-8 items-center justify-end gap-2 border-t"},wat={class:"flex h-8 w-full items-center justify-end border-t"},xat=F({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=t,r=Kh(),{toast:a}=hu(),i=$(()=>e.flows[e.type]),o=$(()=>{const E=i.value.scopes;return E?e.selectedScopes.filter(_=>Object.hasOwn(E,_)):[]}),s=$(()=>"x-scalar-secret-client-secret"in i.value),l=$(()=>i.value["x-scalar-secret-client-secret"]??""),c=E=>{if(e.scheme.type==="openIdConnect")return u(E);e.scheme.type==="oauth2"&&e.eventBus.emit("auth:update:security-scheme",{payload:{type:e.scheme.type,flows:{[e.type]:E}},name:e.name})},u=E=>{e.scheme.type!=="oauth2"&&e.scheme.type!=="openIdConnect"||e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:e.scheme.type,[e.type]:E},name:e.name})},d=()=>{r.isLoading||e.eventBus.emit("auth:clear:security-scheme-secrets",{name:e.name})},f=()=>{r.isLoading||u({"x-scalar-secret-token":"","x-scalar-secret-refresh-token":""})},h=J(null),p=J(!1),m=E=>JSON.stringify({type:e.type,authorizationUrl:E&&"authorizationUrl"in E?E.authorizationUrl:"",tokenUrl:E&&"tokenUrl"in E?E.tokenUrl:"",refreshUrl:(E==null?void 0:E.refreshUrl)??"",scopes:Object.keys((E==null?void 0:E.scopes)??{})});ze(()=>i.value,E=>{if(!E||!("x-scalar-secret-redirect-uri"in E))return;const _=m(E);if(h.value!==_&&(h.value=_,p.value=!1),p.value)return;const C=E["x-scalar-secret-redirect-uri"],R=M3(e.options);p.value=!0,!(C||!R||e.options.captureOAuth2Callback)&&u({"x-scalar-secret-redirect-uri":R})},{immediate:!0});const g=async()=>{if(r.isLoading)return;r.start();const[E,_]=await Jz(e.flows,e.type,o.value,e.server,e.proxyUrl,Zm(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);await r.clear(),_!=null&&_.accessToken?u({"x-scalar-secret-token":_.accessToken,..._.refreshToken?{"x-scalar-secret-refresh-token":_.refreshToken}:{}}):(console.error(E),a((E==null?void 0:E.message)??"Failed to authorize","error"))},v=$(()=>e.type!=="implicit"),k=$(()=>"tokenUrl"in i.value&&i.value.tokenUrl?i.value.tokenUrl:"https://galaxy.scalar.com/oauth/refresh"),S=async()=>
434{if(r.isLoading||e.type==="implicit")return;r.start();const[E,_]=await eH(e.flows,e.type,e.proxyUrl,e.server,Zm(e.environment),e.options.customFetch);await r.clear(),_!=null&&_.accessToken?u({"x-scalar-secret-token":_.accessToken,..._.refreshToken?{"x-scalar-secret-refresh-token":_.refreshToken}:{}}):(console.error(E),a((E==null?void 0:E.message)??"Failed to refresh token","error"))},A=E=>{const _=E==="body"?"body":"header";e.scheme.type!=="openIdConnect"&&c({"x-scalar-credentials-location":_}),u({"x-scalar-credentials-location":_})};return(E,_)=>i.value["x-scalar-secret-token"]?(y(),w(de,{key:0},[N(b(or),null,{default:I(()=>[N(Ia,{class:"border-r-transparent",environment:e.environment,modelValue:i.value["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":_[0]||(_[0]=C=>u({"x-scalar-secret-token":C}))},{default:I(()=>[..._[14]||(_[14]=[ae(" Access Token ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),v.value?(y(),M(b(or),{key:0},{default:I(()=>[N(Ia,{class:"border-r-transparent",environment:e.environment,modelValue:i.value.refreshUrl??"",placeholder:k.value,"onUpdate:modelValue":_[1]||(_[1]=C=>c({refreshUrl:C}))},{default:I(()=>[..._[15]||(_[15]=[ae(" Refresh URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):U("",!0),e.hideActions?U("",!0):(y(),M(b(or),{key:1,class:"min-w-full"},{default:I(()=>[x("div",Sat,[v.value?(y(),M(b(zn),{key:0,class:"p-0 px-2 py-0.5",loader:b(r),size:"sm",variant:"outlined",onClick:S},{default:I(()=>[..._[16]||(_[16]=[ae(" Refresh ",-1)])]),_:1},8,["loader"])):U("",!0),N(b(zn),{class:"mr-1 p-0 px-2 py-0.5",disabled:b(r).isLoading,size:"sm",variant:"outlined",onClick:f},{default:I(()=>[..._[17]||(_[17]=[ae(" Clear ",-1)])]),_:1},8,["disabled"])])]),_:1}))],64)):(y(),w(de,{key:1},[N(b(or),null,{default:I(()=>["authorizationUrl"in i.value?(y(),M(Ia,{key:0,containerClass:"border-r-0",environment:e.environment,modelValue:i.value["x-scalar-secret-auth-url"]??"",placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":_[2]||(_[2]=C=>{u({"x-scalar-secret-auth-url":C}),c({authorizationUrl:C})})},{default:I(()=>[..._[18]||(_[18]=[ae(" Auth URL ",-1)])]),_:1},8,["environment","modelValue"])):U("",!0),"tokenUrl"in i.value?(y(),M(Ia,{key:1,environment:e.environment,modelValue:i.value["x-scalar-secret-token-url"]??"",placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":_[3]||(_[3]=C=>{u({"x-scalar-secret-token-url":C}),c({tokenUrl:C})})},{default:I(()=>[..._[19]||(_[19]=[ae(" Token URL ",-1)])]),_:1},8,["environment","modelValue"])):U("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in i.value?(y(),M(b(or),{key:0},{default:I(()=>[N(Ia,{environment:e.environment,modelValue:i.value["x-scalar-secret-redirect-uri"],placeholder:e.options.captureOAuth2Callback?`${b(M3)(e.options)||"http://127.0.0.1"} (handled automatically)`:"Optional redirect URL","onUpdate:modelValue":_[4]||(_[4]=C=>{p.value=!0,u({"x-scalar-secret-redirect-uri":C})})},{default:I(()=>[..._[20]||(_[20]=[ae(" Redirect URL ",-1)])]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):U("",!0),"x-scalar-secret-username"in i.value&&"x-scalar-secret-password"in i.value?(y(),w(de,{key:1},[N(b(or),null,{default:I(()=>[N(Ia,{class:"text-c-2",environment:e.environment,modelValue:i.value["x-scalar-secret-username"],placeholder:"janedoe","onUpdate:modelValue":_[5]||(_[5]=C=>u({"x-scalar-secret-username":C}))},{default:I(()=>[..._[21]||(_[21]=[ae(" Username ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),N(b(or),null,{default:I(()=>[N(Ia,{environment:e.environment,modelValue:i.value["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":_[6]||(_[6]=C=>u({"x-scalar-secret-password":C}))},{default:I(()=>[..._[22]||(_[22]=[ae(" Password ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})],64)):U("",!0),N(b(or),null,{default:I(()=>[N(Ia,{environment:e.environment,modelValue:i.value["x-scalar-secret-client-id"],placeholder:"12345","onUpdate:modelValue":_[7]||(_[7]=C=>u({"x-scalar-secret-client-id":C}))},{default:I(()=>[..._[23]||(_[23]=[ae(" Client ID ",-1)])]),_:1},8,["environment","modelValue"])]),_:1}),s.value?(y(),M(b(or),{key:2},{default:I(()=>[N(Ia,{environment:e.environment,modelValue:l.value,placeholder:"XYZ123",type:"password","onUpdate:modelValue":_[8]||(_[8]=C=>u({"x-scalar-secret-client-secret":C}))},{default:I(()=>[..._[24]||(_[24]=[ae(" Client Secret ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):U("",!0),"x-usePkce"in i.value?(y(),M(b(or),{key:3},{default:I(()=>[N(Ia,{enum:b(NV),environment:e.environment,modelValue:i.value["x-usePkce"],readOnly:"","onUpdate:modelValue":_[9]||(_[9]=C=>c({"x-usePkce":C}))},{default:I(()=>[..._[25]||(_[25]=[ae(" Use PKCE ",-1)])]),_:1},8,["enum","environment","modelValue"])]),_:1})):U("",!0),e.type!=="implicit"?(y(),M(b(or),{key:4},{default:I(()=>[N(Ia,{enum:["header","body"],environment:e.environment,modelValue:i.value["x-scalar-credentials-location"]||"header",placeholder:"header",readOnly:"","onUpdate:modelValue":_[10]||(_[10]=C=>A(C))},{default:I(()=>[..._[26]||(_[26]=[ae(" Credentials Location ",-1)])]),_:1},8,["environment","modelValue"])]),_:1})):U("",!0),N(b(or),null,{default:I(()=>[N(PKe,{flow:i.value,flowType:e.type,selectedScopes:o.value,"onUpdate:selectedScopes":_[11]||(_[11]=C=>n("update:selectedScopes",C)),"onUpsert:scope":_[12]||(_[12]=C=>n("upsert:scope",C)),"onDelete:scope":_[13]||(_[13]=C=>n("delete:scope",C))},null,8,["flow","flowType","selectedScopes"])]),_:1}),e.hideActions?U("",!0):(y(),M(b(or),{key:5,class:"min-w-full"},{default:I(()=>[x("div",wat,[e.scheme.type==="openIdConnect"?(y(),M(b(zn),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:b(r).isLoading,size:"sm",variant:"outlined",onClick:d},{default:I(()=>[..._[27]||(_[27]=[ae(" Clear ",-1)])]),_:1},8,["disabled"])):U("",!0),N(b(zn),{class:"mr-0.75 p-0 px-2 py-0.5",loader:b(r),size:"sm",variant:"outlined",onClick:g},{default:I(()=>[..._[28]||(_[28]=[ae(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1}))],64))}}),s$=xat,kat=O.Object({authorization_endpoint:O.Optional(O.String()),token_endpoint:O.Optional(O.String()),scopes_supported:O.Optional(O.Array(O.String())),grant_types_supported:O.Optional(O.Array(O.String())),code_challenge_methods_supported:O.Optional(O.Array(O.String()))}),Aat=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[new Error("URL cannot be empty"),null];r.endsWith("/")&&(r=r.slice(0,-1)),r.includes("/.well-known/openid-configuration")||(r=`${r}/.well-known/openid-configuration`);const a=await n(lv(t,r));if(!a.ok)return[new Error(`Failed to fetch OpenID Connect discovery document: ${a.status} ${a.statusText}`),null];const i=co(kat,await a.json());return!i.authorization_endpoint&&!i.token_endpoint?[new Error("Invalid OpenID Connect discovery document: missing required endpoints"),null]:[null,i]}catch(r){return r instanceof Error?[r,null]:[new Error("Failed to fetch OpenID Connect discovery document"),null]}},Tat=e=>{var s,l;const t=Object.fromEntries((e.scopes_supported??[]).map(c=>[c,""])),n=new Set(e.grant_types_supported??["authorization_code","implicit"]),r=e.authorization_endpoint,a=e.token_endpoint,i=(s=e.code_challenge_methods_supported)!=null&&s.includes("S256")?"SHA-256":(l=e.code_challenge_methods_supported)!=null&&l.includes("plain")?"plain":"no",o={};return n.has("implicit")&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has("password")&&a&&(o.password={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("client_credentials")&&a&&(o.clientCredentials={tokenUrl:a,refreshUrl:a,scopes:t}),n.has("authorization_code")&&r&&a&&(o.authorizationCode={authorizationUrl:r,tokenUrl:a,refreshUrl:a,"x-usePkce":i,scopes:t}),co(HU,o)},Eat={class:"flex h-8 w-full items-center justify-end border-t"},_at=F({__name:"OpenIDConnect",props:{environment:{},eventBus:{}
434,getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){const t=Kh(),{toast:n}=hu(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();const[i,o]=await Aat(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),i){console.error(i),n((i==null?void 0:i.message)??"Failed to fetch OpenID Connect configuration","error");return}const s=Tat(o);e.eventBus.emit("auth:update:security-scheme-secrets",{payload:s,name:e.name,overwrite:!0})},a=i=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"openIdConnect",openIdConnectUrl:i},name:e.name});return(i,o)=>(y(),w(de,null,[N(b(or),null,{default:I(()=>[N(Ia,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":a},{default:I(()=>[...o[0]||(o[0]=[ae(" Discovery URL ",-1)])]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),N(b(or),{class:"min-w-full"},{default:I(()=>[x("div",Eat,[N(b(zn),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.sc
434heme.openIdConnectUrl,loader:b(t),size:"sm",variant:"outlined",onClick:r},{default:I(()=>[...o[1]||(o[1]=[ae(" Fetch Configuration ",-1)])]),_:1},8,["disabled","loader"])])]),_:1})],64))}}),Cat=_at,$at={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},Pat={class:"text-c-1 leading-5.5 font-medium"},Iat={class:"flex h-8 items-center gap-2 border-t px-3"},Rat={class:"flex min-h-8 border-t text-base"},Nat={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},Mat=["onClick"],Lat={class:"relative z-10"},Dat={key:5,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},Bat={key:6,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},Uat={key:7,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},jat={key:8,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},Fat={class:"flex h-8 items-center justify-end gap-2 border-t"},Qat=F({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:"openapi"}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){const n=$(()=>GM(e.documentType)),r=t,a=$(()=>Object.entries(e.selectedSecuritySchemas).map(([G,re=[]])=>{const Y=Se(e.securitySchemes[G]);return{scheme:Y,name:G,scopes:re,visibleFlowKeys:(Y==null?void 0:Y.type)==="oauth2"||(Y==null?void 0:Y.type)==="openIdConnect"?l7(Y.flows):[]}})),i=J(""),o=$(()=>a.value.flatMap(G=>G.visibleFlowKeys).some(G=>G===i.value)?i.value:""),s=G=>{i.value=G},l=$(()=>a.value.length>1),c=(G,re)=>{const Y=NI(G);switch(re.type){case"apiKey":return`${Y}: ${re.in}`;case"openIdConnect":case"oauth2":{const ye=l7(re.flows)[0],Ee=o.value||ye;return Ee?`${Y}: ${Ee}`:Y}case"http":return`${Y}: ${re.scheme}`;default:return Y}},u=G=>G.in!=="user"&&G.in!=="password",d=G=>G==null?void 0:G.type,f=(G,re)=>o.value===G||re===0&&!o.value,h=()=>e.isStatic&&"border-t",p=(G,re)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...G},name:re}),m=(G,re)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...G},name:re}),g=(G,re)=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...G},name:re}),v=(G,re)=>{r("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:G,...re})},k=(G,re)=>{r("upsert:scope",{...re,name:G})},S=(G,re)=>{r("delete:scope",{...re,name:G})},A=(G,re)=>{const Y="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium";return f(G,re)?`${Y} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:Y},E=$(()=>oYe(e.securitySchemes)),_=$(()=>E.value?Se(e.securitySchemes[E.value.name]):void 0),C=Kh(),{toast:R}=hu(),B=pv(),L=J(),V=async G=>{const re=E.value;if(!re||C.isLoading)return;C.start();const[Y]=await yYe({eventBus:e.eventBus,bearerSchemeName:G,oauth2Name:re.name,flows:re.flows,flowType:re.flowType,scopes:re.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await C.clear(),Y&&R((Y==null?void 0:Y.message)??"Failed to authorize","error")},Q=async G=>{var Ee;const re=E.value;if(!re||re.flowType!=="authorizationCode"||C.isLoading)return;C.start();const[Y,ye]=await eH(re.flows,re.flowType,e.proxyUrl,e.server,Zm(e.environment),(Ee=e.options)==null?void 0:Ee.customFetch);await C.clear(),ye!=null&&ye.accessToken?tH(e.eventBus,{bearerSchemeName:G,oauth2Name:re.name,flowType:re.flowType,tokens:ye}):Y&&R((Y==null?void 0:Y.message)??"Failed to refresh","error")},ee=G=>{L.value=G,B.show()},ne=()=>{const G=L.value;B.hide(),G&&V(G)};return(G,re)=>(y(),w(de,null,[(y(!0),w(de,null,it(a.value,({scheme:Y,name:ye,scopes:Ee,visibleFlowKeys:j})=>{var xe;return y(),w(de,{key:ye},[l.value&&Y?(y(),M(b(or),{key:0},{default:I(()=>[N(b(Sh),{"aria-label":c(ye,Y),class:"max-h-[auto]"},{default:I(()=>[x("div",$at,[x("p",Pat,H(c(ye,Y)),1),Y.description?(y(),M(b(h3),{key:0,class:"auth-description text-c-2 w-full",value:Y.description},null,8,["value"])):U("",!0)])]),_:2},1032,["aria-label"])]),_:2},1024)):U("",!0),Y!=null&&Y.description&&!l.value?(y(),M(b(or),{key:1},{default:I(()=>[N(b(Sh),{"aria-label":Y.description,class:"max-h-[auto]"},{default:I(()=>[N(b(h3),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:Y.description},null,8,["value"])]),_:2},1032,["aria-label"])]),_:2},1024)):U("",!0),(Y==null?void 0:Y.type)==="http"?(y(),w(de,{key:2},[Y.scheme==="bearer"?(y(),M(b(or),{key:0},{default:I(()=>[N(Ia,{containerClass:h(),environment:e.environment,modelValue:Y["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":Ie=>p({"x-scalar-secret-token":Ie},ye)},{default:I(()=>[...re[4]||(re[4]=[ae(" Bearer Token ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):U("",!0),Y.scheme==="bearer"&&E.value?(y(),M(b(or),{key:1},{default:I(()=>[x("div",Iat,[re[6]||(re[6]=x("span",{class:"text-c-3 mr-auto text-xs"},"Get a token",-1)),N(b(zn),{class:"p-0 px-2 py-0.5",loader:b(C),size:"sm",type:"button",variant:"outlined",onClick:Ie=>V(ye)},{default:I(()=>[ae(" Authorize via "+H(E.value.name),1)]),_:2},1032,["loader","onClick"]),Y["x-scalar-secret-token"]&&E.value.flowType==="authorizationCode"?(y(),M(b(zn),{key:0,class:"p-0 px-2 py-0.5",disabled:b(C).isLoading,size:"sm",type:"button",variant:"outlined",onClick:Ie=>Q(ye)},{default:I(()=>[...re[5]||(re[5]=[ae(" Refresh ",-1)])]),_:1},8,["disabled","onClick"])):U("",!0),N(b(So),{icon:b(Fge),label:`Configure ${E.value.name}`,size:"xs",onClick:Ie=>ee(ye)},null,8,["icon","label","onClick"])])]),_:2},1024)):(Y==null?void 0:Y.scheme)==="basic"?(y(),w(de,{key:2},[N(b(or),null,{default:I(()=>[N(Ia,{class:"text-c-2",environment:e.environment,modelValue:Y["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":Ie=>p({"x-scalar-secret-username":Ie},ye)},{default:I(()=>[...re[7]||(re[7]=[ae(" Username ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),N(b(or),null,{default:I(()=>[N(Ia,{environment:e.environment,modelValue:Y["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":Ie=>p({"x-scalar-secret-password":Ie},ye)},{default:I(()=>[...re[8]||(re[8]=[ae(" Password ",-1)])]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):U("",!0)],64)):(Y==null?void 0:Y.type)==="apiKey"?(y(),w(de,{key:3},[u(Y)?(y(),M(b(or),{key:0},{default:I(()=>[N(Ia,{containerClass:h(),environment:e.environment,modelValue:Y.name??"",placeholder:"api-key","onUpdate:modelValue":Ie=>g({name:Ie},ye)},{default:I(()=>[...re[9]||(re[9]=[ae(" Name ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):U("",!0),N(b(or),null,{default:I(()=>[N(Ia,{containerClass:u(Y)?void 0:h(),environment:e.environment,modelValue:Y["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":Ie=>m({"x-scalar-secret-token":Ie},ye)},{default:I(()=>[...re[10]||(re[10]=[ae(" Value ",-1)])]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):(Y==null?void 0:Y.type)==="oauth2"||(Y==null?void 0:Y.type)==="openIdConnect"?(y(),w(de,{key:4},[(Y==null?void 0:Y.type)==="openIdConnect"&&!j.length?(y(),M(Cat,{key:0,customFetch:(xe=e.options)==null?void 0:xe.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:h,name:ye,proxyUrl:e.proxyUrl,scheme:Y},null,8,["customFetch","environment","eventBus","name","proxyUrl","scheme"])):U("",!0),j.length>1?(y(),M(b(or),{key:1},{default:I(()=>[x("div",Rat,[x("div",Nat,[(y(!0),w(de,null,it(j,(Ie,Z)=>(y(),w("button",{key:Ie,class:Oe(A(Ie,Z)),type:"button",onClick:rt=>s(Ie)},[x("span",Lat,H(Ie),1)],10,Mat))),128))])])]),_:2},1024)):U("",!0),(y(!0),w(de,null,it(j,(Ie,Z)=>(y(),w(de,{key:Ie},[Y.flows&&f(Ie,Z)?(y(),M(s$,{key:0,environment:e.environment,eventBus:e.eventBus,flows:Y.flows,name:ye,options:e.options,proxyUrl:e.proxyUrl,scheme:Y,selectedScopes:Ee,server:e.server,type:Ie,"onDelete:scope":rt=>S(ye,rt),"onUpdate:selectedScopes":rt=>v(ye,rt),"onUpsert:scope":rt=>k(ye,rt)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onDelete:scope","onUpdate:selectedScopes","onUpsert:scope"])):U("",!0)],64))),128))],64)):(Y==null?void 0:Y.type)==="userPassword"||(Y==null?void 0:Y.type)==="plain"||(Y==null?void 0:Y.type)==="scramSha256"||(Y==null?void 0:Y.type)==="scramSha512"||(Y==null?void 0:Y.type)==="X509"||(Y==null?void 0:Y.type)==="symmetricEncryption"||(Y==null?void 0:Y.type)==="asymmetricEncryption"||(Y==null?void 0:Y.type)==="gssapi"?(y(),w("div",Dat," Credentials for this AsyncAPI security scheme are not sent by the browser client. ")):(Y==null?void 0:Y.type)==="mutualTLS"?(y(),w("div",Bat," Mutual TLS authenticates with a client certificate presented during the TLS handshake, so there is nothing to enter here. ")):d(Y)?(y(),w("div",Uat,[re[11]||(re[11]=ae(" The ",-1)),x("c
434ode",null,H(d(Y)),1),re[12]||(re[12]=ae(" security scheme type is not supported yet. ",-1))])):(y(),w("div",jat," The security scheme is missing a type, please double check your "+H(n.value)+" document or Authentication Configuration ",1))],64)}),128)),E.value&&_.value?(y(),M(b(mv),{key:0,state:b(B),size:"sm",title:`Configure ${E.value.name}`},{default:I(()=>[N(b(Gz),{columns:[""],presentational:""},{default:I(()=>[N(s$,{hideActions:"",environment:e.environment,eventBus:e.eventBus,flows:E.value.flows,name:E.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:_.value,selectedScopes:E.value.scopes,server:e.server,type:E.value.flowType,"onDelete:scope":re[0]||(re[0]=Y=>S(E.value.name,Y)),"onUpdate:selectedScopes":re[1]||(re[1]=Y=>v(E.value.name,Y)),"onUpsert:scope":re[2]||(re[2]=Y=>k(E.value.name,Y))},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type"])]),_:1}),x("div",Fat,[N(b(zn),{class:"p-0 px-2 py-0.5",size:"sm",variant:"outlined",onClick:re[3]||(re[3]=Y=>b(B).hide())},{default:I(()=>[...re[13]||(re[13]=[ae(" Cancel ",-1)])]),_:1}),N(b(zn),{class:"p-0 px-2 py-0.5",loader:b(C),size:"sm",onClick:ne},{default:I(()=>[...re[14]||(re[14]=[ae(" Authorize ",-1)])]),_:1},8,["loader"])])]),_:1},8,["state","title"])):U("",!0)],64))}}),zat=Qat,Hat=["onClick"],Vat={class:"relative z-10 font-medium whitespace-nowrap"},qat={key:0,class:"absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"},Zat=F({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){const n=$(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=$(()=>e.selectedSchemeOptions.length>1),a=c=>e.eventBus.emit("auth:update:active-index",{index:c,meta:e.meta}),i=c=>e.eventBus.emit("auth:update:selected-scopes",{...c,meta:e.meta}),o=c=>e.eventBus.emit("auth:upsert:scopes",c),s=c=>e.eventBus.emit("auth:delete:scopes",c),l=c=>e.activeAuthIndex===c;return t({activeScheme:n}),(c,u)=>(y(),w("form",{onSubmit:u[0]||(u[0]=Qt(()=>{},["prevent"]))},[r.value?(y(),w("div",{key:0,class:Oe(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3",{"border-x-0":!e.isStatic}]),"data-testid":"auth-tabs"},[(y(!0),w(de,null,it(e.selectedSchemeOptions,(d,f)=>(y(),w("div",{key:d.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[x("button",{class:Oe(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",l(f)?"text-c-1":"text-c-3"]),type:"button",onClick:h=>a(f)},[x("span",Vat,H(d.label),1)],10,Hat),l(f)?(y(),w("div",qat)):U("",!0)]))),128))],2)):U("",!0),n.value?(y(),M(b(Gz),{key:1,class:Oe(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:I(()=>[N(zat,{documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onDelete:scope":s,"onUpdate:selectedScopes":i,"onUpsert:scope":o},null,8,["documentType","environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):(y(),w("div",{key:2,class:Oe(["bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm",{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])}," No authentication selected ",2))],32))}}),Xat=Zat,Wat=["id"],Yat={class:"min-w-0 flex-1 truncate"},Gat=F({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){const n=Mt(),r=J(null),a=J(!1),i=pv(),o=J(null),s=$(()=>{var m;if(!((m=e.securityRequirements)!=null&&m.length))return null;
434const p=eL(e.securityRequirements);return{icon:p?"Unlock":"Lock",text:p?"Optional":"Required"}}),l=$(()=>{var p;return sYe(e.securityRequirements??[],e.securitySchemes??{},((p=e.selectedSecurity)==null?void 0:p.selectedSchemes)??[],e.createAnySecurityScheme)}),c=$(()=>{var m;const p=(m=e.selectedSecurity)==null?void 0:m.selectedSchemes;return p!=null&&p.length?p.flatMap(g=>{var S;const v=Object.keys(g);if(v.length===0)return[];if(v.length>1)return Yz(g);const k=v[0];return k?Se((S=e.securitySchemes)==null?void 0:S[k])?Fv({name:k,value:g}):[]:[]}):[]}),u=p=>{var m;a.value&&p.stopPropagation(),(m=r.value)==null||m.$el.click()},d=p=>{const m=p.filter(v=>v.payload===void 0).map(v=>qt(v.value,{depth:2})),g=p.filter(v=>v.payload!==void 0).map(v=>({name:v.label,scheme:v.payload}));e.eventBus.emit("auth:update:selected-security-schemes",{selectedRequirements:m,newSchemes:g,meta:e.meta})},f=p=>{o.value={label:p.label,payload:p.value},i.show()},h=()=>{o.value&&(e.eventBus.emit("auth:delete:security-scheme",{names:Object.keys(o.value.payload)}),o.value=null,i.hide())};return t({authIndicator:s,selectedSchemeOptions:c,schemeOptions:l}),(p,m)=>(y(),M(b(eYe),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:c.value.length,"onUpdate:modelValue":m[1]||(m[1]=g=>a.value=g)},{title:I(()=>[x("div",{id:b(n),class:"inline-flex items-center gap-0.5 leading-[20px]"},[x("span",null,H(e.title),1),s.value?(y(),w("span",{key:0,class:Oe(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal",{"text-c-1":s.value.text==="Required"}]),"data-testid":"auth-indicator",onClick:u},H(s.value.text),3)):U("",!0)],8,Wat)]),actions:I(()=>[N(b(cz),{class:"w-72 text-xs",modelValue:c.value,multiple:"",options:l.value,placement:"bottom-end",teleport:"",onDelete:f,"onUpdate:modelValue":d},{option:I(({option:g,selected:v})=>[N(b(gv),{multiselect:"",selected:v},null,8,["selected"]),x("div",Yat,H(g.label),1),g.isDeletable&&e.canDeleteSchemes?(y(),M(b(So),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:b(_L),label:`Delete ${g.label}`,size:"xs",onClick:Qt(k=>f(g),["stop"])},null,8,["icon","label","onClick"])):U("",!0)]),default:I(()=>[N(b(zn),{ref_key:"comboboxButtonRef",ref:r,"aria-describedby":b(n),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal",variant:"ghost"},{default:I(()=>{var g;return[c.value.length===1?(y(),w(de,{key:0},[m[2]||(m[2]=x("span",{class:"sr-only"},"Selected Auth Type:",-1)),ae(" "+H((g=c.value[0])==null?void 0:g.label),1)],64)):c.value.length>1?(y(),w(de,{key:1},[m[3]||(m[3]=ae(" Multiple ",-1)),m[4]||(m[4]=x("span",{class:"sr-only"},"Auth Types Selected",-1))],64)):(y(),w(de,{key:2}
434,[m[5]||(m[5]=x("span",{class:"sr-only"},"Select",-1)),m[6]||(m[6]=ae(" Auth Type ",-1))],64)),N(b(Xo),{class:"size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",weight:"bold"})]}),_:1},8,["aria-describedby"])]),_:1},8,["modelValue","options"])]),default:I(()=>{var g;return[N(Xat,{activeAuthIndex:((g=e.selectedSecurity)==null?void 0:g.selectedIndex)??0,documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:c.value,server:e.server},null,8,["activeAuthIndex","documentType","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),o.value?(y(),M(aYe,{key:0,label:o.value.label,scheme:o.value,state:b(i),onClose:m[0]||(m[0]=v=>b(i).hide()),onDelete:h},null,8,["label","scheme","state"])):U("",!0)]}),_:1},8,["defaultOpen","isStatic","itemCount"]))}}),Kat=Gat,Jat=F({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){const{translate:t}=Ot(),n=$(()=>{var s;return ti(e.document)||Bo(e.document)?((s=e.document["x-scalar-navigation"])==null?void 0:s.name)??"":""}),r=$(()=>YM(e.document)),a=$(()=>Bo(e.document)?$ke(e.document):Jpe(ti(e.document)?e.document.security:void 0)),i=$(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:n.value})),o=$(()=>{var s;return tL(i.value,void 0,a.value,e.securitySchemes,(s=e.options.authentication)==null?void 0:s.preferredSecurityScheme)});return(s,l)=>{var c;return Object.keys(e.securitySchemes).length?(y(),M(b(Kat),{key:0,canDeleteSchemes:!1,createAnySecurityScheme:((c=e.options.authentication)==null?void 0:c.createAnySecurityScheme)??!1,documentType:r.value,environment:e.environment,eventBus:e.eventBus,isStatic:"",layout:"reference",meta:{type:"document"},options:{oauth2RedirectUri:e.options.oauth2RedirectUri},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:a.value,securitySchemes:e.securitySchemes,selectedSecurity:o.value,server:e.selectedServer,title:b(t)("authentication.title")},null,8,["createAnySecurityScheme","documentType","environment","eventBus","options","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server","title"])):U("",!0)}}}),eit=Jat,l$=e=>"ellipsis"in e,tit=e=>{if(e.length<4)return e;const[t]=e,n=e.slice(-2),r=e.slice(1,-2);return[...t?[t]:[],{ellipsis:!0,hiddenTitles:r.map(a=>a.title)},...n]},nit=(e,t)=>LV(e,t).length>=2,LV=(e,t)=>{const n=(r,a)=>{for(const i of r){const o=i.type==="tag"&&(i.isTagGroup!==!0||t==="classic")?[...a,{id:i.id,title:i.title}]:a;if(o.length>=2)return o;if("children"in i&&i.children!==void 0){const s=n(i.children,o);if(s.length>=2)return s}}return[]};return n(e,[])},rit=["aria-hidden","aria-label","data-stuck"],ait=["title"],iit={key:2,"aria-current":"page",class:"text-c-1 shrink-0 font-medium whitespace-nowrap"},oit=["onClick"],sit=F({__name:"ContextBar",props:{chain:{}},emits:["navigate"],setup(e,{emit:t}){const n=t,r=J(null),a=J(!1),i=J(!1),o=$(()=>e.chain.length>=2),s=$(()=>o.value?a.value?tit(e.chain):e.chain:[]),l=v=>v===s.value.length-1,c=v=>n("navigate",v),u=()=>{const v=r.value;if(!v)return;const k=getComputedStyle(v),S=Number.parseFloat(k.columnGap)||0,A=v.clientWidth-Number.parseFloat(k.paddingLeft)-Number.parseFloat(k.paddingRight),E=Array.from(v.children),_=E.reduce((C,R)=>C+R.getBoundingClientRect().width,0)+S*Math.max(0,E.length-1);a.value=_>A+1};let d=null,f=null,h=null;const p=()=>{if(a.value=!1,f===null){if(typeof requestAnimationFrame>"u"){In(u);return}f=requestAnimationFrame(()=>{f=null,In(u)})}},m=()=>{const v=r.value;if(!v)return;const k=Number.parseFloat(getComputedStyle(v).top)||0;i.value=v.getBoundingClientRect().top<=k},g=()=>{if(h===null){if(typeof requestAnimationFrame>"u"){m();return}h=requestAnimationFrame(()=>{h=null,m()})}};return ze(r,v=>{d==null||d.disconnect(),v&&typeof ResizeObserver<"u"&&(d=new ResizeObserver(()=>{p(),g()}),d.observe(v),p(),g())},{immediate:!0}),ze(()=>e.chain,p,{flush:"post"}),Lt(()=>{window.addEventListener("scroll",g,{capture:!0,passive:!0}),window.addEventListener("resize",g,{passive:!0}),g()}),Qa(()=>{d==null||d.disconnect(),window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g),f!==null&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(f),h!==null&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(h)}),(v,k)=>(y(),w("nav",{ref_key:"navRef",ref:r,"aria-hidden":!o.value,"aria-label":o.value?"Breadcrumb":void 0,class:"context-bar bg-b-1.5 text-c-2 sticky top-(--refs-header-height) z-10 flex items-center gap-1.5 text-sm","data-stuck":i.value||void 0},[(y(!0),w(de,null,it(s.value,(S,A)=>(y(),w(de,{key:b(l$)(S)?`ellipsis-${A}`:S.id},[A>0?(y(),M(b(Z0),{key:0,class:"text-c-3 size-2.5 shrink-0",weight:"bold"})):U("",!0),b(l$)(S)?(y(),w("span",{key:1,class:"text-c-3 shrink-0",title:S.hiddenTitles.join(" ⺠")}," ⦠",8,ait)):l(A)?(y(),w("span",iit,H(S.title),1)):(y(),w("button",{key:3,class:"hover:text-c-1 shrink-0 cursor-pointer whitespace-nowrap transition-colors",type:"button",onClick:E=>
434c(S.id)},H(S.title),9,oit))],64))),128))],8,rit))}}),lit=yt(sit,[["__scopeId","data-v-5f62f72b"]]),Y4=e=>Object.keys(e).sort().join(","),cit=(e,t,n,r,a={})=>{var c;const i=(t==null?void 0:t.security)??e.security??[],o=tL(n,r,i),s=new Set(i.map(u=>Y4(u))),l=o.selectedSchemes[o.selectedIndex];if(l&&s.has(Y4(l)))return HO(a,l);for(const u of o.selectedSchemes)if(s.has(Y4(u)))return HO(a,u);return(c=t==null?void 0:t.security)!=null&&c.length?HO(a,i[0]??{}):[]},uit={key:0},dit=F({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){const t=e,n=a=>a.startsWith("{")&&a.endsWith("}"),r=$(()=>t.path.split(/({[^}]+})/));return(a,i)=>(y(),w("span",{class:Oe(["operation-path",{deprecated:e.deprecated}])},[(y(!0),w(de,null,it(r.value,(o,s)=>(y(),w(de,{key:s},[n(o)?(y(),w("em",uit,H(o),1)):(y(),w(de,{key:1},[ae(H(o),1)],64))],64))),128))],2))}}),DV=yt(dit,[["__scopeId","data-v-ec6c8861"]]),fit=2e4,hit=F({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){const t=$(()=>{if(e.schema)return bh(D2(e.schema))}),n=$(()=>{var r;return(((r=t.value)==null?void 0:r.length)??0)>fit});return(r,a)=>n.value?(y(),M(b(Y5),{key:1,id:e.id,class:"bg-b-2",content:t.value??"",lang:"json"},null,8,["id","content"])):(y(),M(b(d1),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}}),pit=hit,BV=(e,t)=>{var n;if(t!==void 0)return bh(((n=D2(t))==null?void 0:n.value)??"");if(e!=null&&e.schema){const r=Oi(D2(e.schema),{emptyString:"string",mode:"read"});return r===void 0?void 0:bh(r)}},mit={key:2,class:"empty-state"},git=2e4,bit=F({__name:"ExampleResponse",props:{response:{},example:{},content:{}},setup(e){const{translate:t}=Ot(),n=$(()=>e.content??BV(e.response,e.example)),r=$(()=>n.value===void 0?!1:n.value.length>git);return(a,i)=>n.value!==void 0&&!r.value?(y(),M(b(d1),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:n.value},null,8,["prettyPrintedContent"])):n.value!==void 0&&r.value?(y(),M(b(Y5),{key:1,class:"bg-b-2",content:n.value,lang:"json"},null,8,["content"])):(y(),w("div",mit,H(b(t)("response.noBody")),1))}}),yit=yt(bit,[["__scopeId","data-v-2e85da96"]]),vit=F({__name:"ExampleResponseTab",setup(e){return(t,n)=>(y(),M(b(dR),{as:"template"},{default:I(({selected:r})=>[x("button",{class:Oe(["tab",{"tab-selected":r}]),type:"button"},[x("span",null,[q(t.$slots,"default",{},void 0,!0)])],2)]),_:3}))}}),Oit=yt(vit,[["__scopeId","data-v-804dba49"]]),Sit=F({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){const n=t,r=a=>{n("change",a)};return(a,i)=>(y(),M(b(u1),{class:"scalar-card-header scalar-card-header-tabs"},{actions:I(()=>[q(a.$slots,"actions",{},void 0,!0)]),default:I(()=>[N(b(cR),{onChange:r},{default:I(()=>[N(b(uR),{class:"tab-list custom-scroll"},{default:I(()=>[q(a.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),wit=yt(Sit,[["__scopeId","data-v-49a8c0af"]]);function xit(e){if(typeof e=="string")return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}function UV(e){if(!e)return e;const t={...e};return Object.entries(t).forEach(([n,r])=>{const a=xit(n);a&&(t[a]=r)}),t}function kit(e){if(!e)return!1;const t=!!e.schema,n="example"in e&&e.example!==null,r=!!e.examples;return t||n||r}function Ait(e){return e==="default"||/^[1-5][0-9]{2}$/.test(e)||/^[1-5]XX$/.test(e)}function Tit(e,t){if(t!==void 0)return Ait(t)?!!e:!1;const n=UV(e==null?void 0:e.content),r=Nd(n??{});return kit((n==null?void 0:n["application/json"])??(n==null?void 0:n["application/xml"])??(n==null?void 0:n["text/plain"])??(n==null?void 0:n["text/html"])??(n==null?void 0:n["*/*"])??(n==null?void 0:n[r[0]??""]))}var Eit=["aria-label"],_it={key:1,class:"scalar-card-checkbox"},Cit=["aria-controls"],$it={class:"response-description"},Pit=F({__name:"ExampleResponses",props:{responses:{},selectedExample:{},eventBus:{},selectedContentTypes:{}},setup(e){const{translate:t}=Ot(),n=Mt(),{copyToClipboard:r}=pu(),a=$(()=>Object.keys(e.responses??{}).sort()),i=$(()=>a.value.filter(S=>{var A;return Tit(Se((A=e.responses)==null?void 0:A[S]),S)})),o=J(0);ze(i,S=>{if(S.length===0)o.value=0;else if(o.value>=S.length)o.value=S.length-1;else return;d.value=f(e.selectedExample)});const s=$(()=>{var A;const S=Ve(i)[Ve(o)]??"";return Se((A=e.responses)==null?void 0:A[S])}
434),l=$(()=>{var S;return UV((S=s.value)==null?void 0:S.content)}),c=$(()=>{var C;const S=l.value;if(!S)return;const A=Ve(i)[Ve(o)]??"",E=(C=e.selectedContentTypes)==null?void 0:C[A],_=Nd(S);return S[E&&_.includes(E)?E:_[0]??""]}),u=$(()=>{var S,A;return!!((S=c.value)!=null&&S.examples)&&Object.keys(((A=c.value)==null?void 0:A.examples)??{}).length>1}),d=J(""),f=S=>{var E;const A=Object.keys(((E=c.value)==null?void 0:E.examples)??{});return S&&A.includes(S)?S:d.value&&A.includes(d.value)?d.value:A[0]??""};d.value=f(e.selectedExample),ze(()=>e.selectedExample,S=>{d.value=f(S)});const h=S=>{var A;d.value=S,(A=e.eventBus)==null||A.emit("workspace:update:selected-example",S)},p=$(()=>{var S;if(c.value)return u.value&&d.value?(S=c.value.examples)==null?void 0:S[d.value]:B8(c.value,void 0,void 0)}),m=S=>{o.value=S,d.value=f(e.selectedExample)},g=$(()=>BV(c.value,p.value)),v=()=>{g.value!==void 0&&r(g.value)},k=J(!1);return(S,A)=>i.value.length?(y(),M(b(gh),{key:0,"aria-label":b(t)("response.exampleResponses"),class:"response-card",role:"region"},{default:I(()=>{var E;return[N(wit,{onChange:m},{actions:I(()=>{var _;return[g.value!==void 0?(y(),w("button",{key:0,"aria-label":b(t)("common.copyExample"),class:"code-copy",type:"button",onClick:v},[N(b(ua),{icon:"Clipboard",width:"12px"})],8,Eit)):U("",!0),(_=c.value)!=null&&_.schema?(y(),w("label",_it,[ae(H(b(t)("response.showSchema"))+" ",1),Fi(x("input",{"onUpdate:modelValue":A[0]||(A[0]=C=>k.value=C),"aria-controls":b(n),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,Cit),[[uG,k.value]]),A[1]||(A[1]=x("span",{class:"scalar-card-checkbox-checkmark"},null,-1))])):U("",!0)]}),default:I(()=>[(y(!0),w(de,null,it(i.value,_=>(y(),M(Oit,{key:_,"aria-controls":b(n)},{default:I(()=>[N(yu,null,{default:I(()=>[ae(H(b(t)("response.status"))+":",1)]),_:1}),ae(" "+H(_),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),N(b(Hc),{class:"grid flex-1"},{default:I(()=>{var _,C;return[(_=c.value)!=null&&_.schema&&k.value?(y(),M(pit,{key:0,id:b(n),schema:(C=c.value)==null?void 0:C.schema},null,8,["id","schema"])):(y(),M(yit,{key:1,id:b(n),content:g.value,example:p.value,response:c.value},null,8,["id","content","example","response"]))]}),_:1}),(E=s.value)!=null&&E.description||u.value?(y(),M(b(M5),{key:0,class:"response-card-footer"},{default:I(()=>{var _,C;return[u.value?(y(),M(b(N5),{key:0,class:"response-example-selector px-0",examples:(_=c.value)==null?void 0:_.examples,modelValue:d.value,"onUpdate:modelValue":h},null,8,["examples","modelValue"])):U("",!0),x("div",$it,[(C=s.value)!=null&&C.description?(y(),M(b(Jr),{key:0,class:"response-description-markdown",value:s.value.description},null,8,["value"])):U("",!0)])]}),_:1})):U("",!0)]}),_:1},8,["aria-label"])):U("",!0)}}),jV=yt(Pit,[["__scopeId","data-v-9c41123c"]]),Iit=e=>"schema"in e&&e.schema!==void 0,FV=e=>Se(e),Rit=(e,t,n,r,a)=>{const{example:i,examples:o,...s}=e;return{...s,name:t,description:n,required:r,schema:a}},QV=(e,t,n)=>{if(!t.properties)return[e];const r=new Set(t.required??[]),a=Object.entries(t.properties).flatMap(([i,o])=>{const s=FV(o);if(!s)return[];const l=`${n}[${i}]`,c=Rit(e,l,s.description??e.description,r.has(i),s);return Jf(s)&&s.properties?QV(c,s,l):[c]});return a.length>0?a:[e]},Nit=e=>{if(e.in!=="query"||!Iit(e)||e.style!=="deepObject")return[e];const t=FV(e.schema);return!t||!Jf(t)?[e]:QV(e,t,e.name)},Mit=["aria-label"],Lit={class:"request-body-header"},Dit={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},Bit={class:"flex items-center gap-2"},Uit={key:0,class:"request-body-required"},jit={key:0,class:"request-body-description"},Fit={key:0,class:"request-body-schema"},Qit={key:1,class:"request-body-schema"},G4=12,zit=F({__name:"RequestBody",props:Cn({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){var d;const{translate:t}=Ot(),{level:n}=ci("operationSection"),r=$(()=>{var f;return Object.keys(((f=e.requestBody)==null?void 0:f.content)??{})}),a=Tn(e,"selectedContentType");(d=e.requestBody)!=null&&d.content&&r.value[0]&&(a.value=r.value[0]);const i=$(()=>{var f,h,p;return(p=(h=(f=e.requestBody)==null?void 0:f.content)==null?void 0:h[a.value])==null?void 0:p.schema}),o=$(()=>Se(i.value)),s=$(()=>(i.value&&$3(i.value))??null),l=$(()=>{var f;return Mz((f=s.value)==null?void 0:f.schemaKey,{hideModels:e.options.hideModels,document:e.document})}),c=$(()=>{if(!o.value||!vi(o.value)||Uv(o.value,e.document))return null;const f=H5(o.value,o.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(f.length<=G4)return null;const{properties:h,...p}=o.value;return h?{visibleProperties:{...p,properties:ZC(f.slice(0,G4),h)},collapsedProperties:{...p,properties:ZC(f.slice(G4),h)}}:null}),u=$(()=>{var f,h,p;return Object.keys(((f=e.requestBody)==null?void 0:f.content)??{}).length>
vendor: 7,174 bytes, line 434
4340||((h=e.requestBody)==null?void 0:h.description)||((p=e.requestBody)==null?void 0:p.required)});return(f,h)=>e.requestBody&&u.value?(y(),w("div",{key:0,"aria-label":b(t)("operation.requestBody"),class:"request-body",role:"group"},[x("div",Lit,[N(b(ja),{class:"request-body-title flex!",level:b(n)},{default:I(()=>[q(f.$slots,"title",{},void 0,!0),s.value?(y(),w("span",Dit,[h[2]||(h[2]=x("span",{class:"text-c-3 mx-1.5"},"·",-1)),e.eventBus&&s.value.schemaKey&&l.value?(y(),M(xb,{key:0,onClick:h[0]||(h[0]=p=>e.eventBus.emit("scroll-to:model-by-name",{name:s.value.schemaKey}))},{default:I(()=>[ae(H(s.value.label),1)]),_:1})):(y(),w(de,{key:1},[ae(H(s.value.label),1)],64))])):U("",!0)]),_:3},8,["level"]),x("div",Bit,[e.requestBody.required?(y(),w("div",Uit,H(b(t)("schema.required")),1)):U("",!0),N(Qz,{modelValue:a.value,"onUpdate:modelValue":h[1]||(h[1]=p=>a.value=p),content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?(y(),w("div",jit,[N(b(Jr),{value:e.requestBody.description},null,8,["value"])])):U("",!0)]),c.value?(y(),w("div",Fit,[N(b(ul),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:b(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,hideModels:e.options.hideModels,document:e.document},schema:c.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"]),N(b(ul),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideDescription:"",name:b(t)("operation.requestBody"),options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,hideModels:e.options.hideModels,document:e.document},schema:c.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):o.value?(y(),w("div",Qit,[N(b(ul),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:b(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,schemaKeyboardNav:e.options.schemaKeyboardNav,hideModels:e.options.hideModels,document:e.document},schema:o.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):U("",!0)],8,Mit)):U("",!0)}}),Hit=yt(zit,[["__scopeId","data-v-43ddb7c5"]]),Vit=F({__name:"OperationParameters",props:Cn({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){const{translate:t}=Ot(),n=Tn(e,"selectedContentType"),r=$(()=>(e.parameters??[]).reduce((a,i)=>{const o=Se(i);return o&&!fa(o)&&Nit(o).forEach(s=>{a[s.in==="querystring"?"query":s.in].push(s)}),a},{cookie:[],header:[],path:[],query:[]}));return(a,i)=>(y(),w(de,null,[N(Af,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.path},{title:I(()=>[ae(H(b(t)("operation.pathParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(Af,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.query},{title:I(()=>[ae(H(b(t)("operation.queryParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(Af,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.header},{title:I(()=>[ae(H(b(t)("operation.headers")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),N(Af,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.cookie},{title:I(()=>[ae(H(b(t)("operation.cookies")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),e.requestBody?(y(),M(Hit,{key:0,selectedContentType:n.value,"onUpdate:selectedContentType":i[0]||(i[0]=o=>n.value=o),breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:I(()=>[ae(H(b(t)("operation.body")),1)]),_:1},8,["selectedContentType","breadcrumb","document","eventBus","options","requestBody"])):U("",!0)],64))}}),vk=Vit,qit={key:0,class:"mt-6"},Zit=["aria-label"],Xit=F({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},selectedContentTypes:{default:()=>({})},options:{}},emits:["update:selectedContentTypes"],setup(e,{emit:t}){const n=t,{translate:r}=Ot(),a=$(()=>Object.fromEntries(Object.entries(e.responses??{}).flatMap(([o,s])=>{const l=Se(s);return l?[[o,l]]:[]}))),{level:i}=ci("operationSection");return(o,s)=>Object.keys(a.value).length?(y(),w("div",qit,[N(b(ja),{class:"text-c-1 responses-title--tree mt-3 mb-0 block! leading-[1.45] font-medium",level:b(i),rule:""},{default:I(()=>[ae(H(b(r)("operation.responses")),1)]),_:1},8,["level"]),x("ul",{"aria-label":b(r)("operation.responses"),class:"responses-list--tree mb-3 list-none p-0 text-sm",role:"list"},[(y(!0),w(de,null,it(a.value,(l,c)=>(y(),M(zz,{key:c,breadcrumb:e.breadcrumb?[...e.breadcrumb,"responses"]:void 0,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:c,options:e.options,parameter:l,"onUpdate:selectedContentType":u=>n("update:selectedContentTypes",{...e.selectedContentTypes,[c]:u})},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter","onUpdate:selectedContentType"]))),128))],8,Zit)])):U("",!0)}}),Ok=Xit,Wit={class:"callback-list-item callback-list-item--tree"},Yit=["aria-controls","aria-expanded"],Git={class:"callback-item-name relative flex min-w-0 flex-1 items-baseline gap-1.5"},Kit={class:"text-c-1 min-w-0 flex-1 truncate font-bold"},Jit={class:"text-c-2 font-normal"},eot=["id"],tot=F({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},breadcrumb:{},options:{}},setup(e){const t=Ov(),n=Mt(),r=$(()=>ph(e.breadcrumb)||`~anonymous-${n}`),a=Mt(),i=$(()=>t.isExpanded(r.value,{})),o=()=>{t.setExpanded(r.value,!i.value)};return(s,l)=>(y(),w("div",Wit,[x("button",{"aria-controls":i.value?b(a):void 0,"aria-expanded":i.value,class:"callback-item-trigger group/tree-control font-code flex w-full cursor-pointer items-baseline gap-1.5 border-none bg-transparent p-0 py-2.5 text-start text-sm leading-(--scalar-line-height-5)",type:"button",onClick:o}
434,[x("span",Git,[N(gd,{anchor:"line",class:"callback-item-glyph",open:i.value},null,8,["open"]),N(b(q5),{as:"span",class:"request-method font-bold",method:e.method},null,8,["method"]),x("span",Kit,[ae(H(e.name)+" ",1),x("span",Jit,H(e.url),1)])])],8,Yit),i.value?(y(),w("div",{key:0,id:b(a),class:"callback-operation-panel mt-1.5 mb-0.5 flex flex-col gap-6 [&_.parameter-list-title--tree]:mt-0! [&_.parameter-list-title--tree]:text-(length:--scalar-font-size-4)! [&_.parameter-list-title--tree]:font-(--scalar-bold)! [&_.request-body]:mt-0! [&_.request-body-description]:mt-0! [&_.request-body-description]:text-(length:--scalar-font-size-4)! [&_.request-body-header]:mt-0! [&_.request-body-title]:text-(length:--scalar-font-size-4)! [&_.request-body-title]:font-(--scalar-bold)! [&_.responses-title--tree]:mt-0! [&_.responses-title--tree]:text-(length:--scalar-font-size-4)! [&_.responses-title--tree]:font-(--scalar-bold)! [&>*]:mt-0!"},[N(vk,{breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters??[],requestBody:b(Se)(e.callback.requestBody)},null,8,["breadcrumb","document","eventBus","options","parameters","requestBody"]),N(Ok,{breadcrumb:e.breadcrumb,collapsableItems:!1,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,["breadcrumb","document","eventBus","options","responses"])],8,eot)):U("",!0)]))}}),not=tot,rot=["aria-label"],aot=F({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},breadcrumb:{},document:{},options:{}},setup(e){const{translate:t}=Ot(),{level:n}=ci("operationSection"),r=$(()=>{const a=[];
434return Ui(e.callbacks).forEach(([i,o])=>{Ui(Se(o)??{}).forEach(([s,l])=>{typeof l!="object"||!l||Ui(l).forEach(([c,u])=>{R6(c)&&a.push({name:i,url:s,method:c,callback:u})})})}),a});return(a,i)=>(y(),w("div",{"aria-label":b(t)("operation.callbacks"),class:"callbacks-list gap-3",role:"group"},[N(b(ja),{class:"callbacks-title text-c-1 callbacks-title--tree mt-3 mb-0 block! text-lg font-medium",level:b(n),rule:""},{default:I(()=>[ae(H(b(t)("operation.callbacks")),1)]),_:1},8,["level"]),(y(!0),w(de,null,it(r.value,({callback:o,method:s,name:l,url:c})=>(y(),M(not,{key:`${l}-${c}-${s}`,breadcrumb:e.breadcrumb?[...e.breadcrumb,"callbacks",l,c,s]:void 0,callback:o,document:e.document,eventBus:e.eventBus,method:s,name:l,options:e.options,path:e.path,url:c},null,8,["breadcrumb","callback","document","eventBus","method","name","options","path","url"]))),128))],8,rot))}}),zV=aot,iot={key:0},oot={key:1},sot=F({__name:"SecurityRequirementBadgeScheme",props:{is:{default:"li"},scheme:{}},setup(e){return(t,n)=>(y(),M(Wt(e.is),{class:"markdown"},{default:I(()=>{var r;return[ae(H(e.scheme.name)+" ",1),(r=e.scheme.scheme)!=null&&r.type?(y(),w("code",iot,H(e.scheme.scheme.type),1)):U("",!0),e.scheme.scopes.length?(y(),w("ul",oot,[(y(!0),w(de,null,it(e.scheme.scopes,a=>(y(),w("li",{key:a,class:"font-code text-c-2"},H(a),1))),128))])):U("",!0)]}),_:1}))}}),Sg=sot,lot=["aria-expanded"],cot={key:2},uot={class:"flex max-w-xs min-w-48 flex-col gap-1.5 p-2 text-sm"},dot={class:"font-medium"},fot={key:0,class:"contents"},hot={key:1,class:"contents"},pot={key:1,class:"contents"},mot=F({__name:"SecurityRequirementBadge",props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){const{translate:t}=Ot(),n=J(null),r=J(null),a=J(!1),i=J(!1);let o;const s=()=>{i.value||(clearTimeout(o),o=setTimeout(()=>{a.value=!1},120))},l=()=>clearTimeout(o),c=()=>{l(),a.value=!0},u=()=>{l(),a.value=!1,i.value=!1},d=()=>{if(i.value){u();return}l(),a.value=!0,i.value=!0};Wm(n,u,{ignore:[r]}),yv("Escape",()=>{a.value&&u()}),Qa(()=>clearTimeout(o));const f=$(()=>e.requiredSecurity.state==="required"?t("authentication.required"):t("authentication.optional")),h=$(()=>e.requiredSecurity.state==="required"?t("authentication.requires"):t("authentication.accepts")),p=$(()=>{var v;return e.requiredSecurity.requirements.length===1&&((v=e.requiredSecurity.requirements[0])==null?void 0:v.schemes.length)===1}),m=$(()=>{var v;return e.requiredSecurity.requirements.length===1&&(((v=e.requiredSecurity.requirements[0])==null?void 0:v.schemes.length)??0)>1}),g=$(()=>e.requiredSecurity.requirements.length>1);return(v,k)=>e.requiredSecurity.state!=="none"?(y(),M(b(Y0),{key:0,placement:"bottom-end"},{floating:I(()=>[a.value?(y(),w("div",{key:0,ref_key:"panelRef",ref:r,class:"relative flex flex-col p-0.75",onClick:k[0]||(k[0]=Qt(()=>{},["stop"])),onMouseenter:l,onMouseleave:s},[x("div",uot,[x("div",dot,[ae(H(h.value)+" ",1),p.value?(y(),M(Sg,{key:0,is:"span",class:"contents",scheme:e.requiredSecurity.requirements[0].schemes[0]},null,8,["scheme"])):g.value?(y(),w(de,{key:1},[ae(H(b(t)("authentication.oneOf")),1)],64)):m.value?(y(),w(de,{key:2},[ae(H(b(t)("authentication.allOf")),1)],64)):(y(),w(de,{key:3},[ae(H(b(t)("authentication.authentication")),1)],64))]),g.value?(y(),w("ul",fot,[(y(!0),w(de,null,it(e.requiredSecurity.requirements,(S,A)=>(y(),w("li",{key:A,class:"markdown"},[S.schemes.length===1?(y(),M(Sg,{key:0,is:"span",class:"contents",scheme:S.schemes[0]},null,8,["scheme"])):(y(),w("ul",hot,[(y(!0),w(de,null,it(S.schemes,(E,_)=>(y(),M(Sg,{key:_,scheme:E},null,8,["scheme"]))),128))]))]))),128))])):m.value?(y(),w("ul",pot,[(y(!0),w(de,null,it(e.requiredSecurity.requirements[0].schemes,(S,A)=>(y(),M(Sg,{key:A,scheme:S},null,8,["scheme"]))),128))])):U("",!0)]),N(b(Gh))],544)):U("",!0)]),default:I(()=>[x("button",{ref_key:"triggerRef",ref:n,class:Oe(["security-requirement-badge inline-flex w-fit shrink-0 items-center justify-center gap-1 text-sm",e.requiredSecurity.state==="optional"?"text-c-2":"text-c-1 font-medium"]),type:"button","aria-expanded":a.value,"aria-haspopup":"dialog",onClick:Qt(d,["stop"]),onMouseenter:c,onMouseleave:s},[e.requiredSecurity.state==="required"?(y(),M(b(AL),{key:0,class:"size-3",weight:"bold"})):(y(),M(b(Z2e),{key:1,class:"size-3",weight:"bold"})),e.hideLabel?U("",!0):(y(),w("span",cot,H(f.value),1))],42,lot)]),_:1})):U("",!0)}}),HV=mot,ld;(function(e){e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable"})(ld||(ld={}));var VV=e=>e.deprecated||e["x-scalar-stability"]===ld.Deprecated,a0=e=>e.deprecated?ld.Deprecated:e["x-scalar-stability"],qV=e=>{switch(a0(e)){case ld.Deprecated:return"text-red";case ld.Experimental:return"text-orange";case ld.Stable:return"text-green";default:return""}},got=["method"],bot=F({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){const{translate:t}=Ot(),n=()=>{const r={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit("ui:open:client-modal",r)};return(r,a)=>(y(),w("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:Qt(n,["stop"])},[N(b(EL),{class:"size-3",weight:"fill"}),x("span",null,H(b(t)("operation.testRequest")),1),N(yu,null,{default:I(()=>[ae("("+H(e.method)+" "+H(e.path)+")",1)]),_:1})],8,got))}}),ZV=yt(bot,[["__scopeId","data-v-ad72d914"]]),yot=F({__name:"XBadges",props:{position:{},badges:{}},setup(e){const t=$(()=>Array.isArray(e.badges)?e.badges.filter(n=>n.position===e.position||e.position==="after"&&!n.position):[]);return(n,r)=>t.value.length?(y(!0),w(de,{key:0},it(t.value,a=>(y(),M(b(ho),{key:a.name,color:a.color},{default:I(()=>[ae(H(a.name),1)]),_:2},1032,["color"]))),128)):U("",!0)}}),Nb=yot,vot={class:"operation-title"}
434,Oot={class:"operation-details"},Sot={class:"endpoint-label-path"},wot={class:"endpoint-label-name"},xot={key:1,class:"font-code text-sm"},kot={class:"endpoint-content"},Aot={class:"operation-details-card"},Tot={key:0,class:"operation-details-card-item"},Eot={key:1,class:"operation-details-card-item"},_ot={class:"operation-details-card-item"},Cot={class:"operation-details-card-item"},$ot={key:2,class:"operation-details-card-item"},Pot=F({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){const{translate:t}=Ot(),n=$(()=>e.operation.summary||e.path||""),r=$(()=>wb(e.operation)),a=$(()=>Xz(e.requiredSecurity).length>0),i=J(),o=J(""),s=J({}),l=$(()=>({...s.value})),c=$(()=>JSON.stringify(l.value));_n(Q5,s);const u=J({}),{copyToClipboard:d}=pu(),{level:f}=ci("operation");return(h,p)=>(y(),M(b(j5),{id:e.id,"aria-label":n.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":p[5]||(p[5]=m=>{var g;return(g=e.eventBus)==null?void 0:g.emit("toggle:nav-item",{id:e.id,open:m})})},xr({title:I(()=>[x("div",vot,[x("div",Oot,[N(b(q5),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),N(b(bl),{class:"endpoint-anchor",onCopyAnchorUrl:p[0]||(p[0]=()=>{var m;return(m=e.eventBus)==null?void 0:m.emit("copy-url:nav-item",{id:e.id})})},{default:I(()=>[(y(),M(Wt(`h${b(f)}`),{class:"endpoint-label"},{default:I(()=>[x("div",Sot,[N(DV,{deprecated:b(VV)(e.operation),path:e.path},null,8,["deprecated","path"])]),x("div",wot,H(n.value),1),b(a0)(e.operation)?(y(),M(b(ho),{key:0,class:Oe(["capitalize",b(qV)(e.operation)])},{default:I(()=>[ae(H(b(a0)(e.operation)),1)]),_:1},8,["class"])):U("",!0),e.isWebhook?(y(),M(b(ho),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:I(()=>[N(b(W0),{weight:"bold"}),ae(" "+H(b(t)("operation.webhook")),1)]),_:1})):U("",!0),N(b(Nb),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),_:1}))]),_:1})])])]),actions:I(({active:m})=>[N(HV,{hideLabel:"",requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),N(b(Nb),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?U("",!0):(y(),w(de,{key:0},[m?(y(),M(b(ZV),{key:0,id:e.id,eventBus:e.eventBus,exampleName:o.value,method:e.method,path:e.path,requestBodyCompositionSelection:l.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):(y(),M(b(EL),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?(y(),w("span",xot,H(e.operation.operationId),1)):U("",!0),N(b(So),{class:"endpoint-copy p-0.5",icon:b(U6),label:b(t)("actions.copyEndpointUrl"),size:"xs",variant:"ghost",onClick:p[1]||(p[1]=Qt(g=>b(d)(e.path),["stop"]))},null,8,["icon","label"])]),default:I(()=>{var m;return[x("div",kot,[x("div",Aot,[Object.keys(r.value).length>0?(y(),w("div",Tot,[N(Oh,{value:r.value},null,8,["value"])])):U("",!0),a.value?(y(),w("div",Eot,[N(W5,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])])):U("",!0),x("div",_ot,[N(vk,{selectedContentType:i.value,"onUpdate:selectedContentType":p[2]||(p[2]=g=>i.value=g),breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:b(Se)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"])]),x("div",Cot,[N(Ok,{collapsableItems:!e.options.expandAllResponses,selectedContentTypes:u.value,"onUpdate:selectedContentTypes":p[3]||(p[3]=g=>u.value=g),breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["collapsableItems","selectedContentTypes","breadcrumb","document","eventBus","options","responses"])]),(m=e.operation)!=null&&m.callbacks?(y(),w("div",$ot,[N(zV,{breadcrumb:[e.id],callbacks:e.operation.callbacks,document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["breadcrumb","callbacks","document","eventBus","options","path"])])):U("",!0)]),e.operation.responses?(y(),M(b(jV),{key:0,class:"operation-example-card",eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:u.value,selectedExample:e.selectedExample},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):U("",!0),x("div",null,[e.operation.externalDocs?(y(),M(b(B5),{key:0},{default:I(()=>[N(b(U5),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):U("",!0),N(b(ps),null,{default:I(()=>[(y(),M(b(fz),{key:c.value,class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:l.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:i.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer,"onUpdate:exampleKey":p[4]||(p[4]=g=>o.value=g)},null,8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1})])])]}),_:2},[e.operation.description?{name:"description",fn:I(()=>[N(b(Jr),{anchorPrefix:e.id,"aria-label":b(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),Iot=yt(Pot,[["__scopeId","data-v-c5ba30c3"]]),Rot={class:"ask-agent-scalar-input-label"},Not=["placeholder"],Mot={class:"ask-agent-scalar-send",type:"submit"},Lot=F({__name:"AskAgentButton",setup(e){const t=X6(),{translate:n}=Ot(),r=J(""),a=J();function i(){var o;(o=t.value)==null||o.openAgent(r.value),r.value=""}return(o,s)=>{var l;return(l=b(t))!=null&&l.agentEnabled.value?(y(),w("form",{key:0,class:"agent-button-container",onClick:s[1]||(s[1]=c=>{var u;return(u=a.value)==null?void 0:u.focus()}),onSubmit:s[2]||(s[2]=Qt(c=>i(),["prevent"]))},[N(b(F6),{class:"size-3 shrink-0",weight:"fill"}),x("div",Rot,H(b(n)("agent.askAiAgent")),1),Fi(x("input",{ref_key:"inputRef",ref:
434a,"onUpdate:modelValue":s[0]||(s[0]=c=>r.value=c),class:Oe(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":r.value.length>0}]),placeholder:b(n)("agent.askAiAgent")},null,10,Not),[[xd,r.value]]),x("button",Mot,[N(b(S0e),{class:"size-3",weight:"bold"})])],32)):U("",!0)}}}),Dot=yt(Lot,[["__scopeId","data-v-10a4fb90"]]),Bot={class:"flex flex-row justify-between gap-1"},Uot={class:"flex gap-1"},jot={class:"flex gap-1"},Fot={class:"operation-layout"},Qot={class:"operation-auth"},zot={class:"operation-description"},Hot={class:"operation-details"},Vot={class:"examples"},qot={class:"flex"},Zot=F({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){const{translate:t}=Ot(),n=$(()=>e.operation.summary||e.path||""),r=Mt(),a=$(()=>wb(e.operation)),i=J(),o=J({}),s=$(()=>({...o.value})),l=$(()=>JSON.stringify(s.value));_n(Q5,o);const c=J({}),{level:u}=ci("operation");return(d,f)=>(y(),M(b(op),{id:e.id,"aria-labelledby":b(r),label:n.value,tabindex:"-1",onIntersecting:f[3]||(f[3]=()=>{var h;return(h=e.eventBus)==null?void 0:h.emit("intersecting:nav-item",{id:e.id})})},{default:I(()=>[N(b(Dv),null,{default:I(()=>{var h;return[x("div",Bot,[x("div",Uot,[(h=e.options)!=null&&h.showOperationId&&e.operation.operationId?(y(),M(b(ho),{key:0},{default:I(()=>[ae(H(e.operation.operationId),1)]),_:1})):U("",!0),b(a0)(e.operation)?(y(),M(b(ho),{key:1,class:Oe(["capitalize",b(qV)(e.operation)])},{default:I(()=>[ae(H(b(a0)(e.operation)),1)]),_:1},8,["class"])):U("",!0),e.isWebhook?(y(),M(b(ho),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:I(()=>[N(b(W0),{weight:"bold"}),ae(" "+H(b(t)("operation.webhook")),1)]),_:1})):U("",!0),N(b(Nb),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),x("div",jot,[N(b(Nb),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),x("div",Fot,[x("div",{class:Oe(["operation-title",b(VV)(e.operation)&&"deprecated"])},[N(b(bl),{onCopyAnchorUrl:f[0]||(f[0]=()=>{var p;return(p=e.eventBus)==null?void 0:p.emit("copy-url:nav-item",{id:e.id})})},{default:I(()=>[N(b(ja),{id:b(r),level:b(u)},{default:I(()=>[ae(H(n.value),1)]),_:1},8,["id","level"])]),_:1})],2),x("div",Qot,[N(HV,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])]),x("div",zot,[N(Oh,{value:a.value},null,8,["value"]),N(b(Jr),{anchorPrefix:e.id,"aria-label":b(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),x("div",Hot,[N(W5,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),N(vk,{selectedContentType:i.value,"onUpdate:selectedContentType":f[1]||(f[1]=p=>i.value=p),breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:b(Se)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"]),N(Ok,{selectedContentTypes:c.value,"onUpdate:selectedContentTypes":f[2]||(f[2]=p=>c.value=p),breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["selectedContentTypes","breadcrumb","collapsableItems","document","eventBus","options","responses"]),N(b(ps),null,{default:I(()=>[e.operation.callbacks?(y(),M(zV,{key:0,breadcrumb:[e.id],callbacks:e.operation.callbacks,class:"mt-6",document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["breadcrumb","callbacks","document","eventBus","options","path"])):U("",!0)]),_:1})]),x("div",Vot,[e.operation.externalDocs?(y(),M(b(B5),{key:0},{default:I(()=>[N(b(U5),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):U("",!0),N(b(ps),null,{default:I(()=>[(y(),M(b(fz),{key:l.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:s.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:i.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer},{header:I(()=>{var p;return[N(DV,{class:"font-code text-c-2 [&_em]:text-c-1 min-w-0 [&_em]:not-italic",deprecated:(p=e.operation)==null?void 0:p.deprecated,path:e.path},null,8,["deprecated","path"])]}),footer:I(({exampleName:p})=>[x("div",qot,[N(Dot),e.options.hideTestRequestButton?U("",!0):(y(),M(b(ZV),{key:0,id:e.id,eventBus:e.eventBus,exampleName:p,method:e.method,path:e.path,requestBodyCompositionSelection:s.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),_:1},8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1}),N(b(ps),null,{default:I(()=>[e.operation.responses?(y(),M(b(jV),{key:0,eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:c.value,selectedExample:e.selectedExample,style:{"margin-top":"12px"}},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):U("",!0)]),_:1})])])]}),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),Xot=yt(Zot,[["__scopeId","data-v-8532ad40"]]),Wot=F({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},authStore:{}},setup(e){const t=$(()=>{var s,l;const i=Se((s=e.pathValue)==null?void 0:s[e.method]);if(!i)return null;const o=JM((l=e.pathValue)==null?void 0:l.parameters,i.parameters);return{...i,parameters:o}}),n=$(()=>{var i,o;return UQe(((i=t.value)==null?void 0:i.servers)??null,((o=e.pathValue)==null?void 0:o.servers)??null,e.server)}),r=$(()=>Zz(t.value,e.document)),a=$(()=>{var i,o,s,l;return cit(e.document,t.value,e.authStore.getAuthSelectedSchemas({type:"document",documentName:((o=(i=e.document)==null?void 0:i["x-scalar-navigation"])==null?void 0:o.name)??""}),e.authStore.getAuthSelectedSchemas({type:"operation",documentName:((l=(s=e.document)==null?void 0:s["x-scalar-navigation"])==null?void 0:l.name)??"",path:e.path,method:e.method}),e.securitySchemes)});return(i,o)=>t.value?(y(),w(de,{key:0},[e.options.layout==="classic"?(y(),M(Iot,{key:0,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:a.value,selectedServer:n.value},null,8,["id","clientOptions","document","eventBus","isCollapsed","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"])):(y(),M(Xot,{key:1,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedSecuritySchemes:a.value,selectedServer:n.value},null,8,["id","clientOptions","document","eventBus","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"]))],64)):U("",!0)}}),Yot=Wot,Got=["id"],Kot=F({__name:"TraversedEntry",props:{authStore:{},level:{default:0},insideTagContainer:{type:Boolean,default:!1},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},selectedExample:{},expandedItems:{},eventBus:{}},setup(e){const t=u=>
434u.type==="tag"&&u.isGroup===!0&&u.isTagGroup===!0,n=u=>u.type==="tag"&&!t(u)&&u.id!=="models",r=u=>u.type==="operation",a=u=>u.type==="webhook",i=u=>u.type==="models",o=u=>u.type==="model",s=u=>We(u)&&(!("$ref"in u)||u["$ref-value"]!==void 0),l=$(()=>{var u;return Object.fromEntries(Object.entries(((u=e.document.components)==null?void 0:u.schemas)??{}).map(([d,f])=>[d,s(f)?f:void 0]))});function c(u){var d,f;return a(u)?dh((d=e.document.webhooks)==null?void 0:d[u.name]):dh((f=e.document.paths)==null?void 0:f[u.path])}return(u,d)=>{const f=vy("TraversedEntry",!0);return y(!0),w(de,null,it(e.entries,h=>(y(),M(Fz,{id:h.id,key:`${h.id}-${e.options.layout}`,expanded:!!e.expandedItems[h.id]},{default:I(()=>{var p;return[r(h)||a(h)?(y(),M(b(f1),{key:0,omit:e.level!==0},{default:I(()=>[N(b(Yot),{id:h.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[h.id],isWebhook:a(h),method:h.method,options:e.options,path:a(h)?h.name:h.path,pathValue:c(h),securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","selectedExample","server"])]),_:2},1032,["omit"])):n(h)||t(h)&&e.options.layout==="classic"?(y(),M(b(jz),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[h.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(n).length>1,nested:e.insideTagContainer,tag:h},{default:I(()=>{var m;return["children"in h&&((m=h.children)!=null&&m.length)?(y(),M(f,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:h.children,eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:!0,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):U("",!0)]}),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"])):t(h)?(y(),w("div",{key:2,id:h.id},[N(f,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:h.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:e.insideTagContainer,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","insideTagContainer","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])],8,Got)):i(h)&&((p=e.document.components)!=null&&p.schemas)?(y(),M(Uz,{key:3,id:h.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[h.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:I(()=>[N(f,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:h.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):o(h)&&l.value[h.name]?(y(),M(Dz,{key:4,id:h.id,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[h.id],name:h.name,options:e.options,schema:l.value[h.name]},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):U("",!0)]}),_:2},1032,["id","expanded"]))),128)}}}),Jot=Kot,est=["id"],tst=F({__name:"RenderPluginView",props:{item:{},options:{},eventBus:{}},setup(e){const t=ai("el");return Dd(t,()=>{var n,r;(n=e.item.sidebar)!=null&&n.show&&((r=e.eventBus)==null||r.emit("intersecting:nav-item",{id:e.item.id}))}),(n,r)=>(y(),w("div",{id:e.item.id,ref_key:"el",ref:t},[N(b(ps),null,{default:I(()=>[e.item.renderer?(y(),M(Wt(e.item.renderer),jt(Te({key:0},{component:e.item.component,options:e.options,...e.item.props})),null,16)):(y(),M(Wt(e.item.component),jt(Te({key:1},{options:e.options,...e.item.props})),null,16))]),_:1})],8,est))}}),nst=tst,rst={key:0,class:"plugin-view"},ast=F({__name:"RenderPlugins",props:{viewName:{},options:{},eventBus:{},documentSlug:{}},setup(e){const{getViewComponents:t}=QU(),n=$(()=>t(e.viewName,e.documentSlug));return(r,a)=>n.value.length?(y(),w("div",rst,[(y(!0),w(de,null,it(n.value,i=>(y(),M(nst,{key:i.id,eventBus:e.eventBus,item:i,options:e.options},null,8,["eventBus","item","options"]))),128))])):U("",!0)}}),c$=ast,ist={},ost={class:"section-flare"};function sst(e,t){return y(),w("div",ost,[...t[0]||(t[0]=[eu('<div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div>',8)])])}var lst=yt(ist,[["render",sst],["__scopeId","data-v-5cebff7a"]]),cst=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return yb;const t=new Set(yb);if(Array.isArray(e))for(const n of e){const r=u2[n];if(r)for(const a of r)t.delete(`${n}/${a}`);else if(n.includes("/"))t.delete(n);else for(const a of Nd(u2))t.delete(`${a}/${n}`)}else if(typeof e=="object"){for(const[n,r]of Object.entries(e))if(r===!0){const a=u2[n];if(a)for(const i of a)t.delete(`${n}/${i}`)}else if(Array.isArray(r))for(const a of r)t.delete(a),t.delete(`${n}/${a}`)}return Array.from(t)},ust={class:"narrow-references-container"},dst={key:3,class:"h-dvh"},fst=F({__name:"Content",props:{infoSectionId:{},contextChain:{default:()=>[]},documentSlug:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},xScalarDefaultExample:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){const t=$(()=>pFe(cst(e.options.hiddenClients))),n=$(()=>nit(e.items,e.options.layout)),r=$(()=>e.contextChain.length>=2?e.contextChain:LV(e.items,e.options.layout)),a=$(()=>{var S,A;return Sz((A=(S=i.value)==null?void 0:S.info)==null?void 0:A["x-scalar-sdk-installation"])}),i=$(()=>ti(e.document)?e.document:void 0),o=$(()=>ti(e.clientDocument)?e.clientDocument:void 0),s=$(()=>Bo(e.document)?e.document:void 0),l=$(()=>Bo(e.clientDocument)?e.clientDocument:void 0),c=$(()=>YM(e.document)),u=$(()=>{var S;return Bo(e.document)?e.document["x-original-aas-version"]??e.document.asyncapi:(S=i.value)==null?void 0:S["x-original-oas-version"]}),d=$(()=>wb(e.document)),f=$(()=>{var S;return wb((S=e.document)==null?void 0:S.info)}),h=$(()=>{var S,A,E,_;return nL(((S=e.options)==null?void 0:S.servers)??((A=o.value)==null?void 0:A.servers),{baseServerUrl:(E=e.options)==null?void 0:E.baseServerURL,documentUrl:(_=e.clientDocument)==null?void 0:_["x-scalar-original-source-url"]})}),p=$(()=>cme(o.value??null,null,null,h.value)),m=$(()=>l.value?Z6(l.value,{webSocketOnly:!1}):[]),g=$(()=>wke(l.value??null,m.value)),v=$(()=>{var A,E,_;const S=l.value??o.value;return ame((A=S!=null&&S.components?Se(S.components):void 0)==null?void 0:A.securitySchemes,(E=e.options.authentication)==null?void 0:E.securitySchemes,e.authStore,((_=S==null?void 0:S["x-scalar-navigation"])==null?void 0:_.name)??"",e.options.oauth2RedirectUri)}),k=$(()=>!!e.document&&(!!s.value||!e.options.hideTestRequestButton));return Lt(()=>{GTe()}),Tze("document"),(S,A)=>{var E,_,C;return y(),w(de,null,[N(b(lst)),x("div",ust,[q(S.$slots,"start"),N(b(c$),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.start"},null,8,["documentSlug","eventBus","options"]),N(b(tVe),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:d.value,documentType:c.value,documentUrl:(E=e.document)==null?void 0:E["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:(_=i.value)==null?void 0:_.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:(C=e.document)==null?void 0:C.info,infoExtensions:f.value,layout:e.options.layout,specificationVersion:u.value},{selectors:I(()=>[N(b(ps),null,{default:I(()=>{var R;return[(R=h.value)!=null&&R.length?(y(),M(b(jp),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:I(()=>[N(b(RVe),{eventBus:e.eventBus,selectedServer:p.value,servers:h.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):U("",!0)]}),_:1}),N(b(ps),null,{default:I(()=>[m.value.length?(y(),M(b(jp),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:I(()=>[N(b(sUe),{eventBus:e.eventBus,selectedServer:g.value,servers:m.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):U("",!0)]),_:1}),N(b(ps),null,{default:I(()=>[k.value?(y(),M(b(jp),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:I(()=>[N(b(eit),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:v.value,selectedServer:p.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):U("",!0)]),_:1}),N(b(ps),null,{default:I(()=>[a.value.length?(y(),M(b(jp),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:I(()=>[N(b(wVe),{class:"introduction-card-item scalar-reference-intro-clients",eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:a.value},null,8,["eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):t.value.length&&!s.value?(y(),M(b(jp),{key:1,class:"introduction-card-item scalar-reference-intro-clients"},{default:I(()=>[N(b(kze),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient},null,8,["clientOptions","eventBus","selectedClient"])]),_:1})):U("",!0)]),_:1})]),_:1},8,["id","documentDownloadType","documentExtensions","documentType","documentUrl","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","specificationVersion"]),n.value?(y(),M(b(lit),{key:0,chain:r.value,onNavigate:A[0]||(A[0]=R=>e.eventBus.emit("scroll-to:nav-item",{id:R}))},null,8,["chain"])):U("",!0),e.items.length&&i.value?(y(),M(Jot,{key:1,authStore:e.authStore,clientOptions:t.value,document:i.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:v.value,selectedClient:e.xScalarDefaultClient,selectedExample:e.xScalarDefaultExample,selectedServer:p.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):e.items.length&&s.value?(y(),M(b(zWe),{key:2,document:s.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options},null,8,["document","entries","eventBus","expandedItems","options"])):U("",!0),N(b(c$),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.end"},null,8,["documentSlug","eventBus","options"]),q(S.$slots,"end"),b(Hw)?U("",!0):(y(),w("div",dst))])],64)}}}),hst=fst,pst={key:0,"aria-hidden":"true","data-scalar-crawler-nav":"",hidden:""},mst=["href"],gst=F({__name:"CrawlerNav",props:{items:{},basePath:{},isMultiDocument:{type:Boolean},options:{}},setup(e){const t=$(()=>{const n=[],r=a=>{var i;for(const o of M6("reference",a,(i=e.options)==null?void 0:i.hideOperationDefaultExamples)){const s=GU(o.id,e.basePath,e.isMultiDocument);s&&n.push({id:o.id,href:s,title:o.title}),"children"in o&&o.children&&r(o.children)}};return r(e.items),n});return(n,r)=>t.value.length>0?(y(),w("nav",pst,[x("ul",null,[(y(!0),w(de,null,it(t.value,a=>(y(),w("li",{key:a.id},[x("a",{href:a.href},H(a.title),9,mst)]))),128))])])):U("",!0)}}),bst=gst,yst={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},vst={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},Ost={class:"flex h-6 items-center gap-1 pl-1"},Sst=F({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){const{translate:n}=Ot(),r=t,a=Ur({base:"lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]",variants:{open:{true:"h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50"}}});return(i,o)=>(y(),w(de,null,[q(i.$slots,"sidebar",jt(Xt({sidebarClasses:"hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"}))),x("div",{class:Oe(["t-doc__header",b(a)({open:e.isSidebarOpen})])}
434,[x("header",yst,[e.showSidebar?(y(),M(b(So),{key:0,icon:e.isSidebarOpen?b(Yh):b(I2e),label:e.isSidebarOpen?b(n)("navigation.closeMenu"):b(n)("navigation.openMenu"),size:"md",onClick:o[0]||(o[0]=s=>r("toggleSidebar"))},null,8,["icon","label"])):U("",!0),e.showSidebar?(y(),w("span",vst,H(e.breadcrumb),1)):q(i.$slots,"search",{},void 0,void 0,2),x("div",Ost,[q(i.$slots,"actions")])]),e.isSidebarOpen?q(i.$slots,"sidebar",jt(Xt({sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"})),void 0,void 0,0):U("",!0)],2)],64))}}),wst=Sst,xst=F({inheritAttrs:!1,__name:"ScalarPopover",props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(b(E8),{as:"template"},{default:I(({open:a})=>[N(b(Y0),jt(Xt(n.$props)),{floating:I(({width:i,height:o})=>[N(b(sR),Te({focus:e.focus,style:{width:i,height:o}},b(t)("relative flex flex-col p-0.75")),{default:I(({close:s})=>[q(n.$slots,"popover",{close:()=>s(),open:a}),q(n.$slots,"backdrop",{open:a},()=>[N(b(Gh))])]),_:2},1040,["focus","style"])]),default:I(()=>[N(b(oR),{as:"template"},{default:I(()=>[q(n.$slots,"default",{open:a})]),_:2},1024)]),_:2},1040)]),_:3}))}}),kst=xst,Ast={class:"text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},Tst={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},Est={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},_st=F({__name:"ApiReferenceToolbarPopover",setup(e){const{translate:t}=Ot();return(n,r)=>(y(),M(b(kst),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:I(({open:a})=>[q(n.$slots,"button",{open:a},()=>[x("button",Ast,[q(n.$slots,"label"),N(b(Xo),{class:Oe(["size-3",{"rotate-180":a}])},null,8,["class"])])])]),popover:I(a=>[x("div",Tst,[q(n.$slots,"default",jt(Xt(a)))]),x("div",Est,[N(b(kL),{class:"size-3.5 shrink-0"}),x("div",null,[q(n.$slots,"info",{},()=>[ae(H(b(t)("developerTools.localhostOnly")),1)])])])]),backdrop:I(()=>[N(b(Gh),{class:"bg-b-2 rounded-lg"})]),_:3}))}}),Yv=_st,Cst={class:"text-c-2 hover:text-c-1 hover:bg-b-2 ml-auto flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},$st={class:"-m-2 flex flex-col gap-2 leading-relaxed"},Pst={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},u$='showDeveloperTools: "never"',Ist=F({__name:"ApiReferenceToolbarTitle",setup(e){const{copyToClipboard:t}=pu(),{translate:n}=Ot();return(r,a)=>(y(),M(Yv,{class:"w-120",placement:"bottom-start"},{button:I(()=>[x("button",Cst,[N(b(kL)),ae(" "+H(b(n)("developerTools.title")),1)])]),info:I(()=>[ae(H(b(n)("developerTools.localhostOnly")),1)]),default:I(()=>[x("div",$st,[x("div",null,H(b(n)("developerTools.intro")),1),x("div",null,[ae(H(b(n)("developerTools.disableToolbarBefore"))+" ",1),x("div",Pst,[x("code",{class:"font-code"},H(u$)),N(b(So),{class:"-m-1 p-1.25",icon:b(U6),label:b(n)("actions.copyToClipboard"),size:"sm",onClick:a[0]||(a[0]=i=>b(t)(u$))},null,8,["icon","label"])]),ae(" "+H(b(n)("developerTools.disableToolbarAfter")),1)])])]),_:1}))}}),Rst=Ist,Nst={},Mst={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"};function Lst(e,t){return y(),w("p",Mst,[q(e.$slots,"default")])}var XV=yt(Nst,[["render",Lst]]),Dst=F({__name:"ApiReferenceToolbarRegisterButton",props:Cn({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){const t=Tn(e,"url"),{toast:n}=hu(),r=Kh(),{translate:a}=Ot();function i(s){const l=new URL(`${e.externalUrls.dashboardUrl}/register`);l.searchParams.set("url",s),e.sdks.forEach(c=>l.searchParams.append("sdk",c)),window.open(l.toString(),"_blank")}async function o(){if(r.isLoading||!e.workspace)return;if(t.value){i(t.value);return}r.start();const s=e.workspace.exportActiveDocument("json");if(!s){n(a("developerTools.unableToExportDocument"),"error"),await r.invalidate();return}try{t.value=await W6(s,e.externalUrls),await r.validate(),i(t.value),await In(),await r.clear()}catch(l){const c=l instanceof Error?l.message:a("developerTools.unknownError");n(c,"error"),await r.invalidate()}}return(s,l)=>(y(),M(b(zn),{class:"h-auto p-2.5",loader:b(r),onClick:o},{default:I(()=>[q(s.$slots,"default",{},()=>[ae(H(b(a)("developerTools.generate")),1)])]),_:3},8,["loader"]))}}),Bst=Dst,Ust={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},jst=F({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot(),n=[{icon:AL,labelKey:"developerTools.passwordProtection"},{icon:r2e,labelKey:"developerTools.customDomains"},{icon:H0e,labelKey:"developerTools.freeFormContent"}
434,{icon:F1e,labelKey:"developerTools.cdnInfrastructure"},{icon:Wge,labelKey:"developerTools.pullFromGitHub"},{icon:Tge,labelKey:"developerTools.markdownMdx"},{icon:Dye,labelKey:"developerTools.spectralLinting"},{icon:SL,labelKey:"developerTools.jsonSchemaHosting"},{icon:F6,labelKey:"developerTools.askAi"},{icon:$be,labelKey:"developerTools.mcpServers"}];return(r,a)=>(y(),w(de,null,[x("ul",Ust,[(y(),w(de,null,it(n,i=>x("li",{key:i.labelKey,class:"flex items-center gap-2"},[(y(),M(Wt(i.icon),{class:"text-c-3 size-3.5",weight:"bold"})),ae(" "+H(b(t)(i.labelKey)),1)])),64))]),N(Bst,{externalUrls:e.externalUrls,workspace:e.workspace},{default:I(()=>[ae(H(b(t)("developerTools.deployOnScalar")),1)]),_:1},8,["externalUrls","workspace"]),N(XV,null,{default:I(()=>[ae(H(b(t)("developerTools.deployFree"))+" ",1),a[0]||(a[0]=x("br",null,null,-1)),ae(" "+H(b(t)("developerTools.additionalFeaturesMightRequire"))+" ",1),a[1]||(a[1]=x("span",null,[x("a",{href:"https://scalar.com/products/docs/getting-started",rel:"noopener noreferrer",target:"_blank"}," Scalar Pro. ")],-1))]),_:1})],64))}}),Fst=jst,Qst={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},zst=F({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){const{cx:t}=$t();return(n,r)=>(y(),M(Wt(e.is),jt(Xt(b(t)("flex flex-col gap-1.5 rounded"))),{default:I(()=>[n.$slots.label?(y(),w("div",Qst,[q(n.$slots,"label")])):U("",!0),q(n.$slots,"default"),n.$slots.below?(y(),w("span",{key:1,class:Oe(b(t)("-mt-1.5 text-sm"))},[q(n.$slots,"below")],2)):U("",!0)]),_:3},16))}}),K4=zst,Hst=F({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){const{cx:t}=$t();return oke(),(n,r)=>(y(),M(Wt(e.is),jt(Xt(b(t)("flex flex-col border rounded divide-y"))),{default:I(()=>[q(n.$slots,"default")]),_:3},16))}}),WV=Hst,Vst={},qst={class:"flex min-w-0 flex-col gap-3"},Zst={class:"contents"},Xst={class:"text-base font-medium text-c-1"};function Wst(e,t,n,r,a,i){return y(),w("fieldset",qst,[x("legend",Zst,[x("span",Xst,[q(e.$slots,"label")])]),q(e.$slots,"default")])}var Sk=Ns(Vst,[["render",Wst]]),Yst={class:"text-c-2 mb-2 leading-normal"},Gst=F({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot();return(n,r)=>(y(),M(Yv,{class:"w-120"},{label:I(()=>[ae(H(b(t)("developerTools.deploy")),1)]),default:I(()=>[N(b(Sk),null,{label:I(()=>[ae(H(b(t)("developerTools.scalarDocs")),1)]),default:I(()=>[x("p",Yst,H(b(t)("developerTools.deployDescription")),1),N(Fst,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),Kst=Gst,Jst=F({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup(e){const t=e;return(n,r)=>(y(),w("div",{class:Oe(["flex size-4 items-center justify-center p-0.75",[t.selected||t.indeterminate&&t.type==="checkbox"?"bg-c-accent text-b-1":"text-transparent shadow-border",t.type==="checkbox"?"rounded":"rounded-full"]])},[t.selected?(y(),M(b(B6),{key:0,class:"size-3",weight:"bold"})):t.indeterminate&&t.type==="checkbox"?(y(),M(b(TL),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):U("",!0)],2))}}),elt=Jst,tlt={class:"flex-1 text-left min-w-0 truncate"},nlt=["type"],rlt=F({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:Cn({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=Tn(e,"modelValue"),{stylingAttrsCx:r,otherAttrs:a}=$t();return(i,o)=>(y(),M(b(bv),Te({is:"label"},b(r)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":n.value})),{default:I(()=>[N(elt,{class:"shrink-0",indeterminate:t.indeterminate&&t.type==="checkbox",selected:n.value,type:t.type},null,8,["indeterminate","selected","type"]),x("div",tlt,[q(i.$slots,"default")]),Fi(x("input",Te({ref:"inputEl","onUpdate:modelValue":o[0]||(o[0]=s=>n.value=s),class:"sr-only",type:t.type},b(a)),null,16,nlt),[[LI,n.value]])]),_:3},16))}}),alt=rlt,ilt=F({__name:"ScalarCheckboxRadioGroup",props:Cn({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),n=Mt();return(r,a)=>(y(),M(b(WV),null,{default:I(()=>[(y(!0),w(de,null,it(e.options,i=>{var o;return y(),M(alt,{key:i.value,modelValue:((o=t.value)==null?void 0:o.value)===i.value,
434name:b(n),type:"radio",value:i.value,"onUpdate:modelValue":s=>t.value=s?i:void 0},{default:I(()=>[ae(H(i.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"])}),128))]),_:1}))}}),olt=ilt,slt=F({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),{translate:n}=Ot(),r=$(()=>[{label:n("developerTools.layoutModern"),value:"modern"},{label:n("developerTools.layoutClassic"),value:"classic"}]),a=$({get:()=>r.value.find(i=>i.value===t.value)??r.value[0],set:i=>t.value=i.value});return(i,o)=>(y(),M(b(olt),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=s=>a.value=s),options:r.value},null,8,["modelValue","options"]))}}),llt=slt,clt=["aria-disabled"],ult={key:0,class:"sr-only"},dlt=F({inheritAttrs:!1,__name:"ScalarToggleSlider",props:{thumb:{default:"start"},disabled:{type:Boolean},label:{}},setup(e){const t=Ur({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{disabled:{true:"cursor-not-allowed opacity-40"}}}),{cx:n}=$t();return(r,a)=>(y(),w("button",Te({"aria-disabled":e.disabled,type:"button"},b(n)(b(t)({disabled:e.disabled}))),[x("div",{class:Oe(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 transition-transform duration-300",{"translate-x-1.25":e.thumb==="center","translate-x-2.5":e.thumb==="end"}])},null,2),e.label?(y(),w("span",ult,H(e.label),1)):U("",!0)],16,clt))}}),flt=dlt,hlt=F({__name:"ScalarToggle",props:Cn({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=Tn(e,"modelValue");function r(){t.disabled||(n.value=!n.value)}return(a,i)=>(y(),M(flt,{"aria-checked":n.value,class:Oe(n.value?"bg-c-accent":""),disabled:e.disabled,label:e.label,role:"switch",thumb:n.value?"end":"start",onClick:r},null,8,["aria-checked","class","disabled","label","thumb"]))}}),plt=hlt,mlt={class:"flex-1 text-left min-w-0 truncate"},glt=F({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),{stylingAttrsCx:n,otherAttrs:r}=$t();return(a,i)=>(y(),M(b(bv),Te({is:"label"},b(n)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:I(()=>[x("div",mlt,[q(a.$slots,"default")]),N(plt,Te({modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),class:"shrink-0"},b(r)),null,16,["modelValue"])]),_:3},16))}}),es=glt,blt=F({__name:"ApiReferenceToolbarConfigLayoutOptions",props:Cn({configuration:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),{translate:n}=Ot();function r(l,c=!1){var u;return t.value[l]??((u=e.configuration)==null?void 0:u[l])??c}function a(l,c,u=!1){c!==u?t.value={...t.value,[l]:c}:t.value=Object.fromEntries(Object.entries(t.value).filter(([d])=>l!==d))}const i=$(()=>{var l;return((l=e.configuration)==null?void 0:l.modelsSectionLabel)??Mi}),o=$(()=>n("developerTools.expandAll",{label:i.value})),s=$(()=>n("developerTools.hideModels",{label:i.value}));return(l,c)=>(y(),M(b(WV),null,{default:I(()=>[N(b(es),{modelValue:r("showSidebar",!0),"onUpdate:modelValue":c[0]||(c[0]=u=>a("showSidebar",!!u,!0))},{default:I(()=>[ae(H(b(n)("developerTools.showSidebar")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("defaultOpenFirstTag",!0),"onUpdate:modelValue":c[1]||(c[1]=u=>a("defaultOpenFirstTag",!!u,!0))},{default:I(()=>[ae(H(b(n)("developerTools.defaultOpenFirstTag")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("defaultOpenAllTags"),"onUpdate:modelValue":c[2]||(c[2]=u=>a("defaultOpenAllTags",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.defaultOpenAllTags")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("expandAllModelSections"),"onUpdate:modelValue":c[3]||(c[3]=u=>a("expandAllModelSections",!!u))},{default:I(()=>[ae(H(o.value),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("expandAllResponses"),"onUpdate:modelValue":c[4]||(c[4]=u=>a("expandAllResponses",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.expandAllResponses")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("hideClientButton"),"onUpdate:modelValue":c[5]||(c[5]=u=>a("hideClientButton",!!u))},{default:I(()=>
434[ae(H(b(n)("developerTools.hideClientButton")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("hideDarkModeToggle"),"onUpdate:modelValue":c[6]||(c[6]=u=>a("hideDarkModeToggle",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.hideDarkModeToggle")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("hideModels"),"onUpdate:modelValue":c[7]||(c[7]=u=>a("hideModels",!!u))},{default:I(()=>[ae(H(s.value),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("hideSearch"),"onUpdate:modelValue":c[8]||(c[8]=u=>a("hideSearch",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.hideSearch")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("showOperationId"),"onUpdate:modelValue":c[9]||(c[9]=u=>a("showOperationId",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.showOperationId")),1)]),_:1},8,["modelValue"]),N(b(es),{modelValue:r("hideTestRequestButton"),"onUpdate:modelValue":c[10]||(c[10]=u=>a("hideTestRequestButton",!!u))},{default:I(()=>[ae(H(b(n)("developerTools.hideTestRequestButton")),1)]),_:1},8,["modelValue"])]),_:1}))}}),ylt=blt,vlt=`/* Inter (--scalar-font) */ 435/* cyrillic-ext */ 436@font-face { 437 font-family: "Inter"; 438 font-style: normal; 439 font-weight: 100 900; 440 font-display: swap; 441 src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2"); 442 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 443} 444/* cyrillic */ 445@font-face { 446 font-family: "Inter"; 447 font-style: normal; 448 font-weight: 100 900; 449 font-display: swap; 450 src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2"); 451 unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 452} 453/* greek-ext */ 454@font-face { 455 font-family: "Inter"; 456 font-style: normal; 457 font-weight: 100 900; 458 font-display: swap; 459 src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2"); 460 unicode-range: U+1F00-1FFF; 461} 462/* greek */ 463@font-face { 464 font-family: "Inter"; 465 font-style: normal; 466 font-weight: 100 900; 467 font-display: swap; 468 src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2"); 469 unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; 470} 471/* vietnamese */ 472@font-face { 473 font-family: "Inter"; 474 font-style: normal; 475 font-weight: 100 900; 476 font-display: swap; 477 src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2"); 478 unicode-range: 479 U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, 480 U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, 481 U+0329, U+1EA0-1EF9, U+20AB; 482} 483/* latin-ext */ 484@font-face { 485 font-family: "Inter"; 486 font-style: normal; 487 font-weight: 100 900; 488 font-display: swap; 489 src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2"); 490 unicode-range: 491 U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 492 U+A720-A7FF; 493} 494/* latin */ 495@font-face { 496 font-family: "Inter"; 497 font-style: normal; 498 font-weight: 100 900; 499 font-display: swap; 500 src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2"); 501 unicode-range: 502 U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, 503 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, 504 U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 505} 506 507/* keyboard symbols (âââââµâ§âªââ¥) */ 508@font-face { 509 font-family: "Inter"; 510 font-style: normal; 511 font-weight: 100 900; 512 font-display: swap; 513 src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2"); 514 unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325; 515} 516 517/* JetBrains Mono (--scalar-font-code) */ 518/* cyrillic-ext */ 519@font-face { 520 font-family: "JetBrains Mono"; 521 font-style: normal; 522 font-weight: 400; 523 src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2"); 524 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; 525} 526/* cyrillic */ 527@font-face { 528 font-family: "JetBrains Mono"; 529 font-style: normal; 530 font-weight: 400; 531 src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2"); 532 unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 533} 534/* greek */ 535@font-face { 536 font-family: "JetBrains Mono"; 537 font-style: normal; 538 font-weight: 400; 539 src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2"); 540 unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; 541} 542/* vietnamese */ 543@font-face { 544 font-family: "JetBrains Mono"; 545 font-style: normal; 546 font-weight: 400; 547 src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2"); 548 unicode-range: 549 U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, 550 U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, 551 U+0329, U+1EA0-1EF9, U+20AB; 552} 553/* latin-ext */ 554@font-face { 555 font-family: "JetBrains Mono"; 556 font-style: normal; 557 font-weight: 400; 558 src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2"); 559 unicode-range: 560 U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 561 U+A720-A7FF; 562} 563/* latin */ 564@font-face { 565 font-family: "JetBrains Mono"; 566 font-style: normal; 567 font-weight: 400; 568 src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2"); 569 unicode-range: 570 U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, 571 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, 572 U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 573} 574`,Olt=`/* basic theme */ 575:root { 576 --scalar-text-decoration: underline; 577 --scalar-text-decoration-hover: underline; 578} 579 580.dark-mode { 581 --scalar-background-1: #131313; 582 --scalar-background-2: #1d1d1d; 583 --scalar-background-3: #272727; 584 --scalar-background-card: #1d1d1d; 585 586 --scalar-color-1: rgba(255, 255, 255, 0.9); 587 --scalar-color-2: rgba(255, 255, 255, 0.62); 588 --scalar-color-3: rgba(255, 255, 255, 0.44); 589 590 --scalar-color-accent: var(--scalar-color-1); 591 --scalar-background-accent: var(--scalar-background-3); 592 593 --scalar-border-color: #2a2b2a; 594} 595 596.light-mode, 597.light-mode .dark-mode { 598 --scalar-background-1: #f9f9f9; 599 --scalar-background-2: #f1f1f1; 600 --scalar-background-3: #e7e7e7; 601 --scalar-background-card: #fff; 602 603 --scalar-color-1: #1b1b1b; 604 --scalar-color-2: #757575; 605 --scalar-color-3: #8e8e8e; 606 607 --scalar-color-accent: var(--scalar-color-1); 608 --scalar-background-accent: var(--scalar-background-3); 609 610 --scalar-border-color: rgba(0, 0, 0, 0.1); 611} 612 613/* Document Sidebar */ 614.t-doc__sidebar { 615 --scalar-color-green: var(--scalar-color-1); 616 --scalar-color-red: var(--scalar-color-1); 617 --scalar-color-yellow: var(--scalar-color-1); 618 --scalar-color-blue: var(--scalar-color-1); 619 --scalar-color-orange: var(--scalar-color-1); 620 --scalar-color-purple: var(--scalar-color-1); 621 --scalar-color-query: var(--scalar-color-1); 622} 623 624.light-mode .t-doc__sidebar, 625.dark-mode .t-doc__sidebar { 626 --scalar-sidebar-background-1: var(--scalar-background-1); 627 --scalar-sidebar-color-1: var(--scalar-color-1); 628 --scalar-sidebar-color-2: var(--scalar-color-2); 629 --scalar-sidebar-border-color: var(--scalar-border-color); 630 631 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 632 --scalar-sidebar-item-hover-color: currentColor; 633 634 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 635 --scalar-sidebar-color-active: var(--scalar-color-accent); 636 637 --scalar-sidebar-search-background: transparent; 638 --scalar-sidebar-search-color: var(--scalar-color-3); 639 --scalar-sidebar-search-border-color: var(--scalar-border-color); 640} 641/* advanced */ 642.light-mode .dark-mode, 643.light-mode { 644 --scalar-color-green: #069061; 645 --scalar-color-red: #ef0006; 646 --scalar-color-yellow: #edbe20; 647 --scalar-color-blue: #0082d0; 648 --scalar-color-orange: #fb892c; 649 --scalar-color-purple: #5203d1; 650 --scalar-color-query: #007b80; 651 652 --scalar-button-1: rgba(0, 0, 0, 1); 653 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 654 --scalar-button-1-color: #fff; 655} 656.dark-mode { 657 --scalar-color-green: #00b648; 658 --scalar-color-red: #dd2f2c; 659 --scalar-color-yellow: #ffc90d; 660 --scalar-color-blue: #4eb3ec; 661 --scalar-color-orange: #ff8d4d; 662 --scalar-color-purple: #b191f9; 663 --scalar-color-query: #65d4cf; 664 665 --scalar-button-1: rgba(255, 255, 255, 1); 666 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 667 --scalar-button-1-color: black; 668} 669 670.scalar-api-client__item, 671.scalar-card, 672.dark-mode .dark-mode.scalar-card { 673 --scalar-background-1: var(--scalar-background-card); 674 --scalar-background-2: var(--scalar-background-1); 675 --scalar-background-3: var(--scalar-background-1); 676} 677.dark-mode .dark-mode.scalar-card { 678 --scalar-background-3: var(--scalar-background-3); 679} 680 681.light-mode *::selection { 682 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%); 683} 684.dark-mode *::selection { 685 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%); 686} 687`,Slt=`/* basic theme */ 688:root { 689 --scalar-text-decoration: underline; 690 --scalar-text-decoration-hover: underline; 691} 692.light-mode { 693 --scalar-background-1: #f0f2f5; 694 --scalar-background-2: #eaecf0; 695 --scalar-background-3: #e0e2e6; 696 --scalar-border-color: rgb(213 213 213); 697 698 --scalar-color-1: rgb(9, 9, 11); 699 --scalar-color-2: rgb(113, 113, 122); 700 --scalar-color-3: rgba(25, 25, 28, 0.5); 701 702 --scalar-color-accent: var(--scalar-color-1); 703 --scalar-background-accent: #8ab4f81f; 704} 705.light-mode .scalar-card.dark-mode, 706.dark-mode { 707 --scalar-background-1: #000e23; 708 --scalar-background-2: #01132e; 709 --scalar-background-3: #03193b; 710 --scalar-border-color: #2e394c; 711 712 --scalar-color-1: #fafafa; 713 --scalar-color-2: rgb(161, 161, 170); 714 --scalar-color-3: rgba(255, 255, 255, 0.533); 715 716 --scalar-color-accent: var(--scalar-color-1); 717 --scalar-background-accent: #8ab4f81f; 718 719 --scalar-code-language-color-supersede: var(--scalar-color-1); 720} 721/* Document Sidebar */ 722.light-mode .t-doc__sidebar, 723.dark-mode .t-doc__sidebar { 724 --scalar-sidebar-background-1: var(--scalar-background-1); 725 --scalar-sidebar-color-1: var(--scalar-color-1); 726 --scalar-sidebar-color-2: var(--scalar-color-2); 727 --scalar-sidebar-border-color: var(--scalar-border-color); 728 729 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 730 --scalar-sidebar-item-hover-color: currentColor; 731 732 --scalar-sidebar-item-active-background: var(--scalar-background-3); 733 --scalar-sidebar-color-active: var(--scalar-color-accent); 734 735 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 736 --scalar-sidebar-search-border-color: var(--scalar-border-color); 737 --scalar-sidebar-search-color: var(--scalar-color-3);
738 z-index: 1; 739} 740.light-mode .t-doc__sidebar { 741 --scalar-sidebar-search-background: white; 742} 743/* advanced */ 744.light-mode { 745 --scalar-color-green: #069061; 746 --scalar-color-red: #ef0006; 747 --scalar-color-yellow: #edbe20; 748 --scalar-color-blue: #0082d0; 749 --scalar-color-orange: #fb892c; 750 --scalar-color-purple: #5203d1; 751 --scalar-color-query: #007b80; 752 753 --scalar-button-1: rgba(0, 0, 0, 1); 754 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 755 --scalar-button-1-color: #fff; 756} 757.dark-mode { 758 --scalar-color-green: rgba(69, 255, 165, 0.823); 759 --scalar-color-red: #ff8589; 760 --scalar-color-yellow: #ffcc4d; 761 --scalar-color-blue: #6bc1fe; 762 --scalar-color-orange: #f98943; 763 --scalar-color-purple: #b191f9; 764 --scalar-color-query: #79e2da; 765 766 --scalar-button-1: rgba(255, 255, 255, 1); 767 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 768 --scalar-button-1-color: black; 769} 770/* Custom theme */ 771/* Document header */ 772@keyframes headerbackground { 773 from { 774 background: transparent; 775 backdrop-filter: none; 776 } 777 to { 778 background: var(--scalar-header-background-1); 779 backdrop-filter: blur(12px); 780 } 781} 782 783.light-mode .t-doc__header, 784.dark-mode .t-doc__header { 785 animation: headerbackground forwards; 786 animation-timeline: scroll(); 787 animation-range: 0px 200px; 788} 789 790/* Document Layout */ 791.dark-mode .t-doc .layout-content { 792 background: transparent; 793} 794 795.dark-mode h2.t-editor__heading, 796.dark-mode .t-editor__page-title h1, 797.dark-mode h1.section-header:not(::selection), 798.dark-mode .markdown h1, 799.dark-mode .markdown h2, 800.dark-mode .markdown h3, 801.dark-mode .markdown h4, 802.dark-mode .markdown h5, 803.dark-mode .markdown h6 { 804 -webkit-text-fill-color: transparent; 805 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 806 -webkit-background-clip: text; 807 background-clip: text; 808} 809/* Hero Section Flare */ 810.section-flare-item:nth-of-type(1) { 811 --c1: #ffffff; 812 --c2: #babfd8; 813 --c3: #2e8bb2; 814 --c4: #1a8593; 815 --c5: #0a143e; 816 --c6: #0a0f52; 817 --c7: #2341b8; 818 819 --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7); 820 --solid-wrap: var(--solid), var(--c1); 821 --trans: 822 var(--c1), transparent, var(--c2), transparent, var(--c3), 823 transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), 824 transparent, var(--c7); 825 --trans-wrap: var(--trans), transparent, var(--c1); 826 827 background: 828 radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)), 829 radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap)); 830 width: 70vw; 831 height: 700px; 832 border-radius: 50%; 833 filter: blur(100px); 834 z-index: 0; 835 right: 0; 836 position: absolute; 837 transform: rotate(-45deg); 838 top: -300px; 839 opacity: 0.3; 840} 841.section-flare-item:nth-of-type(3) { 842 --star-color: #6b9acc; 843 --star-color2: #446b8d; 844 --star-color3: #3e5879; 845 background-image: 846 radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)), 847 radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), 848 radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), 849 radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), 850 radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), 851 radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0)); 852 background-repeat: repeat; 853 background-size: 200px 200px; 854 width: 100%; 855 height: 100%; 856 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 857} 858.section-flare { 859 top: -150px !important; 860 height: 100vh; 861 background: linear-gradient(#000, var(--scalar-background-1)); 862 width: 100vw; 863 overflow-x: hidden; 864} 865.light-mode .section-flare { 866 display: none; 867} 868.light-mode .scalar-card { 869 --scalar-background-1: #fff; 870 --scalar-background-2: #fff; 871 --scalar-background-3: #fff; 872} 873 874*::selection { 875 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%); 876} 877 878@media (max-width: 1000px) { 879 .light-mode .t-doc__sidebar, 880 .dark-mode .t-doc__sidebar { 881 --scalar-sidebar-background-1: var(--scalar-background-1); 882 } 883 .light-mode .t-doc__header, 884 .dark-mode .t-doc__header { 885 animation: none; 886 background: var(--scalar-header-background-1); 887 backdrop-filter: blur(12px); 888 } 889} 890`,wlt=`/* basic theme */ 891:root { 892 --scalar-text-decoration: underline; 893 --scalar-text-decoration-hover: underline; 894} 895.light-mode { 896 --scalar-color-1: rgb(9, 9, 11); 897 --scalar-color-2: rgb(113, 113, 122); 898 --scalar-color-3: rgba(25, 25, 28, 0.5); 899 --scalar-color-accent: var(--scalar-color-1); 900 901 --scalar-background-1: #fff; 902 --scalar-background-2: #f4f4f5; 903 --scalar-background-3: #e3e3e6; 904 --scalar-background-accent: #8ab4f81f; 905 906 --scalar-border-color: rgb(228, 228, 231); 907 --scalar-code-language-color-supersede: var(--scalar-color-1); 908} 909.dark-mode { 910 --scalar-color-1: #fafafa; 911 --scalar-color-2: rgb(161, 161, 170); 912 --scalar-color-3: rgba(255, 255, 255, 0.533); 913 --scalar-color-accent: var(--scalar-color-1); 914 915 --scalar-background-1: #09090b; 916 --scalar-background-2: #18181b; 917 --scalar-background-3: #2c2c30; 918 --scalar-background-accent: #8ab4f81f; 919 920 --scalar-border-color: rgba(255, 255, 255, 0.16); 921 --scalar-code-language-color-supersede: var(--scalar-color-1); 922} 923 924/* Document Sidebar */ 925.light-mode .t-doc__sidebar, 926.dark-mode .t-doc__sidebar { 927 --scalar-sidebar-background-1: var(--scalar-background-1); 928 --scalar-sidebar-color-1: var(--scalar-color-1); 929 --scalar-sidebar-color-2: var(--scalar-color-2); 930 --scalar-sidebar-border-color: var(--scalar-border-color); 931 932 --scalar-sidebar-item-hover-color: currentColor; 933 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 934 935 --scalar-sidebar-item-active-background: var(--scalar-background-3); 936 --scalar-sidebar-color-active: var(--scalar-color-accent); 937 938 --scalar-sidebar-search-background: transparent; 939 --scalar-sidebar-search-border-color: var(--scalar-border-color); 940 --scalar-sidebar-search-color: var(--scalar-color-3); 941} 942.light-mode .t-doc__sidebar { 943 --scalar-sidebar-item-active-background: var(--scalar-background-2); 944} 945/* advanced */ 946.light-mode { 947 --scalar-color-green: #069061; 948 --scalar-color-red: #ef0006; 949 --scalar-color-yellow: #edbe20; 950 --scalar-color-blue: #0082d0; 951 --scalar-color-orange: #fb892c; 952 --scalar-color-purple: #5203d1; 953 --scalar-color-query: #007b80; 954 955 --scalar-button-1: rgba(0, 0, 0, 1); 956 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 957 --scalar-button-1-color: #fff; 958} 959.dark-mode { 960 --scalar-color-green: rgba(69, 255, 165, 0.823); 961 --scalar-color-red: #ff8589; 962 --scalar-color-yellow: #ffcc4d; 963 --scalar-color-blue: #6bc1fe; 964 --scalar-color-orange: #f98943; 965 --scalar-color-purple: #b191f9; 966 --scalar-color-query: #79e2da; 967 968 --scalar-button-1: rgba(255, 255, 255, 1); 969 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 970 --scalar-button-1-color: black; 971} 972/* Custom theme */ 973.dark-mode h2.t-editor__heading, 974.dark-mode .t-editor__page-title h1, 975.dark-mode h1.section-header:not(::selection), 976.dark-mode .markdown h1, 977.dark-mode .markdown h2, 978.dark-mode .markdown h3, 979.dark-mode .markdown h4, 980.dark-mode .markdown h5, 981.dark-mode .markdown h6 { 982 -webkit-text-fill-color: transparent; 983 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 984 -webkit-background-clip: text; 985 background-clip: text; 986} 987.examples .scalar-card-footer { 988 --scalar-background-3: transparent; 989 padding-top: 0; 990} 991/* Hero section flare */ 992.section-flare { 993 width: 100vw; 994 height: 550px; 995 position: absolute; 996} 997.section-flare-item:nth-of-type(1) { 998 position: absolute; 999 width: 100vw; 1000 height: 550px; 1001 --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%); 1002 --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%); 1003 background-image: var(--stripesDark), var(--rainbow); 1004 background-size: 300%, 200%; 1005 background-position: 1006 50% 50%, 1007 50% 50%; 1008 filter: invert(100%); 1009 -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1010 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1011 pointer-events: none; 1012 opacity: 0.07; 1013} 1014.dark-mode .section-flare-item:nth-of-type(1) { 1015 background-image: var(--stripesDark), var(--rainbow); 1016 filter: opacity(50%) saturate(200%); 1017 opacity: 0.25; 1018 height: 350px; 1019} 1020.section-flare-item:nth-of-type(1):after {
1021 content: ""; 1022 position: absolute; 1023 top: 0; 1024 right: 0; 1025 bottom: 0; 1026 left: 0; 1027 background-image: var(--stripesDark), var(--rainbow); 1028 background-size: 200%, 100%; 1029 background-attachment: fixed; 1030 mix-blend-mode: difference; 1031} 1032.dark-mode .section-flare:after { 1033 background-image: var(--stripesDark), var(--rainbow); 1034} 1035.section-flare-item:nth-of-type(2) { 1036 --star-color: #fff; 1037 --star-color2: #fff; 1038 --star-color3: #fff; 1039 width: 100%; 1040 height: 100%; 1041 position: absolute; 1042 background-image: 1043 radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)), 1044 radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), 1045 radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), 1046 radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), 1047 radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), 1048 radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0)); 1049 background-repeat: repeat; 1050 background-size: 200px 200px; 1051 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1052 opacity: 0.2; 1053} 1054.light-mode *::selection { 1055 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%); 1056} 1057.dark-mode *::selection { 1058 background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%); 1059} 1060 1061/* document header */ 1062.light-mode .t-doc__header, 1063.dark-mode .t-doc__header { 1064 animation: headerbackground forwards; 1065 animation-timeline: scroll(); 1066 animation-range: 0px 200px; 1067} 1068@keyframes headerbackground { 1069 from { 1070 background: transparent; 1071 backdrop-filter: none; 1072 } 1073 to { 1074 background: var(--scalar-header-background-1); 1075 backdrop-filter: blur(12px); 1076 } 1077} 1078/* remove flare on safari to prevent dropped frames on scroll */ 1079@supports (-webkit-hyphens: none) { 1080 .section-flare { 1081 display: none; 1082 } 1083} 1084 1085/* document background */ 1086.light-mode .t-doc .layout-content, 1087.dark-mode .t-doc .layout-content { 1088 background: transparent; 1089} 1090`,xlt=`/* basic theme */ 1091:root { 1092 --scalar-text-decoration: underline; 1093 --scalar-text-decoration-hover: underline; 1094} 1095.light-mode { 1096 --scalar-background-1: #fff; 1097 --scalar-background-2: #f6f6f6; 1098 --scalar-background-3: #e7e7e7; 1099 --scalar-background-accent: #8ab4f81f; 1100 1101 --scalar-color-1: #1b1b1b; 1102 --scalar-color-2: #757575; 1103 --scalar-color-3: #8e8e8e; 1104 1105 --scalar-color-accent: #0099ff; 1106 --scalar-border-color: #dfdfdf; 1107} 1108.dark-mode { 1109 --scalar-background-1: #0f0f0f; 1110 --scalar-background-2: #1a1a1a; 1111 --scalar-background-3: #272727; 1112 1113 --scalar-color-1: #e7e7e7; 1114 --scalar-color-2: #a4a4a4; 1115 --scalar-color-3: #797979; 1116 1117 --scalar-color-accent: #00aeff; 1118 --scalar-background-accent: #3ea6ff1f; 1119 1120 --scalar-border-color: #2d2d2d; 1121} 1122/* Document Sidebar */ 1123.light-mode, 1124.dark-mode { 1125 --scalar-sidebar-background-1: var(--scalar-background-1); 1126 --scalar-sidebar-color-1: var(--scalar-color-1); 1127 --scalar-sidebar-color-2: var(--scalar-color-2); 1128 --scalar-sidebar-border-color: var(--scalar-border-color); 1129 1130 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1131 --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2); 1132 1133 --scalar-sidebar-item-active-background: var(--scalar-background-2); 1134 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 1135 1136 --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color); 1137 --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color); 1138 --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color); 1139 1140 --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1)); 1141 --scalar-sidebar-search-color: var(--scalar-color-3); 1142 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1143} 1144/* advanced */ 1145.light-mode { 1146 --scalar-color-green: #069061; 1147 --scalar-color-red: #ef0006; 1148 --scalar-color-yellow: #edbe20; 1149 --scalar-color-blue: #0082d0; 1150 --scalar-color-orange: #ff5800; 1151 --scalar-color-purple: #5203d1; 1152 --scalar-color-query: #007b80; 1153 1154 --scalar-link-color: var(--scalar-color-1); 1155 --scalar-link-color-hover: var(--scalar-link-color); 1156 1157 --scalar-button-1: rgba(0, 0, 0, 1); 1158 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1159 --scalar-button-1-color: #fff; 1160 1161 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%); 1162 --scalar-tooltip-color: var(--scalar-color-1); 1163 1164 --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%); 1165 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%); 1166 1167 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 1168 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 1169} 1170.dark-mode { 1171 --scalar-color-green: #00b648; 1172 --scalar-color-red: #dc1b19; 1173 --scalar-color-yellow: #ffc90d; 1174 --scalar-color-blue: #4eb3ec; 1175 --scalar-color-orange: #ff8d4d; 1176 --scalar-color-purple: #b191f9; 1177 --scalar-color-query: #65d4cf; 1178 1179 --scalar-link-color: var(--scalar-color-1); 1180 --scalar-link-color-hover: var(--scalar-link-color); 1181 1182 --scalar-button-1: rgba(255, 255, 255, 1); 1183 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1184 --scalar-button-1-color: black; 1185 1186 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%); 1187 --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%); 1188 1189 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%); 1190 1191 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 1192 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 1193} 1194@supports (color: color(display-p3 1 1 1)) { 1195 .light-mode { 1196 --scalar-color-accent: color(display-p3 0 0.6 1 / 1); 1197 --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1); 1198 --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1); 1199 --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1); 1200 --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1); 1201 --scalar-color-orange: color(display-p3 1 0.4 0.02); 1202 --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1); 1203 } 1204 .dark-mode { 1205 --scalar-color-accent: color(display-p3 0.07 0.67 1); 1206 --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1); 1207 --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1); 1208 --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1); 1209 --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1); 1210 --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1); 1211 --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1); 1212 } 1213} 1214`,klt=`.light-mode { 1215 --scalar-color-1: #1b1b1b; 1216 --scalar-color-2: #757575; 1217 --scalar-color-3: #8e8e8e; 1218 --scalar-color-accent: #f06292; 1219 1220 --scalar-background-1: #fff; 1221 --scalar-background-2: #f6f6f6; 1222 --scalar-background-3: #e7e7e7; 1223 1224 --scalar-border-color: rgba(0, 0, 0, 0.1); 1225} 1226.dark-mode { 1227 --scalar-color-1: rgba(255, 255, 255, 0.9); 1228 --scalar-color-2: rgba(156, 163, 175, 1); 1229 --scalar-color-3: rgba(255, 255, 255, 0.44); 1230 --scalar-color-accent: #f06292; 1231 1232 --scalar-background-1: #111728; 1233 --scalar-background-2: #1e293b; 1234 --scalar-background-3: #334155; 1235 --scalar-background-accent: #f062921f; 1236 1237 --scalar-border-color: rgba(255, 255, 255, 0.1); 1238} 1239 1240/* Document Sidebar */ 1241.light-mode .t-doc__sidebar, 1242.dark-mode .t-doc__sidebar { 1243 --scalar-sidebar-background-1: var(--scalar-background-1); 1244 --scalar-sidebar-color-1: var(--scalar-color-1); 1245 --scalar-sidebar-color-2: var(--scalar-color-2); 1246 --scalar-sidebar-border-color: var(--scalar-border-color); 1247 1248 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1249 --scalar-sidebar-item-hover-color: currentColor; 1250 1251 --scalar-sidebar-item-active-background: #f062921f; 1252 --scalar-sidebar-color-active: var(--scalar-color-accent); 1253 1254 --scalar-sidebar-search-background: transparent; 1255 --scalar-sidebar-search-color: var(--scalar-color-3); 1256 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1257} 1258 1259/* advanced */ 1260.light-mode { 1261 --scalar-button-1: rgb(49 53 56); 1262 --scalar-button-1-color: #fff; 1263 --scalar-button-1-hover: rgb(28 31 33); 1264 1265 --scalar-color-green: #069061; 1266 --scalar-color-red: #ef0006; 1267 --scalar-color-yellow: #edbe20; 1268 --scalar-color-blue: #0082d0; 1269 --scalar-color-orange: #fb892c; 1270 --scalar-color-purple: #5203d1; 1271 --scalar-color-query: #007b80; 1272 1273 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1274 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1275} 1276.dark-mode { 1277 --scalar-button-1: #f6f6f6; 1278 --scalar-button-1-color: #000; 1279 --scalar-button-1-hover: #e7e7e7; 1280 1281 --scalar-color-green: #a3ffa9; 1282 --scalar-color-red: #ffa3a3; 1283 --scalar-color-yellow: #fffca3; 1284 --scalar-color-blue: #a5d6ff; 1285 --scalar-color-orange: #e2ae83; 1286 --scalar-color-purple: #d2a8ff; 1287 --scalar-color-query: #a5f3df; 1288 1289 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1290 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1291} 1292.section-flare { 1293 width: 100%; 1294 height: 400px; 1295 position: absolute; 1296} 1297.section-flare-item:first-of-type:before { 1298 content: ""; 1299 position: absolute; 1300 top: 0; 1301 right: 0; 1302 bottom: 0; 1303 left: 0; 1304 --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%); 1305 --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%); 1306 --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%); 1307 contain: strict; 1308 contain-intrinsic-size: 100vw 40vh; 1309 background-image: var(--stripesDark), var(--rainbow); 1310 background-size: 300%, 200%; 1311 background-position: 1312 50% 50%, 1313 50% 50%; 1314 filter: opacity(20%) saturate(200%); 1315 -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1316 mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%); 1317 pointer-events: none; 1318} 1319.section-flare-item:first-of-type:after {
1320 content: ""; 1321 position: absolute; 1322 top: 0; 1323 right: 0; 1324 bottom: 0; 1325 left: 0; 1326 background-image: var(--stripes), var(--rainbow); 1327 background-size: 200%, 100%; 1328 background-attachment: fixed; 1329 mix-blend-mode: difference; 1330 background-image: var(--stripesDark), var(--rainbow); 1331 pointer-events: none; 1332} 1333.light-mode .section-flare-item:first-of-type:after, 1334.light-mode .section-flare-item:first-of-type:before { 1335 background-image: var(--stripes), var(--rainbow); 1336 filter: opacity(4%) saturate(200%); 1337} 1338`,Alt=`.light-mode { 1339 color-scheme: light; 1340 --scalar-color-1: #1c1e21; 1341 --scalar-color-2: #757575; 1342 --scalar-color-3: #8e8e8e; 1343 --scalar-color-disabled: #b4b1b1; 1344 --scalar-color-ghost: #a7a7a7; 1345 --scalar-color-accent: #2f8555; 1346 --scalar-background-1: #fff; 1347 --scalar-background-2: #f5f5f5; 1348 --scalar-background-3: #ededed; 1349 --scalar-background-4: rgba(0, 0, 0, 0.06); 1350 --scalar-background-accent: #2f85551f; 1351 1352 --scalar-border-color: rgba(0, 0, 0, 0.1); 1353 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1354 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1355 --scalar-lifted-brightness: 1; 1356 --scalar-backdrop-brightness: 1; 1357 1358 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1359 --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px; 1360 1361 --scalar-button-1: rgb(49 53 56); 1362 --scalar-button-1-color: #fff; 1363 --scalar-button-1-hover: rgb(28 31 33); 1364 1365 --scalar-color-green: #007300; 1366 --scalar-color-red: #af272b; 1367 --scalar-color-yellow: #b38200; 1368 --scalar-color-blue: #3b8ba5; 1369 --scalar-color-orange: #fb892c; 1370 --scalar-color-purple: #5203d1; 1371 --scalar-color-query: #00766f; 1372} 1373 1374.dark-mode { 1375 color-scheme: dark; 1376 --scalar-color-1: rgba(255, 255, 255, 0.9); 1377 --scalar-color-2: rgba(255, 255, 255, 0.62); 1378 --scalar-color-3: rgba(255, 255, 255, 0.44); 1379 --scalar-color-disabled: rgba(255, 255, 255, 0.34); 1380 --scalar-color-ghost: rgba(255, 255, 255, 0.26); 1381 --scalar-color-accent: #27c2a0; 1382 --scalar-background-1: #1b1b1d; 1383 --scalar-background-2: #242526; 1384 --scalar-background-3: #3b3b3b; 1385 --scalar-background-4: rgba(255, 255, 255, 0.06); 1386 --scalar-background-accent: #27c2a01f; 1387 1388 --scalar-border-color: rgba(255, 255, 255, 0.1); 1389 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1390 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1391 --scalar-lifted-brightness: 1.45; 1392 --scalar-backdrop-brightness: 0.5; 1393 1394 --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1); 1395 --scalar-shadow-2: 1396 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 1397 1398 --scalar-button-1: #f6f6f6; 1399 --scalar-button-1-color: #000; 1400 --scalar-button-1-hover: #e7e7e7; 1401 1402 --scalar-color-green: #26b226; 1403 --scalar-color-red: #fb565b; 1404 --scalar-color-yellow: #ffc426; 1405 --scalar-color-blue: #6ecfef; 1406 --scalar-color-orange: #ff8d4d; 1407 --scalar-color-purple: #b191f9; 1408 --scalar-color-query: #5fdbc5; 1409} 1410`,Tlt=`/* basic theme */ 1411.light-mode { 1412 --scalar-color-1: #1b1b1b; 1413 --scalar-color-2: #757575; 1414 --scalar-color-3: #8e8e8e; 1415 --scalar-color-accent: #7070ff; 1416 1417 --scalar-background-1: #fff; 1418 --scalar-background-2: #f6f6f6; 1419 --scalar-background-3: #e7e7e7; 1420 --scalar-background-accent: #7070ff1f; 1421 1422 --scalar-border-color: rgba(0, 0, 0, 0.1); 1423 1424 --scalar-code-language-color-supersede: var(--scalar-color-3); 1425} 1426.dark-mode { 1427 --scalar-color-1: #f7f8f8; 1428 --scalar-color-2: rgb(180, 188, 208); 1429 --scalar-color-3: #b4bcd099; 1430 --scalar-color-accent: #828fff; 1431 1432 --scalar-background-1: #000212; 1433 --scalar-background-2: #0d0f1e; 1434 --scalar-background-3: #232533; 1435 --scalar-background-accent: #8ab4f81f; 1436 1437 --scalar-border-color: #313245; 1438 --scalar-code-language-color-supersede: var(--scalar-color-3); 1439} 1440/* Document Sidebar */ 1441.light-mode .t-doc__sidebar { 1442 --scalar-sidebar-background-1: var(--scalar-background-1); 1443 --scalar-sidebar-item-hover-color: currentColor; 1444 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1445 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1446 --scalar-sidebar-border-color: var(--scalar-border-color); 1447 --scalar-sidebar-color-1: var(--scalar-color-1); 1448 --scalar-sidebar-color-2: var(--scalar-color-2); 1449 --scalar-sidebar-color-active: var(--scalar-color-accent); 1450 --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05); 1451 --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05); 1452 --scalar-sidebar-search-color: var(--scalar-color-3); 1453 --scalar-background-2: rgba(0, 0, 0, 0.03); 1454} 1455.dark-mode .t-doc__sidebar { 1456 --scalar-sidebar-background-1: var(--scalar-background-1); 1457 --scalar-sidebar-item-hover-color: currentColor; 1458 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1459 --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1); 1460 --scalar-sidebar-border-color: var(--scalar-border-color); 1461 --scalar-sidebar-color-1: var(--scalar-color-1); 1462 --scalar-sidebar-color-2: var(--scalar-color-2); 1463 --scalar-sidebar-color-active: var(--scalar-color-accent); 1464 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 1465 --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05); 1466 --scalar-sidebar-search-color: var(--scalar-color-3); 1467} 1468/* advanced */ 1469.light-mode { 1470 --scalar-color-green: #069061; 1471 --scalar-color-red: #ef0006; 1472 --scalar-color-yellow: #edbe20; 1473 --scalar-color-blue: #0082d0; 1474 --scalar-color-orange: #fb892c; 1475 --scalar-color-purple: #5203d1; 1476 --scalar-color-query: #007b80; 1477 1478 --scalar-button-1: rgba(0, 0, 0, 1); 1479 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1480 --scalar-button-1-color: #fff; 1481} 1482.dark-mode { 1483 --scalar-color-green: #00b648; 1484 --scalar-color-red: #dc1b19; 1485 --scalar-color-yellow: #ffc90d; 1486 --scalar-color-blue: #4eb3ec; 1487 --scalar-color-orange: #ff8d4d; 1488 --scalar-color-purple: #b191f9; 1489 --scalar-color-query: #65d4cf; 1490 1491 --scalar-button-1: rgba(255, 255, 255, 1); 1492 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1493 --scalar-button-1-color: black; 1494} 1495/* Custom Theme */ 1496.dark-mode h2.t-editor__heading, 1497.dark-mode .t-editor__page-title h1, 1498.dark-mode h1.section-header:not(::selection), 1499.dark-mode .markdown h1, 1500.dark-mode .markdown h2, 1501.dark-mode .markdown h3, 1502.dark-mode .markdown h4, 1503.dark-mode .markdown h5, 1504.dark-mode .markdown h6 { 1505 -webkit-text-fill-color: transparent; 1506 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 1507 -webkit-background-clip: text; 1508 background-clip: text; 1509} 1510.sidebar-search { 1511 backdrop-filter: blur(12px); 1512} 1513@keyframes headerbackground { 1514 from { 1515 background: transparent; 1516 backdrop-filter: none; 1517 } 1518 to { 1519 background: var(--scalar-header-background-1); 1520 backdrop-filter: blur(12px); 1521 } 1522} 1523.dark-mode .scalar-card { 1524 background: rgba(255, 255, 255, 0.05) !important; 1525} 1526.dark-mode .scalar-card * { 1527 --scalar-background-2: transparent !important; 1528 --scalar-background-1: transparent !important; 1529} 1530.light-mode .dark-mode.scalar-card *, 1531.light-mode .dark-mode.scalar-card { 1532 --scalar-background-1: #0d0f1e !important; 1533 --scalar-background-2: #0d0f1e !important; 1534 --scalar-background-3: #191b29 !important; 1535} 1536.light-mode .dark-mode.scalar-card { 1537 background: #191b29 !important; 1538} 1539.badge { 1540 box-shadow: 0 0 0 1px var(--scalar-border-color); 1541 margin-right: 6px; 1542} 1543 1544.table-row.required-parameter .table-row-item:nth-of-type(2):after { 1545 background: transparent; 1546 box-shadow: none; 1547} 1548/* Hero Section Flare */ 1549.section-flare { 1550 width: 100vw; 1551 background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent); 1552 height: 100vh; 1553} 1554.light-mode *::selection { 1555 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 1556} 1557.dark-mode *::selection { 1558 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 1559} 1560 1561/* document layout */ 1562.light-mode .t-doc .layout-content, 1563.dark-mode .t-doc .layout-content { 1564 background: transparent; 1565} 1566`,Elt=`/* basic theme */ 1567.light-mode { 1568 color-scheme: light; 1569 --scalar-color-1: #322b3b; 1570 --scalar-color-2: #645676; 1571 --scalar-color-3: #9789a9; 1572 --scalar-color-accent: #40b4c4; 1573 1574 --scalar-background-1: #fff; 1575 --scalar-background-2: #f4f2f7; 1576 --scalar-background-3: #cfc7dc; 1577 --scalar-background-accent: #f3fafb; 1578 1579 --scalar-border-color: #e4e0eb; 1580} 1581.dark-mode { 1582 color-scheme: dark; 1583 --scalar-color-1: #fff; 1584 --scalar-color-2: #b8b6ba; 1585 --scalar-color-3: #706c74; 1586 --scalar-color-accent: #ed78c2; 1587 1588 --scalar-background-1: #27212e; 1589 --scalar-background-2: #322c39; 1590 --scalar-background-3: #4c4059; 1591 --scalar-background-accent: #eb64b91f; 1592 1593 --scalar-border-color: rgba(255, 255, 255, 0.1); 1594} 1595 1596/* Sidebar */ 1597.light-mode .t-doc__sidebar { 1598 --scalar-sidebar-background-1: var(--scalar-background-1); 1599 --scalar-sidebar-item-hover-color: currentColor; 1600 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1601 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1602 --scalar-sidebar-border-color: var(--scalar-border-color); 1603 --scalar-sidebar-color-1: var(--scalar-color-1); 1604 --scalar-sidebar-color-2: var(--scalar-color-2); 1605 --scalar-sidebar-color-active: var(--scalar-color-accent); 1606 --scalar-sidebar-search-background: var(--scalar-background-2); 1607 --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color); 1608 --scalar-sidebar-search--color: var(--scalar-color-3); 1609} 1610.dark-mode .t-doc__sidebar { 1611 --scalar-sidebar-background-1: var(--scalar-background-1); 1612 --scalar-sidebar-item-hover-color: currentColor; 1613 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1614 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1615 --scalar-sidebar-border-color: var(--scalar-border-color); 1616 --scalar-sidebar-color-1: var(--scalar-color-1); 1617 --scalar-sidebar-color-2: var(--scalar-color-2); 1618 --scalar-sidebar-color-active: var(--scalar-color-accent); 1619 --scalar-sidebar-search-background: var(--scalar-background-2); 1620 --scalar-sidebar-search-border-color: #514c56; 1621 --scalar-sidebar-search--color: var(--scalar-color-3); 1622} 1623/* advanced */ 1624.light-mode { 1625 --scalar-button-1: rgb(49 53 56); 1626 --scalar-button-1-color: #fff; 1627 --scalar-button-1-hover: rgb(28 31 33); 1628 1629 --scalar-color-green: #74dfc4; 1630 --scalar-color-red: #d887f5; 1631 --scalar-color-yellow: #ffe261; 1632 --scalar-color-blue: #40b4c4; 1633 --scalar-color-orange: #ff52bf; 1634 --scalar-color-purple: #91889b; 1635 --scalar-color-query: #7860a8; 1636 1637 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1638 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1639} 1640.dark-mode { 1641 --scalar-button-1: #f6f6f6; 1642 --scalar-button-1-color: #27212e; 1643 --scalar-button-1-hover: #e7e7e7; 1644 1645 --scalar-color-green: #74dfc4; 1646 --scalar-color-red: #d887f5; 1647 --scalar-color-yellow: #ffe261; 1648 --scalar-color-blue: #40b4c4; 1649 --scalar-color-orange: #ff52bf; 1650 --scalar-color-purple: #91889b; 1651 --scalar-color-query: #b8a2e3; 1652 1653 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1654 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1655} 1656/* Radius */ 1657:root { 1658 --scalar-radius: 2px; 1659 --scalar-radius-lg: 3px; 1660 --scalar-radius-xl: 4px; 1661} 1662/* P3 color support */ 1663@supports (color: color(display-p3 1 1 1)) { 1664 .light-mode { 1665 --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1); 1666 --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1); 1667 --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1); 1668 --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1); 1669 --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1); 1670 --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1); 1671 --scalar-color-purple: color(display-p3 0.568627 0.533333 0.60
16717843 / 1); 1672 --scalar-color-query: color(display-p3 0.470588 0.376471 0.658824 / 1); 1673 } 1674 .dark-mode { 1675 --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1); 1676 --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1); 1677 --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1); 1678 --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1); 1679 --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1); 1680 --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1); 1681 --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1); 1682 --scalar-color-query: color(display-p3 0.721569 0.635294 0.890196 / 1); 1683 } 1684} 1685`,_lt=`/* basic theme */ 1686:root { 1687 --scalar-text-decoration: underline; 1688 --scalar-text-decoration-hover: underline; 1689} 1690.light-mode { 1691 --scalar-background-1: #f9f6f0; 1692 --scalar-background-2: #f2efe8; 1693 --scalar-background-3: #e9e7e2; 1694 --scalar-border-color: rgba(203, 165, 156, 0.6); 1695 1696 --scalar-color-1: #c75549; 1697 --scalar-color-2: #c75549; 1698 --scalar-color-3: #c75549; 1699 1700 --scalar-color-accent: #c75549; 1701 --scalar-background-accent: #dcbfa81f; 1702 1703 --scalar-code-language-color-supersede: var(--scalar-color-1); 1704} 1705.dark-mode { 1706 --scalar-background-1: #140507; 1707 --scalar-background-2: #20090c; 1708 --scalar-background-3: #321116; 1709 --scalar-border-color: #3c3031; 1710 1711 --scalar-color-1: rgba(255, 255, 255, 0.9); 1712 --scalar-color-2: rgba(255, 255, 255, 0.62); 1713 --scalar-color-3: rgba(255, 255, 255, 0.44); 1714 1715 --scalar-color-accent: rgba(255, 255, 255, 0.9); 1716 --scalar-background-accent: #441313; 1717 1718 --scalar-code-language-color-supersede: var(--scalar-color-1); 1719} 1720 1721/* Document Sidebar */ 1722.light-mode .t-doc__sidebar, 1723.dark-mode .t-doc__sidebar { 1724 --scalar-sidebar-background-1: var(--scalar-background-1); 1725 --scalar-sidebar-color-1: var(--scalar-color-1); 1726 --scalar-sidebar-color-2: var(--scalar-color-2); 1727 --scalar-sidebar-border-color: var(--scalar-border-color); 1728 1729 --scalar-sidebar-item-hover-color: currentColor; 1730 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1731 1732 --scalar-sidebar-item-active-background: var(--scalar-background-3); 1733 --scalar-sidebar-color-active: var(--scalar-color-accent); 1734 1735 --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1); 1736 --scalar-sidebar-search-color: var(--scalar-color-3); 1737 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1738 z-index: 1; 1739} 1740/* advanced */ 1741.light-mode { 1742 --scalar-color-green: #09533a; 1743 --scalar-color-red: #aa181d; 1744 --scalar-color-yellow: #ab8d2b; 1745 --scalar-color-blue: #19689a; 1746 --scalar-color-orange: #b26c34; 1747 --scalar-color-purple: #4c2191; 1748 --scalar-color-query: #086566; 1749 1750 --scalar-button-1: rgba(0, 0, 0, 1); 1751 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1752 --scalar-button-1-color: #fff; 1753} 1754.dark-mode { 1755 --scalar-color-green: rgba(69, 255, 165, 0.823); 1756 --scalar-color-red: #ff8589; 1757 --scalar-color-yellow: #ffcc4d; 1758 --scalar-color-blue: #6bc1fe; 1759 --scalar-color-orange: #f98943; 1760 --scalar-color-purple: #b191f9; 1761 --scalar-color-query: #79e2da; 1762 1763 --scalar-button-1: rgba(255, 255, 255, 1); 1764 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1765 --scalar-button-1-color: black; 1766} 1767/* Custom Theme */ 1768.dark-mode h2.t-editor__heading, 1769.dark-mode .t-editor__page-title h1, 1770.dark-mode h1.section-header:not(::selection), 1771.dark-mode .markdown h1, 1772.dark-mode .markdown h2, 1773.dark-mode .markdown h3, 1774.dark-mode .markdown h4, 1775.dark-mode .markdown h5, 1776.dark-mode .markdown h6 { 1777 -webkit-text-fill-color: transparent; 1778 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 1779 -webkit-background-clip: text; 1780 background-clip: text; 1781} 1782.light-mode .t-doc__sidebar { 1783 --scalar-sidebar-search-background: white; 1784} 1785.examples .scalar-card-footer { 1786 --scalar-background-3: transparent; 1787 padding-top: 0; 1788} 1789/* Hero section flare */ 1790.section-flare { 1791 overflow-x: hidden; 1792 height: 100vh; 1793 left: initial; 1794} 1795.section-flare-item:nth-of-type(1) { 1796 background: #d25019; 1797 position: relative; 1798 top: -150px; 1799 right: -400px; 1800 width: 80vw; 1801 height: 500px; 1802 margin-top: -150px; 1803 border-radius: 50%; 1804 filter: blur(100px); 1805 z-index: 0; 1806} 1807.light-mode .section-flare { 1808 display: none; 1809} 1810*::selection { 1811 background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%); 1812} 1813 1814/* document layout */ 1815.dark-mode .t-doc .layout-content { 1816 background: transparent; 1817} 1818`,Clt=`.light-mode { 1819 color-scheme: light; 1820 --scalar-color-1: #000000; 1821 --scalar-color-2: #000000; 1822 --scalar-color-3: #000000; 1823 --scalar-color-accent: #645b0f; 1824 --scalar-background-1: #ccc9b3; 1825 --scalar-background-2: #c2bfaa; 1826 --scalar-background-3: #b8b5a1; 1827 --scalar-background-accent: #000000; 1828 1829 --scalar-border-color: rgba(0, 0, 0, 0.2); 1830 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 1831 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 1832 --scalar-lifted-brightness: 1; 1833 --scalar-backdrop-brightness: 1; 1834 1835 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1836 --scalar-shadow-2: 1837 rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px; 1838 1839 --scalar-button-1: rgb(49 53 56); 1840 --scalar-button-1-color: #fff; 1841 --scalar-button-1-hover: rgb(28 31 33); 1842 1843 --scalar-color-red: #b91c1c; 1844 --scalar-color-orange: #a16207; 1845 --scalar-color-green: #047857; 1846 --scalar-color-blue: #1d4ed8; 1847 --scalar-color-orange: #c2410c; 1848 --scalar-color-purple: #6d28d9; 1849 --scalar-color-query: #0f766e; 1850} 1851 1852.dark-mode { 1853 color-scheme: dark; 1854 --scalar-color-1: #fffef3; 1855 --scalar-color-2: #fffef3; 1856 --scalar-color-3: #fffef3; 1857 --scalar-color-accent: #c3b531; 1858 --scalar-background-1: #313332; 1859 --scalar-background-2: #393b3a; 1860 --scalar-background-3: #414342; 1861 --scalar-background-accent: #fffef3; 1862 1863 --scalar-border-color: #505452; 1864 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 1865 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 1866 --scalar-lifted-brightness: 1.45; 1867 --scalar-backdrop-brightness: 0.5; 1868 1869 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 1870 --scalar-shadow-2: 1871 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 1872 1873 --scalar-button-1: #f6f6f6; 1874 --scalar-button-1-color: #000; 1875 --scalar-button-1-hover: #e7e7e7; 1876 1877 --scalar-color-green: #00b648; 1878 --scalar-color-red: #dc1b19; 1879 --scalar-color-yellow: #ffc90d; 1880 --scalar-color-blue: #4eb3ec; 1881 --scalar-color-orange: #ff8d4d; 1882 --scalar-color-purple: #b191f9; 1883 --scalar-color-query: #5eead4; 1884} 1885 1886/* Sidebar */ 1887.light-mode .t-doc__sidebar, 1888.dark-mode .t-doc__sidebar { 1889 --scalar-sidebar-background-1: var(--scalar-background-1); 1890 --scalar-sidebar-color-1: var(--scalar-color-1); 1891 --scalar-sidebar-color-2: var(--scalar-color-2); 1892 --scalar-sidebar-border-color: var(--scalar-border-color); 1893 1894 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 1895 --scalar-sidebar-item-hover-color: currentColor; 1896 1897 --scalar-sidebar-item-active-background: var(--scalar-background-3); 1898 --scalar-sidebar-color-active: var(--scalar-color-1); 1899 1900 --scalar-sidebar-search-background: transparent; 1901 --scalar-sidebar-search-color: var(--scalar-color-3); 1902 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1903} 1904*::selection { 1905 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%); 1906} 1907`,$lt=`/* basic theme */ 1908.light-mode { 1909 --scalar-background-1: #fff; 1910 --scalar-background-2: #f5f6f8; 1911 --scalar-background-3: #eceef1; 1912 1913 --scalar-color-1: #1b1b1b; 1914 --scalar-color-2: #757575; 1915 --scalar-color-3: #8e8e8e; 1916 1917 --scalar-color-accent: #5469d4; 1918 --scalar-background-accent: #5469d41f; 1919 1920 --scalar-border-color: rgba(215, 215, 206, 0.68); 1921} 1922.dark-mode { 1923 --scalar-background-1: #15171c; 1924 --scalar-background-2: #1c1e24; 1925 --scalar-background-3: #22252b; 1926 1927 --scalar-color-1: #fafafa; 1928 --scalar-color-2: #c9ced8; 1929 --scalar-color-3: #8c99ad; 1930 1931 --scalar-color-accent: #5469d4; 1932 --scalar-background-accent: #5469d41f; 1933 1934 --scalar-border-color: #3f4145; 1935} 1936/* Document Sidebar */ 1937.light-mode .t-doc__sidebar, 1938.dark-mode .t-doc__sidebar { 1939 --scalar-sidebar-background-1: var(--scalar-background-1); 1940 --scalar-sidebar-color-1: var(--scalar-color-1); 1941 --scalar-sidebar-color-2: var(--scalar-color-2); 1942 --scalar-sidebar-border-color: var(--scalar-border-color); 1943 1944 --scalar-sidebar-item-hover-color: currentColor; 1945 --scalar-sidebar-item-hover-background: var(--scalar-background-3); 1946 1947 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 1948 --scalar-sidebar-color-active: var(--scalar-color-accent); 1949 1950 --scalar-sidebar-search-background: var(--scalar-background-1); 1951 --scalar-sidebar-search-color: var(--scalar-color-3); 1952 --scalar-sidebar-search-border-color: var(--scalar-border-color); 1953} 1954 1955/* advanced */ 1956.light-mode { 1957 --scalar-color-green: #17803d; 1958 --scalar-color-red: #e10909; 1959 --scalar-color-yellow: #edbe20; 1960 --scalar-color-blue: #1763a6; 1961 --scalar-color-orange: #e25b09; 1962 --scalar-color-purple: #5c3993; 1963 --scalar-color-query: #147873; 1964 1965 --scalar-button-1: rgba(0, 0, 0, 1); 1966 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 1967 --scalar-button-1-color: #fff; 1968} 1969.dark-mode { 1970 --scalar-color-green: #30a159; 1971 --scalar-color-red: #dc1b19; 1972 --scalar-color-yellow: #eec644; 1973 --scalar-color-blue: #2b7abf; 1974 --scalar-color-orange: #f07528; 1975 --scalar-color-purple: #7a59b1; 1976 --scalar-color-query: #4ac6b7; 1977 1978 --scalar-button-1: rgba(255, 255, 255, 1); 1979 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 1980 --scalar-button-1-color: black; 1981} 1982.light-mode *::selection { 1983 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 1984} 1985.dark-mode *::selection { 1986 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 1987} 1988`,Plt=`/* basic theme */ 1989.light-mode { 1990 --scalar-background-1: #f3f3ee; 1991 --scalar-background-2: #e8e8e3; 1992 --scalar-background-3: #e4e4df; 1993 --scalar-border-color: rgba(215, 215, 206, 0.85); 1994 1995 --scalar-color-1: #1b1b1b; 1996 --scalar-color-2: #757575; 1997 --scalar-color-3: #8e8e8e; 1998 1999 --scalar-color-accent: #1763a6; 2000 --scalar-background-accent: #1f648e1f; 2001} 2002.dark-mode { 2003 --scalar-background-1: #09090b; 2004 --scalar-background-2: #18181b; 2005 --scalar-background-3: #2c2c30; 2006 --scalar-border-color: rgba(255, 255, 255, 0.17); 2007 2008 --scalar-color-1: #fafafa; 2009 --scalar-color-2: rgb(161, 161, 170); 2010 --scalar-color-3: rgba(255, 255, 255, 0.533); 2011 2012 --scalar-color-accent: #4eb3ec; 2013 --scalar-background-accent: #8ab4f81f; 2014} 2015/* Document Sidebar */ 2016.light-mode .t-doc__sidebar, 2017.dark-mode .t-doc__sidebar { 2018 --scalar-sidebar-background-1: var(--scalar-background-1); 2019 --scalar-sidebar-color-1: var(--scalar-color-1); 2020 --scalar-sidebar-color-2: var(--scalar-color-2); 2021 --scalar-sidebar-border-color: var(--scalar-border-color); 2022 2023 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2024 --scalar-sidebar-item-hover-color: currentColor; 2025 2026 --scalar-sidebar-item-active-background: var(--scalar-background-3); 2027 --scalar-sidebar-color-active: var(--scalar-color-1); 2028 2029 --scalar-sidebar-search-background: var(--scalar-background-1); 2030 --scalar-sidebar-search-border-color: var(--scalar-border-color); 2031 --scalar-sidebar-search-color: var(--scalar-color-3); 2032} 2033 2034/* advanced */ 2035.light-mode { 2036 --scalar-color-green: #17803d; 2037 --scalar-color-red: #e10909; 2038 --scalar-color-yellow: #edbe20; 2039 --scalar-color-blue: #1763a6; 2040 --scalar-color-orange: #e25b09; 2041 --scalar-color-purple: #5c3993; 2042 --scalar-color-query: #147873; 2043 2044 --scalar-button-1: rgba(0, 0, 0, 1); 2045 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 2046 --scalar-button-1-color: #fff; 2047} 2048.dark-mode { 2049 --scalar-color-green: #30a159; 2050 --scalar-color-red: #dc1b19; 2051 --scalar-color-yellow: #eec644; 2052 --scalar-color-blue: #2b7abf; 2053 --scalar-color-orange: #f07528; 2054 --scalar-color-purple: #7a59b1; 2055 --scalar-color-query: #4ac6b7; 2056 2057 --scalar-button-1: rgba(255, 255, 255, 1); 2058 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 2059 --scalar-button-1-color: black; 2060} 2061.dark-mode h2.t-editor__heading, 2062.dark-mode .t-editor__page-title h1, 2063.dark-mode h1.section-header:not(::selection), 2064.dark-mode .markdown h1, 2065.dark-mode .markdown h2, 2066.dark-mode .markdown h3, 2067.dark-mode .markdown h4, 2068.dark-mode .markdown h5, 2069.dark-mode .markdown h6 { 2070 -webkit-text-fill-color: transparent; 2071 background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38)); 2072 -webkit-background-clip: text; 2073 background-clip: text; 2074} 2075.light-mode *::selection { 2076 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 2077} 2078.dark-mode *::selection { 2079 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%); 2080} 2081`,Ilt=`.light-mode { 2082 color-scheme: light; 2083 --scalar-color-1: #584c27; 2084 --scalar-color-2: #616161; 2085 --scalar-color-3: #a89f84; 2086 --scalar-color-accent: #b58900; 2087 --scalar-background-1: #fdf6e3; 2088 --scalar-background-2: #eee8d5; 2089 --scalar-background-3: #ddd6c1; 2090 --scalar-background-accent: #b589001f; 2091 2092 --scalar-border-color: #ded8c8; 2093 --scalar-scrollbar-color: rgba(0, 0, 0, 0.18); 2094 --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36); 2095 --scalar-lifted-brightness: 1; 2096 --scalar-backdrop-brightness: 1; 2097 2098 --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11); 2099 --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0p
2099x 0 0 1px; 2100 2101 --scalar-button-1: rgb(49 53 56); 2102 --scalar-button-1-color: #fff; 2103 --scalar-button-1-hover: rgb(28 31 33); 2104 2105 --scalar-color-red: #b91c1c; 2106 --scalar-color-orange: #a16207; 2107 --scalar-color-green: #047857; 2108 --scalar-color-blue: #1d4ed8; 2109 --scalar-color-orange: #c2410c; 2110 --scalar-color-purple: #6d28d9; 2111 --scalar-color-query: #007f78; 2112} 2113 2114.dark-mode { 2115 color-scheme: dark; 2116 --scalar-color-1: #fff; 2117 --scalar-color-2: #cccccc; 2118 --scalar-color-3: #6d8890; 2119 --scalar-color-accent: #007acc; 2120 --scalar-background-1: #00212b; 2121 --scalar-background-2: #012b36; 2122 --scalar-background-3: #004052; 2123 --scalar-background-accent: #015a6f; 2124 2125 --scalar-border-color: #2f4851; 2126 --scalar-scrollbar-color: rgba(255, 255, 255, 0.24); 2127 --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48); 2128 --scalar-lifted-brightness: 1.45; 2129 --scalar-backdrop-brightness: 0.5; 2130 2131 --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1); 2132 --scalar-shadow-2: 2133 rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1); 2134 2135 --scalar-button-1: #f6f6f6; 2136 --scalar-button-1-color: #000; 2137 --scalar-button-1-hover: #e7e7e7; 2138 2139 --scalar-color-green: #00b648; 2140 --scalar-color-red: #dc1b19; 2141 --scalar-color-yellow: #ffc90d; 2142 --scalar-color-blue: #4eb3ec; 2143 --scalar-color-orange: #ff8d4d; 2144 --scalar-color-purple: #b191f9; 2145 --scalar-color-query: #7bdac7; 2146} 2147 2148/* Sidebar */ 2149.light-mode .t-doc__sidebar { 2150 --scalar-sidebar-background-1: var(--scalar-background-1); 2151 --scalar-sidebar-item-hover-color: currentColor; 2152 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2153 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 2154 --scalar-sidebar-border-color: var(--scalar-border-color); 2155 --scalar-sidebar-color-1: var(--scalar-color-1); 2156 --scalar-sidebar-color-2: var(--scalar-color-2); 2157 --scalar-sidebar-color-active: var(--scalar-color-accent); 2158 --scalar-sidebar-search-background: var(--scalar-background-2); 2159 --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background); 2160 --scalar-sidebar-search--color: var(--scalar-color-3); 2161} 2162 2163.dark-mode .t-doc__sidebar { 2164 --scalar-sidebar-background-1: var(--scalar-background-1); 2165 --scalar-sidebar-item-hover-color: currentColor; 2166 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2167 --scalar-sidebar-item-active-background: var(--scalar-background-accent); 2168 --scalar-sidebar-border-color: var(--scalar-border-color); 2169 --scalar-sidebar-color-1: var(--scalar-color-1); 2170 --scalar-sidebar-color-2: var(--scalar-color-2); 2171 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 2172 --scalar-sidebar-search-background: var(--scalar-background-2); 2173 --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background); 2174 --scalar-sidebar-search--color: var(--scalar-color-3); 2175} 2176*::selection { 2177 background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%); 2178} 2179`;function Rlt(){if(typeof window>"u")return!1;const e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");const t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);const n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}var Nlt=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],Mlt={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",elysiajs:"Elysia.js",fastify:"Fastify",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",laserwave:"Laserwave",none:"None"},YV={default:{uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",theme:xlt,slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",name:"Alternate",description:"Alternate Scalar theme",theme:Olt,slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",description:"Lunar styles",theme:Clt,slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",description:"Purple Scalar theme",theme:$lt,slug:"purple"},solarized:{uid:"BdGVG1vf-4nYl3wJKyj8l",name:"Solarized",description:"Solarized Scalar theme",theme:Ilt,slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",description:"Blue Planet Scalar theme",theme:Slt,slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",description:"Deep Space Scalar theme",theme:wlt,slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",description:"Saturn Scalar theme",theme:Plt,slug:"saturn"}
2179,kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",description:"Kepler-11e Scalar theme",theme:Tlt,slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",description:"Mars Scalar theme",theme:_lt,slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",description:"Laserwave Scalar theme",theme:Elt,slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",description:"Elysia.js theme",theme:klt,slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",description:"Fastify theme",theme:Alt,slug:"fastify"}},Llt=(e,t)=>{var i;const{fonts:n=!0,layer:r="scalar-theme"}=t??{},a=[((i=YV[e||"default"])==null?void 0:i.theme)??`/* basic theme */ 2180:root { 2181 --scalar-text-decoration: underline; 2182 --scalar-text-decoration-hover: underline; 2183} 2184.light-mode { 2185 --scalar-background-1: #fff; 2186 --scalar-background-2: #f6f6f6; 2187 --scalar-background-3: #e7e7e7; 2188 --scalar-background-accent: #8ab4f81f; 2189 2190 --scalar-color-1: #1b1b1b; 2191 --scalar-color-2: #757575; 2192 --scalar-color-3: #8e8e8e; 2193 2194 --scalar-color-accent: #0099ff; 2195 --scalar-border-color: #dfdfdf; 2196} 2197.dark-mode { 2198 --scalar-background-1: #0f0f0f; 2199 --scalar-background-2: #1a1a1a; 2200 --scalar-background-3: #272727; 2201 2202 --scalar-color-1: #e7e7e7; 2203 --scalar-color-2: #a4a4a4; 2204 --scalar-color-3: #797979; 2205 2206 --scalar-color-accent: #00aeff; 2207 --scalar-background-accent: #3ea6ff1f; 2208 2209 --scalar-border-color: #2d2d2d; 2210} 2211/* Document Sidebar */ 2212.light-mode, 2213.dark-mode { 2214 --scalar-sidebar-background-1: var(--scalar-background-1); 2215 --scalar-sidebar-color-1: var(--scalar-color-1); 2216 --scalar-sidebar-color-2: var(--scalar-color-2); 2217 --scalar-sidebar-border-color: var(--scalar-border-color); 2218 2219 --scalar-sidebar-item-hover-background: var(--scalar-background-2); 2220 --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2); 2221 2222 --scalar-sidebar-item-active-background: var(--scalar-background-2); 2223 --scalar-sidebar-color-active: var(--scalar-sidebar-color-1); 2224 2225 --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color); 2226 --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color); 2227 --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color); 2228 2229 --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1)); 2230 --scalar-sidebar-search-color: var(--scalar-color-3); 2231 --scalar-sidebar-search-border-color: var(--scalar-border-color); 2232} 2233/* advanced */ 2234.light-mode { 2235 --scalar-color-green: #069061; 2236 --scalar-color-red: #ef0006; 2237 --scalar-color-yellow: #edbe20; 2238 --scalar-color-blue: #0082d0; 2239 --scalar-color-orange: #ff5800; 2240 --scalar-color-purple: #5203d1; 2241 --scalar-color-query: #007b80; 2242 2243 --scalar-link-color: var(--scalar-color-1); 2244 --scalar-link-color-hover: var(--scalar-link-color); 2245 2246 --scalar-button-1: rgba(0, 0, 0, 1); 2247 --scalar-button-1-hover: rgba(0, 0, 0, 0.8); 2248 --scalar-button-1-color: #fff; 2249 2250 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), transparent 10%); 2251 --scalar-tooltip-color: var(--scalar-color-1); 2252 2253 --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%); 2254 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%); 2255 2256 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 2257 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 2258} 2259.dark-mode { 2260 --scalar-color-green: #00b648; 2261 --scalar-color-red: #dc1b19; 2262 --scalar-color-yellow: #ffc90d; 2263 --scalar-color-blue: #4eb3ec; 2264 --scalar-color-orange: #ff8d4d; 2265 --scalar-color-purple: #b191f9; 2266 --scalar-color-query: #65d4cf; 2267 2268 --scalar-link-color: var(--scalar-color-1); 2269 --scalar-link-color-hover: var(--scalar-link-color); 2270 2271 --scalar-button-1: rgba(255, 255, 255, 1); 2272 --scalar-button-1-hover: rgba(255, 255, 255, 0.9); 2273 --scalar-button-1-color: black; 2274 2275 --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%); 2276 --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%); 2277 2278 --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%); 2279 2280 --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%); 2281 --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%); 2282} 2283@supports (color: color(display-p3 1 1 1)) { 2284 .light-mode { 2285 --scalar-color-accent: color(display-p3 0 0.6 1 / 1); 2286 --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1); 2287 --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1); 2288 --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1); 2289 --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1); 2290 --scalar-color-orange: color(display-p3 1 0.4 0.02); 2291 --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1); 2292 } 2293 .dark-mode { 2294 --scalar-color-accent: color(display-p3 0.07 0.67 1); 2295 --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1); 2296 --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1); 2297 --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1); 2298 --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1); 2299 --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1); 2300 --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1); 2301 } 2302} 2303`,n?vlt:""].join("");return r?`@layer ${r} { 2304${a}}`:a},Dlt=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function J4(e,t){const n=[...t.matchAll(new RegExp(`(${e}): ([^;]+);`,"gm"))];return n.length===0?{}:Object.fromEntries(n.map(r=>[r[1],r[2]]))}function d$(e){return e?{...J4("--scalar-color-[1-3]",e),...J4("--scalar-background-[1-3]",e),...J4("--scalar-color-accent",e)}
2304:{}}function Blt(e){return{colors:$(()=>{var t,n;return{light:d$((t=Ve(e).match(/\.light-mode[^{]*{[^}]*}/m))==null?void 0:t[0]),dark:d$((n=Ve(e).match(/\.dark-mode[^{]*{[^}]*}/m))==null?void 0:n[0])}})}}var Ult=F({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){const{colors:t}=Blt(()=>e.css),{cx:n}=$t();return(r,a)=>(y(),w("div",Te({style:{"--bg-light":b(t).light["--scalar-background-1"],"--bg-dark":b(t).dark["--scalar-background-1"]}},b(n)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[(y(!0),w(de,null,it(b(Dlt),i=>(y(),w("div",{key:i,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:Pr({"--bg-light":b(t).light[i],"--bg-dark":b(t).dark[i]})},null,4))),128))],16))}}),f$=Ult,jlt={class:"min-w-0 flex-1 truncate text-left"},Flt={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},Qlt=F({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Tn(e,"modelValue"),n=$(()=>Nlt.filter(a=>a!=="none").map(a=>({id:a,label:Mlt[a],css:YV[a].theme}))),r=$({get:()=>{const a=t.value??"default";return n.value.find(i=>i.id===a)??n.value[0]},set:a=>t.value=a.id});return(a,i)=>(y(),M(b(Mv),{modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o),options:n.value,resize:""},{default:I(({open:o})=>[N(b(bv),null,{default:I(()=>[x("div",jlt,H(r.value.label),1),N(b(f$),{class:"mr-2",css:r.value.css},null,8,["css"]),N(b(Xo),{class:Oe(["size-3.5 transition-transform",{"rotate-180":o}])},null,8,["class"])]),_:2},1024)]),option:I(({selected:o,option:s})=>[N(b(gv),{selected:o},null,8,["selected"]),x("span",Flt,H(s.label),1),N(b(f$),{css:s.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}}),zlt=Qlt,Hlt={class:"flex flex-col gap-4"},Vlt=F({__name:"ModifyConfiguration",props:Cn({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){const t=Tn(e,"overrides"),{translate:n}=Ot(),r=$(()=>bh({...t.value,...e.configuration,...t.value})),a=$({get:()=>{var o,s;return((o=t.value)==null?void 0:o.theme)??((s=e.configuration)==null?void 0:s.theme)??"default"},set:o=>t.value={...t.value,theme:o}}),i=$({get:()=>{var o,s;return((o=t.value)==null?void 0:o.layout)??((s=e.configuration)==null?void 0:s.layout)??"modern"},set:o=>t.value={...t.value,layout:o}});return(o,s)=>(y(),M(Yv,{class:"w-120"},{label:I(()=>[ae(H(b(n)("developerTools.configure")),1)]),default:I(()=>[N(b(Sk),null,{label:I(()=>[ae(H(b(n)("developerTools.scalarConfiguration")),1)]),default:I(()=>[N(b(d1),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:r.value,lang:"json"},null,8,["content"])]),_:1}),x("div",Hlt,[N(b(K4),null,{label:I(()=>[ae(H(b(n)("developerTools.theme")),1)]),default:I(()=>[N(zlt,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l)},null,8,["modelValue"])]),_:1}),N(b(K4),null,{label:I(()=>[ae(H(b(n)("developerTools.layout")),1)]),default:I(()=>[N(llt,{modelValue:i.value,"onUpdate:modelValue":s[1]||(s[1]=l=>i.value=l)},null,8,["modelValue"])]),_:1}),N(b(K4),{is:"div"},{label:I(()=>[ae(H(b(n)("developerTools.layoutOptions")),1)]),default:I(()=>[N(ylt,{modelValue:t.value,"onUpdate:modelValue":s[2]||(s[2]=l=>t.value=l),configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}}),qlt=Vlt,Zlt={class:"flex items-center flex-1 relative"},Xlt={key:0,class:"select-none whitespace-nowrap text-transparent"},Wlt=["aria-readonly","readonly"],Ylt={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},Glt={key:0,class:"text-c-2"},Klt={class:"text-transparent"},Jlt={key:1,class:"text-c-2"},ect=F({inheritAttrs:!1,__name:"ScalarTextInput",props:Cn({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:Cn(["click"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=Tn(e,"modelValue"),a=J(),{stylingAttrsCx:i,otherAttrs:o}=$t();Lt(()=>{var l;"autofocus"in o.value&&((l=a.value)==null||l.focus())});function s(l){var c,u;n("click",l),e.readonly?(c=a.value)==null||c.select():(u=a.value)==null||u.focus()}return(l,c)=>(y(),M(b(bv),Te({is:"div"},b(i)("cursor-text bg-b-1 text-c-1 dark:bg-b-1.5"),{onClick:s}),{default:I(()=>[x("div",Zlt,[l.$slots.prefix?(y(),w("div",Xlt,[q(l.$slots,"prefix")])):U("",!0),Fi(x("input",Te({ref_key:"input",ref:
2304a,"onUpdate:modelValue":c[0]||(c[0]=u=>r.value=u),"aria-readonly":e.readonly||void 0,class:"z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none",readonly:e.readonly},b(o)),null,16,Wlt),[[LI,r.value]]),l.$slots.prefix||l.$slots.suffix?(y(),w("div",Ylt,[l.$slots.prefix?(y(),w("span",Glt,[q(l.$slots,"prefix")])):U("",!0),x("span",Klt,H(r.value||l.$attrs.placeholder),1),l.$slots.suffix?(y(),w("span",Jlt,[q(l.$slots,"suffix")])):U("",!0)])):U("",!0)]),q(l.$slots,"aside")]),_:3},16))}}),tct=ect,nct=F({__name:"ScalarTextInputCopy",props:Cn({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:modelValue","update:copied"],setup(e){Lt(()=>{e.immediate&&t.value&&r(t.value)});const t=Tn(e,"modelValue"),n=Tn(e,"copied"),{copy:r,copied:a}=jQ({legacy:!0,copiedDuring:e.duration});return ze(a,i=>n.value=i),(i,o)=>(y(),M(tct,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=s=>t.value=s),readonly:!e.editable,onClick:o[2]||(o[2]=s=>t.value&&b(r)(t.value))},{aside:I(()=>[N(b(rz),{class:"z-1 bg-b-1 hover:bg-b-1.5 dark:bg-b-2 dark:hover:bg-b-2",copied:n.value||b(a),placement:"left",onClick:o[0]||(o[0]=Qt(s=>t.value&&b(r)(t.value),["stop"]))},xr({backdrop:I(()=>[N(b(Nv),{class:"bg-b-1 group-hover/copy-button:bg-b-1.5 dark:bg-b-1.5 dark:group-hover/copy-button:bg-b-1.5"})]),_:2},[i.$slots.copy?{name:"copy",fn:I(()=>[q(i.$slots,"copy")]),key:"0"}:void 0,i.$slots.copied?{name:"copied",fn:I(()=>[q(i.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}}),rct=nct,act=F({__name:"ApiReferenceToolbarShareTemporary",props:Cn({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){const{toast:t}=hu(),n=Kh(),{translate:r}=Ot(),a=Tn(e,"url");async function i(){if(n.isLoading||!e.workspace||a.value)return;n.start();const o=e.workspace.exportActiveDocument("json");if(!o){t(r("developerTools.unableToExportDocument"),"error"),await n.invalidate();return}try{const s=await W6(o,e.externalUrls);await n.validate({duration:900,persist:!0}),a.value=s}catch(s){const l=s instanceof Error?s.message:r("developerTools.unknownError");t(l,"error"),await n.invalidate()}}return(o,s)=>(y(),w(de,null,[a.value?(y(),M(b(rct),{key:0,immediate:"",modelValue:a.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/â¦`},null,8,["modelValue","placeholder"])):(y(),M(b(zn),{key:1,class:"h-auto p-2.5",loader:b(n),variant:"gradient",onClick:i},{default:I(()=>[ae(H(b(r)("developerTools.uploadDocument")),1)]),_:1},8,["loader"])),N(XV,{class:"-mt-1"},{default:I(()=>[ae(H(b(r)("developerTools.temporaryLinkExpiration")),1)]),_:1})],64))}}),ict=act,oct={class:"text-c-2 mb-2 leading-normal"},sct=F({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup(e){const{translate:t}=Ot();return(n,r)=>(y(),M(Yv,{class:"w-120"},{label:I(()=>[ae(H(b(t)("developerTools.share")),1)]),default:I(()=>[N(b(Sk),null,{label:I(()=>[ae(H(b(t)("developerTools.shareTitle")),1)]),default:I(()=>[x("p",oct,H(b(t)("developerTools.shareDescription")),1),N(ict,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}}),lct=sct,cct=["aria-label"],uct={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},dct={class:"flex flex-1 items-center"},fct=F({__name:"DeveloperTools",props:Cn({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){const t=Tn(e,"overrides"),{translate:n}=Ot(),r=$(()=>{var a,i;return((a=e.configuration)==null?void 0:a.showDeveloperTools)==="always"?!0:((i=e.configuration)==null?void 0:i.showDeveloperTools)==="never"||typeof window>"u"?!1:uh(window.location.href)});return(a,i)=>r.value?(y(),w("header",{key:0,"aria-label":b(n)("developerTools.title"),class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},[x("div",uct,[x("div",dct,[N(Rst)]),N(qlt,{overrides:t.value,"onUpdate:overrides":i[0]||(i[0]=o=>t.value=o),configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?(y(),w(de,{key:0},[N(lct,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),N(Kst,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):U("",!0)])],8,cct)):U("",!0)}}),hct=fct,pct={key:0,class:"document-selector px-3 pt-3"},mct={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},gct={class:"overflow-hidden text-base text-ellipsis"},bct=F({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,a=$(()=>n.options.map(o=>({id:o.id,label:o.label}))),i=$(()=>a.value.find(o=>o.id===n.modelValue));return(o,s)=>e.options.length>1?(y(),w("div",pct,[N(b(fu),{modelValue:i.value,options:a.value,resize:"","onUpdate:modelValue":s[0]||(s[0]=l=>r("update:modelValue",l.id))},{default:I(({open:l})=>{var c;return[x("button",mct,[x("span",gct,H(((c=i.value)==null?void 0:c.label)||"Select API"),1),N(b(Xo),{class:Oe(["size-3 text-current transition-transform",{"rotate-180":l}]),weight:"bold"},null,8,["class"])])]}),_:1},8,["modelValue","options"])])):U("",!0)}}),h$=bct,yct=e=>{const t={},n=r=>{var a,i;for(const o of r)o.type==="model"&&(t[a=o.name]??(t[a]=o.id)),"children"in o&&((i=o.children)!=null&&i.length)&&n(o.children)};return n(e),t},vct=()=>typeof window>"u"||typeof(window==null?void 0:window.matchMedia)!="function"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2304k":"light";function Oct(){try{return new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,cancelable:!0})}}async function Sct(e){try{return JSON.parse(e)}catch{const{parse:t}=await Be(async()=>{const{parse:n}=await import("./index5.js");return{parse:n}},__vite__mapDeps([97,1,2,87,89,90,91,92,93,94,95,96]));return t(e,{maxAliasCount:1e4,merge:!0})}}function wct(e){const t=e.trimStart();return t.startsWith("{")||t.startsWith("[")?"json":"yaml"}async function xct(e,t,n){if(t===n)return e;const r=await Sct(e);if(n==="json")return JSON.stringify(r,null,2);const{stringify:a}=await Be(async()=>{const{stringify:i}=await import("./index5.js");return{stringify:i}},__vite__mapDeps([97,1,2,87,89,90,91,92,93,94,95,96]));return a(r)}async function kct(e,t,n){const r=wct(e),a=n??r,i=`${t??"openapi"}.${a}`,o=a==="json"?"application/json":"application/x-yaml",s=await xct(e,r,a),l=new Blob([s],{type:o}),c=URL.createObjectURL(l),u=document.createElement("a");u.href=c,u.download=i,u.dispatchEvent(Oct()),setTimeout(()=>{window.URL.revokeObjectURL(c),u.remove()},100)}var Act=e=>{const t=ZU().get();hFe(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)},Tct=(e,t)=>{const n=XU().getAuth(t);e.auth.load({[t]:n})},Ect=(e,t)=>{const n={hooks:{}};return ze([()=>e.value.onBeforeRequest,()=>e.value.onRequestBuilt,()=>e.value.onRequestSent,()=>e.value.onResponseReceived,()=>t.value],([r,a,i,o,s])=>{const l=Zm(s);n.hooks||(n.hooks={}),n.hooks.beforeRequest=r?async c=>{const u=$pe(c.requestBuilder,{envVariables:l,allowMissingRequestServerBase:!0});if(!u.ok){console.error("[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:",u.message??u.error);return}await r({request:Bpe(...u.data.requestPayload),requestBuilder:c.requestBuilder,envVariables:l})}:void 0,n.hooks.requestBuilt=a?async c=>{await a({request:c.request,requestBuilder:c.requestBuilder,envVariables:l})}:void 0,n.hooks.responseReceived=i||o?c=>(i==null||i(c.request.url),o==null?void 0:o({response:c.response,request:c.request})):void 0},{immediate:!0}),[n]};const GV=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),i0={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},_ct={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},KV={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${jl(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?jl(e):`${jl(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${jl(e)} ${t}`}},charset:{}};function jl(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:i0.META.has(t.slice(0,n))||i0.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function JV(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function J3(e){return Array.isArray(e)?e.map(J3):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[jl(t),J3(n)]))}
2304function eq(e,t={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:a,resolve:i}=t;return Object.entries(e).map(([o,s])=>{if(i){const c=i({key:o,value:s});if(c!==void 0)return c}const l=typeof s=="object"?eq(s,t):typeof s=="number"?s.toString():typeof s=="string"&&a?`${a}${s.replace(new RegExp(a,"g"),`\\${a}`)}${a}`:s;return`${o}${r}${l}`}).join(n)}function p$(e,t){const n=JV(t),r=jl(e),a=tq(r);if(!GV.has(r))return[{[a]:r,...n}];const i=Object.fromEntries(Object.entries(n).map(([o,s])=>[`${e}${o==="url"?"":`${o[0].toUpperCase()}${o.slice(1)}`}`,s]));return Mb(i||{}).sort((o,s)=>{var l,c;return(((l=o[a])==null?void 0:l.length)||0)-(((c=s[a])==null?void 0:c.length)||0)})}function tq(e){var r;if(((r=KV[e])==null?void 0:r.metaKey)==="http-equiv"||i0.HTTP_EQUIV.has(e))return"http-equiv";const t=jl(e),n=t.indexOf(":");return n===-1?"name":i0.OG.has(t.slice(0,n))?"property":"name"}function Cct(e){return _ct[e]||jl(e)}function $ct(e,t){var n;return t==="refresh"?`${e.seconds};url=${e.url}`:eq(J3(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:a})=>r===null?"":typeof r=="boolean"?a:void 0,...(n=KV[t])==null?void 0:n.unpack})}function Mb(e){const t=[],n={};for(const[a,i]of Object.entries(e)){if(Array.isArray(i)){if(a==="themeColor"){i.forEach(o=>{typeof o=="object"&&o!==null&&t.push({name:"theme-color",...o})});continue}for(const o of i)if(typeof o=="object"&&o!==null){const s=[],l=[];for(const[c,u]of Object.entries(o)){const d=`${a}${c==="url"?"":`:${c}`}`,f=Mb({[d]:u});(c==="url"?s:l).push(...f)}t.push(...s,...l)}else t.push(...typeof o=="string"?Mb({[a]:o}):p$(a,o));continue}if(typeof i=="object"&&i)if(i0.MEDIA.has(a)){const o=a.startsWith("twitter")?"twitter":"og",s=a.replace(/^(og|twitter)/,"").toLowerCase(),l=o==="twitter"?"name":"property";i.url&&t.push({[l]:`${o}:${s}`,content:i.url}),i.secureUrl&&t.push({[l]:`${o}:${s}:secure_url`,content:i.secureUrl});for(const[c,u]of Object.entries(i))c!=="url"&&c!=="secureUrl"&&t.push({[l]:`${o}:${s}:${c}`,content:u})}else GV.has(jl(a))?t.push(...p$(a,i)):n[a]=JV(i);else n[a]=i}const r=Object.entries(n).map(([a,i])=>{if(a==="charset")return{charset:i===null?"_null":i};const o=tq(a),s=Cct(a),l=i===null?"_null":typeof i=="object"?$ct(i,a):typeof i=="number"?i.toString():i;return o==="http-equiv"?{"http-equiv":s,content:l}:{[o]:s,content:l}});return[...t,...r].map(a=>"content"in a&&a.content==="_null"?{...a,content:null}:a)}function Pct(e){return e==="__proto__"||e==="constructor"||e==="prototype"}const Ict={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(Mb(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...t)}}};function ex(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const a=t?t(n,e):e;if(Array.isArray(a)){let i;for(let o=0;o<a.length;o++){const s=ex(a[o],t);i?i[o]=s:s!==a[o]&&(i=a.slice(0,o),i[o]=s)}return i||a}if((a==null?void 0:a.constructor)===Object){let i;for(const o in a){const s=Pct(o),l=s?void 0:ex(a[o],t,o);if(!i&&(s||o==="_resolver"||l!==a[o])){i={};for(const u in a){if(u===o)break;i[u]=a[u]}}i&&!s&&(i[o]=l)}return i||a}return a}const Rct=(e,t)=>
2304v8(t)?Ve(t):t,Nct="usehead";function nq(){if(dG()){const e=Rn(Nct);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Mct(e,t={}){const n=t.head||nq();return n.ssr?n.push(e||{},t):Lct(n,e,t)}function Lct(e,t,n={}){const r=Oy();if(r&&!r.active)return{patch(){},dispose(){},_poll(){}};const a=J(!1);let i;return hr(()=>{const s=a.value?{}:ex(t,Rct);i?i.patch(s):i=e.push(s,n)}),by()&&(Qa(()=>{i.dispose()}),fG(()=>{a.value=!0}),hG(()=>{a.value=!1})),i}function Dct(e={},t={}){(t.head||nq()).use(Ict);const r=Mct(m$(e),t),a=r.patch;return r.patch=i=>a(m$(i)),r}function m$(e){if(e._flatMeta)return e;const t={};for(const n in e)!Object.prototype.hasOwnProperty.call(e,n)||n==="title"||n==="titleTemplate"||(t[n]=e[n]);return{title:e.title,titleTemplate:e.titleTemplate,_flatMeta:t}}var g$=({config:e,store:t,isDarkMode:n})=>{ze(()=>Ve(e).defaultHttpClient,r=>{if(r){const{targetKey:a,clientKey:i}=r,o=`${a}/${i}`;JQ(o)&&t.update("x-scalar-default-client",o)}},{immediate:!0}),ze(()=>Ve(e).darkMode,r=>t.update("x-scalar-color-mode",r?"dark":"light")),ze(()=>n.value,r=>t.update("x-scalar-color-mode",r?"dark":"light"),{immediate:!0}),Ve(e).metaData&&Dct(Ve(e).metaData),ze(()=>Ve(e).proxyUrl,r=>t.update("x-scalar-active-proxy",r),{immediate:!0}),uTe($(()=>Ve(e).favicon))};le({name:D({typeComment:"Name of specification extension property. Has to start with `x-`."}),component:Yl({typeComment:"Vue component to render the specification extension"}),renderer:P(Yl({typeComment:"Custom renderer to render the specification extension"}))});const b$=le({component:Yl({typeComment:"Vue component to render in the view"}),renderer:P(Yl({typeComment:"Custom renderer to render the view component (e.g., ReactRenderer)"})),props:P(He(D(),rr()),{typeComment:"Additional props to pass to the component"}),sidebar:P(le({show:tt(),label:D()}),{typeComment:"Sidebar configuration. Set show: true to display in sidebar."})});le({"content.start":P(Xe(b$),{typeComment:"Components to render before the Introduction/Info section"}),"content.end":P(Xe(b$),{typeComment:"Components to render at specific views in the API Reference"})});le({onInit:P(ir()),onConfigChange:P(ir()),onDestroy:P(ir())});const Bct=ir(),Uct=le({dashboardUrl:D({default:"https://dashboard.scalar.com"}),registryUrl:D({default:"https://registry.scalar.com"}),proxyUrl:D({default:"https://proxy.scalar.com"}),apiBaseUrl:D({default:"https://api.scalar.com"})},{typeComment:"External service URLs used by Scalar packages"}),jct=le({title:P(D(),{typeComment:"The title of the OpenAPI document."}),slug:P(D(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. If no title is used, it will just use the index."}),authentication:P(rr(),{typeComment:"Prefill authentication"}),baseServerURL:P(D(),{typeComment:"Base URL for the API server"}),hideClientButton:tt({default:!1,typeComment:"Whether to hide the client button"}),proxyUrl:P(D(),{typeComment:"URL to a request proxy for the API client"}),oauth2RedirectUri:P(D(),{typeComment:"Default OAuth 2.0 redirect URI used to prefill auth flows in the API client."}),searchHotKey:P(kt([ce("a"),ce("b"),ce("c"),ce("d"),ce("e"),ce("f"),ce("g"),ce("h"),ce("i"),ce("j"),ce("k"),ce("l"),ce("m"),ce("n"),ce("o"),ce("p"),ce("q"),ce("r"),ce("s"),ce("t"),ce("u"),ce("v"),ce("w"),ce("x"),ce("y"),ce("z")]),{typeComment:"Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)"}),servers:P(Xe(rr()),{typeComment:"List of OpenAPI server objects"}),showSidebar:tt({default:!0,typeComment:"Whether to show the sidebar"}),showDeveloperTools:kt([ce("localhost"),ce("always"),ce("never")],{typeComment:"Whether and when to show the developer tools."}),showToolbar:kt([ce("localhost"),ce("always"),ce("never")],{typeComment:"@deprecated Use showDeveloperTools instead"}),operationTitleSource:kt([ce("summary"),ce("path")],{typeComment:"Whether to use the operation summary or the operation path for the sidebar and search"}),theme:kt([ce("default"),ce("alternate"),ce("moon"),ce("purple"),ce("solarized"),ce("bluePlanet"),ce("deepSpace"),ce("saturn"),ce("kepler"),ce("elysiajs"),ce("fastify"),ce("mars"),ce("laserwave"),ce("none")],{typeComment:"A str
2304ing to use one of the color presets"}),_integration:P(kt([ce("adonisjs"),ce("astro"),ce("docusaurus"),ce("dotnet"),ce("elysiajs"),ce("express"),ce("fastapi"),ce("fastify"),ce("go"),ce("hono"),ce("html"),ce("laravel"),ce("litestar"),ce("nestjs"),ce("nextjs"),ce("nitro"),ce("nuxt"),ce("platformatic"),ce("react"),ce("rust"),ce("svelte"),ce("vue"),x6()]),{typeComment:"Integration type identifier"}),onRequestSent:P(ir(),{typeComment:"onRequestSent is fired when a request is sent"}),persistAuth:tt({default:!1,typeComment:"Whether to persist auth to local storage"}),telemetry:tt({default:!0,typeComment:"Enables / disables telemetry"}),externalUrls:Uct}),y$=kt([D(),x6(),He(D(),rr()),ir()]),Fct=le({default:tt({default:!1}),url:P(D(),{typeComment:"URL to an OpenAPI/Swagger document"}),content:P(y$,{typeComment:"Directly embed the OpenAPI document. Can be a string, object, function returning an object, or null. It is recommended to pass a URL instead of content."}),title:P(D(),{typeComment:"The title of the OpenAPI document. Used for the page title and the document name in the dropdown. With multiple `sources`, set this per source."}),slug:P(D(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. With multiple `sources`, set this per source."}),spec:P(le({url:P(D()),content:P(y$)}),{typeComment:"@deprecated Use `url` and `content` on the top level instead."}),agent:P(le({key:P(D()),disabled:P(tt()),hideAddApi:P(tt(),{typeComment:"When true, hide the control to add more APIs in the agent chat. Only preloaded/registry documents are shown; the public API list is not offered."})}),{typeComment:"Agent Scalar configuration"})}),rq=En([jct,Fct,le({layout:kt([ce("modern"),ce("classic")],{typeComment:"The layout to use for the references"}),proxy:P(D(),{typeComment:"@deprecated Use proxyUrl instead"}),fetch:P(ir(),{typeComment:"@deprecated Use `customFetch` instead."}),customFetch:P(ir(),{typeComment:"Custom fetch function used both when loading the OpenAPI document and when sending requests from the API client. Can be used to add custom headers, attach credentials (for example `credentials: 'include'`), handle auth, etc."}),plugins:P(Xe(Bct),{typeComment:"Plugins for the API reference"}),pluginUrls:P(Xe(D()),{typeComment:"URLs of ESM modules that provide additional plugins for the API reference. Each module is loaded with a dynamic `import()` before the API reference mounts, and its default export is registered as a plugin. Unlike `plugins`, this option is JSON-serializable, so integrations that pass their configuration as JSON can load plugins without replacing the whole bundle. Only supported by the standalone browser build (`Scalar.createApiReference`)."}),isEditable:tt({default:!1,typeComment:"Allows the user to inject an editor for the spec"}),hideModels:tt({default:!1,typeComment:"Whether to show models in the sidebar, search, and content."}),modelsSectionLabel:P(kt([ce("Models"),ce("Schemas"),D()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),localization:P(le({locale:P(D()),direction:P(kt([ce("auto"),ce("ltr"),ce("rtl")])),translations:P(He(D(),rr()))}),{typeComment:"API Reference UI localization. Select a built-in locale, override labels, and control LTR/RTL rendering."}),documentDownloadType:kt([ce("both"),ce("yaml"),ce("json"),ce("direct"),ce("none")],{typeComment:"Sets the file type of the document to download, set to `none` to hide the download button"}),hideDownloadButton:P(tt(),{typeComment:"@deprecated Use `documentDownloadType: 'none'` instead"}),hideTestRequestButton:tt({default:!1,typeComment:'Whether to show the "Test Request" button'}),hideSearch:tt({default:!1,typeComment:"Whether to show the sidebar search bar"}),showOperationId:tt({default:!1,typeComment:"Whether to show the operationId"}),darkMode:P(tt(),{typeComment:"Whether dark mode is on or off initially (light mode)"}),forceDarkModeState:P(kt([ce("dark"),ce("light")]),{typeComment:"forceDarkModeState makes it always this state no matter what"}),hideDarkModeToggle:tt({default:!1,typeComment:"Whether to show the dark mode toggle"}),metaData:P(rr(),{typeComment:"If used, passed data will be added to the HTML header. @see https://unhead.unjs.io/usage/composables/use-seo-meta"}),favicon:P(D(),{typeComment:"Path to a favicon image"}),hiddenClients:P(kt([He(D(),kt([tt(),Xe(D())])),Xe(D()),ce(!0)]),{typeComment:"List of httpsnippet clients to hide from the clients menu. By default hides Unirest, pass `[]` to show all clients"}),defaultHttpClient:P(le({targetKey:D(),clientKey:D()}),{typeComment:"Determine the HTTP client that is selected by default"}),defaultRequestBodyView:P(kt([ce("form"),ce("raw")]),{typeComment:"Initial view for the request body editor with structured (JSON/YAML) bodies"}),customCss:P(D(),{typeComment:"Custom CSS to be added to the page"}),onServerChange:P(ir(),{typeComment:"onServerChange is fired on selected server change"}),onDocumentSelect:P(ir(),{typeComment:"onDocumentSelect is fired
2304when the config is selected"}),onLoaded:P(ir(),{typeComment:"Callback fired when the reference is fully loaded"}),onBeforeRequest:P(ir(),{typeComment:"Fired before the outbound request is built; callback receives a mutable request builder. Experimental API."}),onRequestBuilt:P(ir(),{typeComment:"Fired right before the outbound request is sent; callback receives the exact fetch Request that goes over the wire. Experimental API."}),onResponseReceived:P(ir(),{typeComment:"Fired before response processing. Return a Response to replace it, or nothing to keep it."}),onShowMore:P(ir(),{typeComment:'onShowMore is fired when the user clicks the "Show more" button on the references'}),onSidebarClick:P(ir(),{typeComment:"onSidebarClick is fired when the user clicks on a sidebar item"}),pathRouting:P(le({basePath:D()}),{typeComment:"Route using paths instead of hashes, your server MUST support this. @experimental"}),mcp:P(le({name:P(D(),{typeComment:"Display name for the MCP server"}),url:P(D(),{typeComment:"URL of the MCP server"}),disabled:P(tt(),{typeComment:"When true, disables the MCP integration"})}),{typeComment:"MCP (Model Context Protocol) configuration. When provided, enables MCP integration with the given name and url."}),generateHeadingSlug:P(ir(),{typeComment:"Customize the heading portion of the hash"}),generateModelSlug:P(ir(),{typeComment:"Customize the model portion of the hash"}),generateTagSlug:P(ir(),{typeComment:"Customize the tag portion of the hash"}),generateOperationSlug:P(ir(),{typeComment:"Customize the operation portion of the hash"}),generateWebhookSlug:P(ir(),{typeComment:"Customize the webhook portion of the hash"}),setPageTitle:P(ir(),{typeComment:"Customize the browser tab title for the section currently in view"}),redirect:P(ir(),{typeComment:"To handle redirects, pass a function that receives the current path/hash and passes that to history.replaceState"}),withDefaultFonts:tt({default:!0,typeComment:"Whether to include default fonts"}),defaultOpenFirstTag:tt({default:!0,typeComment:"Whether to expand the first tag in the sidebar when no specific URL target is present"}),defaultOpenAllTags:tt({default:!1,typeComment:"Whether to expand all tags by default. Warning: this can cause performance issues on big documents"}),expandAllModelSections:tt({default:!1,typeComment:"Whether to expand all models by default. Warning: this can cause performance issues on big documents"}),expandAllResponses:tt({default:!1,typeComment:"Whether to expand all responses by default. Warning: this can cause performance issues on big documents"}),expandAllSchemaProperties:tt({default:!1,typeComment:"Whether to expand all nested schema properties by default. Each row keeps its own disclosure control, so nested sections can still be collapsed manually. Warning: this can cause performance issues on big documents"}),tagsSorter:P(kt([ce("alpha"),ir()]),{typeComment:"Function to sort tags"}),operationsSorter:P(kt([ce("alpha"),ce("method"),ir()]),{typeComment:"Function to sort operations"}),orderSchemaPropertiesBy:kt([ce("alpha"),ce("preserve")],{typeComment:"Order the schema properties by"}),schemaKeyboardNav:tt({default:!1,typeComment:"Arrow-key navigation over the schema disclosure toggles (APG tree bindings). Off until screen-reader interaction questions are settled"}),orderRequiredPropertiesFirst:tt({default:!0,typeComment:"Sort the schema properties by required ones first"})})]),v$="https://api.scalar.com/request-proxy",eS="https://proxy.scalar.com",Qct=e=>{var n,r;const t=z2(rq,e);return t.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),t.documentDownloadType="none"),(n=t.spec)!=null&&n.url&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.url' attribute. Remove the spec prefix and move the 'url' attribute to the top level."),t.url=t.spec.url,delete t.spec),(r=t.spec)!=null&&r.content&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.content' attribute. Remove the spec prefix and move the 'content' attribute to the top level."),t.content=t.spec.content,delete t.spec),t.proxy&&(console.warn("[DEPRECATED] You're using the deprecated 'proxy' attribute. Use 'proxyUrl' instead."),t.proxyUrl||(t.proxyUrl=t.proxy),delete t.proxy),t.fetch&&(console.warn("[DEPRECATED] You're using the deprecated 'fetch' attribute. Use 'customFetch' instead."),t.customFetch||(t.customFetch=t.fetch),delete t.fetch),t.proxyUrl===v$&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${v$}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${eS}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${eS}). Read more: https://github.com/scalar/scalar`),t.proxyUrl=eS),t.showToolbar&&t.showToolbar!=="localhost"&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),t.showDeveloperTools=t.showToolbar,delete t.showToolbar),t.modelsSectionLabel??(t.modelsSectionLabel=Mi),t};le({cdn:D({default:"https://cdn.jsdelivr.net/npm/@scalar/api-reference"}),bundle:P(kt([D(),tt()])),pageTitle:D({default:"Scalar API Reference"}),nonce:P(D())});const wk=Symbol.for("yaml.alias"),tx=Symbol.for("yaml.document"),Uc=Symbol.for("yaml.map"),aq=Symbol.for("yaml.pair"),vl=Symbol.for("yaml.scalar"),up=Symbol.for("yaml.seq"),Ho=Symbol.for("yaml.node.type"),Hd=e=>!!e&&typeof e=="object"&&e[Ho]===wk,Vd=e=>!!e&&typeof e=="object"&&e[Ho]===tx,dp=e=>!!e&&typeof e=="object"&&e[Ho]===Uc,gr=e=>!!e&&typeof e=="object"&&e[Ho]===aq,Zn=e=>!!e&&typeof e=="object"&&e[Ho]===vl,fp=e=>!!e&&typeof e=="object"&&e[Ho]===up;function kr(e){if(e&&typeof e=="object")switch(e[Ho]){case Uc:case up:return!0}return!1}function Tr(e){if(e&&typeof e=="object")switch(e[Ho]){case wk:case Uc:case vl:case up:return!0}return!1}const iq=e=>(Zn(e)||kr(e))&&!!e.anchor,Ri=Symbol("break visit"),oq=Symbol("skip children"),dl=Symbol("remove node");function qd(e,t){const n=sq(t);Vd(e)?Tf(null,e.contents,n,Object.freeze([e]))===dl&&(e.contents=null):Tf(null,e,n,Object.freeze([]))}qd.BREAK=Ri;qd.SKIP=oq;qd.REMOVE=dl;function Tf(e,t,n,r){const a=lq(e,t,n,r);if(Tr(a)||gr(a))return cq(e,r,a),Tf(e,a,n,r);if(typeof a!="symbol"){if(kr(t)){r=Object.freeze(r.concat(t));for(let i=0;i<t.items.length;++i){const o=Tf(i,t.items[i],n,r);if(typeof o=="number")i=o-1;else{if(o===Ri)return Ri;o===dl&&(t.items.splice(i,1),i-=1)}}}else if(gr(t)){r=Object.freeze(r.concat(t));const i=Tf("key",t.key,n,r);if(i===Ri)return Ri;i===dl&&(t.key=null);const o=Tf("value",t.value,n,r);if(o===Ri)return Ri;o===dl&&(t.value=null)}}return a}
2304async function Gv(e,t){const n=sq(t);Vd(e)?await Ef(null,e.contents,n,Object.freeze([e]))===dl&&(e.contents=null):await Ef(null,e,n,Object.freeze([]))}Gv.BREAK=Ri;Gv.SKIP=oq;Gv.REMOVE=dl;async function Ef(e,t,n,r){const a=await lq(e,t,n,r);if(Tr(a)||gr(a))return cq(e,r,a),Ef(e,a,n,r);if(typeof a!="symbol"){if(kr(t)){r=Object.freeze(r.concat(t));for(let i=0;i<t.items.length;++i){const o=await Ef(i,t.items[i],n,r);if(typeof o=="number")i=o-1;else{if(o===Ri)return Ri;o===dl&&(t.items.splice(i,1),i-=1)}}}else if(gr(t)){r=Object.freeze(r.concat(t));const i=await Ef("key",t.key,n,r);if(i===Ri)return Ri;i===dl&&(t.key=null);const o=await Ef("value",t.value,n,r);if(o===Ri)return Ri;o===dl&&(t.value=null)}}return a}function sq(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function lq(e,t,n,r){var a,i,o,s,l;if(typeof n=="function")return n(e,t,r);if(dp(t))return(a=n.Map)==null?void 0:a.call(n,e,t,r);if(fp(t))return(i=n.Seq)==null?void 0:i.call(n,e,t,r);if(gr(t))return(o=n.Pair)==null?void 0:o.call(n,e,t,r);if(Zn(t))return(s=n.Scalar)==null?void 0:s.call(n,e,t,r);if(Hd(t))return(l=n.Alias)==null?void 0:l.call(n,e,t,r)}function cq(e,t,n){const r=t[t.length-1];if(kr(r))r.items[e]=n;else if(gr(r))e==="key"?r.key=n:r.value=n;else if(Vd(r))r.contents=n;else{const a=Hd(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${a} parent`)}}const zct={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Hct=e=>e.replace(/[!,[\]{}]/g,t=>zct[t]);class mi{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},mi.defaultYaml,t),this.tags=Object.assign({},mi.defaultTags,n)}clone(){const t=new mi(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new mi(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:mi.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},mi.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:mi.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},mi.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),a=r.shift();switch(a){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[i,o]=r;return this.tags[i]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[i]=r;if(i==="1.1"||i==="1.2")return this.yaml.version=i,!0;{const o=/^\d+\.\d+$/.test(i);return n(6,`Unsupported YAML version ${i}`,o),!1}}default:return n(0,`Unknown directive ${a}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,a]=t.match(/^(.*!)([^!]*)$/s);a||n(`The ${t} tag has no suffix`);const i=this.tags[r];if(i)try{return i+decodeURIComponent(a)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+Hct(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let a;if(t&&r.length>0&&Tr(t.contents)){const i={};qd(t.contents,(o,s)=>{Tr(s)&&s.tag&&(i[s.tag]=!0)}),a=Object.keys(i)}else a=[];for(const[i,o]of r)i==="!!"&&o==="tag:yaml.org,2002:"||(!t||a.some(s=>s.startsWith(o)))&&n.push(`%TAG ${i} ${o}`);return n.join(` 2305`)}}mi.defaultYaml={explicit:!1,version:"1.2"};mi.defaultTags={"!!":"tag:yaml.org,2002:"};function uq(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function dq(e){const t=new Set;return qd(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function fq(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function Vct(e,t){const n=[],r=new Map;let a=null;return{onAnchor:i=>{n.push(i),a??(a=dq(e));const o=fq(t,a);return a.add(o),o},setAnchors:()=>{for(const i of n){const o=r.get(i);
2305if(typeof o=="object"&&o.anchor&&(Zn(o.node)||kr(o.node)))o.node.anchor=o.anchor;else{const s=new Error("Failed to resolve repeated object (this should not happen)");throw s.source=i,s}}},sourceObjects:r}}function _f(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let a=0,i=r.length;a<i;++a){const o=r[a],s=_f(e,r,String(a),o);s===void 0?delete r[a]:s!==o&&(r[a]=s)}else if(r instanceof Map)for(const a of Array.from(r.keys())){const i=r.get(a),o=_f(e,r,a,i);o===void 0?r.delete(a):o!==i&&r.set(a,o)}else if(r instanceof Set)for(const a of Array.from(r)){const i=_f(e,r,a,a);i===void 0?r.delete(a):i!==a&&(r.delete(a),r.add(i))}else for(const[a,i]of Object.entries(r)){const o=_f(e,r,a,i);o===void 0?delete r[a]:o!==i&&(r[a]=o)}return e.call(t,n,r)}function Fo(e,t,n){if(Array.isArray(e))return e.map((r,a)=>Fo(r,String(a),n));if(e&&typeof e.toJSON=="function"){if(!n||!iq(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=i=>{r.res=i,delete n.onCreate};const a=e.toJSON(t,n);return n.onCreate&&n.onCreate(a),a}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class xk{constructor(t){Object.defineProperty(this,Ho,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:a,reviver:i}={}){if(!Vd(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},s=Fo(this,"",o);if(typeof a=="function")for(const{count:l,res:c}of o.anchors.values())a(c,l);return typeof i=="function"?_f(i,{"":s},"",s):s}}let Kv=class extends xk{constructor(t){super(wk),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){if((n==null?void 0:n.maxAliasCount)===0)throw new ReferenceError("Alias resolution is disabled");let r;n!=null&&n.aliasResolveCache?r=n.aliasResolveCache:(r=[],qd(t,{Node:(i,o)=>{(Hd(o)||iq(o))&&r.push(o)}}),n&&(n.aliasResolveCache=r));let a;for(const i of r){if(i===this)break;i.anchor===this.source&&(a=i)}if(a&&n){const{anchors:i,doc:o,maxAliasCount:s}=n;let l=i.get(a);if(l||(Fo(a,null,n),l=i.get(a)),(l==null?void 0:l.res)===void 0){const c="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(c)}if(s>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=y2(o,a,i)),l.count*l.aliasCount>
2305s)){const c="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(c)}}return a}toJSON(t,n){if(!n)return{source:this.source};const r=this.resolve(n.doc,n);if(!r){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(a)}return n.anchors.get(r).res}toString(t,n,r){const a=`*${this.source}`;if(t){if(uq(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(t.implicitKey)return`${a} `}return a}};function y2(e,t,n){if(Hd(t)){const r=t.resolve(e),a=n&&r&&n.get(r);return a?a.count*a.aliasCount:0}else if(kr(t)){let r=0;for(const a of t.items){const i=y2(e,a,n);i>r&&(r=i)}return r}else if(gr(t)){const r=y2(e,t.key,n),a=y2(e,t.value,n);return Math.max(r,a)}return 1}const hq=e=>!e||typeof e!="function"&&typeof e!="object";class zt extends xk{constructor(t){super(vl),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:Fo(this.value,t,n)}toString(){return String(this.value)}}zt.BLOCK_FOLDED="BLOCK_FOLDED";zt.BLOCK_LITERAL="BLOCK_LITERAL";zt.PLAIN="PLAIN";zt.QUOTE_DOUBLE="QUOTE_DOUBLE";zt.QUOTE_SINGLE="QUOTE_SINGLE";const qct="tag:yaml.org,2002:";function Zct(e,t,n){if(t){const r=n.filter(i=>i.tag===t),a=r.find(i=>!i.format)??r[0];if(!a)throw new Error(`Tag ${t} not found`);return a}return n.find(r=>{var a;return((a=r.identify)==null?void 0:a.call(r,e))&&!r.format})}function o0(e,t,n){var d,f,h;if(Vd(e)&&(e=e.contents),Tr(e))return e;if(gr(e)){const p=(f=(d=n.schema[Uc]).createNode)==null?void 0:f.call(d,n.schema,null,
2305n);return p.items.push(e),p}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:a,onTagObj:i,schema:o,sourceObjects:s}=n;let l;if(r&&e&&typeof e=="object"){if(l=s.get(e),l)return l.anchor??(l.anchor=a(e)),new Kv(l.anchor);l={anchor:null,node:null},s.set(e,l)}t!=null&&t.startsWith("!!")&&(t=qct+t.slice(2));let c=Zct(e,t,o.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const p=new zt(e);return l&&(l.node=p),p}c=e instanceof Map?o[Uc]:Symbol.iterator in Object(e)?o[up]:o[Uc]}i&&(i(c),delete n.onTagObj);const u=c!=null&&c.createNode?c.createNode(n.schema,e,n):typeof((h=c==null?void 0:c.nodeClass)==null?void 0:h.from)=="function"?c.nodeClass.from(n.schema,e,n):new zt(e);return t?u.tag=t:c.default||(u.tag=c.tag),l&&(l.node=u),u}function Lb(e,t,n){let r=n;for(let a=t.length-1;a>=0;--a){const i=t[a];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const o=[];o[i]=r,r=o}else r=new Map([[i,r]])}return o0(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const im=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class pq extends xk{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>Tr(r)||gr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(im(t))this.add(n);else{const[r,...a]=t,i=this.get(r,!0);if(kr(i))i.addIn(a,n);else if(i===void 0&&this.schema)this.set(r,Lb(this.schema,a,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const a=this.get(n,!0);if(kr(a))return a.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...a]=t,i=this.get(r,!0);return a.length===0?!n&&Zn(i)?i.value:i:kr(i)?i.getIn(a,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!gr(n))return!1;const r=n.value;return r==null||t&&Zn(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const a=this.get(n,!0);return kr(a)?a.hasIn(r):!1}setIn(t,n){const[r,...a]=t;if(a.length===0)this.set(r,n);else{const i=this.get(r,!0);if(kr(i))i.setIn(a,n);else if(i===void 0&&this.schema)this.set(r,Lb(this.schema,a,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}}const Xct=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Fl(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Wu=(e,t,n)=>e.endsWith(` 2306`)?Fl(n,t):n.includes(` 2307`)?` 2308`+Fl(n,t):(e.endsWith(" ")?"":" ")+n,mq="flow",nx="block",v2="quoted";function Jv(e,t,n="flow",{indentAtStart:r,lineWidth:a=80,minContentWidth:i=20,onFold:o,onOverflow:s}={}){if(!a||a<0)return e;a<i&&(i=0);const l=Math.max(1+i,1+a-t.length);if(e.length<=l)return e;const c=[],u={};let d=a-t.length;typeof r=="number"&&(r>a-Math.max(2,i)?c.push(0):d=a-r);let f,h,p=!1,m=-1,g=-1,v=-1;n===nx&&(m=O$(e,m,t.length),m!==-1&&(d=m+l));for(let S;S=e[m+=1];){if(n===v2&&S==="\\"){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}v=m}if(S===` 2309`)n===nx&&(m=O$(e,m,t.length)),d=m+t.length+l,f=void 0;else{if(S===" "&&h&&h!==" "&&h!==` 2310`&&h!==" "){const A=e[m+1];A&&A!==" "&&A!==` 2311`&&A!==" "&&(f=m)}if(m>=d)if(f)c.push(f),d=f+l,f=void 0;else if(n===v2){for(;h===" "||h===" ";)h=S,S=e[m+=1],p=!0;const A=m>v+1?m-2:g-1;if(u[A])return e;c.push(A),u[A]=!0,d=A+l,f=void 0}else p=!0}h=S}if(p&&s&&s(),c.length===0)return e;o&&o();let k=e.slice(0,c[0]);for(let S=0;S<c.length;++S){const A=c[S],E=c[S+1]||e.length;A===0?k=` 2312${t}${e.slice(0,E)}`:(n===v2&&u[A]&&(k+=`${e[A]}\\`),k+=` 2313${t}${e.slice(A+1,E)}`)}return k}function O$(e,t,n){let r=t,a=t+1,i=e[a];for(;i===" "||i===" ";)if(t<a+n)i=e[++t];else{do i=e[++t];while(i&&i!==` 2314`);r=t,a=t+1,i=e[a]}return r}const eO=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
2314),tO=e=>/^(%|---|\.\.\.)/m.test(e);function Wct(e,t,n){if(!t||t<0)return!1;const r=t-n,a=e.length;if(a<=r)return!1;for(let i=0,o=0;i<a;++i)if(e[i]===` 2315`){if(i-o>r)return!0;if(o=i+1,a-o<=r)return!1}return!0}function Em(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(tO(e)?" ":"");let o="",s=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(o+=n.slice(s,l)+"\\ ",l+=1,s=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{o+=n.slice(s,l);const u=n.substr(l+2,4);switch(u){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:u.substr(0,2)==="00"?o+="\\x"+u.substr(2):o+=n.substr(l,6)}l+=5,s=l+1}break;case"n":if(r||n[l+2]==='"'||n.length<a)l+=1;else{for(o+=n.slice(s,l)+` 2316 2317`;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)o+=` 2318`,l+=2;o+=i,n[l+2]===" "&&(o+="\\"),l+=1,s=l+1}break;default:l+=1}return o=s?o+n.slice(s):n,r?o:Jv(o,i,v2,eO(t,!1))}function rx(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(` 2319`)||/[ \t]\n|\n[ \t]/.test(e))return Em(e,t);const n=t.indent||(tO(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 2320${n}`)+"'";return t.implicitKey?r:Jv(r,n,mq,eO(t,!1))}function Cf(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=Em;else{const a=e.includes('"'),i=e.includes("'");a&&!i?r=rx:i&&!a?r=Em:r=n?rx:Em}return r(e,t)}let ax;try{ax=new RegExp(`(^|(?<! 2321)) 2322+(?! 2323|$)`,"g")}catch{ax=/\n+(?!\n|$)/g}function O2({comment:e,type:t,value:n},r,a,i){const{blockQuote:o,commentString:s,lineWidth:l}=r.options;if(!o||/\n[\t ]+$/.test(n))return Cf(n,r);const c=r.indent||(r.forceBlockIndent||tO(n)?" ":""),u=o==="literal"?!0:o==="folded"||t===zt.BLOCK_FOLDED?!1:t===zt.BLOCK_LITERAL?!0:!Wct(n,l,c.length);if(!n)return u?`| 2324`:`> 2325`;let d,f;for(f=n.length;f>0;--f){const E=n[f-1];if(E!==` 2326`&&E!==" "&&E!==" ")break}let h=n.substring(f);const p=h.indexOf(` 2327`);p===-1?d="-":n===h||p!==h.length-1?(d="+",i&&i()):d="",h&&(n=n.slice(0,-h.length),h[h.length-1]===` 2328`&&(h=h.slice(0,-1)),h=h.replace(ax,`$&${c}`));let m=!1,g,v=-1;for(g=0;g<n.length;++g){const E=n[g];if(E===" ")m=!0;else if(E===` 2329`)v=g;else break}let k=n.substring(0,v<g?v+1:g);k&&(n=n.substring(k.length),k=k.replace(/\n+/g,`$&${c}`));let A=(m?c?"2":"1":"")+d;if(e&&(A+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),!u){const E=n.replace(/\n+/g,` 2330$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let _=!1;const C=eO(r,!0);o!=="folded"&&t!==zt.BLOCK_FOLDED&&(C.onOverflow=()=>{_=!0});const R=Jv(`${k}${E}${h}`,c,nx,C);if(!_)return`>${A} 2331${c}${R}`}return n=n.replace(/\n+/g,`$&${c}`),`|${A} 2332${c}${k}${n}${h}`}function Yct(e,t,n,r){const{type:a,value:i}=e,{actualString:o,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&i.includes(` 2333`)||u&&/[[\]{},]/.test(i))return Cf(i,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return s||u||!i.includes(` 2334`)?Cf(i,t):O2(e,t,n,r);if(!s&&!u&&a!==zt.PLAIN&&i.includes(` 2335`))return O2(e,t,n,r);if(tO(i)){if(l==="")return t.forceBlockIndent=!0,O2(e,t,n,r);if(s&&l===c)return Cf(i,t)}const d=i.replace(/\n+/g,`$& 2336${l}`);if(o){const f=m=>{var g;return m.default&&m.tag!=="tag:yaml.org,2002:str"&&((g=m.test)==null?void 0:g.test(d))},{compat:h,tags:p}=t.doc.schema;if(p.some(f)||h!=null&&h.some(f))return Cf(i,t)}return s?d:Jv(d,l,mq,eO(t,!1))}function g1(e,t,n,r){const{implicitKey:a,inFlow:i}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==zt.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=zt.QUOTE_DOUBLE);const l=u=>{switch(u){case zt.BLOCK_FOLDED:case zt.BLOCK_LITERAL:return a||i?Cf(o.value,t):O2(o,t,n,r);case zt.QUOTE_DOUBLE:return Em(o.value,t);case zt.QUOTE_SINGLE:return rx(o.value,t);case zt.PLAIN:return Yct(o,t,n,r);default:return null}};let c=l(s);if(c===null){const{defaultKeyType:u,defaultStringType:d}
2336=t.options,f=a&&u||d;if(c=l(f),c===null)throw new Error(`Unsupported default string type ${f}`)}return c}function gq(e,t){const n=Object.assign({blockQuote:!0,commentString:Xct,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Gct(e,t){var a;if(t.tag){const i=e.filter(o=>o.tag===t.tag);if(i.length>0)return i.find(o=>o.format===t.format)??i[0]}let n,r;if(Zn(t)){r=t.value;let i=e.filter(o=>{var s;return(s=o.identify)==null?void 0:s.call(o,r)});if(i.length>1){const o=i.filter(s=>s.test);o.length>0&&(i=o)}n=i.find(o=>o.format===t.format)??i.find(o=>!o.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=((a=r==null?void 0:r.constructor)==null?void 0:a.name)??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function Kct(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const a=[],i=(Zn(e)||kr(e))&&e.anchor;i&&uq(i)&&(n.add(i),a.push(`&${i}`));const o=e.tag??(t.default?null:t.tag);return o&&a.push(r.directives.tagString(o)),a.join(" ")}function Th(e,t,n,r){var l;if(gr(e))return e.toString(t,n,r);if(Hd(e)){if(t.doc.directives)return e.toString(t);if((l=t.resolvedAliases)!=null&&l.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a;const i=Tr(e)?e:t.doc.createNode(e,{onTagObj:c=>a=c});a??(a=Gct(t.doc.schema.tags,i));const o=Kct(i,a,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const s=typeof a.stringify=="function"?a.stringify(i,t,n,r):Zn(i)?g1(i,t,n,r):i.toString(t,n,r);return o?Zn(i)||s[0]==="{"||s[0]==="["?`${o} ${s}`:`${o} 2337${t.indent}${s}`:s}function Jct({key:e,value:t},n,r,a){const{allNullValues:i,doc:o,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n;let f=Tr(e)&&e.comment||null;if(d){if(f)throw new Error("With simple keys, key nodes cannot have comments");if(kr(e)||!Tr(e)&&typeof e=="object"){const C="With simple keys, collection cannot be used as a key value";throw new Error(C)}}let h=!d&&(!e||f&&t==null&&!n.inFlow||kr(e)||(Zn(e)?e.type===zt.BLOCK_FOLDED||e.type===zt.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(d||!i),indent:s+l});let p=!1,m=!1,g=Th(e,n,()=>p=!0,()=>m=!0);if(!h&&!n.inFlow&&g.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||t==null)return p&&r&&r(),g===""?"?":h?`? ${g}`:g}else if(i&&!d||t==null&&h)return g=`? ${g}`,f&&!p?g+=Wu(g,n.indent,c(f)):m&&a&&a(),g;p&&(f=null),h?(f&&(g+=Wu(g,n.indent,c(f))),g=`? ${g} 2338${s}:`):(g=`${g}:`,f&&(g+=Wu(g,n.indent,c(f))));let v,k,S;Tr(t)?(v=!!t.spaceBefore,k=t.commentBefore,S=t.comment):(v=!1,k=null,S=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!h&&!f&&Zn(t)&&(n.indentAtStart=g.length+1),m=!1,!u&&l.length>=2&&!n.inFlow&&!h&&fp(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let A=!1;const E=Th(t,n,()=>A=!0,()=>m=!0);let _=" ";if(f||v||k){if(_=v?` 2339`:"",k){const C=c(k);_+=` 2340${Fl(C,n.indent)}
2340`}E===""&&!n.inFlow?_===` 2341`&&S&&(_=` 2342 2343`):_+=` 2344${n.indent}`}else if(!h&&kr(t)){const C=E[0],R=E.indexOf(` 2345`),B=R!==-1,L=n.inFlow??t.flow??t.items.length===0;if(B||!L){let V=!1;if(B&&(C==="&"||C==="!")){let Q=E.indexOf(" ");C==="&"&&Q!==-1&&Q<R&&E[Q+1]==="!"&&(Q=E.indexOf(" ",Q+1)),(Q===-1||R<Q)&&(V=!0)}V||(_=` 2346${n.indent}`)}}else(E===""||E[0]===` 2347`)&&(_="");return g+=_+E,n.inFlow?A&&r&&r():S&&!A?g+=Wu(g,n.indent,c(S)):m&&a&&a(),g}function bq(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const wg="<<",Hl={identify:e=>e===wg||typeof e=="symbol"&&e.description===wg,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new zt(Symbol(wg)),{addToJSMap:yq}),stringify:()=>wg},eut=(e,t)=>(Hl.identify(t)||Zn(t)&&(!t.type||t.type===zt.PLAIN)&&Hl.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===Hl.tag&&n.default));function yq(e,t,n){const r=vq(e,n);if(fp(r))for(const a of r.items)tS(e,t,a);else if(Array.isArray(r))for(const a of r)tS(e,t,a);else tS(e,t,r)}function tS(e,t,n){const r=vq(e,n);if(!dp(r))throw new Error("Merge sources must be maps or map aliases");const a=r.toJSON(null,e,Map);for(const[i,o]of a)t instanceof Map?t.has(i)||t.set(i,o):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}function vq(e,t){return e&&Hd(t)?t.resolve(e.doc,e):t}function Oq(e,t,{key:n,value:r}){if(Tr(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(eut(e,n))yq(e,t,r);else{const a=Fo(n,"",e);if(t instanceof Map)t.set(a,Fo(r,a,e));else if(t instanceof Set)t.add(a);else{const i=tut(n,a,e),o=Fo(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}function tut(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(Tr(e)&&(n!=null&&n.doc)){const r=gq(n.doc,{});r.anchors=new Set;for(const i of n.anchors.keys())r.anchors.add(i.anchor);r.inFlow=!0,r.inStringifyKey=!0;const a=e.toString(r);if(!n.mapKeyWarned){let i=JSON.stringify(a);i.length>40&&(i=i.substring(0,36)+'..."'),bq(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return a}return JSON.stringify(t)}function kk(e,t,n){const r=o0(e,void 0,n),a=o0(t,void 0,n);return new ni(r,a)}class ni{constructor(t,n=null){Object.defineProperty(this,Ho,{value:aq}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return Tr(n)&&(n=n.clone(t)),Tr(r)&&(r=r.clone(t)),new ni(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return Oq(n,r,this)}toString(t,n,r){return t!=null&&t.doc?Jct(this,t,n,r):JSON.stringify(this)}}function Sq(e,t,n){return(t.inFlow??e.flow?rut:nut)(e,t,n)}function nut({comment:e,items:t},n,{blockItemPrefix:r,flowChars:a,itemIndent:i,onChompKeep:o,onComment:s}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:i,type:null});let d=!1;const f=[];for(let p=0;p<t.length;++p){const m=t[p];let g=null;if(Tr(m))!d&&m.spaceBefore&&f.push(""),Db(n,f,m.commentBefore,d),m.comment&&(g=m.comment);else if(gr(m)){const k=Tr(m.key)?m.key:null;k&&(!d&&k.spaceBefore&&f.push(""),Db(n,f,k.commentBefore,d))}d=!1;let v=Th(m,u,()=>g=null,()=>d=!0);g&&(v+=Wu(v,i,c(g))),d&&g&&(d=!1),f.push(r+v)}let h;if(f.length===0)h=a.start+a.end;else{h=f[0];for(let p=1;p<f.length;++p){const m=f[p];h+=m?` 2348${l}${m}`:` 2349`}}return e?(h+=` 2350`+Fl(c(e),l),s&&s()):d&&o&&o(),h}function rut({items:e},t,{flowChars:n,itemIndent:r}){const{indent:a,indentStep:i,flowCollectionPadding:o,options:{commentString:s}}=t;r+=i;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,u=0;const d=[];for(let p=0;p<e.length;++p){const m=e[p];let g=null;if(Tr(m))m.spaceBefore&&d.push(""),Db(t,d,m.commentBefore,!1),m.comment&&(g=m.comment);else if(gr(m)){const k=Tr(m.key)?m.key:null;k&&(k.spaceBefore&&d.push(""),Db(t,d,k.commentBefore,!1),k.comment&&(c=!0));const S=Tr(m.value)?m.value:null;S?(S.comment&&(g=S.comment),S.commentBefore&&(c=!0)):m.value==null&&(k!=null&&k.comment)&&(g=k.comment)}g&&(c=!0);let v=Th(m,l,()=>g=null);c||(c=d.length>u||v.includes(` 2351`)),p<e.length-1?v+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=d.reduce((k,S)=>k+S.length+2,2)+(v.length+2)>t.options.lineWidth)),c&&(v+=",")),g&&(v+=Wu(v,r,s(g))),d.push(v),u=d.length}const{start:f,end:h}=n;
2351if(d.length===0)return f+h;if(!c){const p=d.reduce((m,g)=>m+g.length+2,2);c=t.options.lineWidth>0&&p>t.options.lineWidth}if(c){let p=f;for(const m of d)p+=m?` 2352${i}${a}${m}`:` 2353`;return`${p} 2354${a}${h}`}else return`${f}${o}${d.join(" ")}${o}${h}`}function Db({indent:e,options:{commentString:t}},n,r,a){if(r&&a&&(r=r.replace(/^\n+/,"")),r){const i=Fl(t(r),e);n.push(i.trimStart())}}function Yu(e,t){const n=Zn(t)?t.value:t;for(const r of e)if(gr(r)&&(r.key===t||r.key===n||Zn(r.key)&&r.key.value===n))return r}class oo extends pq{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Uc,t),this.items=[]}static from(t,n,r){const{keepUndefined:a,replacer:i}=r,o=new this(t),s=(l,c)=>{if(typeof i=="function")c=i.call(n,l,c);else if(Array.isArray(i)&&!i.includes(l))return;(c!==void 0||a)&&o.items.push(kk(l,c,r))};if(n instanceof Map)for(const[l,c]of n)s(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))s(l,n[l]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){var o;let r;gr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ni(t,t==null?void 0:t.value):r=new ni(t.key,t.value);const a=Yu(this.items,r.key),i=(o=this.schema)==null?void 0:o.sortMapEntries;if(a){if(!n)throw new Error(`Key ${r.key} already set`);Zn(a.value)&&hq(r.value)?a.value.value=r.value:a.value=r.value}else if(i){const s=this.items.findIndex(l=>i(r,l)<0);s===-1?this.items.push(r):this.items.splice(s,0,r)}else this.items.push(r)}delete(t){const n=Yu(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=Yu(this.items,t),a=r==null?void 0:r.value;return(!n&&Zn(a)?a.value:a)??void 0}has(t){return!!Yu(this.items,t)}set(t,n){this.add(new ni(t,n),!0)}toJSON(t,n,r){const a=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(a);for(const i of this.items)Oq(n,a,i);return a}toString(t,n,r){if(!t)return JSON.stringify(this);for(const a of this.items)if(!gr(a))throw new Error(`Map items must all be pairs; found ${JSON.stringify(a)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Sq(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const hp={collection:"map",default:!0,nodeClass:oo,tag:"tag:yaml.org,2002:map",resolve(e,t){return dp(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>oo.from(e,t,n)};class Zc extends pq{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(up,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=xg(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=xg(t);if(typeof r!="number")return;const a=this.items[r];return!n&&Zn(a)?a.value:a}has(t){const n=xg(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=xg(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const a=this.items[r];Zn(a)&&hq(n)?a.value=n:this.items[r]=n}toJSON(t,n){const r=[];n!=null&&n.onCreate&&n.onCreate(r);let a=0;for(const i of this.items)r.push(Fo(i,String(a++),n));return r}toString(t,n,r){return t?Sq(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:a}=r,i=new this(t);if(n&&Symbol.iterator in Object(n)){let o=0;for(let s of n){if(typeof a=="function"){const l=n instanceof Set?s:String(o++);s=a.call(n,l,s)}i.items.push(o0(s,void 0,r))}}return i}}function xg(e){let t=Zn(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const pp={collection:"seq",default:!0,nodeClass:Zc,tag:"tag:yaml.org,2002:seq",resolve(e,t){return fp(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Zc.from(e,t,n)},nO={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),g1(e,t,n,r)}},rO={identify:e=>e==null,createNode:()=>new zt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new zt(null),stringify:({source:e},t)=>typeof e=="string"&&rO.test.test(e)?e:t.options.nullStr},Ak={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new zt(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Ak.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Ls({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const a=typeof r=="number"?r:Number(r);
2354if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^-?\d/.test(i)&&!i.includes("e")){let o=i.indexOf(".");o<0&&(o=i.length,i+=".");let s=t-(i.length-o-1);for(;s-- >0;)i+="0"}return i}const wq={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ls},xq={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ls(e)}},kq={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new zt(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Ls},aO=e=>typeof e=="bigint"||Number.isInteger(e),Tk=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Aq(e,t,n){const{value:r}=e;return aO(r)&&r>=0?n+r.toString(t):Ls(e)}const Tq={identify:e=>aO(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Tk(e,2,8,n),stringify:e=>Aq(e,8,"0o")},Eq={identify:aO,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Tk(e,0,10,n),stringify:Ls},_q={identify:e=>aO(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Tk(e,2,16,n),stringify:e=>Aq(e,16,"0x")},aut=[hp,pp,nO,rO,Ak,Tq,Eq,_q,wq,xq,kq];function S$(e){return typeof e=="bigint"||Number.isInteger(e)}const kg=({value:e})=>JSON.stringify(e),iut=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:kg},{identify:e=>e==null,createNode:()=>new zt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:kg},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:kg},{identify:S$,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>S$(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:kg}],out={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},sut=[hp,pp].concat(iut,out),Ek={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let a=0;a<n.length;++a)r[a]=n.charCodeAt(a);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,a,i){if(!n)return"";const o=n;let s;if(typeof btoa=="function"){let l="";for(let c=0;c<o.length;++c)l+=String.fromCharCode(o[c]);s=btoa(l)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=zt.BLOCK_LITERAL),t!==zt.QUOTE_DOUBLE){const l=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),c=Math.ceil(s.length/l),u=new Array(c);for(let d=0,f=0;d<c;++d,f+=l)u[d]=s.substr(f,l);s=u.join(t===zt.BLOCK_LITERAL?` 2355`:" ")}return g1({comment:e,type:t,value:s},r,a,i)}};function Cq(e,t){if(fp(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!gr(r)){if(dp(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const a=r.items[0]||new ni(new zt(null));if(r.commentBefore&&(a.key.commentBefore=a.key.commentBefore?`${r.commentBefore} 2356${a.key.commentBefore}`:r.commentBefore),r.comment){const i=a.value??a.key;i.comment=i.comment?`${r.comment} 2357${i.comment}`:r.comment}r=a}e.items[n]=gr(r)?r:new ni(r)}
2357}else t("Expected a sequence for this tag");return e}function $q(e,t,n){const{replacer:r}=n,a=new Zc(e);a.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(i++),o));let s,l;if(Array.isArray(o))if(o.length===2)s=o[0],l=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)s=c[0],l=o[s];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else s=o;a.items.push(kk(s,l,n))}return a}const _k={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Cq,createNode:$q};class jf extends Zc{constructor(){super(),this.add=oo.prototype.add.bind(this),this.delete=oo.prototype.delete.bind(this),this.get=oo.prototype.get.bind(this),this.has=oo.prototype.has.bind(this),this.set=oo.prototype.set.bind(this),this.tag=jf.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const a of this.items){let i,o;if(gr(a)?(i=Fo(a.key,"",n),o=Fo(a.value,i,n)):i=Fo(a,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}static from(t,n,r){const a=$q(t,n,r),i=new this;return i.items=a.items,i}}jf.tag="tag:yaml.org,2002:omap";const Ck={collection:"seq",identify:e=>e instanceof Map,nodeClass:jf,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Cq(e,t),r=[];for(const{key:a}of n.items)Zn(a)&&(r.includes(a.value)?t(`Ordered maps must not include duplicate keys: ${a.value}`):r.push(a.value));return Object.assign(new jf,n)},createNode:(e,t,n)=>jf.from(e,t,n)};function Pq({value:e,source:t},n){return t&&(e?Iq:Rq).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Iq={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new zt(!0),stringify:Pq},Rq={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new zt(!1),stringify:Pq},lut={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ls},cut={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ls(e)}},uut={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new zt(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Ls},b1=e=>typeof e=="bigint"||Number.isInteger(e);function iO(e,t,n,{intAsBigInt:r}){const a=e[0];if((a==="-"||a==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const o=BigInt(e);return a==="-"?BigInt(-1)*o:o}const i=parseInt(e,n);return a==="-"?-1*i:i}function $k(e,t,n){const{value:r}=e;if(b1(r)){const a=r.toString(t);return r<0?"-"+n+a.substr(1):n+a}return Ls(e)}const dut={identify:b1,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>iO(e,2,2,n),stringify:e=>$k(e,2,"0b")},fut={identify:b1,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>iO(e,1,8,n),stringify:e=>$k(e,8,"0")},hut={identify:b1,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>iO(e,0,10,n),stringify:Ls},put={identify:b1,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>iO(e,2,16,n),stringify:e=>$k(e,16,"0x")};class Ff extends oo{constructor(t){super(t),this.tag=Ff.tag}add(t){let n;gr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ni(t.key,null):n=new ni(t,null),Yu(this.items,n.key)||this.items.push(n)}get(t,n){const r=Yu(this.items,t);return!n&&gr(r)?Zn(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=Yu(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ni(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:a}=r,i=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof a=="function"&&(o=a.call(n,o,o)),i.items.push(kk(o,null,r));return i}}Ff.tag="tag:yaml.org,2002:set";const Pk={collection:"map",identify:e=>e instanceof Set,nodeClass:Ff,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ff.from(e,t,n),resolve(e,t){if(dp(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ff,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Ik(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,a=o=>t?BigInt(o):Number(o),i=r.replace(/_/g,"").split(":").reduce((o,s)=>o*a(60)+a(s),a(0));return n==="-"?a(-1)*i:i}function Nq(e){let{value:t}=e,n=o=>o;if(typeof t=="bigint")n=o=>BigInt(o);else if(isNaN(t)||!isFinite(t))return Ls(e);let r="";t<0&&(r="-",t*=n(-1));const a=n(60),i=[t%a];return t<60?i.unshift(0):(t=(t-i[0])/a,i.unshift(t%a),t>=60&&(t=(t-i[0])/a,i.unshift(t))),r+i.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Mq={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Ik(e,n),stringify:Nq},Lq={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Ik(e,!1),stringify:Nq},oO={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(oO.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,a,i,o,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,a,i||0,o||0,s||0,l);const u=t[8];
2357if(u&&u!=="Z"){let d=Ik(u,!1);Math.abs(d)<30&&(d*=60),c-=6e4*d}return new Date(c)},stringify:({value:e})=>(e==null?void 0:e.toISOString().replace(/(T00:00:00)?\.000Z$/,""))??""},w$=[hp,pp,nO,rO,Iq,Rq,dut,fut,hut,put,lut,cut,uut,Ek,Hl,Ck,_k,Pk,Mq,Lq,oO],x$=new Map([["core",aut],["failsafe",[hp,pp,nO]],["json",sut],["yaml11",w$],["yaml-1.1",w$]]),k$={binary:Ek,bool:Ak,float:kq,floatExp:xq,floatNaN:wq,floatTime:Lq,int:Eq,intHex:_q,intOct:Tq,intTime:Mq,map:hp,merge:Hl,null:rO,omap:Ck,pairs:_k,seq:pp,set:Pk,timestamp:oO},mut={"tag:yaml.org,2002:binary":Ek,"tag:yaml.org,2002:merge":Hl,"tag:yaml.org,2002:omap":Ck,"tag:yaml.org,2002:pairs":_k,"tag:yaml.org,2002:set":Pk,"tag:yaml.org,2002:timestamp":oO};function nS(e,t,n){const r=x$.get(t);if(r&&!e)return n&&!r.includes(Hl)?r.concat(Hl):r.slice();let a=r;if(!a)if(Array.isArray(e))a=[];else{const i=Array.from(x$.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)a=a.concat(i);else typeof e=="function"&&(a=e(a.slice()));return n&&(a=a.concat(Hl)),a.reduce((i,o)=>{const s=typeof o=="string"?k$[o]:o;if(!s){const l=JSON.stringify(o),c=Object.keys(k$).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${c}`)}return i.includes(s)||i.push(s),i},[])}const gut=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let Dq=class Bq{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:a,schema:i,sortMapEntries:o,toStringDefaults:s}){this.compat=Array.isArray(t)?nS(t,"compat"):t?nS(null,t):null,this.name=typeof i=="string"&&i||"core",this.knownTags=a?mut:{},this.tags=nS(n,this.name,r),this.toStringOptions=s??null,Object.defineProperty(this,Uc,{value:hp}),Object.defineProperty(this,vl,{value:nO}),Object.defineProperty(this,up,{value:pp}),this.sortMapEntries=typeof o=="function"?o:o===!0?gut:null}clone(){const t=Object.create(Bq.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};function but(e,t){var l;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const c=e.directives.toString(e);c?(n.push(c),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const a=gq(e,t),{commentString:i}=a.options;if(e.commentBefore){n.length!==1&&n.unshift("");const c=i(e.commentBefore);n.unshift(Fl(c,""))}let o=!1,s=null;if(e.contents){if(Tr(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const d=i(e.contents.commentBefore);n.push(Fl(d,""))}a.forceBlockIndent=!!e.comment,s=e.contents.comment}const c=s?void 0:()=>o=!0;let u=Th(e.contents,a,()=>s=null,c);s&&(u+=Wu(u,"",i(s))),(u[0]==="|"||u[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${u}`:n.push(u)}else n.push(Th(e.contents,a));if((l=e.directives)!=null&&l.docEnd)if(e.comment){const c=i(e.comment);c.includes(` 2358`)?(n.push("..."),n.push(Fl(c,""))):n.push(`... ${c}`)}else n.push("...");else{let c=e.comment;c&&o&&(c=c.replace(/^\n+/,"")),c&&((!o||s)&&n[n.length-1]!==""&&n.push(""),n.push(Fl(i(c),"")))}return n.join(` 2359`)+` 2360`}let sO=class Uq{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ho,{value:tx});let a=null;typeof n=="function"||Array.isArray(n)?a=n:r===void 0&&n&&(r=n,n=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=i;let{version:o}=i;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new mi({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,a,r)}clone(){const t=Object.create(Uq.prototype,{[Ho]:{value:tx}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Tr(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){uf(this.contents)&&this.contents.add(t)}addIn(t,n){uf(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=dq(this);t.anchor=!n||r.has(n)?fq(n||"a",r):n}return new Kv(t.anchor)}createNode(t,n,r){let a;if(typeof n=="function")t=n.call({"":t},"",t),a=n;else if(Array.isArray(n)){const g=k=>typeof k=="number"||k instanceof String||k instanceof Number,v=n.filter(g).map(String);v.length>0&&(n=n.concat(v)),a=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:i,anchorPrefix:o,flow:s,keepUndefined:l,onTagObj:c,tag:u}=r??{},{onAnchor:d,setAnchors:f,sourceObjects:h}=Vct(this,o||"a"),p={aliasDuplicateObjects:i??!0,keepUndefined:l??!1,onAnchor:d,onTagObj:c,replacer:a,schema:this.schema,sourceObjects:h},m=o0(t,u,p);return s&&kr(m)&&(m.flow=!0),f(),m}createPair(t,n,r={}){const a=this.createNode(t,null,r),i=this.createNode(n,null,r);return new ni(a,i)}delete(t){return uf(this.contents)?this.contents.delete(t):!1}deleteIn(t){return im(t)?this.contents==null?!1:(this.contents=null,!0):uf(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return kr(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return im(t)?!n&&Zn(this.contents)?this.contents.value:this.contents:kr(this.contents)?this.contents.getIn(t,n):void 0}has(t){return kr(this.contents)?this.contents.has(t):!1}hasIn(t){return im(t)?this.contents!==void 0:kr(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Lb(this.schema,[t],n):uf(this.contents)&&this.contents.set(t,n)}setIn(t,n){im(t)?this.contents=n:this.contents==null?this.contents=Lb(this.schema,Array.from(t),n):uf(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new mi({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new mi({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const a=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${a}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new Dq(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}
2360toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:a,onAnchor:i,reviver:o}={}){const s={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof a=="number"?a:100},l=Fo(this.contents,n??"",s);if(typeof i=="function")for(const{count:c,res:u}of s.anchors.values())i(u,c);return typeof o=="function"?_f(o,{"":l},"",l):l}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return but(this,t)}};function uf(e){if(kr(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Rk extends Error{constructor(t,n,r,a){super(),this.name=t,this.code=r,this.message=a,this.pos=n}}class Gu extends Rk{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class jq extends Rk{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const Bb=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(s=>t.linePos(s));const{line:r,col:a}=n.linePos[0];n.message+=` at line ${r}, column ${a}`;let i=a-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const s=Math.min(i-39,o.length-79);o="â¦"+o.substring(s),i-=s-1}if(o.length>80&&(o=o.substring(0,79)+"â¦"),r>1&&/^ *$/.test(o.substring(0,i))){let s=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);s.length>80&&(s=s.substring(0,79)+`⦠2361`),o=s+o}if(/[^ ]/.test(o)){let s=1;const l=n.linePos[1];(l==null?void 0:l.line)===r&&l.col>a&&(s=Math.max(1,Math.min(l.col-a,80-i)));const c=" ".repeat(i)+"^".repeat(s);n.message+=`: 2362 2363${o} 2364${c} 2365`}};function Eh(e,{flow:t,indicator:n,next:r,offset:a,onError:i,parentIndent:o,startOnNewline:s}){let l=!1,c=s,u=s,d="",f="",h=!1,p=!1,m=null,g=null,v=null,k=null,S=null,A=null,E=null;for(const R of e)switch(p&&(R.type!=="space"&&R.type!=="newline"&&R.type!=="comma"&&i(R.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),m&&(c&&R.type!=="comment"&&R.type!=="newline"&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),R.type){case"space":!t&&(n!=="doc-start"||(r==null?void 0:r.type)!=="flow-collection")&&R.source.includes(" ")&&(m=R),u=!0;break;case"comment":{u||i(R,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const B=R.source.substring(1)||" ";d?d+=f+B:d=B,f="",c=!1;break}case"newline":c?d?d+=R.source:(!A||n!=="seq-item-ind")&&(l=!0):f+=R.source,c=!0,h=!0,(g||v)&&(k=R),u=!0;break;case"anchor":g&&i(R,"MULTIPLE_ANCHORS","A node can have at most one anchor"),R.source.endsWith(":")&&i(R.offset+R.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=R,E??(E=R.offset),c=!1,u=!1,p=!0;break;case"tag":{v&&i(R,"MULTIPLE_TAGS","A node can have at most one tag"),v=R,E??(E=R.offset),c=!1,u=!1,p=!0;break}case n:(g||v)&&i(R,"BAD_PROP_ORDER",`Anchors and tags must be after the ${R.source} indicator`),A&&i(R,"UNEXPECTED_TOKEN",`Unexpected ${R.source} in ${t??"collection"}`),A=R,c=n==="seq-item-ind"||n==="explicit-key-ind",u=!1;break;case"comma":if(t){S&&i(R,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),S=R,c=!1,u=!1;break}default:i(R,"UNEXPECTED_TOKEN",`Unexpected ${R.type} token`),c=!1,u=!1}const _=e[e.length-1],C=_?_.offset+_.source.length:a;return p&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=o||(r==null?void 0:r.type)==="block-map"||(r==null?void 0:r.type)==="block-seq")&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:S,found:A,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:v,newlineAfterProp:k,end:C,start:E??C}}function s0(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(` 2366`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;
2366if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(s0(t.key)||s0(t.value))return!0}return!1;default:return!0}}function ix(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&s0(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Fq(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const a=typeof r=="function"?r:(i,o)=>i===o||Zn(i)&&Zn(o)&&i.value===o.value;return t.some(i=>a(i.key,n))}const A$="All mapping items must start at the same column";function yut({composeNode:e,composeEmptyNode:t},n,r,a,i){var u;const o=(i==null?void 0:i.nodeClass)??oo,s=new o(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const d of r.items){const{start:f,key:h,sep:p,value:m}=d,g=Eh(f,{indicator:"explicit-key-ind",next:h??(p==null?void 0:p[0]),offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0}),v=!g.found;if(v){if(h&&(h.type==="block-seq"?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==r.indent&&a(l,"BAD_INDENT",A$)),!g.anchor&&!g.tag&&!p){c=g.end,g.comment&&(s.comment?s.comment+=` 2367`+g.comment:s.comment=g.comment);continue}(g.newlineAfterProp||s0(h))&&a(h??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((u=g.found)==null?void 0:u.indent)!==r.indent&&a(l,"BAD_INDENT",A$);n.atKey=!0;const k=g.end,S=h?e(n,h,g,a):t(n,k,f,null,g,a);n.schema.compat&&ix(r.indent,h,a),n.atKey=!1,Fq(n,s.items,S)&&a(k,"DUPLICATE_KEY","Map keys must be unique");const A=Eh(p??[],{indicator:"map-value-ind",next:m,offset:S.range[2],onError:a,parentIndent:r.indent,startOnNewline:!h||h.type==="block-scalar"});if(l=A.end,A.found){v&&((m==null?void 0:m.type)==="block-map"&&!A.hasNewline&&a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&g.start<A.found.offset-1024&&a(S.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const E=m?e(n,m,A,a):t(n,l,p,null,A,a);n.schema.compat&&ix(r.indent,m,a),l=E.range[2];const _=new ni(S,E);n.options.keepSourceTokens&&(_.srcToken=d),s.items.push(_)}else{v&&a(S.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),A.comment&&(S.comment?S.c
2367omment+=` 2368`+A.comment:S.comment=A.comment);const E=new ni(S);n.options.keepSourceTokens&&(E.srcToken=d),s.items.push(E)}}return c&&c<l&&a(c,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,l,c??l],s}function vut({composeNode:e,composeEmptyNode:t},n,r,a,i){const o=(i==null?void 0:i.nodeClass)??Zc,s=new o(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=r.offset,c=null;for(const{start:u,value:d}of r.items){const f=Eh(u,{indicator:"seq-item-ind",next:d,offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0});if(!f.found)if(f.anchor||f.tag||d)(d==null?void 0:d.type)==="block-seq"?a(f.end,"BAD_INDENT","All sequence items must start at the same column"):a(l,"MISSING_CHAR","Sequence item without - indicator");else{c=f.end,f.comment&&(s.comment=f.comment);continue}const h=d?e(n,d,f,a):t(n,f.end,u,null,f,a);n.schema.compat&&ix(r.indent,d,a),l=h.range[2],s.items.push(h)}return s.range=[r.offset,l,c??l],s}function y1(e,t,n,r){let a="";if(e){let i=!1,o="";for(const s of e){const{source:l,type:c}=s;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const u=l.substring(1)||" ";a?a+=o+u:a=u,o="";break}case"newline":a&&(o+=l),i=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=l.length}}return{comment:a,offset:t}}const rS="Block collections are not allowed within flow collections",aS=e=>e&&(e.type==="block-map"||e.type==="block-seq");function Out({composeNode:e,composeEmptyNode:t},n,r,a,i){var g;const o=r.start.source==="{",s=o?"flow map":"flow sequence",l=(i==null?void 0:i.nodeClass)??(o?oo:Zc),c=new l(n.schema);c.flow=!0;const u=n.atRoot;u&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let d=r.offset+r.start.source.length;for(let v=0;v<r.items.length;++v){const k=r.items[v],{start:S,key:A,sep:E,value:_}=k,C=Eh(S,{flow:s,indicator:"explicit-key-ind",next:A??(E==null?void 0:E[0]),offset:d,onError:a,parentIndent:r.indent,startOnNewline:!1});if(!C.found){if(!C.anchor&&!C.tag&&!E&&!_){v===0&&C.comma?a(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):v<r.items.length-1&&a(C.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),C.comment&&(c.comment?c.comment+=` 2369`+C.comment:c.comment=C.comment),d=C.end;continue}!o&&n.options.strict&&s0(A)&&a(A,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(v===0)C.comma&&a(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(C.comma||a(C.start,"MISSING_CHAR",`Missing , between ${s} items`),C.comment){let R="";e:for(const B of S)switch(B.type){case"comma":case"space":break;case"comment":R=B.source.substring(1);break e;default:break e}if(R){let B=c.items[c.items.length-1];gr(B)&&(B=B.value??B.key),B.comment?B.comment+=` 2370`+R:B.comment=R,C.comment=C.comment.substring(R.length+1)}}if(!o&&!E&&!C.found){const R=_?e(n,_,C,a):t(n,C.end,E,null,C,a);c.items.push(R),d=R.range[2],aS(_)&&a(R.range,"BLOCK_IN_FLOW",rS)}else{n.atKey=!0;const R=C.end,B=A?e(n,A,C,a):t(n,R,S,null,C,a);aS(A)&&a(B.range,"BLOCK_IN_FLOW",rS),n.atKey=!1;const L=Eh(E??[],{flow:s,indicator:"map-value-ind",next:_,offset:B.range[2],onError:a,parentIndent:r.indent,startOnNewline:!1});if(L.found){if(!o&&!C.found&&n.options.strict){if(E)for(const ee of E){if(ee===L.found)break;if(ee.type==="newline"){a(ee,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}C.start<L.found.offset-1024&&a(L.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else _&&("source"in _&&((g=_.source)==null?void 0:g[0])===":"?a(_,"MISSING_CHAR",`Missing space after : in ${s}`):a(L.start,"MISSING_CHAR",`Missing , or : between ${s} items`));const V=_?e(n,_,L,a):L.found?t(n,L.end,E,null,L,a):null;V?aS(_)&&a(V.range,"BLOCK_IN_FLOW",rS):L.comment&&(B.comment?B.comment+=` 2371`+L.comment:B.comment=L.comment);const Q=new ni(B,V);if(n.options.keepSourceTokens&&(Q.srcToken=k),o){const ee=c;Fq(n,ee.items,B)&&a(R,"DUPLICATE_KEY","Map keys must be unique"),ee.items.push(Q)}else{const ee=new oo(n.schema);
2371ee.flow=!0,ee.items.push(Q);const ne=(V??B).range;ee.range=[B.range[0],ne[1],ne[2]],c.items.push(ee)}d=V?V.range[2]:L.end}}const f=o?"}":"]",[h,...p]=r.end;let m=d;if((h==null?void 0:h.source)===f)m=h.offset+h.source.length;else{const v=s[0].toUpperCase()+s.substring(1),k=u?`${v} must end with a ${f}`:`${v} in block collection must be sufficiently indented and end with a ${f}`;a(d,u?"MISSING_CHAR":"BAD_INDENT",k),h&&h.source.length!==1&&p.unshift(h)}if(p.length>0){const v=y1(p,m,n.options.strict,a);v.comment&&(c.comment?c.comment+=` 2372`+v.comment:c.comment=v.comment),c.range=[r.offset,m,v.offset]}else c.range=[r.offset,m,m];return c}function iS(e,t,n,r,a,i){const o=n.type==="block-map"?yut(e,t,n,r,i):n.type==="block-seq"?vut(e,t,n,r,i):Out(e,t,n,r,i),s=o.constructor;return a==="!"||a===s.tagName?(o.tag=s.tagName,o):(a&&(o.tag=a),o)}function Sut(e,t,n,r,a){var f;const i=r.tag,o=i?t.directives.tagName(i.source,h=>a(i,"TAG_RESOLVE_FAILED",h)):null;if(n.type==="block-seq"){const{anchor:h,newlineAfterProp:p}=r,m=h&&i?h.offset>i.offset?h:i:h??i;m&&(!p||p.offset<m.offset)&&a(m,"MISSING_CHAR","Missing newline after block sequence props")}const s=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!i||!o||o==="!"||o===oo.tagName&&s==="map"||o===Zc.tagName&&s==="seq")return iS(e,t,n,a,o);let l=t.schema.tags.find(h=>h.tag===o&&h.collection===s);if(!l){const h=t.schema.knownTags[o];if((h==null?void 0:h.collection)===s)t.schema.tags.push(Object.assign({},h,{default:!1})),l=h;else return h?a(i,"BAD_COLLECTION_TYPE",`${h.tag} used for ${s} collection, but expects ${h.collection??"scalar"}`,!0):a(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),iS(e,t,n,a,o)}const c=iS(e,t,n,a,o,l),u=((f=l.resolve)==null?void 0:f.call(l,c,h=>a(i,"TAG_RESOLVE_FAILED",h),t.options))??c,d=Tr(u)?u:new zt(u);return d.range=c.range,d.tag=o,l!=null&&l.format&&(d.format=l.format),d}function Qq(e,t,n){const r=t.offset,a=wut(t,e.options.strict,n);if(!a)return{value:"",type:null,comment:"",range:[r,r,r]};const i=a.mode===">"?zt.BLOCK_FOLDED:zt.BLOCK_LITERAL,o=t.source?xut(t.source):[];let s=o.length;for(let m=o.length-1;m>=0;--m){const g=o[m][1];if(g===""||g==="\r")s=m;else break}if(s===0){const m=a.chomp==="+"&&o.length>0?` 2373`.repeat(Math.max(1,o.length-1)):"";let g=r+a.length;return t.source&&(g+=t.source.length),{value:m,type:i,comment:a.comment,range:[r,g,g]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0;for(let m=0;m<s;++m){const[g,v]=o[m];if(v===""||v==="\r")a.indent===0&&g.length>l&&(l=g.length);else{g.length<l&&n(c+g.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),a.indent===0&&(l=g.length),u=m,l===0&&!e.atRoot&&n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=g.length+v.length+1}for(let m=o.length-1;m>=s;--m)o[m][0].length>l&&(s=m+1);let d="",f="",h=!1;for(let m=0;m<u;++m)d+=o[m][0].slice(l)+` 2374`;for(let m=u;m<s;++m){let[g,v]=o[m];c+=g.length+v.length+1;const k=v[v.length-1]==="\r";if(k&&(v=v.slice(0,-1)),v&&g.length<l){const A=`Block scalar lines must not be less indented than their ${a.indent?"explicit indentation indicator":"first line"}`;n(c-v.length-(k?2:1),"BAD_INDENT",A),g=""}i===zt.BLOCK_LITERAL?(d+=f+g.slice(l)+v,f=` 2375`):g.length>l||v[0]===" "?(f===" "?f=` 2376`:!h&&f===` 2377`&&(f=` 2378 2379`),d+=f+g.slice(l)+v,f=` 2380`,h=!0):v===""?f===` 2381`?d+=` 2382`:f=` 2383`:(d+=f+v,f=" ",h=!1)}switch(a.chomp){case"-":break;case"+":for(let m=s;m<o.length;++m)d+=` 2384`+o[m][0].slice(l);d[d.length-1]!==` 2385`&&(d+=` 2386`);break;default:d+=` 2387`}const p=r+a.length+t.source.length;return{value:d,type:i,comment:a.comment,range:[r,p,p]}}function wut({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:a}=t[0],i=a[0];let o=0,s="",l=-1;for(let f=1;f<a.length;++f){const h=a[f];if(!s&&(h==="-"||h==="+"))s=h;else{const p=Number(h);!o&&p?o=p:l===-1&&(l=e+f)}}l!==-1&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${a}`);let c=!1,u="",d=a.length;for(let f=1;f<t.length;++f){const h=t[f];switch(h.type){case"space":c=!0;case"newline":d+=h.source.length;break;case"comment":n&&!c&&r(h,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=h.source.length,u=h.source.substring(1);break;case"error":r(h,"UNEXPECTED_TOKEN",h.message),d+=h.source.length;break;default:{const p=`Unexpected token in block scalar header: ${h.type}`;r(h,"UNEXPECTED_TOKEN",p);const m=h.source;m&&typeof m=="string"&&(d+=m.length)}}}return{mode:i,indent:o,chomp:s,comment:u,length:d}}function xut(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),i=[r!=null&&r[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let o=1;o<t.length;o+=2)i.push([t[o],t[o+1]]);return i}function zq(e,t,n){const{offset:r,type:a,source:i,end:o}=e;let s,l;const c=(f,h,p)=>n(r+f,h,p);switch(a){case"scalar":s=zt.PLAIN,l=kut(i,c);break;case"single-quoted-scalar":s=zt.QUOTE_SINGLE,l=Aut(i,c);break;case"double-quoted-scalar":s=zt.QUOTE_DOUBLE,l=Tut(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,d=y1(o,u,t,n);return{value:l,type:s,comment:d.comment,range:[r,u,d.offset]}}function kut(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Hq(e)}function Aut(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Hq(e.slice(1,-1)).replace(/''/g,"'")}function Hq(e){const t=/(.*?)\r?\n/sy;let n=t.exec(e);if(!n)return e;let r,a;try{r=new RegExp("(?<![ ])[ ]+$"),a=new RegExp("^[ ]+|(?<![ ])[ ]+$","g")}catch{r=/[ \t]+$/,a=/^[ \t]+|[ \t]+$/g}let i=n[1].replace(r,""),o=" ",s=t.lastIndex;for(;n=t.exec(e);){const c=n[1].replace(a,"");c===""?o===` 2388`?i+=o:o=` 2389`:(i+=o+c,o=" "),s=t.lastIndex}const l=/[ \t]*(.*)/sy;return l.lastIndex=s,n=l.exec(e),i+o+((n==null?void 0:n[1])??"")}function Tut(e,t){let n="";for(let r=1;r<e.length-1;++r){const a=e[r];if(!(a==="\r"&&e[r+1]===` 2390`))if(a===` 2391`){const{fold:i,offset:o}=Eut(e,r);n+=i,r=o}else if(a==="\\"){let i=e[++r];const o=_ut[i];if(o)n+=o;else if(i===` 2392`)for(i=e[r+1];i===" "||i===" ";)i=e[++r+1];else if(i==="\r"&&e[r+1]===` 2393`)for(i=e[++r+1];i===" "||i===" ";)i=e[++r+1];else if(i==="x"||i==="u"||i==="U"){const s=i==="x"?2:i==="u"?4:8;n+=Cut(e,r+1,s,t),r+=s}else{const s=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),n+=s}}else if(a===" "||a===" "){const i=r;let o=e[r+1];for(;o===" "||o===" ";)o=e[++r+1];o!==` 2394`&&!(o==="\r"&&e[r+2]===` 2395`)&&(n+=r>i?e.slice(i,r+1):a)}else n+=a}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function Eut(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===` 2396`||r==="\r")&&!(r==="\r"&&e[t+2]!==` 2397`);)r===` 2398`&&(n+=` 2399`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const _ut={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:` 2400`,r:"\r",t:" ",v:"\v",N:"Â ",_:"Â ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Cut(e,t,n,r){const a=e.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;try{return String.fromCodePoint(o)}catch{const s=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${s}`),s}}function Vq(e,t,n,r){const{value:a,type:i,comment:o,range:s}=t.type==="block-scalar"?Qq(e,t,r):zq(t,e.options.strict,r),l=n?e.directives.tagName(n.source,d=>r(n,"TAG_RESOLVE_FAILED",d)):null;
2400let c;e.options.stringKeys&&e.atKey?c=e.schema[vl]:l?c=$ut(e.schema,a,l,n,r):t.type==="scalar"?c=Put(e,a,t,r):c=e.schema[vl];let u;try{const d=c.resolve(a,f=>r(n??t,"TAG_RESOLVE_FAILED",f),e.options);u=Zn(d)?d:new zt(d)}catch(d){const f=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",f),u=new zt(a)}return u.range=s,u.source=a,i&&(u.type=i),l&&(u.tag=l),c.format&&(u.format=c.format),o&&(u.comment=o),u}function $ut(e,t,n,r,a){var s;if(n==="!")return e[vl];const i=[];for(const l of e.tags)if(!l.collection&&l.tag===n)if(l.default&&l.test)i.push(l);else return l;for(const l of i)if((s=l.test)!=null&&s.test(t))return l;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[vl])}function Put({atKey:e,directives:t,schema:n},r,a,i){const o=n.tags.find(s=>{var l;return(s.default===!0||e&&s.default==="key")&&((l=s.test)==null?void 0:l.test(r))})||n[vl];if(n.compat){const s=n.compat.find(l=>{var c;return l.default&&((c=l.test)==null?void 0:c.test(r))})??n[vl];if(o.tag!==s.tag){const l=t.tagString(o.tag),c=t.tagString(s.tag),u=`Value may be parsed as either ${l} or ${c}`;i(a,"TAG_RESOLVE_FAILED",u,!0)}}return o}function Iut(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let a=t[r];switch(a.type){case"space":case"comment":case"newline":e-=a.source.length;continue}for(a=t[++r];(a==null?void 0:a.type)==="space";)e+=a.source.length,a=t[++r];break}}return e}const Rut={composeNode:qq,composeEmptyNode:Nk};function qq(e,t,n,r){const a=e.atKey,{spaceBefore:i,comment:o,anchor:s,tag:l}=n;let c,u=!0;switch(t.type){case"alias":c=Nut(e,t,r),(s||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Vq(e,t,l,r),s&&(c.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{c=Sut(Rut,e,t,n,r),s&&(c.anchor=s.source.substring(1))}catch(d){const f=d instanceof Error?d.message:String(d);r(t,"RESOURCE_EXHAUSTION",f)}break;default:{const d=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",d),u=!1}}return c??(c=Nk(e,t.offset,void 0,null,n,r)),s&&c.anchor===""&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),a&&e.options.stringKeys&&(!Zn(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&r(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(c.spaceBefore=!0),o&&(t.type==="scalar"&&t.source===""?c.comment=o:c.commentBefore=o),e.options.keepSourceTokens&&u&&(c.srcToken=t),c}function Nk(e,t,n,r,{spaceBefore:a,comment:i,anchor:o,tag:s,end:l},c){const u={type:"scalar",offset:Iut(t,n,r),indent:-1,source:""},d=Vq(e,u,s,c);return o&&(d.anchor=o.source.substring(1),d.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(d.spaceBefore=!0),i&&(d.comment=i,d.range[2]=l),d}function Nut({options:e},{offset:t,source:n,end:r},a){const i=new Kv(n.substring(1));i.source===""&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&a(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,s=y1(r,o,e.strict,a);return i.range=[t,o,s.offset],s.comment&&(i.comment=s.comment),i}function Mut(e,t,{offset:n,start:r,value:a,end:i},o){const s=Object.assign({_directives:t},e),l=new sO(void 0,s),c={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Eh(r,{indicator:"doc-start",next:a??(i==null?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,a&&(a.type==="block-map"||a.type==="block-seq")&&!u.hasNewline&&o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?qq(c,a,u,o):Nk(c,u.end,r,null,u,o);const d=l.contents.range[2],f=y1(i,d,!1,o);return f.comment&&(l.comment=f.comment),l.range=[n,d,f.offset],l}function Qp(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function T$(e){var a;let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const o=e[i];switch(o[0]){case"#":t+=(t===""?"":r?` 2401 2402`:` 2403`)+(o.substring(1)||" "),n=!0,r=!1;break;case"%":((a=e[i+1])==null?void 0:a[0])!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Mk{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,a,i)=>{const o=Qp(n);i?this.warnings.push(new jq(o,r,a)):this.errors.push(new Gu(o,r,a))},this.directives=new mi({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:a}=T$(this.prelude);if(r){const i=t.contents;if(n)t.comment=t.comment?`${t.comment} 2404${r}`:r;else if(a||t.directives.docStart||!i)t.commentBefore=r;else if(kr(i)&&!i.flow&&i.items.length>0){let o=i.items[0];gr(o)&&(o=o.key);const s=o.commentBefore;o.commentBefore=s?`${r} 2405${s}`:r}else{const o=i.commentBefore;i.commentBefore=o?`${r} 2406${o}`:r}}if(n){for(let i=0;i<this.errors.length;++i)t.errors.push(this.errors[i]);for(let i=0;i<this.warnings.length;++i)t.warnings.push(this.warnings[i])}else t.errors=this.errors,t.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:T$(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const a of t)yield*this.next(a);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,a)=>{const i=Qp(t);i[0]+=n,this.onError(i,"BAD_DIRECTIVE",r,a)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=Mut(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Gu(Qp(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Gu(Qp(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=y1(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r} 2407${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Gu(Qp(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),a=new sO(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),a.range=[0,n,n],this.decorate(a,!1),yield a}}}
2407function Lut(e,t=!0,n){if(e){const r=(a,i,o)=>{const s=typeof a=="number"?a:Array.isArray(a)?a[0]:a.offset;if(n)n(s,i,o);else throw new Gu([s,s+1],i,o)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return zq(e,t,r);case"block-scalar":return Qq({options:{strict:t}},e,r)}}return null}function Dut(e,t){const{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:i=-1,type:o="PLAIN"}=t,s=g1({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:` 2408`}];switch(s[0]){case"|":case">":{const c=s.indexOf(` 2409`),u=s.substring(0,c),d=s.substring(c+1)+` 2410`,f=[{type:"block-scalar-header",offset:i,indent:r,source:u}];return Zq(f,l)||f.push({type:"newline",offset:-1,indent:r,source:` 2411`}),{type:"block-scalar",offset:i,indent:r,props:f,source:d}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:s,end:l};default:return{type:"scalar",offset:i,indent:r,source:s,end:l}}}function But(e,t,n={}){let{afterKey:r=!1,implicitKey:a=!1,inFlow:i=!1,type:o}=n,s="indent"in e?e.indent:null;if(r&&typeof s=="number"&&(s+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const c=e.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const l=g1({type:o,value:t},{implicitKey:a||s===null,indent:s!==null&&s>0?" ".repeat(s):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":Uut(e,l);break;case'"':oS(e,l,"double-quoted-scalar");break;case"'":oS(e,l,"single-quoted-scalar");break;default:oS(e,l,"scalar")}}function Uut(e,t){const n=t.indexOf(` 2412`),r=t.substring(0,n),a=t.substring(n+1)+` 2413`;if(e.type==="block-scalar"){const i=e.props[0];if(i.type!=="block-scalar-header")throw new Error("Invalid block scalar header");i.source=r,e.source=a}else{const{offset:i}=e,o="indent"in e?e.indent:-1,s=[{type:"block-scalar-header",offset:i,indent:o,source:r}];Zq(s,"end"in e?e.end:void 0)||s.push({type:"newline",offset:-1,indent:o,source:` 2414`});for(const l of Object.keys(e))l!=="type"&&l!=="offset"&&delete e[l];Object.assign(e,{type:"block-scalar",indent:o,props:s,source:a})}}function Zq(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function oS(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let a=t.length;e.props[0].type==="block-scalar-header"&&(a-=e.props[0].source.length);for(const i of r)i.offset+=a;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const a={type:"newline",offset:e.offset+t.length,indent:e.indent,source:` 2415`};delete e.items,Object.assign(e,{type:n,source:t,end:[a]});break}default:{const r="indent"in e?e.indent:-1,a="end"in e&&Array.isArray(e.end)?e.end.filter(i=>i.type==="space"||i.type==="comment"||i.type==="newline"):[];for(const i of Object.keys(e))i!=="type"&&i!=="offset"&&delete e[i];Object.assign(e,{type:n,indent:r,source:t,end:a})}}}const jut=e=>"type"in e?Ub(e):S2(e);function Ub(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Ub(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=S2(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=S2(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=S2(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function S2({start:e,key:t,sep:n,value:r}){let a="";for(const i of e)a+=i.source;if(t&&(a+=Ub(t)),n)for(const i of n)a+=i.source;return r&&(a+=Ub(r)),a}const ox=Symbol("break visit"),Fut=Symbol("skip children"),Xq=Symbol("remove item");function yd(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Wq(Object.freeze([]),e,t)}yd.BREAK=ox;yd.SKIP=Fut;yd.REMOVE=Xq;yd.itemAtPath=(e,t)=>{let n=e;for(const[r,a]of t){const i=n==null?void 0:n[r];if(i&&"items"in i)n=i.items[a];else return}return n};yd.parentCollection=(e,t)=>{const n=yd.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n==null?void 0:n[r];if(a&&"items"in a)return a;throw new Error("Parent collection not found")};function Wq(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const a of["key","value"]){const i=t[a];if(i&&"items"in i){for(let o=0;o<i.items.length;++o){const s=Wq(Object.freeze(e.concat([[a,o]])),i.items[o],n);if(typeof s=="number")o=s-1;else{if(s===ox)return ox;s===Xq&&(i.items.splice(o,1),o-=1)}}typeof r=="function"&&a==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const lO="\uFEFF",cO="�",uO="�",l0="�",Qut=e=>!!e&&"items"in e,zut=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function Hut(e){switch(e){case lO:return"<BOM>";case cO:return"<DOC>";case uO:return"<FLOW_END>";case l0:return"<SCALAR>";default:return JSON.stringify(e)}}function Yq(e){switch(e){case lO:return"byte-order-mark";case cO:return"doc-mode";case uO:return"flow-error-end";case l0:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case` 2416`:case`\r 2417`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";
2417case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const Vut=Object.freeze(Object.defineProperty({__proto__:null,BOM:lO,DOCUMENT:cO,FLOW_END:uO,SCALAR:l0,createScalarToken:Dut,isCollection:Qut,isScalar:zut,prettyToken:Hut,resolveAsScalar:Lut,setScalarValue:But,stringify:jut,tokenType:Yq,visit:yd},Symbol.toStringTag,{value:"Module"}));function ts(e){switch(e){case void 0:case" ":case` 2418`:case"\r":case" ":return!0;default:return!1}}const E$=new Set("0123456789ABCDEFabcdef"),qut=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Ag=new Set(",[]{}"),Zut=new Set(` ,[]{} 2419\r `),sS=e=>!e||Zut.has(e);class Gq{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===` 2420`?!0:n==="\r"?this.buffer[t+1]===` 2421`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const a=this.buffer[r+t+1];if(a===` 2422`||!a&&!this.atEnd)return t+r+1}return n===` 2423`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&ts(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(` 2424`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===lO&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const i=t[r-1];if(i===" "||i===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const i=t[n-1];if(i===" "||i===" ")n-=1;else break}const a=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-a),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield cO,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&ts(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!ts(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&ts(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";
2424case"*":return yield*this.pushUntil(sS),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const a=this.getLine();if(a===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&a[0]!=="#"||r===0&&(a.startsWith("---")||a.startsWith("..."))&&ts(a[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(a[0]==="]"||a[0]==="}")))return this.flowLevel=0,yield uO,yield*this.parseLineStart();let i=0;for(;a[i]===",";)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i+=yield*this.pushIndicators(),a[i]){case void 0:return"flow";case"#":return yield*this.pushCount(a.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(sS),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||ts(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let i=0;for(;this.buffer[n-1-i]==="\\";)i+=1;if(i%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let a=r.indexOf(` 2425`,this.pos);if(a!==-1){for(;a!==-1;){const i=this.continueScalar(a+1);if(i===-1)break;a=r.indexOf(` 2426`,i)}a!==-1&&(n=a-(r[a-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>ts(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case` 2427`:t=i,n=0;break;case"\r":{const o=this.buffer[i+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===` 2428`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(` 2429`,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let a=t+1;for(r=this.buffer[a];r===" ";)r=this.buffer[++a];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===` 2430`;)r=this.buffer[++a];t=a-1}else if(!this.blockScalarKeep)do{let i=t-1,o=this.buffer[i];o==="\r"&&(o=this.buffer[--i]);const s=i;for(;o===" ";)o=this.buffer[--i];if(o===` 2431`&&i>=this.pos&&i+1+n>s)t=i;else break}while(!0);return yield l0,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,a;for(;a=this.buffer[++r];)if(a===":"){const i=this.buffer[r+1];if(ts(i)||t&&Ag.has(i))break;n=r}else if(ts(a)){let i=this.buffer[r+1];if(a==="\r"&&(i===` 2432`?(r+=1,a=` 2433`,i=this.buffer[r+1]):n=r),i==="#"||t&&Ag.has(i))break;if(a===` 2434`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&Ag.has(a))break;n=r}return!a&&!this.atEnd?this.setNext("plain-scalar"):(yield l0,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){let t=0;e:for(;;){switch(this.charAt(0)){case"!":t+=yield*this.pushTag(),t+=yield*this.pushSpaces(!0);continue e;
2434case"&":t+=yield*this.pushUntil(sS),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const n=this.flowLevel>0,r=this.charAt(1);if(ts(r)||n&&Ag.has(r)){n?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,t+=yield*this.pushCount(1),t+=yield*this.pushSpaces(!0);continue e}}}break e}return t}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!ts(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(qut.has(n))n=this.buffer[++t];else if(n==="%"&&E$.has(this.buffer[t+1])&&E$.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===` 2435`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===` 2436`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const a=n-this.pos;return a>0&&(yield this.buffer.substr(this.pos,a),this.pos=n),a}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Kq{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const i=n+r>>1;this.lineStarts[i]<t?n=i+1:r=i}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const a=this.lineStarts[n-1];return{line:n,col:t-a+1}}}}function Ac(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function _$(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Jq(e){switch(e==null?void 0:e.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Tg(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function df(e){var n;if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function jb(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function C$(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Ac(t.start,"explicit-key-ind")&&!Ac(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Jq(t.value)?t.value.end?jb(t.value.end,t.sep):t.value.end=t.sep:jb(t.start,t.sep),delete t.sep)}let Lk=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Gq,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=Yq(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(t==null?void 0:t.type)!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&C$(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const a=r.items[r.items.length-1];if(a.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(a.sep)a.value=n;else{Object.assign(a,{key:n,sep:[]}),this.onKeyLine=!a.explicitKey;return}break}case"block-seq":{const a=r.items[r.items.length-1];a.value?r.items.push({start:[],value:n}):a.value=n;break}case"flow-collection":{const a=r.items[r.items.length-1];!a||a.value?r.items.push({start:[],key:n,sep:[]}):a.sep?a.value=n:Object.assign(a,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const a=n.items[n.items.length-1];a&&!a.sep&&!a.value&&a.start.length>0&&_$(a.start)===-1&&(n.indent===0||a.start.every(i=>i.type!=="comment"||i.indent<n.indent))&&(r.type==="document"?r.end=a.start:r.items.push({start:a.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{_$(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}
2436*scalar(t){if(this.type==="map-value-ind"){const n=Tg(this.peek(2)),r=df(n);let a;t.end?(a=t.end,a.push(this.sourceToken),delete t.end):a=[this.sourceToken];const i={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(` 2437`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 2438`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const a="end"in n.value?n.value.end:void 0,i=Array.isArray(a)?a[a.length-1]:void 0;(i==null?void 0:i.type)==="comment"?a==null||a.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const a=t.items[t.items.length-2],i=(r=a==null?void 0:a.value)==null?void 0:r.end;if(Array.isArray(i)){jb(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const a=!this.onKeyLine&&this.indent===t.indent,i=a&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let o=[];if(i&&n.sep&&!n.value){const s=[];for(let l=0;l<n.sep.length;++l){const c=n.sep[l];switch(c.type){case"newline":s.push(l);break;case"space":break;case"comment":c.indent>t.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(o=n.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(o.push(this.sourceToken),t.items.push({start:o}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(o.push(this.sourceToken),t.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ac(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(Jq(n.key)&&!Ac(n.sep,"newline")){const s=df(n.start),l=n.key,c=n.sep;c.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:l,sep:c}]})}else o.length>0?n.sep=n.sep.concat(o,this.sourceToken):n.sep.push(this.sourceToken);else if(Ac(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const s=df(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:o,key:null,sep:[this.sourceToken]}):Ac(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);i||n.value?(t.items.push({start:o,key:s,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(s):(Object.assign(n,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{const s=this.startBlockValue(t);if(s){if(s.type==="block-seq"){if(!n.explicitKey&&n.sep&&!Ac(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else a&&t.items.push({start:o});this.stack.push(s);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const a="end"in n.value?n.value.end:void 0,i=Array.isArray(a)?a[a.length-1]:void 0;(i==null?void 0:i.type)==="comment"?a==null||a.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const a=t.items[t.items.length-2],i=(r=a==null?void 0:a.value)==null?void 0:r.end;if(Array.isArray(i)){jb(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;
2438case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Ac(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const a=this.startBlockValue(t);if(a){this.stack.push(a);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while((r==null?void 0:r.type)==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:a,sep:[]}):n.sep?this.stack.push(a):Object.assign(n,{key:a,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const a=Tg(r),i=df(a);C$(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(` 2439`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(` 2440`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Tg(t),r=df(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Tg(t),r=df(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};function eZ(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Kq||null,prettyErrors:t}}function Xut(e,t={}){const{lineCounter:n,prettyErrors:r}=eZ(t),a=new Lk(n==null?void 0:n.addNewLine),i=new Mk(t),o=Array.from(i.compose(a.parse(e)));if(r&&n)for(const s of o)s.errors.forEach(Bb(e,n)),s.warnings.forEac
2440h(Bb(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())}function tZ(e,t={}){const{lineCounter:n,prettyErrors:r}=eZ(t),a=new Lk(n==null?void 0:n.addNewLine),i=new Mk(t);let o=null;for(const s of i.compose(a.parse(e),!0,e.length))if(!o)o=s;else if(o.options.logLevel!=="silent"){o.errors.push(new Gu(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(Bb(e,n)),o.warnings.forEach(Bb(e,n))),o}function Dk(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const a=tZ(e,n);if(!a)return null;if(a.warnings.forEach(i=>bq(a.options.logLevel,i)),a.errors.length>0){if(a.options.logLevel!=="silent")throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function nZ(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const a=Math.round(n);n=a<1?void 0:a>8?{indent:8}:{indent:a}}if(e===void 0){const{keepUndefined:a}=n??t??{};if(!a)return}return Vd(e)&&!r?e.toString(n):new sO(e,r,n).toString(n)}const Wut=Object.freeze(Object.defineProperty({__proto__:null,Alias:Kv,CST:Vut,Composer:Mk,Document:sO,Lexer:Gq,LineCounter:Kq,Pair:ni,Parser:Lk,Scalar:zt,Schema:Dq,YAMLError:Rk,YAMLMap:oo,YAMLParseError:Gu,YAMLSeq:Zc,YAMLWarning:jq,isAlias:Hd,isCollection:kr,isDocument:Vd,isMap:dp,isNode:Tr,isPair:gr,isScalar:Zn,isSeq:fp,parse:Dk,parseAllDocuments:Xut,parseDocument:tZ,stringify:nZ,visit:qd,visitAsync:Gv},Symbol.toStringTag,{value:"Module"})),rZ={parse:e=>{const t=Dk(e,{merge:!0,maxAliasCount:1e4});if(typeof t!="object")throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return rZ.parse(e)}catch(n){return typeof t=="function"?t(n):t}},stringify:nZ},aZ={parse:e=>{const t=JSON.parse(e);if(typeof t!="object")throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return aZ.parse(e)}catch(n){return typeof t=="function"?t(n):t}},stringify:e=>JSON.stringify(e)};function R4t(e){const t=e.trim();if(t[0]!=="{"&&t[0]!=="[")return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}const Yut=e=>{if(typeof e!="string")return e;const t=aZ.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return rZ.parseSafe(e,n=>{throw Error(n)})};var Gut=e=>{var t;return!!((t=e.url)!=null&&t.trim())||!!e.content},Kut=e=>{const{slug:t}=Sb(),n={};return e&&(Array.isArray(e)?e:[e]).flatMap(r=>{if(XJ(r)){const{sources:a,...i}=r;return(a==null?void 0:a.map(o=>({...i,...o})))??[]}return[r]}).map(r=>Qct(r)).filter(Gut).map((r,a)=>Jut(r,a,t)).forEach(r=>{const{url:a,content:i,...o}=r;n[r.slug]={config:o,title:r.title,slug:r.slug,default:!!(r!=null&&r.default),agent:r.agent,source:i?{content:iZ(i)??{}}:{url:a}}}),n},iZ=e=>e?typeof e=="function"?iZ(e()):typeof e=="string"?Yut(e):e:null,Jut=(e,t=0,n)=>e.title?{...e,slug:e.slug||n(e.title),title:e.title}:e.slug?{...e,slug:n(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`},edt=e=>typeof window>"u"?Mr(e):window.structuredClone(e),tdt=({configurations:e,sourceStore:t,clientStore:n})=>{ze(()=>Object.values(Ve(e)).map(({slug:r,config:a})=>({slug:r,servers:Mr(a.servers),document:n.workspace.documents[r]})),(r,a=[])=>{for(const{slug:i,servers:o,document:s}of r){if(!ti(s))continue;const l=a.find(c=>c.slug===i);if(!((l==null?void 0:l.document)===s&&ab(l.servers,o))){if(o!==void 0)s.servers=Mr(o);else if((l==null?void 0:l.servers)!==void 0){const c=t.workspace.documents[i];s.servers=ti(c)?Mr(c.servers):void 0}}}},{immediate:!0,flush:"sync"})},ndt=["href"],rdt=F({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){const t=$(()=>{var i,o;const n=e.url??(typeof window<"u"?window.location.href:void 0);if(!n)return;const r=zv(n);if(!(r!=null&&r.length))return;const a=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(a.searchParams.set("url",r),(i=e.operationPath)!=null&&i.length&&((o=e.operationMethod)!=null&&o.length)&&(a.searchParams.set("operation_path",e.operationPath),a.searchParams.set("operation_method",e.operationMethod.toLowerCase())),e.integration!==null&&a.searchParams.set("integration",e.integration??"vue"),a.searchParams.set("utm_source","api-reference"),a.searchParams.set("utm_medium","button"),a.searchParams.set("utm_campaign",e.buttonSource),e.source==="gitbook"){a.searchParams.set("utm_source","gitbook");const s=document.querySelector("img.dark\\:block[alt='Logo']"),l=d
2440ocument.querySelector("img.dark\\:hidden[alt='Logo']");s&&s instanceof HTMLImageElement&&a.searchParams.set("dark_logo",encodeURIComponent(s.src)),l&&l instanceof HTMLImageElement&&a.searchParams.set("light_logo",encodeURIComponent(l.src))}return a.toString()});return(n,r)=>t.value?(y(),w("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[N(b(a2),{class:"size-3",weight:"regular"}),r[0]||(r[0]=ae(" Open API Client ",-1))],8,ndt)):U("",!0)}}),adt=Qv(rdt,[["__scopeId","data-v-cd067f84"]]),oZ={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json",preview:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/x-ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/json":{extension:".json",raw:!0,language:"json",preview:"json"},"text/plain":{extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"},"video/x-msvideo":{extension:".avi"}},N4t=Object.entries(oZ).filter(([,e])=>e==null?void 0:e.raw).map(([e])=>e);function idt(e){const t=oZ[e];if(t)return t;if(e.endsWith("+json"))return{extension:".json",raw:!0,language:"json",preview:"json"}}function M4t(e){var t;return!!((t=idt(e))!=null&&t.raw)}let sx=[],sZ=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5".split(",").map(t=>
vendor: 21,225 bytes, lines 2440-2443
2440t?parseInt(t,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?sZ:sx).push(n=n+e[t])})();function odt(e){if(e<768)return!1;for(let t=0,n=sx.length;;){let r=t+n>>1;if(e<sx[r])n=r;else if(e>=sZ[r])t=r+1;else return!0;if(t==n)return!1}}function $$(e){return e>=127462&&e<=127487}const P$=8205;function sdt(e,t,n=!0,r=!0){return(n?lZ:ldt)(e,t,r)}function lZ(e,t,n){if(t==e.length)return t;t&&cZ(e.charCodeAt(t))&&uZ(e.charCodeAt(t-1))&&t--;let r=lS(e,t);for(t+=I$(r);t<e.length;){let a=lS(e,t);if(r==P$||a==P$||n&&odt(a))t+=I$(a),r=a;else if($$(a)){let i=0,o=t-2;for(;o>=0&&$$(lS(e,o));)i++,o-=2;if(i%2==0)break;t+=2}else break}return t}function ldt(e,t,n){for(;t>1;){let r=lZ(e,t-2,n);if(r<t)return r;t--}return 0}function lS(e,t){let n=e.charCodeAt(t);if(!uZ(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return cZ(r)?(n-55296<<10)+(r-56320)+65536:n}function cZ(e){return e>=56320&&e<57344}function uZ(e){return e>=55296&&e<56320}function I$(e){return e<65536?1:2}class Pn{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,r){[t,n]=_h(this,t,n);let a=[];return this.decompose(0,t,a,2),r.length&&r.decompose(0,r.length,a,3),this.decompose(n,this.length,a,1),Ks.from(a,this.length-(n-t)+r.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=_h(this,t,n);let r=[];return this.decompose(t,n,r,0),Ks.from(r,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),r=this.length-this.scanIdentical(t,-1),a=new _m(this),i=new _m(t);for(let o=n,s=n;;){if(a.next(o),i.next(o),o=0,a.lineBreak!=i.lineBreak||a.done!=i.done||a.value!=i.value)return!1;if(s+=a.value.length,a.done||s>=r)return!0}}iter(t=1){return new _m(this,t)}iterRange(t,n=this.length){return new dZ(this,t,n)}iterLines(t,n){let r;if(t==null)r=this.iter();else{n==null&&(n=this.lines+1);let a=this.line(t).from;r=this.iterRange(a,Math.max(a,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new fZ(r)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?Pn.empty:t.length<=32?new Dr(t):Ks.from(Dr.split(t,[]))}}class Dr extends Pn{constructor(t,n=cdt(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,r,a){for(let i=0;;i++){let o=this.text[i],s=a+o.length;if((n?r:s)>=t)return new udt(a,s,r,o);a=s+1,r++}}decompose(t,n,r,a){let i=t<=0&&n>=this.length?this:new Dr(R$(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(a&1){let o=r.pop(),s=w2(i.text,o.text.slice(),0,i.length);if(s.length<=32)r.push(new Dr(s,o.length+i.length));else{let l=s.length>>1;r.push(new Dr(s.slice(0,l)),new Dr(s.slice(l)))}}else r.push(i)}replace(t,n,r){if(!(r instanceof Dr))return super.replace(t,n,r);[t,n]=_h(this,t,n);let a=w2(this.text,w2(r.text,R$(this.text,0,t)),n),i=this.length+r.length-(n-t);return a.length<=32?new Dr(a,i):Ks.from(Dr.split(a,[]),i)}sliceString(t,n=this.length,r=` 2441`){[t,n]=_h(this,t,n);let a="";for(let i=0,o=0;i<=n&&o<this.text.length;o++){let s=this.text[o],l=i+s.length;i>t&&o&&(a+=r),t<l&&n>i&&(a+=s.slice(Math.max(0,t-i),n-i)),i=l+1}return a}flatten(t){for(let n of this.text)t.push(n)}scanIdentical(){return 0}static split(t,n){let r=[],a=-1;for(let i of t)r.push(i),a+=i.length+1,r.length==32&&(n.push(new Dr(r,a)),r=[],a=-1);return a>-1&&n.push(new Dr(r,a)),n}}class Ks extends Pn{constructor(t,n){super(),this.children=t,this.length=n,this.lines=0;for(let r of t)this.lines+=r.lines}lineInner(t,n,r,a){for(let i=0;;i++){let o=this.children[i],s=a+o.length,l=r+o.lines-1;if((n?l:s)>=t)return o.lineInner(t,n,r,a);a=s+1,r=l+1}}decompose(t,n,r,a){for(let i=0,o=0;o<=n&&i<this.children.length;i++){let s=this.children[i],l=o+s.length;if(t<=l&&n>=o){let c=a&((o<=t?1:0)|(l>=n?2:0));o>=t&&l<=n&&!c?r.push(s):s.decompose(t-o,n-o,r,c)}o=l+1}}replace(t,n,r){if([t,n]=_h(this,t,n),r.lines<this.lines)for(let a=0,i=0;a<this.children.length;a++){let o=this.children[a],s=i+o.length;if(t>=i&&n<=s){let l=o.replace(t-i,n-i,r),c=this.lines-o.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[a]=l,new Ks(u,this.length-(n-t)+r.length)}return super.replace(i,s,l)}i=s+1}return super.replace(t,n,r)}sliceString(t,n=this.length,r=` 2442`){[t,n]=_h(this,t,n);let a="";for(let i=0,o=0;i<this.children.length&&o<=n;i++){let s=this.children[i],l=o+s.length;o>t&&i&&(a+=r),t<l&&n>o&&(a+=s.sliceString(t-o,n-o,r)),o=l+1}return a}flatten(t){for(let n of this.children)n.flatten(t)}scanIdentical(t,n){if(!(t instanceof Ks))return 0;let r=0,[a,i,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;a+=n,i+=n){if(a==o||i==s)return r;let l=this.children[a],c=t.children[i];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(t,n=t.reduce((r,a)=>r+a.length+1,-1)){let r=0;for(let h of t)r+=h.lines;if(r<32){let h=[];for(let p of t)p.flatten(h);return new Dr(h,n)}let a=Math.max(32,r>>5),i=a<<1,o=a>>1,s=[],l=0,c=-1,u=[];function d(h){let p;if(h.lines>i&&h instanceof Ks)for(let m of h.children)d(m);else h.lines>o&&(l>o||!l)?(f(),s.push(h)):h instanceof Dr&&l&&(p=u[u.length-1])instanceof Dr&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new Dr(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>a&&f(),l+=h.lines,c+=h.length+1,u.push(h))}function f(){l!=0&&(s.push(u.length==1?u[0]:Ks.from(u,c)),c=-1,l=u.length=0)}for(let h of t)d(h);return f(),s.length==1?s[0]:new Ks(s,n)}}Pn.empty=new Dr([""],0);function cdt(e){let t=-1;for(let n of e)t+=n.length+1;return t}function w2(e,t,n=0,r=1e9){for(let a=0,i=0,o=!0;i<e.length&&a<=r;i++){let s=e[i],l=a+s.length;l>=n&&(l>r&&(s=s.slice(0,r-a)),a<n&&(s=s.slice(n-a)),o?(t[t.length-1]+=s,o=!1):t.push(s)),a=l+1}return t}function R$(e,t,n){return w2(e,[""],t,n)}class _m{constructor(t,n=1){this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[n>0?1:(t instanceof Dr?t.text.length:t.children.length)<<1]}nextInner(t,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,a=this.nodes[r],i=this.offsets[r],o=i>>1,s=a instanceof Dr?a.text.length:a.children.length;if(o==(n>0?s:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(n>0?0:1)){if(this.offsets[r]+=n,t==0)return this.lineBreak=!0,this.value=` 2443`,this;t--}else if(a instanceof Dr){let l=a.text[o+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,t))return this.value=t==0?l:n>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=a.children[o+(n<0?-1:0)];t>l.length?(t-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Dr?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class dZ{constructor(t,n,r){this.value="",this.done=!1,this.cursor=new _m(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(t,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;t>r&&(t=r),r-=t;let{value:a}=this.cursor.next(t);return this.pos+=(a.length+t)*n,this.value=a.length<=r?a:n<0?a.slice(a.length-r):a.slice(0,r),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class fZ{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:n,lineBreak:r,value:a}=this.inner.next(t);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Pn.prototype[Symbol.iterator]=function(){return this.iter()},_m.prototype[Symbol.iterator]=dZ.prototype[Symbol.iterator]=fZ.prototype[Symbol.iterator]=function(){return this});class udt{constructor(t,n,r,a){this.from=t,this.to=n,this.number=r,this.text=a}get length(){return this.to-this.from}}function _h(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}function ms(e,t,n=!0,r=!0){return sdt(e,t,n,r)}function ddt(e){return e>=56320&&e<57344}function fdt(e){return e>=55296&&e<56320}function ao(e,t){let n=e.charCodeAt(t);if(!fdt(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return ddt(r)?(n-55296<<10)+(r-56320)+65536:n}function hZ(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Ml(e){return e<65536?1:2}const lx=/\r\n?|\n/;var La=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(La||(La={}));class fl{constructor(t){this.sections=t}get length(){let t=0;for(let n=0;n<this.sections.length;n+=2)t+=this.sections[n];return t}get newLength(){let t=0;for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n+1];t+=r<0?this.sections[n]:r}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let n=0,r=0,a=0;n<this.sections.length;){let i=this.sections[n++],o=this.sections[n++];o<0?(t(r,a,i),a+=i):a+=o,r+=i}}iterChangedRanges(t,n=!1){cx(this,t,n)}get invertedDesc(){let t=[];for(let n=0;n<this.sections.length;){let r=this.sections[n++],a=this.sections[n++];a<0?t.push(r,a):t.push(a,r)}return new fl(t)}composeDesc(t){return this.empty?t:t.empty?this:pZ(this,t)}mapDesc(t,n=!1){return t.empty?this:ux(this,t,n)}mapPos(t,n=-1,r=La.Simple){let a=0,i=0;for(let o=0;o<this.sections.length;){let s=this.sections[o++],l=this.sections[o++],c=a+s;if(l<0){if(c>t)return i+(t-a);i+=s}else{if(r!=La.Simple&&c>=t&&(r==La.TrackDel&&a<t&&c>t||r==La.TrackBefore&&a<t||r==La.TrackAfter&&c>t))return null;if(c>t||c==t&&n<0&&!s)return t==a||n<0?i:i+l;i+=l}a=c}if(t>a)throw new RangeError(`Position ${t} is out of range for changeset of length ${a}`);return i}touchesRange(t,n=t){for(let r=0,a=0;r<this.sections.length&&a<=n;){let i=this.sections[r++],o=this.sections[r++],s=a+i;if(o>=0&&a<=n&&s>=t)return a<t&&s>n?"cover":!0;a=s}return!1}toString(){let t="";for(let n=0;n<this.sections.length;){let r=this.sections[n++],a=this.sections[n++];t+=(t?" ":"")+r+(a>=0?":"+a:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new fl(t)}static create(t){return new fl(t)}}class ca extends fl{constructor(t,n){super(t),this.inserted=n}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return cx(this,(n,r,a,i,o)=>t=t.replace(a,a+(r-n),o),!1),t}mapDesc(t,n=!1){return ux(this,t,n,!0)}invert(t){let n=this.sections.slice(),r=[];for(let a=0,i=0;a<n.length;a+=2){let o=n[a],s=n[a+1];if(s>=0){n[a]=s,n[a+1]=o;let l=a>>1;for(;r.length<l;)r.push(Pn.empty);r.push(o?t.slice(i,i+o):Pn.empty)}i+=o}return new ca(n,r)}compose(t){return this.empty?t:t.empty?this:pZ(this,t,!0)}map(t,n=!1){return t.empty?this:ux(this,t,n,!0)}iterChanges(t,n=!1){cx(this,t,n)}get desc(){return fl.create(this.sections)}filter(t){let n=[],r=[],a=[],i=new c0(this);e:for(let o=0,s=0;;){let l=o==t.length?1e9:t[o++];for(;s<l||s==l&&i.len==0;){if(i.done)break e;let u=Math.min(i.len,l-s);Za(a,u,-1);let d=i.ins==-1?-1:i.off==0?i.ins:0;Za(n,u,d),d>0&&Rc(r,n,i.text),i.forward(u),s+=u}let c=t[o++];for(;s<c;){if(i.done)break e;let u=Math.min(i.len,c-s);Za(n,u,-1),Za(a,u,i.ins==-1?-1:i.off==0?i.ins:0),i.forward(u),s+=u}}return{changes:new ca(n,r),filtered:fl.create(a)}}toJSON(){let t=[];for(let n=0;n<this.sections.length;n+=2){let r=this.sections[n],a=this.sections[n+1];a<0?t.push(r):a==0?t.push([r]):t.push([r].concat(this.inserted[n>>1].toJSON()))}return t}static of(t,n,r){let a=[],i=[],o=0,s=null;function l(u=!1){if(!u&&!a.length)return;o<n&&Za(a,n-o,-1);let d=new ca(a,i);s=s?s.compose(d.map(s)):d,a=[],i=[],o=0}function c(u){if(Array.isArray(u))for(let d of u)c(d);else if(u instanceof ca){if(u.length!=n)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${n})`);l(),s=s?s.compose(u.map(s)):u}else{let{from:d,to:f=d,insert:h}=u;if(d>f||d<0||f>n)throw new RangeError(`Invalid change range ${d} to ${f} (in doc of length ${n})`);let p=h?typeof h=="string"?Pn.of(h.split(r||lx)):h:Pn.empty,m=p.length;if(d==f&&m==0)return;d<o&&l(),d>o&&Za(a,d-o,-1),Za(a,f-d,m),Rc(i,a,p),o=f}}return c(t),l(!s),s}static empty(t){return new ca(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let a=0;a<t.length;a++){let i=t[a];if(typeof i=="number")n.push(i,-1);else{if(!Array.isArray(i)||typeof i[0]!="number"||i.some((o,s)=>s&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)n.push(i[0],0);else{for(;r.length<a;)r.push(Pn.empty);r[a]=Pn.of(i.slice(1)),n.push(i[0],r[a].length)}}}return new ca(n,r)}static createSet(t,n){return new ca(t,n)}}function Za(e,t,n,r=!1){if(t==0&&n<=0)return;let a=e.length-2;a>=0&&n<=0&&n==e[a+1]?e[a]+=t:a>=0&&t==0&&e[a]==0?e[a+1]+=n:r?(e[a]+=t,e[a+1]+=n):e.push(t,n)}function Rc(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(Pn.empty);e.push(n)}}function cx(e,t,n){let r=e.inserted;for(let a=0,i=0,o=0;o<e.sections.length;){let s=e.sections[o++],l=e.sections[o++];if(l<0)a+=s,i+=s;else{let c=a,u=i,d=Pn.empty;for(;c+=s,u+=l,l&&r&&(d=d.append(r[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)s=e.sections[o++],l=e.sections[o++];t(a,c,i,u,d),a=c,i=u}}}function ux(e,t,n,r=!1){let a=[],i=r?[]:null,o=new c0(e),s=new c0(t);for(let l=-1;;){if(o.done&&s.len||s.done&&o.len)throw new Error("Mismatched change set lengths");if(o.ins==-1&&s.ins==-1){let c=Math.min(o.len,s.len);Za(a,c,-1),o.forward(c),s.forward(c)}else if(s.ins>=0&&(o.ins<0||l==o.i||o.off==0&&(s.len<o.len||s.len==o.len&&!n))){let c=s.len;for(Za(a,s.ins,-1);c;){let u=Math.min(o.len,c);o.ins>=0&&l<o.i&&o.len<=u&&(Za(a,0,o.ins),i&&Rc(i,a,o.text),l=o.i),o.forward(u),c-=u}s.next()}else if(o.ins>=0){let c=0,u=o.len;for(;u;)if(s.ins==-1){let d=Math.min(u,s.len);c+=d,u-=d,s.forward(d)}else if(s.ins==0&&s.len<u)u-=s.len,s.next();else break;Za(a,c,l<o.i?o.ins:0),i&&l<o.i&&Rc(i,a,o.text),l=o.i,o.forward(o.len-u)}else{if(o.done&&s.done)return i?ca.createSet(a,i):fl.create(a);throw new Error("Mismatched change set lengths")}}}function pZ(e,t,n=!1){let r=[],a=n?[]:null,i=new c0(e),o=new c0(t);for(let s=!1;;){if(i.done&&o.done)return a?ca.createSet(r,a):fl.create(r);if(i.ins==0)Za(r,i.len,0,s),i.next();else if(o.len==0&&!o.done)Za(r,0,o.ins,s),a&&Rc(a,r,o.text),o.next();else{if(i.done||o.done)throw new Error("Mismatched change set lengths");{let l=Math.min(i.len2,o.len),c=r.length;if(i.ins==-1){let u=o.ins==-1?-1:o.off?0:o.ins;Za(r,l,u,s),a&&u&&Rc(a,r,o.text)}else o.ins==-1?(Za(r,i.off?0:i.len,l,s),a&&Rc(a,r,i.textBit(l))):(Za(r,i.off?0:i.len,o.off?0:o.ins,s),a&&!o.off&&Rc(a,r,o.text));s=(i.ins>l||o.ins>=0&&o.len>l)&&(s||r.length>c),i.forward2(l),o.forward(l)}}}}class c0{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length?Pn.empty:t[n]}textBit(t){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!t?Pn.empty:n[r].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Cc{constructor(t,n,r,a){this.from=t,this.to=n,this.flags=r,this.goalColumn=a}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get undirectional(){return(this.flags&64)>0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}map(t,n=-1){let r,a;return this.empty?r=a=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),a=t.mapPos(this.to,-1)),r==this.from&&a==this.to?this:new Cc(r,a,this.flags,this.goalColumn)}extend(t,n=t,r=0){if(t<=this.anchor&&n>=this.anchor)return Fe.range(t,n,void 0,void 0,r);let a=Math.abs(t-this.anchor)>Math.abs(n-this.anchor)?t:n;return Fe.range(this.anchor,a,void 0,void 0,r)}eq(t,n=!1){return this.anchor==t.anchor&&this.head==t.head&&this.goalColumn==t.goalColumn&&(!n||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Fe.range(t.anchor,t.head)}static create(t,n,r,a){return new Cc(t,n,r,a)}}class Fe{constructor(t,n){this.ranges=t,this.mainIndex=n}map(t,n=-1){return t.empty?this:Fe.create(this.ranges.map(r=>r.map(t,n)),this.mainIndex)}eq(t,n=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let r=0;r<this.ranges.length;r++)if(!this.ranges[r].eq(t.ranges[r],n))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new Fe([this.main],0)}addRange(t,n=!0){return Fe.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let r=this.ranges.slice();return r[n]=t,Fe.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Fe(t.ranges.map(n=>Cc.fromJSON(n)),t.main)}static single(t,n=t){return new Fe([Fe.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,a=0;a<t.length;a++){let i=t[a];if(i.empty?i.from<=r:i.from<r)return Fe.normalized(t.slice(),n);r=i.to}return new Fe(t,n)}static cursor(t,n=0,r,a){return Cc.create(t,t,(n==0?0:n<0?8:16)|(r==null?7:Math.min(6,r)),a)}static range(t,n,r,a,i){let o=a==null?7:Math.min(6,a);return!i&&t!=n&&(i=n<t?1:-1),i&&(o|=i<0?8:16),n<t?Cc.create(n,t,o|32,r):Cc.create(t,n,o,r)}static undirectionalRange(t,n){return Cc.create(t,n,64,void 0)}static normalized(t,n=0){let r=t[n];t.sort((a,i)=>a.from-i.from),n=t.indexOf(r);for(let a=1;a<t.length;a++){let i=t[a],o=t[a-1];if(i.empty?i.from<=o.to:i.from<o.to){let s=o.from,l=Math.max(i.to,o.to);a<=n&&n--,t.splice(--a,2,i.anchor>i.head?Fe.range(l,s):Fe.range(s,l))}}return new Fe(t,n)}}function mZ(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let Bk=0;class st{constructor(t,n,r,a,i){this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=a,this.id=Bk++,this.default=t([]),this.extensions=typeof i=="function"?i(this):i}get reader(){return this}static define(t={}){return new st(t.combine||(n=>n),t.compareInput||((n,r)=>n===r),t.compare||(t.combine?(n,r)=>n===r:Uk),!!t.static,t.enables)}of(t){return new x2([],this,0,t)}compute(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new x2(t,this,1,n)}computeN(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new x2(t,this,2,n)}from(t,n){return n||(n=r=>r),this.compute([t],r=>n(r.field(t)))}}function Uk(e,t){return e==t||e.length==t.length&&e.every((n,r)=>n===t[r])}class x2{constructor(t,n,r,a){this.dependencies=t,this.facet=n,this.type=r,this.value=a,this.id=Bk++}dynamicSlot(t){var n;let r=this.value,a=this.facet.compareInput,i=this.id,o=t[i]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let d of this.dependencies)d=="doc"?l=!0:d=="selection"?c=!0:((n=t[d.id])!==null&&n!==void 0?n:1)&1||u.push(t[d.id]);return{create(d){return d.values[o]=r(d),1},update(d,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||dx(d,u)){let h=r(d);if(s?!N$(h,d.values[o],a):!a(h,d.values[o]))return d.values[o]=h,1}return 0},reconfigure:(d,f)=>{let h,p=f.config.address[i];if(p!=null){let m=Qb(f,p);if(this.dependencies.every(g=>g instanceof st?f.facet(g)===d.facet(g):g instanceof Zi?f.field(g,!1)==d.field(g,!1):!0)||(s?N$(h=r(d),m,a):a(h=r(d),m)))return d.values[o]=m,0}else h=r(d);return d.values[o]=h,1}}}get extension(){return this}}function N$(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function dx(e,t){let n=!1;for(let r of t)Cm(e,r)&1&&(n=!0);return n}function hdt(e,t,n){let r=n.map(l=>
2443e[l.id]),a=n.map(l=>l.type),i=r.filter(l=>!(l&1)),o=e[t.id]>>1;function s(l){let c=[];for(let u=0;u<r.length;u++){let d=Qb(l,r[u]);if(a[u]==2)for(let f of d)c.push(f);else c.push(d)}return t.combine(c)}return{create(l){for(let c of r)Cm(l,c);return l.values[o]=s(l),1},update(l,c){if(!dx(l,i))return 0;let u=s(l);return t.compare(u,l.values[o])?0:(l.values[o]=u,1)},reconfigure(l,c){let u=dx(l,r),d=c.config.facets[t.id],f=c.facet(t);if(d&&!u&&Uk(n,d))return l.values[o]=f,0;let h=s(l);return t.compare(h,f)?(l.values[o]=f,0):(l.values[o]=h,1)}}}const Eg=st.define({static:!0});class Zi{constructor(t,n,r,a,i){this.id=t,this.createF=n,this.updateF=r,this.compareF=a,this.spec=i,this.provides=void 0}static define(t){let n=new Zi(Bk++,t.create,t.update,t.compare||((r,a)=>r===a),t);return t.provide&&(n.provides=t.provide(n)),n}create(t){let n=t.facet(Eg).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(t)}slot(t){let n=t[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,a)=>{let i=r.values[n],o=this.updateF(i,a);return this.compareF(i,o)?0:(r.values[n]=o,1)},reconfigure:(r,a)=>{let i=r.facet(Eg),o=a.facet(Eg),s;return(s=i.find(l=>l.field==this))&&s!=o.find(l=>l.field==this)?(r.values[n]=s.create(r),1):a.config.address[this.id]!=null?(r.values[n]=a.field(this),0):(r.values[n]=this.create(r),1)}}}init(t){return[this,Eg.of({field:this,create:t})]}get extension(){return this}}const Uu={lowest:4,low:3,default:2,high:1,highest:0};function zp(e){return t=>new gZ(t,e)}const mp={highest:zp(Uu.highest),high:zp(Uu.high),default:zp(Uu.default),low:zp(Uu.low),lowest:zp(Uu.lowest)};class gZ{constructor(t,n){this.inner=t,this.prec=n}get extension(){return this}}class dO{of(t){return new fx(this,t)}reconfigure(t){return dO.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class fx{constructor(t,n){this.compartment=t,this.inner=n}get extension(){return this}}class Fb{constructor(t,n,r,a,i,o){for(this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=a,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}staticFacet(t){let n=this.address[t.id];return n==null?t.default:this.staticValues[n>>1]}static resolve(t,n,r){let a=[],i=Object.create(null),o=new Map;for(let f of pdt(t,n,o))f instanceof Zi?a.push(f):(i[f.facet.id]||(i[f.facet.id]=[])).push(f);let s=Object.create(null),l=[],c=[];for(let f of a)s[f.id]=c.length<<1,c.push(h=>f.slot(h));let u=r==null?void 0:r.config.facets;for(let f in i){let h=i[f],p=h[0].facet,m=u&&u[f]||[];if(h.every(g=>g.type==0))if(s[p.id]=l.length<<1|1,Uk(m,h))l.push(r.facet(p));else{let g=p.combine(h.map(v=>v.value));l.push(r&&p.compare(g,r.facet(p))?r.facet(p):g)}else{for(let g of h)g.type==0?(s[g.id]=l.length<<1|1,l.push(g.value)):(s[g.id]=c.length<<1,c.push(v=>g.dynamicSlot(v)));s[p.id]=c.length<<1,c.push(g=>hdt(g,p,h))}}let d=c.map(f=>f(s));return new Fb(t,o,d,s,l,i)}}function pdt(e,t,n){let r=[[],[],[],[],[]],a=new Map;function i(o,s){let l=a.get(o);if(l!=null){if(l<=s)return;let c=r[l].indexOf(o);c>-1&&r[l].splice(c,1),o instanceof fx&&n.delete(o.compartment)}if(a.set(o,s),Array.isArray(o))for(let c of o)i(c,s);else if(o instanceof fx){if(n.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(o.compartment)||o.inner;n.set(o.compartment,c),i(c,s)}else if(o instanceof gZ)i(o.inner,o.prec);else if(o instanceof Zi)r[s].push(o),o.provides&&i(o.provides,s);else if(o instanceof x2)r[s].push(o),o.facet.extensions&&i(o.facet.extensions,Uu.default);else{let c=o.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${o}).`);if(c==o)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,s)}}return i(e,Uu.default),r.reduce((o,s)=>o.concat(s))}function Cm(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;e.status[n]=4;let a=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|a}function Qb(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const bZ=st.define(),hx=st.define({combine:e=>e.some(t=>t),static:!0}),yZ=st.define({combine:e=>e.length?e[0]:void 0,static:!0}),vZ=st.define(),OZ=st.define(),SZ=st.define(),wZ=st.define({combine:e=>e.length?e[0]:!1});class cc{constructor(t,n){this.type=t,this.value=n}static define(){return new mdt}}class mdt{of(t){return new cc(this,t)}}class gdt{constructor(t){this.map=t}of(t){return new on(this,t)}}class on{constructor(t,n){this.type=t,this.value=n}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new on(this.type,n)}is(t){return this.type==t}static define(t={}){return new gdt(t.map||(n=>n))}static mapEffects(t,n){if(!t.length)return t;let r=[];for(let a of t){let i=a.map(n);i&&r.push(i)}return r}}on.reconfigure=on.define();on.appendConfig=on.define();class Yr{constructor(t,n,r,a,i,o){this.startState=t,this.changes=n,this.selection=r,this.effects=a,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,r&&mZ(r,n.newLength),i.some(s=>s.type==Yr.time)||(this.annotations=i.concat(Yr.time.of(Date.now())))}static create(t,n,r,a,i,o){return new Yr(t,n,r,a,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let n of this.annotations)if(n.type==t)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(Yr.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]=="."))}}Yr.time=cc.define();Yr.userEvent=cc.define();Yr.addToHistory=cc.define();Yr.remote=cc.define();function bdt(e,t){let n=[];for(let r=0,a=0;;){let i,o;if(r<e.length&&(a==t.length||t[a]>=e[r]))i=e[r++],o=e[r++];else if(a<t.length)i=t[a++],o=t[a++];else return n;!n.length||n[n.length-1]<i?n.push(i,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function xZ(e,t,n){var r;let a,i,o;return n?(a=t.changes,i=ca.empty(t.changes.length),o=e.changes.compose(t.changes)):(a=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(a)),{changes:o,selection:t.selection?t.selection.map(i):(r=e.selection)===null||r===void 0?void 0:r.map(a),effects:on.mapEffects(e.effects,a).concat(on.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}
vendor: 20,112 bytes, lines 2443-2444
2443function px(e,t,n){let r=t.selection,a=Qf(t.annotations);return t.userEvent&&(a=a.concat(Yr.userEvent.of(t.userEvent))),{changes:t.changes instanceof ca?t.changes:ca.of(t.changes||[],n,e.facet(yZ)),selection:r&&(r instanceof Fe?r:Fe.single(r.anchor,r.head)),effects:Qf(t.effects),annotations:a,scrollIntoView:!!t.scrollIntoView}}function kZ(e,t,n){let r=px(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let i=1;i<t.length;i++){t[i].filter===!1&&(n=!1);let o=!!t[i].sequential;r=xZ(r,px(e,t[i],o?r.changes.newLength:e.doc.length),o)}let a=Yr.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return vdt(n?ydt(a):a)}function ydt(e){let t=e.startState,n=!0;for(let a of t.facet(vZ)){let i=a(e);if(i===!1){n=!1;break}Array.isArray(i)&&(n=n===!0?i:bdt(n,i))}if(n!==!0){let a,i;if(n===!1)i=e.changes.invertedDesc,a=ca.empty(t.doc.length);else{let o=e.changes.filter(n);a=o.changes,i=o.filtered.mapDesc(o.changes).invertedDesc}e=Yr.create(t,a,e.selection&&e.selection.map(i),on.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(OZ);for(let a=r.length-1;a>=0;a--){let i=r[a](e);i instanceof Yr?e=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Yr?e=i[0]:e=kZ(t,Qf(i),!1)}return e}function vdt(e){let t=e.startState,n=t.facet(SZ),r=e;for(let a=n.length-1;a>=0;a--){let i=n[a](e);i&&Object.keys(i).length&&(r=xZ(r,px(t,i,e.changes.newLength),!0))}return r==e?e:Yr.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}const Odt=[];function Qf(e){return e==null?Odt:Array.isArray(e)?e:[e]}var Ro=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(Ro||(Ro={}));const Sdt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let mx;try{mx=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function wdt(e){if(mx)return mx.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"Â"&&(n.toUpperCase()!=n.toLowerCase()||Sdt.test(n)))return!0}return!1}function xdt(e){return t=>{if(!/\S/.test(t))return Ro.Space;if(wdt(t))return Ro.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return Ro.Word;return Ro.Other}}class Mn{constructor(t,n,r,a,i,o){this.config=t,this.doc=n,this.selection=r,this.values=a,this.status=t.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let s=0;s<this.config.dynamicSlots.length;s++)Cm(this,s<<1);this.computeSlot=null}field(t,n=!0){let r=this.config.address[t.id];if(r==null){if(n)throw new RangeError("Field is not present in this state");return}return Cm(this,r),Qb(this,r)}update(...t){return kZ(this,t,!0)}applyTransaction(t){let n=this.config,{base:r,compartments:a}=n;for(let s of t.effects)s.is(dO.reconfigure)?(n&&(a=new Map,n.compartments.forEach((l,c)=>a.set(c,l)),n=null),a.set(s.value.compartment,s.value.extension)):s.is(on.reconfigure)?(n=null,r=s.value):s.is(on.appendConfig)&&(n=null,r=Qf(r).concat(s.value));let i;n?i=t.startState.values.slice():(n=Fb.resolve(r,a,this),i=new Mn(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let o=t.startState.facet(hx)?t.newSelection:t.newSelection.asSingle();new Mn(n,t.newDoc,o,i,(s,l)=>l.update(s,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:t},range:Fe.cursor(n.from+t.length)}))}changeByRange(t){let n=this.selection,r=t(n.ranges[0]),a=this.changes(r.changes),i=[r.range],o=Qf(r.effects);for(let s=1;s<n.ranges.length;s++){let l=t(n.ranges[s]),c=this.changes(l.changes),u=c.map(a);for(let f=0;f<s;f++)i[f]=i[f].map(u);let d=a.mapDesc(c,!0);i.push(l.range.map(d)),a=a.compose(u),o=on.mapEffects(o,u).concat(on.mapEffects(Qf(l.effects),d))}return{changes:a,selection:Fe.create(i,n.mainIndex),effects:o}}changes(t=[]){return t instanceof ca?t:ca.of(t,this.doc.length,this.facet(Mn.lineSeparator))}toText(t){return Pn.of(t.split(this.facet(Mn.lineSeparator)||lx))}sliceDoc(t=0,n=this.doc.length){return this.doc.sliceString(t,n,this.lineBreak)}facet(t){let n=this.config.address[t.id];return n==null?t.default:(Cm(this,n),Qb(this,n))}toJSON(t){let n={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let r in t){let a=t[r];a instanceof Zi&&this.config.address[a.id]!=null&&(n[r]=a.spec.toJSON(this.field(t[r]),this))}return n}static fromJSON(t,n={},r){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let a=[];if(r){for(let i in r)if(Object.prototype.hasOwnProperty.call(t,i)){let o=r[i],s=t[i];a.push(o.init(l=>o.spec.fromJSON(s,l)))}}return Mn.create({doc:t.doc,selection:Fe.fromJSON(t.selection),extensions:n.extensions?a.concat([n.extensions]):a})}static create(t={}){let n=Fb.resolve(t.extensions||[],new Map),r=t.doc instanceof Pn?t.doc:Pn.of((t.doc||"").split(n.staticFacet(Mn.lineSeparator)||lx)),a=t.selection?t.selection instanceof Fe?t.selection:Fe.single(t.selection.anchor,t.selection.head):Fe.single(0);return mZ(a,r.length),n.staticFacet(hx)||(a=a.asSingle()),new Mn(n,r,a,n.dynamicSlots.map(()=>null),(i,o)=>o.create(i),null)}get tabSize(){return this.facet(Mn.tabSize)}get lineBreak(){return this.facet(Mn.lineSeparator)||` 2444`}get readOnly(){return this.facet(wZ)}phrase(t,...n){for(let r of this.facet(Mn.phrases))if(Object.prototype.hasOwnProperty.call(r,t)){t=r[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(r,a)=>{if(a=="$")return"$";let i=+(a||1);return!i||i>n.length?r:n[i-1]})),t}languageDataAt(t,n,r=-1){let a=[];for(let i of this.facet(bZ))for(let o of i(this,n,r))Object.prototype.hasOwnProperty.call(o,t)&&a.push(o[t]);return a}charCategorizer(t){let n=this.languageDataAt("wordChars",t);return xdt(n.length?n[0]:"")}wordAt(t){let{text:n,from:r,length:a}=this.doc.lineAt(t),i=this.charCategorizer(t),o=t-r,s=t-r;for(;o>0;){let l=ms(n,o,!1);if(i(n.slice(l,o))!=Ro.Word)break;o=l}for(;s<a;){let l=ms(n,s);if(i(n.slice(s,l))!=Ro.Word)break;s=l}return o==s?null:Fe.range(o+r,s+r)}}Mn.allowMultipleSelections=hx;Mn.tabSize=st.define({combine:e=>e.length?e[0]:4});Mn.lineSeparator=yZ;Mn.readOnly=wZ;Mn.phrases=st.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(a=>e[a]==t[a])}});Mn.languageData=bZ;Mn.changeFilter=vZ;Mn.transactionFilter=OZ;Mn.transactionExtender=SZ;dO.reconfigure=on.define();function Zd(e,t,n={}){let r={};for(let a of e)for(let i of Object.keys(a)){let o=a[i],s=r[i];if(s===void 0)r[i]=o;else if(!(s===o||o===void 0))if(Object.hasOwnProperty.call(n,i))r[i]=n[i](s,o);else throw new Error("Config merge conflict for field "+i)}for(let a in t)r[a]===void 0&&(r[a]=t[a]);return r}class Xc{eq(t){return this==t}range(t,n=t){return gx.create(t,n,this)}}Xc.prototype.startSide=Xc.prototype.endSide=0;Xc.prototype.point=!1;Xc.prototype.mapMode=La.TrackDel;function jk(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}let gx=class AZ{constructor(t,n,r){this.from=t,this.to=n,this.value=r}static create(t,n,r){return new AZ(t,n,r)}};function bx(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Fk{constructor(t,n,r,a){this.from=t,this.to=n,this.value=r,this.maxPoint=a}get length(){return vf(this.to)}findIndex(t,n,r,a=0){let i=r?this.to:this.from;for(let o=a,s=i.length;;){if(o==s)return o;let l=o+s>>1,c=i[l]-t||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==o)return c>=0?o:s;c>=0?s=l:o=l+1}}between(t,n,r,a){for(let i=this.findIndex(n,-1e9,!0),o=this.findIndex(r,1e9,!1,i);i<o;i++)if(a(this.from[i]+t,this.to[i]+t,this.value[i])===!1)return!1}map(t,n,r,a,i){let o=[],s=[],l=[],c=-1,u=-1;e:for(let d=0;d<this.value.length;d++){let f=this.value[d],h=this.from[d]+t,p=this.to[d]+t,m,g;if(h==p){let v=n.mapPos(h,f.startSide,f.mapMode);if(v==null||(m=g=v,f.startSide!=f.endSide&&(g=n.mapPos(h,f.endSide),g<m)))continue}else if(m=n.mapPos(h,f.startSide),g=n.mapPos(p,f.endSide),m>g||m==g&&f.startSide>0&&f.endSide<=0)continue;if(!((g-m||f.endSide-f.startSide)<0))if(c<0&&(c=m),f.point&&(u=Math.max(u,g-m)),(m-r||f.startSide-a)>=0)o.push(f),s.push(m-c),l.push(g-c),r=g,a=f.endSide;else{if(m==g)for(let v=o.length;v>0;v--){if((m-(l[v-1]+c)||f.startSide-o[v-1].endSide)>=0){o.splice(v,0,f),s.splice(v,0,m-c),l.splice(v,0,g-c);continue e}if((m-(s[v-1]+c)||f.endSide-o[v-1].startSide)>0)break}i(m,g,f)}}return{mapped:o.length?new Fk(s,l,o,u):null,pos:c}}}class mn{constructor(t,n,r,a){this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=a}static create(t,n,r,a){return new mn(t,n,r,a)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let n of this.chunk)t+=n.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:n=[],sort:r=!1,filterFrom:a=0,filterTo:i=this.length}=t,o=t.filter;if(n.length==0&&!o)return this;if(r&&(n=n.slice().sort(bx)),this.isEmpty)return n.length?mn.of(n):this;let s=new TZ(this,null,-1).goto(0),l=0,c=[],u=new hl;for(;s.value||l<n.length;)if(l<n.length&&(s.from-n[l].from||s.startSide-n[l].value.startSide)>=0){let d=n[l++];u.addInner(d.from,d.to,d.value,!1)||c.push(d)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(l==n.length||this.chunkEnd(s.chunkIndex)<n[l].from)&&(!o||a>this.chunkEnd(s.chunkIndex)||i<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||a>s.to||i<s.from||o(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value,!1)||c.push(gx.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?mn.empty:this.nextLayer.update({add:c,filter:o,filterFrom:a,filterTo:i}))}map(t){if(t.empty||this.isEmpty)return this;let n=[],r=[],a=-1,i,o=(l,c,u)=>{i||(i=new hl),i.addRange(l,c,u,!1)};for(let l=0;l<this.chunk.length;l++){let c=this.chunkPos[l],u=this.chunk[l],d=t.touchesRange(c,c+u.length);if(d===!1)a=Math.max(a,u.maxPoint),n.push(u),r.push(t.mapPos(c));else if(d===!0){let[f,h]=n.length?[vf(r)+vf(n).length,vf(vf(n).value).endSide]:[-1,-1],{mapped:p,pos:m}=u.map(c,t,f,h,o);p&&(a=Math.max(a,p.maxPoint),n.push(p),r.push(m))}}let s=this.nextLayer.map(t);return i&&(s=i.finishInner(s)),n.length==0?s:new mn(r,n,s||mn.empty,a)}between(t,n,r){if(!this.isEmpty){for(let a=0;a<this.chunk.length;a++){let i=this.chunkPos[a],o=this.chunk[a];if(n>=i&&t<=i+o.length&&o.between(i,t-i,n-i,r)===!1)return}this.nextLayer.between(t,n,r)}}iter(t=0){return u0.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,n=0){return u0.from(t).goto(n)}static compare(t,n,r,a,i=-1){let o=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),s=n.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),l=M$(o,s,r),c=new Hp(o,l,i),u=new Hp(s,l,i);r.iterGaps((d,f,h)=>L$(c,d,u,f,h,a)),r.empty&&r.length==0&&L$(c,0,u,0,0,a)}static eq(t,n,r=0,a){a==null&&(a=999999999);let i=t.filter(u=>!u.isEmpty&&n.indexOf(u)<0),o=n.filter(u=>!u.isEmpty&&t.indexOf(u)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let s=M$(i,o),l=new Hp(i,s,0).goto(r),c=new Hp(o,s,0).goto(r);for(;;){if(l.to!=c.to||!yx(l.active,c.active)||l.point&&(!c.point||!jk(l.point,c.point)))return!1;if(l.to>a)return!0;l.next(),c.next()}}static spans(t,n,r,a,i=-1){let o=new Hp(t,null,i).goto(n),s=n,l=o.openStart;for(;;){let c=Math.min(o.to,r);if(o.point){let u=o.activeForPoint(o.to),d=o.pointFrom<n?u.length+1:o.point.startSide<0?u.length:Math.min(u.length,l);a.point(s,c,o.point,u,d,o.pointRank),l=Math.min(o.openEnd(c),u.length)}else c>s&&(a.span(s,c,o.active,l),l=o.openEnd(c));if(o.to>r)return l+(o.point&&o.to>r?1:0);s=o.to,o.next()}}static of(t,n=!1){let r=new hl;for(let a of t instanceof gx?[t]:n?kdt(t):t)r.add(a.from,a.to,a.value);return r.finish()}static join(t){if(!t.length)return mn.empty;let n=vf(t);for(let r=t.length-2;r>=0;r--)for(let a=t[r];a!=mn.empty;a=a.nextLayer)n=new mn(a.chunkPos,a.chunk,n,Math.max(a.maxPoint,n.maxPoint));return n}}mn.empty=new mn([],[],null,-1);function vf(e){return e[e.length-1]}function kdt(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(bx(t,r)>0)return e.slice().sort(bx);t=r}return e}mn.empty.nextLayer=mn.empty;class hl{finishChunk(t){this.chunks.push(new Fk(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,n,r){this.addRange(t,n,r,!0)}addRange(t,n,r,a){this.addInner(t,n,r,a)||(this.nextLayer||(this.nextLayer=new hl)).addRange(t,n,r,a)}addInner(t,n,r,a){let i=t-this.lastTo||r.startSide-this.last.endSide;if(a&&i<=0&&(t-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=t,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-t)),!0)}addChunk(t,n){if((t-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(t);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+t,this.lastTo=n.to[r]+t,!0}finish(){return this.finishInner(mn.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let n=mn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,n}}function M$(e,t,n){let r=new Map;for(let i of e)for(let o=0;o<i.chunk.length;o++)i.chunk[o].maxPoint<=0&&r.set(i.chunk[o],i.chunkPos[o]);let a=new Set;for(let i of t)for(let o=0;o<i.chunk.length;o++){let s=r.get(i.chunk[o]);s!=null&&(n?n.mapPos(s):s)==i.chunkPos[o]&&!(n!=null&&n.touchesRange(s,s+i.chunk[o].length))&&a.add(i.chunk[o])}return a}class TZ{constructor(t,n,r,a=0){this.layer=t,this.skip=n,this.minPoint=r,this.rank=a}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,n=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,n,!1),this}gotoInner(t,n,r){for(;this.chunkIndex<this.layer.chunk.length;){let a=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(a)||this.layer.chunkEnd(this.chunkIndex)<t||a.maxPoint<this.minPoint))break;this.chunkIndex++,r=!1}if(this.chunkIndex<this.layer.chunk.length){let a=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],n,!0);(!r||this.rangeIndex<a)&&this.setRangeIndex(a)}this.next()}forward(t,n){(this.to-t||this.endSide-n)<0&&this.gotoInner(t,n,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],n=this.layer.chunk[this.chunkIndex],r=t+n.from[this.rangeIndex];if(this.from=r,this.to=t+n.to[this.rangeIndex],this.value=n.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=t}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class u0{constructor(t){this.heap=t}static from(t,n=null,r=-1){let a=[];for(let i=0;i<t.length;i++)for(let o=t[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=r&&a.push(new TZ(o,n,r,i));return a.length==1?a[0]:new u0(a)}get startSide(){return this.value?this.value.startSide:0}goto(t,n=-1e9){for(let r of this.heap)r.goto(t,n);for(let r=this.heap.length>>1;r>=0;r--)cS(this.heap,r);return this.next(),this}forward(t,n){for(let r of this.heap)r.forward(t,n);for(let r=this.heap.length>>1;r>=0;r--)cS(this.heap,r);(this.to-t||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),cS(this.heap,0)}}}function cS(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let a=e[r];if(r+1<e.length&&a.compare(e[r+1])>=0&&(a=e[r+1],r++),n.compare(a)<0)break;e[r]=n,e[t]=a,t=r}}class Hp{constructor(t,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=u0.from(t,n,r)}goto(t,n=-1e9){return this.cursor.goto(t,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=n,this.openStart=-1,this.next(),this}forward(t,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(t,n)}removeActive(t){_g(this.active,t),_g(this.activeTo,t),_g(this.activeRank,t),this.minActive=D$(this.active,this.activeTo)}addActive(t){let n=0,{value:r,to:a,rank:i}=this.cursor;for(;n<this.activeRank.length&&(i-this.activeRank[n]||a-this.activeTo[n])>0;)n++;Cg(this.active,n,r),Cg(this.activeTo,n,a),Cg(this.activeRank,n,i),t&&Cg(t,n,this.cursor.from),this.minActive=D$(this.active,this.activeTo)}next(){let t=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let a=this.minActive;if(a>-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>t){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),r&&_g(r,a)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=i,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=i.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(r){this.openStart=0;for(let a=r.length-1;a>=0&&r[a]<t;a--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let n=[];for(let r=this.active.length-1;r>=0&&!(this.activeRank[r]<this.pointRank);r--)(this.activeTo[r]>t||this.activeTo[r]==t&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(t){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>t;r--)n++;return n}}function L$(e,t,n,r,a,i){e.goto(t),n.goto(r);let o=r+a,s=r,l=r-t,c=!!i.boundChange;for(let u=!1;;){let d=e.to+l-n.to,f=d||e.endSide-n.endSide,h=f<0?e.to+l:n.to,p=Math.min(h,o);if(e.point||n.point?(e.point&&n.point&&jk(e.point,n.point)&&yx(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(s,p,e.point,n.point),u=!1):(u&&(i.boundChange(s),u=!1),p>s&&!yx(e.active,n.active)&&i.compareRange(s,p,e.active,n.active),c&&p<o&&(d||e.openEnd(h)!=n.openEnd(h))&&(u=!0)),h>o)break;s=h,f<=0&&e.next(),f>=0&&n.next()}}function yx(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!jk(e[n],t[n]))return!1;return!0}function _g(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function Cg(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function D$(e,t){let n=-1,r=1e9;for(let a=0;a<t.length;a++)(t[a]-r||e[a].endSide-e[n].endSide)<0&&(n=a,r=t[a]);return n}function Qk(e,t,n=e.length){let r=0;for(let a=0;a<n&&a<e.length;)e.charCodeAt(a)==9?(r+=t-r%t,a++):(r++,a=ms(e,a));return r}function Adt(e,t,n,r){for(let a=0,i=0;;){if(i>=t)return a;
2444if(a==e.length)break;i+=e.charCodeAt(a)==9?n-i%n:1,a=ms(e,a)}return e.length}const vx="ͼ",B$=typeof Symbol>"u"?"__"+vx:Symbol.for(vx),Ox=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),U$=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Wc{constructor(t,n){this.rules=[];let{finish:r}=n||{};function a(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function i(o,s,l,c){let u=[],d=/^@(\w+)\b/.exec(o[0]),f=d&&d[1]=="keyframes";if(d&&s==null)return l.push(o[0]+";");for(let h in s){let p=s[h];if(/&/.test(h))i(h.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,l);else if(p&&typeof p=="object"){if(!d)throw new RangeError("The value of a property ("+h+") should be a primitive value.");i(a(h),p,u,f)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(u.length||f)&&l.push((r&&!d&&!c?o.map(r):o).join(", ")+" {"+u.join(" ")+"}")}for(let o in t)i(a(o),t[o],this.rules)}getRules(){return this.rules.join(` 2445`)}static newName(){let t=U$[B$]||1;return U$[B$]=t+1,vx+t.toString(36)}static mount(t,n,r){let a=t[Ox],i=r&&r.nonce;a?i&&a.setNonce(i):a=new Tdt(t,i),a.mount(Array.isArray(n)?n:[n],t)}}let j$=new Map;class Tdt{constructor(t,n){let r=t.ownerDocument||t,a=r.defaultView;if(!t.head&&t.adoptedStyleSheets&&a.CSSStyleSheet){let i=j$.get(r);if(i)return t[Ox]=i;this.sheet=new a.CSSStyleSheet,j$.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],t[Ox]=this}mount(t,n){let r=this.sheet,a=0,i=0;for(let o=0;o<t.length;o++){let s=t[o],l=this.modules.indexOf(s);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,s),r)for(let c=0;c<s.rules.length;c++)r.insertRule(s.rules[c],a++)}else{for(;i<l;)a+=this.modules[i++].rules.length;a+=s.rules.length,i++}}if(r)n.adoptedStyleSheets.indexOf(this.sheet)<0&&(n.adoptedStyleSheets=[this.sheet,...n.adoptedStyleSheets]);else{let o="";for(let l=0;l<this.modules.length;l++)o+=this.modules[l].getRules()+` 2446`;this.styleTag.textContent=o;let s=n.head||n;this.styleTag.parentNode!=s&&s.insertBefore(this.styleTag,s.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}function Js(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var a=n[r];typeof a=="string"?e.setAttribute(r,a):a!=null&&(e[r]=a)}t++}for(;t<arguments.length;t++)EZ(e,arguments[t]);return e}function EZ(e,t){if(typeof t=="string")e.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)EZ(e,t[n]);else throw new RangeError("Unsupported child node: "+t)}let bi=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Sx=typeof document<"u"?document:{documentElement:{style:{}}};const wx=/Edge\/(\d+)/.exec(bi.userAgent),_Z=/MSIE \d/.test(bi.userAgent),xx=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(bi.userAgent),fO=!!(_Z||xx||wx),F$=!fO&&/gecko\/(\d+)/i.test(bi.userAgent),uS=!fO&&/Chrome\/(\d+)/.exec(bi.userAgent),Q$="webkitFontSmoothing"in Sx.documentElement.style,kx=!fO&&/Apple Computer/.test(bi.vendor),z$=kx&&(/Mobile\/\w+/.test(bi.userAgent)||bi.maxTouchPoints>2);var nt={mac:z$||/Mac/.test(bi.platform),windows:/Win/.test(bi.platform),linux:/Linux|X11/.test(bi.platform),ie:fO,ie_version:_Z?Sx.documentMode||6:xx?+xx[1]:wx?+wx[1]:0,gecko:F$,gecko_version:F$?+(/Firefox\/(\d+)/.exec(bi.userAgent)||[0,0])[1]:0,chrome:!!uS,chrome_version:uS?+uS[1]:0,ios:z$,android:/Android\b/.test(bi.userAgent),webkit:Q$,webkit_version:Q$?+(/\bAppleWebKit\/(\d+)/.exec(bi.userAgent)||[0,0])[1]:0,safari:kx,safari_version:kx?+(/\bVersion\/(\d+(\.\d+)?)/.exec(bi.userAgent)||[0,0])[1]:0,tabSize:Sx.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function zk(e,t){for(let n in e)n=="class"&&t.class?t.class+=" "+e.class:n=="style"&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}const zb=Object.create(null);function Hk(e,t,n){if(e==t)return!0;e||(e=zb),t||(t=zb);let r=Object.keys(e),a=Object.keys(t);if(r.length-0!=a.length-0)return!1;for(let i of r)if(i!=n&&(a.indexOf(i)==-1||e[i]!==t[i]))return!1;return!0}function Edt(e,t){for(let n=e.attributes.length-1;n>=0;n--){let r=e.attributes[n].name;t[r]==null&&e.removeAttribute(r)}for(let n in t){let r=t[n];n=="style"?e.style.cssText=r:e.getAttribute(n)!=r&&e.setAttribute(n,r)}}function H$(e,t,n){let r=!1;if(t)for(let a in t)n&&a in n||(r=!0,a=="style"?e.style.cssText="":e.removeAttribute(a));if(n)for(let a in n)t&&t[a]==n[a]||(r=!0,a=="style"?e.style.cssText=n[a]:e.setAttribute(a,n[a]));return r}function _dt(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}class Go{eq(t){return!1}updateDOM(t,n,r){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,n,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var ji=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(ji||(ji={}));class Ft extends Xc{constructor(t,n,r,a){super(),this.startSide=t,this.endSide=n,this.widget=r,this.spec=a}get heightRelevant(){return!1}static mark(t){return new v1(t)}static widget(t){let n=Math.max(-1e4,Math.min(1e4,t.side||0)),r=!!t.block;return n+=r&&!t.inlineOrder?n>0?3e8:-4e8:n>0?1e8:-1e8,new vd(t,n,n,r,t.widget||null,!1)}static replace(t){let n=!!t.block,r,a;
vendor: 7,020 bytes, line 2446
2446if(t.isBlockGap)r=-5e8,a=4e8;else{let{start:i,end:o}=CZ(t,n);r=(i?n?-3e8:-1:5e8)-1,a=(o?n?2e8:1:-6e8)+1}return new vd(t,r,a,n,t.widget||null,!0)}static line(t){return new O1(t)}static set(t,n=!1){return mn.of(t,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ft.none=mn.empty;class v1 extends Ft{constructor(t){let{start:n,end:r}=CZ(t);super(n?-1:5e8,r?1:-6e8,null,t),this.tagName=t.tagName||"span",this.attrs=t.class&&t.attributes?zk(t.attributes,{class:t.class}):t.class?{class:t.class}:t.attributes||zb}eq(t){return this==t||t instanceof v1&&this.tagName==t.tagName&&Hk(this.attrs,t.attrs)}range(t,n=t){if(t>=n)throw new RangeError("Mark decorations may not be empty");return super.range(t,n)}}v1.prototype.point=!1;class O1 extends Ft{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof O1&&this.spec.class==t.spec.class&&Hk(this.spec.attributes,t.spec.attributes)}range(t,n=t){if(n!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,n)}}O1.prototype.mapMode=La.TrackBefore;O1.prototype.point=!0;class vd extends Ft{constructor(t,n,r,a,i,o){super(n,r,i,t),this.block=a,this.isReplace=o,this.mapMode=a?n<=0?La.TrackBefore:La.TrackAfter:La.TrackDel}get type(){return this.startSide!=this.endSide?ji.WidgetRange:this.startSide<=0?ji.WidgetBefore:ji.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof vd&&Cdt(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,n=t){if(this.isReplace&&(t>n||t==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,n)}}vd.prototype.point=!0;function CZ(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n==null&&(n=e.inclusive),r==null&&(r=e.inclusive),{start:n??t,end:r??t}}function Cdt(e,t){return e==t||!!(e&&t&&e.compare(t))}function zf(e,t,n,r=0){let a=n.length-1;a>=0&&n[a]+r>=e?n[a]=Math.max(n[a],t):n.push(e,t)}class d0 extends Xc{constructor(t,n,r){super(),this.tagName=t,this.attributes=n,this.rank=r}eq(t){return t==this||t instanceof d0&&this.tagName==t.tagName&&Hk(this.attributes,t.attributes)}static create(t){return new d0(t.tagName,t.attributes||zb,t.rank==null?50:Math.max(0,Math.min(t.rank,100)))}static set(t,n=!1){return mn.of(t,n)}}d0.prototype.startSide=d0.prototype.endSide=-1;function f0(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function Ax(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function $m(e,t){if(!t.anchorNode)return!1;try{return Ax(e,t.anchorNode)}catch{return!1}}function Pm(e){return e.nodeType==3?p0(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function Im(e,t,n,r){return n?V$(e,t,n,r,-1)||V$(e,t,n,r,1):!1}function Yc(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function Hb(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function V$(e,t,n,r,a){for(;;){if(e==n&&t==r)return!0;if(t==(a<0?0:Jl(e))){if(e.nodeName=="DIV")return!1;let i=e.parentNode;if(!i||i.nodeType!=1)return!1;t=Yc(e)+(a<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(a<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=a<0?Jl(e):0}else return!1}}function Jl(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function h0(e,t){let{left:n,right:r}=e;if(n==r)return e;let a=t?n:r;return{left:a,right:a,top:e.top,bottom:e.bottom}}function $dt(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function $Z(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function Pdt(e,t,n,r,a,i,o,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let f,h=u==l.body,p=1,m=1;if(h)f=$dt(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let k=u.getBoundingClientRect();({scaleX:p,scaleY:m}=$Z(u,k)),f={left:k.left,right:k.left+u.clientWidth*p,top:k.top,bottom:k.top+u.clientHeight*m}}let g=0,v=0;if(a=="nearest")t.top<f.top+o?(v=t.top-(f.top+o),n>0&&t.bottom>f.bottom+v&&(v=t.bottom-f.bottom+o)):t.bottom>f.bottom-o&&(v=t.bottom-f.bottom+o,n<0&&t.top-v<f.top&&(v=t.top-(f.top+o)));else{let k=t.bottom-t.top,S=f.bottom-f.top;v=(a=="center"&&k<=S?t.top+k/2-S/2:a=="start"||a=="center"&&n<0?t.top-o:t.bottom-S+o)-f.top}if(r=="nearest"?t.left<f.left+i?(g=t.left-(f.left+i),n>0&&t.right>f.right+g&&(g=t.right-f.right+i)):t.right>f.right-i&&(g=t.right-f.right+i,n<0&&t.left<f.left+g&&(g=t.left-(f.left+i))):g=(r=="center"?t.left+(t.right-t.left)/2-(f.right-f.left)/2:r=="start"==s?t.left-i:t.right-(f.right-f.left)+i)-f.left,g||v)if(h)c.scrollBy(g,v);else{let k=0,S=0;if(v){let A=u.scrollTop;u.scrollTop+=v/m,S=(u.scrollTop-A)*m}if(g){let A=u.scrollLeft;u.scrollLeft+=g/p,k=(u.scrollLeft-A)*p}t={left:t.left-k,top:t.top-S,right:t.right-k,bottom:t.bottom-S},k&&Math.abs(k-g)<1&&(r="nearest"),S&&Math.abs(S-v)<1&&(a="nearest")}if(h)break;(t.top<f.top||t.bottom>f.bottom||t.left<f.left||t.right>f.right)&&(t={left:Math.max(t.left,f.left),right:Math.min(t.right,f.right),top:Math.max(t.top,f.top),bottom:Math.min(t.bottom,f.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function PZ(e,t=!0){let n=e.ownerDocument,r=null,a=null;for(let i=e.parentNode;i&&!(i==n.body||(!t||r)&&a);)if(i.nodeType==1)!a&&i.scrollHeight>i.clientHeight&&(a=i),t&&!r&&i.scrollWidth>i.clientWidth&&(r=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:r,y:a}}class Idt{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:n,focusNode:r}=t;this.set(n,Math.min(t.anchorOffset,n?Jl(n):0),r,Math.min(t.focusOffset,r?Jl(r):0))}set(t,n,r,a){this.anchorNode=t,this.anchorOffset=n,this.focusNode=r,this.focusOffset=a}}function IZ(e){let t=[];for(let n=e;n;n=n.nodeType==11?n.host:n.parentNode)n.nodeType==1&&t.push({node:n,left:n.scrollLeft,top:n.scrollTop});return t}function RZ(e,t=!0){for(let{node:n,left:r,top:a}of e)t&&n.scrollTop!=a&&(n.scrollTop=a),n.scrollLeft!=r&&(n.scrollLeft=r)}let Mu=null;nt.safari&&nt.safari_version>=26&&(Mu=!1);function NZ(e){if(e.setActive)return e.setActive();if(Mu)return e.focus(Mu);let t=IZ(e);e.focus(Mu==null?{get preventScroll(){return Mu={preventScroll:!0},!0}}:void 0),Mu||(Mu=!1,RZ(t))}let q$;
2446function p0(e,t,n=t){let r=q$||(q$=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function Hf(e,t,n,r){let a={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=r);let i=new KeyboardEvent("keydown",a);i.synthetic=!0,e.dispatchEvent(i);let o=new KeyboardEvent("keyup",a);return o.synthetic=!0,e.dispatchEvent(o),i.defaultPrevented||o.defaultPrevented}function Rdt(e){for(;e;){if(e&&(e.nodeType==9||e.nodeType==11&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function Ndt(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,Jl(n));;)if(r){if(n.nodeType!=1)return!1;let a=n.childNodes[r-1];a.contentEditable=="false"?r--:(n=a,r=Jl(n))}else{if(n==e)return!0;r=Yc(n),n=n.parentNode}}function MZ(e){return e instanceof Window?e.pageYOffset>Math.max(0,e.document.documentElement.scrollHeight-e.innerHeight-4):e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function LZ(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=Jl(n)}else if(n.parentNode&&!Hb(n))r=Yc(n),n=n.parentNode;else return null}}function DZ(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&r<n.nodeValue.length)return{node:n,offset:r};if(n.nodeType==1&&r<n.childNodes.length){if(n.contentEditable=="false")return null;n=n.childNodes[r],r=0}else if(n.parentNode&&!Hb(n))r=Yc(n)+1,n=n.parentNode;else return null}}class gs{constructor(t,n,r=!0){this.node=t,this.offset=n,this.precise=r}static before(t,n){return new gs(t.parentNode,Yc(t),n)}static after(t,n){return new gs(t.parentNode,Yc(t)+1,n)}}var Ar=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Ar||(Ar={}));const Od=Ar.LTR,Vk=Ar.RTL;function BZ(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const Mdt=BZ("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Ldt=BZ("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Tx=Object.create(null),js=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);Tx[t]=n,Tx[n]=-t}function UZ(e){return e<=247?Mdt[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?Ldt[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const Ddt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class nl{get dir(){return this.level%2?Vk:Od}constructor(t,n,r){this.from=t,this.to=n,this.level=r}side(t,n){return this.dir==n==t?this.to:this.from}forward(t,n){return t==(this.dir==n)}static find(t,n,r,a){let i=-1;for(let o=0;o<t.length;o++){let s=t[o];if(s.from<=n&&s.to>=n){if(s.level==r)return o;(i<0||(a!=0?a<0?s.from<n:s.to>n:t[i].level>s.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}function jZ(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],a=t[n];if(r.from!=a.from||r.to!=a.to||r.direction!=a.direction||!jZ(r.inner,a.inner))return!1}return!0}const Hn=[];function Bdt(e,t,n,r,a){for(let i=0;i<=r.length;i++){let o=i?r[i-1].to:t,s=i<r.length?r[i].from:n,l=i?256:a;for(let c=o,u=l,d=l;c<s;c++){let f=UZ(e.charCodeAt(c));f==512?f=u:f==8&&d==4&&(f=16),Hn[c]=f==4?2:f,f&7&&(d=f),u=f}for(let c=o,u=l,d=l;c<s;c++){let f=Hn[c];if(f==128)c<s-1&&u==Hn[c+1]&&u&24?f=Hn[c]=u:Hn[c]=256;else if(f==64){let h=c+1;for(;h<s&&Hn[h]==64;)h++;let p=c&&u==8||h<n&&Hn[h]==8?d==1?1:8:256;for(let m=c;m<h;m++)Hn[m]=p;c=h-1}else f==8&&d==1&&(Hn[c]=1);u=f,f&7&&(d=f)}}}function Udt(e,t,n,r,a){let i=a==1?2:1;for(let o=0,s=0,l=0;o<=r.length;o++){let c=o?r[o-1].to:t,u=o<r.length?r[o].from:n;for(let d=c,f,h,p;d<u;d++)if(h=Tx[f=e.charCodeAt(d)])if(h<0){for(let m=s-3;m>=0;m-=3)if(js[m+1]==-h){let g=js[m+2],v=g&2?a:g&4?g&1?i:a:0;v&&(Hn[d]=Hn[js[m]]=v),s=m;break}}else{if(js.length==189)break;js[s++]=d,js[s++]=f,js[s++]=l}else if((p=Hn[d])==2||p==1){let m=p==a;l=m?0:1;for(let g=s-3;g>=0;g-=3){let v=js[g+2];
2446if(v&2)break;if(m)js[g+2]|=2;else{if(v&4)break;js[g+2]|=4}}}}}function jdt(e,t,n,r){for(let a=0,i=r;a<=n.length;a++){let o=a?n[a-1].to:e,s=a<n.length?n[a].from:t;for(let l=o;l<s;){let c=Hn[l];if(c==256){let u=l+1;for(;;)if(u==s){if(a==n.length)break;u=n[a++].to,s=a<n.length?n[a].from:t}else if(Hn[u]==256)u++;else break;let d=i==1,f=(u<t?Hn[u]:r)==1,h=d==f?d?1:2:r;for(let p=u,m=a,g=m?n[m-1].to:e;p>l;)p==g&&(p=n[--m].from,g=m?n[m-1].to:e),Hn[--p]=h;l=u}else i=c,l++}}}function Ex(e,t,n,r,a,i,o){let s=r%2?2:1;if(r%2==a%2)for(let l=t,c=0;l<n;){let u=!0,d=!1;if(c==i.length||l<i[c].from){let m=Hn[l];m!=s&&(u=!1,d=m==16)}let f=!u&&s==1?[]:null,h=u?r:r+1,p=l;e:for(;;)if(c<i.length&&p==i[c].from){if(d)break e;let m=i[c];if(!u)for(let g=m.to,v=c+1;;){if(g==n)break e;if(v<i.length&&i[v].from==g)g=i[v++].to;else{if(Hn[g]==s)break e;break}}if(c++,f)f.push(m);else{m.from>l&&o.push(new nl(l,m.from,h));let g=m.direction==Od!=!(h%2);_x(e,g?r+1:r,a,m.inner,m.from,m.to,o),l=m.to}p=m.to}else{if(p==n||(u?Hn[p]!=s:Hn[p]==s))break;p++}f?Ex(e,l,p,r+1,a,f,o):l<p&&o.push(new nl(l,p,h)),l=p}else for(let l=n,c=i.length;l>t;){let u=!0,d=!1;if(!c||l>i[c-1].to){let m=Hn[l-1];m!=s&&(u=!1,d=m==16)}let f=!u&&s==1?[]:null,h=u?r:r+1,p=l;e:for(;;)if(c&&p==i[c-1].to){if(d)break e;let m=i[--c];if(!u)for(let g=m.from,v=c;;){if(g==t)break e;if(v&&i[v-1].to==g)g=i[--v].from;else{if(Hn[g-1]==s)break e;break}}if(f)f.push(m);else{m.to<l&&o.push(new nl(m.to,l,h));let g=m.direction==Od!=!(h%2);_x(e,g?r+1:r,a,m.inner,m.from,m.to,o),l=m.from}p=m.from}else{if(p==t||(u?Hn[p-1]!=s:Hn[p-1]==s))break;p--}f?Ex(e,p,l,r+1,a,f,o):p<l&&o.push(new nl(p,l,h)),l=p}}function _x(e,t,n,r,a,i,o){let s=t%2?2:1;Bdt(e,a,i,r,s),Udt(e,a,i,r,s),jdt(a,i,r,s),Ex(e,a,i,t,n,r,o)}function Fdt(e,t,n){if(!e)return[new nl(0,0,t==Vk?1:0)];if(t==Od&&!n.length&&!Ddt.test(e))return FZ(e.length);if(n.length)for(;e.length>Hn.length;)Hn[Hn.length]=256;let r=[],a=t==Od?0:1;return _x(e,a,a,n,0,e.length,r),r}function FZ(e){return[new nl(0,e,0)]}let QZ="";function Qdt(e,t,n,r,a){var i;let o=r.head-e.from,s=nl.find(t,o,(i=r.bidiLevel)!==null&&i!==void 0?i:-1,r.assoc),l=t[s],c=l.side(a,n);if(o==c){let f=s+=a?1:-1;if(f<0||f>=t.length)return null;l=t[s=f],o=l.side(!a,n),c=l.side(a,n)}let u=ms(e.text,o,l.forward(a,n));(u<l.from||u>l.to)&&(u=c),QZ=e.text.slice(Math.min(o,u),Math.max(o,u));let d=s==(a?t.length-1:0)?null:t[s+(a?1:-1)];return d&&u==c&&d.level+(a?0:1)<l.level?Fe.cursor(d.side(!a,n)+e.from,d.forward(a,n)?1:-1,d.level):Fe.cursor(u+e.from,l.forward(a,n)?-1:1,l.level)}function zdt(e,t,n){for(let r=t;r<n;r++){let a=UZ(e.charCodeAt(r));if(a==1)return Od;if(a==2||a==4)return Vk}return Od}const zZ=st.define(),HZ=st.define(),VZ=st.define(),qZ=st.define(),Cx=st.define(),ZZ=st.define(),XZ=st.define(),qk=st.define(),Zk=st.define(),WZ=st.define({combine:e=>e.some(t=>t)}),Hdt=st.define({combine:e=>e.some(t=>t)}),YZ=st.define();class Vf{constructor(t,n,r,a,i,o=!1){this.range=t,this.y=n,this.x=r,this.yMargin=a,this.xMargin=i,this.isSnapshot=o}map(t){return t.empty?this:new Vf(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new Vf(Fe.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const $g=on.define({map:(e,t)=>e.map(t)}),GZ=on.define();function wi(e,t,n){let r=e.facet(qZ);r.length?r[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)||(n?console.error(n+":",t):console.error(t))}const Ll=st.define({combine:e=>e.length?e[0]:!0});let Vdt=0;const $f=st.define({combine(e){return e.filter((t,n)=>{for(let r=0;r<n;r++)if(e[r].plugin==t.plugin)return!1;return!0})}});class ha{constructor(t,n,r,a,i){this.id=t,this.create=n,this.domEventHandlers=r,this.domEventObservers=a,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat($f.of({plugin:this,arg:void 0}))}of(t){return this.baseExtensions.concat($f.of({plugin:this,arg:t}))}static define(t,n){const{eventHandlers:r,eventObservers:a,provide:i,decorations:o}=n||{};return new ha(Vdt++,t,r,a,s=>{let l=[];return o&&l.push(hO.of(c=>{let u=c.plugin(s);return u?o(u):Ft.none})),i&&l.push(i(s)),l})}static fromClass(t,n){return ha.define((r,a)=>new t(r,a),n)}}class dS{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(t){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(wi(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(t,this.spec.arg)}catch(n){wi(t.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){wi(t.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const KZ=st.define(),Xk=st.define(),hO=st.define(),JZ=st.define(),Wk=st.define(),S1=st.define(),eX=st.define();function Z$(e,t){let n=e.state.facet(eX);if(!n.length)return n;let r=n.map(i=>i instanceof Function?i(e):i),a=[];return mn.spans(r,t.from,t.to,{point(){},span(i,o,s,l){let c=i-t.from,u=o-t.from,d=a;for(let f=s.length-1;f>=0;f--,l--){let h=s[f].spec.bidiIsolate,p;if(h==null&&(h=zdt(t.text,c,u)),l>0&&d.length&&(p=d[d.length-1]).to==c&&p.direction==h)p.to=u,d=p.inner;else{let m={from:c,to:u,direction:h,inner:[]};d.push(m),d=m.inner}}}}),a}const tX=st.define();function Yk(e){let t=0,n=0,r=0,a=0;for(let i of e.state.facet(tX)){let o=i(e);o&&(o.left!=null&&(t=Math.max(t,o.left)),o.right!=null&&(n=Math.max(n,o.right)),o.top!=null&&(r=Math.max(r,o.top)),o.bottom!=null&&(a=Math.max(a,o.bottom)))}return{left:t,right:n,top:r,bottom:a}}const om=st.define();class No{constructor(t,n,r,a){this.fromA=t,this.toA=n,this.fromB=r,this.toB=a}join(t){return new No(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let n=t.length,r=this;for(;n>0;n--){let a=t[n-1];if(!(a.fromA>
vendor: 6,597 bytes, line 2446
2446r.toA)){if(a.toA<r.fromA)break;r=r.join(a),t.splice(n-1,1)}}return t.splice(n,0,r),t}static extendWithRanges(t,n){if(n.length==0)return t;let r=[];for(let a=0,i=0,o=0;;){let s=a<t.length?t[a].fromB:1e9,l=i<n.length?n[i]:1e9,c=Math.min(s,l);if(c==1e9)break;let u=c+o,d=c,f=u;for(;;)if(i<n.length&&n[i]<=d){let h=n[i+1];i+=2,d=Math.max(d,h);for(let p=a;p<t.length&&t[p].fromB<=d;p++)o=t[p].toA-t[p].toB;f=Math.max(f,h+o)}else if(a<t.length&&t[a].fromB<=d){let h=t[a++];d=Math.max(d,h.toB),f=Math.max(f,h.toA),o=h.toA-h.toB}else break;r.push(new No(u,f,c,d))}return r}}class Vb{constructor(t,n,r){this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=ca.empty(this.startState.doc.length);for(let i of r)this.changes=this.changes.compose(i.changes);let a=[];this.changes.iterChangedRanges((i,o,s,l)=>a.push(new No(i,o,s,l))),this.changedRanges=a}static create(t,n,r){return new Vb(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const qdt=[];class Ir{constructor(t,n,r=0){this.dom=t,this.length=n,this.flags=r,this.parent=null,t.cmTile=this}get breakAfter(){return this.flags&1}get children(){return qdt}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(t){if(this.flags|=2,this.flags&4){this.flags&=-5;let n=this.domAttrs;n&&Edt(this.dom,n)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(t){this.dom=t,t.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t,n=this.posAtStart){let r=n;for(let a of this.children){if(a==t)return r;r+=a.length+a.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}covers(t){return!0}coordsIn(t,n,r){return null}domPosFor(t,n){let r=Yc(this.dom),a=this.length?t>0:n>0;return new gs(this.parent.dom,r+(a?1:0),t==0||t==this.length)}markDirty(t){this.flags&=-3,t&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let t=this;t;t=t.parent)if(t instanceof mO)return t;return null}static get(t){return t.cmTile}}class pO extends Ir{constructor(t){super(t,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(t){this.children.push(t),t.parent=this}sync(t){if(this.flags&2)return;super.sync(t);let n=this.dom,r=null,a,i=(t==null?void 0:t.node)==n?t:null,o=0;for(let s of this.children){if(s.sync(t),o+=s.length+s.breakAfter,a=r?r.nextSibling:n.firstChild,i&&a!=s.dom&&(i.written=!0),s.dom.parentNode==n)for(;a&&a!=s.dom;)a=X$(a);else n.insertBefore(s.dom,a);r=s.dom}for(a=r?r.nextSibling:n.firstChild,i&&a&&(i.written=!0);a;)a=X$(a);this.length=o}}function X$(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class mO extends pO{constructor(t,n){super(n),this.view=t}owns(t){for(;t;t=t.parent)if(t==this)return!0;return!1}isBlock(){return!0}nearest(t){for(;;){if(!t)return null;let n=Ir.get(t);if(n&&this.owns(n))return n;t=t.parentNode}}blockTiles(t){for(let n=[],r=this,a=0,i=0;;)if(a==r.children.length){if(!n.length)return;r=r.parent,r.breakAfter&&i++,a=n.pop()}else{let o=r.children[a++];if(o instanceof Vl)n.push(a),r=o,a=0;else{let s=i+o.length,l=t(o,i);if(l!==void 0)return l;i=s+o.breakAfter}}}resolveBlock(t,n){let r,a=-1,i,o=-1;if(this.blockTiles((s,l)=>{let c=l+s.length;if(t>=l&&t<=c){if(s.isWidget()&&n>=-1&&n<=1){if(s.flags&32)return!0;s.flags&16&&(r=void 0)}(l<t||t==c&&(n<-1?s.length:s.covers(1)))&&(!r||!s.isWidget()&&r.isWidget())&&(r=s,a=t-l),(c>t||t==l&&(n>1?s.length:s.covers(-1)))&&(!i||!s.isWidget()&&i.isWidget())&&(i=s,o=t-l)}}),!r&&!i)throw new Error("No tile at position "+t);return r&&n<0||!i?{tile:r,offset:a}:{tile:i,offset:o}}}class Vl extends pO{constructor(t,n){super(t),this.wrapper=n}isBlock(){return!0}covers(t){return this.children.length?t<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(t,n){let r=new Vl(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}}class Ch extends pO{constructor(t,n){super(t),this.attrs=n}isLine(){return!0}static start(t,n,r){let a=new Ch(n||document.createElement("div"),t);return(!n||!r)&&(a.flags|=4),a}get domAttrs(){return this.attrs}resolveInline(t,n,r){let a=null,i=-1,o=null,s=-1;function l(u,d){for(let f=0,h=0;f<u.children.length&&h<=d;f++){let p=u.children[f],m=h+p.length;m>=d&&(p.isComposite()?l(p,d-h):(!o||o.isHidden&&(n>0&&!(o.flags&32)||r&&Xdt(o,p)))&&(m>d||p.flags&32&&n<=1)?(o=p,s=d-h):(h<d||p.flags&16&&!p.isHidden&&n>=-1)&&(a=p,i=d-h)),h=m}}l(this,t);let c=(n<0?a:o)||a||o;return c?{tile:c,offset:c==a?i:s}:null}coordsIn(t,n,r){let a=this.resolveInline(t,n,!0);return a?a.tile.coordsIn(Math.max(0,a.offset),n,r):Zdt(this)}domIn(t,n){let r=this.resolveInline(t,n);if(r){let{tile:a,offset:i}=r;if(this.dom.contains(a.dom))return a.isText()?new gs(a.dom,Math.min(a.dom.nodeValue.length,i)):a.domPosFor(i,a.flags&16?1:a.flags&32?-1:n);let o=r.tile.parent,s=!1;for(let l of o.children){if(s)return new gs(l.dom,0);l==r.tile&&(s=!0)}}return new gs(this.dom,0)}}function Zdt(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=Pm(t);return n[n.length-1]||null}function Xdt(e,t){let n=e.coordsIn(0,1),r=t.coordsIn(0,1);return n&&r&&r.top<n.bottom}class Li extends pO{constructor(t,n){super(t),this.mark=n}get domAttrs(){return this.mark.attrs}static of(t,n){let r=new Li(n||document.createElement(t.tagName),t);return n||(r.flags|=4),r}}class Ku extends Ir{constructor(t,n){super(t,n.length),this.text=n}sync(t){this.flags&2||(super.sync(t),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(t,n,r){let a=this.dom.nodeValue.length;t>a&&(t=a);let i=t,o=t,s=0;t==0&&n<0||t==a&&n>=0?nt.chrome||nt.gecko||(t?(i--,s=1):o<a&&(o++,s=-1)):n<0?i--:o<a&&o++;let l=p0(this.dom,i,o).getClientRects();if(!l.length)return null;
2446let c=l[(s?s<0:n>=0)?0:l.length-1];return nt.safari&&!s&&c.width==0&&(c=Array.prototype.find.call(l,u=>u.width)||c),r==null?c:h0(c,(s?s>0:n<0)==r)}static of(t,n){let r=new Ku(n||document.createTextNode(t),t);return n||(r.flags|=2),r}}class Sd extends Ir{constructor(t,n,r,a){super(t,n,a),this.widget=r}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(t){return this.flags&48?!1:(this.flags&(t<0?64:128))>0}coordsIn(t,n){return this.coordsInWidget(t,n,!1)}coordsInWidget(t,n,r){let a=this.widget.coordsAt(this.dom,t,n);if(a)return a;if(r)return h0(this.dom.getBoundingClientRect(),this.length?t==0:n<=0);{let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let s=this.flags&16?!0:this.flags&32?!1:t>0;for(let l=s?i.length-1:0;o=i[l],!(t>0?l==0:l==i.length-1||o.top<o.bottom);l+=s?-1:1);return h0(o,!s)}}get overrideDOMText(){if(!this.length)return Pn.empty;let{root:t}=this;if(!t)return Pn.empty;let n=this.posAtStart;return t.view.state.doc.slice(n,n+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(t,n,r,a,i){return i||(i=t.toDOM(n),t.editable||(i.contentEditable="false")),new Sd(i,r,t,a)}}class qb extends Ir{constructor(t){let n=document.createElement("img");n.className="cm-widgetBuffer",n.setAttribute("aria-hidden","true"),super(n,0,t)}get isHidden(){return!0}get overrideDOMText(){return Pn.empty}coordsIn(t,n,r){let a=this.dom.getBoundingClientRect();return r==null?a:h0(a,n>0==r)}}class Wdt{constructor(t){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=t}advance(t,n,r){let{tile:a,index:i,beforeBreak:o,parents:s}=this;for(;t||n>0;)if(a.isComposite())if(o){if(!t)break;r&&r.break(),t--,o=!1}else if(i==a.children.length){if(!t&&!s.length)break;r&&r.leave(a),o=!!a.breakAfter,{tile:a,index:i}=s.pop(),i++}else{let l=a.children[i],c=l.breakAfter;(n>0?l.length<=t:l.length<t)&&(!r||r.skip(l,0,l.length)!==!1||!l.isComposite)?(o=!!c,i++,t-=l.length):(s.push({tile:a,index:i}),a=l,i=0,r&&l.isComposite()&&r.enter(l))}else{let l=a.length;if(i<l&&t){let c=Math.min(t,l-i);r&&r.skip(a,i,i+c),t-=c,i+=c}if(i==l)o=!!a.breakAfter,{tile:a,index:i}=s.pop(),i++;else if(!t)break}return this.tile=a,this.index=i,this.beforeBreak=o,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class Ydt{constructor(t,n,r,a){this.from=t,this.to=n,this.wrapper=r,this.rank=a}}class Gdt{constructor(t,n,r){this.cache=t,this.root=n,this.blockWrappers=r,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(t,n,r,a){var i;this.flushBuffer();let o=this.ensureMarks(n,r),s=o.lastChild;if(s&&s.isText()&&!(s.flags&8)&&s.length+t.length<512){this.cache.reused.set(s,2);let l=o.children[o.children.length-1]=new Ku(s.dom,s.text+t);l.parent=o}else o.append(a||Ku.of(t,(i=this.cache.find(Ku))===null||i===void 0?void 0:i.dom));this.pos+=t.length,this.afterWidget=null}addComposition(t,n){let r=this.curLine;r.dom!=n.line.dom&&(r.setDOM(this.cache.reused.has(n.line)?fS(n.line.dom):n.line.dom),this.cache.reused.set(n.line,2));let a=r;for(let s=n.marks.length-1;s>=0;s--){let l=n.marks[s],c=a.lastChild;if(c instanceof Li&&c.mark.eq(l.mark))c.dom!=l.dom&&c.setDOM(fS(l.dom)),a=c;else{let{dom:u}=l;this.cache.reused.get(l)&&Ir.get(l.dom)&&(u=fS(l.dom));let d=Li.of(l.mark,u);a.append(d),a=d}this.cache.reused.set(l,2)}let i=Ir.get(t.text);i&&this.cache.reused.set(i,2);let o=new Ku(t.text,t.text.nodeValue);o.flags|=8,this.pos=t.range.toB,a.append(o)}addInlineWidget(t,n,r){let a=this.afterWidget&&t.flags&48&&(this.afterWidget.flags&48)==(t.flags&48);a||this.flushBuffer();let i=this.ensureMarks(n,r);!a&&!(t.flags&16)&&i.append(this.getBuffer(1)),i.append(t),this.pos+=t.length,this.afterWidget=t}addMark(t,n,r){this.flushBuffer(),this.ensureMarks(n,r).append(t),this.pos+=t.length,this.afterWidget=null}addBlockWidget(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}continueWidget(t){let n=this.afterWidget||this.lastBlock;n.length+=t,this.pos+=t}addLineStart(t,n){var r;t||(t=nX);let a=Ch.start(t,n||((r=this.cache.find(Ch))===null||r===void 0?void 0:r.dom),!!n);this.getBlockPos().append(this.lastBlock=this.curLine=a)}addLine(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBlock=t,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(t){this.blockPosCovered()||this.addLineStart(t)}ensureLine(t){this.curLine||this.addLineStart(t)}ensureMarks(t,n){var r;let a=this.curLine;for(let i=t.length-1;i>=0;i--){let o=t[i],s;if(n>0&&(s=a.lastChild)&&s instanceof Li&&s.mark.eq(o))a=s,n--;else{let l=Li.of(o,(r=this.cache.find(Li,c=>c.mark.eq(o)))===null||r===void 0?void 0:r.dom);a.append(l),a=l,n=0}}return a}endLine(){if(this.curLine){this.flushBuffer();
vendor: 47,683 bytes, lines 2446-2448
2446let t=this.curLine.lastChild;(!t||!W$(this.curLine,!1)||t.dom.nodeName!="BR"&&t.isWidget()&&!(nt.ios&&W$(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(hS,0,32)||new Sd(hS.toDOM(),0,hS,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let t=this.wrappers.length-1;t>=0;t--)this.wrappers[t].to<this.pos&&this.wrappers.splice(t,1);for(let t=this.blockWrappers;t.value&&t.from<=this.pos;t.next())if(t.to>=this.pos){let n=t.rank*102+t.value.rank,r=new Ydt(t.from,t.to,t.value,n),a=this.wrappers.length;for(;a>0&&(this.wrappers[a-1].rank-r.rank||this.wrappers[a-1].to-r.to)<0;)a--;this.wrappers.splice(a,0,r)}this.wrapperPos=this.pos}getBlockPos(){var t;this.updateBlockWrappers();let n=this.root;for(let r of this.wrappers){let a=n.lastChild;if(r.from<this.pos&&a instanceof Vl&&a.wrapper.eq(r.wrapper))n=a;else{let i=Vl.of(r.wrapper,(t=this.cache.find(Vl,o=>o.wrapper.eq(r.wrapper)))===null||t===void 0?void 0:t.dom);n.append(i),n=i}}return n}blockPosCovered(){let t=this.lastBlock;return t!=null&&!t.breakAfter&&(!t.isWidget()||(t.flags&160)>0)}getBuffer(t){let n=2|(t<0?16:32),r=this.cache.find(qb,void 0,1);return r&&(r.flags=n),r||new qb(n)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class Kdt{constructor(t){this.skipCount=0,this.text="",this.textOff=0,this.cursor=t.iter()}skip(t){this.textOff+t<=this.text.length?this.textOff+=t:(this.skipCount+=t-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(t){if(this.textOff==this.text.length){let{value:a,lineBreak:i,done:o}=this.cursor.next(this.skipCount);if(this.skipCount=0,o)throw new Error("Ran out of text content when drawing inline views");this.text=a;let s=this.textOff=Math.min(t,a.length);return i?null:a.slice(0,s)}let n=Math.min(this.text.length,this.textOff+t),r=this.text.slice(this.textOff,n);return this.textOff=n,r}}const Zb=[Sd,Ch,Ku,Li,qb,Vl,mO];for(let e=0;e<Zb.length;e++)Zb[e].bucket=e;class Jdt{constructor(t){this.view=t,this.buckets=Zb.map(()=>[]),this.index=Zb.map(()=>0),this.reused=new Map}add(t){let n=t.constructor.bucket,r=this.buckets[n];r.length<6?r.push(t):r[this.index[n]=(this.index[n]+1)%6]=t}find(t,n,r=2){let a=t.bucket,i=this.buckets[a],o=this.index[a];for(let s=0;s<i.length;s++){let l=(s+o)%i.length,c=i[l];if((!n||n(c))&&!this.reused.has(c))return i.splice(l,1),l<o&&this.index[a]--,this.reused.set(c,r),c}return null}findWidget(t,n,r){let a=this.buckets[0];if(a.length)for(let i=0,o=0;;i++){if(i==a.length){if(o)return null;o=1,i=0}let s=a[i];if(!this.reused.has(s)&&(o==0?s.widget.compare(t):s.widget.constructor==t.constructor&&t.updateDOM(s.dom,this.view,s.widget)))return a.splice(i,1),i<this.index[0]&&this.index[0]--,s.widget==t&&s.length==n&&(s.flags&497)==r?(this.reused.set(s,1),s):(this.reused.set(s,2),new Sd(s.dom,n,t,s.flags&-498|r))}}reuse(t){return this.reused.set(t,1),t}maybeReuse(t,n=2){if(!this.reused.has(t))return this.reused.set(t,n),t.dom}clear(){for(let t=0;t<this.buckets.length;t++)this.buckets[t].length=this.index[t]=0}}class eft{constructor(t,n,r,a,i){this.view=t,this.decorations=a,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new Jdt(t),this.text=new Kdt(t.state.doc),this.builder=new Gdt(this.cache,new mO(t,t.contentDOM),mn.iter(r)),this.cache.reused.set(n,2),this.old=new Wdt(n),this.reuseWalker={skip:(o,s,l)=>{if(this.cache.add(o),o.isComposite())return!1},enter:o=>this.cache.add(o),leave:()=>{},break:()=>{}}}run(t,n){let r=n&&this.getCompositionContext(n.text);for(let a=0,i=0,o=0;;){let s=o<t.length?t[o++]:null,l=s?s.fromA:this.old.root.length;if(l>a){let c=l-a;this.preserve(c,!o,!s),a=l,i+=c}if(!s)break;n&&s.fromA<=n.range.fromA&&s.toA>=n.range.toA?(this.forward(s.fromA,n.range.fromA,n.range.fromA<n.range.toA?1:-1),this.emit(i,n.range.fromB),this.builder.flushBuffer(),this.cache.clear(),this.builder.addComposition(n,r),this.text.skip(n.range.toB-n.range.fromB),this.forward(n.range.fromA,s.toA),this.emit(n.range.toB,s.toB)):(this.forward(s.fromA,s.toA),this.emit(i,s.toB)),i=s.toB,a=s.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(t,n,r){let a=rft(this.old),i=this.openMarks;this.old.advance(t,r?1:-1,{skip:(o,s,l)=>{if(o.isWidget())if(this.openWidget)this.builder.continueWidget(l-s);else{let c=l>0||s<o.length?Sd.of(o.widget,this.view,l-s,o.flags&496,this.cache.maybeReuse(o)):this.cache.reuse(o);c.flags&256?(c.flags&=-2,this.builder.addBlockWidget(c)):(this.builder.ensureLine(null),this.builder.addInlineWidget(c,a,i),i=a.length)}else if(o.isText())this.builder.ensureLine(null),!s&&l==o.length&&!this.cache.reused.has(o)?this.builder.addText(o.text,a,i,this.cache.reuse(o)):(this.cache.add(o),this.builder.addText(o.text.slice(s,l),a,i)),i=a.length;else if(o.isLine())o.flags&=-2,this.cache.reused.set(o,1),this.builder.addLine(o);else if(o instanceof qb)this.cache.add(o);else if(o instanceof Li)this.builder.ensureLine(null),this.builder.addMark(o,a,i),this.cache.reused.set(o,1),i=a.length;else return!1;this.openWidget=!1},enter:o=>{o.isLine()?this.builder.addLineStart(o.attrs,this.cache.maybeReuse(o)):(this.cache.add(o),o instanceof Li&&a.unshift(o.mark)),this.openWidget=!1},leave:o=>{o.isLine()?a.length&&(a.length=i=0):o instanceof Li&&(a.shift(),i=Math.min(i,a.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(t)}emit(t,n){let r=null,a=this.builder,i=-1,o=mn.spans(this.decorations,t,n,{point:(s,l,c,u,d,f)=>{if(c instanceof vd){if(this.disallowBlockEffectsFor[f]){if(c.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(s).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(i=u.length,d>u.length)a.continueWidget(l-s);else{let h=c.widget||(c.block?$h.block:$h.inline),p=tft(c),m=this.cache.findWidget(h,l-s,p)||Sd.of(h,this.view,l-s,p);c.block?(c.startSide>0&&a.addLineStartIfNotCovered(r),a.addBlockWidget(m)):(a.ensureLine(r),a.addInlineWidget(m,u,d))}r=null}else r=nft(r,c);l>s&&this.text.skip(l-s)},span:(s,l,c,u)=>{for(let d=s;d<l;){let f=this.text.next(Math.min(512,l-d));f==null?(a.addLineStartIfNotCovered(r),a.addBreak(),d++):(a.ensureLine(r),a.addText(f,c,d==s?u:c.length),d+=f.length),r=null}i=c.length}});i>-1&&(this.openWidget=o>i),this.openWidget||a.addLineStartIfNotCovered(r),this.openMarks=o}forward(t,n,r=1){n-t<=10?this.old.advance(n-t,r,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(n-t-10,-1),this.old.advance(5,r,this.reuseWalker))}getCompositionContext(t){let n=[],r=null;for(let a=t.parentNode;;a=a.parentNode){let i=Ir.get(a);if(a==this.view.contentDOM)break;i instanceof Li?n.push(i):i!=null&&i.isLine()?r=i:i instanceof Vl||(a.nodeName=="DIV"&&!r?r=new Ch(a,nX):r||n.push(Li.of(new v1({tagName:a.nodeName.toLowerCase(),attributes:_dt(a)}),a)))}return r?{line:r,marks:n}:null}}function W$(e,t){let n=r=>{for(let a of r.children)if((t?a.isText():a.length)||n(a))return!0;return!1};return n(e)}function tft(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;return e.block&&(t|=256),t}const nX={class:"cm-line"};function nft(e,t){let n=t.spec.attributes,r=t.spec.class;return!n&&!r||(e||(e={class:"cm-line"}),n&&zk(n,e),r&&(e.class+=" "+r)),e}function rft(e){let t=[];for(let n=e.parents.length;n>1;n--){let r=n==e.parents.length?e.tile:e.parents[n].tile;r instanceof Li&&t.push(r.mark)}return t}function fS(e){let t=Ir.get(e);return t&&t.setDOM(e.cloneNode()),e}class $h extends Go{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}$h.inline=new $h("span");$h.block=new $h("div");const hS=new class extends Go{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Y${constructor(t){this.view=t,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=Ft.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new mO(t,t.contentDOM),this.updateInner([new No(0,0,0,t.state.doc.length)],null)}update(t){var n;let r=t.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:u,toA:d})=>d<this.minWidthFrom||u>this.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?a=this.domChanged.newSel.head:!fft(t.changes,this.hasComposition)&&!t.selectionSet&&(a=t.state.selection.main.head));let i=a>-1?ift(this.view,t.changes,a):null;if(this.domChanged=null,this.hasComposition){let{from:u,to:d}=this.hasComposition;r=new No(u,d,t.changes.mapPos(u,-1),t.changes.mapPos(d,1)).addToSet(r.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(nt.ie||nt.chrome)&&!i&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,s=this.blockWrappers;this.updateDeco();let l=lft(o,this.decorations,t.changes);l.length&&(r=No.extendWithRanges(r,l));let c=uft(s,this.blockWrappers,t.changes);return c.length&&(r=No.extendWithRanges(r,c)),i&&!r.some(u=>u.fromA<=i.range.fromA&&u.toA>=i.range.toA)&&(r=i.range.addToSet(r.slice())),this.tile.flags&2&&r.length==0?!1:(this.updateInner(r,i),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,n){this.view.viewState.mustMeasureContent=!0;let{observer:r}=this.view;r.ignore(()=>{if(n||t.length){let o=this.tile,s=new eft(this.view,o,this.blockWrappers,this.decorations,this.dynamicDecorationMap);n&&Ir.get(n.text)&&s.cache.reused.set(Ir.get(n.text),2),this.tile=s.run(t,n),$x(o,s.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=nt.chrome||nt.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(i),i&&(i.written||r.selectionRange.focusNode!=i.node||!this.tile.dom.contains(i.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let a=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let i of this.tile.children)i.isWidget()&&i.widget instanceof pS&&a.push(i.dom);r.updateGaps(a)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let n of t.transactions)for(let r of n.effects)r.is(GZ)&&(this.editContextFormatting=r.value)}updateSelection(t=!1,n=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let{dom:r}=this.tile,a=this.view.root.activeElement,i=a==r,o=!i&&!(this.view.state.facet(Ll)||r.tabIndex>-1)&&$m(r,this.view.observer.selectionRange)&&!(a&&r.contains(a));if(!(i||n||o))return;let s=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,c,u;if(l.empty?u=c=this.inlineDOMNearPos(l.anchor,l.assoc||1):(u=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),c=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),nt.gecko&&l.empty&&!this.hasComposition&&aft(c)){let f=document.createTextNode("");this.view.observer.ignore(()=>c.node.insertBefore(f,c.node.childNodes[c.offset]||null)),c=u=new gs(f,0),s=!0}let d=this.view.observer.selectionRange;(s||!d.focusNode||(!Im(c.node,c.offset,d.anchorNode,d.anchorOffset)||!Im(u.node,u.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,l))&&(this.view.observer.ignore(()=>{nt.android&&nt.chrome&&r.contains(d.focusNode)&&dft(d.focusNode,r)&&(r.blur(),r.focus({preventScroll:!0}));let f=f0(this.view.root);if(f)if(l.empty){if(nt.gecko){let h=oft(c.node,c.offset);if(h&&h!=3){let p=(h==1?LZ:DZ)(c.node,c.offset);p&&(c=new gs(p.node,p.offset))}}f.collapse(c.node,c.offset),l.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=l.bidiLevel)}else if(f.extend){f.collapse(c.node,c.offset);try{f.extend(u.node,u.offset)}catch{}}else{let h=document.createRange();l.anchor>l.head&&([c,u]=[u,c]),h.setEnd(u.node,u.offset),h.setStart(c.node,c.offset),f.removeAllRanges(),f.addRange(h)}o&&this.view.root.activeElement==r&&(r.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(c,u)),this.impreciseAnchor=c.precise?null:new gs(d.anchorNode,d.anchorOffset),this.impreciseHead=u.precise?null:new gs(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(t,n){return this.hasComposition&&n.empty&&Im(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,n=t.state.selection.main,r=f0(t.root),{anchorNode:a,anchorOffset:i}=t.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let o=this.lineAt(n.head,n.assoc);if(!o)return;let s=o.posAtStart;if(n.head==s||n.head==s+o.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(n.head+n.assoc,n.assoc);r.collapse(u.node,u.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let d=t.observer.selectionRange;t.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=n.from&&r.collapse(a,i)}posFromDOM(t,n){let r=this.tile.nearest(t);if(!r)return this.tile.dom.compareDocumentPosition(t)&2?0:this.view.state.doc.length;let a=r.posAtStart;if(r.isComposite()){let i;if(t==r.dom)i=r.dom.childNodes[n];else{let o=Jl(t)==0?0:n==0?-1:1;for(;;){let s=t.parentNode;if(s==r.dom)break;o==0&&s.firstChild!=s.lastChild&&(t==s.firstChild?o=-1:o=1),t=s}o<0?i=t:i=t.nextSibling}if(i==r.dom.firstChild)return a;for(;i&&!Ir.get(i);)i=i.nextSibling;if(!i)return a+r.length;for(let o=0,s=a;;o++){let l=r.children[o];if(l.dom==i)return s;s+=l.length+l.breakAfter}}else return r.isText()?t==r.dom?a+n:a+(n?r.length:0):a}domAtPos(t,n){let{tile:r,offset:a}=this.tile.resolveBlock(t,n);return r.isWidget()?r.domPosFor(a,n):r.domIn(a,n)}inlineDOMNearPos(t,n){let r,a=-1,i=!1,o,s=-1,l=!1;return this.tile.blockTiles((c,u)=>{if(c.isWidget()){if(c.flags&32&&u>=t)return!0;c.flags&16&&(i=!0)}else{let d=u+c.length;if(u<=t&&(r=c,a=t-u,i=d<t),d>=t&&!o&&(o=c,s=t-u,l=u>t),u>t&&o)return!0}}),!r&&!o?this.domAtPos(t,n):(i&&o?r=null:l&&r&&(o=null),r&&n<0||!o?r.domIn(a,n):o.domIn(s,n))}coordsAt(t,n,r){let{tile:a,offset:i}=this.tile.resolveBlock(t,n);return a.isWidget()?a.widget instanceof pS?null:a.coordsInWidget(i,n,!0):a.coordsIn(i,n,r)}lineAt(t,n){let{tile:r}=this.tile.resolveBlock(t,n);return r.isLine()?r:null}coordsForChar(t){let{tile:n,offset:r}=this.tile.resolveBlock(t,1);if(!n.isLine())return null;function a(i,o){if(i.isComposite())for(let s of i.children){if(s.length>=o){let l=a(s,o);if(l)return l}if(o-=s.length,o<0)break}else if(i.isText()&&o<i.length){let s=ms(i.text,o);if(s==o)return null;let l=p0(i.dom,o,s).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(c==l.length-1||u.top<u.bottom&&u.left<u.right)return u}}return null}return a(n,r)}measureVisibleLineHeights(t){let n=[],{from:r,to:a}=t,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==Ar.LTR,c=0,u=(d,f,h)=>{for(let p=0;p<d.children.length&&!(f>a);p++){let m=d.children[p],g=f+m.length,v=m.dom.getBoundingClientRect(),{height:k}=v;if(h&&!p&&(c+=v.top-h.top),m instanceof Vl)g>r&&u(m,f,v);else if(f>=r&&(c>0&&n.push(-c),n.push(k+c),c=0,o)){let S=m.dom.lastChild,A=S?Pm(S):[];if(A.length){let E=A[A.length-1],_=l?E.right-v.left:v.right-E.left;_>s&&(s=_,this.minWidth=i,this.minWidthFrom=f,this.minWidthTo=g)}}h&&p==d.children.length-1&&(c+=h.bottom-v.bottom),f=g+m.breakAfter}};return u(this.tile,0,null),n}textDirectionAt(t){let{tile:n}=this.tile.resolveBlock(t,1);return getComputedStyle(n.dom).direction=="rtl"?Ar.RTL:Ar.LTR}measureTextSize(){let t=this.tile.blockTiles(o=>{if(o.isLine()&&o.children.length&&o.length<=20){let s=0,l;for(let c of o.children){if(!c.isText()||/[^ -~]/.test(c.text))return;let u=Pm(c.dom);if(u.length!=1)return;s+=u[0].width,l=u[0].height}if(s)return{lineHeight:o.dom.getBoundingClientRect().height,charWidth:s/o.length,textHeight:l}}});if(t)return t;let n=document.createElement("div"),r,a,i;return n.className="cm-line",n.style.width="99999px",n.style.position="absolute",n.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(n);let o=Pm(n.firstChild)[0];r=n.getBoundingClientRect().height,a=o&&o.width?o.width/27:7,i=o&&o.height?o.height:r,n.remove()}),{lineHeight:r,charWidth:a,textHeight:i}}computeBlockGapDeco(){let t=[],n=this.view.viewState;for(let r=0,a=0;;a++){let i=a==n.viewports.length?null:n.viewports[a],o=i?i.from-1:this.view.state.doc.length;if(o>r){let s=(n.lineBlockAt(o).bottom-n.lineBlockAt(r).top)/this.view.scaleY;t.push(Ft.replace({widget:new pS(s),block:!0,inclusive:!0,isBlockGap:!0}).range(r,o))}if(!i)break;r=i.to+1}return Ft.set(t)}updateDeco(){let t=1,n=this.view.state.facet(hO).map(i=>(this.dynamicDecorationMap[t++]=typeof i=="function")?i(this.view):i),r=!1,a=this.view.state.facet(Wk).map((i,o)=>{let s=typeof i=="function";return s&&(r=!0),s?i(this.view):i});for(a.length&&(this.dynamicDecorationMap[t++]=r,n.push(mn.join(a))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];t<this.decorations.length;)this.dynamicDecorationMap[t++]=!1;this.blockWrappers=this.view.state.facet(JZ).map(i=>typeof i=="function"?i(this.view):i)}scrollIntoView(t){if(t.isSnapshot){let c=this.view.viewState.lineBlockAt(t.range.head);this.view.scrollDOM.scrollTop=c.top-t.yMargin,this.view.scrollDOM.scrollLeft=t.xMargin;return}for(let c of this.view.state.facet(YZ))try{if(c(this.view,t.range,t))return!0}catch(u){wi(this.view.state,u,"scroll handler")}let{range:n}=t,r=this.coordsAt(n.head,n.assoc||(n.head>n.anchor?-1:1)),a;if(!r)return;!n.empty&&(a=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,a.left),top:Math.min(r.top,a.top),right:Math.max(r.right,a.right),bottom:Math.max(r.bottom,a.bottom)});let i=Yk(this.view),o={left:r.left-i.left,top:r.top-i.top,right:r.right+i.right,bottom:r.bottom+i.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;if(Pdt(this.view.scrollDOM,o,n.head<n.anchor?-1:1,t.x,t.y,Math.max(Math.min(t.xMargin,s),-s),Math.max(Math.min(t.yMargin,l),-l),this.view.textDirection==Ar.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(r.top>window.visualViewport.offsetTop+window.visualViewport.height||r.bottom<window.visualViewport.offsetTop)){let c=this.view.docView.lineAt(n.head,1);if(c){let u=IZ(c.dom);c.dom.scrollIntoView({block:"nearest"}),RZ(u,!1)}}}lineHasWidget(t){let n=r=>r.isWidget()||r.children.some(n);return n(this.tile.resolveBlock(t,1).tile)}destroy(){$x(this.tile)}}function $x(e,t){let n=t==null?void 0:t.get(e);if(n!=1){n==null&&e.destroy();for(let r of e.children)$x(r,t)}}function aft(e){return e.node.nodeType==1&&e.node.firstChild&&(e.offset==0||e.node.childNodes[e.offset-1].contentEditable=="false")&&(e.offset==e.node.childNodes.length||e.node.childNodes[e.offset].contentEditable=="false")}function rX(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=LZ(n.focusNode,n.focusOffset),a=DZ(n.focusNode,n.focusOffset),i=r||a;if(a&&r&&a.node!=r.node){let s=Ir.get(a.node);if(!s||s.isText()&&s.text!=a.node.nodeValue)i=a;else if(e.docView.lastCompositionAfterCursor){let l=Ir.get(r.node);!l||l.isText()&&l.text!=r.node.nodeValue||(i=a)}}if(e.docView.lastCompositionAfterCursor=i!=r,!i)return null;let o=t-i.offset;return{from:o,to:o+i.node.nodeValue.length,node:i.node}}function ift(e,t,n){let r=rX(e,n);if(!r)return null;let{node:a,from:i,to:o}=r,s=a.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc;return{range:new No(l.mapPos(i),l.mapPos(o),i,o),text:a}}function oft(e,t){return e.nodeType!=1?0:(t&&e.childNodes[t-1].contentEditable=="false"?1:0)|(t<e.childNodes.length&&e.childNodes[t].contentEditable=="false"?2:0)}let sft=class{constructor(){this.changes=[]}compareRange(t,n){zf(t,n,this.changes)}comparePoint(t,n){zf(t,n,this.changes)}boundChange(t){zf(t,t,this.changes)}};function lft(e,t,n){let r=new sft;return mn.compare(e,t,n,r),r.changes}class cft{constructor(){this.changes=[]}compareRange(t,n){zf(t,n,this.changes)}comparePoint(){}boundChange(t){zf(t,t,this.changes)}}function uft(e,t,n){let r=new cft;return mn.compare(e,t,n,r),r.changes}function dft(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(n.nodeType==1&&n.contentEditable=="false")return!0;return!1}function fft(e,t){let n=!1;return t&&e.iterChangedRanges((r,a)=>{r<t.to&&a>t.from&&(n=!0)}),n}class pS extends Go{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function hft(e,t,n=1){let r=e.charCategorizer(t),a=e.doc.lineAt(t),i=t-a.from;if(a.length==0)return Fe.cursor(t);i==0?n=1:i==a.length&&(n=-1);let o=i,s=i;n<0?o=ms(a.text,i,!1):s=ms(a.text,i);let l=r(a.text.slice(o,s));for(;o>0;){let c=ms(a.text,o,!1);if(r(a.text.slice(c,o))!=l)break;o=c}for(;s<a.length;){let c=ms(a.text,s);if(r(a.text.slice(s,c))!=l)break;s=c}return Fe.undirectionalRange(o+a.from,s+a.from)}function pft(e,t,n,r,a){let i=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>e.defaultLineHeight*1.5){let s=e.viewState.heightOracle.textHeight,l=Math.floor((a-n.top-(e.defaultLineHeight-s)*.5)/s);i+=l*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+Adt(o,i,e.state.tabSize)}function mft(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let a;for(let i of r.type){if(i.from>t)break;if(!(i.to<t)){if(i.from<t&&i.to>t)return i;(!a||i.type==ji.Text&&(a.type!=i.type||(n<0?i.from<t:i.to>t)))&&(a=i)}}return a||r}return r}function gft(e,t,n,r){let a=mft(e,t.head,t.assoc||-1),i=!r||a.type!=ji.Text||!(e.lineWrapping||a.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>a.from?t.head-1:t.head);if(i){let s=e.dom.getBoundingClientRect(),l=e.textDirectionAt(a.from),c=e.posAtCoords({x:n==(l==Ar.LTR)?s.right-1:s.left+1,y:(i.top+i.bottom)/2});if(c!=null)return Fe.cursor(c,n?-1:1)}let o=e.state.doc.lineAt(t.head);return(n?o.to==a.to:o.from==a.from)?e.visualLineSide(o,n):Fe.cursor(n?a.to:a.from,n?-1:1)}function G$(e,t,n,r){let a=e.state.doc.lineAt(t.head),i=e.bidiSpans(a),o=e.textDirectionAt(a.from);for(let s=t,l=null;;){let c=Qdt(a,i,o,s,n),u=QZ;if(!c){if(a.number==(n?e.state.doc.lines:1))return s;u=` 2447`,a=e.state.doc.line(a.number+(n?1:-1)),i=e.bidiSpans(a),c=e.visualLineSide(a,!n)}if(l){if(!l(u))return s}else{if(!r)return c;l=r(u)}s=c}}function bft(e,t,n){let r=e.state.charCategorizer(t),a=r(n);return i=>{let o=r(i);return a==Ro.Space&&(a=o),a==o}}function yft(e,t,n,r){let a=t.head,i=n?1:-1;if(a==(n?e.state.doc.length:0))return Fe.cursor(a,t.assoc);let o=t.goalColumn,s,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(a,t.assoc||((t.empty?n:t.head==t.from)?1:-1)),u=e.documentTop;if(c)o==null&&(o=c.left-l.left),s=i<0?c.top:c.bottom;else{let p=e.viewState.lineBlockAt(a);o==null&&(o=Math.min(l.right-l.left,e.defaultCharacterWidth*(a-p.from))),s=(i<0?p.top:p.bottom)+u}let d=l.left+o,f=e.viewState.heightOracle.textHeight>>1,h=r??f;for(let p=0;;p+=f){let m=s+(h+p)*i,g=Px(e,{x:d,y:m},!1,i);if(n?m>l.bottom:m<l.top)return Fe.cursor(g.pos,g.assoc);let v=e.coordsAtPos(g.pos,g.assoc),k=v?(v.top+v.bottom)/2:0;if(!v||(n?k>s:k<s))return Fe.cursor(g.pos,g.assoc,void 0,o)}}function Rm(e,t,n){for(;;){let r=0;for(let a of e)a.between(t-1,t+1,(i,o,s)=>{if(t>i&&t<o){let l=r||n||(t-i<o-t?-1:1);t=l<0?i:o,r=l}});if(!r)return t}}function aX(e,t){let n=null;for(let r=0;r<t.ranges.length;r++){let a=t.ranges[r],i=null;if(a.empty){let o=Rm(e,a.from,0);o!=a.from&&(i=Fe.cursor(o,-1))}else{let o=Rm(e,a.from,-1),s=Rm(e,a.to,1);(o!=a.from||s!=a.to)&&(a.undirectional?i=Fe.undirectionalRange(a.from,a.to):i=Fe.range(a.from==a.anchor?o:s,a.from==a.head?o:s))}i&&(n||(n=t.ranges.slice()),n[r]=i)}return n?Fe.create(n,t.mainIndex):t}function mS(e,t,n){let r=Rm(e.state.facet(S1).map(a=>a(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:Fe.cursor(r,r<n.from?1:-1)}class el{constructor(t,n){this.pos=t,this.assoc=n}}function Px(e,t,n,r){let a=e.contentDOM.getBoundingClientRect(),i=a.top+e.viewState.paddingTop,{x:o,y:s}=t,l=s-i,c;for(;;){if(l<0)return new el(0,1);if(l>e.viewState.docHeight)return new el(e.state.doc.length,-1);if(c=e.elementAtHeight(l),r==null)break;if(c.type==ji.Text){if(r<0?c.to<e.viewport.from:c.from>e.viewport.to)break;let f=e.docView.coordsAt(r<0?c.from:c.to,r>0?-1:1);if(f&&(r<0?f.top<=l+i:f.bottom>=l+i))break}let d=e.viewState.heightOracle.textHeight/2;l=r>0?c.bottom+d:c.top-d}if(e.viewport.from>=c.to||e.viewport.to<=c.from){if(n)return null;if(c.type==ji.Text){let d=pft(e,a,c,o,s);return new el(d,d==c.from?1:-1)}}if(c.type!=ji.Text)return l<(c.top+c.bottom)/2?new el(c.from,1):new el(c.to,-1);let u=e.docView.lineAt(c.from,2);return(!u||u.length!=c.length)&&(u=e.docView.lineAt(c.from,-2)),new vft(e,o,s,e.textDirectionAt(c.from)).scanTile(u,c.from)}class vft{constructor(t,n,r,a){this.view=t,this.x=n,this.y=r,this.baseDir=a,this.line=null,this.spans=null}bidiSpansAt(t){return(!this.line||this.line.from>t||this.line.to<t)&&(this.line=this.view.state.doc.lineAt(t),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(t,n){let{line:r,spans:a}=this.bidiSpansAt(t);return a[nl.find(a,t-r.from,-1,n)].level==this.baseDir}dirAt(t,n){let{line:r,spans:a}=this.bidiSpansAt(t);return a[nl.find(a,t-r.from,-1,n)].dir}bidiIn(t,n){let{spans:r,line:a}=this.bidiSpansAt(t);return r.length>1||r.length&&(r[0].level!=this.baseDir||r[0].to+a.from<n)}scan(t,n,r=!1){let a=0,i=t.length-1,o=new Set,s=this.bidiIn(t[0],t[i]),l,c,u=-1,d=1e9,f;e:for(;a<i;){let p=i-a,m=a+i>>1;t:if(o.has(m)){for(let k=1;k<p;k++){let S=m+k;if(S>=i&&(S-=p),!o.has(S)){m=S;break t}}break e}o.add(m);let g=n(m),v=0;if(g)for(let k=0;k<g.length;k++){let S=g[k];if(!(S.width==0&&g.length>1))if(S.bottom<this.y)(!l||l.bottom<S.bottom)&&(l=S),v=1;else if(S.top>this.y)(!c||c.top>S.top)&&(c=S),v=-1;else{let A=S.left>this.x?this.x-S.left:S.right<this.x?this.x-S.right:0,E=Math.abs(A);E<d&&(u=m,d=E,f=S),A&&(v=A<0==(this.baseDir==Ar.LTR)?-1:1)}}v==-1&&(!s||this.baseDirAt(t[m],1))?i=m:v==1&&(!s||this.baseDirAt(t[m+1],-1))&&(a=m+1)}if(!f){if(!c&&!l)return{i:0,after:!1};let p=l&&(!c||this.y-l.bottom<c.top-this.y)?l:c;return this.y=(p.top+p.bottom)/2,this.scan(t,n,!0)}if(d&&!r){let{top:p,bottom:m}=f;if(l&&l.bottom>(p+p+m)/3)return this.y=l.bottom-1,this.scan(t,n,!0);if(c&&c.top<(p+m+m)/3)return this.y=c.top+1,this.scan(t,n,!0)}let h=(s?this.dirAt(t[u],1):this.baseDir)==Ar.LTR;return{i:u,after:this.x>(f.left+f.right)/2==h}}scanText(t,n){let r=[];for(let i=0;i<t.length;i=ms(t.text,i))r.push(n+i);r.push(n+t.length);let a=this.scan(r,i=>{let o=r[i]-n,s=r[i+1]-n;return p0(t.dom,o,s).getClientRects()});return a.after?new el(r[a.i+1],-1):new el(r[a.i],1)}scanTile(t,n){if(!t.length)return new el(n,1);if(t.children.length==1){let s=t.children[0];if(s.isText())return this.scanText(s,n);if(s.isComposite())return this.scanTile(s,n)}let r=[n];for(let s=0,l=n;s<t.children.length;s++)r.push(l+=t.children[s].length);let a=this.scan(r,s=>{let l=t.children[s];return l.flags&48?null:(l.dom.nodeType==1?l.dom:p0(l.dom,0,l.length)).getClientRects()}),i=t.children[a.i],o=r[a.i];return i.isText()?this.scanText(i,o):i.isComposite()?this.scanTile(i,o):a.after?new el(r[a.i+1],-1):new el(o,1)}}const Of="ï¿¿";class Oft{constructor(t,n){this.points=t,this.view=n,this.text="",this.lineSeparator=n.state.facet(Mn.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+=Of}readRange(t,n){if(!t)return this;let r=t.parentNode;for(let a=t;;){this.findPointBefore(r,a);let i=this.text.length;this.readNode(a);let o=Ir.get(a),s=a.nextSibling;if(s==n){o!=null&&o.breakAfter&&!s&&r!=this.view.contentDOM&&this.lineBreak();break}let l=Ir.get(s);(o&&l?o.breakAfter:(o?o.breakAfter:Hb(a))||Hb(s)&&(a.nodeName!="BR"||o!=null&&o.isWidget())&&this.text.length>i)&&!wft(s,n)&&this.lineBreak(),a=s}return this.findPointBefore(r,n),this}readTextNode(t){let n=t.nodeValue;for(let r of this.points)r.node==t&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,o=1,s;if(this.lineSeparator?(i=n.indexOf(this.lineSeparator,r),o=this.lineSeparator.length):(s=a.exec(n))&&(i=s.index,o=s[0].length),this.append(n.slice(r,i<0?n.length:i)),i<0)break;if(this.lineBreak(),o>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=o-1);r=i+o}}readNode(t){let n=Ir.get(t),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(t,r.length);for(let a=r.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,n){for(let r of this.points)r.node==t&&t.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(t,n){for(let r of this.points)(t.nodeType==3?r.node==t:t.contains(r.node))&&(r.pos=this.text.length+(Sft(t,r.node,r.offset)?n:0))}}function Sft(e,t,n){for(;;){if(!t||n<Jl(t))return!1;if(t==e)return!0;n=Yc(t)+1,t=t.parentNode}}function wft(e,t){let n;for(;!(e==t||!e);e=e.nextSibling){let r=Ir.get(e);if(!(r!=null&&r.isWidget()))return!1;r&&(n||(n=[])).push(r)}if(n)for(let r of n){let a=r.overrideDOMText;if(a!=null&&a.length)return!1}return!0}class K${constructor(t,n){this.node=t,this.offset=n,this.pos=-1}}class xft{constructor(t,n,r,a){this.typeOver=a,this.bounds=null,this.text="",this.domChanged=n>-1;let{impreciseHead:i,impreciseAnchor:o}=t.docView,s=t.state.selection;if(t.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=iX(t.docView.tile,n,r,0))){let l=i||o?[]:Aft(t),c=new Oft(l,t);c.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=c.text,this.newSel=Tft(l,this.bounds.from)}else{let l=t.observer.selectionRange,c=i&&i.node==l.focusNode&&i.offset==l.focusOffset||!Ax(t.contentDOM,l.focusNode)?s.main.head:t.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!Ax(t.contentDOM,l.anchorNode)?s.main.anchor:t.docView.posFromDOM(l.anchorNode,l.anchorOffset),d=t.viewport;if((nt.ios||nt.chrome)&&c!=u&&Math.min(c,u)<=s.main.from&&Math.max(c,u)>=s.main.to&&(d.from>0||d.to<t.state.doc.length)){let f=Math.min(c,u),h=Math.max(c,u),p=d.from-f,m=d.to-h;(p==0||p==1||f==0)&&(m==0||m==-1||h==t.state.doc.length)&&(c=0,u=t.state.doc.length)}if(t.inputState.composing>-1&&s.ranges.length>1)this.newSel=s.replaceRange(Fe.range(u,c));else if(t.lineWrapping&&u==c&&!(s.main.empty&&s.main.head==c)&&t.inputState.lastTouchTime>Date.now()-100){let f=t.coordsAtPos(c,-1),h=0;f&&(h=t.inputState.lastTouchY<=f.bottom?-1:1),this.newSel=Fe.create([Fe.cursor(c,h)])}else this.newSel=Fe.single(u,c)}}}function iX(e,t,n,r){if(e.isComposite()){let a=-1,i=-1,o=-1,s=-1;for(let l=0,c=r,u=r;l<e.children.length;l++){let d=e.children[l],f=c+d.length;if(c<t&&f>n)return iX(d,t,n,c);if(f>=t&&a==-1&&(a=l,i=c),c>n&&d.dom.parentNode==e.dom){o=l,s=u;break}u=f,c=f+d.breakAfter}return{from:i,to:s<0?r+e.length:s,startDOM:(a?e.children[a-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:o<e.children.length&&o>=0?e.children[o].dom:null}}else return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function oX(e,t){let n,{newSel:r}=t,{state:a}=e,i=a.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:s,to:l}=t.bounds,c=i.from,u=null;(o===8||nt.android&&t.text.length<l-s)&&(c=i.to,u="end");let d=a.doc.sliceString(s,l,Of),f,h;!i.empty&&i.from>=s&&i.to<=l&&(t.typeOver||d!=t.text)&&d.slice(0,i.from-s)==t.text.slice(0,i.from-s)&&d.slice(i.to-s)==t.text.slice(f=t.text.length-(d.length-(i.to-s)))?n={from:i.from,to:i.to,insert:Pn.of(t.text.slice(i.from-s,f).split(Of))}:(h=sX(d,t.text,c-s,u))&&(nt.chrome&&o==13&&h.toB==h.from+2&&t.text.slice(h.from,h.toB)==Of+Of&&h.toB--,n={from:s+h.from,to:s+h.toA,insert:Pn.of(t.text.slice(h.from,h.toB).split(Of))})}else r&&(!e.hasFocus&&a.facet(Ll)||Xb(r,i))&&(r=null);if(!n&&!r)return!1;if((nt.mac||nt.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=Fe.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:Pn.of([n.insert.toString().replace("."," ")])}):a.doc.lineAt(i.from).to<i.to&&e.docView.lineHasWidget(i.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:i.from,to:i.to,insert:a.toText(e.inputState.insertingText)}:nt.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` 2448 `&&e.lineWrapping&&(r&&(r=Fe.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Pn.of([" "])}),n)return Gk(e,n,r,o);if(r&&!Xb(r,i)){let s=!1,l="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(s=!0),l=e.inputState.lastSelectionOrigin,l=="select.pointer"&&(r=aX(a.facet(S1).map(c=>c(e)),r))),e.dispatch({selection:r,scrollIntoView:s,userEvent:l}),!0}else return!1}function Gk(e,t,n,r=-1){if(nt.ios&&e.inputState.flushIOSKey(t))return!0;let a=e.state.selection.main;if(nt.android&&(t.to==a.to&&(t.from==a.from||t.from==a.from-1&&e.state.sliceDoc(t.from,a.from)==" ")&&t.insert.length==1&&t.insert.lines==2&&Hf(e.contentDOM,"Enter",13)||(t.from==a.from-1&&t.to==a.to&&t.insert.length==0||r==8&&t.insert.length<t.to-t.from&&t.to>a.head)&&Hf(e.contentDOM,"Backspace",8)||t.from==a.from&&t.to==a.to+1&&t.insert.length==0&&Hf(e.contentDOM,"Delete",46)))return!0;let i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,s=()=>o||(o=kft(e,t,n));return e.state.facet(ZZ).some(l=>l(e,t.from,t.to,i,s))||e.dispatch(s()),!0}function kft(e,t,n){let r,a=e.state,i=a.selection.main,o=-1;if(t.from==t.to&&t.from<i.from||t.from>i.to){let l=t.from<i.from?-1:1,c=l<0?i.from:i.to,u=Rm(a.facet(S1).map(d=>d(e)),c,l);t.from==u&&(o=u)}if(o>-1)r={changes:t,selection:Fe.cursor(t.from+t.insert.length,-1)};else if(t.from>=i.from&&t.to<=i.to&&t.to-t.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let l=i.from<t.from?a.sliceDoc(i.from,t.from):"",c=i.to>t.to?a.sliceDoc(t.to,i.to):"";r=a.replaceSelection(e.state.toText(l+t.insert.sliceString(0,void 0,e.state.lineBreak)+c))}else{let l=a.changes(t),c=n&&n.main.to<=l.newLength?n.main:void 0;if(a.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=i.to+10&&t.to>=i.to-10){let u=e.state.sliceDoc(t.from,t.to),d,f=n&&rX(e,n.main.head);if(f){let p=t.insert.length-(t.to-t.from);d={from:f.from,to:f.to-p}}else d=e.state.doc.lineAt(i.head);let h=i.to-t.to;r=a.changeByRange(p=>{if(p.from==i.from&&p.to==i.to)return{changes:l,range:c||p.map(l)};let m=p.to-h,g=m-u.length;if(e.state.sliceDoc(g,m)!=u||m>=d.from&&g<=d.to)return{range:p};let v=a.changes({from:g,to:m,insert:t.insert}),k=p.to-i.to;return{changes:v,range:c?Fe.range(Math.max(0,c.anchor+k),Math.max(0,c.head+k)):p.map(v)}})}else r={changes:l,selection:c&&a.selection.replaceRange(c)}}let s="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1)),a.update(r,{userEvent:s,scrollIntoView:!0})}function sX(e,t,n,r){let a=Math.min(e.length,t.length),i=0;for(;i<a&&e.charCodeAt(i)==t.charCodeAt(i);)i++;if(i==a&&e.length==t.length)return null;let o=e.length,s=t.length;for(;o>0&&s>0&&e.charCodeAt(o-1)==t.charCodeAt(s-1);)o--,s--;if(r=="end"){let l=Math.max(0,i-Math.min(o,s));n-=o+l-i}if(o<i&&e.length<t.length){let l=n<=i&&n>=o?i-n:0;i-=l,s=i+(s-o),o=i}else if(s<i){let l=n<=i&&n>=s?i-n:0;i-=l,o=i+(o-s),s=i}return{from:i,toA:o,toB:s}}function Aft(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:a,focusOffset:i}=e.observer.selectionRange;return n&&(t.push(new K$(n,r)),(a!=n||i!=r)&&t.push(new K$(a,i))),t}function Tft(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?Fe.single(n+t,r+t):null}function Xb(e,t){return t.head==e.main.head&&t.anchor==e.main.anchor}class Eft{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,nt.safari&&t.contentDOM.addEventListener("input",()=>null),nt.gecko&&zft(t.contentDOM.ownerDocument)}handleEvent(t){!Lft(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(t.type,t)):this.runHandlers(t.type,t))}runHandlers(t,n){let r=this.handlers[t];if(r){for(let a of r.observers)a(this.view,n);for(let a of r.handlers){if(n.defaultPrevented)break;if(a(this.view,n)){n.preventDefault();break}}}}ensureHandlers(t){let n=Cft(t),r=this.handlers,a=this.view.contentDOM;for(let i in n)if(i!="scroll"){let o=!n[i].handlers.length,s=r[i];s&&o!=!s.handlers.length&&(a.removeEventListener(i,this.handleEvent),s=null),s||a.addEventListener(i,this.handleEvent,{passive:o})}for(let i in r)i!="scroll"&&!n[i]&&a.removeEventListener(i,this.handleEvent);this.handlers=n}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&t.keyCode!=27&&cX.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),nt.android&&nt.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;if(nt.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&(lX.some(n=>n.keyCode==t.keyCode)&&!t.ctrlKey||$ft.indexOf(t.key)>-1&&t.ctrlKey)){let n={ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey,shiftKey:t.shiftKey};return n.shiftKey&&nt.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&_ft(this.view.win)&&(n.shiftKey=!1),this.pendingIOSKey={key:t.key,keyCode:t.keyCode,mods:n},setTimeout(()=>this.flushIOSKey(),50),!0}return t.keyCode!=229&&this.view.observer.forceFlush(),!1}flushIOSKey(t){let n=this.pendingIOSKey;return!n||this.view.observer.pendingRecords().length||n.key=="Enter"&&t&&t.from<t.to&&/^\S+$/.test(t.insert.toString())?!1:(this.pendingIOSKey=void 0,Hf(this.view.contentDOM,n.key,n.keyCode,n.mods))}ignoreDuringComposition(t){return!/^key/.test(t.type)||t.synthetic?!1:this.composing>0?!0:nt.safari&&!nt.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function _ft(e){return e.visualViewport?e.visualViewport.height*e.visualViewport.scale/e.document.documentElement.clientHeight<.85:!1}function J$(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(a){wi(n.state,a)}}}function Cft(e){let t=Object.create(null);function n(r){return t[r]||(t[r]={observers:[],handlers:[]})}for(let r of e){let a=r.spec,i=a&&a.plugin.domEventHandlers,o=a&&a.plugin.domEventObservers;if(i)for(let s in i){let l=i[s];l&&n(s).handlers.push(J$(r.value,l))}if(o)for(let s in o){let l=o[s];l&&n(s).observers.push(J$(r.value,l))}}for(let r in _s)n(r).handlers.push(_s[r]);for(let r in ki)n(r).observers.push(ki[r]);return t}const lX=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],$ft="dthko",cX=[16,17,18,20,91,92,224,225],Pg=6;function Ig(e){return Math.max(0,e)*.7+8}function Pft(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class Ift{constructor(t,n,r,a){this.view=t,this.startEvent=n,this.style=r,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=PZ(t.contentDOM),this.atoms=t.state.facet(S1).map(o=>o(t));let i=t.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(Mn.allowMultipleSelections)&&Rft(t,n),this.dragging=Mft(t,n)&&fX(n)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Pft(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let n=0,r=0,a=0,i=0,o=this.view.win.innerWidth,s=this.view.win.innerHeight;this.scrollParents.x&&({left:a,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:s}=this.scrollParents.y.getBoundingClientRect());let l=Yk(this.view);t.clientX-l.left<=a+Pg?n=-Ig(a-t.clientX):t.clientX+l.right>=o-Pg&&(n=Ig(t.clientX-o)),t.clientY-l.top<=i+Pg?r=-Ig(i-t.clientY):t.clientY+l.bottom>=s-Pg&&(r=Ig(t.clientY-s)),this.setScrollSpeed(n,r)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,n){this.scrollSpeed={x:t,y:n},t||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:n}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(t||n)&&this.view.win.scrollBy(t,n),this.dragging===!1&&this.select(this.lastEvent)}select(t){let{view:n}=this,r=aX(this.atoms,this.style.get(t,this.extend,this.multiple));(this.mustSelect||!r.eq(n.state.selection,this.dragging===!1))&&this.view.dispatch({selection:r,userEvent:"select.pointer"}),this.mustSelect=!1}update(t){t.transactions.some(n=>n.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Rft(e,t){let n=e.state.facet(zZ);return n.length?n[0](t):nt.mac?t.metaKey:t.ctrlKey}function Nft(e,t){let n=e.state.facet(HZ);return n.length?n[0](t):nt.mac?!t.altKey:!t.ctrlKey}function Mft(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=f0(e.root);if(!r||r.rangeCount==0)return!0;let a=r.getRangeAt(0).getClientRects();for(let i=0;i<a.length;i++){let o=a[i];if(o.left<=t.clientX&&o.right>=t.clientX&&o.top<=t.clientY&&o.bottom>=t.clientY)return!0}return!1}function Lft(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Ir.get(n))&&r.isWidget()&&!r.isHidden&&r.widget.ignoreEvent(t))return!1;return!0}const _s=Object.create(null),ki=Object.create(null),uX=nt.ie&&nt.ie_version<15||nt.ios&&nt.webkit_version<604;function Dft(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),dX(e,n.value)},50)}function gO(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function dX(e,t){t=gO(e.state,qk,t);let{state:n}=e,r,a=1,i=n.toText(t),o=i.lines==n.selection.ranges.length;if(Ix!=null&&n.selection.ranges.every(l=>l.empty)&&Ix==i.toString()){let l=-1;r=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let d=n.toText((o?i.line(a++).text:t)+n.lineBreak);return{changes:{from:u.from,insert:d},range:Fe.cursor(c.from+d.length)}})}else o?r=n.changeByRange(l=>{let c=i.line(a++);return{changes:{from:l.from,to:l.to,insert:c.text},range:Fe.cursor(l.from+c.length)}}):r=n.replaceSelection(i);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}ki.scroll=e=>{let t=e.inputState;t.lastScrollTop=e.scrollDOM.scrollTop,t.lastScrollLeft=e.scrollDOM.scrollLeft,nt.ios&&!t.touchActive&&(t.lastIOSMomentumScroll=Date.now())};ki.wheel=ki.mousewheel=e=>{e.inputState.lastWheelEvent=Date.now()};_s.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1);ki.touchstart=(e,t)=>{let n=e.inputState,r=t.targetTouches[0];n.touchActive=!0,n.lastTouchTime=Date.now(),r&&(n.lastTouchX=r.clientX,n.lastTouchY=r.clientY),n.setSelectionOrigin("select.pointer")};ki.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};ki.touchend=(e,t)=>{e.inputState.touchActive=!1};_s.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(VZ))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=Uft(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new Ift(e,t,n,r)),r&&e.observer.ignore(()=>{NZ(e.contentDOM);let i=e.root.activeElement;i&&!i.contains(e.contentDOM)&&i.blur()});let a=e.inputState.mouseSelection;if(a)return a.start(t),a.dragging===!1}else e.inputState.setSelectionOrigin("select.pointer");return!1};function e9(e,t,n,r){if(r==1)return Fe.cursor(t,n);if(r==2)return hft(e.state,t,n);{let a=e.docView.lineAt(t,n),i=e.state.doc.lineAt(a?a.posAtEnd:t),o=a?a.posAtStart:i.from,s=a?a.posAtEnd:i.to;return s<e.state.doc.length&&s==i.to&&s++,Fe.undirectionalRange(o,s)}}const Bft=nt.ie&&nt.ie_version<=11;let t9=null,n9=0,r9=0;function fX(e){if(!Bft)return e.detail;let t=t9,n=r9;return t9=e,r9=Date.now(),n9=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(n9+1)%3:1}function Uft(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),r=fX(t),a=e.state.selection;return{update(i){i.docChanged&&(n.pos=i.changes.mapPos(n.pos),a=a.map(i.changes))},get(i,o,s){let l=e.posAndSideAtCoords({x:i.clientX,y:i.clientY},!1),c,u=e9(e,l.pos,l.assoc,r);if(n.pos!=l.pos&&!o){let d=e9(e,n.pos,n.assoc,r),f=Math.min(d.from,u.from),h=Math.max(d.to,u.to);
2448u=f<u.from?Fe.range(f,h,u.assoc):Fe.range(h,f,u.assoc)}return o?a.replaceRange(a.main.extend(u.from,u.to,u.assoc)):s&&r==1&&a.ranges.length>1&&(c=jft(a,l.pos))?c:s?a.addRange(u):Fe.create([u])}}}function jft(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:a}=e.ranges[n];if(r<=t&&a>=t)return Fe.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}_s.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let a=e.docView.tile.nearest(t.target);if(a&&a.isWidget()){let i=a.posAtStart,o=i+a.length;(i>=n.to||o<=n.from)&&(n=Fe.undirectionalRange(i,o))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",gO(e.state,Zk,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1};_s.dragend=e=>(e.inputState.draggedContent=null,!1);function a9(e,t,n,r){if(n=gO(e.state,qk,n),!n)return;let a=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:i}=e.inputState,o=r&&i&&Nft(e,t)?{from:i.from,to:i.to}:null,s={from:a,insert:n},l=e.state.changes(o?[o,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:o?"move.drop":"input.drop"}),e.inputState.draggedContent=null}_s.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),a=0,i=()=>{++a==n.length&&a9(e,t,r.filter(o=>o!=null).join(e.state.lineBreak),!1)};for(let o=0;o<n.length;o++){let s=new FileReader;s.onerror=i,s.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(r[o]=s.result),i()},s.readAsText(n[o])}return!0}else{let r=t.dataTransfer.getData("Text");if(r)return a9(e,t,r,!0),!0}return!1};_s.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=uX?null:t.clipboardData;return n?(dX(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(Dft(e),!1)};function Fft(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function Qft(e){let t=[],n=[],r=!1;for(let a of e.selection.ranges)a.empty||(t.push(e.sliceDoc(a.from,a.to)),n.push(a));if(!t.length){let a=-1;for(let{from:i}of e.selection.ranges){let o=e.doc.lineAt(i);o.number>a&&(t.push(o.text),n.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),a=o.number}r=!0}return{text:gO(e,Zk,t.join(e.lineBreak)),ranges:n,linewise:r}}let Ix=null;_s.copy=_s.cut=(e,t)=>{if(!$m(e.contentDOM,e.observer.selectionRange))return!1;let{text:n,ranges:r,linewise:a}=Qft(e.state);if(!n&&!a)return!1;Ix=a?n:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let i=uX?null:t.clipboardData;return i?(i.clearData(),i.setData("text/plain",n),!0):(Fft(e,n),!1)};const hX=cc.define();function pX(e,t){let n=[];for(let r of e.facet(XZ)){let a=r(e,t);a&&n.push(a)}return n.length?e.update({effects:n,annotations:hX.of(!0)}):null}function mX(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=pX(e.state,t);n?e.dispatch(n):e.update([])}},10)}ki.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),mX(e)};ki.blur=e=>{e.observer.clearSelectionRange(),mX(e)};ki.compositionstart=ki.compositionupdate=e=>{if(!e.observer.editContext&&(e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0)){let{main:t}=e.state.selection;!t.empty&&e.lineBlockAt(t.from).from!=e.lineBlockAt(t.to).from&&e.dispatch({changes:e.state.selection.ranges.filter(n=>!n.empty).map(n=>({from:n.from,to:n.to})),userEvent:"input"}),e.inputState.composing=0}};ki.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,nt.chrome&&nt.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))};ki.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};_s.beforeinput=(e,t)=>{var n,r;if((t.inputType=="insertText"||t.inputType=="insertCompositionText")&&(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),t.inputType=="insertReplacementText"&&e.observer.editContext){let i=(n=t.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),o=t.getTargetRanges();if(i&&o.length){let s=o[0],l=e.posAtDOM(s.startContainer,s.startOffset),c=e.posAtDOM(s.endContainer,s.endOffset);return Gk(e,{from:l,to:c,insert:e.state.toText(i)},null),!0}}let a;if(nt.chrome&&nt.android&&(a=lX.find(i=>i.inputType==t.inputType))&&(e.observer.delayAndroidKey(a.key,a.keyCode),a.key=="Backspace"||a.key=="Delete")){let i=((r=window.visualVie
2448wport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return nt.ios&&t.inputType=="deleteContentForward"&&e.observer.flushSoon(),nt.safari&&t.inputType=="insertText"&&e.inputState.composing>=0&&setTimeout(()=>ki.compositionend(e,t),20),!1};const i9=new Set;function zft(e){i9.has(e)||(i9.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const o9=["pre-wrap","normal","pre-line","break-spaces"];let Ph=!1;function s9(){Ph=!1}class Hft{constructor(t){this.lineWrapping=t,this.doc=Pn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-t-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return o9.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let n=!1;for(let r=0;r<t.length;r++){let a=t[r];a<0?r++:this.heightSamples[Math.floor(a*10)]||(n=!0,this.heightSamples[Math.floor(a*10)]=!0)}return n}refresh(t,n,r,a,i,o){let s=o9.indexOf(t)>-1,l=Math.abs(n-this.lineHeight)>.3||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=n,this.charWidth=r,this.textHeight=a,this.lineLength=i,l){this.heightSamples={};for(let c=0;c<o.length;c++){let u=o[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}}class Vft{constructor(t,n){this.from=t,this.heights=n,this.index=0}get more(){return this.index<this.heights.length}}class cs{constructor(t,n,r,a,i){this.from=t,this.length=n,this.top=r,this.height=a,this._content=i}get type(){return typeof this._content=="number"?ji.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof vd?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(t){let n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new cs(this.from,this.length+t.length,this.top,this.height+t.height,n)}}var tr=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(tr||(tr={}));const k2=.001;class xi{constructor(t,n,r=2){this.length=t,this.height=n,this.flags=r}get outdated(){return(this.flags&2)>0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>k2&&(Ph=!0),this.height=t)}replace(t,n,r){return xi.of(r)}decomposeLeft(t,n){n.push(this)}decomposeRight(t,n){n.push(this)}applyChanges(t,n,r,a){let i=this,o=r.doc;for(let s=a.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:d}=a[s],f=i.lineAt(l,tr.ByPosNoHeight,r.setDoc(n),0,0),h=f.to>=c?f:i.lineAt(c,tr.ByPosNoHeight,r,0,0);for(d+=h.to-c,c=h.to;s>0&&f.from<=a[s-1].toA;)l=a[s-1].fromA,u=a[s-1].fromB,s--,l<f.from&&(f=i.lineAt(l,tr.ByPosNoHeight,r,0,0));u+=f.from-l,l=f.from;let p=Kk.build(r.setDoc(o),t,u,d);i=Wb(i,i.replace(l,c,p))}return i.updateHeight(r,0)}static empty(){return new Ji(0,0,0)}static of(t){if(t.length==1)return t[0];let n=0,r=t.length,a=0,i=0;for(;;)if(n==r)if(a>i*2){let s=t[n-1];s.break?t.splice(--n,1,s.left,null,s.right):t.splice(--n,1,s.left,s.right),r+=1+s.break,a-=s.size}else if(i>a*2){let s=t[r];s.break?t.splice(r,1,s.left,null,s.right):t.splice(r,1,s.left,s.right),r+=2+s.break,i-=s.size}else break;else if(a<i){let s=t[n++];s&&(a+=s.size)}else{let s=t[--r];s&&(i+=s.size)}let o=0;return t[n-1]==null?(o=1,n--):t[n]==null&&(o=1,r++),new Zft(xi.of(t.slice(0,n)),o,xi.of(t.slice(r)))}}function Wb(e,t){return e==t?e:(e.constructor!=t.constructor&&(Ph=!0),t)}xi.prototype.size=1;const qft=Ft.replace({});class gX extends xi{constructor(t,n,r){super(t,n),this.deco=r,this.spaceAbove=0}mainBlock(t,n){return new cs(n,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(t,n,r,a){return this.spaceAbove&&t<r+this.spaceAbove?new cs(a,0,r,this.spaceAbove,qft):this.mainBlock(r,a)}lineAt(t,n,r,a,i){let o=this.mainBlock(a,i);return this.spaceAbove?this.blockAt(0,r,a,i).join(o):o}forEachLine(t,n,r,a,i,o){t<=i+this.length&&n>=i&&o(this.lineAt(0,tr.ByPos,r,a,i))}setMeasuredHeight(t){let n=t.heights[t.index++];n<0?(this.spaceAbove=-n,n=t.heights[t.index++]):this.spaceAbove=0,this.setHeight(n)}updateHeight(t,n=0,r=!1,a){return a&&a.from<=n&&a.more&&this.setMeasuredHeight(
vendor: 15,619 bytes, line 2448
2448a),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Ji extends gX{constructor(t,n,r){super(t,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=r}mainBlock(t,n){return new cs(n,this.length,t+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(t,n,r){let a=r[0];return r.length==1&&(a instanceof Ji||a instanceof Ra&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof Ra?a=new Ji(a.length,this.height,this.spaceAbove):a.height=this.height,this.outdated||(a.outdated=!1),a):xi.of(r)}updateHeight(t,n=0,r=!1,a){return a&&a.from<=n&&a.more?this.setMeasuredHeight(a):(r||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ra extends xi{constructor(t){super(t,0)}heightMetrics(t,n){let r=t.doc.lineAt(n).number,a=t.doc.lineAt(n+this.length).number,i=a-r+1,o,s=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*i);o=l/i,this.length>i+1&&(s=(this.height-l)/(this.length-i-1))}else o=this.height/i;return{firstLine:r,lastLine:a,perLine:o,perChar:s}}blockAt(t,n,r,a){let{firstLine:i,lastLine:o,perLine:s,perChar:l}=this.heightMetrics(n,a);if(n.lineWrapping){let c=a+(t<n.lineHeight?0:Math.round(Math.max(0,Math.min(1,(t-r)/this.height))*this.length)),u=n.doc.lineAt(c),d=s+u.length*l,f=Math.max(r,t-d/2);return new cs(u.from,u.length,f,d,0)}else{let c=Math.max(0,Math.min(o-i,Math.floor((t-r)/s))),{from:u,length:d}=n.doc.line(i+c);return new cs(u,d,r+s*c,s,0)}}lineAt(t,n,r,a,i){if(n==tr.ByHeight)return this.blockAt(t,r,a,i);if(n==tr.ByPosNoHeight){let{from:h,to:p}=r.doc.lineAt(t);return new cs(h,p-h,0,0,0)}let{firstLine:o,perLine:s,perChar:l}=this.heightMetrics(r,i),c=r.doc.lineAt(t),u=s+c.length*l,d=c.number-o,f=a+s*d+l*(c.from-i-d);return new cs(c.from,c.length,Math.max(a,Math.min(f,a+this.height-u)),u,0)}forEachLine(t,n,r,a,i,o){t=Math.max(t,i),n=Math.min(n,i+this.length);let{firstLine:s,perLine:l,perChar:c}=this.heightMetrics(r,i);for(let u=t,d=a;u<=n;){let f=r.doc.lineAt(u);if(u==t){let p=f.number-s;d+=l*p+c*(t-i-p)}let h=l+c*f.length;o(new cs(f.from,f.length,d,h,0)),d+=h,u=f.to+1}}replace(t,n,r){let a=this.length-n;if(a>0){let i=r[r.length-1];i instanceof Ra?r[r.length-1]=new Ra(i.length+a):r.push(null,new Ra(a-1))}if(t>0){let i=r[0];i instanceof Ra?r[0]=new Ra(t+i.length):r.unshift(new Ra(t-1),null)}return xi.of(r)}decomposeLeft(t,n){n.push(new Ra(t-1),null)}decomposeRight(t,n){n.push(null,new Ra(this.length-t-1))}updateHeight(t,n=0,r=!1,a){let i=n+this.length;if(a&&a.from<=n+this.length&&a.more){let o=[],s=Math.max(n,a.from),l=-1;for(a.from>n&&o.push(new Ra(a.from-n-1).updateHeight(t,n));s<=i&&a.more;){let u=t.doc.lineAt(s).length;o.length&&o.push(null);let d=a.heights[a.index++],f=0;d<0&&(f=-d,d=a.heights[a.index++]),l==-1?l=d:Math.abs(d-l)>=k2&&(l=-2);let h=new Ji(u,d,f);h.outdated=!1,o.push(h),s+=u+1}s<=i&&o.push(null,new Ra(i-s).updateHeight(t,s));let c=xi.of(o);return(l<0||Math.abs(c.height-this.height)>=k2||Math.abs(l-this.heightMetrics(t,n).perLine)>=k2)&&(Ph=!0),Wb(this,c)}else(r||this.outdated)&&(this.setHeight(t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Zft extends xi{constructor(t,n,r){super(t.length+n+r.length,t.height+r.height,n|(t.outdated||r.outdated?2:0)),this.left=t,this.right=r,this.size=t.size+r.size}get break(){return this.flags&1}blockAt(t,n,r,a){let i=r+this.left.height;return t<i?this.left.blockAt(t,n,r,a):this.right.blockAt(t,n,i,a+this.left.length+this.break)}lineAt(t,n,r,a,i){let o=a+this.left.height,s=i+this.left.length+this.break,l=n==tr.ByHeight?t<o:t<s,c=l?this.left.lineAt(t,n,r,a,i):this.right.lineAt(t,n,r,o,s);if(this.break||(l?c.to<s:c.from>s))return c;let u=n==tr.ByPosNoHeight?tr.ByPosNoHeight:tr.ByPos;return l?c.join(this.right.lineAt(s,u,r,o,s)):this.left.lineAt(s,u,r,a,i).join(c)}forEachLine(t,n,r,a,i,o){let s=a+this.left.height,l=i+this.left.length+this.break;if(this.break)t<l&&this.left.forEachLine(t,n,r,a,i,o),n>=l&&this.right.forEachLine(t,n,r,s,l,o);else{let c=this.lineAt(l,tr.ByPos,r,a,i);t<c.from&&this.left.forEachLine(t,c.from-1,r,a,i,o),c.to>=t&&c.from<=n&&o(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,s,l,o)}}replace(t,n,r){let a=this.left.length+this.break;if(n<a)return this.balanced(this.left.replace(t,n,r),this.right);if(t>this.left.length)return this.balanced(this.left,this.right.replace(t-a,n-a,r));let i=[];t>0&&this.decomposeLeft(t,i);let o=i.length;for(let s of r)i.push(s);if(t>0&&l9(i,o-1),n<this.length){let s=i.length;this.decomposeRight(n,i),l9(i,s)}return xi.of(i)}decomposeLeft(t,n){let r=this.left.length;if(t<=r)return this.left.decomposeLeft(t,n);n.push(this.left),this.break&&(r++,t>=r&&n.push(null)),t>r&&this.right.decomposeLeft(t-r,n)}decomposeRight(t,n){let r=this.left.length,a=r+this.break;if(t>=a)return this.right.decomposeRight(t-a,n);t<r&&this.left.decomposeRight(t,n),this.break&&t<a&&n.push(null),n.push(this.right)}balanced(t,n){return t.size>2*n.size||n.size>2*t.size?xi.of(this.break?[t,null,n]:[t,n]):(this.left=Wb(this.left,t),this.right=Wb(this.right,n),this.setHeight(t.height+n.height),this.outdated=t.outdated||n.outdated,this.size=t.size+n.size,this.length=t.length+this.break+n.length,this)}updateHeight(t,n=0,r=!1,a){let{left:i,right:o}=this,s=n+i.length+this.break,l=null;return a&&a.from<=n+i.length&&a.more?l=i=i.updateHeight(t,n,r,a):i.updateHeight(t,n,r),a&&a.from<=s+o.length&&a.more?l=o=o.updateHeight(t,s,r,a):o.updateHeight(t,s,r),l?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function l9(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof Ra&&(r=e[t+1])instanceof Ra&&e.splice(t-1,3,new Ra(n.length+1+r.length))}const Xft=5;class Kk{constructor(t,n){this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof Ji?a.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new Ji(r-this.pos,-1,0)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(t,n,r){if(t<n||r.heightRelevant){let a=r.widget?r.widget.estimatedHeight:0,i=r.widget?r.widget.lineBreaks:0;a<0&&(a=this.oracle.lineHeight);let o=n-t;r.block?this.addBlock(new gX(o,a,r)):(o||i||a>=Xft)&&this.addLineDeco(a,i,o)}else n>t&&this.span(t,n);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:t,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=n,this.writtenTo<t&&((this.writtenTo<t-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new Ji(this.pos-t,-1,0)),this.writtenTo=this.pos}blankContent(t,n){let r=new Ra(n-t);return this.oracle.doc.lineAt(t).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Ji)return t;let n=new Ji(0,-1,0);return this.nodes.push(n),n}addBlock(t){this.enterLine();let n=t.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,n&&n.endSide>0&&(this.covering=t)}addLineDeco(t,n,r){let a=this.ensureLine();a.length+=r,a.collapsed+=r,a.widgetHeight=Math.max(a.widgetHeight,t),a.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(t){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Ji)&&!this.isCovered?this.nodes.push(new Ji(0,-1,0)):(this.writtenTo<this.pos||n==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let r=t;for(let a of this.nodes)a instanceof Ji&&a.updateHeight(this.oracle,r),r+=a?a.length:1;return this.nodes}static build(t,n,r,a){let i=new Kk(r,t);return mn.spans(n,r,a,i,0),i.finish(r)}}function Wft(e,t,n){let r=new Yft;return mn.compare(e,t,n,r,0),r.changes}class Yft{constructor(){this.changes=[]}compareRange(){}comparePoint(t,n,r,a){(t<n||r&&r.heightRelevant||a&&a.heightRelevant)&&zf(t,n,this.changes,5)}}function Gft(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,a=r.defaultView||window,i=Math.max(0,n.left),o=Math.min(a.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(a.innerHeight,n.bottom);for(let c=e.parentNode;c&&c!=r.body;)if(c.nodeType==1){let u=c,d=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&d.overflow!="visible"){let f=u.getBoundingClientRect();i=Math.max(i,f.left),o=Math.min(o,f.right),s=Math.max(s,f.top),l=Math.min(c==e.parentNode?a.innerHeight:l,f.bottom)}c=d.position=="absolute"||d.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-n.left,right:Math.max(i,o)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}function Kft(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}function Jft(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class gS{constructor(t,n,r,a){this.from=t,this.to=n,this.size=r,this.displaySize=a}static same(t,n){if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++){let a=t[r],i=n[r];if(a.from!=i.from||a.to!=i.to||a.size!=i.size)return!1}return!0}draw(t,n){return Ft.replace({widget:new eht(this.displaySize*(n?t.scaleY:t.scaleX),n)}).range(this.from,this.to)}}class eht extends Go{constructor(t,n){super(),this.size=t,this.vertical=n}eq(t){return t.size==this.size&&t.vertical==this.vertical}toDOM(){let t=document.createElement("div");return this.vertical?t.style.height=this.size+"px":(t.style.width=this.size+"px",t.style.height="2px",t.style.display="inline-block"),t}get estimatedHeight(){return this.vertical?this.size:-1}}class c9{constructor(t,n){this.view=t,this.state=n,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=u9,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ar.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=n.facet(Xk).some(a=>typeof a!="function"&&a.class=="cm-lineWrapping");this.heightOracle=new Hft(r),this.stateDeco=d9(n),this.heightMap=xi.empty().applyChanges(this.stateDeco,Pn.empty,this.heightOracle.setDoc(n.doc),[new No(0,0,0,n.doc.length)]);for(let a=0;a<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());a++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ft.set(this.lineGaps.map(a=>a.draw(this,!1))),this.scrollParent=t.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let a=r?n.head:n.anchor;if(!t.some(({from:i,to:o})=>a>=i&&a<=o)){let{from:i,to:o}=this.lineBlockAt(a);t.push(new Rg(i,o))}}return this.viewports=t.sort((r,a)=>r.from-a.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?u9:new Jk(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(sm(t,this.scaler))})}update(t,n=null){this.state=t.state;let r=this.stateDeco;this.stateDeco=d9(this.state);let a=t.changedRanges,i=No.extendWithRanges(a,Wft(r,this.stateDeco,t?t.changes:ca.empty(this.state.doc.length))),o=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);s9(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=o||Ph)&&(t.flags|=2),s?(this.scrollAnchorPos=t.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let l=i.length?this.mapViewport(this.viewport,t.changes):this.viewport;(n&&(n.range.head<l.from||n.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||t.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&(t.selectionSet||t.focusChanged)&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(Hdt)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:t}=this,n=t.contentDOM,r=window.getComputedStyle(n),a=this.heightOracle,i=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?Ar.RTL:Ar.LTR;let o=this.heightOracle.mustRefreshForWrapping(i)||this.mustMeasureContent==="refresh",s=n.getBoundingClientRect(),l=o||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:E,scaleY:_}=$Z(n,s);(E>.005&&Math.abs(this.scaleX-E)>.005||_>.005&&Math.abs(this.scaleY-_)>.005)&&(this.scaleX=E,this.scaleY=_,c|=16,o=l=!0)}let d=(parseInt(r.paddingTop)||0)*this.scaleY,f=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,c|=18),this.editorWidth!=t.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=16);let h=PZ(this.view.contentDOM,!1).y;h!=this.scrollParent&&(this.scrollParent=h,this.scrollAnchorHeight=-1,this.scrollOffset=0);let p=this.getScrollOffset();this.scrollOffset!=p&&(this.scrollAnchorHeight=-1,this.scrollOffset=p),this.scrolledToBottom=MZ(this.scrollParent||t.win);let m=(this.printing?Jft:Gft)(n,this.paddingTop),g=m.top-this.pixelViewport.top,v=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let k=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(k!=this.inView&&(this.inView=k,k&&(l=!0)),!this.inView&&!this.scrollTarget&&!Kft(t.dom))return 0;let S=s.width;if((this.contentDOMWidth!=S||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=t.scrollDOM.clientHeight,c|=16),l){let E=t.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(E)&&(o=!0),o||a.lineWrapping&&Math.abs(S-this.contentDOMWidth)>a.charWidth){let{lineHeight:_,charWidth:C,textHeight:R}=t.docView.measureTextSize();o=_>0&&a.refresh(i,_,C,R,Math.max(5,S/C),E),o&&(t.docView.minWidth=0,c|=16)}g>0&&v>0?u=Math.max(g,v):g<0&&v<0&&(u=Math.min(g,v)),s9();for(let _ of this.viewports){let C=_.from==this.viewport.from?E:t.docView.measureVisibleLineHeights(_);this.heightMap=(o?xi.empty().applyChanges(this.stateDeco,Pn.empty,this.heightOracle,[new No(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(a,0,o,new Vft(_.from,C)
vendor: 4,126 bytes, line 2448
2448)}Ph&&(c|=2)}let A=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return A&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||A)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,n){let r=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),a=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:s}=this,l=new Rg(a.lineAt(o-r*1e3,tr.ByHeight,i,0,0).from,a.lineAt(s+(1-r)*1e3,tr.ByHeight,i,0,0).to);if(n){let{head:c}=n.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=a.lineAt(c,tr.ByPos,i,0,0),f;n.y=="center"?f=(d.top+d.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c<l.from?f=d.top:f=d.bottom-u,l=new Rg(a.lineAt(f-1e3/2,tr.ByHeight,i,0,0).from,a.lineAt(f+u+1e3/2,tr.ByHeight,i,0,0).to)}}return l}mapViewport(t,n){let r=n.mapPos(t.from,-1),a=n.mapPos(t.to,1);return new Rg(this.heightMap.lineAt(r,tr.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(a,tr.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:t,to:n},r=0){if(!this.inView)return!0;let{top:a}=this.heightMap.lineAt(t,tr.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(n,tr.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:s}=this;return(t==0||a<=o-Math.max(10,Math.min(-r,250)))&&(n==this.state.doc.length||i>=s+Math.max(10,Math.min(r,250)))&&a>o-2*1e3&&i<s+2*1e3}mapLineGaps(t,n){if(!t.length||n.empty)return t;let r=[];for(let a of t)n.touchesRange(a.from,a.to)||r.push(new gS(n.mapPos(a.from),n.mapPos(a.to),a.size,a.displaySize));return r}ensureLineGaps(t,n){let r=this.heightOracle.lineWrapping,a=r?1e4:2e3,i=a>>1,o=a<<1;if(this.defaultTextDirection!=Ar.LTR&&!r)return[];let s=[],l=(u,d,f,h)=>{if(d-u<i)return;let p=this.state.selection.main,m=[p.from];p.empty||m.push(p.to);for(let v of m)if(v>u&&v<d){l(u,v-10,f,h),l(v+10,d,f,h);return}let g=nht(t,v=>v.from>=f.from&&v.to<=f.to&&Math.abs(v.from-u)<i&&Math.abs(v.to-d)<i&&!m.some(k=>v.from<k&&v.to>k));if(!g){if(d<f.to&&n&&r&&n.visibleRanges.some(S=>S.from<=d&&S.to>=d)){let S=n.moveToLineBoundary(Fe.cursor(d),!1,!0).head;S>u&&(d=S)}let v=this.gapSize(f,u,d,h),k=r||v<2e6?v:2e6;g=new gS(u,d,v,k)}s.push(g)},c=u=>{if(u.length<o||u.type!=ji.Text)return;let d=tht(u.from,u.to,this.stateDeco);if(d.total<o)return;let f=this.scrollTarget?this.scrollTarget.range.head:null,h,p;if(r){let m=a/this.heightOracle.lineLength*this.heightOracle.lineHeight,g,v;if(f!=null){let k=Mg(d,f),S=((this.visibleBottom-this.visibleTop)/2+m)/u.height;g=k-S,v=k+S}else g=(this.visibleTop-u.top-m)/u.height,v=(this.visibleBottom-u.top+m)/u.height;h=Ng(d,g),p=Ng(d,v)}else{let m=d.total*this.heightOracle.charWidth,g=a*this.heightOracle.charWidth,v=0;if(m>2e6)for(let _ of t)_.from>=u.from&&_.from<u.to&&_.size!=_.displaySize&&_.from*this.heightOracle.charWidth+v<this.pixelViewport.left&&(v=_.size-_.displaySize);let k=this.pixelViewport.left+v,S=this.pixelViewport.right+v,A,E;if(f!=null){let _=Mg(d,f),C=((S-k)/2+g)/m;A=_-C,E=_+C}else A=(k-g)/m,E=(S+g)/m;h=Ng(d,A),p=Ng(d,E)}h>u.from&&l(u.from,h,u,d),p<u.to&&l(p,u.to,u,d)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return s}gapSize(t,n,r,a){let i=Mg(a,r)-Mg(a,n);return this.heightOracle.lineWrapping?t.height*i:a.total*this.heightOracle.charWidth*i}updateLineGaps(t){gS.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=Ft.set(t.map(n=>n.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(t){let n=this.stateDeco;this.lineGaps.length&&(n=n.concat(this.lineGapDeco));let r=[];mn.spans(n,this.viewport.from,this.viewport.to,{span(i,o){r.push({from:i,to:o})}
vendor: 25,285 bytes, lines 2448-2449
2448,point(){}},20);let a=0;if(r.length!=this.visibleRanges.length)a=12;else for(let i=0;i<r.length&&!(a&8);i++){let o=this.visibleRanges[i],s=r[i];(o.from!=s.from||o.to!=s.to)&&(a|=4,t&&t.mapPos(o.from,-1)==s.from&&t.mapPos(o.to,1)==s.to||(a|=8))}return this.visibleRanges=r,a}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(n=>n.from<=t&&n.to>=t)||sm(this.heightMap.lineAt(t,tr.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=t&&n.bottom>=t)||sm(this.heightMap.lineAt(this.scaler.fromDOM(t),tr.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop*this.scaleY:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top}scrollAnchorAt(t){let n=this.lineBlockAtHeight(t+8);return n.from>=this.viewport.from||this.viewportLines[0].top-t>200?n:this.viewportLines[0]}elementAtHeight(t){return sm(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Rg{constructor(t,n){this.from=t,this.to=n}}function tht(e,t,n){let r=[],a=e,i=0;return mn.spans(n,e,t,{span(){},point(o,s){o>a&&(r.push({from:a,to:o}),i+=o-a),a=s}},20),a<t&&(r.push({from:a,to:t}),i+=t-a),{total:i,ranges:r}}function Ng({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let a=0;;a++){let{from:i,to:o}=t[a],s=o-i;if(r<=s)return i+r;r-=s}}function Mg(e,t){let n=0;for(let{from:r,to:a}of e.ranges){if(t<=a){n+=t-r;break}n+=a-r}return n/e.total}function nht(e,t){for(let n of e)if(t(n))return n}const u9={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};function d9(e){let t=e.facet(hO).filter(r=>typeof r!="function"),n=e.facet(Wk).filter(r=>typeof r!="function");return n.length&&t.push(mn.join(n)),t}class Jk{constructor(t,n,r){let a=0,i=0,o=0;this.viewports=r.map(({from:s,to:l})=>{let c=n.lineAt(s,tr.ByPos,t,0,0).top,u=n.lineAt(l,tr.ByPos,t,0,0).bottom;return a+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(n.height-a);for(let s of this.viewports)s.domTop=o+(s.top-i)*this.scale,o=s.domBottom=s.domTop+(s.bottom-s.top),i=s.bottom}toDOM(t){for(let n=0,r=0,a=0;;n++){let i=n<this.viewports.length?this.viewports[n]:null;if(!i||t<i.top)return a+(t-r)*this.scale;if(t<=i.bottom)return i.domTop+(t-i.top);r=i.bottom,a=i.domBottom}}fromDOM(t){for(let n=0,r=0,a=0;;n++){let i=n<this.viewports.length?this.viewports[n]:null;if(!i||t<i.domTop)return r+(t-a)/this.scale;if(t<=i.domBottom)return i.top+(t-i.domTop);r=i.bottom,a=i.domBottom}}eq(t){return t instanceof Jk?this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((n,r)=>n.from==t.viewports[r].from&&n.to==t.viewports[r].to):!1}}function sm(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new cs(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(a=>sm(a,t)):e._content)}const Lg=st.define({combine:e=>e.join(" ")}),Rx=st.define({combine:e=>e.indexOf(!0)>-1}),Nx=Wc.newName(),bX=Wc.newName(),yX=Wc.newName(),vX={"&light":"."+bX,"&dark":"."+yX};function Mx(e,t,n){return new Wc(t,{finish(r){return/&/.test(r)?r.replace(/&\w*/,a=>{if(a=="&")return e;if(!n||!n[a])throw new RangeError(`Unsupported selector: ${a}`);return n[a]}):e+" "+r}})}const rht=Mx("."+Nx,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},".cm-panels-top":{top:"0"},".cm-panels-bottom":{bottom:"0"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{background:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 0) no-repeat",backgroundSize:".4em",backgroundPosition:"calc(min(50%, 0px)) center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},vX),aht={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},bS=nt.ie&&nt.ie_version<=11;class iht{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new Idt,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(nt.ie&&nt.ie_version<=11||nt.ios&&t.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&nt.android&&t.constructor.EDIT_CONTEXT!==!1&&!(nt.chrome&&nt.chrome_version<126)&&(this.editContext=new sht(t),t.state.facet(Ll)&&(t.contentDOM.editContext=this.editContext.editContext)),bS&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(n=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){(t.type=="change"||!t.type)&&!t.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((n,r)=>n!=t[r]))){this.gapIntersection.disconnect();for(let n of t)this.gapIntersection.observe(n);this.gaps=t}}onSelectionChange(t){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,a=this.selectionRange;if(r.state.facet(Ll)?r.root.activeElement!=this.dom:!$m(this.dom,a))return;let i=a.anchorNode&&r.docView.tile.nearest(a.anchorNode);if(i&&i.isWidget()&&i.widget.ignoreEvent(t)){n||(this.selectionChanged=!1);return}(nt.ie&&nt.ie_version<=11||nt.android&&nt.chrome)&&!r.state.selection.main.empty&&a.focusNode&&Im(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,n=f0(t.root);if(!n)return!1;let r=nt.safari&&t.root.nodeType==11&&t.root.activeElement==this.dom&&oht(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let a=$m(this.dom,r);return a&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime<Date.now()-300&&Ndt(this.dom,r)?(this.view.inputState.lastFocusTime=0,t.docView.updateSelection(),!1):(this.selectionRange.setRange(r),a&&(this.selectionChanged=!0),!0)}setSelectionRange(t,n){this.selectionRange.set(t.node,t.offset,n.node,n.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let t=0,n=null;for(let r=this.dom;r;)if(r.nodeType==1)!n&&t<this.scrollTargets.length&&this.scrollTargets[t]==r?t++:n||(n=this.scrollTargets.slice(0,t)),n&&n.push(r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;if(t<this.scrollTargets.length&&!n&&(n=this.scrollTargets.slice(0,t)),n){for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);for(let r of this.scrollTargets=n)r.addEventListener("scroll",this.onScroll)}}ignore(t){if(!this.active)return t();try{return this.stop(),t()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,aht),bS&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),bS&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(t,n){var r;if(!this.delayedAndroidKey){let a=()=>{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&Hf(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:n,force:this.lastChange<Date.now()-50||!!(!((r=this.delayedAndroidKey)===null||r===void 0)&&r.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let n=-1,r=-1,a=!1;for(let i of t){let o=this.readMutation(i);o&&(o.typeOver&&(a=!0),n==-1?{from:n,to:r}=o:(n=Math.min(o.from,n),r=Math.max(o.to,r)))}return{from:n,to:r,typeOver:a}}readChange(){let{from:t,to:n,typeOver:r}=this.processRecords(),a=this.selectionChanged&&$m(this.dom,this.selectionRange);if(t<0&&!a)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new xft(this.view,t,n,r);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,a=oX(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!Xb(this.view.state.selection,n.newSel.main))&&this.view.update([]),a}readMutation(t){let n=this.view.docView.tile.nearest(t.target);if(!n||n.isWidget())return null;if(n.markDirty(t.type=="attributes"),t.type=="childList"){let r=f9(n,t.previousSibling||t.target.previousSibling,-1),a=f9(n,t.nextSibling||t.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:a?n.posBefore(a):n.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(Ll)!=t.state.facet(Ll)&&(t.view.contentDOM.editContext=t.state.facet(Ll)?this.editContext.editContext:null))}destroy(){var t,n,r;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let a of this.scrollTargets)a.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function f9(e,t,n){for(;t;){let r=Ir.get(t);if(r&&r.parent==e)return r;let a=t.parentNode;t=a!=e.dom?a:n>0?t.nextSibling:t.previousSibling}return null}function h9(e,t){let n=t.startContainer,r=t.startOffset,a=t.endContainer,i=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor,1);return Im(o.node,o.offset,a,i)&&([n,r,a,i]=[a,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:a,focusOffset:i}}function oht(e,t){if(t.getComposedRanges){let a=t.getComposedRanges(e.root)[0];if(a)return h9(e,a)}let n=null;function r(a){a.preventDefault(),a.stopImmediatePropagation(),n=a.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?h9(e,n):null}class sht{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let n=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=r=>{let a=t.state.selection.main,{anchor:i,head:o}=a,s=this.toEditorPos(r.updateRangeStart),l=this.toEditorPos(r.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:r.updateRangeStart,editorBase:s,drifted:!1});let c=l-s>r.text.length;s==this.from&&i<this.from?s=i:l==this.to&&i>this.to&&(l=i);let u=sX(t.state.sliceDoc(s,l),r.text,(c?a.from:a.to)-s,c?"end":null);if(!u){let f=Fe.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd));Xb(f,a)||t.dispatch({selection:f,userEvent:"select"});return}let d={from:u.from+s,to:u.toA+s,insert:Pn.of(r.text.slice(u.from,u.toB).split(` 2449`))};if((nt.mac||nt.android)&&d.from==o-1&&/^\. ?$/.test(r.text)&&t.contentDOM.getAttribute("autocorrect")=="off"&&(d={from:s,to:l,insert:Pn.of([r.text.replace("."," ")])}),this.pendingContextChange=d,!t.state.readOnly){let f=this.to-this.from+(d.to-d.from+d.insert.length);Gk(t,d,Fe.single(this.toEditorPos(r.selectionStart,f),this.toEditorPos(r.selectionEnd,f)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state)),d.from<d.to&&!d.insert.length&&t.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(n.text.slice(Math.max(0,r.updateRangeStart-1),Math.min(n.text.length,r.updateRangeStart+1)))&&this.handlers.compositionend(r)},this.handlers.characterboundsupdate=r=>{let a=[],i=null;for(let o=this.toEditorPos(r.rangeStart),s=this.toEditorPos(r.rangeEnd);o<s;o++){let l=t.coordsForChar(o);i=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||i||new DOMRect,a.push(i)}n.updateCharacterBounds(r.rangeStart,a)},this.handlers.textformatupdate=r=>{let a=[];for(let i of r.getTextFormats()){let o=i.underlineStyle,s=i.underlineThickness;if(!/none/i.test(o)&&!/none/i.test(s)){let l=this.toEditorPos(i.rangeStart),c=this.toEditorPos(i.rangeEnd);if(l<c){let u=`text-decoration: underline ${/^[a-z]/.test(o)?o+" ":o=="Dashed"?"dashed ":o=="Squiggle"?"wavy ":""}${/thin/i.test(s)?1:2}px`;a.push(Ft.mark({attributes:{style:u}}).range(l,c))}}}t.dispatch({effects:GZ.of(Ft.set(a))})},this.handlers.compositionstart=()=>{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:r}=this.composing;this.composing=null,r&&this.reset(t.state)}};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{let a=f0(r.root);a&&a.rangeCount&&this.editContext.updateSelectionBounds(a.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let n=0,r=!1,a=this.pendingContextChange;return t.changes.iterChanges((i,o,s,l,c)=>{if(r)return;let u=c.length-(o-i);if(a&&o>=a.to)if(a.from==i&&a.to==o&&a.insert.eq(c)){a=this.pendingContextChange=null,n+=u,this.to+=u;return}else a=null,this.revertPending(t.state);if(i+=n,o+=n,o<=this.from)this.from+=u,this.to+=u;else if(i<this.to){if(i<this.from||o>this.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(o),c.toString()),this.to+=u}n+=u}),a&&!r&&this.revertPending(t.state),!r}update(t){let n=this.pendingContextChange,r=t.startState.selection.main;this.composing&&(this.composing.drifted||!t.changes.touchesRange(r.from,r.to)&&t.transactions.some(a=>!a.isUserEvent("input.type")&&a.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):!this.applyEdits(t)||!this.rangeIsValid(t.state)?(this.pendingContextChange=null,this.reset(t.state)):(t.docChanged||t.selectionSet||n)&&this.setSelection(t.state),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:n}=t.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(t.doc.length,n+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),t.doc.sliceString(n.from,n.to))}setSelection(t){let{main:n}=t.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),a=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=a)&&this.editContext.updateSelection(r,a)}rangeIsValid(t){let{head:n}=t.selection.main;return!(this.from>0&&n-this.from<500||this.to<t.doc.length&&this.to-n<500||this.to-this.from>1e4*3)}toEditorPos(t,n=this.to-this.from){t=Math.min(t,n);let r=this.composing;return r&&r.drifted?r.editorBase+(t-r.contextBase):t+this.from}toContextPos(t){let n=this.composing;return n&&n.drifted?n.contextBase+(t-n.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class ut{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.clearAnnouncement=-1,this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="
2449cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:r}=t;this.dispatchTransactions=t.dispatchTransactions||r&&(a=>a.forEach(i=>r(i,this)))||(a=>this.update(a)),this.dispatch=this.dispatch.bind(this),this._root=t.root||Rdt(t.parent)||document,this.viewState=new c9(this,t.state||Mn.create(t)),t.scrollTo&&t.scrollTo.is($g)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet($f).map(a=>new dS(a));for(let a of this.plugins)a.update(this);this.observer=new iht(this),this.inputState=new Eft(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Y$(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...t){let n=t.length==1&&t[0]instanceof Yr?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(n,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,a,i=this.state;for(let f of t){if(f.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=f.state}if(this.destroyed){this.viewState.state=i;return}let o=this.hasFocus,s=0,l=null;t.some(f=>f.annotation(hX))?(this.inputState.notifiedFocused=o,s=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,l=pX(i,o),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(Mn.phrases)!=this.state.facet(Mn.phrases))return this.setState(i);a=Vb.create(this,i,t),a.flags|=s;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let f of t){if(d&&(d=d.map(f.changes)),f.scrollIntoView){let{main:h}=f.state.selection,{x:p,y:m}=this.state.facet(ut.cursorScrollMargin);d=new Vf(h.empty?h:Fe.cursor(h.head,h.head>h.anchor?-1:1),"nearest","nearest",m,p)}for(let h of f.effects)h.is($g)&&(d=h.value.clip(this.state))}this.viewState.update(a,d),this.bidiCache=Yb.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),n=this.docView.update(a),this.state.facet(om)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(Lg)!=a.state.facet(Lg)&&(this.viewState.mustMeasureContent=!0),(n||r||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!a.empty)for(let f of this.state.facet(Cx))try{f(a)}catch(h){wi(this.state,h,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!oX(this,u)&&c.force&&Hf(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new c9(this,t),this.plugins=t.facet($f).map(r=>new dS(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new Y$(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(t){let n=t.startState.facet($f),r=t.state.facet($f);if(n!=r){let a=[];for(let i of r){let o=n.indexOf(i);if(o<0)a.push(new dS(i));else{let s=this.plugins[o];s.mustUpdate=t,a.push(s)}}for(let i of this.plugins)i.mustUpdate!=t&&i.destroy(this);this.plugins=a,this.pluginMap.clear()}else for(let a of this.plugins)a.mustUpdate=t;for(let a=0;a<this.plugins.length;a++)this.plugins[a].update(this);n!=r&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let t of this.plugins){let n=t.value;if(n&&n.docViewUpdate)try{n.docViewUpdate(this)}catch(r){wi(this.state,r,"doc view update listener")}}}measure(t=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let n=null,r=this.viewState.scrollParent,a=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:o,scaleY:s}=this.viewState;Math.abs(a-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0){if(MZ(r||this.win))i=-1,o=this.viewState.heightMap.height/this.viewState.scaleY;else{let p=this.viewState.scrollAnchorAt(a);i=p.from,o=p.top}s=this.viewState.scaleY}this.updateState=1;let c=this.viewState.measure();if(!c&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;
vendor: 6,297 bytes, line 2449
2449if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];c&4||([this.measureRequests,u]=[u,this.measureRequests]);let d=u.map(p=>{try{return p.read(this)}catch(m){return wi(this.state,m),p9}}),f=Vb.create(this,this.state,[]),h=!1;f.flags|=c,n?n.flags|=c:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),h=this.docView.update(f),h&&this.docViewUpdate());for(let p=0;p<u.length;p++)if(d[p]!=p9)try{let m=u[p];m.write&&m.write(d[p],this)}catch(m){wi(this.state,m)}if(h&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}else{let m=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)/this.viewState.scaleY-o/s;if((m>1||m<-1)&&!(nt.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(r==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){a=a+m,r?i<0?r.scrollTop=r.scrollHeight:r.scrollTop+=m:this.win.scrollBy(0,m),o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let l of this.state.facet(Cx))l(n)}get themeClasses(){return Nx+" "+(this.state.facet(Rx)?yX:bX)+" "+this.state.facet(Lg)}updateAttrs(){let t=m9(this,KZ,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Ll)?"true":"false",class:"cm-content",style:`${nt.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),m9(this,Xk,n);let r=this.observer.ignore(()=>{let a=H$(this.contentDOM,this.contentAttrs,n),i=H$(this.dom,this.editorAttrs,t);return a||i});return this.editorAttrs=t,this.contentAttrs=n,r}showAnnouncements(t){let n=!0;for(let r of t)for(let a of r.effects)if(a.is(ut.announce)){n&&(this.announceDOM.textContent="",this.win.clearTimeout(this.clearAnnouncement),this.clearAnnouncement=this.win.setTimeout(()=>{this.announceDOM.textContent="Â "},200),n=!1);let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(om);let t=this.state.facet(ut.cspNonce);Wc.mount(this.root,this.styleModules.concat(rht).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let n=0;n<this.measureRequests.length;n++)if(this.measureRequests[n].key===t.key){this.measureRequests[n]=t;return}}this.measureRequests.push(t)}}plugin(t){let n=this.pluginMap.get(t);return(n===void 0||n&&n.plugin!=t)&&this.pluginMap.set(t,n=this.plugins.find(r=>r.plugin==t)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,n,r){return mS(this,t,G$(this,t,n,r))}moveByGroup(t,n){return mS(this,t,G$(this,t,n,r=>bft(this,t.head,r)))}visualLineSide(t,n){let r=this.bidiSpans(t),a=this.textDirectionAt(t.from),i=r[n?r.length-1:0];return Fe.cursor(i.side(n,a)+t.from,i.forward(!n,a)?1:-1)}moveToLineBoundary(t,n,r=!0){return gft(this,t,n,r)}moveVertically(t,n,r){return mS(this,t,yft(this,t,n,r))}domAtPos(t,n=1){return this.docView.domAtPos(t,n)}posAtDOM(t,n=0){return this.docView.posFromDOM(t,n)}posAtCoords(t,n=!0){this.readMeasured();let r=Px(this,t,n);return r&&r.pos}posAndSideAtCoords(t,n=!0){return this.readMeasured(),Px(this,t,n)}coordsAtPos(t,n=1){this.readMeasured();let r=this.state.doc.lineAt(t),a=this.bidiSpans(r),i=a[nl.find(a,t-r.from,-1,n)];return this.docView.coordsAt(t,n,i.dir==Ar.RTL)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(WZ)||t<this.viewport.from||t>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>lht)return FZ(t.length);let n=this.textDirectionAt(t.from),r;for(let i of this.bidiCache)if(i.from==t.from&&i.dir==n&&(i.fresh||jZ(i.isolates,r=Z$(this,t))))return i.order;r||(r=Z$(this,t));let a=Fdt(t.text,n,r);return this.bidiCache.push(new Yb(t.from,t.to,n,r,!0,a)),a}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||nt.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{NZ(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.win.clearTimeout(this.clearAnnouncement),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,n={}){var r,a,i,o;
2449return $g.of(new Vf(typeof t=="number"?Fe.cursor(t):t,(r=n.y)!==null&&r!==void 0?r:"nearest",(a=n.x)!==null&&a!==void 0?a:"nearest",(i=n.yMargin)!==null&&i!==void 0?i:5,(o=n.xMargin)!==null&&o!==void 0?o:5))}scrollSnapshot(){let{scrollTop:t,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(t);return $g.of(new Vf(Fe.cursor(r.from),"start","start",r.top-t,n,!0))}setTabFocusMode(t){t==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof t=="boolean"?this.inputState.tabFocusMode=t?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return ha.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return ha.define(()=>({}),{eventObservers:t})}static theme(t,n){let r=Wc.newName(),a=[Lg.of(r),om.of(Mx(`.${r}`,t))];return n&&n.dark&&a.push(Rx.of(!0)),a}static baseTheme(t){return mp.lowest(om.of(Mx("."+Nx,t,vX)))}static findFromDOM(t){var n;let r=t.querySelector(".cm-content"),a=r&&Ir.get(r)||Ir.get(t);return((n=a==null?void 0:a.root)===null||n===void 0?void 0:n.view)||null}}ut.styleModule=om;ut.inputHandler=ZZ;ut.clipboardInputFilter=qk;ut.clipboardOutputFilter=Zk;ut.scrollHandler=YZ;ut.focusChangeEffect=XZ;ut.perLineTextDirection=WZ;ut.exceptionSink=qZ;ut.updateListener=Cx;ut.editable=Ll;ut.mouseSelectionStyle=VZ;ut.dragMovesSelection=HZ;ut.clickAddsSelectionRange=zZ;ut.decorations=hO;ut.blockWrappers=JZ;ut.outerDecorations=Wk;ut.atomicRanges=S1;ut.bidiIsolatedRanges=eX;ut.cursorScrollMargin=st.define({combine:e=>{let t=5,n=5;for(let r of e)typeof r=="number"?t=n=r:{x:t,y:n}=r;return{x:t,y:n}}});ut.scrollMargins=tX;ut.darkTheme=Rx;ut.cspNonce=st.define({combine:e=>e.length?e[0]:""});ut.contentAttributes=Xk;ut.editorAttributes=KZ;ut.lineWrapping=ut.contentAttributes.of({class:"cm-lineWrapping"});ut.announce=on.define();const lht=4096,p9={};class Yb{constructor(t,n,r,a,i,o){this.from=t,this.to=n,this.dir=r,this.isolates=a,this.fresh=i,this.order=o}static update(t,n){if(n.empty&&!t.some(i=>i.fresh))return t;let r=[],a=t.length?t[t.length-1].dir:Ar.LTR;for(let i=Math.max(0,t.length-10);i<t.length;i++){let o=t[i];o.dir==a&&!n.touchesRange(o.from,o.to)&&r.push(new Yb(n.mapPos(o.from,1),n.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}}function m9(e,t,n){for(let r=e.state.facet(t),a=r.length-1;a>=0;a--){let i=r[a],o=typeof i=="function"?i(e):i;o&&zk(o,n)}return n}const cht=nt.mac?"mac":nt.windows?"win":nt.linux?"linux":"key";function uht(e,t){const n=e.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let a,i,o,s;for(let l=0;l<n.length-1;++l){const c=n[l];if(/^(cmd|meta|m)$/i.test(c))s=!0;else if(/^a(lt)?$/i.test(c))a=!0;else if(/^(c|ctrl|control)$/i.test(c))i=!0;else if(/^s(hift)?$/i.test(c))o=!0;else if(/^mod$/i.test(c))t=="mac"?s=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return a&&(r="Alt-"+r),i&&(r="Ctrl-"+r),s&&(r="Meta-"+r),o&&(r="Shift-"+r),r}function Dg(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n!==!1&&t.shiftKey&&(e="Shift-"+e),e}const dht=mp.default(ut.domEventHandlers({keydown(e,t){return mht(fht(t.state),e,t,"editor")}})),Xs=st.define({enables:dht}),g9=new WeakMap;function fht(e){let t=e.facet(Xs),n=g9.get(t);return n||g9.set(t,n=pht(t.reduce((r,a)=>r.concat(a),[]))),n}let $c=null;const hht=4e3;function pht(e,t=cht){let n=Object.create(null),r=Object.create(null),a=(o,s)=>{let l=r[o];if(l==null)r[o]=s;else if(l!=s)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},i=(o,s,l,c,u)=>{var d,f;let h=n[o]||(n[o]=Object.create(null)),p=s.split(/ (?!$)/).map(v=>uht(v,t));for(let v=1;v<p.length;v++){let k=p.slice(0,v).join(" ");a(k,!0),h[k]||(h[k]={preventDefault:!0,stopPropagation:!1,run:[S=>{let A=$c={view:S,prefix:k,scope:o};return setTimeout(()=>{$c==A&&($c=null)},hht),!0}]})}let m=p.join(" ");a(m,!1);let g=h[m]||(h[m]={preventDefault:!1,stopPropagation:!1,run:((f=(d=h._any)===null||d===void 0?void 0:d.run)===null||f===void 0?void 0:f.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let o of e){let s=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let c of s){let u=n[c]||(n[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:d}=o;for(let f in u)u[f].run.push(h=>d(h,Lx))}let l=o[t]||o.key;if(l)for(let c of s)i(c,l,o.run,o.preventDefault,o.stopPropagation),o.shift&&i(c,"Shift-"+l,o.shift,o.preventDefault,o.stopPropagation)}return n}let Lx=null;function mht(e,t,n,r){Lx=t;let a=kG(t),i=ao(a,0),o=Ml(i)==a.length&&a!=" ",s="",l=!1,c=!1,u=!1;$c&&$c.view==n&&$c.scope==r&&(s=$c.prefix+" ",cX.indexOf(t.keyCode)<0&&(c=!0,$c=null));let d=new Set,f=g=>{if(g){for(let v of g.run)if(!d.has(v)&&(d.add(v),v(n)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},h=e[r],p,m;return h&&(f(h[s+Dg(a,t,!o)])?l=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(nt.windows&&t.ctrlKey&&t.altKey)&&!(nt.mac&&t.altKey&&!(t.ctrlKey||t.metaKey))&&
2449(p=AG[t.keyCode])&&p!=a?(f(h[s+Dg(p,t,!0)])||t.shiftKey&&(m=TG[t.keyCode])!=a&&m!=p&&f(h[s+Dg(m,t,!1)]))&&(l=!0):o&&t.shiftKey&&f(h[s+Dg(a,t,!0)])&&(l=!0),!l&&f(h._any)&&(l=!0)),c&&(l=!0),l&&u&&t.stopPropagation(),Lx=null,l}function b9(e,t,n,r,a){t.lastIndex=0;for(let i=e.iterRange(n,r),o=n,s;!i.next().done;o+=i.value.length)if(!i.lineBreak)for(;s=t.exec(i.value);)a(o+s.index,s)}function ght(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:a,to:i}of n)a=Math.max(e.state.doc.lineAt(a).from,a-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),r.length&&r[r.length-1].to>=a?r[r.length-1].to=i:r.push({from:a,to:i});return r}class OX{constructor(t){const{regexp:n,decoration:r,decorate:a,boundary:i,maxLength:o=1e3}=t;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,a)this.addMatch=(s,l,c,u)=>a(u,c,c+s[0].length,s,l);else if(typeof r=="function")this.addMatch=(s,l,c,u)=>{let d=r(s,l,c);d&&u(c,c+s[0].length,d)};else if(r)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=o}createDeco(t){let n=new hl,r=n.add.bind(n);for(let{from:a,to:i}of ght(t,this.maxLength))b9(t.state.doc,this.regexp,a,i,(o,s)=>this.addMatch(s,t,o,r));return n.finish()}updateDeco(t,n){let r=1e9,a=-1;return t.docChanged&&t.changes.iterChanges((i,o,s,l)=>{l>=t.view.viewport.from&&s<=t.view.viewport.to&&(r=Math.min(s,r),a=Math.max(l,a))}),t.viewportMoved||a-r>1e3?this.createDeco(t.view):a>-1?this.updateRange(t.view,n.map(t.changes),r,a):n}updateRange(t,n,r,a){for(let i of t.visibleRanges){let o=Math.max(i.from,r),s=Math.min(i.to,a);if(s>=o){let l=t.state.doc.lineAt(o),c=l.to<s?t.state.doc.lineAt(s):l,u=Math.max(i.from,l.from),d=Math.min(i.to,c.to);if(this.boundary){for(;o>l.from;o--)if(this.boundary.test(l.text[o-1-l.from])){u=o;break}for(;s<c.to;s++)if(this.boundary.test(c.text[s-c.from])){d=s;break}}let f=[],h,p=(m,g,v)=>f.push(v.range(m,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(h=this.regexp.exec(l.text))&&h.index<d-l.from;)this.addMatch(h,t,h.index+l.from,p);else b9(t.state.doc,this.regexp,u,d,(m,g)=>this.addMatch(g,t,m,p));n=n.update({filterFrom:u,filterTo:d,filter:(m,g)=>m<u||g>d,add:f})}}return n}}const Dx=/x/.unicode!=null?"gu":"g",bht=new RegExp(`[\0-\b 2450-��-ÂÂØâââ\u2028\u2029ââ®â¦â§â©\uFEFF-]`,Dx),yht={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let yS=null;function vht(){var e;if(yS==null&&typeof document<"u"&&document.body){let t=document.body.style;yS=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return yS||!1}const A2=st.define({combine(e){let t=Zd(e,{render:null,specialChars:bht,addSpecialChars:null});return(t.replaceTabs=!vht())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,Dx)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Dx)),t}});function Oht(e={}){return[A2.of(e),Sht()]}let y9=null;function Sht(){return y9||(y9=ha.fromClass(class{constructor(e){this.view=e,this.decorations=Ft.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(A2)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new OX({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:a}=n.state,i=ao(t[0],0);if(i==9){let o=a.lineAt(r),s=n.state.tabSize,l=Qk(o.text,s,r-o.from);return Ft.replace({widget:new Aht((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[i]||(this.decorationCache[i]=Ft.replace({widget:new kht
2450(e,i)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(A2);e.startState.facet(A2)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const wht="â¢";function xht(e){return e>=32?wht:e==10?"â¤":String.fromCharCode(9216+e)}class kht extends Go{constructor(t,n){super(),this.options=t,this.code=n}eq(t){return t.code==this.code}toDOM(t){let n=xht(this.code),r=t.state.phrase("Control character")+" "+(yht[this.code]||"0x"+this.code.toString(16)),a=this.options.render&&this.options.render(this.code,r,n);if(a)return a;let i=document.createElement("span");return i.textContent=n,i.title=r,i.setAttribute("aria-label",r),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class Aht extends Go{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}class Tht extends Go{constructor(t){super(),this.content=t}toDOM(t){let n=document.createElement("span");return n.className="cm-placeholder",n.style.pointerEvents="none",n.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(t):this.content.cloneNode(!0)),n.setAttribute("aria-hidden","true"),n}coordsAt(t){let n=t.firstChild?Pm(t.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(t.parentNode),a=h0(n[0],r.direction!="rtl"),i=parseInt(r.lineHeight);return a.bottom-a.top>i*1.5?{left:a.left,right:a.right,top:a.top,bottom:a.top+i}:a}ignoreEvent(){return!1}}function Eht(e){let t=ha.fromClass(class{constructor(n){this.view=n,this.placeholder=e?Ft.set([Ft.widget({widget:new Tht(e),side:1}).range(0)]):Ft.none}get decorations(){return this.view.state.doc.length?Ft.none:this.placeholder}},{decorations:n=>n.decorations});return typeof e=="string"?[t,ut.contentAttributes.of({"aria-placeholder":e})]:t}const Bg="-10000px";class SX{constructor(t,n,r,a){this.facet=n,this.createTooltipView=r,this.removeTooltipView=a,this.input=t.state.facet(n),this.tooltips=this.input.filter(o=>o);let i=null;this.tooltipViews=this.tooltips.map(o=>i=r(o,i))}update(t,n){var r;let a=t.state.facet(this.facet),i=a.filter(l=>l);if(a===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let o=[],s=n?[]:null;for(let l=0;l<i.length;l++){let c=i[l],u=-1;if(c){for(let d=0;d<this.tooltips.length;d++){let f=this.tooltips[d];f&&f.create==c.create&&(u=d)}if(u<0)o[l]=this.createTooltipView(c,l?o[l-1]:null),s&&(s[l]=!!c.above);else{let d=o[l]=this.tooltipViews[u];s&&(s[l]=n[u]),d.update&&d.update(t)}}}for(let l of this.tooltipViews)o.indexOf(l)<0&&(this.removeTooltipView(l),(r=l.destroy)===null||r===void 0||r.call(l));return n&&(s.forEach((l,c)=>n[c]=l),n.length=s.length),this.input=a,this.tooltips=i,this.tooltipViews=o,!0}}function _ht(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const vS=st.define({combine:e=>{var t,n,r;return{position:nt.ios?"absolute":((t=e.find(a=>a.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((n=e.find(a=>a.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=e.find(a=>a.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||_ht}}}),v9=new WeakMap,eA=ha.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(vS);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new SX(e,tA,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}
vendor: 11,076 bytes, line 2450
2450):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(vS);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let a=document.createElement("div");a.className="cm-tooltip-arrow",n.dom.appendChild(a)}return n.dom.style.position=this.position,n.dom.style.top=Bg,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(e=r.destroy)===null||e===void 0||e.call(r);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(nt.safari){let o=i.getBoundingClientRect();n=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else n=!!i.offsetParent&&i.offsetParent!=this.container.ownerDocument.body}if(n||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,t=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),a=Yk(this.view);return{visible:{left:r.left+a.left,top:r.top+a.top,right:r.right-a.right,bottom:r.bottom-a.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((i,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(vS).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{visible:n,space:r,scaleX:a,scaleY:i}=e,o=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,d=e.pos[s],f=e.size[s];if(!d||l.clip!==!1&&(d.bottom<=Math.max(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){u.style.top=Bg;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=f.right-f.left,g=(t=v9.get(c))!==null&&t!==void 0?t:f.bottom-f.top,v=c.offset||$ht,k=this.view.textDirection==Ar.LTR,S=f.width>r.right-r.left?k?r.left:r.right-f.width:k?Math.max(r.left,Math.min(d.left-(h?14:0)+v.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-v.x),r.right-m),A=this.above[s];!l.strictSide&&(A?d.top-g-p-v.y<r.top:d.bottom+g+p+v.y>r.bottom)&&A==r.bottom-d.bottom>d.top-r.top&&(A=this.above[s]=!A);let E=(A?d.top-r.top:r.bottom-d.bottom)-p;if(E<g&&c.resize!==!1){if(E<this.view.defaultLineHeight){u.style.top=Bg;continue}v9.set(c,g),u.style.height=(g=E)/i+"px"}else u.style.height&&(u.style.height="");let _=A?d.top-g-p-v.y:d.bottom+p+v.y,C=S+m;if(c.overlap!==!0)for(let R of o)R.left<C&&R.right>S&&R.top<_+g&&R.bottom>_&&(_=A?R.top-g-2-p:R.bottom+p+2);if(this.position=="absolute"?(u.style.top=(_-e.parent.top)/i+"px",O9(u,(S-e.parent.left)/a)):(u.style.top=_/i+"px",O9(u,S/a)),h){let R=d.left+(k?v.x:-v.x)-(S+14-7);h.style.left=R/a+"px"}c.overlap!==!0&&o.push({left:S,top:_,right:C,bottom:_+g}),u.classList.toggle("cm-tooltip-above",A),u.classList.toggle("cm-tooltip-below",!A),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=Bg}},{eventObservers:{scroll(){this.maybeMeasure()}}});function O9(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const Cht=ut.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),$ht={x:0,y:0},tA=st.define({enables:[eA,Cht]}),Gb=st.define({combine:e=>e.reduce((t,n)=>t.concat(n),[])});class bO{static create(t){return new bO(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new SX(t,Gb,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(t,n){let r=t.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(t){for(let n of this.manager.tooltipViews)n.mount&&n.mount(t);this.mounted=!0}positioned(t){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let n of this.manager.tooltipViews)(t=n.destroy)===null||t===void 0||t.call(n)}passProp(t){let n;for(let r of this.manager.tooltipViews){let a=r[t];if(a!==void 0){if(n===void 0)n=a;else if(n!==a)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Pht=tA.compute([Gb],e=>{let t=e.facet(Gb);return t.length===0?null:{pos:Math.min(...t.map(n=>n.pos)),end:Math.max(...t.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:bO.create,above:t[0].above,arrow:t.some(n=>n.arrow)}}),Iht=st.define();class Rht{constructor(t,n,r,a,i,o){this.view=t,this.source=n,this.field=r,this.locked=a,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(t){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;t<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-t):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:n}=this,r=t.docView.tile.nearest(n.target);if(!r)return;let a,i=1;if(r.isWidget())a=r.posAtStart;else{if(a=t.posAtCoords(n),a==null)return;let o=t.coordsAtPos(a);if(!o||n.y<o.top||n.y>o.bottom||n.x<o.left-t.defaultCharacterWidth||n.x>o.right+t.defaultCharacterWidth)return;let s=t.bidiSpans(t.state.doc.lineAt(a)).find(c=>c.from<=a&&c.to>=a),l=s&&s.dir==Ar.RTL?-1:1;i=n.x<o.left?-l:l}this.activateHover(t,a,i)}activateHover(t,n,r,a){let i=this.source(t,n,r),o=s=>{if(s&&!(Array.isArray(s)&&!s.length)){let l=Array.isArray(s)?s:[s];a&&this.locked.set(l,a),t.dispatch({effects:this.setHover.of(l)})}};if(i&&"then"in i){let s=this.pending={pos:n};i.then(l=>{this.pending==s&&(this.pending=null,o(l))},l=>wi(t.state,l,"hover tooltip"))}else o(i)}get tooltip(){let t=this.view.plugin(eA),n=t?t.manager.tooltips.findIndex(r=>r.create==bO.create):-1;return n>-1?t.manager.tooltipViews[n]:null}mousemove(t){var n,r;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:a,tooltip:i}=this;if(a.length&&!this.locked.has(a)&&i&&!Nht(i.dom,t)||this.pending){let{pos:o}=a[0]||this.pending,s=(r=(n=a[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:o;(o==s?this.view.posAtCoords(this.lastMove)!=o:!Mht(this.view,o,s,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length&&!this.locked.has(n)){let{tooltip:r}=this;r&&r.dom.contains(t.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let n=r=>{t.removeEventListener("mouseleave",n);let{active:a}=this;a.length&&!this.locked.has(a)&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Ug=4;function Nht(e,t){let{left:n,right:r,top:a,bottom:i}=e.getBoundingClientRect(),o;if(o=e.querySelector(".cm-tooltip-arrow")){let s=o.getBoundingClientRect();a=Math.min(s.top,a),i=Math.max(s.bottom,i)}return t.clientX>=n-Ug&&t.clientX<=r+Ug&&t.clientY>
2450=a-Ug&&t.clientY<=i+Ug}function Mht(e,t,n,r,a,i){let o=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>a||Math.min(o.bottom,s)<a)return!1;let l=e.posAtCoords({x:r,y:a},!1);return l>=t&&l<=n}function Lht(e,t={}){let n=on.define(),r=new WeakMap,a=Zi.define({create(){return[]},update(o,s){let l=r.get(o);if(o.length&&(t.hideOnChange&&(s.docChanged||s.selection)?o=[]:l&&l(s)?o=[]:t.hideOn&&(o=o.filter(c=>!t.hideOn(s,c)))),s.docChanged&&o.length){let c=[];for(let u of o){let d=s.changes.mapPos(u.pos,-1,La.TrackDel);if(d!=null){let f=Object.assign(Object.create(null),u);f.pos=d,f.end!=null&&(f.end=s.changes.mapPos(f.end)),c.push(f)}}o=c}for(let c of s.effects)c.is(n)&&(o=c.value,l=void 0),(c.is(Dht)&&!c.value||c.value==a)&&(o=[]);return o.length&&l&&r.set(o,l),o},provide:o=>Gb.from(o)});const i=ha.define(o=>new Rht(o,e,a,r,n,t.hoverTime||300));return{active:a,extension:[a,i,Iht.of(i),Pht]}}function wX(e,t){let n=e.plugin(eA);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const Dht=on.define(),S9=st.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}}),Bht=ha.fromClass(class{constructor(e){this.input=e.state.facet(Bx),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(e));let t=e.state.facet(S9);this.top=new jg(e,!0,t.topContainer),this.bottom=new jg(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(S9);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new jg(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new jg(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(Bx);if(n!=this.input){let r=n.filter(l=>l),a=[],i=[],o=[],s=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(e.view),s.push(u)):(u=this.panels[c],u.update&&u.update(e)),a.push(u),(u.top?i:o).push(u)}this.specs=r,this.panels=a,this.top.sync(i),this.bottom.sync(o);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>ut.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class jg{constructor(t,n,r){this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let n of this.panels)n.destroy&&t.indexOf(n)<0&&n.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let t=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;t!=n.dom;)t=w9(t);t=t.nextSibling}else this.dom.insertBefore(n.dom,t);for(;t;)t=w9(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function w9(e){let t=e.nextSibling;return e.remove(),t}const Bx=st.define({enables:Bht});class Gc extends Xc{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Gc.prototype.elementClass="";Gc.prototype.toDOM=void 0;Gc.prototype.mapMode=La.TrackBefore;Gc.prototype.startSide=Gc.prototype.endSide=-1;Gc.prototype.point=!0;const OS=st.define(),Uht=st.define(),jht={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>mn.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},Nm=st.define();function Fht(e){return[xX(),Nm.of({...jht,...e})]}const x9=st.define({combine:e=>e.some(t=>t)});function xX(e){return[Qht]}const Qht=ha.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="
2450cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Nm).map(t=>new A9(e,t)),this.fixed=!e.state.facet(x9);for(let t of this.gutters)t.config.side=="after"?this.getDOMAfter().appendChild(t.dom):this.dom.appendChild(t.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}if(e.geometryChanged){let t=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=t,this.domAfter&&(this.domAfter.style.minHeight=t)}this.view.state.facet(x9)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=mn.iter(this.view.state.facet(OS),this.view.viewport.from),r=[],a=this.gutters.map(i=>new zht(i,this.view.viewport,-this.view.documentPadding.top));for(let i of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(i.type)){let o=!0;for(let s of i.type)if(s.type==ji.Text&&o){Ux(n,r,s.from);for(let l of a)l.line(this.view,s,r);o=!1}else if(s.widget)for(let l of a)l.widget(this.view,s)}else if(i.type==ji.Text){Ux(n,r,i.from);for(let o of a)o.line(this.view,i,r)}else if(i.widget)for(let o of a)o.widget(this.view,i);for(let i of a)i.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,t),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(Nm),n=e.state.facet(Nm),r=e.docChanged||e.heightChanged||e.viewportChanged||!mn.eq(e.startState.facet(OS),e.state.facet(OS),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let a of this.gutters)a.update(e)&&(r=!0);else{r=!0;let a=[];for(let i of n){let o=t.indexOf(i);o<0?a.push(new A9(this.view,i)):(this.gutters[o].update(e),a.push(this.gutters[o]))}for(let i of this.gutters)i.dom.remove(),a.indexOf(i)<0&&i.destroy();for(let i of a)i.config.side=="after"?this.getDOMAfter().appendChild(i.dom):this.dom.appendChild(i.dom);this.gutters=a}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>ut.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||n.gutters.length==0||!n.fixed)return null;let r=n.dom.offsetWidth*t.scaleX,a=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==Ar.LTR?{left:r,right:a}:{right:r,left:a}})});function k9(e){return Array.isArray(e)?e:[e]}function Ux(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class zht{constructor(t,n,r){this.gutter=t,this.height=r,this.i=0,this.cursor=mn.iter(t.markers,n.from)}addElement(t,n,r){let{gutter:a}=this,i=(n.top-this.height)/t.scaleY,o=n.height/t.scaleY;if(this.i==a.elements.length){let s=new kX(t,o,i,r);a.elements.push(s),a.dom.appendChild(s.dom)}else a.elements[this.i].update(t,o,i,r);this.height=n.bottom,this.i++}line(t,n,r){let a=[];Ux(this.cursor,a,n.from),r.length&&(a=a.concat(r));let i=this.gutter.config.lineMarker(t,n,a);i&&a.unshift(i);let o=this.gutter;a.length==0&&!o.config.renderEmptyElements||this.addElement(t,n,a)}widget(t,n){let r=this.gutter.config.widgetMarker(t,n.widget,n),a=r?[r]:null;for(let i of t.state.facet(Uht)){let o=i(t,n.widget,n);o&&(a||(a=[])).push(o)}a&&this.addElement(t,n,a)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let n=t.elements.pop();t.dom.removeChild(n.dom),n.destroy()}}}class A9{constructor(t,n){this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="
2450cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,a=>{let i=a.target,o;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let l=i.getBoundingClientRect();o=(l.top+l.bottom)/2}else o=a.clientY;let s=t.lineBlockAtHeight(o-t.documentTop);n.domEventHandlers[r](t,s,a)&&a.preventDefault()});this.markers=k9(n.markers(t)),n.initialSpacer&&(this.spacer=new kX(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let n=this.markers;if(this.markers=k9(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],t);a!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[a])}let r=t.view.viewport;return!mn.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class kX{constructor(t,n,r,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,a)}update(t,n,r,a){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),Hht(this.markers,a)||this.setMarkers(t,a)}setMarkers(t,n){let r="cm-gutterElement",a=this.dom.firstChild;for(let i=0,o=0;;){let s=o,l=i<n.length?n[i++]:null,c=!1;if(l){let u=l.elementClass;u&&(r+=" "+u);for(let d=o;d<this.markers.length;d++)if(this.markers[d].compare(l)){s=d,c=!0;break}}else s=this.markers.length;for(;o<s;){let u=this.markers[o++];if(u.toDOM){u.destroy(a);let d=a.nextSibling;a.remove(),a=d}}if(!l)break;l.toDOM&&(c?a=a.nextSibling:this.dom.insertBefore(l.toDOM(t),a)),c&&o++}this.dom.className=r,this.markers=n}destroy(){this.setMarkers(null,[])}}function Hht(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}const Vht=st.define(),qht=st.define(),Pf=st.define({combine(e){return Zd(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,n){let r=Object.assign({},t);for(let a in n){let i=r[a],o=n[a];r[a]=i?(s,l,c)=>i(s,l,c)||o(s,l,c):o}return r}})}});class SS extends Gc{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function wS(e,t){return e.state.facet(Pf).formatNumber(t,e.state)}const Zht=Nm.compute([Pf],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Vht)},lineMarker(t,n,r){return r.some(a=>a.toDOM)?null:new SS(wS(t,t.state.doc.lineAt(n.from).number))},widgetMarker:(t,n,r)=>{for(let a of t.state.facet(qht)){let i=a(t,n,r);if(i)return i}return null},lineMarkerChange:t=>t.startState.facet(Pf)!=t.state.facet(Pf),initialSpacer(t){return new SS(wS(t,T9(t.state.doc.lines)))},updateSpacer(t,n){let r=wS(n.view,T9(n.view.state.doc.lines));return r==t.number?t:new SS(r)},domEventHandlers:e.facet(Pf).domEventHandlers,side:"before"}));function Xht(e={}){return[Pf.of(e),xX(),Zht]}function T9(e){let t=9;for(;t<e;)t=t*10+9;return t}const AX=1024;let Wht=0;class Mo{constructor(t,n){this.from=t,this.to=n}}class hn{constructor(t={}){this.id=Wht++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=t.combine||null}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=Ai.match(t)),n=>{let r=t(n);return r===void 0?null:[this,r]}}}hn.closedBy=new hn({deserialize:e=>e.split(" ")});hn.openedBy=new hn({deserialize:e=>e.split(" ")});hn.group=new hn({deserialize:e=>e.split(" ")});hn.isolate=new hn({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});hn.contextHash=new hn({perNode:!0});hn.lookAhead=new hn({perNode:!0});hn.mounted=new hn({perNode:!0});class qf{constructor(t,n,r,a=!1){this.tree=t,this.overlay=n,this.parser=r,this.bracketed=a}static get(t){return t&&t.props&&t.props[hn.mounted.id]}}const Yht=Object.create(null);class Ai{constructor(t,n,r,a=0){this.name=t,this.props=n,this.id=r,this.flags=a}static define(t){let n=t.props&&t.props.length?Object.create(null):Yht,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),a=new Ai(t.name||"",n,t.id,r);if(t.props){for(let i of t.props)if(Array.isArray(i)||(i=i(a)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");
2450n[i[0].id]=i[1]}}return a}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let n=this.prop(hn.group);return n?n.indexOf(t)>-1:!1}return this.id==t}static match(t){let n=Object.create(null);for(let r in t)for(let a of r.split(" "))n[a]=t[r];return r=>{for(let a=r.prop(hn.group),i=-1;i<(a?a.length:0);i++){let o=n[i<0?r.name:a[i]];if(o)return o}}}}Ai.none=new Ai("",Object.create(null),0,8);class nA{constructor(t){this.types=t;for(let n=0;n<t.length;n++)if(t[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let n=[];for(let r of this.types){let a=null;for(let i of t){let o=i(r);if(o){a||(a=Object.assign({},r.props));let s=o[1],l=o[0];l.combine&&l.id in a&&(s=l.combine(a[l.id],s)),a[l.id]=s}}n.push(a?new Ai(r.name,a,r.id,r.flags):r)}return new nA(n)}}const Fg=new WeakMap,E9=new WeakMap;var Ln;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays",e[e.EnterBracketed=16]="EnterBracketed"})(Ln||(Ln={}));class pr{constructor(t,n,r,a,i){if(this.type=t,this.children=n,this.positions=r,this.length=a,this.props=null,i&&i.length){this.props=Object.create(null);for(let[o,s]of i)this.props[typeof o=="number"?o:o.id]=s}}toString(){let t=qf.get(this);if(t&&!t.overlay)return t.tree.toString();let n="";for(let r of this.children){let a=r.toString();a&&(n&&(n+=","),n+=a)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}cursor(t=0){return new Kb(this.topNode,t)}cursorAt(t,n=0,r=0){let a=Fg.get(this)||this.topNode,i=new Kb(a);return i.moveTo(t,n),Fg.set(this,i._tree),i}get topNode(){return new ri(this,0,0,null)}resolve(t,n=0){let r=m0(Fg.get(this)||this.topNode,t,n,!1);return Fg.set(this,r),r}resolveInner(t,n=0){let r=m0(E9.get(this)||this.topNode,t,n,!0);return E9.set(this,r),r}resolveStack(t,n=0){return Jht(this,t,n)}iterate(t){let{enter:n,leave:r,from:a=0,to:i=this.length}=t,o=t.mode||0,s=(o&Ln.IncludeAnonymous)>0;for(let l=this.cursor(o|Ln.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>
vendor: 8,055 bytes, line 2450
2450=a&&(!s&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(s||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let n in this.props)t.push([+n,this.props[n]]);return t}balance(t={}){return this.children.length<=8?this:iA(Ai.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,a)=>new pr(this.type,n,r,a,this.propValues),t.makeTree||((n,r,a)=>new pr(Ai.none,n,r,a)))}static build(t){return ept(t)}}pr.empty=new pr(Ai.none,[],[],0);class rA{constructor(t,n){this.buffer=t,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new rA(this.buffer,this.index)}}class Kc{constructor(t,n,r){this.buffer=t,this.length=n,this.set=r}get type(){return Ai.none}toString(){let t=[];for(let n=0;n<this.buffer.length;)t.push(this.childString(n)),n=this.buffer[n+3];return t.join(",")}childString(t){let n=this.buffer[t],r=this.buffer[t+3],a=this.set.types[n],i=a.name;if(/\W/.test(i)&&!a.isError&&(i=JSON.stringify(i)),t+=4,r==t)return i;let o=[];for(;t<r;)o.push(this.childString(t)),t=this.buffer[t+3];return i+"("+o.join(",")+")"}findChild(t,n,r,a,i){let{buffer:o}=this,s=-1;for(let l=t;l!=n&&!(TX(i,a,o[l+1],o[l+2])&&(s=l,r>0));l=o[l+3]);return s}slice(t,n,r){let a=this.buffer,i=new Uint16Array(n-t),o=0;for(let s=t,l=0;s<n;){i[l++]=a[s++],i[l++]=a[s++]-r;let c=i[l++]=a[s++]-r;i[l++]=a[s++]-t,o=Math.max(o,c)}return new Kc(i,o,this.set)}}function TX(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function m0(e,t,n,r){for(var a;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let o=!r&&e instanceof ri&&e.index<0?null:e.parent;if(!o)return e;e=o}let i=r?0:Ln.IgnoreOverlays;if(r)for(let o=e,s=o.parent;s;o=s,s=o.parent)o instanceof ri&&o.index<0&&((a=s.enter(t,n,i))===null||a===void 0?void 0:a.from)!=o.from&&(e=s);for(;;){let o=e.enter(t,n,i);if(!o)return e;e=o}}class EX{cursor(t=0){return new Kb(this,t)}getChild(t,n=null,r=null){let a=_9(this,t,n,r);return a.length?a[0]:null}getChildren(t,n=null,r=null){return _9(this,t,n,r)}resolve(t,n=0){return m0(this,t,n,!1)}resolveInner(t,n=0){return m0(this,t,n,!0)}matchContext(t){return jx(this.parent,t)}enterUnfinishedNodesBefore(t){let n=this.childBefore(t),r=this;for(;n;){let a=n.lastChild;if(!a||a.to!=n.to)break;a.type.isError&&a.from==a.to?(r=n,n=a.prevSibling):n=a}return r}get node(){return this}get next(){return this.parent}}class ri extends EX{constructor(t,n,r,a){super(),this._tree=t,this.from=n,this.index=r,this._parent=a}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,n,r,a,i=0){for(let o=this;;){for(let{children:s,positions:l}=o._tree,c=n>0?s.length:-1;t!=c;t+=n){let u=s[t],d=l[t]+o.from,f;if(!(!(i&Ln.EnterBracketed&&u instanceof pr&&(f=qf.get(u))&&!f.overlay&&f.bracketed&&r>=d&&r<=d+u.length)&&!TX(a,r,d,d+u.length))){if(u instanceof Kc){if(i&Ln.ExcludeBuffers)continue;let h=u.findChild(0,u.buffer.length,n,r-d,a);if(h>-1)return new rl(new Ght(o,u,t,d),null,h)}else if(i&Ln.IncludeAnonymous||!u.type.isAnonymous||aA(u)){let h;if(!(i&Ln.IgnoreMounts)&&(h=qf.get(u))&&!h.overlay)return new ri(h.tree,d,t,o);let p=new ri(u,d,t,o);return i&Ln.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(n<0?u.children.length-1:0,n,r,a,i)}}}if(i&Ln.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?t=o.index+n:t=n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}prop(t){return this._tree.prop(t)}enter(t,n,r=0){let a;if(!(r&Ln.IgnoreOverlays)&&(a=qf.get(this._tree))&&a.overlay){let i=t-this.from,o=r&Ln.EnterBracketed&&a.bracketed;for(let{from:s,to:l}of a.overlay)if((n>0||o?s<=i:s<i)&&(n<0||o?l>=i:l>i))return new ri(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _9(e,t,n,r){let a=e.cursor(),i=[];if(!a.firstChild())return i;if(n!=null){for(let o=!1;!o;)if(o=a.type.is(n),!a.nextSibling())return i}for(;;){if(r!=null&&a.type.is(r))return i;if(a.type.is(t)&&i.push(a.node),!a.nextSibling())return r==null?i:[]}}function jx(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class Ght{constructor(t,n,r,a){this.parent=t,this.buffer=n,this.index=r,this.start=a}}class rl extends EX{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,n,r){super(),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}child(t,n,r){let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],t,n-this.context.start,r);return i<0?null:new rl(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}prop(t){return this.type.prop(t)}enter(t,n,r=0){if(r&Ln.ExcludeBuffers)return null;let{buffer:a}=this.context,i=a.findChild(this.index+4,a.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return i<0?null:new rl(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new rl(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new rl(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],n=[],{buffer:r}=this.context,a=this.index+4,i=r.buffer[this.index+3];if(i>a){let o=r.buffer[this.index+1];t.push(r.slice(a,i,o)),n.push(0)}return new pr(this.type,t,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function _X(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let o=e[i];(o.from>n.from||o.to<n.to)&&(n=o,t=i)}let r=n instanceof ri&&n.index<0?null:n.parent,a=e.slice();return r?a[t]=r:a.splice(t,1),new Kht(a,n)}class Kht{constructor(t,n){this.heads=t,this.node=n}get next(){return _X(this.heads)}}function Jht(e,t,n){let r=e.resolveInner(t,n),a=null;for(let i=r instanceof ri?r:r.context.parent;i;i=i.parent)if(i.index<0){let o=i.parent;(a||(a=[r])).push(o.resolve(t,n)),i=o}else{let o=qf.get(i.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let s=new ri(o.tree,o.overlay[0].from+i.from,-1,i);(a||(a=[r])).push(m0(s,t,n,!1))}}return a?_X(a):r}class Kb{get name(){return this.type.name}constructor(t,n=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=n&~Ln.EnterBracketed,t instanceof ri)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;
vendor: 9,648 bytes, line 2450
2450for(let r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,n){this.index=t;let{start:r,buffer:a}=this.buffer;return this.type=n||a.set.types[a.buffer[t]],this.from=r+a.buffer[t+1],this.to=r+a.buffer[t+2],!0}yield(t){return t?t instanceof ri?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,n,r,this.mode));let{buffer:a}=this.buffer,i=a.findChild(this.index+4,a.buffer[this.index+3],t,n-this.buffer.start,r);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,n,r=this.mode){return this.buffer?r&Ln.ExcludeBuffers?!1:this.enterChild(1,t,n):this.yield(this._tree.enter(t,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ln.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&Ln.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(t<0){let a=r<0?0:this.stack[r]+4;if(this.index!=a)return this.yieldBuf(n.findChild(a,this.index,-1,0,4))}else{let a=n.buffer[this.index+3];if(a<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(a)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let n,r,{buffer:a}=this;if(a){if(t>0){if(this.index<a.buffer.buffer.length)return!1}else for(let i=0;i<this.index;i++)if(a.buffer.buffer[i+3]<this.index)return!1;({index:n,parent:r}=a)}else({index:n,_parent:r}=this._tree);for(;r;{index:n,_parent:r}=r)if(n>-1)for(let i=n+t,o=t<0?-1:r._tree.children.length;i!=o;i+=t){let s=r._tree.children[i];if(this.mode&Ln.IncludeAnonymous||s instanceof Kc||!s.type.isAnonymous||aA(s))return!1}return!0}move(t,n){if(n&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,n=0){for(;(this.from==this.to||(n<1?this.from>=t:this.from>t)||(n>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,n););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,n=null,r=0;if(t&&t.context==this.buffer)e:for(let a=this.index,i=this.stack.length;i>=0;){for(let o=t;o;o=o._parent)if(o.index==a){if(a==this.index)return o;n=o,r=i+1;break e}a=this.stack[--i]}for(let a=r;a<this.stack.length;a++)n=new rl(this.buffer,n,this.stack[a]);return this.bufferNode=new rl(this.buffer,n,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,n){for(let r=0;;){let a=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(a=!0)}for(;;){if(a&&n&&n(this),a=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,a=!0}}}matchContext(t){if(!this.buffer)return jx(this.node.parent,t);let{buffer:n}=this.buffer,{types:r}=n.set;for(let a=t.length-1,i=this.stack.length-1;a>=0;i--){if(i<0)return jx(this._tree,t,a);let o=r[n.buffer[this.stack[i]]];if(!o.isAnonymous){if(t[a]&&t[a]!=o.name)return!1;a--}}return!0}}function aA(e){return e.children.some(t=>t instanceof Kc||!t.type.isAnonymous||aA(t))}function ept(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:a=AX,reused:i=[],minRepeatType:o=r.types.length}=e,s=Array.isArray(n)?new rA(n,n.length):n,l=r.types,c=0,u=0;function d(E,_,C,R,B,L){let{id:V,start:Q,end:ee,size:ne}=s,G=u,re=c;if(ne<0)if(s.next(),ne==-1){let xe=i[V];C.push(xe),R.push(Q-E);return}else if(ne==-3){c=V;return}else if(ne==-4){u=V;return}else throw new RangeError(`Unrecognized record size: ${ne}`);let Y=l[V],ye,Ee,j=Q-E;if(ee-Q<=a&&(Ee=g(s.pos-_,B))){let xe=new Uint16Array(Ee.size-Ee.skip),Ie=s.pos-Ee.size,Z=xe.length;for(;s.pos>Ie;)Z=v(Ee.start,xe,Z);ye=new Kc(xe,ee-Ee.start,r),j=Ee.start-E}else{let xe=s.pos-ne;s.next();let Ie=[],Z=[],rt=V>=o?V:-1,ie=0,Pe=ee;for(;s.pos>xe;)rt>=0&&s.id==rt&&s.size>=0?(s.end<=Pe-a&&(p(Ie,Z,Q,ie,s.end,Pe,rt,G,re),ie=Ie.length,Pe=s.end),s.next()):L>2500?f(Q,xe,Ie,Z):d(Q,xe,Ie,Z,rt,L+1);if(rt>=0&&ie>0&&ie<Ie.length&&p(Ie,Z,Q,ie,Q,Pe,rt,G,re),Ie.reverse(),Z.reverse(),rt>-1&&ie>0){let gt=h(Y,re);ye=iA(Y,Ie,Z,0,Ie.length,0,ee-Q,gt,gt)}else ye=m(Y,Ie,Z,ee-Q,G-ee,re)}C.push(ye),R.push(j)}function f(E,_,C,R){let B=[],L=0,V=-1;for(;s.pos>_;){let{id:Q,start:ee,end:ne,size:G}=s;if(G>4)s.next();else{if(V>-1&&ee<V)break;V<0&&(V=ne-a),B.push(Q,ee,ne),L++,s.next()}}if(L){let Q=new Uint16Array(L*4),ee=B[B.length-2];for(let ne=B.length-3,G=0;ne>=0;ne-=3)Q[G++]=B[ne],Q[G++]=B[ne+1]-ee,Q[G++]=B[ne+2]-ee,Q[G++]=G;C.push(new Kc(Q,B[2]-ee,r)),R.push(ee-E)}}function h(E,_){return(C,R,B)=>{let L=0,V=C.length-1,Q,ee;if(V>=0&&(Q=C[V])instanceof pr){if(!V&&Q.type==E&&Q.length==B)return Q;(ee=Q.prop(hn.lookAhead))&&(L=R[V]+Q.length+ee)}return m(E,C,R,B,L,_)}}function p(E,_,C,R,B,L,V,Q,ee){let ne=[],G=[];for(;E.length>R;)ne.push(E.pop()),G.push(_.pop()+C-B);E.push(m(r.types[V],ne,G,L-B,Q-L,ee)),_.push(B-C)}function m(E,_,C,R,B,L,V){if(L){let Q=[hn.contextHash,L];V=V?[Q].concat(V):[Q]}if(B>25){let Q=[hn.lookAhead,B];V=V?[Q].concat(V):[Q]}return new pr(E,_,C,R,V)}function g(E,_){let C=s.fork(),R=0,B=0,L=0,V=C.end-a,Q={size:0,start:0,skip:0};e:for(let ee=C.pos-E;C.pos>ee;){let ne=C.size;if(C.id==_&&ne>=0){Q.size=R,Q.start=B,Q.skip=L,L+=4,R+=4,C.next();continue}let G=C.pos-ne;if(ne<0||G<ee||C.start<V)break;let re=C.id>=o?4:0,Y=C.start;for(C.next();C.pos>G;){if(C.size<0)if(C.size==-3||C.size==-4)re+=4;else break e;else C.id>=o&&(re+=4);C.next()}B=Y,R+=ne,L+=re}return(_<0||R==E)&&(Q.size=R,Q.start=B,Q.skip=L),Q.size>4?Q:void 0}function v(E,_,C){let{id:R,start:B,end:L,size:V}=s;if(s.next(),V>=0&&R<o){let Q=C;if(V>4){let ee=s.pos-(V-4);for(;s.pos>ee;)C=v(E,_,C)}_[--C]=Q,_[--C]=L-E,_[--C]=B-E,_[--C]=R}else V==-3?c=R:V==-4&&(u=R);return C}let k=[],S=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,k,S,-1,0);let A=(t=e.length)!==null&&t!==void 0?t:k.length?S[0]+k[0].length:0;return new pr(l[e.topID],k.reverse(),S.reverse(),A)}const C9=new WeakMap;function T2(e,t){if(!e.isAnonymous||t instanceof Kc||t.type!=e)return 1;let n=C9.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof pr)){n=1;break}n+=T2(e,r)}C9.set(t,n)}return n}function iA(e,t,n,r,a,i,o,s,l){let c=0;for(let p=r;p<a;p++)c+=T2(e,t[p]);let u=Math.ceil(c*1.5/8),d=[],f=[];function h(p,m,g,v,k){for(let S=g;S<v;){let A=S,E=m[S],_=T2(e,p[S]);for(S++;S<v;S++){let C=T2(e,p[S]);if(_+C>=u)break;_+=C}if(S==A+1){if(_>u){let C=p[A];h(C.children,C.positions,0,C.children.length,m[A]+k);continue}d.push(p[A])}else{let C=m[S-1]+p[S-1].length-E;d.push(iA(e,p,m,A,S,E,C,null,l))}f.push(E+k-i)}}return h(t,n,r,a,0),(s||l)(d,f,o)}class CX{constructor(){this.map=new WeakMap}setBuffer(t,n,r){let a=this.map.get(t);a||this.map.set(t,a=new Map),a.set(n,r)}getBuffer(t,n){let r=this.map.get(t);return r&&r.get(n)}set(t,n){t instanceof rl?this.setBuffer(t.context.buffer,t.index,n):t instanceof ri&&this.map.set(t.tree,n)}get(t){return t instanceof rl?this.getBuffer(t.context.buffer,t.index):t instanceof ri?this.map.get(t.tree):void 0}cursorSet(t,n){t.buffer?this.setBuffer(t.buffer.buffer,t.index,n):this.map.set(t.tree,n)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class ql{constructor(t,n,r,a,i=!1,o=!1){this.from=t,this.to=n,this.tree=r,this.offset=a,this.open=(i?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let a=[new ql(0,t.length,t,0,!1,r)];for(let i of n)i.to>t.length&&a.push(i);return a}static applyChanges(t,n,r=128){if(!n.length)return t;let a=[],i=1,o=t.length?t[0]:null;for(let s=0,l=0,c=0;;s++){let u=s<n.length?n[s]:null,d=u?u.fromA:1e9;if(d-l>=r)for(;o&&o.from<d;){let f=o;if(l>=f.from||d<=f.to||c){let h=Math.max(f.from,l)-c,p=Math.min(f.to,d)-c;f=h>=p?null:new ql(h,p,f.tree,f.offset+c,s>0,!!u)}if(f&&a.push(f),o.to>d)break;o=i<t.length?t[i++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return a}}class $X{startParse(t,n,r){return typeof t=="string"&&(t=new tpt(t)),r=r?r.length?r.map(a=>new Mo(a.from,a.to)):[new Mo(0,0)]:[new Mo(0,t.length)],this.createParse(t,n||[],r)}parse(t,n,r){let a=this.startParse(t,n,r);for(;;){let i=a.advance();if(i)return i}}}class tpt{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,n){return this.string.slice(t,n)}}function npt(e){return(t,n,r,a)=>new apt(t,e,n,r,a)}class $9{constructor(t,n,r,a,i,o){this.parser=t,this.parse=n,this.overlay=r,this.bracketed=a,this.target=i,this.from=o}}function P9(e){if(!e.length||e.some(t=>t.from>=t.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class rpt{constructor(t,n,r,a,i,o,s,l){this.parser=t,this.predicate=n,this.mounts=r,this.index=a,this.start=i,this.bracketed=o,this.target=s,this.prev=l,this.depth=0,this.ranges=[]}}
vendor: 4,157 bytes, line 2450
2450const Fx=new hn({perNode:!0});class apt{constructor(t,n,r,a,i){this.nest=n,this.input=r,this.fragments=a,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let a of this.inner)a.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new pr(r.type,r.children,r.positions,r.length,r.propValues.concat([[Fx,this.stoppedAt]]))),r}let t=this.inner[this.innerDone],n=t.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),t.target.props);r[hn.mounted.id]=new qf(n,t.overlay,t.parser,t.bracketed),t.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].from<t&&(t=Math.min(t,this.inner[n].parse.parsedPos));return t}stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);else for(let n=this.innerDone;n<this.inner.length;n++)this.inner[n].parse.stopAt(t)}startInner(){let t=new spt(this.fragments),n=null,r=null,a=new Kb(new ri(this.baseTree,this.ranges[0].from,0,null),Ln.IncludeAnonymous|Ln.IgnoreMounts);e:for(let i,o;;){let s=!0,l;if(this.stoppedAt!=null&&a.from>=this.stoppedAt)s=!1;else if(t.hasNode(a)){if(n){let c=n.mounts.find(u=>u.frag.from<=a.from&&u.frag.to>=a.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let d=u.from+c.pos,f=u.to+c.pos;d>=a.from&&f<=a.to&&!n.ranges.some(h=>h.from<f&&h.to>d)&&n.ranges.push({from:d,to:f})}}s=!1}else if(r&&(o=ipt(r.ranges,a.from,a.to)))s=o!=2;else if(!a.type.isAnonymous&&(i=this.nest(a,this.input))&&(a.from<a.to||!i.overlay)){a.tree||(opt(a),n&&n.depth++,r&&r.depth++);let c=t.findMounts(a.from,i.parser);if(typeof i.overlay=="function")n=new rpt(i.parser,i.overlay,c,this.inner.length,a.from,!!i.bracketed,a.tree,n);else{let u=N9(this.ranges,i.overlay||(a.from<a.to?[new Mo(a.from,a.to)]:[]));u.length&&P9(u),(u.length||!i.overlay)&&this.inner.push(new $9(i.parser,u.length?i.parser.startParse(this.input,M9(c,u),u):i.parser.startParse(""),i.overlay?i.overlay.map(d=>new Mo(d.from-a.from,d.to-a.from)):null,!!i.bracketed,a.tree,u.length?u[0].from:a.from)),i.overlay?u.length&&(r={ranges:u,depth:0,prev:r}):s=!1}}else if(n&&(l=n.predicate(a))&&(l===!0&&(l=new Mo(a.from,a.to)),l.from<l.to)){let c=n.ranges.length-1;c>=0&&n.ranges[c].to==l.from?n.ranges[c]={from:n.ranges[c].from,to:l.to}:n.ranges.push(l)}if(s&&a.firstChild())n&&n.depth++,r&&r.depth++;else for(;!a.nextSibling();){if(!a.parent())break e;if(n&&!--n.depth){let c=N9(this.ranges,n.ranges);c.length&&(P9(c),this.inner.splice(n.index,0,new $9(n.parser,n.parser.startParse(this.input,M9(n.mounts,c),c),n.ranges.map(u=>new Mo(u.from-n.start,u.to-n.start)),n.bracketed,n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}}function ipt(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function I9(e,t,n,r,a,i){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),a.push(o-i)}}function opt(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let a=e.tree,i=a.children.indexOf(r),o=a.children[i],s=o.buffer,l=[i];function c(u,d,f,h,p,m){let g=n[m],v=[],k=[];I9(o,u,g,v,k,h);let S=s[g+1],A=s[g+2];l.push(v.length);let E=m?c(g+4,s[g+3],o.set.types[s[g]],S,A-S,m-1):t.toTree();return v.push(E),k.push(S-h),I9(o,s[g+3],d,v,k,h),new pr(f,v,k,p)}a.children[i]=c(0,s.length,Ai.none,0,o.length,n.length-1);for(let u of l){let d=e.tree.children[u],f=e.tree.positions[u];e.yield(new ri(d,f+e.from,u,e._tree))}}class R9{constructor(t,n){this.offset=n,this.done=!1,this.cursor=t.cursor(Ln.IncludeAnonymous|Ln.IgnoreMounts)}moveTo(t){let{cursor:n}=this,r=t-this.offset;for(;!this.done&&n.from<r;)if(!(n.to>=t&&n.enter(r,1,Ln.IgnoreOverlays|Ln.ExcludeBuffers)))if(n.to<=t)n.next(!1)||(this.done=!0);else break}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==t.tree)return!0;
2450if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof pr)n=n.children[0];else break}return!1}}let spt=class{constructor(t){var n;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let r=this.curFrag=t[0];this.curTo=(n=r.tree.prop(Fx))!==null&&n!==void 0?n:r.to,this.inner=new R9(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(t=n.tree.prop(Fx))!==null&&t!==void 0?t:n.to,this.inner=new R9(n.tree,-n.offset)}}findMounts(t,n){var r;let a=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let i=this.inner.cursor.node;i;i=i.parent){let o=(r=i.tree)===null||r===void 0?void 0:r.prop(hn.mounted);if(o&&o.parser==n)for(let s=this.fragI;s<this.fragments.length;s++){let l=this.fragments[s];if(l.from>=i.to)break;l.tree==this.curFrag.tree&&a.push({frag:l,pos:i.from-l.offset,mount:o})}}}return a}};function N9(e,t){let n=null,r=t;for(let a=1,i=0;a<e.length;a++){let o=e[a-1].to,s=e[a].from;for(;i<r.length;i++){let l=r[i];if(l.from>=s)break;l.to<=o||(n||(r=n=t.slice()),l.from<o?(n[i]=new Mo(l.from,o),l.to>s&&n.splice(i+1,0,new Mo(s,l.to))):l.to>s?n[i--]=new Mo(s,l.to):n.splice(i--,1))}}return r}function lpt(e,t,n,r){let a=0,i=0,o=!1,s=!1,l=-1e9,c=[];for(;;){let u=a==e.length?1e9:o?e[a].to:e[a].from,d=i==t.length?1e9:s?t[i].to:t[i].from;if(o!=s){let f=Math.max(l,n),h=Math.min(u,d,r);f<h&&c.push(new Mo(f,h))}if(l=Math.min(u,d),l==1e9)break;u==l&&(o?(o=!1,a++):o=!0),d==l&&(s?(s=!1,i++):s=!0)}return c}function M9(e,t){let n=[];for(let{pos:r,mount:a,frag:i}of e){let o=r+(a.overlay?a.overlay[0].from:0),s=o+a.tree.length,l=Math.max(i.from,o),c=Math.min(i.to,s);if(a.overlay){let u=a.overlay.map(f=>new Mo(f.from+r,f.to+r)),d=lpt(t,u,l,c);for(let f=0,h=l;;f++){let p=f==d.length,m=p?c:d[f].from;if(m>h&&n.push(new ql(h,m,a.tree,-o,i.from>=h||i.openStart,i.to<=m||i.openEnd)),p)break;h=d[f].to}}else n.push(new ql(l,c,a.tree,-o,i.from>=o||i.openStart,i.to<=s||i.openEnd))}return n}let cpt=0,Il=class Qx{constructor(t,n,r,a){this.name=t,this.set=n,this.base=r,this.modified=a,this.id=cpt++}toString(){let{name:t}=this;for(let n of this.modified)n.name&&(t=`${n.name}(${t})`);return t}static define(t,n){let r=typeof t=="string"?t:"?";if(t instanceof Qx&&(n=t),n!=null&&n.base)throw new Error("Can not derive from a modified tag");let a=new Qx(r,[],null,[]);if(a.set.push(a),n)for(let i of n.set)a.set.push(i);return a}static defineModifier(t){let n=new Jb(t);return r=>r.modified.indexOf(n)>-1?r:Jb.get(r.base||r,r.modified.concat(n).sort((a,i)=>a.id-i.id))}},upt=0;class Jb{constructor(t){this.name=t,this.instances=[],this.id=upt++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(s=>s.base==t&&dpt(n,s.modified));if(r)return r;let a=[],i=new Il(t.name,a,t,n);for(let s of n)s.instances.push(i);let o=fpt(n);for(let s of t.set)if(!s.modified.length)for(let l of o)a.push(Jb.get(s,l));return i}}function dpt(e,t){return e.length==t.length&&e.every((n,r)=>n==t[r])}function fpt(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,a=t.length;r<a;r++)t.push(t[r].concat(e[n]));return t.sort((n,r)=>r.length-n.length)}function Xd(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let a of n.split(" "))if(a){let i=[],o=2,s=a;for(let d=0;;){if(s=="..."&&d>0&&d+3==a.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!f)throw new RangeError("Invalid path: "+a);if(i.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),d+=f[0].length,d==a.length)break;let h=a[d++];if(d==a.length&&h=="!"){o=0;break}if(h!="/")throw new RangeError("Invalid path: "+a);s=a.slice(d)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+a);let u=new g0(r,o,l>0?i.slice(0,l):null);t[c]=u.sort(t[c])}}return PX.add(t)}const PX=new hn({combine(e,t){let n,r,a;for(;e||t;){if(!e||t&&e.depth>=t.depth?(a=t,t=t.next):(a=e,e=e.next),n&&n.mode==a.mode&&!a.context&&!n.context)continue;let i=new g0(a.tags,a.mode,a.context);n?n.next=i:r=i,n=i}return r}});class g0{constructor(t,n,r,a){this.tags=t,this.mode=n,this.context=r,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}g0.empty=new g0([],2,null);function IX(e,t){let n=Object.create(null);for(let i of e)if(!Array.isArray(i.tag))n[i.tag.id]=i.class;else for(let o of i.tag)n[o.id]=i.class;let{scope:r,all:a=null}=t||{};return{style:i=>{let o=a;for(let s of i)for(let l of s.set){let c=n[l.id];if(c){o=o?o+" "+c:c;break}}return o},scope:r}}function hpt(e,t){let n=null;for(let r of e){let a=r.style(t);a&&(n=n?n+" "+a:a)}return n}function ppt(e,t,n,r=0,a=e.length){let i=new mpt(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,a,"",i.highlighters),i.flush(a)}class mpt{constructor(t,n,r){this.at=t,this.highlighters=n,this.span=r,this.class=""}
vendor: 1,247 bytes, line 2450
2450startSpan(t,n){n!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=n)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,n,r,a,i){let{type:o,from:s,to:l}=t;if(s>=r||l<=n)return;o.isTop&&(i=this.highlighters.filter(h=>!h.scope||h.scope(o)));let c=a,u=gpt(t)||g0.empty,d=hpt(i,u.tags);if(d&&(c&&(c+=" "),c+=d,u.mode==1&&(a+=(a?" ":"")+d)),this.startSpan(Math.max(n,s),c),u.opaque)return;let f=t.tree&&t.tree.prop(hn.mounted);if(f&&f.overlay){let h=t.node.enter(f.overlay[0].from+s,1),p=this.highlighters.filter(g=>!g.scope||g.scope(f.tree.type)),m=t.firstChild();for(let g=0,v=s;;g++){let k=g<f.overlay.length?f.overlay[g]:null,S=k?k.from+s:l,A=Math.max(n,v),E=Math.min(r,S);if(A<E&&m)for(;t.from<E&&(this.highlightRange(t,A,E,a,i),this.startSpan(Math.min(E,t.to),c),!(t.to>=S||!t.nextSibling())););if(!k||S>r)break;v=k.to+s,v>n&&(this.highlightRange(h.cursor(),Math.max(n,k.from+s),Math.min(r,v),"",p),this.startSpan(Math.min(r,v),c))}m&&t.parent()}else if(t.firstChild()){f&&(a="");do if(!(t.to<=n)){if(t.from>=r)break;this.highlightRange(t,n,r,a,i),this.startSpan(Math.min(r,t.to),c)}while(t.nextSibling());t.parent()}}}function gpt(e){let t=e.type.prop(PX);for(;t&&t.context&&!e.matchContext(t.context);
vendor: 9,901 bytes, line 2450
2450)t=t.next;return t||null}const qe=Il.define,Qg=qe(),Tc=qe(),L9=qe(Tc),D9=qe(Tc),Ec=qe(),zg=qe(Ec),xS=qe(Ec),Vs=qe(),Ru=qe(Vs),Fs=qe(),Qs=qe(),zx=qe(),Vp=qe(zx),Hg=qe(),W={comment:Qg,lineComment:qe(Qg),blockComment:qe(Qg),docComment:qe(Qg),name:Tc,variableName:qe(Tc),typeName:L9,tagName:qe(L9),propertyName:D9,attributeName:qe(D9),className:qe(Tc),labelName:qe(Tc),namespace:qe(Tc),macroName:qe(Tc),literal:Ec,string:zg,docString:qe(zg),character:qe(zg),attributeValue:qe(zg),number:xS,integer:qe(xS),float:qe(xS),bool:qe(Ec),regexp:qe(Ec),escape:qe(Ec),color:qe(Ec),url:qe(Ec),keyword:Fs,self:qe(Fs),null:qe(Fs),atom:qe(Fs),unit:qe(Fs),modifier:qe(Fs),operatorKeyword:qe(Fs),controlKeyword:qe(Fs),definitionKeyword:qe(Fs),moduleKeyword:qe(Fs),operator:Qs,derefOperator:qe(Qs),arithmeticOperator:qe(Qs),logicOperator:qe(Qs),bitwiseOperator:qe(Qs),compareOperator:qe(Qs),updateOperator:qe(Qs),definitionOperator:qe(Qs),typeOperator:qe(Qs),controlOperator:qe(Qs),punctuation:zx,separator:qe(zx),bracket:Vp,angleBracket:qe(Vp),squareBracket:qe(Vp),paren:qe(Vp),brace:qe(Vp),content:Vs,heading:Ru,heading1:qe(Ru),heading2:qe(Ru),heading3:qe(Ru),heading4:qe(Ru),heading5:qe(Ru),heading6:qe(Ru),contentSeparator:qe(Vs),list:qe(Vs),quote:qe(Vs),emphasis:qe(Vs),strong:qe(Vs),link:qe(Vs),monospace:qe(Vs),strikethrough:qe(Vs),inserted:qe(),deleted:qe(),changed:qe(),invalid:qe(),meta:Hg,documentMeta:qe(Hg),annotation:qe(Hg),processingInstruction:qe(Hg),definition:Il.defineModifier("definition"),constant:Il.defineModifier("constant"),function:Il.defineModifier("function"),standard:Il.defineModifier("standard"),local:Il.defineModifier("local"),special:Il.defineModifier("special")};for(let e in W){let t=W[e];t instanceof Il&&(t.name=e)}IX([{tag:W.link,class:"tok-link"},{tag:W.heading,class:"tok-heading"},{tag:W.emphasis,class:"tok-emphasis"},{tag:W.strong,class:"tok-strong"},{tag:W.keyword,class:"tok-keyword"},{tag:W.atom,class:"tok-atom"},{tag:W.bool,class:"tok-bool"},{tag:W.url,class:"tok-url"},{tag:W.labelName,class:"tok-labelName"},{tag:W.inserted,class:"tok-inserted"},{tag:W.deleted,class:"tok-deleted"},{tag:W.literal,class:"tok-literal"},{tag:W.string,class:"tok-string"},{tag:W.number,class:"tok-number"},{tag:[W.regexp,W.escape,W.special(W.string)],class:"tok-string2"},{tag:W.variableName,class:"tok-variableName"},{tag:W.local(W.variableName),class:"tok-variableName tok-local"},{tag:W.definition(W.variableName),class:"tok-variableName tok-definition"},{tag:W.special(W.variableName),class:"tok-variableName2"},{tag:W.definition(W.propertyName),class:"tok-propertyName tok-definition"},{tag:W.typeName,class:"tok-typeName"},{tag:W.namespace,class:"tok-namespace"},{tag:W.className,class:"tok-className"},{tag:W.macroName,class:"tok-macroName"},{tag:W.propertyName,class:"tok-propertyName"},{tag:W.operator,class:"tok-operator"},{tag:W.comment,class:"tok-comment"},{tag:W.meta,class:"tok-meta"},{tag:W.invalid,class:"tok-invalid"},{tag:W.punctuation,class:"tok-punctuation"}]);var kS;const If=new hn;function RX(e){return st.define({combine:e?t=>t.concat(e):void 0})}const oA=new hn;class bs{constructor(t,n,r=[],a=""){this.data=t,this.name=a,Mn.prototype.hasOwnProperty("tree")||Object.defineProperty(Mn.prototype,"tree",{get(){return Fr(this)}}),this.parser=n,this.extension=[Jc.of(this),Mn.languageData.of((i,o,s)=>{let l=B9(i,o,s),c=l.type.prop(If);if(!c)return[];let u=i.facet(c),d=l.type.prop(oA);if(d){let f=l.resolve(o-l.from,s);for(let h of d)if(h.test(f,i)){let p=i.facet(h.facet);return h.type=="replace"?p:p.concat(u)}}return u})].concat(r)}isActiveAt(t,n,r=-1){return B9(t,n,r).type.prop(If)==this.data}findRegions(t){let n=t.facet(Jc);if((n==null?void 0:n.data)==this.data)return[{from:0,to:t.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],a=(i,o)=>{if(i.prop(If)==this.data){r.push({from:o,to:o+i.length});return}let s=i.prop(hn.mounted);if(s){if(s.tree.prop(If)==this.data){if(s.overlay)for(let l of s.overlay)r.push({from:l.from+o,to:l.to+o});else r.push({from:o,to:o+i.length});return}else if(s.overlay){let l=r.length;if(a(s.tree,s.overlay[0].from+o),r.length>l)return}}for(let l=0;l<i.children.length;l++){let c=i.children[l];c instanceof pr&&a(c,i.positions[l]+o)}};return a(Fr(t),0),r}get allowsNesting(){return!0}}bs.setState=on.define();function B9(e,t,n){let r=e.facet(Jc),a=Fr(e).topNode;if(!r||r.allowsNesting)for(let i=a;i;i=i.enter(t,n,Ln.ExcludeBuffers|Ln.EnterBracketed))i.type.isTop&&(a=i);return a}class ec extends bs{constructor(t,n,r){super(t,n,[],r),this.parser=n}static define(t){let n=RX(t.languageData);return new ec(n,t.parser.configure({props:[If.add(r=>r.isTop?n:void 0)]}),t.name)}configure(t,n){return new ec(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Fr(e){let t=e.field(bs.state,!1);return t?t.tree:pr.empty}class bpt{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,n){let r=this.cursorPos-this.string.length;return t<r||n>=this.cursorPos?this.doc.sliceString(t,n):this.string.slice(t-r,n-r)}}let qp=null;class ey{constructor(t,n,r=[],a,i,o,s,l){this.parser=t,this.state=n,this.fragments=r,this.tree=a,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new ey(t,n,[],pr.empty,0,r,[],null)}startParse(){return this.parser.startParse(new bpt(this.state.doc),this.fragments)}work(t,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=pr.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof t=="number"){let a=Date.now()+t;t=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n<this.state.doc.length&&this.parse.stopAt(n);;){let a=this.parse.advance();if(a)if(this.fragments=this.withoutTempSkipped(ql.addTree(a,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(r=this.parse.stoppedAt)!==null&&r!==void 0?r:this.state.doc.length,this.tree=a,this.parse=null,this.treeLen<(n??this.state.doc.length))this.parse=this.startParse();else return!0;if(t())return!1}})}takeTree(){let t,n;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=t,this.tree=n,this.fragments=this.withoutTempSkipped(ql.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let n=qp;qp=this;try{return t()}finally{qp=n}}withoutTempSkipped(t){for(let n;n=this.tempSkipped.pop();)t=U9(t,n.from,n.to);return t}changes(t,n){let{fragments:r,tree:a,treeLen:i,viewport:o,skipped:s}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,f)=>l.push({fromA:c,toA:u,fromB:d,toB:f})),r=ql.applyChanges(r,l),a=pr.empty,i=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);u<d&&s.push({from:u,to:d})}}}return new ey(this.parser,n,r,a,i,o,s,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let n=this.skipped.length;for(let r=0;r<this.skipped.length;r++){let{from:a,to:i}=this.skipped[r];a<t.to&&i>t.from&&(this.fragments=U9(this.fragments,a,i),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,n){this.skipped.push({from:t,to:n})}static getSkippingParser(t){return new class extends $X{createParse(n,r,a){let i=a[0].from,o=a[a.length-1].to;return{parsedPos:i,advance(){let l=qp;if(l){for(let c of a)l.tempSkipped.push(c);t&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,t]):t)}return this.parsedPos=o,new pr(Ai.none,[],[],o-i)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let n=this.fragments;return this.treeLen>=t&&n.length&&n[0].from==0&&n[0].to>=t}static get(){return qp}}function U9(e,t,n){return ql.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class Ih{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new Ih(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=ey.create(t.facet(Jc).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new Ih(r)}}bs.state=Zi.define({create:Ih.init,update(e,t){for(let n of t.effects)if(n.is(bs.setState))return n.value;return t.startState.facet(Jc)!=t.state.facet(Jc)?Ih.init(t.state):e.apply(t)}});let NX=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(NX=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const AS=typeof navigator<"u"&&(!((kS=navigator.scheduling)===null||kS===void 0)&&kS.isInputPending)?()=>navigator.scheduling.isInputPending():null,ypt=ha.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let n=this.view.state.field(bs.state).context;(n.updateViewport(t.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:t}=this.view,n=t.field(bs.state);
vendor: 11,967 bytes, line 2450
2450(n.tree!=n.context.tree||!n.context.isDone(t.doc.length))&&(this.working=NX(this.work))}work(t){this.working=null;let n=Date.now();if(this.chunkEnd<n&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=n+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:r,viewport:{to:a}}=this.view,i=r.field(bs.state);if(i.tree==i.context.tree&&i.context.isDone(a+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,t&&!AS?Math.max(25,t.timeRemaining()-5):1e9),s=i.context.treeLen<a&&r.doc.length>a+1e3,l=i.context.work(()=>AS&&AS()||Date.now()>o,a+(s?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:bs.setState.of(new Ih(i.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(n=>wi(this.view.state,n)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Jc=st.define({combine(e){return e.length?e[0]:null},enables:e=>[bs.state,ypt,ut.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class gp{constructor(t,n=[]){this.language=t,this.support=n,this.extension=[t,n]}}const vpt=st.define(),yO=st.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(n=>n!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function MX(e){let t=e.facet(yO);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function LX(e,t){let n="",r=e.tabSize,a=e.facet(yO)[0];if(a==" "){for(;t>=r;)n+=" ",t-=r;a=" "}for(let i=0;i<t;i++)n+=a;return n}function Opt(e,t){e instanceof Mn&&(e=new DX(e));for(let r of e.state.facet(vpt)){let a=r(e,t);if(a!==void 0)return a}let n=Fr(e.state);return n.length>=t?Spt(e,n,t):null}class DX{constructor(t,n={}){this.state=t,this.options=n,this.unit=MX(t)}lineAt(t,n=1){let r=this.state.doc.lineAt(t),{simulateBreak:a,simulateDoubleBreak:i}=this.options;return a!=null&&a>=r.from&&a<=r.to?i&&a==t?{text:"",from:t}:(n<0?a<t:a<=t)?{text:r.text.slice(a-r.from),from:a}:{text:r.text.slice(0,a-r.from),from:r.from}:r}textAfterPos(t,n=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:r,from:a}=this.lineAt(t,n);return r.slice(t-a,Math.min(r.length,t+100-a))}column(t,n=1){let{text:r,from:a}=this.lineAt(t,n),i=this.countColumn(r,t-a),o=this.options.overrideIndentation?this.options.overrideIndentation(a):-1;return o>-1&&(i+=o-this.countColumn(r,r.search(/\S|$/))),i}countColumn(t,n=t.length){return Qk(t,this.state.tabSize,n)}lineIndent(t,n=1){let{text:r,from:a}=this.lineAt(t,n),i=this.options.overrideIndentation;if(i){let o=i(a);if(o>-1)return o}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Wd=new hn;function Spt(e,t,n){let r=t.resolveStack(n),a=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(a!=r.node){let i=[];for(let o=a;o&&!(o.from<r.node.from||o.to>r.node.to||o.from==r.node.from&&o.type==r.node.type);o=o.parent)i.push(o);for(let o=i.length-1;o>=0;o--)r={node:i[o],next:r}}return BX(r,e,n)}function BX(e,t,n){for(let r=e;r;r=r.next){let a=xpt(r.node);if(a)return a(sA.create(t,n,r))}return 0}function wpt(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function xpt(e){let t=e.type.prop(Wd);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(hn.closedBy))){let a=e.lastChild,i=a&&r.indexOf(a.name)>-1;return o=>UX(o,!0,1,void 0,i&&!wpt(o)?a.from:void 0)}return e.parent==null?kpt:null}function kpt(){return 0}class sA extends DX{constructor(t,n,r){super(t.state,t.options),this.base=t,this.pos=n,this.context=r}get node(){return this.context.node}static create(t,n,r){return new sA(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let n=this.state.doc.lineAt(t.from);for(;;){let r=t.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(Apt(r,t))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return BX(this.context.next,this.base,this.pos)}}function Apt(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function Tpt(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let a=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),o=a==null||a<=i.from?i.to:Math.min(i.to,a);for(let s=n.to;;){let l=t.childAfter(s);if(!l||l==r)return null;if(!l.type.isSkipped){if(l.from>=o)return null;let c=/^ */.exec(i.text.slice(n.to-i.from))[0].length;return{from:n.from,to:n.to+c}}s=l.to}}function Hx({closing:e,align:t=!0,units:n=1}){return r=>UX(r,t,n,e)}function UX(e,t,n,r,a){let i=e.textAfter,o=i.match(/^\s*/)[0].length,s=r&&i.slice(o,o+r.length)==r||a==e.pos+o,l=t?Tpt(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}const Ept=e=>e.baseIndent;function Zf({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const _pt=200;function Cpt(){return Mn.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,a=n.lineAt(r);if(r>a.from+_pt)return e;let i=n.sliceString(a.from,r);if(!t.some(c=>c.test(i)))return e;let{state:o}=e,s=-1,l=[];for(let{head:c}of o.selection.ranges){let u=o.doc.lineAt(c);if(u.from==s)continue;s=u.from;let d=Opt(o,u.from);if(d==null)continue;let f=/^\s*/.exec(u.text)[0],h=LX(o,d);f!=h&&l.push({from:u.from,to:u.from+f.length,insert:h})}return l.length?[e,{changes:l,sequential:!0}]:e})}const $pt=st.define(),Yd=new hn;function vO(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function Ppt(e,t,n){let r=Fr(e);if(r.length<n)return null;let a=r.resolveStack(n,1),i=null;for(let o=a;o;o=o.next){let s=o.node;if(s.to<=n||s.from>n)continue;if(i&&s.from<t)break;let l=s.type.prop(Yd);if(l&&(s.to<r.length-50||r.length==e.doc.length||!Ipt(s))){let c=l(s,e);c&&c.from<=n&&c.from>=t&&c.to>n&&(i=c)}}return i}function Ipt(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function j9(e,t,n){for(let r of e.facet($pt)){let a=r(e,t,n);if(a)return a}return Ppt(e,t,n)}function jX(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const FX=on.define({map:jX}),lA=on.define({map:jX}),ty=Zi.define({create(){return Ft.none},update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((r,a)=>e=F9(e,r,a)),e=e.map(t.changes);let n=[];for(let r of t.effects)r.is(FX)&&!Rpt(e,r.value.from,r.value.to)?n.push(r.value):r.is(lA)&&(e=e.update({filter:(a,i)=>r.value.from!=a||r.value.to!=i,filterFrom:r.value.from,filterTo:r.value.to}));if(n.length){let{preparePlaceholder:r}=t.state.facet(QX),a=n.map(i=>(r?Ft.replace({widget:new Lpt(r(t.state,i))}):Q9).range(i.from,i.to));e=e.update({add:a})}return t.selection&&(e=F9(e,t.selection.main.head)),e},provide:e=>ut.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(r,a)=>{n.push(r,a)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],a=e[n++];if(typeof r!="number"||typeof a!="number")throw new RangeError("Invalid JSON for fold state");t.push(Q9.range(r,a))}return Ft.set(t,!0)}});function F9(e,t,n=t){let r=!1;return e.between(t,n,(a,i)=>{a<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(a,i)=>a>=n||i<=t}):e}function Vx(e,t,n){var r;let a=null;return(r=e.field(ty,!1))===null||r===void 0||r.between(t,n,(i,o)=>{(!a||a.from>i)&&(a={from:i,to:o})}),a}function Rpt(e,t,n){let r=!1;return e.between(t,t,(a,i)=>{a==t&&i==n&&(r=!0)}),r}const Npt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"â¦"},QX=st.define({combine(e){return Zd(e,Npt)}});function Mpt(e){return[ty,Bpt]}function zX(e,t){let{state:n}=e,r=n.facet(QX),a=o=>{let s=e.lineBlockAt(e.posAtDOM(o.target)),l=Vx(e.state,s.from,s.to);l&&e.dispatch({effects:lA.of(l)}),o.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,a,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=a,i}const Q9=Ft.replace({widget:new class extends Go{toDOM(e){return zX(e,null)}}});class Lpt extends Go{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return zX(t,this.value)}}const Dpt={openText:"â",closedText:"âº",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class TS extends Gc{constructor(t,n){super(),this.config=t,this.open=n}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=t.state.phrase(this.open?"Fold line":"Unfold line"),n}}function z9(e={}){let t={...Dpt,...e},n=new TS(t,!0),r=new TS(t,!1),a=ha.fromClass(class{constructor(o){this.from=o.viewport.from,this.markers=this.buildMarkers(o)}update(o){(o.docChanged||o.viewportChanged||o.startState.facet(Jc)!=o.state.facet(Jc)||o.startState.field(ty,!1)!=o.state.field(ty,!1)||Fr(o.startState)!=Fr(o.state)||t.foldingChanged(o))&&(this.markers=this.buildMarkers(o.view))}buildMarkers(o){let s=new hl;for(let l of o.viewportLineBlocks){let c=Vx(o.state,l.from,l.to)?r:j9(o.state,l.from,l.to)?n:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:i}=t;return[a,Fht({class:"cm-foldGutter",markers(o){var s;return((s=o.plugin(a))===null||s===void 0?void 0:s.markers)||mn.empty},initialSpacer(){return new TS(t,!1)},domEventHandlers:{...i,click:(o,s,l)=>{if(i.click&&i.click(o,s,l))return!0;let c=Vx(o.state,s.from,s.to);if(c)return o.dispatch({effects:lA.of(c)}),!0;let u=j9(o.state,s.from,s.to);return u?(o.dispatch({effects:FX.of(u)}),!0):!1}}}),Mpt()]}const Bpt=ut.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class w1{constructor(t,n){this.specs=t;let r;function a(s){let l=Wc.newName();return(r||(r=Object.create(null)))["."+l]=s,l}const i=typeof n.all=="string"?n.all:n.all?a(n.all):void 0,o=n.scope;this.scope=o instanceof bs?s=>s.prop(If)==o.data:o?s=>s==o:void 0,this.style=IX(t.map(s=>({tag:s.tag,class:s.class||a(Object.assign({},s,{tag:null}))})),{all:i}).style,this.module=r?new Wc(r):null,this.themeType=n.themeType}static define(t,n){return new w1(t,n||{})}}const qx=st.define(),HX=st.define({combine(e){return e.length?[e[0]]:null}});function ES(e){let t=e.facet(qx);return t.length?t:e.facet(HX)}function VX(e,t){let n=[jpt],r;return e instanceof w1&&(e.module&&n.push(ut.styleModule.of(e.module)),r=e.themeType),t!=null&&t.fallback?n.push(HX.of(e)):r?n.push(qx.computeN([ut.darkTheme],a=>a.facet(ut.darkTheme)==(r=="dark")?[e]:[])):n.push(qx.of(e)),n}class Upt{constructor(t){this.markCache=Object.create(null),this.tree=Fr(t.state),this.decorations=this.buildDeco(t,ES(t.state)),this.decoratedTo=t.viewport.to}update(t){let n=Fr(t.state),r=ES(t.state),a=r!=ES(t.startState),{viewport:i}=t.view,o=t.changes.mapPos(this.decoratedTo,1);n.length<i.to&&!a&&n.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=o):(n!=this.tree||t.viewportChanged||a)&&(this.tree=n,this.decorations=this.buildDeco(t.view,r),this.decoratedTo=i.to)}buildDeco(t,n){if(!n||!this.tree.length)return Ft.none;let r=new hl;for(let{from:a,to:i}
2450of t.visibleRanges)ppt(this.tree,n,(o,s,l)=>{r.add(o,s,this.markCache[l]||(this.markCache[l]=Ft.mark({class:l})))},a,i);return r.finish()}}const jpt=mp.high(ha.fromClass(Upt,{decorations:e=>e.decorations})),Fpt=w1.define([{tag:W.meta,color:"#404740"},{tag:W.link,textDecoration:"underline"},{tag:W.heading,textDecoration:"underline",fontWeight:"bold"},{tag:W.emphasis,fontStyle:"italic"},{tag:W.strong,fontWeight:"bold"},{tag:W.strikethrough,textDecoration:"line-through"},{tag:W.keyword,color:"#708"},{tag:[W.atom,W.bool,W.url,W.contentSeparator,W.labelName],color:"#219"},{tag:[W.literal,W.inserted],color:"#164"},{tag:[W.string,W.deleted],color:"#a11"},{tag:[W.regexp,W.escape,W.special(W.string)],color:"#e40"},{tag:W.definition(W.variableName),color:"#00f"},{tag:W.local(W.variableName),color:"#30a"},{tag:[W.typeName,W.namespace],color:"#085"},{tag:W.className,color:"#167"},{tag:[W.special(W.variableName),W.macroName],color:"#256"},{tag:W.definition(W.propertyName),color:"#00c"},{tag:W.comment,color:"#940"},{tag:W.invalid,color:"#f00"}]),Qpt=ut.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),qX=1e4,ZX="()[]{}",XX=st.define({combine(e){return Zd(e,{afterCursor:!0,brackets:ZX,maxScanDistance:qX,renderMatch:Vpt})}}),zpt=Ft.mark({class:"cm-matchingBracket"}),Hpt=Ft.mark({class:"cm-nonmatchingBracket"});function Vpt(e){let t=[],n=e.matched?zpt:Hpt;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function H9(e){let t=[],n=e.facet(XX);for(let r of e.selection.ranges){if(!r.empty)continue;let a=Vg(e,r.head,-1,n)||r.head>0&&Vg(e,r.head-1,1,n)||n.afterCursor&&(Vg(e,r.head,1,n)||r.head<e.doc.length&&Vg(e,r.head+1,-1,n));a&&(t=t.concat(n.renderMatch(a,e)))}return Ft.set(t,!0)}const qpt=ha.fromClass(class{constructor(e){this.paused=!1,this.decorations=H9(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=H9(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),Zpt=[qpt,Qpt];function V9(e={}){return[XX.of(e),Zpt]}const cA=new hn;function Zx(e,t,n){let r=e.prop(t<0?hn.openedBy:hn.closedBy);if(r)return r;if(e.name.length==1){let a=n.indexOf(e.name);if(a>-1&&a%2==(t<0?1:0))return[n[a+t]]}return null}function Xx(e){let t=e.type.prop(cA);return t?t(e.node):e}function Vg(e,t,n,r={}){let a=r.maxScanDistance||qX,i=r.brackets||ZX,o=Fr(e),s=o.resolveInner(t,n);for(let l=s;l;l=l.parent){let c=Zx(l.type,n,i);if(c&&l.from<l.to){let u=Xx(l);if(u&&(n>0?t>=u.from&&t<u.to:t>u.from&&t<=u.to))return Xpt(e,t,n,l,u,c,i)}}return Wpt(e,t,n,o,s.type,a,i)}function Xpt(e,t,n,r,a,i,o){let s=r.parent,l={from:a.from,to:a.to},c=0,u=s==null?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from<u.to){let d=Xx(u);return{start:l,end:d?{from:d.from,to:d.to}:void 0,matched:!0}}else if(Zx(u.type,n,o))c++;else if(Zx(u.type,-n,o)){if(c==0){let d=Xx(u);return{start:l,end:d&&d.from<d.to?{from:d.from,to:d.to}:void 0,matched:!1}}c--}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function Wpt(e,t,n,r,a,i,o){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=o.indexOf(s);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let f=0;!u.next().done&&f<=i;){let h=u.value;n<0&&(f+=h.length);let p=t+f*n;for(let m=n>0?0:h.length-1,g=n>0?h.length:-1;m!=g;m+=n){let v=o.indexOf(h[m]);if(!(v<0||r.resolveInner(p+m,1).type!=a))if(v%2==0==n>0)d++;else{if(d==1)return{start:c,end:{from:p+m,to:p+m+1},matched:v>>1==l>>1};d--}}n>0&&(f+=h.length)}return u.done?{start:c,matched:!1}:null}const Ypt=Object.create(null),q9=[Ai.none],Z9=[],X9=Object.create(null),Gpt=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invali
2450d"],["header","heading"],["property","propertyName"]])Gpt[e]=Kpt(Ypt,t);function _S(e,t){Z9.indexOf(e)>-1||(Z9.push(e),console.warn(t))}function Kpt(e,t){let n=[];for(let s of t.split(" ")){let l=[];for(let c of s.split(".")){let u=e[c]||W[c];u?typeof u=="function"?l.length?l=l.map(u):_S(c,`Modifier ${c} used at start of tag`):l.length?_S(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:_S(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),a=r+" "+n.map(s=>s.id),i=X9[a];if(i)return i.id;let o=X9[a]=Ai.define({id:q9.length,name:r,props:[Xd({[r]:n})]});return q9.push(o),o.id}Ar.RTL,Ar.LTR;class WX{constructor(t,n,r,a){this.state=t,this.pos=n,this.explicit=r,this.view=a,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let n=Fr(this.state).resolveInner(this.pos,-1);for(;n&&t.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(t){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),a=n.text.slice(r-n.from,this.pos-n.from),i=a.search(GX(t,!1));return i<0?null:{from:r+i,to:this.pos,text:a.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(t,n,r){t=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function W9(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function Jpt(e){let t=Object.create(null),n=Object.create(null);for(let{label:a}of e){t[a[0]]=!0;for(let i=1;i<a.length;i++)n[a[i]]=!0}let r=W9(t)+W9(n)+"*$";return[new RegExp("^"+r),new RegExp(r)]}function YX(e){let t=e.map(a=>typeof a=="string"?{label:a}:a),[n,r]=t.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:Jpt(t);return a=>{let i=a.matchBefore(r);return i||a.explicit?{from:i?i.from:a.pos,options:t,validFor:n}:null}}function emt(e,t){return n=>{for(let r=Fr(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(e.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return t(n)}}class Y9{constructor(t,n,r,a){this.completion=t,this.source=n,this.match=r,this.score=a}}function cd(e){return e.selection.main.from}function GX(e,t){var n;let{source:r}=e,a=t&&r[0]!="^",i=r[r.length-1]!="$";return!a&&!i?e:new RegExp(`${a?"^":""}(?:${r})${i?"$":""}`,(n=e.flags)!==null&&n!==void 0?n:e.ignoreCase?"i":"")}const uA=cc.define();function tmt(e,t,n,r){let{main:a}=e.selection,i=n-a.from,o=r-a.from;return{...e.changeByRange(s=>{if(s!=a&&n!=r&&e.sliceDoc(s.from+i,s.from+o)!=e.sliceDoc(n,r))return{range:s};let l=e.toText(t);return{changes:{from:s.from+i,to:r==a.from?s.to:s.from+o,insert:l},range:Fe.cursor(s.from+i+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const G9=new WeakMap;function nmt(e){if(!Array.isArray(e))return e;let t=G9.get(e);return t||G9.set(e,t=YX(e)),t}const ny=on.define(),b0=on.define();class rmt{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n<t.length;){let r=ao(t,n),a=Ml(r);this.chars.push(r);let i=t.slice(n,n+a),o=i.toUpperCase();this.folded.push(ao(o==i?i.toLowerCase():o,0)),n+=a}this.astral=t.length!=this.chars.length}ret(t,n){return this.score=t,this.matched=n,this}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:n,folded:r,any:a,precise:i,byWord:o}=this;if(n.length==1){let k=ao(t,0),S=Ml(k),A=S==t.length?0:-100;if(k!=n[0])if(k==r[0])A+=-200;else return null;return this.ret(A,[0,S])}let s=t.indexOf(this.pattern);if(s==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=n.length,c=0;if(s<0){for(let k=0,S=Math.min(t.length,200);k<S&&c<l;){let A=ao(t,k);(A==n[c]||A==r[c])&&(a[c++]=k),k+=Ml(A)}if(c<l)return null}let u=0,d=0,f=!1,h=0,p=-1,m=-1,g=/[a-z]/.test(t),v=!0;for(let k=0,S=Math.min(t.length,200),A=0;k<S&&d<l;){let E=ao(t,k);s<0&&(u<l&&E==n[u]&&(i[u++]=k),h<l&&(E==n[h]||E==r[h]?(h==0&&(p=k),m=k+1,h++):h=0));let _,C=E<255?E>=48&&E<=57||E>=97&&E<=122?2:E>=65&&E<=90?1:0:(_=hZ(E))!=_.toLowerCase()?1:_!=_.toUpperCase()?2:0;(!k||C==1&&g||A==0&&C!=0)&&(n[d]==E||r[d]==E&&(f=!0)?o[d++]=k:o.length&&(v=!1)),A=C,k+=Ml(E)}return d==l&&o[0]==0&&v?this.result(-100+(f?-200:0),o,t):h==l&&p==0?this.ret(-200-t.length+(m==t.length?0:-100),[0,m]):s>-1?this.ret(-700-t.length,[s,s+this.pattern.length]):h==l?this.ret(-900-t.length,[p,m]):d==l?this.result(-100+(f?-200:0)+-700+(v?0:-1100),o,t):n.length==2?null:this.result((a[0]?-700:0)+-200+-1100,a,t)}result(t,n,r){let a=[],i=0;for(let o of n){let s=o+(this.astral?Ml(ao(r,o)):1);i&&a[i-1]==o?a[i-1]=s:(a[i++]=o,a[i++]=s)}return this.ret(t-r.length,a)}}class amt{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let n=t.slice(0,this.pattern.length),r=n==this.pattern?0:n.toLowerCase()==this.folded?-200:null;return r==null?null:(this.matched=[0,n.length],this.score=r+(t.length==this.pattern.length?0:-100),this)}}const Aa=st.define({combine(e){return Zd(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:imt,filterStrict:!1,compareCompletions:(t,n)=>(t.sortText||t.label).localeCompare(n.sortText||n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,n)=>t&&n,closeOnBlur:(t,n)=>t&&n,icons:(t,n)=>t&&n,tooltipClass:(t,n)=>r=>K9(t(r),n(r)),optionClass:(t,n)=>r=>K9(t(r),n(r)),addToOptions:(t,n)=>t.concat(n),filterStrict:(t,n)=>t||n})}});function K9(e,t){return e?t?e+" "+t:e:t}function imt(e,t,n,r,a,i){let o=e.textDirection==Ar.RTL,s=o,l=!1,
vendor: 23,008 bytes, line 2450
2450c="top",u,d,f=t.left-a.left,h=a.right-t.right,p=r.right-r.left,m=r.bottom-r.top;if(s&&f<Math.min(p,h)?s=!1:!s&&h<Math.min(p,f)&&(s=!0),p<=(s?f:h))u=Math.max(a.top,Math.min(n.top,a.bottom-m))-t.top,d=Math.min(400,s?f:h);else{l=!0,d=Math.min(400,(o?t.right:a.right-t.left)-30);let k=a.bottom-t.bottom;k>=m||k>t.top?u=n.bottom-t.top:(c="bottom",u=t.bottom-n.top)}let g=(t.bottom-t.top)/i.offsetHeight,v=(t.right-t.left)/i.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${d/v}px`,class:"cm-completionInfo-"+(l?o?"left-narrow":"right-narrow":s?"left":"right")}}const dA=on.define();function omt(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),r.setAttribute("aria-hidden","true"),r},position:20}),t.push({render(n,r,a,i){let o=document.createElement("span");o.className="cm-completionLabel";let s=n.displayLabel||n.label,l=0;for(let c=0;c<i.length;){let u=i[c++],d=i[c++];u>l&&o.appendChild(document.createTextNode(s.slice(l,u)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(s.slice(u,d))),f.className="cm-completionMatchedText",l=d}return l<s.length&&o.appendChild(document.createTextNode(s.slice(l))),o},position:50},{render(n){if(!n.detail)return null;let r=document.createElement("span");return r.className="cm-completionDetail",r.textContent=n.detail,r},position:80}),t.sort((n,r)=>n.position-r.position).map(n=>n.render)}function CS(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let a=Math.floor(t/n);return{from:a*n,to:(a+1)*n}}let r=Math.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class smt{constructor(t,n,r){this.view=t,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=t.state.field(n),{options:i,selected:o}=a.open,s=t.state.facet(Aa);this.optionContent=omt(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=CS(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(n).open;for(let u=l.target,d;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(d=/-(\d+)$/.exec(u.id))&&+d[1]<c.length){this.applyCompletion(t,c[+d[1]]),l.preventDefault();return}if(l.target==this.list){let u=this.list.classList.contains("cm-completionListIncompleteTop")&&l.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&l.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;u!=null&&(t.dispatch({effects:dA.of(u)}),l.preventDefault())}}),this.dom.addEventListener("focusout",l=>{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(Aa).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:b0.of(null)})}),this.showOptions(i,a.id)}mount(){this.updateSel()}showOptions(t,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var n;let r=t.state.field(this.stateField),a=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),r!=a){let{options:i,selected:o,disabled:s}=r.open;(!a.open||a.open.options!=i)&&(this.range=CS(i.length,o,t.state.facet(Aa).maxRenderedOptions),this.showOptions(i,r.id)),this.updateSel(),s!=((n=a.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(t){let n=this.tooltipClass(t);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),n=t.open;(n.selected>-1&&n.selected<this.range.from||n.selected>=this.range.to)&&(this.range=CS(n.options.length,n.selected,this.view.state.facet(Aa).maxRenderedOptions),this.showOptions(n.options,t.id));let r=this.updateSelectedOption(n.selected);if(r){this.destroyInfo();let{completion:a}=n.options[n.selected],{info:i}=a;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(a);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(s,a)}).catch(s=>wi(this.view.state,s,"completion info")):(this.addInfoPane(o,a),r.setAttribute("aria-describedby",this.info.id))}}addInfoPane(t,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",r.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),t.nodeType!=null)r.appendChild(t),this.infoDestroy=null;else{let{dom:a,destroy:i}=t;r.appendChild(a),this.infoDestroy=i||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let n=null;for(let r=this.list.firstChild,a=this.range.from;r;r=r.nextSibling,a++)r.nodeName!="LI"||!r.id?a--:a==t?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&(r.removeAttribute("aria-selected"),r.removeAttribute("aria-describedby"));return n&&cmt(this.list,n),n}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),a=t.getBoundingClientRect(),i=this.space;if(!i){let o=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:o.clientWidth,bottom:o.clientHeight}}return a.top>Math.min(i.bottom,n.bottom)-10||a.bottom<Math.max(i.top,n.top)+10?null:this.view.state.facet(Aa).positionInfo(this.view,n,a,r,i,this.dom)}placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(t,n,r){const a=document.createElement("ul");a.id=n,a.setAttribute("role","listbox"),a.setAttribute("aria-expanded","true"),a.setAttribute("aria-label",this.view.state.phrase("Completions")),a.addEventListener("mousedown",o=>{o.target==a&&o.preventDefault()});let i=null;for(let o=r.from;o<r.to;o++){let{completion:s,match:l}=t[o],{section:c}=s;if(c){let f=typeof c=="string"?c:c.name;if(f!=i&&(o>r.from||r.from==0))if(i=f,typeof c!="string"&&c.header)a.appendChild(c.header(c));else{let h=a.appendChild(document.createElement("completion-section"));h.textContent=f}}const u=a.appendChild(document.createElement("li"));u.id=n+"-"+o,u.setAttribute("role","option");let d=this.optionClass(s);d&&(u.className=d);for(let f of this.optionContent){let h=f(s,this.view.state,this.view,l);h&&u.appendChild(h)}}return r.from&&a.classList.add("cm-completionListIncompleteTop"),r.to<t.length&&a.classList.add("cm-completionListIncompleteBottom"),a}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function lmt(e,t){return n=>new smt(n,e,t)}function cmt(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/a:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/a)}function J9(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function umt(e,t){let n=[],r=null,a=null,i=u=>{n.push(u);let{section:d}=u.completion;if(d){r||(r=[]);let f=typeof d=="string"?d:d.name;r.some(h=>h.name==f)||r.push(typeof d=="string"?{name:f}:d)}},o=t.facet(Aa);for(let u of e)if(u.hasResult()){let d=u.result.getMatch;if(u.result.filter===!1)for(let f of u.result.options)i(new Y9(f,u.source,d?d(f):[],1e9-n.length));else{let f=t.sliceDoc(u.from,u.to),h,p=o.filterStrict?new amt(f):new rmt(f);for(let m of u.result.options)if(h=p.match(m.label)){let g=m.displayLabel?d?d(m,h.matched):[]:h.matched,v=h.score+(m.boost||0);if(i(new Y9(m,u.source,g,v)),typeof m.section=="object"&&m.section.rank==="dynamic"){let{name:k}=m.section;a||(a=Object.create(null)),a[k]=Math.max(v,a[k]||-1e9)}}}}if(r){let u=Object.create(null),d=0,f=(h,p)=>(h.rank==="dynamic"&&p.rank==="dynamic"?a[p.name]-a[h.name]:0)||(typeof h.rank=="number"?h.rank:1e9)-(typeof p.rank=="number"?p.rank:1e9)||(h.name<p.name?-1:1);for(let h of r.sort(f))d-=1e5,u[h.name]=d;for(let h of n){let{section:p}=h.completion;p&&(h.score+=u[typeof p=="string"?p:p.name])}}let s=[],l=null,c=o.compareCompletions;for(let u of n.sort((d,f)=>f.score-d.score||c(d.completion,f.completion))){let d=u.completion;!l||l.label!=d.label||l.detail!=d.detail||l.type!=null&&d.type!=null&&l.type!=d.type||l.apply!=d.apply||l.boost!=d.boost?s.push(u):J9(u.completion)>J9(l)&&(s[s.length-1]=u),l=u.completion}return s}class Rf{constructor(t,n,r,a,i,o){this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=a,this.selected=i,this.disabled=o}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new Rf(this.options,eP(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,a,i,o){if(a&&!o&&t.some(c=>c.isPending))return a.setDisabled();let s=umt(t,n);if(!s.length)return a&&t.some(c=>c.isPending)?a.setDisabled():null;let l=n.facet(Aa).selectOnOpen?0:-1;if(a&&a.selected!=l&&a.selected!=-1){let c=a.options[a.selected].completion;for(let u=0;u<s.length;u++)if(s[u].completion==c){l=u;break}}return new Rf(s,eP(r,l),{pos:t.reduce((c,u)=>u.hasResult()?Math.min(c,u.from):c,1e8),create:gmt,above:i.aboveCursor},a?a.timestamp:Date.now(),l,!1)}map(t){return new Rf(this.options,this.attrs,{...this.tooltip,pos:t.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new Rf(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class ry{constructor(t,n,r){this.active=t,this.id=n,this.open=r}static start(){return new ry(pmt,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(Aa),i=(r.override||n.languageDataAt("autocomplete",cd(n)).map(nmt)).map(l=>(this.active.find(u=>u.source==l)||new Lo(l,this.active.some(u=>u.state!=0)?1:0)).update(t,r));i.length==this.active.length&&i.every((l,c)=>l==this.active[c])&&(i=this.active);let o=this.open,s=t.effects.some(l=>l.is(fA));o&&t.docChanged&&(o=o.map(t.changes)),t.selection||i.some(l=>l.hasResult()&&t.changes.touchesRange(l.from,l.to))||!dmt(i,this.active)||s?o=Rf.build(i,n,this.id,o,r,s):o&&o.disabled&&!i.some(l=>l.isPending)&&(o=null),!o&&i.every(l=>!l.isPending)&&i.some(l=>l.hasResult())&&(i=i.map(l=>l.hasResult()?new Lo(l.source,0):l));for(let l of t.effects)l.is(dA)&&(o=o&&o.setSelected(l.value,this.id));return i==this.active&&o==this.open?this:new ry(i,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?fmt:hmt}}function dmt(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let a=n==e.length,i=r==t.length;if(a||i)return a==i;if(e[n++].result!=t[r++].result)return!1}}const fmt={"aria-autocomplete":"list"},hmt={};function eP(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const pmt=[];function KX(e,t){if(e.isUserEvent("input.complete")){let r=e.annotation(uA);if(r&&t.activateOnCompletion(r))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class Lo{constructor(t,n,r=!1){this.source=t,this.state=n,this.explicit=r}hasResult(){return!1}get isPending(){return this.state==1}update(t,n){let r=KX(t,n),a=this;(r&8||r&16&&this.touches(t))&&(a=new Lo(a.source,0)),r&4&&a.state==0&&(a=new Lo(this.source,1)),a=a.updateFor(t,r);for(let i of t.effects)if(i.is(ny))a=new Lo(a.source,1,i.value);else if(i.is(b0))a=new Lo(a.source,0);else if(i.is(fA))for(let o of i.value)o.source==a.source&&(a=o);return a}updateFor(t,n){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(cd(t.state))}}class Xf extends Lo{constructor(t,n,r,a,i,o){super(t,3,n),this.limit=r,this.result=a,this.from=i,this.to=o}hasResult(){return!0}updateFor(t,n){var r;if(!(n&3))return this.map(t.changes);let a=this.result;a.map&&!t.changes.empty&&(a=a.map(a,t.changes));let i=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1),s=cd(t.state);if(s>o||!a||n&2&&(cd(t.startState)==this.from||s<this.limit))return new Lo(this.source,n&4?1:0);let l=t.changes.mapPos(this.limit);return mmt(a.validFor,t.state,i,o)?new Xf(this.source,this.explicit,l,a,i,o):a.update&&(a=a.update(a,i,o,new WX(t.state,s,!1)))?new Xf(this.source,this.explicit,l,a,a.from,(r=a.to)!==null&&r!==void 0?r:cd(t.state)):new Lo(this.source,1,this.explicit)}map(t){if(t.empty)return this;let n=this.result.map?this.result.map(this.result,t):this.result;return n?new Xf(this.source,this.explicit,t.mapPos(this.limit),n,t.mapPos(this.from),t.mapPos(this.to,1)):new Lo(this.source,0)}touches(t){return t.changes.touchesRange(this.from,this.to)}}function mmt(e,t,n,r){if(!e)return!1;let a=t.sliceDoc(n,r);return typeof e=="function"?e(a,n,r,t):GX(e,!0).test(a)}const fA=on.define({map(e,t){return e.map(n=>n.map(t))}}),Ni=Zi.define({create(){return ry.start()},update(e,t){return e.update(t)},provide:e=>[tA.from(e,t=>t.tooltip),ut.contentAttributes.from(e,t=>t.attrs)]});function hA(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(Ni).active.find(a=>a.source==t.source);return r instanceof Xf?(typeof n=="string"?e.dispatch({...tmt(e.state,n,r.from,r.to),annotations:uA.of(t.completion)}):n(e,t.completion,r.from,r.to),!0):!1}const gmt=lmt(Ni,hA);function qg(e,t="option"){return n=>{let r=n.state.field(Ni,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(Aa).interactionDelay)return!1;let a=1,i;t=="page"&&(i=wX(n,r.open.tooltip))&&(a=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:o}=r.open.options,s=r.open.selected>-1?r.open.selected+a*(e?1:-1):e?0:o-1;return s<0?s=t=="page"?0:o-1:s>=o&&(s=t=="page"?o-1:0),n.dispatch({effects:dA.of(s)}),!0}}const bmt=e=>{let t=e.state.field(Ni,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(Aa).interactionDelay?!1:hA(e,t.open.options[t.open.selected])},$S=e=>e.state.field(Ni,!1)?(e.dispatch({effects:ny.of(!0)}),!0):!1,ymt=e=>{let t=e.state.field(Ni,!1);return!t||!t.active.some(n=>n.state!=0)?!1:(e.dispatch({effects:b0.of(null)}),!0)};class vmt{constructor(t,n){this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Omt=50,Smt=1e3,wmt=ha.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(Ni).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(Ni),n=e.state.facet(Aa);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Ni)==t)return;let r=e.transactions.some(i=>{let o=KX(i,n);return o&8||(i.selection||i.docChanged)&&!(o&3)});for(let i=0;i<this.running.length;i++){let o=this.running[i];if(r||o.context.abortOnDocChange&&e.docChanged||o.updates.length+e.transactions.length>Omt&&Date.now()-o.time>Smt){for(let s of o.context.abortListeners)try{s()}catch(l){wi(this.view.state,l)}o.context.abortListeners=null,this.running.splice(i--,1)}else o.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(i=>i.effects.some(o=>o.is(ny)))&&(this.pendingStart=!0);let a=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(i=>i.isPending&&!this.running.some(o=>o.active.source==i.source))?setTimeout(()=>this.startUpdate(),a):-1,this.composing!=0)for(let i of e.transactions)i.isUserEvent("input.type")?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(Ni);for(let n of t.active)n.isPending&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Aa).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=cd(t),r=new WX(t,n,e.explicit,this.view),a=new vmt(e,r);this.running.push(a),Promise.resolve(e.source(r)).then(i=>{a.context.aborted||(a.done=i||null,this.scheduleAccept())},i=>{this.view.dispatch({effects:b0.of(null)}),wi(this.view.state,i)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Aa).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(Aa),r=this.view.state.field(Ni);for(let a=0;a<this.running.length;a++){let i=this.running[a];if(i.done===void 0)continue;if(this.running.splice(a--,1),i.done){let s=cd(i.updates.length?i.updates[0].startState:this.view.state),l=Math.min(s,i.done.from+(i.active.explicit?0:1)),c=new Xf(i.active.source,i.active.explicit,l,i.done,i.done.from,(e=i.done.to)!==null&&e!==void 0?e:s);for(let u of i.updates)c=c.update(u,n);if(c.hasResult()){t.push(c);continue}}let o=r.active.find(s=>s.source==i.active.source);if(o&&o.isPending)if(i.done==null){let s=new Lo(i.active.source,0);for(let l of i.updates)s=s.update(l,n);s.isPending||t.push(s)}else this.startQuery(o)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:fA.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Ni,!1);if(t&&t.tooltip&&this.view.state.facet(Aa).closeOnBlur){let n=t.open&&wX(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:b0.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:ny.of(!1)}),20),this.composing=0}}}),xmt=typeof navigator=="object"&&/Win/.test(navigator.platform),kmt=mp.highest(ut.domEventHandlers({keydown(e,t){let n=t.state.field(Ni,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(xmt&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],a=n.active.find(o=>o.source==r.source),i=r.completion.commitCharacters||a.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&hA(t,r),!1}})),JX=ut.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'Æ'"}},".cm-completionIcon-class":{"&:after":{content:"'â'"}},".cm-completionIcon-interface":{"&:after":{content:"'â'"}},".cm-completionIcon-variable":{"&:after":{content:"'ð¥'"}},".cm-completionIcon-constant":{"&:after":{content:"'ð¶'"}},".cm-completionIcon-type":{"&:after":{content:"'ð¡'"}},".cm-completionIcon-enum":{"&:after":{content:"'âª'"}},".cm-completionIcon-property":{"&:after":{content:"'â¡'"}},".cm-completionIcon-keyword":{"&:after":{content:"'ðï¸'"}},".cm-completionIcon-namespace":{"&:after":{content:"'â¢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Amt{constructor(t,n,r,a){this.field=t,this.line=n,this.from=r,this.to=a}}class pA{constructor(t,n,r){this.field=t,this.from=n,this.to=r}map(t){let n=t.mapPos(this.from,-1,La.TrackDel),r=t.mapPos(this.to,1,La.TrackDel);return n==null||r==null?null:new pA(this.field,n,r)}}class mA{constructor(t,n){this.lines=t,this.fieldPositions=n}instantiate(t,n){let r=[],a=[n],i=t.doc.lineAt(n),o=/^\s*/.exec(i.text)[0];for(let l of this.lines){if(r.length){let c=o,u=/^\t*/.exec(l)[0].length;for(let d=0;d<u;d++)c+=t.facet(yO);a.push(n+c.length-u),l=c+l.slice(u)}r.push(l),n+=l.length+1}let s=this.fieldPositions.map(l=>new pA(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:r,ranges:s}}static parse(t){let n=[],r=[],a=[],i;for(let o of t.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let s=i[1]?+i[1]:null,l=i[2]||i[3]||"",c=-1;s===0&&(s=1e9);let u=l.replace(/\\[{}]/g,d=>d[1]);for(let d=0;d<n.length;d++)(s!=null?n[d].seq==s:u&&n[d].name==u)&&(c=d);if(c<0){let d=0;for(;d<n.length&&(s==null||n[d].seq!=null&&n[d].seq<s);)d++;n.splice(d,0,{seq:s,name:u}),c=d;for(let f of a)f.field>=c&&f.field++}for(let d of a)if(d.line==r.length&&d.from>i.index){let f=i[2]?3+(i[1]||"").length:2;d.from-=f,d.to-=f}a.push(new Amt(c,r.length,i.index,i.index+u.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}o=o.replace(/\\([{}])/g,(s,l,c)=>{for(let u of a)u.line==r.length&&u.from>c&&(u.from--,u.to--);return l}),r.push(o)}return new mA(r,a)}}let Tmt=Ft.widget({widget:new class extends Go{toDOM(){let e=document.createElement("span");
vendor: 7,409 bytes, line 2450
2450return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),Emt=Ft.mark({class:"cm-snippetField"});class bp{constructor(t,n){this.ranges=t,this.active=n,this.deco=Ft.set(t.map(r=>(r.from==r.to?Tmt:Emt).range(r.from,r.to)),!0)}map(t){let n=[];for(let r of this.ranges){let a=r.map(t);if(!a)return null;n.push(a)}return new bp(n,this.active)}selectionInsideField(t){return t.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const x1=on.define({map(e,t){return e&&e.map(t)}}),_mt=on.define(),y0=Zi.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(x1))return n.value;if(n.is(_mt)&&e)return new bp(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>ut.decorations.from(e,t=>t?t.deco:Ft.none)});function gA(e,t){return Fe.create(e.filter(n=>n.field==t).map(n=>Fe.range(n.from,n.to)))}function Cmt(e){let t=mA.parse(e);return(n,r,a,i)=>{let{text:o,ranges:s}=t.instantiate(n.state,a),{main:l}=n.state.selection,c={changes:{from:a,to:i==l.from?l.to:i,insert:Pn.of(o)},scrollIntoView:!0,annotations:r?[uA.of(r),Yr.userEvent.of("input.complete")]:void 0};if(s.length&&(c.selection=gA(s,0)),s.some(u=>u.field>0)){let u=new bp(s,0),d=c.effects=[x1.of(u)];n.state.field(y0,!1)===void 0&&d.push(on.appendConfig.of([y0,Nmt,Mmt,JX]))}n.dispatch(n.state.update(c))}}function eW(e){return({state:t,dispatch:n})=>{let r=t.field(y0,!1);if(!r||e<0&&r.active==0)return!1;let a=r.active+e,i=e>0&&!r.ranges.some(o=>o.field==a+e);return n(t.update({selection:gA(r.ranges,a),effects:x1.of(i?null:new bp(r.ranges,a)),scrollIntoView:!0})),!0}}const $mt=({state:e,dispatch:t})=>e.field(y0,!1)?(t(e.update({effects:x1.of(null)})),!0):!1,Pmt=eW(1),Imt=eW(-1),Rmt=[{key:"Tab",run:Pmt,shift:Imt},{key:"Escape",run:$mt}],tP=st.define({combine(e){return e.length?e[0]:Rmt}}),Nmt=mp.highest(Xs.compute([tP],e=>e.facet(tP)));function $i(e,t){return{...t,apply:Cmt(e)}}const Mmt=ut.domEventHandlers({mousedown(e,t){let n=t.state.field(y0,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let a=n.ranges.find(i=>i.from<=r&&i.to>=r);return!a||a.field==n.active?!1:(t.dispatch({selection:gA(n.ranges,a.field),effects:x1.of(n.ranges.some(i=>i.field>a.field)?new bp(n.ranges,a.field):null),scrollIntoView:!0}),!0)}}),v0={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Ju=on.define({map(e,t){let n=t.mapPos(e,-1,La.TrackAfter);return n??void 0}}),bA=new class extends Xc{};bA.startSide=1;bA.endSide=-1;const tW=Zi.define({create(){return mn.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of t.effects)n.is(Ju)&&(e=e.update({add:[bA.range(n.value,n.value+1)]}));return e}});function Lmt(){return[Bmt,tW]}const PS="()[]{}<>«»»«[]ï½ï½";function nW(e){for(let t=0;t<PS.length;t+=2)if(PS.charCodeAt(t)==e)return PS.charAt(t+1);return hZ(e<128?e:e+1)}function rW(e,t){return e.languageDataAt("closeBrackets",t)[0]||v0}const Dmt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Bmt=ut.inputHandler.of((e,t,n,r)=>{if((Dmt?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let a=e.state.selection.main;if(r.length>2||r.length==2&&Ml(ao(r,0))==1||t!=a.from||n!=a.to)return!1;let i=Fmt(e.state,r);return i?(e.dispatch(i),!0):!1}),Umt=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=rW(e,e.selection.main.head).brackets||v0.brackets,a=null,i=e.changeByRange(o=>{if(o.empty){let s=Qmt(e.doc,o.head);for(let l of r)if(l==s&&OO(e.doc,o.head)==nW(ao(l,0)))return{changes:{from:o.head-l.length,to:o.head+l.length},range:Fe.cursor(o.head-l.length)}}return{range:a=o}});return a||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},jmt=[{key:"Backspace",run:Umt}];function Fmt(e,t){let n=rW(e,e.selection.main.head),r=n.brackets||v0.brackets;for(let a of r){let i=nW(ao(a,0));if(t==a)return i==a?Vmt(e,a,r.indexOf(a+a+a)>-1,n):zmt(e,a,i,n.before||v0.before);if(t==i&&aW(e,e.selection.main.from))return Hmt(e,a,i)}return null}function aW(e,t){let n=!1;return e.field(tW).between(0,e.doc.length,r=>{r==t&&(n=!0)}),n}function OO(e,t){let n=e.sliceString(t,t+2);return n.slice(0,Ml(ao(n,0)))}function Qmt(e,t){let n=e.sliceString(t-2,t);return Ml(ao(n,0))==n.length?n:n.slice(1)}function zmt(e,t,n,r){let a=null,i=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:Ju.of(o.to+t.length),range:Fe.range(o.anchor+t.length,o.head+t.length)};let s=OO(e.doc,o.head);return!s||/\s/.test(s)||r.indexOf(s)>-1?{changes:{insert:t+n,from:o.head},effects:Ju.of(o.head+t.length),range:Fe.cursor(o.head+t.length)}:{range:a=o}});return a?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function Hmt(e,t,n){let r=null,a=e.changeByRange(i=>i.empty&&OO(e.doc,i.head)==n?{changes:{from:i.head,to:i.head+n.length,insert:n},range:Fe.cursor(i.head+n.length)}:r={range:i});return r?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Vmt(e,t,n,r){let a=r.stringPrefixes||v0.stringPrefixes,i=null,o=e.changeByRange(s=>{if(!s.empty)return{changes:[{insert:t,from:s.from},{insert:t,from:s.to}],effects:Ju.of(s.to+t.length),range:Fe.range(s.anchor+t.length,s.head+t.length)};let l=s.head,c=OO(e.doc,l),u;if(c==t){if(nP(e,l))return{changes:{insert:t+t,from:l},effects:Ju.of(l+t.length),range:Fe.cursor(l+t.length)};if(aW(e,l)){let f=n&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+f.length,insert:f},range:Fe.cursor(l+f.length)}}}else{if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=rP(e,l-2*t.length,a))>-1&&nP(e,u))return{changes:{insert:t+t+t+t,from:l},effects:Ju.of(l+t.length),range:Fe.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=Ro.Word&&rP(e,l,a)>-1&&!qmt(e,l,t,a))return{changes:{insert:t+t,from:l},effects:Ju.of(l+t.length),range:Fe.cursor(l+t.length)}}return{range:i=s}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function nP(e,t){let n=Fr(e).resolveInner(t+1);return n.parent&&n.from==t}function qmt(e,t,n,r){let a=Fr(e).resolveInner(t,-1),i=r.reduce((o,s)=>Math.max(o,s.length),0);for(let o=0;o<5;o++){let s=e.sliceDoc(a.from,Math.min(a.to,a.from+n.length+i)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){let u=a.firstChild;for(;u&&u.from==a.from&&u.to-u.from>n.length+l;){if(e.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}let c=a.to==t&&a.parent;if(!c)break;a=c}return!1}function rP(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=Ro.Word)return t;for(let a of n){let i=t-a.length;if(e.sliceDoc(i,t)==a&&r(e.sliceDoc(i-1,i))!=Ro.Word)return i}return-1}function Zmt(e={}){return[kmt,Ni,Aa.of(e),wmt,Xmt,JX]}const iW=[{key:"Ctrl-Space",run:$S},{mac:"Alt-`",run:$S},{mac:"Alt-i",run:$S},{key:"Escape",run:ymt},{key:"ArrowDown",run:qg(!0)},{key:"ArrowUp",run:qg(!1)},{key:"PageDown",run:qg(!0,"page")},{key:"PageUp",run:qg(!1,"page")},{key:"Enter",run:bmt}],Xmt=mp.highest(Xs.computeN([Aa],e=>e.facet(Aa).defaultKeymap?[iW]:[])),Wx=cc.define(),Wmt=cc.define(),Ymt=st.define(),oW=st.define({combine(e){return Zd(e,{minDepth:100,newGroupDelay:500,joinToEvent:(t,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,n)=>(r,a)=>t(r,a)||n(r,a)})}}),sW=Zi.define({create(){return al.empty},update(e,t){let n=t.state.facet(oW),r=t.annotation(Wx);
2450if(r){let l=Bi.fromTransaction(t,r.selection),c=r.side,u=c==0?e.undone:e.done;return l?u=ay(u,u.length,n.minDepth,l):u=uW(u,t.startState.selection),new al(c==0?r.rest:u,c==0?u:r.rest)}let a=t.annotation(Wmt);if((a=="full"||a=="before")&&(e=e.isolate()),t.annotation(Yr.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let i=Bi.fromTransaction(t),o=t.annotation(Yr.time),s=t.annotation(Yr.userEvent);return i?e=e.addChanges(i,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(a=="full"||a=="after")&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(t=>t.toJSON()),undone:e.undone.map(t=>t.toJSON())}},fromJSON(e){return new al(e.done.map(Bi.fromJSON),e.undone.map(Bi.fromJSON))}});function Gmt(e={}){return[sW,oW.of(e),ut.domEventHandlers({beforeinput(t,n){let r=t.inputType=="historyUndo"?lW:t.inputType=="historyRedo"?Yx:null;return r?(t.preventDefault(),r(n)):!1}})]}function SO(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let a=n.field(sW,!1);if(!a)return!1;let i=a.pop(e,n,t);return i?(r(i),!0):!1}}const lW=SO(0,!1),Yx=SO(1,!1),Kmt=SO(0,!0),Jmt=SO(1,!0);class Bi{constructor(t,n,r,a,i){this.changes=t,this.effects=n,this.mapped=r,this.startSelection=a,this.selectionsAfter=i}setSelAfter(t){return new Bi(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,n,r;return{changes:(t=this.changes)===null||t===void 0?void 0:t.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(a=>a.toJSON())}}static fromJSON(t){return new Bi(t.changes&&ca.fromJSON(t.changes),[],t.mapped&&fl.fromJSON(t.mapped),t.startSelection&&Fe.fromJSON(t.startSelection),t.selectionsAfter.map(Fe.fromJSON))}static fromTransaction(t,n){let r=Do;for(let a of t.startState.facet(Ymt)){let i=a(t);i.length&&(r=r.concat(i))}return!r.length&&t.changes.empty?null:new Bi(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,Do)}static selection(t){return new Bi(void 0,Do,void 0,void 0,t)}}function ay(e,t,n,r){let a=t+1>n+20?t-n-1:0,i=e.slice(a,t);return i.push(r),i}function e0t(e,t){let n=[],r=!1;return e.iterChangedRanges((a,i)=>n.push(a,i)),t.iterChangedRanges((a,i,o,s)=>{for(let l=0;l<n.length;){let c=n[l++],u=n[l++];s>=c&&o<=u&&(r=!0)}}),r}function t0t(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((n,r)=>n.empty!=t.ranges[r].empty).length===0}function cW(e,t){return e.length?t.length?e.concat(t):e:t}const Do=[],n0t=200;function uW(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-n0t));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),ay(e,e.length-1,1e9,n.setSelAfter(r)))}else return[Bi.selection([t])]}function r0t(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function IS(e,t){if(!e.length)return e;let n=e.length,r=Do;for(;n;){let a=a0t(e[n-1],t,r);if(a.changes&&!a.changes.empty||a.effects.length){let i=e.slice(0,n);return i[n-1]=a,i}else t=a.mapped,n--,r=a.selectionsAfter}return r.length?[Bi.selection(r)]:Do}function a0t(e,t,n){let r=cW(e.selectionsAfter.length?e.selectionsAfter.map(s=>s.map(t)):Do,n);if(!e.changes)return Bi.selection(r);let a=e.changes.map(t),i=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(i):i;return new Bi(a,on.mapEffects(e.effects,t),o,e.startSelection.map(i),r)}const i0t=/^(input\.type|delete)($|\.)/;class al{constructor(t,n,r=0,a=void 0){this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=a}isolate(){return this.prevTime?new al(this.done,this.undone):this}addChanges(t,n,r,a,i){let o=this.done,s=o[o.length-1];return s&&s.changes&&!s.changes.empty&&t.changes&&(!r||i0t.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<a.newGroupDelay&&a.joinToEvent(i,e0t(s.changes,t.changes))||r=="input.type.compose")?o=ay(o,o.length-1,a.minDepth,new Bi(t.changes.compose(s.changes),cW(on.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,Do)):o=ay(o,o.length,a.minDepth,t),new al(o,Do,n,r)}addSelection(t,n,r,a){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:Do;return i.length>0&&n-this.prevTime<a&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&t0t(i[i.length-1],t)?this:new al(uW(this.done,t),this.undone,n,r)}addMapping(t){return new al(IS(this.done,t),IS(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,n,r){let a=t==0?this.done:this.undone;if(a.length==0)return null;let i=a[a.length-1],o=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):n.selection);if(r&&i.selectionsAfter.length)return n.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:Wx.of({side:t,rest:r0t(a),selection:o}),userEvent:t==0?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let s=a.length==1?Do:a.slice(0,a.length-1);
2450return i.mapped&&(s=IS(s,i.mapped)),n.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:Wx.of({side:t,rest:s,selection:o}),filter:!1,userEvent:t==0?"undo":"redo",scrollIntoView:!0})}else return null}}al.empty=new al(Do,Do);const o0t=[{key:"Mod-z",run:lW,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Yx,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Yx,preventDefault:!0},{key:"Mod-u",run:Kmt,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Jmt,preventDefault:!0}],s0t=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function dW(e,t){let n=-1;return e.changeByRange(r=>{let a=[];for(let o=r.from;o<=r.to;){let s=e.doc.lineAt(o);s.number>n&&(r.empty||r.to>s.from)&&(t(s,a,r),n=s.number),o=s.to+1}let i=e.changes(a);return{changes:a,range:Fe.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}const l0t=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(dW(e,(n,r)=>{r.push({from:n.from,insert:e.facet(yO)})}),{userEvent:"input.indent"})),!0),c0t=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(dW(e,(n,r)=>{let a=/^\s*/.exec(n.text)[0];if(!a)return;let i=Qk(a,e.tabSize),o=0,s=LX(e,Math.max(0,i-MX(e)));for(;o<a.length&&o<s.length&&a.charCodeAt(o)==s.charCodeAt(o);)o++;r.push({from:n.from+o,to:n.from+a.length,insert:s.slice(o)})}),{userEvent:"delete.dedent"})),!0),u0t={key:"Tab",run:l0t,shift:c0t};var aP={};class iy{constructor(t,n,r,a,i,o,s,l,c,u=0,d){this.p=t,this.stack=n,this.state=r,this.reducePos=a,this.pos=i,this.score=o,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=d}
vendor: 6,975 bytes, line 2450
2450toString(){return`[${this.stack.filter((t,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let a=t.parser.context;return new iy(t,[],n,r,r,0,[],0,a?new iP(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,a=t&65535,{parser:i}=this.p,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),s=i.dynamicPrecedence(a);if(s&&(this.score+=s),r==0){a<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,a,!0),this.reducePos),a<i.minRepeatTerm&&this.storeNode(a,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(a,this.reducePos);return}let l=this.stack.length-(r-1)*3-(t&262144?6:0),c=l?this.stack[l-2]:this.p.ranges[0].from;a<i.minRepeatTerm&&c==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let u=this.reducePos-c;u>=2e3&&!(!((n=this.p.parser.nodeSet.types[a])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=c,this.p.lastBigReductionSize=u));let d=l?this.stack[l-1]:0,f=this.bufferBase+this.buffer.length-d;if(a<i.minRepeatTerm||t&131072){let h=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(a,c,h,f+4,!0)}if(t&262144)this.state=this.stack[l];else{let h=this.stack[l-3];this.state=i.getGoto(h,a,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(a,c)}storeNode(t,n,r,a=4,i=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let o=this.buffer.length;if(o>0&&this.buffer[o-4]==0&&this.buffer[o-1]>-1){if(n==r)return;if(this.buffer[o-2]>=n){this.buffer[o-2]=r;return}}}if(!i||this.pos==r)this.buffer.push(t,n,r,a);else{let o=this.buffer.length;if(o>0&&(this.buffer[o-4]!=0||this.buffer[o-1]<0)){let s=!1;for(let l=o;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){s=!0;break}if(s)for(;o>0&&this.buffer[o-2]>r;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,a>4&&(a-=4)}this.buffer[o]=t,this.buffer[o+1]=n,this.buffer[o+2]=r,this.buffer[o+3]=a}}shift(t,n,r,a){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=a,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,a,4);else{let i=t,{parser:o}=this.p;this.pos=a;let s=o.stateFlag(i,1);!s&&(a>r||n<=o.maxNode)&&(this.reducePos=a),this.pushState(i,s?r:Math.min(r,this.reducePos)),this.shiftContext(n,r),n<=o.maxNode&&this.buffer.push(n,r,a,4)}}apply(t,n,r,a){t&65536?this.reduce(t):this.shift(t,n,r,a)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let a=this.pos;this.reducePos=this.pos=a+t.length,this.pushState(n,a),this.buffer.push(r,a,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),a=t.bufferBase+n;for(;t&&a==t.bufferBase;)t=t.parent;return new iy(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,a,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new d0t(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let a=[];for(let i=0,o;i<n.length;i+=2)(o=n[i+1])!=this.state&&this.p.parser.hasAction(o,t)&&a.push(n[i],o);if(this.stack.length<120)for(let i=0;a.length<8&&i<n.length;i+=2){let o=n[i+1];a.some((s,l)=>l&1&&s==o)||a.push(n[i],o)}n=a}let r=[];for(let a=0;a<n.length&&r.length<4;a+=2){let i=n[a+1];if(i==this.state)continue;let o=this.split();o.pushState(i,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(n[a],this.pos),o.reducePos=this.pos,o.score-=200,r.push(o)}return r}forceReduce(){let{parser:t}=this.p,n=t.stateSlot(this.state,5);if(!(n&65536))return!1;if(!t.validAction(this.state,n)){let r=n>>19,a=n&65535,i=this.stack.length-r*3;if(i<0||t.getGoto(this.stack[i],a,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;n=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(a,i)=>{if(!n.includes(a))return n.push(a),t.allActions(a,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-i;if(s>1){let l=o&65535,c=this.stack.length-s*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=r(o,i+1);if(s!=null)return s}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;n<this.stack.length;n+=3)if(this.stack[n]!=t.stack[n])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(n)))}reduceContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(n)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let n=new iP(this.curContext.tracker,t);n.hash!=this.curContext.hash&&this.emitContext(),this.curContext=n}}setLookAhead(t){return t<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=t,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class iP{constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class d0t{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0
vendor: 11,218 bytes, line 2450
2450),this.base+=3):this.base-=(r-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=a}}class oy{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new oy(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new oy(this.stack,this.pos,this.index)}}function lm(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,a=0;r<e.length;){let i=0;for(;;){let o=e.charCodeAt(r++),s=!1;if(o==126){i=65535;break}o>=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,s=!0),i+=l,s)break;i*=46}n?n[a++]=i:n=new t(i)}return n}class E2{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const oP=new E2;class f0t{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=oP,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,a=this.rangeIndex,i=this.pos+t;for(;i<r.from;){if(!a)return null;let o=this.ranges[--a];i-=r.from-o.to,r=o}for(;n<0?i>r.to:i>=r.to;){if(a==this.ranges.length-1)return null;let o=this.ranges[++a];i+=o.from-r.to,r=o}return i}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let n of this.ranges)if(n.to>t)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,a;if(n>=0&&n<this.chunk.length)r=this.pos+t,a=this.chunk.charCodeAt(n);else{let i=this.resolveOffset(t,1);if(i==null)return-1;if(r=i,r>=this.chunk2Pos&&r<this.chunk2Pos+this.chunk2.length)a=this.chunk2.charCodeAt(r-this.chunk2Pos);else{let o=this.rangeIndex,s=this.range;for(;s.to<=r;)s=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=r),r+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-r)),a=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),a}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=r}acceptTokenTo(t,n){this.token.value=t,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:n}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=n,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),n=this.pos+t.length;this.chunk=n>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=oP,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,n){if(t>=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let a of this.ranges){if(a.from>=n)break;a.to>t&&(r+=this.input.read(Math.max(a.from,t),Math.min(a.to,n)))}return r}}class Wf{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;fW(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}Wf.prototype.contextual=Wf.prototype.fallback=Wf.prototype.extend=!1;class sy{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?lm(t):t}token(t,n){let r=t.pos,a=0;for(;;){let i=t.next<0,o=t.resolveOffset(1,1);if(fW(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(i||a++,o==null)break;t.reset(o,t.token)}a&&(t.reset(r,t.token),t.acceptToken(this.elseToken,a))}}sy.prototype.contextual=Wf.prototype.fallback=Wf.prototype.extend=!1;class ma{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function fW(e,t,n,r,a,i){let o=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;s&e[o];){let c=e[o+1];for(let h=o+3;h<c;h+=2)if((e[h+1]&s)>0){let p=e[h];if(l.allows(p)&&(t.token.value==-1||t.token.value==p||h0t(p,t.token.value,a,i))){t.acceptToken(p);break}}let u=t.next,d=0,f=e[o+2];if(t.next<0&&f>d&&e[c+f*3-3]==65535){o=e[c+f*3-1];continue e}for(;d<f;){let h=d+f>>1,p=c+h+(h<<1),m=e[p],g=e[p+1]||65536;if(u<m)f=h;else if(u>=g)d=h+1;else{o=e[p+2],t.advance();continue e}}break}}function sP(e,t,n){for(let r=t,a;(a=e[r])!=65535;r++)if(a==n)return r-t;return-1}function h0t(e,t,n,r){let a=sP(n,r,t);return a<0||sP(n,r,e)<a}const Wi=typeof process<"u"&&aP&&/\bparse\b/.test(aP.LOG);let RS=null;function lP(e,t,n){let r=e.cursor(Ln.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class p0t{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?lP(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?lP(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let n=this.trees.length-1;if(n<0)return this.nextFragment(),null;let r=this.trees[n],a=this.index[n];if(a==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=r.children[a],o=this.start[n]+r.positions[a];if(o>t)return this.nextStart=o,null;if(i instanceof pr){if(o==t){if(o<this.safeFrom)return null;let s=o+i.length;if(s<=this.safeTo){let l=i.prop(hn.lookAhead);if(!l||s+l<this.fragment.to)return i}}this.index[n]++,o+i.length>=Math.max(this.safeFrom,t)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[n]++,this.nextStart=o+i.length}}}class m0t{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new E2)}getActions(t){let n=0,r=null,{parser:a}=t.p,{tokenizers:i}=a,o=a.stateSlot(t.state,3),s=t.curContext?t.curContext.hash:0,l=0;for(let c=0;c<i.length;c++){if(!(1<<c&o))continue;let u=i[c],d=this.tokens[c];if(!(r&&!u.fallback)&&((u.contextual||d.start!=t.pos||d.mask!=o||d.context!=s)&&(this.updateCachedToken(d,u,t),d.mask=o,d.context=s),d.lookAhead>d.end+25&&(l=Math.max(d.lookAhead,l)),d.value!=0)){let f=n;if(d.extended>-1&&(n=this.addActions(t,d.extended,d.end,n)),n=this.addActions(t,d.value,d.end,n),!u.extend&&(r=d,n>f))break}}for(;this.actions.length>n;)this.actions.pop();return l&&t.setLookAhead(l),!r&&t.pos==this.stream.end&&(r=new E2,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new E2,{pos:r,p:a}=t;return n.start=r,n.end=Math.min(r+1,a.stream.end),n.value=r==a.stream.end?a.parser.eofTerm:0,n}updateCachedToken(t,n,r){let a=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(a,t),r),t.value>-1){let{parser:i}=r.p;for(let o=0;o<i.specialized.length;o++)if(i.specialized[o]==t.value){let s=i.specializers[o](this.stream.read(t.start,t.end),r);if(s>=0&&r.p.parser.dialect.allows(s>>1)){s&1?t.extended=s>>1:t.value=s>>1;break}}}else t.value=0,t.end=this.stream.clipPos(a+1)}putAction(t,n,r,a){for(let i=0;i<a;i+=3)if(this.actions[i]==t)return a;return this.actions[a++]=t,this.actions[a++]=n,this.actions[a++]=r,a}addActions(t,n,r,a){let{state:i}=t,{parser:o}=t.p,{data:s}=o;for(let l=0;l<2;l++)for(let c=o.stateSlot(i,l?2:1);;c+=3){if(s[c]==65535)if(s[c+1]==1)c=Rl(s,c+2);else{a==0&&s[c+1]==2&&(a=this.putAction(Rl(s,c+2),n,r,a));break}s[c]==n&&(a=this.putAction(Rl(s,c+1),n,r,a))}return a}}class g0t{constructor(t,n,r,a){this.parser=t,this.input=n,this.ranges=a,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new f0t(n,a),this.tokens=new m0t(t,this.stream),this.topTerm=t.top[1];let{from:i}=a[0];this.stacks=[iy.start(this,t.top[0],i)],this.fragments=r.length&&this.stream.end-i>t.bufferLength*4?new p0t(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],a,i;if(this.bigReductionCount>300&&t.length==1){let[o]=t;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let s=t[o];for(;;){if(this.tokens.mainToken=null,s.pos>n)r.push(s);else{if(this.advanceStack(s,r,t))continue;{a||(a=[],i=[]),a.push(s);let l=this.tokens.getMainToken(s);i.push(l.value,l.end)}}break}}if(!r.length){let o=a&&y0t(a);if(o)return Wi&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw Wi&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&a){let o=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,i,r);if(o)return Wi&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(r.length>o)for(r.sort((s,l)=>l.score-s.score);r.length>o;)r.pop();r.some(s=>s.reducePos>n)&&this.recovering--}
vendor: 5,419 bytes, line 2450
2450else if(r.length>1){e:for(let o=0;o<r.length-1;o++){let s=r[o];for(let l=o+1;l<r.length;l++){let c=r[l];if(s.sameState(c)||s.buffer.length>500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(o--,1);continue e}}}r.length>12&&(r.sort((o,s)=>s.score-o.score),r.splice(12,r.length-12))}this.minStackPos=r[0].pos;for(let o=1;o<r.length;o++)r[o].pos<this.minStackPos&&(this.minStackPos=r[o].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,n,r){let a=t.pos,{parser:i}=this,o=Wi?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,u=c?t.curContext.hash:0;for(let d=this.fragments.nodeAt(a);d;){let f=this.parser.nodeSet.types[d.type.id]==d.type?i.getGoto(t.state,d.type.id):-1;if(f>-1&&d.length&&(!c||(d.prop(hn.contextHash)||0)==u))return t.useNode(d,f),Wi&&console.log(o+this.stackID(t)+` (via reuse of ${i.getName(d.type.id)})`),!0;if(!(d instanceof pr)||d.children.length==0||d.positions[0]>0)break;let h=d.children[0];if(h instanceof pr&&d.positions[0]==0)d=h;else break}}let s=i.stateSlot(t.state,4);if(s>0)return t.reduce(s),Wi&&console.log(o+this.stackID(t)+` (via always-reduce ${i.getName(s&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;c<l.length;){let u=l[c++],d=l[c++],f=l[c++],h=c==l.length||!r,p=h?t:t.split(),m=this.tokens.mainToken;if(p.apply(u,d,m?m.start:p.pos,f),Wi&&console.log(o+this.stackID(p)+` (via ${u&65536?`reduce of ${i.getName(u&65535)}`:"shift"} for ${i.getName(d)} @ ${a}${p==t?"":", split"})`),h)return!0;p.pos>a?n.push(p):r.push(p)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return cP(t,n),!0}}runRecovery(t,n,r){let a=null,i=!1;for(let o=0;o<t.length;o++){let s=t[o],l=n[o<<1],c=n[(o<<1)+1],u=Wi?this.stackID(s)+" -> ":"";if(s.deadEnd&&(i||(i=!0,s.restart(),Wi&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,r))))continue;let d=s.split(),f=u;for(let h=0;h<10&&d.forceReduce()&&(Wi&&console.log(f+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,r));h++)Wi&&(f=this.stackID(d)+" -> ");for(let h of s.recoverByInsert(l))Wi&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,r);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),Wi&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),cP(s,r)):(!a||a.score<d.score)&&(a=d)}return a}stackToTree(t){return t.close(),pr.build({buffer:oy.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let n=(RS||(RS=new WeakMap)).get(t);return n||RS.set(t,n=String.fromCodePoint(this.nextStackID++)),n+t}}function cP(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class b0t{constructor(t,n,r){this.source=t,this.flags=n,this.disabled=r}allows(t){return!this.disabled||this.disabled[t]==0}}const NS=e=>e;class wO{constructor(t){this.start=t.start,this.shift=t.shift||NS,this.reduce=t.reduce||NS,this.reuse=t.reuse||NS,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class tc extends $X{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let s=0;s<t.repeatNodeCount;s++)n.push("");let r=Object.keys(t.topRules).map(s=>t.topRules[s][1]),a=[];for(let s=0;s<n.length;s++)a.push([]);function i(s,l,c){a[s].push([l,l.deserialize(String(c))])}if(t.nodeProps)for(let s of t.nodeProps){let l=s[0];typeof l=="string"&&(l=hn[l]);for(let c=1;c<s.length;){let u=s[c++];if(u>=0)i(u,l,s[c++]);else{let d=s[c+-u];for(let f=-u;f>0;f--)i(s[c++],l,d);c++}}}this.nodeSet=new nA(n.map((s,l)=>Ai.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:a[l],top:r.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=AX;let o=lm(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(uP),this.states=lm(t.states,Uint32Array),this.data=lm(t.stateData),this.goto=lm(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(s=>typeof s=="number"?new Wf(o,s):s),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let a=new g0t(this,t,n,r);for(let i of this.wrappers)a=i(a,t,n,r);return a}getGoto(t,n,r=!1){let a=this.goto;if(n>=a[0])return-1;for(let i=a[n+1];;){let o=a[i++],s=o&1,l=a[i++];if(s&&r)return l;for(let c=i+(o>>1);i<c;
2450i++)if(a[i]==t)return l;if(s)return-1}}hasAction(t,n){let r=this.data;for(let a=0;a<2;a++)for(let i=this.stateSlot(t,a?2:1),o;;i+=3){if((o=r[i])==65535)if(r[i+1]==1)o=r[i=Rl(r,i+2)];else{if(r[i+1]==2)return Rl(r,i+2);break}if(o==n||o==0)return Rl(r,i+1)}return 0}stateSlot(t,n){return this.states[t*6+n]}stateFlag(t,n){return(this.stateSlot(t,0)&n)>0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),a=r?n(r):void 0;for(let i=this.stateSlot(t,1);a==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Rl(this.data,i+2);else break;a=n(Rl(this.data,i+1))}return a}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Rl(this.data,r+2);else break;if(!(this.data[r+2]&1)){let a=this.data[r+1];n.some((i,o)=>o&1&&i==a)||n.push(this.data[r],a)}}return n}configure(t){let n=Object.assign(Object.create(tc.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let a=t.tokenizers.find(i=>i.from==r);return a?a.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,a)=>{let i=t.specializers.find(s=>s.from==r.external);if(!i)return r;let o=Object.assign(Object.assign({},r),{external:i.to});return n.specializers[a]=uP(o),o})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let i of t.split(" ")){let o=n.indexOf(i);o>=0&&(r[o]=!0)}let a=null;for(let i=0;i<n.length;i++)if(!r[i])for(let o=this.dialects[n[i]],s;(s=this.data[o++])!=65535;)(a||(a=new Uint8Array(this.maxTerm+1)))[s]=1;return new b0t(t,r,a)}static deserialize(t){return new tc(t)}}function Rl(e,t){return e[t]|e[t+1]<<16}function y0t(e){let t=null;for(let n of e){let r=n.p.stoppedAt;(n.pos==n.p.stream.end||r!=null&&n.pos>r)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function uP(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}const v0t=148,dP=1,O0t=149,S0t=150,hW=2,w0t=151,x0t=3,k0t=4,pW=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],A0t=58,T0t=40,mW=95,E0t=91,_2=45,_0t=46,C0t=35,$0t=37,P0t=38,I0t=92,R0t=10,N0t=42;function O0(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function yA(e){return e>=48&&e<=57}function fP(e){return yA(e)||e>=97&&e<=102||e>=65&&e<=70}const gW=(e,t,n)=>(r,a)=>{for(let i=!1,o=0,s=0;;s++){let{next:l}=r;if(O0(l)||l==_2||l==mW||i&&yA(l))!i&&(l!=_2||s>0)&&(i=!0),o===s&&l==_2&&o++,r.advance();else if(l==I0t&&r.peek(1)!=R0t){if(r.advance(),fP(r.next)){do r.advance();while(fP(r.next));r.next==32&&r.advance()}else r.next>-1&&r.advance();i=!0}else{i&&r.acceptToken(o==2&&a.canShift(hW)?t:l==T0t?n:e);break}}},M0t=new ma(gW(O0t,hW,S0t),{contextual:!0}),L0t=new ma(gW(w0t,x0t,k0t),{contextual:!0}),D0t=new ma(e=>{if(pW.includes(e.peek(-1))){let{next:t}=e;(O0(t)||t==mW||t==C0t||t==_0t||t==N0t||t==E0t||t==A0t&&O0(e.peek(1))||t==_2||t==P0t)&&e.acceptToken(v0t)}}),B0t=new ma(e=>{if(!pW.includes(e.peek(-1))){let{next:t}=e;if(t==$0t&&(e.advance(),e.acceptToken(dP)),O0(t)){do e.advance();while(O0(e.next)||yA(e.next));e.acceptToken(dP)}}}),U0t=Xd({"AtKeyword import charset namespace keyframes media supports font-feature-values":W.definitionKeyword,"from to selector scope MatchFlag":W.keyword,NamespaceName:W.namespace,KeyframeName:W.labelName,KeyframeRangeName:W.operatorKeyword,TagName:W.tagName,ClassName:W.className,PseudoClassName:W.constant(W.className),IdName:W.labelName,"FeatureName PropertyName":W.propertyName,AttributeName:W.attributeName,NumberLiteral:W.number,KeywordQuery:W.keyword,UnaryQueryOp:W.operatorKeyword,"CallTag ValueName FontName":W.atom,VariableName:W.variableName,Callee:W.operatorKeyword,Unit:W.unit,"UniversalSelector NestingSelector":W.definitionOperator,"MatchOp CompareOp":W.compareOperator,"ChildOp SiblingOp, LogicOp":W.logicOperator,BinOp:W.arithmeticOperator,Important:W.modifier,Comment:W.blockComment,ColorLiteral
vendor: 4,732 bytes, line 2450
2450:W.color,"ParenthesizedContent StringLiteral":W.string,":":W.punctuation,"PseudoOp #":W.derefOperator,"; , |":W.separator,"( )":W.paren,"[ ]":W.squareBracket,"{ }":W.brace}),j0t={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:158,"url-prefix":158,domain:158,regexp:158},F0t={__proto__:null,or:104,and:104,not:112,only:112,layer:212},Q0t={__proto__:null,selector:118,style:124,layer:208},z0t={__proto__:null,"@import":204,"@media":216,"@charset":220,"@namespace":224,"@keyframes":230,"@supports":242,"@scope":246,"@font-feature-values":252},H0t={__proto__:null,to:249},V0t=tc.deserialize({version:14,states:"MrQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FqO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#ERO'dQdO'#ETO'oQdO'#E[O'oQdO'#E_OOQP'#Fq'#FqO)RQhO'#FQOOQS'#Fp'#FpOOQS'#FT'#FTQYQdOOO)YQdO'#EeO*iQhO'#EkO)YQdO'#EmO*pQdO'#EoO*{QdO'#ErO)}QhO'#ExO+TQdO'#EzO+`QdO'#E}O+eQaO'#CfO+lQ`O'#EbO+qQ`O'#F}O+|QdO'#F}QOQ`OOP,WO&jO'#CaPOOO)CA`)CA`OOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,cQdO,59YO'_QdO,5:mO'dQdO,5:oO'oQdO,5:vO'oQdO,5:xO'oQdO,5:yO'oQdO'#F[O,nQ`O,58}O,vQdO'#EaOOQS,58},58}OOQP'#Cq'#CqOOQO'#EP'#EPOOQP,59Y,59YO,}Q`O,59YO-SQ`O,59YOOQP'#ES'#ESOOQP,5:m,5:mO-XQpO'#EUO-dQdO'#EVO-iQ`O'#EVO-nQpO,5:oO.XQaO,5:vO.oQaO,5:yOOQW'#D^'#D^O/nQhO'#DgO0RQhO,5;lO)}QhO'#DeO0`Q`O'#DnO0eQhO'#D{OOQW'#Fw'#FwOOQS,5;l,5;lO0jQ`O'#DhO0oQ`O'#DkOOQS-E9R-E9ROOQ['#Cv'#CvO0tQdO'#CwO1[QdO'#C}O1rQdO'#DQO2YQ!pO'#DSO4fQ!jO,5;POOQO'#DX'#DXO-SQ`O'#DWO4vQ!nO'#FtO6|Q`O'#DYO7RQ`O'#D|OOQ['#Ft'#FtO7WQhO'#GQO7fQ`O,5;VO7kQ!bO,5;XOOQS'#Eq'#EqO7sQ`O,5;ZO7xQdO,5;ZOOQO'#Et'#EtO8QQ`O,5;^O8VQhO,5;dO'oQdO'#DjOOQS,5;f,5;fO0jQ`O,5;fO8_QdO,5;fOOQS'#Fc'#FcO8gQdO'#FPO7fQ`O,5;iO8oQdO,5:|O9PQdO'#F^O9^Q`O,5<iO9^Q`O,5<iPOOO'#FS'#FSP9iO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,}Q`O1G.tO-SQ`O1G.tOOQP1G0X1G0XO9tQpO1G0ZO9|QaO1G0bO:dQaO1G0dO:zQaO1G0eO;bQaO,5;vOOQO-E9Y-E9YOOQS1G.i1G.iO;lQ`O,5:{O;qQdO'#EQO;xQdO'#CuOOQO'#EX'#EXOOQO,5:q,5:qO-dQdO,5:qOOQP1G0Z1G0ZO)YQdO1G0ZO<PQ!jO'#D^O<_Q!bO,59yO<gQhO,5:ROOQO'#Fx'#FxO<bQ!bO,59}O<oQhO'#FdO)}QhO,59{O)}QhO'#FdO=gQhO1G1WOOQS1G1W1G1WO=qQhO,5:PO>lQhO'#DoOOQW,5:Y,5:YOOQW,5:g,5:gOOQW,5:S,5:SO>vQhO,5:VO?bQ!fO'#FuOOQS'#Fu'#FuOOQS'#FV'#FVO@rQdO,59cOOQ[,59c,59cOAYQdO,59iOOQ[,59i,59iOApQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)YQdO,59pOBWQhO'#EgOOQW'#Eg'#EgOBuQ`O1G0kO4oQhO1G0kOOQ[,59r,59rO)}QhO'#D[OOQ[,59t,59tOBzQ#tO,5:hOCVQhO'#F`OCdQ`O,5<lOOQS1G0q1G0qOOQS1G0s1G0sOOQS1G0u1G0uOCoQ`O1G0uOCtQdO'#EuOOQS1G0x1G0xOOQS1G1O1G1OODPQaO,5:UO7fQ`O1G1QOOQS1G1Q1G1QO0jQ`O1G1QOOQS-E9a-E9aOOQS1G1T1G1TODWQ!fO1G0hODnQ`O'#EdOOQO1G0h1G0hOOQO,5;x,5;xODsQdO,5;xOOQO-E9[-E9[OEQQ`O1G2TPOOO-E9Q-E9QPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%u7+%uO)YQdO7+%uOOQS1G0g1G0gOE]QaO'#F|OEgQ`O,5:lOElQ!fO'#FUOFjQdO'#FsOFtQ`O,59aOOQO1G0]1G0]OFyQ!bO7+%uO)YQdO1G/eOGUQhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOGgQhO,5<OOOQW-E9b-E9bOOQS7+&r7+&rOH_QhO'#D^OHmQhO'#F{OHxQ`O'#F{OH}Q`O,5:ZOISQ!bO'#D`O>vQhO'#DmOI_QhO'#DsOIgQhO'#DuOIlQ!jO'#FzOOQO'#Fz'#FzOIwQ`O'#DxOJPQ!bO'#DzOOQO'#Fy'#FyOJUQ`O1G/qOOQS-E9T-E9TOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OJZQdO,5;ROOQS7+&V7+&VOJ`Q`O7+&VOJeQhO'#D]OJmQ`O,59vO)}QhO,59vOOQ[1G0S1G0SOJuQ`O1G0SOJzQhO,5;zOOQO-E9^-E9^OOQS7+&a7+&aOKYQbO'#DSOOQO'#Ew'#EwOKhQ`O'#EvOOQO'#Ev'#EvOKsQ`O'#FaOK{QdO,5;aOOQS,5;a,5;aOOQ[1G/p1G/pOOQS7+&l7+&lO7fQ`O7+&lOLWQ!fO'#F]O)YQdO'#F]OM_QdO7+&SOOQO7+&S7+&SOOQO,5;O,5;OOOQO1G1d1G1dOMrQ!bO<<IaOM}QdO'#FZONXQ`O,5<hOOQP1G0W1G0WOOQS-E9S-E9SONaQdO'#FYONkQ`O,5<_OOQ]1G.{1G.{OOQP<<Ia<<IaONsQ`O<<IaONxQdO7+%POOQO'#D`'#D`O! PQ!bO7+%TO! XQhO'#FXO! fQ`O,5<gO)YQdO,5<gOOQW1G/u1G/uO! nQ`O,5:XO>vQhO'#DtOOQO,5:_,5:_O! sQhO,5:aO! {QhO,5:fO)YQdO,5:dOOQW7+%]7+%]OOQO'#Ei'#EiO!!SQ`O1G0mOOQS<<Iq<<IqO)YQdO,59wO!!vQhO1G/bOOQ[1G/b1G/bO!!}Q`O1G/bOOQW-E9U-E9UOOQ[7+%n7+%nOOQO,5;b,5;bOCwQdO'#FbOKsQ`O,5;{OOQS,5;{,5;{OOQS-E9_-E9_OOQS1G0{1G0{OOQS<<JW<<JWO!#VQ!fO,5;wOOQS-E9Z-E9ZOOQO<<In<<InOOQPAN>{AN>{O!$^Q`OAN>{O!$cQaO,5;uOOQO-E9X-E9XO!$mQdO,5;tOOQO-E9W-E9WOOQW<<Hk<<HkOOQW<<Ho<<HoO!$wQhO<<HoO!%YQhO'#D^O!%hQhO,5;sO!%sQ`O,5;sOOQO-E9V-E9VO!%xQdO1G2RO!&SQhO1G/sO!&[Q`O,5:`O>vQhO'#DwOOQO1G/{1G/{O!&aQ!bO1G0QO!&iQdO1G0OOJZQdO'#F_O!&pQ`O7+&XOOQW7+&X7+&XO!&xQ!bO1G/cOOQ[7+$|7+$|O!'TQhO7+$|P!'[Q`O'#FWOOQO,5;|,5;|OOQO-E9`-E9`OOQS1G1g1G1gOOQPG24gG24gO!'aQ`OAN>ZO)YQdO1G1_O!'fQ`O7+'mOOQO1G/z1G/zO!'nQ`O,5:cO!'sQhO7+%lOOQO,5;y,5;yOOQO-E9]-E9]OOQW<<Is<<IsOOQ[<<Hh<<HhPOQW,5;r,5;rOOQWG23uG23uO!'zQdO7+&yOOQO1G/}1G/}OOQO<<IW<<IW",stateData:"!(_~O$_OS$`QQ~OWVO^_O`WOcYOdYOl`OmZOp[O#P]O#S^O#YdO#`eO#bfO#dgO#ghO#miO#ojO#rkO$ZRO$fTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O#P]O#S^O#YdO#`eO#bfO#dgO#ghO#miO#ojO#rkO$ZlO$fTO~O$X$qP~P!jO$`qO~O`YXcYXdYXmYXpYXsYX!eYX#PYX#SYX$YYX$f[X~OgYX~P$ZO$ZsO~O$fuO~O$fuO`$eXc$eXd$eXm$eXp$eXs$eX!e$eX#P$eX#S$eX$Y$eXg$e
2450X~O$ZvO~O`xOcyOdyOmzOp{O#P|O#S!OO$Y}O~Os!RO!e!PO~P&^Of!XO$Z!TO$[!UO~O$Z!YO~OW!^O$Z![O$f!]O~OWVO^_O`WOcYOdYOmZOp[O#P]O#S^O$ZRO$fTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO!`!kO$]!bO~On!iO~P(dOQ!uOh!nOp!oOs!pOu!xOw!xO}!vO!q!wO$Z!mO$[!sO$j!qO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO!`!kO$]!bO~Os$tP~P)}Ow!}O!q!wO$Z!|O~Ow#PO$Z#PO~Oh#SOs!RO#p#UO~O$Z#WO~Oc#VX~P$ZOc#ZO~On#[O$X$qXr$qX~O$X$qXr$qX~P!jO$a#_O$b#_O$c#aO~Of#fO$Z!TO$[!UO~Os!RO!e!PO~Or$qP~P!jOh#pO~Oh#qO~Oo!xX!|!xX$f!zX~O$Z#rO~O$f#tO~Oo#uO!|#vO~O`xOcyOdyOmzOp{O~Os#Oa!e#Oa#P#Oa#S#Oa$Y#Oag#Oa~P-vOs#Ra!e#Ra#P#Ra#S#Ra$Y#Rag#Ra~P-vOS!fOc!gOd!gOh!cO!Y!eO!]!jO!`!kO~OR#zOu#zOw#zO$]#wO$j!qO~P/VOn$QO!U#}O!e$OO~P(dOh$SO~O$]$UO~Oh#SO~Oh$WO~O`$YOc$YOg$]Ol$YOm$YOn$YO~P)YO`$YOc$YOl$YOm$YOn$YOo$_O~P)YO`$YOc$YOl$YOm$YOn$YOr$aO~P)YOP$bOSvXcvXdvXhvXnvXyvX!YvX!]vX!`vX#[vX#^vX$]vX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!qvX$ZvX$[vX$jvXovXrvX!evX$XvX$svX!}vX~Oy$cO#[$dO#^$eOn$tP~P)}Oh#qOS$hXc$hXd$hXn$hXy$hX!Y$hX!]$hX!`$hX#[$hX#^$hX$]$hXQ$hX`$hXg$hXl$hXm$hXp$hXs$hXu$hXw$hX}$hX!q$hX$Z$hX$[$hX$j$hXo$hXr$hX!e$hX$X$hX$s$hX!}$hX~Oh$iO~Oh$kO~O!U#}O!e$lOs$tXn$tX~Os!RO~On$oOy$cO~On$pO~Ow$qO!q!wO~Os$rO~Os!RO!U#}O~Os!RO#p$xO~O$Z#WOs#sX~O$s$|On#Ua$X#Uar#Ua~P)YOn$QX$X$QXr$QX~P!jOn#[O$X$qar$qa~O$a#_O$b#_O$c%TO~Oo%VO!|%WO~Os#Oi!e#Oi#P#Oi#S#Oi$Y#Oig#Oi~P-vOs#Qi!e#Qi#P#Qi#S#Qi$Y#Qig#Qi~P-vOs#Ri!e#Ri#P#Ri#S#Ri$Y#Rig#Ri~P-vOs$Oa!e$Oa~P&^Or%XO~Og$pP~P'oOg$gP~P)YOc!SXg!QX!U!QX!W!SX~Oc%aO!W%bO~Og%cO!U#}O~O!U#}OS$WXc$WXd$WXh$WXn$WXs$WX!Y$WX!]$WX!`$WX!e$WX$]$WX~On%gO!e$OO~P(dO!U#}OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!`!Xa!e!Xa$]!Xag!Xa~O$]%hOg$oP~P/VOR#zOS!fOh%mOu#zOw#zO!Y%nO$]%lO$j!qO~Oy$cOQ$iX`$iXc$iXg$iXh$iXl$iXm$iXn$iXp$iXs$iXu$iXw$iX}$iX!q$iX$Z$iX$[$iX$j$iXo$iXr$iX~O`$YOc$YOg%wOl$YOm$YOn$YO~P)YO`$YOc$YOl$YOm$YOn$YOo%xO~P)YO`$YOc$YOl$YOm$YOn$YOr%yO~P)YOh%{OS#ZXc#ZXd#ZXn#ZX!Y#ZX!]#ZX!`#ZX$]#ZX~On%|O~Og&ROw&SO!r&SO~Os$SX!e$SXn$SX~P)}O!e$lOs$tan$ta~On&VO~Or&^O$Z&XO$j&WO~Og&_O~P&^Oy$cO!e&cO$s$|On#Ui$X#Uir#Ui~P)YO$r&fO~On$Qa$X$Qar$Qa~P!jOn#[O$X$qir$qi~O!e&iOg$pX~P&^Og&kO~Oy$cOQ#xXg#xXh#xXp#xXs#xXu#xXw#xX}#xX!e#xX!q#xX$Z#xX$[#xX$j#xX~O!e&mOg$gX~P)YOg&oO~Oo&pOy$cO!}&qO~OR#zOu#zOw#zO$]&sO$j!qO~O!U#}OS$Wac$Wad$Wah$Wan$Was$Wa!Y$Wa!]$Wa!`$Wa!e$Wa$]$Wa~Oc!dXg!QX!U!QX!e!QX~O!U#}O!e&uOg$oX~Oc&wO~Og&xO~Oc!mXg!mX!W!SX~OS!fOh&zO~O!U&|O~O!U&|O!W&}Og$nX~Oc'OOg!lX~O!W&}O~Og'PO~O$Z'QO~On'SO~Oc'TO!U#}O~Og'VOn'UO~Og'YO~O!U#}Os$Sa!e$San$Sa~OP$bOsvX!evXgvX~O$j&WOs#jX!e#jX~Os!RO!e'[O~Or'`O$Z&XO$j&WO~Oy$cOQ$PXh$PXn$PXp$PXs$PXu$PXw$PX}$PX!e$PX!q$PX$X$PX$Z$PX$[$PX$j$PX$s$PXr$PX~O!e&cO$s$|On#Uq$X#Uqr#Uq~P)YOo'eOy$cO!}'fO~Og#}X!e#}X~P'oO!e&iOg$pa~Og#|X!e#|X~P)YO!e&mOg$ga~Oo'eO~Og'kO~P)YOg'lO!W'mO~O$]'nOg#{X!e#{X~P/VO!e&uOg$oa~Og'sO~OS!fOh'uO~OS!fO~PGUO`'yOg'{O~OS#zac#zad#zah#za!Y#za!]#za!`#za$]#za~Og'}O~P!![Og'}On(OO~Oy$cOQ$Pah$Pan$Pap$Pas$Pau$Paw$Pa}$Pa!e$Pa!q$Pa$X$Pa$Z$Pa$[$Pa$j$Pa$s$Par$Pa~Oo(TO~Og#}a!e#}a~P&^Og#|a!e#|a~P)YOR#zOu#zOw#zO$]&sO$j&WO~Oc!fXg!QX!U!QX!e!QX~O!U#}Og#{a!e#{a~Oc(VO~O!e&uOg$oi~P)YOg!ai!U!ji~Og(XO~O!W(ZOg!ni~Og!li~P)YO`'yOg(^O~Oy$cOg!Pin!Pi~Og(_O~P!![On(`O~Og(aO~O!e&uOg$oq~Og(cO~OS!fO~P!$wOg#{q!e#{q~P)YO$_!r$`$j`$jy#S~",goto:"7g$uPPPPP$vP$yP%S%f%S%x&[P%SP&b%SPP&hPPP&n&x&xPPPPP&xPP&xP'hP&xP&x(k&xP)Z)^)d)d)v)dP)dP)dP)d)dP*])dP*i*o+e+hP+k*i+n*i+q+w+z,Q+z)d,WPP,|-S%S-Y%S-`-`-f-jPP%SP%S%SP-p.l.y/Q$yP/ZP/^P$yP$yP$yP/d$yP/g/j/m/t$yP$yPP$yP/y$yP/|0S0c0}1]1c1m1s1y2P2V2a2g2m2s2y3PPPPPPPPPPPP3V3`P4U4X5]P5e6_6t+z7Q7T7WPP7^RrQ_aOPco!R#[%Pq_OP]^co|}!O!P!R#S#[#p%P&iqSOP]^co|}!O!P!R#S#[#p%P&iqUOP]^co|}!O!P!R#S#[#p%P&iQtTR#buQwWR#cxQ!VYR#dyQ#d!XS$h!t!uR%U#f!Z!xdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(b!Y!xdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bb#z!c$W%b%m&z&}'m'u(ZU&Z$r&]'[R'Z&Y!Z!tdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bR$j!vQ&P$iR'W&Qq!h`ei!c!d!e!r#}$O$P$S$g$i$l&Q&uQ#x!cW%s$W%m&z'uQ&t%bQ'w&}Q(U'mR(d(ZQ#VjQ$V!jQ$v#UR&a$xX%q$W%m&z'up!h`ei!c!d!e!r#}$O$P$S$g$i$l&Q&uW%p$W%m&z'uQ&{%nQ'v&|Q'w&}R(d(ZR$T!fR%j$SR'p&uR&{%nX%o$W%m&z'uR'v&|X%t$W%m&z'uX%r$W%m&z'u!Y!xdf!n!o!p#Z#q#v$[$^$`$c${%W%]%a&c&d&m&r&w'O'T'i'r'x(V(bQ!}gR$q#OQ!WYR#eyQ#d!WR%U#eQ!ZZR#gzQ!_[R#h{T!^[{Q#s!]R%_#tQ!SXQ!i`Q#TjQ#n!QQ$Q!dQ$n!zQ$t#RQ$w#VQ$z#YQ%g$PQ&`$vQ'^&[Q'a&aR(S']SnP!RQ#^oQ%O#[R&g%PZmPo!R#[%PQ$}#ZQ&e${R'd&dR$g!rQ'R%{R(['yR#OgR#QhR$s#QS&[$r&]R(Q'[V&Y$r&]'[R#YkQ#`qR%S#`QcOSoP!RU!lco%PR%P#[Q%]#q[&l%]&r'i'r'x(bQ&r%aQ'i&mQ'r&wQ'x'OR(b(VQ$[!nQ$^!oQ$`!pV%v$[$^$`Q&Q$iR'X&QQ&v%iS'q&v(WR(W'rQ&n%]R'j&nQ&j%YR'h&jQ!QXR#m!QQ&d${R'c&dQ#]nS%Q#]%RR%R#^Q'z'RR(]'zQ$m!yR&U$mQ&]$rR'_&]Q']&[R(R']Q#XkR$y#XQ$P!dR%f$P_bOPco!R#[%P^XOPco!R#[%PQ!`]Q!a^Q#i|Q#j}
2450Q#k!OQ#l!PQ$u#SQ%Y#pR'g&iR%^#qQ!rdQ!{f[$X!n!o!p$[$^$`Q${#Zh%[#q%]%a&m&r&w'O'i'r'x(V(bQ%`#vQ%z$cS&b${&dQ&h%WQ'b&cR'|'T]$Z!n!o!p$[$^$`Q!d`U!ye!r$gQ#RiQ#y!cS#|!d$PQ$R!eQ%d#}Q%e$OQ%i$SS&O$i&QQ&T$lR'o&uQ#{!cW%s$W%m&z'uQ&t%bQ'w&}Q(U'mR(d(ZQ%u$WQ&y%mQ't&zR(Y'uR%k$SR%Z#pQpPR#o!RQ!zeQ$f!rR%}$g",nodeNames:"â Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList PropertyName , PropertyName UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature PropertyName StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:174,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[U0t],skippedNodes:[0,5,130],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!r`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$_~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$_~!r`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%jj)jS$sYOy%jz;'S%j;'S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d<%lO)v~*hOw~~*kRO;'S)v;'S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;'S)v;'S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;'S%j;'S;=`%{<%lO%jj,dY!r`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;'S%j;'S;=`%{<%lO%jj-XY!r`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;'S%j;'S;=`%{<%lO%jj.OYuY!r`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;'S%j;'S;=`%{<%lO%jj.uYuY!r`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;'S%j;'S;=`%{<%lO%jj/jY!r`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;'S%j;'S;=`%{<%lO%jj0aYuY!r`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;'S%j;'S;=`%{<%lO%jj1UY!r`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;'S%j;'S;=`%{<%lO%jj1{SuY!r`Oy%jz;'S%j;'S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jd2uS!|S!r`Oy%jz;'S%j;'S;=`%{<%lO%jb3WS^QOy%jz;'S%j;'S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{<%lO3d~4SRO;'S3d;'S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;'S3d;'S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;'S%j;'S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jj6ZWyW#SQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj6xU!r`Oy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%jj7cY!r`$jYOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj8WY!r`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj8{U!r`Oy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj9fU!r`$jYOy%jz!Q%j!Q![9_![;'S%j;'S;=`%{<%lO%jj:P[!r`$jYOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj:zS!eYOy%jz;'S%j;'S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;'S%j;'S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;'S%j;'S;=`%{<%lO%j~<cTyWOy%jz{<r{;'S%j;'S;=`%{<%lO%j~<yS!r`$`~Oy%jz;'S%j;'S;=`%{<%lO%jj=[[$jYOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;'S%j;'S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];'S%j;'S;=`%{<%lO%jj>pSdY!r`Oy%jz;'S%j;'S;=`%{<%lO%jj?RSnYOy%jz;'S%j;'S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;'S%j;'S;=`%{<%lO%jh?}S!WW!r`Oy%jz;'S%j;'S;=`%{<%lO%jl@bS!WW!|SOy%jz;'S%j;'S;=`%{<%lO%jj@uV#PQ!WWOy%jz!_%j!_!`?v!`!aA[!a;'S%j;'S;=`%{<%lO%jbAcS#PQ!r`Oy%jz;'S%j;'S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjBgW!r`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jjCW[lY!r`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;'S%j;'S;=`%{<%lO%jhDRS!}WOy%jz;'S%j;'S;=`%{<%lO%jjDdSpYOy%jz;'S%j;'S;=`%{<%lO%jnDuSo^Oy%jz;'S%j;'S;=`%{<%lO%jjEWU!}WOy%jz#a%j#a#bEj#b;'S%j;'S;=`%{<%lO%jbEoU!r`Oy%jz#d%j#d#eFR#e;'S%j;'S;=`%{<%lO%jbFWU!r`Oy%jz#c%j#c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!r`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!r`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!r`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!r`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!r`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$rQ!r`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$fUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU#SQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[D0t,B0t,M0t,L0t,1,2,3,4,new sy("m~RRYZ[z{a~~g~aO$b~~dP!P!Qg~lO$c~~",28,155)],topRules:{StyleSheet:[0,6],Styles:[1,129]},dynamicPrecedences:{97:1},specialized:[{term:150,get:e=>j0t[e]||-1},{term:151,get:e=>F0t[e]||-1},{term:4,get:e=>Q0t[e]||-1},{term:28,get:e=>z0t[e]||-1},{term:149,get:e=>H0t[e]||-1}],tokenPrec:2444});let MS=null;function LS(){if(!MS&&typeof document=="object"&&document.body){let{style:e}=document.body,t=[],n=new Set;
vendor: 4,127 bytes, line 2450
2450for(let r in e)r!="cssText"&&r!="cssFloat"&&typeof e[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));MS=t.sort().map(r=>({type:"property",label:r,apply:r+": "}))}return MS||[]}const hP=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),pP=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","regi
2450on","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),q0t=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),Z0t=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supp
2450orts","@view-transition"].map(e=>({type:"keyword",label:e})),Cl=/^(\w[\w-]*|-\w[\w-]*|)$/,X0t=/^-(-[\w-]*)?$/;function W0t(e,t){var n;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let r=(n=e.parent)===null||n===void 0?void 0:n.firstChild;return(r==null?void 0:r.name)!="Callee"?!1:t.sliceString(r.from,r.to)=="var"}const mP=new CX,Y0t=["Declaration"];function G0t(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function bW(e,t,n){if(t.to-t.from>4096){let r=mP.get(t);if(r)return r;let a=[],i=new Set,o=t.cursor(Ln.IncludeAnonymous);if(o.firstChild())do for(let s of bW(e,o.node,n))i.has(s.label)||(i.add(s.label),a.push(s));while(o.nextSibling());return mP.set(t,a),a}else{let r=[],a=new Set;return t.cursor().iterate(i=>{var o;if(n(i)&&i.matchContext(Y0t)&&((o=i.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let s=e.sliceString(i.from,i.to);a.has(s)||(a.add(s),r.push({label:s,type:"variable"}))}}),r}}const K0t=e=>t=>{let{state:n,pos:r}=t,a=Fr(n).resolveInner(r,-1),i=a.type.isError&&a.from==a.to-1&&n.doc.sliceString(a.from,a.to)=="-";if(a.name=="PropertyName"||(i||a.name=="TagName")&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:LS(),validFor:Cl};if(a.name=="ValueName")return{from:a.from,options:pP,validFor:Cl};if(a.name=="PseudoClassName")return{from:a.from,options:hP,validFor:Cl};if(e(a)||(t.explicit||i)&&W0t(a,n.doc))return{from:e(a)||i?a.from:r,options:bW(n.doc,G0t(a),e),validFor:X0t};if(a.name=="TagName"){for(let{parent:l}=a;l;l=l.parent)if(l.name=="Block")return{from:a.from,options:LS(),validFor:Cl};return{from:a.from,options:q0t,validFor:Cl}}if(a.name=="AtKeyword")return{from:a.from,options:Z0t,validFor:Cl};if(!t.explicit)return null;let o=a.resolve(r),s=o.childBefore(r);return s&&s.name==":"&&o.name=="PseudoClassSelector"?{from:r,options:hP,validFor:Cl}:s&&s.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:r,options:pP,validFor:Cl}:o.name=="Block"||o.name=="Styles"?{from:r,options:LS(),validFor:Cl}:null},J0t=K0t(e=>
vendor: 4,661 bytes, line 2450
2450e.name=="VariableName"),ly=ec.define({name:"css",parser:V0t.configure({props:[Wd.add({Declaration:Zf()}),Yd.add({"Block KeyframeList":vO})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function yW(){return new gp(ly,ly.data.of({autocomplete:J0t}))}const e1t=55,t1t=1,n1t=56,r1t=2,a1t=57,i1t=3,gP=4,o1t=5,vA=6,vW=7,OW=8,SW=9,wW=10,s1t=11,l1t=12,c1t=13,DS=58,u1t=14,d1t=15,bP=59,xW=21,f1t=23,kW=24,h1t=25,Gx=27,AW=28,p1t=29,m1t=32,g1t=35,b1t=37,y1t=38,v1t=0,O1t=1,S1t={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},w1t={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},yP={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function x1t(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}let vP=null,OP=null,SP=0;function Kx(e,t){let n=e.pos+t;if(SP==n&&OP==e)return vP;let r=e.peek(t),a="";for(;x1t(r);)a+=String.fromCharCode(r),r=e.peek(++t);return OP=e,SP=n,vP=a?a.toLowerCase():r==k1t||r==A1t?void 0:null}const TW=60,cy=62,OA=47,k1t=63,A1t=33,T1t=45;function wP(e,t){this.name=e,this.parent=t}const E1t=[vA,wW,vW,OW,SW],_1t=new wO({start:null,shift(e,t,n,r){return E1t.indexOf(t)>-1?new wP(Kx(r,1)||"",e):e},reduce(e,t){return t==xW&&e?e.parent:e},reuse(e,t,n,r){let a=t.type.id;return a==vA||a==b1t?new wP(Kx(r,1)||"",e):e},strict:!1}),C1t=new ma((e,t)=>{if(e.next!=TW){e.next<0&&t.context&&e.acceptToken(DS);return}e.advance();let n=e.next==OA;n&&e.advance();let r=Kx(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?d1t:u1t);let a=t.context?t.context.name:null;if(n){if(r==a)return e.acceptToken(s1t);if(a&&w1t[a])return e.acceptToken(DS,-2);if(t.dialectEnabled(v1t))return e.acceptToken(l1t);for(let i=t.context;i;i=i.parent)if(i.name==r)return;e.acceptToken(c1t)}else{if(r=="script")return e.acceptToken(vW);if(r=="style")return e.acceptToken(OW);if(r=="textarea")return e.acceptToken(SW);if(S1t.hasOwnProperty(r))return e.acceptToken(wW);a&&yP[a]&&yP[a][r]?e.acceptToken(DS,-1):e.acceptToken(vA)}},{contextual:!0}),$1t=new ma(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(bP);break}if(e.next==T1t)t++;else if(e.next==cy&&t>=2){n>=3&&e.acceptToken(bP,-2);break}else t=0;e.advance()}});function P1t(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const I1t=new ma((e,t)=>{if(e.next==OA&&e.peek(1)==cy){let n=t.dialectEnabled(O1t)||P1t(t.context);e.acceptToken(n?o1t:gP,2)}else e.next==cy&&e.acceptToken(gP,1)});function SA(e,t,n){let r=2+e.length;return new ma(a=>{for(let i=0,o=0,s=0;;s++){if(a.next<0){s&&a.acceptToken(t);break}if(i==0&&a.next==TW||i==1&&a.next==OA||i>=2&&i<r&&a.next==e.charCodeAt(i-2))i++,o++;else if(i==r&&a.next==cy){s>o?a.acceptToken(t,-o):a.acceptToken(n,-(o-2));break}else if((a.next==10||a.next==13)&&s){a.acceptToken(t,1);break}else i=o=0;a.advance()}})}const R1t=SA("script",e1t,t1t),N1t=SA("style",n1t,r1t),M1t=SA("textarea",a1t,i1t),L1t=Xd({"Text RawText IncompleteTag IncompleteCloseTag":W.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":W.angleBracket,TagName:W.tagName,"MismatchedCloseTag/TagName":[W.tagName,W.invalid],AttributeName:W.attributeName,"AttributeValue UnquotedAttributeValue":W.attributeValue,Is:W.definitionOperator,"EntityReference CharacterReference":W.character,Comment:W.blockComment,ProcessingInst:W.processingInstruction,DoctypeDecl:W.documentMeta}),D1t=tc.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`
24501G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O'#CwO+SOMhO'#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO'#D]'#D]O+eO7[O,59cOOQW,59c,59cOOOO'#D^'#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[",stateData:",c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"â StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:_1t,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["o
2450penedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[L1t],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;
2450=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[R1t,N1t,M1t,I1t,C1t,$1t,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function EW(e,t){let n=Object.create(null);for(let r of e.getChildren(kW)){let a=r.getChild(h1t),i=r.getChild(Gx)||r.getChild(AW);a&&(n[t.read(a.from,a.to)]=i?i.type.id==Gx?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function xP(e,t){let n=e.getChild(f1t);return n?t.read(n.from,n.to):" "}function BS(e,t,n){let r;for(let a of n)if(!a.attrs||a.attrs(r||(r=EW(e.node.parent.firstChild,t))))return{parser:a.parser,bracketed:!0};return null}function _W(e=[],t=[]){let n=[],r=[],a=[],i=[];for(let s of e)(s.tag=="script"?n:s.tag=="style"?r:s.tag=="textarea"?a:i).push(s);let o=t.length?Object.create(null):null;for(let s of t)(o[s.name]||(o[s.name]=[])).push(s);return npt((s,l)=>{let c=s.type.id;if(c==p1t)return BS(s,l,n);if(c==m1t)return BS(s,l,r);if(c==g1t)return BS(s,l,a);if(c==xW&&i.length){let u=s.node,d=u.firstChild,f=d&&xP(d,l),h;if(f){for(let p of i)if(p.tag==f&&(!p.attrs||p.attrs(h||(h=EW(d,l))))){let m=u.lastChild,g=m.type.id==y1t?m.from:u.to;if(g>d.to)return{parser:p.parser,overlay:[{from:d.to,to:g}]}}}}if(o&&c==kW){let u=s.node,d;if(d=u.firstChild){let f=o[l.read(d.from,d.to)];if(f)for(let h of f){if(h.tagName&&h.tagName!=xP(u.parent,l))continue;let p=u.lastChild;if(p.type.id==Gx){let m=p.from+1,g=p.lastChild,v=p.to-(g&&g.isError?0:1);if(v>m)return{parser:h.parser,overlay:[{from:m,to:v}],bracketed:!0}}else if(p.type.id==AW)return{parser:h.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const B1t=316,U1t=317,kP=1,j1t=2,F1t=3,Q1t=4,z1t=318,H1t=320,V1t=321,q1t=5,Z1t=6,X1t=0,Jx=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],CW=125,W1t=59,e8=47,Y1t=42,G1t=43,K1t=45,J1t=60,egt=44,tgt=63,ngt=46,rgt=91,agt=new wO({start:!1,shift(e,t){return t==q1t||t==Z1t||t==H1t?e:t==V1t},strict:!1}),igt=new ma((e,t)=>{let{next:n}=e;(n==CW||n==-1||t.context)&&e.acceptToken(z1t)},{contextual:!0,fallback:!0}),ogt=new ma((e,t)=>{let{next:n}=e,r;Jx.indexOf(n)>-1||n==e8&&((r=e.peek(1))==e8||r==Y1t)||n!=CW&&n!=W1t&&n!=-1&&!t.context&&e.acceptToken(B1t)},{contextual:!0}),sgt=new ma((e,t)=>{e.next==rgt&&!t.context&&e.acceptToken(U1t)},{contextual:!0}),lgt=new ma((e,t)=>{let{next:n}=e;if(n==G1t||n==K1t){if(e.advance(),n==e.next){e.advance();let r=!t.context&&t.canShift(kP);e.acceptToken(r?kP:j1t)}}else n==tgt&&e.peek(1)==ngt&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(F1t))},{contextual:!0});function US(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const cgt=new ma((e,t)=>{if(e.next!=J1t||!t.dialectEnabled(X1t)||(e.advance(),e.next==e8))return;let n=0;for(;Jx.indexOf(e.next)>-1;)e.advance(),n++;if(US(e.next,!0)){for(e.advance(),n++;US(e.next,!1);)e.advance(),n++;for(;Jx.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==egt)return;for(let r=0;;r++){if(r==7){if(!US(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(Q1t,-n)}),ugt=Xd({"get set async static":W.modifier,"for while do if else switch try catch finally return throw break continue default case defer":W.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":W.operatorKeyword,"let var const using function class extends":W.definitionKeyword,"import export from":W.moduleKeyword,"with debugger new":W.keyword,TemplateString:W.special(W.string),super:W.atom,BooleanLiteral:W.bool,this:W.self,null:W.null,Star:W.modifier,VariableName:W.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":W.function(W.variableName),VariableDefinition:W.definition(W.variableName),Label:W.labelName,PropertyName:W.propertyName,PrivatePropertyName:W.special(W.propertyName),"CallExpression/MemberExpression/PropertyName":W.function(W.propertyName),"FunctionDeclaration/VariableDefinition":W.function(W.definition(W.variableName)),"ClassDeclaration/VariableDefinition":W.definition(W.className),"NewExpression/VariableName":W.className,PropertyDefinition:W.definition(W.propertyName),PrivatePropertyDefinition:W.definition(W.special(W.propertyName)),UpdateOp:W.updateOperator,"LineComment Hashbang":W.lineComment,BlockComment:W.blockComment,Number:W.number,String:W.string,Escape:W.escape,Ar
vendor: 4,201 bytes, line 2450
2450ithOp:W.arithmeticOperator,LogicOp:W.logicOperator,BitOp:W.bitwiseOperator,CompareOp:W.compareOperator,RegExp:W.regexp,Equals:W.definitionOperator,Arrow:W.function(W.punctuation),": Spread":W.punctuation,"( )":W.paren,"[ ]":W.squareBracket,"{ }":W.brace,"InterpolationStart InterpolationEnd":W.special(W.brace),".":W.derefOperator,", ;":W.separator,"@":W.meta,TypeName:W.typeName,TypeDefinition:W.definition(W.typeName),"type enum interface implements namespace module declare":W.definitionKeyword,"abstract global Privacy readonly override":W.modifier,"is keyof unique infer asserts":W.operatorKeyword,JSXAttributeValue:W.attributeValue,JSXText:W.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":W.angleBracket,"JSXIdentifier JSXNameSpacedName":W.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":W.attributeName,"JSXBuiltin/JSXIdentifier":W.standard(W.tagName)}),dgt={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},fgt={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},hgt={__proto__:null,"<":193},pgt=tc.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO%[QlO'#JvOOQO'#Jy'#JyOOQO'#Ih'#IhOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J}'#J}OC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jx'#JxODlQpO'#JyOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CD})CD}OOOO'#I`'#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ia'#IaOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Ic'#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IdOGyQ`O'#JtOIxQ!fO'#JtO+}QlO'#JtOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KTOKPQ`O'#KSOKPQ`O'#KSOKXQ`O,5;^OK^Q`O'#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KQONtQ`O'#KPO9eQ`O'#KPO! YQ`O'#KPO! bQ`O,5;]O! gQ`O'#KPO!#lQ!fO'#JsOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#Jz'#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO'#EkO!(eQ`O,5;ZO!(jQlO'#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ['#FT'#FTOOQ['#FV'#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ['#FZ'#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO'#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO'#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO'#FjO!.rQ,UO'#KXO!.^Q,UO'#KXO!.yQ,UO'#KXOOQO'#KX'#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO'#FvOOOW'#Io'#IoO7VO7dO,5<QO!/wQ,UO'#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO'#CyOOQ!0Lh'#C}'#C}O!0{O#@ItO'#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO'#GXO!3jQ`O'#GYO!3oQ`O'#GYO!5_Q(CWO'#G^O!6dQpO'#GbOOQO'#Gn'#GnO!,TQMhO'#GmOOQO'#Gp'#GpO!,TQMhO'#GoO!7VQ$IUO'#JlOOQ!0Lh'#Jl'#JlO!7aQ`O'#JkO!7oQ`O'#JjO!7wQ`O'#CuOOQ!0Lh'#C{'#C{O!8YQ`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO!8_Q`O,5<eO1SQ`O'#DZO!,TQMhO'#GPO!,TQMhO'#GRO!8gQ`O'#GTO!8lQ`O'#GUO!3oQ`O'#G[O!,TQMhO'#GaO<]Q`O'#JkO!8qQ`O'#EqO!9`Q`O,5<gOOQ!0Lb'#Cr'#CrO!9hQ`O'#ErO!:bQpO'#EsOOQ!0Lb'#K
2450R'#KRO!:iQ!0LrO'#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ['#Jh'#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO'#JiO9`Q`O'#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O'#HbO!DVQ`O'#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO'#Cy'#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O'#K`O?YQ`O'#HWO9kQ`O'#HYO!EuQ`O'#HYO:dQMhO'#H[O!EzQ`O'#H[OOQ[,5=p,5=pO!FPQ`O'#H]O!FbQ`O'#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO'#HeOOQ['#Hf'#HfOOQ['#Hg'#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO'#D_O%[QlO'#JvO##sQpO'#JvO##}QpO'#DmO#$`QpO'#DmO#&qQlO'#DmO#&xQ`O'#JuO#'QQ`O,5:WO#'VQ`O'#EtO#'eQ`O'#KUO#'mQ`O,5;_O#'rQpO'#DmO#(PQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb'#Ej'#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO'#I^'#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO'#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O'#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O'#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh'#GW'#GWO#0rQ!0MzO'#JlO!$wQlO1G0uO#2}Q!fO'#JwO%[QlO'#JwO#3XQ`O,5:eOOQ!0Lh'#D_'#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO'#CiO#DkQ?MtO1G1`O#DrQ?MtO'#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO'#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO'#FoO#K`Q`O'#FnOOQO'#KY'#KYOOQO'#In'#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO'#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO'#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO'#DTOOOO'#Ib'#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O'#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO'#IuO#MdQMjO,5=XO!,TQMhO'#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO'#CrO#NtQ(CWO'#ErO$ |QpO'#GbO$!dQ!dO,5<sO$!kQ`O'#K[O9eQ`O'#K[O$!yQ`O,5<uO$#aQ!dO'#C{O!,TQMhO,5<tO$#kQ`O'#GZO$$PQ`O,5<tO$$UQ!dO'#GWO$$cQ!dO'#K]O$$mQ`O'#K]O!&zQMhO'#K]O$$rQ`O,5<xO$$wQlO'#JvO$%RQpO'#GcO#$`QpO'#GcO$%dQ`O'#GgO!3oQ`O'#GkO$%iQ!0LrO'#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO'#GcO$&YQpO'#GdO$&kQpO'#GdO$&pQMjO,5=XO$'QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$'bQ`O'#IyO$'vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh'#Jp'#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O'#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O'#KSO9eQ`O'#EtO%[QlO'#EtO9eQ`O'#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO'#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O'#CiO$0jQ`O'#KeO$0rQ`O,5=|O$0wQ`O'#KeO$0|Q`O'#KeO$1[Q`O'#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO'#HQOOQ[1G3U1G3UO!6_QpO'#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O'#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO'#HtOOQ[1G3x1G3xO$:tQ`O'#HzO?YQ`O'#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb'#G_'#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO'#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO'#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO'#Ig'#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO'#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO'#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+'Y7+'YOOOW7+'e7+'eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+'kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O'#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO'#CrO%/iQMhO'#KSO$$wQlO'#JvOOQ!0Lh1G2_1G2_O%/sQ`O'#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}
2450QMjO1G2`O$+YQ`O'#K[O!,TQMhO1G2`O%1_Q(CWO'#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO'#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO'#IuO%6WQMjO1G2sO!,TQMhO'#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+'mOOQ!0Lf7+'m7+'mO!$wQlO7+'mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO'#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO'#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O'#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+'T7+'TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O'#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO'#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O'#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ['#Kh'#KhOOQ['#JS'#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO'#HuO%?^Q`O'#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO'#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO'#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO'#FqOOQO'#KZ'#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+'h7+'hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+'zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+'u7+'uO&7TQMjO7+'|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO'#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO'#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO'#JO'#JOO9uQ!0LrO'#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO'#EgO&=PQpO'#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO'#H^'#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<= ^O&?oQ`O<= ]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+'zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+'|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO'#PQ?MvO,5<kO'%SQ?MvO,5<mO''hQ?MvO,5<{O')^Q?MtO7+'kO')kQ?MtO7+'mO')xQ`O,5<]OOQO7+'`7+'`OOQ!0Lh7+*d7+*dO')}QMjO<<K}OOQO1G4w1G4wO'*UQ`O1G4wO'*aQ`O1G4wO'*oQ`O7++|O'*oQ`O7++|O!&zQMhO1G4yO'*wQ!dO1G4yO'+RQ`O7++}O'+ZQ`O7+(VO'+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO'+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO'+uQ`O7+(VOCwQ`O7+(UO'+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O',XQ!dO,5?fOOQO-E<x-E<xO',cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO
24501G5W1G5WO',sQ`O1G5WO',xQ`O7+,VO',xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO'-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO'-VQ`O,5?hOOQO-E<z-E<zO'-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO'-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO'-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO'-yQpO1G5VO'.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<= r<= rOOQ[<= s<= sO'.^Q`O<= rO'.cQ`O<= sOOQ[<<Lq<<LqO'.hQ`O<<LqO'.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO'.tQ`O<<JQO'/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO'/ZQ!fOG27VO4UQ!fOG27VO'/bQ`OG27VO'/jQ?MtO<<JfO'/wQ?MvO1G2`O'1mQ?MvO,5?aO'3pQ?MvO,5?cO'5sQ?MvO1G2sO'7vQ?MvO1G2uO'9yQ?MtO<<KXO':WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO':eQ`O7+*cO':pQ`O<= hO':xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO';SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO';_Q!dO<<KqOOQ!0Lb<<Kp<<KpO';iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO';nQMjOANDcO';xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO'<YQ`O<= qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO'<bQ`O7+,SO'<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO'<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO'#H_'#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O'<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO'<|Q!fOLD,qO'=TQ?MvO7+'zO'>yQ?MvO,5?aO'@|Q?MvO,5?cO'CPQ?MvO7+'|O'DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O'EVQ!dOANA]OOQ!0LbANAZANAZO'E^Q`OANA]O!&zQMhOANA]O'EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O'EsQ?MtO7+*nOOQO'#Gf'#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO'E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O'FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO'HjQ`OG26wOCwQ`OG26wO'HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO'H|Q`OLD,cO'IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO'I`Q?MvOG27TOOQ!0Lb!$( }!$( }O$+YQ`O!$( }OCwQ`O!$( }O'KUQ`O!$( }OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO'#DzO1PQ`O'#EXO'KaQ!fO'#JrO'KhQ!L^O'#DvO'KoQlO'#EOO'KvQ!fO'#CiO'N^Q!fO'#CiO!)[QlO'#EQO'NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO'#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO'#GmO(!yQMhO'#GmO!&zQMhO'#GoO(!yQMhO'#GoO1SQ`O'#DZO1SQ`O'#DZO!&zQMhO'#GPO(!yQMhO'#GPO!&zQMhO'#GRO(!yQMhO'#GRO!&zQMhO'#GaO(!yQMhO'#GaO!)[QlO,5:jO($kQpO'#D_O($uQpO'#JvO!)[QlO,5@oO'NnQlO1G0uO(%PQ?MtO'#CiO!)[QlO1G2PO!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO(%ZQ!dO'#CrO!&zQMhO,5<tO(!yQMhO,5<tO'NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO'#IuO(!yQMhO'#IuO!&zQMhO'#IwO(!yQMhO'#IwO!&zQMhO1G2bO(!yQMhO1G2bO'NnQlO7+'mO'NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O'#EoO(%sQ`O'#EoO(%{Q`O'#F]O(&QQ`O'#EyO(&VQ`O'#KTO(&bQ`O'#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O'#GYO('OQ`O'#GYO('TQ`O,5<eO(']Q`O,5<gO('eQ`O,5;ZO('mQ?MtO1G1`O('tQ`O,5<tO('yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO'#F|O9`Q`O'#F{OAuQ`O'#EnO!)[QlO,5;tO!3oQ`O'#GYO!3oQ`O'#GYO!3oQ`O'#G[O!3oQ`O'#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]",stateData:"()x~O'|OS'}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X'z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO
2450(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX'z(fX'w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX'z(gX'w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO'z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO'x&{O'z%nO~Oa%nO'x'OO'z%nO~Oa%nO'x'QO'z%nO~O'w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b'_O!c'WO!d'WO(U!lO(VTO(YUO~Os'UO!S'TO!['XO(e'SO!^(iP!^(xP~P@nOn'bO!_'`O(T%gO~Oe'gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b'mO!c'lO!d'lO#V!pO#['nO#]'nO~PBYOa%nOh%VO!g#vO!l%eO'z%nO(r'pO~O!p'tO#`'rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c'lO!d'lO(U!lO~PDWO(P'xO(Q'xO(R'zO~O_!}O(V'|O(W!}O(X'|O~O_#QO(X'|O(Y'|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y'WX!Y'^X!]'WX!]'^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na'z!na'w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r'pO!](tXa(tX'z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P! uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa'z$qa'w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX'y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO'y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hOTX'z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja'z!ja'w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra'z!ra'w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta'z!ta'w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_'`O%i+fO~O!g+iOa(]X!_(]X'z(]X!](]X~Oa%nO
2450!_XO'z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO'z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la'w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P'_On-iO!_'`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO'z%nO~Oa%nO!g#vO#`-qO'z%nO~Oa%nO!g#vO!p-sO#`-qO'z%nO(r'pO~O(P'xO(Q'xO(R-zO~Ov-{O~O!Y'Wa!]'Wa~P!:tO![.PO!Y'WX!]'WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y'^X!]'^X~O#`.VO!](ta!k(taa(ta'z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]'aX!k'aX~OR.dO!l#xO~Oh%VOn.gO!_'`O%i.fO~Oa#ci!]#ci'z#ci'w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO'y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a'z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X'z(`X(a(`X(r(`X!k(`X!Y(`X'w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi'z#mi(r#mi(y#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P! uOa'da!]'da'z'da'w'da!k'da!Y'dav'da!_'da%i'da!g'da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi'z$Pi'w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa'y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca'y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WOPP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$ [O!k/oO~P#/sO!]/pO!g#vO(r'pO!k)OX~O!k/uO~OnoX!QoX'yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r'pO~O!g+iO~Oa%nO!]0XO'z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`
2450%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg'mX!]'mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a'y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO'y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO'y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta'z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri'z!ri'w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a'z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`'uX!]'uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO'z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci'w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li'w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]'XX!^'XX~P@nO!]-]O!^(ia~O!]'_X!^'_X~P!9|O!]-`O!^(xa~O!^2wO~P'_Oa%nO#`3QO'z%nO~Oa%nO!g#vO#`3QO'z%nO~Oa%nO!g#vO!p3UO#`3QO'z%nO(r'pO~Oa%nO'z%nO~P!:tO!]$_Ov$qa~O!Y'Wi!]'Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti'z(ti~P!:tO#`3WO!](ti!k(tia(ti'z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_'`O%i3cO~Oh%VOn3dO!_'`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'z%aa(a%aa(r%aa!k%aa!Y%aa'w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'z%ca(a%ca(r%ca!k%ca!Y%ca'w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a'z}a(a}a(r}a!k}a!Y}a'w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa'z$sa(a$sa(r$sa!k$sa!Y$sa'w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua'z$ua(a$ua(r$ua!k$ua!Y$ua'w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta'z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta'w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq'z#cq'w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]'YX!k'YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg']X!]']X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq'z$mq'w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO'y*PO(z%POn'ia(y'ia!]'ia#`'ia~Og'ia$O'ia~P%-fO!Q*OO'y*POn'ka(y'ka(z'ka!]'ka#`'ka~Og'ka$O'ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]'eX!k'eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r'pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y'gX!]'gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r'pO~Or4yO!g#vO(r'pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai'y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci'y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq'z$oq'w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X'z$zX!]$zX~P!0SO%^5_OaoX!_oX'zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]'tX!^'tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO'z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]'sX!^'sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O'z%nO~Oa%nO!g#vO#`6|O'z%nO~O!](tq!k(tqa(tq'z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_'`O%i7WO~On7[O!_'`O%i7WO~O#k'iaP'iaR'ia['iaa'iaj'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia'z'ia(a'ia(r'ia!k'ia!Y'ia'w'iav'ia!_'ia%i'ia!g'ia~P%-fO#k'kaP'kaR'ka['kaa'kaj'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'
2450ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka'z'ka(a'ka(r'ka!k'ka!Y'ka'w'kav'ka!_'ka%i'ka!g'ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i'z$|i(a$|i(r$|i!k$|i!Y$|i'w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai'z%ai(a%ai(r%ai!k%ai!Y%ai'w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci'z%ci(a%ci(r%ci!k%ci!Y%ci'w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]'Ya!k'Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y'z#|y'w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X'y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg']a!]']a~P!1WO!^7nO~O!]'da!^'da~P#BwO!Y7oO~P#/sO!g#vO(r'pO!]'ea!k'ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y'ga!]'ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r'pO~Oj8QO!g#vO~Or8TO!g#vO(r'pO~O!Q*OO'y*PO(z%POn'ja(y'ja!]'ja#`'ja~Og'ja$O'ja~P&5RO!Q*OO'y*POn'la(y'la(z'la!]'la#`'la~Og'la$O'la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy'z$oy'w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_'`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i'z%[i!]%[i~Oa#cy!]#cy'z#cy'w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]'pX!^'pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]'sa!^'sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O'z%nO~O!](ty!k(tya(ty'z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_'`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q'z$|q(a$|q(r$|q!k$|q!Y$|q'w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja'z'ja(a'ja(r'ja!k'ja!Y'ja'w'jav'ja!_'ja%i'ja!g'ja~P&5RO#k'laP'laR'la['laa'laj'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la'z'la(a'la(r'la!k'la!Y'la'w'lav'la!_'la%i'la!g'la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq'z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq'w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]'Yi!k'Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa'y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca'y%ca(y%ca~P&LQOn>^O!Q*OO'y*PO(z%PO~P&IyOn>^O!Q*OO'y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a'y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO'y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO'y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO'y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P''VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]'ei!k'ei~O!g#vO(r'pO!]'ei!k'ei~O!]/pO!k)Oq~O!Y'gi!]'gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r'pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]'na!_'na~P#/sOa%[q!_%[q'z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]'pa!^'pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_'`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P''VO!Q*OO'y*PO(z%POP'iaR'ia['iaj'ian'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia$O'ia(a'ia(r'ia(y'ia!]'ia!^'ia~O!Q*OO'y*POP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'
2450ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka$O'ka(a'ka(r'ka(y'ka(z'ka!]'ka!^'ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai'y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci'y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]'eq!k'eq~O!]/pO!k)Oy~O!Y'gq!]'gq~P#/sOr:|O!g#vO(r'pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y'z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P''VO!Q*OO'y*PO(z%POP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja$O'ja(a'ja(r'ja(y'ja!]'ja!^'ja~O!Q*OO'y*POP'laR'la['laj'lan'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la$O'la(a'la(r'la(y'la(z'la!]'la!^'la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P''VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r'pO~O[;kO!Y;hO~P#/sO!]'pq!^'pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z'z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z'w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r'pO~O!Y;uO~P#/sOr;|O!g#vO(r'pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P''VOr<QO!g#vO(r'pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P'LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P'LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X'|(U#ps#n#qr!Q'}$]'}(T$_(e~",goto:"$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP! eI[PPPI[PI[P!#lI[P!'S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$ b$ i$ qPPP$']P$'f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ'`-e1o5{Q%tvQ%|yQ&T|Q&j!VS'W!e-]Q'f!iS'l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c'_Q-m'gQ-u'mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|'W'_'`'l'm'n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q'U!eS'[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'b'r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z'X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ'c!hQ'e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l'f'gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;
2450T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW'[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ'Y!eR2q-]!W!nQ!e!r!v!y!z$|'W'_'`'l'm'n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q'v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j'dQ-w'oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p'iQ)P#zS+b%q.|S.c(n(pR3^.d'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ'a!hQ+e%wQ-h'cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ'`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r'`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p'iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}Q't!uS(f#g2US-s'k'wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ's!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r'k't'wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ'`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n'XU']!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n'X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{'T'b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*
2450x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R'OQ-S'QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q'y!{R-y'ySsOtQ#dXT%ps#dQ#OTR'{#OQ#RUR'}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^'YR2r-^Q.u(yS3m.u3nR3n.vQ-e'`R2v-eY!rQ'`-e1o5{R'j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a']R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p'k's't'wQ-w'oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ'd!iQ'o!uU+m%{%|%}Q-W'VU-k'e'f'gS-o'k'uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W'h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T'T/nQ-g'bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{'T'b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z'X2pQ-x'rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}
2450Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i<VR)f$dY!uQ'`-e1o5{Q'k!rS'u!v!yS'w!z5}S-t'l'mQ-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"â ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:agt,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,12
24500,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[ugt],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b'|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j'}0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b'}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(V':f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$d`(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(Y';W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}
2450sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Wp!X7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}
2450#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#s(Ch(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;
2450=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b'|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[ogt,sgt,lgt,cgt,2,3,4,5,6,7,8,9,10,11,12,13,14,igt,new sy("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new sy("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>dgt[e]||-1},{term:343,get:e=>fgt[e]||-1},{term:95,get:e=>hgt[e]||-1}],tokenPrec:15201}),$W=[$i("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),$i("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),$i("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),$i("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),$i("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),$i(`try { 2451 \${} 2452} catch (\${error}) { 2453 \${} 2454}`,{label:"try",detail:"/ catch block",type:"keyword"}),$i("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),$i(`if (\${}) { 2455 \${} 2456} else { 2457 \${} 2458}`,{label:"if",detail:"/ else block",type:"keyword"}),$i(`class \${name} { 2459 constructor(\${params}) { 2460 \${} 2461 } 2462}`,{label:"class",detail:"definition",type:"keyword"}),$i('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),$i('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],mgt=$W.concat([$i("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),$i("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),$i("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),AP=new CX,PW=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Zp(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const ggt=["FunctionDeclaration"],bgt={FunctionDeclaration:Zp("function"),ClassDeclaration:Zp("class"),ClassExpression:()=>!0,EnumDeclaration:Zp("constant"),TypeAliasDeclaration:Zp("type"),NamespaceDeclaration:Zp("namespace"),VariableDefinition(e,t){e.matchContext(ggt)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function IW(e,t){let n=AP.get(t);if(n)return n;let r=[],a=!0;function i(o,s){let l=e.sliceString(o.from,o.to);r.push({label:l,type:s})}
vendor: 4,317 bytes, line 2462
2462return t.cursor(Ln.IncludeAnonymous).iterate(o=>{if(a)a=!1;else if(o.name){let s=bgt[o.name];if(s&&s(o,i)||PW.has(o.name))return!1}else if(o.to-o.from>8192){for(let s of IW(e,o.node))r.push(s);return!1}}),AP.set(t,r),r}const TP=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,RW=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function ygt(e){let t=Fr(e.state).resolveInner(e.pos,-1);if(RW.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&TP.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let a=t;a;a=a.parent)PW.has(a.name)&&(r=r.concat(IW(e.state.doc,a)));return{options:r,from:n?t.from:e.pos,validFor:TP}}const pl=ec.define({name:"javascript",parser:pgt.configure({props:[Wd.add({IfStatement:Zf({except:/^\s*({|else\b)/}),TryStatement:Zf({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Ept,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:Hx({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Zf({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}}),Yd.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":vO,BlockComment(e){return{from:e.from+2,to:e.to-2}},JSXElement(e){let t=e.firstChild;if(!t||t.name=="JSXSelfClosingTag")return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=(t=e.firstChild)===null||t===void 0?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),NW={test:e=>/^JSX/.test(e.name),facet:RX({commentTokens:{block:{open:"{/*",close:"*/}"}}})},MW=pl.configure({dialect:"ts"},"typescript"),LW=pl.configure({dialect:"jsx",props:[oA.add(e=>e.isTop?[NW]:void 0)]}),DW=pl.configure({dialect:"jsx ts",props:[oA.add(e=>e.isTop?[NW]:void 0)]},"typescript");let BW=e=>({label:e,type:"keyword"});const UW="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(BW),vgt=UW.concat(["declare","implements","private","protected","public"].map(BW));function Ogt(e={}){let t=e.jsx?e.typescript?DW:LW:e.typescript?MW:pl,n=e.typescript?mgt.concat(vgt):$W.concat(UW);return new gp(t,[pl.data.of({autocomplete:emt(RW,YX(n))}),pl.data.of({autocomplete:ygt}),e.jsx?xgt:[]])}function Sgt(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 EP(e,t,n=e.length){for(let r=t==null?void 0: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 wgt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),xgt=ut.inputHandler.of((e,t,n,r,a)=>{if((wgt?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!pl.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c;let{head:u}=l,d=Fr(o).resolveInner(u-1,-1),f;if(d.name=="JSXStartTag"&&(d=d.parent),!(o.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 h=d.parent,p=h.parent;if(p&&h.from==u-2&&((f=EP(o.doc,p.firstChild,u))||((c=p.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:Fe.cursor(u+m.length,-1),changes:{from:u,insert:m}}}}else if(r==">
2462"){let h=Sgt(d);if(h&&h.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(u,u+2))&&(f=EP(o.doc,h,u)))return{range:l,changes:{from:u,insert:`</${f}>`}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),Xp=["_blank","_self","_top","_parent"],jS=["ascii","utf-8","utf-16","latin1","latin1"],FS=["get","post","put","delete"],QS=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Yi=["true","false"],xt={},kgt={a:{attrs:{href:null,ping:null,type:null,media:null,target:Xp,hreflang:null}},abbr:xt,address:xt,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:xt,aside:xt,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:xt,base:{attrs:{href:null,target:Xp}},bdi:xt,bdo:xt,blockquote:{attrs:{cite:null}},body:xt,br:xt,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:QS,formmethod:FS,formnovalidate:["novalidate"],formtarget:Xp,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:xt,center:xt,cite:xt,code:xt,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:xt,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:xt,div:xt,dl:xt,dt:xt,em:xt,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:xt,figure:xt,footer:xt,form:{attrs:{action:null,name:null,"accept-charset":jS,autocomplete:["on","off"],enctype:QS,method:FS,novalidate:["novalidate"],target:Xp}},h1:xt,h2:xt,h3:xt,h4:xt,h5:xt,h6:xt,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:xt,hgroup:xt,hr:xt,html:{attrs:{manifest:null}},i:xt,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,
vendor: 5,089 bytes, line 2462
2462step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:QS,formmethod:FS,formnovalidate:["novalidate"],formtarget:Xp,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:xt,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:xt,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:xt,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:jS,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:xt,noscript:xt,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:xt,param:{attrs:{name:null,value:null}},pre:xt,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:xt,rt:xt,ruby:xt,samp:xt,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:jS}},section:xt,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:xt,source:{attrs:{src:null,type:null,media:null}},span:xt,strong:xt,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:xt,summary:xt,sup:xt,table:xt,tbody:xt,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:xt,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:xt,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:xt,time:{attrs:{datetime:null}},title:xt,tr:xt,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:xt,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:xt},jW={accesskey:null,class:null,contenteditable:Yi,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:Yi,autocorrect:Yi,autocapitalize:Yi,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":Yi,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Yi,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Yi,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Yi,"aria-hidden":Yi,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Yi,"aria-multiselectable":Yi,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Yi,"aria-relevant":null,"aria-required":Yi,"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},FW="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
2462split(" ").map(e=>"on"+e);for(let e of FW)jW[e]=null;class uy{constructor(t,n){this.tags={...kgt,...t},this.globalAttrs={...jW,...n},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}uy.default=new uy;function wd(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}function Rh(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function QW(e,t,n){let r=n.tags[wd(e,Rh(t))];return(r==null?void 0:r.children)||n.allTags}function wA(e,t){let n=[];for(let r=Rh(t);r&&!r.type.isTop;r=Rh(r.parent)){let a=wd(e,r);if(a&&r.lastChild.name=="CloseTag")break;a&&n.indexOf(a)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(a)}return n}const zW=/^[:\-\.\w\u00b7-\uffff]*$/;function _P(e,t,n,r,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">",o=Rh(n,n.name=="StartTag"||n.name=="TagName");return{from:r,to:a,options:QW(e.doc,o,t).map(s=>({label:s,type:"type"})).concat(wA(e.doc,n).map((s,l)=>({label:"/"+s,apply:"/"+s+i,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function CP(e,t,n,r){let a=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:wA(e.doc,t).map((i,o)=>({label:i,apply:i+a,type:"type",boost:99-o})),validFor:zW}}function Agt(e,t,n,r){let a=[],i=0;for(let o of QW(e.doc,n,t))a.push({label:"<"+o,type:"type"});for(let o of wA(e.doc,n))a.push({label:"</"+o+">",type:"type",boost:99-i++});return{from:r,to:r,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Tgt(e,t,n,r,a){let i=Rh(n),o=i?t.tags[wd(e.doc,i)]:null,s=o&&o.attrs?Object.keys(o.attrs):[],l=o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:a,options:l.map(c=>({label:c,type:"property"})),validFor:zW}}function Egt(e,t,n,r,a){var i;let o=(i=n.parent)===null||i===void 0?void 0:i.getChild("AttributeName"),s=[],l;if(o){let c=e.sliceDoc(o.from,o.to),u=t.globalAttrs[c];if(!u){let d=Rh(n),f=d?t.tags[wd(e.doc,d)]:null;u=(f==null?void 0:f.attrs)&&f.attrs[c]}if(u){let d=e.sliceDoc(r,a).toLowerCase(),f='"',h='"';/^['"]/.test(d)?(l=d[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",h=e.sliceDoc(a,a+1)==d[0]?"":d[0],d=d.slice(1),r++):l=/^[^\s<>='"]*$/;for(let p of u)s.push({label:p,apply:f+p+h,type:"constant"})}}return{from:r,to:a,options:s,validFor:l}}function _gt(e,t){let{state:n,pos:r}=t,a=Fr(n).resolveInner(r,-1),i=a.resolve(r);for(let o=r,s;i==a&&(s=a.childBefore(o));){let l=s.lastChild;if(!l||!l.type.isError||l.from<l.to)break;i=a=s,o=l.from}return a.name=="TagName"?a.parent&&/CloseTag$/.test(a.parent.name)?CP(n,a,a.from,r):_P(n,e,a,a.from,r):a.name=="StartTag"||a.name=="IncompleteTag"?_P(n,e,a,r,r):a.name=="StartCloseTag"||a.name=="IncompleteCloseTag"?CP(n,a,r,r):a.name=="OpenTag"||a.name=="SelfClosingTag"||a.name=="AttributeName"?Tgt(n,e,a,a.name=="AttributeName"?a.from:r,r):a.name=="Is"||a.name=="AttributeValue"||a.name=="UnquotedAttributeValue"?Egt(n,e,a,a.name=="Is"?r:a.from,r):t.explicit&&(i.name=="Element"||i.name=="Text"||i.name=="Document")?Agt(n,e,a,r):null}function Cgt(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new uy(t,n):uy.default;return a=>_gt(r,a)}const $gt=pl.parser.configure({top:"SingleExpression"}),HW=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:MW.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:LW.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:DW.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:$gt},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:pl.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:ly.parser}],VW=[{name:"style",parser:ly.parser.configure({top:"Styles"})}].concat(FW.map(e=>({name:e,parser:pl.parser}))),qW=ec.define({name:"html",parser:D1t.configure({props:[Wd.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)}
2462,"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 a=r.lastChild;if(!a||a.name!="Element"||a.to!=r.to)break;t=r=a}return t&&!((n=t.lastChild)&&(n.name=="CloseTag"||n.name=="SelfClosingTag"))?e.lineIndent(t.from)+e.unit:null}}),Yd.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}}}),cA.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),C2=qW.configure({wrap:_W(HW,VW)});function Pgt(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=_W((e.nestedLanguages||[]).concat(HW),(e.nestedAttributes||[]).concat(VW)));let r=n?qW.configure({wrap:n,dialect:t}):t?C2.configure({dialect:t}):C2;return new gp(r,[C2.data.of({autocomplete:Cgt(e)}),e.autoCloseTags!==!1?Rgt:[],Ogt().support,yW().support])}const $P=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "));function Igt(e,t,n){for(var r;;){if(((r=t.lastChild)===null||r===void 0?void 0:r.name)!="CloseTag")return!1;let a=t.parent;if(!a||wd(e,a)!=n)return!0;t=a}}const Rgt=ut.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!C2.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c;let u=o.doc.sliceString(l.from-1,l.to)==r,{head:d}=l,f=Fr(o).resolveInner(d,-1),h;if(u&&r==">"&&f.name=="EndTag"){let p=f.parent;if((h=wd(o.doc,p.parent,d))&&!$P.has(h)&&!Igt(o.doc,p.parent,h)){let m=d+(o.doc.sliceString(d,d+1)===">"?1:0),g=`</${h}>`;return{range:l,changes:{from:d,to:m,insert:g}}}}else if(u&&r=="/"&&f.name=="IncompleteCloseTag"){let p=f.parent;if(f.from==d-2&&((c=p.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(h=wd(o.doc,p,d))&&!$P.has(h)){let m=d+(o.doc.sliceString(d,d+1)===">"?1:0),g=`${h}>`;return{range:Fe.cursor(d+g.length,-1),changes:{from:d,to:m,insert:g}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),Ngt=Xd({String:W.string,Number:W.number,"True False":W.bool,PropertyName:W.propertyName,Null:W.null,", :":W.separator,"[ ]":W.squareBracket,"{ }":W.brace}),Mgt=tc.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:[Ngt],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}),Lgt=ec.define({name:"json",parser:Mgt.configure({props:[Wd.add({Object:Zf({except:/^\s*\}/}),Array:Zf({except:/^\s*\]/})}),Yd.add({"Object Array":vO})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Dgt(){return new gp(Lgt)}const t8=1,Bgt=2,Ugt=3,jgt=4,Fgt=5,Qgt=36,zgt=37,Hgt=38,Vgt=11,qgt=13;function Zgt(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function Xgt(e){return e==9||e==10||e==13||e==32}let PP=null,IP=null,RP=0;function n8(e,t){let n=e.pos+t;if(IP==e&&RP==n)return PP;for(;Xgt(e.peek(t));)t++;let r="";for(;;){let a=e.peek(t);if(!Zgt(a))break;r+=String.fromCharCode(a),t++}return IP=e,RP=n,PP=r||null}function NP(e,t){this.name=e,this.parent=t}const Wgt=new wO({start:null,shift(e,t,n,r){return t==t8?new NP(n8(r,1)||"",e):e},reduce(e,t){return t==Vgt&&e?e.parent:e},reuse(e,t,n,r){let a=t.type.id;return a==t8||a==qgt?new NP(n8(r,1)||"",e):e},strict:!1}),Ygt=new ma((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=n8(e,0);if(!n)return e.acceptToken(Fgt);if(t.context&&n==t.context.name)return e.acceptToken(Bgt);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(Ugt,-2);e.acceptToken(jgt)}else if(e.next!=33&&e.next!=63)return e.acceptToken(t8)}},{contextual:!0});function xA(e,t){return new ma(n=>{let r=0,a=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==a){for(let i=1;i<t.length;i++)if(n.peek(i)!=t.charCodeAt(i))continue e;break}r&&n.acceptToken(e)})}const Ggt=xA(Qgt,"-->"),Kgt=xA(zgt,"?>"),Jgt=xA(Hgt,"]]>"),e2t=Xd({Text:W.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":W.angleBracket,TagName:W.tagName,"MismatchedCloseTag/TagName":[W.tagName,W.invalid],AttributeName:W.attributeName,AttributeValue:W.attributeValue,Is:W.definitionOperator,"EntityReference CharacterReference":W.character,Comment:W.blockComment,ProcessingInst:W.processingInstruction,DoctypeDecl:W.documentMeta,Cdata:W.special(W.string)}),t2t=tc.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:Wgt,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["o
2462penedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[e2t],skippedNodes:[0],repeatNodeCount:9,tokenData:
vendor: 4,444 bytes, line 2462
2462"!)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",
2462tokenizers:[Ygt,Ggt,Kgt,Jgt,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function $2(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function zS(e,t){let n=t&&t.firstChild;return!n||n.name!="OpenTag"?"":$2(e,n)}function n2t(e,t,n){let r=t&&t.getChildren("Attribute").find(i=>i.from<=n&&i.to>=n),a=r&&r.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function HS(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function r2t(e,t){var n;let r=Fr(e).resolveInner(t,-1),a=null;for(let i=r;!a&&i.parent;i=i.parent)(i.name=="OpenTag"||i.name=="CloseTag"||i.name=="SelfClosingTag"||i.name=="MismatchedCloseTag")&&(a=i);if(a&&(a.to>t||a.lastChild.type.isError)){let i=a.parent;if(r.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:r.from,context:i}:{type:"openTag",from:r.from,context:HS(i)};if(r.name=="AttributeName")return{type:"attrName",from:r.from,context:a};if(r.name=="AttributeValue")return{type:"attrValue",from:r.from,context:a};let o=r==a||r.name=="Attribute"?r.childBefore(t):r;return(o==null?void 0:o.name)=="StartTag"?{type:"openTag",from:t,context:HS(i)}:(o==null?void 0:o.name)=="StartCloseTag"&&o.to<=t?{type:"closeTag",from:t,context:i}:(o==null?void 0:o.name)=="Is"?{type:"attrValue",from:t,context:a}:o?{type:"attrName",from:t,context:a}: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:HS(r)}:null}let a2t=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(a=>({label:a,type:"text"})):[]}};const VS=/^[:\-\.\w\u00b7-\uffff]*$/;function MP(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function LP(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function i2t(e,t){let n=[],r=[],a=Object.create(null);for(let l of t){let c=MP(l);n.push(c),l.global&&r.push(c),l.values&&(a[l.name]=l.values.map(LP))}let i=[],o=[],s=Object.create(null);for(let l of e){let c=r,u=a;l.attributes&&(c=c.concat(l.attributes.map(f=>typeof f=="string"?n.find(h=>h.label==f)||{label:f,type:"property"}:(f.values&&(u==a&&(u=Object.create(u)),u[f.name]=f.values.map(LP)),MP(f)))));let d=new a2t(l,c,u);s[d.name]=d,i.push(d),l.top&&o.push(d)}o.length||(o=i);for(let l=0;l<i.length;l++){let c=e[l],u=i[l];if(c.children)for(let d of c.children)s[d]&&u.children.push(s[d]);else u.children=i}return l=>{var c;let{doc:u}=l.state,d=r2t(l.state,l.pos);if(!d||d.type=="tag"&&!l.explicit)return null;let{type:f,from:h,context:p}=d;if(f=="openTag"){let m=o,g=zS(u,p);if(g){let v=s[g];m=(v==null?void 0:v.children)||i}return{from:h,options:m.map(v=>v.completion),validFor:VS}}else if(f=="closeTag"){let m=zS(u,p);return m?{from:h,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:VS}:null}else if(f=="attrName"){let m=s[$2(u,p)];return{from:h,options:(m==null?void 0:m.attrs)||r,validFor:VS}}else if(f=="attrValue"){let m=n2t(u,p,h);if(!m)return null;let g=s[$2(u,p)],v=((g==null?void 0:g.attrValues)||a)[m];return!v||!v.length?null:{from:h,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:v,validFor:/^"[^"]*"?$/}}else if(f=="tag"){let m=zS(u,p),g=s[m],v=[],k=p&&p.lastChild;m&&(!k||k.name!="CloseTag"||$2(u,k)!=m)&&v.push(g?g.closeCompletion:{label:"</"+m+">",type:"type",boost:2});let S=v.concat(((g==null?void 0:g.children)||(p?i:o)).map(A=>A.openCompletion));if(p&&(g!=null&&g.text.length)){let A=p.firstChild;A.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(A.to,l.pos))&&(S=S.concat(g.text))}return{from:h,options:S,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const r8=ec.define({name:"xml",parser:t2t.configure({props:[Wd.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)}
vendor: 7,244 bytes, line 2462
2462,"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Yd.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}}}),cA.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function o2t(e={}){let t=[r8.data.of({autocomplete:i2t(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(s2t),new gp(r8,t)}function DP(e,t,n=e.length){if(!t)return"";let r=t.firstChild,a=r&&r.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,n)):""}const s2t=ut.inputHandler.of((e,t,n,r,a)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!r8.isActiveAt(e.state,t,-1))return!1;let i=a(),{state:o}=i,s=o.changeByRange(l=>{var c,u,d;let{head:f}=l,h=o.doc.sliceString(f-1,f)==r,p=Fr(o).resolveInner(f,-1),m;if(h&&r==">"&&p.name=="EndTag"){let g=p.parent;if(((u=(c=g.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(m=DP(o.doc,g.parent,f))){let v=f+(o.doc.sliceString(f,f+1)===">"?1:0),k=`</${m}>`;return{range:l,changes:{from:f,to:v,insert:k}}}}else if(h&&r=="/"&&p.name=="StartCloseTag"){let g=p.parent;if(p.from==f-2&&((d=g.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(m=DP(o.doc,g,f))){let v=f+(o.doc.sliceString(f,f+1)===">"?1:0),k=`${m}>`;return{range:Fe.cursor(f+k.length,-1),changes:{from:f,to:v,insert:k}}}}return{range:l}});return s.changes.empty?!1:(e.dispatch([i,o.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),Sf=63,BP=64,l2t=1,c2t=2,ZW=3,u2t=4,XW=5,d2t=6,f2t=7,WW=65,h2t=66,p2t=8,m2t=9,g2t=10,b2t=11,y2t=12,YW=13,v2t=19,O2t=20,S2t=29,w2t=33,x2t=34,k2t=47,A2t=0,kA=1,a8=2,S0=3,i8=4;class ju{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}}ju.top=new ju(null,-1,A2t);function Mm(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let a=e.peek(r);if(nc(a)||a==-1)return n}}function o8(e){return e==32||e==9}function nc(e){return e==10||e==13}function GW(e){return o8(e)||nc(e)}function ed(e){return e<0||GW(e)}const T2t=new wO({start:ju.top,reduce(e,t){return e.type==S0&&(t==O2t||t==x2t)?e.parent:e},shift(e,t,n,r){if(t==ZW)return new ju(e,Mm(r,r.pos),kA);if(t==WW||t==XW)return new ju(e,Mm(r,r.pos),a8);if(t==Sf)return e.parent;if(t==v2t||t==w2t)return new ju(e,0,S0);if(t==YW&&e.type==i8)return e.parent;if(t==k2t){let a=/[1-9]/.exec(r.read(r.pos,n.pos));if(a)return new ju(e,e.depth+ +a[0],i8)}return e},hash(e){return e.hash}});function Nh(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&ed(e.peek(n+3))}const E2t=new ma((e,t)=>{if(e.next==-1&&t.canShift(BP))return e.acceptToken(BP);let n=e.peek(-1);if((nc(n)||n<0)&&t.context.type!=S0){if(Nh(e,45))if(t.canShift(Sf))e.acceptToken(Sf);else return e.acceptToken(l2t,3);if(Nh(e,46))if(t.canShift(Sf))e.acceptToken(Sf);else return e.acceptToken(c2t,3);let r=0;for(;e.next==32;)r++,e.advance();(r<t.context.depth||r==t.context.depth&&t.context.type==kA&&(e.next!=45||!ed(e.peek(1))))&&e.next!=-1&&!nc(e.next)&&e.next!=35&&e.acceptToken(Sf,-r)}},{contextual:!0}),_2t=new ma((e,t)=>{if(t.context.type==S0){e.next==63&&(e.advance(),ed(e.next)&&e.acceptToken(f2t));return}if(e.next==45)e.advance(),ed(e.next)&&e.acceptToken(t.context.type==kA&&t.context.depth==Mm(e,e.pos-1)?u2t:ZW);else if(e.next==63)e.advance(),ed(e.next)&&e.acceptToken(t.context.type==a8&&t.context.depth==Mm(e,e.pos-1)?d2t:XW);else{let n=e.pos;for(;;)if(o8(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)KW(e);else if(e.next==38)s8(e);else if(e.next==42){s8(e);break}else if(e.next==39||e.next==34){if(AA(e,!0))break;return}else if(e.next==91||e.next==123){if(!$2t(e))return;break}else{JW(e,!0,!1,0);break}for(;o8(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(S2t))return;let r=e.peek(1);ed(r)&&e.acceptTokenTo(t.context.type==a8&&t.context.depth==Mm(e,n)?h2t:WW,n)}}},{contextual:!0});function C2t(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 UP(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function jP(e,t){return e.next==37?(e.advance(),UP(e.next)&&e.advance(),UP(e.next)&&e.advance(),!0):C2t(e.next)||t&&e.next==44?(e.advance(),!0):!1}function KW(e){if(e.advance(),e.next==60){for(e.advance();;)if(!jP(e,!0)){e.next==62&&e.advance();break}}else for(;jP(e,!1););}function s8(e){for(e.advance();!ed(e.next)&&dy(e.next)!="f";)e.advance()}function AA(e,t){let n=e.next,r=!1,a=e.pos;for(e.advance();;){let i=e.next;if(i<0)break;if(e.advance(),i==n)if(i==39)if(e.next==39)e.advance();else break;else break;else if(i==92&&n==34)e.next>=0&&e.advance();else if(nc(i)){if(t)return!1;r=!0}else if(t&&e.pos>=a+1024)return!1}return!r}function $2t(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(!AA(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||nc(e.next))return!1;e.advance()}}const P2t="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function dy(e){return e<33?"u":e>125?"s":P2t[e-33]}function qS(e,t){let n=dy(e);return n!="u"&&!(t&&n=="f")}function JW(e,t,n,r){if(dy(e.next)=="s"||(e.next==63||e.next==58||e.next==45)&&qS(e.peek(1),n))e.advance();else return!1;let a=e.pos;for(;;){let i=e.next,o=0,s=r+1;for(;GW(i);){if(nc(i)){if(t)return!1;s=0}else s++;i=e.peek(++o)}if(!(i>=0&&(i==58?qS(e.peek(o+1),n):i==35?e.peek(o-1)!=32:qS(i,n)))||!n&&s<=r||s==0&&!n&&(Nh(e,45,o)||Nh(e,46,o)))break;if(t&&dy(i)=="f")return!1;for(let c=o;c>=0;c--)e.advance();if(t&&e.pos>a+1024)return!1}return!0}const I2t=new ma((e,t)=>{if(e.next==33)KW(e),e.acceptToken(y2t);else if(e.next==38||e.next==42){let n=e.next==38?g2t:b2t;s8(e),e.acceptToken(n)}else e.next==39||e.next==34?(AA(e,!1),e.acceptToken(m2t)):JW(e,!1,t.context.type==S0,t.context.depth)&&e.acceptToken(p2t)}),R2t=new ma((e,t)=>{let n=t.context.type==i8?t.context.depth:-1,r=e.pos;e:for(;;){let a=0,i=e.next;for(;i==32;)i=e.peek(++a);if(!a&&(Nh(e,45,a)||Nh(e,46,a))||!nc(i)&&(n<0&&(n=Math.max(t.context.depth+1,a)),a<n))break;for(;;){if(e.next<0)break e;let o=nc(e.next);if(e.advance(),o)continue e;r=e.pos}}e.acceptTokenTo(YW,r)}),N2t=Xd({DirectiveName:W.keyword,DirectiveContent:W.attributeValue,"DirectiveEnd DocEnd":W.meta,QuotedLiteral:W.string,BlockLiteralHeader:W.special(W.string),BlockLiteralContent:W.content,Literal:W.content,"Key/Literal Key/QuotedLiteral":W.definition(W.propertyName),"Anchor Alias":W.labelName,Tag:W.typeName,Comment:W.lineComment,": , -":W.separator,"?":W.punctuation,"[ ]":W.squareBracket,"{ }":W.brace}),M2t=tc.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-s
2462QgO'#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:T2t,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[N2t],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}
2462![#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:[E2t,_2t,I2t,R2t,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),L2t=ec.define({name:"yaml",parser:M2t.configure({props:[Wd.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.firstChild.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:Hx({closing:"}"}),FlowSequence:Hx({closing:"]"})}),Yd.add({"FlowMapping FlowSequence":vO,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function D2t(){return new gp(L2t)}class FP{constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class Fu{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let a=r.facet(il).markerFilter;a&&(t=a(t,r));let i=t.slice().sort((h,p)=>h.from-p.from||h.to-p.to),o=new hl,s=[],l=0,c=r.doc.iter(),u=0,d=r.doc.length;for(let h=0;;){let p=h==i.length?null:i[h];if(!p&&!s.length)break;let m,g;if(s.length)m=l,g=s.reduce((S,A)=>Math.min(S,A.to),p&&p.from>m?p.from:1e8);else{if(m=p.from,m>d)break;g=p.to,s.push(p),h++}for(;h<i.length;){let S=i[h];if(S.from==m&&(S.to>S.from||S.to==m))s.push(S),h++,g=Math.min(S.to,g);else{g=Math.min(S.from,g);break}}g=Math.min(g,d);let v=!1;if(s.some(S=>S.from==m&&(S.to==g||g==d))&&(v=m==g,!v&&g-m<10)){let S=m-(u+c.value.length);S>0&&(c.next(S),u=m);for(let A=m;;){if(A>=g){v=!0;break}if(!c.lineBreak&&u+c.value.length>A)break;A=u+c.value.length,u+=c.value.length,c.next()}}let k=G2t(s);if(v)o.add(m,m,Ft.widget({widget:new Z2t(k),diagnostics:s.slice()}));else{let S=s.reduce((A,E)=>E.markClass?A+" "+E.markClass:A,"");o.add(m,g,Ft.mark({class:"cm-lintRange cm-lintRange-"+k+S,diagnostics:s.slice(),inclusiveEnd:s.some(A=>A.to>g)}))}if(l=g,l==d)break;for(let S=0;S<s.length;S++)s[S].to<=l&&s.splice(S--,1)}let f=o.finish();return new Fu(f,n,Mh(f))}}function Mh(e,t=null,n=0){let r=null;return e.between(n,1e9,(a,i,{spec:o})=>{if(!(t&&o.diagnostics.indexOf(t)<0))if(!r)r=new FP(a,i,t||o.diagnostics[0]);else{if(o.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new FP(r.from,i,r.diagnostic)}}),r}function B2t(e,t){let n=t.pos,r=t.end||n,a=e.state.facet(il).hideOn(e,n,r);if(a!=null)return a;let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(o=>o.is(TA))||e.changes.touchesRange(i.from,Math.max(i.to,r)))}function U2t(e,t){return e.field(ys,!1)?t:t.concat(on.appendConfig.of(aY))}function j2t(e,t){return{effects:U2t(e,[TA.of(t)])}}const TA=on.define(),eY=on.define(),tY=on.define(),ys=Zi.define({create(){return new Fu(Ft.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,a=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=Mh(n,e.selected.diagnostic,i)||Mh(n,null,i)}!n.size&&a&&t.state.facet(il).autoPanel&&(a=null),e=new Fu(n,a,r)}for(let n of t.effects)if(n.is(TA)){let r=t.state.facet(il).autoPanel?n.value.length?fy.open:null:e.panel;e=Fu.init(n.value,r,t.state)}
vendor: 8,992 bytes, line 2462
2462else n.is(eY)?e=new Fu(e.diagnostics,n.value?fy.open:null,e.selected):n.is(tY)&&(e=new Fu(e.diagnostics,e.panel,n.value));return e},provide:e=>[Bx.from(e,t=>t.panel),ut.decorations.from(e,t=>t.diagnostics)]}),F2t=Ft.mark({class:"cm-lintRange cm-lintRange-active"});function Q2t(e,t,n){let{diagnostics:r}=e.state.field(ys),a,i=-1,o=-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 a=u.diagnostics,i=l,o=c,!1});let s=e.state.facet(il).tooltipFilter;return a&&s&&(a=s(a,e.state)),a?{pos:i,end:o,above:!0,create(){return{dom:z2t(e,a)}}}:null}function z2t(e,t){return Js("ul",{class:"cm-tooltip-lint"},t.map(n=>rY(e,n,!1)))}const QP=e=>{let t=e.state.field(ys,!1);return!t||!t.panel?!1:(e.dispatch({effects:eY.of(!1)}),!0)},H2t=ha.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(il);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(il);n.length&&V2t(n.map(r=>Promise.resolve(r(this.view))),r=>{this.view.state.doc==t.doc&&this.view.dispatch(j2t(this.view.state,r.reduce((a,i)=>a.concat(i))))},r=>{wi(this.view.state,r)})}}update(e){let t=e.state.facet(il);(e.docChanged||t!=e.startState.facet(il)||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 V2t(e,t,n){let r=[],a=-1;for(let i of e)i.then(o=>{r.push(o),clearTimeout(a),r.length==e.length?t(r):a=setTimeout(()=>t(r),200)},n)}const il=st.define({combine(e){return{sources:e.map(t=>t.source).filter(t=>t!=null),...Zd(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:zP,tooltipFilter:zP,needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n,hideOn:(t,n)=>t?n?(r,a,i)=>t(r,a,i)||n(r,a,i):t:n,autoPanel:(t,n)=>t||n})}}});function zP(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function q2t(e,t={}){return[il.of({source:e,config:t}),H2t,aY]}function nY(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;r<n.length;r++){let a=n[r];if(/[a-zA-Z]/.test(a)&&!t.some(i=>i.toLowerCase()==a.toLowerCase())){t.push(a);continue e}}t.push("")}return t}function rY(e,t,n){var r;let a=n?nY(t.actions):[];return Js("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Js("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((i,o)=>{let s=!1,l=h=>{if(h.preventDefault(),s)return;s=!0;let p=Mh(e.state.field(ys).diagnostics,t);p&&i.apply(e,p.from,p.to)},{name:c}=i,u=a[o]?c.indexOf(a[o]):-1,d=u<0?c:[c.slice(0,u),Js("u",c.slice(u,u+1)),c.slice(u+1)],f=i.markClass?" "+i.markClass:"";return Js("button",{type:"button",class:"cm-diagnosticAction"+f,onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${a[o]})"`}.`},d)}),t.source&&Js("div",{class:"cm-diagnosticSource"},t.source))}class Z2t extends Go{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return Js("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class HP{constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=rY(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class fy{constructor(t){this.view=t,this.items=[];let n=a=>{if(!(a.ctrlKey||a.altKey||a.metaKey)){if(a.keyCode==27)QP(this.view),this.view.focus();else if(a.keyCode==38||a.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(a.keyCode==40||a.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(a.keyCode==36)this.moveSelection(0);else if(a.keyCode==35)this.moveSelection(this.items.length-1);else if(a.keyCode==13)this.view.focus();else if(a.keyCode>=65&&a.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:i}=this.items[this.selectedIndex],o=nY(i.actions);for(let s=0;s<o.length;s++)if(o[s].toUpperCase().charCodeAt(0)==a.keyCode){let l=Mh(this.view.state.field(ys).diagnostics,i);l&&i.actions[s].apply(t,l.from,l.to)}}else return;a.preventDefault()}},r=a=>{for(let i=0;i<this.items.length;i++)this.items[i].dom.contains(a.target)&&this.moveSelection(i)};this.list=Js("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:n,onclick:r}),this.dom=Js("div",{class:"cm-panel-lint"},this.list,Js("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>QP(this.view)},"Ã")),this.update()}get selectedIndex(){let t=this.view.state.field(ys).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(ys),r=0,a=!1,i=null,o=new Set;for(t.between(0,this.view.state.doc.length,(s,l,{spec:c})=>{for(let u of c.diagnostics){if(o.has(u))continue;o.add(u);let d=-1,f;for(let h=r;h<this.items.length;h++)if(this.items[h].diagnostic==u){d=h;break}d<0?(f=new HP(this.view,u),this.items.splice(r,0,f),a=!0):(f=this.items[d],d>r&&(this.items.splice(r,d-r),a=!0)),n&&f.diagnostic==n.diagnostic?f.dom.hasAttribute("aria-selected")||(f.dom.setAttribute("aria-selected","true"),i=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);)a=!0,this.items.pop();this.items.length==0&&(this.items.push(new HP(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),a=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.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"),a&&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(ys),r=Mh(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:tY.of(r)})}static open(t){return new fy(t)}}function X2t(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 Zg(e){return X2t(`<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 W2t=ut.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:Zg("#f11")},".cm-lintRange-warning":{backgroundImage:Zg("orange")},".cm-lintRange-info":{backgroundImage:Zg("#999")},".cm-lintRange-hint":{backgroundImage:Zg("#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}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});
2462function Y2t(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function G2t(e){let t="hint",n=1;for(let r of e){let a=Y2t(r.severity);a>n&&(n=a,t=r.severity)}return t}const K2t=Lht(Q2t,{hideOn:B2t}),aY=[ys,ut.decorations.compute([ys],e=>{let{selected:t,panel:n}=e.field(ys);return!t||!n||t.from==t.to?Ft.none:Ft.set([F2t.range(t.from,t.to)])}),K2t,W2t],J2t=({theme:e,settings:t={},styles:n=[]})=>{const r={".cm-gutters":{}},a={};t.background&&(a.backgroundColor=t.background),t.backgroundImage&&(a.backgroundImage=t.backgroundImage),t.foreground&&(a.color=t.foreground),t.fontSize&&(a.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=a),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 i={};t.gutterActiveForeground&&(i.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},i.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=i,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 o=ut.theme(r,{dark:e==="dark"}),s=w1.define(n);return[o,VX(s)]},ebt=J2t({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:[W.standard(W.tagName),W.tagName],color:"var(--scalar-color-purple)"},{tag:[W.comment],color:"var(--scalar-color-3)"},{tag:[W.className],color:"var(--scalar-color-orange)"},{tag:[W.variableName,W.propertyName,W.attributeName],color:"var(--scalar-color-1)"},{tag:[W.operator],color:"var(--scalar-color-2)"},{tag:[W.keyword,W.typeName,W.typeOperator],color:"var(--scalar-color-green)"},{tag:[W.string],color:"var(--scalar-color-blue)"},{tag:[W.bracket,W.regexp,W.meta],color:"var(--scalar-color-3)"},{tag:[W.number],color:"var(--scalar-color-orange)"},{tag:[W.name,W.quote],color:"var(--scalar-color-3)"},{tag:[W.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[W.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[W.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[W.atom,W.bool,W.special(W.variableName)],color:"var(--scalar-color-3)"},{tag:[W.url,W.escape,W.regexp,W.link],color:"var(--scalar-color-1)"},{tag:W.link,textDecoration:"underline"},{tag:W.strikethrough,textDecoration:"line-through"},{tag:W.invalid,color:"var(--scalar-color-3)"}]}),VP=new OX({regexp:/(\{[^}]+\})/g,decoration:()=>Ft.mark({attributes:{class:"api-client-url-variable"}})}),tbt=()=>ha.fromClass(class{constructor(e){Zr(this,"variables");this.variables=VP.createDeco(e)}update(e){this.variables=VP.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>ut.atomicRanges.of(t=>{var n;return((n=t.plugin(e))==null?void 0:n.variables)||Ft.none})}),qP='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>',ZP='<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>';ut.EDIT_CONTEXT=!1;const ff=e=>"provider"in e&&!!Ve(e.provider),nbt={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},j4t=e=>{const t=J(null),n=(i="")=>{t.value&&t.value.state.doc.toString()!==i&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:i},selection:{anchor:Math.min(t.value.state.selection.main.anchor,i.length)}})},r=$(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:Ve(e.disableTabIndent),language:Ve(e.language),classes:Ve(e.classes),readOnly:Ve(e.readOnly),lineNumbers:Ve(e.lineNumbers),withVariables:Ve(e.withVariables),forceFoldGutter:Ve(e.forceFoldGutter),disableEnter:Ve(e.disableEnter),disableCloseBrackets:Ve(e.disableCloseBrackets),withoutTheme:Ve(e.withoutTheme),lint:Ve(e.lint),additionalExtensions:Ve(e.extensions),placeholder:Ve(e.placeholder)}));ze(e.codeMirrorRef,()=>{var i;(i=t.value)==null||i.destroy(),a()},{immediate:!0}),Qa(()=>{var i;return(i=t.value)==null?void 0:i.destroy()});function a(){if(e.codeMirrorRef.value){const i=ff(e)?Ve(e.provider):null,o=WP({...r.value,provider:i});t.value=new ut({parent:e.codeMirrorRef.value,extensions:o}),ff(e)||n(Ve(e.content))}}return ze(()=>ff(e)?Ve(e.provider):null,()=>{var i;ff(e)&&((i=t.value)==null||i.destroy(),a())}),ze(r,()=>{if(!t.value)return;const i=ff(e)?Ve(e.provider):null,o=WP({...r.value,provider:i});requestAnimationFrame(()=>{var s;(s=t.value)==null||s.dispatch({effects:on.reconfigure.of(o)})})},{immediate:!0}),ze(()=>Ve(e.content),()=>{ff(e)||n(Ve(e.content))},{immediate:!0}
2462),{setCodeMirrorContent:n,codeMirror:t}},XP={html:Pgt,json:Dgt,yaml:D2t,css:yW,xml:o2t};function WP({onChange:e,onBlur:t,onFocus:n,provider:r,language:a,classes:i=[],readOnly:o=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:f=!1,withoutTheme:h=!1,lint:p=!1,additionalExtensions:m=[],placeholder:g}){const v=[Oht(),Gmt(),Xs.of(o0t),VX(Fpt,{fallback:!0}),ut.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-foldGutter .cm-gutterElement":{display:"flex",alignItems:"center",paddingLeft:"4px"},".cm-foldMarker":{display:"flex",alignItems:"center",justifyContent:"center",height:"22px",color:"var(--scalar-color-3)",cursor:"pointer"},".cm-foldMarker:hover":{color:"var(--scalar-color-1)"},".cm-foldMarker svg":{width:"16px",height:"16px"},".cm-tooltip":{background:"var(--scalar-background-1)",border:"1px solid var(--scalar-border-color)",borderRadius:"var(--scalar-radius)",boxShadow:"var(--scalar-shadow-2)",fontSize:"12px",overflow:"hidden"},".cm-tooltip-autocomplete ul":{padding:"6px"},".cm-tooltip-autocomplete ul li":{padding:"3px 6px",color:"var(--scalar-color-1)",borderRadius:"3px"},".cm-tooltip-autocomplete ul li[aria-selected]":{background:"var(--scalar-background-2)",color:"var(--scalar-color-1)"},".cm-tooltip-autocomplete ul li:hover":{background:"var(--scalar-background-3)",color:"var(--scalar-color-1)"},".cm-completionLabel":{color:"var(--scalar-color-1)"},".cm-completionDetail":{color:"var(--scalar-color-3)"},".cm-tooltip-lint":{backgroundColor:"var(--scalar-background-1)"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),ut.updateListener.of(k=>{k.docChanged&&(e==null||e(k.state.doc.toString()))}),ut.domEventHandlers({blur:(k,S)=>{t==null||t(S.state.doc.toString(),k)},focus:(k,S)=>{n==null||n(S.state.doc.toString(),k)}}),ut.editorAttributes.of({class:i.join(" ")}),...m];if(r&&v.push(r),h||v.push(ebt),o?v.push(ut.editable.of(!1)):(v.push(Cpt(),V9(),Zmt(),Xs.of([...iW,nbt]),V9()),d||v.push(Lmt(),Xs.of([...jmt])),f?v.push(Xs.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):v.push(Xs.of([u0t]))),g&&v.push(Eht(g)),s&&v.push(Xht()),c&&v.push(z9({markerDOM:k=>{const S=document.createElement("div");return S.classList.add("cm-foldMarker"),S.innerHTML=k?qP:ZP,S}})),a&&XP[a]&&(v.push(XP[a]()),c||v.push(z9({markerDOM:k=>{const S=document.createElement("div");return S.classList.add("cm-foldMarker"),S.innerHTML=k?qP:ZP,S}}))),p&&a==="json"){const k=q2t(S=>{const A=[],E=S.state.doc.toString();if(E.trim())try{JSON.parse(E)}catch(_){_ instanceof Error&&A.push({from:0,to:S.state.doc.length,severity:"error",message:_.message})}return A});v.push(k)}return l&&v.push(tbt()),u?v.push(Xs.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):v.push(Xs.of([{key:"Enter",run:s0t}])),v}var rbt=class iY extends Go{constructor(n,r,a){var s,l;super();Zr(this,"variableName");Zr(this,"app");Zr(this,"pillColor");Zr(this,"variableInfo");if(this.variableName=n,a==="contextFunction"){this.pillColor="var(--scalar-color-3)",this.variableInfo={type:"contextFunction",identifier:n,details:P6(n)};return}this.pillColor=(r==null?void 0:r.color)||"var(--scalar-color-1)";const i=(s=r==null?void 0:r.variables)==null?void 0:s.find(c=>c.name===n),o=i?typeof i.value=="string"?i.value:(l=i.value)==null?void 0:l.default:void 0;this.variableInfo={type:"environment",name:n,value:o||"No value",isDefined:!!o}}toDOM(){const n=document.createElement("span");return n.className=this.variableInfo.type==="contextFunction"?"cm-pill cm-pill--context-fn":"cm-pill",n.textContent=this.variableName,n.style.setProperty("--tw-bg-base",this.pillColor),this.variableInfo.type==="environment"&&(n.style.opacity=this.variableInfo.isDefined?"1":"0.5"),this.app=MI(fH,{context:this.variableInfo,target:n}),this.app.mount(document.createElement("div")),n}destroy(){this.app&&(this.app.unmount(),this.app=null)}eq(n){if(!(n instanceof iY)||n.variableName!==this.variableName||n.pillColor!==this.pillColor||n.variableInfo.type!==this.variableInfo.type)return!1;const r=n.variableInfo,a=this.variableInfo;return r.type!==a.type?!1:r.type==="environment"&&a.type==="environment"?r.name===a.name&&r.value===a.value&&r.isDefined===a.isDefined:r.type==="contextFunction"&&a.type==="contextFunction"?r.identifier===a.identifier&&r.details===a.details:!1}ignoreEvent(){return!1}},F4t=e=>ha.fromClass(class{constructor(t){Zr(this,"decorations");Zr(this,"lastEnvironment");this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){if(e.environment!==this.lastEnvironment){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t.view);return}(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))}buildDecorations(t){const n=new hl,r=e.isContextFunctionName??(()=>!1);for(const{from:a,to:i}of t.visibleRanges){const o=t.state.doc.sliceString(a,i),s=new RegExp(Hi.VARIABLES.source,Hi.VARIABLES.flags);let l;for(;(l=s.exec(o))!==null;){const c=a+l.index,u=c+l[0].length,d=l[1]??"";if(t.state.doc.sliceString(c,u).includes(` 2463`))continue;const f=r(d)?"contextFunction":"environment";n.add(c,u,Ft.widget({widget:new rbt(d,e.environment,f),side:1}))}}return n.finish()}},{decorations:t=>t.decorations}
vendor: 4,193 bytes, lines 2463-2465
2463),Q4t=ut.domEventHandlers({keydown(e,t){if(e.key!=="Backspace")return!1;const{state:n}=t,{from:r,to:a}=n.selection.main;return r===0&&a===n.doc.length?(t.dispatch({changes:{from:0,to:n.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===a&&r>=2&&n.doc.sliceString(r-2,r)==="}}"?(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0):!1}});function abt(e,t=!1){const n=e.length;let r=0,a="",i=0,o=16,s=0,l=0,c=0,u=0,d=0;function f(S,A){let E=0,_=0;for(;E<S;){let C=e.charCodeAt(r);if(C>=48&&C<=57)_=_*16+C-48;else if(C>=65&&C<=70)_=_*16+C-65+10;else if(C>=97&&C<=102)_=_*16+C-97+10;else break;r++,E++}return E<S&&(_=-1),_}function h(S){r=S,a="",i=0,o=16,d=0}function p(){let S=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&hf(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&hf(e.charCodeAt(r)))for(r++;r<e.length&&hf(e.charCodeAt(r));)r++;else return d=3,e.substring(S,r);let A=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&hf(e.charCodeAt(r))){for(r++;r<e.length&&hf(e.charCodeAt(r));)r++;A=r}else d=3;return e.substring(S,A)}function m(){let S="",A=r;for(;;){if(r>=n){S+=e.substring(A,r),d=2;break}const E=e.charCodeAt(r);if(E===34){S+=e.substring(A,r),r++;break}if(E===92){if(S+=e.substring(A,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:S+='"';break;case 92:S+="\\";break;case 47:S+="/";break;case 98:S+="\b";break;case 102:S+="\f";break;case 110:S+=` 2464`;break;case 114:S+="\r";break;case 116:S+=" ";break;case 117:const C=f(4);C>=0?S+=String.fromCharCode(C):d=4;break;default:d=5}A=r;continue}if(E>=0&&E<=31)if(Wp(E)){S+=e.substring(A,r),d=2;break}else d=6;r++}return S}function g(){if(a="",d=0,i=r,l=s,u=c,r>=n)return i=n,o=17;let S=e.charCodeAt(r);if(ZS(S)){do r++,a+=String.fromCharCode(S),S=e.charCodeAt(r);while(ZS(S));return o=15}if(Wp(S))return r++,a+=String.fromCharCode(S),S===13&&e.charCodeAt(r)===10&&(r++,a+=` 2465`),s++,c=r,o=14;switch(S){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,a=m(),o=10;case 47:const A=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Wp(e.charCodeAt(r));)r++;return a=e.substring(A,r),o=12}if(e.charCodeAt(r+1)===42){r+=2;const E=n-1;let _=!1;for(;r<E;){const C=e.charCodeAt(r);if(C===42&&e.charCodeAt(r+1)===47){r+=2,_=!0;break}r++,Wp(C)&&(C===13&&e.charCodeAt(r)===10&&r++,s++,c=r)}return _||(r++,d=1),a=e.substring(A,r),o=13}return a+=String.fromCharCode(S),r++,o=16;case 45:if(a+=String.fromCharCode(S),r++,r===n||!hf(e.charCodeAt(r)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=p(),o=11;default:for(;r<n&&v(S);)r++,S=e.charCodeAt(r);if(i!==r){switch(a=e.substring(i,r),a){case"true":return o=8;case"false":return o=9;case"null":return o=7}return o=16}return a+=String.fromCharCode(S),r++,o=16}}function v(S){if(ZS(S)||Wp(S))return!1;switch(S){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let S;do S=g();while(S>=12&&S<=15);return S}return{setPosition:h,getPosition:()=>r,scan:t?k:g,getToken:()=>o,getTokenValue:()=>a,getTokenOffset:()=>i,getTokenLength:()=>r-i,getTokenStartLine:()=>l,getTokenStartCharacter:()=>i-u,getTokenError:()=>d}}function ZS(e){return e===32||e===9}function Wp(e){return e===10||e===13}function hf(e){return e>=48&&e<=57}var YP;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="
2465C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(YP||(YP={}));const ns=new Array(20).fill(0).map((e,t)=>" ".repeat(t)),pf=200,GP={" ":{"\n":new Array(pf).fill(0).map((e,t)=>` 2466`+" ".repeat(t)),"\r":new Array(pf).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":new Array(pf).fill(0).map((e,t)=>`\r 2467`+" ".repeat(t))}," ":{"\n":new Array(pf).fill(0).map((e,t)=>` 2468`+" ".repeat(t)),"\r":new Array(pf).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":new Array(pf).fill(0).map((e,t)=>`\r 2469`+" ".repeat(t))}},ibt=[` 2470`,"\r",`\r 2471`];function obt(e,t,n){let r,a,i;a=e,r=0,i=0,e.length;const o=sbt(n,e),s=ibt.includes(o);let l=0,c=0,u;n.insertSpaces?u=ns[n.tabSize||4]??mf(ns[1],n.tabSize||4):u=" ";const d=u===" "?" ":" ";let f=abt(a,!1),h=!1;function p(){if(l>1)return mf(o,l)+mf(u,r+c);const S=u.length*(r+c);return!s||S>GP[d][o].length?o+mf(u,r+c):S<=0?o:GP[d][o][S]}function m(){let S=f.scan();for(l=0;S===15||S===14;)S===14&&n.keepLines?l+=1:S===14&&(l=1),S=f.scan();return h=S===16||f.getTokenError()!==0,S}const g=[];function v(S,A,E){!h&&e.substring(A,E)!==S&&g.push({offset:A,length:E-A,content:S})}let k=m();if(n.keepLines&&l>0&&v(mf(o,l),0,0),k!==17){let S=f.getTokenOffset()+i,A=u.length*r<20&&n.insertSpaces?ns[u.length*r]:mf(u,r);v(A,i,S)}for(;k!==17;){let S=f.getTokenOffset()+f.getTokenLength()+i,A=m(),E="",_=!1;for(;l===0&&(A===12||A===13);){let R=f.getTokenOffset()+i;v(ns[1],S,R),S=f.getTokenOffset()+f.getTokenLength()+i,_=A===12,E=_?p():"",A=m()}if(A===2)k!==1&&c--,n.keepLines&&l>0||!n.keepLines&&k!==1?E=p():n.keepLines&&(E=ns[1]);else if(A===4)k!==3&&c--,n.keepLines&&l>0||!n.keepLines&&k!==3?E=p():n.keepLines&&(E=ns[1]);else{switch(k){case 3:case 1:c++,n.keepLines&&l>0||!n.keepLines?E=p():E=ns[1];break;case 5:n.keepLines&&l>0||!n.keepLines?E=p():E=ns[1];break;case 12:E=p();break;case 13:l>0?E=p():_||(E=ns[1]);break;case 6:n.keepLines&&l>0?E=p():_||(E=ns[1]);break;case 10:n.keepLines&&l>0?E=p():A===6&&!_&&(E="");break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&l>0?E=p():(A===12||A===13)&&!_?E=ns[1]:A!==5&&A!==17&&(h=!0);break;case 16:h=!0;break}l>0&&(A===12||A===13)&&(E=p())}A===17&&(n.keepLines&&l>0?E=p():E=n.insertFinalNewline?o:"");const C=f.getTokenOffset()+i;v(E,S,C),k=A}return g}function mf(e,t){let n="";for(let r=0;r<t;r++)n+=e;return n}function sbt(e,t){for(let n=0;n<t.length;n++){const r=t.charAt(n);if(r==="\r")return n+1<t.length&&t.charAt(n+1)===` 2472`?`\r 2473`:"\r";if(r===` 2474`)return` 2475`}return e&&e.eol||` 2476`}var KP;(function(e){e.DEFAULT={allowTrailingComma:!1}})(KP||(KP={}));function lbt(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var JP;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(JP||(JP={}));var eI;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(eI||(eI={}));var tI;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(tI||(tI={}));function z4t(e,t,n){return obt(e,t,n)}function H4t(e,t){let n=t.slice(0).sort((a,i)=>{const o=a.offset-i.offset;return o===0?a.length-i.length:o}),r=e.length;for(let a=n.length-1;a>=0;a--){let i=n[a];if(i.offset+i.length<=r)e=lbt(e,i);else throw new Error("Overlapping edit");r=i.offset}return e}var nI="scalar-app",rI="headlessui-portal-root",cbt=e=>e!==null&&e instanceof HTMLElement,aI=e=>{!e||e.classList.contains(nI)||e.classList.add(nI)},ubt=()=>{aI(document.getElementById(rI));const e=new MutationObserver(t=>t.forEach(({addedNodes:n})=>n.forEach(r=>{cbt(r)&&r.id===rI&&aI(r)})));return e.observe(document.body,{childList:!0}),e};let dbt=class{constructor(t){Zr(this,"data");Zr(this,"next");this.data=t,this.next=null}};class oY{constructor(){Zr(this,"front");Zr(this,"rear");Zr(this,"size");this.front=null,this.rear=null,this.size=0}enqueue(t){const n=new dbt(t);this.isEmpty()||!this.rear?(this.front=n,this.rear=n):(this.rear.next=n,this.rear=n),this.size++}dequeue(){if(this.isEmpty()||!this.front)return null;const t=this.front;return this.front=this.front.next,this.front===null&&(this.rear=null),this.size--,t.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return this.size===0}getSize(){return this.size}toString(){let t=this.front;const n=[];for(;t;)n.push(t.data),t=t.next;return n.join(" -> ")}}const iI=(e,t={})=>{const{prefix:n="",cache:r=new WeakMap}=t,a=l=>({$ref:`#${l??""}`});if(typeof e!="object"||e===null)return e;const i=n;r.set(e,i);const o=Array.isArray(e)?new Array(e.length):{},s=new oY;for(s.enqueue({node:e,result:o,path:i});!s.isEmpty();){const l=s.dequeue();if(!l)continue;const{node:c,result:u,path:d}=l;if(Array.isArray(c)){const p=c,m=u;for(let g=0;g<p.length;g++){if(!(g in p))continue;const v=p[g],k=`${d}/${g}`;if(typeof v!="object"||v===null){m[g]=v;continue}const S=r.get(v);if(S!==void 0){m[g]=a(S);continue}r.set(v,k);const A=Array.isArray(v)?new Array(v.length):{};m[g]=A,s.enqueue({node:v,result:A,path:k})}continue}const f=u,h=Object.entries(c);for(const[p,m]of h){const g=`${d}/${U8(p)}`;if(typeof m!="object"||m===null){f[p]=m;continue}const v=r.get(m);
2476if(v!==void 0){f[p]=a(v);continue}r.set(m,g);const k=Array.isArray(m)?new Array(m.length):{};f[p]=k,s.enqueue({node:m,result:k,path:g})}}return o},fbt="2.6.0",sY="/";function hbt(e){const t=e;return!We(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("1.")||(t.asyncapi=fbt,pbt(t),gbt(t),ybt(t),vbt(t)),t}function pbt(e){if(!Array.isArray(e.servers))return;const t={},n=new Set;for(const[r,a]of e.servers.entries()){if(!We(a))continue;const i={};for(const[s,l]of Object.entries(a))s==="scheme"?i.protocol=l:s==="schemeVersion"?i.protocolVersion=l:i[s]=l;const o=mbt(typeof a.description=="string"?a.description:"",r,n);n.add(o),t[o]=i}e.servers=t}function mbt(e,t,n){const r=qa(e)||`server-${t}`;if(!n.has(r))return r;let a=2;for(;n.has(`${r}-${a}`);)a+=1;return`${r}-${a}`}function gbt(e){if(!We(e.topics)){typeof e.baseTopic=="string"&&delete e.baseTopic;return}const t=typeof e.baseTopic=="string"?e.baseTopic:"",n={};for(const[r,a]of Object.entries(e.topics)){if(!We(a))continue;const i=t?`${t}.${r}`:r,o={};for(const[s,l]of Object.entries(a))if(s==="parameters"){const c=bbt(l);c&&(o.parameters=c)}else s==="publish"||s==="subscribe"?o[s]={message:l}:o[s]=l;n[i]=o}e.channels=n,delete e.topics,delete e.baseTopic}function bbt(e){if(!Array.isArray(e))return;const t={};for(const n of e){if(!We(n))continue;if(typeof n.$ref=="string"){const i=n.$ref.split("/").pop()??"";i&&(t[i]={$ref:n.$ref});continue}if(typeof n.name!="string")continue;const{name:r,...a}=n;t[r]=a}return t}function ybt(e){if(!We(e.stream))return;const t={};Array.isArray(e.stream.read)&&(t.subscribe={message:{oneOf:e.stream.read}}),Array.isArray(e.stream.write)&&(t.publish={message:{oneOf:e.stream.write}});const n=We(e.channels)?e.channels:{};n[sY]=t,e.channels=n,delete e.stream}function vbt(e){if(!We(e.events))return;const t={};Array.isArray(e.events.receive)&&(t.subscribe={message:{oneOf:e.events.receive}}),Array.isArray(e.events.send)&&(t.publish={message:{oneOf:e.events.send}});const n=We(e.channels)?e.channels:{};n[sY]=t,e.channels=n,delete e.events}const Obt="3.0.0";function Sbt(e){const t=e;return!We(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("2.")||(t.asyncapi=Obt,Abt(t),wbt(t),Tbt(t)),t}function wbt(e){if(!We(e.servers))return;const t=cY(e);for(const n of Object.values(e.servers))if(We(n)){if(typeof n.url=="string"){const{host:r,pathname:a}=xbt(n.url);n.host=r,a&&(n.pathname=a),delete n.url}Array.isArray(n.security)&&(n.security=lY(n.security,t))}}function xbt(e){const t=e.match(/^[a-zA-Z][a-zA-Z0-9+\-.]*:\/\/(.*)$/),n=t?t[1]:e,r=n.indexOf("/");return r===-1?{host:n,pathname:""}:{host:n.slice(0,r),pathname:n.slice(r)}}function lY(e,t){return e.map(n=>kbt(n,t)).filter(n=>n!==void 0)}function kbt(e,t){if(!We(e))return;const[n]=Object.entries(e);if(!n)return;const[r,a]=n,i=t[r];return We(i)&&i.type==="oauth2"&&Array.isArray(a)?{...i,scopes:a}:{$ref:`#/components/securitySchemes/${r}`}}function cY(e){if(!We(e.components)||!We(e.components.securitySchemes))return{};const t={};for(const[n,r]of Object.entries(e.components.securitySchemes))We(r)&&(t[n]=r);return t}function Abt(e){if(!(!We(e.components)||!We(e.components.securitySchemes))){for(const t of Object.values(e.components.securitySchemes))if(!(!We(t)||t.type!=="oauth2"||!We(t.flows)))for(const n of Object.values(t.flows))We(n)&&"scopes"in n&&(n.availableScopes=n.scopes,delete n.scopes)}}function Tbt(e){if(!We(e.channels))return;const t=cY(e),n={},r={},a=new Set,i=new Set;for(const[o,s]of Object.entries(e.channels)){if(!We(s))continue;const l=XS(_bt(o),a),c={address:o},u={};for(const[h,p]of Object.entries(s))if(!(h==="publish"||h==="subscribe"||h==="parameters")){if(h==="servers"&&Array.isArray(p)){c.servers=p.map(m=>({$ref:`#/servers/${m}`}));continue}c[h]=p}We(s.parameters)&&(c.parameters=s.parameters);const d=oI(s.publish,u),f=oI(s.subscribe,u);if(c.messages=u,n[l]=c,We(s.publish)){const h=XS(sI(s.publish,"receive",l),i);r[h]=lI(s.publish,"receive",l,d,t)}if(We(s.subscribe)){const h=XS(sI(s.subscribe,"send",l),i);r[h]=lI(s.subscribe,"send",l,f,t)}}e.channels=n,e.operations=r}function oI(e,t){if(!We(e)||!We(e.message))return[];const n=e.message,r=Array.isArray(n.oneOf)?n.oneOf:[n],a=[];for(const i of r){if(!We(i))continue;const o=Ebt(i,t);t[o]=i,a.push(o)}return a}function Ebt(e,t){if(typeof e.$ref=="string"){const r=e.$ref.split("/").pop();if(r)return r}if(typeof e.name=="string"&&e.name)return e.name;let n=0;for(;`message-${n}`in t;)n+=1;return`message-${n}`}
2476function sI(e,t,n){return typeof e.operationId=="string"&&e.operationId?e.operationId:`${t}-${n}`}function lI(e,t,n,r,a){const i={action:t,channel:{$ref:`#/channels/${n}`}};for(const[o,s]of Object.entries(e))if(!(o==="message"||o==="operationId")){if(o==="security"&&Array.isArray(s)){i.security=lY(s,a);continue}i[o]=s}return i.messages=r.map(o=>({$ref:`#/channels/${n}/messages/${o}`})),i}function _bt(e){return qa(e.replace(/[^a-zA-Z0-9]+/g," "))}function XS(e,t){if(!t.has(e))return t.add(e),e;let n=2;for(;t.has(`${e}-${n}`);)n+=1;const r=`${e}-${n}`;return t.add(r),r}const Cbt="3.1.0",$bt=/^#\/components\/messages\/(.+)$/;function Pbt(e){const t=e;return!We(t)||typeof t.asyncapi!="string"||!t.asyncapi.startsWith("3.0")||(t.asyncapi=Cbt,Ibt(t)),t}function Ibt(e){if(!We(e.operations)||!We(e.channels))return;const t=e.channels;for(const n of Object.values(e.operations))We(n)&&(cI(n.messages,n.channel,t),We(n.reply)&&cI(n.reply.messages,n.reply.channel??n.channel,t))}function cI(e,t,n){if(!Array.isArray(e))return;const r=Nbt(t);if(!r)return;const a=n[r];if(We(a)){for(let i=0;i<e.length;i+=1){const o=e[i];if(!We(o)||typeof o.$ref!="string")continue;const[,s]=o.$ref.match($bt)??[];s&&(Mbt(a,s,o.$ref),e[i]={$ref:`#/channels/${r}/messages/${s}`})}Rbt(e)}}function Rbt(e){const t=new Set;let n=0;for(const r of e){if(We(r)&&typeof r.$ref=="string"){if(t.has(r.$ref))continue;t.add(r.$ref)}e[n]=r,n+=1}e.length=n}function Nbt(e){if(!We(e)||typeof e.$ref!="string")return;const t=e.$ref.match(/^#\/channels\/([^/]+)$/);return t?t[1]:void 0}function Mbt(e,t,n){We(e.messages)||(e.messages={});const r=e.messages;t in r||(r[t]={$ref:n})}function Lbt(e){const t=hbt(e),n=Sbt(t);return Pbt(n)}const Dbt=(e,t)=>{const n=performance.now(),r=t(),a=performance.now(),i=Math.round(a-n);return console.info(`${e}: ${i} ms`),r},Bbt=async(e,t)=>{const n=performance.now(),r=await t(),a=performance.now(),i=Math.round(a-n);return console.info(`${e}: ${i} ms`),r};let uI=()=>{var e=(()=>{var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,i=(ke,De)=>{for(var Ke in De)t(ke,Ke,{get:De[Ke],enumerable:!0})},o=(ke,De,Ke,Tt)=>{if(De&&typeof De=="object"||typeof De=="function")for(let Nt of r(De))!a.call(ke,Nt)&&Nt!==Ke&&t(ke,Nt,{get:()=>De[Nt],enumerable:!(Tt=n(De,Nt))||Tt.enumerable});return ke},s=ke=>o(t({},"__esModule",{value:!0}),ke),l={};i(l,{default:()=>Sp});var c=ke=>Array.isArray(ke),u=ke=>typeof ke=="function",d=ke=>ke.length===0,f=ke=>typeof ke=="number",h=ke=>typeof ke=="object"&&ke!==null,p=ke=>ke instanceof RegExp,m=ke=>typeof ke=="string",g=ke=>ke===void 0,v=ke=>{const De=new Map;return Ke=>{const Tt=De.get(Ke);if(Tt)return Tt;const Nt=ke(Ke);return De.set(Ke,Nt),Nt}},k=(ke,De,Ke={})=>{const Tt={cache:{},input:ke,index:0,indexMax:0,options:Ke,output:[]};if(re(De)(Tt)&&Tt.index===ke.length)return Tt.output;throw new Error(`Failed to parse at index ${Tt.indexMax}`)},S=(ke,De)=>c(ke)?A(ke,De):m(ke)?_(ke,De):E(ke,De),A=(ke,De)=>{const Ke={};for(const Tt of ke){if(Tt.length!==1)throw new Error(`Invalid character: "${Tt}"`);const Nt=Tt.charCodeAt(0);Ke[Nt]=!0}return Tt=>{const Nt=Tt.index,$n=Tt.input;for(;Tt.index<$n.length&&$n.charCodeAt(Tt.index)in Ke;)Tt.index+=1;const fr=Tt.index;if(fr>Nt){if(!g(De)&&!Tt.options.silent){const Xi=Tt.input.slice(Nt,fr),aa=u(De)?De(Xi,$n,String(Nt)):De;g(aa)||Tt.output.push(aa)}Tt.indexMax=Math.max(Tt.indexMax,Tt.index)}return!0}},E=(ke,De)=>{const Ke=ke.source,Tt=ke.flags.replace(/y|$/,"y"),Nt=new RegExp(Ke,Tt);return ne($n=>{Nt.lastIndex=$n.index;const fr=Nt.exec($n.input);if(fr){if(!g(De)&&!$n.options.silent){const Xi=u(De)?De(...fr,$n.input,String($n.index)):De;g(Xi)||$n.output.push(Xi)}return $n.index+=fr[0].length,$n.indexMax=Math.max($n.indexMax,$n.index),!0}else return!1})},_=(ke,De)=>Ke=>{if(Ke.input.startsWith(ke,Ke.index)){if(!g(De)&&!Ke.options.silent){const Tt=u(De)?De(ke,Ke.input,String(Ke.index)):De;g(Tt)||Ke.output.push(Tt)}return Ke.index+=ke.length,Ke.indexMax=Math.max(Ke.indexMax,Ke.index),!0}else return!1},C=(ke,De,Ke,Tt)=>{const Nt=re(ke);return ne(ee(Q($n=>{let fr=0;for(;fr<Ke;){const Xi=$n.index;
2476if(!Nt($n)||(fr+=1,$n.index===Xi))break}return fr>=De})))},R=(ke,De)=>C(ke,0,1),B=(ke,De)=>C(ke,0,1/0),L=(ke,De)=>{const Ke=ke.map(re);return ne(ee(Q(Tt=>{for(let Nt=0,$n=Ke.length;Nt<$n;Nt++)if(!Ke[Nt](Tt))return!1;return!0})))},V=(ke,De)=>{const Ke=ke.map(re);return ne(ee(Tt=>{for(let Nt=0,$n=Ke.length;Nt<$n;Nt++)if(Ke[Nt](Tt))return!0;return!1}))},Q=(ke,De=!1)=>{const Ke=re(ke);return Tt=>{const Nt=Tt.index,$n=Tt.output.length,fr=Ke(Tt);return(!fr||De)&&(Tt.index=Nt,Tt.output.length!==$n&&(Tt.output.length=$n)),fr}},ee=(ke,De)=>re(ke),ne=(()=>{let ke=0;return De=>{const Ke=re(De),Tt=ke+=1;return Nt=>{var wp;var $n;if(Nt.options.memoization===!1)return Ke(Nt);const fr=Nt.index,Xi=($n=Nt.cache)[Tt]||($n[Tt]=new Map),aa=Xi.get(fr);if(aa===!1)return!1;if(f(aa))return Nt.index=aa,!0;if(aa)return Nt.index=aa.index,(wp=aa.output)!=null&&wp.length&&Nt.output.push(...aa.output),!0;{const xp=Nt.output.length;if(Ke(Nt)){const k1=Nt.index,A1=Nt.output.length;if(A1>xp){const EO=Nt.output.slice(xp,A1);Xi.set(fr,{index:k1,output:EO})}else Xi.set(fr,k1);return!0}else return Xi.set(fr,!1),!1}}}})(),G=ke=>{let De;return Ke=>(De||(De=re(ke())),De(Ke))},re=v(ke=>{if(u(ke))return d(ke)?G(ke):ke;if(m(ke)||p(ke))return S(ke);if(c(ke))return L(ke);if(h(ke))return V(Object.values(ke));throw new Error("Invalid rule")}),Y="abcdefghijklmnopqrstuvwxyz",ye=ke=>{let De="";for(;ke>0;){const Ke=(ke-1)%26;De=Y[Ke]+De,ke=Math.floor((ke-1)/26)}return De},Ee=ke=>{let De=0;for(let Ke=0,Tt=ke.length;Ke<Tt;Ke++)De=De*26+Y.indexOf(ke[Ke])+1;return De},j=(ke,De)=>{if(De<ke)return j(De,ke);const Ke=[];for(;ke<=De;)Ke.push(ke++);return Ke},xe=(ke,De,Ke)=>j(ke,De).map(Tt=>String(Tt).padStart(Ke,"0")),Ie=(ke,De)=>j(Ee(ke),Ee(De)).map(ye),Z=ke=>ke,rt=ke=>ie(De=>k(De,ke,{memoization:!1}).join("")),ie=ke=>{const De={};return Ke=>De[Ke]??(De[Ke]=ke(Ke))},Pe=S(/^\*\*\/\*$/,".*"),gt=S(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(ke,De,Ke)=>`.*${De?"":"(?:^|/)"}${Ke.replaceAll(".","\\.")}`),Zt=S(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(ke,De,Ke,Tt)=>`.*${De?"":"(?:^|/)"}${Ke.replaceAll(".","\\.")}(?:${Tt.replaceAll(",","|").replaceAll(".","\\.")})`),St=S(/\\./,Z),sn=S(/[$.*+?^(){}[\]\|]/,ke=>`\\${ke}`),Xn=S(/./,Z),Wn=S(/^(?:!!)*!(.*)$/,(ke,De)=>`(?!^${dr(De)}$).*?`),ra=S(/^(!!)+/,""),vr=V([Wn,ra]),he=S(/\/(\*\*\/)+/,"(?:/.+/|/)"),Me=S(/^(\*\*\/)+/,"(?:^|.*/)"),Ge=S(/\/(\*\*)$/,"(?:/.*|$)"),Et=S(/\*\*/,".*"),At=V([he,Me,Ge,Et]),Yt=S(/\*\/(?!\*\*\/)/,"[^/]*/"),ln=S(/\*/,"[^/]*"),Or=V([Yt,ln]),Yn=S("?","[^/]"),ui=S("[",Z),di=S("]",Z),oe=S(/[!^]/,"^/"),ge=S(/[a-z]-[a-z]|[0-9]-[0-9]/i,Z),Qe=S(/[$.*+?^(){}[\|]/,ke=>`\\${ke}`),Pt=S(/[^\]]/,Z),Rt=V([St,Qe,ge,Pt]),Qr=L([ui,R(oe),B(Rt),di]),zr=S("{","(?:"),Hr=S("}",")"),Vr=S(/(\d+)\.\.(\d+)/,(ke,De,Ke)=>xe(+De,+Ke,Math.min(De.length,Ke.length)).join("|")),ga=S(/([a-z]+)\.\.([a-z]+)/,(ke,De,Ke)=>Ie(De,Ke).join("|")),se=S(/([A-Z]+)\.\.([A-Z]+)/,(ke,De,Ke)=>Ie(De.toLowerCase(),Ke.toLowerCase()).join("|").toUpperCase()),fe=V([Vr,ga,se]),Ae=L([zr,fe,Hr]),je=S("{","(?:"),vt=S("}",")"),wt=S(",","|"),pn=S(/[$.*+?^(){[\]\|]/,ke=>`\\${ke}`),ba=S(/[^}]/,Z),tn=G(()=>K),Nr=V([At,Or,Yn,Qr,Ae,tn,St,pn,wt,ba]),K=L([je,B(Nr),vt]),_e=B(V([Pe,gt,Zt,vr,At,Or,Yn,Qr,Ae,K,St,sn,Xn])),at=_e,Gt=rt(at),dr=Gt,Sr=S(/\\./,Z),bt=S(/./,Z),lt=S(/\*\*\*+/,"*"),Dt=S(/([^/{[(!])\*\*/,(ke,De)=>`${De}*`),qr=S(/(^|.)\*\*(?=[^*/)\]}])/,(ke,De)=>`${De}*`),Cr=B(V([Sr,lt,Dt,qr,bt])),wu=Cr,yp=rt(wu),vp=yp,Op=(ke,De)=>{const Ke=Array.isArray(ke)?ke:[ke];if(!Ke.length)return!1;const Tt=Ke.map(Op.compile),Nt=Ke.every(fr=>/(\/(?:\*\*)?|\[\/\])$/.test(fr)),$n=De.replace(/[\\\/]+/g,"/").replace(/\/$/,Nt?"/":"");return Tt.some(fr=>fr.test($n))};Op.compile=ke=>new RegExp(`^${dr(vp(ke))}$`,"s");var Sp=Op;return s(l)})();return e.default||e},WS;const Ubt=(e,t)=>(WS||(WS=uI(),uI=null),WS(e,t)),jbt=/^[A-Za-z]:\//;function Gd(e=""){return e&&e.replace(/\\/g,"/").replace(jbt,t=>t.toUpperCase())}const Fbt=/^[/\\]{2}/,Qbt=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,uY=/^[A-Za-z]:$/,dI=/^\/([A-Za-z]:)?$/,zbt=/.(\.[^./]+|\.)$/,Hbt=/^[/\\]|^[a-zA-Z]:[/\\]/,Vbt="/",EA=function(e){if(e.length===0)return".";e=Gd(e);const t=e.match(Fbt),n=Lh(e),r=e[e.length-1]==="/";return e=_A(e,!n),e.length===0?n?"/":r?"./":".":(r&&(e+="/"),uY.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!Lh(e)?`/${e}
2476`:e)},qbt=function(...e){let t="";for(const n of e)if(n)if(t.length>0){const r=t[t.length-1]==="/",a=n[0]==="/";r&&a?t+=n.slice(1):t+=r||a?n:`/${n}`}else t+=n;return EA(t)};function Zbt(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const hy=function(...e){e=e.map(r=>Gd(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const a=r>=0?e[r]:Zbt();!a||a.length===0||(t=`${a}/${t}`,n=Lh(a))}return t=_A(t,!n),n&&!Lh(t)?`/${t}`:t.length>0?t:"."};function _A(e,t){let n="",r=0,a=-1,i=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else{if(o==="/")break;o="/"}if(o==="/"){if(!(a===s-1||i===1))if(i===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=s,i=0;continue}else if(n.length>0){n="",r=0,a=s,i=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(a+1,s)}`:n=e.slice(a+1,s),r=s-a-1;a=s,i=0}else o==="."&&i!==-1?++i:i=-1}return n}const Lh=function(e){return Qbt.test(e)},Xbt=function(e){return Gd(e)},dY=function(e){if(e==="..")return"";const t=zbt.exec(Gd(e));return t&&t[1]||""},Wbt=function(e,t){const n=hy(e).replace(dI,"$1").split("/"),r=hy(t).replace(dI,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const a=[...n];for(const i of a){if(r[0]!==i)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")},fY=function(e){const t=Gd(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&uY.test(t[0])&&(t[0]+="/"),t.join("/")||(Lh(e)?"/":".")},Ybt=function(e){const t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",n=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return Gd(e.root?hy(...n):n.join("/"))},hY=function(e,t){const n=Gd(e).split("/");let r="";for(let a=n.length-1;a>=0;a--){const i=n[a];if(i){r=i;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},Gbt=function(e){var a,i;const t=((i=(a=Hbt.exec(e))==null?void 0:a[0])==null?void 0:i.replace(/\\/g,"/"))||"",n=hY(e),r=dY(n);return{root:t,dir:fY(e),base:n,ext:r,name:n.slice(0,n.length-r.length)}},Kbt=(e,t)=>Ubt(t,EA(e)),fI={__proto__:null,basename:hY,dirname:fY,extname:dY,format:Ybt,isAbsolute:Lh,join:qbt,matchesGlob:Kbt,normalize:EA,normalizeString:_A,parse:Gbt,relative:Wbt,resolve:hy,sep:Vbt,toNamespacedPath:Xbt},Jbt=(()=>{var e;return((e=globalThis.process)==null?void 0:e.platform)==="win32"?";":":"})(),eyt={posix:void 0,win32:void 0},pY=(e=Jbt)=>new Proxy(fI,{get(t,n){return n==="delimiter"?e:n==="posix"?Pa:n==="win32"?tyt:eyt[n]||fI[n]}}),Pa=pY(":"),tyt=pY(";");function Ql(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}const mY=(e,t)=>{if(Ql(t))return t;if(Ql(e)){const n=new URL(e);return n.pathname=Pa.posix.resolve("/",Pa.dirname(n.pathname),t),n.toString()}return Pa.resolve(Pa.dirname(e),t)};function nyt(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{const t=JSON.parse(e);return We(t)}catch{return!1}}function ryt(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}function ayt(e){return!Ql(e)&&!ryt(e)&&!nyt(e)}function iyt(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function xO(e){return e.split("/").slice(1).map(iyt)}function l8(e,t,n){if(t==="")throw new Error("Cannot set value at root ('') pointer");const r=xO(t);r.forEach(i=>Hu(i));let a=e;for(let i=0;i<r.length;i++){const o=r[i],s=i===r.length-1,l=r[i+1],c=/^\d+$/.test(l??"");s?a[o]=n:((!(o in a)||typeof a[o]!="object")&&(a[o]=c?[]:{}),a=a[o])}}const oyt=(e,t)=>{if(Ql(e)&&Ql(t)){const a=new URL(e),i=new URL(t);if(a.origin!==i.origin)return e;const o=Pa.dirname(Pa.posix.resolve("/",i.pathname)),s=Pa.posix.resolve("/",a.pathname);return Pa.posix.relative(o,s)}if(Ql(t)){const a=new URL(t),i=Pa.dirname(Pa.posix.resolve("/",a.pathname));return a.pathname=Pa.posix.relative(i,Pa.posix.resolve("/",e)),a.toString()}if(Ql(e))return e;const n=Pa.dirname(Pa.resolve(t)),r=Pa.resolve(e);return Pa.relative(n,r)};function syt(e){const n=km(e).substring(0,7);return n.match(/^\d+$/)?"a"+n.substring(1):n}async function gY(e,t,n,r,a=0){if(a>=100)throw"Can not generate unique compressed values";const o=await e(r??t);return n[o]!==void 0&&n[o]!==t?gY(e,t,n,o,a+1):(n[o]=t,o)}const lyt=(e,t)=>
2476{const n=Object.fromEntries(Object.entries(t).map(([r,a])=>[a,r]));return{generate:async r=>{const a=n[r];if(a)return a;const i=await gY(e,r,t),o=i.match(/^\d+$/)?`a${i}`:i;return n[r]=o,o}}},cyt=e=>We(e)&&"$ref"in e&&typeof e.$ref=="string";function bY(e){return e.startsWith("#")}function hI(e,t){const n=t.find(r=>r.validate(e));return n?n.exec(e):Promise.resolve({ok:!1})}function c8(e,t){if(!bY(e))throw"Please provide an internal ref";return`#/${t.map(Lv).join("/")}${e.substring(1)}`}function u8(e,t){if(Array.isArray(e)){e.forEach(n=>u8(n,t));return}if(We(e)&&(Object.values(e).forEach(n=>u8(n,t)),typeof e=="object"&&"$ref"in e&&typeof e.$ref=="string")){const n=e.$ref;if(!bY(n))return;e.$ref=c8(n,t)}}const d8=(e,t,n,r,a,i=!1,o=new Set)=>{const s=Um(t,xO(n)).value;if(o.has(s))return;o.add(s),l8(e,n,s);const l=c=>{if(!(!c||typeof c!="object")){"$ref"in c&&typeof c.$ref=="string"&&(c.$ref.startsWith(`#/${r}/${Lv(a)}`)||i)&&d8(e,t,c.$ref.substring(1),r,a,i,o);for(const u of Object.values(c))l(u)}};l(s)},YS={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"};async function Xg(e,t){t.externalDocumentsKey=t.externalDocumentsKey??YS.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??YS.externalDocumentsMappings;const n=t.cache??new Map,r=t.plugins.filter(g=>g.type==="loader"),a=t.plugins.filter(g=>g.type==="lifecycle"),o=await(async()=>{if(typeof e!="string")return e;const g=await hI(e,r);if(g.ok&&typeof g.data=="object")return g.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??o,l=M8(s),c=t.root!==void 0&&t.root!==o||t.depth!==void 0,u=t.visitedNodes??new Set,f=(()=>{const g=eh(s);return g||(t.origin?t.origin:typeof e!="string"?"/":Ql(e)||ayt(e)?e:"/")})();s[t.externalDocumentsMappingsKey]===void 0&&(s[t.externalDocumentsMappingsKey]={});const{generate:h}=lyt(t.compress??syt,s[t.externalDocumentsMappingsKey]),p=async(g,...v)=>{var S;const k=(S=t.hooks)==null?void 0:S[g];k&&await k(...v);for(const A of a){const E=A[g];E&&await E(...v)}},m=async(g,v=f,k=!1,S=0,A=[],E=null,_)=>{if(t.depth!==void 0&&S>t.depth||!We(g)&&!Array.isArray(g)||u.has(g))return;u.add(g);const C=eh(g),R={path:A,referencedFromPath:_,resolutionCache:n,parentNode:E,rootNode:s,loaders:r,origin:C??v};if(await p("onBeforeNodeProcess",g,R),cyt(g)){const B=g.$ref,L="$global"in g&&typeof g.$global=="boolean"&&g.$global,V=bw(B,C??v,l);if(V!==void 0){if(c){const Ee=xO(`/${V}`),j=Ee.length>0?Um(s,Ee.slice(0,-1)).value:void 0,xe=Um(s,Ee);await m(xe.value,xe.context,k,S+1,Ee,j,_)}await p("onAfterNodeProcess",g,R);return}const[Q,ee=""]=B.split("#",2),ne=mY(C??v,Q),G=oyt(ne,f),re=await h(G),Y=n.has(G);
2476Y||n.set(G,hI(ne,r)),await p("onResolveStart",g);const ye=await n.get(G);if(ye.ok){Y||(L||u8(ye.data,[YS.externalDocuments,re]),await m(ye.data,L?v:ne,L,S+1,[t.externalDocumentsKey,re],null,_?[..._,...A.slice(2)]:A),l8(s,`/${t.externalDocumentsMappingsKey}/${Lv(re)}`,G)),t.treeShake===!0?d8(s,{[t.externalDocumentsKey]:{[re]:ye.data}},c8(`#${ee}`,[t.externalDocumentsKey,re]).substring(1),t.externalDocumentsKey,re):Y||l8(s,`/${t.externalDocumentsKey}/${re}`,ye.data),g.$ref=c8(`#${ee}`,[t.externalDocumentsKey,re]),await p("onResolveSuccess",g),await p("onAfterNodeProcess",g,R);return}return await p("onResolveError",g),await p("onAfterNodeProcess",g,R),console.warn(`Failed to resolve external reference "${ne}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`)}for(const B in g)B===t.externalDocumentsKey||B===t.externalDocumentsMappingsKey||await m(g[B],C??v,k,S+1,[...A,B],g,_);await p("onAfterNodeProcess",g,R)};return await m(o),!t.urlMap&&!c&&delete s[t.externalDocumentsMappingsKey],o}function uyt(e){let t=0;const n=new oY,r=()=>{if(n.isEmpty()||t>=e)return;const i=n.dequeue();i&&i()};return async i=>{t>=e&&await new Promise(o=>n.enqueue(o)),t++;try{return await i()}finally{t--,r()}}}const dyt=e=>e.startsWith("\uFEFF")?e.slice(1):e;function fyt(e){if(e!==null){if(typeof e=="string"){const t=dyt(e);if(t.trim()==="")return;try{return JSON.parse(t)}catch{const n=/^[^:]+:/.test(t),r=t.slice(0,50).trimStart(),a=r.startsWith("{")||r.startsWith("[");return!n||a?void 0:Dk(t,{maxAliasCount:1e4,merge:!0})}}return e}}const hyt=e=>{try{return new URL(e).host}catch{return null}},pyt=async(e,t,n)=>{var r,a;try{const i=hyt(e),o=(a=(r=n==null?void 0:n.headers)==null?void 0:r.find(u=>u.domains.find(d=>d===i)!==void 0))==null?void 0:a.headers,s=(n==null?void 0:n.fetch)??fetch,l=await t(()=>s(e,{headers:o}));if(l.ok){const u=await l.text();return{ok:!0,data:fyt(u),raw:u}}const c=l.headers.get("Content-Type")??"";return["text/html","application/xml"].includes(c)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${c}`),console.warn(`[WARN] Fetch failed with status ${l.status} ${l.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}},f8=e=>{const t=e!=null&&e.limit?uyt(e.limit):n=>n();return{type:"loader",validate:Ql,exec:n=>pyt(n,t,e)}};class Wg extends Error{constructor(t){super(t),this.name="InvalidChangesDetectedError"}}const myt=(e,t)=>{const n=(r,a,i,o=0)=>{if(a[o]===void 0)throw new Wg(`Process aborted. Path ${a.join(".")} at depth ${o} is undefined, check diff object`);if(o>=a.length-1){i.type==="add"||i.type==="update"?r[a[o]]=i.changes:Array.isArray(r)?r.splice(Number.parseInt(a[o]),1):delete r[a[o]];return}if(r[a[o]]===void 0||typeof r[a[o]]!="object")throw new Wg("Process aborted, check diff object");n(r[a[o]],a,i,o+1)};for(const r of t){if(r.path.length===0)throw new Wg("Process aborted. Root-level replacement is not supported, the change targets the document itself instead of a property inside it");const a=r.path.find(dv);if(a!==void 0)throw new Wg(`Process aborted. Path ${r.path.join(".")} contains the unsafe segment "${a}", which can modify the prototype chain`)}for(const r of t)n(e,r.path,r);return e},GS=(e,t)=>{const n=[],r=(a,i,o=[])=>{if(typeof a!=typeof i){if(typeof a>"u"){n.push({path:o,changes:i,type:"add"});return}if(typeof i>"u"){n.push({path:o,changes:a,type:"delete"});return}n.push({path:o,changes:i,type:"update"});return}if(typeof a=="object"&&typeof i=="object"&&a!==null&&i!==null){if(Array.isArray(a)!==Array.isArray(i)){n.push({path:o,changes:i,type:"update"});return}const s=[...new Set([...Object.keys(a),...Object.keys(i)])].filter(c=>!dv(c)),l=Array.isArray(a)&&Array.isArray(i)&&a.length>=i.length?s.reverse():s;for(const c of l)r(a[c],i[c],[...o,c]);return}a!==i&&n.push({path:o,changes:i,type:"update"})};return r(e,t),n};class pI{constructor(t){Zr(this,"value");Zr(this,"children",Object.create(null));this.value=t}}class gyt{constructor(){Zr(this,"root");this.root=new pI(null)}addPath(t,n){let r=this.root;for(const a of t)r.children[a]||(r.children[a]=new pI(null)),r=r.children[a];r.value=n}
2476findMatch(t,n){let r=this.root;for(const i of t){r.value!==null&&n(r.value);const o=r.children[i];if(!o)return;r=o}const a=i=>{for(const o of Object.keys((i==null?void 0:i.children)??{}))i&&Object.hasOwn(i.children,o)&&a(i==null?void 0:i.children[o]);i!=null&&i.value&&n(i.value)};a(r)}}const yY=(e,t)=>{if(typeof e!=typeof t)return!0;if(typeof e=="object"&&typeof t=="object"&&e!==null&&t!==null){if(Array.isArray(e)!==Array.isArray(t))return!0;const n=new Set([...Object.keys(e),...Object.keys(t)]);for(const r of n)if(!dv(r)&&e[r]!==void 0&&t[r]!==void 0&&yY(e[r],t[r]))return!0;return!1}return e!==t},vY=(e,t)=>{for(const n in t)if(!dv(n))if(!(n in e))e[n]=t[n];else{const r=e[n],a=t[n];Ht(r)&&Ht(a)&&(e[n]=vY(r,a))}return e},byt=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<=e.length;++n)if(e[n]!==t[n])return!1;return!0},yyt=(e,t)=>{const n=new gyt;for(const[c,u]of e.entries())n.addPath(u.path,{index:c,changes:u});const r=new Set,a=new Set,i=new Map,o=new Map;for(const[c,u]of t.entries())n.findMatch(u.path,d=>{if(u.type==="delete")if(d.changes.type==="delete")d.changes.path.length>u.path.length?r.add(d.index):a.add(c);else{r.add(d.index),a.add(c);const f=o.get(c);f!==void 0?f[0].push(d.changes):o.set(c,[[d.changes],[u]])}if(u.type==="add"||u.type==="update"){if(byt(u.path,d.changes.path)&&d.changes.type!=="delete"&&!yY(u.changes,d.changes.changes)){r.add(d.index),typeof u.changes=="object"&&vY(u.changes,d.changes.changes);return}r.add(d.index),a.add(c);const f=i.get(d.index);f!==void 0?f[1].push(u):i.set(d.index,[[d.changes],[u]])}});const s=[...i.values(),...o.values()];return{diffs:[...e.filter((c,u)=>!r.has(u)),...t.filter((c,u)=>!a.has(u))],conflicts:s}};function td(e,t,n=[]){const r={};for(const[a,i]of Object.entries(e)){const o=[...n,a];if(Array.isArray(i)){r[a]=i.map((s,l)=>typeof s=="object"&&!Array.isArray(s)&&s!==null?td(s,t,[...o,l.toString()]):s);continue}if(Ht(i)){r[a]=td(i,t,o);continue}r[a]=i}return t(r,n)}const gc="application/json";function OY(e){const t=e["x-example"],n=e["x-examples"];return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:n}}function nd(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&Object.keys(e).length>0}function vyt(e){return nd(e)&&Object.values(e).every(t=>typeof t=="object"&&t!==null&&!Array.isArray(t))}function Oyt(e){if(!Ht(e))return!0;const t=e,n=["enum","const","not","format","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties","required"];return!(t.allOf||t.oneOf||t.anyOf||t.items||t.$ref||"additionalProperties"in t||n.some(r=>r in t)||typeof t.properties=="object"&&t.properties!==null&&Object.keys(t.properties).length>0)}function mI(e){const t=Object.keys(e);if(t.some(r=>{const a=e[r];return Ht(a)&&(a.example!==void 0||a.examples!==void 0)}))for(const r of t){const a=e[r];if(!Ht(a))continue;const i=a.example!==void 0||a.examples!==void 0;a.schema!==void 0&&!i&&Object.keys(a).length===1&&Oyt(a.schema)&&delete e[r]}}const Syt=new Set(["summary","description","value","externalValue"]);function SY(e){if(typeof e!="object"||e===null)return!1;const t=e,n="value"in t||"externalValue"in t,r=Object.keys(t).every(a=>Syt.has(a));return n&&r}function Yf(e){return SY(e)?e:{value:e}}const wyt=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/;function h8(e){return wyt.test(e)}function xyt(e){return Object.entries(e).reduce((t,[n,r])=>(t[n]={value:r},t),{})}const kyt=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}};function Ayt(e){var n,r,a;let t=e;if(t!==null&&typeof t=="object"&&typeof t.swagger=="string"&&((n=t.swagger)!=null&&n.startsWith("2.0")))t.openapi="3.0.4",delete t.swagger;else return t;if(t.host){const i=Array.isArray(t.schemes)&&((r=t.schemes)!=null&&r.length)?t.schemes:["http"];t.servers=i.map(o=>({url:`${o}://${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=td(t,i=>(typeof i.$ref=="string"&&i.$ref.startsWith("#/definitions/")&&(i.$ref=i.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),i))),t=td(t,i=>(i.type==="file"&&(i.type="string",i.format="binary"),i)),Object.hasOwn(t,"parameters")){t=td(t,l=>{if(typeof l.$ref=="string"&&l.$ref.startsWith("#/parameters/")){const c=l.$ref.split("/")[2];if(!c)return l;const u=Ht(t.parameters)&&c in t.parameters?t.parameters[c]:void 0;u&&typeof u=="object"&&"in"in u&&(u.in==="body"||u.in==="formData")?l.$ref=l.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):l.$ref=l.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return l}),t.components??(t.components={});const i={},o={},s=Ht(t.parameters)?t.parameters:{};for(const[l,c]of Object.entries(s))if(c&&typeof c=="object"){if("$ref"in c){const u=p8(c);i[l]=u}else if("in"in c)if(c.in==="body")o[l]=xY(c,t.consumes??[gc]);else if(c.in==="formData")o[l]=kY([c],t.consumes);else{const u=p8(c);i[l]=u}}Object.keys(i).length>0&&(t.components.parameters=i),Object.keys(o).length>0&&(t.components.requestBodies=o),delete t.parameters}if(Object.hasOwn(t,"responses")&&typeof t.responses=="object"&&t.responses!==null){t=td(t,s=>(typeof s.$ref=="string"&&s.$ref.startsWith("#/responses/")&&(s.$ref=s.$ref.replace(/^#\/responses\//,"#/components/responses/")),s)),t.components??(t.components={});const i={},o=t.responses;for(const[s,l]of Object.entries(o))if(Ht(l))if("$ref"in l)i[s]=l;else{const c=l,u=t.produces??[gc];if(c.schema){typeof c.content!="object"&&(c.content={});for(const d of u)c.content[d]={schema:c.schema};delete c.schema}if(c.examples&&typeof c.examples=="object"){typeof c.content!="object"&&(c.content={});const d=u[0]??gc;for(const[f,h]of Object.entries(c.examples))if(h8(f))typeof c.content[f]!="object"&&(c.content[f]={}),c.content[f].example=h;else{typeof c.content[d]!="object"&&(c.content[d]={});const p=c.content[d];typeof p.examples!="object"&&(p.examples={}),p.examples[f]=Yf(h)}delete c.examples}c.content&&typeof c.content=="object"&&mI(c.content),Ht(c.headers)&&(c.headers=Object.entries(c.headers).reduce((d,[f,h])=>h&&typeof h=="object"?{[f]:gI(h),...d}:d,{})),i[s]=c}Object.keys(i).length>0&&(t.components.responses=i),delete t.responses}if(typeof t.paths=="object"){for(const i in t.paths)if(Object.hasOwn(t.paths,i)){const o=Ht(t.paths)&&i in t.paths?t.paths[i]:void 0;if(!o||typeof o!="object")continue;let s;for(const l in o)if(l==="parameters"&&Object.hasOwn(o,l)){const c=yI(o.parameters,t.consumes??[gc]);o.parameters=c.parameters,s=c.requestBody}else if(Object.hasOwn(o,l)){const c=o[l];if(s&&(c.requestBody=s),c.parameters){const u=yI(c.parameters,c.consumes??t.consumes??[gc]);c.parameters=u.parameters,u.requestBody&&(c.requestBody=u.requestBody)}if(delete c.consumes,c.responses){for(const u in c.responses)if(Object.hasOwn(c.responses,u)){const d=c.responses[u];if(d.headers&&typeof d.headers=="object"&&(d.headers=Object.entries(d.headers).reduce((f,[h,p])=>p&&typeof p=="object"?{[h]:gI(p),...f}:f,{})),d.schema){const f=t.produces??c.produces??[gc];typeof d.content!="object"&&(d.content={});for(const h of f)d.content[h]={schema:d.schema};delete d.schema}if(d.examples&&typeof d.examples=="object"){typeof d.content!="object"&&(d.content={});const h=(t.produces??c.produces??[gc])[0]??gc;for(const[p,m]of Object.entries(d.examples))if(h8(p))typeof d.content[p]!="object"&&(d.content[p]={}),d.content[p].example=m;else{typeof d.content[h]!="object"&&(d.content[h]={});const g=d.content[h];typeof g.examples!="object"&&(g.examples={}),g.examples[p]=Yf(m)}delete d.examples}d.content&&typeof d.content=="object"&&mI(d.content)}}delete c.produces,((a=c.parameters)==null?void 0:a.length)===0&&delete c.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[i,o]of Object.entries(t.securityDefinitions))if(typeof o=="object")if("type"in o&&o.type==="oauth2"){const{flow:s,authorizationUrl:l,tokenUrl:c,scopes:u}=o;t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[i]:{type:"oauth2",flows:{[kyt(s||"implicit")]:Object.assign({},l&&{authorizationUrl:l},c&&{tokenUrl:c},u&&{scopes:u})}}})}else"type"in o&&o.type==="basic"?t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[i]:{type:"http",scheme:"basic"}}):t.components&&typeof t.components=="object"&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[i]:o});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}function CA(e){return["type","format","default","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 Tyt(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 p8(e){if(Object.hasOwn(e,"$ref")&&typeof e.$ref=="string")return{$ref:e.$ref};const t=Eyt(e),n=CA(e),{xExample:r,xExamples:a}=OY(e);
2476if(nd(r)?e.examples=xyt(r):nd(a)&&(e.examples=Object.entries(a).reduce((i,[o,s])=>(i[o]=Yf(s),i),{})),delete e.collectionFormat,delete e.default,!e.in)throw new Error('Parameter object must have an "in" property');return{schema:n,...t,...e,in:Tyt(e.in)}}function gI(e){if(Object.hasOwn(e,"$ref")&&typeof e.$ref=="string")return{$ref:e.$ref};const t=CA(e);return{...e,schema:t}}const wY={ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},bI={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},KS={header:bI,query:wY,path:bI};function Eyt(e){if(e.type!=="array"||!(e.in==="query"||e.in==="path"||e.in==="header"))return{};const t=e.collectionFormat??"csv";return e.in in KS&&t in KS[e.in]?KS[e.in][t]:{}}function _yt(e){if(e.type!=="array"||typeof e.collectionFormat!="string")return;const t=wY[e.collectionFormat];if(!(!t||Object.keys(t).length===0))return t}function xY(e,t){const{xExample:n,xExamples:r}=OY(e);delete e.name,delete e.in;const{schema:a,...i}=e,o={content:{},...i};if(o.content)for(const s of t){if(o.content[s]={schema:a},nd(r)&&s in r){const l=r[s];nd(l)&&Object.values(l).every(u=>SY(u))?o.content[s].examples=l:vyt(l)?o.content[s].examples=Object.entries(l).reduce((u,[d,f])=>(u[d]=Yf(f),u),{}):o.content[s].examples={default:Yf(l)}}else nd(r)&&!Object.keys(r).some(h8)&&(o.content[s].examples=Object.entries(r).reduce((l,[c,u])=>(l[c]=Yf(u),l),{}));!o.content[s].examples&&nd(n)&&s in n&&(o.content[s].example=n[s])}return o}function kY(e,t=["multipart/form-data"]){var i;const n={content:{}},r=t.filter(o=>o==="multipart/form-data"||o==="application/x-www-form-urlencoded"),a=r.length>0?r:["multipart/form-data"];if(n.content)for(const o of a){n.content[o]={schema:{type:"object",properties:{},required:[]}};const s=(i=n.content)==null?void 0:i[o];if(s!=null&&s.schema&&typeof s.schema=="object"&&"properties"in s.schema){for(const l of e)if(l.name&&s.schema.properties){s.schema.properties[l.name]={...CA(structuredClone(l)),...l.description!==void 0?{description:l.description}:{}};const c=_yt(l);c&&(s.encoding??(s.encoding={}),s.encoding[l.name]=c),l.required&&Array.isArray(s.schema.required)&&s.schema.required.push(l.name)}}}return n}function yI(e,t){const n={parameters:e.filter(i=>!(i.in==="body"||i.in==="formData")).map(i=>p8(i))},r=structuredClone(e.find(i=>i.in==="body")??{});r&&Object.keys(r).length&&(n.requestBody=xY(r,t));const a=e.filter(i=>i.in==="formData");if(a.length>0){const i=kY(a,t);typeof n.requestBody!="object"?n.requestBody=i:n.requestBody={...n.requestBody,content:{...n.requestBody.content,...i.content}},typeof n.requestBody!="object"&&(n.requestBody={content:{}})}return n}const Cyt=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema","schemas"]),$yt=new Set(["paths","webhooks","responses","content","headers","examples","links","encoding","variables","parameters","requestBodies","securitySchemes","pathItems","scopes"]),m8=e=>{if(!e)return!1;const t=e[0]==="x-ext"&&e[1]!==void 0?e.slice(2):e;let n=0;for(const r of t){if(n>0){n--;continue}if(Cyt.has(r)||r.endsWith("Schema"))return!0;if(r==="callbacks"){n=2;continue}$yt.has(r)&&(n=1)}return!1},Pyt=new Set(["properties","patternProperties","$defs","definitions"]);function py(e){const t=e==null?void 0:e[e.length-1];return t===void 0?!1:t==="schemas"&&(e==null?void 0:e[e.length-2])==="components"?!0:Pyt.has(t)}const Iyt=new Set(["example","default","const","enum"]);function Ryt(e){if(!e)return!1;for(const[t,n]of e.entries())if(Iyt.has(n)&&!py(e.slice(0,t))||n==="value"&&e[t-2]==="examples"&&!py(e.slice(0,t-2)))return!0;return!1}function Nyt(e){let t=e;return t===null||typeof t.openapi!="string"||!t.openapi.startsWith("3.0")||(t.openapi="3.1.1",t=td(t,Myt)),t}const Myt=(e,t)=>{if(Ryt(t))return e;if(e.type!==void 0&&e.nullable===!0)e.type=[e.type,"null"],delete e.nullable;else if(e.nullable===!0&&e.type===void 0){if(typeof e.$ref=="string"){const{nullable:i,$ref:o,...s}=e;return{...s,anyOf:[{$ref:o},{type:"null"}]}}if(Array.isArray(e.allOf)){const{nullable:i,allOf:o,...s}=e,l=o.length===1?o[0]:{allOf:o};return{...s,anyOf:[l,{type:"null"}]}}}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==null?void 0:t.some((i,o)=>i==="examples"&&o>0?!py(t.slice(0,o)):!1);if(e.example!==void 0&&!n&&!py(t)&&(m8(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),e.type==="object"&&e.properties!==void 0){const i=t==null?void 0:t.slice(0,-1);if((i==null?void 0:i.some((s,l)=>s==="content"&&(t==null?void 0: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!=null&&t.includes("content")&&(t!=null&&t.includes("application/octet-stream")))return{};const{format:r,...a}=e;if(e.type==="string"){if(e.format==="binary")return{...a,type:"string",contentMediaType:"application/octet-stream"};if(e.format==="base64")return{...a,type:"string",contentEncoding:"base64"};if(e.format==="byte"){const i=t==null?void 0:t.slice(0,-1),o=i==null?void 0:i.find((s,l)=>(t==null?void 0:t[l-1])==="content");return{...a,type:"string",contentEncoding:"base64",contentMediaType:o}}}return e["x-webhooks"]!==void 0&&(t===void 0||t.length===0)&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e};function Lyt(e,t){const n=Ayt(e);return Nyt(n)}const vI="```",Dyt=(e,t)=>
2476`${vI}${e} 2477${t.trimEnd()} 2478${vI}`,Byt=(e,t)=>`@example 2479${Dyt(e,t)}`,Uyt=e=>`\`${e}\``,jyt=(...e)=>e.join(` 2480 2481`),na=(e,t)=>jyt(e,Byt(t.language,t.body)),Fyt=le({"x-internal":P(tt({typeComment:"When true, hides the entity from public documentation"}))},{typeName:"XInternal",typeComment:na("Marks an entity as internal (hidden from external consumers).",{language:"yaml",body:"x-internal: true"})}),Qyt=le({"x-original-aas-version":P(D({typeComment:"Original AsyncAPI Specification version the document was loaded with."}))},{typeName:"XOriginalAasVersion",typeComment:na("Original AsyncAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-aas-version: "3.0.0"'})});le({"x-original-oas-version":P(D({typeComment:"Original OpenAPI Specification version of the source document."}))},{typeName:"XOriginalOasVersion",typeComment:na("Original OpenAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-oas-version: "3.1.0"'})});const zyt=le({name:D({typeComment:"Variable name"}),value:kt([le({description:P(D()),default:D()}),D()],{typeComment:"Variable value as a string, or an object with description and default"})},{typeName:"XScalarEnvVar",typeComment:"An environment variable definition"}),Hyt=le({description:P(D({typeComment:"Optional description for the environment"})),color:D({typeComment:"Color for the environment (for example a hex value)"}),variables:Xe(zyt,{typeComment:"Variables available in this environment"})},{typeName:"XScalarEnvironment",typeComment:"A named environment with variables and display color"});le({"x-scalar-environments":P(He(D(),Hyt,{typeComment:"Environments keyed by name"}))},{typeName:"XScalarEnvironments",typeComment:na("Named environments with variables for the API client (base URLs, tokens, etc.).",{language:"yaml",body:`x-scalar-environments: 2482 production: 2483 color: "#00ff00" 2484 variables: 2485 - name: apiKey 2486 value: prod-key`})});le({"x-scalar-icon":P(D({typeComment:"Icon identifier or URL for the API description"}))},{typeName:"XScalarIcon",typeComment:na("A custom icon representing the API description in the Scalar UI.",{language:"yaml",body:"x-scalar-icon: rocket"})});const Vyt=le({"x-scalar-ignore":P(tt({typeComment:"When true, the entity is hidden or ignored in the UI"}))},{typeName:"XScalarIgnore",typeComment:na("Internal extension to mark an entity as ignored in the Scalar UI.",{language:"yaml",body:"x-scalar-ignore: true"})}),qyt=le({"x-scalar-is-dirty":P(tt({typeComment:"When true, the document has unsaved changes"}))},{typeName:"XScalarIsDirty",typeComment:na("Tracks whether the document has been modified since it was last saved.",{language:"yaml",body:"x-scalar-is-dirty: true"})}),Zyt=le({name:D({typeComment:"The label to display for the link."}),url:D({typeComment:"The URL the link points to."})},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"});le({"x-scalar-links":P(Xe(Zyt,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:na("Additional named links to display alongside the API info, for example a privacy policy or an imprint. This is handy for the legal texts that some countries require on public websites.",{language:"yaml",body:`x-scalar-links: 2487 - name: Privacy Policy 2488 url: https://example.com/privacy 2489 - name: Imprint 2490 url: https://example.com/imprint`})});const Xyt=le({"x-scalar-navigation":P(rr({typeComment:"Serialized client navigation tree (`TraversedDocument`) for this API description"}))},{typeName:"XScalarNavigation",typeComment:"Client-side navigation tree persisted on the document. Matches `TraversedDocumentObjectRef` in strict OpenAPI schemas."}),Wyt=le({"x-scalar-original-document-hash":D({typeComment:"Hash of the document as originally loaded from an external source"})},{typeName:"XScalarOriginalDocumentHash",typeComment:na("Tracks the original document hash when loading from an external source. Used to detect modifications since last save.",{language:"yaml",body:'x-scalar-original-document-hash: "abc123"'})}),Yyt=le({"x-scalar-original-source-url":P(D({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:na("Original document source URL when the API description was loaded from an external source.",{language:"yaml",body:"x-scalar-original-source-url: https://example.com/openapi.yaml"})}),Gyt=le({namespace:D({typeComment:"The namespace under which this registry meta is scoped."}),slug:D({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:D({typeComment:"The version of the registry meta."}),commitHash:P(D({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:P(D({typeComment:"Registry commit hash that the cached `hasConflict` flag was computed against. When the registry advertises a different hash later, the cached result is stale and the conflict check must be re-run."})),hasConflict:P(tt({typeComment:"Cached outcome of the last conflict check, valid only while `conflictCheckedAgainstHash` matches the registry current hash for this version."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),Kyt=le({"x-scalar-registry-meta":P(Gyt)},{typeName:"XScalarRegistryMeta",typeComment:na("Registry sync metadata for a document published to Scalar Registry.",{language:"yaml",body:`x-scalar-registry-meta: 2491 namespace: acme 2492 slug: public-api 2493 version: "1.0.0"`})}),Jyt=le({lang:D({typeComment:"Programming language or platform (for example `TypeScript`, `Java`, `Python`)"}),description:P(D({typeComment:"Installation instructions in Markdown (supports fenced code blocks)"})),source:P(D({typeComment:"@deprecated Use `description` instead. When set, it is appended to `description` as a fenced code block (or used on its own when there is no `description`)."}))},{typeName:"XScalarSdkInstallationItem",typeComment:"One SDK installation instruction block"});le({"x-scalar-sdk-installation":P(Xe(Jyt,{typeComment:"Installation instructions shown in the API reference"}))},{typeName:"XScalarSdkInstallation",typeComment:na("Scalar SDK installation instructions for the API description.",{language:"yaml",body:"x-scalar-sdk-installation:\n - lang: TypeScript\n description: Install our SDK from npm with `npm install @scalar/sdk`"})});const evt=le({"x-scalar-watch-mode":P(tt({typeComment:"When true, the document is
2493watched for external file changes"}))},{typeName:"XScalarWatchMode",typeComment:na("Whether the document is in watch mode (reloads when the source file changes).",{language:"yaml",body:"x-scalar-watch-mode: true"})}),tvt=le({"x-tags":P(Xe(D(),{typeComment:"Ordered list of tag names for this schema object"}))},{typeName:"XTags",typeComment:na("Custom tag ordering hints for schema objects in the sidebar.",{language:"yaml",body:`x-tags: 2494 - users 2495 - admin`})}),nvt=le({"x-scalar-selected-server":P(D({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:na("The currently selected server for this API description. For OpenAPI documents the value is the server URL; for AsyncAPI documents the value is the server name (key in `document.servers`).",{language:"yaml",body:"x-scalar-selected-server: https://api.example.com"})}),rvt=le({"x-additionalPropertiesName":P(D({typeComment:"Human-readable label for additional properties on this schema"}))},{typeName:"XAdditionalPropertiesName",typeComment:na("Display name for additional properties on a schema object.",{language:"yaml",body:"x-additionalPropertiesName: metadata"})}),OI=kt([He(D(),D()),Xe(D())]),avt=le({"x-enumDescriptions":P(OI,{typeComment:"Map or list of descriptions keyed by enum value (camelCase spelling)"}),"x-enum-descriptions":P(OI,{typeComment:"Map or list of descriptions keyed by enum value (kebab-case spelling)"})},{typeName:"XEnumDescriptions",typeComment:na("Descriptions for enum values. Keys must match enum values.",{language:"yaml",body:`x-enumDescriptions: 2496 other: Other reason`})}),ivt=le({"x-enum-varnames":P(Xe(D(),{typeComment:"Display names for enum values (same order as `enum`)"})),"x-enumNames":P(Xe(D(),{typeComment:"Alias for x-enum-varnames â display names for enum values"}))},{typeName:"XEnumVarNames",typeComment:na(`Display names for enum values. Must match the order of the ${Uyt("enum")} array.`,{language:"yaml",body:`enum: [moon, asteroid] 2497x-enum-varnames: [Moon, Asteroid]`})}),ovt=le({"x-examples":P(He(D(),rr(),{typeComment:"Map of example name to example value"}))},{typeName:"XExamples",typeComment:na("Named examples attached to a schema. Keys are example names; values are the example payloads.",{language:"yaml",body:`x-examples: 2498 user: 2499 id: 1 2500 name: Ada`})}),svt=le({"x-variable":P(D({typeComment:"Variable name used for substitution in the API client"}))},{typeName:"XVariable",typeComment:na("References a variable for schema property substitution in the API client.",{language:"yaml",body:"x-variable: userId"})}),lvt=le({propertyName:D({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:P(He(D(),D(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),cvt=le({url:D({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:P(D({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),uvt=le({$status:P(kt([ce("loading"),ce("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:P(tt({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),dvt=le({$ref:D({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:P(D({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:P(D({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),us=e=>kt([dvt,e]),fvt=le({name:P(D({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:P(D({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:P(D({typeComment:"The prefix to be used for the name."})),attribute:P(tt({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:P(tt({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>
2500) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),hvt=[Vyt,Fyt,svt,ovt,avt,ivt,rvt,tvt],pvt=le({name:P(D({typeComment:"Schema name (extension)."})),title:P(D({typeComment:"A title for the schema."})),description:P(D({typeComment:"A description of the schema."})),default:P(rr({typeComment:"Default value for the schema."})),enum:P(Xe(rr(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:P(rr({typeComment:"Constant value that must match exactly."})),contentMediaType:P(D({typeComment:"Media type for content validation."})),contentEncoding:P(D({typeComment:"Content encoding."})),contentSchema:P(us(dt(()=>$o))),deprecated:P(tt({typeComment:"Whether the schema is deprecated."})),discriminator:P(lvt),readOnly:P(tt({typeComment:"Whether the schema is read-only."})),writeOnly:P(tt({typeComment:"Whether the schema is write-only."})),xml:P(fvt),externalDocs:P(cvt),example:P(rr({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated
2500in favor of the JSON Schema examples keyword."})),examples:P(Xe(rr(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:P(Xe(us(dt(()=>$o)),{typeName:"SchemaObjectAllOf"})),oneOf:P(Xe(us(dt(()=>$o)),{typeName:"SchemaObjectOneOf"})),anyOf:P(Xe(us(dt(()=>$o)),{typeName:"SchemaObjectAnyOf"})),not:P(us(dt(()=>$o)))}),AY=le({multipleOf:P(wr({typeComment:"Number must be a multiple of this value."})),maximum:P(wr({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:P(wr({typeComment:"Maximum value (exclusive)."})),minimum:P(wr({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:P(wr({typeComment:"Minimum value (exclusive)."}))}),mvt=En([le({type:kt([ce("number"),ce("integer")]),format:P(D({typeComment:"Different subtypes."}))}),AY],{typeName:"NumberSchemaObject"}),TY=le({maxLength:P(wr({typeComment:"Maximum string length."})),minLength:P(wr({typeComment:"Minimum string length."})),pattern:P(D({typeComment:"Regular expression pattern."}))}),gvt=En([le({type:ce("string"),format:P(D({typeComment:"Different subtypes."}))}),TY],{typeName:"StringSchemaObject"}),EY=le({maxProperties:P(wr({typeComment:"Maximum number of properties."})),minProperties:P(wr({typeComment:"Minimum number of properties."})),properties:P(He(D(),us(dt(()=>$o)),{typeName:"SchemaObjectProperties"})),required:P(Xe(D(),{typeName:"SchemaObjectRequired"})),additionalProperties:P(kt([us(dt(()=>$o)),le({}),tt()],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:P(He(D(),us(dt(()=>$o)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:P(us(dt(()=>$o)))}),bvt=En([le({type:ce("object")}),EY],{typeName:"ObjectSchemaObject"}),_Y=le({maxItems:P(wr({typeComment:"Maximum number of items in array."})),minItems:P(wr({typeComment:"Minimum number of items in array."})),uniqueItems:P(tt({typeComment:"Whether array items must be unique."})),items:P(us(dt(()=>$o))),prefixItems:P(Xe(us(dt(()=>$o)),{typeComment:"Schema for tuple validation."}))}),yvt=En([le({type:ce("array")}),_Y],{typeName:"ArraySchemaObject"}),vvt=kt([ce("null"),ce("boolean"),ce("string"),ce("number"),ce("integer"),ce("object"),ce("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),Ovt=le({type:kt([ce("null"),ce("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),Svt=En([le({type:Xe(vvt,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:P(D({typeComment:"Different subtypes."}))}),AY,TY,_Y,EY],{typeName:"MultiTypeSchemaObject"}),$o=En([pvt,...hvt,kt([Ovt,mvt,gvt,bvt,yvt,Svt,le({})])],{typeName:"SchemaObject"}),wvt=le({$ref:D({typeComment:"REQUIRED. The reference string."})},{typeName:"AsyncApiReferenceObject",typeComment:"JSON Reference for AsyncAPI components."}),CY=e=>We(e)&&"$ref"in e?CY(e["$ref-value"]):e,Dh=e=>En([wvt,le({"$ref-value":P(BN(CY,e))}),uvt]),Sn=e=>kt([e,Dh(e)]),xvt=le({schemaFormat:P(D({typeComment:"Media type identifying the schema format. When omitted, defaults to the AsyncAPI JSON Schema vocabulary for the document version."})),schema:Yl({typeComment:"REQUIRED. Schema definition in the format given by schemaFormat."})},{typeName:"AsyncApiMultiFormatSchemaObject"}),$Y=kt([ce(!0),ce(!1),$o],{typeName:"AsyncApiSchemaJsonShape"}),SI=Sn($Y),my=Sn(kt([xvt,$Y],{typeName:"AsyncApiMultiFormatSchemaOrSchemaObject"})),kvt=le({method:P(kt([ce("GET"),ce("POST")],{typeComment:"HTTP method used when establishing the WebSocket connection (typically GET)."})),query:P(SI,{typeComment:"Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object."}),headers:P(SI,{typeComment:"Schema Object describing HTTP headers sent during the WebSocket handshake (type object with properties). May be a Reference Object."}),bindingVersion:P(D({typeComment:'Version of the WebSocket binding. When omitted, "latest" is assumed per the binding spec.'}))},{typeName:"AsyncApiWsBindingObject",typeComment:"AsyncAPI WebSocket binding for handshake method, query, and headers."}),Avt=["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar","ros2"],Tvt=()=>P(Yl({typeComment:"Protocol-specific binding definition (see AsyncAPI protocol bindings)."})),Evt=()=>{const e={};for(const t of Avt)e[t]=t==="ws"?P(kvt):Tvt();return e},kO=(e,t)=>
vendor: 8,956 bytes, line 2500
2500le(Evt(),{typeName:e,typeComment:t}),PY=kO("AsyncApiServerBindingsObject","Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0)."),IY=kO("AsyncApiChannelBindingsObject","Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0)."),$A=kO("AsyncApiOperationBindingsObject","Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0)."),PA=kO("AsyncApiMessageBindingsObject","Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0)."),uc=Sn(le({description:P(D({typeComment:"A short description of the target documentation. CommonMark syntax MAY be used for rich text representation."})),url:D({typeComment:"REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL."})},{typeName:"AsyncApiExternalDocumentationObject"})),IA=Sn(le({description:P(D({typeComment:"An optional description of the identifier. CommonMark syntax MAY be used for rich text representation."})),location:D({typeComment:"REQUIRED. A runtime expression that specifies the location of the correlation ID."})},{typeName:"AsyncApiCorrelationIdObject"})),RY=le({headers:P(He(D(),Yl(),{typeComment:"Example headers; MUST validate against the Message Object headers field when present."})),payload:P(Yl({typeComment:"Example payload; MUST validate against the Message Object payload field when present."})),name:P(D({typeComment:"A machine-friendly name."})),summary:P(D({typeComment:"A short summary of what the example is about."}))},{typeName:"AsyncApiMessageExampleObject"}),NY=Sn(le({name:D({typeComment:"REQUIRED. The name of the tag."}),description:P(D({typeComment:"A short description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:P(uc)},{typeName:"AsyncApiTagObject"})),Kd=Xe(NY,{typeName:"AsyncApiTagsObject",typeComment:"A list of Tag Objects (entries MAY be Reference Objects)."}),MY=Sn(le({headers:P(my),correlationId:P(IA),contentType:P(D({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:P(D({typeComment:"A machine-friendly name for the message."})),title:P(D({typeComment:"A human-friendly title for the message."})),summary:P(D({typeComment:"A short summary of what the message is about."})),description:P(D({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn(PA)),examples:P(Xe(Sn(RY)))},{typeName:"AsyncApiMessageTraitObject"})),AO=dt(()=>Sn(le({headers:P(my),payload:P(my),correlationId:P(IA),contentType:P(D({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:P(D({typeComment:"A machine-friendly name for the message."})),title:P(D({typeComment:"A human-friendly title for the message."})),summary:P(D({typeComment:"A short summary of what the message is about."})),description:P(D({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn(PA)),examples:P(Xe(Sn(RY))),traits:P(Xe(MY))},{typeName:"AsyncApiMessageObject"}))),_vt=He(D(),AO,{typeName:"AsyncApiMessagesObject",typeComment:"Map of messageId to Message Object or Reference Object."}),LY=Sn(le({enum:P(Xe(D(),{typeComment:"An enumeration of string values for substitution."})),default:P(D({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:P(D({typeComment:"An optional description for the parameter. CommonMark syntax MAY be used for rich text representation."})),examples:P(Xe(D(),{typeComment:"Examples of the parameter value."})),location:P(D({typeComment:"A runtime expression that specifies the location of the parameter value."}))},{typeName:"AsyncApiParameterObject"})),Cvt=He(D(),LY,{typeName:"AsyncApiParametersObject",typeComment:"Map of parameter name to Parameter Object or Reference Object."}),Yg=le({authorizationUrl:P(D({typeComment:"REQUIRED for implicit and authorizationCode flows. The authorization URL (absolute URL)."})),tokenUrl:P(D({typeComment:"REQUIRED for password, clientCredentials, and authorizationCode flows. The token URL (absolute URL)."})),refreshUrl:P(D({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."})),availableScopes:P(He(D(),D(),{typeComment:"REQUIRED for OAuth2 flows. Map of scope name to a short description."}))},{typeName:"AsyncApiOAuthFlowObject"}),$vt=le({implicit:P(Sn(Yg)),password:P(Sn(Yg)),clientCredentials:P(Sn(Yg)),authorizationCode:P(Sn(Yg))},{typeName:"AsyncApiOAuthFlowsObject"}),TO=Sn(le({type:kt([ce("userPassword"),ce("apiKey"),ce("X509"),ce("symmetricEncryption"),ce("asymmetricEncryption"),ce("httpApiKey"),ce("http"),ce("oauth2"),ce("openIdConnect"),ce("plain"),ce("scramSha256"),ce("scramSha512"),ce("gssapi")],{typeComment:"REQUIRED. Security scheme type: userPassword, apiKey, X509, symmetricEncryption, asymmetricEncryption, httpApiKey, http, oauth2, openIdConnect, plain, scramSha256, scramSha512, gssapi."}),description:P(D({typeComment:"A short description for security scheme. CommonMark syntax MAY be used for rich text representation."})),name:P(D({typeComment:"REQUIRED for httpApiKey. The name of the header, query or cookie parameter."})),in:P(kt([ce("user"),ce("password"),ce("query"),ce("header"),ce("cookie")],{typeComment:"REQUIRED for apiKey and httpApiKey. Location of the API key: user, password, query, header, or cookie."})),scheme:P(D({typeComment:"REQUIRED for http. The name of the HTTP Authorization scheme to be used in the Authorization header."})),bearerFormat:P(D({typeComment:"A hint to the client to identify how the bearer token is formatted."})),flows:P(Sn($vt)),openIdConnectUrl:P(D({typeComment:"REQUIRED for openIdConnect. OpenId Connect URL to discover OAuth2 configuration values (absolute URL)."})),scopes:P(Xe(D(),{typeComment:"List of the needed scope names for oauth2 and openIdConnect."}))},{typeName:"AsyncApiSecuritySchemeObject"})),DY=Sn(le({enum:P(Xe(D(),{typeComment:"An enumeration of string values for substitution."})),default:P(D({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:P(D({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."})),examples:P(Xe(D(),{typeComment:"Examples of the server variable."}))},{typeName:"AsyncApiServerVariableObject"})),RA=Sn(le({host:D({typeComment:"REQUIRED. The server host name. It MAY include the port. Supports Server Variables in {braces}."}),protocol:D({typeComment:"REQUIRED. The protocol this server supports for connection."}),protocolVersion:P(D({typeComment:"The version of the protocol used for connection (for example 0-9-1 for AMQP)."})),pathname:P(D({typeComment:"The path to a resource in the host. Supports Server Variables in {braces}."})),description:P(D({typeComment:"An optional string describing the server. CommonMark syntax MAY be used for rich text representation."})),title:P(D({typeComment:"A human-friendly title for the server."})),summary:P(D({typeComment:"A short summary of the server."})),variables:P(He(D(),DY,{typeComment:"Map between a variable name and its Server Variable Object or Reference Object."})),security:P(Xe(TO,{typeComment:"Alternative security schemes for this server; only one of the security scheme objects need to be satisfied."})),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn(PY))},{typeName:"AsyncApiServerObject"})),Pvt=He(D(),RA,{typeName:"AsyncApiServersObject",typeComment:"Map of server name to Server Object or Reference Object."}),NA=dt(()=>le({address:P(kt([D(),x6()],{typeComment:"Channel address or null when unknown."})),messages:P(_vt),title:P(D({typeComment:"A human-friendly title for the channel."})),summary:P(D({typeComment:"A short summary of the channel."})),description:P(D({typeComment:"An optional description of this channel. CommonMark syntax MAY be used for rich text representation."})),servers:P(Xe(Dh(RA),{typeComment:"References to Server definitions where this channel is available (Reference Objects only in the raw document)."})),parameters:P(Cvt),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn(IY))},{typeName:"AsyncApiChannelObject"})),BY=He(D(),Sn(NA),{typeName:"AsyncApiChannelsObject",typeComment:"Map of channelId to Channel Object or Reference Object."}),UY=Sn(le({description:P(D({typeComment:"An optional description of the address. CommonMark syntax MAY be used for rich text representation."})),location:D({typeComment:"REQUIRED. A runtime expression that specifies the location of the reply address."})},{typeName:"AsyncApiOperationReplyAddressObject"})),jY=dt(()=>Sn(le({address:P(UY),channel:P(Dh(NA)),messages:P(Xe(Dh(AO),{typeComment:"List of $ref pointers to Message Ob
2500jects used as reply payloads (Reference Objects only in the raw document)."}))},{typeName:"AsyncApiOperationReplyObject"}))),FY=Sn(le({title:P(D({typeComment:"A human-friendly title for the operation."})),summary:P(D({typeComment:"A short summary of what the operation is about."})),description:P(D({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:P(Xe(TO,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn($A))},{typeName:"AsyncApiOperationTraitObject"})),QY=dt(()=>Sn(le({action:kt([ce("send"),ce("receive")],{typeComment:"REQUIRED. send when the application sends to the channel; receive when it receives from the channel."}),channel:Dh(NA),title:P(D({typeComment:"A human-friendly title for the operation."})),summary:P(D({typeComment:"A short summary of what the operation is about."})),description:P(D({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:P(Xe(TO,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:P(Kd),externalDocs:P(uc),bindings:P(Sn($A)),traits:P(Xe(FY)),messages:P(Xe(Dh(AO),{typeComment:"Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none."})),reply:P(jY)},{typeName:"AsyncApiOperationObject"}))),Ivt=He(D(),QY,{typeName:"AsyncApiOperationsObject",typeComment:"Map of operationId to Operation Object or Reference Object."}),Rvt=dt(()=>le({schemas:P(He(D(),my,{typeComment:"Reusable Multi Format Schema, Schema Object, or Reference Object."})),servers:P(He(D(),RA)),channels:P(BY),operations:P(He(D(),QY)),messages:P(He(D(),AO)),securitySchemes:P(He(D(),TO)),serverVariables:P(He(D(),DY)),parameters:P(He(D(),LY)),correlationIds:P(He(D(),IA)),replies:P(He(D(),jY)),replyAddresses:P(He(D(),UY)),externalDocs:P(He(D(),uc)),tags:P(He(D(),NY)),operationTraits:P(He(D(),FY)),messageTraits:P(He(D(),MY)),serverBindings:P(He(D(),Sn(PY))),channelBindings:P(He(D(),Sn(IY))),operationBindings:P(He(D(),Sn($A))),messageBindings:P(He(D(),Sn(PA)))},{typeName:"AsyncApiComponentsObject",typeComment:"Reusable objects. Definitions here have no effect unless referenced from outside components."})),Nvt=le({name:P(D({typeComment:"The identifying name of the contact person/organization."})),url:P(D({typeComment:"The URL pointing to the contact information. This MUST be in the form of an absolute URL."})),email:P(D({typeComment:"The email address of the contact person/organization."}))},{typeName:"AsyncApiContactObject"}),Mvt=Sn(le({name:D({typeComment:"REQUIRED. The license name used for the API."}),url:P(D({typeComment:"A URL to the license used for the API. This MUST be in the form of an absolute URL."}))},{typeName:"AsyncApiLicenseObject"})),Lvt=le({title:D({typeComment:"REQUIRED. The title of the application."}),version:D({typeComment:"REQUIRED. Provides the version of the application API (not to be confused with the AsyncAPI Specification version)."}),description:P(D({typeComment:"A short description of the application. CommonMark syntax MAY be used for rich text representation."})),termsOfService:P(D({typeComment:"A URL to the Terms of Service for the API (absolute URL)."})),contact:P(Nvt),license:P(Mvt),tags:P(Kd),externalDocs:P(uc)},{typeName:"AsyncApiInfoObject"}),Dvt=En([Qyt,Xyt,Yyt,Wyt,qyt,evt,Kyt,nvt],{typeName:"AsyncApiExtensions",typeComment:"AsyncAPI document-level Scalar extensions shared with workspace tooling."}),Bvt=le({asyncapi:D({typeComment:"REQUIRED. AsyncAPI Specification version (major.minor.patch). Patch MAY include a hyphen suffix."}),id:P(D({typeComment:"Identifier of the application the AsyncAPI document is defining (URI, RFC3986)."})),info:Lvt,servers:P(Pvt),defaultContentType:P(D({typeComment:"Default content type when encoding/decoding a message payload (for example application/json)."})),channels:P(BY),operations:P(Ivt),components:P(Sn(Rvt))}
2500,{typeName:"AsyncApiDocumentCore",typeComment:"Root AsyncAPI 3.1.0 document combining resource listing and API declaration."}),Uvt=En([Bvt,Dvt],{typeName:"AsyncApiObject",typeComment:"Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema)."}),Lm=O.Object({name:O.String(),value:O.String()}),jvt=O.Object({url:O.String(),method:O.String(),httpVersion:O.String(),headers:O.Array(Lm),cookies:O.Array(Lm),headersSize:O.Number(),queryString:O.Array(Lm),bodySize:O.Number(),postData:O.Optional(O.Union([O.Object({mimeType:O.String(),text:O.String()}),O.Object({mimeType:O.String(),params:O.Array(O.Object({name:O.String(),value:O.Optional(O.String())}))})]))}),Fvt=O.Object({status:O.Number(),statusText:O.String(),headers:O.Array(Lm),cookies:O.Array(Lm),httpVersion:O.String(),redirectURL:O.String(),headersSize:O.Number(),bodySize:O.Number(),content:O.Object({size:O.Number(),mimeType:O.String(),encoding:O.Optional(O.String()),text:O.Optional(O.String())})}),Qvt=O.Object({time:O.Number(),timestamp:O.Number(),request:jvt,response:Fvt,meta:O.Object({example:O.String()}),requestMetadata:O.Object({variables:O.Record(O.String(),O.String())})}),zvt=O.Record(O.String(),O.Record(O.String(),O.Array(Qvt))),Hvt=O.Record(O.String(),zvt),Vvt=5,qvt=({hooks:e})=>{const t=Cs({});return{getHistory:(c,u,d)=>{var f,h;return(h=(f=t[c])==null?void 0:f[u])==null?void 0:h[d]},addHistory:(c,u,d,f)=>{var h,p,m;t[c]||(t[c]={}),(h=t[c])[u]||(h[u]={}),(p=t[c][u])[d]||(p[d]=[]),t[c][u][d].length>=Vvt&&(t[c][u][d]=qt(t[c][u][d].filter((g,v)=>v!==0),{depth:1})),t[c][u][d].push(f),(m=e==null?void 0:e.onHistoryChange)==null||m.call(e,c)},clearOperationHistory:(c,u,d)=>{var f,h,p;(h=(f=t[c])==null?void 0:f[u])==null||delete h[d],(p=e==null?void 0:e.onHistoryChange)==null||p.call(e,c)},clearPathHistory:(c,u)=>{var d,f;(d=t[c])==null||delete d[u],(f=e==null?void 0:e.onHistoryChange)==null||f.call(e,c)},clearDocumentHistory:c=>{var u;delete t[c],(u=e==null?void 0:e.onHistoryChange)==null||u.call(e,c)},load:c=>{const u=co(Hvt,c);wc(t,u),Object.keys(u).forEach(d=>{var f;(f=e==null?void 0:e.onHistoryChange)==null||f.call(e,d)})},export:()=>qt(t)}},Zvt=e=>e.fetch?e.fetch:(t,n)=>fetch(lv(e.proxyUrl,t.toString()),n),_c=(e,t)=>{if(e&&typeof e=="object"&&"$ref"in e&&typeof e.$ref=="string"&&e.$ref.startsWith("#")){const n=xO(e.$ref.slice(1));return _c(C8(t.rootNode,n),t)}return e},Xvt=()=>({type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}}),wI=()=>({type:"lifecycle",onAfterNodeProcess:async(e,t)=>{const n=e.externalValue,r=t.resolutionCache;if(typeof n!="string")return;const a=mY(t.origin,n),i=t.loaders.find(s=>s.validate(a));if(!i)return;r.has(a)||r.set(a,i.exec(a));const o=await r.get(a);o!=null&&o.ok&&(e.value=o.data)}}),Wvt=()=>({type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{const{path:n,resolutionCache:r,parentNode:a}=t,i=e.$ref;if(typeof i!="string"||!a||!n.length)return;const o=t.loaders.find(s=>s.validate(i));if(o&&n[0]==="info"){r.has(i)||r.set(i,o.exec(i));const s=await r.get(i);s!=null&&s.ok&&(a[n.at(-1)]=s.data)}}}),Yvt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const n=e.$ref,a=t.rootNode["x-ext-urls"];if(typeof n!="string"||typeof a!="object"||a===null||!ETe(n))return;const o=n.split("/").at(-1)??"";e.$ref=a[o]??n}}),Gvt=()=>({type:"lifecycle",onAfterNodeProcess:(e,t)=>{const{path:n}=t;if(n.length===3&&n[0]==="components"&&n[1]==="securitySchemes"){const r=_c(e,t);typeof r=="object"&&r!==null&&"scheme"in r&&typeof r.scheme=="string"&&r.scheme.toLowerCase()!==r.scheme&&(r.scheme=r.scheme.toLowerCase())}}}),Kvt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n,referencedFromPath:r}=t,a=m8(n)||m8(r);if(typeof e.$ref=="string"&&!a){const i=new Set(["$ref","summary","description","$status"]);Object.keys(e).forEach(o=>{i.has(o)||delete e[o]})}}}),Jvt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{const{path:n}=t;if(n.length!==2||n[0]!=="paths"||typeof n[1]!="string")return;const r=n[1];for(const a of ev){const i=_c(e[a],t);if(!We(i))continue;const o=h=>{const p=_c(h,t);return We(p)&&"name"in p&&typeof p.name=="string"&&"in"in p&&typeof p.in=="str
2500ing"},s=h=>{const p=_c(h,t);return o(p)&&p.in==="path"},l=("parameters"in i&&Array.isArray(i.parameters)?i.parameters:[]).filter(o),c=new Set(l.map(h=>_c(h,t)).filter(s).map(h=>h.name)),d=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(h=>{const p=_c(h,t);if(!s(p))return!1;const m=!c.has(p.name);return m&&c.add(p.name),m}),f=FQe(r,r,[...l,...d],h=>_c(h,t));f.length>0&&(i.parameters=f)}}}),eOt=["__scalar_","$status"],tOt=()=>({type:"lifecycle",onBeforeNodeProcess:e=>{if(We(e))for(const t of eOt)t in e&&delete e[t]}}),P2=le({url:D({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:P(D({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),nOt=le({name:P(D({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:P(D({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:P(D({typeComment:"The prefix to be used for the name."})),attribute:P(tt({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:P(tt({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),rOt=le({propertyName:D({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:P(He(D(),D(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),aOt=e=>{const t=[Yp,Gp,ude,lde,ade,ode,nde,Jce,ede],n=le({name:P(D({typeComment:"Schema name (extension)."})),$id:P(D({typeComment:"JSON Schema 2020-12 schema identifier."})),$anchor:P(D({typeComment:"JSON Schema 2020-12 plain-name anchor."})),$dynamicAnchor:P(D({typeComment:"JSON Schema 2020-12 dynamic anchor; the target a matching `$dynamicRef` resolves to."})),$dynamicRef:P(D({typeComment:"JSON Schema 2020-12 dynamic reference, resolved against the active `$dynamicAnchor`."})),title:P(D({typeComment:"A title for the schema."})),description:P(D({typeComment:"A description of the schema."})),default:P(rr({typeComment:"Default value for the schema."})),enum:P(Xe(rr(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:P(rr({typeComment:"Constant value that must match exactly."})),contentMediaType:P(D({typeComment:"Media type for content validation."})),contentEncoding:P(D({typeComment:"Content encoding."})),contentSchema:P(e(dt(()=>m))),deprecated:P(tt({typeComment:"Whether the schema is deprecated."})),discriminator:P(rOt),readOnly:P(tt({typeComment:"Whether the schema is read-only."})),writeOnly:P(tt({typeComment:"Whether the schema is write-only."})),xml:P(nOt),externalDocs:P(P2),example:P(rr({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated
2500in favor of the JSON Schema examples keyword."})),examples:P(Xe(rr(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:P(Xe(e(dt(()=>m)),{typeName:"SchemaObjectAllOf"})),oneOf:P(Xe(e(dt(()=>m)),{typeName:"SchemaObjectOneOf"})),anyOf:P(Xe(e(dt(()=>m)),{typeName:"SchemaObjectAnyOf"})),not:P(e(dt(()=>m)))}),r=le({__scalar_:D({typeComment:"Internal marker for schema object disambiguation."})}),a=le({multipleOf:P(wr({typeComment:"Number must be a multiple of this value."})),maximum:P(wr({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:P(wr({typeComment:"Maximum value (exclusive)."})),minimum:P(wr({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:P(wr({typeComment:"Minimum value (exclusive)."}))}),i=En([le({type:kt([ce("number"),ce("integer")]),format:P(D({typeComment:"Different subtypes."}))}),a],{typeName:"NumberSchemaObject"}),o=le({maxLength:P(wr({typeComment:"Maximum string length."})),minLength:P(wr({typeComment:"Minimum string length."})),pattern:P(D({typeComment:"Regular expression pattern."}))}),s=En([le({type:ce("string"),format:P(D({typeComment:"Different subtypes."}))}),o],{typeName:"StringSchemaObject"}),l=le({maxProperties:P(wr({typeComment:"Maximum number of properties."})),minProperties:P(wr({typeComment:"Minimum number of properties."})),properties:P(He(D(),e(dt(()=>m)),{typeName:"SchemaObjectProperties"})),required:P(Xe(D(),{typeName:"SchemaObjectRequired"})),additionalProperties:P(kt([tt(),e(dt(()=>m))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:P(He(D(),e(dt(()=>m)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:P(e(dt(()=>m)))}),c=En([le({type:ce("object")}),l],{typeName:"ObjectSchemaObject"}),u=le({maxItems:P(wr({typeComment:"Maximum number of items in array."})),minItems:P(wr({typeComment:"Minimum number of items in array."})),uniqueItems:P(tt({typeComment:"Whether array items must be unique."})),items:P(e(dt(()=>m))),prefixItems:P(Xe(e(dt(()=>m)),{typeComment:"Schema for tuple validation."}))}),d=En([le({type:ce("array")}),u],{typeName:"ArraySchemaObject"}),f=kt([ce("null"),ce("boolean"),ce("string"),ce("number"),ce("integer"),ce("object"),ce("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),h=le({type:kt([ce("null"),ce("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),p=En([le({type:Xe(f,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:P(D({typeComment:"Different subtypes."}))}),a,o,u,l],{typeName:"MultiTypeSchemaObject"}),m=En([n,...t,kt([r,h,i,s,c,d,p])],{typeName:"SchemaObject"});return m},iOt=(e,t={})=>{const n=le({name:P(D({typeComment:"The name of the contact."})),url:P(D({typeComment:"The URI for the contact information. This MUST be in the form of a URI."})),email:P(D({typeComment:"The email address of the contact person/organization. This MUST be in the form of an email address."}))},{typeName:"ContactObject"}),r=le({name:P(D({typeComment:"REQUIRED. The license name used for the API."})),identifier:P(D({typeComment:"An SPDX license expression for the API. The identifier field is mutually exclusive of the url field."})),url:P(D({typeComment:"A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field."}))},{typeName:"LicenseObject"}),a=En([le({title:D({typeComment:"REQUIRED. The title of the API."}),version:D({typeComment:"REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description)."}),summary:P(D({typeComment:"A short summary of the API."})),description:P(D({typeComment:"A description of the API. CommonMark syntax MAY be used for rich text representation."})),termsOfService:P(D({typeComment:"A URI for the Terms of Service for the API. This MUST be in the form of a URI."})),contact:P(n),license:P(r)},{typeName:"InfoObject"}),Xce,Hce]),i=le({enum:P(Xe(D(),{typeComment:"An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty."})),default:P(D({typeComment:"The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than
2500inserting the value into the data."})),description:P(D({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ServerVariableObject"}),o=le({url:D({typeComment:"REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}."}),description:P(D({typeComment:"An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation."})),variables:P(He(D(),i,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),s=t.schemaObject??aOt(e),l=En([le({name:D({typeComment:"REQUIRED. The name of the tag."}),description:P(D({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:P(P2)},{typeName:"TagObject"}),Pde,Gp,Yp,Ew]),c=He(D(),Xe(D()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),u=le({description:P(D({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),d=le({...u.properties,type:ce("apiKey"),name:D({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:kt([ce("query"),ce("header"),ce("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),f=le({...u.properties,type:ce("http"),scheme:kt([ce("basic"),ce("bearer")],{typeName:"HttpSecuritySchemeScheme",typeComment:"REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235."}),bearerFormat:P(D({typeComment:"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes."}))},{typeName:"HttpSecuritySchemeObject"}),h=le({...u.properties,type:ce("mutualTLS")},{typeName:"MutualTlsSecuritySchemeObject"}),p=[rue,tue,pue,oue,lue],m=le({refreshUrl:D({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),scopes:He(D(),D(),{typeComment:"REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.",typeName:"OAuthFlowScopes"})},{typeName:"OAuthFlowBaseCore"}),g=En([m,...p,le({authorizationUrl:D({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ImplicitOAuthFlowObject"})]),v=En([m,...p,le({tokenUrl:D({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"PasswordOAuthFlowObject"}),LO]),k=En([m,...p,le({tokenUrl:D({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ClientCredentialsOAuthFlowObject"}),LO]),S=En([m,...p,le({authorizationUrl:D({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),tokenUrl:D({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"AuthorizationCodeOAuthFlowObject"}),gue,LO]),A=le({implicit:P(g),password:P(v),clientCredentials:P(k),authorizationCode:P(S)},{typeName:"OAuthFlowsObject"}),E=En([le({...u.properties,type:ce("oauth2"),flows:A},{typeName:"OAuth2SecuritySchemeObject"}),Sde]),_=le({...u.properties,type:ce("openIdConnect"),openIdConnectUrl:D({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"}),C=kt([d,f,h,E,_],{typeName:"SecuritySchemeObject"}
vendor: 11,367 bytes, line 2500
2500),R=le({schemas:P(He(D(),e(s),{typeName:"ComponentsSchemas"})),responses:P(He(D(),e(dt(()=>xe)),{typeName:"ComponentsResponses"})),parameters:P(He(D(),e(dt(()=>ye)),{typeName:"ComponentsParameters"})),examples:P(He(D(),e(dt(()=>B)),{typeName:"ComponentsExamples"})),requestBodies:P(He(D(),e(dt(()=>Ee)),{typeName:"ComponentsRequestBodies"})),headers:P(He(D(),e(dt(()=>ee)),{typeName:"ComponentsHeaders"})),securitySchemes:P(He(D(),e(dt(()=>C)),{typeName:"ComponentsSecuritySchemes"})),links:P(He(D(),e(dt(()=>j)),{typeName:"ComponentsLinks"})),callbacks:P(He(D(),e(dt(()=>Z)),{typeName:"ComponentsCallbacks"})),pathItems:P(He(D(),dt(()=>ie),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),B=En([le({summary:P(D({typeComment:"Short description for the example."})),description:P(D({typeComment:"Long description for the example. CommonMark syntax MAY be used for rich text representation."})),value:P(rr({typeComment:"Embedded literal example. The value field and externalValue field are mutually exclusive."})),externalValue:P(D({typeComment:"A URI that identifies the literal example. The value field and externalValue field are mutually exclusive."}))},{typeName:"ExampleObject"}),Lce]),L=le({description:P(D({typeComment:"A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:P(tt({typeComment:"Determines whether this header is mandatory. The default value is false."})),deprecated:P(tt({typeComment:"Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false."}))},{typeName:"HeaderBase"}),V=En([L,le({style:P(D({typeComment:'Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".'})),explode:P(tt({typeComment:"When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples."})),schema:P(e(dt(()=>s))),example:P(rr()),examples:P(He(D(),e(dt(()=>B)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),Q=En([L,le({content:P(He(D(),dt(()=>G),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})]),ee=kt([V,Q],{typeName:"HeaderObject"}),ne=le({contentType:P(D({typeComment:"The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*)."})),headers:P(He(D(),e(dt(()=>ee)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),G=le({schema:P(e(dt(()=>s))),example:P(rr({typeComment:"Example of the media type."})),examples:P(He(D(),e(dt(()=>B)),{typeName:"MediaTypeExamples"})),encoding:P(He(D(),ne,{typeComment:"A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property.",typeName:"MediaTypeEncoding"}))},{typeName:"MediaTypeObject"}),re=En([le({name:D({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:kt([ce("query"),ce("header"),ce("path"),ce("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:P(D({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:P(tt({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:P(tt({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:P(tt({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:P(tt({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),style:P(D({typeComment:"Describes how the parameter value will be serialized (depending on the schema type)."})),explode:P(tt({typeComment:"When this is true, parameter values of type array or object generate separate parameters for each array item or object property."})),schema:P(e(dt(()=>s))),example:P(rr()),examples:P(He(D(),e(dt(()=>B)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),CT,Gp,Yp]),Y=En([le({name:D({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:kt([ce("query"),ce("header"),ce("path"),ce("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:P(D({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:P(tt({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:P(tt({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:P(tt({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:P(tt({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),content:P(He(D(),dt(()=>G),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),CT,Gp,Yp]),ye=kt([re,Y],{typeName:"ParameterObject"}),Ee=En([le({description:P(D({typeComment:"A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),content:He(D(),dt(()=>G),{typeComment:"REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it.",typeName:"RequestBodyContent"}),required:P(tt({typeComment:"Determines if the request body is required in the request. Defaults to false."}))},{typeName:"RequestBodyObject"}),Wue]),j=le({operationRef:P(D({typeComment:"A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object."})),operationId:P(D({typeComment:"The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field."})),parameters:P(He(D(),rr(),{typeComment:"A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.",typeName:"LinkParameters"})),requestBody:P(rr({typeComment:"A literal value or {expression} to use as a request body when calling the target operation."})),description:P(D({typeComment:"A description of the link. CommonMark syntax MAY be used for rich text representation."})),server:P(o)},{typeName:"LinkObject"}),xe=le({description:D({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:P(He(D(),e(dt(()=>ee)),{typeName:"ResponseHeaders"})),content:P(He(D(),dt(()=>G),{typeName:"ResponseContent"})),links:P(He(D(),e(dt(()=>j)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),Ie=He(D(),e(dt(()=>xe)),{typeName:"ResponsesObject"}),Z=He(D(),e(dt(()=>ie)),{typeName:"CallbackObject"}),rt=En([le({tags:P(Xe(D(),{typeComment:"A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.",typeName:"OperationTags"})),summary:P(D({typeComment:"A short summary of what the operation does."})),description:P(D({typeComment:"A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation."})),externalDocs:P(P2),operationId:P(D({typeComment:"Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive."})),parameters:P(Xe(e(dt(()=>ye)),{typeName:"OperationParameters"})),requestBody:P(e(dt(()=>Ee))),responses:P(dt(()=>Ie)),deprecated:P(tt({typeComment:"Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false."})),security:P(Xe(c,{typeName:"OperationSecurity"})),servers:P(Xe(o,{typeName:"OperationServers"})),callbacks:P(He(D(),e(dt(()=>Z)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),wue,Gp,Yp,$ue,jue,Due,wT,xT,Iue,kT]),ie=le({$ref:P(D({typeComment:"Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object."})),summary:P(D({typeComment:"An optional string summary, intended to apply to all operations in this path."})),description:P(D({typeComment:"An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation."})),get:P(e(dt(()=>rt))),put:P(e(dt(()=>rt))),post:P(e(dt(()=>rt))),delete:P(e(dt(()=>rt))),patch:P(e(dt(()=>rt))),connect:P(e(dt(()=>rt))),options:P(e(dt(()=>rt))),head:P(e(dt(()=>rt))),trace:P(e(dt(()=>rt))),servers:P(Xe(o,{typeName:"PathItemServers"})),parameters:P(Xe(e(dt(()=>ye)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),Pe=le({"x-original-oas-version":P(D({typeComment:"Original OpenAPI Specification version of the source document."})),[qs.document.navigation]:P(rr({typeComment:"Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas."}))},{typeName:"OpenApiExtensionsPartial"}),gt=le({openapi:D({typeComment:"REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string."}),info:a,jsonSchemaDialect:P(D({typeComment:"The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI."})),servers:P(Xe(o,{typeComment:"An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /.",typeName:"OpenApiServers"})),paths:P(He(D(),ie,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:P(He(D(),ie,{typeComment:"The incoming webhooks that MAY be received as part of this API and that the API consumer MAY cho
2500ose to implement.",typeName:"WebhooksObject"})),components:P(R),security:P(Xe(c,{typeComment:"A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request.",typeName:"OpenApiSecurity"})),tags:P(Xe(l,{typeComment:"A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools."})),externalDocs:P(P2)},{typeName:"OpenApiDocumentCore"});return En([gt,Pe,Gle,hce,zle,kT,Vle,Ew,cce,Wle,Zle,ice,rce,tce,Ble,xT,wT],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})},oOt=le({$status:P(kt([ce("loading"),ce("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:P(tt({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),sOt=le({$ref:D({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:P(D({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:P(D({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),zY=e=>We(e)&&"$ref"in e?zY(e["$ref-value"]):e,lOt=e=>kt([e,En([sOt,le({"$ref-value":BN(zY,e)}),oOt])]),cOt=10;function xI(e){if("url"in e)return f8({fetch:e.fetch}).exec(e.url);if("path"in e){const t=e.fileLoader;return t?t.exec(e.path):(console.error("No loader provided for loading files"),Promise.resolve({ok:!1}))}return Promise.resolve({ok:!0,data:e.document,raw:JSON.stringify(e.document)})}const kI=e=>{if("url"in e)return e.url;if("path"in e)return e.path},uOt=iOt(lOt),AI=new Set(["x-scalar-is-dirty","x-scalar-registry-meta"]),dOt=e=>{const t=Mr(e),n=["x-ext","x-ext-urls","x-scalar-navigation","x-scalar-is-dirty","x-original-oas-version","x-scalar-original-document-hash","x-scalar-original-source-url","x-scalar-registry-meta"];for(const r of n)delete t[r];return t},TI=e=>{const{verbose:t=!1}=e??{},n=(C,R)=>t?Dbt(C,R):R(),r=(C,R)=>t?Bbt(C,R):R(),a={},i=C=>{var R;(R=e==null?void 0:e.plugins)==null||R.forEach(B=>{var L,V;return(V=(L=B.hooks)==null?void 0:L.onWorkspaceStateChanges)==null?void 0:V.call(L,C)})},o=Cs(yw({...e==null?void 0:e.meta,documents:{},get activeDocument(){return o.documents[f()]}},{hooks:{onAfterChange(C){const R=C[0];if(R==="documents"){if(C.length<2){console.log("[WARN]: Overriding entire documents object is not supported");return}const ee=C[1],ne=o.documents[ee]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},G={type:"documents",documentName:ee,value:qt(ne),path:C.slice(2)};G.path.length>0&&!AI.has(G.path[0])&&(ne["x-scalar-is-dirty"]=!0),i(G);return}if(R==="activeDocument"){const ee=f(),ne=o.documents[ee]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},G={type:"documents",documentName:ee,value:qt(ne),path:C.slice(2)};G.path.length>0&&!AI.has(G.path[0])&&(ne["x-scalar-is-dirty"]=!0),i(G);return}const{activeDocument:B,documents:L,...V}=o,Q={type:"meta",value:qt(V,{depth:1})};i(Q)}}})),{originalDocuments:s,intermediateDocuments:l,overrides:c}=yw({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(C){const R=C[0];if(!R||C.length<2)return;const B=C[1];if(R==="originalDocuments"){const L={type:R,documentName:B,value:qt(s[B]??{}),path:C.splice(2)};i(L)}if(R==="intermediateDocuments"){const L={type:R,documentName:B,value:qt(l[B]??{}),path:C.splice(2)};i(L)}if(R==="overrides"){const L={type:R,documentName:B,value:qt(c[B]??{})};i(L)}}}}),u=qvt({hooks:{onHistoryChange:C=>{i({type:"history",documentName:C,value:u.export()[C]??{}})}}}),d=_Te({hooks:{onAuthChange:C=>{i({type:"auth",documentName:C,value:d.export()[C]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function f(){return o[qs.workspace.activeDocument]??Object.keys(o.documents)[0]??""}function h(C,R,B){const L=s[C];if(L)return R==="json"?B?JSON.stringify(L):JSON.stringify(L,null,2):Wut.stringify(L)}const p=async C=>{const R=o.documents[C],B=await A(C);
2500return!R||!B?(console.warn("Failed to save document, active document is missing"),!1):(s[C]=B,l[C]=Mr(B),R["x-scalar-is-dirty"]=!1,!0)};async function m(C,R){var re,Y,ye;const{name:B}=C,L=Mr(C.meta),V=n("deepClone",()=>Mr(C.document));n("initialize",()=>{C.initialize!==!1&&(s[B]=Mr(V),l[B]=Mr(V),c[B]=C.overrides??{},a[B]={fetch:C.fetch})});const Q=[f8({fetch:((re=a[B])==null?void 0:re.fetch)??(e==null?void 0:e.fetch),limit:cOt})];if(e!=null&&e.fileLoader&&Q.push(e.fileLoader),Bo(V)){const Ee=V.asyncapi,j=n("upgrade",()=>Lbt(Mr(V))),xe=wf({...j,...L,"x-original-aas-version":Ee,"x-scalar-original-document-hash":C.documentHash,"x-scalar-original-source-url":C.documentSource});await r("bundle",async()=>await Xg(zu(xe),{treeShake:!1,plugins:Q,urlMap:!0,origin:C.documentSource}));const Ie=n("coerceValue",()=>z2(Uvt,Mr(zu(xe))));if(n("mergeObjects",()=>tb(xe,Ie)),xe[qs.document.navigation]===void 0){const Z=oze(B,xe,R);xe[qs.document.navigation]=Z}o.documents[B]=e2(xe,{overrides:qt(c[B])});return}const ee=n("upgrade",()=>Lyt(Mr(V))),ne=wf({...ee,...L,"x-original-oas-version":((Y=s[B])==null?void 0:Y.openapi)??((ye=s[B])==null?void 0:ye.swagger),"x-scalar-original-document-hash":C.documentHash,"x-scalar-original-source-url":C.documentSource},{showInternal:!0});if(ne[qs.document.navigation]===void 0){await r("bundle",async()=>await Xg(zu(ne),{treeShake:!1,plugins:[...Q,Kvt(),wI(),Wvt(),Gvt(),Jvt()],urlMap:!0,origin:C.documentSource}));const Ee=n("coerceValue",()=>z2(uOt,Mr(ne)));n("mergeObjects",()=>tb(ne,Ee))}if(!oi(PT,ne)){const Ee=Array.from(Nse(PT,ne));console.warn("document validation errors: "),console.warn(Ee.map(j=>({message:j.message,path:j.path,schema:j.schema,value:j.value})))}if(ne[qs.document.navigation]===void 0){const Ee=zC(B,ne,R);ne[qs.document.navigation]=Ee}o.documents[B]=e2(wf(zu(ne)),{overrides:qt(c[B])})}async function g(C,R){const{name:B,meta:L}=C,V=Zvt({fetch:C.fetch??(e==null?void 0:e.fetch),proxyUrl:o["x-scalar-active-proxy"]??void 0}),Q=await r("loadDocument",async()=>await xI({...C,fetch:V,fileLoader:e==null?void 0:e.fileLoader}));return await r("addDocument",async()=>Q.ok?We(Q.data)?(await m({...C,document:Q.data,documentSource:kI(C),documentHash:km(Q.raw)},R),!0):(console.error(`Failed to load document '${B}': response data is not a valid object`),o.documents[B]={...L,openapi:"3.1.0",info:{title:`Document '${B}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1):(console.error(`Failed to fetch document '${B}': request was not successful`),o.documents[B]={...L,openapi:"3.1.0",info:{title:`Document '${B}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1))}const v=C=>{const R=qt(s[C],{depth:1});return R||null},k=C=>{const R=qt(l[C],{depth:1});return R||null},S=C=>!!l[C],A=async C=>{const R=qt(o.documents[C],{depth:1});if(!R)return null;const B=await Xg(Mr(R),{plugins:[Yvt(),tOt()],treeShake:!1,urlMap:!0});return dOt(B)},E=C=>{const R=o.documents[C];if(!R)return console.error(`Document '${C}' does not exist in the workspace.`),!1;if(!ti(R))return!1;const B=zC(C,R);return R[qs.document.navigation]=B,!0},_=new Set;return{get workspace(){return o},get history(){return u},get auth(){return d},update(C,R){Hu(C),Object.assign(o,{[C]:R})},getEditableDocument:A,getOriginalDocument:v,getIntermediateDocument:k,updateDocument(C,R,B){const L=o.documents[C==="active"?f():C];return L?(Hu(R),Object.assign(L,{[R]:B}),!0):!1},async replaceDocument(C,R){const B=qt(o.documents[C],{depth:1});if(!B)return console.error(`Document '${C}' does not exist in the workspace.`);await m({name:C,document:R,documentSource:B["x-scalar-original-source-url"],documentHash:B["x-scalar-original-document-hash"],meta:{"x-scalar-registry-meta":B["x-scalar-registry-meta"],"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:C=>{const R=o.activeDocument,B=C8(R,C);return We(B)?Xg(B,{root:R,treeShake:!1,plugins:[f8(),Xvt(),wI()],urlMap:!0,visitedNodes:_}):(console.error(`Invalid path provided for resolution. Path: [${C.join(", ")}]. Found value of type: ${typeof B}. Expected an object.`),Promise.resolve())},addDocument:g,deleteDocument:C=>{if(!o.documents[C])return;delete o.documents[C],delete s[C],delete l[C],delete c[C],delete a[C],u.clearDocumentHistory(C),d.clearDocumentAuth(C);const R=Object.keys(o.documents);o["x-scalar-active-document"]===C&&(o["x-scalar-active-document"]=R[0]??void 0),i({type:"deleteDocument",documentName:C})},exportDocument:h,exportActiveDocument:(C,R)=>h(f(),C,R),buildSidebar:E,saveDocument:p,promoteIntermediateToOriginal:S,async revertDocumentChanges(C){const R=qt(o.documents[C],{depth:1}),B=qt(s[C],{depth:1});!R||!B||(l[C]=Mr(B),await m({name:C,document:B,documentSource:R["x-scalar-original-source-url"],documentHash:R["x-scalar-original-document-hash"],initialize:!1,meta:{"x-scalar-registry-meta":R["x-scalar-registry-meta"]}}))},commitDocument(C){console.warn(`Commit operation for document '${C}' is not implemented yet.`)},exportWorkspace(){const{activeDocument:C,documents:R,...B}=qt(o);return{documents:{...Object.fromEntries(Object.entries(R).map(([L,V])=>[L,qt(V)]))},meta:qt(B)??{},originalDocuments:qt(s),intermediateDocuments:qt(l),overrides:qt(c),history:u.export(),auth:d.export()}},loadWorkspace(C){wc(o.documents,Object.fromEntries(Object.entries(C.documents).map(([R,B])=>[R,e2(wf(B),{overrides:C.overrides[R]})]))),wc(s,C.originalDocuments),wc(l,C.intermediateDocuments),wc(c,C.overrides),wc(o,C.meta),u.load(C.history),d.load(C.auth)},importWorkspaceFromSpecification:C=>{const{documents:R,overrides:B,info:L,workspace:V,...Q}=C;return wc(o,Q),Promise.all(Object.entries(R??{}).map(([ee,ne])=>g({url:ne.$ref,name:ee,overrides:B==null?void 0:B[ee]})))},rebaseDocument:async C=>{const{name:R}=C,B=qt(s[R],{depth:1}),L=qt(o.documents[R],{depth:1}),V=await A(R);if(!B||!V||!L)return{ok:!1,type:"CORRUPTED_STATE",message:`Cannot rebase document '${R}': missing original or active document state`};const Q=await r("loadDocument",async()=>await xI({...C,fetch:C.fetch??(e==null?void 0:e.fetch),fileLoader:e==null?void 0:e.fileLoader}));if(!Q.ok||!We(Q.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${R}
2500': request was not successful or returned invalid data`};const ee=km(Q.raw);if(L["x-scalar-original-document-hash"]===ee)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${R}': document hash matches the active document`};const ne=Q.data;c[R]=C.overrides??{},a[R]={fetch:C.fetch};const G=GS(B,ne);if(G.length===0)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${R}' after fetching the latest version.`};const re=GS(B,V),Y=yyt(G,re);return{ok:!0,conflicts:Y.conflicts,changes:Y.diffs,applyChanges:async ye=>{const j=(()=>{if("resolvedConflicts"in ye){const sn=Y.diffs.concat(ye.resolvedConflicts);return myt(Mr(B),sn)}return ye.resolvedDocument})(),xe=GS(ne,j).length>0;s[R]=j,l[R]=Mr(j);const Ie=ti(L),Z=Ie?L["x-scalar-environments"]:void 0,rt=Ie?L["x-scalar-order"]:void 0,ie=j.servers,Pe=L.servers,gt=Array.isArray(ie)&&ie.length>0,Zt=Array.isArray(Pe)&&Pe.length>0,St=!Bo(j)&&!gt&&Zt?Mr(Pe):void 0;await m({...C,document:{...j,[qs.document.navigation]:void 0},documentSource:kI(C),documentHash:km(Q.raw),initialize:!1,meta:{...C.meta,"x-scalar-registry-meta":L["x-scalar-registry-meta"],"x-scalar-watch-mode":L["x-scalar-watch-mode"],"x-scalar-selected-server":L["x-scalar-selected-server"],...Z!==void 0?{"x-scalar-environments":Z}:{},...rt!==void 0?{"x-scalar-order":rt}:{},...St!==void 0?{servers:St}:{},"x-scalar-is-dirty":xe}})}}}}},EI=["Date","RegExp","String","Number"],_I=Object.getOwnPropertyNames(globalThis.Temporal||{});function HY(e,t,n={cyclesFix:!0},r=[]){var s,l;let a=[];const i=Array.isArray(e);for(const c in e){const u=e[c],d=i?+c:c;if(!(c in t)){a.push({type:"REMOVE",path:[d],oldValue:u});continue}const f=t[c],h=typeof u=="object"&&typeof f=="object"&&Array.isArray(u)===Array.isArray(f),p=h&&u?(l=(s=Object.getPrototypeOf(u))==null?void 0:s.constructor)==null?void 0:l.name:void 0;if(u&&f&&h&&!EI.includes(p)&&!_I.includes(p)&&(!n.cyclesFix||!r.includes(u))){n.cyclesFix&&r.push(u);const m=HY(u,f,n,r);n.cyclesFix&&r.pop();for(const g of m)g.path.unshift(d),a.push(g)}else Object.is(u,f)||_I.includes(p)&&String(u)===String(f)||EI.includes(p)&&(isNaN(u)?u+""==f+"":+u==+f)||a.push({path:[d],type:"CHANGE",value:f,oldValue:u})}const o=Array.isArray(t);for(const c in t)c in e||a.push({type:"CREATE",path:[o?+c:c],value:t[c]});return a}var fOt=["dir","lang"],hOt={key:1,class:"flex gap-1.5 px-3 pt-3"},pOt={class:"no-underline hover:underline",href:"https://www.scalar.com",rel:"noopener noreferrer",target:"_blank"},mOt={key:1},gOt=["aria-label","inert"],bOt={class:"w-64 empty:hidden"},yOt={key:3,class:"references-footer"},vOt="1.69.0";typeof window<"u"&&console.info(`@scalar/api-reference@${vOt}`);var OOt=F({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){var Qr,zr,Hr,Vr,ga;const n=e,{copyToClipboard:r}=pu(),a=!1,i=J(!1);Lt(()=>{i.value=Rlt()});const o=BQe({debug:a}),s=J(!1);mG(()=>Mt()),aEe();const l=$(()=>Kut(n.configuration)),c=$(()=>Object.keys(l.value).length>1),u=J(((Qr=Object.values(l.value).find(se=>se.default))==null?void 0:Qr.slug)??((Hr=l.value[((zr=Object.keys(l.value))==null?void 0:zr[0])??""])==null?void 0:Hr.slug)??"");if(typeof window<"u"){const se=new URL(window.location.href),fe=se.searchParams.get("api");if(fe&&l.value[fe]){u.value=fe;const je=Ip(tf(se,(Vr=l.value[fe].config.pathRouting)==null?void 0:Vr.basePath,fe),(ga=l.value[fe].config.pathRouting)==null?void 0:ga.basePath,c.value);je&&(je.searchParams.delete("api"),window.history.replaceState({},"",je.toString()))}const Ae=tf(se,Object.values(l.value).map(je=>{var vt;return(vt=je.config.pathRouting)==null?void 0:vt.basePath}).find(je=>je?BTe(se,je):!1),c.value?void 0:u.value).split("/")[0];Ae&&l.value[Ae]&&(u.value=Ae)}const d=$(()=>Object.values(l.value).map(se=>({label:se.title,id:se.slug}))),f=J(""),h=J(""),p=$(()=>{const se=Q.workspace.activeDocument;return Bo(se)?se:null});ze(u,()=>{f.value="",h.value=""});const m=J({}),g=(se,fe)=>{const Ae=JK(se.localization),je=m.value.modelsSectionLabel??((fe==null?void 0:fe.modelsSectionLabel)!==Mi?fe==null?void 0:fe.modelsSectionLabel:void 0);return{...se,modelsSectionLabel:je??Ae.translations.models.label??Mi}},v=$(()=>{var Ae;const se=(Ae=l.value[u.value])==null?void 0:Ae.config,fe={...z2(rq,{}),...se,...m.value};return g(fe,se)}),k=eJ(()=>v.value.localization),S=$(()=>({...v.value,labels:{closeGroup:k.translate("navigation.closeGroup"),httpMethod:k.translate("common.httpMethod"),openGroup:k.translate("navigation.openGroup")}})),A=$(()=>k.locale.value.replace("_","-")),E=J(),_=$(()=>{var se;return((se=v.value.pathRouting)==null?void 0:se.basePath)??E.value}),C=se=>GU(se.id,_.value,c.value),R=$(()=>Llt(v.value.theme,{fonts:v.value.withDefaultFonts})),B=$(()=>`${v.value.customCss??""} 2501${R.value}`.replace(/<\/style/gi,"<\\/style")),L=se=>se.flatMap(fe=>{const Ae="children"in fe&&fe.children?L(fe.children):[];return fe.type==="webhook"?[{name:fe.name,method:fe.method,id:fe.
2501id},...Ae]:Ae});if(typeof window<"u"){const se=DE(window.location.href,qa(v.value.modelsSectionLabel??Mi),u.value,c.value,_.value);se&&window.history.replaceState({},"",se.toString())}if(v.value.redirect&&typeof window<"u"){const se=v.value.redirect((v.value.pathRouting?window.location.pathname:"")+window.location.hash);se&&window.history.replaceState({},"",se)}function V(se,fe,Ae){var vt;const je=Ip(fe||se,((vt=Ae.pathRouting)==null?void 0:vt.basePath)??E.value,c.value);je&&window.history.replaceState({},"",je.toString()),u.value=se}const Q=TI({verbose:a}),ee=TI({verbose:a,plugins:[CTe({persistAuth:()=>v.value.persistAuth??!1})]});tdt({configurations:l,sourceStore:Q,clientStore:ee});const ne=$(()=>{const se=v.value,fe=ee.workspace.documents[u.value];return se.servers!==void 0&&ti(fe)?{...se,servers:fe.servers}:se}),G=jU({plugins:Object.values(l.value).flatMap(se=>se.config.plugins??[]),auth:{export:()=>ee.auth.export(),getAuthSecrets:(se,fe)=>iI(ee.auth.getAuthSecrets(se,fe)),getAuthSelectedSchemas:se=>iI(ee.auth.getAuthSelectedSchemas(se))}});_n(FU,G),G.notifyInit(v.value),ze(v,se=>G.notifyConfigChange(se));const{toggleColorMode:re,isDarkMode:Y}=lU({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(v.value.darkMode)],overrideColorMode:v.value.forceDarkModeState}),ye=$(()=>Q.workspace.activeDocument),Ee=$(()=>G.getSidebarEntries(u.value).reduce((se,fe)=>(se[fe.viewName].push({id:fe.id,title:fe.label,type:"text"}),se),{"content.start":[],"content.end":[]})),j=se=>{const fe=k.translate("navigation.introduction"),Ae=k.translate("navigation.webhooks"),je=v.value.modelsSectionLabel??Mi,vt=wt=>{let pn=!1;const ba=wt.map(tn=>{let Nr=tn;if(mw(tn)&&tn.title!==fe?Nr={...tn,title:fe}:tn.type==="tag"&&tn.isWebhooks===!0&&(tn.title!==Ae||tn.name!==Ae)?Nr={...tn,title:Ae,name:Ae}:tn.type==="models"&&(tn.title!==je||tn.name!==je)&&(Nr={...tn,title:je,name:je}),"children"in tn&&tn.children){const K=vt(tn.children);K!==tn.children&&(Nr=Nr===tn?{...tn}:Nr,Nr.children=K)}return Nr!==tn&&(pn=!0),Nr});return pn?ba:wt};return vt(se)},xe=c5e($(()=>Object.entries(Q.workspace.documents).map(([se,fe])=>{var vt;const Ae=((vt=fe["x-scalar-navigation"])==null?void 0:vt.children)??[],je=se===u.value?[...Ee.value["content.start"],...j(Ae),...Ee.value["content.end"]]:j(Ae);return{id:se,type:"document",description:fe.info.description,name:fe.info.title??se,title:fe.info.title??se,children:je}})),{hooks:{}}),Ie=se=>{se.forEach(fe=>{(fe.type==="tag"||fe.type==="models")&&xe.setExpanded(fe.id,!0),"children"in fe&&fe.children&&Ie(fe.children)})},Z=$(()=>{var je,vt;const se=v.value;if(!se)return[];const fe=((je=xe.items.value.find(wt=>wt.id===u.value))==null?void 0:je.children)??[],Ae=p.value?Lke(fe,p.value,{protocol:f.value,server:h.value}):fe;if(se.defaultOpenAllTags&&Ie(Ae),se.expandAllModelSections){const wt=Ae.find(pn=>pn.type==="models");wt&&(xe.setExpanded(wt.id,!0),(vt=wt.children)==null||vt.forEach(pn=>{xe.setExpanded(pn.id,!0)}))}return Ae}),rt=$(()=>{var se;return((se=Z.value.find(mw))==null?void 0:se.id)??`${u.value}/description/introduction`}),ie=J(!0);Lt(()=>{ie.value=!1});const Pe=J(""),gt=$(()=>({breadcrumb:Pe.value})),Zt=se=>{const fe=xe.getEntryById(se);!fe||fe.type==="document"?Pe.value="":Pe.value=fe.title},St=$(()=>{const se=xe.selectedItem.value;if(!se)return[];const fe=[];let Ae=xe.getEntryById(se);for(;Ae;)Ae.type==="tag"&&(Ae.isTagGroup!==!0||v.value.layout==="classic")&&fe.unshift({id:Ae.id,title:Ae.title}),Ae=Ae.parent;return fe}),sn=se=>{Zt(se),xe.setSelected(se),eEe(se,xe.setExpanded,xe.getEntryById)},Xn=se=>{var vt,wt;const fe=(vt=v.value)==null?void 0:vt.setPageTitle,Ae=xe.getEntryById(se);if(!fe||typeof document>"u"||!(Ae!=null&&Ae.title))return;const je=Q.workspace.activeDocument;document.title=fe({title:Ae.title,document:{title:((wt=je==null?void 0:je.info)==null?void 0:wt.title)??u.value,slug:u.value}})};g$({config:()=>v.value,store:Q,isDarkMode:Y}),g$({config:()=>v.value,store:ee,isDarkMode:Y});const Wn=$(()=>Wpe(Q,Q.workspace.activeDocument??null).environment);typeof window<"u"&&(window.dataDumpWorkspace=()=>Q),t({eventBus:o,workspaceStore:Q,sidebarItems:Z});const ra=$(()=>yct(Z.value));o.on("scroll-to:model-by-name",({name:se})=>{const fe=ra.value[se];fe&&sn(fe)});const vr=async(se,fe)=>{const Ae=await Q.addDocument(se,fe),je=ee.workspace.documents[se.name],vt=je&&typeof je=="object"?je["x-scalar-selected-server"]:void 0,wt=edt(Q.exportWorkspace().documents[se.name])??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""};return typeof vt=="string"&&Object.assign(wt,{"x-scalar-selected-server":vt}),ee.loadWorkspace({auth:{},documents:{[se.name]:wt},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),Ae},he=new Map,Me=se=>{if(Q.workspace.documents[se])return Promise.resolve();const fe=he.get(se);if(fe)return fe;const Ae=l.value[se];if(!Ae)return Promise.resolve();const je=g({...Ae.config,...m.value},Ae.config),vt=(async()=>{const wt=await vr(Ae.source.url?{name:se,url:Ae.source.url,fetch:je.customFetch}:{name:se,document:Ae.source.content??{}},je),pn=ee.workspace.documents[se];if(wt===!0&&ti(pn)&&pn["x-scalar-selected-server"]===void 0){const ba=nL(pn.servers,{baseServerUrl:je.baseServerURL,documentUrl:Ae.source.url});ba.length>0&&ee.updateDocument(se,"x-scalar-selected-server",ba[0].url)}wt===!0&&je.defaultRequestBodyView&&ti(pn)&&pn["x-scalar-default-request-body-view"]===void 0&&ee.updateDocument(se,"x-scalar-default-request-body-view",je.defaultRequestBodyView)})().finally(()=>{he.delete(se)});return he.set(se,vt),vt};let Ge=!1,Et;
2501const At=()=>{Ge=!0,Et==null||Et(),Et=void 0},Yt=()=>{if(typeof window>"u")return;const se=Object.keys(l.value).filter(je=>!Q.workspace.documents[je]),fe=je=>{if(typeof window.requestIdleCallback=="function"){const vt=window.requestIdleCallback(je,{timeout:1500});Et=()=>window.cancelIdleCallback(vt)}else{const vt=window.setTimeout(je,200);Et=()=>window.clearTimeout(vt)}},Ae=()=>{if(Ge)return;const je=se.shift();je&&Me(je).finally(()=>{Ge||fe(Ae)})};fe(Ae)},ln=async(se,fe)=>{var wt,pn,ba,tn,Nr,K;const Ae=l.value[se];if(!Ae){console.warn(`Document ${se} not found in configList`);return}const je=g({...Ae.config,...m.value},Ae.config),vt=(wt=je.onDocumentSelect)==null?void 0:wt.call(je);if(V(se,fe,je),(pn=di.value)==null||pn.route({documentSlug:se,method:"get",path:"/"}),await Me(se),Q.update("x-scalar-active-document",se),ee.update("x-scalar-active-document",se),fe&&typeof window<"u"){const _e=DE(window.location.href,qa(je.modelsSectionLabel??Mi),se,c.value,((ba=je.pathRouting)==null?void 0:ba.basePath)??E.value,L(((Nr=(tn=Q.workspace.activeDocument)==null?void 0:tn["x-scalar-navigation"])==null?void 0:Nr.children)??[]));_e&&(window.history.replaceState({},"",_e.toString()),fe=tf(_e.href,((K=je.pathRouting)==null?void 0:K.basePath)??E.value,c.value?void 0:se)||fe)}if(je.persistAuth&&Tct(ee,se),(async()=>{var _e;await vt,(_e=je.onLoaded)==null||_e.call(je,se)})(),fe&&fe!==se)sn(fe);else if(je.defaultOpenFirstTag){const _e=Z.value.find(at=>at.type==="tag");_e&&xe.setExpanded(_e.id,!0)}Xn(fe&&fe!==se?fe:se)};ze(()=>Object.values(l.value),async(se,fe)=>{const Ae=async(wt,pn)=>{const ba=g({...wt.config,...m.value},wt.config),tn=he.get(wt.slug);if(tn&&await tn,!!Q.workspace.documents[wt.slug]){if(wt.source.url&&wt.source.url!==(pn==null?void 0:pn.source.url)){await vr({name:wt.slug,url:wt.source.url,fetch:ba.customFetch},ba);return}wt.source.content&&HY(wt.source.content,pn&&"content"in pn.source?pn.source.content??{}:{}).length&&await vr({name:wt.slug,document:wt.source.content},ba)}};se.forEach((wt,pn)=>Ae(wt,fe[pn]));const je=se.map(wt=>wt.slug),vt=fe.map(wt=>wt.slug);(je.length!==vt.length||!je.every((wt,pn)=>wt===vt[pn]))&&await ln(je[0]??"")},{deep:!0}),pG(()=>ln(u.value)),ew(async()=>{if(Act(ee),_.value===void 0&&window.location.hash){const se=decodeURIComponent(window.location.hash.slice(1)),fe=new Set(se.split("/")),Ae=Object.keys(l.value).filter(vt=>vt===u.value||c.value&&fe.has(vt));await Promise.all(Ae.map(vt=>Me(vt)));const je=UTe(se,xe.index.value.keys(),c.value);if(E.value=je?`#${je}`:void 0,c.value){const vt=tf(window.location.href,_.value,void 0).split("/")[0];vt&&l.value[vt]&&(u.value=vt)}}await ln(u.value,tf(window.location.href,_.value,c.value?void 0:u.value)),Yt()});const Or=$(()=>{var se,fe;return(fe=(se=l.value[u.value])==null?void 0:se.source)==null?void 0:fe.url}),Yn=Dke({agentEnabled:$(()=>{var se,fe,Ae,je;return(fe=(se=l.value[u.value])==null?void 0:se.agent)!=null&&fe.disabled?!1:typeof window<"u"&&uh(window.location.href)?!0:!!((je=(Ae=l.value[u.value])==null?void 0:Ae.agent)!=null&&je.key)})});_n(IU,Yn);const ui=ai("modal"),di=J(null);Lt(async()=>{if(!ui.value)return;const{createApiClientModal:se}=await Be(async()=>{const{createApiClientModal:fe}=await import("./index31.js").then(Ae=>Ae.i);return{createApiClientModal:fe}},__vite__mapDeps([86,1,2,87,88]));ui.value&&(di.value=se({el:ui.value,eventBus:o,workspaceStore:ee,options:ne,plugins:[...G.getApiClientPlugins(),...Ect(v,Wn)]}))}),Qa(()=>{var se;At(),G.notifyDestroy(),(se=di.value)==null||se.app.unmount()}),o.on("server:update:selected",({url:se})=>{var fe,Ae;return(Ae=(fe=v.value).onServerChange)==null?void 0:Ae.call(fe,se)}),o.on("asyncapi-server:update:selected",({name:se})=>{var je,vt;const fe=ee.workspace.activeDocument;if(!Bo(fe))return;const Ae=Z6(fe,{webSocketOnly:!1}).find(wt=>wt.name===se);(vt=(je=v.value).onServerChange)==null||vt.call(je,(Ae==null?void 0:Ae.url)??se)}),o.on("ui:download:document",({format:se})=>{const fe=Q.exportActiveDocument(se);if(!fe){console.error("No document found to download");return}kct(fe,u.value??"openapi",se)});const oe=(se,fe)=>{var vt,wt;const Ae=xe.getEntryById(se);if(Xn(se),((Ae==null?void 0:Ae.type)==="tag"||(Ae==null?void 0:Ae.type)==="models"||(Ae==null?void 0:Ae.type)==="text")&&xe.isExpanded(se)&&xe.selectedItem.value===se){const pn=ej();xe.setExpanded(se,!1),pn();return}(Ae==null?void 0:Ae.type)!=="tag"&&(Ae==null?void 0:Ae.type)!=="models"&&(s.value=!1),sn(se);const je=Ip(se,_.value,c.value);je&&(window.history.pushState({},"",je),fe==="sidebar"&&((wt=(vt=v.value).onSidebarClick)==null||wt.call(vt,je.toString()))),Yn.showAgent.value&&Yn.closeAgent()};o.on("select:nav-item",({id:se})=>oe(se)),o.on("scroll-to:nav-item",({id:se})=>oe(se)),o.on("intersecting:nav-item",({id:se})=>
2501{if(!WTe.value)return;xe.setSelected(se),Zt(se),Xn(se),p5e(se);const fe=Ip(se,_.value,c.value);fe&&Q.workspace.activeDocument&&window.history.replaceState({},"",fe.toString())}),o.on("toggle:nav-item",({id:se,open:fe})=>{var Ae,je;if(fe){(je=(Ae=v.value).onShowMore)==null||je.call(Ae,se);const vt=xe.getEntryById(se);if(vt&&"children"in vt&&vt.children){const wt=vt.children[0];wt&&Bu(wt.id)}}xe.setExpanded(se,fe??!xe.isExpanded(se))}),o.on("copy-url:nav-item",({id:se})=>{var Ae;const fe=(Ae=Ip(se,_.value,c.value))==null?void 0:Ae.toString();return fe&&r(fe)}),ew(()=>{window.history.scrollRestoration="manual",ubt(),window.addEventListener("popstate",()=>{const se=tf(window.location.href,_.value,c.value?void 0:u.value);se&&sn(se)})});const ge=ai("documentStartRef");Dd(ge,()=>{o.emit("intersecting:nav-item",{id:rt.value})},{onExit:()=>{const se=window.innerHeight/2,fe=document.elementsFromPoint(window.innerWidth/2,se).find(Ae=>Ae.tagName==="SECTION"&&Ae.id);fe!=null&&fe.id&&o.emit("intersecting:nav-item",{id:fe.id})},immediate:!0});const Qe=$(()=>{const se=Q.workspace["x-scalar-color-mode"];return se==="system"?vct():se}),Pt=fTe(typeof document<"u"?document.body:null);ze(Yn.showAgent,()=>Pt.value=Yn.showAgent.value);const Rt=$(()=>{var se;return(se=v.value.mcp)!=null&&se.disabled?!1:!!(typeof window<"u"&&uh(window.location.href)||v.value.mcp)});return(se,fe)=>{var Ae,je,vt;return y(),w("div",null,[(y(),M(Wt("style"),{innerHTML:B.value},null,8,["innerHTML"])),x("div",{ref:"documentEl",class:Oe(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":v.value.showSidebar,"scalar-scrollbars-obtrusive":i.value,"references-editable":v.value.isEditable,"references-sidebar":v.value.showSidebar,"references-sidebar-mobile-open":s.value,"references-classic":v.value.layout==="classic"},se.$attrs.class]]),dir:b(k).direction.value,lang:A.value},[b(Yn).agentEnabled.value?(y(),M(b(Qke),{key:0,agentScalarConfiguration:(Ae=l.value[u.value])==null?void 0:Ae.agent,externalUrls:v.value.externalUrls,workspaceStore:b(Q)},null,8,["agentScalarConfiguration","externalUrls","workspaceStore"])):U("",!0),v.value.layout==="modern"?(y(),M(wst,{key:1,breadcrumb:Pe.value,isSidebarOpen:s.value,showSidebar:v.value.showSidebar,onToggleSidebar:fe[5]||(fe[5]=()=>s.value=!s.value)},{search:I(()=>[v.value.hideSearch?U("",!0):(y(),M(YO,{key:0,class:"my-2",document:ye.value,eventBus:b(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey,showSidebar:v.value.showSidebar},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey","showSidebar"]))]),sidebar:I(({sidebarClasses:wt})=>{var pn,ba;return[v.value.showSidebar&&v.value.layout==="modern"?(y(),M(b(s5e),{key:0,"aria-label":b(k).translate("navigation.sidebarFor",{name:((ba=(pn=b(Q).workspace.activeDocument)==null?void 0:pn.info)==null?void 0:ba.title)??""}),class:Oe(["t-doc__sidebar",wt]),getHref:C,isExpanded:b(xe).isExpanded,isSelected:b(xe).isSelected,items:Z.value,layout:"reference",options:S.value,onSelectItem:fe[3]||(fe[3]=tn=>oe(tn,"sidebar")),onToggleGroup:fe[4]||(fe[4]=tn=>b(xe).setExpanded(tn,!b(xe).isExpanded(tn)))},{header:I(()=>[d.value.length>1?(y(),M(h$,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":ln},null,8,["modelValue","options"])):U("",!0),v.value.hideSearch?U("",!0):(y(),w("div",hOt,[N(YO,{document:ye.value,eventBus:b(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]),b(Yn).agentEnabled.value?(y(),M(b(Uke),{key:0})):U("",!0)])),q(se.$slots,"sidebar-start",jt(Xt(gt.value)),void 0,!0)]),before:I(()=>[N(b(Nke),{protocol:f.value,"onUpdate:protocol":fe[0]||(fe[0]=tn=>f.value=tn),server:h.value,"onUpdate:server":fe[1]||(fe[1]=tn=>h.value=tn),document:p.value},null,8,["protocol","server","document"]),p.value?(y(),M(b(H6),{key:0,class:"asyncapi-sidebar-document-section"},{default:I(()=>[...fe[8]||(fe[8]=[ae(" Document ",-1)])]),_:1})):U("",!0)]),footer:I(()=>[q(se.$slots,"sidebar-end",jt(Xt(gt.value)),()=>[N(b(d6e),{class:"darklight-reference"},{description:I(()=>[x("a",pOt,H(b(k).translate("footer.poweredByScalar")),1)]),toggle:
2501I(()=>[!v.value.hideDarkModeToggle&&!v.value.forceDarkModeState?(y(),M(b(sU),{key:0,modelValue:Qe.value==="dark","onUpdate:modelValue":fe[2]||(fe[2]=()=>b(re)())},null,8,["modelValue"])):(y(),w("span",mOt))]),default:I(()=>[!v.value.hideClientButton&&!Rt.value?(y(),M(b(adt),{key:0,buttonSource:"sidebar",integration:v.value._integration,isDevelopment:b(a),url:Or.value},null,8,["integration","isDevelopment","url"])):U("",!0),Rt.value?(y(),M(b(QAe),{key:1,config:v.value.mcp,externalUrls:v.value.externalUrls,isDevelopment:b(a),url:Or.value,workspace:b(Q)},null,8,["config","externalUrls","isDevelopment","url","workspace"])):U("",!0)]),_:1})],!0)]),_:3},8,["aria-label","class","isExpanded","isSelected","items","options"])):U("",!0)]}),_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):U("",!0),ie.value?(y(),M(bst,{key:2,basePath:_.value,isMultiDocument:c.value,items:Z.value,options:S.value},null,8,["basePath","isMultiDocument","items","options"])):U("",!0),x("main",{"aria-label":b(k).translate("navigation.mainContent",{name:((vt=(je=b(Q).workspace.activeDocument)==null?void 0:je.info)==null?void 0:vt.title)??""}),class:"references-rendered",inert:b(Yn).showAgent.value},[N(hst,{authStore:b(ee).auth,clientDocument:b(ee).workspace.activeDocument,contextChain:St.value,document:b(Q).workspace.activeDocument,documentSlug:u.value,environment:Wn.value,eventBus:b(o),expandedItems:b(xe).expandedItems.value,headingSlugGenerator:v.value.generateHeadingSlug??(wt=>`${u.value}/description/${wt.slug}`),infoSectionId:rt.value,items:Z.value,options:ne.value,xScalarDefaultClient:b(ee).workspace["x-scalar-default-client"],xScalarDefaultExample:b(ee).workspace["x-scalar-default-example"]},xr({start:I(()=>[x("div",{ref_key:"documentStartRef",ref:ge},null,512),b(Q).workspace.activeDocument?(y(),M(b(hct),{key:0,overrides:m.value,"onUpdate:overrides":fe[6]||(fe[6]=wt=>m.value=wt),class:"references-developer-tools",configuration:v.value,externalUrls:v.value.externalUrls,workspace:b(Q)},null,8,["overrides","configuration","externalUrls","workspace"])):U("",!0),v.value.layout==="classic"?(y(),M(XAe,{key:1},{"dark-mode-toggle":I(()=>[!v.value.hideDarkModeToggle&&!v.value.forceDarkModeState?(y(),M(b(Q6),{key:0,class:"text-c-2 hover:text-c-1",mode:Qe.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:fe[7]||(fe[7]=()=>b(re)())},null,8,["mode"])):U("",!0)]),default:I(()=>[x("div",bOt,[d.value.length>1?(y(),M(h$,{key:0,modelValue:u.value,options:d.value,"onUpdate:modelValue":ln},null,8,["modelValue","options"])):U("",!0)]),v.value.hideSearch?U("",!0):(y(),M(YO,{key:0,class:"t-doc__sidebar max-w-64",document:ye.value,eventBus:b(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]))]),_:1})):U("",!0),q(se.$slots,"content-start",jt(Xt(gt.value)),void 0,!0)]),end:I(()=>[q(se.$slots,"content-end",jt(Xt(gt.value)),void 0,!0)]),_:2},[v.value.isEditable?{name:"empty-state",fn:I(()=>[q(se.$slots,"editor-placeholder",jt(Xt(gt.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","contextChain","document","documentSlug","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient","xScalarDefaultExample"])],8,gOt),se.$slots.footer?(y(),w("div",yOt,[q(se.$slots,"footer",jt(Xt(gt.value)),void 0,!0)])):U("",!0),x("div",{ref_key:"modal",ref:ui},null,512)],10,fOt),N(b(DAe))])}}}),SOt=yt(OOt,[["__scopeId","data-v-f2646833"]]);const wOt={key:0,class:"flex flex-wrap items-start justify-between gap-4"},xOt={class:"min-w-0 max-w-2xl"},kOt={class:"text-sm text-gray-500 dark:text-gray-400"},AOt={key:0,class:"rounded-lg border border-dinesurf-green-600/40 dark:bg-gray-900 bg-green-50 p-4 flex flex-col gap-3 mb-4"},TOt={class:"flex flex-col sm:flex-row gap-2 sm:items-center"},EOt={class:"flex-1 break-all text-xs dark:bg-gray-800 bg-white border dark:border-gray-700 rounded-md px-3 py-2 dark:text-gray-100"},_Ot={class:"dark:bg-gray-700 bg-gray-100 border dark:border-0 rounded-lg p-4 flex flex-col sm:flex-row sm:items-center gap-3"},COt={class:"flex-1 flex flex-col gap-1"},$Ot={class:"flex flex-row items-center gap-2"},POt={class:"free font-semibold dark:text-gray-100"}
2501,IOt={class:"free text-xs dark:text-gray-400 text-gray-500"},ROt={class:"flex flex-row gap-2"},NOt={class:"mt-4 flex flex-col gap-2"},MOt={class:"free text-sm dark:text-gray-300 text-gray-600"},LOt={class:"text-xs"},DOt={class:"text-xs dark:bg-gray-800 bg-gray-50 border dark:border-gray-700 rounded-md px-3 py-2 overflow-x-auto dark:text-gray-100"},BOt={class:"flex flex-col gap-2 flex-1 min-h-0"},UOt={class:"flex items-center justify-between gap-3"},jOt={key:0,class:"text-base font-semibold text-gray-900 dark:text-white"},FOt={key:1,class:"text-sm text-gray-500 dark:text-gray-400"},QOt={key:1,class:"free text-sm text-red-600 dark:text-red-400"},zOt=F({__name:"Index",setup(e){const t=gG(),{$toast:n}=vG(),{confirm:r}=CG(),a=bG(),{focused:i,enter:o,exit:s}=yG(),l=$(()=>{var Q;return((Q=a.vendor)==null?void 0:Q.company_name)||"your restaurant"}),c=J(null),u=J(null),d=J(!1),f=J(null),h=J(""),{state:p,execute:m}=PO({onError:n.error,action:async()=>{const Q=await t.developers.getKey();c.value=Q.data,d.value=!0}}),{state:g,execute:v}=PO({onError:n.error,action:async()=>{const Q=await t.developers.createKey();u.value=Q.data,c.value=Q.data.client,n.success("Key ready. Copy it now.")}}),{state:k,execute:S}=PO({onError:Q=>{h.value=(Q==null?void 0:Q.message)||"The reference is not available yet. Try again in a moment."},action:async()=>{f.value=await t.developers.getOpenapi()}}),A=$(()=>{var Q,ee,ne,G;return((G=(ne=(ee=(Q=f.value)==null?void 0:Q.servers)==null?void 0:ee[0])==null?void 0:ne.url)==null?void 0:G.replace(/\/$/,""))||""}),E=J(!1),_=$(()=>({content:f.value,hideDarkModeToggle:!0,darkMode:E.value,hideClientButton:!0,hideModels:!0,withDefaultFonts:!1,...u.value?{authentication:{preferredSecurityScheme:"default",securitySchemes:{default:{value:u.value.key}}}}:{}})),C=Q=>Q?OG(Q).format("D MMM YYYY, h:mm A"):"",R=async(Q,ee)=>{try{await navigator.clipboard.writeText(Q),n.success(ee)}catch{n.error("Couldn't copy. Select the text and copy it by hand.")}},B=()=>{r(QA("Rotate the API key? The current key stops working immediately and every integration must switch to the new one.",{title:"Rotate key",action:async Q=>{try{await v()}finally{Q==null||Q.setLoading(!1),Q==null||Q.toggle(!1)}}}))},L=()=>{r(QA("Revoke the API key? Every call with it fails from now on. You can make a new key at any time.",{title:"Revoke key",action:async Q=>{try{await t.developers.revokeKey(),c.value=null,u.value=null,n.success("Key revoked")}catch(ee){n.error(ee.message||"Couldn't revoke the key")}finally{Q==null||Q.setLoading(!1),Q==null||Q.toggle(!1)}}}))},V=()=>i.value?s():o();return Lt(()=>{E.value=document.documentElement.classList.contains("dark"),m(),S()}),Qa(()=>s()),(Q,ee)=>(y(),w("div",{class:Oe(["w-full flex flex-col gap-5",b(i)&&"h-full"])},[b(i)?U("",!0):(y(),w("div",wOt,[x("div",xOt,[ee[3]||(ee[3]=x("h1",{class:"text-lg font-semibold text-gray-900 dark:text-white"}," Developers ",-1)),x("p",kOt,[ae(" Take reservations, sell event tickets and collect deposits for "+H(l.value)+" from your own app or website. One key, scoped to this restaurant, sent as ",1),ee[1]||(ee[1]=x("code",{class:"text-xs"},"X-API-Key",-1)),ee[2]||(ee[2]=ae(" on every request. ",-1))])])])),b(i)?U("",!0):(y(),M(EG,{key:1,title:"API key",description:"One key for the restaurant. Anyone holding it can book on behalf of your guests through the endpoints below, so treat it like a password.","hide-save":""},{default:I(()=>{var ne;return[Q.$u.isLoading(b(p))&&!d.value?(y(),M(FA,{key:0})):(y(),w(de,{key:1},[u.value?(y(),w("div",AOt,[ee[5]||(ee[5]=x("p",{class:"free text-sm font-semibold dark:text-gray-100"}," Your new key. Copy it now: it is not shown again. ",-1)),x("div",TOt,[x("code",EOt,H(u.value.key),1),N(kp,{size:"sm",variant:"light",onClick:ee[0]||(ee[0]=G=>R(u.value.key,"Key copied"))},{default:I(()=>[...ee[4]||(ee[4]=[ae(" Copy key ",-1)])]),_:1})]),ee[6]||(ee[6]=x("p",{class:"free text-xs dark:text-gray-400 text-gray-600"}," The reference below is already using it, so you can try any call right away. ",-1))])):U("",!0),x("div",_Ot,[x("div",COt,[c.value?(y(),w(de,{key:0},[x("div",$Ot,[x("span",POt," Key ending in "+H(c.value.hint||"····"),1),N(_G,{color:"green"},{default:I(()=>[...ee[7]||(ee[7]=[ae("active",-1)])]),_:1}
2501)]),x("div",IOt,[ae(" Created "+H(C(c.value.created_at))+" · ",1),c.value.last_used_at?(y(),w(de,{key:0},[ae(" last used "+H(C(c.value.last_used_at)),1)],64)):(y(),w(de,{key:1},[ae("not used yet")],64))])],64)):(y(),w(de,{key:1},[ee[8]||(ee[8]=x("span",{class:"free font-semibold dark:text-gray-100"}," No key yet ",-1)),ee[9]||(ee[9]=x("span",{class:"free text-xs dark:text-gray-400 text-gray-500"}," Make one to start integrating. You can rotate or revoke it here at any time. ",-1))],64))]),x("div",ROt,[c.value?(y(),w(de,{key:1},[N(kp,{size:"sm",variant:"light",loading:Q.$u.isLoading(b(g)),onClick:B},{default:I(()=>[...ee[11]||(ee[11]=[ae(" Rotate key ",-1)])]),_:1},8,["loading"]),N(kp,{size:"sm",variant:"light",class:"text-red-500",onClick:L},{default:I(()=>[...ee[12]||(ee[12]=[ae(" Revoke ",-1)])]),_:1})],64)):(y(),M(kp,{key:0,size:"sm",loading:Q.$u.isLoading(b(g)),onClick:b(v)},{default:I(()=>[...ee[10]||(ee[10]=[ae(" Create key ",-1)])]),_:1},8,["loading","onClick"]))])]),x("div",NOt,[ee[21]||(ee[21]=x("h4",{class:"free font-semibold dark:text-gray-100"},"Quick start",-1)),x("p",MOt,[ee[13]||(ee[13]=ae(" Every call goes to ",-1)),x("code",LOt,H(A.value)+"/api/v1",1),ee[14]||(ee[14]=ae(" with the key in the header. Responses are JSON with ",-1)),ee[15]||(ee[15]=x("code",{class:"text-xs"},"success",-1)),ee[16]||(ee[16]=ae(", ",-1)),ee[17]||(ee[17]=x("code",{class:"text-xs"},"message",-1)),ee[18]||(ee[18]=ae(" and ",-1)),ee[19]||(ee[19]=x("code",{class:"text-xs"},"data",-1)),ee[20]||(ee[20]=ae(". 120 requests a minute. ",-1))]),x("pre",DOt,[x("code",null,"curl "+H(A.value)+`/api/v1/restaurant \\ 2502 -H "X-API-Key: `+H(((ne=u.value)==null?void 0:ne.key)||"ds_live_â¦")+`" \\ 2503 -H "Accept: application/json"`,1)])])],64))]}),_:1})),x("section",BOt,[x("div",UOt,[b(i)?(y(),w("span",FOt," Developers · API reference ")):(y(),w("h2",jOt," API reference ")),N(kp,{size:"sm",variant:"light",onClick:V},{default:I(()=>[ae(H(b(i)?"Exit full screen":"Full screen"),1)]),_:1})]),Q.$u.isLoading(b(k))&&!f.value?(y(),M(FA,{key:0})):h.value?(y(),w("p",QOt,H(h.value),1)):f.value?(y(),w("div",{key:2,class:Oe(["reference rounded-xl border border-gray-200 dark:border-gray-700 overflow-auto bg-white dark:bg-gray-900",b(i)?"flex-1 min-h-0":"h-[80vh]"])},[N(b(SOt),{configuration:_.value},null,8,["configuration"])],2)):U("",!0)])],2))}}),HOt=SG(zOt,[["__scopeId","data-v-0be9c187"]]),q4t=Object.freeze(Object.defineProperty({__proto__:null,default:HOt},Symbol.toStringTag,{value:"Module"}));export{WU as $,Kv as A,kt as B,Mk as C,sO as D,x6 as E,Xe as F,cm as G,z2 as H,P as I,He as J,uo as K,Gq as L,lv as M,gTe as N,co as O,ni as P,qU as Q,ti as R,Dq as S,cme as T,nL as U,zU as V,ame as W,Jpe as X,Wut as Y,tL as Z,HO as _,Rk as a,S8 as a$,Xg as a0,f8 as a1,trt as a2,A4t as a3,bk as a4,vn as a5,$4t as a6,C4t as a7,_4t as a8,b2 as a9,mv as aA,c7 as aB,X0 as aC,EYe as aD,kL as aE,Yh as aF,tct as aG,Kh as aH,hU as aI,B6 as aJ,wr as aK,j6 as aL,So as aM,AL as aN,S0e as aO,fu as aP,rj as aQ,s6e as aR,$s as aS,xy as aT,Jt as aU,yi as aV,t4t as aW,nr as aX,e4t as aY,pK as aZ,DG as a_,cp as aa,Gs as ab,xV as ac,t$ as ad,Qrt as ae,Wv as af,T4t as ag,Nrt as ah,E4t as ai,h1 as aj,BQe as ak,TI as al,pv as am,hu as an,rq as ao,Kat as ap,zn as aq,Wpe as ar,V0 as as,d1 as at,Xo as au,Z0 as av,kst as aw,Jr as ax,vU as ay,ua as az,Gu as b,ha as b$,wy as b0,Sy as b1,jG as b2,Lu as b3,Se as b4,D2 as b5,Oi as b6,B8 as b7,Lpe as b8,qm as b9,JT as bA,JM as bB,Hpe as bC,$t as bD,v4t as bE,KM as bF,Bo as bG,jQe as bH,tb as bI,n2 as bJ,Ule as bK,n4t as bL,b4t as bM,y4t as bN,CE as bO,FQe as bP,hz as bQ,g4t as bR,R6 as bS,u4t as bT,xE as bU,mU as bV,M4t as bW,h4t as bX,qM as bY,Bpe as bZ,Qv as b_,gfe as ba,to as bb,Hu as bc,We as bd,mr as be,Jf as bf,f4t as bg,ife as bh,rfe as bi,ufe as bj,xM as bk,qt as bl,VM as bm,Ipe as bn,vM as bo,sfe as bp,oce as bq,ofe as br,wM as bs,OM as bt,SM as bu,W2 as bv,m4t as bw,ZM as bx,G2 as by,dh as bz,Vut as c,p4t as c$,ut as c0,Fr as c1,Jc as c2,Ft as c3,Go as c4,hn as c5,qGe as c6,j4t as c7,f2 as c8,QGe as c9,k4t as cA,BM as cB,Zm as cC,la as cD,idt as cE,z4t as cF,H4t as cG,iz as cH,uz as cI,R4t as cJ,N4t as cK,bme as cL,q0 as cM,fd as cN,Ur as cO,gv as cP,VWe as cQ,Gh as cR,mbe as cS,Y0 as cT,U6 as cU,is as cV,RYe as cW,adt as cX,yb as cY,pu as cZ,pFe as c_,Epe as ca,P6 as cb,Q4t as cc,F4t as cd,I6 as ce,Sh as cf,dKe as cg,eKe as ch,_L as ci,or as cj,ht as ck,Gz as cl,Ui as cm,d4t as cn,eYe as co,w3 as cp,ps as cq,Mv as cr,NFe as cs,MFe as ct,EFe as cu,$Fe as cv,Mpe as cw,C8 as cx,sr as cy,Hi as cz,jq as d,$pe as d0,c5e as d1,l5e as d2,y7 as d3,hv as d4,CYe as d5,L0e as d6,a2 as d7,nge as d8,wYe as d9,Fge as da,s5e as db,ubt as dc,cst as dd,DAe as de,q4t as df,kr as e,Vd as f,dp as g,Tr as h,Hd as i,gr as j,Zn as k,fp as l,zt as m,oo as n,Zc as o,Kq as p,Lk as q,Dk as r,Xut as s,tZ as t,nZ as u,qd as v,Gv as w,en as x,le as y,D as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.